]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix crash with drag and drop
[lyx.git] / src / ChangeLog
1 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (workAreaDispatch): allow also
4         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
5
6 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * text.C (rowBreakPoint): fix a bug showing with very large insets
9
10 2004-02-25  André Pönitz  <poenitz@gmx.net>
11
12         * text3.C:
13         * cursor.[Ch]: move some mathed specific code to mathed
14
15 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
18         use_tempdir in preferences
19         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
20         tempfile creation
21         * lyx_main.C: ensure that tempdir is valid
22         * lyxlex.h: correct typo
23         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
24         * paragraph.[Ch] (isMultiLingual): make const
25         * cursor.[Ch] (openable): make const
26
27 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
30
31 2004-02-20  André Pönitz  <poenitz@gmx.net>
32
33         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
34
35         * cursor.[Ch]: prepare for localized getStatus()
36
37         * lyxtext.h:
38         * tabular.C:
39         * text.C:
40         * text2.C:
41         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
42
43 2004-02-20  André Pönitz  <poenitz@gmx.net>
44
45         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
46
47 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
48
49         * text2.C (setCursorFromCoordinates): switch to absolute coords
50         (cursorUp): adjust
51         (cursorDown): adjust
52         * text3.C (dispatch): adjust
53
54 2004-02-16  André Pönitz  <poenitz@gmx.net>
55
56         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
57           insets/ChangeLog)
58
59         * cursor_slice.[Ch]: remove unneeded acessor function
60
61         * lyxtext.h: rename rtl() to isRTL()
62
63         * rowpainter.C:
64         * tabular.C:
65         * text.C:
66         * text2.C:
67         * text3.C: adjust
68
69 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * rowpainter.C (paintSelection): coord fix
72
73 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
74
75         * Spacing.C: compile fix
76
77 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
78
79         * cursor.C (dispatch): restore current_ before returning
80
81 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * text2.C (cursorUp, cursorDown): fix coords
84         (moveUp): fix crash
85
86 2004-02-12  André Pönitz  <poenitz@gmx.net>
87
88         * lyxtext.h:
89         * text.C:
90         * text2.C:
91         * text3.C: add LCursor & parameter to most cursor movement functions
92           remove usage of LyXText::cursorRow() and cursorPar()
93
94         * cursor.[Ch]: add textRow() needed members
95
96         * BufferView.C:
97         * BufferView_pimpl.C:
98         * paragraph.[Ch]:
99         * BufferView.C:
100         * BufferView_pimpl.C: adjust
101
102 2004-02-11  André Pönitz  <poenitz@gmx.net>
103
104         * lyxfunc.C:
105         * BufferView.[Ch]:
106         * BufferView_pimpl.C: shift undo/redo handling
107
108         * cursor.[Ch]: fix mathed crash
109
110         * lyxfind.C:
111         * lyxtext.h: move selectionAsText to LCursor
112
113         * output_latex.C:
114         * paragraph.C:
115         * text.C:
116         * text2.C:
117         * text3.C: adjust
118
119         * rowpainter.C: fix excessive drawing
120
121 2004-02-06  André Pönitz  <poenitz@gmx.net>
122
123         * BufferView.[Ch]:
124         * BufferView_pimpl.[Ch]:
125         * text3.C: move some text specific LFUN handling
126
127 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * text3.C (checkInsetHit): adjust coords
130         * text2.C (getColumnNearX): adjust coords
131         (edit): adjust coords
132         * text.C (getRowNearY): add two asserts
133
134 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * converter.C:
137         * format.C: add using std::distance to compile on gcc 2.95/stlport
138
139 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
142
143 2004-02-04  André Pönitz  <poenitz@gmx.net>
144
145         * BufferView.[Ch] (insertInset):
146         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
147
148         * text2.C:
149         * text3.C: adjust
150
151 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
152
153         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
154         on the default clause of the switch
155         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
156         wasn't catched by LCursor::dispatch
157
158 2004-02-03  André Pönitz  <poenitz@gmx.net>
159
160         * BufferView.C:
161         * cursor.[Ch]: some additional asserts
162
163         * undo.[Ch]: remove LyXText dependency in interface
164
165         * lyxfunc.C: adjust
166
167         * lyxtext.h (firstPar, lastPar): remove dead functions 
168
169         * text.C:
170         * text2.C:
171         * text3.C:
172         * paragraph.[Ch]: adjust
173
174 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * lyxfind.C (find): fix argument order in call to ::find
177
178 2004-02-02  André Pönitz  <poenitz@gmx.net>
179
180         * cursor.[Ch]: remove direct access to anchor
181
182         * text.C: remove findText() hack
183
184 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * iterators.[Ch] (lockPath): remove in favour of...
187         * BufferView.[Ch] (setCursor): this addition
188         * BufferView.C (putSelectionAt): adjust
189         * undo.C (performUndoOrRedo): adjust
190         * lyxfunc.C (dispatch): adjust
191
192 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * iterators.C (lockPath): add a missing slice
195         * undo.C (performUndoOrRedo): remove redundant positioning code
196
197 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
198
199         * vc-backend.C (scanMaster): ";" -> ';'
200
201 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
202
203         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
204         std::binary_function
205
206         * lyxtextclass.C (compare_name): rename to...
207         (LayoutNamesEqual): ...this
208
209         * lyxlex_pimpl.C (compare_tags): inherit from
210         std::binary_function, put back into anon namespace
211
212         * lyxfind.C (MatchString): inherig from std::binary_function
213         (findChange): use empty() istead of !size()
214
215         * format.C (FormatNamesEqual): new functor
216         (getFormat): use it
217         (getNumber): use it
218         (add): use it
219         (erase): use it
220         (setViewer): use it
221
222         * converter.C (compare_Converter): rename to...
223         (ConverterEqual): ...this, and fixup a bit.
224         (getConverter): use it, and make function const
225         (getNumber): use it, and make function const
226         (add): use it
227         (erase): use it:
228
229         * bufferlist.C: add using boost::bind
230
231         * MenuBackend.C (MenuNamesEqual): new functor
232         (hasMenu): use it, and make function const
233         (hasSubmenu): use nested bind to get rid of compare_memfun.
234
235 2004-01-30  André Pönitz  <poenitz@gmx.net>
236
237         * BufferView_pimpl.C:
238         * cursor.C:
239         * cursor.h:
240         * cursor_slice.[Ch]:
241         * lyxfunc.C:
242         * lyxtext.h:
243         * paragraph_funcs.C:
244         * paragraph_funcs.h:
245         * rowpainter.C:
246         * text.C:
247         * text2.C:
248         * text3.C: move some of the edit(x,y) handling to the insets
249         some coordinate changes.
250
251 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
252
253         * text.C: add using statements for std::advance and std::distance
254
255         * paragraph.C: add using statement for std::distance
256
257         * lyxfind.C: add using statement for std::advance
258
259         * cursor.C (region): remove std:: from swap
260         (openable): use nucleus in stead of operator->
261
262         * BufferView.C: add using statements for std::distance and std::swap
263
264 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * iterators.C: Remove the pimple, move the needed structures to
267         the header file. Create accessor for the positions stack.
268         (asPosIterator): remove function
269
270         * PosIterator.C (PosIterator): move constructors to top of file
271         (PosIterator): reimplement the constructor taking a ParIterator in
272         terms of setFrom.
273         (setFrom): new function
274         (operator!=): inline it
275
276 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
277
278         * lyxfind.C (replaceAll): use std::advance
279
280         * iterators.h: inherit from std::iterator.
281
282         * PosIterator.C (advance, distance): remove
283         * PosIterator.h: interit from std::iterator.
284
285 2004-01-26  André Pönitz  <poenitz@gmx.net>
286
287         * BufferView.[Ch]:
288         * BufferView_pimpl.[Ch]:
289         * InsetList.[Ch]:
290         * PosIterator.[Ch]:
291         * buffer.h:
292         * bufferview_funcs.C:
293         * cursor.[Ch]:
294         * cursor_slice.h:
295         * factory.[Ch]:
296         * iterators.[Ch]:
297         * lyxfind.C:
298         * lyxfunc.C:
299         * lyxtext.h:
300         * output_docbook.C:
301         * output_latex.C:
302         * output_linuxdoc.C:
303         * output_plaintext.C:
304         * paragraph.[Ch]:
305         * paragraph_funcs.[Ch]:
306         * paragraph_pimpl.[Ch]:
307         * rowpainter.C:
308         * tabular.C:
309         * tabular.h:
310         * text.C:
311         * text2.C:
312         * text3.C: more IU:  dumps most of the rest of the mathcursor
313     implementation into cursor.[Ch]; "globalize" a bit of it.
314
315 2004-01-25  Angus Leeming  <leeming@lyx.org>
316
317         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
318
319 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
320
321         * LaTeXFeatures.h: add nice_ and nice() const
322         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
323
324 2004-01-20  André Pönitz  <poenitz@gmx.net>
325
326         * BufferView.[Ch]:
327         * BufferView_pimpl.C:
328         * PosIterator.C:
329         * bufferview_funcs.C:
330         * cursor.[Ch]:
331         * cursor_slice.[Ch]:
332         * factory.C:
333         * iterators.C:
334         * lyx_cb.C:
335         * lyxfind.C:
336         * lyxfunc.C:
337         * lyxtext.h:
338         * rowpainter.C:
339         * text.C:
340         * text2.C:
341         * text3.C:
342         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
343           LCursor and mathcursor parts to LCursor and InsetBase.
344
345 2004-01-15  André Pönitz  <poenitz@gmx.net>
346
347         * cursor_slice.[Ch]: add a few covienience functions
348
349         * funcrequest.[Ch]: remove BufferView * member
350
351         * BufferView_pimpl.C:
352         * cursor.C:
353         * factory.[Ch]:
354         * lyxfind.[Ch]:
355         * lyxfunc.C:
356         * lyxtext.h:
357         * text3.C:
358         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
359
360 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
363         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
364
365 2004-01-13  André Pönitz  <poenitz@gmx.net>
366
367         * textcursor.[Ch]:
368         * lyxtext.h: hide cursor and selection anchor behind accessor function
369
370         * BufferView.C:
371         * BufferView_pimpl.[Ch]:
372         * PosIterator.C:
373         * bufferview_funcs.C:
374         * cursor.h:
375         * lyxfind.C:
376         * lyxfunc.C:
377         * text.C:
378         * text2.C:
379         * text3.C:
380         * undo.C: adjust
381
382         * cursor.h:
383         * cursor_slice.[Ch]: some integer type changes for inset unification
384
385         * lyxcursor.[hC]: remove, it's CursorSlice now.
386
387         * Makefile.am:
388         * BufferView_pimpl.[Ch]:
389         * bufferview_funcs.C:
390         * cursor_slice.C:
391         * lyxtext.h:
392         * text.C:
393         * text2.C:
394         * text3.C:
395         * textcursor.[Ch]: adjust
396
397 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * text2.C (undoSpan): add and use
400         * text.C (breakParagraph): use undoSpan (fix bug 578)
401         * lyxtext.h: adjust
402
403 2004-01-08  Angus Leeming  <leeming@lyx.org>
404
405         * BufferView_pimpl.C (MenuInsertLyXFile):
406         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
407         * lyxfunc.C (menuNew, open, doImport):
408         FileFilterList change to the FileDialog open and save functions.
409
410 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
411
412         * ShareContainer.h: make isEqual and isUnique adaptable
413
414         * CutAndPaste.C: make resetOwnerAndChanges adaptable
415
416 2004-01-07  Angus Leeming  <leeming@lyx.org>
417
418         * LyXAction.C:
419         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
420
421         * BufferView_pimpl.C (dispatch): act on these LFUNs.
422
423         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
424         functions replacing find, replace and replaceAll.
425
426         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
427         LFUN_WORDFIND(FORWARD|BACKWARD).
428
429 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
430
431         * text.C (breakParagraph): remove an outdated #warning
432
433 2004-01-07  André Pönitz  <poenitz@gmx.net>
434
435         * lyxfind.C: somewhat clearer logic
436
437         * text.C: prevent crash in cursorX on unitialized row cache
438
439 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
440
441         * lyxcursor.[Ch] (operator>): add
442         * textcursor.C (selStart, selEnd): use std::min and std::max
443
444 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
445
446         * Chktex.C: include boost/format.hpp
447
448 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
449
450         * InsetList.C: replace functor MathcIt with adaptable functor
451         InsetTablePosLess
452         (insetIterator): modify accordingly
453
454         * BranchList.h: move the BranchNamesEqual functor here from...
455         * BranchList.C: ... to here
456
457         * BranchList.C: new BranchListEqual fuctor, use it. Remove
458         SameName and match.
459         (add): replace a finding loop with std::find_if.
460
461 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * output_docbook.C: moving LatexParam functionality into
464         .layout files
465
466 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * buffer.C: increment format to 229.
469
470 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
471
472         * LaTeXFeatures.C:
473         * lyx_sty.[Ch]: remove minipageindent_def
474
475         * LyXAction.C:
476         * factory.C:
477         * lfuns.h:
478         * lyxfunc.C:
479         * text3.C: remove LFUN_INSET_MINIPAGE
480
481 2003-12-28  Angus Leeming  <leeming@lyx.org>
482
483         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
484
485 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * text2.C (setParagraph): fix off-by-one crash
488
489 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * output_docbook.C: header stuff for AGU
492
493 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * text2.C (redoCursor): remove
496         * text.C:
497         * text3.C:
498         * BufferView_pimpl.C: remove calls to redoCursor and
499         setCursor(cursor.par(), cursor.pos()) all around
500
501 2003-12-15  Angus Leeming  <leeming@lyx.org>
502
503         * buffer.C: up the format to 228.
504
505 2003-12-15  André Pönitz  <poenitz@gmx.net>
506
507         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
508         slices
509
510         * Makefile.am:
511
512         * BufferView_pimpl.C:
513         * cursor.[Ch]:
514         * lyxcursor.[Ch]:
515         * rowpainter.[Ch]:
516         * lyxtext.h:
517         * text.C:
518         * text2.C:
519         * text3.C: adjust
520
521 2003-12-15  Angus Leeming  <leeming@lyx.org>
522
523         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
524         than getFromGUIName to manipulate the color.
525
526 2003-12-14  Angus Leeming  <leeming@lyx.org>
527
528         * BranchList.[Ch]: minimize the API.
529         (Branch::getBranch, getColor): now return a 'const &'.
530         (Branch::setSelected) now returns a bool set to true if the
531         selection status changes.
532         (BranchList::clear, size, getColor, setColor, setSelected,
533         allBranches, allSelected, separator): removed.
534         (BranchList::find): new functions, returning the Branch with
535         the given name.
536         (BranchList::add, remove): return a bool indicating that
537         the operation was successful.
538
539         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
540         new InsetBranch::isBranchSlected member function.
541
542         * LColor.[Ch]: mimimize the API.
543         (fill): renamed as addColor and made private.
544         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
545         versions of these functions taking a string arg have been removed.
546
547         * bufferparams.C (readToken):
548         * lyxfunc.C (dispatch):
549         * lyxrc.C (read): changes due to the altered BranchList and
550         LColor APIs.
551
552         * factory.C (createInset, readInset): changes due to altered
553         InsetBranch c-tor.
554
555 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
556
557         * factory.C:
558         * lyxfunc.C: remove insetminipage. "minipage-insert"
559         now produces a frameless minipage box inset.
560
561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
562
563         * textcursor.[Ch] (selStart,selEnd): add new methods
564         remove selection::start, end, use LyXCursor::operator<
565         * lyxcursor.[Ch] (operator<): add
566         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
567         * BufferView.[Ch] (unsetXSel): add
568         * text2.C (clearSelection): use unsetXSel,adjust
569         * text.C: adjust
570         * text3.C: adjust
571         * rowpainter.C: adjust
572         * bufferview_funcs.C (put_selection_at): adjust
573
574 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
575
576         * BufferView_pimpl.C: small coord. correction
577
578 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
579
580         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
581         dragging over the splash screen.
582
583 2003-12-11  Angus Leeming  <leeming@lyx.org>
584
585         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
586         as it is now handled in LyXText::dispatch.
587
588         * text3.C (doInsertInset): remove a level of nesting.
589
590 2003-12-11  Angus Leeming  <leeming@lyx.org>
591
592         * factory.C (createInset): changes due to the changed interface to
593         InsetCommandMailer::string2params.
594
595 2003-12-10  Angus Leeming  <leeming@lyx.org>
596
597         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
598         'dialog-show-new-inset <inset name>'
599
600 2003-12-10  Angus Leeming  <leeming@lyx.org>
601
602         * buffer.C: up the format to 227.
603
604         * factory.C: the box inset is now identified simply by 'Box'.
605
606 2003-12-10  Angus Leeming  <leeming@lyx.org>
607
608         * buffer.C: up the format to 226.
609
610         * factory.C: the note inset is now identified simply by 'Note'.
611
612 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
613
614         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
615         when a pit is enough. Standarize a couple of loops.
616
617 2003-12-05  Angus Leeming  <leeming@lyx.org>
618
619         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
620         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
621         data to the re-worked "log" dialog.
622
623 2003-12-03  André Pönitz  <poenitz@gmx.net>
624
625         * PosIterator.C:
626         * iterators.C:
627         * lyxtext.h:
628         * output_latex.C:
629         * paragraph_funcs.C:
630         * text.C:
631         * text2.C: use Inset::getText instead of Inset::getParagraph
632
633 2003-12-03  André Pönitz  <poenitz@gmx.net>
634
635         * buffer.[Ch]:
636         * lyxtext.h:
637         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
638         InsetText::read() as LyXText::read()
639
640 2003-12-02  Angus Leeming  <leeming@lyx.org>
641
642         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
643         type. Add a comment in the implementation that the function uses
644         the stream's bad() function rather than fail() as the std::streams
645         would do.
646
647 2003-12-02  André Pönitz  <poenitz@gmx.net>
648
649         * lyxlex.[Ch]: make interface more similar to std::stream
650
651         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
652
653 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
654
655         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
656
657 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
658
659         * vspace.[Ch]: remove VSpace::NONE
660
661 2003-12-01  André Pönitz  <poenitz@gmx.net>
662
663         * buffer.[Ch]:
664         * lyxtext.h: move ParagraphList member to LyXText
665         rename LyXText::ownerParagraphs to LyXText::paragraph
666
667         * CutAndPaste.C:
668         * bufferview_funcs.C:
669         * iterators.[Ch]:
670         * lyx_cb.C:
671         * paragraph.C:
672         * rowpainter.C:
673         * tabular.C:
674         * text.C:
675         * text2.C:
676         * text3.C: adjust
677
678         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
679
680         * undo.C: fix cursor positioning
681
682 2003-12-01  John Levon  <levon@movementarian.org>
683
684         * BufferView_pimpl.C: fix a crash on exit with
685         a buffer open
686
687 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
688
689         * BranchList.C: fix setSelected() method.
690
691 2003-11-28  André Pönitz  <poenitz@gmx.net>
692
693         * ParagraphParameters.[Ch]:
694         * ParameterStruct.h: remove space above/below from Paragraph to
695          InsetVSpace
696
697         * BufferView_pimpl.C:
698         * factory.C:
699         * lyxfunc.C:
700         * lyxtext.h:
701         * output_latex.C:
702         * paragraph.C:
703         * paragraph_funcs.C:
704         * rowpainter.[Ch]:
705         * text.C:
706         * text2.C:
707         * text3.C: adjust
708
709 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
710
711         * factory.C: Syntax change for CharStyles
712
713 2003-11-28  André Pönitz  <poenitz@gmx.net>
714
715         * BufferView.[Ch]:
716         * BufferView.[Ch]:
717         * buffer.[Ch]:
718         * buffer.[Ch]: move LyXText member
719
720 2003-11-28  André Pönitz  <poenitz@gmx.net>
721
722         * BufferView.[Ch]: make LyXText * text a private member
723
724         * BufferView_pimpl.C:
725         * cursor.C:
726         * iterators.C:
727         * lyx_cb.C:
728         * lyxfind.C:
729         * lyxtext.h:
730         * rowpainter.[Ch]:
731         * text.C:
732         * text2.C:
733         * undo.C: adjust
734
735         * output_plaintext.C: cleanup
736
737 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
738
739         * buffer.C:
740         * lyxtextclass.[Ch]: parametrize SGML document header
741
742 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
743
744         * converter.[Ch]:
745         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
746         getFlavor().
747
748 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * text2.C (setFont): rework using PosIterator (no more recursive)
751         (setCharFont): no more needed
752         (setLayout): no more selection cursors fiddling (done by redoCursor)
753         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
754         destroy remaining ones)
755
756 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
759         * lyxtext.h: ditto
760         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
761         selection cursors
762         * lyxfunc.C: adjust
763         * text3.C: adjust + re-allow multi par depth changes
764         * textcursor.C: simplify a bit
765
766 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * src/buffer.C:
769         * src/lyxlayout.C:
770         * src/lyxlayout.h:
771         * src/lyxtext.h:
772         * src/output_docbook.C:
773         * src/output_latex.C:
774         * src/paragraph.C:
775         * src/paragraph.h:
776         * src/sgml.C:
777         * src/sgml.h:
778         * src/text2.C: Introducing a number of tags parametrizing various
779         XML formats that we may want to support
780
781 2003-11-25  André Pönitz  <poenitz@gmx.net>
782
783         * InsetList.[Ch] (begein, end): inline as suggested by profiler
784
785         * lyxtext.h (leftMargin/rightMargin): simplify interface
786
787         * rowpainter.C:
788         * text.C:
789         * text2.C:
790         * text3.C: adjust
791
792 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * lyxfunc.C (dispatch): propogate the bibtex databases from the
795         master file to any child files. Fixes bug 546.
796
797 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
798
799         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
800
801 2003-11-24  André Pönitz  <poenitz@gmx.net>
802
803         * rowpainter.C: simplification
804
805         * text2.C (updateCounters): remove call to redoParagraph on
806         changed labels as this is far too expensive.
807
808 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
809
810         * converter.C (convert): fix a crash: this function gets
811         called with buffer == 0 from importer code.
812
813 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * text3.C (cursorPrevious): make sure that we do not compare
816         iterators form different containers.
817         (cursorNext): ditto
818
819         * rowpainter.C (paintSelection): make sure that we do not compare
820         iterators from different containers.
821
822         * text3.C (dispatch): [PRIOR] make sure that we do not compare
823         iterators from different ParagraphList containers.
824         [NEXT] ditto
825
826         * text2.C (LyXText): change order of initialization slightly
827         (operator=): new function. copy all variables except cache_par_
828         (moveUp): make sure that we do not compare iterators from
829         different ParagraphList constainers.
830         (moveDown): ditto
831
832         * text.C (firstPar): new function
833         (lastPar): new function
834         (endPar): new function
835
836         * lyxtext.h: move things around and group public functions, public
837         variables, private functions, private variables
838
839 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
840
841         * factory.C: change call to InsetERT constructor to avoid
842         additional invocation of method status
843         * text2.C (toggleInset): remove redundant update() call
844         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
845         instead of a Bufferview pointer
846
847 2003-11-21  André Pönitz  <poenitz@gmx.net>
848
849         * rowpainter.C: simplification
850
851 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
852
853         * text3.C (dispatch): make possible to extend a word/row selection
854         with the mouse
855
856 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * lyxtext.h: x0_,y0_ -> xo_,yo_
859         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
860         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
861         * rowpainter.C (paintRows): paint full paragraphs
862
863 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
866         screen coordinates)
867
868 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * lyxtext.h: add x0_, y0_
871         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
872         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
873
874 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
875
876         * text2.C (setCursorIntern): move the x_target update here *
877         * text3.C: change some bv() to true/false in calls to
878         cursorUp/Down/Right/Left
879         * cursor.C: use helper function.
880
881 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
884         * paragraph_funcs.[Ch]: correct comment
885         * rowpainter.C: do not paint selections away from bv->cursor()
886         Fix a long standing selection painting bug.
887         * text3.C: generalize mouse-selection code to LyXTexts other that
888         top one
889         * textcursor.C: do not use y coords if we can use par offsets
890
891 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
894         cursor position after e.g. inset insert)
895
896 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
897
898         * lyxfind.C (replace): adjust to locking removal + some
899         code simplification
900
901 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
904         of the path
905
906 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
907
908         * lyxlayout.[Ch]:
909         * output_docbook.C: XML sanitation: new layout
910         parameters InnerTag and CommandDepth
911
912 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
913
914         * BufferView_pimpl.C:
915         * factory.C:
916         * text3.C: Fix the insertion and modification of button-style
917         insets
918
919 2003-11-13  André Pönitz  <poenitz@gmx.net>
920
921         * InsetList.[Ch]: remove deleteLyXText
922
923         * paragraph.[Ch]: cache beginOfBody position
924
925         * Bidi.C:
926         * text.C:
927         * text2.C:
928         * text3.C: remove superfluous update() calls
929
930         * vspace.C: cleanup
931
932 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
935         * BufferView.C (fitLockedInsetCursor): remove
936         * cursor.[Ch] (getDim): add
937         * text.C (getRowNearY): add faster version
938         * text3.C: remove some update calls
939
940 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
941
942         * LaTeXFeatures.C:
943         * LyXAction.C:
944         * MenuBackend.C:
945         * MenuBackend.h:
946         * dispatchresult.h:
947         * factory.C:
948         * lfuns.h:
949         * lyxfunc.C:
950         * lyxtextclass.C:
951         * lyxtextclass.h:
952         * text3.C: The Character Style /XML short element patch.
953
954 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
955
956         * text3.C:
957         * factory.C: Small step to solving 'unable to insert some insets'
958         problem
959
960 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * cursor.[Ch] (updatePos): new function for updating the y
963         position of the tip inset
964         * bufferview_funcs.C (put_selection_at):
965         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
966
967 2003-11-11  André Pönitz  <poenitz@gmx.net>
968
969         * text.C: remove big comment on invalid Paragraph pointers as it is
970         not valid anymore
971
972 2003-11-11  André Pönitz  <poenitz@gmx.net>
973
974         * text_funcs.[Ch]: merge with ...
975
976         * text.C: ... this
977
978         * lyxtext.h:
979         * text2.C:
980         * text3.C: adjust
981
982         * Makefile.am: remove text_funcs.[Ch]
983
984 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
985
986         * cursor.C (getPos): return absolute cached y coord
987
988         * BufferView_pimpl.C (fitCursor): new simplistic code
989         (workAreaDispatch): add a fitCursor call
990
991 2003-11-10  André Pönitz  <poenitz@gmx.net>
992
993         * BufferView.[Ch]:
994         * BufferView_pimpl.[Ch]: merge update() and updateInset()
995
996 2003-11-10  André Pönitz  <poenitz@gmx.net>
997
998         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
999         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1000         indicate that the cursor needs to leave an inset
1001
1002         * lyxtext.h: remove inset locking
1003
1004         * cursor.[Ch]: re-implement functionality provided by inset locking
1005
1006         * BufferView.[Ch]:
1007         * BufferView_pimpl.[Ch]:
1008         * LyXAction.C:
1009         * bufferview_funcs.[Ch]:
1010         * factory.C:
1011         * funcrequest.[Ch]:
1012         * iterators.C:
1013         * lyx_cb.C:
1014         * lyxfind.C:
1015         * lyxfunc.C:
1016         * text.C:
1017         * text2.C:
1018         * text3.C:
1019         * undo.C: adjust
1020
1021 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1022
1023         * PosIterator.[Ch]: replace the stack with a vector, add inset
1024         accesor
1025         * iterators.[C]: adjust
1026
1027 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1028
1029         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1030         replaced
1031         * paragraph_funcs.C (readParToken): put the correct id in the
1032         error item, not the id of the top paragraph
1033
1034 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1035
1036         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1037         * bufferview_funcs.C (put_selection_at): use the above
1038
1039 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1040
1041         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1042
1043 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1044
1045         * output_linuxdoc.h:
1046         * output_plaintext.h:
1047         * output.h:
1048         * output_docbook.h: add #include statements
1049
1050 2003-11-05  José Matos  <jamatos@lyx.org>
1051
1052         * output_docbook.[Ch]:
1053         * output_latex.[Ch]:
1054         * output_linuxdoc.[Ch]:
1055         * output_plaintext.[Ch]: New files for output formats.
1056         * output.[Ch]: New file for helper functions.
1057
1058         * buffer.[Ch]:
1059         * paragraph_funcs.[Ch]: output functions moved to new files.
1060
1061         * outputparams.h: rename of latexrunparams.h
1062
1063         * LaTeX.[Ch]:
1064         * buffer.[Ch]:
1065         * bufferlist.[Ch]:
1066         * converter.[Ch]:
1067         * exporter.C:
1068         * paragraph.[Ch]:
1069         * paragraph_funcs.[Ch]:
1070         * paragraph_pimpl.[Ch]:
1071         * tabular.[Ch]: rename ascii to plaintext
1072         and LatexRunParams to OutputParams.
1073
1074 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * iterators.[Ch] (text): require bv argument
1077         * undo.C (recordUndo):
1078         * lyxfunc.C (dispatch):
1079         * bufferview_funcs.C (put_selection_at): adjust
1080
1081 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1082
1083         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1084
1085 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1086
1087         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1088         nestings
1089
1090 2003-11-04  André Pönitz  <poenitz@gmx.net>
1091
1092         * cursor.[Ch]: restructure
1093
1094         * BufferView.[Ch]:
1095         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1096
1097         * iterators.[Ch] (asCursor): remove
1098
1099         * lfuns.h: remove LFUN_INSET_EDIT
1100
1101         * lyxfunc.C:
1102         * tabular.C:
1103         * text.C:
1104         * text2.C:
1105         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1106
1107 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1108
1109         * lyxfind.[Ch]: complete overhaul
1110         * BufferView_pimpl.C:
1111         * lyxfunc.C: adjust
1112         * paragraph.[Ch] (insert): add
1113
1114 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * BufferView.[Ch]:
1117         * lyxtext.h:
1118         * text.C: remove dead spellcheck code
1119
1120 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1121
1122         * dispatchresult.h: add a val setter
1123
1124         * cursor.C (dispatch): use a tempvar for data_[i]
1125
1126 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1127
1128         * PosIterator.[Ch]: compile fix
1129
1130 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1131
1132         * text.C (cursorPar): deactivate the cursor cache
1133
1134 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1135
1136         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1137
1138 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * text3.C (dispatch): adjust for new DisptchResult semantics.
1141
1142         * lyxfunc.C (dispatch): handle update when return from
1143         Cursor::dispatch, adjust for new DispatchResult semantics.
1144
1145         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1146         DispatchResult(true) mean to not update. Add class functions for
1147         setting dispatched and update, as well as reading.
1148
1149         * cursor.C (dispatch): don't handle update here
1150
1151 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1152
1153         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1154         * trans_mgr.C: adjust
1155
1156         * paragraph_funcs.C (readParToken): exception safety
1157
1158         * lyxvc.h: store the vcs pointer in a scoped_ptr
1159         * lyxvc.C: adjust
1160
1161         * lyxsocket.C (serverCallback): exception safety
1162
1163         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1164
1165         * ispell.C (clone): make it return a auto_ptr
1166
1167         * factory.C (createInset): exception safety
1168         (readInset): exception safety
1169
1170         * bufferlist.C (newBuffer): exception safety
1171
1172         * Thesaurus.C (Thesaurus): use initialization for aik_
1173
1174         * MenuBackend.C (expandToc): exception safety.
1175
1176 2003-11-03  André Pönitz  <poenitz@gmx.net>
1177
1178         * buffer.C:
1179         * buffer.h:
1180         * bufferview_funcs.C: remove getInsetFromId()
1181
1182         * lyxcursor.[Ch]:
1183         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1184
1185         * lyxfunc.C:
1186         * text2.C:
1187         * text3.C: adjust
1188
1189 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1190
1191         * PosIterator.C (distance, advance): new
1192         * bufferview_funcs.[Ch] (put_selection_at): new
1193         * iterators.[Ch] (lockPath): new
1194
1195 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1196
1197         * iterators.[Ch] (asPosIterator): added
1198         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1199         * PosIterator.[Ch]: added
1200
1201 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1202
1203         * text3.C:
1204         * lyxfunc.C:
1205         * cursor.C (dispatch):
1206         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1207
1208         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1209         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1210         contructor, add a class function dispatched. Remove operator>=
1211
1212 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1213
1214         * debug.C: only use the default constructor for debugstream
1215         (lyxerr) here.
1216
1217         * main.C (main): include debug.h and setup the lyxerr streambuf
1218         here.
1219
1220 2003-10-31  José Matos  <jamatos@lyx.org>
1221
1222         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1223
1224         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1225         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1226         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1227         * paragraph_pimpl.C (simpleTeXSpecialC):
1228         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1229         add LatexRunParams argument.
1230
1231         * exporter.C (Export): change call accordingly.
1232
1233         * latexrunparams.h: add new member to take care of the other backends.
1234 2003-10-30  José Matos  <jamatos@lyx.org>
1235
1236         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1237         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1238         factorise code for paragraph output.
1239         * buffer.[Ch]:
1240         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1241         move functions.
1242
1243 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1244
1245         * text3.C (dispatch):
1246         * lyxfunc.C (dispatch):
1247         * cursor.C (dispatch):
1248         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1249
1250         * dispatchresult.h: make the dispatch_result_t ctor explicit
1251
1252 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1253
1254         * sgml.[Ch]:
1255         * buffer.C: small refactoring of docbook stuff
1256
1257 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1258
1259         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1260         meaning.
1261
1262 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1265         operator dispatch_result_t, and operators for == != and >=
1266
1267         * cursor.C (dispatch): adjust for operator dispatch_result_t
1268         removal. comment out call to update
1269
1270         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1271
1272 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * text3.C:
1275         * text2.C:
1276         * text.C:
1277         * lyxtext.h:
1278         * lyxfunc.C:
1279         * cursor.C:
1280         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1281         (dispatch):
1282
1283         * dispatchresult.h: new file, DispatchResult broken out of
1284         insets/insetbase.h
1285
1286         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1287
1288 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1289
1290         * text.C (rowBreakPoint): put a hack inside #if 0
1291
1292 2003-10-28  André Pönitz  <poenitz@gmx.net>
1293
1294         * lyxtext.h:
1295         * metricsinfo.C:
1296         * paragraph_funcs.C:
1297         * rowpainter.C:
1298         * text.C:
1299         * text2.C: general cleanup (lots of small stuff)
1300
1301 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1302
1303         * text2.C (cursorEnd): simple fix to the "end key goes to one
1304         before the end on last row" bug
1305
1306 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1307
1308         * text.C (backspace): fix the "zombie characters"
1309
1310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1311
1312         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1313
1314 2003-10-27  André Pönitz  <poenitz@gmx.net>
1315
1316         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1317
1318         * factory.C: handle new InsetPagebreak, InsetLine
1319
1320         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1321         and move handling into new InsetPagebreak, InsetLine
1322
1323         * BufferView_pimpl.C:
1324         * LyXAction.C:
1325         * ParagraphParameters.C:
1326         * ParameterStruct.h:
1327         * lyxfunc.C:
1328         * lyxtext.h:
1329         * paragraph.C:
1330         * paragraph.h:
1331         * paragraph_funcs.C:
1332         * paragraph_pimpl.C:
1333         * rowpainter.C:
1334         * text.C:
1335         * text2.C:
1336         * text3.C: adjust
1337
1338 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * text.C:
1341         * lyxrow_funcs.[Ch]:
1342         * Bidi.C:
1343         * paragraph.C:
1344         * lyxtext.h:
1345         * rowpainter.C:
1346         * text2.C:
1347         * text3.C: remove lastPos uses in favour of Row::endpos
1348
1349 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * undo.C (performUndoOrRedo): fix two crashes by setting a
1352         cursor by hand and reordering some calls. Use bv->lockInset instead
1353         of inset->edit because the latter loses cursor information
1354
1355 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1356
1357         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1358         by Martin
1359         (rowBreakPoint): fix width. change point to point + 1.
1360         Add a missing check.
1361
1362 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * MenuBackend.C:
1365         * lyxfunc.C: fix (at least partly) the problems
1366         with the Nav menu and headers inside branch insets
1367         reported by Kayvan
1368
1369 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1370
1371         * paragraph.C (getChar): add strong asserts
1372
1373         * lyxrow_funcs.C (lastPos): remove hideous hack
1374
1375         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1376         (fill): adjust to that (avoid an infinite loop)
1377
1378 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1381
1382 2003-10-23  André Pönitz  <poenitz@gmx.net>
1383
1384         * RowList_fwd.h: change list<> to vector<> to gain speed
1385         after suggestion from Alfredo
1386
1387 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1388
1389         * lyxtext.h: move the bidi stuff from here...
1390         * text.C: and here
1391         * text2.C: and here
1392         * Bidi.[Ch]: ... to here
1393
1394 2003-10-23  André Pönitz  <poenitz@gmx.net>
1395
1396         * lyxtext.h:
1397         * text.C (isLastRow, isFirstRow): new functions
1398
1399         * paragraph.h: new width cache member
1400
1401         * rowpainter.C: replace RowList::iterator with Row & where possible
1402
1403         * lyxfunc.C: replace several view()->text with a single call
1404
1405         * toc.C: fix 'unused' warning
1406
1407 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1408
1409         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1410         when woring with stream::pos_type
1411         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1412
1413 2003-10-22  André Pönitz  <poenitz@gmx.net>
1414
1415         * lyxtext.h:
1416         * text.C: use Row & instead of RowList::iterator
1417
1418         * lyxrow.h: rename end() to endpos()
1419
1420         * rowpainter.C:
1421         * text.C:
1422         * text2.C: adjust
1423
1424 2003-10-22  Angus Leeming  <leeming@lyx.org>
1425
1426         * buffer.[Ch] (fully_loaded): new member function, returning true
1427         only when the file has been loaded fully.
1428         Used to prevent the premature generation of previews and by the
1429         citation inset to prevent computation of the natbib-style label.
1430
1431         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1432         templates are all set up.
1433
1434         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1435
1436 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1437
1438         * text.C: fixed an "oops" in the "is a bit silly"
1439         bug fix
1440
1441 2003-10-21  André Pönitz  <poenitz@gmx.net>
1442
1443         * FuncStatus.[Ch]: small stuff, whitespace
1444
1445         * lyxfont.[Ch]: operator<<() for debug reasons
1446
1447         * lyxfunc.C:
1448         * lyxrow_funcs.C:
1449         * lyxtext.h: whitespace, spelling
1450
1451         * paragraph.C: naming of variables
1452
1453         * text.C:
1454         * text2.C: small stuff
1455
1456
1457 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1458
1459         * text.C: (1) finish off the inset display() work;
1460         (2) fix the "is a bit silly" bug (accessing char
1461         past end of par).
1462
1463 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * text.C: re-introduce display() for insets, fixing the
1466         various bugs (stretch of line above, math inset
1467         positioning, ...)
1468
1469 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * text.C (rightMargin): remove spurious semicolon
1472
1473         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1474         1415)
1475
1476 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1477
1478         * text3.C: fix one crash due to wrong cursor def
1479
1480 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1481
1482         * vc-backend.C (scanMaster): make the regex static
1483
1484         * LaTeX.C (scanAuxFile): make the regexs static
1485
1486         * text3.C (doInsertInset, dispatch, dispatch):
1487         * text2.C (cursorUp, cursorDown):
1488         * text.C (selectNextWordToSpellcheck):
1489         * BufferView_pimpl.C (dispatch):
1490         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1491
1492 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * lyxsocket.C: include <cerrno>
1495
1496 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1497
1498         * lyxfunc.C (dispatch): remove textcache stuff
1499
1500         * bufferlist.C (release): remove textcache stuff
1501         (closeAll): ditto
1502
1503         * TextCache.C: delete file
1504         * TextCache.h: delete file
1505
1506         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1507
1508         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1509         delete of the bv_->text.
1510         (resizeCurrentBuffer): remove texcache stuff
1511         (workAreaResize): ditto
1512
1513 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1514
1515         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1516         action.
1517
1518 2003-10-16  André Pönitz  <poenitz@gmx.net>
1519
1520         * lyxrow.[Ch]:
1521         * paragraph.h:
1522         * rowpainter.C:
1523         * text.C:
1524         * text2.C:
1525         * text3.C: speed up by storing y positions per paragraph plus per-row
1526         offset instead of having a 'full' y position in the row.
1527
1528 2003-10-15  André Pönitz  <poenitz@gmx.net>
1529
1530         * iterators.[Ch]:
1531         * iterators.[Ch]:
1532         * undo.[Ch]: make undo aware of inner insets
1533
1534 2003-10-14  Angus Leeming  <leeming@lyx.org>
1535
1536         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1537         static member functions LyX::ref() and LyX::cref.
1538         (lastfiles): new accessor functions for the new lastfiles_ member var.
1539         (addLyXView, views_): add a new LyXView to the list of views_.
1540         (updateInset): loop over all LyXViews to call their own updateInset
1541         member function, returning a pointer to the Buffer owning the inset.
1542
1543         * BufferView_pimpl.C (loadLyXFile):
1544         * MenuBackend.C (expandLastfiles):
1545         * bufferlist.C (MenuWrite, QuitLyX):
1546         lastfiles is no longer a global variable.
1547         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1548
1549         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1550         static function. Access through LyX::cref().emergencyCleanup().
1551
1552 2003-10-14  André Pönitz  <poenitz@gmx.net>
1553
1554         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1555
1556         * undo.[Ch]: restoring part of 'undo in insets'
1557
1558         * Makefile.am:
1559         * undo_funcs.[Ch]: merge with undo.[Ch]
1560
1561         * tabular.C: small cleansing stuff
1562
1563 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * paragraph_funcs.C (readParToken): report unknown insets as error
1566         boxes. Use the outer paragraph as location (also for unknown
1567         tokens).
1568
1569         * factory.C (readInset): do not abort on reading an unknown inset.
1570         Eat it and return 0.
1571
1572 2003-10-13  Angus Leeming  <leeming@lyx.org>
1573
1574         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1575
1576         * lyxrc.C: displayTranslator is now a function,
1577         declared in GraphicsTypes.h.
1578
1579 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1580
1581         * format.C: new placeholder $$a to pass the socket address.
1582
1583         * bufferlist.[Ch]: new function getBufferFromTmp.
1584
1585         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1586           files in the temporary dir.
1587
1588 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1589
1590         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1591
1592         * Makefile.am: add lyxsocket.[Ch].
1593
1594         * lyx_main.C (error_handler): handle SIGPIPE.
1595
1596 2003-10-13  André Pönitz  <poenitz@gmx.net>
1597
1598         * BufferView_pimpl.C:
1599         * lyxtext.h:
1600         * text.C:
1601         * text2.C:
1602         * text3.C:
1603         * undo_funcs.[Ch]: use paroffset_type instead of
1604           ParagraphList::iterators to prevent multiple conversion
1605           (and get a more robust interface)
1606
1607 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1610         * lyxtext.h: ditto
1611         * text3.C (dispatch): ditto
1612
1613 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1616         move the onlyfile, use onlyfile instead of foundfile in a couple
1617         of places.
1618
1619         * DepTable.C (update): flush the error stream a bit more
1620
1621 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1622
1623         * lyxserver.C (callback): adjust
1624
1625         * lyxfunc.C (getStatus): add a missing brace in commented code
1626         (ensureBufferClean): reindent
1627         (dispatch): delete version taking a string
1628
1629 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * LaTeX.C (deplog): move found file handlig from here...
1632         (handleFoundFile): .. to new function here.
1633         (deplog): make sure to discover several files mentioned on the
1634         same log line.
1635
1636 2003-10-10  André Pönitz  <poenitz@gmx.net>
1637
1638         * lyxfunc.C:
1639         * lyxtext.h:
1640         * tabular.C:
1641         * text.C:
1642         * text2.C:
1643         * text3.C: fix some of the tabular crashes
1644
1645 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1646
1647         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1648
1649         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1650
1651 2003-10-09  André Pönitz  <poenitz@gmx.net>
1652
1653         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1654
1655         * BufferView.C:
1656         * BufferView_pimpl.C:
1657         * bufferview_funcs.C:
1658         * lyx_cb.C:
1659         * lyxcursor.C:
1660         * lyxfind.C:
1661         * lyxfunc.C:
1662         * lyxtext.h:
1663         * text.C:
1664         * text2.C:
1665         * text3.C:
1666         * text_funcs.[Ch]:
1667         * textcursor.[Ch]:
1668         * undo_funcs.C: adjust
1669
1670 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * text2.C (incrementItemDepth): new function, use a backtracking
1673         algorithm to discover the correct item depth.
1674         (resetEnumCounterIfNeeded): new function, use a backtracking
1675         algorithm to discover if counter reset is needed.
1676         (setCounter): use them. Simplify a bit. Add different labels for
1677         different item depths for itemize.
1678
1679         * paragraph.C (Paragraph): remove initialization of enumdepth
1680         (operator=): ditto
1681
1682         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1683         enumerate and itemize. Change the type of itemdepth to signed char.
1684
1685 2003-10-08  André Pönitz  <poenitz@gmx.net>
1686
1687         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1688           thing assignable.
1689         * text.C:
1690         * text2.C: adjust
1691
1692         * tabular.[Ch]: fix crash after 'row-insert'
1693
1694 2003-10-08  Angus Leeming  <leeming@lyx.org>
1695
1696         Fix doxygen warnings.
1697
1698         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1699         Remove CutAndPaste:: prefix from header file declaration.
1700
1701         * LColor.h (fill): remove LColor:: prefix from declaration.
1702
1703         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1704         use lyx::depth_type rather than Paragraph::depth_type so that
1705         header file and .C file match.
1706
1707         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1708
1709         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1710         * aspell.C: \file aspell_local.C -> \file aspell.C
1711         * gettext.C: \file gettext.C -> \file src/gettext.C
1712         * gettext.h: \file gettext.h -> \file src/gettext.h
1713         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1714         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1715         * text.C: \file text.C -> \file src/text.C
1716
1717         * toc.C: move comment so that doxygen is not confused.
1718
1719 2003-10-07  Angus Leeming  <leeming@lyx.org>
1720
1721         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1722
1723 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1724
1725         * aspell.C:
1726         * aspell_local.h: add forgotten std::string's.
1727
1728 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1729
1730         * LaTeXFeatures.C:
1731         * LyXAction.C:
1732         * factory.C:
1733         * lfuns.h:
1734         * lyxfunc.C:
1735         * text3.C: The Box patch. Fancybox support, minipage, parbox
1736
1737 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1738
1739         * CutAndPaste.h:
1740         * DepTable.h:
1741         * FloatList.h:
1742         * LaTeXFeatures.h:
1743         * ParagraphParameters.h:
1744         * TextCache.h:
1745         * Thesaurus.h:
1746         * bufferlist.h:
1747         * exporter.h:
1748         * importer.h:
1749         * lastfiles.h:
1750         * lyxfind.h:
1751         * lyxfont.h:
1752         * lyxlex.h:
1753         * lyxtextclasslist.h:
1754         * messages.h:
1755         * paragraph.h:
1756         * paragraph_pimpl.C:
1757         * textcursor.h: add <string> and other small fixes to make Lars'
1758         std::string patch compile with STLport.
1759
1760 2003-10-06  Angus Leeming  <leeming@lyx.org>
1761
1762         * LColor.h: Add missing #include <string>.
1763
1764 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1765
1766         * All most all file in all subdirs: Make <string> be the prefered
1767         way of getting to std::string, add using declarations.
1768
1769 2003-10-06  André Pönitz  <poenitz@gmx.net>
1770
1771         * metricsinfo.C: initialize LyXFont before changing attribute.
1772         (fixes the 'math in \emph is upright' bug)
1773
1774 2003-10-06  André Pönitz  <poenitz@gmx.net>
1775
1776         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1777
1778 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1779
1780         * graph.C:
1781         * paragraph_pimpl.C: Small fixes to build using STLport
1782
1783 2003-10-02  André Pönitz  <poenitz@gmx.net>
1784
1785         * lyxfunc.C:
1786         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1787
1788 2003-10-01  André Pönitz  <poenitz@gmx.net>
1789
1790         * factory.C: assert early
1791
1792 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1793
1794         * lyx_main.C: remove the global debug object
1795
1796         * debug.h: adjust for new debugstream
1797
1798         * debug.C: adjust for new debugstream and keep the global debug
1799         object here.
1800
1801 2003-09-22  Angus Leeming  <leeming@lyx.org>
1802
1803         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1804         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1805         an incomplete class LyXFont.
1806
1807 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * factory.C: bug fix in branches
1810
1811 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * lyxfunc.C (processKeySym): adjust
1814         (dispatch): adjust
1815         (dispatch): change arg name from ev to func, adjust
1816         (sendDispatchMessage): ditto
1817
1818         * lyx_main.C (defaultKeyBindings): adjust keybindings
1819         (deadKeyBindings): ditto
1820
1821         * kbsequence.C (addkey): return a FuncRequest
1822
1823         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1824
1825         * kbmap.C (bind): take a FuncRequest as arg, adjust
1826         (read): adjust
1827         (lookup): adjust
1828         (defkey): change to take a FuncRequest as arg, adjust
1829         (findbinding): take a FuncRequest as arg, adjust.
1830
1831         * funcrequest.h (operator=): added
1832
1833         * funcrequest.C (FuncRequest): default kb_action changed from
1834         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1835
1836         * buffer.C (dispatch): simplify
1837         (dispatch): adjust to take a FuncRequest as arg, adjust
1838
1839         * boost.C (assertion_failed): change assertion message slightly
1840
1841         * ToolbarBackend.C (read): simplify
1842
1843         * MenuBackend.C (binding): adjust call to findbinding, add a
1844         message if no binding is found.
1845         (read): simplify
1846         (expandToc): correct by adding a empty FuncRequest
1847
1848         * LyXAction.C: include <boost/assert.hpp>
1849         (isPseudoAction): delete function
1850         (LookupFunc): change name to...
1851         (lookupFunc): this. change return type to FuncRequest.
1852         (getActionName): take kb_action as arg, simplify
1853         (funcHasFlag): add an assert, simplify.
1854
1855 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * toc.C (action): return a FuncRequest, simplify
1858
1859         * lyxfunc.C (processKeySym): adjust
1860         (getStatus): delete version that takes an int.
1861         (getStatus): adjust
1862         (dispatch): delete version that takes action as int
1863         (dispatch): adjust
1864         (sendDispatchMessage): simplify and adjust
1865
1866         * funcrequest.C (getArg): take unsigned int as arg
1867
1868         * ToolbarBackend.C (read): adjust
1869         (add): delete version that takes func as a string.
1870         (getIton): take a FuncRequest as arg
1871
1872         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1873         action.
1874
1875         * MenuBackend.C (MenuItem): add a new construct that only takes a
1876         Kind, simplify the constructor use for submenus.
1877         (add): adjust
1878         (expandLastfiles): adjust
1879         (expandDocuments): adjust
1880         (expandFormats): adjust
1881         (expandFloatListInsert): adjust
1882         (expandFloatInsert): adjust
1883         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1884
1885         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1886         Remove class variables lyx_pseudo_map and lyx_arg_map
1887
1888         * LyXAction.C (searchActionArg): delete function
1889         (getPseudoAction): delete function
1890         (retrieveActionArg): delete function
1891         (LookupFunc): make it return kb_action, simplify.
1892         (getActionName): simplify
1893
1894         * factory.C (createInset): fix new bug
1895
1896 2003-09-19  Angus Leeming  <leeming@lyx.org>
1897
1898         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1899         masterFilename_ parameter in the include inset.
1900
1901         * factory.C (createInset): changes due to the changes to InsetInclude.
1902
1903 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1904
1905         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1906
1907 2003-09-18  Angus Leeming  <leeming@lyx.org>
1908
1909         * buffer.C:
1910         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1911         Inset::fillWithBibKeys.
1912         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1913
1914 2003-09-18  Angus Leeming  <leeming@lyx.org>
1915
1916         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1917         variables.
1918         (ctor): pass and store a 'Buffer const &'
1919         (buffer): new member function.
1920
1921         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1922         '*this' to the LaTeXFeatures ctor.
1923
1924 2003-09-18  Angus Leeming  <leeming@lyx.org>
1925
1926         * LColor.h:
1927         * lyxfont.C:
1928         * lyxfont.h:
1929         * lyxtext.h:
1930         * text.C: rename EnumLColor as LColor_color.
1931
1932 2003-09-18  Angus Leeming  <leeming@lyx.org>
1933
1934         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1935         remove #include "insets/insetbase.h" from cursor.h.
1936
1937 2003-09-18  Angus Leeming  <leeming@lyx.org>
1938
1939         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1940         InsetOld_code to remove #include "inset.h".
1941
1942         * iterators.C: add #include "insets/inset.h"
1943
1944 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * BufferView.C: remove more locking stuff that apparently doesn't
1947         do anything sensible.
1948
1949 2003-09-16  André Pönitz  <poenitz@gmx.net>
1950
1951         * paragraph.[Ch]:
1952         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1953           performance boost.
1954
1955 2003-09-16  Angus Leeming  <leeming@lyx.org>
1956
1957         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1958
1959         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1960         arg/return type.
1961
1962         * paragraph.h: remove #include "lyxfont.h". Forward declare
1963         LyXFont_size.
1964
1965 2003-09-16  Angus Leeming  <leeming@lyx.org>
1966
1967         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1968         of support/textutils.h.
1969         (isWord): move the contents of support/textutils.h's IsWordChar here.
1970
1971         * buffer.C:
1972         * lyxfind.C:
1973         * rowpainter.C:
1974         * text.C:
1975         * text2.C: add #include "paragraph.h".
1976
1977         * rowpainter.C:
1978         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1979
1980 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * main.C:
1983         * lyx_main.C:
1984         * lyx_cb.C:
1985         * buffer.C:
1986         * LaTeX.C: use namespace alias for lyx::support::os
1987
1988 2003-09-16  Angus Leeming  <leeming@lyx.org>
1989
1990         * bufferparams.C:
1991         * bufferview_funcs.C:
1992         * factory.C:
1993         * lyxfunc.C:
1994         * paragraph_pimpl.C:
1995         * rowpainter.C:
1996         * text.C: add #include "LColor.h".
1997
1998 2003-09-16  Angus Leeming  <leeming@lyx.org>
1999
2000         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2001         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2002         return LyXFont &.
2003         Store the FontBits::color variable as an int rather than as an
2004         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2005         file.
2006
2007         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2008         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2009         string calls together.
2010
2011         * lyxrc.C: add #include "LColor.h".
2012
2013 2003-09-15  Angus Leeming  <leeming@lyx.org>
2014
2015         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2016         a cow_ptr.
2017
2018 2003-09-15  Angus Leeming  <leeming@lyx.org>
2019
2020         * LColor.h: add an EnumLColor wrapper for LColor::color.
2021
2022         * lyxfont.[Ch] (color, setColor, realColor):
2023         * lyxtext.h, text.C (backgroundColor):
2024         pass EnumLColor args to/from the functions, rather than LColor::color
2025         ones.
2026
2027         * lyxfont.h:
2028         * lyxtext.h: forward declare EnumLColor.
2029
2030         * lyx_main.C: add #include "LColor.h".
2031
2032 2003-09-15  Angus Leeming  <leeming@lyx.org>
2033
2034         * .cvsignore: add lyx-gtk.
2035
2036 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * Chktex.C
2039         * LaTeX.C
2040         * LaTeXFeatures.C
2041         * ParagraphParameters.C
2042         * Spacing.C
2043         * buffer.C
2044         * bufferparams.C
2045         * bufferview_funcs.C
2046         * chset.C
2047         * counters.C
2048         * funcrequest.C
2049         * lyxfont.C
2050         * lyxgluelength.C
2051         * lyxlength.C
2052         * paragraph.C
2053         * paragraph_funcs.C
2054         * text3.C
2055         * vc-backend.C: remove usage of STRCONV
2056
2057 2003-09-15  Angus Leeming  <leeming@lyx.org>
2058
2059         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2060         explicitly define the color passed to the painter.
2061
2062 2003-09-15  Angus Leeming  <leeming@lyx.org>
2063
2064         * bufferparams.C (BufferParams): reorder member initializers to avoid
2065         compiler warning.
2066
2067 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2068
2069         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2070         * text.C (updateRowPositions): remove an unusual nop
2071
2072 2003-09-12  André Pönitz  <poenitz@gmx.net>
2073
2074         * BufferView_pimpl.C:
2075         * Bullet.C:
2076         * layout.h:
2077         * lyxfunc.C:
2078         * lyxlayout.[Ch]:
2079         * lyxtextclass.C:
2080         * rowpainter.C:
2081         * text.C:
2082         * text2.C:
2083         * Counters.[Ch]: finish the 'automatic counters' job
2084
2085 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2086
2087         * aspell.C: include <boost/assert.cpp> (compile fix)
2088
2089 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2090
2091         * boost.C (assertion_failed): use lyx::support::abort instead of
2092         assert.
2093
2094 2003-09-10  Angus Leeming  <leeming@lyx.org>
2095
2096         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2097         with their _fwd progeny.
2098
2099 2003-09-09  Angus Leeming  <leeming@lyx.org>
2100
2101         134 files throughtout the source tree: replace 'using namespace abc;'
2102         directives with the appropriate 'using abc::xyz;' declarations.
2103
2104 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2105
2106         * boost.C (emergencyCleanup): moved here from LAssert.c
2107         (assertion_failed): new function, called by BOOST_ASSERT
2108
2109         * several files: change Assert to BOOST_ASSERT
2110
2111 2003-09-09  Angus Leeming  <leeming@lyx.org>
2112
2113         * buffer.[Ch]: Add an Impl class and move Buffer's member
2114         variables into it. As a result move several header files out of
2115         buffer.h.
2116
2117         Add header files to lots of .C files all over the tree as a result.
2118
2119 2003-09-09  Angus Leeming  <leeming@lyx.org>
2120
2121         * buffer.[Ch]: make Buffer's member variables private. Add
2122         accessor functions.
2123
2124         Lots of changes all over the tree as a result.
2125
2126 2003-09-08  Angus Leeming  <leeming@lyx.org>
2127
2128         * graph.C: #include <config.h>.
2129
2130 2003-09-08  Angus Leeming  <leeming@lyx.org>
2131
2132         * BranchList.C:
2133         * BufferView.C:
2134         * BufferView_pimpl.C:
2135         * CutAndPaste.C:
2136         * DepTable.C:
2137         * LaTeX.C:
2138         * LaTeXFeatures.C:
2139         * LyXAction.C:
2140         * MenuBackend.C:
2141         * TextCache.C:
2142         * aspell.C:
2143         * buffer.C:
2144         * bufferlist.C:
2145         * changes.C:
2146         * chset.C:
2147         * converter.C:
2148         * counters.C:
2149         * debug.C:
2150         * graph.C:
2151         * ispell.C:
2152         * lyx_cb.C:
2153         * lyxfind.C:
2154         * lyxfunc.C:
2155         * lyxlex_pimpl.C:
2156         * lyxrc.C:
2157         * lyxrow.C:
2158         * paragraph.C:
2159         * rowpainter.C:
2160         * texrow.C:
2161         * text.C:
2162         * text2.C:
2163         * toc.C: remove redundant using directives.
2164
2165 2003-09-07  Angus Leeming  <leeming@lyx.org>
2166
2167         * LaTeXFeatures.h: remove #include "support/types.h".
2168         * ToolbarBackend.h: remove #include <algorithm>.
2169         * changes.h: remove #include <ctime>.
2170         * debug.h: remove #include <iosfwd>.
2171         * graph.h: remove #include "support/std_string.h".
2172         * lyx_main.h: remove #include <csignal>.
2173         * lyxlex_pimpl.h: remove #include <fstream>.
2174         * sgml.h: remove #include <algorithm>, <utility>.
2175         * toc.h: remove #include "support/std_ostream.h".
2176         Add #include <iosfwd>.
2177
2178 2003-09-07  Angus Leeming  <leeming@lyx.org>
2179
2180         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2181
2182         * converter.h: forward declare LatexRunParams.
2183         * encoding.h: remove #include "lyxrc.h".
2184         * lyxtext.h: remove #include "LColor.h".
2185         * lyxtextclass.h: remove #include "support/types.h".
2186         * trans.h: remove #include "tex-accent.h".
2187         * trans_mgr.h: remove #include "tex-accent.h".
2188         * insets/inset.h: remove #include "support/types.h", <vector>.
2189         * insets/insetcollapsable.h: remove #include "LColor.h".
2190         * insets/insetinclude.h: remove #include "dimension.h".
2191         * insets/insetlatexaccent.h: remove #include "dimension.h".
2192         * insets/insetoptarg.h:: remove #include "insettext.h".
2193         * insets/insettext.h: remove #include "dimension.h",
2194         <boost/shared_ptr.hpp>
2195
2196         * insets/renderers.h: add #include "dimension.h".
2197         * insets/updatableinset.h: add #include "support/types.h".
2198
2199         * many .C files: Associated changes.
2200
2201 2003-09-06  Angus Leeming  <leeming@lyx.org>
2202
2203         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2204         one, inside testInvariant.
2205
2206         * PrinterParams.C: new file.
2207         * PrinterParams.[Ch]: move the function bodies out of line.
2208
2209 2003-09-06  Angus Leeming  <leeming@lyx.org>
2210
2211         * ParagraphParameters.h: forward declare ParameterStruct rather than
2212         including its header file.
2213         (depth): moved out-of-line.
2214
2215 2003-09-06  Angus Leeming  <leeming@lyx.org>
2216
2217         * BufferView_pimpl.h:
2218         * kbmap.h:
2219         * kbsequence.h:
2220         * lyxfunc.h: forward declare LyXKeySym rather than
2221         #include "frontends/LyXKeySym.h".
2222
2223         * BufferView_pimpl.C:
2224         * kbmap.C:
2225         * kbsequence.C:
2226         * lyxfunc.C: associated changes.
2227
2228 2003-09-06  Angus Leeming  <leeming@lyx.org>
2229
2230         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2231         As a result, can remove the #include "insets/inset.h" from BufferView.h
2232
2233 2003-09-06  Angus Leeming  <leeming@lyx.org>
2234
2235         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2236         As a result, can remove the #include "insets/inset.h" from BufferView.h
2237
2238 2003-09-06  Angus Leeming  <leeming@lyx.org>
2239
2240         * buffer_funcs.C:
2241         * buffer.h:
2242         * bufferlist.C:
2243         * BufferView.C:
2244         * bufferview_funcs.C:
2245         * BufferView_pimpl.C:
2246         * CutAndPaste.C:
2247         * lyx_cb.C:
2248         * lyxfunc.C:
2249         * paragraph.h:
2250         * ParagraphParameters.C:
2251         * tabular.C:
2252         * text3.C:
2253         * toc.C:
2254         * undo_funcs.C:
2255         * frontends/controllers/ControlDocument.C:
2256         * insets/insetcaption.C: rearrange the #includes into some sort of
2257         coherent order.
2258
2259         * buffer.h: remove #includes ErrorList.h, undo.h
2260
2261 2003-09-06  Angus Leeming  <leeming@lyx.org>
2262
2263         * support/types.h: add a 'depth_type' typedef, used to store the
2264         nesting depth of a paragraph.
2265
2266         * paragraph.h:
2267         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2268         defining explicitly.
2269
2270         * buffer.h:
2271         * paragraph_funcs.h:
2272         * ParagraphParameters.h:
2273         * sgml.h: use lyx::depth_type rather than Paragraph or
2274         ParameterStruct's depth_type.
2275
2276         * buffer.h
2277         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2278
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * CutAndPaste.C:
2282         * ParagraphParameters.C:
2283         * buffer_funcs.C:
2284         * bufferlist.C:
2285         * bufferview_funcs.C:
2286         * lyx_cb.C:
2287         * lyxfunc.C:
2288         * tabular.C:
2289         * text3.C:
2290         * toc.C:
2291         * undo_funcs.C:
2292         * frontends/LyXView.C:
2293         * frontends/controllers/ControlDocument.C:
2294         * frontends/controllers/ControlErrorList.C:
2295         * insets/insetbibitem.C:
2296         * insets/insetbranch.C:
2297         * insets/insetcaption.C:
2298         * insets/insetcollapsable.C:
2299         * insets/insetenv.C:
2300         * insets/insetert.C:
2301         * insets/insetfloat.C:
2302         * insets/insetfoot.C:
2303         * insets/insetfootlike.C:
2304         * insets/insetnewline.C:
2305         * insets/insetquotes.C:
2306         * insets/insettabular.C:
2307         * insets/insettext.C:
2308         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2309
2310         * frontends/controllers/ControlChanges.C: #include "changes.h".
2311
2312 2003-09-06  Angus Leeming  <leeming@lyx.org>
2313
2314         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2315         than #including paragraph.h.
2316
2317         * ParagraphList.h:
2318         * RowList.h: deleted. Superfluous.
2319
2320         * CutAndPaste.h:
2321         * iterators.h:
2322         * lyxcursor.h:
2323         * lyxtext.h:
2324         * text_funcs.h:
2325         * undo.h:
2326         * undo_funcs.h:
2327         * insets/inset.h:
2328         * insets/insettext.h: use ParagraphList_fwd.h rather than
2329         ParagraphList.h.
2330
2331         * paragraph.h: don't forward declare ParagraphList.
2332
2333         * buffer.h:
2334         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2335         rather than ParagraphList.h. paragraph.h is still needed for the
2336         Paragraph::depth_type parameters.
2337
2338         * textcursor.h: enable it to compile stand-alone in light of the
2339         above changes.
2340
2341         * bufferview_funcs.C:
2342         * iterators.C:
2343         * lyxfunc.C:
2344         * lyxrow_funcs.C:
2345         * paragraph.C:
2346         * rowpainter.C:
2347         * text.C:
2348         * text2.C:
2349         * text3.C:
2350         * text_funcs.C:
2351         * textcursor.C:
2352         * undo.C:
2353         * frontends/controllers/ControlParagraph.C:
2354         * frontends/controllers/ControlTabular.C:
2355         * insets/insetmarginal.C:
2356         * insets/insetminipage.C:
2357         * insets/insetnote.C:
2358         * insets/insetoptarg.C: add header files needed to compile again.
2359
2360 2003-09-06  Angus Leeming  <leeming@lyx.org>
2361
2362         * RowList_fwd.h: new file, forward-declaring Row rather than
2363         #including lyxrow.h.
2364
2365         * lyxrow_funcs.h:
2366         * lyxtext.h:
2367         * paragraph.h:
2368         * insets/insettext.h: use it instead of RowList.h
2369
2370         * bufferview_funcs.C:
2371         * lyxfunc.C:
2372         * lyxrow_funcs.C:
2373         * paragraph.C:
2374         * rowpainter.C:
2375         * text.C:
2376         * text2.C:
2377         * text3.C: #include "RowList.h".
2378
2379 2003-09-05  Angus Leeming  <leeming@lyx.org>
2380
2381         * factory.C (createInset):
2382         * vspace.C (c-tor): replace sscanf call with an istringstream.
2383         * ispell.C: re-add missing HP/UX headers.
2384         * lyxserver.C: re-add missing  os2 headers.
2385
2386 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * BranchList.C:
2389         * graph.C:
2390         * ispell.C:
2391         * lastfiles.C:
2392         * lyx_cb.C:
2393         * lyxserver.C:
2394         * texrow.C:
2395         * text3.C: re-add missing system headers, needed for 2.95.2.
2396
2397 2003-09-05  Angus Leeming  <leeming@lyx.org>
2398
2399         Changes most place everywhere due to the removal of using directives
2400         from support/std_sstream.h.
2401
2402 2003-09-05  Angus Leeming  <leeming@lyx.org>
2403
2404         Replace LString.h with support/std_string.h,
2405         Lsstream.h with support/std_sstream.h,
2406         support/LIstream.h with support/std_istream.h,
2407         support/LOstream.h with support/std_ostream.h.
2408
2409         Changes resulting throughout the tree.
2410
2411 2003-09-05  Angus Leeming  <leeming@lyx.org>
2412
2413         * sgml.h: ensure that the header file can be compiled stand-alone.
2414         * *.C: strip out redundant #includes. (320 in total.)
2415
2416 2003-09-04  Angus Leeming  <leeming@lyx.org>
2417
2418         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2419         here (from getPackages).
2420
2421         * debug.[Ch]: add a new EXTERNAL tag.
2422
2423 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2424
2425         * text2.C (cursorEnd): simplify
2426         (setCursor): adjust
2427         (getColumnNearX): adjust
2428
2429         * text.C (computeBidiTables): adjust
2430         (fill): adjust
2431
2432         * rowpainter.C (paintChars): adjust
2433         (paintSelection): adjust
2434         (paintChangeBar): adjust
2435         (paintText): adjust
2436
2437         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2438         lastPos instead.
2439         (numberOfSeparators): adjust
2440
2441 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2442
2443         * LyXAction.C:
2444         * box.[Ch]:
2445         * lfuns.h:
2446         * lyxfunc.C:
2447         * text3.C: Restricts the mouse click functionality
2448         of insets like bibtex, include, toc and floatlist to the visible
2449         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2450         up the dialogs. Cursor has to be in front of the inset (i.e.
2451         start of row) for this to function.
2452
2453 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2454
2455         * bufferview_funcs.C (currentState): output row information
2456
2457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2458
2459         * bufferview_funcs.C (currentState): output paragraph position
2460
2461 2003-09-04  Angus Leeming  <leeming@lyx.org>
2462
2463         * FloatList.h: move out #include "Floating.h".
2464         * LaTeX.h: move out #include "DepTable.h".
2465         * LyXAction.h: move out #include "funcrequest.h".
2466         * buffer.h: move out #include "author.h", "iterators.h".
2467         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2468         * lyx_main.h: move out #include "errorlist.h".
2469         * lyxfunc.h: move out #include "FuncStatus.h".
2470         * lyxtext: move out #include "lyxcursor.h".
2471         * paragraph_pimpl.h: move out #include "counters.h".
2472
2473 2003-09-03  Angus Leeming  <leeming@lyx.org>
2474
2475         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2476         preamble_snippets list, enabling us to add snippets to the preamble
2477         only if the snippet was not there already.
2478
2479 2003-09-04  Angus Leeming  <leeming@lyx.org>
2480
2481         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2482
2483 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2486         update
2487
2488 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2489
2490         * BranchList.C: point fix, earlier forgotten
2491
2492 2003-09-02  Angus Leeming  <leeming@lyx.org>
2493
2494         * box.C (contains): renamed from 'contained' after a fantastic
2495         amount of hot air.
2496
2497 2003-09-02  John Levon  <levon@movementarian.org>
2498
2499         * BufferView.C:
2500         * lyxcursor.h:
2501         * lyxcursor.C:
2502         * lyxfunc.C:
2503         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2504
2505 2003-09-02  John Levon  <levon@movementarian.org>
2506
2507         * text2.C: simplification of cursorEnd(), including partial
2508         fix for bug 1376
2509
2510 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * buffer.C (readFile): add a space
2513
2514 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2515
2516         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2517
2518 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2519
2520         * buffer.C (readFile): new function, take a filename and a
2521         ParagraphList::iterator
2522         (readFile): adjust
2523         (readFile): adjust, make it private. don't use setStream, make
2524         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2525         always contain the filename.
2526
2527         * BufferView.C (insertLyXFile): simplify and make it work for
2528         gzipped files.
2529
2530 2003-08-30  John Levon  <levon@movementarian.org>
2531
2532         * Makefile.am: fix dist (from Kayvan)
2533
2534 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2535
2536         * most files: change to use const Buffer refs
2537
2538 2003-08-27  André Pönitz  <poenitz@gmx.net>
2539
2540         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2541         on top of ownerPar().
2542
2543 2003-08-27  John Levon  <levon@movementarian.org>
2544
2545         * funcrequest.C: properly initialise POD members
2546
2547 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * lyxtext.h (top_y): move top_y from here
2550         * text.C:
2551         * text2.C:
2552         * text3.C:
2553         * BufferView.[Ch]:
2554         * BufferView_pimpl.[Ch]: to here
2555         * frontends/screen.C:
2556         * insets/insettabular.C:
2557         * insets/insettext.C: adjust
2558         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2559
2560 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * BufferView.[Ch]:
2563         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2564
2565 2003-08-26  André Pönitz  <poenitz@gmx.net>
2566
2567         * paragraph_func.[Ch] (outerPar): new function
2568
2569         * paragraph.C:
2570         * paragraph_funcs.C:
2571         * paragraph_funcs.h:
2572         * paragraph_pimpl.C:
2573         * text2.C: remove Inset::par_owner
2574
2575 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2576
2577         * lyxrow_funcs.C:
2578         * lyxtext.h:
2579         * text.C:
2580         * text2.C: eliminates the needFullRow/display() stuff
2581         altogether, putting the logic in metrics/draw in the insets.
2582
2583 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * text2.C (redoParagraphInternal, redoParagraphs):
2586         * text.C (redoParagraph): add a call to updateRowPositions at the
2587         end of each 'metrics-like' call. Remove all others.
2588         (getRow): remove the 'y-computing' version.
2589         (getRowNearY): do not compute nor return the real y. Solve the
2590         'y < 0' problem and simplify.
2591
2592 2003-08-22  Angus Leeming  <leeming@lyx.org>
2593
2594         * *.[Ch]: clean-up of licence and author blurbs.
2595         Also move config.h out of a few .h files and into a few .C files.
2596
2597 2003-08-22  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxrow.[Ch]: add x_ and *fill_ members
2600
2601         * lyxtext.h:
2602         * text.C:
2603         * rowpainter.C:
2604         * text2.C: adjust/remove prepareToPrint() calls
2605
2606 2003-08-22  André Pönitz  <poenitz@gmx.net>
2607
2608         * lyxrow.[Ch]: add  end_ member
2609
2610         * lyxrow_funcs.C: use LyXRow::end_
2611
2612         * lyxtext.h (singleWidth): add LyXFont parameter
2613
2614         * rowpainter.C:
2615         * text2.C: adjust LyXText::singleWidth() calls
2616
2617         * text.C (redoParagraph): simplify row breaking logic
2618
2619
2620 2003-08-19  André Pönitz  <poenitz@gmx.net>
2621
2622         * funcrequest.C: initialize button_ member
2623
2624         * text3.C:
2625         * rowpainter.[Ch]: interface consolidation
2626
2627 2003-08-18  André Pönitz  <poenitz@gmx.net>
2628
2629         * BufferView.C:
2630         * BufferView_pimpl.C:
2631         * lyxfind.C:
2632         * paragraph_funcs.C:
2633         * rowpainter.C:
2634         * text3.C: remove LyXScreen::draw() and fitCursor calls
2635
2636         * BranchList.h: remove spurious semicolons
2637
2638         * MenuBackend.C: fix branchlist related crash
2639
2640 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * BranchList.[Ch]:
2643         * InsetList.[Ch]:
2644         * LColor.[Ch]:
2645         * LyXAction.C:
2646         * Makefile.am:
2647         * MenuBackend.[Ch]:
2648         * bufferparams.[Ch]:
2649         * factory.C:
2650         * lfuns.h:
2651         * lyxfunc.C:
2652         * text3.C: implements the 'branch inset'
2653         idea. This allows the output of various versions of a document
2654         from a single source version, selectively outputing or suppressing
2655         output of parts of the text.
2656         This implementation contains a 'branch list editor' in a separate
2657         tab of the document settings dialog. Branches are user definable
2658         and have a "display colour" to distinguish them on-screen.
2659
2660         ColorHandler was somewhat cleaned up.
2661         (1) make possible a dynamically growing LColor list by allowing
2662         the graphic context cache to grow along (vector);
2663         (2) eliminate an IMHO unnecessary step in colour allocation.
2664
2665 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2666
2667         * BufferView_pimpl.C: compile fix
2668
2669 2003-08-15  André Pönitz  <poenitz@gmx.net>
2670
2671         * rowpainter.C: remove extra metrics calls
2672
2673         * lyxtext.h: merge the two constructors into a single one,
2674           pass reference to owner's par list
2675
2676         * BufferView_pimpl.C:
2677         * text.C:
2678         * text2.C: adjust
2679
2680 2003-08-15  André Pönitz  <poenitz@gmx.net>
2681
2682         * lyxrow_funcs.[Ch]:
2683         * lyxtext.h:
2684         * paragraph.h:
2685         * paragraph_funcs.C:
2686         * rowpainter.C:
2687         * text.C:
2688         * text2.C:
2689         * text3.C:
2690         * text_funcs.C: split LyXText::rowlist_ into individual
2691         Paragraph::rows_ chunks
2692
2693         * BufferView.[Ch]:
2694         * BufferView_pimpl.[Ch]:
2695         * lyxfind.C:
2696         * lyxtext.h:
2697         * text3.C: remove toggleSelection()
2698
2699 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2700
2701         * bufferlist.C: beautify two alerts (shorter text of buttons)
2702         * buffer.C: Remove redundant ' ' from message
2703         * tabular.h:
2704         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2705         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2706         rename VALIGN_CENTER to VALIGN_MIDDLE
2707
2708 2003-08-11  André Pönitz  <poenitz@gmx.net>
2709
2710         * lyxtext.h (getPar):
2711         * text.C: new function
2712
2713 2003-08-11  André Pönitz  <poenitz@gmx.net>
2714
2715         * Makefile.am:
2716         * tracer.[Ch]: remove unneeded files
2717
2718         * InsetList.[Ch]: remove resizeInsetsLyXText()
2719
2720         * lyxtext.h:
2721         * text.C:
2722         * text2.C:
2723         * text3.C: merge insertParagraphs() and appendParagraph()
2724         remove breakAgain(), update()
2725
2726         * BufferView_pimpl.[Ch]:
2727         * bufferview_funcs.[Ch]:
2728         * lyxfunc.C:
2729         * paragraph.[Ch]:
2730         * rowpainter.C:
2731         * tabular.C: adjust after text & InsetList changes.
2732
2733 2003-08-08  André Pönitz  <poenitz@gmx.net>
2734
2735         * text.C (insertChar, backspace): replace rowlist fiddling
2736         with rebreak of full par
2737
2738         * lyxtext.h:
2739         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2740         checkParagraph, updateInset): removed
2741
2742 2003-08-07  André Pönitz  <poenitz@gmx.net>
2743
2744         * paragraph.C:
2745         * text3.C: merge some LFUN handlers, remove dead code
2746
2747 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2748
2749         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2750
2751 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * text2.C (DEPM): fix part of bug 1255 and 1256
2754
2755 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2756
2757         * BufferView_pimpl.C (workAreaDispatch): change to use
2758         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2759         that are no mouse related.
2760
2761 2003-08-05  André Pönitz  <poenitz@gmx.net>
2762
2763         * BufferView.[Ch]:
2764         * BufferView_pimpl.[Ch]:
2765         * bufferview_funcs.C:
2766         * text2.C:
2767         * text3.C: rip out "deep update"
2768
2769         * textcursor.[Ch] (last_sel_cursor): remove unused member
2770
2771 2003-08-04  André Pönitz  <poenitz@gmx.net>
2772
2773         * BufferView.[Ch]:
2774         * BufferView_pimpl.[Ch]:
2775         * ParagraphParameters.C:
2776         * bufferview_funcs.C:
2777         * lyx_cb.C:
2778         * lyxfind.C:
2779         * lyxfunc.C:
2780         * text.C:
2781         * text2.C:
2782         * text3.C: replace "complicated" BufferView::update(...) calls with
2783         simpler ones.
2784
2785         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2786
2787 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2788
2789         * Makefile.am (lyx_SOURCES): add paper.h
2790
2791 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2792
2793         * Makefile.am: move things around so that both lyx-qt and
2794         lyx-xforms can be built (according to --with-frontend). Then lyx
2795         is a symbolic link to lyx-[firstfrontend]
2796
2797 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2798
2799         * Always use std::endl with lyxerr
2800
2801 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2802
2803         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2804
2805 2003-08-01  André Pönitz  <poenitz@gmx.net>
2806
2807         * BufferView.[Ch]:
2808         * BufferView_pimpl.[Ch]:
2809         * lyxfunc.C:
2810         * text3.C: merge BufferView::repaint() and BufferView::update()
2811
2812 2003-08-01  José Matos  <jamatos@lyx.org>
2813
2814         * buffer.[Ch]: file_format is no longer a buffer data element.
2815
2816 2003-08-01  André Pönitz  <poenitz@gmx.net>
2817
2818         * BufferView.C:
2819         * lyxtext.h:
2820         * text.C:
2821         * text2.C: make redoParagraph more independent of current cursor
2822
2823         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2824         * text.C:
2825         * text2.C: remove unneeded members
2826
2827 2003-07-30  André Pönitz  <poenitz@gmx.net>
2828
2829         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2830
2831         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2832           create a single function...
2833
2834         * paragraph_funcs.C (moveItem): ... here.
2835
2836         * text.C:
2837           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2838
2839 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2840
2841         * LColor.[Ch]: Add comment and greyedout logical colors.
2842
2843 2003-07-30  André Pönitz  <poenitz@gmx.net>
2844
2845         * tabular.C: don't use Assert too heavily. This crashes where it
2846           shouldn't
2847
2848 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2851         is disabled (bug 1232)
2852
2853 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2854
2855         * factory.C: limited 'arg' scope
2856
2857 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2858
2859         * factory.C: fixed Note submenu issues
2860
2861 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2862
2863         * factory.C: submenu for Note/Comment/Greyedout
2864
2865 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * lyx_main.C (LyX):
2868         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2869
2870 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * LaTeXFeatures.C:
2873         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2874         greyedout. Patch provided by Jürgen Spitzmüller.
2875
2876 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * kbmap.C (read): fix error message when reading bind files
2879
2880 2003-07-29  Angus Leeming  <leeming@lyx.org>
2881
2882         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2883         certainly does not do what it purports to do. I am doing it, and
2884         us, a favour by killing it.
2885
2886 2003-07-28  José Matos  <jamatos@lyx.org>
2887
2888         * buffer.C (readBody, do_writeFile):
2889         * paragraph.C(readParagraph): \end_document replaces \the_end.
2890
2891 2003-07-29  André Pönitz  <poenitz@gmx.net>
2892
2893         * BufferView.[Ch]:
2894         * BufferView_pimpl.[Ch]:
2895         * lyxfunc.C:
2896         * text2.C:
2897         * text3.C:
2898         * textcursor.[Ch]: remove toggleToggle & Co
2899
2900 2003-07-28  José Matos  <jamatos@fep.up.pt>
2901
2902         * buffer.C (readParagraph):
2903         * params_func (readParToken, readParagraph):
2904         * paragraph.C (write): \layout -> \begin_layout.
2905
2906 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * lyxlex_pimpl.C (setFile): clean up slightly.
2909
2910         * bufferparams.h: add compressed var
2911
2912         * buffer_funcs.C (readFile): adjust for LyXLex change
2913         (newFile): ditto + simplify
2914
2915         * buffer.C (writeFile): handle writing of compressed files
2916
2917         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2918         Check if the file is compressed and set a bufferparm if so.
2919
2920         * Makefile.am (lyx_LDADD): remove explicit -lz
2921
2922 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2923
2924         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2925         makeDocBookFile): put the real LyX version in the first line of
2926         the file
2927
2928         * version.h:
2929         * version.C.in: remove lyx_docversion
2930
2931         * tabular.C (write_attribute): add a template-based version to
2932         write enums properly
2933
2934 2003-07-28  André Pönitz  <poenitz@gmx.net>
2935
2936         * lyxtext.h:
2937         * text.C:
2938         * text2.C:
2939         * text3.C: use doubles again for x-coordinates. They are needed.
2940
2941 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * messages.C (getLocaleDir): use lyx_localedir()
2944
2945         * lyxlex_pimpl.C (setFile): compress stuff
2946
2947         * buffer.C (writeFile): add some compression stuff
2948         (do_writeFile): new func, dont call expliti close... will this
2949         breake anything?
2950
2951         * Makefile.am (lyx_LDADD): add -lz
2952
2953 2003-07-28  José Matos  <jamatos@fep.up.pt>
2954
2955         * buffer.C: increment file format.
2956         * paragraph_funcs (readParagraph, readParToken):
2957         * paragraph.C (readParagraph): add \end_layout.
2958
2959 2003-07-27  Angus Leeming  <leeming@lyx.org>
2960
2961         * Makefile.am: remove special casing for configure-time setting of
2962         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2963
2964         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2965         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2966
2967 2003-07-26  André Pönitz  <poenitz@gmx.net>
2968
2969         * paragraph_func.[Ch]:
2970         * paragraph.C (realizeFont): inline it whereever it is used
2971
2972         * rowpainter.C:
2973         * text.C:
2974         * text2.C:
2975         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2976
2977
2978 2003-07-26  André Pönitz  <poenitz@gmx.net>
2979
2980         *       lyxtext.h:
2981         * text.C:
2982         * text2.C: get rid of LyXText::need_break_row
2983
2984 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * toc.[Ch]: put namespace toc inside namespace lyx
2987
2988         * MenuBackend.C (expandToc2): adjust for lyx::toc
2989         (expandToc): ditto
2990
2991         * lyxfunc.C (dispatch): adjust for lyx::find
2992
2993         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2994         lyx::find instead. Reorganize a bit.
2995         (LyXReplace): rename to replace
2996         (LyXFind): rename to find
2997
2998         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2999         (dispatch): ditto
3000
3001 2003-07-26  André Pönitz  <poenitz@gmx.net>
3002
3003         * text.C (setHeightOfRow): restrict scope of temporary variable
3004
3005         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3006           code (never has been used?)
3007
3008 2003-07-27  Asger Alstrup  <alstrup@local>
3009
3010         * text.C (fill): Optimise algorithm to exploit that we can reuse
3011         the LyXFont for many characters.
3012         (setHeightOfRow): Same thing.
3013         (rowBreakPoint): Same thing.
3014
3015 2003-07-26  Asger Alstrup  <alstrup@local>
3016
3017         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3018
3019         * text.C (singleWidth): Spurious font copying in hot-spot
3020         singleWidth avoided. Reorder tests for arabic for efficiency.
3021
3022         * text.C (fill): handle empty paragraphs better.
3023
3024 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * ispell.C:
3027         * encoding.h: add includes
3028
3029         * lyxrc.C: remove reading of bind files
3030
3031         * lyx_main.C (init): setup bindings and menus only if we have a
3032         gui.
3033
3034         * kbmap.C (read): new method. Do the actual reading of bind
3035         files.
3036
3037         * converter.C (dvipdfm_options):
3038         * bufferparams.C:
3039         * lyxrc.C (read):
3040         (output): adapt PAPER_* enums.
3041
3042         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3043
3044         * bufferparams.h: remove paper-related enums from there
3045
3046         * paper.h: New file. A trivial header file to hold paper-related
3047         enums. It should later expand to contain many paper-related
3048         horrors access.
3049
3050         * lyxrc.C: declare extern displayTranslator
3051
3052 2003-07-27  José Matos  <jamatos@fep.up.pt>
3053
3054         * tabular.[Ch] (linuxdoc): add support for tables and figures
3055         (linuxdoc).
3056
3057 2003-07-27  José Matos  <jamatos@fep.up.pt>
3058
3059         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3060         consistency in both functions.
3061         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3062
3063 2003-07-26  Asger Alstrup  <alstrup@local>
3064
3065         * rowpainter.C (paintRows): Change algorithm to work directly on
3066         the insets rather than asking every character in the document
3067         whether its an inset.
3068
3069 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3070
3071         * buffer.C (openFileWrite): factorize some code
3072
3073 2003-07-26  Angus Leeming  <leeming@lyx.org>
3074
3075         * lyx_cb.C:
3076         * lyx_main.[Ch]: replace occurances of system_tempdir with
3077         os::getTmpDir().
3078
3079 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * rename Inset to InsetOld
3082
3083 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3084
3085         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3086         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3087         which I think is a bit clearer. EDIT is gone, since it was
3088         premature optimisation, and broken for mathed anyway.
3089         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3090         with cursor positioning in insets as well (math insets still do not
3091         work, but that's a different story anyway.) It mysteriously
3092         crashes sometimes with undo in the first paragraph, but I'm fairly
3093         confident that this is a compiler bug.
3094
3095 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * paragraph.C (Paragraph): adjust for new clone return type
3098         (operator==): ditto
3099         (copyIntoMinibuffer): ditto
3100
3101 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3102
3103         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3104         by not having a special case, and always doing a full rebreak of
3105         the document after undo.
3106
3107 2003-07-23  Angus Leeming  <leeming@lyx.org>
3108
3109         * factory.C (createInset): InsetExternal::setParams now takes a
3110         Buffer const * arg.
3111
3112 2003-07-23  Angus Leeming  <leeming@lyx.org>
3113
3114         * factory.C (createInset): changed interface to the external and
3115         graphics mailers' string2params functions.
3116
3117 2003-07-23  Angus Leeming  <leeming@lyx.org>
3118
3119         * factory.C (createInset): pass a
3120         Buffer const * parameter to InsetExternalMailer's string2params.
3121
3122 2003-07-22  John Levon  <levon@movementarian.org>
3123
3124         * Thesaurus.h: include the right aiksaurus header
3125
3126 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * MenuBackend.C (expand): check menu shortcuts unconditionally
3129
3130 2003-07-21  Angus Leeming  <leeming@lyx.org>
3131
3132         * factory.C (createInset): pass a
3133         buffer_path parameter to InsetGraphicsMailer's string2params.
3134
3135 2003-07-21  Angus Leeming  <leeming@lyx.org>
3136
3137         * BufferView_pimpl.C (buffer):
3138         * buffer.C (d-tor):
3139         * lyx_main.C (LyX):
3140         * lyxfunc.C (dispatch):
3141         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3142         rather than the grfx shortcut.
3143
3144 2003-07-21  André Pönitz  <poenitz@gmx.net>
3145
3146         * rowpainter.C: remove unused variables
3147
3148         * tabular_funcs.C:
3149         * tabular_funcs.h: move to tabular.C
3150         * Makefile.am: adjust
3151
3152         * tabular.[Ch]: basic optical cleaning
3153
3154         * author.h: pass references, not values
3155
3156 2003-07-18  André Pönitz  <poenitz@gmx.net>
3157
3158         * lyxtext.h:
3159         * metricsinfo.C:
3160         * metricsinfo.h:
3161         * rowpainter.C:
3162         * text.C:
3163         * text2.C:
3164         * text3.C: two-phase drawing for InsetText and InsetTabular
3165         some float -> int changes.
3166
3167 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * lyx_main.C: fix the fix
3170
3171 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3172
3173         * lyx_main.C: fix a crash in batch mode if no files specified
3174         * converter.C: ws
3175
3176 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * format.[Ch] (papersize): moved to BufferParams
3179         * converter.[Ch] (dvips_options): moved to BufferParams
3180         (dvipdfm_options): moved to anon namespace
3181         * bufferparams.[Ch]: added above functions.
3182
3183 2003-07-17  André Pönitz  <poenitz@gmx.net>
3184
3185         * lyxtext.h:
3186         * rowpainter.C:
3187         * text2.C: don't call inset->update() anymore
3188
3189         * metricsinfo.[Ch]: add convenience constructor
3190
3191 2003-07-16  André Pönitz  <poenitz@gmx.net>
3192
3193         * lyxcursor.[Ch]:
3194         * lyxfunc.[Ch]:
3195         * text.C:
3196         * text2.C: replace the LyXCursor::irow_ member with
3197          on-demand computation of the value
3198
3199 2003-07-16  John Levon  <levon@movementarian.org>
3200
3201         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3202
3203 2003-07-15  André Pönitz  <poenitz@gmx.net>
3204
3205         * text.C:
3206         * text2.C: remove no more needed refresh_row
3207
3208 2003-07-15  André Pönitz  <poenitz@gmx.net>
3209
3210         * lyxtext.h:
3211         * rowpainter.C:
3212         * text2.C:
3213         * text3.C: refresh_status tristate -> need_update bool
3214
3215 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * lyxtext.h (init): remove reinit argument (act as if always true)
3218         * text2.C: adjust to that
3219
3220 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3221
3222         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3223         * text3.C: use it to delete selections in some cases
3224         (bugs 441, 673, 702, 954).
3225
3226 2003-07-14  André Pönitz  <poenitz@gmx.net>
3227
3228         * rowpainter.[Ch]: reduce interface
3229
3230 2003-07-14  André Pönitz  <poenitz@gmx.net>
3231
3232         * BufferView_pimpl.C:
3233         * text2.C: adjust after removing unused BufferView * argument
3234
3235 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * text2.C (init): fix a crash fired on resize
3238
3239 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * buffer.[Ch]: added new closing signal
3242         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3243         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3244         BufferView::Pimpl via the closing the signal
3245
3246 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * buffer.[Ch]: take out all bv-related from buffer
3249         * BufferView.C:
3250         * BufferView_pimpl.[Ch]: connect to new signals
3251         * CutAndPaste.C: removed useless asserts
3252         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3253         * lyxvc.[Ch]:
3254         * vc-backend.[Ch]:
3255         * lyxfunc.C: moved view-related funciontality from vc here
3256         * paragraph.C: removed outdated comments
3257         * text.C: ws
3258
3259 2003-07-10  André Pönitz  <poenitz@gmx.net>
3260
3261         * BufferView_pimpl.C:
3262         * tabular.h:
3263         * tabular_funcs.C:
3264         * text.C:
3265         * text2.C: remove InsetText::InnerCache, clean up consequences
3266
3267 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3268
3269         * ispell.C: fix two typos in error messages
3270
3271 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3272
3273         * Extend Note inset to other forms of annotation like Comment
3274         and Greyedout. Right button click gives dialog.
3275
3276         Files modified or added (+):
3277
3278         * insetnote.[Ch]
3279         * FormNote.[Ch]      +
3280         * ControlNote.[Ch]   +
3281         * form_note.fd       +
3282         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3283         frontends/controllers
3284         * xforms/Dialogs.C
3285         * factory.C
3286
3287 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3288
3289         * aspell.C: add missing namespace lyx::support
3290
3291 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3292
3293         * BufferView.[Ch] (newFile): Add
3294         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3295         * LaTeX.[Ch] (message): added this signal and use it
3296         * buffer.[Ch] (busy, message): added these signals and use them
3297         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3298         * converter.C:
3299         * exporter.C:
3300         * format.C:
3301         * importer.C: use buffer signals instead of direct bv calling
3302         * lyx_cb.[Ch] (ShowMessage): removed
3303         * lyx_main.C:
3304         * lyxfunc.C:
3305         * paragraph_funcs.C:
3306         * text2.C: use buffer signals
3307
3308 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * introduce namespace lyx::graphics
3311
3312 2003-07-02  André Pönitz  <poenitz@gmx.net>
3313
3314         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3315
3316 2003-07-01  André Pönitz  <poenitz@gmx.net>
3317
3318         * text.C:
3319         * text2.C:
3320         * text3.C:
3321         * text_funcs.[Ch]:
3322         * textcursor.h:
3323         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3324           text*.C to text_func.C
3325
3326 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * introduce namespace lyx::support
3329
3330 2003-06-30  André Pönitz  <poenitz@gmx.net>
3331
3332         * Chktex.C:
3333         * funcrequest.C:
3334         * lyxtext.h:
3335         * text.C: re-enable --with-included-string
3336
3337 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * textcursor.C: add <config.h>
3340
3341         * text.C (getWord): remove const from word_location arg
3342
3343         * lyxvc.C (getLogFile): fix const type order
3344
3345         * lyxtext.h: remove const from word_location arg, add arg name
3346
3347         * lyxlayout.h: currect type on labeltype.
3348
3349         * importer.C: correct \file
3350
3351         * converter.C (intToFormat): use std:: on ret val, ws changes
3352
3353         * bufferlist.h: correct \file
3354
3355         * buffer.C (makeLinuxDocFile): fix const type order
3356         (makeDocBookFile): ditto
3357         (fillWithBibKeys): use std:: on stdlib args.
3358
3359         * CutAndPaste.C: fix authors.
3360         (availableSelections): use std:: on return vector
3361
3362 2003-06-27  André Pönitz  <poenitz@gmx.net>
3363
3364         * BufferView_pimpl.C:
3365         * bufferview_funcs.C:
3366         * lyxcursor.C:
3367         * lyxcursor.h:
3368         * lyxfunc.C:
3369         * lyxtext.h:
3370         * rowpainter.C:
3371         * text.C:
3372         * text2.C:
3373         * text3.C: remove LyXCursor::row_ member
3374
3375         * lyxtext.h:
3376         * text.C: rename fullRebreak() to partialRebreak() and implement
3377           a fullRebreak() that really bereks fully
3378
3379         * textcursor.h: new struct for cursor-related data
3380
3381 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3382
3383         * lyx_main.C (LyX): get full path of document loaded on the
3384         command line
3385
3386 2003-06-26  André Pönitz  <poenitz@gmx.net>
3387
3388         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3389           remove unused/broken operator>,<,>=.
3390
3391         *       text.C: remove only use of broken operator<= in an Assert().
3392
3393 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3396         moved errorlist_.clear to showErrorList
3397
3398 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * converter.C (scanLog, runLaTeX):
3401         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3402         move the bv->showErrorList call to the callers
3403         * lyxfunc.C: i.e. here...
3404         * text2.C: and here
3405         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3406         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3407         namespace, the second to...
3408         * buffer_funcs (BufferFormat, parseErrors): added
3409         * errorlist.C (ErrorList(TeXErrors const &)): removed
3410
3411 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3412
3413         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3414
3415 2003-06-24  "Garst R. Reese" <reese@isn.net>
3416
3417         * debug.C: fix typo
3418
3419 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3420
3421         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3422
3423         * version.C.in: change docversion to 1.4
3424
3425 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3426
3427         * buffer.C: fix a bug just introduced
3428
3429 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * buffer.[Ch]: added the parseError signal and use it, removed
3432         sgmlError
3433         * BufferView.[Ch] (addError): moved to ...
3434         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3435         to the Buffer::parseError signal to catch (guess what) parse errors
3436         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3437
3438 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3439
3440         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3441         ability to create a buffer and to return an existing one from
3442         the list. Moved these functions to...
3443         * buffer_funcs.[Ch]: added
3444         * BufferView.[Ch] (loadLyXFile): added
3445         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3446         job removed from bufferlist::loadLyXFile.
3447         * buffer.C (setReadOnly): make it work without view
3448         (i.e added an if (users))
3449
3450 2003-06-19  Angus Leeming  <leeming@lyx.org>
3451
3452         * lfuns.h:
3453         * LyXAction.C (init):
3454         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3455         with LFUN_DIALOG_SHOW <name> <data>.
3456
3457 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3458
3459         * CutAndPaste.C (availableSelections): small compilation fix for
3460         ancient (gcc 2.9x) compilers
3461
3462 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * text3.C (cursorNext): add tmp var
3465
3466         * text2.C (updateCounters): for function calling out of for clause
3467         (replaceSelectionWithString): ditto
3468         (insertStringAsParagraphs): ditto
3469         (getColumnNearX): add tmp var
3470         (setCursorFromCoordinates): add tmp var
3471         (cursorDownParagraph): add tmp var
3472         (deleteEmptyParagraphMechanism): add tmp var
3473
3474         * text.C (insertChar): add tmp var
3475
3476         * rowpainter.C (paintDepthBar): add tmp var
3477
3478         * CutAndPaste.C (availableSelections): potentially check all
3479         paragraphs in a cut to fill the shown strings.
3480
3481 2003-06-18  André Pönitz  <poenitz@gmx.net>
3482
3483         * kbmap.[Ch]: use vector<> instead of list<>
3484
3485 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3486
3487         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3488         pasteSelection with index
3489
3490         * text2.C (pasteSelection): modify, call pasteSelection with index
3491
3492         * paragraph.C (asString): reimplement version with no interval to
3493         call the one with interval.
3494
3495         * lyxtext.h: add index arg to pasteSelection
3496
3497         * MenuBackend.C (MenuItem): handle PasteRecent
3498         (Menu::read::Menutags): add md_pasterecent
3499         (read): handle it
3500         (expandPasteRecent): new function
3501         (expand): use it
3502
3503         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3504
3505         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3506         the limited stack
3507         (availableSelections): new function
3508
3509 2003-06-17  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3512
3513 2003-06-17  Angus Leeming  <leeming@lyx.org>
3514
3515         * lfuns.h:
3516         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3517
3518         * lyxfunc.C (dispatch): invoke it.
3519
3520 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3521
3522         * iterators.C (operator++, ParPosition): reintroduce some
3523         const_cast for the benefit of older compilers.
3524
3525 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3526
3527         * text3.C (dispatch): do not modify clipboard when doing
3528         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3529         LFUN_DELETE_SKIP on a selection selection
3530
3531 2003-06-16  André Pönitz  <poenitz@gmx.net>
3532
3533         * BufferView.C:
3534         * buffer.C:
3535         * buffer.h:
3536         * paragraph.C:
3537         * tabular.[Ch]: IU of clone() and getLabelList();
3538
3539 2003-06-13  André Pönitz  <poenitz@gmx.net>
3540
3541         * tabular.h: compactification
3542
3543 2003-06-12  André Pönitz  <poenitz@gmx.net>
3544
3545         * tabular.C:
3546         * tabular.h:
3547         * tabular_funcs.h: some renaming plus whitespace
3548
3549 2003-06-12  André Pönitz  <poenitz@gmx.net>
3550
3551         * BufferView.C:
3552         * BufferView_pimpl.C:
3553         * CutAndPaste.C:
3554         * buffer.C:
3555         * iterators.[Ch]:
3556         * lyxfunc.C:
3557         * text.C:
3558         * toc.C: Return a Paragraph & for ParIterator::operator*()
3559
3560 2003-06-11  John Levon  <levon@movementarian.org>
3561
3562         * lyx_main.C:
3563         * ToolbarBackend.h:
3564         * ToolbarBackend.C: add "Toolbars" section and
3565         put the flags there
3566
3567 2003-06-10  Angus Leeming  <leeming@lyx.org>
3568
3569         * lfuns.h:
3570         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3571
3572         * lyxfunc.C (dispatch): invoke it.
3573
3574 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * main.C: protect <ios> with HAVE_IOS
3577         (main): protect sync_with_stdio with HAVE_IOS
3578
3579 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3580
3581         * text2.C (cutSelection): adjust
3582         (pasteSelection): adjust
3583
3584         * messages.C: handle get of empty string
3585
3586         * main.C (main): use sync_with_stdio(false)
3587
3588         * lyxfunc.C (dispatch): adjust
3589
3590         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3591         (WriteAs): remove unneeded BufferView arg.
3592
3593         * bufferparams.h: use correct types on papersize, papersize2 and
3594         paperpackage.
3595
3596         * bufferparams.C (readToken): adjust for type
3597         (writeLaTeX): add missing cases to switch.
3598
3599         * bufferlist.C (quitWriteBuffer): adjust
3600         (close): adjust
3601
3602         * buffer.C (asciiParagraph): remove some commented code.
3603
3604         * CutAndPaste.C: remove current_view extern variable.
3605         (cutSelection): add BufferParams arg.
3606         (eraseSelection): add BufferParams arg.
3607         (pasteSelection): add Buffer const & arg
3608
3609 2003-06-07  John Levon  <levon@movementarian.org>
3610
3611         * buffer.C:
3612         * paragraph_funcs.C:
3613         * paragraph_pimpl.C:
3614         * text.C:
3615         * text2.C:
3616         * paragraph.h:
3617         * paragraph.C: allow InsetERT to freely space lines,
3618         and some consolidation of code
3619
3620 2003-06-06  José Matos  <jamatos@fep.up.pt>
3621
3622         * buffer.C (makeDocBookFile): fix bug #821
3623
3624 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3625
3626         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3627
3628 2003-06-04  Angus Leeming  <leeming@lyx.org>
3629
3630         * buffer.C: bump format to 224.
3631
3632 2003-06-05  André Pönitz  <poenitz@gmx.net>
3633
3634         * text2.C (redoParagraphs): remove two const_cast<>
3635
3636 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3637
3638         * ParagraphList.h: remove last remnants of NO_STD_LIST
3639
3640 2003-06-03  Angus Leeming  <leeming@lyx.org>
3641
3642         * factory.C (createInset): small change to the way InsetExternal's params
3643         are set.
3644
3645 2003-06-04  André Pönitz  <poenitz@gmx.net>
3646
3647         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3648
3649         * paragraph_pimpl.h:
3650         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3651
3652         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3653
3654         * undo_funcs.C: make some simple cases of undo work again
3655
3656 2003-06-03  John Levon  <levon@movementarian.org>
3657
3658         * ispell.C: HPUX doesn't have sys/select.h
3659         (from Albert Chin)
3660
3661 2003-06-03  John Levon  <levon@movementarian.org>
3662
3663         * CutAndPaste.C: update tabular and include inset
3664         buffer references
3665
3666         * buffer.h:
3667         * paragraph.h:
3668         * paragraph.C: remove owningBuffer(), don't pass Buffer
3669         to clone()
3670
3671         * factory.C: insetGraphicsParams changed
3672
3673 2003-06-02  John Levon  <levon@movementarian.org>
3674
3675         * LyXAction.C:
3676         * factory.C:
3677         * lfuns.h:
3678         * lyxfunc.C:
3679         * text3.C: remove insetparent
3680
3681 2003-06-02  John Levon  <levon@movementarian.org>
3682
3683         * buffer.h:
3684         * buffer.C: fix inset_iterator.end(), move out of line
3685         (bug 1149)
3686
3687 2003-06-01  John Levon  <levon@movementarian.org>
3688
3689         * text3.C: use a proper cut/paste when doing inset
3690         insert (from Jürgen Spitzmüller)
3691
3692 2003-06-01  John Levon  <levon@movementarian.org>
3693
3694         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3695
3696 2003-05-30  André Pönitz  <poenitz@gmx.net>
3697
3698         * rowpainter.C: unify second drawing phase
3699
3700 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * trans_mgr.C: remove one case of current_view
3703
3704         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3705
3706         * paragraph_funcs.h: remove paragraph.h include
3707
3708         * paragraph.h: delete NO_STD_LIST stuff
3709
3710         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3711
3712         * buffer.h: remove paragraph.h include
3713
3714         * ParagraphList.C: delete file
3715
3716         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3717
3718         * toc.C (getTocList): adjust
3719
3720         * paragraph_pimpl.C (validate): adjust
3721
3722         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3723
3724         * paragraph.C (Paragraph): adjust
3725         (getPositionOfInset): use const_iterator, adjust
3726         (bibitem): use const_iterator, adjust
3727         (setInsetOwner): adjust
3728
3729         * iterators.C (operator++): adjust
3730
3731         * InsetList.[Ch]: Replace selfmade iterator with standard
3732         vector::iterator also introduce const_iterator. Remove getPos,
3733         getInset and setInset from InsetTable. Adjust accordingly.
3734
3735         * BufferView.C (lockInset): adjust
3736         (ChangeInsets): adjust
3737
3738         * tabular.[Ch]: delete commented same_id functions
3739
3740 2003-05-28  John Levon  <levon@movementarian.org>
3741
3742         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3743
3744 2003-05-28  André Pönitz  <poenitz@gmx.net>
3745
3746         * metricsinfo.[Ch]: remove 'fullredraw' member
3747
3748 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3749
3750         * lyxtextclass.C (operator): remove caching.
3751
3752 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * text3.C: adjust
3755
3756         * text2.C (cursorBottom): adjust
3757         (setCounter): use ParagraphList::find, adjust
3758
3759         * text.C (workWidth): use ParagraphList::find, adjust
3760
3761         * lyxcursor.C (LyXCursor): adjust
3762
3763         * buffer.C (inset_iterator): adjust
3764
3765         * ParagraphList.h: make iterator(value_type) private, make
3766         ParagraphList a friend of iterator.
3767
3768         * ParagraphList.C (find): new function
3769
3770         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3771
3772 2003-05-27  André Pönitz  <poenitz@gmx.net>
3773
3774         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3775
3776 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3777
3778         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3779
3780 2003-05-26  John Levon  <levon@movementarian.org>
3781
3782         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3783
3784 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * remove same_id from function signatures, adjust.
3787
3788 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3791
3792         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3793
3794         * paragraph.C (Paragraph): get rid of same_ids parameter
3795
3796         * ParagraphList.C (insert): adjust
3797         (push_back): adjust
3798
3799 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3800
3801         * paragraph_funcs.C (breakParagraph): adjust
3802         (breakParagraphConservative): adjust
3803
3804         * buffer.C (readParagraph): adjust
3805
3806         * ParagraphList.C (insert): take a reference instead of a pointer
3807         (insert): adjust
3808
3809         * paragraph.[Ch] (id): new function
3810
3811         * bufferlist.C (newFile): adjust
3812
3813         * ParagraphList.C (ParagraphList): adjust
3814         (assign): adjust
3815         (push_back): take a reference instead of a pointer.
3816
3817         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3818
3819         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3820         instead.
3821
3822         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3823         set else use old code.
3824
3825         * ParagraphList.C: remove all NO_NEXT code and only compile this
3826         code of NO_STD_LIST is set.
3827
3828 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3829
3830         * BufferView_pimpl.C:
3831         * TextCache.C:
3832         * TextCache.h:
3833         * bufferlist.C:
3834         * errorlist.h:
3835         * format.C:
3836         * format.h:
3837         * graph.C:
3838         * lyxfunc.C:
3839         * lyxrc.C:
3840         * graphics/GraphicsConverter.C:
3841         * graphics/PreviewLoader.C: header adjustment
3842
3843 2003-05-23  Angus Leeming  <leeming@lyx.org>
3844
3845         * LaTeXFeatures.[Ch] (useBabel): new method.
3846         * bufferparams.C (writeLaTeX): use it.
3847
3848 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * ParagraphList.h (set): remove unused function.
3851
3852 2003-05-23  André Pönitz  <poenitz@gmx.net>
3853
3854         * BufferView.C:
3855         * BufferView_pimpl.C:
3856         * buffer.C:
3857         * buffer.h:
3858         * lyxfunc.C:
3859         * undo_funcs.C: setUndo reworked
3860
3861         * iterators.[Ch]: add access to topmost ParagraphList
3862
3863         * lyxtext.[Ch] (workWidth): add a const
3864
3865 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * texrow.[Ch] (increasePos): remove function
3868         * exporter.C (export): removed unused var and outdated comment
3869
3870 2003-05-23  Angus Leeming  <leeming@lyx.org>
3871
3872         * latexrunparams.h: rename fragile as moving_arg.
3873         * paragraph.C (simpleTeXOnePar): ditto.
3874         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3875
3876 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3879         (createUndo): ditto
3880         (textUndoOrRedo): comment out a currently unused var.
3881
3882         * paragraph.h (NO_NEXT): enable NO_NEXT
3883
3884         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3885
3886         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3887
3888         * exporter.C (Export): adjust for removeAutoInsets removal.
3889
3890         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3891
3892         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3893
3894         * BufferView.[Ch] (removeAutoInsets): delete function
3895
3896 2003-05-22  Angus Leeming  <leeming@lyx.org>
3897
3898         * latexrunparams.h: add a free_spacing variable.
3899
3900         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3901         to pass moving_arg, as the data is stored in runparams.fragile.
3902
3903         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3904         to Inset::latexOptional or to simpleTeXOnePar.
3905
3906         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3907         free_spacing arg to Inset::latexOptional.
3908
3909         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3910         free_spacing arg.
3911
3912 2003-05-22  Angus Leeming  <leeming@lyx.org>
3913
3914         * latexrunparams.h: add fragile and use_babel variables.
3915
3916         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3917         * buffer.C (makeLaTeXFile): store this returned value in
3918         runparams.use_babel, thus passing it to the inset::latex methods.
3919
3920         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3921         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3922
3923         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3924         longer has a fragile arg, as it is stored in runparams.fragile.
3925
3926         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3927         moving_arg parameter as the data is stored in runparams.fragile.
3928
3929         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3930         a fragile parameter as the data is stored in runparams.fragile.
3931
3932 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3935
3936 2003-05-22  Angus Leeming  <leeming@lyx.org>
3937
3938         * latexrunparams.h: add a 'bool nice' which defaults to false.
3939
3940         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3941         now encapsulated within runparams.
3942
3943         * bufferlist.C (updateIncludedTeXfiles):
3944         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3945
3946 2003-05-22  Angus Leeming  <leeming@lyx.org>
3947
3948         * latexrunparams.h: new file containing struct LatexRunParams.
3949         * Makefile.am: add new file.
3950
3951         * LaTeX.[Ch] (c-tor, run):
3952         * buffer.[Ch] (makeLaTeXFile):
3953         * bufferlist.[Ch] (updateIncludedTeXfiles):
3954         * converter.C (convert, scanLog):
3955         * converter.[Ch] (runLaTeX):
3956         * exporter.C (Export):
3957         * paragraph.[Ch] (simpleTeXOnePar):
3958         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3959         * paragraph_funcs.[Ch] (latexParagraphs):
3960         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3961         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3962         pass around a LatexRunParams parameter.
3963
3964 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * paragraph.[Ch]: remove unused constructor
3967
3968         * ParagraphList.C (erase): new function, taking two iterators
3969
3970 2003-05-22  André Pönitz  <poenitz@gmx.net>
3971
3972         * undo_funcs.C: remove duplicated code
3973
3974         * iterator.[Ch]: operator=
3975
3976 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * tabular.C (SetMultiColumn): ws changes
3979
3980         * rowpainter.C (paintFirst): get rid of a ->previous
3981
3982         * lyx_cb.C (getPossibleLabel): parlist simplification
3983
3984         * BufferView.C (ChangeInsets): simplify slightly.
3985
3986 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3987
3988         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3989         * lfuns.h: new LFUN_SPACE
3990         * lyxfunc.C: protected space has a new lfun
3991         * paragraph_funcs.C: read new space insets
3992         * text3.C:
3993         * factory.C: handle new space insets
3994
3995 2003-05-22  André Pönitz  <poenitz@gmx.net>
3996
3997         * BufferView.C:
3998         * BufferView_pimpl.C:
3999         * buffer.[Ch]:
4000         * lyxfunc.C:
4001         * undo_funcs.C: return a ParIterator from getParFromID.
4002
4003         * iterators.[Ch]: add two const's
4004
4005 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * toc.C (getTocList): adjust
4008
4009         * iterators.[Ch]: rework for parlist
4010
4011         * buffer.C (par_iterator_begin): adjust
4012         (par_iterator_end): adjust
4013
4014         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4015
4016         * BufferView.C (removeAutoInsets): adjust
4017         (ChangeInsets): adjust
4018
4019 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4020
4021         * text.C (top_y): fix bug 1110
4022
4023 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4024
4025         * errorlist.[Ch]: added
4026         * buffer.C:
4027         * BufferView.[Ch]:
4028         * BufferView_pimpl.C:
4029         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4030         instead
4031
4032 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * Makefile.am: ensure that lyx is relinked upon changes to the
4035         various "convenience" libs.
4036
4037 2003-05-20  Angus Leeming  <leeming@lyx.org>
4038
4039         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4040         files are compiled in alphabetical order again.
4041
4042         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4043
4044 2003-05-19  Angus Leeming  <leeming@lyx.org>
4045
4046         * gettext.[Ch]: remove "char const * _(char const *)".
4047
4048 2003-05-19  André Pönitz  <poenitz@gmx.net>
4049
4050         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4051
4052         * Makefile.am:
4053         * BufferView.C:
4054         * DepTable.h:
4055         * LaTeXFeatures.C:
4056         * buffer.C:
4057         * lyxfont.C:
4058         * lyxlex.h:
4059         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4060
4061 2003-05-19  André Pönitz  <poenitz@gmx.net>
4062
4063         * buffer.C:
4064         * lyxlayout.[Ch]:
4065         * lyxtextclass.[Ch]:
4066         * paragraph.C:
4067         * paragraph_funcs.[Ch]:
4068         * text2.C:
4069         * text3.C: more insetenv work
4070
4071 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * ParagraphParameters.C (params2string): small bug fixed
4074
4075 2003-05-16  André Pönitz  <poenitz@gmx.net>
4076
4077         * debug.C:
4078         * bufferview_funcs.C: patch from Kornel Benko to prevent
4079           crash when _(...) is called twice in a statement
4080
4081 2003-05-16  André Pönitz  <poenitz@gmx.net>
4082
4083         * BufferView.C:
4084         * lyxfunc.C:
4085         * text.C:
4086         * text2.C:
4087         * text3.C:
4088         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4089
4090 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * lyx_main.C (init): remove spurious static_cast
4093
4094 2003-05-14  André Pönitz  <poenitz@gmx.net>
4095
4096         * BufferView.C: fix format string
4097
4098 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * BufferView.[Ch] (insertErrors): removed
4101         * BufferView.[Ch] (showErrorList): added
4102         * buffer.C (runChkTeX):
4103         * converter.C (scanLog): call showErrorList instead of inserterrors
4104
4105 2003-05-13  André Pönitz  <poenitz@gmx.net>
4106
4107         * BufferView_pimpl.C:
4108         * buffer.C:
4109         * bufferview_func.C:
4110         * MenuBackend.C:
4111         * lyxfunc.C:
4112         * lyxrc.C:
4113         * tex-accent.C:
4114         * text3.C:
4115         * toc.C:
4116         * tabular_funcs.h: tostr() from its own header
4117
4118         * ParagraphParameters.C:
4119         * ToolbarBackend.C:
4120         * bufferparams.C:
4121         * format.C:
4122         * lyxlex_pimpl.C:
4123         * text3.C: STRCONV()
4124
4125 2003-05-12  André Pönitz  <poenitz@gmx.net>
4126
4127         * BufferView.C:
4128         * BufferView_pimpl.C:
4129         * CutAndPaste.C:
4130         * LaTeX.C:
4131         * LaTeXFeatures.C:
4132         * ParagraphParameters.C:
4133         * buffer.C:
4134         * bufferlist.C:
4135         * bufferparams.C:
4136         * bufferview_funcs.C:
4137         * converter.C:
4138         * counters.C:
4139         * debug.C:
4140         * exporter.C:
4141         * format.C:
4142         * importer.C:
4143         * lyx_cb.C:
4144         * lyx_main.C:
4145         * lyxfont.C:
4146         * lyxfunc.C:
4147         * lyxvc.C:
4148         * paragraph.C:
4149         * paragraph_funcs.C:
4150         * tabular.C:
4151         * tabular_funcs.C:
4152         * text2.C:
4153         * text3.C:  boost::format -> bformat  all over the place
4154
4155
4156 2003-05-09  André Pönitz  <poenitz@gmx.net>
4157
4158         * LColor.[Ch]: Pimpl the #include <map> away
4159
4160 2003-05-09  John Levon  <levon@movementarian.org>
4161
4162         * bufferlist.C: never remove emergency saves
4163
4164 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * Makefile.am: better lib building
4167
4168 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4171         instead.
4172         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4173         (simpleTeXSpecialChars): adjust
4174         (simpleTeXSpecialChars): adjust
4175         * paragraph.C (simpleTeXOnePar): adjust
4176         * buffer.C (makeLaTeXFile): adjust
4177
4178         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4179
4180         * text2.C (changeDepth): parlist cleanup
4181         (getColumnNearX): ditto
4182
4183         * rowpainter.C (getLabelFont): parlist cleanup
4184
4185         * bufferlist.C (newFile): parlist cleanup
4186
4187         * CutAndPaste.C (eraseSelection): parlist cleanup
4188
4189         * BufferView_pimpl.C (trackChanges): parlist cleanup
4190         (dispatch): ditto
4191
4192         * BufferView.C (lockInset): parlist cleanup.
4193         (ChangeInsets): ditto
4194
4195 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * CutAndPaste.h: Update file header.
4198
4199         * CutAndPaste.C: Update file header.
4200         Store the parts cut out of the Document in a limited_stack.
4201         (copySelection): adjust
4202         (pasteSelection): new function, takes the index in the limited stack.
4203         (nrOfParagraphs): adjust
4204         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4205         simplify error inset insertion.
4206         (checkPastePossible): adjust
4207
4208 2003-05-06  John Levon  <levon@movementarian.org>
4209
4210         * text2.C: don't cast wrap inset to float
4211
4212 2003-05-05  André Pönitz  <poenitz@gmx.net>
4213
4214         * iterator.C:
4215         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4216
4217         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4218           few naked Paragraph *.
4219
4220 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4221
4222         * bufferparams.C: Output warning if a document with missing
4223         TeX document class is loaded
4224         * exporter.C: Disable TeX exports if the document class is missing
4225         * lyxtextclass.C:
4226         * lyxtextclass.h:
4227         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4228         isTeXClassAvailable()
4229
4230 2003-05-03  John Levon  <levon@movementarian.org>
4231
4232         * BufferView.h:
4233         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4234         explicit cursor show/hide
4235
4236         * BufferView_pimpl.h:
4237         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4238         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4239
4240         * lyxfunc.C: hide cursor before dispatching.
4241
4242         * lyx_cb.C:
4243         * lyxfind.C:
4244         * text.C:
4245         * text3.C: remove explicit cursor hides
4246
4247 2003-05-02  André Pönitz  <poenitz@gmx.net>
4248
4249         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4250
4251         * undo_funcs.C:
4252         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4253           linked lists
4254
4255         * text2.C: tiny whitespace
4256
4257 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * undo_funcs.C: almost only ws changes.
4260
4261         * ParagraphList.C (splice): just return if pl is empty.
4262
4263 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * ParagraphList.C (splice): new function.
4266
4267         * CutAndPaste.C (pasteSelection): use it
4268
4269 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * CutAndPaste.C (pasteSelection): remove the last next and
4272         previous from this file.
4273
4274 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * CutAndPaste.C (pasteSelection): more clean up, user proper
4277         ParagraphList functions for pasteing.
4278
4279         * ParagraphList.C (insert): new function, three arg insert
4280
4281 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4282
4283         * ParagraphList.C (insert): new function, three arg insert
4284
4285         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4286         not on paragraphs.
4287
4288 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4291
4292 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4295
4296 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4299         (copySelection): clean up a bit.
4300         (pasteSelection): use make_pair
4301
4302         * ParagraphList.C (ParagraphList): implement copy constructor
4303         (operator=): implement, base on copy constructor.
4304         (assign): new func
4305
4306         * paragraph.C (erase): return a bool
4307
4308         * paragraph_pimpl.C (erasePos): remove function, move contents...
4309         (erase): ... here. Return a bool.
4310         (erase): call erase instead of erasePos.
4311
4312 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * ParagraphList.h: define PitPosPair
4315         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4316         ParagraphList, fix a bug on pasting multiple pars
4317         * text2.C: change interface to C&P
4318
4319 2003-04-30  André Pönitz  <poenitz@gmx.net>
4320
4321         * undo_func.C: revert part of yesterday's patch 2
4322
4323 2003-04-30  John Levon  <levon@movementarian.org>
4324
4325         * LColor.C: s/tabular/table/
4326
4327 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * text3.C (dispatch): do not convert iterator -> pointer
4330         * undo_funcs.C (setCursorParUndo): ditto
4331         * text_funcs.C (transposeChars): ditto
4332
4333         * text2.C (setLayout): ws changes only
4334
4335         * text.C (breakParagraph): do not convert iterator -> pointer
4336         (insertChar): ditto
4337         (acceptChange): ditto
4338         (rejectChange): ditto
4339         (changeCase): ditto
4340         (Delete): ditto
4341         (backspace): ditto
4342
4343         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4344         pointer
4345
4346 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * text3.C (gotoInset): YABG (yet another bad getChar)
4349
4350 2003-04-29  André Pönitz  <poenitz@gmx.net>
4351
4352         * paragraph.h: make operator= private unimplemented as long as
4353           it is unusable
4354
4355         * ParagraphList.C: whitespace
4356
4357         * paragraph.[Ch]:
4358         * paragraph_pimpl.[Ch]:
4359         * paragraph_funcs.C:
4360         * CutAndPaste.C:
4361         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4362
4363         * text2.C:
4364           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4365
4366 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4369         * paragraph.[Ch] (erase):
4370         * paragraph_pimpl.[Ch] (erase): change return type and value
4371         * text2.C (cutSelection): some rework
4372
4373 2003-04-28  John Levon  <levon@movementarian.org>
4374
4375         * bufferlist.C: changes for unsaved changes dialog
4376
4377 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * bufferlist.C (newFile): set language (messages_) for new
4380         documents also.
4381
4382         * buffer.C (readFile): ws changes only.
4383
4384 2003-04-28  André Pönitz  <poenitz@gmx.net>
4385
4386         * undo_funcs.C:
4387         * lyxfunc.C:
4388         * buffer.[Ch]:
4389         * BufferView_pimpl.C:
4390         * BufferView.C: getParFromID related ParagraphList::iterator changes
4391
4392 2003-04-28  André Pönitz  <poenitz@gmx.net>
4393
4394         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4395           Changes
4396
4397 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * messages.C: remove one more localedir class variable.
4400
4401 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * messages.C (getLocaleDir): singleton generation function
4404         (Pimpl): use it.
4405         (Messages): add a default constructor.
4406
4407         * main.C (main): do not setup localedir here, do not call
4408         gettext_init.
4409
4410         * gettext.C (_): use it.
4411         (gettext_init): delete funciton
4412
4413 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * gettext.C (getLyXMessages): new singleton generating function.
4416
4417         * buffer.C (updateDocLang): adjust
4418
4419         * Makefile.am (messages.o): add target
4420         (main.o): remove target
4421
4422 2003-04-27  John Levon  <levon@movementarian.org>
4423
4424         * bufferlist.C:
4425         * lyx_cb.C:
4426         * lyxfunc.C:
4427         * lyxvc.C: specify cancel button in Alert::prompt
4428
4429 2003-04-26  John Levon  <levon@movementarian.org>
4430
4431         * text3.C:
4432         * lyxfunc.C:
4433         * lfuns.h:
4434         * LyXAction.C: add LFUN_INSET_SETTINGS
4435
4436         * lyxfunc.C: don't enable tabular-feature when there's
4437         just any locking inset
4438
4439 2003-04-26  John Levon  <levon@movementarian.org>
4440
4441         * bufferlist.C: re-add Cancel to buffer close question
4442
4443         * lyxfunc.C: fix import UI a bit
4444
4445 2003-04-25  John Levon  <levon@movementarian.org>
4446
4447         * gettext.C: remove the broken asserts for now
4448
4449 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * messages.C: make case where setlocale cannot comply work better.
4452
4453         * buffer.C (updateDocLang): new function
4454         (changeLanguage): use it
4455         (readFile): use it
4456
4457         * text2.C (setCounter): use B_ a bit.
4458
4459         * lyxlayout.C (Read): be sure to trim the label strings.
4460
4461         * messages.C (Messages): fix typo in comment
4462
4463         * buffer.C (readFile): set message_ after file is loaded.
4464         (makeDocBookFile): remove double return
4465         (changeLanguage): reset message_ upon language change.
4466         (B_): new func, use this to get translated buffer strings.
4467
4468         * main.C: add myself and Jean Marc as authors.
4469
4470 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * messages.[hC]: pimplify Messages, and three different pimpls to be
4473         used in different circumstances.
4474
4475         * gettext.[Ch]: change for use with new message code.
4476
4477 2003-04-24 André Pönitz <poenitz@gmx.net>
4478
4479         * factory.C: support for eqref
4480
4481 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * messages.[Ch]: add missing char
4484
4485         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4486
4487         * messages.[Ch]: New files
4488
4489 2003-04-18  John Levon  <levon@movementarian.org>
4490
4491         * BufferView.h:
4492         * BufferView.C:
4493         * BufferView_pimpl.C:
4494         * lfuns.h:
4495         * LyXAction.C:
4496         * lyxtext.h:
4497         * text2.C: remove layout-copy/paste (bug 778)
4498
4499 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4502
4503 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4506         if they succeed. Act accordingly.
4507
4508 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * text2.C (setCharFont): adjust
4511         (setCounter): adjust
4512         (insertStringAsLines): adjust
4513
4514         * text.C (leftMargin): adjust
4515         (setHeightOfRow): adjust
4516
4517         * rowpainter.C (paintFirst): adjust
4518         (paintLast): adjust
4519
4520         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4521         (outerHook): ditto
4522         (isFirstInSequence): ditto
4523         (getEndLabel): ditto
4524         (outerFont): adjust
4525
4526         * paragraph.C (getParLanguage): comment out some hard stuff.
4527
4528         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4529         (sgmlError): ditto
4530         (simpleDocBookOnePar): ditto
4531         (makeDocBookFile): use ParagraphList::iterator
4532
4533         * CutAndPaste.C (pasteSelection): adjust
4534
4535 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * text2.C (getFont): adjust
4538         (getLayoutFont): adjust
4539         (getLabelFont): adjust
4540
4541         * paragraph_funcs.C (TeXOnePar): adjust
4542
4543         * buffer.C (simpleLinuxDocOnePar): adjust
4544         (simpleDocBookOnePar): adjust
4545
4546         * CutAndPaste.C (pasteSelection): adjust
4547
4548         * BufferView.C (getEncoding): adjust
4549
4550         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4551
4552 2003-04-16  John Levon  <levon@movementarian.org>
4553
4554         * lyxfind.C: use parlist stuff for search/changes
4555
4556 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4559
4560         * text2.C (deleteEmptyParagraphMechanism): adjust
4561
4562         * text2.[Ch] (ownerParagraph): delete func (both of them
4563
4564 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4567
4568 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * ParagraphList.C: prepare for NO_NEXT
4571
4572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * text2.C (getFont): adjust
4575         (getLayoutFont): adjust
4576         (getLabelFont): adjust
4577
4578         * paragraph.C (getFont): adjust
4579         (getLabelFont): adjust
4580         (getLayoutFont): adjust
4581
4582         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4583
4584 2003-04-15  John Levon  <levon@movementarian.org>
4585
4586         From Angus Leeming
4587
4588         * lyx_main.C: handle Include in .ui files
4589
4590 2003-04-15  John Levon  <levon@movementarian.org>
4591
4592         * MenuBackend.C: make the doc files length shorter
4593
4594         * ToolbarBackend.h:
4595         * ToolbarBackend.C: handle toolbar placement flags,
4596         Minibuffer
4597
4598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4601         adjust
4602
4603         * paragraph_funcs.C (TeXOnePar): adjust
4604
4605         * paragraph.C (getLabelFont): add outerfont arg, adjust
4606         (getLayoutFont): ditto
4607         (simpleTeXOnePar): adjust
4608
4609         * paragraph_pimpl.C (realizeFont): delete func
4610
4611 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4614         row argument, constify cur argument.
4615
4616 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * text2.C (getFont): adjust
4619         (getLayoutFont): adjust
4620         (getLabelFont): adjust
4621
4622         * paragraph_funcs.C (TeXOnePar): adjust
4623         (outerFont): new func...
4624         (realizeFont): ...moved out from here, changed this to facilitate
4625         transition
4626
4627         * paragraph.C (getFont): take outerfont as arg, adjust
4628         (simpleTeXOnePar): add outerfont arg, adjust
4629
4630         * buffer.C (simpleLinuxDocOnePar): adjust
4631         (simpleDocBookOnePar): adjust
4632
4633         * CutAndPaste.C (pasteSelection): adjust
4634
4635         * BufferView.C (getEncoding): adjust
4636
4637 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * text2.C (setCharFont): adjust
4640         (setCounter): adjust
4641
4642         * text.C (leftMargin): adjust
4643         (setHeightOfRow): adjust
4644
4645         * rowpainter.C (paintFirst): adjust
4646         (paintLast): adjust
4647
4648         * paragraph_pimpl.C (realizeFont): adjust
4649
4650         * paragraph.C (isFirstInSequence): move from here...
4651         * paragraph_funcs.C (isFirstInSequence): ...to here
4652
4653         * paragraph.C (outerHook): move from here...
4654         * paragraph_funcs.C (outerHook): ...to here
4655
4656         * paragraph.C (depthHook): move from here...
4657         * paragraph_funcs.C (depthHook): ...to here
4658
4659         * paragraph.C (getEndLabel): move from here...
4660         * paragraph_funcs.C (getEndLabel): ...to here
4661
4662         * text2.C (realizeFont): move from here...
4663         * paragraph_funcs.C (realizeFont): ...to here
4664
4665 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4668
4669 2003-04-14  Angus Leeming  <leeming@lyx.org>
4670
4671         * LColor.[Ch]: scrap LColor mathcursor.
4672
4673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * lyxlex.[Ch] (text): delete function
4676         * trans.C (Load): adjust
4677         * paragraph_funcs.C (readParToken): adjust
4678
4679 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4682         vector<char> instead of a char[].
4683
4684         * lyxlex_pimpl.C (getString): adjust
4685         (next): adjust
4686         (lex): use getString
4687         (eatLine): adjust
4688         (nextToken): adjust
4689
4690         * lyxlex.C (text): use pimpl_->getString()
4691         (getBool): ditto
4692         (findToken): ditto
4693
4694 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4697         (makeFontEntriesLayoutSpecific): temp var for par.size()
4698         (setLayout): temp var for ownerParagraphs().end()
4699         (fullRebreak): temp var for rows().end()
4700         (selectionAsString): temp var for boost::next(startpit), realize
4701         that the while really is a regular for loop.
4702         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4703         setCursor in one place.
4704         (setParagraph): temp vr for ownerParagraphs().end()
4705         (updateCounters): make the while loop a for loop
4706         (cutSelection): temp var for ownerParagraphs().end()
4707         (updateInset): make the do {} while() a regular for loop
4708         (getCursorX): use temp vars
4709         (setCurrentFont): use temp vars
4710         (getColumnNearX): use temp vars
4711
4712 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * text.C (transformChar): use temp var for getChar
4715         (computeBidiTables): use temp var for row->par()
4716         (fill): move temp vars for row->par() and pit->layout() earlier in
4717         the function.
4718         (labelFill): use temp var for row->par()
4719         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4720         asc and desc, realize that pit never changes and that firstpit is
4721         just a duplicate and not needed. Exchange rit->par() with pit in a
4722         lot of places.
4723         (breakAgain): use a temp var for boost::next(rit)
4724         (breakAgainOneRow): ditto
4725         (breakParagraph): use a temp var for rows().begin()
4726         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4727         (cursorRightOneWord): use temp var for cursor.par() and
4728         cursor.pos(), remove usage of tmpcursor.
4729         (cursorLeftOneWord): use temp var for cursor.par() and
4730         cursor.pos() only set cur at end of function.
4731
4732 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * text.C, text2.C: exchange all usage of Paragraph::next with
4735         boost::next(ParagraphList::iterator)
4736
4737         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4738
4739         * text2.C (cursorTop): simplify implementation
4740         (cursorBottom): ditto
4741         (setParagraph): use ParagraphList::iterator
4742         (setCurrentFont): adjust
4743         (getColumnNearX): adjust
4744         (cursorRight): adjust
4745         (cursorLeft): remove usage of Paragraph::previous
4746         (cursorUpParagraph): ditto
4747         (deleteEmptyParagraphMechanism): slight cleanup
4748
4749         * text.C (isBoundary): take a Paragraph const & instead of a
4750         pointer as arg.
4751         (addressBreakPoint): ditto
4752         (leftMargin): remove usage of Paragraph::previous.
4753         (setHeightOfRow): ditto
4754         (cursorLeftOneWord): ditto
4755         (selectNextWordToSpellcheck): ditto
4756         (Delete): ditto
4757         (backspace): ditto
4758         (breakParagraph): remove one usage of Paragraph::next
4759         (redoParagraph): ditto
4760         (acceptChange): ditto
4761         (insertChar): adjust
4762         (rowBreakPoint): adjust
4763
4764         * bufferview_funcs.C (toggleAndShow): adjust
4765
4766 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4769         methods to access it.
4770         * lyxtext.h:
4771         * text.C: Added updateRowPositions to compute all row positions.
4772         Make top_y and getRowNearY() to use the cached y position
4773
4774 2003-04-11  John Levon  <levon@movementarian.org>
4775
4776         * text.C (rowBreakPoint): reintroduce the labelEnd
4777         checks, code copied from the row fill stuff. Deep voodoo.
4778
4779         * text.C (fill): add a comment and debugging for the
4780         next poor soul.
4781
4782 2003-04-11  John Levon  <levon@movementarian.org>
4783
4784         * text.C: make sure fullrow insets get wrapped to the next line,
4785         even when they're in a manual label
4786
4787 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * text2.C (insertParagraph): make it take ParagraphList::iterator
4790         as arg.
4791         (setLayout): make it return ParagraphList::iterator
4792         (redoParagraphs): ditto
4793         (setCounter): ditto
4794         (checkParagraph): ditto
4795
4796         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4797
4798         * text2.C: adjust several funcs.
4799         (realizeFont): take a ParagraphList::iterator as arg.
4800         (getLayoutFont): ditto
4801         (getLabelFont): ditto
4802         (setCharFont): ditto
4803
4804         * text.C: adjust several funcs.
4805
4806 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * text.C (selectNextWordToSpellcheck): don't accidentally
4809         skip insets
4810
4811 2003-04-10  John Levon  <levon@movementarian.org>
4812
4813         * ToolbarBackend.C (getIcon): special handling for
4814         LFUN_MATH_DELIM
4815
4816 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4817
4818         * text2.C (cursorRight): a getChar assert fixed
4819
4820 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * text2.C (getFont): change to take a ParagraphList::iterator
4823         instead of Paragraph*
4824         Adjust several functions.
4825
4826         * text.C (transformChar): change to take a ParagraphList::iterator
4827         instead of Paragraph*
4828         (singleWidth): ditto
4829         Adjust several functions.
4830
4831         * rowpainter.C: adjust several functions
4832         * rowpainter.h:store a ParagraphList::iterator and not a
4833         Paragraph&.
4834
4835
4836 2003-04-09  John Levon  <levon@movementarian.org>
4837
4838         * lyxfunc.C:
4839         * lfuns.h:
4840         * LyXAction.h:
4841         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4842         and the "help" bits as well
4843
4844 2003-04-09  John Levon  <levon@movementarian.org>
4845
4846         * ToolbarBackend.h:
4847         * ToolbarBackend.C: allow multiple toolbars
4848
4849 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * undo_funcs.C (setCursorParUndo): adjust
4852
4853         * text_funcs.C (transposeChars): adjust
4854
4855         * text3.C (gotoNextInset): adjust
4856         (dispatch): adjust
4857
4858         * text2.C (setLayout): adjust
4859         (changeDepth): adjust
4860         (setFont): adjust
4861         (redoParagraphs): adjust
4862         (selectionAsString): adjust
4863         (setParagraph): adjust
4864         (insertInset): adjust
4865         (cutSelection): adjust
4866         (copySelection): adjust
4867         (pasteSelection): adjust
4868         (insertStringAsLines): adjust
4869         (updateInset): adjust
4870         (setCursor): change to take a ParagraphList::iterator parameter
4871         (setCursorIntern): change to take a ParagraphList::iterator parameter
4872         (setCurrentFont): adjust
4873         (cursorLeft): adjust
4874         (cursorRight): adjust
4875         (deleteEmptyParagraphMechanism): adjust
4876
4877         * text.C (breakParagraph): adjust
4878         (insertChar): adjust
4879         (acceptChange): adjust
4880         (rejectChange): adjust
4881         (selectNextWordToSpellcheck): adjust
4882         (changeCase): adjust
4883         (Delete): adjust
4884         (backspace): adjust
4885
4886         * lyxfind.C (SearchForward): adjust
4887         (SearchBackward): adjust
4888         (nextChange): adjust
4889
4890         * lyxcursor.C (par): adjust
4891
4892         * lyxcursor.h: store a ParagraphList::iterator instead of a
4893         Paragraph*
4894
4895         * lyx_cb.C (getPossibleLabel): adjust
4896
4897         * bufferview_funcs.C (toggleAndShow): adjust
4898
4899         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4900         (dispatch): adjust
4901
4902         * BufferView.C (removeAutoInsets): adjust
4903         (lockedInsetStoreUndo): adjust
4904
4905 2003-04-09  John Levon  <levon@movementarian.org>
4906
4907         * ToolbarBackend.C: try icon without argument
4908         if with argument fails
4909
4910 2003-04-08  John Levon  <levon@movementarian.org>
4911
4912         * ToolbarBackend.h:
4913         * ToolbarBackend.C: add getIcon(), handle tooltip,
4914         and change from "Icon" to "Item".
4915
4916 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * BufferView.C (lockInset): another bad getchar crunched
4919
4920 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4923         again)
4924
4925 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * lyxfind.C (searchForward, searchBackwards): bug 782
4928
4929 2003-04-07  John Levon  <levon@movementarian.org>
4930
4931         * paragraph.C: remove dead comment
4932
4933         * text.C: remove troublesome depth-fiddling code
4934         in leftMargin() and rightMargin() (bug 1017)
4935
4936         * text.C: fix breaking of rows in nested lists
4937         (bug 1004)
4938
4939         * text2.C (updateCounters): fix up depth values
4940         (bug 1013)
4941
4942 2003-04-07  John Levon  <levon@movementarian.org>
4943
4944         * BufferView_pimpl.C: clear message when doc finishes resizing,
4945         and after a mouse event
4946
4947         * lyxfunc.C: clear message after exiting inset
4948
4949 2003-04-07  John Levon  <levon@movementarian.org>
4950
4951         * bufferview_funcs.C: show math status not outside
4952         status in the statusbar
4953
4954 2003-04-07  John Levon  <levon@movementarian.org>
4955
4956         * lyxfunc.C: note status changed after a depth change
4957
4958 2003-04-04  Angus Leeming  <leeming@lyx.org>
4959
4960         * LaTeX.h: move AuxInfo operator==, != out of line.
4961         Remove LaTeX virtual destructor; nothing derives from it.
4962         Move operator()() out of public area and rename it startscript().
4963         Change protected for private.
4964
4965 2003-04-04  Angus Leeming  <leeming@lyx.org>
4966
4967         * lyxfunc.C:
4968         * text2.C: remove unneeded #includes.
4969
4970 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * text2.C (dEPM): fix the heigth of the next row
4973
4974 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * text.C: squashed an invalid getChar requester + some ws changes
4977
4978 2003-04-03  John Levon  <levon@movementarian.org>
4979
4980         * bufferview_funcs.h:
4981         * bufferview_funcs.C:
4982         * lyxfunc.C:
4983         * lyxtext.h:
4984         * text2.C: make getStatus work for the env depth lfuns
4985
4986 2003-04-03  John Levon  <levon@movementarian.org>
4987
4988         * bufferview_funcs.h:
4989         * bufferview_funcs.C:
4990         * lyxfunc.C:
4991         * lyxtext.h:
4992         * text2.C: parlistize decDepth(), by merging it with incDepth()
4993
4994 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyxrow.h: store a ParagraphList::iterator instead of a
4997         Paragraph* and adjust other class functions to suit.
4998
4999         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5000         above.
5001
5002 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * text2.C (setCursor): do not anchor to cursor row for the time being
5005
5006 2003-04-02  John Levon  <levon@movementarian.org>
5007
5008         * LyXAction.C:
5009         * lfuns.h:
5010         * lyx_main.C:
5011         * lyxtext.h:
5012         * text.C:
5013         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5014
5015 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * paragraph.h: make ParagraphList and ParagraphList::iterator
5018         friends of Paragraph.
5019
5020         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5021
5022         * ParagraphList.C: Use the private next_ and previous_ from
5023         Paragraph.
5024
5025 2003-04-01  John Levon  <levon@movementarian.org>
5026
5027         * ToolbarBackend.h:
5028         * ToolbarBackend.C:
5029         * Makefile.am: rename, remove defaults gunk
5030
5031         * MenuBackend.h:
5032         * MenuBackend.C: remove defaults gunk
5033
5034         * Languages.h:
5035         * Languages.C: remove defaults gunk
5036
5037         * lyx_main.h:
5038         * lyx_main.C: error out if files couldn't be found.
5039
5040 2003-04-02  John Levon  <levon@movementarian.org>
5041
5042         * text2.C: make incDepth() use parlist
5043
5044 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * undo_funcs.C (firstUndoParagraph): adjust
5047
5048         * text3.C (gotoInset): adjust
5049         (dispatch): adjust, and rewrite loop.
5050
5051         * text2.C (init): adjust, and rewrite loop.
5052         (redoParagraphs): adjust
5053         (updateInset): adjust, and rewrite loop.
5054         (deleteEmptyParagraphMechanism): adjust
5055
5056         * tabular.C (LyXTabular): adjust
5057         (SetMultiColumn): adjust
5058         (TeXRow): adjust
5059
5060         * lyxtext.[Ch] (ownerParagraph): delete function
5061         (ownerParagraphs): new function returns a ParagraphList.
5062
5063         * BufferView.C (removeAutoInsets): adjust
5064         (insertErrors): adjust
5065         (setCursorFromRow): adjust
5066
5067 2003-04-01  Angus Leeming  <leeming@lyx.org>
5068
5069         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5070         in the frontends.
5071
5072 2003-04-02  John Levon  <levon@movementarian.org>
5073
5074         * lyxtext.h:
5075         * text.C:
5076         * Makefile.am:
5077         * text_funcs.h:
5078         * text_funcs.C: make transposeChars a free function
5079
5080         * lyxrow_funcs.C: remove wrong comment
5081
5082 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * lyxtext.h: adjust
5085         * rowpainter.C: adjust
5086         * text.C: adjust
5087         * text2.C: adjust
5088         * text3.C: adjust
5089
5090         * lyxrow_funcs. [Ch]: new files
5091
5092         * lyxrow.[Ch]: remove next and previous pointers
5093         (next,previous): remove accessor functions
5094         (isParEnd): move to lyxrow_funcs
5095         (lastPos): move to lyxrow_funcs
5096         (nextRowIsAllInset): move to lyxrow_funcs
5097         (lastPrintablePos): move to lyxrow_funcs
5098         (numberOfSeparators): move to lyxrow_funcs
5099         (numberOfHfills): move to lyxrow_funcs
5100         (numberOfLabelHfills): move to lyxrow_funcs
5101         (hfillExpansion): move to lyxrow_funcs
5102
5103         * lyxfunc.C: adjust
5104
5105         * bufferview_funcs.C (toggleAndShow): adjust
5106
5107         * RowList.h: Remove class RowList from file leave just a
5108         std::list<Row>.
5109
5110         * RowList.C: delete file
5111
5112         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5113         and lyxrow_funcs.h
5114
5115 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * text3.C (cursorPrevious): adjust
5118         (cursorNext): adjust
5119         (dispatch): adjust
5120
5121         * text2.C (redoHeightOfParagraph): adjust
5122         (redoDrawingOfParagraph): adjust
5123         (setCursor): adjust
5124
5125         * text.C (breakParagraph): adjust
5126         (insertChar): adjust
5127         (backspace): adjust
5128
5129         * rowpainter.C (RowPainter): adjust
5130         (leftMargin): simplify and adjust
5131         (most rowpainter functions): adjust.
5132
5133         * rowpainter.h: store the row as RowList::iterator not as Row*
5134
5135         * lyxcursor.C (row): taka RowList::iterator as arg
5136         (irow): ditto
5137
5138         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5139         of Row*.
5140
5141 2003-04-01  Angus Leeming  <leeming@lyx.org>
5142
5143         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5144         stuff like bool Bool.
5145
5146 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5149         rewrite a loop
5150
5151 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5154         RowList::iterator.
5155
5156         * lyxtext.h (rows): drop one version and leve a const variant that
5157         returns a RowList::iterator.
5158
5159 2003-03-31  Angus Leeming  <leeming@lyx.org>
5160
5161         * text.C (fill): ensure that the signature is the same as that in the
5162         header file.
5163
5164 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * text2.C (redoParagraphs): adjust
5167         (updateCounters): adjust
5168         (checkParagraph): adjust
5169         (getColumnNearX): adjust and reformat a bit.
5170
5171         * text.C (top_y): adjust
5172         (workWidth): adjust
5173         (leftMargin): adjust
5174         (prepareToPrint): adjust
5175         (getRow): adjust
5176         (getRowNearY): adjust
5177
5178         * lyxtext.h: make rowlist_ mutable.
5179
5180         * RowList.h: add const_iterator
5181         * RowList.C: adjust for RowList::const_iterator.
5182
5183         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5184         adjust.
5185
5186 2003-03-31  John Levon  <levon@movementarian.org>
5187
5188         * lyxrc.h:
5189         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5190
5191         * lyx_main.C: set default fonts from using lyx_gui funcs
5192
5193         * exporter.C: pdf_mode moved from lyxrc
5194
5195         * lyx_cb.C:
5196         * lyxfunc.C: changes from above
5197
5198 2003-03-31  John Levon  <levon@movementarian.org>
5199
5200         * lyx_main.C: fix to the last fix
5201
5202 2003-03-31  John Levon  <levon@movementarian.org>
5203
5204         * bufferlist.C: "Load original" -> "Load Original"
5205
5206         * converter.C:
5207         * exporter.C:
5208         * importer.C:
5209         * lyx_main.C:
5210         * format.C: more Alert cleanups
5211
5212 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * text2.C (removeParagraph): make it take a RowList::iterator as
5215         arg, adjust.
5216         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5217         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5218
5219         * text.C (anchor_row): make it take a RowList::iterator as arg,
5220         adjust.
5221         (computeBidiTables): make it take a const reference to Row instead
5222         of Row pointer, adjust.
5223         (leftMargin): make it take a RowList::iterator as arg, adjust.
5224         (rowBreakPoint): adjust
5225         (breakAgainOneRow): make it take a RowList::iterator as arg,
5226         adjust.
5227         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5228
5229         * bufferview_funcs.C (toggleAndShow): adjust
5230
5231 2003-03-30  John Levon  <levon@movementarian.org>
5232
5233         * Makefile.am:
5234         * BoostFormat.h:
5235         * boost-inst.C: moved to support
5236
5237         * several files: changes as a result
5238
5239 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * text2.C (LyXText): adjust.
5242         (init): adjust
5243         (removeRow): make it take a RowList::iterator as arg, adjust.
5244         (fullRebreak): adjust
5245         (deleteEmptyParagraphMechanism): adjust
5246         (clearPaint): adjust
5247         (postPaint): adjust
5248
5249         * text.C (top_y): adjust
5250         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5251         (breakAgain): make it take a RowList::iterator as arg, adjust.
5252         (breakParagraph): adjust
5253         (insertChar): adjust
5254         (backspace): adjust
5255
5256         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5257         need_break_row, and refresh_row.
5258
5259         * text3.C (dispatch): adjust
5260
5261         * text2.C (checkParagraph): adjust
5262         (setCursor): adjust
5263         (setCursorFromCoordinates): adjust
5264
5265         * text.C (top_y): adjust
5266         (workWidth): adjust
5267         (getRow): make it return a RowList::iterator, adjust
5268         (getRowNearY): make it return a RowList::iterator, adjust
5269
5270         * text2.C (init): adjust
5271         (insertRow): remove function
5272         (insertParagraph): adjust
5273         (redoParagraphs): adjust
5274         (fullRebreak): adjust
5275         (updateCounters): adjust
5276
5277         * text.C (top_y): rewrite to use RowList iterators.
5278         (top_y): adjust
5279         (setHeightOfRow): rewrite to sue RowList iterators.
5280         (appendParagraph): adjust
5281         (breakAgain): adjust
5282         (breakAgainOneRow): adjust
5283         (breakParagraph): adjust
5284         (getRow): adjust
5285         (getRowNearY): adjust, and remove commented code.
5286
5287         * lyxtext.h (firstRow): delete function
5288         (lastRow): delete function
5289         (rows): new function (const and non-const versions.)
5290         (insertRow): delete function
5291
5292         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5293
5294 2003-03-29  John Levon  <levon@movementarian.org>
5295
5296         * BufferView_pimpl.C: always update scrollbar top
5297         because pasting text when we're anchored could mean we
5298         miss an update altogether
5299
5300 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * text2.C (init): use rowlist_.end() and not 0.
5303         (insertRow): change to take a RowList::iterator as arg, adjust
5304         for this.
5305         (insertParagraph): change to take a RowList::iterator as arg,
5306         adjust for this.
5307         (redoParagraphs): remove some debug msgs.
5308
5309         * text.C (appendParagraph): change to take a RowList::iterator
5310         arg, adjust for this.
5311         (breakAgain): add an assert
5312         (breakAgainOneRow): ditto
5313
5314 2003-03-29  John Levon  <levon@movementarian.org>
5315
5316         * text2.C: do not clear selection after inc/decDepth
5317         (bug 550)
5318
5319 2003-03-29  John Levon  <levon@movementarian.org>
5320
5321         * BufferView.C:
5322         * buffer.C: fix broken strerrors according to Lars
5323
5324 2003-03-29  John Levon  <levon@movementarian.org>
5325
5326         * converters.C: more Alert cleanups
5327
5328 2003-03-29  John Levon  <levon@movementarian.org>
5329
5330         * bufferview_funcs.C: remove pointless Alert
5331
5332         * buffer.C: fix confusing error message when
5333         a template is chmoded 000
5334
5335 2003-03-29  John Levon  <levon@movementarian.org>
5336
5337         * BufferView.C:
5338         * BufferView.h:
5339         * BufferView_pimpl.C: Alert fixes
5340
5341         * Makefile.am:
5342         * tabular.C:
5343         * tabular-old.C: remove unused table compat reading
5344
5345 2003-03-29  John Levon  <levon@movementarian.org>
5346
5347         * BufferView.C:
5348         * buffer.C:
5349         * lyx_cb.h:
5350         * lyx_cb.C: more Alert cleanups
5351
5352         * lyxfunc.C: don't allow chktex if not latex document
5353
5354 2003-03-29  John Levon  <levon@movementarian.org>
5355
5356         * lyx_cb.C:
5357         * BufferView.C:
5358         * buffer.C: warnings pushed down from support/,
5359         kill err_alert
5360
5361 2003-03-29  John Levon  <levon@movementarian.org>
5362
5363         * lyxfunc.C: safety check for C-r (revert)
5364
5365 2003-03-29  John Levon  <levon@movementarian.org>
5366
5367         * bufferlist.h:
5368         * bufferlist.C: several UI fixes using Alert::prompt.
5369         Fix the pointless looping quit code. Fix stupid revert
5370         behaviour (bug 938)
5371
5372         * lyxvc.h:
5373         * lyxvc.C:
5374         * lyx_cb.C: use Alert::prompt
5375
5376         * lyx_main.C: remove a silly question
5377
5378         * lyxfunc.C: remove a couple of silly questions,
5379         use Alert::prompt
5380
5381 2003-03-28  John Levon  <levon@movementarian.org>
5382
5383         * text2.C: fix bug 974 (End on empty par)
5384
5385 2003-03-28  John Levon  <levon@movementarian.org>
5386
5387         * BufferView_pimpl.C:
5388         * LyXAction.C:
5389         * lfuns.h: remove do-nothing math greek lfuns
5390
5391 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * lyxgluelength.h (isValidGlueLength): add default arg on
5394         parameter 2. Remove default arg from friend in class.
5395
5396         * lyxlength.h (isValidLength): add default arg on parameter 2.
5397         Remove default arg from friend in class.
5398
5399         * text2.C (LyXText): adjust, initialize refresh_row.
5400         (init): adjust
5401         (removeRow): adjust
5402         (insertRow): adjust
5403         (insertParagraph): adjst
5404         (redoParagraphs): adjust
5405         (fullRebreak): adjust
5406         (updateCounters): adjust
5407         (deleteEmptyParagraphMechanism): first attempt at fixing a
5408         crashing bug.
5409
5410         * text.C (top_y): adjust
5411         (setHeightOfRow): adjust
5412         (getRow): adjust
5413         (getRowNearY): adjust
5414
5415         * lyxtext.h: include RowList.h
5416         (~LyXText): not needed anymore, deleted.
5417         (firstRow): modify for RowList
5418         (lastRow): new function
5419         Delete firstrow and lastrow class variables, add a Rowlist
5420         rowlist_ class variable.
5421
5422         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5423         paragraph is empty.
5424
5425         * RowList.C (insert): fix case where it == begin().
5426
5427 2003-03-26  Angus Leeming  <leeming@lyx.org>
5428
5429         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5430         the thesaurus dialog.
5431
5432 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5435
5436         * RowList.[Ch]: new files
5437
5438         * ParagraphList.C (erase): handle the case where it == begin
5439         correctly.
5440
5441 2003-03-25  John Levon  <levon@movementarian.org>
5442
5443         * Makefile.am:
5444         * aspell_local.h:
5445         * aspell.C: add new aspell support
5446
5447         * lyxrc.h:
5448         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5449         have it accessible.
5450
5451 2003-03-25  Angus Leeming  <leeming@lyx.org>
5452
5453         * lfuns.h:
5454         * LyXAction.C (init): new LFUN_INSET_INSERT.
5455
5456         * BufferView_pimpl.C (dispatch): split out part of the
5457         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5458
5459         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5460         LFUN_INSET_APPLY.
5461
5462 2003-03-25  Angus Leeming  <leeming@lyx.org>
5463
5464         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5465
5466 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5467
5468         * text2.C:
5469         * text3.C: remove useless row->height(0)
5470
5471 2003-03-25  John Levon  <levon@movementarian.org>
5472
5473         * lyxtext.h:
5474         * text2.C:
5475         * text3.C: rename the refreshing stuff to better names
5476
5477 2003-03-24  John Levon  <levon@movementarian.org>
5478
5479         * BufferView_pimpl.h:
5480         * BufferView_pimpl.C: update layout choice on a mouse
5481         press/release
5482
5483 2003-03-23  John Levon  <levon@movementarian.org>
5484
5485         * Makefile.am: fix commandtags.h reference
5486
5487 2003-03-22  John Levon  <levon@movementarian.org>
5488
5489         * BufferView_pimpl.C:
5490         * lyxtext.h:
5491         * rowpainter.C:
5492         * rowpainter.h:
5493         * text.C:
5494         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5495
5496 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5497
5498         * lyxtext.h:
5499         * text.C: take the rtl methods out of line
5500
5501 2003-03-21 André Pönitz <poenitz@gmx.net>
5502
5503         * metricsinfo.[Ch]: new files containing structures to be passed around
5504         during the two-phase-drawing...
5505
5506 2003-03-21 André Pönitz <poenitz@gmx.net>
5507
5508         * lyxtextclass.C: read 'environment' tag.
5509
5510 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5511
5512         * text2.C (removeRow): fix bug 964
5513
5514 2003-03-20  John Levon  <levon@movementarian.org>
5515
5516         * rowpainter.C:
5517         * text.C:
5518         * text2.C: paint cleanups. Inset::update() dropped font
5519         parameter
5520
5521 2003-03-19  John Levon  <levon@movementarian.org>
5522
5523         * lyxfunc.C: only fitcursor/markDirty if available()
5524
5525 2003-03-19  John Levon  <levon@movementarian.org>
5526
5527         * commandtags.h: rename to ...
5528
5529         * lfuns.h: ... this, and renumber / cleanup
5530
5531 2003-03-19  John Levon  <levon@movementarian.org>
5532
5533         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5534         fit the cursor after an lfun
5535
5536         * BufferView.h:
5537         * BufferView.C:
5538         * BufferView_pimpl.h:
5539         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5540
5541         * LyXAction.C: layout-character should have ReadOnly
5542
5543         * ParagraphParameters.C:
5544         * buffer.C:
5545         * bufferview_funcs.C:
5546         * lyx_cb.C:
5547         * lyxfind.C:
5548         * lyxtext.h:
5549         * text.C:
5550         * text2.C:
5551         * text3.C:
5552         * undo_funcs.C: changes from above
5553
5554 2003-03-18  John Levon  <levon@movementarian.org>
5555
5556         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5557         remove it from update()
5558
5559         * lyxfunc.C: update layout choice after an lfun
5560
5561         * text3.C: remove extra updateLayoutChoice()s
5562
5563 2003-03-18  John Levon  <levon@movementarian.org>
5564
5565         * text.C: top_y change means full repaint, fix
5566         a drawing bug with cursor movement
5567
5568 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * lyxtext.h:
5571         * text.C:
5572         * text2.C: anchor row on setCursor
5573
5574 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5575
5576         * lyxtext.h: remove almost all mutable keywords
5577         * text.C:
5578         * text2.C:
5579         * text3.C: remove const keywords accordingly
5580
5581 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5584         anon namespace
5585         (TeXEnvironment): ditto
5586         (TeXOnePar): ditto
5587
5588 2003-03-17  John Levon  <levon@movementarian.org>
5589
5590         * text.C (rowBreakPoint): remove attempt to fix displayed
5591         math insets inside a manual label
5592
5593 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * lyxtext.h: remove BufferView* as first arg from almost all class
5596         functions.
5597         * other files: adjust.
5598
5599 2003-03-17  John Levon  <levon@movementarian.org>
5600
5601         * lyxtext.h:
5602         * undo_funcs.C:
5603         * text2.C: more paint cleanups
5604
5605         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5606
5607         * rowpainter.h:
5608         * rowpainter.C: remove "smart" background painting code
5609
5610 2003-03-16  John Levon  <levon@movementarian.org>
5611
5612         * lyxtext.h:
5613         * text.C:
5614         * text2.C:
5615         * text3.C: add helper functions for setting refresh_row/y
5616
5617 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5618
5619         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5620         newline inset which *can* get inserted in the pass_thru layouts.
5621         This is primarily for literate documents.
5622
5623 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5624
5625         * buffer.C: increment LYX_FORMAT to 223
5626
5627 2003-03-14 André Pönitz <poenitz@gmx.net>
5628
5629         * textclass.h: prepare for environment handling, ws changes
5630         * lyxlayout.C: read latexheader and latexfooter tags
5631
5632 2003-03-14  John Levon  <levon@movementarian.org>
5633
5634         * text2.C: rewrite ::status() a bit
5635
5636 2003-03-13  John Levon  <levon@movementarian.org>
5637
5638         * lyxtext.h: add some docs
5639
5640 2003-03-13  John Levon  <levon@movementarian.org>
5641
5642         * lyxtext.h:
5643         * text.C:
5644         * text2.C:
5645         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5646
5647 2003-03-13  John Levon  <levon@movementarian.org>
5648
5649         * text3.C: fix appendix redrawing
5650
5651 2003-03-13  John Levon  <levon@movementarian.org>
5652
5653         * text.C (setHeightOfRow):
5654         * rowpainter.h:
5655         * rowpainter.C: make appendix mark have the text
5656           "Appendix" so the user knows what it is
5657
5658         * LColor.h:
5659         * LColor.C: s/appendixline/appendix/ from above
5660
5661 2003-03-13  John Levon  <levon@movementarian.org>
5662
5663         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5664
5665         * text.C: fix a getChar(pos) bug properly
5666
5667 2003-03-13  Angus Leeming  <leeming@lyx.org>
5668
5669         * commandtags.h:
5670         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5671         Probably only temporary. Let's see how things pan out.
5672
5673         * BufferView.C (unlockInset):
5674         * BufferView_pimpl.C (fitCursor):
5675         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5676
5677         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5678         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5679
5680         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5681         new functions that convert ParagraphParameters to and from a string.
5682
5683         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5684         BufferView::Pimpl's dispatch.
5685         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5686
5687 2003-03-13 André Pönitz <poenitz@gmx.net>
5688
5689         * lyxfunc.C:
5690         * text3.C:
5691         * factory.C: make it aware of InsetEnv
5692
5693 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * text2.C (setCursor): never ask for one past last
5696         (setCursor): add some debugging messages.
5697
5698         * text.C (singleWidth): never ask for one past last
5699         (singleWidth): ditto
5700         (leftMargin): ditto
5701         (rightMargin): ditto
5702         (rowBreakPoint): ditto
5703         (setHeightOfRow): ditto
5704         (prepareToPrint): ditto
5705
5706         * rowpainter.C (paintBackground): never ask for one past last
5707         (paintText): never ask for one past last
5708
5709         * paragraph_pimpl.C (getChar): make the assert stricter, never
5710         allow the one past last pos to be taken
5711
5712         * paragraph.C (getChar): ws changes only
5713
5714         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5715         (numberOfSeparators): ditto
5716         (numberOfHfills): ditto
5717
5718 2003-03-12  John Levon  <levon@movementarian.org>
5719
5720         * author.h:
5721         * author.C:
5722         * bufferparams.h:
5723         * bufferparams.C:
5724         * paragraph_funcs.C: fix per-buffer authorlists
5725
5726 2003-03-12  John Levon  <levon@movementarian.org>
5727
5728         * text.C: fix newline in right address
5729
5730 2003-03-12  Angus Leeming  <leeming@lyx.org>
5731
5732         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5733         duplicate those in LyXFunc::dispatch.
5734
5735         * commandtags.h:
5736         * LyXAction.C:
5737         * ToolbarDefaults.C:
5738         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5739         Add LFUN_FONTFREE_UPDATE.
5740
5741         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5742         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5743
5744         * bufferview_func.[Ch]: several new functions to facilliate
5745         transfer of data to and from the character dialog.
5746
5747 2003-03-12  John Levon  <levon@movementarian.org>
5748
5749         * buffer.C:
5750         * paragraph.h:
5751         * paragraph.C:
5752         * paragraph_funcs.C:
5753         * paragraph_pimpl.C:
5754         * sgml.C:
5755         * tabular.C:
5756         * text.C:
5757         * text3.C: remove META_NEWLINE in favour of an inset
5758
5759         * rowpainter.h:
5760         * rowpainter.C: remove paintNewline (done by inset)
5761
5762 2003-03-12  John Levon  <levon@movementarian.org>
5763
5764         * paragraph_pimpl.C: complain about bad getChar()s
5765         for a while at least
5766
5767 2003-03-12  John Levon  <levon@movementarian.org>
5768
5769         * buffer.h:
5770         * buffer.C: move paragraph read into a separate function,
5771         a little renaming to reflect that.
5772
5773         * bufferparams.h:
5774         * bufferparams.C: remove the author_ids map, not necessary now
5775
5776         * factory.h:
5777         * factory.C: moved Buffer::readInset to here
5778
5779         * paragraph_funcs.h:
5780         * paragraph_funcs.C: readParagraph free function moved from
5781         buffer.C
5782
5783         * tabular.C: name change
5784
5785 2003-03-12  John Levon  <levon@movementarian.org>
5786
5787         * buffer.C:
5788         * ParagraphParameters.C: move par params input to
5789         a read() method
5790
5791         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5792         behave like a normal read from the stream wrt reading
5793         a line vs. a \\token
5794
5795 2003-03-12  John Levon  <levon@movementarian.org>
5796
5797         * paragraph.C:
5798         * ParagraphParameters.h:
5799         * ParagraphParameters.C: move output code to a
5800         ::write() method
5801
5802 2003-03-12  John Levon  <levon@movementarian.org>
5803
5804         * BufferView.C (insertLyXFile):
5805         * buffer.h:
5806         * buffer.C:
5807         * tabular.C: use a parlist iterator for creating the
5808           document.
5809
5810 2003-03-12  John Levon  <levon@movementarian.org>
5811
5812         * buffer.C: make current_change static local not
5813           static file-scope
5814
5815 2003-03-12  John Levon  <levon@movementarian.org>
5816
5817         * buffer.C: fix insertStringAsLines for change tracking
5818
5819 2003-03-12  John Levon  <levon@movementarian.org>
5820
5821         * BufferView.C:
5822         * tabular.C:
5823         * buffer.h:
5824         * buffer.C:
5825         * bufferparams.h:
5826         * bufferparams.C: move author list into params. Rename some
5827           functions. Move the header reading into a separate token
5828           loop. Move the header token reading into BufferParams.
5829
5830 2003-03-12  John Levon  <levon@movementarian.org>
5831
5832         * changes.C: put debug inside lyxerr.debugging() checks
5833
5834 2003-03-11 André Pönitz <poenitz@gmx.net>
5835
5836         * factory.C: make it aware of InsetHFill
5837
5838 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5839
5840         * buffer.C (latexParagraphs): move function from here...
5841         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5842         args.
5843
5844 2003-03-10  Angus Leeming  <leeming@lyx.org>
5845
5846         * LyXAction.C (init): fix bug in poplating array with multiple entries
5847         with the same LFUN (spotted by JMarc).
5848
5849 2003-03-10  John Levon  <levon@movementarian.org>
5850
5851         * text.C:
5852         * text2.C: move getColumnNearX() near its
5853         only call site
5854
5855 2003-03-10  John Levon  <levon@movementarian.org>
5856
5857         * text.C: fix break before a minipage
5858
5859 2003-03-10  John Levon  <levon@movementarian.org>
5860
5861         * text.C: fix the last commit
5862
5863 2003-03-09  John Levon  <levon@movementarian.org>
5864
5865         * lyxtext.h:
5866         * text.C:
5867         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5868         bug 365 (don't break before insets unless needed). Don't
5869         return a value > last under any circumstances.
5870
5871 2003-03-09  Angus Leeming  <leeming@lyx.org>
5872
5873         * BufferView_pimpl.C (trackChanges, dispatch): call
5874         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5875
5876 2003-03-09  Angus Leeming  <leeming@lyx.org>
5877
5878         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5879         than Dialogs::showAboutlyx().
5880
5881 2003-03-09  Angus Leeming  <leeming@lyx.org>
5882
5883         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5884         than Dialogs::showTabularCreate().
5885
5886 2003-03-09  John Levon  <levon@movementarian.org>
5887
5888         * lyxtext.h:
5889         * text.C:
5890         * text2.C: 3rd arg to nextBreakPoint was always the same.
5891           Use references.
5892
5893 2003-03-08  John Levon  <levon@movementarian.org>
5894
5895         * lyxrow.C:
5896         * paragraph.C:
5897         * paragraph.h:
5898         * rowpainter.C:
5899         * text.C:
5900         * text2.C: Remove the "main" bit from the "main body"
5901           notion.
5902
5903 2003-03-08  John Levon  <levon@movementarian.org>
5904
5905         * text.C (leftMargin): The left margin of an empty
5906         manual label paragraph should not include the label width
5907         string length.
5908
5909         * text.C (prepareToPrint): don't attempt to measure hfills
5910         for empty manual label paragraphs - the answer should be 0
5911
5912 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * CutAndPaste.C: remove commented code and reindent.
5915
5916 2003-03-08  John Levon  <levon@movementarian.org>
5917
5918         * lyxfunc.h:
5919         * lyxfunc.C: move reloadBuffer()
5920
5921         * BufferView.h:
5922         * BufferView.C: to here
5923
5924         * lyxvc.C: add comment
5925
5926         * vc-backend.h:
5927         * vc-backend.C: call bv->reload() to avoid
5928           getStatus() check on MENURELOAD
5929
5930 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5931
5932         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5933         to an old format .dep file.
5934
5935 2003-03-07  Angus Leeming  <leeming@lyx.org>
5936
5937         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5938         when the LFUN_MOUSE_RELEASE should have been handled by
5939         inset->localDispatch.
5940
5941 2003-03-07  Angus Leeming  <leeming@lyx.org>
5942
5943         * BufferView_pimpl.C (dispatch):
5944         * LyXAction.C (init):
5945         * ToolbarDefaults.C (init):
5946         * commandtags.h:
5947         * lyxfunc.C (getStatus):
5948         remove LFUN_INSET_GRAPHICS.
5949
5950         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5951
5952 2003-03-07  Angus Leeming  <leeming@lyx.org>
5953
5954         * commandtags.h:
5955         * LyXAction.C (init):
5956         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5957
5958         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5959
5960         * commandtags.h:
5961         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5962
5963         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5964         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5965
5966 2003-03-07  Angus Leeming  <leeming@lyx.org>
5967
5968         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5969         remove "ert".
5970
5971 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * ParagraphList.C (front): new function
5974         (back): implement
5975
5976 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5977
5978         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5979         and top_row_offset_. removed var first_y.
5980         * text.C (top_y):
5981         * text2.C (LyXText, removeRow):
5982         * text3.C:
5983         * BufferView_pimpl.C:
5984         use these methods instead of using first_y
5985
5986 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * text2.C (pasteSelection): adjust for checkPastePossible
5989
5990         * CutAndPaste.C: remove Paragraph * buf and replace with
5991         ParagraphList paragraphs.
5992         (DeleteBuffer): delete
5993         (cutSelection): change the tc type to textclass_type
5994         (copySelection): change the tc type to textclass_type
5995         (copySelection): adjust for ParagraphList
5996         (pasteSelection): change the tc type to textclass_type
5997         (pasteSelection): adjust for Paragraphlist
5998         (nrOfParagraphs): simplify for ParagraphList
5999         (checkPastePossible): simplify for ParagraphList
6000         (checkPastePossible): remove unused arg
6001
6002         * ParagraphList.C (insert): handle the case where there are no
6003         paragraphs yet.
6004
6005         * CutAndPaste.h: make CutAndPaste a namespace.
6006
6007         * text3.C (dispatch): adjust
6008
6009         * text.C (breakParagraph): add a ParagraphList as arg
6010
6011         * paragraph_funcs.C (breakParagraph): change to take a
6012         BufferParams and a ParagraphList as args.
6013         (breakParagraphConservative): ditto
6014         (mergeParagraph): ditto
6015         (TeXDeeper): add a ParagraphList arg
6016         (TeXEnvironment): ditto
6017         (TeXOnePar): ditto
6018
6019         * buffer.C (readLyXformat2): adjust
6020         (insertStringAsLines): adjust
6021         (latexParagraphs): adjust
6022
6023         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6024         (cutSelection): adjust
6025         (pasteSelection): adjust
6026
6027         * BufferView_pimpl.C (insertInset): adjust
6028
6029 2003-03-05  Angus Leeming  <leeming@lyx.org>
6030
6031         * commandtags.h:
6032         * LyXAction.C (init):
6033         * BufferView_pimpl.C (dispatch):
6034         * lyxfunc.C (getStatus):
6035         remove LFUN_CHILD_INSERT.
6036
6037         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6038
6039 2003-03-05  Angus Leeming  <leeming@lyx.org>
6040
6041         * commandtags.h:
6042         * LyXAction.C (init):
6043         * src/factory.C (createInset):
6044         * lyxfunc.C (getStatus):
6045         * text3.C (dispatch):
6046         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6047
6048         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6049
6050 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * ParagraphList.C (insert): handle insert right before end()
6053         (erase): fix cases where it can be first or last paragraph.
6054
6055 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6058         Paragraph::next and Paragraph::previous
6059         (TeXOnePar): ditto
6060
6061         * text.C (breakParagraph): adjust
6062
6063         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6064         BufferParams& as arg.
6065         (breakParagraph): use ParagraphList::insert
6066         (breakParagraphConservative): take a Buffer* instead of a
6067         BufferParams& as arg.
6068         (breakParagraphConservative): use ParagraphList::insert.
6069
6070         * buffer.C (insertStringAsLines): un-const it
6071         (insertStringAsLines): adjust
6072
6073         * ParagraphList.C (insert): new function
6074
6075         * CutAndPaste.C (pasteSelection): adjust
6076
6077         * text.C (backspace): adjust
6078
6079         * tabular.C (SetMultiColumn): adjust
6080
6081         * CutAndPaste.C (cutSelection): adjust
6082         (pasteSelection): adjust
6083
6084         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6085         Buffer const * as arg
6086
6087         * ParagraphList.C (erase): new function
6088         * paragraph_funcs.C (mergeParagraph): use it
6089         (mergeParagraph): make it take a Buffer* instead of a
6090         BufferParams* as arg
6091
6092         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6093         as arg
6094         (breakParagraphConservative): ditto
6095
6096         * paragraph.h: remove the breakParagraph friend
6097
6098         * paragraph.C (eraseIntern): new function
6099         (setChange): new function
6100
6101         * paragraph_funcs.C (mergeParagraph): make it take a
6102         ParagraphList::iterator instead of a Paragraph *, adjust
6103         accordingly.
6104
6105         * paragraph.h: move an #endif so that the change tracking stuff
6106         also works in the NO_NEXT case.
6107
6108 2003-03-04  Angus Leeming  <leeming@lyx.org>
6109
6110         * commandtags.h:
6111         * LyXAction.C: new LFUN_INSET_MODIFY.
6112
6113         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6114         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6115
6116 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * several files: ws changes only
6119
6120         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6121         (TeXEnvironment): ditto
6122         (TeXDeeper): ditto
6123
6124         * buffer.C (makeLaTeXFile): adjust
6125         (latexParagraphs): make it take ParagraphList::iterator as args
6126
6127 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * buffer.C (latexParagraphs): adjust
6130
6131         * paragraph.C (TeXOnePar): move function...
6132         (optArgInset): move function...
6133         (TeXEnvironment): move function...
6134         * paragraph_pimpl.C (TeXDeeper): move function...
6135         * paragraph_funcs.C: ...here
6136
6137         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6138
6139 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * buffer.C (readInset): remove compability code for old Figure and
6142         InsetInfo insets
6143
6144 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * buffer.C: ws changes
6147         (readInset):
6148
6149         * BufferView_pimpl.C: ditto
6150         * author.C: ditto
6151         * buffer.h: ditto
6152         * bufferlist.h: ditto
6153         * changes.h: ditto
6154         * lyxfunc.C: ditto
6155
6156 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6157
6158         * converter.[Ch]: split into itself +
6159         * graph.[Ch]
6160         * format.[Ch]
6161         * Makefile.am: += graph.[Ch] + format.[Ch]
6162         * MenuBackend.C
6163         * buffer.C
6164         * exporter.C
6165         * importer.C
6166         * lyx_main.C
6167         * lyxfunc.C
6168         * lyxrc.C: added #include "format.h"
6169
6170 2003-02-27  Angus Leeming  <leeming@lyx.org>
6171
6172         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6173           a label.
6174
6175         * factory.C (createInset): add "label" to the factory.
6176
6177         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6178           string and do no more.
6179
6180 2003-02-27  Angus Leeming  <leeming@lyx.org>
6181
6182         * commandtags.h:
6183         * LyXAction.C (init):
6184         * factory.C (createInset):
6185         * BufferView_pimpl.C (dispatch):
6186           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6187
6188         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6189
6190         * lyxfunc.C (dispatch):
6191         * text3.C (dispatch): pass name to params2string.
6192
6193 2003-02-26  Angus Leeming  <leeming@lyx.org>
6194
6195         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6196           blocks together.
6197           Rearrange the ~includes. Strip out the unnecessary ones.
6198
6199         * factory.C (createInset): reformat.
6200           create new insets for the various LFUN_XYZ_APPLY lfuns.
6201
6202 2003-02-26  John Levon  <levon@movementarian.org>
6203
6204         * lyxrow.h:
6205         * lyxrow.C: add isParStart,isParEnd helpers
6206
6207         * paragraph.h: make isInserted/DeletedText take refs
6208
6209         * paragraph_funcs.h:
6210         * paragraph_funcs.C: remove #if 0'd code
6211
6212         * lyxtext.h:
6213         * text3.C:
6214         * text2.C:
6215         * text.C: use lyxrow helpers above.
6216           Move draw and paint routines to RowPainter.
6217           Make several methods use refs not pointers.
6218           Make backgroundColor() const.
6219           Add markChangeInDraw(), isInInset().
6220           Merge changeRegionCase into changeCase.
6221           Make workWidth() shouldn't-happen code into an Assert.
6222
6223         * rowpainter.h:
6224         * rowpainter.C: new class for painting a row.
6225
6226         * vspace.h:
6227         * vspace.C: make inPixels take a ref
6228
6229 2003-02-26  Angus Leeming  <leeming@lyx.org>
6230
6231         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6232         LFUN_REF_APPLY.
6233
6234 2003-02-25  John Levon  <levon@movementarian.org>
6235
6236         * ispell.C: give the forked command a more accurate name
6237
6238 2003-02-22  John Levon  <levon@movementarian.org>
6239
6240         * toc.h:
6241         * toc.C: make TocItem store an id not a Paragraph *
6242           (bug #913)
6243
6244 2003-02-21  Angus Leeming  <leeming@lyx.org>
6245
6246         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6247           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6248           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6249           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6250           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6251           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6252
6253         * BufferView_pimpl.C (dispatch):
6254         * LyXAction.C (init):
6255         * factory.C (createInset):
6256         * lyxfunc.C (getStatus, dispatch):
6257         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6258
6259 2003-02-21  Angus Leeming  <leeming@lyx.org>
6260
6261         * BufferView_pimpl.C (MenuInsertLyXFile):
6262         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6263         * lyxfunc.C (menuNew, open, doImport):
6264           no longer pass a LyXView & to fileDlg.
6265
6266 2003-02-21  Angus Leeming  <leeming@lyx.org>
6267
6268         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6269         * LyXAction.C: change, BIBKEY to BIBITEM.
6270         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6271         Change InsetBibKey to InsetBibitem.
6272         Change BIBKEY_CODE to BIBITEM_CODE.
6273         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6274         * factory.C: replace insetbib.h with insetbibitem.h.
6275         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6276         * paragraph.C: replace insetbib.h with insetbibitem.h.
6277         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6278         Change bibkey() to bibitem().
6279         * text.C: remove insetbib.h.
6280         * text2.C: replace insetbib.h with insetbibitem.h.
6281         change bibkey() to bibitem().
6282         * text3.C: remove insetbib.h.
6283         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6284
6285 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6286
6287         * lyxrc.C (output): enclose user email in quotes (in case there are
6288         several words)
6289
6290 2003-02-18  John Levon  <levon@movementarian.org>
6291
6292         * buffer.h: add std::
6293
6294 2003-02-17  John Levon  <levon@movementarian.org>
6295
6296         * SpellBase.h:
6297         * ispell.h:
6298         * ispell.C:
6299         * pspell.h:
6300         * pspell.C: reworking. Especially in ispell, a large
6301           number of clean ups and bug fixes.
6302
6303         * lyxfunc.C: fix revert to behave sensibly
6304
6305 2003-02-17 André Pönitz <poenitz@gmx.net>
6306
6307         * LyXAction.C:
6308         * commandtags.h: new LFUN_INSERT_BIBKEY
6309
6310         * layout.h:
6311         * lyxlayout.C:
6312         * buffer.C:
6313         * factory.C:
6314         * text.C:
6315         * text2.C:
6316         * text3.C:
6317         * paragraph.[Ch]:
6318         * paragraph_func.C: remove special bibkey handling
6319
6320 2003-02-17  John Levon  <levon@movementarian.org>
6321
6322         * text.C (Delete): fix case where delete at the end of
6323           the very first paragraph would not merge the pars
6324
6325 2003-02-17  John Levon  <levon@movementarian.org>
6326
6327         * lyxrow.C: fix lastPrintablePos()
6328
6329 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6330
6331         * bufferparams.C (writeLaTeX): add a std:here
6332
6333         * buffer.C: and remove a using directive there
6334
6335 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6336
6337         * buffer.C (makeLaTeXFile): move the code that generates the
6338           preamble...
6339
6340         * bufferparams.C (writeLaTeX): ... in this new method
6341
6342         * LaTeXFeatures.C (getEncodingSet): make const
6343           (getLanguages): make const
6344
6345         * MenuBackend.C (binding): returns the binding associated to this
6346           action
6347           (add): sets the status of each item by calling getStatus. Adds
6348           some intelligence.
6349           (read): add support for OptSubMenu
6350           (expand): remove extra separator at the end of expanded menu
6351
6352 2003-02-15  John Levon  <levon@movementarian.org>
6353
6354         * BufferView.C:
6355         * BufferView_pimpl.C:
6356         * bufferlist.h:
6357         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6358           inset code that had no actual effect. Remove unneeded status
6359           code.
6360
6361 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6362
6363         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6364           in preamble
6365
6366 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6367
6368         * text.C (drawLengthMarker): also draw an arrow marker for
6369           symbolic lengths (medskip...)
6370
6371 2003-02-14  John Levon  <levon@movementarian.org>
6372
6373         * tabular.h:
6374         * tabular.C: better method names
6375
6376 2003-02-14  John Levon  <levon@movementarian.org>
6377
6378         * BufferView_pimpl.C:
6379         * bufferlist.C:
6380         * buffer.C:
6381         * converter.C:
6382         * lyx_cb.C:
6383         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6384           it's a more accurate name. Remove some pointless uses.
6385
6386 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * text2.C (LyXText): change order of initilizers to shut off
6389           warnings
6390
6391 2003-02-14  John Levon  <levon@movementarian.org>
6392
6393         * buffer.C: use ParIterator for getParFromID()
6394
6395         * paragraph.h:
6396         * paragraph.C:
6397         * paragraph_pimpl.h:
6398         * paragraph_pimpl.C: remove unused getParFromID()
6399
6400 2003-02-14  John Levon  <levon@movementarian.org>
6401
6402         * buffer.C: remove some very old #if 0'd parse code
6403
6404 2003-02-13  John Levon  <levon@movementarian.org>
6405
6406         * text.h:
6407         * text.C:
6408         * text2.C: move hfillExpansion(), numberOfSeparators(),
6409           rowLast(), rowLastPrintable(), numberofHfills(),
6410           numberOfLabelHfills() ...
6411
6412         * lyxrow.h:
6413         * lyxrow.C: ... to member functions here.
6414
6415         * paragraph.h:
6416         * paragraph.C:
6417         * lyxtext.h:
6418         * text.C: remove LyXText::beginningOfMainBody(), and call
6419           p->beginningOfMainBody() directly. Move the check for
6420           LABEL_MANUAL into the latter.
6421
6422         * text.h:
6423         * text.C:
6424         * text2.C:
6425         * vspace.C:
6426         * BufferView.h:
6427         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6428
6429         * text.h:
6430         * text.C:
6431         * text2.C:
6432         * text3.C:
6433         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6434           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6435
6436 2003-02-13  John Levon  <levon@movementarian.org>
6437
6438         * CutAndPaste.C: remove debug
6439
6440 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6441
6442         * paragraph.C (asString): remove two unused variables
6443
6444         * lyxtextclass.C (readTitleType):
6445           (Read):
6446           (LyXTextClass): handle new members titletype_ and titlename_
6447
6448         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6449
6450 2003-02-09  John Levon  <levon@movementarian.org>
6451
6452         * buffer.h:
6453         * buffer.C: replace hand-coded list with a map for the dep clean
6454
6455 2003-02-08  John Levon  <levon@movementarian.org>
6456
6457         * LaTeX.C: consolidate code into showRunMessage() helper
6458
6459 2003-02-08  John Levon  <levon@movementarian.org>
6460
6461         * lyxfind.C:
6462         * lyxtext.h:
6463         * text2.C:
6464         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6465           and pass the size in explicitly
6466
6467         * BufferView_pimpl.h:
6468         * BufferView_pimpl.C:
6469         * BufferView.h:
6470         * BufferView.C: add getCurrentChange()
6471
6472         * BufferView_pimpl.h:
6473         * BufferView_pimpl.C: handle change lfuns
6474
6475         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6476           for changes. Mark pasted paragraphs as new.
6477
6478         * support/lyxtime.h:
6479         * support/lyxtime.C:
6480         * DepTable.C: abstract time_t as lyx::time_type
6481
6482         * LColor.h:
6483         * LColor.C: add colours for new text, deleted text, changebars
6484
6485         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6486           package use "usenames" option.
6487
6488         * commandtags.h:
6489         * lyxfunc.C:
6490         * LyXAction.C: add change lfuns
6491
6492         * Makefile.am:
6493         * author.h:
6494         * author.C: author handling
6495
6496         * buffer.h:
6497         * buffer.C: add a per-buffer author list, with first entry as
6498           current author. Handle new .lyx tokens for change tracking. Output
6499           author list to .lyx file. Output dvipost stuff to .tex preamble.
6500           Bump lyx format to 222.
6501
6502         * bufferlist.h:
6503         * bufferlist.C: add setCurrentAuthor() to reset current author details
6504           in all buffers.
6505
6506         * bufferparams.h:
6507         * bufferparams.C: add param for tracking
6508
6509         * bufferview_funcs.C: output change info in minibuffer
6510
6511         * Makefile.am:
6512         * changes.h:
6513         * changes.C: add change-tracking structure
6514
6515         * debug.h:
6516         * debug.C: add CHANGES debug flag
6517
6518         * lyxfind.h:
6519         * lyxfind.C: add code for finding the next change piece
6520
6521         * lyxrc.h:
6522         * lyxrc.C: add user_name and user_email
6523
6524         * lyxrow.h:
6525         * lyxrow.C: add a metric for the top of the text line
6526
6527         * lyxtext.h:
6528         * text.C: implement accept/rejectChange()
6529
6530         * lyxtext.h:
6531         * text.C: paint changebars. Paint new/deleted text in the chosen
6532         colours. Strike through deleted text.
6533
6534         * paragraph.h:
6535         * paragraph.C:
6536         * paragraph_pimpl.h:
6537         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6538           in the current change to the insert functions. Rework erase to
6539           mark text as deleted, adding an eraseIntern() and a range-based
6540           erase(). Implement per-paragraph change lookup and
6541           accept/reject.
6542
6543         * paragraph_funcs.C: Fixup paste for change tracking.
6544
6545         * tabular.C: mark added row/columns as new.
6546
6547         * text.C: fix rowLast() to never return -1. Don't allow
6548           spellchecking of deleted text. Track transpose changes. Don't
6549           allow paragraph break or merge where appropriate.
6550
6551         * text2.C: leave cursor at end of selection after a cut.
6552
6553 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6554
6555         * text.C (getLengthMarkerHeight):
6556         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6557         visible on screen too.
6558
6559 2003-02-07  John Levon  <levon@movementarian.org>
6560
6561         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6562
6563 2003-02-05  Angus Leeming  <leeming@lyx.org>
6564
6565         * lyxserver.C (read_ready): revert my patch of 11 September last year
6566         as it sends PC cpu through the roof. Presumably this means that
6567         the lyxserver will no longer run on an Alpha...
6568
6569 2003-01-30  Angus Leeming  <leeming@lyx.org>
6570
6571         * factory.C (createInset): create an InsetCommandParam of type "index"
6572         and use it to 'do the right thing'.
6573
6574         * text2.C (getStringToIndex): ensure that cursor position is always
6575         reset to the reset_cursor position.
6576
6577 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6578
6579         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6580         disabled.
6581
6582 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6583
6584         * bufferview.C:
6585         * lyxcb.C:
6586         * lyxfunc.C: Output messages with identical spelling, punctuation,
6587         and spaces
6588
6589 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6590
6591         * MenuBackend.C (expandFormats): List only viewable export formats
6592         in "View" menu
6593
6594         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6595         message
6596
6597         * lyxfunc.C (getStatus): Make sure that formats other than
6598         "fax" can also be disabled
6599
6600 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6601
6602         * text3.C (dispatch): put the lfuns that insert insets in 3
6603         groups, and call doInsertInset with appropriate arguments.
6604         (doInsertInset): new function, that creates an inset and inserts
6605         it according to some boolean parameters.
6606
6607 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * buffer.C (readFile): remember to pass on 'par' when calling
6610         readFile recursively.
6611
6612 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6613
6614         * MenuBackend.C (expandFormats): add "..." to import formats.
6615
6616 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6617
6618         * paragraph.C (asString): Remove XForms RTL hacks.
6619
6620 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6621         * buffer.C: fix typo
6622
6623 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * Makefile.am (LIBS): delete var
6626         (lyx_LDADD): add @LIBS@ here instead.
6627
6628 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6629
6630         * Clarify the meaning of "wheel mouse jump"
6631
6632 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6633
6634         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6635         tabular in a float
6636
6637 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6638
6639         * importer.C (Loaders): do not preallocate 3 elements in the
6640         vector, since one ends up with 6 elements otherwise
6641
6642 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6643
6644         * DepTable.C (write): write the file name as last element of the
6645         .dep file (because it may contain spaces)
6646         (read): read info in the right order
6647
6648 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6649
6650         * paragraph_pimpl.C (simpleTeXBlanks):
6651         (simpleTeXSpecialChars):
6652         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6653
6654         * tabular.C (latex): add some missing case statements. Reindent.
6655
6656         * MenuBackend.C (expandToc): remove unused variable.
6657
6658 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6659
6660         * LColor.C:
6661         * LaTeX.C:
6662         * LyXAction.C:
6663         * MenuBackend.C:
6664         * buffer.C:
6665         * exporter.C:
6666         * lyxfunc.C:
6667         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6668         and the like.
6669
6670 2003-01-05  John Levon  <levon@movementarian.org>
6671
6672         * BufferView.h:
6673         * BufferView.C: add getEncoding()
6674
6675         * kbsequence.h:
6676         * kbsequence.C: do not store last keypress
6677
6678         * lyxfunc.h:
6679         * lyxfunc.C: store last keypress here instead. Pass encoding
6680           to getISOEncoded()
6681
6682 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6683
6684         * lyx_main.C (init): remove annoying error message when following
6685         symbolic links (bug #780)
6686
6687 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6688
6689         * text.C (insertChar):
6690         * lyxrc.C (getDescription): remove extra spaces
6691
6692 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6693
6694         * lyxrc.C (getDescription): remove extra spaces
6695
6696 2002-12-20  John Levon  <levon@movementarian.org>
6697
6698         * text3.C: hack fix for page up/down across tall rows
6699
6700 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6701
6702         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6703         not been invoked
6704
6705 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6706
6707         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6708         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6709         thesaurus is not compiled in
6710
6711 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6712
6713         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6714
6715 2002-12-16  Angus Leeming  <leeming@lyx.org>
6716
6717         * lyxrc.[Ch]:
6718         * lyx_main.C (init): remove override_x_deadkeys stuff.
6719
6720 2002-12-12  John Levon  <levon@movementarian.org>
6721
6722         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6723           insert. Only remove shift modifier under strict
6724           circumstances.
6725
6726 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * MenuBackend.C (expandToc): fix crash.
6729
6730 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6731
6732         * MenuBackend.C (expandToc): gettext on float names.
6733
6734 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6735
6736         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6737         implement bool empty() [bug 490]
6738
6739 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6742
6743 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * several files: ws changes
6746
6747 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * text2.C (setCounter): clean up a bit, use boost.format.
6750         (updateCounters): initialize par upon declaration.
6751
6752         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6753         if the layout exists. We do not just store the layout any more.
6754         (SwitchLayoutsBetweenClasses): use boost.format
6755
6756 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6757
6758         * converter.C (convert): if from and to files are the same, use a
6759         temporary files as intermediary
6760
6761 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6762
6763         * commandtags.h:
6764         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6765
6766 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6767
6768         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6769
6770 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * tabular.C (asciiPrintCell): use string(size, char) instead of
6773         explicit loop.
6774
6775         * sgml.C (openTag): fix order of arguments to string constructor
6776         (closeTag): ditto
6777
6778         * lyxfunc.C (dispatch): use boost.format
6779
6780         * lots of files: change "c" -> 'c'
6781
6782 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6783
6784         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6785
6786 2002-11-25  Angus Leeming  <leeming@lyx.org>
6787
6788         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6789
6790         * lyx_main.C (init): compile fix.
6791
6792 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * lyx_cb.C (start): boost.formatify
6795         do not include <iostream>
6796
6797         * lengthcommon.C: ws only
6798
6799         * boost-inst.C,BoostFormat.h: add more explict instantations
6800
6801 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * lots of files: handle USE_BOOST_FORMAT
6804
6805 2002-11-21  John Levon  <levon@movementarian.org>
6806
6807         * pspell.C: fix compile
6808
6809 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6810
6811         * lyxfunc.C (dispatch): use boost::format
6812         (open): ditto
6813         (doImport): ditto
6814
6815         * lyxfont.C (stateText): use boost::format
6816
6817         * lyx_main.C (LyX): use boost::format
6818         (init): ditto
6819         (queryUserLyXDir): ditto
6820         (readRcFile): ditto
6821         (parse_dbg): ditto
6822         (typedef boost::function): use the recommened syntax.
6823
6824         * importer.C (Import): use boost::format
6825
6826         * debug.C (showLevel): use boost::format
6827
6828         * converter.C (view): use boost::format
6829         (convert): ditto
6830         (move): ditto
6831         (scanLog): ditto
6832
6833         * bufferview_funcs.C (currentState): use boost::format
6834
6835         * bufferlist.C (emergencyWrite): use boost::format
6836
6837         * buffer.C (readLyXformat2): use boost::format
6838         (parseSingleLyXformat2Token): ditto
6839
6840         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6841
6842         * LaTeX.C (run): use boost::format
6843
6844         * Chktex.C (scanLogFile): use boost::format
6845
6846         * BufferView_pimpl.C (savePosition): use boost::format
6847         (restorePosition): ditto
6848         (MenuInsertLyXFile): ditto
6849
6850         * BoostFormat.h: help file for explicit instation.
6851
6852 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6853
6854         * tabular.C (latex): Support for block alignment in fixed width
6855         columns.
6856
6857 2002-11-17  John Levon  <levon@movementarian.org>
6858
6859         * BufferView_pimpl.C:
6860         * lyx_cb.C:
6861         * lyxfunc.C: split filedialog into open/save
6862
6863 2002-11-08  Juergen Vigna  <jug@sad.it>
6864
6865         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6866         by my last patch (hopefully).
6867
6868 2002-11-08  John Levon  <levon@movementarian.org>
6869
6870         * iterators.h:
6871         * iterators.C:
6872         * buffer.h:
6873         * buffer.C:
6874         * paragraph.h:
6875         * paragraph.C:
6876         * toc.h:
6877         * toc.C: ParConstIterator, and use it (from Lars)
6878
6879 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6880
6881         * lyxtextclass.[Ch]: revise and add doxygen comments
6882
6883 2002-11-07  John Levon  <levon@movementarian.org>
6884
6885         * text.C: fix progress value for spellchecker
6886
6887         * toc.C: fix navigate menu for insetwrap inside minipage
6888
6889         * paragraph_funcs.C: added FIXME for suspect code
6890
6891 2002-11-07  John Levon  <levon@movementarian.org>
6892
6893         * BufferView_pimpl.C: fix redrawing of insets
6894           on buffer switch
6895
6896 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6897
6898         * text2.C (updateCounters): fix bug 668
6899
6900 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6901
6902         * text3.C (dispatch): Do not make the buffer dirty when moving the
6903         cursor.
6904
6905 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * vc-backend.C: STRCONV
6908         (scanMaster): ditto
6909
6910         * text2.C (setCounter): STRCONV
6911
6912         * paragraph.C (asString): STRCONV
6913
6914         * lyxlength.C (asString): STRCONV
6915         (asLatexString): ditto
6916
6917         * lyxgluelength.C (asString): STRCONV
6918         (asLatexString): ditto
6919
6920         * lyxfunc.C (dispatch): STRCONV
6921         (open): ditto
6922
6923         * lyxfont.C (stateText): STRCONV
6924
6925         * importer.C (Import): STRCONV
6926
6927         * counters.C (labelItem): STRCONV
6928         (numberLabel): ditto
6929         (numberLabel): remove unused ostringstream o
6930
6931         * chset.C: STRCONV
6932         (loadFile): ditto
6933
6934         * bufferview_funcs.C (currentState): STRCONV
6935
6936         * buffer.C (readFile): STRCONV
6937         (asciiParagraph): ditto
6938         (makeLaTeXFile): ditto
6939
6940         * Spacing.C (writeEnvirBegin): STRCONV
6941
6942         * LaTeXFeatures.C (getLanguages): STRCONV
6943         (getPackages): ditto
6944         (getMacros): ditto
6945         (getBabelOptions): ditto
6946         (getTClassPreamble): ditto
6947         (getLyXSGMLEntities): ditto
6948         (getIncludedFiles): ditto
6949
6950         * LaTeX.C: STRCONV
6951         (run): ditto
6952         (scanAuxFile): ditto
6953         (deplog): ditto
6954
6955         * LString.h: add the STRCONV macros
6956
6957         * BufferView_pimpl.C (savePosition): STRCONV
6958         (restorePosition): ditto
6959         (MenuInsertLyXFile): ditto
6960
6961         * vc-backend.C (scanMaster): change from submatch[...] to
6962         submatch.str(...)
6963
6964         * funcrequest.C: include config.h
6965
6966         * factory.C: include config.h
6967
6968         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6969
6970         * box.C: include config.h
6971
6972         * LaTeX.C (scanAuxFile): change from submatch[...] to
6973         submatch.str(...)
6974         (deplog): ditto
6975
6976 2002-10-25  Angus Leeming  <leeming@lyx.org>
6977
6978         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6979
6980         * ispell.[Ch] (setError): new method.
6981         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6982         Use setError() insetead of goto END.
6983
6984         * lyx_cb.C (AutoSave): move out child process into new class
6985         AutoSaveBuffer.
6986
6987 2002-10-30  John Levon  <levon@movementarian.org>
6988
6989         * text3.C: make start appendix undoable
6990
6991 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6992
6993         * lyxlength.C (inPixels): Fix returned value.
6994
6995         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6996         environment.
6997
6998 2002-10-24  Angus Leeming  <leeming@lyx.org>
6999
7000         * lyxgluelength.h: no need to forward declare BufferParams
7001         or BufferView, so don't.
7002
7003 2002-10-21  John Levon  <levon@movementarian.org>
7004
7005         * BufferView.C: menuUndo ->undo, redo
7006
7007         * BufferView.h: document, remove dead, make some methods private
7008
7009         * paragraph_funcs.h:
7010         * paragraph_funcs.C:
7011         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7012
7013         * buffer.h:
7014         * buffer.C:
7015         * sgml.h:
7016         * sgml.C: move sgml open/close tag into sgml.C
7017
7018         * bufferview_funcs.h: unused prototype
7019
7020         * lyxfunc.h:
7021         * lyxfunc.C: remove unused
7022
7023         * lyxtext.h:
7024         * text.C: remove unused
7025
7026 2002-10-21  John Levon  <levon@movementarian.org>
7027
7028         * BufferView.h:
7029         * BufferView.C:
7030         * BufferView_pimpl.h:
7031         * BufferView_pimpl.C: fix mouse wheel handling based on
7032           patch from Darren Freeman
7033
7034 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7035
7036         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7037
7038 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7039
7040         * lyxlength.C (inPixels): Fix hanfling of negative length.
7041         Fix LyXLength::MU case.
7042
7043 2002-10-16  John Levon  <levon@movementarian.org>
7044
7045         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7046
7047 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7048
7049         * converter.C (view): add support for $$i (file name) and $$p
7050         (file path) for the viewer command. If $$i is not specified, then
7051         it is appended to the command (for compatibility with old syntax)
7052
7053 2002-10-14  Juergen Vigna  <jug@sad.it>
7054
7055         * undo_funcs.C (textHandleUndo): alter the order in which the
7056         new undopar is added to the LyXText, as we have to set first
7057         the right prev/next and then add it as otherwise the rebuild of
7058         LyXText is not correct. Also reset the cursor to the right paragraph,
7059         with this IMO we could remove the hack in "redoParagraphs()".
7060
7061 2002-10-09  Angus Leeming  <leeming@lyx.org>
7062
7063         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7064         to turn off an optimisation if a new inset is to be inserted.
7065
7066 2002-10-11 André Pönitz <poenitz@gmx.net>
7067
7068         * lyxtext.h: make some functions public to allow access
7069         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7070
7071 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7072
7073         * text3.C (dispatch): when changing layout, avoid an infinite loop
7074         [bug #652]
7075
7076 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7077
7078         * lyxrc.C (read): treat a viewer or converter command of "none" as
7079         if it were empty.
7080
7081         * MenuBackend.C (expandFormats): for an update, also allow the
7082         formats that are not viewable
7083
7084         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7085         script if it is newer than the lyxrc.defaults in user directory
7086
7087 2002-10-07 André Pönitz <poenitz@gmx.net>
7088
7089         * text.C: Vitaly Lipatov's small i18n fix
7090
7091 2002-09-25  Angus Leeming  <leeming@lyx.org>
7092
7093         * ispell.h: doxygen fix.
7094
7095 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7096
7097         * buffer.h (readFile): Add a new argument to the method, to allow
7098         reading of old-format templates.
7099
7100 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7101
7102         * toc.C (getTocList): Get TOC from InsetWrap.
7103
7104 2002-09-16  John Levon  <levon@movementarian.org>
7105
7106         * lyxfunc.C: check tabular for cut/copy too
7107
7108 2002-09-12  John Levon  <levon@movementarian.org>
7109
7110         * LyXAction.C: tidy
7111
7112         * factory.h:
7113         * factory.C: add header
7114
7115         * paragraph_funcs.h:
7116         * paragraph_funcs.C: cleanup
7117
7118 2002-09-11  John Levon  <levon@movementarian.org>
7119
7120         * PrinterParams.h: odd/even default to true
7121
7122 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7123
7124         * PrinterParams.h: update printer parameters for new xforms dialog
7125
7126 2002-09-11  Angus Leeming  <leeming@lyx.org>
7127
7128         * lyxserver.C (read_ready): re-write to make it more transparent
7129         and to make it work in coherent fashion under Tru64 Unix.
7130
7131 2002-09-11  André Pönitz <poenitz@gmx.net>
7132
7133         * commandtags.h:
7134         * LyXAction.C:
7135         * text3.C: implement LFUN_WORDSEL
7136
7137 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7140         make floatlist_ a boost::shared_ptr<FloatList>
7141
7142         * lyxtextclass.C: include FloatList.h
7143         (LyXTextClass): initialize floatlist_
7144         (TextClassTags): add TC_NOFLOAT
7145         (Read): match "nofloat" to TC_NOFLOAT and use it.
7146         (readFloat): modify call to floatlist_
7147         (floats): ditto
7148         (floats): ditto
7149
7150         * FloatList.[Ch] (FloatList): remove commented out float
7151         initialization.
7152         (erase): new function
7153
7154 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7155
7156         * MenuBackend.C (expandToc): fix crash when there is no document
7157         open
7158
7159 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7160
7161         * many files: Add insetwrap.
7162
7163 2002-09-09  John Levon  <levon@movementarian.org>
7164
7165         * text2.C: remove confusing and awkward depth wraparound
7166
7167 2002-09-09  John Levon  <levon@movementarian.org>
7168
7169         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7170
7171         * buffer.h:
7172         * buffer.C: remove getIncludeonlyList()
7173
7174         * paragraph.C:
7175         * lyxfunc.C: remove headers
7176
7177 2002-09-09  Juergen Vigna  <jug@sad.it>
7178
7179         * text.C (getColumnNearX): fix form Michael this is most
7180         probably a cut&paste bug.
7181
7182 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7185
7186         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7187         references, ws changes.
7188
7189         * text2.C (init): update counters after init
7190         (insertParagraph): no need to set counter on idividual paragraphs.
7191         (setCounter): access the counters object in the textclass object
7192         on in the buffer object.
7193         (updateCounters): ditto
7194
7195         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7196         shared_ptr<Counters> to avoid loading counters.h in all
7197         compilation units.
7198         (LyXTextClass): initialize ctrs_
7199         (TextClassTags): add TC_COUNTER, and ...
7200         (Read): use it here.
7201         (CounterTags): new tags
7202         (readCounter): new function
7203         (counters): new funtion
7204         (defaultLayoutName): return a const reference
7205
7206         * counters.C (Counters): remove contructor
7207         (newCounter): remove a couple of unneeded statements.
7208         (newCounter): simplify a bit.
7209         (numberLabel): some small formatting changes.
7210
7211         * buffer.[Ch]: remove all traces of counters, move the Counters
7212         object to the LyXTextClass.
7213
7214 2002-09-06  Alain Castera  <castera@in2p3.fr>
7215
7216         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7217         package to set the horizontal alignment on fixed width columns.
7218
7219         * lyx_sty.C:
7220         * lyx_sty.h: added tabularnewline macro def.
7221
7222         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7223
7224 2002-09-06  John Levon  <levon@movementarian.org>
7225
7226         * LyXAction.C: tooltips for sub/superscript
7227
7228         * MenuBackend.C: a bit more verbose
7229
7230         * lyxfunc.C: tiny clean
7231
7232         * undo_funcs.C: document undo_frozen
7233
7234 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * counters.C (Counters): add missing algorithm counter.
7237
7238         * text2.C (setCounter): lookup the counter with layouts latexname
7239         instead of by section number.
7240         (setCounter): use a hackish way to lookup the correct enum
7241         counter.
7242         a float name->type change
7243         reset enum couners with counter name directly instead of depth value.
7244
7245         * counters.C (Counters): remove the push_backs, change to use the
7246         float type not the float name.
7247         (labelItem): remove unused string, float name->type change
7248
7249         * counters.h: don't include vector, loose the enums and sects vectors
7250
7251 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7254         (Read): add float->TC_FLOAT to textclassTags
7255         (Read): and handle it in the switch
7256         (readFloat): new function
7257
7258         * FloatList.C (FloatList): comment out the hardcoded float
7259         definitions.
7260
7261         * lyxlayout.h: ws change.
7262
7263 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7264
7265         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7266
7267 2002-09-03  Angus Leeming  <leeming@lyx.org>
7268
7269         * BufferView_pimpl.h: qualified name is not allowed in member
7270         declaration: WorkArea & Pimpl::workarea() const;
7271
7272         * factory.C: added using std::endl directive.
7273
7274         * text3.C: added using std::find and std::vector directives.
7275
7276 2002-08-29  André Pönitz <poenitz@gmx.net>
7277
7278         * lyxtext.h:
7279         * text2.C: remove unused member number_of_rows
7280
7281         * Makefile.am:
7282         * BufferView2.C: remove file, move contents to...
7283         * BufferView.C: ... here
7284
7285         * BufferView_pimpl.C:
7286         * factory.C: move more inset creation to factory
7287
7288         * vspace.C: avoid direct usage of LyXText, ws changes
7289
7290         * BufferView.[Ch]:
7291                 don't provide direct access to WorkArea, use two simple
7292                 acessors haveSelction() and workHeight() instead
7293
7294
7295 2002-08-29  John Levon  <levon@movementarian.org>
7296
7297         * BufferView_pimpl.C (dispatch): do not continue when
7298           no buffer
7299
7300 2002-08-28  André Pönitz <poenitz@gmx.net>
7301
7302         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7303
7304         * BufferView.h:
7305         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7306
7307 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7308
7309         * buffer.C: increment LYX_FORMAT to 221
7310
7311         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7312         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7313
7314         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7315
7316         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7317
7318 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7319
7320         * factory.C (createInset): use LyXTextClass::floats
7321
7322         * MenuBackend.C (expandFloatListInsert):
7323         (expandFloatInsert):
7324         (expandToc):
7325
7326         * text2.C (setCounter):
7327
7328         * LaTeXFeatures.C (useFloat):
7329         (getFloatDefinitions):
7330
7331         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7332
7333         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7334         floatlist_, with accessor floats().
7335
7336         * FloatList.h: remove global FloatList
7337
7338 2002-08-26  André Pönitz <poenitz@gmx.net>
7339
7340         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7341
7342         * BufferView.h:
7343         * BufferView2.C:
7344         * BufferView_pimpl.C:
7345         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7346
7347 2002-08-25  John Levon  <levon@movementarian.org>
7348
7349         * LyXAction.C: fix margin note description
7350
7351 2002-08-24  John Levon  <levon@movementarian.org>
7352
7353         * buffer.C:
7354         * bufferlist.C:
7355         * bufferview_funcs.C:
7356         * lyxfont.C:
7357         * undo_funcs.C: cleanups
7358
7359         * lyxfunc.C: disable CUT/COPY when no selection
7360
7361 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7362
7363         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7364         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7365
7366         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7367         Add backward compatibility to "mono", "gray" and "no".
7368
7369 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7370
7371         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7372         (and file_format >= 200).
7373
7374 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7375
7376         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7377
7378 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7381
7382 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7383
7384         * BufferView_pimpl.C:
7385         * LyXAction.C:
7386         * buffer.C:
7387         * commandtags.h:
7388         * lyxfunc.C:
7389         * paragraph.[Ch]:
7390         * text2.C:
7391         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7392         inset and code to make it  work with the paragraph code. The inset
7393         can be anywhere in the paragraph, but will only do the expected
7394         thing in LaTeX if the layout file contains the parameter line
7395                         OptionalArgs    1
7396         (or more generally, a nonzero value) for that layout.
7397
7398 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * paragraph.h: remove the declaration of undefined counters class
7401         function.
7402
7403 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7404
7405         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7406         Dr. Richard Hawkins.
7407
7408 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7409
7410         * paragraph_funcs.h: remove some unneeded includes
7411
7412         * text.C (backspace): pasteParagraph now in global scipe
7413
7414         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7415         (pasteSelection): ditto
7416
7417         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7418         * paragraph_funcs.C (pasteParagraph): ... here
7419
7420 2002-08-20  André Pönitz <poenitz@gmx.net>
7421
7422         * commandtags.h: new LFUNs for swapping/copying table row/colums
7423
7424         * LyXAction.C:
7425         * lyxfunc.C: support for new lfuns
7426
7427 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * tabular.C:
7430         * buffer.[Ch]: remove NO_COMPABILITY stuff
7431
7432 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * boost.C (throw_exception): new file, with helper function for
7435         boost compiled without exceptions.
7436
7437         * paragraph.h:
7438         * lyxlength.C:
7439         * buffer.C:
7440         * ParameterStruct.h:
7441         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7442
7443         * bufferlist.C (emergencyWriteAll): use boost bind
7444
7445         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7446
7447         * text.C: include paragraph_funcs.h
7448         (breakParagraph): breakParagraph is now in global scope
7449
7450         * paragraph_funcs.[Ch]: new files
7451
7452         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7453         global scope
7454
7455         * buffer.C: include paragraph_funcs.h
7456         (insertStringAsLines): breakParagraph is now in global scope
7457
7458         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7459         paragraph_funcs.C
7460
7461         * CutAndPaste.C: include paragraph_funcs.h
7462         (cutSelection): breakParagraphConservative is now in global scope
7463         (pasteSelection): ditto
7464
7465         * buffer.h: declare oprator== and operator!= for
7466         Buffer::inset_iterator
7467
7468         * bufferlist.C (emergencyWrite): don't use fmt(...)
7469
7470         * text3.C: add using std::endl
7471
7472         * BufferView.C (moveCursorUpdate): remove default arg
7473
7474 2002-08-20  André Pönitz <poenitz@gmx.net>
7475
7476         * buffer.[Ch]: move inline functions to .C
7477
7478         * BufferView2.C:
7479         * BufferView_pimpl.C:
7480         * text.C:
7481         * buffer.[Ch]: use improved inset_iterator
7482
7483         * buffer.C:
7484         * paragraph.[Ch]: write one paragraph at a time
7485
7486 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7487
7488         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7489         style if style is not specified.
7490
7491 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7492
7493         * text2.C (setCounter): when searching for right label for a
7494         caption, make sure to recurse to parent insets (so that a caption
7495         in a minipage in a figure float works) (bug #568)
7496
7497 2002-08-20  André Pönitz <poenitz@gmx.net>
7498
7499         * text3.C: new file for LyXText::dispatch() and helpers
7500
7501         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7502
7503         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7504
7505 2002-08-19  André Pönitz <poenitz@gmx.net>
7506
7507         * lyxtext.h:
7508         * text.C: new LyXText::dispatch()
7509
7510         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7511
7512 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7513
7514         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7515
7516         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7517         Hebrew text.
7518
7519 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7520
7521         * Makefile.am: use $(variables) instead of @substitutions@
7522
7523 2002-08-15  André Pönitz <poenitz@gmx.net>
7524
7525         * lyxfunc.C:
7526         * BufferView_pimpl.C: streamlining mathed <-> outer world
7527         interaction
7528
7529         * commandtags.h:
7530         * LyXAction.C: remove unused LFUN_MATH
7531
7532 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7535
7536 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * paragraph.C (Paragraph): reformat a bit
7539         (cutIntoMinibuffer): use builtin InsetList function instad of
7540         doing it manually.
7541         (getInset): ditto
7542
7543         * buffer.C: include boost/bind.hpp, add using std::for_each
7544         (writeFileAscii): use ParagraphList iterators
7545         (validate): use for_each for validate traversal of paragraphs
7546         (getBibkeyList): use ParagraphList iterators
7547         (resizeInsets): use for_each to resizeInsetsLyXText for all
7548         paragraphs.
7549         (getParFromID): use ParagraphList iterators
7550
7551         * BufferView2.C (lockInset): use paragraph list and iterators
7552
7553 2002-08-14  John Levon  <levon@movementarian.org>
7554
7555         * lyxserver.C: remove spurious xforms include
7556
7557 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7558
7559         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7560
7561 2002-08-13  André Pönitz <poenitz@gmx.net>
7562
7563         * LyXAction.[Ch]:
7564         * lyxfunc.C: further cleaning
7565
7566 2002-08-13  André Pönitz <poenitz@gmx.net>
7567
7568         * funcrequest.h: new constructor
7569
7570         * funcrequest.C: move stuff here from .h
7571
7572         * Makefile.am:
7573         * BufferView_pimpl.C:
7574         * LyXAction.C:
7575         * toc.C:
7576         * lyxfunc.C: subsequent changes
7577
7578         * lyxfunc.h: new view() member function
7579
7580         * lyxfunc.C: subsequent changes
7581
7582 2002-08-13  Angus Leeming  <leeming@lyx.org>
7583
7584         * BufferView2.C:
7585         * BufferView_pimpl.C:
7586         * buffer.C:
7587         * converter.C:
7588         * importer.C:
7589         * lyxfunc.C:
7590         * lyxvc.C:
7591         * toc.C:
7592         * vc-backend.C:
7593         changes due to the changed LyXView interface that now returns references
7594         to member variables not pointers.
7595
7596 2002-08-13  Angus Leeming  <leeming@lyx.org>
7597
7598         * WordLangTuple (word, lang_code): return references to strings,
7599         not strings.
7600
7601         * BufferView.h:
7602         * SpellBase.h:
7603         * lyxtext.h: forward-declare WordLangTuple.
7604
7605         * BufferView2.C:
7606         * ispell.C:
7607         * pspell.C:
7608         * text.C: #include "WordLangTuple.h".
7609
7610         * lyxtext.h:
7611         * text.C: (selectNextWordToSpellcheck): constify return type.
7612
7613 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7614
7615         * buffer.C:
7616         * buffer.h:
7617         * lyxtext.h:
7618         * paragraph.C:
7619         * paragraph_pimpl.h:
7620         * text.C:
7621         * text2.C:
7622         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7623         suggested by Angus.
7624         Made updateCounter always count from start of buffer, and removed
7625         second argument (par).
7626         Reverted floats number display to '#'. Perhaps I'll try again when the
7627         code base is sanitized a bit.
7628
7629 2002-08-12  Angus Leeming  <leeming@lyx.org>
7630
7631         * buffer.[Ch] (getLabelList): constify.
7632
7633 2002-08-07  André Pönitz <poenitz@gmx.net>
7634
7635         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7636
7637         * funcrequest.h: extension to keep mouse (x,y) position
7638
7639 2002-08-12  Juergen Vigna  <jug@sad.it>
7640
7641         * BufferView2.C (insertErrors): forbid undo when inserting error
7642         insets.
7643
7644         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7645
7646 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * ParagraphList.[Ch]: new files
7649
7650         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7651
7652         * BufferView2.C (lockInset): ParagraphList changes
7653         * toc.C: ditto
7654         * text2.C: ditto
7655         * bufferlist.C: ditto
7656         * buffer.h: ditto
7657         * buffer.C: ditto
7658
7659 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7662         unused class variable counter_,
7663
7664         * paragraph.[Ch] (getFirstCounter): delete unused function
7665
7666         * counters.C: include LAssert.h
7667         (reset): add a new function with no arg, change other version to
7668         not have def. arg and to not allow empty arg.
7669
7670         * text2.C (setCounter): remove empty arg from call to Counters::reset
7671
7672 2002-08-11  John Levon  <levon@movementarian.org>
7673
7674         * Makefile.am: add WordLangTuple.h
7675
7676 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7679         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7680
7681         * insets/insettext.C: InsetList changes
7682
7683         * graphics/GraphicsSupport.C (operator()): InsetList changes
7684
7685         * toc.C (getTocList): InsetList changes
7686
7687         * paragraph_pimpl.[Ch]: InsetList changes
7688
7689         * paragraph.[Ch]: InsetList changes
7690
7691         * buffer.C (inset_iterator): InsetList changes
7692         (setParagraph): ditto
7693         * buffer.h (inset_iterator): ditto
7694         * iterators.C (operator++): ditto
7695         * iterators.h: ditto
7696
7697         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7698
7699         * InsetList.[Ch]: new files, most InsetList handling moved out of
7700         paragraph.C.
7701
7702         * BufferView2.C (removeAutoInsets): InsetList changes
7703         (lockInset): ditto
7704         (ChangeInsets): ditto
7705
7706 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * paragraph_pimpl.h (empty): new function
7709
7710         * paragraph.[Ch] (empty): new function
7711
7712         * other files: use the new Paragraph::empty function
7713
7714 2002-08-09  John Levon  <levon@movementarian.org>
7715
7716         * lyxtext.h: remove unused refresh_height
7717
7718 2002-08-09  John Levon  <levon@movementarian.org>
7719
7720         * Makefile.am:
7721         * sgml.h:
7722         * sgml.C:
7723         * buffer.C:
7724         * paragraph.h:
7725         * paragraph.C: move sgml char escaping out of paragraph
7726
7727         * paragraph.h:
7728         * paragraph.C: remove id setter
7729
7730         * buffer.C:
7731         * paragraph.C:
7732         * paragraph_pimpl.C: remove dead tex_code_break_column
7733
7734         * bufferview_funcs.C: small cleanup
7735
7736         * lyxfunc.C: remove dead proto
7737
7738         * lyxtext.h: make some stuff private. Remove some dead stuff.
7739
7740         * lyxgluelength.C: make as[LyX]String() readable
7741
7742 2002-08-08  John Levon  <levon@movementarian.org>
7743
7744         * LyXAction.h:
7745         * LyXAction.C:
7746         * MenuBackend.C:
7747         * ToolbarDefaults.C:
7748         * lyxfunc.C:
7749         * lyxrc.C:
7750         * toc.C: lyxaction cleanup
7751
7752 2002-08-08  John Levon  <levon@movementarian.org>
7753
7754         * BufferView2.C: small cleanup
7755
7756         * lyxfind.h:
7757         * lyxfind.C: move unnecessary header into the .C
7758
7759 2002-08-08  John Levon  <levon@movementarian.org>
7760
7761         * funcrequest.h: just tedious nonsense
7762
7763         * lyx_main.h:
7764         * lyx_main.C: cleanups
7765
7766         * buffer.C:
7767         * vspace.C: remove dead header lyx_main.h
7768
7769 2002-08-07  Angus Leeming  <leeming@lyx.org>
7770
7771         * Paragraph.[Ch]:
7772         * paragraph_pimpl.h:
7773         Forward declare class Counters in paragraph.h by moving the ctrs member
7774         variable into Paragraph::Pimpl.
7775         (counters): new method, returning a reference to pimpl_->ctrs.
7776
7777         * text2.C: ensuing changes.
7778
7779 2002-08-07  John Levon  <levon@movementarian.org>
7780
7781         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7782
7783         * BufferView_pimpl.C: announce X selection on double/triple
7784           click
7785
7786         * lyx_main.C: use correct bool in batch dispatch
7787
7788         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7789
7790 2002-08-07  André Pönitz <poenitz@gmx.net>
7791
7792         * funcrequest.h: new class to wrap a kb_action and its argument
7793
7794         * BufferView.[Ch]:
7795         * BufferView_pimpl[Ch]:
7796         * LaTeX.C:
7797         * LyXAction.[Ch]:
7798         * lyxfunc.[Ch]:
7799         * lyxrc.C: subsequent changes
7800
7801
7802 2002-08-07  John Levon  <levon@movementarian.org>
7803
7804         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7805           document options change.
7806
7807 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7808
7809         * counters.[Ch]
7810         * text2.C
7811         * paragraph.[Ch]
7812         * makefile.am: move counters functionality over from
7813         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7814
7815 2002-08-06  John Levon  <levon@movementarian.org>
7816
7817         * WordLangTuple.h: new file for word + language code tuple
7818
7819         * SpellBase.h:
7820         * pspell.h:
7821         * pspell.C:
7822         * ispell.h:
7823         * ispell.C:
7824         * lyxtext.h:
7825         * text.C:
7826         * text2.C:
7827         * BufferView.h:
7828         * BufferView2.C: use WordLangTuple
7829
7830         * layout.h:
7831         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7832
7833 2002-08-06  John Levon  <levon@movementarian.org>
7834
7835         * lyx_main.C: fix cmdline batch handling
7836
7837 2002-08-06  André Pönitz <poenitz@gmx.net>
7838
7839         * lyxrc.C: set default for show_banner to true
7840
7841 2002-08-06  John Levon  <levon@movementarian.org>
7842
7843         * pspell.C: fix a crash, and allow new aspell to work
7844
7845 2002-08-06  John Levon  <levon@movementarian.org>
7846
7847         * lyxfunc.C:
7848         * kbmap.C: small cleanup
7849
7850         * vspace.h:
7851         * vspace.C: add const
7852
7853 2002-08-05  John Levon  <levon@movementarian.org>
7854
7855         * LyXAction.C: back to tabular-insert
7856
7857 2002-08-04  John Levon  <levon@movementarian.org>
7858
7859         * BufferView.h:
7860         * BufferView.C: cosmetic change
7861
7862         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7863
7864         * bufferlist.C:
7865         * buffer.h:
7866         * buffer.C:
7867         * lyxcb.h:
7868         * lyxcb.C:
7869         * lyxserver.C:
7870         * lyxvc.C:
7871         * vc-backend.C:
7872         * BufferView2.C: purge all "Lyx" not "LyX" strings
7873
7874         * lyxcursor.h:
7875         * lyxcursor.C: attempt to add some documentation
7876
7877         * lyxfunc.C:
7878         * commandtags.h:
7879         * LyXAction.C:
7880         * ToolbarDefaults.C:
7881         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7882           merge with LFUN_TABULAR_INSERT
7883
7884         * Makefile.am:
7885         * SpellBase.h:
7886         * ispell.h:
7887         * ispell.C:
7888         * pspell.h:
7889         * pspell.C: split up i/pspell implementations into separate
7890           files, many cleanups
7891
7892         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7893
7894         * text2.C: some cleanup
7895
7896         * lyxfunc.C: don't check for isp_command == "none" any more, it
7897           didn't make any sense
7898
7899 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7900
7901         * counters.[Ch]
7902         * text2.C
7903         * paragraph.[Ch]
7904         * makefile.am: move counters functionality over
7905         from text2.C/paragraph.[Ch] to counters.[Ch], and
7906         make proper C++.
7907 2002-08-02  John Levon  <levon@movementarian.org>
7908
7909         * buffer.C: s/lyxconvert/lyx2lyx/
7910
7911 2002-08-02  Angus Leeming  <leeming@lyx.org>
7912
7913         * lyxlex.C: revert John's change as it breaks reading of the user
7914         preamble.
7915
7916 2002-08-02  Angus Leeming  <leeming@lyx.org>
7917
7918         * importer.C (Import):
7919         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7920         changes due to LyXView::view() now returning a boost::shared_ptr.
7921
7922 2002-08-02  John Levon  <levon@movementarian.org>
7923
7924         * lyxlex.C: small cleanup
7925
7926 2002-08-02  John Levon  <levon@movementarian.org>
7927
7928         * text2.C (status): small cleanup, no logic change
7929
7930 2002-08-01  John Levon  <levon@movementarian.org>
7931
7932         * buffer.h:
7933         * buffer.C (writeFile): don't output alerts, caller
7934           handles this
7935
7936         * bufferlist.C:
7937         * lyx_cb.C: from above
7938
7939         * lyxfunc.C: allow to open non-existent files
7940
7941 2002-07-31  John Levon  <levon@movementarian.org>
7942
7943         * lyxserver.C: don't let incidental errors get
7944           in the way (errno)
7945
7946 2002-07-30  John Levon  <levon@movementarian.org>
7947
7948         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7949
7950 2002-07-30  John Levon  <levon@movementarian.org>
7951
7952         * lyxserver.h:
7953         * lyxserver.C: remove I/O callback too
7954
7955 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7956
7957         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7958         log.
7959
7960 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * many files: strip,frontStrip -> trim,ltrim,rtrim
7963
7964 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * PrinterParams.h: remove extern containsOnly, and include
7967         support/lstrings.h instead.
7968
7969         * LaTeX.C (scanAuxFile): modify because of strip changes
7970         (deplog): ditto
7971         * buffer.C (makeLaTeXFile): ditto
7972         * bufferparams.C (writeFile): ditt
7973         * lyxfont.C (stateText): ditto
7974         * lyxserver.C (read_ready): ditto
7975         * vc-backend.C (scanMaster): ditto
7976
7977         * BufferView_pimpl.h: ws changes
7978
7979         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7980
7981 2002-07-26  André Pönitz <poenitz@gmx.net>
7982
7983         * kb_sequence.C: remove unnedred usings
7984
7985 2002-07-26  Juergen Vigna  <jug@sad.it>
7986
7987         * lyxfind.C (LyXReplace): we have to check better if the returned
7988         text is not of theLockingInset()->getLockingInset().
7989
7990 2002-07-25  Juergen Vigna  <jug@sad.it>
7991
7992         * lyxfind.C (LyXReplace): don't replace if we don't get the
7993         right LyXText.
7994
7995         * undo_funcs.C (createUndo): remove debugging code.
7996
7997 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7998
7999         * buffer.C (parseSingleLyXformat2Token): Use default placement
8000         when reading old floats.
8001
8002         * FloatList.C (FloatList): Change the default placement of figure
8003         and tables to "tbp".
8004
8005 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * MenuBackend.C: using std::max
8008
8009 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * MenuBackend.C (expandToc):
8012         (expandToc2): code moved from xforms menu frontend. It is now
8013         generic and TOCs are transparent to menu frontends.
8014
8015 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8016
8017         * toc.C (getTocList): protect against buf=0
8018
8019         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8020         Menu as first parameter. Now, this calls itself recursively to
8021         expand a whole tree (this will be useful for TOC handling)
8022         (expandFloatInsert): remove 'wide' version of floats
8023
8024         * MenuBackend.h (submenuname): returns the name of the submenu.
8025         (submenu): returns the submenu itself, provided it has been
8026         created by MenuBackend::expand
8027
8028 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8029
8030         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8031         insets which have noFontChange == true. (bug #172)
8032
8033 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * BufferView_pimpl.C: add connection objects and use them...
8036         (Pimpl): here.
8037
8038 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8039
8040         * MenuBackend.C (expandLastfiles):
8041         (expandDocuments):
8042         (expandFormats):
8043         (expandFloatListInsert):
8044         (expandFloatInsert):
8045         (expand): split expand in parts
8046
8047 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * lyx_gui.C: use lyx_gui::exit()
8050
8051 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * LyXAction.C: show the failing pseudo action
8054
8055 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8056
8057         * buffer.C (readFile): Run the lyxconvert script in order to read
8058         old files.
8059
8060 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * LyXAction.C:
8063         * commandtags.h:
8064         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8065
8066 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8067
8068         * LyXAction.C:
8069         * commandtags.h:
8070         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8071
8072 2002-07-22  Herbert Voss  <voss@lyx.org>
8073
8074         * lengthcommon.C:
8075         * lyxlength.[Ch]: add support for the vertical lengths
8076
8077 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * toc.[Ch]: std:: fixes
8080
8081 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8082
8083         * lyxrc.C: do not include lyx_main.h
8084
8085         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8086         for layouts
8087
8088         * lyxrc.C:
8089         * encoding.C:
8090         * bufferlist.C:
8091         * BufferView2.C: include "lyxlex.h"
8092
8093         * tabular.h:
8094         * bufferparams.h: do not #include "lyxlex.h"
8095
8096         * lyxtextclasslist.C (Add): remove method
8097         (classlist): renamed to classlist_
8098
8099         * paragraph_pimpl.C:
8100         * paragraph.C:
8101         * text2.C:
8102         * CutAndPaste.C:
8103         * bufferview_funcs.C:
8104         * bufferlist.C:
8105         * text.C:
8106         * LaTeXFeatures.C:
8107         * buffer.C:
8108         * toc.C (getTocList): use BufferParams::getLyXTextClass
8109
8110         * toc.C (getTocList): use InsetFloat::addToToc
8111
8112         * toc.[Ch]: new files, containing helper functions to handle table
8113         of contents
8114
8115         * lyxfunc.C (dispatch): no need to remove spaces around command
8116         given as a string
8117         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8118         first command of the sequence; it is not very clever, but I do not
8119         have a better idea, actually
8120
8121         * LyXAction.C (LookupFunc): make sure to remove space at the
8122         beginning and end of the command
8123
8124 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8125
8126         * MenuBackend.C (getMenubar): new method: return the menubar of
8127         this menu set
8128         (read): treat differently reading of menu and menubar (in
8129         particular, the menubar has no name now)
8130         (Menu::menubar): remove
8131
8132         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8133         saving is finished
8134
8135 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8136
8137         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8138         a bibitem inset in a RTL paragraph.
8139
8140 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8141
8142         * paragraph_pimpl.C: constify
8143
8144         * BufferView_pimpl.C:
8145         * LaTeX.C:
8146         * lyxfunc.C: fix dispatch in a nicer way
8147
8148 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8149
8150         * lyxfunc.C (dispatch):
8151         * BufferView_pimpl.C:
8152         * BufferView_pimpl.h:
8153         * BufferView.C:
8154         * BufferView.h: rename Dispatch() to dispatch()
8155
8156         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8157
8158         * lyxlayout.C (Read): honor DependsOn tag
8159
8160         * lyxlayout.[Ch] (depends_on): new method
8161
8162         * version.C.in: update lyx_docversion
8163
8164         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8165
8166         * paragraph.C (validate): remove from here...
8167         * paragraph_pimpl.C (validate): ... and move here
8168         (isTextAt): make it const
8169
8170         * buffer.C (getLists): ws cleanup
8171
8172 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8173
8174         * language.C (read): Use iso8859-1 encoding in latex_lang
8175         (this prevents LyX from crashing when using iso10646-1 encoding).
8176
8177 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * text2.C (toggleInset): if cursor is inside an inset, close the
8180         inset and leave cursor _after_ it
8181
8182 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * lyxfunc.C: move minibuffer completion handling out of here
8185
8186 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * BufferView_pimpl.C:
8189         * LaTeX.C: fix dispatch calls
8190
8191 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8192
8193         * text.C (drawChars): Fix Arabic text rendering.
8194
8195 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * LyXAction.C:
8198         * commandtags.h:
8199         * lyxfunc.C: remove message-push/pop
8200
8201         * lyxserver.C:
8202         * lyxfunc.h:
8203         * lyxfunc.C: rationalise some code by removing verboseDispatch
8204           in favour of a bool argument to dispatch()
8205
8206 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8207
8208         * lyx_main.C (init): make sure to read symlinks as absolute paths
8209
8210 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * lyxfunc.h:
8213         * lyxfunc.C: no need for commandshortcut to be a member
8214
8215 2002-07-15  André Pönitz <poenitz@gmx.net>
8216
8217         * converter.C: add support for $$s (scripts from lib/scripts dir)
8218         * lyx_main.C: white space
8219
8220 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * bufferlist.C:
8223         * lyxrc.h:
8224         * lyxrc.C: remove second exit confirmation
8225
8226 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * BufferView.h:
8229         * BufferView.C:
8230         * BufferView2.C:
8231         * BufferView_pimpl.h:
8232         * BufferView_pimpl.C:
8233         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8234
8235 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8236
8237         * MenuBackend.C (expand): add numeric shortcuts to document menu
8238
8239         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8240
8241 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8242
8243         * lyxfont.C (setLyXFamily):
8244         (setLyXSeries):
8245         (setLyXShape):
8246         (setLyXSize):
8247         (setLyXMisc):
8248         (lyxRead):
8249         * debug.C (value):
8250         * buffer.C (asciiParagraph): use ascii_lowercase
8251
8252 2002-07-15  Mike Fabian  <mfabian@suse.de>
8253
8254         * lyxlex_pimpl.C (search_kw):
8255         * lyxlex.C (getLongString):
8256         * converter.h (operator<):
8257         * converter.C (operator<):
8258         * buffer.C (parseSingleLyXformat2Token):
8259         (asciiParagraph):
8260         * ToolbarDefaults.C (read):
8261         * MenuBackend.C (checkShortcuts):
8262         (read):
8263         * LColor.C (getFromGUIName):
8264         (getFromLyXName): use the compare_ascii_no_case instead of
8265         compare_no_case, because in turkish, 'i' is not the lowercase
8266         version of 'I', and thus turkish locale breaks parsing of tags.
8267
8268 2002-07-16  Angus Leeming  <leeming@lyx.org>
8269
8270         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8271         now takes a Buffer const & argument.
8272
8273 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8274
8275         * BufferView.C (resize): check there's a buffer to resize
8276
8277 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * lyxfunc.C: remove dead code
8280
8281         * lyxserver.h:
8282         * lyxserver.C: use lyx_guii::set_read_callback
8283
8284 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8287         an inset in a RTL paragraph.
8288
8289 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * lyxfunc.C: repaint after a font size update
8292
8293 2002-07-15  André Pönitz <poenitz@gmx.net>
8294
8295         * lyxlength.C: inBP should be able to return negative values
8296
8297 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8298
8299         * lyxfunc.C: use lyx_gui::update_fonts()
8300
8301 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8302
8303         * lyxfunc.C: use lyx_gui::update_color()
8304
8305 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * bufferlist.C:
8308         * lyxfunc.h:
8309         * lyxfunc.C:
8310         * lyxrc.h:
8311         * lyxrc.C: remove file->new asks for name option, and let
8312           buffer-new take an argument
8313
8314 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * BufferView_pimpl.C: remove unneeded extra repaint()
8317
8318 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * LyXAction.C: allow command-sequence with NoBuffer
8321
8322         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8323
8324 2002-07-10  Angus Leeming  <leeming@lyx.org>
8325
8326         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8327
8328 2002-07-09  Angus Leeming  <leeming@lyx.org>
8329
8330         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8331
8332 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * lengthcommon.h: whitespace
8335
8336         * lyxfunc.C: update scrollbar after goto paragraph
8337
8338         * lyxtext.h: factor out page break drawing, and fix it so
8339           page break/added space paints as selected nicely
8340
8341 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8342
8343         * BufferView_pimpl.C: add FIXMEs, clean up a little
8344
8345 2002-07-09  André Pönitz <poenitz@gmx.net>
8346
8347         * lyxfont.[Ch]: support for wasy symbols
8348
8349 2002-07-08  André Pönitz <poenitz@gmx.net>
8350
8351         * BufferView_pimpl.C: apply John's patch for #93.
8352
8353 2002-07-05  Angus Leeming  <leeming@lyx.org>
8354
8355         * BufferView_pimpl.C (buffer): generate previews if desired.
8356
8357         * LColor.h: add "preview" to the color enum.
8358
8359         * LColor.C (LColor): add a corresponding entry to the items array.
8360
8361         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8362         with this buffer.
8363
8364 2002-07-05  Angus Leeming  <leeming@lyx.org>
8365
8366         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8367         The body of the code is now in the method that is passed an ostream &
8368         rather than a file name.
8369         Pass an additional only_preamble parameter, useful for the forthcoming
8370         preview stuff.
8371
8372 2002-07-03  André Pönitz <poenitz@gmx.net>
8373
8374         * lyxfunc.C: simplify getStatus() a bit for math stuff
8375
8376 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8377
8378         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8379
8380 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8381
8382         * text.C (changeRegionCase): do not change case of all the
8383         document when region ends at paragraph end (bug #461)
8384
8385 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8386
8387         * paragraph.C (startTeXParParams):
8388         (endTeXParParams): add \protect when necessary
8389
8390 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8391
8392         * BufferView_pimpl.C (workAreaExpose): remove warning
8393
8394 2002-06-27  Angus Leeming  <leeming@lyx.org>
8395
8396         * Makefile.am: add lyxlayout_ptr_fwd.h.
8397
8398 2002-06-26  André Pönitz <poenitz@gmx.net>
8399
8400         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8401
8402 2002-06-25  Angus Leeming  <leeming@lyx.org>
8403
8404         * lyxfunc.C (dispatch): Comment out the call to
8405         grfx::GCache::changeDisplay. The method no longer exists now that the
8406         pixmap generation part of the graphics loader has been moved into
8407         InsetGraphics.
8408
8409 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * text2.C: layout as layout
8412
8413         * text.C: layout as layout
8414
8415         * tabular.C (OldFormatRead): layout as layout
8416
8417         * paragraph_pimpl.C (TeXDeeper): layout as layout
8418         (realizeFont): layout as layout
8419
8420         * paragraph.C (writeFile): layout as layout
8421         (validate): layout as layout
8422         (getFont): layout as layout
8423         (getLabelFont): layout as layout
8424         (getLayoutFont): layout as layout
8425         (breakParagraph): layout as layout
8426         (stripLeadingSpaces): layout as layout
8427         (getEndLabel): layout as layout
8428         (getMaxDepthAfter): layout as layout
8429         (applyLayout): layout as layout
8430         (TeXOnePar): layout as layout
8431         (simpleTeXOnePar): layout as layout
8432         (TeXEnvironment): layout as layout
8433         (layout): layout as layout
8434         (layout): layout as layout
8435
8436         * lyxtextclass.C (compare_name): new functor to work with
8437         shared_ptr, layout as layout
8438         (Read): layout as layout
8439         (hasLayout): layout as layout
8440         (operator): layout as layout
8441         (delete_layout): layout as layout
8442         (defaultLayout): layout as layout
8443
8444         * lyxlayout_ptr_fwd.h: new file
8445
8446         * lyxlayout.C (Read): layout as layout
8447
8448         * lyx_cb.C (MenuInsertLabel): layout as layout
8449
8450         * bufferlist.C (newFile): layout as layout
8451
8452         * buffer.C (readLyXformat2): layout as layout
8453         (parseSingleLyXformat2Token): layout as layout
8454         (insertStringAsLines): layout as layout
8455         (asciiParagraph): layout as layout
8456         (latexParagraphs): layout as layout
8457         (makeLinuxDocFile): layout as layout
8458         (simpleLinuxDocOnePar): layout as layout
8459         (makeDocBookFile): layout as layout
8460         (simpleDocBookOnePar): layout as layout
8461         (getLists): layout as layout
8462
8463         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8464
8465         * CutAndPaste.C (cutSelection): layout as layout
8466         (pasteSelection): layout as layout
8467         (SwitchLayoutsBetweenClasses): layout as layout
8468
8469         * BufferView_pimpl.C (Dispatch): layout as layout
8470         (smartQuote): layout as layout
8471
8472         * BufferView2.C (unlockInset): layout as layout
8473
8474 2002-06-24  André Pönitz <poenitz@gmx.net>
8475
8476         * lyxfunc.C: fix #487
8477
8478 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * lyxrc.h:
8481         * lyxrc.C:
8482         * lyxfunc.C: remove display_shortcuts, show_banner
8483
8484 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * Buffer_pimpl.C: oops, update on resize
8487
8488 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * buffer.C:
8491         * converter.C:
8492         * exporter.C:
8493         * lyxfunc.C:
8494         * BufferView.h:
8495         * BufferView.C: use repaint()
8496
8497         * BufferView_pimpl.h:
8498         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8499           as it's a clearer description. Remove superfluous
8500           redraws.
8501
8502 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8503
8504         * text.C: fix bug 488. Not ideal, but getting
8505           getWord() to work properly for the insets that
8506           matter is more difficult ...
8507
8508 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * BufferView_pimpl.C:
8511         * LyXAction.C:
8512         * commandtags.h:
8513         * lyxfunc.C: remove the six million index lyxfuncs to just
8514           one, and DTRT (bug 458)
8515
8516 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8517
8518         * BufferView.h:
8519         * BufferView.C:
8520         * BufferView_pimpl.h:
8521         * BufferView_pimpl.C: clean up resize() stuff,
8522           and unnecessary updateScreen()s
8523
8524 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8525
8526         * BufferView.h:
8527         * BufferView.C:
8528         * BufferView_pimpl.h:
8529         * BufferView_pimpl.C:
8530         * lyxfind.h:
8531         * lyxfind.C:
8532         * minibuffer.C: remove focus management of workarea,
8533           not needed. Use screen's greyOut()
8534
8535 2002-06-17  Herbert Voss  <voss@lyx.org>
8536
8537         * converter.C: (convert) do not post a message, when converting
8538         fails, let the calling function decide what to do in this case
8539
8540 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * lyxfunc.C: tidy up a little
8543
8544 2002-06-16    <alstrup@diku.dk>
8545
8546         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8547         Got rid of FORMS_H_LOCATION include. Now we are
8548         GUII.
8549
8550 2002-06-15  LyX Development team  <lyx@rilke>
8551
8552         * buffer.[Ch] (sgmlOpenTag):
8553         (sgmlCloseTag): Added support for avoiding pernicious mixed
8554         content. Return number of lines written.
8555
8556         (makeLinuxDocFile):
8557         (makeDocBookFile): Fixed calls to sgml*Tag.
8558         Simple white space clean.
8559
8560         (simpleDocBookOnePar): Simple white space clean.
8561
8562         * tabular.[Ch] (docBook): Renamed to docbook and got another
8563         argument to related with the pernicious mixed content.
8564
8565         (docbookRow): Fixed calls for docbook inset method.
8566
8567 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8568
8569         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8570         so it's X11 independent.
8571
8572         * kb*.[Ch]: ditto.
8573
8574         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8575
8576 2002-06-15  Lyx Development team  <lyx@electronia>
8577
8578         * intl.h: Renamed getTrans to getTransManager.
8579
8580 2002-06-14  Angus Leeming  <leeming@lyx.org>
8581
8582         * Makefile.am: nuke forgotten stl_string_fwd.h.
8583
8584 2002-06-12  Angus Leeming  <leeming@lyx.org>
8585
8586         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8587
8588 2002-06-13  Angus Leeming  <leeming@lyx.org>
8589
8590         * LaTeX.C:
8591         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8592
8593 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8594
8595         * kbmap.C (getiso): add support for cyrillic and greek
8596
8597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8598
8599         * BufferView.h:
8600         * BufferView.C:
8601         * BufferView_pimpl.h:
8602         * BufferView_pimpl.C: move bogus scrolling logic
8603           to xforms
8604
8605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * lyxfunc.C:
8608         * BufferView_pimpl.C: view->resize() change
8609
8610 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * BufferView_pimpl.C: topCursorVisible
8613           prototype change
8614
8615 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8616
8617         * Makefile.am:
8618         * lyx_gui.h:
8619         * lyx_gui.C: move to frontends/
8620
8621         * main.C:
8622         * lyx_main.h:
8623         * lyx_main.C: changes from above
8624
8625 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8626
8627         * intl.C:
8628         * intl.h:
8629         * kbmap.C:
8630         * kbsequence.C:
8631         * lyx_cb.C:
8632         * lyx_main.C: minor tidy
8633
8634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * BufferView_pimpl.h:
8637         * BufferView_pimpl.C:
8638         * BufferView.h:
8639         * BufferView.C: make painter() const,
8640           remove dead code
8641
8642         * BufferView2.C: use screen() accessor
8643
8644         * lyx_main.h:
8645         * lyx_main.C: some minor cleanup
8646
8647 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * BufferView_pimpl.h:
8650         * BufferView_pimpl.C: remove enter/leaveView,
8651           use workHeight()
8652
8653 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8654
8655         * BufferView.h:
8656         * BufferView.C:
8657         * BufferView2.C:
8658         * BufferView_pimpl.h:
8659         * BufferView_pimpl.C: only construct screen once,
8660           rename
8661
8662         * lyxrc.C: remove pointless comment
8663
8664 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * BufferView.h:
8667         * BufferView.C: remove active() and belowMouse()
8668
8669         * BufferView_pimpl.h:
8670         * BufferView_pimpl.C: use workarea() not workarea_,
8671           and make it use a scoped_ptr instead
8672
8673 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8674
8675         * lyx_gui.C: add debug message on BadWindow
8676
8677 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * sp_spell.C: fdopen is not part of the C++ standard.
8680
8681         * paragraph.C (InsetIterator): use >= instead of ==
8682
8683 2002-06-07  Angus Leeming  <leeming@lyx.org>
8684
8685         Fixes needed to compile with Compaq cxx 6.5.
8686         * BufferView_pimpl.C:
8687         * DepTable.C:
8688         * buffer.C:
8689         * converter.C:
8690         * encoding.C:
8691         * lyx_gui.C:
8692         * lyx_main.C:
8693         * lyxtextclasslist.C:
8694         * minibuffer.C:
8695         * sp_spell.C:
8696         * tabular_funcs.C:
8697         * vc-backend.C:
8698         all c-library variables have been moved into namespace std. Wrap
8699         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8700
8701         * lyxlength.C:
8702         * tabular-old.C:
8703         * tabular.C:
8704         Add a using std::abs declaration.
8705
8706         * kbmap.h (modifier_pair):
8707         * paragraph.h (InsetTable, InsetList):
8708         * lyxfont.h (FontBits):
8709         type definition made public.
8710
8711         * bufferlist.C (emergencyWriteAll): the compiler complains that
8712         there is more than one possible lyx::class_fun template to choose from.
8713         I re-named the void specialisation as lyx::void_class_fun.
8714
8715         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8716
8717         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8718         the compiler is is unable to find tostr in write_attribute.
8719
8720 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * buffer.C (sgmlError): hide #warning
8723
8724 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * xtl/*: get rid of xtl, which is not in use anyway
8727
8728         * LyXAction.C (init):
8729         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8730         were unimplemented xtl experimentation
8731
8732 2002-06-04  André Pönitz <poenitz@gmx.net>
8733
8734         * lyxfunc.C: disable array operation on simple formulae
8735
8736 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8737
8738         * converter.C: constify a bit
8739
8740 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8741
8742         * lyx_gui.C: check xforms version correctly
8743
8744 2002-04-30  Herbert Voss  <voss@lyx.org>
8745
8746         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8747         "keep" option
8748
8749 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8752           attempt to register it with a VCS)
8753
8754 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * lyx_main.C (init): honor variables LYX_DIR_13x and
8757         LYX_USERDIR_13x
8758
8759 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8760
8761         * buffer.h:
8762         * buffer.C:
8763         * lyx_main.C: fix a crash on bad command line,
8764           and give a useful exit status on error
8765
8766         * lyxfunc.C (doImport): allow -i lyx to work
8767
8768 2002-03-30  André Pönitz <poenitz@gmx.net>
8769
8770         * lyxfunc.C: mathed font changes
8771
8772 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8773
8774         * LaTeX.C:
8775         * importer.h:
8776         * importer.C:
8777         * lyx_sty.h:
8778         * lyx_sty.C:
8779         * lyxlex.C:
8780         * lyxrow.h:
8781         * lyxtext.h:
8782         * paragraph.h:
8783         * paragraph.C:
8784         * texrow.h:
8785         * texrow.C:
8786         * text.C:
8787         * trans_mgr.h: srcdocs, and some minor cleanups
8788
8789 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8792         call getFont all the time)
8793
8794 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8795
8796         * switch from SigC signals to boost::signals
8797
8798 2002-05-29  André Pönitz <poenitz@gmx.net>
8799
8800         * paragraph_pimpl.C (getChar): don't call size() too often...
8801
8802 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8803
8804         * paragraph_pimpl.C (insertChar): do not try to update tables when
8805         appending (pos == size())
8806
8807         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8808         in order to reduce drastically the number of comparisons needed to
8809         parse a large document
8810
8811 2002-05-29  André Pönitz <poenitz@gmx.net>
8812
8813         * text.C:
8814         * text2.C:
8815         * lyxtextclass.C:
8816         * sp_pspell.h:
8817         * textclasslist.[Ch]:
8818         * sp_ispell.h: whitespace change
8819
8820 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8821
8822         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8823         lyxaction directly now.
8824
8825 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * trans.C:
8828         * lyxfont.C:
8829         * lyxvc.C: remove unused headers
8830
8831 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * Makefile.am:
8834         * buffer.h:
8835         * undostack.h:
8836         * undostack.C:
8837         * undo_funcs.h:
8838         * undo_funcs.C: some cleanups. Use shared_ptr
8839           and a template for the undo stacks.
8840
8841 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8842
8843         * BufferView_pimpl.h:
8844         * BufferView_pimpl.C:
8845         * kbmap.h:
8846         * kbmap.C:
8847         * kbsequence.h:
8848         * kbsequence.C:
8849         * lyxfunc.h:
8850         * lyxfunc.C:
8851         * text2.C: use key_state/mouse_state
8852
8853 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8854
8855         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8856         and LSubstring
8857
8858         * chset.C: change include order
8859         (loadFile): use boost regex and get rid of LRegex and LSubstring
8860
8861         * Makefile.am (BOOST_LIBS): new variable
8862         (lyx_LDADD): use it
8863
8864         * LaTeX.C: change include order.
8865         (scanAuxFile): use boost regex and get rid of LRegex and
8866         LSubstring
8867         (deplog): ditto
8868
8869 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * ColorHandler.h:
8872         * ColorHandler.C:
8873         * FontInfo.h:
8874         * FontInfo.C: moved to frontends/xforms/
8875
8876         * FontLoader.h:
8877         * FontLoader.C: moved into frontends for GUIIzation
8878
8879         * Makefile.am:
8880         * lyx_gui.C:
8881         * lyxfont.C:
8882         * lyxfunc.C: changes from above
8883
8884 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * LColor.C: remove spurious X include
8887
8888         * BufferView_pimpl.C:
8889         * Makefile.am:
8890         * font.h:
8891         * font.C:
8892         * text.C:
8893         * text2.C: move font metrics to frontends/
8894
8895 2002-05-24  Juergen Vigna  <jug@sad.it>
8896
8897         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8898         setting the undo_cursor.
8899
8900         * ParagraphParameters.h: include local includes first.
8901
8902 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * BufferView_pimpl.C:
8905         * BufferView_pimpl.h:
8906         * Makefile.am:
8907         * WorkArea.h:
8908         * WorkArea.C:
8909         * screen.C: move WorkArea into frontends/
8910
8911         * lyxscreen.h:
8912         * screen.C:
8913         * text.C:
8914         * BufferView.C:
8915         * BufferView2.C: move LyXScreen into frontends/
8916
8917         * lyxlookup.h:
8918         * lyxlookup.C:
8919         * lyx_gui.C: move lyxlookup into frontends/xforms/
8920
8921 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8922
8923         * BufferView2.C:
8924         * BufferView_pimpl.C:
8925         * FontLoader.C:
8926         * LyXView.h:
8927         * LyXView.C:
8928         * Makefile.am:
8929         * WorkArea.C:
8930         * XFormsView.h:
8931         * XFormsView.C:
8932         * buffer.C:
8933         * bufferlist.C:
8934         * bufferview_funcs.C:
8935         * converter.C:
8936         * importer.C:
8937         * lyx_cb.C:
8938         * lyx_gui.C:
8939         * lyx_main.C:
8940         * lyx_find.C:
8941         * lyxfunc.C:
8942         * lyxvc.C:
8943         * minibuffer.C:
8944         * text.C:
8945         * text2.C:
8946         * trans.C:
8947         * vc-backend.C: move LyX/XFormsView into frontends/
8948
8949 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * Makefile.am:
8952         * PainterBase.C:
8953         * PainterBase.h:
8954         * Painter.C:
8955         * Painter.h:
8956         * WorkArea.C:
8957         * WorkArea.h:
8958         * screen.C:
8959         * tabular.C:
8960         * text.C:
8961         * text2.C: move Painter to frontends/
8962
8963 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8964
8965         * buffer.C: comment out some some code that depend upon lyx_format
8966         < 220
8967
8968         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8969         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8970
8971         * buffer.h (NO_COMPABILITY): turn off compability
8972
8973         * ColorHandler.C: include scoped_array.hpp
8974
8975         * font.C: Use more specific smart_ptr header.
8976         * Painter.C: ditto
8977         * gettext.C: ditto
8978         * ShareContainer.h: ditto
8979         * lyx_main.h: ditto
8980         * kbmap.h: ditto
8981         * FontInfo.h: ditto
8982         * BufferView_pimpl.h: ditto
8983         * ColorHandler.h: ditto
8984
8985         * kbmap.C (defkey): change call to shared_ptr::reset
8986
8987 2002-05-21  Juergen Vigna  <jug@sad.it>
8988
8989         * buffer.C (insertErtContents): fix to insert ert asis if it is
8990         non empty. Skip it completely if it contains only whitespaces.
8991
8992 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * BufferView_pimpl.C:
8995         * BufferView2.C: clear selection on paste (bug 393)
8996
8997 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * DepTable.C: include ctime
9000
9001 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9004
9005 2002-05-14  Juergen Vigna  <jug@sad.it>
9006
9007         * text.C (breakParagraph): fixed function to honor the keepempty
9008         layout in the right maner and also to permit the right breaking
9009         algorithm on empty or non empyt keepempty paragraphs.
9010
9011         * paragraph.C (breakParagraph): we have to check also if the par
9012         is really empty (!size()) for isempty otherwise we do the wrong
9013         paragraph break.
9014
9015 2002-05-10  Juergen Vigna  <jug@sad.it>
9016
9017         * buffer.[Ch] : The following are only changes to the ert
9018         compatibility read reading old LaTeX layout and font stuff and
9019         convert it to ERTInsets.
9020
9021         * buffer.h: added isErtInset().
9022
9023         * buffer.C (struct ErtComp): add a fromlayout bool to check
9024         if we're inside a LaTeX layout.
9025         (isErtInset): new helper function.
9026         (insertErtContents): look for other ert insets before this one
9027         and insert the contents there, so that we don't have subsequent
9028         ERT insets with nothing between them. This way we create only one
9029         inset with multiple paragraphs. Also check if we don't insert only
9030         spaces ' ' as they are ignored anyway afterwards in the .tex file
9031         so if we have only spaces we will ignore this latex part in the
9032         new file.
9033         (parseSingleLyXformat2Token \\layout): better compatibility when
9034         reading layout-latex stuff.
9035         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9036         language tag.
9037         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9038         stuff after reading the inset only get the information back from
9039         the stack.
9040
9041 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9042
9043         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9044
9045         * LaTeXFeatures.C (getBabelOptions): New method.
9046
9047 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9048
9049         * BufferView_pimpl.C (Dispatch): work around missing argument for
9050         'layout'
9051
9052 2002-05-08  Juergen Vigna  <jug@sad.it>
9053
9054         * text.C (leftMargin): handle paragraph leftindent.
9055
9056         * paragraph.C (writeFile): write the new \\leftindent tag.
9057         (validate): handle leftindent code.
9058         (TeXEnvironment): handle paragraphleftindent code again.
9059
9060         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9061
9062         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9063         for paragrap_extra indent code and new token \\leftindent.
9064         (latexParagraphs): handle the leftindent as environment.
9065
9066         * ParameterStruct.h: added leftindent support.
9067
9068         * ParagraphParameters.C (leftIndent): added support functions for
9069         the paragraph left indent.
9070
9071         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9072         more appropriate.
9073
9074 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9077         inside insetERT.
9078
9079         * text.C (computeBidiTables): No bidi in insetERT.
9080
9081         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9082         in RTL documents.
9083
9084 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9085
9086         * version.C.in: pre 5
9087
9088 2002-05-02  José Matos  <jamatos@fep.up.pt>
9089         * buffer.C (makeDocBookFile): white space changes, add newline to
9090         command styles.
9091         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9092
9093         * tabular.C (docBook): fix typo.
9094
9095 2002-05-03  Juergen Vigna  <jug@sad.it>
9096
9097         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9098         change in LyXText as we can not be sure it was not freed.
9099         (drawOneRow): remove unused code.
9100
9101         * text.C (drawInset): redo the calculation of the need_break_row as
9102         it could have a row which was already freed.
9103         (draw): look at the return value of drawInset and return false if
9104         it also returned false.
9105         (paintRowText): look at the return value of draw and return false if
9106         it also returned false.
9107
9108         * lyxtext.h: added bool return type to drawInset() and draw() so that
9109         if we have a change in the row so that the rowbreak has to be redone
9110         we abort drawing as it will be called again.
9111
9112 2002-05-02  Juergen Vigna  <jug@sad.it>
9113
9114         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9115         a change in the maintext also if we're inside an inset.
9116         (Dispatch): set the cursor again after a break line and after the
9117         screen has been updated as it could be we're in a different row.
9118
9119         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9120         to set the cursor behind the pargraph with > size().
9121         (setCursor): check also for the same paragraph when checking where
9122         to put the cursor if we have a NFR inset.
9123
9124         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9125         parts of layout read further up as it still was in the wrong
9126         position.
9127
9128 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9129
9130         * screen.C (drawFromTo): change sine fullRebreak always return
9131         true.
9132
9133         * buffer.C (parseSingleLyXformat2Token): reindent some
9134
9135         * BufferView_pimpl.C (update): change since fullRebreak always
9136         return true.
9137         (Dispatch): git rid of the last hardcoded "Standard"s.
9138
9139 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9140
9141         * text2.[Ch] (fullRebreak): make it return void now that we always
9142         returned true.
9143
9144 2002-04-30  Juergen Vigna  <jug@sad.it>
9145
9146         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9147         ert compatibility check for "latex" layout.
9148
9149 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9150
9151         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9152         minipages: use col% instead of p%, and also use the current font.
9153         (makeLaTeXFile): Fix use babel condition.
9154         (parseSingleLyXformat2Token): Correct font when reading old floats.
9155
9156 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9159         inserting list of floats.
9160
9161 2002-04-25  Herbert Voss  <voss@lyx.org>
9162
9163         * MenuBackend.C (expand): don't add the graphics extensions to the
9164         export menu
9165
9166 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9169         non-existing layout, do not complain if it was the default layout
9170         of the original class (bug #342)
9171
9172 2002-04-24  Juergen Vigna  <jug@sad.it>
9173
9174         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9175         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9176
9177 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9178
9179         * buffer.C (getBibkeyList): If using \bibliography, return the
9180         option field with the reference itself. Enables us to provide natbib
9181         support when using \bibliography.
9182
9183 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9184
9185         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9186
9187         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9188         natbib is provided by the LaTeX class.
9189
9190 2002-04-23  Juergen Vigna  <jug@sad.it>
9191
9192         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9193         Wakeup functions.
9194
9195         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9196
9197 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9200
9201         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9202         ensuremath around textordmasculine, textordfeminine and
9203         textdegree.
9204
9205 2002-04-19  Juergen Vigna  <jug@sad.it>
9206
9207         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9208         reinitializing the buffer otherwise row-dimensions may be wrong.
9209         (update): reset also the selection cursors if they do exits otherwise
9210         their x/y positions may be wrong.
9211
9212         * text2.C (cursorDown): don't enter the inset if we came from a row
9213         above and are one row over the inset.
9214
9215         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9216         really leaving an inset.
9217
9218 2002-04-18  Juergen Vigna  <jug@sad.it>
9219
9220         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9221         of the selected paragraph does not have the selected layout also if
9222         the last one had!
9223
9224         * text2.C (setLayout): fixed bug which did not change last selected
9225         paragraph.
9226
9227         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9228         changed the read and substituted \\end_float with \\end_inset!
9229
9230         * BufferView_pimpl.C (cursorPrevious):
9231         (cursorNext): fixed to make it work with rows heigher than the work
9232         area without moving the cursor only the draw of the row.
9233         (workAreaMotionNotify): fix jumping over high rows.
9234
9235 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9238         Ressler.
9239
9240 2002-04-16  Juergen Vigna  <jug@sad.it>
9241
9242         * text2.C (setCursor): set also the irow().
9243         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9244         (cursorUp):
9245         (cursorDown): support for locking an inset if the x_fix value goes
9246         inside it. That way I can transverse insets too with cursor up/down.
9247
9248         * lyxrow.h: added irow helper function same as other (i) functions.
9249
9250         * BufferView_pimpl.C (cursorPrevious):
9251         (cursorNext): fixed for insets!
9252
9253 2002-04-15  Juergen Vigna  <jug@sad.it>
9254
9255         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9256         position otherwise it is wrong in some cases.
9257
9258         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9259         inside the inset before the call.
9260
9261 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9262
9263         * buffer.[Ch] (getBibkeyList): make it const.
9264
9265 2002-04-12  Juergen Vigna  <jug@sad.it>
9266
9267         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9268
9269         * text2.C (getCursorX): new helper function
9270         (setCursor): compute also ix_
9271         (setCursorFromCoordinates): set also ix.
9272
9273         * lyxcursor.h: added ix_ and helper functions.
9274
9275         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9276
9277         * buffer.C (insertStringAsLines): dont break paragraph if the this
9278         paragraph is inside an inset which does not permit it!
9279
9280         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9281         also with no chars on this paragraph.
9282         (paintRowText): only paint stuff if it's inside the workarea!
9283
9284         * paragraph.C (breakParagraph): honor keepempty flag and break the
9285         paragraph always below not above.
9286
9287         * BufferView2.C (unlockInset): update the paragraph layout on inset
9288         unlock as we changed paragraph in such a case.
9289
9290         * lyxfind.C (LyXFind): clear the former selection if not found!
9291
9292         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9293         again called in insertChar().
9294
9295         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9296         an inset which uses the whole row!
9297         (rightMargin): ditto.
9298         (insertChar): force a rebreak if we inserted an inset!
9299
9300 2002-03-28  Herbert Voss  <voss@lyx.org>
9301
9302         * lyxlength.[Ch]: add inBP() to get the right PS-point
9303         units (BigPoint). With inPixels we have rounding errors
9304
9305 2002-04-11  Juergen Vigna  <jug@sad.it>
9306
9307         * text2.C (setCursorFromCoordinates): set iy to the right value.
9308         (setCursor): add check if row->previous exists!
9309
9310         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9311         an old float_type as this was the case in the old code!
9312
9313         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9314
9315         * BufferView2.C (showLockedInsetCursor): use iy
9316         (fitLockedInsetCursor): ditto
9317
9318         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9319         locked insets as there we have the right value now.
9320
9321         * lyxcursor.C: added iy_ variable and iy functions to set to the
9322         baseline of cursor-y of the locked inset.
9323
9324         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9325         (setCursor): fixed for insets which need a full row.
9326
9327         * text.C (rowLastPrintable): don't ignore the last space when before
9328         an inset which needs a full row.
9329         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9330         as last character of a row when before a inset which needs a full row.
9331
9332 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * version.C.in: update date
9335
9336         * text2.C (fullRebreak): try to always return true and see what
9337         happens...
9338
9339 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * MenuBackend.C (expand): use Floating::listName
9342
9343         * FloatList.C (FloatList): add listName argument to the built-in
9344         floats
9345
9346         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9347         text associated with the float.
9348
9349 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9352
9353 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9354
9355         * ShareContainer.h: add a couple of missing typenames.
9356
9357 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * lyxrc.C (getDescription): use _() correctly rather than N_().
9360
9361 2002-03-28  Herbert Voss  <voss@lyx.org>
9362
9363         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9364         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9365
9366 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9367
9368         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9369         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9370
9371 2002-03-29  Juergen Vigna  <jug@sad.it>
9372
9373         * lyxfunc.C (dispatch): add a missing fitCursor call.
9374
9375         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9376         it was scrolled by a cursor move, so return the bool status.
9377
9378         * BufferView.C (fitCursor): return the bool flag also to the outside
9379         world as this is needed.
9380
9381         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9382
9383         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9384         call the edit() as it is not needed (and wrong) IMO.
9385         (workAreaButtonPress): set the screen_first variable before evt.
9386         unlock the inset as this may change screen_first and then we have
9387         a wrong y position for the click!
9388
9389 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9390
9391         * MenuBackend.C (expand): another translation that I missed
9392
9393 2002-03-28  Juergen Vigna  <jug@sad.it>
9394
9395         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9396
9397         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9398
9399 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9402
9403         * MenuBackend.C (expand): fix export/view/update when there is no
9404         document open.
9405
9406 2002-03-27  Herbert Voss  <voss@lyx.org>
9407
9408         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9409         and text%
9410
9411 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * bufferview_funcs.C (currentState): only show paragraph number
9414         for is DEVEL_VERSION is set.
9415
9416         * lyxfunc.C (dispatch): put warning in INFO channel
9417
9418         * MenuBackend.C (expand): translate the name of floats
9419
9420         * FloatList.C (FloatList): mark the float names for translation
9421
9422         * converter.C (convert): use LibScriptSearch
9423
9424 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * MenuBackend.C (defaults): fix default menu (we might as well get
9427         rid of it...)
9428
9429 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9430
9431         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9432         directory.
9433
9434 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9435
9436         * lyxvc.C: reorder includes.
9437
9438 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9439
9440         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9441           properly
9442
9443 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * CutAndPaste.C: change layouts earlier on paste
9446           to avoid crashing when calling getFont()
9447
9448 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9449
9450         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9451         irritating #error.
9452
9453 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9454
9455         * WorkArea.C: remove 'Pending' debug message.
9456
9457         * most files: ws cleanup
9458
9459         * buffer.[Ch]: ws changes
9460
9461         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9462
9463 2002-03-21  Juergen Vigna  <jug@sad.it>
9464
9465         * tabular.C (SetMultiColumn): collapse also the contents of the
9466         cells and set the last border right. Added a Buffer const * param.
9467
9468 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9471         linking or not.
9472
9473 2002-03-19  Juergen Vigna  <jug@sad.it>
9474
9475         * text2.C (clearSelection): reset also xsel_cache.
9476
9477         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9478         where it needs to be called (John tells us to do so too :)
9479         (selectionLost): reset sel_cache.
9480
9481         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9482
9483 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * text2.C (setCursorIntern): put debuging code in INSETS channel
9486
9487 2002-03-19  André Pönitz <poenitz@gmx.net>
9488
9489         * lyxfunc.C: tiny whitespace change
9490
9491 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9492
9493         * ToolbarDefaults.C (init):
9494         * LyXAction.C (init):
9495         * commandtags.h:
9496         * BufferView_pimpl.C (Dispatch):
9497         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9498
9499 2002-03-19  Allan Rae  <rae@lyx.org>
9500
9501         * exporter.C (Export): removeAutoInsets before doing anything else.
9502         While I've just introduced a dependency on BufferView this really is
9503         the best place to clean the buffer otherwise you need to cleanup in
9504         a dozen places before calling export or cleanup in a dozen functions
9505         that export calls.
9506
9507         * converter.C (runLaTeX):
9508         (scanLog): Better handling of removeAutoInsets and screen updates.
9509
9510         * lyxfunc.C (dispatch): small whitespace changes
9511
9512 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9513
9514         * WorkArea.C (C_WorkAreaEvent): return a value.
9515         (event_cb): return 1 if we handled the event, 0 otherwise.
9516
9517         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9518
9519 2002-03-18  Juergen Vigna  <jug@sad.it>
9520
9521         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9522         (GetAdditionalWidth): ditto.
9523         (RightLine): ditto.
9524         (LeftLine): ditto.
9525
9526         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9527         inset if we're there actually (probably not used right now but this
9528         is the direction to go for unifying code).
9529         (paste): disable code to clear the selection.
9530
9531         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9532         inside an InsetText and move the check further up as it is in the
9533         wrong place.
9534
9535         * text2.C (pasteSelection): set a selection over the pasted text.
9536
9537 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9538
9539         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9540         and libgraphics to build on Cygwin.
9541
9542 2002-03-15  Juergen Vigna  <jug@sad.it>
9543
9544         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9545         inserting an Inset into the paragraph. I know this is not the best
9546         fix but we already use current_view in CutAndPaste so we will remove
9547         all of it's using at the same time.
9548
9549         * buffer.C (sgmlError): deactivated function till it is rewritten in
9550         the right mode, now it can create problems.
9551
9552         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9553         before accessing it.
9554
9555 2002-03-14  Juergen Vigna  <jug@sad.it>
9556
9557         * undo_funcs.C (textHandleUndo): do the right thing when updating
9558         the inset after the undo/redo.
9559
9560         * text2.C (setCursor): just some testcode for #44 not ready yet.
9561
9562         * undo_funcs.C (textHandleUndo): set the next() and previous()
9563         pointers of the paragraph to 0 before deleting otherwise we have
9564         problems with the Paragraph::[destructor].
9565
9566         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9567         on a paragraph insertion.
9568
9569 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * buffer.C (asciiParagraph): use += operator for char append to
9572         string.
9573
9574         * paragraph.C (getFontSettings): compare >= not just >
9575         (highestFontInRange): ditto
9576         (setFont): ditto
9577
9578 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9579
9580         * paragraph.C: change several algorithm to be more appripriate for
9581         the problem domain. This is lookip in FontList and in the InsetList.
9582
9583 2002-03-13  André Pönitz <poenitz@gmx.net>
9584
9585         * commandtags.h:
9586         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9587
9588 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9589
9590         * commandtags.h:
9591         * LyXAction.C:
9592         * lyxfunc.C:
9593         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9594
9595 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * Painter.C (display): anon helper function, adjust code for this
9598         change.
9599         (pixmap): remove function.
9600
9601         * Painter.h: remove private display variable.
9602
9603         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9604
9605 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9606
9607         * WorkArea.[Ch]: remove figinset_canvas cruft.
9608
9609 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9610
9611         * lyxtextclass.C (operator): add one item cache optimization.
9612
9613         * bufferlist.h: doxy changes
9614
9615         * bufferlist.C: ws changes
9616
9617         * DepTable.[Ch] (ext_exist): place const in the right spot.
9618
9619         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9620         call resizeInsets.
9621         (workAreaExpose): call resizeInsets when the with BufferView changes.
9622         (Dispatch): adjust for protectedBlank removal
9623         (specialChar): call updateInset if the insert went ok.
9624
9625         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9626         specialChar instead.
9627
9628         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9629
9630         * BufferView.h: doxy change
9631
9632         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9633
9634         * lyxtextclass.C (operator[]): remove non-const version
9635         (defaultLayout): remove non-const version
9636
9637 2002-03-12  Juergen Vigna  <jug@sad.it>
9638
9639         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9640         did resize the LyXText too.
9641
9642         * buffer.C (readLyXformat2): set layout information on newly allocated
9643         paragraphs.
9644
9645         * tabular.C (OldFormatRead): set layout information on the paragraph.
9646
9647 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9648
9649         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9650
9651 2002-03-11  Juergen Vigna  <jug@sad.it>
9652
9653         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9654         plainly wrong.
9655         (resizeCurrentBuffer): force also the insets to resize themselfes.
9656         (moveCursorUpdate): fixed up for InsetText.
9657
9658 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9659
9660         * commandtags.h:
9661         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9662         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9663         value of Dialogs::tooltipsEnabled().
9664         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9665
9666 2002-03-08  Juergen Vigna  <jug@sad.it>
9667
9668         * BufferView_pimpl.C (updateInset): update inset inside inset also
9669         if it isn't inside theLockingInset().
9670
9671 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9672
9673         * buffer.C (asciiParagraph): redo some of the word and line length
9674         handling.
9675         (getLists): look for Caption instead of caption.
9676
9677 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * buffer.C (Buffer): initialize niceFile to true
9680         (makeLaTeXFile):
9681         (makeLinuxDocFile):
9682         (makeDocBookFile): make sure niceFile is true on exit
9683
9684 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9687
9688 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9689
9690         * LyXSendto.C: remove.
9691         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9692         * lyx_gui.C: remove now-redundant comment.
9693         * ColorHandler.h: remove forward declaration of class WorkArea.
9694         * lyxfunc.C: remove #include "WorkArea.h".
9695
9696 2002-03-07  Juergen Vigna  <jug@sad.it>
9697
9698         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9699         got moved away with the DEPM and also set the inset_owner always
9700         right which before could have been omitted.
9701
9702 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9705         wanted layout is not found.
9706
9707 2002-03-07  Juergen Vigna  <jug@sad.it>
9708
9709         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9710
9711 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * paragraph.C (breakParagraph): use default layout not layout of
9714         prev paragraph.
9715         (Paragraph): clear ParagraphParameters.
9716
9717 2002-03-06  Juergen Vigna  <jug@sad.it>
9718
9719         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9720         otherwise it would not be a valid lenght. Fixed a special case in
9721         the minipage compatibility read where we end the document with a
9722         minipage.
9723
9724         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9725         was set as it could be 0 for InsetTexts first entry.
9726
9727 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * paragraph.C (writeFile): if layout is empty write out
9730         defaultLayoutName().
9731
9732         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9733         file without named layout we set layout to defaultLayoutName().
9734
9735 2002-03-06  Juergen Vigna  <jug@sad.it>
9736
9737         * CutAndPaste.C (copySelection): set layout for new paragraph.
9738
9739         * text.C (prepareToPrint): leave ERT inset left aligned
9740         (leftMargin): don't indent paragraphs inside ERT insets
9741
9742 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9743
9744         * paragraph.C (breakParagraph): dont call clear do the work manually
9745
9746         * paragraph.[Ch] (clear): remove function
9747
9748 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9749
9750         * paragraph.C (Paragraph): dont call clear, the work has already
9751         been done.
9752
9753         * lyxtextclass.C (operator): assert if n is empty
9754
9755         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9756         work manually instead.
9757
9758 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * BufferView_pimpl.C: protect selectionLost against text == 0
9761
9762 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9763
9764         * text.C (breakParagraph): fix a setting layout to '0' problem.
9765
9766 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9767
9768         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9769         final location of file, for the included files, and graphics.
9770
9771 2002-03-05  Juergen Vigna  <jug@sad.it>
9772
9773         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9774
9775 2002-03-04  Juergen Vigna  <jug@sad.it>
9776
9777         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9778
9779         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9780         last column of multicolumn cells.
9781         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9782
9783 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9784
9785         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9786         file if it doesn't go to a temporary file.
9787
9788         * buffer.C (sgmlOpenTag):
9789         (sgmlCloseTag):  remove extra newline insertion.
9790
9791 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * text.C (getRowNearY): comment out debug msg
9794
9795 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * text2.C: first -> first_y
9798
9799         * text.C (getRowNearY): add some attemts at a possible
9800         optimization, not working.
9801
9802         * tabular.[Ch]: add BufferParams to several function so that newly
9803         created paragraph can be initialized to he default layotu for the
9804         buffers textclass.
9805
9806         * tabular-old.C (ReadOld): add buf->params to call of Init
9807
9808         * screen.C: rename text->first to text->first_y
9809
9810         * paragraph.C (breakParagraph): always set layout in the broken
9811         paragraph
9812
9813         * lyxtextclass.C (Read): remove lowercase
9814         (hasLayout): ditto
9815         (operator): ditto
9816         (delete_layout): ditto
9817
9818         * lyxtext.h: rename first -> first_y
9819
9820         * lyxlayout.C (Read): remove lowercase
9821         (name): ditto
9822         (setName): ditto
9823         (obsoleted_by): ditto
9824
9825         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9826
9827         * buffer.C (insertErtContents): add params are to InsetERT
9828         (parseSingleLyXformat2Token): add code to check if a paragraphs
9829         layout really exist.
9830         (parseSingleLyXformat2Token): add params to several inset
9831         constructors
9832         (asciiParagraph): remove lowercase, do the layout comparisons with
9833         no_case
9834
9835         * BufferView_pimpl.C (cursorNext): first -> first_y
9836         (resizeCurrentBuffer): first -> first_y
9837         (updateScrollbar): first -> first_y
9838         (scrollCB): first -> first_y
9839         (workAreaMotionNotify): first -> first_y
9840         (workAreaButtonPress): first -> first_y
9841         (checkInsetHit): first -> first_y
9842         (cursorPrevious): first -> first_y
9843         (cursorNext): first -> first_y
9844         (Dispatch): add buffer_->params to severl inset contructors
9845
9846 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * lyxlayout.C (Read): remove some debug info that I forgot.
9849
9850         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9851         clean up the code slightly.
9852         (makeLinuxDocFile): ditto
9853         (makeDocBookFile): ditto
9854
9855         * text2.C: layout as string
9856
9857         * text.C: layout as string
9858
9859         * paragraph_pimpl.C: layout as string
9860
9861         * paragraph.[Ch]: layout as string
9862
9863         * lyxtextclasslist.[Ch]: layout as string
9864
9865         * lyxtextclass.[Ch]: layout as string
9866
9867         * lyxtext.h: layout as string
9868
9869         * lyxlayout.[Ch]: layout as string
9870
9871         * lyx_cb.C: layout as string
9872
9873         * bufferview_funcs.C: layout as string
9874
9875         * bufferparams.C: layout as string
9876
9877         * buffer.C: layout as string
9878
9879         * LyXView.[Ch]: layout as string
9880
9881         * LaTeXFeatures.[Ch]: layout as string
9882
9883         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9884
9885         * BufferView_pimpl.C: change current_layout to string, remove
9886         lyx::layout_type.
9887         (Dispatch):
9888         (smartQuote):
9889         (insertInset):
9890         (workAreaButtonRelease): layout as string
9891
9892         * BufferView2.C (unlockInset): adjust
9893
9894         * vspace.C (asLatexCommand): use an explict temp variable.
9895
9896 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * Makefile.am: use FRONTEND_*
9899
9900 2002-03-01  Juergen Vigna  <jug@sad.it>
9901
9902         * tabular.C (SetWidthOfMulticolCell): changed to something better
9903         I hope but still work in progress.
9904         (recalculateMulticolumnsOfColumn): renamed function from
9905         recalculateMulticolCells as it is more appropriate now.
9906         (SetWidthOfCell): calculate multicols better.
9907
9908 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9911
9912         * lyxfunc.C (processKeySym): print sequence also if it is
9913         `deleted' (complete)
9914
9915         * kbsequence.C (print): print sequence even if it is deleted
9916         (complete would be a better word, actually).
9917
9918         * lyxfunc.C (dispatch): print complete options after a prefix key
9919
9920         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9921
9922 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9923
9924         * text2.C (setCharFont): eliminate setCharFont code duplication.
9925
9926 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9929         LFUN_TABULAR_FEATURE (bug #177)
9930
9931 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * Makefile.am: remove figure.h
9934
9935 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9936
9937         * Bufferview_pimpl.C:
9938         * CutAndPasteC:
9939         * LaTeX.C:
9940         * LyXSendto.C:
9941         * buffer.C:
9942         * bufferlist.C:
9943         * converter.C:
9944         * language.C:
9945         * lyxfunc.C:
9946         * lyxvc.C:
9947         * paragraph.C:
9948         * text.C:
9949         * text2.C: remove #include "lyx_gui_misc.h".
9950
9951         * LaTeX.C: added #include <cstdio>
9952
9953 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9956         that the paragraph following this one can have.
9957
9958         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9959
9960         * vspace.C (asLatexCommand): fix bogus gcc warning
9961
9962         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9963
9964 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9965
9966         * text2.C (setLayout): get rid of redundant code
9967
9968 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9969
9970         * text2.C (incDepth): make sure depth cannot be increased beyond
9971         reasonable values.
9972
9973 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9974
9975         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9976         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9977
9978         * PainterBase.h (image):
9979         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9980         a LyXImage const *.
9981
9982 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * BufferView.C:
9985         * BufferView.h:
9986         * BufferView_pimpl.C:
9987         * BufferView_pimpl.h:
9988         * LaTeXFeatures.C:
9989         * LyXAction.C:
9990         * LyXView.C:
9991         * Makefile.am:
9992         * UpdateList.h:
9993         * UpdateList.C:
9994         * buffer.C:
9995         * figure.h:
9996         * figureForm.C:
9997         * figureForm.h:
9998         * figure_form.C:
9999         * figure_form.h:
10000         * lyx_cb.C:
10001         * lyx_gui.C:
10002         * lyx_gui_misc.C:
10003         * lyxfunc.C:
10004         * sp_base.h:
10005         * sp_ispell.h:
10006         * sp_pspell.h:
10007         * sp_spell.C: remove fig inset, and the crap house of
10008           cards that follows it
10009
10010 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * Makefile.am:
10013         * lyxserver.C:
10014         * os2_defines.h:
10015         * os2_errortable.h:
10016         * nt_defines.h: move .h into support/
10017
10018         * vms_defines.h: remove
10019
10020         * WorkArea.C: add space in debug output
10021
10022         * text2.C:
10023         * paragraph.C:
10024         * buffer.C: add WITH_WARNINGS
10025
10026         * vc-backend.h:
10027         * vc-backend.C:
10028         * bufferlist.C: s/retrive/retrieve/, add docs
10029
10030         * vspace.h:
10031         * vspace.C:
10032         * kbmap.h:
10033         * lyxlength.h:
10034         * lyxgluelength.h:
10035         * length_common.h:
10036         * chset.h:
10037         * chset.C: add docs
10038
10039         * lyxgui.C: add ID to X error handler
10040
10041         * lyxtestclass.c: fix typo
10042
10043 2002-02-26  Juergen Vigna  <jug@sad.it>
10044
10045         * tabular_funcs.C (write_attribute): changed so that some default
10046         attributes are not written at all.
10047         (getTokenValue): set default values before trying to read the
10048         value so we have the return value always set as default if we don't
10049         find the token we search for.
10050
10051         * tabular.C (Write): write bools as bools not as strings!
10052
10053 2002-02-22  Juergen Vigna  <jug@sad.it>
10054
10055         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10056         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10057
10058         * text.C (leftMargin): don't add an indent for paragraphs inside
10059         tabular cells (fix #208).
10060
10061 2002-02-21  José Matos  <jamatos@fep.up.pt>
10062
10063         * tabular.C (docBook): fixed support for long tables.
10064
10065 2002-02-20  Juergen Vigna  <jug@sad.it>
10066
10067         * text2.C (getFont): get the drawing font of the Inset if this
10068         paragraph is inside an inset (only important for InsetERT for now).
10069
10070         * buffer.C (insertErtContents): use new lanugage params in ERT
10071         constructor.
10072
10073         * CutAndPaste.C: commenting out seemingly uneeded code.
10074
10075 2002-02-19  Allan Rae  <rae@lyx.org>
10076
10077         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10078         Iterators might be simple to use but they also get invalidated.
10079         (removeAutoInsets): renamed saved cursor tracking variables and added
10080         some comments to clarify what everything does.
10081
10082 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10083
10084         * Chktex.C:
10085         * LaTeX.C:
10086         * LyXSendto.C:
10087         * converter.C:
10088         * lyx_cb.C:
10089         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10090         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10091
10092         * lyxfunc.C:
10093         * vc-backend.h: remove #include "support/syscall.h"
10094
10095         * LaTeX.C:
10096         * LyXSendto.C:
10097         * converter.C: rearrange #includes in Lars' approved fashion.
10098
10099         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10100         forward declare class Timeout in the header file.
10101
10102         * XFormsView.C: changes due to the above.
10103
10104         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10105         similar to LyXView.
10106
10107         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10108         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10109
10110 2002-02-18  José Matos  <jamatos@fep.up.pt>
10111
10112         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10113         insets contents.
10114
10115 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10116
10117         * a lot of small ws changes
10118         * add a lot of using std::XXX
10119         * use std construcs some places where approp.
10120         * use some exisint stuff from lyxfunctional where approp.
10121         * Make file changes to use partial linking (lets test this now...)
10122
10123 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10124
10125         * Chktex.C:
10126         * buffer.C:
10127         remove #include "support/syscontr.h" as it's redundant. Always has been.
10128
10129         * Chktex.C:
10130         * LaTeX.C:
10131         * LyXSendto.C:
10132         * converter.C:
10133         * lyx_cb.C:
10134         * vc-backend.C:
10135         change Systemcalls::System to Systemcalls::Wait and
10136         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10137         No change of functionality, just reflects the stripped down Systemcalls
10138         class.
10139
10140 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10141
10142         * debug.[Ch]: add a GRAPHICS type to the enum.
10143
10144 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10147
10148         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10149         there is an inset.
10150
10151 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10152
10153         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10154         match the changes below.
10155
10156         * text2.C (toggleInset): if there is not editable inset at cursor
10157         position, try to see if cursor is _inside_ a collapsable inset
10158         and close it.
10159
10160 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10163         document menu has a nice checkbox
10164
10165 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * lyxlength.C (asLatexString): change PW to output as percent of
10168         \textwidth.
10169
10170         * lengthcommon.C: change '%' to 't%'
10171
10172         * lyxfunc.C (dispatch): a few comments from Martin
10173
10174 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * WorkArea.h:
10177         * WorkArea.C:
10178         * BufferView_pimpl.h:
10179         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10180           the X selection.
10181
10182 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * vspace.C (inPixels): fix compiler warning
10185
10186 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * lyxfunc.C (getStatus): fix status message for disabled commands.
10189
10190 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * BufferView_pimpl.C: fix crash on close buffer
10193         during selection (#227)
10194
10195 2002-01-27  Herbert Voss  <voss@lyx.org>
10196
10197         * buffer.C: link old Figure to new graphic inset
10198
10199 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10200
10201         * FontLoader.C (getFontinfo): Change the latex font names in order
10202         to match the names of type1inst.
10203
10204 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10207
10208         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10209         (extchanged): ditto
10210         (ext_exist): ditto
10211         (remove_files_with_extension): ditto
10212         (remove_file): ditto
10213         (write): ditto
10214
10215         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10216         document is smaller than the work area height. Do not initialize
10217         static variables to 0.
10218
10219 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10222
10223         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10224         LFUN_LAYOUT_PARAGRAPHS.
10225
10226         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10227         tabular. It is possible to provide a possible cell, which will
10228         typically be the actcell from the corresponding insettabular
10229
10230         * lyxfunc.C (getStatus): small cleanup; disable
10231         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10232         true
10233
10234 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10237
10238         * paragraph.C (startTeXParParams):
10239         (endTeXParParams): new methods. The LaTeX code to
10240         start/end paragraph formatting
10241         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10242         empty (fixes bug #200)
10243
10244         * vspace.C (inPixels): adapt to the change below
10245         (inPixels): [later] more cleanups (remove unused variables)
10246
10247         * lyxlength.C (inPixels): change to use a width and a height as
10248         parameter.
10249
10250 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10253         Replaced with \paperwidth
10254
10255         * DepTable.C (insert): add std:: qualifier
10256
10257 2002-01-18  Allan Rae  <rae@lyx.org>
10258
10259         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10260         updated also?
10261
10262         * text.C (drawInset): Turned out I didn't know enough about how
10263         rebreaking worked.  This fixes most of the redraw problems.  I see
10264         an occasional cursor trail when a line is broken now and the cursor
10265         placement can seem out by a few pixels also after a rebreak.
10266
10267 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * buffer.C (parseSingleLyXformat2Token): update because minipage
10270         width is now a LyXLength
10271
10272         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10273
10274         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10275         math insets
10276
10277 2002-01-17  Juergen Vigna  <jug@sad.it>
10278
10279         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10280
10281         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10282         is set correctly and the inset is updated correctly.
10283
10284 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10287         the beginning of the loop.
10288
10289 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * lyxrc.C: improve help for use_scalable_fonts
10292
10293 2002-01-17  Allan Rae  <rae@lyx.org>
10294
10295         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10296
10297 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10300         make sure to set their inset_owner to the right value (bug #171)
10301
10302 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10303
10304         * DepTable.h
10305         * DepTable.C: Implement mtime checking to reduce time spent doing
10306         CRCs.
10307
10308 2002-01-16  Juergen Vigna  <jug@sad.it>
10309
10310         * tabular.C (GetAdditionalHeight): one of error fixed.
10311
10312         * lyxrc.C (output): small fix in writing use_pspell.
10313
10314 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10315
10316         * sp_base.h: #include LString.h
10317
10318 2002-01-16  Allan Rae  <rae@lyx.org>
10319
10320         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10321         Can someone check this please?
10322
10323         * text.C (drawInset): It was possible that p.row would be removed by
10324         breakAgainOneRow upsetting a few other settings.  There may be another
10325         small tweak possible by setting need_break_row = 0 when p.row has been
10326         removed but I don't know enough about the logic here.
10327
10328 2002-01-15  Allan Rae  <rae@lyx.org>
10329
10330         * text.C (insertChar): removed conditional truism.
10331
10332         * BufferView2.C (removeAutoInsets): More tweaks.
10333         cur_par_prev could be a stray pointer.  Check for trailing empty line
10334         in case last line was cur_par and only had an error inset on it.
10335
10336 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10337
10338         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10339         absolute
10340
10341         * vc-backend.C (most methods):
10342         * exporter.C (Export):
10343         * converter.C (convert):
10344         (runLaTeX):
10345         * LyXSendto.C (SendtoApplyCB):
10346         * lyxfunc.C (dispatch):
10347         (menuNew):
10348         (open):
10349         (doImport):
10350         * lyx_cb.C (AutoSave):
10351         (InsertAsciiFile):
10352         * BufferView_pimpl.C (MenuInsertLyXFile):
10353         * buffer.C (runChktex): use Buffer::filePath().
10354
10355         * buffer.h: rename filename to filename_; rename filepath to
10356         filepath_ and make it private
10357         (filePath): new method
10358
10359         * buffer.C (writeFile): use fileName()
10360         (getLatexName):
10361
10362         * lyx_main.C (init): fix starting  of LyX when the binary is a
10363         link from so,ewhere else.
10364
10365         * minibuffer.C: include <cctype> for isprint
10366
10367 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10368
10369         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10370         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10371         name clash with InsetCollapsable's width function.
10372
10373 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10374
10375         * lastfiles.C: include <iterator>
10376
10377 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10378
10379         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10380         std::count.
10381
10382         * buffer.C (makeLaTeXFile): ditto.
10383         Also make loop operation more transparent.
10384
10385 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10386
10387         * ToolbarDefaults.C: remove trailing comma closing namespace.
10388
10389         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10390
10391         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10392         as in WorkArea.
10393
10394         * trans.C (Load): comment out unused variable, allowed.
10395
10396 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * minibuffer.[Ch] (append_char): new method to recieve input from the
10399         drop-down completion browser. If a key was pressed, then recieve this
10400         char and append it to the existing string.
10401         (peek_event): modify the positioning data passed to the completion
10402         browser so that it can be placed above the minibuffer rather than below.
10403 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * LyXAction.C (init): alloe error-next for readonly documents.
10406
10407         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10408         count.
10409
10410 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * bufferlist.C (readFile): create the buffer _after_ checking that
10413         the file exists.
10414
10415         * lyxfunc.C (verboseDispatch): fix handling of arguments
10416
10417         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10418
10419         * lyxrc.C: use string::erase() instead of initializing to "".
10420
10421
10422 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * BufferView_pimpl.h:
10425         * BufferView_pimpl.C:
10426         * WorkArea.h:
10427         * WorkArea.C:
10428         * text2.C: tell X when we have made a selection for copying
10429
10430 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * BufferView_pimpl.C (MenuInsertLyXFile):
10433         * lyxfunc.C (menuNew):
10434         (open):
10435         (doImport): add shortcuts to directory buttons
10436
10437         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10438         open a float)
10439
10440         * lyxfunc.C (setStatusMessage):
10441         (getStatusMessage): new methods
10442         (getStatus):use setStatusMessage instead of setErrorMessage
10443         (dispatch): when function is disabled, set error message here
10444         [instead of in getStatus previously]
10445
10446         * BufferView_pimpl.C (workAreaButtonRelease): update
10447         toolbar/menubar here too.
10448
10449 2002-01-13  Allan Rae  <rae@lyx.org>
10450
10451         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10452         Now seems indestructible.  Remaining task is to audit all other
10453         code affected by deleteEmptyParagraphMechanism.  One small quirk
10454         left is that an empty document with an error in the preamble can
10455         be made to report an error but no error box appears.  I don't know
10456         where it goes.
10457         (removeAutoInsets): Improved comments.
10458
10459 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * Thesaurus.h:
10462         * Thesaurus.C: update for Aiksaurus 0.14
10463
10464 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * text2.C (firstParagraph): removed member function, all uses
10467         replaces with ownerParagraph
10468         (redoParagraphs): here
10469         (updateInset): here
10470         (toggleAppendix): here
10471         * BufferView2.C (insertErrors): here
10472         (setCursorFromRow): here
10473
10474 2002-01-13  Allan Rae  <rae@lyx.org>
10475
10476         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10477         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10478         There is still a way to segfault this although you may have to do this
10479         multiple times: Have an InsetERT with an unknown command in it.
10480         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10481         <down-arrow>, <Enter> again, View->DVI, BANG!
10482
10483         * text2.C (setCursor):
10484         (deleteEmptyParagraphMechanism):
10485         * lyxtext.h (setCursor):
10486         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10487         Making use of the return value may help fix other bugs.
10488
10489 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10492
10493         * LyXView.C (updateMenubar): call MenuBar::update here
10494         (updateToolbar): but not here
10495         (showState): do not update toolbar/menubar
10496
10497         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10498         should need to care about that.
10499
10500         * lyxfunc.C (verboseDispatch): simplify a bit
10501         (getStatus): have a version which takes a pseudoaction, and
10502         another which requires a (kb_action,string).
10503
10504         * LyXAction.C (retrieveActionArg): make it work also when action
10505         is not a pseudo-action.
10506         (getActionName): simplify a bit
10507         (helpText):
10508
10509 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * lyxfunc.C (verboseDispatch): new families of methods with
10512         several ways to specify a command and a bool to indicate whether
10513         the command name and shortcut should be displayed in minibuffer
10514         (eventually, we could extend that to a finer bitmask like
10515         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10516         (dispatch): the pristine dispatch command which just, well,
10517         dispatchs! Note it still sets its result to minibuffer; I'm not
10518         sure we want that.
10519
10520         * lyxfunc.h: remove setHintMessage
10521
10522         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10523
10524 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10525
10526         * BufferView_pimpl.C (specialChar): delete new inset if we have
10527         not been able to insert it.
10528
10529         * kbmap.C: revert to using int instead of kb_action, since all we
10530         are dealing with is pseudo-actions.
10531
10532         * LyXAction.C (searchActionArg): change to return int instead of
10533         kb_action, since the result is a pseudoaction.
10534
10535 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10536
10537         * buffer.C (insertErtContents): Fix (partially) the font bug.
10538
10539 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10542         as the other one is broken on my machine!
10543
10544 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10545
10546         * commandtags.h:
10547         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10548
10549 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10550
10551         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10552         reflect their actual use. Provide compatibility code for older lyxrc
10553         files.
10554
10555         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10556         FL_NORMAL_STYLE.
10557         change names of popup font variables in line with the changes to lyxrc.C
10558
10559 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * buffer.C (asciiParagraph): avoid outputing a word twice after
10562         an inset.
10563
10564         * lyxrc.C (getDescription): document that document_path and
10565         template_path can be empty.
10566
10567 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * LaTeXFeatures.C (getMacros):
10570         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10571
10572         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10573
10574         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10575         getPackages.
10576         (getPackages): rename feature "floats" to "float". Use an array to
10577         iterate over 'simple' features (i.e. just a \usepackage). Add
10578         handling of "amsmath" (renamed from "amsstyle").
10579
10580 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10581
10582         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10583         features list.
10584
10585 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10586
10587         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10588         FuncStaus::FuncStatus & FuncStaus::some_method().
10589
10590 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10591
10592         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10593         of the func_satus stuff. Edited and massaged in various ways by
10594         JMarc.
10595
10596         * lyxfunc.C (getStatus): use FuncStatus
10597
10598 2002-01-08  Juergen Vigna  <jug@sad.it>
10599
10600         * text.C (nextBreakPoint): use function Inset::isChar().
10601
10602         * paragraph.C (TeXOnePar): use function
10603         Inset::forceDefaultParagraphs.
10604
10605         * buffer.C (latexParagraphs): use function
10606         Inset::forceDefaultParagraphs.
10607
10608 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10609
10610         * lyx_gui.C (init): set the style of the menu popups to
10611         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10612
10613 2002-01-07  Juergen Vigna  <jug@sad.it>
10614
10615         * text.C (setHeightOfRow): small fix
10616         (prepareToPrint): don't look at alignment if we don't have the place
10617         for doing it.
10618
10619 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10620
10621         * box.C: New file. Move the Box methods and functions out of box.h,
10622         following Lars' suggestion.
10623
10624 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10625
10626         * box.h: #include "support/LOstream.h", needed for inlined function.
10627
10628         * lyxtextclass.C:
10629         * lyxtextclasslist.C: added some using std declarations.
10630
10631 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * box.h: make signed dimensions to allow insets wider than
10634           the screen (bug #162)
10635
10636         * BufferView_pimpl.C: add some insetHit debug
10637
10638 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * vc-backend.C: add FIXME
10641
10642 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * lyxfunc.C (getStatus): enable code for showing math font status
10645         in toolbar/menu.
10646
10647 2002-01-07  Juergen Vigna  <jug@sad.it>
10648
10649         * text.C (nextBreakPoint): removed debug output not needed anymore.
10650
10651 2002-01-06  Juergen Vigna  <jug@sad.it>
10652
10653         * text.C (nextBreakPoint): fixed up this function we had this bug
10654         since ever but now hopefully we break row better.
10655         (insertChar): we have to check if an inset is the next char as it
10656         could now happen that a large inset is causing a break.
10657
10658 2002-01-05  Juergen Vigna  <jug@sad.it>
10659
10660         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10661         if it doesn't like to be drawed.
10662
10663 2002-01-04  Juergen Vigna  <jug@sad.it>
10664
10665         * BufferView2.C (lockInset): forgot to set a cursor.
10666
10667         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10668
10669 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10670
10671         * FormMathsPanel.C:
10672         * FormMathsPanel.h
10673         * MathsSymbols.C:
10674         * form_maths_panel.C:
10675         * form_maths_panel.h:
10676         * form_maths_panel.fd: implemented sub- and super- buttons in math
10677         panel.
10678
10679         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10680         (or ^ space) to be used as in TeX (req'd by André).
10681
10682         * lyxfunc.C: Allow ^ and _ again to be used both as
10683         super/subscript (mathed) and as themselves (in text).
10684
10685 2002-01-03  Allan Rae  <rae@lyx.org>
10686
10687         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10688         "LyX" or the filename of the current buffer if it has one.  This is a
10689         modified form of John Levon's patch.
10690
10691         * XFormsView.C (setWindowTitle): also set icon title.
10692
10693         * LyXView.h (setWindowTitle): signature changed.
10694         * XFormsView.h (setWindowTitle): ditto.
10695
10696 2002-01-02  Juergen Vigna  <jug@sad.it>
10697
10698         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10699
10700 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * screen.C (topCursorVisible): introduce a temp var for
10703         text->cursor.row(), handle the case where this row is null. (kindo
10704         hachish)
10705
10706         * text2.C (setCursor): add a couple of asserts.
10707
10708         * paragraph.h (inset_iterator): add -> operator
10709
10710         * paragraph.[Ch] (autoDeleteInsets): remove member function
10711
10712         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10713         cursor pos correctly and handle inset deletion by itself.
10714         (insertErrors): move iterator declaration out of for expression
10715
10716         * lyxtextclass.C: add <algorithm>
10717
10718         * Makefile.am: added the new files to sources, removed layout.C
10719
10720         * layout.C: removed file
10721
10722         * layout.h: remove LYX_DUMMY_LAYOUT
10723
10724         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10725         layout.
10726
10727         * lyxlayout.[Ch]:
10728         * lyxtextclass.[Ch]:
10729         * lyxtextclasslist.[Ch]: new files
10730
10731         * include order changes to a lot of files, also changes because of
10732         the six new files.
10733
10734 2001-12-27  Juergen Vigna  <jug@sad.it>
10735
10736         * buffer.C (asciiParagraph): more fixes.
10737
10738         * tabular.C (ascii): make ascii export support export of only the
10739         data separated by a column-delimiter.
10740         (ascii): better support for ascii export.
10741
10742         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10743
10744 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10745
10746         * tabular_funcs.C: use a "using std::getline" instead of the
10747         previous fix from Angus (necessary for cxx + lyxstring)
10748
10749 2001-12-24  Juergen Vigna  <jug@sad.it>
10750
10751         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10752
10753         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10754         problems. First check a minipage also if we have some ert-contents
10755         (not only on par->size(), second set the right depth of the paragraph
10756         on the relink to the root-paragraph-list!
10757
10758         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10759         which then did not anymore update the main paragraphs on undo/redo!
10760
10761 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10762
10763         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10764         code. Support all font-changing funcs (even those which are not in
10765         menu currently). Support for reporting font settings in
10766         mathed (disabled until Andre provides a function on mathed's side).
10767
10768         * func_status.h (toggle): small helper function to set toggle
10769         state on a flag.
10770
10771 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10772
10773         * tabular_funcs.C: getline -> std::getline
10774
10775 2001-12-21  Juergen Vigna  <jug@sad.it>
10776
10777         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10778         accessed and could be 0 (I couldn't generate this but it seems
10779         Michael could!).
10780
10781 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10784         * tabular_funcs.h: here and include iosfwd
10785
10786 2001-12-20  Juergen Vigna  <jug@sad.it>
10787
10788         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10789         inside inset but undo_par was.
10790
10791 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * Thesaurus.C: always include <config.h> in sources.
10794
10795         * Painter.h:
10796         * lyxlookup.h:
10797         * box.h: do not include <config.h> in header files
10798
10799         * text.C (paintLastRow): remove unused variable
10800
10801         * text.C (transformChar):
10802         (insertChar):
10803         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10804
10805         * Painter.C (text):
10806         * font.C (width): rewrite to use uppercase() instead of
10807         islower/toupper.
10808
10809         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10810
10811 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * lyxfind.C: clean up of find failure position change
10814
10815 2001-12-20  Juergen Vigna  <jug@sad.it>
10816
10817         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10818
10819         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10820         (TeXRow): added to LaTeX a single tabular row.
10821         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10822         (Latex): simplified and finally good LT-h/f support.
10823         (various_functions): just small adaptions for LT-h/f support.
10824
10825         * tabular_funcs.[hC]: added and moved here all not classfunctions
10826         of LyXTabular.
10827
10828 2001-12-19  Juergen Vigna  <jug@sad.it>
10829
10830         * tabular.[Ch]: better support for longtabular options (not finished
10831         yet!)
10832
10833 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * text.C (paintLastRow): use the label font instead of the font of
10836         the last character to compute the size of *_BOX. This makes more
10837         sense and avoids a crash with empty paragraphs.
10838         Use Painter::rectangle to draw EMPTY_BOX.
10839
10840 2001-12-19  Juergen Vigna  <jug@sad.it>
10841
10842         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10843         the paragraphs if the replaced paragraph is not the first one!
10844         Tried to delete not used paragraphs but does not work yet so for
10845         now it's inside #ifdef's and by default off!
10846
10847 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10848
10849         * MenuBackend.C: include "lyx_main.h" instead of declaring
10850         lastfiles (actually was declared as LastFiles* instead of a
10851         scoped_ptr).
10852
10853 2001-12-17  Juergen Vigna  <jug@sad.it>
10854
10855         * tabular.C (AppendColumn): applied John's fix
10856
10857 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * BufferView.h:
10860         * BufferView.C:
10861         * BufferView_pimpl.h:
10862         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10863
10864         * Makefile.am:
10865         * box.h: new start of class for above
10866
10867         * lyxfunc.C: ignore space-only minibuffer dispatches.
10868           Show the command name when it doesn't exist
10869
10870         * minibuffer.C: don't add empty lines to the history
10871
10872         * minibuffer.C: add a space on dropdown completion
10873
10874 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * text.C: fix line above/below drawing in insets
10877
10878 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * lyxlength.C (LyXLength): Initialize private variables.
10881
10882 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10883
10884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10885         when inserting error insets.
10886
10887 2001-12-13  Juergen Vigna  <jug@sad.it>
10888
10889         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10890         actually sometimes the before-paragraph.
10891         (setUndo): don't clear the redostack if we're not actually undoing!
10892
10893 2001-12-06  Juergen Vigna  <jug@sad.it>
10894
10895         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10896         and fixed redoing of main paragraph, so we can use it now ;)
10897
10898         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10899
10900 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10903         Juergen's request
10904
10905 2001-12-13  André Pönitz <poenitz@gmx.net>
10906
10907         * undostack.[Ch]:
10908         * undo_func.C: minor cleanup
10909
10910 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10913         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10914         font in urw-fonts package which is marked as -urw-fontspecific and
10915         does not work (incidentally, changing the encoding in the
10916         fonts.dir of this package to -adobe-fontspecific fixes the
10917         problem).
10918
10919         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10920         is a crash when undoing first paragraph (Juergen, please take a
10921         look). THis does not mean the undo fix is wrong, just that it
10922         uncovers problems.
10923
10924         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10925         the (Paragraph*) version when needed instead of duplicating the
10926         code.
10927
10928         * text.C (workWidth): use Inset::parOwner to find out where the
10929         inset has been inserted. This is a huge performance gain for large
10930         documents with lots of insets. If Inset::parOwner is not set, fall
10931         back on the brute force method
10932
10933         * paragraph_pimpl.C (insertInset):
10934         * paragraph.C (Paragraph):
10935         (cutIntoMinibuffer): set parOwner of insets when
10936         inserting/removing them
10937
10938         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10939
10940 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10941
10942         * commandtags.h:
10943         * LyXAction.C:
10944         * lyx_main.C:
10945         * lyxfunc.C:
10946         * mathed/formulabase.C:
10947         * mathed/math_cursor.[Ch]:
10948         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10949
10950
10951 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * lyxlength.[Ch] (operator!=): new function
10954
10955 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * text.C (workWidth): use Inset::parOwner to find out where the
10958         inset has been inserted. This is a huge performance gain for large
10959         documents with lots of insets. If Inset::parOwner is not set, fall
10960         back on the brute force method
10961
10962         * paragraph_pimpl.C (insertInset):
10963         * paragraph.C (Paragraph):
10964         (cutIntoMinibuffer): set parOwner of insets when
10965         inserting/removing them
10966
10967         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10968
10969 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * tabular-old.C (getTokenValue):
10972         * tabular.C (getTokenValue):
10973         (write_attribute): new versions for LyXLength
10974         (everywhere): adjust the use of widths
10975
10976         * tabular.h: change the type of widths from string to LyXLength
10977
10978 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10979
10980         * paragraph.C: fixed missing line number count when exporting
10981         Environments to LaTeX file
10982
10983         * buffer.C: added informational message for checking line numbers.
10984
10985 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10988         paragraph, do the 'double space' part, but not the 'empty
10989         paragraph' one.
10990
10991         * text.C (workWidth): small optimization
10992         (getLengthMarkerHeight): use minimal size for negative lengths.
10993
10994 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10995
10996         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10997
10998         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10999
11000 2001-12-11  André Pönitz <poenitz@gmx.net>
11001
11002         * FontLoader.C:
11003         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11004
11005 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * text2.C: keep selection on a setFont()
11008
11009 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * lyx_cb.C: another bv->text misuse, from insert label
11012
11013 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * kbsequence.h:
11016         * kbsequence.C: re-instate nmodifier mask
11017
11018 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11019
11020         * lyx_main.h: make lyxGUI private.
11021
11022 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * lyxfind.C: place the cursor correctly on failed search
11025
11026 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * text.C (getLengthMarkerHeight): for small heights, the arrows
11029         are not always on top/bottom of the text
11030         (drawLengthMarker): smaller arrows; take the left margin in
11031         account; draw also vfills.
11032         (paintFirstRow):
11033         (paintLastRow): remove special code for vfill and standard spaces,
11034         since everything is handled in drawLengthMarker now.
11035
11036 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * buffer.C (insertErtContents): try to handle font and language
11039         interaction a bit better.g
11040
11041         * ColorHandler.C (updateColor): change the hash to cover the whole
11042         LColor enum, ws cleanup
11043         (getGCLinepars): ditto
11044         (getGCLinepars): only lookup in the linecache once.
11045
11046 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11047
11048         * iterators.C (operator++): Make the iterator more robust
11049
11050         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11051         (John's patch)
11052         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11053
11054 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * lyxtext.h:
11057         * text.C: better added space drawing
11058
11059 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * LyXView.C:
11062         * BufferView2.C: fix layout combo update on inset unlock
11063
11064 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * Makefile.am: don't compile unused files
11067
11068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * lyxfunc.C:
11071         * commandtags.h:
11072         * LyXAction.C: remove old LFUN_LAYOUTNO
11073
11074 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * paragraph_pimpl.h:
11077         * paragraph_pimpl.C: isTextAt() doesn't need font param
11078
11079 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * lyxlex.h:
11082         * lyxlex.C: little cleanup
11083
11084 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * BufferView_pimpl.C: fix insertAscii for insets
11087
11088 2001-12-05  Juergen Vigna  <jug@sad.it>
11089
11090         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11091         set the right font on the "multi" paragraph paste!
11092
11093 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * trans_decl.h:
11096         * trans_mgr.[Ch]:
11097         * trans.[Ch]:
11098         * lyxgluelength.C:
11099         * lyxlength.C: remove out-commented code.
11100
11101         * BufferView_pimpl:
11102         * CutAndPaste.C:
11103         * DepTable.C:
11104         * buffer.C:
11105         * chset.C:
11106         * lastfiles.C:
11107         * lyxlex.C:
11108         * lyxlex_pimpl.C:
11109         * lyxserver.C:
11110         * screen.C:
11111         * tabular-old.C:
11112         * tabular.C:
11113         * text.C:
11114         * trans_mgr.C:
11115         * vc-backend.C: change "while(" to "while ("
11116
11117         * lyxlength.[Ch]: add zero function to check if length is zero or
11118         not
11119         * lyxgluelength.C: use it
11120
11121 2001-12-05  Allan Rae  <rae@lyx.org>
11122
11123         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11124         Works for 2.95.3, from what I understand of Garst's reports this should
11125         work for other g++ versions.  We're screwed if the abs(int) definition
11126         changed between bugfix releases of gcc.
11127
11128 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * text.C: fix chapter label offset !
11131
11132 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxtext.h:
11135         * text.C: fix hfill at end of line, clean up
11136
11137 2001-12-04  Juergen Vigna  <jug@sad.it>
11138
11139         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11140         that we force an update of the inset and it's owners if neccessary.
11141
11142 2001-12-03  Juergen Vigna  <jug@sad.it>
11143
11144         * text.C (rowLast): simplified code
11145
11146 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * lyxfunc.C: fix show options on timeout
11149
11150 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * screen.C (topCursorVisible): scroll half a page when the cursor
11153         reached top of bottom of screen
11154
11155 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * minibuffer.C: deactivate on loss of focus
11158
11159 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * vspace.[Ch] (operator!=): add operator.
11162
11163 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * BufferView_pimpl.C: refuse to open an inset when
11166         there's a selection.
11167
11168 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * BufferView_pimpl.C: allow to click on RHS of full row insets
11171
11172 2001-11-30  Juergen Vigna  <jug@sad.it>
11173
11174         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11175         insets for undo reasons.
11176
11177 2001-11-28  André Pönitz <poenitz@gmx.net>
11178
11179         * vspace.[Ch]: cosmetical changes
11180
11181 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * LyXAction.h:
11184         * LyXAction.C:
11185         * lyxfunc.h:
11186         * lyxfunc.C:
11187         * kbmap.h:
11188         * kbmap.C:
11189         * lyxrc.C:
11190         * kbsequence.h:
11191         * kbsequence.C: part re-write of old kb code
11192
11193         * Painter.C:
11194         * WorkArea.C: remove Lgb_bug_find_hack
11195
11196 2001-11-30  José Matos <jamatos@fep.up.pt>
11197
11198         * buffer.C (makeDocBookFile): add a comment to point a hack.
11199         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11200         Fixed a double write of labels.
11201
11202 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11203
11204         * LaTeX.C:
11205         * LaTeX.h Fixed bug in LaTeX class where it would not
11206         re-run latex if no depfiles were changed, but the .dvi was removed.
11207
11208 2001-11-28  André Pönitz <poenitz@gmx.net>
11209
11210         * all the files from the change on 2001/11/26:
11211         use lyx::layout_type instead of LyXTextClass::size_type
11212         use lyx::textclass_type instead of LyXTextClassList::size_type
11213
11214 2001-11-29  Juergen Vigna  <jug@sad.it>
11215
11216         * text.C: added support for paragraph::isFreeSpacing()
11217
11218         * buffer.C: same as above
11219
11220         * paragraph.h: inserted isFreeSpacing() function to enable
11221         FreeSpacing inside InsetERT.
11222
11223         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11224         of the paragraph's in the cut/copy buffer to 0!
11225
11226         * text2.C (removeRow): remove the assert as it can!
11227
11228         * lyxtext.h: added helper function firstRow returning firstrow and
11229         made firstrow private again.
11230
11231         * BufferView2.C (lockInset): don't relock if we're already locked!
11232
11233         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11234         the only paragraph.
11235         (removeRow): added Assert::(firstrow)
11236
11237         * debug.C: forgot to add INSETTEXT here.
11238
11239 2001-11-28  Juergen Vigna  <jug@sad.it>
11240
11241         * sp_spell.C (initialize): changed error text to more general
11242         spellchecker command use (not only ispell!)
11243
11244         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11245
11246         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11247
11248 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * vspace.C: initialise lyxgluelength on failure
11251
11252 2001-11-28  Allan Rae  <rae@lyx.org>
11253
11254         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11255         declaration & definition that looks like a function declaration.
11256
11257 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * BufferView2.C (copy):
11260         (copyEnvironment): do not clear the selection when doing a copy.
11261
11262         * text.C (paintFirstRow): compilation fix
11263
11264 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11265
11266         * tabular.C (Latex): correct line count when writing latex.
11267
11268 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * paragraph_pimpl.h:
11271         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11272           bug a bit
11273
11274 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * text.C:
11277         * LColor.h:
11278         * LColor.C: change vfillline->added_space
11279
11280         * text.C: add markers and text for added space
11281
11282         * vspace.C: fix comment
11283
11284 2001-11-28  André Pönitz <poenitz@gmx.net>
11285
11286         * paragraph.C: whitespace changes
11287         * all the other files from the change on 2001/11/26:
11288         change *::pos_type into lyx::pos_type
11289
11290 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11291
11292         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11293         language of the document when inserting error insets.
11294
11295 2001-11-26  André Pönitz <poenitz@gmx.net>
11296
11297         * BufferView_pimpl.[Ch]:
11298         *       CutAndPaste.C:
11299         * buffer.[Ch]:
11300         * lyxcursor.[Ch]:
11301         * lyxfind.C:
11302         * lyxfunc.C:
11303         * lyxrow.[Ch]:
11304         * paragraph.[Ch]:
11305         * paragraph_pimpl.[Ch]:
11306         * sp_spell.C:
11307         * text.C:
11308         * text2.C: reduce header dependencies, introduce type for positions
11309
11310 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * <various>: change to use Alert.h
11313
11314 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11317         when encountering an unknown token.
11318         (readLyXformat2): Show an error message if there were unknown tokens.
11319
11320 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * BufferView2.C:
11323         * BufferView_pimpl.C:
11324         * buffer.C:
11325         * paragraph.h:
11326         * text.C:
11327         * text2.C: use par->isInset()
11328
11329 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * paragraph_pimpl.h:
11332         * paragraph_pimpl.C: cleanup
11333
11334 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * text2.C (removeRow):
11337         * text.C (setHeightOfRow): remove useless (and costly) call to
11338         getRow.
11339
11340 2001-11-20  Allan Rae  <rae@lyx.org>
11341
11342         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11343         Now need Inset*::checkInsertChar() to return true for appropriate
11344         cases so that the characters in the minibuffer will actually be
11345         inserted.
11346
11347 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * text.C: change the order of the includes.
11350         (workWidth): initialize it at once.
11351         (workWidth): make maxw unsigned
11352         (setHeightOfRow): remove unused variable (inset)
11353         (selectSelectedWord): remove unused variable (inset)
11354         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11355
11356 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11357
11358         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11359         server is not running.
11360         (openConnection):
11361         (closeConnection): add debug info when server is disabled.
11362
11363         * ColorHandler.C (getGCForeground): send debug message to GUI
11364         channel.
11365
11366         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11367
11368         * kbmap.C (bind): modify because return conventions of
11369         kb_sequence::parse have changed.
11370
11371         * kbsequence.C (parse): only ignore spaces and not any stupid
11372         control character. This avoids tests like s[i] <= ' ', which are
11373         guaranteed to fail with 8bit characters and signed chars.
11374         Change return code to string::npos when there have been no error
11375         (0 was a bad idea when error is at first character)
11376
11377 2001-11-14  José Matos  <jamatos@fep.up.pt>
11378
11379         * buffer.h:
11380         * buffer.C (simpleDocBookOnePar): removed unused argument.
11381
11382 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11383
11384         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11385         insets which are part of a word. Paragraph::isLetter takes care of
11386         that now. Use Paragraph::isInset to identify insets.
11387         (selectSelectedWord): do not test for hyphenation break.
11388
11389         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11390         that protected spaces are considered as spaces.
11391
11392         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11393         Inset::isLetter.
11394
11395 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * lyxserver.h:
11398         * lyxserver.C: fix it. and small cleanup.
11399
11400 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * BufferView_pimpl.C: use inline helpers
11403
11404         * LaTeXFeatures.h:
11405         * LaTeXFeatures.C: fix typos
11406
11407         * Spacing.h:
11408         * Spacing.C: move spacing_string into class
11409
11410         * ToolbarDefaults.C: move stuff into namespace anon
11411
11412         * layout.h: update enum
11413
11414         * lyxfunc.C: use better debug
11415
11416         * minibuffer.h: fix typo
11417
11418         * debug.h:
11419         * debug.C:
11420         * WorkArea.C: add and use Debug::WORKAREA
11421
11422         * lyxtext.h:
11423         * text.C:
11424         * text2.C: code re-organisation, inline helpers
11425
11426 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11427
11428         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11429         std::vector.empty().
11430
11431 2001-11-09  Allan Rae  <rae@lyx.org>
11432
11433         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11434         '\n's after tables.  Tabular and ERT inset work now makes this no
11435         longer necessary.
11436
11437 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * minibuffer.h:
11440         * minibuffer.C: fix crash, improve drop-down completion
11441
11442 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * lyxserver.h:
11445         * lyxserver.C: invalidate fd's when doing endPipe()
11446
11447 2001-11-08  José Matos  <jamatos@fep.up.pt>
11448
11449         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11450         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11451
11452         * paragraph.h:
11453         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11454
11455 2001-11-07  José Matos  <jamatos@fep.up.pt>
11456
11457         * buffer.h:
11458         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11459         const qualifier.
11460
11461         * buffer.C (sgmlOpenTag):
11462         * buffer.C (sgmlCloseTag): removed debug info.
11463
11464         * buffer.h (sgmlOpenTag):
11465         * buffer.h (sgmlCloseTag): made public.
11466
11467 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11468
11469         * buffer.C (saveParamsAsDefaults):
11470         * lyx_cb.C (MenuLayoutSave): remove
11471
11472         * LyXAction.C (init):
11473         * commandtags.h:
11474         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11475
11476 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11477
11478         * buffer.C (setPaperStuff): removed from here...
11479
11480         * bufferparams.C (setPaperStuff): ... and moved there.
11481
11482 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * minibuffer.h:
11485         * minibuffer.C:
11486         * XFormsView.C: add support for drop-down completion
11487
11488 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11489
11490         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11491         commands.
11492
11493 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11496         disabled.
11497
11498 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * lyx_main.C: change ref to known bugs
11501
11502 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11503
11504         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11505         to work around older babel problems.
11506
11507 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11508
11509         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11510
11511 2001-10-24  Juergen Vigna  <jug@sad.it>
11512
11513         * tabular-old.C (ReadOld): below variable changes reflected.
11514
11515         * tabular.[Ch]: added ltType struct for longtable header/footer
11516         defines and changed all instances where they are used. Added
11517         future support for double top/bottom rows.
11518
11519 2001-10-24  José Matos  <jamatos@fep.up.pt>
11520
11521         * buffer.h (docbookHandleCaption):
11522         * buffer.C (docbookHandleCaption): removed unused function.
11523         (makeDocBookFile): moved docbook supported version to v4.1.
11524
11525 2001-10-24  José Matos  <jamatos@fep.up.pt>
11526
11527         * tabular.h:
11528         * tabular.C (docbookRow): new function to export docbook code of a row.
11529         (DocBook): now honors the longtable flags.
11530
11531 2001-10-23  José Matos  <jamatos@fep.up.pt>
11532
11533         * LaTeXFeatures.h:
11534         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11535         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11536
11537         * buffer.C (makeLinuxDocFile):
11538         (makeDocBookFile): reworked the preamble, more clean, and with
11539         support for lyx defined entities. Changed the document declaration
11540         to be more XML friendly.
11541
11542         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11543         if we need to output XML that should be done with a filter.
11544
11545 2001-10-22  Juergen Vigna  <jug@sad.it>
11546
11547         * sp_pspell.h (class PSpell): add alive function needed in the
11548         controller to see if the spellchecker could be started.
11549
11550 2001-10-22  Juergen Vigna  <jug@sad.it>
11551
11552         * buffer.C (insertStringAsLines): modify the font for inserting
11553         chars in certain conditions by calling checkInsertChar(font).
11554
11555 2001-10-19  Juergen Vigna  <jug@sad.it>
11556
11557         * text.C (workWidth): use getRow instead of wrong algorithm.
11558         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11559
11560 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * lyxserver.h:
11563         * lyxserver.C:
11564         * lyx_main.h:
11565         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11566
11567 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11568
11569         * text.C (workWidth): do not search for the exact row when
11570         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11571         optimization for big documents.
11572
11573 2001-10-18  Juergen Vigna  <jug@sad.it>
11574
11575         * text.C (workWidth): new function with added Inset * parameter.
11576
11577 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11578
11579         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11580
11581         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11582         change return type of getColumnNearX.
11583
11584
11585         * text.C (changeRegionCase): use uppercase/lowercase instead of
11586         toupper/tolower.
11587         (leftMargin):
11588         (rightMargin): simplify code by factoring out the uses of
11589         textclasslist.
11590         (labelFill):
11591         (numberOfHfills):
11592         (setHeightOfRow):
11593         (appendParagraph): use Paragraph::size_type
11594
11595 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * vspace.C (asLatexString): add a missing break
11598
11599 2001-10-15  Herbert Voss  <voss@perce.de>
11600
11601         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11602
11603 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11606         is not available.
11607
11608 2001-10-10  André Pönitz <poenitz@gmx.net>
11609
11610         * lyxfunc.C: removed greek_kb_flag.
11611
11612 2001-10-10  Herbert Voss  <voss@perce.de>
11613
11614         * lyx_main.C: delete global string help_lyxdir.
11615
11616 2001-10-09  Herbert Voss  <voss@perce.de>
11617
11618         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11619
11620         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11621
11622         * lyx_main.C: added global string help_lyxdir.
11623
11624         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11625
11626 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11627
11628         * lyxrc.C (set_font_norm_type): support iso8859-4
11629
11630 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11631
11632         * LaTeX.C (deplog): add another regex for MikTeX
11633
11634 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11635
11636         * lyxrc.C (set_font_norm_type): support iso8859-3
11637
11638 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11641
11642         * LaTeXFeatures.C: remove special case of french and index
11643
11644         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11645         before \begin{document}). This solves several incompatibilities.
11646
11647 2001-10-03  Garst Reese  <reese@isn.net>
11648
11649         * lyx_cb.C: change CheckTex error msg.
11650
11651 2001-10-03  José Matos  <jamatos@fep.up.pt>
11652
11653         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11654
11655 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * .cvsignore: update
11658
11659         * lyx_main.C (commandLineVersionInfo): use new style version info.
11660
11661         * buffer.C (writeFile):
11662         (makeLaTeXFile):
11663         (makeLinuxDocFile):
11664         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11665
11666         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11667
11668         * version.h: update to use stuff in version.C
11669
11670         * version.C.in: new file. Contains version information determined
11671         at compile time. This is a merging of version.h and
11672         version_info.h.in.
11673
11674 2001-10-03  Juergen Vigna  <jug@sad.it>
11675
11676         * BufferView_pimpl.C (update): don't change "dirty" status in
11677         updateInset call.
11678
11679 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11680
11681         * WorkArea.C (c-tor): re-position version string slightly.
11682
11683 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11686         revert to previous code.
11687
11688         WorkArea.[Ch]: (show, destroySplash): methods removed.
11689
11690         WorkArea.C: rework code so that it's an amalgam of the codes before and
11691         after the splash screen was moved to WorkArea.
11692
11693 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11694
11695         * lyxrc.C (read):
11696         * vspace.C (inPixels):
11697         (lyx_advance):
11698         * kbmap.C (bind):
11699         * buffer.C (insertStringAsLines):
11700         (asciiParagraph): fix types to be large enough
11701
11702         * lyxlex_pimpl.h: change member status from short to int
11703
11704         * layout.h: fix type of endlabeltype
11705
11706         * kbmap.C (bind):
11707         * kbsequence.C (parse): change return type to string::size_type
11708
11709         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11710         variable
11711
11712         * Bullet.C (bulletSize):
11713         (bulletEntry): do not use short ints as parameters
11714
11715         * BufferView2.C (insertLyXFile): change a char to an int.
11716
11717         * WorkArea.C (WorkArea): remove unneeded floats in computation
11718
11719 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11720
11721         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11722
11723         * paragraph.C (asString): Do not ignore newline/hfill chars when
11724         copying to the clipboard.
11725
11726 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11729         after a multi-line inset.
11730
11731 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11732
11733         * paragraph.C (validate): Set NeedLyXFootnoteCode
11734
11735 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11738         and decrease-error to decrease.
11739
11740 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11743         it more readable (should be equivalent)
11744
11745 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11746
11747         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11748
11749 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11752         of a cursor (row, etc.) after a character has been deleted
11753         (deleteEmptyParagraphMechanism): call the method above on _all_
11754         cursors held by the LyXText when a double space has been
11755         detected/deleted.
11756
11757 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11758
11759         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11760         pixmap.
11761         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11762
11763         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11764         background. Use greyOut() and the new show() methods to toggle between
11765         the foreground and background. Add code to remove the splash after
11766         its initial showing.
11767
11768         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11769         (create_forms): no longer call Dialogs::showSplash.
11770
11771 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * .cvsignore: add version_info.h
11774
11775 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * version_info.h.in: new file
11778
11779         * Makefile.am: add version_info.h.in
11780
11781         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11782         version_info.h instead of VERSION_INFO
11783
11784 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11787         The ERT inset now returns string().
11788
11789 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11790
11791         * lyxtext.h, text.C (selectNextWord): renamed as
11792         selectNextWordToSpellcheck.
11793
11794         * text.C (selectNextWordToSpellcheck): Modified to not select
11795         words inside an ERT inset.
11796
11797 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * lyx_cb.C (MenuLayoutSave): change a bit the question
11800
11801         * sp_base.h: include <sys/types.h>
11802
11803 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11804
11805         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11806
11807 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11808
11809         * several files: fix typos in user-visible strings
11810
11811 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11812
11813         * text2.C (pasteSelection): do not set the selection, since it
11814         will be cleared later. Actually, the intent was to fix the way the
11815         selection was set, but I figured rmoving the code was just as good.
11816
11817 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11818
11819         * FontLoader.C (available): Check if font is available without
11820         loading the font.
11821
11822 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11823
11824         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11825
11826 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * lyxrc.[Ch]: added display_graphics variable and associated code.
11829
11830 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * bufferparams.C (hasClassDefaults): new method. Returns true if
11833         the buffer parameters correspond to known class defaults
11834
11835 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11836
11837         * XFormsView.C (show): set minimum size to the main window.
11838
11839 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11840
11841         * text2.C (copySelection):
11842         (cutSelection):
11843         * lyxfind.C (LyXReplace):
11844         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11845         LyXText::selectionAsString.
11846
11847         * paragraph.C (asString): add "label" argument to the second form
11848
11849         * text2.C (selectionAsString): add "label" argument and pass it to
11850         Paragraph::asString.
11851
11852 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11853
11854         * lyx_main.C (commandLineHelp): remove version information
11855
11856 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11857
11858         * lyx_main.C: add -version commandline option
11859
11860 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * paragraph.h: make the optional constructor arg required instead.
11863         some modifications to other files because of this.
11864
11865         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11866
11867         * lyxserver.C (C_LyXComm_callback): make it static
11868
11869         * lyx_main.C (error_handler): make it static
11870
11871         * lyx_gui.C (LyX_XErrHandler): make it static
11872
11873         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11874
11875         * WorkArea.C: make the extern "C" methods static.
11876
11877         * Makefile.am (lyx_LDADD): simplify
11878
11879 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11882         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11883
11884         * LyXAction.C (init):
11885         * lyxfunc.C (dispatch): associated code removal.
11886
11887 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * lyxfont.h (isSymbolFont): shut off warning
11890
11891         * text.C (setHeightOfRow):
11892         (getVisibleRow): fix crash with empty paragraphs which have a
11893         bottom line
11894
11895 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11896
11897         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11898         code.
11899
11900 2001-09-04  José Matos  <jamatos@fep.up.pt>
11901         * buffer.C
11902         * buffer.h
11903         * tabular.C (docbook): rename docBook method to docbook.
11904
11905 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * Makefile.am: add dependencies to main.o.
11908
11909 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11910
11911         * FontLoader.C (available): Return false if !lyxrc.use_gui
11912
11913 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11914
11915         * FontInfo.C (query):
11916         * converter.C (view):
11917         * importer.C (Import):
11918         * exporter.C (Export): Can not -> cannot.
11919
11920 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11921
11922         * BufferView_pimpl.C: allow to create index inset even if
11923           string is empty
11924
11925 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11926
11927         * buffer.C (getLists): replace boost::tie code with an explicit pair
11928         as boost::tie can break some compilers.
11929
11930         * iterators.h: Added a std:: declaration to the return type of
11931         ParIterator::size.
11932
11933 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11936           case.
11937
11938 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11939
11940         * iterators.[Ch]: New files. Provide paragraph iterators.
11941
11942         * buffer.C (changeLanguage): Use paragraph iterators.
11943         (isMultiLingual): ditto
11944
11945         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11946
11947 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11948
11949         * FontLoader.C: Support for cmr font.
11950
11951 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11952
11953         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11954         (available): New method.
11955
11956         * FontInfo.C (getFontname): Use scalable fonts even when
11957         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11958         found.
11959
11960 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11961
11962         * converter.C (Formats::view): reverted! Incorrect fix.
11963
11964 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * converter.C (Formats::view): only output the -paper option
11967         if the dvi viewer is xdvi, thereby fixing bug #233429.
11968
11969 2001-08-23  Herbert Voss  <voss@perce>
11970
11971         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11972
11973 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11974
11975         * Spacing.h (Spacing): Set space to Default on in the default
11976         constructor.
11977
11978 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * vc-backend.h (RCS::versionString): add RCS to version
11981         (CVS::versionString): add CVS to version
11982
11983         * vc-backend.C (scanMaster): do not add CVS to version.
11984         (scanMaster): do not add RCS to version
11985
11986         * lyxvc.C (versionString): new method
11987
11988         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11989
11990 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11991
11992         * Spacing.C (set): initialize fval
11993
11994 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11995
11996         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11997         " or \.
11998
11999 2001-08-16  Juergen Vigna  <jug@sad.it>
12000
12001         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12002
12003 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * BufferView_pimpl.C:
12006         * figureForm.C:
12007         * lyxtext.h:
12008         * text2.C: setParagraph takes linespacing now
12009
12010 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * LyxAction.C: add internal LFUN_CITATION_INSERT
12013
12014         * LyXView.C: actually apply fix
12015
12016         * bufferlist.C: fix open non-existent file
12017
12018         * lyxfind.C: fix indentation
12019
12020         * lyxfunc.C: remove unneeded assert, fix typo
12021
12022 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * MenuBackend.C: use "Floatname List"
12025
12026 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12027
12028         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12029         when converting LaTeX layout to insetERT.
12030         Generate a non-collapsed float when reading old float
12031
12032 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12033
12034         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12035         ERT insets.
12036
12037 2001-08-13  Juergen Vigna  <jug@sad.it>
12038
12039         * text.C (fill): return 0 instead of 20 as this seems to be the more
12040         correct value.
12041
12042 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12043
12044         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12045         lyxrc.font_norm.
12046
12047 2001-08-13  Juergen Vigna  <jug@sad.it>
12048
12049         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12050         casesensitive off.
12051         (SearchBackward): comment out the unlocking of the inset_owner this
12052         should not be needed!
12053
12054 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12055
12056         * Many files: Remove inherit_language, and add latex_language
12057
12058         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12059         collapsible insets.
12060
12061 2001-08-10  Juergen Vigna  <jug@sad.it>
12062
12063         * text.C (prepareToPrint): fixed hfill-width in draw!
12064
12065         * BufferView2.C (selectLastWord): save the selection cursor as this
12066         now is cleared in the function LyXText::clearSelection!
12067
12068 2001-08-08  Juergen Vigna  <jug@sad.it>
12069
12070         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12071         BACKSPACE type functions.
12072
12073         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12074         is only cutted from the document but not put in the cut-buffer, where
12075         still the old stuff should be.
12076
12077         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12078
12079         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12080
12081         * tabular.C (SetWidthOfCell): fixed special case where the width
12082         was not updated!
12083         (LeftLine): handle '|' in align_special.
12084         (RightLine): ditto
12085         (LeftAlreadyDrawed): ditto
12086         (SetWidthOfCell): ditto
12087
12088 2001-08-07  Juergen Vigna  <jug@sad.it>
12089
12090         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12091
12092 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12095         * lyxlex.[hC]: ditto
12096
12097 2001-08-06  Juergen Vigna  <jug@sad.it>
12098
12099         * text.C (getVisibleRow): fix up row clearing a bit.
12100
12101 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * minibuffer.C: make sure the X server sees the changes in the input.
12104
12105 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * paragraph.C (getFont): split into...
12108         (getLabelFont): this
12109         (getLayoutFont): and this
12110         * paragraph_pimpl.C (realizeFont): calling this
12111
12112         * text2.C (getFont): split into...
12113         (getLayoutFont): this
12114         (getLabelFont): and this
12115         (realizeFont): all three calling this
12116
12117         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12118         files where used.
12119
12120 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12123
12124 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12125
12126         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12127         layouts from the Quote inset insertion.
12128
12129 2001-08-03  Juergen Vigna  <jug@sad.it>
12130
12131         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12132
12133         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12134         only if status not is already CHANGED_IN_DRAW (second level).
12135
12136         * text.C (draw): don't set the need_break_row when inside an
12137         InsetText LyXText.
12138
12139 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * buffer.C (parseSingleLyXformat2Token): handle more latex
12142         conversion cases.
12143
12144         * bufferview_funcs.[hC]: change function names to
12145         begin with small char, adjust other files.
12146
12147 2001-08-02  André Pönitz <poenitz@gmx.net>
12148
12149         * lyxfunc.C:
12150         BufferView_pimpl.C: remove broken special code for math-greek
12151
12152 2001-08-02  Juergen Vigna  <jug@sad.it>
12153
12154         * BufferView_pimpl.C (update): redone this function so that we
12155         update the text again if there was a CHANGE_IN_DRAW.
12156
12157         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12158         (drawFromTo): added a new internal bool which is used by draw() and
12159         redraw() function.
12160         (general): some cursor drawing problems fixed.
12161
12162 2001-08-01  Juergen Vigna  <jug@sad.it>
12163
12164         * lyxfind.C (LyXFind): fixed
12165         (SearchForward): ditto
12166         (SearchBackward): ditto
12167
12168         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12169         spurius drawing of the cursor in the main area.
12170
12171         * text2.C (status): small fix which could lead to a segfault!
12172         (clearSelection): remove unneeded BufferView param.
12173
12174 2001-08-01  André Pönitz <poenitz@gmx.net>
12175
12176         * lyxfunc.C: small change due to changed mathed interface
12177
12178 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12181
12182 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * lyxfunc.c: fail gracefully if file doesn't exist
12185
12186         * LyXSendto.C:
12187         * buffer.C:
12188         * lyxfunc.C:
12189         * BufferView_pimpl.C: IsDirWriteable() proto changed
12190
12191         * LyXView.C: fix updateWindowTitle() to store the last title
12192
12193 2001-07-31  Juergen Vigna  <jug@sad.it>
12194
12195         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12196         the font (wrong since using of Paragraph::highestFontInRange).
12197
12198         * paragraph.C (highestFontInRange): added a default_size parameter.
12199
12200         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12201         (setHeightOfRow): reformat
12202
12203 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * converter.[hC] + affected files: move to (inital-char)lowercase
12206         function names.
12207
12208         * ParagraphParameters.C (ParagraphParameters): remove commented code
12209
12210         * PainterBase.[Ch]: remove commented code
12211
12212         * LaTeXFeatures.h: add "bool floats" for float.sty
12213
12214         * LaTeXFeatures.C (LaTeXFeatures): init floats
12215         (require): handle float
12216         (getPackages): do it with floats
12217
12218 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * BufferView_pimpl.C (Dispatch): improve handling of
12221         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12222
12223         * commandtags.h: #include lyxfont.h here temporarily to avoid
12224         keybinding bug.
12225
12226         * bufferlist.h: include LString.h here.
12227
12228 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * text2.C (getStringToIndex): new method.
12231
12232 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12233
12234         * *: Reduced header file dependencies all over.
12235
12236 2001-07-30  Baruch Even  <baruch@lyx.org>
12237
12238         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12239
12240 2001-07-29  Baruch Even  <baruch@lyx.org>
12241
12242         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12243
12244 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * ParameterStruct.h (endif): add a default constructor to make
12247         sure that all variables is initialized.
12248
12249         * ParagraphParameters.C (ParagraphParameters): adjust
12250
12251 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12254         index; also, check that there is something to index, and that it
12255         does not span over several paragraphs.
12256         (doubleClick): use WHOLE_WORD_STRICT for double click.
12257
12258         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12259
12260         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12261         scheme.
12262
12263 2001-07-26  Baruch Even  <baruch@lyx.org>
12264
12265         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12266         an InsetFig figure, backwards compatible reading of old figure code.
12267
12268 2001-07-27  Juergen Vigna  <jug@sad.it>
12269
12270         * text2.C: font.realize function adaption.
12271
12272         * text.C (draw): add a warnings lyxerr text if needed.
12273
12274         * layout.C: font.realize function adaption.
12275
12276         * language.C: add inherit_language and implement it's handlings
12277
12278         * bufferview_funcs.C (StyleReset): remove language parameter from
12279         font creation (should be language_inherit now).
12280
12281         * bufferparams.C (writeFile): handle ignore_language.
12282
12283         * paragraph.C (getFontSettings): the language has to be resolved
12284         otherwise we have problems in LyXFont!
12285
12286         * lyxfont.C (lyxWriteChanges): added document_language parameter
12287         (update): removed unneeded language parameter
12288
12289         * paragraph.C (validate): fixed wrong output of color-package when
12290         using interface colors for certain fonts in certain environments,
12291         which should not seen as that on the final output.
12292
12293 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.C:
12296         * Thesaurus.h:
12297         * Thesaurus.C:
12298         * Makefile.am:
12299         * commandtags.h:
12300         * LyXAction.C: add thesaurus support
12301
12302         * lyxfind.h:
12303         * lyxfind.C: add "once" parameter, for thesaurus, to not
12304           move to the next match
12305
12306 2001-07-26  Juergen Vigna  <jug@sad.it>
12307
12308         * lyxfont.C (realize): honor ignore_language too!
12309         (resolved): ditto.
12310
12311         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12312
12313         * text.C (draw): one place more for ignore_language to not draw
12314         itself!
12315
12316 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12317
12318         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12319
12320 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12323         the minipage conversion problem.
12324
12325 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12326
12327         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12328         insert an inset.
12329
12330 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * BufferView.h: don't forward declare WorkArea
12333
12334         * BufferView.C: don't include WorkArea.h
12335
12336 2001-07-25  André Pönitz <poenitz@gmx.net>
12337
12338         * commandtags.h:
12339         * LyXAction.C:
12340         * lyxfunc.C:  new LFUN 'math-space'
12341
12342         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12343
12344 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * text2.C (toggleInset): call open/close
12347
12348 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * lyxfunc.C (dispatch): add debug for the disabled case
12351
12352         * font.C (buttonText): make similar to rectText
12353
12354         * buffer.C (readInset): comment out parsing of insetlist and
12355         insttheorem
12356
12357         * PainterBase.C (rectText): small correction
12358
12359         * BufferView_pimpl.C: comment out insettheorem and insetlist
12360         * LyXAction.C: ditto
12361         * commandtags.h: ditto
12362
12363 2001-07-24  Juergen Vigna  <jug@sad.it>
12364
12365         * text.C (draw): honor the ignore_language.
12366
12367         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12368
12369 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12372         char inset.
12373
12374 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12375
12376         * lyxtext.h: remove unused (and unimplemented) methods
12377
12378 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12379
12380         * text.C (getVisibleRow): honor background color
12381
12382         * PainterBase.h:
12383         * Painter.h: remove default color argument for fillRectangle
12384
12385         * text.C (backgroundColor): new method
12386
12387 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * text.C (getVisibleRow): adjust
12390
12391         * font.[Ch] (rectText): new method, metrics
12392         (buttonText): new method, metrics
12393
12394         * PainterBase.[hC]: make rectText and buttonText always draw and take
12395         fewer paramteres.
12396
12397 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12398
12399         * ToolbarDefaults.C (read):
12400         * MenuBackend.C (read): allow escaping in all strings
12401
12402         * BufferView_pimpl.C (insertAndEditInset): new method.
12403         (Dispatch): use insertAndEditInset whenever appropriate.
12404
12405         * BufferView_pimpl.C (insertNote): removed
12406
12407         * BufferView_pimpl.C (smartQuote): new method, moved from
12408         BufferView; if an insetquote cannot be inserted, insert a '"'
12409         character instead.
12410
12411         * BufferView2.C: remove insertCorrectQuote();
12412
12413         * lyxfunc.C (getStatus): Add support for all remaingin
12414         inset-insert lfuns.
12415
12416         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12417
12418         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12419         command (necessary to pass " as parameter of self-insert.
12420
12421         * text.C (selectWordWhenUnderCursor):
12422         (selectWord): add word_location parameter
12423         (selectWordWhenUnderCursor): same + remove special code for word
12424         boundary.
12425         (selectNextWord): use kind() to guess type of insetspecialchar,
12426         not latex().
12427
12428         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12429         (insertErtContents): create ert insets as collapsed.
12430         (readInset): better compatibility code for Info inset.
12431
12432 2001-07-20  Juergen Vigna  <jug@sad.it>
12433
12434         * lyxfunc.C (dispatch): use always LyXFind now!
12435
12436         * text2.C (init): add a reinit flag so that the LyXText can be
12437         reinited instead of deleted and reallocated (used in InsetText).
12438
12439         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12440
12441         * text.C: ditto
12442
12443         * text2.C: ditto
12444
12445 2001-07-18  Juergen Vigna  <jug@sad.it>
12446
12447         * text.C (selectNextWord): handle insets inside inset by calling
12448         always the bv->text functions so that we can go up the_locking_inset!
12449
12450         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12451         in strange locations when inside an inset!
12452
12453         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12454         handling to include insets.
12455
12456         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12457
12458 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * LyXAction.C (init):
12461         * commandtags.h:
12462         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12463         LIGATURE_BREAK, since the name is so stupid.
12464
12465 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12466
12467         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12468         InsetInfos.
12469
12470         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12471
12472         * sp_form.[Ch]: remove.
12473
12474         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12475
12476         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12477         InsetInfo.
12478
12479         * src/buffer.C (readInset): ditto.
12480
12481 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12482
12483         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12484         menuSeparator(), endOfSentenceDot(), ldots() and
12485         hyphenationPoint(), which are therefore removed.
12486         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12487
12488         * LyXAction.C (init):
12489         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12490
12491         * paragraph.C (getWord): removed.
12492
12493         * BufferView_pimpl.C (Dispatch): use last word or selection for
12494         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12495
12496         * lyx_main.C (queryUserLyXDir): do not ask before creating
12497         user_dir, except if it has been named explicitely.
12498
12499 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12502         a document of zero size.
12503
12504 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12507         approriately in the c-tor and in require().
12508         (getPackages): output the appropriate LaTeX for natbib support.
12509
12510         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12511         variables "use_natbib" and "use_numerical_citations" when reading the
12512         LyX file.
12513         (readInset): read the various natbib cite commands.
12514         (validate): white-space change.
12515
12516         * bufferparams.[Ch]: new variables "bool use_natbib" and
12517         "bool use_numerical_citations".
12518         (writeFile): output them in the LyX file.
12519
12520 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12521
12522         * lyxfunc.C (getStatus): add support for all the inset insertion
12523         commands.
12524
12525         * text2.C (insertInset):
12526         * paragraph.C (insetAllowed):
12527         * BufferView_pimpl.C (insertInset): update to take in account the
12528         renaming of insertInsetAllowed
12529
12530         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12531
12532         * text2.C (getInset): new method. returns inset at cursor position.
12533
12534         * BufferView_pimpl.C (Dispatch): changes because of this.
12535
12536         * LyXAction.C (init): rename open-stuff to inset-toggle.
12537
12538         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12539
12540         * text2.C (toggleInset): renamed from openStuff; use
12541         Inset::open().
12542
12543 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12544
12545         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12546
12547         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12548
12549 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12550
12551         * buffer.C (readLyXformat2): Add filename to the error dialog
12552
12553 2001-07-18  Juergen Vigna  <jug@sad.it>
12554
12555         * tabular.C (GetCellNumber): put an assert here instead of the check!
12556
12557 2001-07-17  Juergen Vigna  <jug@sad.it>
12558
12559         * BufferView_pimpl.C (toggleSelection): adapted too.
12560
12561         * text.C (selectNextWord): adapted for use with insets.
12562         (selectSelectedWord): ditto
12563
12564 2001-07-17  Juergen Vigna  <jug@sad.it>
12565
12566         * sp_spell.C (PSpell): fix initialitation order.
12567
12568 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * paragraph.C: spacing
12571
12572 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12573
12574         * sp_spell.C: repair language selection for pspell
12575
12576 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * lyxfunc.h: change more methods to begin with lower char.
12579
12580 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12581
12582         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12583         for unknown layouts.
12584
12585 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12586
12587         * buffer.C (readLyXformat2): Generate an error dialog if there are
12588         unknown layouts.
12589
12590 2001-07-16  Juergen Vigna  <jug@sad.it>
12591
12592         * sp_spell.C: always compile ISpell part.
12593
12594         * lyxrc.C: added use_pspell entry and it's handling.
12595
12596 2001-07-13  Juergen Vigna  <jug@sad.it>
12597
12598         * sp_spell.C: removed double includes.
12599
12600 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         Consistent use of Lsstream.h:
12603         * Lsstream.h: added using std::stringstream for consistencies sake.
12604
12605         * buffer.C: removed using std::stringstream
12606
12607         * lyxfont.C (stateText):
12608         * paragraph.C (asString):
12609         * text.C (selectNextWord, selectSelectedWord):
12610         * text2.C (setCounter):
12611         * vspace.C (asString, asLatexString):
12612         std::ostringstream -> ostringstream.
12613
12614 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12615
12616         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12617         * commandtags.h: add LFUN_HELP_ABOUTLYX
12618         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12619
12620 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12621
12622         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12623         cursorToggle()
12624         * lyx_gui_misc.C: remove spellchecker
12625         * lyxfunc.C: showSpellchecker
12626         * sp_base.h: added
12627         * sp_ispell.h: added
12628         * sp_pspell.h: added
12629         * sp_spell.C: added
12630         * sp_form.[Ch]: removed
12631         * spellchecker.[Ch]: removed
12632
12633 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12634
12635         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12636         is set.
12637         (simpleTeXSpecialChars): Simply print the input character without
12638         any special translation if pass_thru is set.
12639
12640         * layout.h: Added bool pass_thru to layout class for being able to
12641         implement pass through of a paragraph for Literate Programming.
12642
12643         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12644         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12645         * layout.C (Read): add "passthru" to list of layout tags and add
12646         code to set the pass_thru boolean when it is read.
12647
12648 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * trans_decl.h: remove allowed from KmodInfo
12651
12652         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12653         remove allowed code
12654         (Load): adjust
12655
12656         * paragraph_pimpl.C (erase): use boost::prior
12657
12658         * Painter.C (text): use data() instead of c_str() when length is
12659         also provided.
12660         * WorkArea.C (putClipboard): ditto
12661         * font.h (width): ditto
12662
12663         * BufferView2.C: use it-> instead of (*it). for iterators
12664         * texrow.C: ditto
12665         * paragraph_pimpl.C: ditto
12666         * paragraph.C: ditto
12667         * minibuffer.C: ditto
12668         * language.C: ditto
12669         * kbmap.C: ditto
12670         * encoding.C: ditto
12671         * counters.C: ditto
12672         * converter.C: ditto
12673         * chset.C: ditto
12674         * Variables.C: ditto
12675         * TextCache.C: ditto
12676         * MenuBackend.C: ditto
12677         * LyXAction.C: ditto
12678         * LColor.C: ditto
12679         * FloatList.C: ditto
12680         * DepTable.C: ditto
12681         * ColorHandler.C (LyXColorHandler): ditto
12682
12683 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12686
12687         * text2.C (openStuff): reintroduce this method (which had been
12688         nuked in NEW_INSETS frenzy).
12689
12690         * lyxfunc.C (Dispatch): when an action has not been handled, use
12691         its name in the error message, not its number.
12692
12693         * paragraph.C (inInset): change method name to begin with lowercase.
12694
12695         * undo_funcs.C:
12696         * text2.C: updates because of this.
12697
12698 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12699
12700         * ToolbarDefaults.C (add): add spaces in error message
12701
12702 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12705         (readLyXformat2): rename return_par to first_par, use lyxlex's
12706         pushToken and remove the manual push handling.
12707         (parseSingleLyXformat2Token): add another ert comp. variable:
12708         in_tabular, rename return_par to first_par. handle newlines better
12709
12710 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12713
12714 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * text2.C (getParFromID): removed
12717
12718         * buffer.C (getParFromID): new method moved form lyxtext.
12719         * BufferView2.C (insertErrors): adjust
12720         (setCursorFromRow): adjust
12721         * BufferView_pimpl.C (restorePosition): adjust
12722         * lyxfunc.C (Dispatch): adjust
12723         * undo_funcs.C (textUndo): adjust
12724         (textRedo): adjust
12725         (textHandleUndo): adjust
12726         (textHandleUndo): adjust
12727
12728 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12729
12730         * buffer.C: up' the LYX_FORMAT
12731
12732         * lyxfont.h: turn NO_LATEX on as default
12733
12734         * buffer.C (insertErtContents): new methods of tex style compability.
12735         (parseSingleLyXformat2Token): use it several places.
12736         * tabular.C (OldFormatRead): and here
12737
12738 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * text2.C: remove some commented code.
12741         reindent file.
12742
12743         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12744         * trans.C: changes because of the above.
12745
12746 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12747
12748         * text2.C (setCounter): Fix counters bug with bibliography layout.
12749
12750 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12753         own member functions
12754         (simpleTeXSpecialChars): ditto
12755
12756 2001-07-06  Juergen Vigna  <jug@sad.it>
12757
12758         * a lot of files: changed the access to LyXText::status and the
12759         call of undo-functions.
12760
12761         * undo.[Ch]: added a inset_id to the undo informations.
12762
12763         * undo_funcs.[Ch]: added and moved here all undo functions.
12764
12765         * lyxtext.h: give the status enum a weight, made status_ a private
12766         variable and made accessor functions for it, removed the whole bunch
12767         of undo-functions as they are now in their own file, make some
12768         functions publically available. Added function ownerParagraph with
12769         int parameter.
12770
12771         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12772         made InInset() a const function, added getParFromID() function.
12773
12774         * buffer.[Ch]: added const version for inset_iterator functions,
12775         added getInsetFromID() function.
12776
12777         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12778         changed undo functions for new version.
12779
12780 2001-07-05  Juergen Vigna  <jug@sad.it>
12781
12782         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12783         unknow mechanism does not call the proper constructor but only this
12784         one also if I request the other!?
12785
12786 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12789
12790         * text2.C (LyXText): use initialization lists.
12791
12792         * lyxtext.h (Selection): initialize set_ and mark_
12793         (init): remove method
12794
12795 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12796
12797         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12798
12799 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * screen.[Ch]: change method names to begin with lowercase
12802
12803         * BufferView_pimpl.C (updateScrollbar): simplify further and
12804         hopefully make it a bit faster.
12805
12806 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12809         calling directly xforms functions.
12810
12811         * Painter.C (Painter):
12812         * lyx_cb.C (MenuWrite):
12813         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12814         fl_display.
12815
12816         * lyx_gui.C: remove bogus guiruntime extern declaration.
12817
12818 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12821         in NEW_INSETS
12822         (redoDrawingOfParagraph): ditto
12823         (redoParagraphs): ditto
12824         (cutSelection): don't create a object for CutAndPaste use the
12825         static method directly
12826         (pasteSelection): ditto
12827
12828         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12829         LyXview (+ rename)
12830
12831 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * modifications to some other files because of this.
12834
12835         * Makefile.am (lyx_SOURCES): add XFormsView
12836
12837         * XFormsView.[Ch]: new files
12838
12839         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12840         the main window. Move the gui dependent stuff to XFormsView
12841
12842 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * tabular.C (GetCellInset): update cur_cell also in the row/col
12845         version of this function.
12846
12847         * lyxfunc.C: no need to include figure_form.h here.
12848
12849         * FontLoader.h:
12850         * lyxfunc.h:
12851         * lyxscreen.h:
12852         * text2.C:
12853         * lyxvc.C: no need to include forms.h here.
12854
12855 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12858
12859         * lyxfunc.C (Dispatch):
12860         * Spacing.C (set):
12861         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12862         constructor argument.
12863
12864 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * paragraph.C (Paragraph): dont't clear, and just set layout.
12867         (makeSameLayout): use params's copy contructor.
12868
12869         * ParagraphParameters.[Ch] (makeSame): delete method
12870
12871 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * Variables.[Ch]: fix indentation, rename set to isSet
12874
12875 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * lyxfunc.C (Dispatch): fix typo
12878
12879 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12882         upper_bound.
12883
12884         * bufferlist.C: include assert.h for emergencyWrite().
12885
12886 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12889           give up at last (bug #425202) !
12890
12891 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * lyx_gui_misc.C:
12894         * sp_form.h:
12895         * sp_form.C:
12896         * spellchecker.h:
12897         * spellchecker.C: strip spellchecker options and bring up
12898           preferences tab instead
12899
12900 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12901
12902         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12903         the istringstream constructor
12904
12905 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12906
12907         * paragraph.C (getLayout): fix return value
12908
12909         * paragraph.h: do not declare getLayout as inline.
12910
12911         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12912
12913 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * lyxcursor.h (operator<): new func
12916         (operator>): new func
12917         (operator>=): new func
12918         (operator<=): new func
12919
12920         * text.C (changeCase): use selection.start and selection.end
12921         (changeRegionCase): require from to be <= to. Require par to be a
12922         valid paragraph.
12923
12924         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12925
12926 2001-06-27  Juergen Vigna  <jug@sad.it>
12927
12928         * text.C (cursorLeftOneWord): changed to return the cursor and added
12929         overlay with BufferView * parameter which calls this one.
12930         (getWord): added
12931         (selectWord): use new getWord function.
12932         (changeCase): renamed from changeWordCase as and extended to work
12933         also on selections.
12934
12935         * lyxtext.h: added enum word_location
12936
12937         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12938         changeCase as this operates now also on selections.
12939
12940 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12941
12942         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12943
12944         * many files: send debug output to Debug::INFO instead of
12945         Debug::ANY.
12946
12947         * converter.C (View):
12948         (Convert):
12949         (Move): send debug output to Debug::FILES instead of console.
12950
12951 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12952
12953         * lyxfunc.C (getStatus): use func_status
12954
12955         * func_status.h: new header, describing the results of
12956         LyXFunc::getStatus;
12957
12958         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12959         LFUN_MATH_HALIGN.
12960
12961 2001-06-25  The LyX Project  <jug@sad.it>
12962
12963         * buffer.C (sgmlOpenTag):
12964         (sgmlCloseTag):
12965         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12966
12967 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * text2.C: remove some dead code
12970
12971         * tabular.C (GetCellInset): store the last cell checked (gotten)
12972
12973         * tabular.h: add the helper for the speedup
12974
12975         * lyxtext.h: remove some dead code
12976
12977 2001-06-26  The LyX Project  <Asger>
12978
12979         * paragraph.C: Change export to LaTeX of alignment to
12980         \begin{center} and family for better roundtrip work with reLyX.
12981
12982         * Tune the math drawing a bit.
12983
12984 2001-06-25  The LyX Project  <Asger>
12985
12986         * LColor.C (LColor): New color for math background. New color
12987         for buttons.
12988
12989 2001-06-25  The LyX Project  <jug@sad.it>
12990
12991         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12992
12993         * lyxfunc.C (Open):
12994         * bufferlist.C (newFile): do not restrict to files ending with
12995         .lyx
12996
12997         * BufferView_pimpl.C (MenuInsertLyXFile):
12998
12999 2001-06-24  The LyX Project  <jug@sad.it>
13000
13001         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13002         of compare_no_case
13003
13004 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13005
13006         * lyxtext.h: rename most methods to begin with a small char.
13007         Lots of changes because of this.
13008
13009         * paragraph.C (Paragraph): do not call fitToSize
13010         (erase): call Pimpl::erase
13011         (insertChar): call Pimpl::insertChar
13012         (insertInset): call Pipl::insertInset
13013         (breakParagraph): do not call fitToSize
13014         (breakParagraphConservative): do not call fitToSize
13015         (fitToSize): remove method
13016
13017         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13018
13019 2001-06-24  The LyX Project  <Asger>
13020
13021         * Fix Qt compilation^2
13022
13023 2001-06-24  The LyX Project  <jug@sad.it>
13024
13025         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13026         depthHook(getDepth()-1).
13027
13028         * paragraph.h:
13029         * ParagraphParameters.h:
13030         * ParameterStruct.h: change type of depth to unsigned int ==
13031         depth_type. Many adaptations to other files before of that.
13032
13033 2001-06-24  The LyX Project  <Asger>
13034
13035         * Fix Qt compilation.
13036
13037 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * paragraph.h: renamed several methods to begin with small letter.
13040         several changes to many parts of the code because of this.
13041
13042 2001-06-23  The LyX Project  <jug@sad.it>
13043
13044         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13045         rewritten to discard all double spaces when KeepEmpty is off
13046         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13047         to only handle newlines but not fiddle with spaces and friends.
13048
13049         * lyxfunc.C (MenuNew): when doing 'new from template', use
13050         template_path as default directory
13051
13052 2001-06-23  The LyX Project  <Asger>
13053
13054         * Clean-up of header file includes all over
13055         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13056
13057 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * paragraph.h: renamed from lyxparagraph.h
13060
13061 2001-06-23  Asger  <lyx@violet.home.sad.it>
13062
13063         * Buffer.h: Removed Buffer::resize
13064         * BufferList.h: Removed BufferList::resize
13065         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13066         the document lazily when we change the width, or the font settings.
13067
13068 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13071
13072 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * buffer.h: remove out of date comment
13075
13076 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13077
13078         * lyxscreen.h:
13079         * screen.C: fix "theoretical" GC leak
13080
13081 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * LaTeX.C (scanAuxFile):
13084         (deplog): remove trailing \r when reading stream (useful under
13085         win32)
13086
13087 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13090         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13091         and BufferView::theLockingInset(Inset*), so should use them and not
13092         access bv_->text->the_locking_inset directly.
13093
13094         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13095
13096 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * Makefile.am:
13099         * tex-defs.h: remove old unused file
13100
13101 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * BufferView_pimpl.C: fix typo, remove minibuffer message
13104           when buffer has loaded
13105
13106 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13107
13108         * lyxfunc.C (Dispatch): use stringstream
13109         (MenuNew): use stringstream
13110         (Open): use stringstream
13111
13112         * importer.C (Import): use stringstream
13113
13114         * bufferview_funcs.C (CurrentState): use stringstream
13115
13116         * LaTeX.C (run): use stringstream
13117
13118         * BufferView_pimpl.C (savePosition): use stringstream
13119         (restorePosition): use stringstream
13120         (MenuInsertLyXFile): use stringstream
13121
13122 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13123
13124         * BufferView.C:
13125         * Bullet.C:
13126         * ColorHandler.C:
13127         * FontInfo.C:
13128         * FontLoader.C:
13129         * LColor.C:
13130         * LaTeXFeatures.C:
13131         * Painter.C:
13132         * gettext.C:
13133         * lyx_gui_misc.C:
13134         * lyxserver.C:
13135         * vspace.C: removed // -*- C++ -*- as first line.
13136
13137         * lyxfind.h:
13138         * version.h: added // -*- C++ -*- as first line.
13139
13140 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13143
13144         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13145         of string
13146
13147 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13150         of floats.
13151
13152 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * gettext.C: include LString.h even when --disable-nls is on.
13155
13156 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * converter.h (Get): changed argument type from int to
13159         FormatList::size_type to avoid unnecessary conversion.
13160
13161         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13162         before using it.
13163
13164 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * gettext.h: include LString.h even when --disable-nls is on.
13167
13168 2001-06-07  Juergen Vigna  <jug@sad.it>
13169
13170         * text.C (BreakAgain): subst spaces with tabs.
13171
13172         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13173         (resizeInsetsLyXText): set force on resizeLyXText.
13174
13175 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * gettext.h (gettext_init):
13178         (locale_init): use a real definition instead of a macro
13179
13180 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * Bufferview_pimpl.C:
13183         * LColor.h:
13184         * LColor.C: further lcolor tidies
13185
13186 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * BufferView_pimpl.C (updateScrollbar): simplify.
13189
13190         * BufferView2.C: don't include insets/insetinfo.h, change
13191         prototype for insertInset and call the Pimpl version. let
13192         updateInset call Pimpl version.
13193
13194         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13195         gotoInset to BufferView::Pimpl
13196
13197 2001-06-01  Juergen Vigna  <jug@sad.it>
13198
13199         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13200         inside a LockingInset (is the update needed at all?).
13201
13202 2001-05-31  Juergen Vigna  <jug@sad.it>
13203
13204         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13205         here not the old one otherwise how should we compare it afterwards
13206         if it's the same!
13207
13208 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * lyxfont.C:
13211         * tabular.C:
13212         * tabular-old.C:
13213         * FontInfo.C: bring C functions into global namespace when
13214         necessary
13215
13216 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * LString.h: make sure config.h has been loaded before LString.h.
13219
13220         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13221         (one for each char read by EatLine!).
13222
13223         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13224         variables.
13225
13226 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13229         to the same as the par we break from
13230
13231 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13234
13235         * MenuBackend.C (expand): also create menu entries for wide
13236         versions of the floats.
13237
13238         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13239
13240         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13241
13242         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13243         frontends/Makefile.am
13244
13245         * text2.C: adjust
13246         * text.C: adjust
13247
13248
13249         * tabular.C (getTokenValue): add std::
13250
13251         * tabular-old.C (getTokenValue): add std::
13252         (getTokenValue): ditto
13253         (getTokenValue): ditto
13254
13255         * screen.C (ToggleSelection): adjust
13256
13257         * lyxtext.h: put selection cursors inside a Selection struct.
13258
13259         * lyxfunc.C (moveCursorUpdate): adjust
13260
13261         * lyxfont.C (latexWriteStartChanges): add std::
13262
13263         * lyxfind.C: adjust
13264
13265         * font.h: delete with(char const *, LyXFont const &)
13266
13267         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13268
13269         * FontInfo.C (getFontname): add std::
13270
13271         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13272         (workAreaButtonPress): adjust
13273         (tripleClick): adjust
13274         (update): adjust
13275         (moveCursorUpdate): adjust
13276         (Dispatch): adjust
13277
13278         * BufferView2.C (gotoInset): adjust
13279
13280 2001-05-30  Juergen Vigna  <jug@sad.it>
13281
13282         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13283         to check pspell I add this as default as I now have new pspell
13284         libraries and they seem to use this.
13285
13286 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * text2.C (CutSelection): make the cursor valid before the call to
13289         ClearSelection.
13290
13291 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13294         relied on 0 terminated strings and other horrors. Bug found due to
13295         the new assert in lyxstring!
13296
13297         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13298         KP_ keys.
13299
13300 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13303         to latinkeys.bind.
13304
13305         * lyxfunc.C (processKeySym): change method of getting to the
13306         self-insert char.
13307
13308         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13309         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13310         * BufferView_pimpl.[Ch]: here as private methods.
13311
13312 2001-05-28  Juergen Vigna  <jug@sad.it>
13313
13314         * text.C (SetHeightOfRow): added the update() call again as it is
13315         needed to initialize inset dimensions!
13316
13317 2001-05-16  Juergen Vigna  <jug@sad.it>
13318
13319         * text2.C (SetCharFont): Add new function with BufferView * and
13320         bool toggleall parameters for setting insets internal fonts.
13321         (SetFont): Freeze the undo as we may change fonts in Insets and
13322         all this change should be inside only one Undo!
13323
13324         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13325         setting font's in insets as for them we have the SetFont function!
13326
13327 2001-05-15  Juergen Vigna  <jug@sad.it>
13328
13329         * text2.C (ClearSelection): to be sure we REALLY don't have any
13330         selection anymore!
13331
13332         * tabular.C (TeXCellPreamble): fixed the left border problem for
13333         multicolumn cells.
13334
13335 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13338         dependancy file
13339
13340 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13343         LFUN_BREAKPARAGRAPH.
13344
13345         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13346         help test to "internal only", similar for LFUN_INSERT_URL
13347
13348         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13349         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13350         auto_region_delete and deadkeys.
13351
13352 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13353
13354         * LColor.h:
13355         * LColor.C: remove some dead entries, tidy a little
13356
13357 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13360         commented code.
13361         (Dispatch): implement LFUN_ESCAPE
13362
13363         * commandtags.h: add LFUN_ESCAPE
13364
13365         * LyXAction.C (init): add entry for LFUN_ESCAPE
13366
13367         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13368         Remove commented code.
13369         (insertNote): moved here
13370         (open_new_inset): moved here
13371
13372         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13373         BufferView_pimpl
13374
13375 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13376
13377         * kbmap.C (findbinding): clean it up and make it work correctly.
13378
13379         * lyx_main.C (init): do not pass argc and argv as parameters
13380
13381 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13382
13383         * buffer.C: fix path for OS/2 & Win32
13384
13385         * lyx_gui.C:
13386         * lyx_main:
13387         * lyx_main.C: Added os:: class.
13388
13389         * os2_defines.h: update
13390
13391 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13394         better by trying again with reduced state.
13395
13396 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * lyxrc.C (read): print error about invalid key sequence only when
13399         debugging (because not all latinX keysyms are known to some X
13400         servers)
13401
13402         * kbsequence.C (getiso): add a few std:: qualifiers
13403         (getiso): comment out extra return statement.
13404
13405 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13408         handling.
13409         (Dispatch): enhance the accent inset a bit. (not perfect)
13410
13411 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13414
13415 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * bufferlist.C (emergencyWrite): fix assert() call
13418
13419 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13420
13421         * text.C (InsertChar): Added trivial patch to only send the "you
13422         can not do multiple spaces this way" message once during a
13423         session.
13424
13425 2001-05-08  Baruch Even  <baruch@lyx.org>
13426
13427         * Makefile.am: Changed order of libraries to get LyX to link properly
13428         with the gnome frontend.
13429
13430 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * LaTeXFeatures.h: add a std:: qualifier
13433
13434 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * paragraph.C (String): use stringstream
13437
13438 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * paragraph.C (writeFile): remove footflag arg
13441
13442         * buffer.C (makeLaTeXFile): use stringstream
13443         (latexParagraphs): remove footnot gurba
13444
13445         * LaTeXFeatures.C (getPackages): use stringstream
13446         (getMacros): likewise
13447         (getTClassPreamble): likewise
13448         (getFloatDefinitions): new method
13449
13450         * paragraph.C (writeFile): reindent
13451         (Erase): reindent
13452
13453         * WorkArea.h: revert the xpos + etc changes.
13454
13455         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13456
13457         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13458
13459         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13460         (pasteSelection): likewise
13461         * text2.C (CreateUndo): likewise
13462
13463 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * minibuffer.C (peek_event): temporarily reduce the functionality
13466         of the minibuffer (to allow args on lfuns)
13467
13468         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13469         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13470
13471         * buffer.C (readInset): add compability reading of old float
13472         lists, add reading of new style float list.
13473         (readInset): avoid reevaluation of inscmd.getCmdName()
13474         (getLists): reindent
13475
13476         * MenuBackend.C (MenuItem): implement parsing of
13477         md_floatlistinsert and md_floatinsert.
13478         (expand::LastFiles): move initalizaton of iterators out of loop,
13479         avoid reevaluation.
13480         (expand::Documents): introduce typdedef vector<string> Strings,
13481         and use it.
13482         (expand::ExportFormats): introduce typedef vector<Format const *>
13483         Formats, and use it.
13484         (expand): implement FloatListInsert and FloatInsert.
13485
13486         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13487         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13488         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13489
13490         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13491         handling.
13492         (Dispatch::LFUN_FLOAT_LIST): implement
13493
13494 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13495
13496         * LaTeX.C (run): Fix problem with --export code.
13497
13498 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * BufferView.[Ch] (workarea): removed.
13501         (getClipboard) new method; wrapper for workarea()->getClipboard()
13502
13503         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13504         bug.
13505
13506         * WorkArea.h (width, height, xpos, ypos): These methods all
13507         returned the dimensions of the work_area sub-area of WorkArea,
13508         resulting in a position error if the WorkArea were resized. Now
13509         return the dimensions of the entire WorkArea.
13510
13511         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13512
13513 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * LaTeX.C (deplog): correct the syntax of regex reg1
13516
13517 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13518
13519         * undo.C: remove !NEW_INSETS cruft
13520
13521 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * text2.C: remove !NEW_INSETS cruft
13524
13525         * text.C: remove !NEW_INSETS cruft
13526
13527         * tabular.C: remove !NEW_INSETS cruft
13528
13529         * spellchecker.C: remove !NEW_INSETS cruft
13530
13531         * lyxtext.h: remove !NEW_INSETS cruft
13532
13533         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13534
13535         * lyxfunc.C: remove !NEW_INSETS cruft
13536
13537         * lyxfind.C: remove !NEW_INSETS cruft
13538
13539         * lyx_cb.C: remove !NEW_INSETS cruft
13540
13541         * figureForm.C: remove  !NEW_INSETS cruft
13542
13543         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13544
13545         * buffer.[Ch]: remove !NEW_INSETS cruft
13546
13547         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13548
13549         * CutAndPaste.C: remove !NEW_INSETS cruft
13550
13551         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13552
13553         * BufferView2.C: remove !NEW_INSETS cruft
13554
13555         * BufferView.h: remove !NEW_INSETS cruft
13556
13557 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13558
13559         * Lsstream.h: include LString.h before the sstream headers to
13560         fix problem with gcc 2.95.3 and lyxstring
13561
13562 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13563
13564         * lyx_main.C: add using directives when needed for C functions
13565         declared in std:: namespace.
13566
13567 2001-04-27  Juergen Vigna  <jug@sad.it>
13568
13569         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13570         (SetHeightOfRow): comment out the update call should not be needed!
13571
13572 2001-04-13  Juergen Vigna  <jug@sad.it>
13573
13574         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13575         (LyXTabular): tried to minimize operator= operations (and realized
13576         hopfully Lars wish).
13577
13578 2001-04-27  Juergen Vigna  <jug@sad.it>
13579
13580         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13581
13582 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13585
13586         * buffer.C (readInset): hack to make listof algorithm work
13587
13588         * BufferView_pimpl.C: hack to make listof algorithm work
13589
13590 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * LyXAction.C: removed all !NEW_INSETS cruft
13593         (init): moved lfun_item in method
13594
13595         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13596
13597 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13598
13599         * BufferView2.C (theLockingInset): white space.
13600
13601 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * minibuffer.C: include <iostream>
13604
13605         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13606
13607         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13608
13609         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13610
13611         * text.[Ch] (TransposeChars): new method
13612
13613 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * call message directly through LyXView instead of through LyXFunc
13616         * BufferView2.C: adjust
13617         * BufferView_pimpl.C: adjust
13618         * FontLoader.C: adjust
13619         * buffer.C: adjust
13620         * bufferview_funcs.C: adjust
13621         * converter.C: adjust
13622         * figureForm.C: adjust
13623         * importer.C: adjust
13624         * lyx_cb.C: adjust
13625         * lyx_gui_misc.C: adjust
13626         * lyxfunc.C: adjust
13627         * lyxvc.C: adjust
13628         * text2.C: adjust
13629         + more files in subdirs
13630
13631         * lyxparagraph.h (size): move up int file
13632         (GetLayout): ditto
13633
13634         * adjust all uses of Assert to lyx::Assert.
13635
13636         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13637         lyxfunctional in namespace lyx
13638         * layout.C (hasLayout): ditto
13639         (GetLayout): ditto
13640         (GetLayout): ditto
13641         (delete_layout): ditto
13642         (NumberOfClass): ditto
13643         * converter.C (GetFormat): ditto
13644         (GetNumber): ditto
13645         (Add): ditto
13646         (Delete): ditto
13647         (SetViewer): ditto
13648         * bufferlist.C (getFileNames): ditto
13649         (emergencyWriteAll): ditto
13650         (exists): ditto
13651         (getBuffer): ditto
13652         * MenuBackend.C (hasSubmenu): ditto
13653         (hasMenu): ditto
13654         (getMenu): ditto
13655         * BufferView_pimpl.C (getInsetByCode): ditto
13656
13657 2001-04-18  Juergen Vigna  <jug@sad.it>
13658
13659         * vspace.C (asLatexString): fixed the 100% problem.
13660
13661 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13662
13663         * lyxfunc.C (Dispatch):
13664         * minibuffer.C:
13665         * minibuffer.h: add a few std:: qualifiers
13666
13667 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * minibuffer.[Ch]: reimplement so that commands is initiated and
13670         run from lyxfunc, simplified som handling, and made the completion
13671         and history code for complete. wip.
13672
13673         * lyxfunc.C (processKeySym): call message
13674         (miniDispatch): new temporary method
13675         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13676         (LFUN_MESSAGE): implement
13677         (LFUN_MESSAGE_PUSH): implement
13678         (LFUN_MESSAGE_POP): implement
13679         (initMiniBuffer): the initial/defualt minibuffer message.
13680
13681         * lyxfont.[Ch]: inline some more getters
13682
13683         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13684
13685         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13686
13687         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13688         (AutoSave): use LFUN_MESSAGE
13689         (Reconfigure): ditto
13690
13691         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13692
13693         * figureForm.C: use LFUN_MESSAGE
13694
13695         * converter.C (runLaTeX): use LFUN_MESSAGE
13696
13697         * bufferview_funcs.C: use LFUN_MESSAGE
13698         (Melt): ditto
13699         (changeDepth): ditto
13700
13701         * bufferparams.h: use boost::
13702
13703         * bufferlist.h: inherit privately from noncopyable
13704
13705         * bufferlist.C (loadLyXFile): remove some commented code.
13706
13707         * buffer.C (runChktex): use LFUN_MESSAGE
13708
13709         * ShareContainer.h: inherit privately from noncopyable
13710
13711         * ParagraphParameters.[hC] (depth): inline it.
13712
13713         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13714         methods.
13715         (message): new method
13716         (messagePush): ditto
13717         (messagePop): ditto
13718         (show): init minibuffer
13719         (showState): direct call
13720
13721         * LaTeX.[Ch]: inherit privately from noncopyable
13722         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13723         instead of WriteStatus.
13724
13725         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13726
13727         * BufferView_pimpl.C (buffer): don't init minibuffer
13728         (workAreaButtonPress): use LFUN_MESSAGE
13729         (workAreaButtonRelease): ditto
13730         (savePosition): ditto
13731         (restorePosition): ditto
13732         (MenuInsertLyXFile): ditto
13733         (workAreaExpose): don't init minibuffer
13734         (update): remove commented code, simplify
13735
13736         * BufferView2.C (openStuff): use LFUN_MESSAGE
13737         (toggleFloat): ditto
13738         (menuUndo): ditto
13739         (menuRedo): ditto
13740         (copyEnvironment): ditto
13741         (pasteEnvironment): ditto
13742         (copy): ditto
13743         (cut): ditto
13744         (paste): ditto
13745         (gotoInset): ditto
13746         (updateInset): remove some commented code
13747
13748         * lastfiles.h: inherit privately from noncopyable
13749         * layout.h: ditto
13750         * lyx_gui.h: ditto
13751         * lyx_main.h: ditto
13752         * lyxlex.h: ditto
13753         * lyxlex_pimpl.h: ditto
13754
13755         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13756         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13757         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13758
13759         * LyXAction.h: inherit privately from noncopyable, add methods
13760         func_begin, func_end, returning iterators to the func map.
13761
13762         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13763         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13764         (func_begin): new method
13765         (func_end): new method
13766
13767         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13768         and not)
13769         (copySelection): ditto
13770         (pasteSelection): ditto
13771
13772         * BufferView.C: whitespace change
13773         * BufferView.h: inherit privately from noncopyable
13774
13775 2001-04-16  Allan Rae  <rae@lyx.org>
13776
13777         * tabular-old.C (l_getline):
13778         * spellchecker.C (sc_check_word):
13779         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13780         an unrecognised preprocessor directive.  So ensure they're wrapped.
13781
13782 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * src/exporter.C (Export): Give an error message when path to file
13785         contains spaces.
13786
13787 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * LaTeX.C (deplog): Always check that foundfile exists.
13790
13791 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13792
13793         * lyx_main.h:
13794         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13795
13796 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * tabular.[Ch] (getLabelList): implement new method
13799
13800         * minibuffer.h: comment ouf setTiimer
13801
13802         * minibuffer.C (ExecutingCB): constify res
13803         (peek_event): constify s
13804         (Set): constify ntext
13805         (Init): constify nicename
13806
13807         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13808
13809         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13810         (savePosition): use two params to Minibuffer::Set
13811         (restorePosition): ditto
13812
13813 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * lyx_main.C: include language.h
13816
13817         * Makefile.am (lyx_main.o): add language.h
13818
13819 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * exporter.C:
13822         * paragraph.C:
13823         * screen.C:
13824         * tabular.C:
13825         * CutAndPaste.C: include gettext.h
13826
13827         * lyxfont.h: remove old hack with ON and OFF.
13828
13829         * lyxparagraph.h:
13830         * lyxfont.h: do not include language.h...
13831
13832         * BufferView2.C:
13833         * LaTeXFeatures.C:
13834         * Painter.C:
13835         * bufferview_funcs.C:
13836         * font.C:
13837         * lyxfont.C:
13838         * text.C:
13839         * text2.C:
13840         * trans_mgr.C:
13841         * paragraph.C: ... but do it here instead
13842
13843 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13846
13847         * tabular.C: small reformat
13848
13849         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13850         NEW_INSETS version
13851         (GetChar): ditto
13852         (BreakParagraph): ditto
13853         (SetOnlyLayout): ditto
13854         (SetLayout): ditto
13855
13856         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13857         with one arg less.
13858
13859         * lastfiles.C: removed most using decl, add std:: where needed
13860
13861         * buffer.C: ws changes
13862
13863         * MenuBackend.C (class compare_format): put into anon namespace
13864         (expand): constify label, names, action, action2
13865         (expand):
13866
13867         * text.C (SingleWidth): constify font
13868         (IsBoundary): constify rtl2
13869         (GetVisibleRow): constify ww
13870
13871         * LaTeX.C (deplog): constify logfile
13872
13873         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13874         start_x, end_x
13875         (workAreaExpose): constify widthChange, heightChange
13876
13877         * lyxrow.C (par): moved
13878         (height): moved
13879         (next): moved
13880         * lyxrow.h: as inlines here
13881
13882         * lyxfont.h (shape): moved from lyxfont.C
13883         (emph): moved from lyxfont.C
13884
13885         * lyxfont.C (LyXFont): use initialization list for all
13886         constructors
13887         (shape): move to lyxfont.h as inline
13888         (emph): move to lyxfont.h as inline
13889
13890
13891 2001-04-04  Juergen Vigna  <jug@sad.it>
13892
13893         * vspace.C: had to include stdio.h for use of sscanf
13894
13895 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13896
13897         * BufferView.h:
13898         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13899         independent of xforms.
13900
13901 2001-04-02  Juergen Vigna  <jug@sad.it>
13902
13903         * spellchecker.C: fixed namespace placing!
13904
13905 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13908         the LyXParagraph * is 0.
13909
13910 2001-03-29  Juergen Vigna  <jug@sad.it>
13911
13912         * vspace.C: added support for %, c%, p%, l%.
13913         (stringFromUnit): added helper function.
13914         (asLatexString): changed to give right results for the %-values.
13915
13916         * buffer.C: convert the widthp in a width%.
13917
13918 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13921         figureForm.[Ch].
13922
13923         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13924         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13925
13926         * lyx_cb.[Ch]: see above.
13927
13928         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13929         form1.[Ch].
13930
13931         * form1.[Ch]:
13932         * lyx.[Ch]: replaced by figure_form.[Ch].
13933
13934         * lyx_gui.C:
13935         * lyx_gui_misc.C:
13936         * lyxfunc.C: changed headers associated with above changes.
13937
13938 2001-03-27  Juergen Vigna  <jug@sad.it>
13939
13940         * BufferView_pimpl.C: set the temporary cursor right!
13941
13942 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13943
13944         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13945
13946 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13947
13948         * LString.h: removed "using std::getline"!
13949
13950         * BufferView_pimpl.C (Dispatch): changes due to changes in
13951         InsetInclude::Params.
13952
13953         * buffer.C (tag_name): removed redundant break statements as they were
13954         producing lots of warnings with my compiler.
13955
13956 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13957
13958         * LString.h: add "using std::getline" when using the real <string>.
13959
13960 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13961
13962         * buffer.C: removed bitset usage.
13963         PAR_TAG moved to an anonymous name space.
13964         (tag_name): new funtion, also in the anonymous namespace.
13965         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13966         (makeDocBookFile): clean code. Completed transition from string arrays
13967         to string vectors.
13968         (SimpleDocBookOnePar): code clean.
13969
13970 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13971
13972         * tabular.C: add some comments.
13973
13974 2001-03-22  Juergen Vigna  <jug@sad.it>
13975
13976         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13977         compatibility read a bit and fixed bug with minipage in different
13978         depth.
13979
13980 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13981
13982         * buffer.C (pop_tag): removed.
13983         (push_tag): removed.
13984         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13985         array replaced with vector. Added support for CDATA sections.
13986         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13987         at any nest level.
13988         (makeDocBookFile): XML conformant declaration of CDATA section,
13989         fixed bug related to <emphasis> in the first paragraph char.
13990         (sgmlOpenTag): exclude empty tags.
13991         (sgmlCloseTag): ditto.
13992
13993         * buffer.h (pop_tag): removed.
13994         (push_tag): removed.
13995
13996 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * language.h (Languages): added size_type and size().
13999
14000 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14001
14002         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14003         response on compability reading of minipages. One probliem is that
14004         the old usage of minipages was «flertydig»
14005
14006         * several files here and in subdirs: don't use static at file
14007         scope use anon namespaces instead.
14008
14009 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14010
14011         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14012         LaTeX output. This is necessary for Literate document
14013         processing.
14014
14015 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14016
14017         * buffer.C: insert hfill when needed.
14018
14019         * tabular.C (l_getline): use string::erase, small whitespace change.
14020
14021         * BufferView_pimpl.C: try the anon namespace.
14022         * WorkArea.C: ditto
14023
14024 2001-03-16  Juergen Vigna  <jug@sad.it>
14025
14026         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14027         otherwise it won't open options-dialogs.
14028
14029         * buffer.C: honor pextraWidth(p) on converting minipages.
14030
14031         * tabular.C (l_getline): changed the functions to strip trailing \r.
14032
14033 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * BufferView_pimpl.C:
14036         * minibuffer..C: added "using SigC::slot" declaration.
14037
14038 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14039
14040         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14041
14042         * text2.C: ditto
14043
14044         * text.C: ditto
14045
14046         * paragraph.C: ditto
14047
14048         * lyxtext.h: NO_PEXTRA
14049
14050         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14051
14052         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14053         * ParameterStruct.h: ditto
14054         * ParagraphParameters.h: ditto
14055         * lyxparagraph.h: ditto
14056
14057 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14058
14059         * buffer.C: add compability for minipage alignment.
14060         (latexParagraphs): remove unwanted pextra check.
14061
14062         * several files: remove CXX_WORKING_NAMESPACES
14063
14064         * buffer.C (pop_tag): tie is in namespace boost
14065
14066         * BufferView.h: noncopyable is in namespace boost
14067         * lyxlex.h: ditto
14068         * lyx_main.h: ditto
14069         * lyx_gui.h: ditto
14070         * layout.h: ditto
14071         * lastfiles.h: ditto
14072         * bufferlist.h: ditto
14073         * ShareContainer.h: ditto
14074         * LyXView.h: ditto
14075         * LyXAction.h: ditto
14076         * LaTeX.h: ditto
14077
14078 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14079
14080         * Merging changes from BRANCH_MVC back into HEAD.
14081
14082         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14083
14084 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * BufferView_pimpl.C: change from intl.C
14087
14088         * combox.h:
14089         * combox.C:
14090         * Makefile.am: move combox.*
14091
14092         * form1.h:
14093         * form1.C:
14094         * lyx_gui.C:
14095         * intl.h:
14096         * intl.C: remove dialog (covered by prefs)
14097
14098 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * lyxfunc.C (Dispatch): removed redundant break statement.
14101
14102 2001-03-14  Juergen Vigna  <jug@sad.it>
14103
14104         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14105
14106 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14107
14108         * buffer.C: add hack to fix compability reading of minipages.
14109
14110 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14111
14112         * buffer.C (getLists): Cleanup.
14113
14114 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyxfont.C (update): don't honor toggleall on font size.
14117
14118 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * bmtable.c:
14121         * bmtable.h:
14122         * Makefile.am: moved to frontends/xforms/
14123
14124         * lyx_gui_misc.C:
14125         * lyxfunc.C:
14126         * BufferView_pimpl.C: changes for moved mathpanel
14127
14128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * gettext.h: fix gettext_init() in --disable-nls
14131
14132 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14135
14136 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * lyx.C:
14139         * lyx.h: strip external form
14140
14141 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * BufferView_pimpl.C: add comment, destroySplash()
14144
14145 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * BufferView_pimpl.C:
14148         * LyXAction.C:
14149         * buffer.C:
14150         * commandtags.h:
14151         * lyxfunc.C: use re-worked insetinclude
14152
14153 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14154
14155         * buffer.C: add using std::stringstream.
14156
14157         * lyx_cb.C: readd using std::ios.
14158
14159         * buffer.C: add using std::map.
14160
14161         * BufferView_pimpl.C: add using std::vector.
14162
14163         * ShareContainer.h: add std:: to swap.
14164
14165         * buffer.h: add some typedefs
14166         * buffer.C (getLists): use them
14167         (getLists): renamed from getTocList.
14168         add a counter for the different float types and use it in the
14169         generated string.
14170         (getLists): use the same counter for the NEW_INSETS and the "non"
14171         NEW_INSETS
14172
14173         * lyx_cb.h: remove unused items, includes, using etc.
14174
14175         * ShareContainer.h: remove some commented code, add more comments
14176         and "documentation".
14177
14178 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14179
14180         * buffer.C (getTocList): make the list also when NEW_INSETS is
14181         defined.
14182
14183         * buffer.h: remove TocType
14184
14185         * buffer.C (getTocList): change to return a map<string,
14186         vector<TocItem> >, implement for dynamic number of list.
14187
14188         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14189         * text2.C (PasteSelection): adjust
14190         * CutAndPaste.C (pasteSelection): adjust
14191
14192         * FloatList.C (FloatList): update from the new_insets branch.
14193         * Floating.[Ch]: ditto
14194         * LaTeXFeatures.C: ditto
14195         * buffer.C: ditto
14196         * lyxlex_pimpl.C: ditto
14197
14198         * paragraph.C (Last): remove when NEW_INSETS is defined.
14199
14200         * other file: changes because of the above.
14201
14202 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14203
14204         * lyxparagraph.h: rename next to next_, previous to previous_,
14205         make them private for NEW_INSETS. Rename Next() to next(),
14206         Previous() to previous().
14207
14208         * other files: changes because of the above.
14209
14210 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * BufferView.h:
14213         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14214         problem.
14215
14216 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * main.C (main): pass lyx_localedir to gettext_init().
14219
14220         * gettext.h: remove locale_init and gettext_init macros
14221
14222         * gettext.C (locale_init): new function
14223         (gettext_init): new function
14224
14225         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14226         setlocale().
14227
14228 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14229
14230         * Moved credits to frontends:
14231         * credits.[Ch]: removed
14232         * credits_form.[Ch]: removed
14233         * lyx_gui_misc.C: remove credits stuff
14234         * Makefile.am:
14235
14236 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14237
14238         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14239
14240         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14241         unneeded destructor.
14242
14243         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14244         a standalone pointer again.
14245
14246         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14247
14248 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * Makefile.am:
14251         * filedlg.h:
14252         * filedlg.C:
14253         * LyXAction.C:
14254         * ToolbarDefaults.C:
14255         * bufferlist.C:
14256         * commandtags.h:
14257         * form1.C:
14258         * form1.h:
14259         * lyx_cb.C:
14260         * lyx_cb.h:
14261         * lyxfunc.h:
14262         * lyxfunc.C:
14263         * BufferView_pimpl.C: use new file dialog in GUII
14264
14265         * lyx_cb.h:
14266         * lyx_cb.C: remove LayoutsCB to Toolbar
14267
14268 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * ShareContainer.h (get): add std:: qualifier
14271
14272 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * ShareContainer.h: define a proper ShareContainer::value_type
14275         type (and use typename to please compaq cxx)
14276
14277 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14278
14279         * lyxparagraph.h: move serveral local vars to
14280         ParameterStruct/ParagraphParameters., use ShareContainer in
14281         FontTable., make vars in FontTable private and add getter and
14282         setter.
14283
14284         * paragraph.C: changes because of the above.
14285
14286         * lyxfont.h: remove copy constructor and copy assignment. (the
14287         default ones is ok), move number inside FontBits. move inlines to
14288         lyxfont.C
14289
14290         * lyxfont.C: add number to initializaton of statics, move several
14291         inlines here. constify several local vars. some whitespace
14292         cleanup. Dont hide outerscope variables.
14293
14294         * Spacing.h: add two new constructors to match the set methods.
14295
14296         * ShareContainer.h: new file, will perhaps be moved to support
14297
14298         * ParameterStruct.h: new file
14299
14300         * ParagraphParameters.h: new file
14301
14302         * ParagraphParameters.C: new file
14303
14304         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14305         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14306
14307         * BufferView_pimpl.C: ParagraphParameter changes.
14308         * buffer.C: Likewise.
14309         * bufferview_funcs.C: Likewise.
14310         * text.C: Likewise.
14311         * text2.C: Likewise.
14312
14313 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * lyxfind.C (LyXReplace): do not redefine default argument in
14316         implementation.
14317         (IsStringInText): ditto
14318         (SearchForward): ditto
14319         (SearchBackward): ditto
14320
14321 2001-03-06  Juergen Vigna  <jug@sad.it>
14322
14323         * lyxfind.C (IsStringInText): put parentes around expressions.
14324
14325 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14326
14327         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14328
14329 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14330
14331         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14332
14333         * stl_string_fwd.h: add comment
14334
14335         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14336
14337         * tabular.h:
14338         * tabular.C: remove unused DocBook methods
14339
14340         * intl.C:
14341         * language.C:
14342         * paragraph.C:
14343         * buffer.C:
14344         killed DO_USE_DEFAULT_LANGUAGE
14345
14346 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * lyx_gui.C: do not include language.h.
14349
14350         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14351         arguments in function implementation.
14352
14353 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14354
14355         * BufferView_pimpl.C: add <ctime>
14356
14357 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14358
14359         * BufferView_pimpl.C: add using std::find_if
14360
14361 2001-02-27  José Matos  <jamatos@fep.up.pt>
14362
14363         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14364         by OnlyPath.
14365
14366 2001-02-11  José Matos  <jamatos@fep.up.pt>
14367
14368         * buffer.C (makeDocBookFile): command styles now have a parameter as
14369         "title" by default.
14370
14371 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14372
14373         * layout_forms.[Ch]: removed
14374         * lyx_cb.[Ch]: out character
14375         * lyx_gui.C: out character
14376         * lyx_gui_misc.C: out character
14377         * bufferview_funcs.C: : out character,
14378         added toggleall as parameter in ToggleAndShow
14379
14380 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14383
14384         * text2.C (SetCurrentFont): Disable number property at boundary.
14385
14386 2001-02-26  Juergen Vigna  <jug@sad.it>
14387
14388         * lyxfunc.C (getStatus): added a string argument override function so
14389         that this is correctly called from LyXFunc::Dispatch if it contains a
14390         do_not_use_argument which is used!
14391         (Dispatch): added check for "custom" export and call appropriate func.
14392
14393 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * lyxrc.C: Add language_command_local, language_use_babel and
14396         language_global_options.
14397
14398         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14399
14400         * buffer.C (makeLaTeXFile): Use language_use_babel and
14401         language_global_options.
14402
14403 2001-02-23  Juergen Vigna  <jug@sad.it>
14404
14405         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14406         which works with LyXText and putted it inside BufferView. Here now we
14407         only call for that part the BufferView::Dispatch() function.
14408
14409         * BufferView.C (Dispatch): added.
14410
14411         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14412         functions which needs to use a LyXText over from LyXFunc.
14413         (MenuInsertLyXFile): added
14414         (getInsetByCode): added
14415         (moveCursorUpdate): added
14416         (static TEXT): added
14417
14418 2001-02-22  Juergen Vigna  <jug@sad.it>
14419
14420         * BufferView_pimpl.C (update): call a status update to see if LyXText
14421         needs it.
14422
14423 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14424
14425         * vc-backend.C (revert): implement for CVS
14426         (getLog): implement for CVS
14427
14428 2001-02-20  Juergen Vigna  <jug@sad.it>
14429
14430         * text2.C (ClearSelection): added BufferView param for inset_owner call
14431
14432         * lyxfunc.C (TEXT): added this function and use it instead of
14433         directly owner->view()-text of getLyXText().
14434
14435 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14436
14437         * src/layout_forms.C: out preamble
14438         * src/layout_forms.h: out preamble
14439         * src/lyx_cb.C: out preamble
14440         * src/lyx_cb.h: out preamble
14441         * src/lyx_gui.C: out preamble
14442         * src/lyx_gui_misc.C: out preamble
14443         * src/lyxfunc.C: connect with guii preamble
14444
14445 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14446
14447         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14448
14449 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14450
14451         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14452         whether to run bibtex.
14453
14454 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14457
14458 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14459
14460         * Makefile.am (lyx_SOURCES): removed bibforms.h
14461
14462         * vspace.h: doxygen
14463
14464         * text.C (GetVisibleRow): make several local vars const
14465
14466         * tabular.C: small cleanup.
14467
14468         * lyxserver.C (callback): use compare instead of strncmp
14469
14470         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14471         inlines to after class or to paragraph.C
14472
14473         * lyxfont.h: remove friend operator!=
14474
14475         * converter.h: move friend bool operator< to non friend and after
14476         class def.
14477
14478         * combox.h: small cleanup
14479
14480         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14481         to inlines after class def.
14482
14483         * buffer.C (pop_tag): use string operations instead of strcmp
14484
14485         * bmtable.c: doxygen, small cleanup
14486
14487         * LaTeX.h: remove friend operator==
14488
14489 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14490
14491         * screen.C:
14492         * lyxrc.[Ch]:
14493         * lyxfunc.C:
14494         * lyxfont.[Ch]:
14495         * lyx_cb.C:
14496         * intl.[Ch]:
14497         * commandtags.h:
14498         * buffer.C:
14499         * WorkArea.[Ch]:
14500         * LyXAction.C:
14501         * BufferView_pimpl.C:
14502         * BufferView.[Ch]: remove cruft
14503
14504 2001-02-14  Juergen Vigna  <jug@sad.it>
14505
14506         * lyxfunc.C: removed #if 0 unused code
14507
14508         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14509
14510         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14511
14512         * text2.C (SetSelection): added a BufferView * parameter
14513
14514 2001-02-13  Juergen Vigna  <jug@sad.it>
14515
14516         * lyxfunc.C (Dispatch): fixed protected blank problem.
14517         * BufferView2.C (protectedBlank): added LyxText * parameter.
14518
14519         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14520         (AppendColumn): same as above for column_info.
14521
14522         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14523         (moveCursorUpdate): use a LyXText param for support of InsetText.
14524
14525         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14526         (tripleClick): ditto
14527
14528         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14529
14530         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14531
14532         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14533
14534         * text2.C (SetSelection): set correct update status if inset_owner
14535         (ToggleFree): ditto
14536
14537 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14538
14539         * tabular.C: remove some commented code.
14540
14541 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14542
14543         * BufferView_pimpl.C: call hideSplash()
14544
14545         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14546
14547         * include_form.h:
14548         * bibforms.h: remove
14549
14550         * lyxfunc.C:
14551         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14552           add LFUN_CHILD_CREATE
14553
14554         * counters.h: fix tiny typo
14555
14556         * lyx_cb.C:
14557         * lyx.h:
14558         * lyx_gui.C:
14559         * lyx.C: move splash to frontends/xforms/
14560
14561         * lyx_gui_misc.C: move Include and Bibform to frontends
14562
14563         * lyxvc.h: clarify comment
14564
14565         * vspace.C: tiny housekeeping
14566
14567 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14568
14569         * text.C (PrepareToPrint): RTL Fix.
14570
14571         * paragraph.C (GetUChar): New method.
14572         (String):  Use GetUChar.
14573
14574         * buffer.C (asciiParagraph): Use GetUChar.
14575
14576 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14579
14580 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * buffer.h:
14583         * buffer.C: rename to getLogName(), handle
14584           build log / latex log nicely
14585
14586 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * MenuBackend.C:
14589         * MenuBackend.h: remove support for reference menuitem type.
14590
14591 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14592
14593         * BufferView_pimpl.C: housekeeping
14594         * BufferView_pimpl.h:
14595         * LyXView.h:
14596         * Makefile.am:
14597         * Timeout.C:
14598         * Timeout.h:
14599         * minibuffer.h: move Timeout GUI-I
14600
14601 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * lyxrc.C (read): Update converters data-structures.
14604
14605 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14606
14607         * LaTeX.h (operator!=): add operator != for Aux_Info
14608
14609 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14612
14613         * LaTeXLog.C: deleted, useful code moved to Buffer
14614
14615         * buffer.h:
14616         * buffer.C: new function getLatexLogName()
14617
14618         * lyx_gui_misc.C:
14619         * lyx_gui.C:
14620         * lyxvc.C:
14621         * lyxvc.h:
14622         * lyxfunc.C: use frontends for LaTeX and VC logs
14623
14624 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14625
14626         * LaTeX.h: yet another std:: that Allan forgot.
14627
14628         * Variables.C (set): renamed from isset(), because this clashes
14629         with some HP-UX macros (grr).
14630
14631 2001-02-06  Allan Rae  <rae@lyx.org>
14632
14633         * LaTeX.h: Another bug fix.  Missing std:: this time.
14634
14635 2001-02-04  Allan Rae  <rae@lyx.org>
14636
14637         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14638         floats problem. I've left it commented out because it's not quite
14639         correct.  It should also test that the current object is a table or
14640         figure inset.  But I haven't gotten around to figuring out how to do
14641         that.  I *think* it'll be something like: "table" == inset.type()
14642
14643         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14644         bool.
14645
14646 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14649         all the citation/databases/styles in the auxilary file.
14650         (run): Rerun latex if there was a babel language error.
14651
14652 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14653
14654         * text.C (Backspace): Preserve the font when changing newline char
14655         with a space.
14656         (BreakParagraph): If the cursor is before a space, delete the space.
14657
14658         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14659
14660 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14661
14662         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14663         new argument (code).
14664         (ChangeCitationsIfUnique): New method.
14665
14666         * paragraph.C (GetPositionOfInset): Handle bibkey.
14667
14668 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * BufferView_pimpl.h: change type of Position::par_pos to
14671         LyXParagraph::size_type.
14672
14673 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * BufferView_pimpl.C (savePosition, restorePosition): Write
14676         messages to minibuffer.
14677
14678 2001-01-28  José Matos  <jamatos@fep.up.pt>
14679
14680         * buffer.C (makeDocBookFile): adds support for document language.
14681         A silly restriction on the name of LatexCommand types where removed.
14682         Added support for CDATA sections, allows to chars unescaped, used
14683         among others in code, to avoid escape < and >.
14684
14685 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14686
14687         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14688         saved positions instrad of a stack. Furthermore, a position is
14689         stored using paragraph id/paragraph position.
14690
14691         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14692         Remove LFUN_REF_BACK.
14693
14694 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * converter.C (dvipdfm_options): New method.
14697
14698 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * vspace.C (isValidLength): Fix for empty input string.
14701
14702 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * LyXAction.C (init): change description of LFUN_FIGURE to
14705         "Insert Graphics"
14706
14707 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * LaTeX.C: add using directive
14710
14711 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14712
14713         * MenuBackend.C (expand): Fix the sorting of the formats.
14714
14715 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * lyx_main.C: tiny error message fix
14718
14719 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14722         calling fl_initialize(). This fixes the problem with ',' as
14723         decimal separator in text files.
14724
14725 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14726
14727         * trans.C (process): Fix the keymap bug.
14728
14729 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14730
14731         * LaTeX.C (scanAuxFiles): New method. Provides support for
14732         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14733         (scanLogFile) Scan for "run BibTeX" messages.
14734
14735         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14736         OT1 font encoding. Also, load the aecompl package if the ae
14737         package is loaded.
14738
14739         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14740
14741 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14742
14743         * texrow.C (increasePos): turn two error messages into debug
14744         messages.
14745
14746 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * LaTeX.C (scanAux): Handle the \@input macro.
14749         (runBibTeX): Use scanAux().
14750
14751         * language.C (latex_options_): New field.
14752
14753         * LaTeXFeatures.C (getMacros): Add language macros.
14754
14755         * buffer.C (makeLaTeXFile): Small fix.
14756
14757 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14760
14761         * text2.C: add a using directive.
14762
14763 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * BufferView2.C:
14766         * lyx_gui_misc.h:
14767         * lyxfr1.C:
14768         * lyxfunc.C: kill LyXBell.
14769
14770 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * text.C (IsBoundary): Remove the error message
14773
14774         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14775
14776         * lyxrc.C (setDefaults): Correct initialization value for
14777         font_norm_type.
14778
14779 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14780
14781         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14782         gotoError().
14783
14784         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14785         and GotoNextNote().
14786
14787         * src/LyXAction.C: Added reference-next.
14788
14789         * text.C (InsertChar): Use contains instead of strchr.
14790
14791         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14792
14793 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14796         alignment commands (when needed).
14797
14798         * text.C (InsertChar): Add ':' to number separator chars.