]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX...
[lyx.git] / src / ChangeLog
1 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * LaTeXFeatures.C:
4         * bufferparams.[Ch]: add jurabib support and param.
5
6         * LaTeX.C: add FIXME/comment.
7
8 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9
10         * buffer.C: increment file format to 230.
11
12 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
13
14         * cursor.C (dispatch): avoid infinite loops
15
16 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
17
18         * rowpainter.C (paintSelection): fix x coordinates
19
20 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
21
22         * text.C (rowBreakPoint): fix breaking before displayed insets
23
24 2004-03-01  André Pönitz  <poenitz@gmx.net>
25
26         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
27
28         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
29
30         * Makefile.am:
31         * BufferView.C:
32         * BufferView_pimpl.C:
33         * buffer.C:
34         * lyxfind.C:
35         * lyxfunc.C:
36         * text.C:
37         * text2.C:
38         * text3.C: adjust
39
40 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * lyxtext.h:
43         * text.C:
44         * text2.C:
45         * rowpainter.C:
46         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
47         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
48
49 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * Bidi.[Ch] (computeTables): const correctness
52         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
53         fill_hfill, fill_label_hfill and x from Row
54         * lyxtext.h: prepareToPrint returns a RowMetrics
55         * rowPainter.C: adjust
56         * text.C (prepareToPrint): use width, not textWidth. adjust
57         (redoParagraphInternal, cursorX): adjust
58         * text2.C (getColumnNearX): adjust
59         (init): put a default value to the top LyXText::width
60
61 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
64
65 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
66
67         * lyxtext.h: add FontIterator class 
68
69         * text.C (FontIterator, operator*, operator->, operator++): add
70         (rowBreakPoint, setRowWidth): adjust (fixing a
71         rebreaking bug)
72
73 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * BufferView_pimpl.C (workAreaDispatch): allow also
76         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
77
78 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * text.C (rowBreakPoint): fix a bug showing with very large insets
81
82 2004-02-25  André Pönitz  <poenitz@gmx.net>
83
84         * text3.C:
85         * cursor.[Ch]: move some mathed specific code to mathed
86
87 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
90         use_tempdir in preferences
91         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
92         tempfile creation
93         * lyx_main.C: ensure that tempdir is valid
94         * lyxlex.h: correct typo
95         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
96         * paragraph.[Ch] (isMultiLingual): make const
97         * cursor.[Ch] (openable): make const
98
99 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
102
103 2004-02-20  André Pönitz  <poenitz@gmx.net>
104
105         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
106
107         * cursor.[Ch]: prepare for localized getStatus()
108
109         * lyxtext.h:
110         * tabular.C:
111         * text.C:
112         * text2.C:
113         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
114
115 2004-02-20  André Pönitz  <poenitz@gmx.net>
116
117         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
118
119 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
120
121         * text2.C (setCursorFromCoordinates): switch to absolute coords
122         (cursorUp): adjust
123         (cursorDown): adjust
124         * text3.C (dispatch): adjust
125
126 2004-02-16  André Pönitz  <poenitz@gmx.net>
127
128         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
129           insets/ChangeLog)
130
131         * cursor_slice.[Ch]: remove unneeded acessor function
132
133         * lyxtext.h: rename rtl() to isRTL()
134
135         * rowpainter.C:
136         * tabular.C:
137         * text.C:
138         * text2.C:
139         * text3.C: adjust
140
141 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * rowpainter.C (paintSelection): coord fix
144
145 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
146
147         * Spacing.C: compile fix
148
149 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * cursor.C (dispatch): restore current_ before returning
152
153 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
154
155         * text2.C (cursorUp, cursorDown): fix coords
156         (moveUp): fix crash
157
158 2004-02-12  André Pönitz  <poenitz@gmx.net>
159
160         * lyxtext.h:
161         * text.C:
162         * text2.C:
163         * text3.C: add LCursor & parameter to most cursor movement functions
164           remove usage of LyXText::cursorRow() and cursorPar()
165
166         * cursor.[Ch]: add textRow() needed members
167
168         * BufferView.C:
169         * BufferView_pimpl.C:
170         * paragraph.[Ch]:
171         * BufferView.C:
172         * BufferView_pimpl.C: adjust
173
174 2004-02-11  André Pönitz  <poenitz@gmx.net>
175
176         * lyxfunc.C:
177         * BufferView.[Ch]:
178         * BufferView_pimpl.C: shift undo/redo handling
179
180         * cursor.[Ch]: fix mathed crash
181
182         * lyxfind.C:
183         * lyxtext.h: move selectionAsText to LCursor
184
185         * output_latex.C:
186         * paragraph.C:
187         * text.C:
188         * text2.C:
189         * text3.C: adjust
190
191         * rowpainter.C: fix excessive drawing
192
193 2004-02-06  André Pönitz  <poenitz@gmx.net>
194
195         * BufferView.[Ch]:
196         * BufferView_pimpl.[Ch]:
197         * text3.C: move some text specific LFUN handling
198
199 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
200
201         * text3.C (checkInsetHit): adjust coords
202         * text2.C (getColumnNearX): adjust coords
203         (edit): adjust coords
204         * text.C (getRowNearY): add two asserts
205
206 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * converter.C:
209         * format.C: add using std::distance to compile on gcc 2.95/stlport
210
211 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
212
213         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
214
215 2004-02-04  André Pönitz  <poenitz@gmx.net>
216
217         * BufferView.[Ch] (insertInset):
218         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
219
220         * text2.C:
221         * text3.C: adjust
222
223 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
224
225         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
226         on the default clause of the switch
227         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
228         wasn't catched by LCursor::dispatch
229
230 2004-02-03  André Pönitz  <poenitz@gmx.net>
231
232         * BufferView.C:
233         * cursor.[Ch]: some additional asserts
234
235         * undo.[Ch]: remove LyXText dependency in interface
236
237         * lyxfunc.C: adjust
238
239         * lyxtext.h (firstPar, lastPar): remove dead functions 
240
241         * text.C:
242         * text2.C:
243         * text3.C:
244         * paragraph.[Ch]: adjust
245
246 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * lyxfind.C (find): fix argument order in call to ::find
249
250 2004-02-02  André Pönitz  <poenitz@gmx.net>
251
252         * cursor.[Ch]: remove direct access to anchor
253
254         * text.C: remove findText() hack
255
256 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * iterators.[Ch] (lockPath): remove in favour of...
259         * BufferView.[Ch] (setCursor): this addition
260         * BufferView.C (putSelectionAt): adjust
261         * undo.C (performUndoOrRedo): adjust
262         * lyxfunc.C (dispatch): adjust
263
264 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * iterators.C (lockPath): add a missing slice
267         * undo.C (performUndoOrRedo): remove redundant positioning code
268
269 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * vc-backend.C (scanMaster): ";" -> ';'
272
273 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
276         std::binary_function
277
278         * lyxtextclass.C (compare_name): rename to...
279         (LayoutNamesEqual): ...this
280
281         * lyxlex_pimpl.C (compare_tags): inherit from
282         std::binary_function, put back into anon namespace
283
284         * lyxfind.C (MatchString): inherig from std::binary_function
285         (findChange): use empty() istead of !size()
286
287         * format.C (FormatNamesEqual): new functor
288         (getFormat): use it
289         (getNumber): use it
290         (add): use it
291         (erase): use it
292         (setViewer): use it
293
294         * converter.C (compare_Converter): rename to...
295         (ConverterEqual): ...this, and fixup a bit.
296         (getConverter): use it, and make function const
297         (getNumber): use it, and make function const
298         (add): use it
299         (erase): use it:
300
301         * bufferlist.C: add using boost::bind
302
303         * MenuBackend.C (MenuNamesEqual): new functor
304         (hasMenu): use it, and make function const
305         (hasSubmenu): use nested bind to get rid of compare_memfun.
306
307 2004-01-30  André Pönitz  <poenitz@gmx.net>
308
309         * BufferView_pimpl.C:
310         * cursor.C:
311         * cursor.h:
312         * cursor_slice.[Ch]:
313         * lyxfunc.C:
314         * lyxtext.h:
315         * paragraph_funcs.C:
316         * paragraph_funcs.h:
317         * rowpainter.C:
318         * text.C:
319         * text2.C:
320         * text3.C: move some of the edit(x,y) handling to the insets
321         some coordinate changes.
322
323 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * text.C: add using statements for std::advance and std::distance
326
327         * paragraph.C: add using statement for std::distance
328
329         * lyxfind.C: add using statement for std::advance
330
331         * cursor.C (region): remove std:: from swap
332         (openable): use nucleus in stead of operator->
333
334         * BufferView.C: add using statements for std::distance and std::swap
335
336 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
337
338         * iterators.C: Remove the pimple, move the needed structures to
339         the header file. Create accessor for the positions stack.
340         (asPosIterator): remove function
341
342         * PosIterator.C (PosIterator): move constructors to top of file
343         (PosIterator): reimplement the constructor taking a ParIterator in
344         terms of setFrom.
345         (setFrom): new function
346         (operator!=): inline it
347
348 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
349
350         * lyxfind.C (replaceAll): use std::advance
351
352         * iterators.h: inherit from std::iterator.
353
354         * PosIterator.C (advance, distance): remove
355         * PosIterator.h: interit from std::iterator.
356
357 2004-01-26  André Pönitz  <poenitz@gmx.net>
358
359         * BufferView.[Ch]:
360         * BufferView_pimpl.[Ch]:
361         * InsetList.[Ch]:
362         * PosIterator.[Ch]:
363         * buffer.h:
364         * bufferview_funcs.C:
365         * cursor.[Ch]:
366         * cursor_slice.h:
367         * factory.[Ch]:
368         * iterators.[Ch]:
369         * lyxfind.C:
370         * lyxfunc.C:
371         * lyxtext.h:
372         * output_docbook.C:
373         * output_latex.C:
374         * output_linuxdoc.C:
375         * output_plaintext.C:
376         * paragraph.[Ch]:
377         * paragraph_funcs.[Ch]:
378         * paragraph_pimpl.[Ch]:
379         * rowpainter.C:
380         * tabular.C:
381         * tabular.h:
382         * text.C:
383         * text2.C:
384         * text3.C: more IU:  dumps most of the rest of the mathcursor
385     implementation into cursor.[Ch]; "globalize" a bit of it.
386
387 2004-01-25  Angus Leeming  <leeming@lyx.org>
388
389         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
390
391 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * LaTeXFeatures.h: add nice_ and nice() const
394         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
395
396 2004-01-20  André Pönitz  <poenitz@gmx.net>
397
398         * BufferView.[Ch]:
399         * BufferView_pimpl.C:
400         * PosIterator.C:
401         * bufferview_funcs.C:
402         * cursor.[Ch]:
403         * cursor_slice.[Ch]:
404         * factory.C:
405         * iterators.C:
406         * lyx_cb.C:
407         * lyxfind.C:
408         * lyxfunc.C:
409         * lyxtext.h:
410         * rowpainter.C:
411         * text.C:
412         * text2.C:
413         * text3.C:
414         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
415           LCursor and mathcursor parts to LCursor and InsetBase.
416
417 2004-01-15  André Pönitz  <poenitz@gmx.net>
418
419         * cursor_slice.[Ch]: add a few covienience functions
420
421         * funcrequest.[Ch]: remove BufferView * member
422
423         * BufferView_pimpl.C:
424         * cursor.C:
425         * factory.[Ch]:
426         * lyxfind.[Ch]:
427         * lyxfunc.C:
428         * lyxtext.h:
429         * text3.C:
430         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
431
432 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
433
434         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
435         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
436
437 2004-01-13  André Pönitz  <poenitz@gmx.net>
438
439         * textcursor.[Ch]:
440         * lyxtext.h: hide cursor and selection anchor behind accessor function
441
442         * BufferView.C:
443         * BufferView_pimpl.[Ch]:
444         * PosIterator.C:
445         * bufferview_funcs.C:
446         * cursor.h:
447         * lyxfind.C:
448         * lyxfunc.C:
449         * text.C:
450         * text2.C:
451         * text3.C:
452         * undo.C: adjust
453
454         * cursor.h:
455         * cursor_slice.[Ch]: some integer type changes for inset unification
456
457         * lyxcursor.[hC]: remove, it's CursorSlice now.
458
459         * Makefile.am:
460         * BufferView_pimpl.[Ch]:
461         * bufferview_funcs.C:
462         * cursor_slice.C:
463         * lyxtext.h:
464         * text.C:
465         * text2.C:
466         * text3.C:
467         * textcursor.[Ch]: adjust
468
469 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
470
471         * text2.C (undoSpan): add and use
472         * text.C (breakParagraph): use undoSpan (fix bug 578)
473         * lyxtext.h: adjust
474
475 2004-01-08  Angus Leeming  <leeming@lyx.org>
476
477         * BufferView_pimpl.C (MenuInsertLyXFile):
478         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
479         * lyxfunc.C (menuNew, open, doImport):
480         FileFilterList change to the FileDialog open and save functions.
481
482 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
483
484         * ShareContainer.h: make isEqual and isUnique adaptable
485
486         * CutAndPaste.C: make resetOwnerAndChanges adaptable
487
488 2004-01-07  Angus Leeming  <leeming@lyx.org>
489
490         * LyXAction.C:
491         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
492
493         * BufferView_pimpl.C (dispatch): act on these LFUNs.
494
495         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
496         functions replacing find, replace and replaceAll.
497
498         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
499         LFUN_WORDFIND(FORWARD|BACKWARD).
500
501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
502
503         * text.C (breakParagraph): remove an outdated #warning
504
505 2004-01-07  André Pönitz  <poenitz@gmx.net>
506
507         * lyxfind.C: somewhat clearer logic
508
509         * text.C: prevent crash in cursorX on unitialized row cache
510
511 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * lyxcursor.[Ch] (operator>): add
514         * textcursor.C (selStart, selEnd): use std::min and std::max
515
516 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
517
518         * Chktex.C: include boost/format.hpp
519
520 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
521
522         * InsetList.C: replace functor MathcIt with adaptable functor
523         InsetTablePosLess
524         (insetIterator): modify accordingly
525
526         * BranchList.h: move the BranchNamesEqual functor here from...
527         * BranchList.C: ... to here
528
529         * BranchList.C: new BranchListEqual fuctor, use it. Remove
530         SameName and match.
531         (add): replace a finding loop with std::find_if.
532
533 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * output_docbook.C: moving LatexParam functionality into
536         .layout files
537
538 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
539
540         * buffer.C: increment format to 229.
541
542 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
543
544         * LaTeXFeatures.C:
545         * lyx_sty.[Ch]: remove minipageindent_def
546
547         * LyXAction.C:
548         * factory.C:
549         * lfuns.h:
550         * lyxfunc.C:
551         * text3.C: remove LFUN_INSET_MINIPAGE
552
553 2003-12-28  Angus Leeming  <leeming@lyx.org>
554
555         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
556
557 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
558
559         * text2.C (setParagraph): fix off-by-one crash
560
561 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
562
563         * output_docbook.C: header stuff for AGU
564
565 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * text2.C (redoCursor): remove
568         * text.C:
569         * text3.C:
570         * BufferView_pimpl.C: remove calls to redoCursor and
571         setCursor(cursor.par(), cursor.pos()) all around
572
573 2003-12-15  Angus Leeming  <leeming@lyx.org>
574
575         * buffer.C: up the format to 228.
576
577 2003-12-15  André Pönitz  <poenitz@gmx.net>
578
579         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
580         slices
581
582         * Makefile.am:
583
584         * BufferView_pimpl.C:
585         * cursor.[Ch]:
586         * lyxcursor.[Ch]:
587         * rowpainter.[Ch]:
588         * lyxtext.h:
589         * text.C:
590         * text2.C:
591         * text3.C: adjust
592
593 2003-12-15  Angus Leeming  <leeming@lyx.org>
594
595         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
596         than getFromGUIName to manipulate the color.
597
598 2003-12-14  Angus Leeming  <leeming@lyx.org>
599
600         * BranchList.[Ch]: minimize the API.
601         (Branch::getBranch, getColor): now return a 'const &'.
602         (Branch::setSelected) now returns a bool set to true if the
603         selection status changes.
604         (BranchList::clear, size, getColor, setColor, setSelected,
605         allBranches, allSelected, separator): removed.
606         (BranchList::find): new functions, returning the Branch with
607         the given name.
608         (BranchList::add, remove): return a bool indicating that
609         the operation was successful.
610
611         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
612         new InsetBranch::isBranchSlected member function.
613
614         * LColor.[Ch]: mimimize the API.
615         (fill): renamed as addColor and made private.
616         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
617         versions of these functions taking a string arg have been removed.
618
619         * bufferparams.C (readToken):
620         * lyxfunc.C (dispatch):
621         * lyxrc.C (read): changes due to the altered BranchList and
622         LColor APIs.
623
624         * factory.C (createInset, readInset): changes due to altered
625         InsetBranch c-tor.
626
627 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
628
629         * factory.C:
630         * lyxfunc.C: remove insetminipage. "minipage-insert"
631         now produces a frameless minipage box inset.
632
633 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
634
635         * textcursor.[Ch] (selStart,selEnd): add new methods
636         remove selection::start, end, use LyXCursor::operator<
637         * lyxcursor.[Ch] (operator<): add
638         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
639         * BufferView.[Ch] (unsetXSel): add
640         * text2.C (clearSelection): use unsetXSel,adjust
641         * text.C: adjust
642         * text3.C: adjust
643         * rowpainter.C: adjust
644         * bufferview_funcs.C (put_selection_at): adjust
645
646 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
647
648         * BufferView_pimpl.C: small coord. correction
649
650 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
653         dragging over the splash screen.
654
655 2003-12-11  Angus Leeming  <leeming@lyx.org>
656
657         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
658         as it is now handled in LyXText::dispatch.
659
660         * text3.C (doInsertInset): remove a level of nesting.
661
662 2003-12-11  Angus Leeming  <leeming@lyx.org>
663
664         * factory.C (createInset): changes due to the changed interface to
665         InsetCommandMailer::string2params.
666
667 2003-12-10  Angus Leeming  <leeming@lyx.org>
668
669         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
670         'dialog-show-new-inset <inset name>'
671
672 2003-12-10  Angus Leeming  <leeming@lyx.org>
673
674         * buffer.C: up the format to 227.
675
676         * factory.C: the box inset is now identified simply by 'Box'.
677
678 2003-12-10  Angus Leeming  <leeming@lyx.org>
679
680         * buffer.C: up the format to 226.
681
682         * factory.C: the note inset is now identified simply by 'Note'.
683
684 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
685
686         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
687         when a pit is enough. Standarize a couple of loops.
688
689 2003-12-05  Angus Leeming  <leeming@lyx.org>
690
691         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
692         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
693         data to the re-worked "log" dialog.
694
695 2003-12-03  André Pönitz  <poenitz@gmx.net>
696
697         * PosIterator.C:
698         * iterators.C:
699         * lyxtext.h:
700         * output_latex.C:
701         * paragraph_funcs.C:
702         * text.C:
703         * text2.C: use Inset::getText instead of Inset::getParagraph
704
705 2003-12-03  André Pönitz  <poenitz@gmx.net>
706
707         * buffer.[Ch]:
708         * lyxtext.h:
709         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
710         InsetText::read() as LyXText::read()
711
712 2003-12-02  Angus Leeming  <leeming@lyx.org>
713
714         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
715         type. Add a comment in the implementation that the function uses
716         the stream's bad() function rather than fail() as the std::streams
717         would do.
718
719 2003-12-02  André Pönitz  <poenitz@gmx.net>
720
721         * lyxlex.[Ch]: make interface more similar to std::stream
722
723         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
724
725 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
726
727         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
728
729 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
730
731         * vspace.[Ch]: remove VSpace::NONE
732
733 2003-12-01  André Pönitz  <poenitz@gmx.net>
734
735         * buffer.[Ch]:
736         * lyxtext.h: move ParagraphList member to LyXText
737         rename LyXText::ownerParagraphs to LyXText::paragraph
738
739         * CutAndPaste.C:
740         * bufferview_funcs.C:
741         * iterators.[Ch]:
742         * lyx_cb.C:
743         * paragraph.C:
744         * rowpainter.C:
745         * tabular.C:
746         * text.C:
747         * text2.C:
748         * text3.C: adjust
749
750         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
751
752         * undo.C: fix cursor positioning
753
754 2003-12-01  John Levon  <levon@movementarian.org>
755
756         * BufferView_pimpl.C: fix a crash on exit with
757         a buffer open
758
759 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
760
761         * BranchList.C: fix setSelected() method.
762
763 2003-11-28  André Pönitz  <poenitz@gmx.net>
764
765         * ParagraphParameters.[Ch]:
766         * ParameterStruct.h: remove space above/below from Paragraph to
767          InsetVSpace
768
769         * BufferView_pimpl.C:
770         * factory.C:
771         * lyxfunc.C:
772         * lyxtext.h:
773         * output_latex.C:
774         * paragraph.C:
775         * paragraph_funcs.C:
776         * rowpainter.[Ch]:
777         * text.C:
778         * text2.C:
779         * text3.C: adjust
780
781 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * factory.C: Syntax change for CharStyles
784
785 2003-11-28  André Pönitz  <poenitz@gmx.net>
786
787         * BufferView.[Ch]:
788         * BufferView.[Ch]:
789         * buffer.[Ch]:
790         * buffer.[Ch]: move LyXText member
791
792 2003-11-28  André Pönitz  <poenitz@gmx.net>
793
794         * BufferView.[Ch]: make LyXText * text a private member
795
796         * BufferView_pimpl.C:
797         * cursor.C:
798         * iterators.C:
799         * lyx_cb.C:
800         * lyxfind.C:
801         * lyxtext.h:
802         * rowpainter.[Ch]:
803         * text.C:
804         * text2.C:
805         * undo.C: adjust
806
807         * output_plaintext.C: cleanup
808
809 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
810
811         * buffer.C:
812         * lyxtextclass.[Ch]: parametrize SGML document header
813
814 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
815
816         * converter.[Ch]:
817         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
818         getFlavor().
819
820 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text2.C (setFont): rework using PosIterator (no more recursive)
823         (setCharFont): no more needed
824         (setLayout): no more selection cursors fiddling (done by redoCursor)
825         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
826         destroy remaining ones)
827
828 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
831         * lyxtext.h: ditto
832         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
833         selection cursors
834         * lyxfunc.C: adjust
835         * text3.C: adjust + re-allow multi par depth changes
836         * textcursor.C: simplify a bit
837
838 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * src/buffer.C:
841         * src/lyxlayout.C:
842         * src/lyxlayout.h:
843         * src/lyxtext.h:
844         * src/output_docbook.C:
845         * src/output_latex.C:
846         * src/paragraph.C:
847         * src/paragraph.h:
848         * src/sgml.C:
849         * src/sgml.h:
850         * src/text2.C: Introducing a number of tags parametrizing various
851         XML formats that we may want to support
852
853 2003-11-25  André Pönitz  <poenitz@gmx.net>
854
855         * InsetList.[Ch] (begein, end): inline as suggested by profiler
856
857         * lyxtext.h (leftMargin/rightMargin): simplify interface
858
859         * rowpainter.C:
860         * text.C:
861         * text2.C:
862         * text3.C: adjust
863
864 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * lyxfunc.C (dispatch): propogate the bibtex databases from the
867         master file to any child files. Fixes bug 546.
868
869 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
870
871         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
872
873 2003-11-24  André Pönitz  <poenitz@gmx.net>
874
875         * rowpainter.C: simplification
876
877         * text2.C (updateCounters): remove call to redoParagraph on
878         changed labels as this is far too expensive.
879
880 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
881
882         * converter.C (convert): fix a crash: this function gets
883         called with buffer == 0 from importer code.
884
885 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * text3.C (cursorPrevious): make sure that we do not compare
888         iterators form different containers.
889         (cursorNext): ditto
890
891         * rowpainter.C (paintSelection): make sure that we do not compare
892         iterators from different containers.
893
894         * text3.C (dispatch): [PRIOR] make sure that we do not compare
895         iterators from different ParagraphList containers.
896         [NEXT] ditto
897
898         * text2.C (LyXText): change order of initialization slightly
899         (operator=): new function. copy all variables except cache_par_
900         (moveUp): make sure that we do not compare iterators from
901         different ParagraphList constainers.
902         (moveDown): ditto
903
904         * text.C (firstPar): new function
905         (lastPar): new function
906         (endPar): new function
907
908         * lyxtext.h: move things around and group public functions, public
909         variables, private functions, private variables
910
911 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
912
913         * factory.C: change call to InsetERT constructor to avoid
914         additional invocation of method status
915         * text2.C (toggleInset): remove redundant update() call
916         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
917         instead of a Bufferview pointer
918
919 2003-11-21  André Pönitz  <poenitz@gmx.net>
920
921         * rowpainter.C: simplification
922
923 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * text3.C (dispatch): make possible to extend a word/row selection
926         with the mouse
927
928 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * lyxtext.h: x0_,y0_ -> xo_,yo_
931         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
932         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
933         * rowpainter.C (paintRows): paint full paragraphs
934
935 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
938         screen coordinates)
939
940 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * lyxtext.h: add x0_, y0_
943         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
944         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
945
946 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * text2.C (setCursorIntern): move the x_target update here *
949         * text3.C: change some bv() to true/false in calls to
950         cursorUp/Down/Right/Left
951         * cursor.C: use helper function.
952
953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
956         * paragraph_funcs.[Ch]: correct comment
957         * rowpainter.C: do not paint selections away from bv->cursor()
958         Fix a long standing selection painting bug.
959         * text3.C: generalize mouse-selection code to LyXTexts other that
960         top one
961         * textcursor.C: do not use y coords if we can use par offsets
962
963 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
966         cursor position after e.g. inset insert)
967
968 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxfind.C (replace): adjust to locking removal + some
971         code simplification
972
973 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
974
975         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
976         of the path
977
978 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * lyxlayout.[Ch]:
981         * output_docbook.C: XML sanitation: new layout
982         parameters InnerTag and CommandDepth
983
984 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
985
986         * BufferView_pimpl.C:
987         * factory.C:
988         * text3.C: Fix the insertion and modification of button-style
989         insets
990
991 2003-11-13  André Pönitz  <poenitz@gmx.net>
992
993         * InsetList.[Ch]: remove deleteLyXText
994
995         * paragraph.[Ch]: cache beginOfBody position
996
997         * Bidi.C:
998         * text.C:
999         * text2.C:
1000         * text3.C: remove superfluous update() calls
1001
1002         * vspace.C: cleanup
1003
1004 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1005
1006         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1007         * BufferView.C (fitLockedInsetCursor): remove
1008         * cursor.[Ch] (getDim): add
1009         * text.C (getRowNearY): add faster version
1010         * text3.C: remove some update calls
1011
1012 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1013
1014         * LaTeXFeatures.C:
1015         * LyXAction.C:
1016         * MenuBackend.C:
1017         * MenuBackend.h:
1018         * dispatchresult.h:
1019         * factory.C:
1020         * lfuns.h:
1021         * lyxfunc.C:
1022         * lyxtextclass.C:
1023         * lyxtextclass.h:
1024         * text3.C: The Character Style /XML short element patch.
1025
1026 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1027
1028         * text3.C:
1029         * factory.C: Small step to solving 'unable to insert some insets'
1030         problem
1031
1032 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1033
1034         * cursor.[Ch] (updatePos): new function for updating the y
1035         position of the tip inset
1036         * bufferview_funcs.C (put_selection_at):
1037         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1038
1039 2003-11-11  André Pönitz  <poenitz@gmx.net>
1040
1041         * text.C: remove big comment on invalid Paragraph pointers as it is
1042         not valid anymore
1043
1044 2003-11-11  André Pönitz  <poenitz@gmx.net>
1045
1046         * text_funcs.[Ch]: merge with ...
1047
1048         * text.C: ... this
1049
1050         * lyxtext.h:
1051         * text2.C:
1052         * text3.C: adjust
1053
1054         * Makefile.am: remove text_funcs.[Ch]
1055
1056 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1057
1058         * cursor.C (getPos): return absolute cached y coord
1059
1060         * BufferView_pimpl.C (fitCursor): new simplistic code
1061         (workAreaDispatch): add a fitCursor call
1062
1063 2003-11-10  André Pönitz  <poenitz@gmx.net>
1064
1065         * BufferView.[Ch]:
1066         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1067
1068 2003-11-10  André Pönitz  <poenitz@gmx.net>
1069
1070         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1071         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1072         indicate that the cursor needs to leave an inset
1073
1074         * lyxtext.h: remove inset locking
1075
1076         * cursor.[Ch]: re-implement functionality provided by inset locking
1077
1078         * BufferView.[Ch]:
1079         * BufferView_pimpl.[Ch]:
1080         * LyXAction.C:
1081         * bufferview_funcs.[Ch]:
1082         * factory.C:
1083         * funcrequest.[Ch]:
1084         * iterators.C:
1085         * lyx_cb.C:
1086         * lyxfind.C:
1087         * lyxfunc.C:
1088         * text.C:
1089         * text2.C:
1090         * text3.C:
1091         * undo.C: adjust
1092
1093 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1094
1095         * PosIterator.[Ch]: replace the stack with a vector, add inset
1096         accesor
1097         * iterators.[C]: adjust
1098
1099 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1100
1101         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1102         replaced
1103         * paragraph_funcs.C (readParToken): put the correct id in the
1104         error item, not the id of the top paragraph
1105
1106 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1107
1108         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1109         * bufferview_funcs.C (put_selection_at): use the above
1110
1111 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1112
1113         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1114
1115 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * output_linuxdoc.h:
1118         * output_plaintext.h:
1119         * output.h:
1120         * output_docbook.h: add #include statements
1121
1122 2003-11-05  José Matos  <jamatos@lyx.org>
1123
1124         * output_docbook.[Ch]:
1125         * output_latex.[Ch]:
1126         * output_linuxdoc.[Ch]:
1127         * output_plaintext.[Ch]: New files for output formats.
1128         * output.[Ch]: New file for helper functions.
1129
1130         * buffer.[Ch]:
1131         * paragraph_funcs.[Ch]: output functions moved to new files.
1132
1133         * outputparams.h: rename of latexrunparams.h
1134
1135         * LaTeX.[Ch]:
1136         * buffer.[Ch]:
1137         * bufferlist.[Ch]:
1138         * converter.[Ch]:
1139         * exporter.C:
1140         * paragraph.[Ch]:
1141         * paragraph_funcs.[Ch]:
1142         * paragraph_pimpl.[Ch]:
1143         * tabular.[Ch]: rename ascii to plaintext
1144         and LatexRunParams to OutputParams.
1145
1146 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * iterators.[Ch] (text): require bv argument
1149         * undo.C (recordUndo):
1150         * lyxfunc.C (dispatch):
1151         * bufferview_funcs.C (put_selection_at): adjust
1152
1153 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1154
1155         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1156
1157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1158
1159         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1160         nestings
1161
1162 2003-11-04  André Pönitz  <poenitz@gmx.net>
1163
1164         * cursor.[Ch]: restructure
1165
1166         * BufferView.[Ch]:
1167         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1168
1169         * iterators.[Ch] (asCursor): remove
1170
1171         * lfuns.h: remove LFUN_INSET_EDIT
1172
1173         * lyxfunc.C:
1174         * tabular.C:
1175         * text.C:
1176         * text2.C:
1177         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1178
1179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1180
1181         * lyxfind.[Ch]: complete overhaul
1182         * BufferView_pimpl.C:
1183         * lyxfunc.C: adjust
1184         * paragraph.[Ch] (insert): add
1185
1186 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * BufferView.[Ch]:
1189         * lyxtext.h:
1190         * text.C: remove dead spellcheck code
1191
1192 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1193
1194         * dispatchresult.h: add a val setter
1195
1196         * cursor.C (dispatch): use a tempvar for data_[i]
1197
1198 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1199
1200         * PosIterator.[Ch]: compile fix
1201
1202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1203
1204         * text.C (cursorPar): deactivate the cursor cache
1205
1206 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1207
1208         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1209
1210 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * text3.C (dispatch): adjust for new DisptchResult semantics.
1213
1214         * lyxfunc.C (dispatch): handle update when return from
1215         Cursor::dispatch, adjust for new DispatchResult semantics.
1216
1217         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1218         DispatchResult(true) mean to not update. Add class functions for
1219         setting dispatched and update, as well as reading.
1220
1221         * cursor.C (dispatch): don't handle update here
1222
1223 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1226         * trans_mgr.C: adjust
1227
1228         * paragraph_funcs.C (readParToken): exception safety
1229
1230         * lyxvc.h: store the vcs pointer in a scoped_ptr
1231         * lyxvc.C: adjust
1232
1233         * lyxsocket.C (serverCallback): exception safety
1234
1235         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1236
1237         * ispell.C (clone): make it return a auto_ptr
1238
1239         * factory.C (createInset): exception safety
1240         (readInset): exception safety
1241
1242         * bufferlist.C (newBuffer): exception safety
1243
1244         * Thesaurus.C (Thesaurus): use initialization for aik_
1245
1246         * MenuBackend.C (expandToc): exception safety.
1247
1248 2003-11-03  André Pönitz  <poenitz@gmx.net>
1249
1250         * buffer.C:
1251         * buffer.h:
1252         * bufferview_funcs.C: remove getInsetFromId()
1253
1254         * lyxcursor.[Ch]:
1255         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1256
1257         * lyxfunc.C:
1258         * text2.C:
1259         * text3.C: adjust
1260
1261 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1262
1263         * PosIterator.C (distance, advance): new
1264         * bufferview_funcs.[Ch] (put_selection_at): new
1265         * iterators.[Ch] (lockPath): new
1266
1267 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1268
1269         * iterators.[Ch] (asPosIterator): added
1270         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1271         * PosIterator.[Ch]: added
1272
1273 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * text3.C:
1276         * lyxfunc.C:
1277         * cursor.C (dispatch):
1278         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1279
1280         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1281         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1282         contructor, add a class function dispatched. Remove operator>=
1283
1284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * debug.C: only use the default constructor for debugstream
1287         (lyxerr) here.
1288
1289         * main.C (main): include debug.h and setup the lyxerr streambuf
1290         here.
1291
1292 2003-10-31  José Matos  <jamatos@lyx.org>
1293
1294         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1295
1296         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1297         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1298         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1299         * paragraph_pimpl.C (simpleTeXSpecialC):
1300         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1301         add LatexRunParams argument.
1302
1303         * exporter.C (Export): change call accordingly.
1304
1305         * latexrunparams.h: add new member to take care of the other backends.
1306 2003-10-30  José Matos  <jamatos@lyx.org>
1307
1308         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1310         factorise code for paragraph output.
1311         * buffer.[Ch]:
1312         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1313         move functions.
1314
1315 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1316
1317         * text3.C (dispatch):
1318         * lyxfunc.C (dispatch):
1319         * cursor.C (dispatch):
1320         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1321
1322         * dispatchresult.h: make the dispatch_result_t ctor explicit
1323
1324 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * sgml.[Ch]:
1327         * buffer.C: small refactoring of docbook stuff
1328
1329 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1330
1331         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1332         meaning.
1333
1334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1335
1336         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1337         operator dispatch_result_t, and operators for == != and >=
1338
1339         * cursor.C (dispatch): adjust for operator dispatch_result_t
1340         removal. comment out call to update
1341
1342         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1343
1344 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * text3.C:
1347         * text2.C:
1348         * text.C:
1349         * lyxtext.h:
1350         * lyxfunc.C:
1351         * cursor.C:
1352         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1353         (dispatch):
1354
1355         * dispatchresult.h: new file, DispatchResult broken out of
1356         insets/insetbase.h
1357
1358         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1359
1360 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1361
1362         * text.C (rowBreakPoint): put a hack inside #if 0
1363
1364 2003-10-28  André Pönitz  <poenitz@gmx.net>
1365
1366         * lyxtext.h:
1367         * metricsinfo.C:
1368         * paragraph_funcs.C:
1369         * rowpainter.C:
1370         * text.C:
1371         * text2.C: general cleanup (lots of small stuff)
1372
1373 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1374
1375         * text2.C (cursorEnd): simple fix to the "end key goes to one
1376         before the end on last row" bug
1377
1378 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * text.C (backspace): fix the "zombie characters"
1381
1382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1383
1384         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1385
1386 2003-10-27  André Pönitz  <poenitz@gmx.net>
1387
1388         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1389
1390         * factory.C: handle new InsetPagebreak, InsetLine
1391
1392         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1393         and move handling into new InsetPagebreak, InsetLine
1394
1395         * BufferView_pimpl.C:
1396         * LyXAction.C:
1397         * ParagraphParameters.C:
1398         * ParameterStruct.h:
1399         * lyxfunc.C:
1400         * lyxtext.h:
1401         * paragraph.C:
1402         * paragraph.h:
1403         * paragraph_funcs.C:
1404         * paragraph_pimpl.C:
1405         * rowpainter.C:
1406         * text.C:
1407         * text2.C:
1408         * text3.C: adjust
1409
1410 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1411
1412         * text.C:
1413         * lyxrow_funcs.[Ch]:
1414         * Bidi.C:
1415         * paragraph.C:
1416         * lyxtext.h:
1417         * rowpainter.C:
1418         * text2.C:
1419         * text3.C: remove lastPos uses in favour of Row::endpos
1420
1421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1422
1423         * undo.C (performUndoOrRedo): fix two crashes by setting a
1424         cursor by hand and reordering some calls. Use bv->lockInset instead
1425         of inset->edit because the latter loses cursor information
1426
1427 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1428
1429         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1430         by Martin
1431         (rowBreakPoint): fix width. change point to point + 1.
1432         Add a missing check.
1433
1434 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1435
1436         * MenuBackend.C:
1437         * lyxfunc.C: fix (at least partly) the problems
1438         with the Nav menu and headers inside branch insets
1439         reported by Kayvan
1440
1441 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1442
1443         * paragraph.C (getChar): add strong asserts
1444
1445         * lyxrow_funcs.C (lastPos): remove hideous hack
1446
1447         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1448         (fill): adjust to that (avoid an infinite loop)
1449
1450 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1451
1452         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1453
1454 2003-10-23  André Pönitz  <poenitz@gmx.net>
1455
1456         * RowList_fwd.h: change list<> to vector<> to gain speed
1457         after suggestion from Alfredo
1458
1459 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1460
1461         * lyxtext.h: move the bidi stuff from here...
1462         * text.C: and here
1463         * text2.C: and here
1464         * Bidi.[Ch]: ... to here
1465
1466 2003-10-23  André Pönitz  <poenitz@gmx.net>
1467
1468         * lyxtext.h:
1469         * text.C (isLastRow, isFirstRow): new functions
1470
1471         * paragraph.h: new width cache member
1472
1473         * rowpainter.C: replace RowList::iterator with Row & where possible
1474
1475         * lyxfunc.C: replace several view()->text with a single call
1476
1477         * toc.C: fix 'unused' warning
1478
1479 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1480
1481         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1482         when woring with stream::pos_type
1483         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1484
1485 2003-10-22  André Pönitz  <poenitz@gmx.net>
1486
1487         * lyxtext.h:
1488         * text.C: use Row & instead of RowList::iterator
1489
1490         * lyxrow.h: rename end() to endpos()
1491
1492         * rowpainter.C:
1493         * text.C:
1494         * text2.C: adjust
1495
1496 2003-10-22  Angus Leeming  <leeming@lyx.org>
1497
1498         * buffer.[Ch] (fully_loaded): new member function, returning true
1499         only when the file has been loaded fully.
1500         Used to prevent the premature generation of previews and by the
1501         citation inset to prevent computation of the natbib-style label.
1502
1503         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1504         templates are all set up.
1505
1506         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1507
1508 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1509
1510         * text.C: fixed an "oops" in the "is a bit silly"
1511         bug fix
1512
1513 2003-10-21  André Pönitz  <poenitz@gmx.net>
1514
1515         * FuncStatus.[Ch]: small stuff, whitespace
1516
1517         * lyxfont.[Ch]: operator<<() for debug reasons
1518
1519         * lyxfunc.C:
1520         * lyxrow_funcs.C:
1521         * lyxtext.h: whitespace, spelling
1522
1523         * paragraph.C: naming of variables
1524
1525         * text.C:
1526         * text2.C: small stuff
1527
1528
1529 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1530
1531         * text.C: (1) finish off the inset display() work;
1532         (2) fix the "is a bit silly" bug (accessing char
1533         past end of par).
1534
1535 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1536
1537         * text.C: re-introduce display() for insets, fixing the
1538         various bugs (stretch of line above, math inset
1539         positioning, ...)
1540
1541 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * text.C (rightMargin): remove spurious semicolon
1544
1545         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1546         1415)
1547
1548 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1549
1550         * text3.C: fix one crash due to wrong cursor def
1551
1552 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1553
1554         * vc-backend.C (scanMaster): make the regex static
1555
1556         * LaTeX.C (scanAuxFile): make the regexs static
1557
1558         * text3.C (doInsertInset, dispatch, dispatch):
1559         * text2.C (cursorUp, cursorDown):
1560         * text.C (selectNextWordToSpellcheck):
1561         * BufferView_pimpl.C (dispatch):
1562         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1563
1564 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * lyxsocket.C: include <cerrno>
1567
1568 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * lyxfunc.C (dispatch): remove textcache stuff
1571
1572         * bufferlist.C (release): remove textcache stuff
1573         (closeAll): ditto
1574
1575         * TextCache.C: delete file
1576         * TextCache.h: delete file
1577
1578         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1579
1580         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1581         delete of the bv_->text.
1582         (resizeCurrentBuffer): remove texcache stuff
1583         (workAreaResize): ditto
1584
1585 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1586
1587         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1588         action.
1589
1590 2003-10-16  André Pönitz  <poenitz@gmx.net>
1591
1592         * lyxrow.[Ch]:
1593         * paragraph.h:
1594         * rowpainter.C:
1595         * text.C:
1596         * text2.C:
1597         * text3.C: speed up by storing y positions per paragraph plus per-row
1598         offset instead of having a 'full' y position in the row.
1599
1600 2003-10-15  André Pönitz  <poenitz@gmx.net>
1601
1602         * iterators.[Ch]:
1603         * iterators.[Ch]:
1604         * undo.[Ch]: make undo aware of inner insets
1605
1606 2003-10-14  Angus Leeming  <leeming@lyx.org>
1607
1608         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1609         static member functions LyX::ref() and LyX::cref.
1610         (lastfiles): new accessor functions for the new lastfiles_ member var.
1611         (addLyXView, views_): add a new LyXView to the list of views_.
1612         (updateInset): loop over all LyXViews to call their own updateInset
1613         member function, returning a pointer to the Buffer owning the inset.
1614
1615         * BufferView_pimpl.C (loadLyXFile):
1616         * MenuBackend.C (expandLastfiles):
1617         * bufferlist.C (MenuWrite, QuitLyX):
1618         lastfiles is no longer a global variable.
1619         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1620
1621         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1622         static function. Access through LyX::cref().emergencyCleanup().
1623
1624 2003-10-14  André Pönitz  <poenitz@gmx.net>
1625
1626         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1627
1628         * undo.[Ch]: restoring part of 'undo in insets'
1629
1630         * Makefile.am:
1631         * undo_funcs.[Ch]: merge with undo.[Ch]
1632
1633         * tabular.C: small cleansing stuff
1634
1635 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1636
1637         * paragraph_funcs.C (readParToken): report unknown insets as error
1638         boxes. Use the outer paragraph as location (also for unknown
1639         tokens).
1640
1641         * factory.C (readInset): do not abort on reading an unknown inset.
1642         Eat it and return 0.
1643
1644 2003-10-13  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1647
1648         * lyxrc.C: displayTranslator is now a function,
1649         declared in GraphicsTypes.h.
1650
1651 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1652
1653         * format.C: new placeholder $$a to pass the socket address.
1654
1655         * bufferlist.[Ch]: new function getBufferFromTmp.
1656
1657         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1658           files in the temporary dir.
1659
1660 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1661
1662         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1663
1664         * Makefile.am: add lyxsocket.[Ch].
1665
1666         * lyx_main.C (error_handler): handle SIGPIPE.
1667
1668 2003-10-13  André Pönitz  <poenitz@gmx.net>
1669
1670         * BufferView_pimpl.C:
1671         * lyxtext.h:
1672         * text.C:
1673         * text2.C:
1674         * text3.C:
1675         * undo_funcs.[Ch]: use paroffset_type instead of
1676           ParagraphList::iterators to prevent multiple conversion
1677           (and get a more robust interface)
1678
1679 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1682         * lyxtext.h: ditto
1683         * text3.C (dispatch): ditto
1684
1685 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1688         move the onlyfile, use onlyfile instead of foundfile in a couple
1689         of places.
1690
1691         * DepTable.C (update): flush the error stream a bit more
1692
1693 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1694
1695         * lyxserver.C (callback): adjust
1696
1697         * lyxfunc.C (getStatus): add a missing brace in commented code
1698         (ensureBufferClean): reindent
1699         (dispatch): delete version taking a string
1700
1701 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * LaTeX.C (deplog): move found file handlig from here...
1704         (handleFoundFile): .. to new function here.
1705         (deplog): make sure to discover several files mentioned on the
1706         same log line.
1707
1708 2003-10-10  André Pönitz  <poenitz@gmx.net>
1709
1710         * lyxfunc.C:
1711         * lyxtext.h:
1712         * tabular.C:
1713         * text.C:
1714         * text2.C:
1715         * text3.C: fix some of the tabular crashes
1716
1717 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1718
1719         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1720
1721         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1722
1723 2003-10-09  André Pönitz  <poenitz@gmx.net>
1724
1725         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1726
1727         * BufferView.C:
1728         * BufferView_pimpl.C:
1729         * bufferview_funcs.C:
1730         * lyx_cb.C:
1731         * lyxcursor.C:
1732         * lyxfind.C:
1733         * lyxfunc.C:
1734         * lyxtext.h:
1735         * text.C:
1736         * text2.C:
1737         * text3.C:
1738         * text_funcs.[Ch]:
1739         * textcursor.[Ch]:
1740         * undo_funcs.C: adjust
1741
1742 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * text2.C (incrementItemDepth): new function, use a backtracking
1745         algorithm to discover the correct item depth.
1746         (resetEnumCounterIfNeeded): new function, use a backtracking
1747         algorithm to discover if counter reset is needed.
1748         (setCounter): use them. Simplify a bit. Add different labels for
1749         different item depths for itemize.
1750
1751         * paragraph.C (Paragraph): remove initialization of enumdepth
1752         (operator=): ditto
1753
1754         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1755         enumerate and itemize. Change the type of itemdepth to signed char.
1756
1757 2003-10-08  André Pönitz  <poenitz@gmx.net>
1758
1759         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1760           thing assignable.
1761         * text.C:
1762         * text2.C: adjust
1763
1764         * tabular.[Ch]: fix crash after 'row-insert'
1765
1766 2003-10-08  Angus Leeming  <leeming@lyx.org>
1767
1768         Fix doxygen warnings.
1769
1770         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1771         Remove CutAndPaste:: prefix from header file declaration.
1772
1773         * LColor.h (fill): remove LColor:: prefix from declaration.
1774
1775         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1776         use lyx::depth_type rather than Paragraph::depth_type so that
1777         header file and .C file match.
1778
1779         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1780
1781         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1782         * aspell.C: \file aspell_local.C -> \file aspell.C
1783         * gettext.C: \file gettext.C -> \file src/gettext.C
1784         * gettext.h: \file gettext.h -> \file src/gettext.h
1785         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1786         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1787         * text.C: \file text.C -> \file src/text.C
1788
1789         * toc.C: move comment so that doxygen is not confused.
1790
1791 2003-10-07  Angus Leeming  <leeming@lyx.org>
1792
1793         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1794
1795 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1796
1797         * aspell.C:
1798         * aspell_local.h: add forgotten std::string's.
1799
1800 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1801
1802         * LaTeXFeatures.C:
1803         * LyXAction.C:
1804         * factory.C:
1805         * lfuns.h:
1806         * lyxfunc.C:
1807         * text3.C: The Box patch. Fancybox support, minipage, parbox
1808
1809 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1810
1811         * CutAndPaste.h:
1812         * DepTable.h:
1813         * FloatList.h:
1814         * LaTeXFeatures.h:
1815         * ParagraphParameters.h:
1816         * TextCache.h:
1817         * Thesaurus.h:
1818         * bufferlist.h:
1819         * exporter.h:
1820         * importer.h:
1821         * lastfiles.h:
1822         * lyxfind.h:
1823         * lyxfont.h:
1824         * lyxlex.h:
1825         * lyxtextclasslist.h:
1826         * messages.h:
1827         * paragraph.h:
1828         * paragraph_pimpl.C:
1829         * textcursor.h: add <string> and other small fixes to make Lars'
1830         std::string patch compile with STLport.
1831
1832 2003-10-06  Angus Leeming  <leeming@lyx.org>
1833
1834         * LColor.h: Add missing #include <string>.
1835
1836 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * All most all file in all subdirs: Make <string> be the prefered
1839         way of getting to std::string, add using declarations.
1840
1841 2003-10-06  André Pönitz  <poenitz@gmx.net>
1842
1843         * metricsinfo.C: initialize LyXFont before changing attribute.
1844         (fixes the 'math in \emph is upright' bug)
1845
1846 2003-10-06  André Pönitz  <poenitz@gmx.net>
1847
1848         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1849
1850 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1851
1852         * graph.C:
1853         * paragraph_pimpl.C: Small fixes to build using STLport
1854
1855 2003-10-02  André Pönitz  <poenitz@gmx.net>
1856
1857         * lyxfunc.C:
1858         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1859
1860 2003-10-01  André Pönitz  <poenitz@gmx.net>
1861
1862         * factory.C: assert early
1863
1864 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1865
1866         * lyx_main.C: remove the global debug object
1867
1868         * debug.h: adjust for new debugstream
1869
1870         * debug.C: adjust for new debugstream and keep the global debug
1871         object here.
1872
1873 2003-09-22  Angus Leeming  <leeming@lyx.org>
1874
1875         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1876         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1877         an incomplete class LyXFont.
1878
1879 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1880
1881         * factory.C: bug fix in branches
1882
1883 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1884
1885         * lyxfunc.C (processKeySym): adjust
1886         (dispatch): adjust
1887         (dispatch): change arg name from ev to func, adjust
1888         (sendDispatchMessage): ditto
1889
1890         * lyx_main.C (defaultKeyBindings): adjust keybindings
1891         (deadKeyBindings): ditto
1892
1893         * kbsequence.C (addkey): return a FuncRequest
1894
1895         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1896
1897         * kbmap.C (bind): take a FuncRequest as arg, adjust
1898         (read): adjust
1899         (lookup): adjust
1900         (defkey): change to take a FuncRequest as arg, adjust
1901         (findbinding): take a FuncRequest as arg, adjust.
1902
1903         * funcrequest.h (operator=): added
1904
1905         * funcrequest.C (FuncRequest): default kb_action changed from
1906         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1907
1908         * buffer.C (dispatch): simplify
1909         (dispatch): adjust to take a FuncRequest as arg, adjust
1910
1911         * boost.C (assertion_failed): change assertion message slightly
1912
1913         * ToolbarBackend.C (read): simplify
1914
1915         * MenuBackend.C (binding): adjust call to findbinding, add a
1916         message if no binding is found.
1917         (read): simplify
1918         (expandToc): correct by adding a empty FuncRequest
1919
1920         * LyXAction.C: include <boost/assert.hpp>
1921         (isPseudoAction): delete function
1922         (LookupFunc): change name to...
1923         (lookupFunc): this. change return type to FuncRequest.
1924         (getActionName): take kb_action as arg, simplify
1925         (funcHasFlag): add an assert, simplify.
1926
1927 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * toc.C (action): return a FuncRequest, simplify
1930
1931         * lyxfunc.C (processKeySym): adjust
1932         (getStatus): delete version that takes an int.
1933         (getStatus): adjust
1934         (dispatch): delete version that takes action as int
1935         (dispatch): adjust
1936         (sendDispatchMessage): simplify and adjust
1937
1938         * funcrequest.C (getArg): take unsigned int as arg
1939
1940         * ToolbarBackend.C (read): adjust
1941         (add): delete version that takes func as a string.
1942         (getIton): take a FuncRequest as arg
1943
1944         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1945         action.
1946
1947         * MenuBackend.C (MenuItem): add a new construct that only takes a
1948         Kind, simplify the constructor use for submenus.
1949         (add): adjust
1950         (expandLastfiles): adjust
1951         (expandDocuments): adjust
1952         (expandFormats): adjust
1953         (expandFloatListInsert): adjust
1954         (expandFloatInsert): adjust
1955         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1956
1957         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1958         Remove class variables lyx_pseudo_map and lyx_arg_map
1959
1960         * LyXAction.C (searchActionArg): delete function
1961         (getPseudoAction): delete function
1962         (retrieveActionArg): delete function
1963         (LookupFunc): make it return kb_action, simplify.
1964         (getActionName): simplify
1965
1966         * factory.C (createInset): fix new bug
1967
1968 2003-09-19  Angus Leeming  <leeming@lyx.org>
1969
1970         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1971         masterFilename_ parameter in the include inset.
1972
1973         * factory.C (createInset): changes due to the changes to InsetInclude.
1974
1975 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1976
1977         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1978
1979 2003-09-18  Angus Leeming  <leeming@lyx.org>
1980
1981         * buffer.C:
1982         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1983         Inset::fillWithBibKeys.
1984         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1985
1986 2003-09-18  Angus Leeming  <leeming@lyx.org>
1987
1988         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1989         variables.
1990         (ctor): pass and store a 'Buffer const &'
1991         (buffer): new member function.
1992
1993         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1994         '*this' to the LaTeXFeatures ctor.
1995
1996 2003-09-18  Angus Leeming  <leeming@lyx.org>
1997
1998         * LColor.h:
1999         * lyxfont.C:
2000         * lyxfont.h:
2001         * lyxtext.h:
2002         * text.C: rename EnumLColor as LColor_color.
2003
2004 2003-09-18  Angus Leeming  <leeming@lyx.org>
2005
2006         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2007         remove #include "insets/insetbase.h" from cursor.h.
2008
2009 2003-09-18  Angus Leeming  <leeming@lyx.org>
2010
2011         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2012         InsetOld_code to remove #include "inset.h".
2013
2014         * iterators.C: add #include "insets/inset.h"
2015
2016 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2017
2018         * BufferView.C: remove more locking stuff that apparently doesn't
2019         do anything sensible.
2020
2021 2003-09-16  André Pönitz  <poenitz@gmx.net>
2022
2023         * paragraph.[Ch]:
2024         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2025           performance boost.
2026
2027 2003-09-16  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2030
2031         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2032         arg/return type.
2033
2034         * paragraph.h: remove #include "lyxfont.h". Forward declare
2035         LyXFont_size.
2036
2037 2003-09-16  Angus Leeming  <leeming@lyx.org>
2038
2039         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2040         of support/textutils.h.
2041         (isWord): move the contents of support/textutils.h's IsWordChar here.
2042
2043         * buffer.C:
2044         * lyxfind.C:
2045         * rowpainter.C:
2046         * text.C:
2047         * text2.C: add #include "paragraph.h".
2048
2049         * rowpainter.C:
2050         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2051
2052 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2053
2054         * main.C:
2055         * lyx_main.C:
2056         * lyx_cb.C:
2057         * buffer.C:
2058         * LaTeX.C: use namespace alias for lyx::support::os
2059
2060 2003-09-16  Angus Leeming  <leeming@lyx.org>
2061
2062         * bufferparams.C:
2063         * bufferview_funcs.C:
2064         * factory.C:
2065         * lyxfunc.C:
2066         * paragraph_pimpl.C:
2067         * rowpainter.C:
2068         * text.C: add #include "LColor.h".
2069
2070 2003-09-16  Angus Leeming  <leeming@lyx.org>
2071
2072         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2073         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2074         return LyXFont &.
2075         Store the FontBits::color variable as an int rather than as an
2076         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2077         file.
2078
2079         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2080         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2081         string calls together.
2082
2083         * lyxrc.C: add #include "LColor.h".
2084
2085 2003-09-15  Angus Leeming  <leeming@lyx.org>
2086
2087         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2088         a cow_ptr.
2089
2090 2003-09-15  Angus Leeming  <leeming@lyx.org>
2091
2092         * LColor.h: add an EnumLColor wrapper for LColor::color.
2093
2094         * lyxfont.[Ch] (color, setColor, realColor):
2095         * lyxtext.h, text.C (backgroundColor):
2096         pass EnumLColor args to/from the functions, rather than LColor::color
2097         ones.
2098
2099         * lyxfont.h:
2100         * lyxtext.h: forward declare EnumLColor.
2101
2102         * lyx_main.C: add #include "LColor.h".
2103
2104 2003-09-15  Angus Leeming  <leeming@lyx.org>
2105
2106         * .cvsignore: add lyx-gtk.
2107
2108 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * Chktex.C
2111         * LaTeX.C
2112         * LaTeXFeatures.C
2113         * ParagraphParameters.C
2114         * Spacing.C
2115         * buffer.C
2116         * bufferparams.C
2117         * bufferview_funcs.C
2118         * chset.C
2119         * counters.C
2120         * funcrequest.C
2121         * lyxfont.C
2122         * lyxgluelength.C
2123         * lyxlength.C
2124         * paragraph.C
2125         * paragraph_funcs.C
2126         * text3.C
2127         * vc-backend.C: remove usage of STRCONV
2128
2129 2003-09-15  Angus Leeming  <leeming@lyx.org>
2130
2131         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2132         explicitly define the color passed to the painter.
2133
2134 2003-09-15  Angus Leeming  <leeming@lyx.org>
2135
2136         * bufferparams.C (BufferParams): reorder member initializers to avoid
2137         compiler warning.
2138
2139 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2140
2141         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2142         * text.C (updateRowPositions): remove an unusual nop
2143
2144 2003-09-12  André Pönitz  <poenitz@gmx.net>
2145
2146         * BufferView_pimpl.C:
2147         * Bullet.C:
2148         * layout.h:
2149         * lyxfunc.C:
2150         * lyxlayout.[Ch]:
2151         * lyxtextclass.C:
2152         * rowpainter.C:
2153         * text.C:
2154         * text2.C:
2155         * Counters.[Ch]: finish the 'automatic counters' job
2156
2157 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2158
2159         * aspell.C: include <boost/assert.cpp> (compile fix)
2160
2161 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2162
2163         * boost.C (assertion_failed): use lyx::support::abort instead of
2164         assert.
2165
2166 2003-09-10  Angus Leeming  <leeming@lyx.org>
2167
2168         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2169         with their _fwd progeny.
2170
2171 2003-09-09  Angus Leeming  <leeming@lyx.org>
2172
2173         134 files throughtout the source tree: replace 'using namespace abc;'
2174         directives with the appropriate 'using abc::xyz;' declarations.
2175
2176 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2177
2178         * boost.C (emergencyCleanup): moved here from LAssert.c
2179         (assertion_failed): new function, called by BOOST_ASSERT
2180
2181         * several files: change Assert to BOOST_ASSERT
2182
2183 2003-09-09  Angus Leeming  <leeming@lyx.org>
2184
2185         * buffer.[Ch]: Add an Impl class and move Buffer's member
2186         variables into it. As a result move several header files out of
2187         buffer.h.
2188
2189         Add header files to lots of .C files all over the tree as a result.
2190
2191 2003-09-09  Angus Leeming  <leeming@lyx.org>
2192
2193         * buffer.[Ch]: make Buffer's member variables private. Add
2194         accessor functions.
2195
2196         Lots of changes all over the tree as a result.
2197
2198 2003-09-08  Angus Leeming  <leeming@lyx.org>
2199
2200         * graph.C: #include <config.h>.
2201
2202 2003-09-08  Angus Leeming  <leeming@lyx.org>
2203
2204         * BranchList.C:
2205         * BufferView.C:
2206         * BufferView_pimpl.C:
2207         * CutAndPaste.C:
2208         * DepTable.C:
2209         * LaTeX.C:
2210         * LaTeXFeatures.C:
2211         * LyXAction.C:
2212         * MenuBackend.C:
2213         * TextCache.C:
2214         * aspell.C:
2215         * buffer.C:
2216         * bufferlist.C:
2217         * changes.C:
2218         * chset.C:
2219         * converter.C:
2220         * counters.C:
2221         * debug.C:
2222         * graph.C:
2223         * ispell.C:
2224         * lyx_cb.C:
2225         * lyxfind.C:
2226         * lyxfunc.C:
2227         * lyxlex_pimpl.C:
2228         * lyxrc.C:
2229         * lyxrow.C:
2230         * paragraph.C:
2231         * rowpainter.C:
2232         * texrow.C:
2233         * text.C:
2234         * text2.C:
2235         * toc.C: remove redundant using directives.
2236
2237 2003-09-07  Angus Leeming  <leeming@lyx.org>
2238
2239         * LaTeXFeatures.h: remove #include "support/types.h".
2240         * ToolbarBackend.h: remove #include <algorithm>.
2241         * changes.h: remove #include <ctime>.
2242         * debug.h: remove #include <iosfwd>.
2243         * graph.h: remove #include "support/std_string.h".
2244         * lyx_main.h: remove #include <csignal>.
2245         * lyxlex_pimpl.h: remove #include <fstream>.
2246         * sgml.h: remove #include <algorithm>, <utility>.
2247         * toc.h: remove #include "support/std_ostream.h".
2248         Add #include <iosfwd>.
2249
2250 2003-09-07  Angus Leeming  <leeming@lyx.org>
2251
2252         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2253
2254         * converter.h: forward declare LatexRunParams.
2255         * encoding.h: remove #include "lyxrc.h".
2256         * lyxtext.h: remove #include "LColor.h".
2257         * lyxtextclass.h: remove #include "support/types.h".
2258         * trans.h: remove #include "tex-accent.h".
2259         * trans_mgr.h: remove #include "tex-accent.h".
2260         * insets/inset.h: remove #include "support/types.h", <vector>.
2261         * insets/insetcollapsable.h: remove #include "LColor.h".
2262         * insets/insetinclude.h: remove #include "dimension.h".
2263         * insets/insetlatexaccent.h: remove #include "dimension.h".
2264         * insets/insetoptarg.h:: remove #include "insettext.h".
2265         * insets/insettext.h: remove #include "dimension.h",
2266         <boost/shared_ptr.hpp>
2267
2268         * insets/renderers.h: add #include "dimension.h".
2269         * insets/updatableinset.h: add #include "support/types.h".
2270
2271         * many .C files: Associated changes.
2272
2273 2003-09-06  Angus Leeming  <leeming@lyx.org>
2274
2275         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2276         one, inside testInvariant.
2277
2278         * PrinterParams.C: new file.
2279         * PrinterParams.[Ch]: move the function bodies out of line.
2280
2281 2003-09-06  Angus Leeming  <leeming@lyx.org>
2282
2283         * ParagraphParameters.h: forward declare ParameterStruct rather than
2284         including its header file.
2285         (depth): moved out-of-line.
2286
2287 2003-09-06  Angus Leeming  <leeming@lyx.org>
2288
2289         * BufferView_pimpl.h:
2290         * kbmap.h:
2291         * kbsequence.h:
2292         * lyxfunc.h: forward declare LyXKeySym rather than
2293         #include "frontends/LyXKeySym.h".
2294
2295         * BufferView_pimpl.C:
2296         * kbmap.C:
2297         * kbsequence.C:
2298         * lyxfunc.C: associated changes.
2299
2300 2003-09-06  Angus Leeming  <leeming@lyx.org>
2301
2302         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2303         As a result, can remove the #include "insets/inset.h" from BufferView.h
2304
2305 2003-09-06  Angus Leeming  <leeming@lyx.org>
2306
2307         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2308         As a result, can remove the #include "insets/inset.h" from BufferView.h
2309
2310 2003-09-06  Angus Leeming  <leeming@lyx.org>
2311
2312         * buffer_funcs.C:
2313         * buffer.h:
2314         * bufferlist.C:
2315         * BufferView.C:
2316         * bufferview_funcs.C:
2317         * BufferView_pimpl.C:
2318         * CutAndPaste.C:
2319         * lyx_cb.C:
2320         * lyxfunc.C:
2321         * paragraph.h:
2322         * ParagraphParameters.C:
2323         * tabular.C:
2324         * text3.C:
2325         * toc.C:
2326         * undo_funcs.C:
2327         * frontends/controllers/ControlDocument.C:
2328         * insets/insetcaption.C: rearrange the #includes into some sort of
2329         coherent order.
2330
2331         * buffer.h: remove #includes ErrorList.h, undo.h
2332
2333 2003-09-06  Angus Leeming  <leeming@lyx.org>
2334
2335         * support/types.h: add a 'depth_type' typedef, used to store the
2336         nesting depth of a paragraph.
2337
2338         * paragraph.h:
2339         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2340         defining explicitly.
2341
2342         * buffer.h:
2343         * paragraph_funcs.h:
2344         * ParagraphParameters.h:
2345         * sgml.h: use lyx::depth_type rather than Paragraph or
2346         ParameterStruct's depth_type.
2347
2348         * buffer.h
2349         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2350
2351         * BufferView.C:
2352         * BufferView_pimpl.C:
2353         * CutAndPaste.C:
2354         * ParagraphParameters.C:
2355         * buffer_funcs.C:
2356         * bufferlist.C:
2357         * bufferview_funcs.C:
2358         * lyx_cb.C:
2359         * lyxfunc.C:
2360         * tabular.C:
2361         * text3.C:
2362         * toc.C:
2363         * undo_funcs.C:
2364         * frontends/LyXView.C:
2365         * frontends/controllers/ControlDocument.C:
2366         * frontends/controllers/ControlErrorList.C:
2367         * insets/insetbibitem.C:
2368         * insets/insetbranch.C:
2369         * insets/insetcaption.C:
2370         * insets/insetcollapsable.C:
2371         * insets/insetenv.C:
2372         * insets/insetert.C:
2373         * insets/insetfloat.C:
2374         * insets/insetfoot.C:
2375         * insets/insetfootlike.C:
2376         * insets/insetnewline.C:
2377         * insets/insetquotes.C:
2378         * insets/insettabular.C:
2379         * insets/insettext.C:
2380         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2381
2382         * frontends/controllers/ControlChanges.C: #include "changes.h".
2383
2384 2003-09-06  Angus Leeming  <leeming@lyx.org>
2385
2386         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2387         than #including paragraph.h.
2388
2389         * ParagraphList.h:
2390         * RowList.h: deleted. Superfluous.
2391
2392         * CutAndPaste.h:
2393         * iterators.h:
2394         * lyxcursor.h:
2395         * lyxtext.h:
2396         * text_funcs.h:
2397         * undo.h:
2398         * undo_funcs.h:
2399         * insets/inset.h:
2400         * insets/insettext.h: use ParagraphList_fwd.h rather than
2401         ParagraphList.h.
2402
2403         * paragraph.h: don't forward declare ParagraphList.
2404
2405         * buffer.h:
2406         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2407         rather than ParagraphList.h. paragraph.h is still needed for the
2408         Paragraph::depth_type parameters.
2409
2410         * textcursor.h: enable it to compile stand-alone in light of the
2411         above changes.
2412
2413         * bufferview_funcs.C:
2414         * iterators.C:
2415         * lyxfunc.C:
2416         * lyxrow_funcs.C:
2417         * paragraph.C:
2418         * rowpainter.C:
2419         * text.C:
2420         * text2.C:
2421         * text3.C:
2422         * text_funcs.C:
2423         * textcursor.C:
2424         * undo.C:
2425         * frontends/controllers/ControlParagraph.C:
2426         * frontends/controllers/ControlTabular.C:
2427         * insets/insetmarginal.C:
2428         * insets/insetminipage.C:
2429         * insets/insetnote.C:
2430         * insets/insetoptarg.C: add header files needed to compile again.
2431
2432 2003-09-06  Angus Leeming  <leeming@lyx.org>
2433
2434         * RowList_fwd.h: new file, forward-declaring Row rather than
2435         #including lyxrow.h.
2436
2437         * lyxrow_funcs.h:
2438         * lyxtext.h:
2439         * paragraph.h:
2440         * insets/insettext.h: use it instead of RowList.h
2441
2442         * bufferview_funcs.C:
2443         * lyxfunc.C:
2444         * lyxrow_funcs.C:
2445         * paragraph.C:
2446         * rowpainter.C:
2447         * text.C:
2448         * text2.C:
2449         * text3.C: #include "RowList.h".
2450
2451 2003-09-05  Angus Leeming  <leeming@lyx.org>
2452
2453         * factory.C (createInset):
2454         * vspace.C (c-tor): replace sscanf call with an istringstream.
2455         * ispell.C: re-add missing HP/UX headers.
2456         * lyxserver.C: re-add missing  os2 headers.
2457
2458 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2459
2460         * BranchList.C:
2461         * graph.C:
2462         * ispell.C:
2463         * lastfiles.C:
2464         * lyx_cb.C:
2465         * lyxserver.C:
2466         * texrow.C:
2467         * text3.C: re-add missing system headers, needed for 2.95.2.
2468
2469 2003-09-05  Angus Leeming  <leeming@lyx.org>
2470
2471         Changes most place everywhere due to the removal of using directives
2472         from support/std_sstream.h.
2473
2474 2003-09-05  Angus Leeming  <leeming@lyx.org>
2475
2476         Replace LString.h with support/std_string.h,
2477         Lsstream.h with support/std_sstream.h,
2478         support/LIstream.h with support/std_istream.h,
2479         support/LOstream.h with support/std_ostream.h.
2480
2481         Changes resulting throughout the tree.
2482
2483 2003-09-05  Angus Leeming  <leeming@lyx.org>
2484
2485         * sgml.h: ensure that the header file can be compiled stand-alone.
2486         * *.C: strip out redundant #includes. (320 in total.)
2487
2488 2003-09-04  Angus Leeming  <leeming@lyx.org>
2489
2490         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2491         here (from getPackages).
2492
2493         * debug.[Ch]: add a new EXTERNAL tag.
2494
2495 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2496
2497         * text2.C (cursorEnd): simplify
2498         (setCursor): adjust
2499         (getColumnNearX): adjust
2500
2501         * text.C (computeBidiTables): adjust
2502         (fill): adjust
2503
2504         * rowpainter.C (paintChars): adjust
2505         (paintSelection): adjust
2506         (paintChangeBar): adjust
2507         (paintText): adjust
2508
2509         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2510         lastPos instead.
2511         (numberOfSeparators): adjust
2512
2513 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2514
2515         * LyXAction.C:
2516         * box.[Ch]:
2517         * lfuns.h:
2518         * lyxfunc.C:
2519         * text3.C: Restricts the mouse click functionality
2520         of insets like bibtex, include, toc and floatlist to the visible
2521         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2522         up the dialogs. Cursor has to be in front of the inset (i.e.
2523         start of row) for this to function.
2524
2525 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2526
2527         * bufferview_funcs.C (currentState): output row information
2528
2529 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2530
2531         * bufferview_funcs.C (currentState): output paragraph position
2532
2533 2003-09-04  Angus Leeming  <leeming@lyx.org>
2534
2535         * FloatList.h: move out #include "Floating.h".
2536         * LaTeX.h: move out #include "DepTable.h".
2537         * LyXAction.h: move out #include "funcrequest.h".
2538         * buffer.h: move out #include "author.h", "iterators.h".
2539         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2540         * lyx_main.h: move out #include "errorlist.h".
2541         * lyxfunc.h: move out #include "FuncStatus.h".
2542         * lyxtext: move out #include "lyxcursor.h".
2543         * paragraph_pimpl.h: move out #include "counters.h".
2544
2545 2003-09-03  Angus Leeming  <leeming@lyx.org>
2546
2547         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2548         preamble_snippets list, enabling us to add snippets to the preamble
2549         only if the snippet was not there already.
2550
2551 2003-09-04  Angus Leeming  <leeming@lyx.org>
2552
2553         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2554
2555 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2556
2557         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2558         update
2559
2560 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2561
2562         * BranchList.C: point fix, earlier forgotten
2563
2564 2003-09-02  Angus Leeming  <leeming@lyx.org>
2565
2566         * box.C (contains): renamed from 'contained' after a fantastic
2567         amount of hot air.
2568
2569 2003-09-02  John Levon  <levon@movementarian.org>
2570
2571         * BufferView.C:
2572         * lyxcursor.h:
2573         * lyxcursor.C:
2574         * lyxfunc.C:
2575         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2576
2577 2003-09-02  John Levon  <levon@movementarian.org>
2578
2579         * text2.C: simplification of cursorEnd(), including partial
2580         fix for bug 1376
2581
2582 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * buffer.C (readFile): add a space
2585
2586 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2587
2588         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2589
2590 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * buffer.C (readFile): new function, take a filename and a
2593         ParagraphList::iterator
2594         (readFile): adjust
2595         (readFile): adjust, make it private. don't use setStream, make
2596         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2597         always contain the filename.
2598
2599         * BufferView.C (insertLyXFile): simplify and make it work for
2600         gzipped files.
2601
2602 2003-08-30  John Levon  <levon@movementarian.org>
2603
2604         * Makefile.am: fix dist (from Kayvan)
2605
2606 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * most files: change to use const Buffer refs
2609
2610 2003-08-27  André Pönitz  <poenitz@gmx.net>
2611
2612         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2613         on top of ownerPar().
2614
2615 2003-08-27  John Levon  <levon@movementarian.org>
2616
2617         * funcrequest.C: properly initialise POD members
2618
2619 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * lyxtext.h (top_y): move top_y from here
2622         * text.C:
2623         * text2.C:
2624         * text3.C:
2625         * BufferView.[Ch]:
2626         * BufferView_pimpl.[Ch]: to here
2627         * frontends/screen.C:
2628         * insets/insettabular.C:
2629         * insets/insettext.C: adjust
2630         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2631
2632 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * BufferView.[Ch]:
2635         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2636
2637 2003-08-26  André Pönitz  <poenitz@gmx.net>
2638
2639         * paragraph_func.[Ch] (outerPar): new function
2640
2641         * paragraph.C:
2642         * paragraph_funcs.C:
2643         * paragraph_funcs.h:
2644         * paragraph_pimpl.C:
2645         * text2.C: remove Inset::par_owner
2646
2647 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2648
2649         * lyxrow_funcs.C:
2650         * lyxtext.h:
2651         * text.C:
2652         * text2.C: eliminates the needFullRow/display() stuff
2653         altogether, putting the logic in metrics/draw in the insets.
2654
2655 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * text2.C (redoParagraphInternal, redoParagraphs):
2658         * text.C (redoParagraph): add a call to updateRowPositions at the
2659         end of each 'metrics-like' call. Remove all others.
2660         (getRow): remove the 'y-computing' version.
2661         (getRowNearY): do not compute nor return the real y. Solve the
2662         'y < 0' problem and simplify.
2663
2664 2003-08-22  Angus Leeming  <leeming@lyx.org>
2665
2666         * *.[Ch]: clean-up of licence and author blurbs.
2667         Also move config.h out of a few .h files and into a few .C files.
2668
2669 2003-08-22  André Pönitz  <poenitz@gmx.net>
2670
2671         * lyxrow.[Ch]: add x_ and *fill_ members
2672
2673         * lyxtext.h:
2674         * text.C:
2675         * rowpainter.C:
2676         * text2.C: adjust/remove prepareToPrint() calls
2677
2678 2003-08-22  André Pönitz  <poenitz@gmx.net>
2679
2680         * lyxrow.[Ch]: add  end_ member
2681
2682         * lyxrow_funcs.C: use LyXRow::end_
2683
2684         * lyxtext.h (singleWidth): add LyXFont parameter
2685
2686         * rowpainter.C:
2687         * text2.C: adjust LyXText::singleWidth() calls
2688
2689         * text.C (redoParagraph): simplify row breaking logic
2690
2691
2692 2003-08-19  André Pönitz  <poenitz@gmx.net>
2693
2694         * funcrequest.C: initialize button_ member
2695
2696         * text3.C:
2697         * rowpainter.[Ch]: interface consolidation
2698
2699 2003-08-18  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView.C:
2702         * BufferView_pimpl.C:
2703         * lyxfind.C:
2704         * paragraph_funcs.C:
2705         * rowpainter.C:
2706         * text3.C: remove LyXScreen::draw() and fitCursor calls
2707
2708         * BranchList.h: remove spurious semicolons
2709
2710         * MenuBackend.C: fix branchlist related crash
2711
2712 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2713
2714         * BranchList.[Ch]:
2715         * InsetList.[Ch]:
2716         * LColor.[Ch]:
2717         * LyXAction.C:
2718         * Makefile.am:
2719         * MenuBackend.[Ch]:
2720         * bufferparams.[Ch]:
2721         * factory.C:
2722         * lfuns.h:
2723         * lyxfunc.C:
2724         * text3.C: implements the 'branch inset'
2725         idea. This allows the output of various versions of a document
2726         from a single source version, selectively outputing or suppressing
2727         output of parts of the text.
2728         This implementation contains a 'branch list editor' in a separate
2729         tab of the document settings dialog. Branches are user definable
2730         and have a "display colour" to distinguish them on-screen.
2731
2732         ColorHandler was somewhat cleaned up.
2733         (1) make possible a dynamically growing LColor list by allowing
2734         the graphic context cache to grow along (vector);
2735         (2) eliminate an IMHO unnecessary step in colour allocation.
2736
2737 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2738
2739         * BufferView_pimpl.C: compile fix
2740
2741 2003-08-15  André Pönitz  <poenitz@gmx.net>
2742
2743         * rowpainter.C: remove extra metrics calls
2744
2745         * lyxtext.h: merge the two constructors into a single one,
2746           pass reference to owner's par list
2747
2748         * BufferView_pimpl.C:
2749         * text.C:
2750         * text2.C: adjust
2751
2752 2003-08-15  André Pönitz  <poenitz@gmx.net>
2753
2754         * lyxrow_funcs.[Ch]:
2755         * lyxtext.h:
2756         * paragraph.h:
2757         * paragraph_funcs.C:
2758         * rowpainter.C:
2759         * text.C:
2760         * text2.C:
2761         * text3.C:
2762         * text_funcs.C: split LyXText::rowlist_ into individual
2763         Paragraph::rows_ chunks
2764
2765         * BufferView.[Ch]:
2766         * BufferView_pimpl.[Ch]:
2767         * lyxfind.C:
2768         * lyxtext.h:
2769         * text3.C: remove toggleSelection()
2770
2771 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2772
2773         * bufferlist.C: beautify two alerts (shorter text of buttons)
2774         * buffer.C: Remove redundant ' ' from message
2775         * tabular.h:
2776         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2777         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2778         rename VALIGN_CENTER to VALIGN_MIDDLE
2779
2780 2003-08-11  André Pönitz  <poenitz@gmx.net>
2781
2782         * lyxtext.h (getPar):
2783         * text.C: new function
2784
2785 2003-08-11  André Pönitz  <poenitz@gmx.net>
2786
2787         * Makefile.am:
2788         * tracer.[Ch]: remove unneeded files
2789
2790         * InsetList.[Ch]: remove resizeInsetsLyXText()
2791
2792         * lyxtext.h:
2793         * text.C:
2794         * text2.C:
2795         * text3.C: merge insertParagraphs() and appendParagraph()
2796         remove breakAgain(), update()
2797
2798         * BufferView_pimpl.[Ch]:
2799         * bufferview_funcs.[Ch]:
2800         * lyxfunc.C:
2801         * paragraph.[Ch]:
2802         * rowpainter.C:
2803         * tabular.C: adjust after text & InsetList changes.
2804
2805 2003-08-08  André Pönitz  <poenitz@gmx.net>
2806
2807         * text.C (insertChar, backspace): replace rowlist fiddling
2808         with rebreak of full par
2809
2810         * lyxtext.h:
2811         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2812         checkParagraph, updateInset): removed
2813
2814 2003-08-07  André Pönitz  <poenitz@gmx.net>
2815
2816         * paragraph.C:
2817         * text3.C: merge some LFUN handlers, remove dead code
2818
2819 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2820
2821         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2822
2823 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2824
2825         * text2.C (DEPM): fix part of bug 1255 and 1256
2826
2827 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828
2829         * BufferView_pimpl.C (workAreaDispatch): change to use
2830         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2831         that are no mouse related.
2832
2833 2003-08-05  André Pönitz  <poenitz@gmx.net>
2834
2835         * BufferView.[Ch]:
2836         * BufferView_pimpl.[Ch]:
2837         * bufferview_funcs.C:
2838         * text2.C:
2839         * text3.C: rip out "deep update"
2840
2841         * textcursor.[Ch] (last_sel_cursor): remove unused member
2842
2843 2003-08-04  André Pönitz  <poenitz@gmx.net>
2844
2845         * BufferView.[Ch]:
2846         * BufferView_pimpl.[Ch]:
2847         * ParagraphParameters.C:
2848         * bufferview_funcs.C:
2849         * lyx_cb.C:
2850         * lyxfind.C:
2851         * lyxfunc.C:
2852         * text.C:
2853         * text2.C:
2854         * text3.C: replace "complicated" BufferView::update(...) calls with
2855         simpler ones.
2856
2857         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2858
2859 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2860
2861         * Makefile.am (lyx_SOURCES): add paper.h
2862
2863 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2864
2865         * Makefile.am: move things around so that both lyx-qt and
2866         lyx-xforms can be built (according to --with-frontend). Then lyx
2867         is a symbolic link to lyx-[firstfrontend]
2868
2869 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2870
2871         * Always use std::endl with lyxerr
2872
2873 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2874
2875         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2876
2877 2003-08-01  André Pönitz  <poenitz@gmx.net>
2878
2879         * BufferView.[Ch]:
2880         * BufferView_pimpl.[Ch]:
2881         * lyxfunc.C:
2882         * text3.C: merge BufferView::repaint() and BufferView::update()
2883
2884 2003-08-01  José Matos  <jamatos@lyx.org>
2885
2886         * buffer.[Ch]: file_format is no longer a buffer data element.
2887
2888 2003-08-01  André Pönitz  <poenitz@gmx.net>
2889
2890         * BufferView.C:
2891         * lyxtext.h:
2892         * text.C:
2893         * text2.C: make redoParagraph more independent of current cursor
2894
2895         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2896         * text.C:
2897         * text2.C: remove unneeded members
2898
2899 2003-07-30  André Pönitz  <poenitz@gmx.net>
2900
2901         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2902
2903         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2904           create a single function...
2905
2906         * paragraph_funcs.C (moveItem): ... here.
2907
2908         * text.C:
2909           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2910
2911 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2912
2913         * LColor.[Ch]: Add comment and greyedout logical colors.
2914
2915 2003-07-30  André Pönitz  <poenitz@gmx.net>
2916
2917         * tabular.C: don't use Assert too heavily. This crashes where it
2918           shouldn't
2919
2920 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2921
2922         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2923         is disabled (bug 1232)
2924
2925 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * factory.C: limited 'arg' scope
2928
2929 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2930
2931         * factory.C: fixed Note submenu issues
2932
2933 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2934
2935         * factory.C: submenu for Note/Comment/Greyedout
2936
2937 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * lyx_main.C (LyX):
2940         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2941
2942 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2943
2944         * LaTeXFeatures.C:
2945         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2946         greyedout. Patch provided by Jürgen Spitzmüller.
2947
2948 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * kbmap.C (read): fix error message when reading bind files
2951
2952 2003-07-29  Angus Leeming  <leeming@lyx.org>
2953
2954         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2955         certainly does not do what it purports to do. I am doing it, and
2956         us, a favour by killing it.
2957
2958 2003-07-28  José Matos  <jamatos@lyx.org>
2959
2960         * buffer.C (readBody, do_writeFile):
2961         * paragraph.C(readParagraph): \end_document replaces \the_end.
2962
2963 2003-07-29  André Pönitz  <poenitz@gmx.net>
2964
2965         * BufferView.[Ch]:
2966         * BufferView_pimpl.[Ch]:
2967         * lyxfunc.C:
2968         * text2.C:
2969         * text3.C:
2970         * textcursor.[Ch]: remove toggleToggle & Co
2971
2972 2003-07-28  José Matos  <jamatos@fep.up.pt>
2973
2974         * buffer.C (readParagraph):
2975         * params_func (readParToken, readParagraph):
2976         * paragraph.C (write): \layout -> \begin_layout.
2977
2978 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * lyxlex_pimpl.C (setFile): clean up slightly.
2981
2982         * bufferparams.h: add compressed var
2983
2984         * buffer_funcs.C (readFile): adjust for LyXLex change
2985         (newFile): ditto + simplify
2986
2987         * buffer.C (writeFile): handle writing of compressed files
2988
2989         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2990         Check if the file is compressed and set a bufferparm if so.
2991
2992         * Makefile.am (lyx_LDADD): remove explicit -lz
2993
2994 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2995
2996         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2997         makeDocBookFile): put the real LyX version in the first line of
2998         the file
2999
3000         * version.h:
3001         * version.C.in: remove lyx_docversion
3002
3003         * tabular.C (write_attribute): add a template-based version to
3004         write enums properly
3005
3006 2003-07-28  André Pönitz  <poenitz@gmx.net>
3007
3008         * lyxtext.h:
3009         * text.C:
3010         * text2.C:
3011         * text3.C: use doubles again for x-coordinates. They are needed.
3012
3013 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * messages.C (getLocaleDir): use lyx_localedir()
3016
3017         * lyxlex_pimpl.C (setFile): compress stuff
3018
3019         * buffer.C (writeFile): add some compression stuff
3020         (do_writeFile): new func, dont call expliti close... will this
3021         breake anything?
3022
3023         * Makefile.am (lyx_LDADD): add -lz
3024
3025 2003-07-28  José Matos  <jamatos@fep.up.pt>
3026
3027         * buffer.C: increment file format.
3028         * paragraph_funcs (readParagraph, readParToken):
3029         * paragraph.C (readParagraph): add \end_layout.
3030
3031 2003-07-27  Angus Leeming  <leeming@lyx.org>
3032
3033         * Makefile.am: remove special casing for configure-time setting of
3034         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3035
3036         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3037         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3038
3039 2003-07-26  André Pönitz  <poenitz@gmx.net>
3040
3041         * paragraph_func.[Ch]:
3042         * paragraph.C (realizeFont): inline it whereever it is used
3043
3044         * rowpainter.C:
3045         * text.C:
3046         * text2.C:
3047         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3048
3049
3050 2003-07-26  André Pönitz  <poenitz@gmx.net>
3051
3052         *       lyxtext.h:
3053         * text.C:
3054         * text2.C: get rid of LyXText::need_break_row
3055
3056 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * toc.[Ch]: put namespace toc inside namespace lyx
3059
3060         * MenuBackend.C (expandToc2): adjust for lyx::toc
3061         (expandToc): ditto
3062
3063         * lyxfunc.C (dispatch): adjust for lyx::find
3064
3065         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3066         lyx::find instead. Reorganize a bit.
3067         (LyXReplace): rename to replace
3068         (LyXFind): rename to find
3069
3070         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3071         (dispatch): ditto
3072
3073 2003-07-26  André Pönitz  <poenitz@gmx.net>
3074
3075         * text.C (setHeightOfRow): restrict scope of temporary variable
3076
3077         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3078           code (never has been used?)
3079
3080 2003-07-27  Asger Alstrup  <alstrup@local>
3081
3082         * text.C (fill): Optimise algorithm to exploit that we can reuse
3083         the LyXFont for many characters.
3084         (setHeightOfRow): Same thing.
3085         (rowBreakPoint): Same thing.
3086
3087 2003-07-26  Asger Alstrup  <alstrup@local>
3088
3089         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3090
3091         * text.C (singleWidth): Spurious font copying in hot-spot
3092         singleWidth avoided. Reorder tests for arabic for efficiency.
3093
3094         * text.C (fill): handle empty paragraphs better.
3095
3096 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * ispell.C:
3099         * encoding.h: add includes
3100
3101         * lyxrc.C: remove reading of bind files
3102
3103         * lyx_main.C (init): setup bindings and menus only if we have a
3104         gui.
3105
3106         * kbmap.C (read): new method. Do the actual reading of bind
3107         files.
3108
3109         * converter.C (dvipdfm_options):
3110         * bufferparams.C:
3111         * lyxrc.C (read):
3112         (output): adapt PAPER_* enums.
3113
3114         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3115
3116         * bufferparams.h: remove paper-related enums from there
3117
3118         * paper.h: New file. A trivial header file to hold paper-related
3119         enums. It should later expand to contain many paper-related
3120         horrors access.
3121
3122         * lyxrc.C: declare extern displayTranslator
3123
3124 2003-07-27  José Matos  <jamatos@fep.up.pt>
3125
3126         * tabular.[Ch] (linuxdoc): add support for tables and figures
3127         (linuxdoc).
3128
3129 2003-07-27  José Matos  <jamatos@fep.up.pt>
3130
3131         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3132         consistency in both functions.
3133         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3134
3135 2003-07-26  Asger Alstrup  <alstrup@local>
3136
3137         * rowpainter.C (paintRows): Change algorithm to work directly on
3138         the insets rather than asking every character in the document
3139         whether its an inset.
3140
3141 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * buffer.C (openFileWrite): factorize some code
3144
3145 2003-07-26  Angus Leeming  <leeming@lyx.org>
3146
3147         * lyx_cb.C:
3148         * lyx_main.[Ch]: replace occurances of system_tempdir with
3149         os::getTmpDir().
3150
3151 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * rename Inset to InsetOld
3154
3155 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3156
3157         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3158         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3159         which I think is a bit clearer. EDIT is gone, since it was
3160         premature optimisation, and broken for mathed anyway.
3161         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3162         with cursor positioning in insets as well (math insets still do not
3163         work, but that's a different story anyway.) It mysteriously
3164         crashes sometimes with undo in the first paragraph, but I'm fairly
3165         confident that this is a compiler bug.
3166
3167 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * paragraph.C (Paragraph): adjust for new clone return type
3170         (operator==): ditto
3171         (copyIntoMinibuffer): ditto
3172
3173 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3174
3175         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3176         by not having a special case, and always doing a full rebreak of
3177         the document after undo.
3178
3179 2003-07-23  Angus Leeming  <leeming@lyx.org>
3180
3181         * factory.C (createInset): InsetExternal::setParams now takes a
3182         Buffer const * arg.
3183
3184 2003-07-23  Angus Leeming  <leeming@lyx.org>
3185
3186         * factory.C (createInset): changed interface to the external and
3187         graphics mailers' string2params functions.
3188
3189 2003-07-23  Angus Leeming  <leeming@lyx.org>
3190
3191         * factory.C (createInset): pass a
3192         Buffer const * parameter to InsetExternalMailer's string2params.
3193
3194 2003-07-22  John Levon  <levon@movementarian.org>
3195
3196         * Thesaurus.h: include the right aiksaurus header
3197
3198 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3199
3200         * MenuBackend.C (expand): check menu shortcuts unconditionally
3201
3202 2003-07-21  Angus Leeming  <leeming@lyx.org>
3203
3204         * factory.C (createInset): pass a
3205         buffer_path parameter to InsetGraphicsMailer's string2params.
3206
3207 2003-07-21  Angus Leeming  <leeming@lyx.org>
3208
3209         * BufferView_pimpl.C (buffer):
3210         * buffer.C (d-tor):
3211         * lyx_main.C (LyX):
3212         * lyxfunc.C (dispatch):
3213         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3214         rather than the grfx shortcut.
3215
3216 2003-07-21  André Pönitz  <poenitz@gmx.net>
3217
3218         * rowpainter.C: remove unused variables
3219
3220         * tabular_funcs.C:
3221         * tabular_funcs.h: move to tabular.C
3222         * Makefile.am: adjust
3223
3224         * tabular.[Ch]: basic optical cleaning
3225
3226         * author.h: pass references, not values
3227
3228 2003-07-18  André Pönitz  <poenitz@gmx.net>
3229
3230         * lyxtext.h:
3231         * metricsinfo.C:
3232         * metricsinfo.h:
3233         * rowpainter.C:
3234         * text.C:
3235         * text2.C:
3236         * text3.C: two-phase drawing for InsetText and InsetTabular
3237         some float -> int changes.
3238
3239 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * lyx_main.C: fix the fix
3242
3243 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * lyx_main.C: fix a crash in batch mode if no files specified
3246         * converter.C: ws
3247
3248 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * format.[Ch] (papersize): moved to BufferParams
3251         * converter.[Ch] (dvips_options): moved to BufferParams
3252         (dvipdfm_options): moved to anon namespace
3253         * bufferparams.[Ch]: added above functions.
3254
3255 2003-07-17  André Pönitz  <poenitz@gmx.net>
3256
3257         * lyxtext.h:
3258         * rowpainter.C:
3259         * text2.C: don't call inset->update() anymore
3260
3261         * metricsinfo.[Ch]: add convenience constructor
3262
3263 2003-07-16  André Pönitz  <poenitz@gmx.net>
3264
3265         * lyxcursor.[Ch]:
3266         * lyxfunc.[Ch]:
3267         * text.C:
3268         * text2.C: replace the LyXCursor::irow_ member with
3269          on-demand computation of the value
3270
3271 2003-07-16  John Levon  <levon@movementarian.org>
3272
3273         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3274
3275 2003-07-15  André Pönitz  <poenitz@gmx.net>
3276
3277         * text.C:
3278         * text2.C: remove no more needed refresh_row
3279
3280 2003-07-15  André Pönitz  <poenitz@gmx.net>
3281
3282         * lyxtext.h:
3283         * rowpainter.C:
3284         * text2.C:
3285         * text3.C: refresh_status tristate -> need_update bool
3286
3287 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3288
3289         * lyxtext.h (init): remove reinit argument (act as if always true)
3290         * text2.C: adjust to that
3291
3292 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3293
3294         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3295         * text3.C: use it to delete selections in some cases
3296         (bugs 441, 673, 702, 954).
3297
3298 2003-07-14  André Pönitz  <poenitz@gmx.net>
3299
3300         * rowpainter.[Ch]: reduce interface
3301
3302 2003-07-14  André Pönitz  <poenitz@gmx.net>
3303
3304         * BufferView_pimpl.C:
3305         * text2.C: adjust after removing unused BufferView * argument
3306
3307 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * text2.C (init): fix a crash fired on resize
3310
3311 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * buffer.[Ch]: added new closing signal
3314         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3315         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3316         BufferView::Pimpl via the closing the signal
3317
3318 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3319
3320         * buffer.[Ch]: take out all bv-related from buffer
3321         * BufferView.C:
3322         * BufferView_pimpl.[Ch]: connect to new signals
3323         * CutAndPaste.C: removed useless asserts
3324         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3325         * lyxvc.[Ch]:
3326         * vc-backend.[Ch]:
3327         * lyxfunc.C: moved view-related funciontality from vc here
3328         * paragraph.C: removed outdated comments
3329         * text.C: ws
3330
3331 2003-07-10  André Pönitz  <poenitz@gmx.net>
3332
3333         * BufferView_pimpl.C:
3334         * tabular.h:
3335         * tabular_funcs.C:
3336         * text.C:
3337         * text2.C: remove InsetText::InnerCache, clean up consequences
3338
3339 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3340
3341         * ispell.C: fix two typos in error messages
3342
3343 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3344
3345         * Extend Note inset to other forms of annotation like Comment
3346         and Greyedout. Right button click gives dialog.
3347
3348         Files modified or added (+):
3349
3350         * insetnote.[Ch]
3351         * FormNote.[Ch]      +
3352         * ControlNote.[Ch]   +
3353         * form_note.fd       +
3354         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3355         frontends/controllers
3356         * xforms/Dialogs.C
3357         * factory.C
3358
3359 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3360
3361         * aspell.C: add missing namespace lyx::support
3362
3363 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * BufferView.[Ch] (newFile): Add
3366         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3367         * LaTeX.[Ch] (message): added this signal and use it
3368         * buffer.[Ch] (busy, message): added these signals and use them
3369         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3370         * converter.C:
3371         * exporter.C:
3372         * format.C:
3373         * importer.C: use buffer signals instead of direct bv calling
3374         * lyx_cb.[Ch] (ShowMessage): removed
3375         * lyx_main.C:
3376         * lyxfunc.C:
3377         * paragraph_funcs.C:
3378         * text2.C: use buffer signals
3379
3380 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * introduce namespace lyx::graphics
3383
3384 2003-07-02  André Pönitz  <poenitz@gmx.net>
3385
3386         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3387
3388 2003-07-01  André Pönitz  <poenitz@gmx.net>
3389
3390         * text.C:
3391         * text2.C:
3392         * text3.C:
3393         * text_funcs.[Ch]:
3394         * textcursor.h:
3395         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3396           text*.C to text_func.C
3397
3398 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * introduce namespace lyx::support
3401
3402 2003-06-30  André Pönitz  <poenitz@gmx.net>
3403
3404         * Chktex.C:
3405         * funcrequest.C:
3406         * lyxtext.h:
3407         * text.C: re-enable --with-included-string
3408
3409 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * textcursor.C: add <config.h>
3412
3413         * text.C (getWord): remove const from word_location arg
3414
3415         * lyxvc.C (getLogFile): fix const type order
3416
3417         * lyxtext.h: remove const from word_location arg, add arg name
3418
3419         * lyxlayout.h: currect type on labeltype.
3420
3421         * importer.C: correct \file
3422
3423         * converter.C (intToFormat): use std:: on ret val, ws changes
3424
3425         * bufferlist.h: correct \file
3426
3427         * buffer.C (makeLinuxDocFile): fix const type order
3428         (makeDocBookFile): ditto
3429         (fillWithBibKeys): use std:: on stdlib args.
3430
3431         * CutAndPaste.C: fix authors.
3432         (availableSelections): use std:: on return vector
3433
3434 2003-06-27  André Pönitz  <poenitz@gmx.net>
3435
3436         * BufferView_pimpl.C:
3437         * bufferview_funcs.C:
3438         * lyxcursor.C:
3439         * lyxcursor.h:
3440         * lyxfunc.C:
3441         * lyxtext.h:
3442         * rowpainter.C:
3443         * text.C:
3444         * text2.C:
3445         * text3.C: remove LyXCursor::row_ member
3446
3447         * lyxtext.h:
3448         * text.C: rename fullRebreak() to partialRebreak() and implement
3449           a fullRebreak() that really bereks fully
3450
3451         * textcursor.h: new struct for cursor-related data
3452
3453 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * lyx_main.C (LyX): get full path of document loaded on the
3456         command line
3457
3458 2003-06-26  André Pönitz  <poenitz@gmx.net>
3459
3460         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3461           remove unused/broken operator>,<,>=.
3462
3463         *       text.C: remove only use of broken operator<= in an Assert().
3464
3465 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3468         moved errorlist_.clear to showErrorList
3469
3470 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3471
3472         * converter.C (scanLog, runLaTeX):
3473         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3474         move the bv->showErrorList call to the callers
3475         * lyxfunc.C: i.e. here...
3476         * text2.C: and here
3477         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3478         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3479         namespace, the second to...
3480         * buffer_funcs (BufferFormat, parseErrors): added
3481         * errorlist.C (ErrorList(TeXErrors const &)): removed
3482
3483 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3484
3485         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3486
3487 2003-06-24  "Garst R. Reese" <reese@isn.net>
3488
3489         * debug.C: fix typo
3490
3491 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3492
3493         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3494
3495         * version.C.in: change docversion to 1.4
3496
3497 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3498
3499         * buffer.C: fix a bug just introduced
3500
3501 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * buffer.[Ch]: added the parseError signal and use it, removed
3504         sgmlError
3505         * BufferView.[Ch] (addError): moved to ...
3506         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3507         to the Buffer::parseError signal to catch (guess what) parse errors
3508         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3509
3510 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3513         ability to create a buffer and to return an existing one from
3514         the list. Moved these functions to...
3515         * buffer_funcs.[Ch]: added
3516         * BufferView.[Ch] (loadLyXFile): added
3517         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3518         job removed from bufferlist::loadLyXFile.
3519         * buffer.C (setReadOnly): make it work without view
3520         (i.e added an if (users))
3521
3522 2003-06-19  Angus Leeming  <leeming@lyx.org>
3523
3524         * lfuns.h:
3525         * LyXAction.C (init):
3526         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3527         with LFUN_DIALOG_SHOW <name> <data>.
3528
3529 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3530
3531         * CutAndPaste.C (availableSelections): small compilation fix for
3532         ancient (gcc 2.9x) compilers
3533
3534 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * text3.C (cursorNext): add tmp var
3537
3538         * text2.C (updateCounters): for function calling out of for clause
3539         (replaceSelectionWithString): ditto
3540         (insertStringAsParagraphs): ditto
3541         (getColumnNearX): add tmp var
3542         (setCursorFromCoordinates): add tmp var
3543         (cursorDownParagraph): add tmp var
3544         (deleteEmptyParagraphMechanism): add tmp var
3545
3546         * text.C (insertChar): add tmp var
3547
3548         * rowpainter.C (paintDepthBar): add tmp var
3549
3550         * CutAndPaste.C (availableSelections): potentially check all
3551         paragraphs in a cut to fill the shown strings.
3552
3553 2003-06-18  André Pönitz  <poenitz@gmx.net>
3554
3555         * kbmap.[Ch]: use vector<> instead of list<>
3556
3557 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3558
3559         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3560         pasteSelection with index
3561
3562         * text2.C (pasteSelection): modify, call pasteSelection with index
3563
3564         * paragraph.C (asString): reimplement version with no interval to
3565         call the one with interval.
3566
3567         * lyxtext.h: add index arg to pasteSelection
3568
3569         * MenuBackend.C (MenuItem): handle PasteRecent
3570         (Menu::read::Menutags): add md_pasterecent
3571         (read): handle it
3572         (expandPasteRecent): new function
3573         (expand): use it
3574
3575         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3576
3577         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3578         the limited stack
3579         (availableSelections): new function
3580
3581 2003-06-17  Angus Leeming  <leeming@lyx.org>
3582
3583         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3584
3585 2003-06-17  Angus Leeming  <leeming@lyx.org>
3586
3587         * lfuns.h:
3588         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3589
3590         * lyxfunc.C (dispatch): invoke it.
3591
3592 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3593
3594         * iterators.C (operator++, ParPosition): reintroduce some
3595         const_cast for the benefit of older compilers.
3596
3597 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3598
3599         * text3.C (dispatch): do not modify clipboard when doing
3600         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3601         LFUN_DELETE_SKIP on a selection selection
3602
3603 2003-06-16  André Pönitz  <poenitz@gmx.net>
3604
3605         * BufferView.C:
3606         * buffer.C:
3607         * buffer.h:
3608         * paragraph.C:
3609         * tabular.[Ch]: IU of clone() and getLabelList();
3610
3611 2003-06-13  André Pönitz  <poenitz@gmx.net>
3612
3613         * tabular.h: compactification
3614
3615 2003-06-12  André Pönitz  <poenitz@gmx.net>
3616
3617         * tabular.C:
3618         * tabular.h:
3619         * tabular_funcs.h: some renaming plus whitespace
3620
3621 2003-06-12  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView.C:
3624         * BufferView_pimpl.C:
3625         * CutAndPaste.C:
3626         * buffer.C:
3627         * iterators.[Ch]:
3628         * lyxfunc.C:
3629         * text.C:
3630         * toc.C: Return a Paragraph & for ParIterator::operator*()
3631
3632 2003-06-11  John Levon  <levon@movementarian.org>
3633
3634         * lyx_main.C:
3635         * ToolbarBackend.h:
3636         * ToolbarBackend.C: add "Toolbars" section and
3637         put the flags there
3638
3639 2003-06-10  Angus Leeming  <leeming@lyx.org>
3640
3641         * lfuns.h:
3642         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3643
3644         * lyxfunc.C (dispatch): invoke it.
3645
3646 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * main.C: protect <ios> with HAVE_IOS
3649         (main): protect sync_with_stdio with HAVE_IOS
3650
3651 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3652
3653         * text2.C (cutSelection): adjust
3654         (pasteSelection): adjust
3655
3656         * messages.C: handle get of empty string
3657
3658         * main.C (main): use sync_with_stdio(false)
3659
3660         * lyxfunc.C (dispatch): adjust
3661
3662         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3663         (WriteAs): remove unneeded BufferView arg.
3664
3665         * bufferparams.h: use correct types on papersize, papersize2 and
3666         paperpackage.
3667
3668         * bufferparams.C (readToken): adjust for type
3669         (writeLaTeX): add missing cases to switch.
3670
3671         * bufferlist.C (quitWriteBuffer): adjust
3672         (close): adjust
3673
3674         * buffer.C (asciiParagraph): remove some commented code.
3675
3676         * CutAndPaste.C: remove current_view extern variable.
3677         (cutSelection): add BufferParams arg.
3678         (eraseSelection): add BufferParams arg.
3679         (pasteSelection): add Buffer const & arg
3680
3681 2003-06-07  John Levon  <levon@movementarian.org>
3682
3683         * buffer.C:
3684         * paragraph_funcs.C:
3685         * paragraph_pimpl.C:
3686         * text.C:
3687         * text2.C:
3688         * paragraph.h:
3689         * paragraph.C: allow InsetERT to freely space lines,
3690         and some consolidation of code
3691
3692 2003-06-06  José Matos  <jamatos@fep.up.pt>
3693
3694         * buffer.C (makeDocBookFile): fix bug #821
3695
3696 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3699
3700 2003-06-04  Angus Leeming  <leeming@lyx.org>
3701
3702         * buffer.C: bump format to 224.
3703
3704 2003-06-05  André Pönitz  <poenitz@gmx.net>
3705
3706         * text2.C (redoParagraphs): remove two const_cast<>
3707
3708 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3709
3710         * ParagraphList.h: remove last remnants of NO_STD_LIST
3711
3712 2003-06-03  Angus Leeming  <leeming@lyx.org>
3713
3714         * factory.C (createInset): small change to the way InsetExternal's params
3715         are set.
3716
3717 2003-06-04  André Pönitz  <poenitz@gmx.net>
3718
3719         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3720
3721         * paragraph_pimpl.h:
3722         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3723
3724         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3725
3726         * undo_funcs.C: make some simple cases of undo work again
3727
3728 2003-06-03  John Levon  <levon@movementarian.org>
3729
3730         * ispell.C: HPUX doesn't have sys/select.h
3731         (from Albert Chin)
3732
3733 2003-06-03  John Levon  <levon@movementarian.org>
3734
3735         * CutAndPaste.C: update tabular and include inset
3736         buffer references
3737
3738         * buffer.h:
3739         * paragraph.h:
3740         * paragraph.C: remove owningBuffer(), don't pass Buffer
3741         to clone()
3742
3743         * factory.C: insetGraphicsParams changed
3744
3745 2003-06-02  John Levon  <levon@movementarian.org>
3746
3747         * LyXAction.C:
3748         * factory.C:
3749         * lfuns.h:
3750         * lyxfunc.C:
3751         * text3.C: remove insetparent
3752
3753 2003-06-02  John Levon  <levon@movementarian.org>
3754
3755         * buffer.h:
3756         * buffer.C: fix inset_iterator.end(), move out of line
3757         (bug 1149)
3758
3759 2003-06-01  John Levon  <levon@movementarian.org>
3760
3761         * text3.C: use a proper cut/paste when doing inset
3762         insert (from Jürgen Spitzmüller)
3763
3764 2003-06-01  John Levon  <levon@movementarian.org>
3765
3766         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3767
3768 2003-05-30  André Pönitz  <poenitz@gmx.net>
3769
3770         * rowpainter.C: unify second drawing phase
3771
3772 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * trans_mgr.C: remove one case of current_view
3775
3776         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3777
3778         * paragraph_funcs.h: remove paragraph.h include
3779
3780         * paragraph.h: delete NO_STD_LIST stuff
3781
3782         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3783
3784         * buffer.h: remove paragraph.h include
3785
3786         * ParagraphList.C: delete file
3787
3788         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3789
3790         * toc.C (getTocList): adjust
3791
3792         * paragraph_pimpl.C (validate): adjust
3793
3794         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3795
3796         * paragraph.C (Paragraph): adjust
3797         (getPositionOfInset): use const_iterator, adjust
3798         (bibitem): use const_iterator, adjust
3799         (setInsetOwner): adjust
3800
3801         * iterators.C (operator++): adjust
3802
3803         * InsetList.[Ch]: Replace selfmade iterator with standard
3804         vector::iterator also introduce const_iterator. Remove getPos,
3805         getInset and setInset from InsetTable. Adjust accordingly.
3806
3807         * BufferView.C (lockInset): adjust
3808         (ChangeInsets): adjust
3809
3810         * tabular.[Ch]: delete commented same_id functions
3811
3812 2003-05-28  John Levon  <levon@movementarian.org>
3813
3814         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3815
3816 2003-05-28  André Pönitz  <poenitz@gmx.net>
3817
3818         * metricsinfo.[Ch]: remove 'fullredraw' member
3819
3820 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3821
3822         * lyxtextclass.C (operator): remove caching.
3823
3824 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * text3.C: adjust
3827
3828         * text2.C (cursorBottom): adjust
3829         (setCounter): use ParagraphList::find, adjust
3830
3831         * text.C (workWidth): use ParagraphList::find, adjust
3832
3833         * lyxcursor.C (LyXCursor): adjust
3834
3835         * buffer.C (inset_iterator): adjust
3836
3837         * ParagraphList.h: make iterator(value_type) private, make
3838         ParagraphList a friend of iterator.
3839
3840         * ParagraphList.C (find): new function
3841
3842         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3843
3844 2003-05-27  André Pönitz  <poenitz@gmx.net>
3845
3846         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3847
3848 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3851
3852 2003-05-26  John Levon  <levon@movementarian.org>
3853
3854         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3855
3856 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * remove same_id from function signatures, adjust.
3859
3860 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3863
3864         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3865
3866         * paragraph.C (Paragraph): get rid of same_ids parameter
3867
3868         * ParagraphList.C (insert): adjust
3869         (push_back): adjust
3870
3871 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * paragraph_funcs.C (breakParagraph): adjust
3874         (breakParagraphConservative): adjust
3875
3876         * buffer.C (readParagraph): adjust
3877
3878         * ParagraphList.C (insert): take a reference instead of a pointer
3879         (insert): adjust
3880
3881         * paragraph.[Ch] (id): new function
3882
3883         * bufferlist.C (newFile): adjust
3884
3885         * ParagraphList.C (ParagraphList): adjust
3886         (assign): adjust
3887         (push_back): take a reference instead of a pointer.
3888
3889         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3890
3891         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3892         instead.
3893
3894         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3895         set else use old code.
3896
3897         * ParagraphList.C: remove all NO_NEXT code and only compile this
3898         code of NO_STD_LIST is set.
3899
3900 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3901
3902         * BufferView_pimpl.C:
3903         * TextCache.C:
3904         * TextCache.h:
3905         * bufferlist.C:
3906         * errorlist.h:
3907         * format.C:
3908         * format.h:
3909         * graph.C:
3910         * lyxfunc.C:
3911         * lyxrc.C:
3912         * graphics/GraphicsConverter.C:
3913         * graphics/PreviewLoader.C: header adjustment
3914
3915 2003-05-23  Angus Leeming  <leeming@lyx.org>
3916
3917         * LaTeXFeatures.[Ch] (useBabel): new method.
3918         * bufferparams.C (writeLaTeX): use it.
3919
3920 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * ParagraphList.h (set): remove unused function.
3923
3924 2003-05-23  André Pönitz  <poenitz@gmx.net>
3925
3926         * BufferView.C:
3927         * BufferView_pimpl.C:
3928         * buffer.C:
3929         * buffer.h:
3930         * lyxfunc.C:
3931         * undo_funcs.C: setUndo reworked
3932
3933         * iterators.[Ch]: add access to topmost ParagraphList
3934
3935         * lyxtext.[Ch] (workWidth): add a const
3936
3937 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3938
3939         * texrow.[Ch] (increasePos): remove function
3940         * exporter.C (export): removed unused var and outdated comment
3941
3942 2003-05-23  Angus Leeming  <leeming@lyx.org>
3943
3944         * latexrunparams.h: rename fragile as moving_arg.
3945         * paragraph.C (simpleTeXOnePar): ditto.
3946         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3947
3948 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3951         (createUndo): ditto
3952         (textUndoOrRedo): comment out a currently unused var.
3953
3954         * paragraph.h (NO_NEXT): enable NO_NEXT
3955
3956         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3957
3958         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3959
3960         * exporter.C (Export): adjust for removeAutoInsets removal.
3961
3962         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3963
3964         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3965
3966         * BufferView.[Ch] (removeAutoInsets): delete function
3967
3968 2003-05-22  Angus Leeming  <leeming@lyx.org>
3969
3970         * latexrunparams.h: add a free_spacing variable.
3971
3972         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3973         to pass moving_arg, as the data is stored in runparams.fragile.
3974
3975         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3976         to Inset::latexOptional or to simpleTeXOnePar.
3977
3978         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3979         free_spacing arg to Inset::latexOptional.
3980
3981         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3982         free_spacing arg.
3983
3984 2003-05-22  Angus Leeming  <leeming@lyx.org>
3985
3986         * latexrunparams.h: add fragile and use_babel variables.
3987
3988         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3989         * buffer.C (makeLaTeXFile): store this returned value in
3990         runparams.use_babel, thus passing it to the inset::latex methods.
3991
3992         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3993         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3994
3995         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3996         longer has a fragile arg, as it is stored in runparams.fragile.
3997
3998         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3999         moving_arg parameter as the data is stored in runparams.fragile.
4000
4001         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4002         a fragile parameter as the data is stored in runparams.fragile.
4003
4004 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4007
4008 2003-05-22  Angus Leeming  <leeming@lyx.org>
4009
4010         * latexrunparams.h: add a 'bool nice' which defaults to false.
4011
4012         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4013         now encapsulated within runparams.
4014
4015         * bufferlist.C (updateIncludedTeXfiles):
4016         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4017
4018 2003-05-22  Angus Leeming  <leeming@lyx.org>
4019
4020         * latexrunparams.h: new file containing struct LatexRunParams.
4021         * Makefile.am: add new file.
4022
4023         * LaTeX.[Ch] (c-tor, run):
4024         * buffer.[Ch] (makeLaTeXFile):
4025         * bufferlist.[Ch] (updateIncludedTeXfiles):
4026         * converter.C (convert, scanLog):
4027         * converter.[Ch] (runLaTeX):
4028         * exporter.C (Export):
4029         * paragraph.[Ch] (simpleTeXOnePar):
4030         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4031         * paragraph_funcs.[Ch] (latexParagraphs):
4032         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4033         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4034         pass around a LatexRunParams parameter.
4035
4036 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * paragraph.[Ch]: remove unused constructor
4039
4040         * ParagraphList.C (erase): new function, taking two iterators
4041
4042 2003-05-22  André Pönitz  <poenitz@gmx.net>
4043
4044         * undo_funcs.C: remove duplicated code
4045
4046         * iterator.[Ch]: operator=
4047
4048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * tabular.C (SetMultiColumn): ws changes
4051
4052         * rowpainter.C (paintFirst): get rid of a ->previous
4053
4054         * lyx_cb.C (getPossibleLabel): parlist simplification
4055
4056         * BufferView.C (ChangeInsets): simplify slightly.
4057
4058 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4059
4060         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4061         * lfuns.h: new LFUN_SPACE
4062         * lyxfunc.C: protected space has a new lfun
4063         * paragraph_funcs.C: read new space insets
4064         * text3.C:
4065         * factory.C: handle new space insets
4066
4067 2003-05-22  André Pönitz  <poenitz@gmx.net>
4068
4069         * BufferView.C:
4070         * BufferView_pimpl.C:
4071         * buffer.[Ch]:
4072         * lyxfunc.C:
4073         * undo_funcs.C: return a ParIterator from getParFromID.
4074
4075         * iterators.[Ch]: add two const's
4076
4077 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * toc.C (getTocList): adjust
4080
4081         * iterators.[Ch]: rework for parlist
4082
4083         * buffer.C (par_iterator_begin): adjust
4084         (par_iterator_end): adjust
4085
4086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4087
4088         * BufferView.C (removeAutoInsets): adjust
4089         (ChangeInsets): adjust
4090
4091 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4092
4093         * text.C (top_y): fix bug 1110
4094
4095 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * errorlist.[Ch]: added
4098         * buffer.C:
4099         * BufferView.[Ch]:
4100         * BufferView_pimpl.C:
4101         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4102         instead
4103
4104 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * Makefile.am: ensure that lyx is relinked upon changes to the
4107         various "convenience" libs.
4108
4109 2003-05-20  Angus Leeming  <leeming@lyx.org>
4110
4111         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4112         files are compiled in alphabetical order again.
4113
4114         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4115
4116 2003-05-19  Angus Leeming  <leeming@lyx.org>
4117
4118         * gettext.[Ch]: remove "char const * _(char const *)".
4119
4120 2003-05-19  André Pönitz  <poenitz@gmx.net>
4121
4122         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4123
4124         * Makefile.am:
4125         * BufferView.C:
4126         * DepTable.h:
4127         * LaTeXFeatures.C:
4128         * buffer.C:
4129         * lyxfont.C:
4130         * lyxlex.h:
4131         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4132
4133 2003-05-19  André Pönitz  <poenitz@gmx.net>
4134
4135         * buffer.C:
4136         * lyxlayout.[Ch]:
4137         * lyxtextclass.[Ch]:
4138         * paragraph.C:
4139         * paragraph_funcs.[Ch]:
4140         * text2.C:
4141         * text3.C: more insetenv work
4142
4143 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4144
4145         * ParagraphParameters.C (params2string): small bug fixed
4146
4147 2003-05-16  André Pönitz  <poenitz@gmx.net>
4148
4149         * debug.C:
4150         * bufferview_funcs.C: patch from Kornel Benko to prevent
4151           crash when _(...) is called twice in a statement
4152
4153 2003-05-16  André Pönitz  <poenitz@gmx.net>
4154
4155         * BufferView.C:
4156         * lyxfunc.C:
4157         * text.C:
4158         * text2.C:
4159         * text3.C:
4160         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4161
4162 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * lyx_main.C (init): remove spurious static_cast
4165
4166 2003-05-14  André Pönitz  <poenitz@gmx.net>
4167
4168         * BufferView.C: fix format string
4169
4170 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * BufferView.[Ch] (insertErrors): removed
4173         * BufferView.[Ch] (showErrorList): added
4174         * buffer.C (runChkTeX):
4175         * converter.C (scanLog): call showErrorList instead of inserterrors
4176
4177 2003-05-13  André Pönitz  <poenitz@gmx.net>
4178
4179         * BufferView_pimpl.C:
4180         * buffer.C:
4181         * bufferview_func.C:
4182         * MenuBackend.C:
4183         * lyxfunc.C:
4184         * lyxrc.C:
4185         * tex-accent.C:
4186         * text3.C:
4187         * toc.C:
4188         * tabular_funcs.h: tostr() from its own header
4189
4190         * ParagraphParameters.C:
4191         * ToolbarBackend.C:
4192         * bufferparams.C:
4193         * format.C:
4194         * lyxlex_pimpl.C:
4195         * text3.C: STRCONV()
4196
4197 2003-05-12  André Pönitz  <poenitz@gmx.net>
4198
4199         * BufferView.C:
4200         * BufferView_pimpl.C:
4201         * CutAndPaste.C:
4202         * LaTeX.C:
4203         * LaTeXFeatures.C:
4204         * ParagraphParameters.C:
4205         * buffer.C:
4206         * bufferlist.C:
4207         * bufferparams.C:
4208         * bufferview_funcs.C:
4209         * converter.C:
4210         * counters.C:
4211         * debug.C:
4212         * exporter.C:
4213         * format.C:
4214         * importer.C:
4215         * lyx_cb.C:
4216         * lyx_main.C:
4217         * lyxfont.C:
4218         * lyxfunc.C:
4219         * lyxvc.C:
4220         * paragraph.C:
4221         * paragraph_funcs.C:
4222         * tabular.C:
4223         * tabular_funcs.C:
4224         * text2.C:
4225         * text3.C:  boost::format -> bformat  all over the place
4226
4227
4228 2003-05-09  André Pönitz  <poenitz@gmx.net>
4229
4230         * LColor.[Ch]: Pimpl the #include <map> away
4231
4232 2003-05-09  John Levon  <levon@movementarian.org>
4233
4234         * bufferlist.C: never remove emergency saves
4235
4236 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * Makefile.am: better lib building
4239
4240 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4243         instead.
4244         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4245         (simpleTeXSpecialChars): adjust
4246         (simpleTeXSpecialChars): adjust
4247         * paragraph.C (simpleTeXOnePar): adjust
4248         * buffer.C (makeLaTeXFile): adjust
4249
4250         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4251
4252         * text2.C (changeDepth): parlist cleanup
4253         (getColumnNearX): ditto
4254
4255         * rowpainter.C (getLabelFont): parlist cleanup
4256
4257         * bufferlist.C (newFile): parlist cleanup
4258
4259         * CutAndPaste.C (eraseSelection): parlist cleanup
4260
4261         * BufferView_pimpl.C (trackChanges): parlist cleanup
4262         (dispatch): ditto
4263
4264         * BufferView.C (lockInset): parlist cleanup.
4265         (ChangeInsets): ditto
4266
4267 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * CutAndPaste.h: Update file header.
4270
4271         * CutAndPaste.C: Update file header.
4272         Store the parts cut out of the Document in a limited_stack.
4273         (copySelection): adjust
4274         (pasteSelection): new function, takes the index in the limited stack.
4275         (nrOfParagraphs): adjust
4276         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4277         simplify error inset insertion.
4278         (checkPastePossible): adjust
4279
4280 2003-05-06  John Levon  <levon@movementarian.org>
4281
4282         * text2.C: don't cast wrap inset to float
4283
4284 2003-05-05  André Pönitz  <poenitz@gmx.net>
4285
4286         * iterator.C:
4287         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4288
4289         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4290           few naked Paragraph *.
4291
4292 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4293
4294         * bufferparams.C: Output warning if a document with missing
4295         TeX document class is loaded
4296         * exporter.C: Disable TeX exports if the document class is missing
4297         * lyxtextclass.C:
4298         * lyxtextclass.h:
4299         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4300         isTeXClassAvailable()
4301
4302 2003-05-03  John Levon  <levon@movementarian.org>
4303
4304         * BufferView.h:
4305         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4306         explicit cursor show/hide
4307
4308         * BufferView_pimpl.h:
4309         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4310         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4311
4312         * lyxfunc.C: hide cursor before dispatching.
4313
4314         * lyx_cb.C:
4315         * lyxfind.C:
4316         * text.C:
4317         * text3.C: remove explicit cursor hides
4318
4319 2003-05-02  André Pönitz  <poenitz@gmx.net>
4320
4321         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4322
4323         * undo_funcs.C:
4324         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4325           linked lists
4326
4327         * text2.C: tiny whitespace
4328
4329 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * undo_funcs.C: almost only ws changes.
4332
4333         * ParagraphList.C (splice): just return if pl is empty.
4334
4335 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * ParagraphList.C (splice): new function.
4338
4339         * CutAndPaste.C (pasteSelection): use it
4340
4341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * CutAndPaste.C (pasteSelection): remove the last next and
4344         previous from this file.
4345
4346 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * CutAndPaste.C (pasteSelection): more clean up, user proper
4349         ParagraphList functions for pasteing.
4350
4351         * ParagraphList.C (insert): new function, three arg insert
4352
4353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * ParagraphList.C (insert): new function, three arg insert
4356
4357         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4358         not on paragraphs.
4359
4360 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4363
4364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4367
4368 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4371         (copySelection): clean up a bit.
4372         (pasteSelection): use make_pair
4373
4374         * ParagraphList.C (ParagraphList): implement copy constructor
4375         (operator=): implement, base on copy constructor.
4376         (assign): new func
4377
4378         * paragraph.C (erase): return a bool
4379
4380         * paragraph_pimpl.C (erasePos): remove function, move contents...
4381         (erase): ... here. Return a bool.
4382         (erase): call erase instead of erasePos.
4383
4384 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4385
4386         * ParagraphList.h: define PitPosPair
4387         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4388         ParagraphList, fix a bug on pasting multiple pars
4389         * text2.C: change interface to C&P
4390
4391 2003-04-30  André Pönitz  <poenitz@gmx.net>
4392
4393         * undo_func.C: revert part of yesterday's patch 2
4394
4395 2003-04-30  John Levon  <levon@movementarian.org>
4396
4397         * LColor.C: s/tabular/table/
4398
4399 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * text3.C (dispatch): do not convert iterator -> pointer
4402         * undo_funcs.C (setCursorParUndo): ditto
4403         * text_funcs.C (transposeChars): ditto
4404
4405         * text2.C (setLayout): ws changes only
4406
4407         * text.C (breakParagraph): do not convert iterator -> pointer
4408         (insertChar): ditto
4409         (acceptChange): ditto
4410         (rejectChange): ditto
4411         (changeCase): ditto
4412         (Delete): ditto
4413         (backspace): ditto
4414
4415         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4416         pointer
4417
4418 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * text3.C (gotoInset): YABG (yet another bad getChar)
4421
4422 2003-04-29  André Pönitz  <poenitz@gmx.net>
4423
4424         * paragraph.h: make operator= private unimplemented as long as
4425           it is unusable
4426
4427         * ParagraphList.C: whitespace
4428
4429         * paragraph.[Ch]:
4430         * paragraph_pimpl.[Ch]:
4431         * paragraph_funcs.C:
4432         * CutAndPaste.C:
4433         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4434
4435         * text2.C:
4436           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4437
4438 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4441         * paragraph.[Ch] (erase):
4442         * paragraph_pimpl.[Ch] (erase): change return type and value
4443         * text2.C (cutSelection): some rework
4444
4445 2003-04-28  John Levon  <levon@movementarian.org>
4446
4447         * bufferlist.C: changes for unsaved changes dialog
4448
4449 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * bufferlist.C (newFile): set language (messages_) for new
4452         documents also.
4453
4454         * buffer.C (readFile): ws changes only.
4455
4456 2003-04-28  André Pönitz  <poenitz@gmx.net>
4457
4458         * undo_funcs.C:
4459         * lyxfunc.C:
4460         * buffer.[Ch]:
4461         * BufferView_pimpl.C:
4462         * BufferView.C: getParFromID related ParagraphList::iterator changes
4463
4464 2003-04-28  André Pönitz  <poenitz@gmx.net>
4465
4466         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4467           Changes
4468
4469 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * messages.C: remove one more localedir class variable.
4472
4473 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * messages.C (getLocaleDir): singleton generation function
4476         (Pimpl): use it.
4477         (Messages): add a default constructor.
4478
4479         * main.C (main): do not setup localedir here, do not call
4480         gettext_init.
4481
4482         * gettext.C (_): use it.
4483         (gettext_init): delete funciton
4484
4485 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4486
4487         * gettext.C (getLyXMessages): new singleton generating function.
4488
4489         * buffer.C (updateDocLang): adjust
4490
4491         * Makefile.am (messages.o): add target
4492         (main.o): remove target
4493
4494 2003-04-27  John Levon  <levon@movementarian.org>
4495
4496         * bufferlist.C:
4497         * lyx_cb.C:
4498         * lyxfunc.C:
4499         * lyxvc.C: specify cancel button in Alert::prompt
4500
4501 2003-04-26  John Levon  <levon@movementarian.org>
4502
4503         * text3.C:
4504         * lyxfunc.C:
4505         * lfuns.h:
4506         * LyXAction.C: add LFUN_INSET_SETTINGS
4507
4508         * lyxfunc.C: don't enable tabular-feature when there's
4509         just any locking inset
4510
4511 2003-04-26  John Levon  <levon@movementarian.org>
4512
4513         * bufferlist.C: re-add Cancel to buffer close question
4514
4515         * lyxfunc.C: fix import UI a bit
4516
4517 2003-04-25  John Levon  <levon@movementarian.org>
4518
4519         * gettext.C: remove the broken asserts for now
4520
4521 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * messages.C: make case where setlocale cannot comply work better.
4524
4525         * buffer.C (updateDocLang): new function
4526         (changeLanguage): use it
4527         (readFile): use it
4528
4529         * text2.C (setCounter): use B_ a bit.
4530
4531         * lyxlayout.C (Read): be sure to trim the label strings.
4532
4533         * messages.C (Messages): fix typo in comment
4534
4535         * buffer.C (readFile): set message_ after file is loaded.
4536         (makeDocBookFile): remove double return
4537         (changeLanguage): reset message_ upon language change.
4538         (B_): new func, use this to get translated buffer strings.
4539
4540         * main.C: add myself and Jean Marc as authors.
4541
4542 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * messages.[hC]: pimplify Messages, and three different pimpls to be
4545         used in different circumstances.
4546
4547         * gettext.[Ch]: change for use with new message code.
4548
4549 2003-04-24 André Pönitz <poenitz@gmx.net>
4550
4551         * factory.C: support for eqref
4552
4553 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * messages.[Ch]: add missing char
4556
4557         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4558
4559         * messages.[Ch]: New files
4560
4561 2003-04-18  John Levon  <levon@movementarian.org>
4562
4563         * BufferView.h:
4564         * BufferView.C:
4565         * BufferView_pimpl.C:
4566         * lfuns.h:
4567         * LyXAction.C:
4568         * lyxtext.h:
4569         * text2.C: remove layout-copy/paste (bug 778)
4570
4571 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4572
4573         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4574
4575 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4576
4577         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4578         if they succeed. Act accordingly.
4579
4580 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * text2.C (setCharFont): adjust
4583         (setCounter): adjust
4584         (insertStringAsLines): adjust
4585
4586         * text.C (leftMargin): adjust
4587         (setHeightOfRow): adjust
4588
4589         * rowpainter.C (paintFirst): adjust
4590         (paintLast): adjust
4591
4592         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4593         (outerHook): ditto
4594         (isFirstInSequence): ditto
4595         (getEndLabel): ditto
4596         (outerFont): adjust
4597
4598         * paragraph.C (getParLanguage): comment out some hard stuff.
4599
4600         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4601         (sgmlError): ditto
4602         (simpleDocBookOnePar): ditto
4603         (makeDocBookFile): use ParagraphList::iterator
4604
4605         * CutAndPaste.C (pasteSelection): adjust
4606
4607 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * text2.C (getFont): adjust
4610         (getLayoutFont): adjust
4611         (getLabelFont): adjust
4612
4613         * paragraph_funcs.C (TeXOnePar): adjust
4614
4615         * buffer.C (simpleLinuxDocOnePar): adjust
4616         (simpleDocBookOnePar): adjust
4617
4618         * CutAndPaste.C (pasteSelection): adjust
4619
4620         * BufferView.C (getEncoding): adjust
4621
4622         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4623
4624 2003-04-16  John Levon  <levon@movementarian.org>
4625
4626         * lyxfind.C: use parlist stuff for search/changes
4627
4628 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4631
4632         * text2.C (deleteEmptyParagraphMechanism): adjust
4633
4634         * text2.[Ch] (ownerParagraph): delete func (both of them
4635
4636 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4639
4640 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * ParagraphList.C: prepare for NO_NEXT
4643
4644 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * text2.C (getFont): adjust
4647         (getLayoutFont): adjust
4648         (getLabelFont): adjust
4649
4650         * paragraph.C (getFont): adjust
4651         (getLabelFont): adjust
4652         (getLayoutFont): adjust
4653
4654         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4655
4656 2003-04-15  John Levon  <levon@movementarian.org>
4657
4658         From Angus Leeming
4659
4660         * lyx_main.C: handle Include in .ui files
4661
4662 2003-04-15  John Levon  <levon@movementarian.org>
4663
4664         * MenuBackend.C: make the doc files length shorter
4665
4666         * ToolbarBackend.h:
4667         * ToolbarBackend.C: handle toolbar placement flags,
4668         Minibuffer
4669
4670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4673         adjust
4674
4675         * paragraph_funcs.C (TeXOnePar): adjust
4676
4677         * paragraph.C (getLabelFont): add outerfont arg, adjust
4678         (getLayoutFont): ditto
4679         (simpleTeXOnePar): adjust
4680
4681         * paragraph_pimpl.C (realizeFont): delete func
4682
4683 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4686         row argument, constify cur argument.
4687
4688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * text2.C (getFont): adjust
4691         (getLayoutFont): adjust
4692         (getLabelFont): adjust
4693
4694         * paragraph_funcs.C (TeXOnePar): adjust
4695         (outerFont): new func...
4696         (realizeFont): ...moved out from here, changed this to facilitate
4697         transition
4698
4699         * paragraph.C (getFont): take outerfont as arg, adjust
4700         (simpleTeXOnePar): add outerfont arg, adjust
4701
4702         * buffer.C (simpleLinuxDocOnePar): adjust
4703         (simpleDocBookOnePar): adjust
4704
4705         * CutAndPaste.C (pasteSelection): adjust
4706
4707         * BufferView.C (getEncoding): adjust
4708
4709 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * text2.C (setCharFont): adjust
4712         (setCounter): adjust
4713
4714         * text.C (leftMargin): adjust
4715         (setHeightOfRow): adjust
4716
4717         * rowpainter.C (paintFirst): adjust
4718         (paintLast): adjust
4719
4720         * paragraph_pimpl.C (realizeFont): adjust
4721
4722         * paragraph.C (isFirstInSequence): move from here...
4723         * paragraph_funcs.C (isFirstInSequence): ...to here
4724
4725         * paragraph.C (outerHook): move from here...
4726         * paragraph_funcs.C (outerHook): ...to here
4727
4728         * paragraph.C (depthHook): move from here...
4729         * paragraph_funcs.C (depthHook): ...to here
4730
4731         * paragraph.C (getEndLabel): move from here...
4732         * paragraph_funcs.C (getEndLabel): ...to here
4733
4734         * text2.C (realizeFont): move from here...
4735         * paragraph_funcs.C (realizeFont): ...to here
4736
4737 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4740
4741 2003-04-14  Angus Leeming  <leeming@lyx.org>
4742
4743         * LColor.[Ch]: scrap LColor mathcursor.
4744
4745 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * lyxlex.[Ch] (text): delete function
4748         * trans.C (Load): adjust
4749         * paragraph_funcs.C (readParToken): adjust
4750
4751 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4754         vector<char> instead of a char[].
4755
4756         * lyxlex_pimpl.C (getString): adjust
4757         (next): adjust
4758         (lex): use getString
4759         (eatLine): adjust
4760         (nextToken): adjust
4761
4762         * lyxlex.C (text): use pimpl_->getString()
4763         (getBool): ditto
4764         (findToken): ditto
4765
4766 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4769         (makeFontEntriesLayoutSpecific): temp var for par.size()
4770         (setLayout): temp var for ownerParagraphs().end()
4771         (fullRebreak): temp var for rows().end()
4772         (selectionAsString): temp var for boost::next(startpit), realize
4773         that the while really is a regular for loop.
4774         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4775         setCursor in one place.
4776         (setParagraph): temp vr for ownerParagraphs().end()
4777         (updateCounters): make the while loop a for loop
4778         (cutSelection): temp var for ownerParagraphs().end()
4779         (updateInset): make the do {} while() a regular for loop
4780         (getCursorX): use temp vars
4781         (setCurrentFont): use temp vars
4782         (getColumnNearX): use temp vars
4783
4784 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * text.C (transformChar): use temp var for getChar
4787         (computeBidiTables): use temp var for row->par()
4788         (fill): move temp vars for row->par() and pit->layout() earlier in
4789         the function.
4790         (labelFill): use temp var for row->par()
4791         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4792         asc and desc, realize that pit never changes and that firstpit is
4793         just a duplicate and not needed. Exchange rit->par() with pit in a
4794         lot of places.
4795         (breakAgain): use a temp var for boost::next(rit)
4796         (breakAgainOneRow): ditto
4797         (breakParagraph): use a temp var for rows().begin()
4798         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4799         (cursorRightOneWord): use temp var for cursor.par() and
4800         cursor.pos(), remove usage of tmpcursor.
4801         (cursorLeftOneWord): use temp var for cursor.par() and
4802         cursor.pos() only set cur at end of function.
4803
4804 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * text.C, text2.C: exchange all usage of Paragraph::next with
4807         boost::next(ParagraphList::iterator)
4808
4809         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4810
4811         * text2.C (cursorTop): simplify implementation
4812         (cursorBottom): ditto
4813         (setParagraph): use ParagraphList::iterator
4814         (setCurrentFont): adjust
4815         (getColumnNearX): adjust
4816         (cursorRight): adjust
4817         (cursorLeft): remove usage of Paragraph::previous
4818         (cursorUpParagraph): ditto
4819         (deleteEmptyParagraphMechanism): slight cleanup
4820
4821         * text.C (isBoundary): take a Paragraph const & instead of a
4822         pointer as arg.
4823         (addressBreakPoint): ditto
4824         (leftMargin): remove usage of Paragraph::previous.
4825         (setHeightOfRow): ditto
4826         (cursorLeftOneWord): ditto
4827         (selectNextWordToSpellcheck): ditto
4828         (Delete): ditto
4829         (backspace): ditto
4830         (breakParagraph): remove one usage of Paragraph::next
4831         (redoParagraph): ditto
4832         (acceptChange): ditto
4833         (insertChar): adjust
4834         (rowBreakPoint): adjust
4835
4836         * bufferview_funcs.C (toggleAndShow): adjust
4837
4838 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4841         methods to access it.
4842         * lyxtext.h:
4843         * text.C: Added updateRowPositions to compute all row positions.
4844         Make top_y and getRowNearY() to use the cached y position
4845
4846 2003-04-11  John Levon  <levon@movementarian.org>
4847
4848         * text.C (rowBreakPoint): reintroduce the labelEnd
4849         checks, code copied from the row fill stuff. Deep voodoo.
4850
4851         * text.C (fill): add a comment and debugging for the
4852         next poor soul.
4853
4854 2003-04-11  John Levon  <levon@movementarian.org>
4855
4856         * text.C: make sure fullrow insets get wrapped to the next line,
4857         even when they're in a manual label
4858
4859 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * text2.C (insertParagraph): make it take ParagraphList::iterator
4862         as arg.
4863         (setLayout): make it return ParagraphList::iterator
4864         (redoParagraphs): ditto
4865         (setCounter): ditto
4866         (checkParagraph): ditto
4867
4868         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4869
4870         * text2.C: adjust several funcs.
4871         (realizeFont): take a ParagraphList::iterator as arg.
4872         (getLayoutFont): ditto
4873         (getLabelFont): ditto
4874         (setCharFont): ditto
4875
4876         * text.C: adjust several funcs.
4877
4878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * text.C (selectNextWordToSpellcheck): don't accidentally
4881         skip insets
4882
4883 2003-04-10  John Levon  <levon@movementarian.org>
4884
4885         * ToolbarBackend.C (getIcon): special handling for
4886         LFUN_MATH_DELIM
4887
4888 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * text2.C (cursorRight): a getChar assert fixed
4891
4892 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * text2.C (getFont): change to take a ParagraphList::iterator
4895         instead of Paragraph*
4896         Adjust several functions.
4897
4898         * text.C (transformChar): change to take a ParagraphList::iterator
4899         instead of Paragraph*
4900         (singleWidth): ditto
4901         Adjust several functions.
4902
4903         * rowpainter.C: adjust several functions
4904         * rowpainter.h:store a ParagraphList::iterator and not a
4905         Paragraph&.
4906
4907
4908 2003-04-09  John Levon  <levon@movementarian.org>
4909
4910         * lyxfunc.C:
4911         * lfuns.h:
4912         * LyXAction.h:
4913         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4914         and the "help" bits as well
4915
4916 2003-04-09  John Levon  <levon@movementarian.org>
4917
4918         * ToolbarBackend.h:
4919         * ToolbarBackend.C: allow multiple toolbars
4920
4921 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * undo_funcs.C (setCursorParUndo): adjust
4924
4925         * text_funcs.C (transposeChars): adjust
4926
4927         * text3.C (gotoNextInset): adjust
4928         (dispatch): adjust
4929
4930         * text2.C (setLayout): adjust
4931         (changeDepth): adjust
4932         (setFont): adjust
4933         (redoParagraphs): adjust
4934         (selectionAsString): adjust
4935         (setParagraph): adjust
4936         (insertInset): adjust
4937         (cutSelection): adjust
4938         (copySelection): adjust
4939         (pasteSelection): adjust
4940         (insertStringAsLines): adjust
4941         (updateInset): adjust
4942         (setCursor): change to take a ParagraphList::iterator parameter
4943         (setCursorIntern): change to take a ParagraphList::iterator parameter
4944         (setCurrentFont): adjust
4945         (cursorLeft): adjust
4946         (cursorRight): adjust
4947         (deleteEmptyParagraphMechanism): adjust
4948
4949         * text.C (breakParagraph): adjust
4950         (insertChar): adjust
4951         (acceptChange): adjust
4952         (rejectChange): adjust
4953         (selectNextWordToSpellcheck): adjust
4954         (changeCase): adjust
4955         (Delete): adjust
4956         (backspace): adjust
4957
4958         * lyxfind.C (SearchForward): adjust
4959         (SearchBackward): adjust
4960         (nextChange): adjust
4961
4962         * lyxcursor.C (par): adjust
4963
4964         * lyxcursor.h: store a ParagraphList::iterator instead of a
4965         Paragraph*
4966
4967         * lyx_cb.C (getPossibleLabel): adjust
4968
4969         * bufferview_funcs.C (toggleAndShow): adjust
4970
4971         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4972         (dispatch): adjust
4973
4974         * BufferView.C (removeAutoInsets): adjust
4975         (lockedInsetStoreUndo): adjust
4976
4977 2003-04-09  John Levon  <levon@movementarian.org>
4978
4979         * ToolbarBackend.C: try icon without argument
4980         if with argument fails
4981
4982 2003-04-08  John Levon  <levon@movementarian.org>
4983
4984         * ToolbarBackend.h:
4985         * ToolbarBackend.C: add getIcon(), handle tooltip,
4986         and change from "Icon" to "Item".
4987
4988 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * BufferView.C (lockInset): another bad getchar crunched
4991
4992 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4995         again)
4996
4997 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * lyxfind.C (searchForward, searchBackwards): bug 782
5000
5001 2003-04-07  John Levon  <levon@movementarian.org>
5002
5003         * paragraph.C: remove dead comment
5004
5005         * text.C: remove troublesome depth-fiddling code
5006         in leftMargin() and rightMargin() (bug 1017)
5007
5008         * text.C: fix breaking of rows in nested lists
5009         (bug 1004)
5010
5011         * text2.C (updateCounters): fix up depth values
5012         (bug 1013)
5013
5014 2003-04-07  John Levon  <levon@movementarian.org>
5015
5016         * BufferView_pimpl.C: clear message when doc finishes resizing,
5017         and after a mouse event
5018
5019         * lyxfunc.C: clear message after exiting inset
5020
5021 2003-04-07  John Levon  <levon@movementarian.org>
5022
5023         * bufferview_funcs.C: show math status not outside
5024         status in the statusbar
5025
5026 2003-04-07  John Levon  <levon@movementarian.org>
5027
5028         * lyxfunc.C: note status changed after a depth change
5029
5030 2003-04-04  Angus Leeming  <leeming@lyx.org>
5031
5032         * LaTeX.h: move AuxInfo operator==, != out of line.
5033         Remove LaTeX virtual destructor; nothing derives from it.
5034         Move operator()() out of public area and rename it startscript().
5035         Change protected for private.
5036
5037 2003-04-04  Angus Leeming  <leeming@lyx.org>
5038
5039         * lyxfunc.C:
5040         * text2.C: remove unneeded #includes.
5041
5042 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * text2.C (dEPM): fix the heigth of the next row
5045
5046 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * text.C: squashed an invalid getChar requester + some ws changes
5049
5050 2003-04-03  John Levon  <levon@movementarian.org>
5051
5052         * bufferview_funcs.h:
5053         * bufferview_funcs.C:
5054         * lyxfunc.C:
5055         * lyxtext.h:
5056         * text2.C: make getStatus work for the env depth lfuns
5057
5058 2003-04-03  John Levon  <levon@movementarian.org>
5059
5060         * bufferview_funcs.h:
5061         * bufferview_funcs.C:
5062         * lyxfunc.C:
5063         * lyxtext.h:
5064         * text2.C: parlistize decDepth(), by merging it with incDepth()
5065
5066 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * lyxrow.h: store a ParagraphList::iterator instead of a
5069         Paragraph* and adjust other class functions to suit.
5070
5071         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5072         above.
5073
5074 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text2.C (setCursor): do not anchor to cursor row for the time being
5077
5078 2003-04-02  John Levon  <levon@movementarian.org>
5079
5080         * LyXAction.C:
5081         * lfuns.h:
5082         * lyx_main.C:
5083         * lyxtext.h:
5084         * text.C:
5085         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5086
5087 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * paragraph.h: make ParagraphList and ParagraphList::iterator
5090         friends of Paragraph.
5091
5092         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5093
5094         * ParagraphList.C: Use the private next_ and previous_ from
5095         Paragraph.
5096
5097 2003-04-01  John Levon  <levon@movementarian.org>
5098
5099         * ToolbarBackend.h:
5100         * ToolbarBackend.C:
5101         * Makefile.am: rename, remove defaults gunk
5102
5103         * MenuBackend.h:
5104         * MenuBackend.C: remove defaults gunk
5105
5106         * Languages.h:
5107         * Languages.C: remove defaults gunk
5108
5109         * lyx_main.h:
5110         * lyx_main.C: error out if files couldn't be found.
5111
5112 2003-04-02  John Levon  <levon@movementarian.org>
5113
5114         * text2.C: make incDepth() use parlist
5115
5116 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * undo_funcs.C (firstUndoParagraph): adjust
5119
5120         * text3.C (gotoInset): adjust
5121         (dispatch): adjust, and rewrite loop.
5122
5123         * text2.C (init): adjust, and rewrite loop.
5124         (redoParagraphs): adjust
5125         (updateInset): adjust, and rewrite loop.
5126         (deleteEmptyParagraphMechanism): adjust
5127
5128         * tabular.C (LyXTabular): adjust
5129         (SetMultiColumn): adjust
5130         (TeXRow): adjust
5131
5132         * lyxtext.[Ch] (ownerParagraph): delete function
5133         (ownerParagraphs): new function returns a ParagraphList.
5134
5135         * BufferView.C (removeAutoInsets): adjust
5136         (insertErrors): adjust
5137         (setCursorFromRow): adjust
5138
5139 2003-04-01  Angus Leeming  <leeming@lyx.org>
5140
5141         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5142         in the frontends.
5143
5144 2003-04-02  John Levon  <levon@movementarian.org>
5145
5146         * lyxtext.h:
5147         * text.C:
5148         * Makefile.am:
5149         * text_funcs.h:
5150         * text_funcs.C: make transposeChars a free function
5151
5152         * lyxrow_funcs.C: remove wrong comment
5153
5154 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * lyxtext.h: adjust
5157         * rowpainter.C: adjust
5158         * text.C: adjust
5159         * text2.C: adjust
5160         * text3.C: adjust
5161
5162         * lyxrow_funcs. [Ch]: new files
5163
5164         * lyxrow.[Ch]: remove next and previous pointers
5165         (next,previous): remove accessor functions
5166         (isParEnd): move to lyxrow_funcs
5167         (lastPos): move to lyxrow_funcs
5168         (nextRowIsAllInset): move to lyxrow_funcs
5169         (lastPrintablePos): move to lyxrow_funcs
5170         (numberOfSeparators): move to lyxrow_funcs
5171         (numberOfHfills): move to lyxrow_funcs
5172         (numberOfLabelHfills): move to lyxrow_funcs
5173         (hfillExpansion): move to lyxrow_funcs
5174
5175         * lyxfunc.C: adjust
5176
5177         * bufferview_funcs.C (toggleAndShow): adjust
5178
5179         * RowList.h: Remove class RowList from file leave just a
5180         std::list<Row>.
5181
5182         * RowList.C: delete file
5183
5184         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5185         and lyxrow_funcs.h
5186
5187 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text3.C (cursorPrevious): adjust
5190         (cursorNext): adjust
5191         (dispatch): adjust
5192
5193         * text2.C (redoHeightOfParagraph): adjust
5194         (redoDrawingOfParagraph): adjust
5195         (setCursor): adjust
5196
5197         * text.C (breakParagraph): adjust
5198         (insertChar): adjust
5199         (backspace): adjust
5200
5201         * rowpainter.C (RowPainter): adjust
5202         (leftMargin): simplify and adjust
5203         (most rowpainter functions): adjust.
5204
5205         * rowpainter.h: store the row as RowList::iterator not as Row*
5206
5207         * lyxcursor.C (row): taka RowList::iterator as arg
5208         (irow): ditto
5209
5210         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5211         of Row*.
5212
5213 2003-04-01  Angus Leeming  <leeming@lyx.org>
5214
5215         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5216         stuff like bool Bool.
5217
5218 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5221         rewrite a loop
5222
5223 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5226         RowList::iterator.
5227
5228         * lyxtext.h (rows): drop one version and leve a const variant that
5229         returns a RowList::iterator.
5230
5231 2003-03-31  Angus Leeming  <leeming@lyx.org>
5232
5233         * text.C (fill): ensure that the signature is the same as that in the
5234         header file.
5235
5236 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * text2.C (redoParagraphs): adjust
5239         (updateCounters): adjust
5240         (checkParagraph): adjust
5241         (getColumnNearX): adjust and reformat a bit.
5242
5243         * text.C (top_y): adjust
5244         (workWidth): adjust
5245         (leftMargin): adjust
5246         (prepareToPrint): adjust
5247         (getRow): adjust
5248         (getRowNearY): adjust
5249
5250         * lyxtext.h: make rowlist_ mutable.
5251
5252         * RowList.h: add const_iterator
5253         * RowList.C: adjust for RowList::const_iterator.
5254
5255         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5256         adjust.
5257
5258 2003-03-31  John Levon  <levon@movementarian.org>
5259
5260         * lyxrc.h:
5261         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5262
5263         * lyx_main.C: set default fonts from using lyx_gui funcs
5264
5265         * exporter.C: pdf_mode moved from lyxrc
5266
5267         * lyx_cb.C:
5268         * lyxfunc.C: changes from above
5269
5270 2003-03-31  John Levon  <levon@movementarian.org>
5271
5272         * lyx_main.C: fix to the last fix
5273
5274 2003-03-31  John Levon  <levon@movementarian.org>
5275
5276         * bufferlist.C: "Load original" -> "Load Original"
5277
5278         * converter.C:
5279         * exporter.C:
5280         * importer.C:
5281         * lyx_main.C:
5282         * format.C: more Alert cleanups
5283
5284 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * text2.C (removeParagraph): make it take a RowList::iterator as
5287         arg, adjust.
5288         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5289         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5290
5291         * text.C (anchor_row): make it take a RowList::iterator as arg,
5292         adjust.
5293         (computeBidiTables): make it take a const reference to Row instead
5294         of Row pointer, adjust.
5295         (leftMargin): make it take a RowList::iterator as arg, adjust.
5296         (rowBreakPoint): adjust
5297         (breakAgainOneRow): make it take a RowList::iterator as arg,
5298         adjust.
5299         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5300
5301         * bufferview_funcs.C (toggleAndShow): adjust
5302
5303 2003-03-30  John Levon  <levon@movementarian.org>
5304
5305         * Makefile.am:
5306         * BoostFormat.h:
5307         * boost-inst.C: moved to support
5308
5309         * several files: changes as a result
5310
5311 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * text2.C (LyXText): adjust.
5314         (init): adjust
5315         (removeRow): make it take a RowList::iterator as arg, adjust.
5316         (fullRebreak): adjust
5317         (deleteEmptyParagraphMechanism): adjust
5318         (clearPaint): adjust
5319         (postPaint): adjust
5320
5321         * text.C (top_y): adjust
5322         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5323         (breakAgain): make it take a RowList::iterator as arg, adjust.
5324         (breakParagraph): adjust
5325         (insertChar): adjust
5326         (backspace): adjust
5327
5328         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5329         need_break_row, and refresh_row.
5330
5331         * text3.C (dispatch): adjust
5332
5333         * text2.C (checkParagraph): adjust
5334         (setCursor): adjust
5335         (setCursorFromCoordinates): adjust
5336
5337         * text.C (top_y): adjust
5338         (workWidth): adjust
5339         (getRow): make it return a RowList::iterator, adjust
5340         (getRowNearY): make it return a RowList::iterator, adjust
5341
5342         * text2.C (init): adjust
5343         (insertRow): remove function
5344         (insertParagraph): adjust
5345         (redoParagraphs): adjust
5346         (fullRebreak): adjust
5347         (updateCounters): adjust
5348
5349         * text.C (top_y): rewrite to use RowList iterators.
5350         (top_y): adjust
5351         (setHeightOfRow): rewrite to sue RowList iterators.
5352         (appendParagraph): adjust
5353         (breakAgain): adjust
5354         (breakAgainOneRow): adjust
5355         (breakParagraph): adjust
5356         (getRow): adjust
5357         (getRowNearY): adjust, and remove commented code.
5358
5359         * lyxtext.h (firstRow): delete function
5360         (lastRow): delete function
5361         (rows): new function (const and non-const versions.)
5362         (insertRow): delete function
5363
5364         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5365
5366 2003-03-29  John Levon  <levon@movementarian.org>
5367
5368         * BufferView_pimpl.C: always update scrollbar top
5369         because pasting text when we're anchored could mean we
5370         miss an update altogether
5371
5372 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * text2.C (init): use rowlist_.end() and not 0.
5375         (insertRow): change to take a RowList::iterator as arg, adjust
5376         for this.
5377         (insertParagraph): change to take a RowList::iterator as arg,
5378         adjust for this.
5379         (redoParagraphs): remove some debug msgs.
5380
5381         * text.C (appendParagraph): change to take a RowList::iterator
5382         arg, adjust for this.
5383         (breakAgain): add an assert
5384         (breakAgainOneRow): ditto
5385
5386 2003-03-29  John Levon  <levon@movementarian.org>
5387
5388         * text2.C: do not clear selection after inc/decDepth
5389         (bug 550)
5390
5391 2003-03-29  John Levon  <levon@movementarian.org>
5392
5393         * BufferView.C:
5394         * buffer.C: fix broken strerrors according to Lars
5395
5396 2003-03-29  John Levon  <levon@movementarian.org>
5397
5398         * converters.C: more Alert cleanups
5399
5400 2003-03-29  John Levon  <levon@movementarian.org>
5401
5402         * bufferview_funcs.C: remove pointless Alert
5403
5404         * buffer.C: fix confusing error message when
5405         a template is chmoded 000
5406
5407 2003-03-29  John Levon  <levon@movementarian.org>
5408
5409         * BufferView.C:
5410         * BufferView.h:
5411         * BufferView_pimpl.C: Alert fixes
5412
5413         * Makefile.am:
5414         * tabular.C:
5415         * tabular-old.C: remove unused table compat reading
5416
5417 2003-03-29  John Levon  <levon@movementarian.org>
5418
5419         * BufferView.C:
5420         * buffer.C:
5421         * lyx_cb.h:
5422         * lyx_cb.C: more Alert cleanups
5423
5424         * lyxfunc.C: don't allow chktex if not latex document
5425
5426 2003-03-29  John Levon  <levon@movementarian.org>
5427
5428         * lyx_cb.C:
5429         * BufferView.C:
5430         * buffer.C: warnings pushed down from support/,
5431         kill err_alert
5432
5433 2003-03-29  John Levon  <levon@movementarian.org>
5434
5435         * lyxfunc.C: safety check for C-r (revert)
5436
5437 2003-03-29  John Levon  <levon@movementarian.org>
5438
5439         * bufferlist.h:
5440         * bufferlist.C: several UI fixes using Alert::prompt.
5441         Fix the pointless looping quit code. Fix stupid revert
5442         behaviour (bug 938)
5443
5444         * lyxvc.h:
5445         * lyxvc.C:
5446         * lyx_cb.C: use Alert::prompt
5447
5448         * lyx_main.C: remove a silly question
5449
5450         * lyxfunc.C: remove a couple of silly questions,
5451         use Alert::prompt
5452
5453 2003-03-28  John Levon  <levon@movementarian.org>
5454
5455         * text2.C: fix bug 974 (End on empty par)
5456
5457 2003-03-28  John Levon  <levon@movementarian.org>
5458
5459         * BufferView_pimpl.C:
5460         * LyXAction.C:
5461         * lfuns.h: remove do-nothing math greek lfuns
5462
5463 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * lyxgluelength.h (isValidGlueLength): add default arg on
5466         parameter 2. Remove default arg from friend in class.
5467
5468         * lyxlength.h (isValidLength): add default arg on parameter 2.
5469         Remove default arg from friend in class.
5470
5471         * text2.C (LyXText): adjust, initialize refresh_row.
5472         (init): adjust
5473         (removeRow): adjust
5474         (insertRow): adjust
5475         (insertParagraph): adjst
5476         (redoParagraphs): adjust
5477         (fullRebreak): adjust
5478         (updateCounters): adjust
5479         (deleteEmptyParagraphMechanism): first attempt at fixing a
5480         crashing bug.
5481
5482         * text.C (top_y): adjust
5483         (setHeightOfRow): adjust
5484         (getRow): adjust
5485         (getRowNearY): adjust
5486
5487         * lyxtext.h: include RowList.h
5488         (~LyXText): not needed anymore, deleted.
5489         (firstRow): modify for RowList
5490         (lastRow): new function
5491         Delete firstrow and lastrow class variables, add a Rowlist
5492         rowlist_ class variable.
5493
5494         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5495         paragraph is empty.
5496
5497         * RowList.C (insert): fix case where it == begin().
5498
5499 2003-03-26  Angus Leeming  <leeming@lyx.org>
5500
5501         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5502         the thesaurus dialog.
5503
5504 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5507
5508         * RowList.[Ch]: new files
5509
5510         * ParagraphList.C (erase): handle the case where it == begin
5511         correctly.
5512
5513 2003-03-25  John Levon  <levon@movementarian.org>
5514
5515         * Makefile.am:
5516         * aspell_local.h:
5517         * aspell.C: add new aspell support
5518
5519         * lyxrc.h:
5520         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5521         have it accessible.
5522
5523 2003-03-25  Angus Leeming  <leeming@lyx.org>
5524
5525         * lfuns.h:
5526         * LyXAction.C (init): new LFUN_INSET_INSERT.
5527
5528         * BufferView_pimpl.C (dispatch): split out part of the
5529         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5530
5531         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5532         LFUN_INSET_APPLY.
5533
5534 2003-03-25  Angus Leeming  <leeming@lyx.org>
5535
5536         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5537
5538 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5539
5540         * text2.C:
5541         * text3.C: remove useless row->height(0)
5542
5543 2003-03-25  John Levon  <levon@movementarian.org>
5544
5545         * lyxtext.h:
5546         * text2.C:
5547         * text3.C: rename the refreshing stuff to better names
5548
5549 2003-03-24  John Levon  <levon@movementarian.org>
5550
5551         * BufferView_pimpl.h:
5552         * BufferView_pimpl.C: update layout choice on a mouse
5553         press/release
5554
5555 2003-03-23  John Levon  <levon@movementarian.org>
5556
5557         * Makefile.am: fix commandtags.h reference
5558
5559 2003-03-22  John Levon  <levon@movementarian.org>
5560
5561         * BufferView_pimpl.C:
5562         * lyxtext.h:
5563         * rowpainter.C:
5564         * rowpainter.h:
5565         * text.C:
5566         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5567
5568 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * lyxtext.h:
5571         * text.C: take the rtl methods out of line
5572
5573 2003-03-21 André Pönitz <poenitz@gmx.net>
5574
5575         * metricsinfo.[Ch]: new files containing structures to be passed around
5576         during the two-phase-drawing...
5577
5578 2003-03-21 André Pönitz <poenitz@gmx.net>
5579
5580         * lyxtextclass.C: read 'environment' tag.
5581
5582 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5583
5584         * text2.C (removeRow): fix bug 964
5585
5586 2003-03-20  John Levon  <levon@movementarian.org>
5587
5588         * rowpainter.C:
5589         * text.C:
5590         * text2.C: paint cleanups. Inset::update() dropped font
5591         parameter
5592
5593 2003-03-19  John Levon  <levon@movementarian.org>
5594
5595         * lyxfunc.C: only fitcursor/markDirty if available()
5596
5597 2003-03-19  John Levon  <levon@movementarian.org>
5598
5599         * commandtags.h: rename to ...
5600
5601         * lfuns.h: ... this, and renumber / cleanup
5602
5603 2003-03-19  John Levon  <levon@movementarian.org>
5604
5605         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5606         fit the cursor after an lfun
5607
5608         * BufferView.h:
5609         * BufferView.C:
5610         * BufferView_pimpl.h:
5611         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5612
5613         * LyXAction.C: layout-character should have ReadOnly
5614
5615         * ParagraphParameters.C:
5616         * buffer.C:
5617         * bufferview_funcs.C:
5618         * lyx_cb.C:
5619         * lyxfind.C:
5620         * lyxtext.h:
5621         * text.C:
5622         * text2.C:
5623         * text3.C:
5624         * undo_funcs.C: changes from above
5625
5626 2003-03-18  John Levon  <levon@movementarian.org>
5627
5628         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5629         remove it from update()
5630
5631         * lyxfunc.C: update layout choice after an lfun
5632
5633         * text3.C: remove extra updateLayoutChoice()s
5634
5635 2003-03-18  John Levon  <levon@movementarian.org>
5636
5637         * text.C: top_y change means full repaint, fix
5638         a drawing bug with cursor movement
5639
5640 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * lyxtext.h:
5643         * text.C:
5644         * text2.C: anchor row on setCursor
5645
5646 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * lyxtext.h: remove almost all mutable keywords
5649         * text.C:
5650         * text2.C:
5651         * text3.C: remove const keywords accordingly
5652
5653 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5656         anon namespace
5657         (TeXEnvironment): ditto
5658         (TeXOnePar): ditto
5659
5660 2003-03-17  John Levon  <levon@movementarian.org>
5661
5662         * text.C (rowBreakPoint): remove attempt to fix displayed
5663         math insets inside a manual label
5664
5665 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * lyxtext.h: remove BufferView* as first arg from almost all class
5668         functions.
5669         * other files: adjust.
5670
5671 2003-03-17  John Levon  <levon@movementarian.org>
5672
5673         * lyxtext.h:
5674         * undo_funcs.C:
5675         * text2.C: more paint cleanups
5676
5677         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5678
5679         * rowpainter.h:
5680         * rowpainter.C: remove "smart" background painting code
5681
5682 2003-03-16  John Levon  <levon@movementarian.org>
5683
5684         * lyxtext.h:
5685         * text.C:
5686         * text2.C:
5687         * text3.C: add helper functions for setting refresh_row/y
5688
5689 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5690
5691         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5692         newline inset which *can* get inserted in the pass_thru layouts.
5693         This is primarily for literate documents.
5694
5695 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5696
5697         * buffer.C: increment LYX_FORMAT to 223
5698
5699 2003-03-14 André Pönitz <poenitz@gmx.net>
5700
5701         * textclass.h: prepare for environment handling, ws changes
5702         * lyxlayout.C: read latexheader and latexfooter tags
5703
5704 2003-03-14  John Levon  <levon@movementarian.org>
5705
5706         * text2.C: rewrite ::status() a bit
5707
5708 2003-03-13  John Levon  <levon@movementarian.org>
5709
5710         * lyxtext.h: add some docs
5711
5712 2003-03-13  John Levon  <levon@movementarian.org>
5713
5714         * lyxtext.h:
5715         * text.C:
5716         * text2.C:
5717         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5718
5719 2003-03-13  John Levon  <levon@movementarian.org>
5720
5721         * text3.C: fix appendix redrawing
5722
5723 2003-03-13  John Levon  <levon@movementarian.org>
5724
5725         * text.C (setHeightOfRow):
5726         * rowpainter.h:
5727         * rowpainter.C: make appendix mark have the text
5728           "Appendix" so the user knows what it is
5729
5730         * LColor.h:
5731         * LColor.C: s/appendixline/appendix/ from above
5732
5733 2003-03-13  John Levon  <levon@movementarian.org>
5734
5735         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5736
5737         * text.C: fix a getChar(pos) bug properly
5738
5739 2003-03-13  Angus Leeming  <leeming@lyx.org>
5740
5741         * commandtags.h:
5742         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5743         Probably only temporary. Let's see how things pan out.
5744
5745         * BufferView.C (unlockInset):
5746         * BufferView_pimpl.C (fitCursor):
5747         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5748
5749         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5750         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5751
5752         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5753         new functions that convert ParagraphParameters to and from a string.
5754
5755         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5756         BufferView::Pimpl's dispatch.
5757         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5758
5759 2003-03-13 André Pönitz <poenitz@gmx.net>
5760
5761         * lyxfunc.C:
5762         * text3.C:
5763         * factory.C: make it aware of InsetEnv
5764
5765 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5766
5767         * text2.C (setCursor): never ask for one past last
5768         (setCursor): add some debugging messages.
5769
5770         * text.C (singleWidth): never ask for one past last
5771         (singleWidth): ditto
5772         (leftMargin): ditto
5773         (rightMargin): ditto
5774         (rowBreakPoint): ditto
5775         (setHeightOfRow): ditto
5776         (prepareToPrint): ditto
5777
5778         * rowpainter.C (paintBackground): never ask for one past last
5779         (paintText): never ask for one past last
5780
5781         * paragraph_pimpl.C (getChar): make the assert stricter, never
5782         allow the one past last pos to be taken
5783
5784         * paragraph.C (getChar): ws changes only
5785
5786         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5787         (numberOfSeparators): ditto
5788         (numberOfHfills): ditto
5789
5790 2003-03-12  John Levon  <levon@movementarian.org>
5791
5792         * author.h:
5793         * author.C:
5794         * bufferparams.h:
5795         * bufferparams.C:
5796         * paragraph_funcs.C: fix per-buffer authorlists
5797
5798 2003-03-12  John Levon  <levon@movementarian.org>
5799
5800         * text.C: fix newline in right address
5801
5802 2003-03-12  Angus Leeming  <leeming@lyx.org>
5803
5804         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5805         duplicate those in LyXFunc::dispatch.
5806
5807         * commandtags.h:
5808         * LyXAction.C:
5809         * ToolbarDefaults.C:
5810         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5811         Add LFUN_FONTFREE_UPDATE.
5812
5813         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5814         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5815
5816         * bufferview_func.[Ch]: several new functions to facilliate
5817         transfer of data to and from the character dialog.
5818
5819 2003-03-12  John Levon  <levon@movementarian.org>
5820
5821         * buffer.C:
5822         * paragraph.h:
5823         * paragraph.C:
5824         * paragraph_funcs.C:
5825         * paragraph_pimpl.C:
5826         * sgml.C:
5827         * tabular.C:
5828         * text.C:
5829         * text3.C: remove META_NEWLINE in favour of an inset
5830
5831         * rowpainter.h:
5832         * rowpainter.C: remove paintNewline (done by inset)
5833
5834 2003-03-12  John Levon  <levon@movementarian.org>
5835
5836         * paragraph_pimpl.C: complain about bad getChar()s
5837         for a while at least
5838
5839 2003-03-12  John Levon  <levon@movementarian.org>
5840
5841         * buffer.h:
5842         * buffer.C: move paragraph read into a separate function,
5843         a little renaming to reflect that.
5844
5845         * bufferparams.h:
5846         * bufferparams.C: remove the author_ids map, not necessary now
5847
5848         * factory.h:
5849         * factory.C: moved Buffer::readInset to here
5850
5851         * paragraph_funcs.h:
5852         * paragraph_funcs.C: readParagraph free function moved from
5853         buffer.C
5854
5855         * tabular.C: name change
5856
5857 2003-03-12  John Levon  <levon@movementarian.org>
5858
5859         * buffer.C:
5860         * ParagraphParameters.C: move par params input to
5861         a read() method
5862
5863         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5864         behave like a normal read from the stream wrt reading
5865         a line vs. a \\token
5866
5867 2003-03-12  John Levon  <levon@movementarian.org>
5868
5869         * paragraph.C:
5870         * ParagraphParameters.h:
5871         * ParagraphParameters.C: move output code to a
5872         ::write() method
5873
5874 2003-03-12  John Levon  <levon@movementarian.org>
5875
5876         * BufferView.C (insertLyXFile):
5877         * buffer.h:
5878         * buffer.C:
5879         * tabular.C: use a parlist iterator for creating the
5880           document.
5881
5882 2003-03-12  John Levon  <levon@movementarian.org>
5883
5884         * buffer.C: make current_change static local not
5885           static file-scope
5886
5887 2003-03-12  John Levon  <levon@movementarian.org>
5888
5889         * buffer.C: fix insertStringAsLines for change tracking
5890
5891 2003-03-12  John Levon  <levon@movementarian.org>
5892
5893         * BufferView.C:
5894         * tabular.C:
5895         * buffer.h:
5896         * buffer.C:
5897         * bufferparams.h:
5898         * bufferparams.C: move author list into params. Rename some
5899           functions. Move the header reading into a separate token
5900           loop. Move the header token reading into BufferParams.
5901
5902 2003-03-12  John Levon  <levon@movementarian.org>
5903
5904         * changes.C: put debug inside lyxerr.debugging() checks
5905
5906 2003-03-11 André Pönitz <poenitz@gmx.net>
5907
5908         * factory.C: make it aware of InsetHFill
5909
5910 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5911
5912         * buffer.C (latexParagraphs): move function from here...
5913         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5914         args.
5915
5916 2003-03-10  Angus Leeming  <leeming@lyx.org>
5917
5918         * LyXAction.C (init): fix bug in poplating array with multiple entries
5919         with the same LFUN (spotted by JMarc).
5920
5921 2003-03-10  John Levon  <levon@movementarian.org>
5922
5923         * text.C:
5924         * text2.C: move getColumnNearX() near its
5925         only call site
5926
5927 2003-03-10  John Levon  <levon@movementarian.org>
5928
5929         * text.C: fix break before a minipage
5930
5931 2003-03-10  John Levon  <levon@movementarian.org>
5932
5933         * text.C: fix the last commit
5934
5935 2003-03-09  John Levon  <levon@movementarian.org>
5936
5937         * lyxtext.h:
5938         * text.C:
5939         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5940         bug 365 (don't break before insets unless needed). Don't
5941         return a value > last under any circumstances.
5942
5943 2003-03-09  Angus Leeming  <leeming@lyx.org>
5944
5945         * BufferView_pimpl.C (trackChanges, dispatch): call
5946         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5947
5948 2003-03-09  Angus Leeming  <leeming@lyx.org>
5949
5950         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5951         than Dialogs::showAboutlyx().
5952
5953 2003-03-09  Angus Leeming  <leeming@lyx.org>
5954
5955         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5956         than Dialogs::showTabularCreate().
5957
5958 2003-03-09  John Levon  <levon@movementarian.org>
5959
5960         * lyxtext.h:
5961         * text.C:
5962         * text2.C: 3rd arg to nextBreakPoint was always the same.
5963           Use references.
5964
5965 2003-03-08  John Levon  <levon@movementarian.org>
5966
5967         * lyxrow.C:
5968         * paragraph.C:
5969         * paragraph.h:
5970         * rowpainter.C:
5971         * text.C:
5972         * text2.C: Remove the "main" bit from the "main body"
5973           notion.
5974
5975 2003-03-08  John Levon  <levon@movementarian.org>
5976
5977         * text.C (leftMargin): The left margin of an empty
5978         manual label paragraph should not include the label width
5979         string length.
5980
5981         * text.C (prepareToPrint): don't attempt to measure hfills
5982         for empty manual label paragraphs - the answer should be 0
5983
5984 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * CutAndPaste.C: remove commented code and reindent.
5987
5988 2003-03-08  John Levon  <levon@movementarian.org>
5989
5990         * lyxfunc.h:
5991         * lyxfunc.C: move reloadBuffer()
5992
5993         * BufferView.h:
5994         * BufferView.C: to here
5995
5996         * lyxvc.C: add comment
5997
5998         * vc-backend.h:
5999         * vc-backend.C: call bv->reload() to avoid
6000           getStatus() check on MENURELOAD
6001
6002 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6003
6004         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6005         to an old format .dep file.
6006
6007 2003-03-07  Angus Leeming  <leeming@lyx.org>
6008
6009         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6010         when the LFUN_MOUSE_RELEASE should have been handled by
6011         inset->localDispatch.
6012
6013 2003-03-07  Angus Leeming  <leeming@lyx.org>
6014
6015         * BufferView_pimpl.C (dispatch):
6016         * LyXAction.C (init):
6017         * ToolbarDefaults.C (init):
6018         * commandtags.h:
6019         * lyxfunc.C (getStatus):
6020         remove LFUN_INSET_GRAPHICS.
6021
6022         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6023
6024 2003-03-07  Angus Leeming  <leeming@lyx.org>
6025
6026         * commandtags.h:
6027         * LyXAction.C (init):
6028         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6029
6030         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6031
6032         * commandtags.h:
6033         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6034
6035         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6036         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6037
6038 2003-03-07  Angus Leeming  <leeming@lyx.org>
6039
6040         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6041         remove "ert".
6042
6043 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * ParagraphList.C (front): new function
6046         (back): implement
6047
6048 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6049
6050         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6051         and top_row_offset_. removed var first_y.
6052         * text.C (top_y):
6053         * text2.C (LyXText, removeRow):
6054         * text3.C:
6055         * BufferView_pimpl.C:
6056         use these methods instead of using first_y
6057
6058 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * text2.C (pasteSelection): adjust for checkPastePossible
6061
6062         * CutAndPaste.C: remove Paragraph * buf and replace with
6063         ParagraphList paragraphs.
6064         (DeleteBuffer): delete
6065         (cutSelection): change the tc type to textclass_type
6066         (copySelection): change the tc type to textclass_type
6067         (copySelection): adjust for ParagraphList
6068         (pasteSelection): change the tc type to textclass_type
6069         (pasteSelection): adjust for Paragraphlist
6070         (nrOfParagraphs): simplify for ParagraphList
6071         (checkPastePossible): simplify for ParagraphList
6072         (checkPastePossible): remove unused arg
6073
6074         * ParagraphList.C (insert): handle the case where there are no
6075         paragraphs yet.
6076
6077         * CutAndPaste.h: make CutAndPaste a namespace.
6078
6079         * text3.C (dispatch): adjust
6080
6081         * text.C (breakParagraph): add a ParagraphList as arg
6082
6083         * paragraph_funcs.C (breakParagraph): change to take a
6084         BufferParams and a ParagraphList as args.
6085         (breakParagraphConservative): ditto
6086         (mergeParagraph): ditto
6087         (TeXDeeper): add a ParagraphList arg
6088         (TeXEnvironment): ditto
6089         (TeXOnePar): ditto
6090
6091         * buffer.C (readLyXformat2): adjust
6092         (insertStringAsLines): adjust
6093         (latexParagraphs): adjust
6094
6095         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6096         (cutSelection): adjust
6097         (pasteSelection): adjust
6098
6099         * BufferView_pimpl.C (insertInset): adjust
6100
6101 2003-03-05  Angus Leeming  <leeming@lyx.org>
6102
6103         * commandtags.h:
6104         * LyXAction.C (init):
6105         * BufferView_pimpl.C (dispatch):
6106         * lyxfunc.C (getStatus):
6107         remove LFUN_CHILD_INSERT.
6108
6109         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6110
6111 2003-03-05  Angus Leeming  <leeming@lyx.org>
6112
6113         * commandtags.h:
6114         * LyXAction.C (init):
6115         * src/factory.C (createInset):
6116         * lyxfunc.C (getStatus):
6117         * text3.C (dispatch):
6118         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6119
6120         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6121
6122 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * ParagraphList.C (insert): handle insert right before end()
6125         (erase): fix cases where it can be first or last paragraph.
6126
6127 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6130         Paragraph::next and Paragraph::previous
6131         (TeXOnePar): ditto
6132
6133         * text.C (breakParagraph): adjust
6134
6135         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6136         BufferParams& as arg.
6137         (breakParagraph): use ParagraphList::insert
6138         (breakParagraphConservative): take a Buffer* instead of a
6139         BufferParams& as arg.
6140         (breakParagraphConservative): use ParagraphList::insert.
6141
6142         * buffer.C (insertStringAsLines): un-const it
6143         (insertStringAsLines): adjust
6144
6145         * ParagraphList.C (insert): new function
6146
6147         * CutAndPaste.C (pasteSelection): adjust
6148
6149         * text.C (backspace): adjust
6150
6151         * tabular.C (SetMultiColumn): adjust
6152
6153         * CutAndPaste.C (cutSelection): adjust
6154         (pasteSelection): adjust
6155
6156         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6157         Buffer const * as arg
6158
6159         * ParagraphList.C (erase): new function
6160         * paragraph_funcs.C (mergeParagraph): use it
6161         (mergeParagraph): make it take a Buffer* instead of a
6162         BufferParams* as arg
6163
6164         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6165         as arg
6166         (breakParagraphConservative): ditto
6167
6168         * paragraph.h: remove the breakParagraph friend
6169
6170         * paragraph.C (eraseIntern): new function
6171         (setChange): new function
6172
6173         * paragraph_funcs.C (mergeParagraph): make it take a
6174         ParagraphList::iterator instead of a Paragraph *, adjust
6175         accordingly.
6176
6177         * paragraph.h: move an #endif so that the change tracking stuff
6178         also works in the NO_NEXT case.
6179
6180 2003-03-04  Angus Leeming  <leeming@lyx.org>
6181
6182         * commandtags.h:
6183         * LyXAction.C: new LFUN_INSET_MODIFY.
6184
6185         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6186         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6187
6188 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * several files: ws changes only
6191
6192         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6193         (TeXEnvironment): ditto
6194         (TeXDeeper): ditto
6195
6196         * buffer.C (makeLaTeXFile): adjust
6197         (latexParagraphs): make it take ParagraphList::iterator as args
6198
6199 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * buffer.C (latexParagraphs): adjust
6202
6203         * paragraph.C (TeXOnePar): move function...
6204         (optArgInset): move function...
6205         (TeXEnvironment): move function...
6206         * paragraph_pimpl.C (TeXDeeper): move function...
6207         * paragraph_funcs.C: ...here
6208
6209         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6210
6211 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * buffer.C (readInset): remove compability code for old Figure and
6214         InsetInfo insets
6215
6216 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * buffer.C: ws changes
6219         (readInset):
6220
6221         * BufferView_pimpl.C: ditto
6222         * author.C: ditto
6223         * buffer.h: ditto
6224         * bufferlist.h: ditto
6225         * changes.h: ditto
6226         * lyxfunc.C: ditto
6227
6228 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6229
6230         * converter.[Ch]: split into itself +
6231         * graph.[Ch]
6232         * format.[Ch]
6233         * Makefile.am: += graph.[Ch] + format.[Ch]
6234         * MenuBackend.C
6235         * buffer.C
6236         * exporter.C
6237         * importer.C
6238         * lyx_main.C
6239         * lyxfunc.C
6240         * lyxrc.C: added #include "format.h"
6241
6242 2003-02-27  Angus Leeming  <leeming@lyx.org>
6243
6244         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6245           a label.
6246
6247         * factory.C (createInset): add "label" to the factory.
6248
6249         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6250           string and do no more.
6251
6252 2003-02-27  Angus Leeming  <leeming@lyx.org>
6253
6254         * commandtags.h:
6255         * LyXAction.C (init):
6256         * factory.C (createInset):
6257         * BufferView_pimpl.C (dispatch):
6258           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6259
6260         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6261
6262         * lyxfunc.C (dispatch):
6263         * text3.C (dispatch): pass name to params2string.
6264
6265 2003-02-26  Angus Leeming  <leeming@lyx.org>
6266
6267         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6268           blocks together.
6269           Rearrange the ~includes. Strip out the unnecessary ones.
6270
6271         * factory.C (createInset): reformat.
6272           create new insets for the various LFUN_XYZ_APPLY lfuns.
6273
6274 2003-02-26  John Levon  <levon@movementarian.org>
6275
6276         * lyxrow.h:
6277         * lyxrow.C: add isParStart,isParEnd helpers
6278
6279         * paragraph.h: make isInserted/DeletedText take refs
6280
6281         * paragraph_funcs.h:
6282         * paragraph_funcs.C: remove #if 0'd code
6283
6284         * lyxtext.h:
6285         * text3.C:
6286         * text2.C:
6287         * text.C: use lyxrow helpers above.
6288           Move draw and paint routines to RowPainter.
6289           Make several methods use refs not pointers.
6290           Make backgroundColor() const.
6291           Add markChangeInDraw(), isInInset().
6292           Merge changeRegionCase into changeCase.
6293           Make workWidth() shouldn't-happen code into an Assert.
6294
6295         * rowpainter.h:
6296         * rowpainter.C: new class for painting a row.
6297
6298         * vspace.h:
6299         * vspace.C: make inPixels take a ref
6300
6301 2003-02-26  Angus Leeming  <leeming@lyx.org>
6302
6303         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6304         LFUN_REF_APPLY.
6305
6306 2003-02-25  John Levon  <levon@movementarian.org>
6307
6308         * ispell.C: give the forked command a more accurate name
6309
6310 2003-02-22  John Levon  <levon@movementarian.org>
6311
6312         * toc.h:
6313         * toc.C: make TocItem store an id not a Paragraph *
6314           (bug #913)
6315
6316 2003-02-21  Angus Leeming  <leeming@lyx.org>
6317
6318         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6319           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6320           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6321           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6322           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6323           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6324
6325         * BufferView_pimpl.C (dispatch):
6326         * LyXAction.C (init):
6327         * factory.C (createInset):
6328         * lyxfunc.C (getStatus, dispatch):
6329         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6330
6331 2003-02-21  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.C (MenuInsertLyXFile):
6334         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6335         * lyxfunc.C (menuNew, open, doImport):
6336           no longer pass a LyXView & to fileDlg.
6337
6338 2003-02-21  Angus Leeming  <leeming@lyx.org>
6339
6340         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6341         * LyXAction.C: change, BIBKEY to BIBITEM.
6342         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6343         Change InsetBibKey to InsetBibitem.
6344         Change BIBKEY_CODE to BIBITEM_CODE.
6345         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6346         * factory.C: replace insetbib.h with insetbibitem.h.
6347         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6348         * paragraph.C: replace insetbib.h with insetbibitem.h.
6349         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6350         Change bibkey() to bibitem().
6351         * text.C: remove insetbib.h.
6352         * text2.C: replace insetbib.h with insetbibitem.h.
6353         change bibkey() to bibitem().
6354         * text3.C: remove insetbib.h.
6355         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6356
6357 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6358
6359         * lyxrc.C (output): enclose user email in quotes (in case there are
6360         several words)
6361
6362 2003-02-18  John Levon  <levon@movementarian.org>
6363
6364         * buffer.h: add std::
6365
6366 2003-02-17  John Levon  <levon@movementarian.org>
6367
6368         * SpellBase.h:
6369         * ispell.h:
6370         * ispell.C:
6371         * pspell.h:
6372         * pspell.C: reworking. Especially in ispell, a large
6373           number of clean ups and bug fixes.
6374
6375         * lyxfunc.C: fix revert to behave sensibly
6376
6377 2003-02-17 André Pönitz <poenitz@gmx.net>
6378
6379         * LyXAction.C:
6380         * commandtags.h: new LFUN_INSERT_BIBKEY
6381
6382         * layout.h:
6383         * lyxlayout.C:
6384         * buffer.C:
6385         * factory.C:
6386         * text.C:
6387         * text2.C:
6388         * text3.C:
6389         * paragraph.[Ch]:
6390         * paragraph_func.C: remove special bibkey handling
6391
6392 2003-02-17  John Levon  <levon@movementarian.org>
6393
6394         * text.C (Delete): fix case where delete at the end of
6395           the very first paragraph would not merge the pars
6396
6397 2003-02-17  John Levon  <levon@movementarian.org>
6398
6399         * lyxrow.C: fix lastPrintablePos()
6400
6401 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6402
6403         * bufferparams.C (writeLaTeX): add a std:here
6404
6405         * buffer.C: and remove a using directive there
6406
6407 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6408
6409         * buffer.C (makeLaTeXFile): move the code that generates the
6410           preamble...
6411
6412         * bufferparams.C (writeLaTeX): ... in this new method
6413
6414         * LaTeXFeatures.C (getEncodingSet): make const
6415           (getLanguages): make const
6416
6417         * MenuBackend.C (binding): returns the binding associated to this
6418           action
6419           (add): sets the status of each item by calling getStatus. Adds
6420           some intelligence.
6421           (read): add support for OptSubMenu
6422           (expand): remove extra separator at the end of expanded menu
6423
6424 2003-02-15  John Levon  <levon@movementarian.org>
6425
6426         * BufferView.C:
6427         * BufferView_pimpl.C:
6428         * bufferlist.h:
6429         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6430           inset code that had no actual effect. Remove unneeded status
6431           code.
6432
6433 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6434
6435         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6436           in preamble
6437
6438 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6439
6440         * text.C (drawLengthMarker): also draw an arrow marker for
6441           symbolic lengths (medskip...)
6442
6443 2003-02-14  John Levon  <levon@movementarian.org>
6444
6445         * tabular.h:
6446         * tabular.C: better method names
6447
6448 2003-02-14  John Levon  <levon@movementarian.org>
6449
6450         * BufferView_pimpl.C:
6451         * bufferlist.C:
6452         * buffer.C:
6453         * converter.C:
6454         * lyx_cb.C:
6455         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6456           it's a more accurate name. Remove some pointless uses.
6457
6458 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6459
6460         * text2.C (LyXText): change order of initilizers to shut off
6461           warnings
6462
6463 2003-02-14  John Levon  <levon@movementarian.org>
6464
6465         * buffer.C: use ParIterator for getParFromID()
6466
6467         * paragraph.h:
6468         * paragraph.C:
6469         * paragraph_pimpl.h:
6470         * paragraph_pimpl.C: remove unused getParFromID()
6471
6472 2003-02-14  John Levon  <levon@movementarian.org>
6473
6474         * buffer.C: remove some very old #if 0'd parse code
6475
6476 2003-02-13  John Levon  <levon@movementarian.org>
6477
6478         * text.h:
6479         * text.C:
6480         * text2.C: move hfillExpansion(), numberOfSeparators(),
6481           rowLast(), rowLastPrintable(), numberofHfills(),
6482           numberOfLabelHfills() ...
6483
6484         * lyxrow.h:
6485         * lyxrow.C: ... to member functions here.
6486
6487         * paragraph.h:
6488         * paragraph.C:
6489         * lyxtext.h:
6490         * text.C: remove LyXText::beginningOfMainBody(), and call
6491           p->beginningOfMainBody() directly. Move the check for
6492           LABEL_MANUAL into the latter.
6493
6494         * text.h:
6495         * text.C:
6496         * text2.C:
6497         * vspace.C:
6498         * BufferView.h:
6499         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6500
6501         * text.h:
6502         * text.C:
6503         * text2.C:
6504         * text3.C:
6505         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6506           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6507
6508 2003-02-13  John Levon  <levon@movementarian.org>
6509
6510         * CutAndPaste.C: remove debug
6511
6512 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6513
6514         * paragraph.C (asString): remove two unused variables
6515
6516         * lyxtextclass.C (readTitleType):
6517           (Read):
6518           (LyXTextClass): handle new members titletype_ and titlename_
6519
6520         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6521
6522 2003-02-09  John Levon  <levon@movementarian.org>
6523
6524         * buffer.h:
6525         * buffer.C: replace hand-coded list with a map for the dep clean
6526
6527 2003-02-08  John Levon  <levon@movementarian.org>
6528
6529         * LaTeX.C: consolidate code into showRunMessage() helper
6530
6531 2003-02-08  John Levon  <levon@movementarian.org>
6532
6533         * lyxfind.C:
6534         * lyxtext.h:
6535         * text2.C:
6536         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6537           and pass the size in explicitly
6538
6539         * BufferView_pimpl.h:
6540         * BufferView_pimpl.C:
6541         * BufferView.h:
6542         * BufferView.C: add getCurrentChange()
6543
6544         * BufferView_pimpl.h:
6545         * BufferView_pimpl.C: handle change lfuns
6546
6547         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6548           for changes. Mark pasted paragraphs as new.
6549
6550         * support/lyxtime.h:
6551         * support/lyxtime.C:
6552         * DepTable.C: abstract time_t as lyx::time_type
6553
6554         * LColor.h:
6555         * LColor.C: add colours for new text, deleted text, changebars
6556
6557         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6558           package use "usenames" option.
6559
6560         * commandtags.h:
6561         * lyxfunc.C:
6562         * LyXAction.C: add change lfuns
6563
6564         * Makefile.am:
6565         * author.h:
6566         * author.C: author handling
6567
6568         * buffer.h:
6569         * buffer.C: add a per-buffer author list, with first entry as
6570           current author. Handle new .lyx tokens for change tracking. Output
6571           author list to .lyx file. Output dvipost stuff to .tex preamble.
6572           Bump lyx format to 222.
6573
6574         * bufferlist.h:
6575         * bufferlist.C: add setCurrentAuthor() to reset current author details
6576           in all buffers.
6577
6578         * bufferparams.h:
6579         * bufferparams.C: add param for tracking
6580
6581         * bufferview_funcs.C: output change info in minibuffer
6582
6583         * Makefile.am:
6584         * changes.h:
6585         * changes.C: add change-tracking structure
6586
6587         * debug.h:
6588         * debug.C: add CHANGES debug flag
6589
6590         * lyxfind.h:
6591         * lyxfind.C: add code for finding the next change piece
6592
6593         * lyxrc.h:
6594         * lyxrc.C: add user_name and user_email
6595
6596         * lyxrow.h:
6597         * lyxrow.C: add a metric for the top of the text line
6598
6599         * lyxtext.h:
6600         * text.C: implement accept/rejectChange()
6601
6602         * lyxtext.h:
6603         * text.C: paint changebars. Paint new/deleted text in the chosen
6604         colours. Strike through deleted text.
6605
6606         * paragraph.h:
6607         * paragraph.C:
6608         * paragraph_pimpl.h:
6609         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6610           in the current change to the insert functions. Rework erase to
6611           mark text as deleted, adding an eraseIntern() and a range-based
6612           erase(). Implement per-paragraph change lookup and
6613           accept/reject.
6614
6615         * paragraph_funcs.C: Fixup paste for change tracking.
6616
6617         * tabular.C: mark added row/columns as new.
6618
6619         * text.C: fix rowLast() to never return -1. Don't allow
6620           spellchecking of deleted text. Track transpose changes. Don't
6621           allow paragraph break or merge where appropriate.
6622
6623         * text2.C: leave cursor at end of selection after a cut.
6624
6625 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6626
6627         * text.C (getLengthMarkerHeight):
6628         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6629         visible on screen too.
6630
6631 2003-02-07  John Levon  <levon@movementarian.org>
6632
6633         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6634
6635 2003-02-05  Angus Leeming  <leeming@lyx.org>
6636
6637         * lyxserver.C (read_ready): revert my patch of 11 September last year
6638         as it sends PC cpu through the roof. Presumably this means that
6639         the lyxserver will no longer run on an Alpha...
6640
6641 2003-01-30  Angus Leeming  <leeming@lyx.org>
6642
6643         * factory.C (createInset): create an InsetCommandParam of type "index"
6644         and use it to 'do the right thing'.
6645
6646         * text2.C (getStringToIndex): ensure that cursor position is always
6647         reset to the reset_cursor position.
6648
6649 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6650
6651         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6652         disabled.
6653
6654 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6655
6656         * bufferview.C:
6657         * lyxcb.C:
6658         * lyxfunc.C: Output messages with identical spelling, punctuation,
6659         and spaces
6660
6661 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6662
6663         * MenuBackend.C (expandFormats): List only viewable export formats
6664         in "View" menu
6665
6666         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6667         message
6668
6669         * lyxfunc.C (getStatus): Make sure that formats other than
6670         "fax" can also be disabled
6671
6672 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6673
6674         * text3.C (dispatch): put the lfuns that insert insets in 3
6675         groups, and call doInsertInset with appropriate arguments.
6676         (doInsertInset): new function, that creates an inset and inserts
6677         it according to some boolean parameters.
6678
6679 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * buffer.C (readFile): remember to pass on 'par' when calling
6682         readFile recursively.
6683
6684 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6685
6686         * MenuBackend.C (expandFormats): add "..." to import formats.
6687
6688 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6689
6690         * paragraph.C (asString): Remove XForms RTL hacks.
6691
6692 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6693         * buffer.C: fix typo
6694
6695 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * Makefile.am (LIBS): delete var
6698         (lyx_LDADD): add @LIBS@ here instead.
6699
6700 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6701
6702         * Clarify the meaning of "wheel mouse jump"
6703
6704 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6707         tabular in a float
6708
6709 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * importer.C (Loaders): do not preallocate 3 elements in the
6712         vector, since one ends up with 6 elements otherwise
6713
6714 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6715
6716         * DepTable.C (write): write the file name as last element of the
6717         .dep file (because it may contain spaces)
6718         (read): read info in the right order
6719
6720 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6721
6722         * paragraph_pimpl.C (simpleTeXBlanks):
6723         (simpleTeXSpecialChars):
6724         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6725
6726         * tabular.C (latex): add some missing case statements. Reindent.
6727
6728         * MenuBackend.C (expandToc): remove unused variable.
6729
6730 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6731
6732         * LColor.C:
6733         * LaTeX.C:
6734         * LyXAction.C:
6735         * MenuBackend.C:
6736         * buffer.C:
6737         * exporter.C:
6738         * lyxfunc.C:
6739         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6740         and the like.
6741
6742 2003-01-05  John Levon  <levon@movementarian.org>
6743
6744         * BufferView.h:
6745         * BufferView.C: add getEncoding()
6746
6747         * kbsequence.h:
6748         * kbsequence.C: do not store last keypress
6749
6750         * lyxfunc.h:
6751         * lyxfunc.C: store last keypress here instead. Pass encoding
6752           to getISOEncoded()
6753
6754 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6755
6756         * lyx_main.C (init): remove annoying error message when following
6757         symbolic links (bug #780)
6758
6759 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6760
6761         * text.C (insertChar):
6762         * lyxrc.C (getDescription): remove extra spaces
6763
6764 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6765
6766         * lyxrc.C (getDescription): remove extra spaces
6767
6768 2002-12-20  John Levon  <levon@movementarian.org>
6769
6770         * text3.C: hack fix for page up/down across tall rows
6771
6772 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6773
6774         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6775         not been invoked
6776
6777 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6778
6779         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6780         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6781         thesaurus is not compiled in
6782
6783 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6784
6785         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6786
6787 2002-12-16  Angus Leeming  <leeming@lyx.org>
6788
6789         * lyxrc.[Ch]:
6790         * lyx_main.C (init): remove override_x_deadkeys stuff.
6791
6792 2002-12-12  John Levon  <levon@movementarian.org>
6793
6794         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6795           insert. Only remove shift modifier under strict
6796           circumstances.
6797
6798 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6799
6800         * MenuBackend.C (expandToc): fix crash.
6801
6802 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * MenuBackend.C (expandToc): gettext on float names.
6805
6806 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6807
6808         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6809         implement bool empty() [bug 490]
6810
6811 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6814
6815 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * several files: ws changes
6818
6819 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * text2.C (setCounter): clean up a bit, use boost.format.
6822         (updateCounters): initialize par upon declaration.
6823
6824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6825         if the layout exists. We do not just store the layout any more.
6826         (SwitchLayoutsBetweenClasses): use boost.format
6827
6828 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6829
6830         * converter.C (convert): if from and to files are the same, use a
6831         temporary files as intermediary
6832
6833 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6834
6835         * commandtags.h:
6836         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6837
6838 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6839
6840         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6841
6842 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * tabular.C (asciiPrintCell): use string(size, char) instead of
6845         explicit loop.
6846
6847         * sgml.C (openTag): fix order of arguments to string constructor
6848         (closeTag): ditto
6849
6850         * lyxfunc.C (dispatch): use boost.format
6851
6852         * lots of files: change "c" -> 'c'
6853
6854 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6855
6856         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6857
6858 2002-11-25  Angus Leeming  <leeming@lyx.org>
6859
6860         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6861
6862         * lyx_main.C (init): compile fix.
6863
6864 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * lyx_cb.C (start): boost.formatify
6867         do not include <iostream>
6868
6869         * lengthcommon.C: ws only
6870
6871         * boost-inst.C,BoostFormat.h: add more explict instantations
6872
6873 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * lots of files: handle USE_BOOST_FORMAT
6876
6877 2002-11-21  John Levon  <levon@movementarian.org>
6878
6879         * pspell.C: fix compile
6880
6881 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6882
6883         * lyxfunc.C (dispatch): use boost::format
6884         (open): ditto
6885         (doImport): ditto
6886
6887         * lyxfont.C (stateText): use boost::format
6888
6889         * lyx_main.C (LyX): use boost::format
6890         (init): ditto
6891         (queryUserLyXDir): ditto
6892         (readRcFile): ditto
6893         (parse_dbg): ditto
6894         (typedef boost::function): use the recommened syntax.
6895
6896         * importer.C (Import): use boost::format
6897
6898         * debug.C (showLevel): use boost::format
6899
6900         * converter.C (view): use boost::format
6901         (convert): ditto
6902         (move): ditto
6903         (scanLog): ditto
6904
6905         * bufferview_funcs.C (currentState): use boost::format
6906
6907         * bufferlist.C (emergencyWrite): use boost::format
6908
6909         * buffer.C (readLyXformat2): use boost::format
6910         (parseSingleLyXformat2Token): ditto
6911
6912         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6913
6914         * LaTeX.C (run): use boost::format
6915
6916         * Chktex.C (scanLogFile): use boost::format
6917
6918         * BufferView_pimpl.C (savePosition): use boost::format
6919         (restorePosition): ditto
6920         (MenuInsertLyXFile): ditto
6921
6922         * BoostFormat.h: help file for explicit instation.
6923
6924 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6925
6926         * tabular.C (latex): Support for block alignment in fixed width
6927         columns.
6928
6929 2002-11-17  John Levon  <levon@movementarian.org>
6930
6931         * BufferView_pimpl.C:
6932         * lyx_cb.C:
6933         * lyxfunc.C: split filedialog into open/save
6934
6935 2002-11-08  Juergen Vigna  <jug@sad.it>
6936
6937         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6938         by my last patch (hopefully).
6939
6940 2002-11-08  John Levon  <levon@movementarian.org>
6941
6942         * iterators.h:
6943         * iterators.C:
6944         * buffer.h:
6945         * buffer.C:
6946         * paragraph.h:
6947         * paragraph.C:
6948         * toc.h:
6949         * toc.C: ParConstIterator, and use it (from Lars)
6950
6951 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6952
6953         * lyxtextclass.[Ch]: revise and add doxygen comments
6954
6955 2002-11-07  John Levon  <levon@movementarian.org>
6956
6957         * text.C: fix progress value for spellchecker
6958
6959         * toc.C: fix navigate menu for insetwrap inside minipage
6960
6961         * paragraph_funcs.C: added FIXME for suspect code
6962
6963 2002-11-07  John Levon  <levon@movementarian.org>
6964
6965         * BufferView_pimpl.C: fix redrawing of insets
6966           on buffer switch
6967
6968 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6969
6970         * text2.C (updateCounters): fix bug 668
6971
6972 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6973
6974         * text3.C (dispatch): Do not make the buffer dirty when moving the
6975         cursor.
6976
6977 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * vc-backend.C: STRCONV
6980         (scanMaster): ditto
6981
6982         * text2.C (setCounter): STRCONV
6983
6984         * paragraph.C (asString): STRCONV
6985
6986         * lyxlength.C (asString): STRCONV
6987         (asLatexString): ditto
6988
6989         * lyxgluelength.C (asString): STRCONV
6990         (asLatexString): ditto
6991
6992         * lyxfunc.C (dispatch): STRCONV
6993         (open): ditto
6994
6995         * lyxfont.C (stateText): STRCONV
6996
6997         * importer.C (Import): STRCONV
6998
6999         * counters.C (labelItem): STRCONV
7000         (numberLabel): ditto
7001         (numberLabel): remove unused ostringstream o
7002
7003         * chset.C: STRCONV
7004         (loadFile): ditto
7005
7006         * bufferview_funcs.C (currentState): STRCONV
7007
7008         * buffer.C (readFile): STRCONV
7009         (asciiParagraph): ditto
7010         (makeLaTeXFile): ditto
7011
7012         * Spacing.C (writeEnvirBegin): STRCONV
7013
7014         * LaTeXFeatures.C (getLanguages): STRCONV
7015         (getPackages): ditto
7016         (getMacros): ditto
7017         (getBabelOptions): ditto
7018         (getTClassPreamble): ditto
7019         (getLyXSGMLEntities): ditto
7020         (getIncludedFiles): ditto
7021
7022         * LaTeX.C: STRCONV
7023         (run): ditto
7024         (scanAuxFile): ditto
7025         (deplog): ditto
7026
7027         * LString.h: add the STRCONV macros
7028
7029         * BufferView_pimpl.C (savePosition): STRCONV
7030         (restorePosition): ditto
7031         (MenuInsertLyXFile): ditto
7032
7033         * vc-backend.C (scanMaster): change from submatch[...] to
7034         submatch.str(...)
7035
7036         * funcrequest.C: include config.h
7037
7038         * factory.C: include config.h
7039
7040         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7041
7042         * box.C: include config.h
7043
7044         * LaTeX.C (scanAuxFile): change from submatch[...] to
7045         submatch.str(...)
7046         (deplog): ditto
7047
7048 2002-10-25  Angus Leeming  <leeming@lyx.org>
7049
7050         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7051
7052         * ispell.[Ch] (setError): new method.
7053         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7054         Use setError() insetead of goto END.
7055
7056         * lyx_cb.C (AutoSave): move out child process into new class
7057         AutoSaveBuffer.
7058
7059 2002-10-30  John Levon  <levon@movementarian.org>
7060
7061         * text3.C: make start appendix undoable
7062
7063 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7064
7065         * lyxlength.C (inPixels): Fix returned value.
7066
7067         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7068         environment.
7069
7070 2002-10-24  Angus Leeming  <leeming@lyx.org>
7071
7072         * lyxgluelength.h: no need to forward declare BufferParams
7073         or BufferView, so don't.
7074
7075 2002-10-21  John Levon  <levon@movementarian.org>
7076
7077         * BufferView.C: menuUndo ->undo, redo
7078
7079         * BufferView.h: document, remove dead, make some methods private
7080
7081         * paragraph_funcs.h:
7082         * paragraph_funcs.C:
7083         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7084
7085         * buffer.h:
7086         * buffer.C:
7087         * sgml.h:
7088         * sgml.C: move sgml open/close tag into sgml.C
7089
7090         * bufferview_funcs.h: unused prototype
7091
7092         * lyxfunc.h:
7093         * lyxfunc.C: remove unused
7094
7095         * lyxtext.h:
7096         * text.C: remove unused
7097
7098 2002-10-21  John Levon  <levon@movementarian.org>
7099
7100         * BufferView.h:
7101         * BufferView.C:
7102         * BufferView_pimpl.h:
7103         * BufferView_pimpl.C: fix mouse wheel handling based on
7104           patch from Darren Freeman
7105
7106 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7107
7108         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7109
7110 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7111
7112         * lyxlength.C (inPixels): Fix hanfling of negative length.
7113         Fix LyXLength::MU case.
7114
7115 2002-10-16  John Levon  <levon@movementarian.org>
7116
7117         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7118
7119 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7120
7121         * converter.C (view): add support for $$i (file name) and $$p
7122         (file path) for the viewer command. If $$i is not specified, then
7123         it is appended to the command (for compatibility with old syntax)
7124
7125 2002-10-14  Juergen Vigna  <jug@sad.it>
7126
7127         * undo_funcs.C (textHandleUndo): alter the order in which the
7128         new undopar is added to the LyXText, as we have to set first
7129         the right prev/next and then add it as otherwise the rebuild of
7130         LyXText is not correct. Also reset the cursor to the right paragraph,
7131         with this IMO we could remove the hack in "redoParagraphs()".
7132
7133 2002-10-09  Angus Leeming  <leeming@lyx.org>
7134
7135         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7136         to turn off an optimisation if a new inset is to be inserted.
7137
7138 2002-10-11 André Pönitz <poenitz@gmx.net>
7139
7140         * lyxtext.h: make some functions public to allow access
7141         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7142
7143 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7144
7145         * text3.C (dispatch): when changing layout, avoid an infinite loop
7146         [bug #652]
7147
7148 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7149
7150         * lyxrc.C (read): treat a viewer or converter command of "none" as
7151         if it were empty.
7152
7153         * MenuBackend.C (expandFormats): for an update, also allow the
7154         formats that are not viewable
7155
7156         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7157         script if it is newer than the lyxrc.defaults in user directory
7158
7159 2002-10-07 André Pönitz <poenitz@gmx.net>
7160
7161         * text.C: Vitaly Lipatov's small i18n fix
7162
7163 2002-09-25  Angus Leeming  <leeming@lyx.org>
7164
7165         * ispell.h: doxygen fix.
7166
7167 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7168
7169         * buffer.h (readFile): Add a new argument to the method, to allow
7170         reading of old-format templates.
7171
7172 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * toc.C (getTocList): Get TOC from InsetWrap.
7175
7176 2002-09-16  John Levon  <levon@movementarian.org>
7177
7178         * lyxfunc.C: check tabular for cut/copy too
7179
7180 2002-09-12  John Levon  <levon@movementarian.org>
7181
7182         * LyXAction.C: tidy
7183
7184         * factory.h:
7185         * factory.C: add header
7186
7187         * paragraph_funcs.h:
7188         * paragraph_funcs.C: cleanup
7189
7190 2002-09-11  John Levon  <levon@movementarian.org>
7191
7192         * PrinterParams.h: odd/even default to true
7193
7194 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7195
7196         * PrinterParams.h: update printer parameters for new xforms dialog
7197
7198 2002-09-11  Angus Leeming  <leeming@lyx.org>
7199
7200         * lyxserver.C (read_ready): re-write to make it more transparent
7201         and to make it work in coherent fashion under Tru64 Unix.
7202
7203 2002-09-11  André Pönitz <poenitz@gmx.net>
7204
7205         * commandtags.h:
7206         * LyXAction.C:
7207         * text3.C: implement LFUN_WORDSEL
7208
7209 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7212         make floatlist_ a boost::shared_ptr<FloatList>
7213
7214         * lyxtextclass.C: include FloatList.h
7215         (LyXTextClass): initialize floatlist_
7216         (TextClassTags): add TC_NOFLOAT
7217         (Read): match "nofloat" to TC_NOFLOAT and use it.
7218         (readFloat): modify call to floatlist_
7219         (floats): ditto
7220         (floats): ditto
7221
7222         * FloatList.[Ch] (FloatList): remove commented out float
7223         initialization.
7224         (erase): new function
7225
7226 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7227
7228         * MenuBackend.C (expandToc): fix crash when there is no document
7229         open
7230
7231 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * many files: Add insetwrap.
7234
7235 2002-09-09  John Levon  <levon@movementarian.org>
7236
7237         * text2.C: remove confusing and awkward depth wraparound
7238
7239 2002-09-09  John Levon  <levon@movementarian.org>
7240
7241         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7242
7243         * buffer.h:
7244         * buffer.C: remove getIncludeonlyList()
7245
7246         * paragraph.C:
7247         * lyxfunc.C: remove headers
7248
7249 2002-09-09  Juergen Vigna  <jug@sad.it>
7250
7251         * text.C (getColumnNearX): fix form Michael this is most
7252         probably a cut&paste bug.
7253
7254 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7257
7258         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7259         references, ws changes.
7260
7261         * text2.C (init): update counters after init
7262         (insertParagraph): no need to set counter on idividual paragraphs.
7263         (setCounter): access the counters object in the textclass object
7264         on in the buffer object.
7265         (updateCounters): ditto
7266
7267         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7268         shared_ptr<Counters> to avoid loading counters.h in all
7269         compilation units.
7270         (LyXTextClass): initialize ctrs_
7271         (TextClassTags): add TC_COUNTER, and ...
7272         (Read): use it here.
7273         (CounterTags): new tags
7274         (readCounter): new function
7275         (counters): new funtion
7276         (defaultLayoutName): return a const reference
7277
7278         * counters.C (Counters): remove contructor
7279         (newCounter): remove a couple of unneeded statements.
7280         (newCounter): simplify a bit.
7281         (numberLabel): some small formatting changes.
7282
7283         * buffer.[Ch]: remove all traces of counters, move the Counters
7284         object to the LyXTextClass.
7285
7286 2002-09-06  Alain Castera  <castera@in2p3.fr>
7287
7288         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7289         package to set the horizontal alignment on fixed width columns.
7290
7291         * lyx_sty.C:
7292         * lyx_sty.h: added tabularnewline macro def.
7293
7294         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7295
7296 2002-09-06  John Levon  <levon@movementarian.org>
7297
7298         * LyXAction.C: tooltips for sub/superscript
7299
7300         * MenuBackend.C: a bit more verbose
7301
7302         * lyxfunc.C: tiny clean
7303
7304         * undo_funcs.C: document undo_frozen
7305
7306 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * counters.C (Counters): add missing algorithm counter.
7309
7310         * text2.C (setCounter): lookup the counter with layouts latexname
7311         instead of by section number.
7312         (setCounter): use a hackish way to lookup the correct enum
7313         counter.
7314         a float name->type change
7315         reset enum couners with counter name directly instead of depth value.
7316
7317         * counters.C (Counters): remove the push_backs, change to use the
7318         float type not the float name.
7319         (labelItem): remove unused string, float name->type change
7320
7321         * counters.h: don't include vector, loose the enums and sects vectors
7322
7323 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7326         (Read): add float->TC_FLOAT to textclassTags
7327         (Read): and handle it in the switch
7328         (readFloat): new function
7329
7330         * FloatList.C (FloatList): comment out the hardcoded float
7331         definitions.
7332
7333         * lyxlayout.h: ws change.
7334
7335 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7336
7337         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7338
7339 2002-09-03  Angus Leeming  <leeming@lyx.org>
7340
7341         * BufferView_pimpl.h: qualified name is not allowed in member
7342         declaration: WorkArea & Pimpl::workarea() const;
7343
7344         * factory.C: added using std::endl directive.
7345
7346         * text3.C: added using std::find and std::vector directives.
7347
7348 2002-08-29  André Pönitz <poenitz@gmx.net>
7349
7350         * lyxtext.h:
7351         * text2.C: remove unused member number_of_rows
7352
7353         * Makefile.am:
7354         * BufferView2.C: remove file, move contents to...
7355         * BufferView.C: ... here
7356
7357         * BufferView_pimpl.C:
7358         * factory.C: move more inset creation to factory
7359
7360         * vspace.C: avoid direct usage of LyXText, ws changes
7361
7362         * BufferView.[Ch]:
7363                 don't provide direct access to WorkArea, use two simple
7364                 acessors haveSelction() and workHeight() instead
7365
7366
7367 2002-08-29  John Levon  <levon@movementarian.org>
7368
7369         * BufferView_pimpl.C (dispatch): do not continue when
7370           no buffer
7371
7372 2002-08-28  André Pönitz <poenitz@gmx.net>
7373
7374         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7375
7376         * BufferView.h:
7377         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7378
7379 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7380
7381         * buffer.C: increment LYX_FORMAT to 221
7382
7383         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7384         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7385
7386         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7387
7388         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7389
7390 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7391
7392         * factory.C (createInset): use LyXTextClass::floats
7393
7394         * MenuBackend.C (expandFloatListInsert):
7395         (expandFloatInsert):
7396         (expandToc):
7397
7398         * text2.C (setCounter):
7399
7400         * LaTeXFeatures.C (useFloat):
7401         (getFloatDefinitions):
7402
7403         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7404
7405         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7406         floatlist_, with accessor floats().
7407
7408         * FloatList.h: remove global FloatList
7409
7410 2002-08-26  André Pönitz <poenitz@gmx.net>
7411
7412         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7413
7414         * BufferView.h:
7415         * BufferView2.C:
7416         * BufferView_pimpl.C:
7417         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7418
7419 2002-08-25  John Levon  <levon@movementarian.org>
7420
7421         * LyXAction.C: fix margin note description
7422
7423 2002-08-24  John Levon  <levon@movementarian.org>
7424
7425         * buffer.C:
7426         * bufferlist.C:
7427         * bufferview_funcs.C:
7428         * lyxfont.C:
7429         * undo_funcs.C: cleanups
7430
7431         * lyxfunc.C: disable CUT/COPY when no selection
7432
7433 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7434
7435         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7436         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7437
7438         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7439         Add backward compatibility to "mono", "gray" and "no".
7440
7441 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7442
7443         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7444         (and file_format >= 200).
7445
7446 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7447
7448         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7449
7450 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7451
7452         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7453
7454 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7455
7456         * BufferView_pimpl.C:
7457         * LyXAction.C:
7458         * buffer.C:
7459         * commandtags.h:
7460         * lyxfunc.C:
7461         * paragraph.[Ch]:
7462         * text2.C:
7463         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7464         inset and code to make it  work with the paragraph code. The inset
7465         can be anywhere in the paragraph, but will only do the expected
7466         thing in LaTeX if the layout file contains the parameter line
7467                         OptionalArgs    1
7468         (or more generally, a nonzero value) for that layout.
7469
7470 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * paragraph.h: remove the declaration of undefined counters class
7473         function.
7474
7475 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7476
7477         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7478         Dr. Richard Hawkins.
7479
7480 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7481
7482         * paragraph_funcs.h: remove some unneeded includes
7483
7484         * text.C (backspace): pasteParagraph now in global scipe
7485
7486         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7487         (pasteSelection): ditto
7488
7489         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7490         * paragraph_funcs.C (pasteParagraph): ... here
7491
7492 2002-08-20  André Pönitz <poenitz@gmx.net>
7493
7494         * commandtags.h: new LFUNs for swapping/copying table row/colums
7495
7496         * LyXAction.C:
7497         * lyxfunc.C: support for new lfuns
7498
7499 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * tabular.C:
7502         * buffer.[Ch]: remove NO_COMPABILITY stuff
7503
7504 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * boost.C (throw_exception): new file, with helper function for
7507         boost compiled without exceptions.
7508
7509         * paragraph.h:
7510         * lyxlength.C:
7511         * buffer.C:
7512         * ParameterStruct.h:
7513         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7514
7515         * bufferlist.C (emergencyWriteAll): use boost bind
7516
7517         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7518
7519         * text.C: include paragraph_funcs.h
7520         (breakParagraph): breakParagraph is now in global scope
7521
7522         * paragraph_funcs.[Ch]: new files
7523
7524         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7525         global scope
7526
7527         * buffer.C: include paragraph_funcs.h
7528         (insertStringAsLines): breakParagraph is now in global scope
7529
7530         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7531         paragraph_funcs.C
7532
7533         * CutAndPaste.C: include paragraph_funcs.h
7534         (cutSelection): breakParagraphConservative is now in global scope
7535         (pasteSelection): ditto
7536
7537         * buffer.h: declare oprator== and operator!= for
7538         Buffer::inset_iterator
7539
7540         * bufferlist.C (emergencyWrite): don't use fmt(...)
7541
7542         * text3.C: add using std::endl
7543
7544         * BufferView.C (moveCursorUpdate): remove default arg
7545
7546 2002-08-20  André Pönitz <poenitz@gmx.net>
7547
7548         * buffer.[Ch]: move inline functions to .C
7549
7550         * BufferView2.C:
7551         * BufferView_pimpl.C:
7552         * text.C:
7553         * buffer.[Ch]: use improved inset_iterator
7554
7555         * buffer.C:
7556         * paragraph.[Ch]: write one paragraph at a time
7557
7558 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7559
7560         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7561         style if style is not specified.
7562
7563 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7564
7565         * text2.C (setCounter): when searching for right label for a
7566         caption, make sure to recurse to parent insets (so that a caption
7567         in a minipage in a figure float works) (bug #568)
7568
7569 2002-08-20  André Pönitz <poenitz@gmx.net>
7570
7571         * text3.C: new file for LyXText::dispatch() and helpers
7572
7573         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7574
7575         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7576
7577 2002-08-19  André Pönitz <poenitz@gmx.net>
7578
7579         * lyxtext.h:
7580         * text.C: new LyXText::dispatch()
7581
7582         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7583
7584 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7585
7586         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7587
7588         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7589         Hebrew text.
7590
7591 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * Makefile.am: use $(variables) instead of @substitutions@
7594
7595 2002-08-15  André Pönitz <poenitz@gmx.net>
7596
7597         * lyxfunc.C:
7598         * BufferView_pimpl.C: streamlining mathed <-> outer world
7599         interaction
7600
7601         * commandtags.h:
7602         * LyXAction.C: remove unused LFUN_MATH
7603
7604 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7607
7608 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * paragraph.C (Paragraph): reformat a bit
7611         (cutIntoMinibuffer): use builtin InsetList function instad of
7612         doing it manually.
7613         (getInset): ditto
7614
7615         * buffer.C: include boost/bind.hpp, add using std::for_each
7616         (writeFileAscii): use ParagraphList iterators
7617         (validate): use for_each for validate traversal of paragraphs
7618         (getBibkeyList): use ParagraphList iterators
7619         (resizeInsets): use for_each to resizeInsetsLyXText for all
7620         paragraphs.
7621         (getParFromID): use ParagraphList iterators
7622
7623         * BufferView2.C (lockInset): use paragraph list and iterators
7624
7625 2002-08-14  John Levon  <levon@movementarian.org>
7626
7627         * lyxserver.C: remove spurious xforms include
7628
7629 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7630
7631         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7632
7633 2002-08-13  André Pönitz <poenitz@gmx.net>
7634
7635         * LyXAction.[Ch]:
7636         * lyxfunc.C: further cleaning
7637
7638 2002-08-13  André Pönitz <poenitz@gmx.net>
7639
7640         * funcrequest.h: new constructor
7641
7642         * funcrequest.C: move stuff here from .h
7643
7644         * Makefile.am:
7645         * BufferView_pimpl.C:
7646         * LyXAction.C:
7647         * toc.C:
7648         * lyxfunc.C: subsequent changes
7649
7650         * lyxfunc.h: new view() member function
7651
7652         * lyxfunc.C: subsequent changes
7653
7654 2002-08-13  Angus Leeming  <leeming@lyx.org>
7655
7656         * BufferView2.C:
7657         * BufferView_pimpl.C:
7658         * buffer.C:
7659         * converter.C:
7660         * importer.C:
7661         * lyxfunc.C:
7662         * lyxvc.C:
7663         * toc.C:
7664         * vc-backend.C:
7665         changes due to the changed LyXView interface that now returns references
7666         to member variables not pointers.
7667
7668 2002-08-13  Angus Leeming  <leeming@lyx.org>
7669
7670         * WordLangTuple (word, lang_code): return references to strings,
7671         not strings.
7672
7673         * BufferView.h:
7674         * SpellBase.h:
7675         * lyxtext.h: forward-declare WordLangTuple.
7676
7677         * BufferView2.C:
7678         * ispell.C:
7679         * pspell.C:
7680         * text.C: #include "WordLangTuple.h".
7681
7682         * lyxtext.h:
7683         * text.C: (selectNextWordToSpellcheck): constify return type.
7684
7685 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7686
7687         * buffer.C:
7688         * buffer.h:
7689         * lyxtext.h:
7690         * paragraph.C:
7691         * paragraph_pimpl.h:
7692         * text.C:
7693         * text2.C:
7694         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7695         suggested by Angus.
7696         Made updateCounter always count from start of buffer, and removed
7697         second argument (par).
7698         Reverted floats number display to '#'. Perhaps I'll try again when the
7699         code base is sanitized a bit.
7700
7701 2002-08-12  Angus Leeming  <leeming@lyx.org>
7702
7703         * buffer.[Ch] (getLabelList): constify.
7704
7705 2002-08-07  André Pönitz <poenitz@gmx.net>
7706
7707         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7708
7709         * funcrequest.h: extension to keep mouse (x,y) position
7710
7711 2002-08-12  Juergen Vigna  <jug@sad.it>
7712
7713         * BufferView2.C (insertErrors): forbid undo when inserting error
7714         insets.
7715
7716         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7717
7718 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7719
7720         * ParagraphList.[Ch]: new files
7721
7722         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7723
7724         * BufferView2.C (lockInset): ParagraphList changes
7725         * toc.C: ditto
7726         * text2.C: ditto
7727         * bufferlist.C: ditto
7728         * buffer.h: ditto
7729         * buffer.C: ditto
7730
7731 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7734         unused class variable counter_,
7735
7736         * paragraph.[Ch] (getFirstCounter): delete unused function
7737
7738         * counters.C: include LAssert.h
7739         (reset): add a new function with no arg, change other version to
7740         not have def. arg and to not allow empty arg.
7741
7742         * text2.C (setCounter): remove empty arg from call to Counters::reset
7743
7744 2002-08-11  John Levon  <levon@movementarian.org>
7745
7746         * Makefile.am: add WordLangTuple.h
7747
7748 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7751         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7752
7753         * insets/insettext.C: InsetList changes
7754
7755         * graphics/GraphicsSupport.C (operator()): InsetList changes
7756
7757         * toc.C (getTocList): InsetList changes
7758
7759         * paragraph_pimpl.[Ch]: InsetList changes
7760
7761         * paragraph.[Ch]: InsetList changes
7762
7763         * buffer.C (inset_iterator): InsetList changes
7764         (setParagraph): ditto
7765         * buffer.h (inset_iterator): ditto
7766         * iterators.C (operator++): ditto
7767         * iterators.h: ditto
7768
7769         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7770
7771         * InsetList.[Ch]: new files, most InsetList handling moved out of
7772         paragraph.C.
7773
7774         * BufferView2.C (removeAutoInsets): InsetList changes
7775         (lockInset): ditto
7776         (ChangeInsets): ditto
7777
7778 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * paragraph_pimpl.h (empty): new function
7781
7782         * paragraph.[Ch] (empty): new function
7783
7784         * other files: use the new Paragraph::empty function
7785
7786 2002-08-09  John Levon  <levon@movementarian.org>
7787
7788         * lyxtext.h: remove unused refresh_height
7789
7790 2002-08-09  John Levon  <levon@movementarian.org>
7791
7792         * Makefile.am:
7793         * sgml.h:
7794         * sgml.C:
7795         * buffer.C:
7796         * paragraph.h:
7797         * paragraph.C: move sgml char escaping out of paragraph
7798
7799         * paragraph.h:
7800         * paragraph.C: remove id setter
7801
7802         * buffer.C:
7803         * paragraph.C:
7804         * paragraph_pimpl.C: remove dead tex_code_break_column
7805
7806         * bufferview_funcs.C: small cleanup
7807
7808         * lyxfunc.C: remove dead proto
7809
7810         * lyxtext.h: make some stuff private. Remove some dead stuff.
7811
7812         * lyxgluelength.C: make as[LyX]String() readable
7813
7814 2002-08-08  John Levon  <levon@movementarian.org>
7815
7816         * LyXAction.h:
7817         * LyXAction.C:
7818         * MenuBackend.C:
7819         * ToolbarDefaults.C:
7820         * lyxfunc.C:
7821         * lyxrc.C:
7822         * toc.C: lyxaction cleanup
7823
7824 2002-08-08  John Levon  <levon@movementarian.org>
7825
7826         * BufferView2.C: small cleanup
7827
7828         * lyxfind.h:
7829         * lyxfind.C: move unnecessary header into the .C
7830
7831 2002-08-08  John Levon  <levon@movementarian.org>
7832
7833         * funcrequest.h: just tedious nonsense
7834
7835         * lyx_main.h:
7836         * lyx_main.C: cleanups
7837
7838         * buffer.C:
7839         * vspace.C: remove dead header lyx_main.h
7840
7841 2002-08-07  Angus Leeming  <leeming@lyx.org>
7842
7843         * Paragraph.[Ch]:
7844         * paragraph_pimpl.h:
7845         Forward declare class Counters in paragraph.h by moving the ctrs member
7846         variable into Paragraph::Pimpl.
7847         (counters): new method, returning a reference to pimpl_->ctrs.
7848
7849         * text2.C: ensuing changes.
7850
7851 2002-08-07  John Levon  <levon@movementarian.org>
7852
7853         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7854
7855         * BufferView_pimpl.C: announce X selection on double/triple
7856           click
7857
7858         * lyx_main.C: use correct bool in batch dispatch
7859
7860         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7861
7862 2002-08-07  André Pönitz <poenitz@gmx.net>
7863
7864         * funcrequest.h: new class to wrap a kb_action and its argument
7865
7866         * BufferView.[Ch]:
7867         * BufferView_pimpl[Ch]:
7868         * LaTeX.C:
7869         * LyXAction.[Ch]:
7870         * lyxfunc.[Ch]:
7871         * lyxrc.C: subsequent changes
7872
7873
7874 2002-08-07  John Levon  <levon@movementarian.org>
7875
7876         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7877           document options change.
7878
7879 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7880
7881         * counters.[Ch]
7882         * text2.C
7883         * paragraph.[Ch]
7884         * makefile.am: move counters functionality over from
7885         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7886
7887 2002-08-06  John Levon  <levon@movementarian.org>
7888
7889         * WordLangTuple.h: new file for word + language code tuple
7890
7891         * SpellBase.h:
7892         * pspell.h:
7893         * pspell.C:
7894         * ispell.h:
7895         * ispell.C:
7896         * lyxtext.h:
7897         * text.C:
7898         * text2.C:
7899         * BufferView.h:
7900         * BufferView2.C: use WordLangTuple
7901
7902         * layout.h:
7903         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7904
7905 2002-08-06  John Levon  <levon@movementarian.org>
7906
7907         * lyx_main.C: fix cmdline batch handling
7908
7909 2002-08-06  André Pönitz <poenitz@gmx.net>
7910
7911         * lyxrc.C: set default for show_banner to true
7912
7913 2002-08-06  John Levon  <levon@movementarian.org>
7914
7915         * pspell.C: fix a crash, and allow new aspell to work
7916
7917 2002-08-06  John Levon  <levon@movementarian.org>
7918
7919         * lyxfunc.C:
7920         * kbmap.C: small cleanup
7921
7922         * vspace.h:
7923         * vspace.C: add const
7924
7925 2002-08-05  John Levon  <levon@movementarian.org>
7926
7927         * LyXAction.C: back to tabular-insert
7928
7929 2002-08-04  John Levon  <levon@movementarian.org>
7930
7931         * BufferView.h:
7932         * BufferView.C: cosmetic change
7933
7934         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7935
7936         * bufferlist.C:
7937         * buffer.h:
7938         * buffer.C:
7939         * lyxcb.h:
7940         * lyxcb.C:
7941         * lyxserver.C:
7942         * lyxvc.C:
7943         * vc-backend.C:
7944         * BufferView2.C: purge all "Lyx" not "LyX" strings
7945
7946         * lyxcursor.h:
7947         * lyxcursor.C: attempt to add some documentation
7948
7949         * lyxfunc.C:
7950         * commandtags.h:
7951         * LyXAction.C:
7952         * ToolbarDefaults.C:
7953         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7954           merge with LFUN_TABULAR_INSERT
7955
7956         * Makefile.am:
7957         * SpellBase.h:
7958         * ispell.h:
7959         * ispell.C:
7960         * pspell.h:
7961         * pspell.C: split up i/pspell implementations into separate
7962           files, many cleanups
7963
7964         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7965
7966         * text2.C: some cleanup
7967
7968         * lyxfunc.C: don't check for isp_command == "none" any more, it
7969           didn't make any sense
7970
7971 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7972
7973         * counters.[Ch]
7974         * text2.C
7975         * paragraph.[Ch]
7976         * makefile.am: move counters functionality over
7977         from text2.C/paragraph.[Ch] to counters.[Ch], and
7978         make proper C++.
7979 2002-08-02  John Levon  <levon@movementarian.org>
7980
7981         * buffer.C: s/lyxconvert/lyx2lyx/
7982
7983 2002-08-02  Angus Leeming  <leeming@lyx.org>
7984
7985         * lyxlex.C: revert John's change as it breaks reading of the user
7986         preamble.
7987
7988 2002-08-02  Angus Leeming  <leeming@lyx.org>
7989
7990         * importer.C (Import):
7991         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7992         changes due to LyXView::view() now returning a boost::shared_ptr.
7993
7994 2002-08-02  John Levon  <levon@movementarian.org>
7995
7996         * lyxlex.C: small cleanup
7997
7998 2002-08-02  John Levon  <levon@movementarian.org>
7999
8000         * text2.C (status): small cleanup, no logic change
8001
8002 2002-08-01  John Levon  <levon@movementarian.org>
8003
8004         * buffer.h:
8005         * buffer.C (writeFile): don't output alerts, caller
8006           handles this
8007
8008         * bufferlist.C:
8009         * lyx_cb.C: from above
8010
8011         * lyxfunc.C: allow to open non-existent files
8012
8013 2002-07-31  John Levon  <levon@movementarian.org>
8014
8015         * lyxserver.C: don't let incidental errors get
8016           in the way (errno)
8017
8018 2002-07-30  John Levon  <levon@movementarian.org>
8019
8020         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8021
8022 2002-07-30  John Levon  <levon@movementarian.org>
8023
8024         * lyxserver.h:
8025         * lyxserver.C: remove I/O callback too
8026
8027 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8028
8029         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8030         log.
8031
8032 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * many files: strip,frontStrip -> trim,ltrim,rtrim
8035
8036 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * PrinterParams.h: remove extern containsOnly, and include
8039         support/lstrings.h instead.
8040
8041         * LaTeX.C (scanAuxFile): modify because of strip changes
8042         (deplog): ditto
8043         * buffer.C (makeLaTeXFile): ditto
8044         * bufferparams.C (writeFile): ditt
8045         * lyxfont.C (stateText): ditto
8046         * lyxserver.C (read_ready): ditto
8047         * vc-backend.C (scanMaster): ditto
8048
8049         * BufferView_pimpl.h: ws changes
8050
8051         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8052
8053 2002-07-26  André Pönitz <poenitz@gmx.net>
8054
8055         * kb_sequence.C: remove unnedred usings
8056
8057 2002-07-26  Juergen Vigna  <jug@sad.it>
8058
8059         * lyxfind.C (LyXReplace): we have to check better if the returned
8060         text is not of theLockingInset()->getLockingInset().
8061
8062 2002-07-25  Juergen Vigna  <jug@sad.it>
8063
8064         * lyxfind.C (LyXReplace): don't replace if we don't get the
8065         right LyXText.
8066
8067         * undo_funcs.C (createUndo): remove debugging code.
8068
8069 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8070
8071         * buffer.C (parseSingleLyXformat2Token): Use default placement
8072         when reading old floats.
8073
8074         * FloatList.C (FloatList): Change the default placement of figure
8075         and tables to "tbp".
8076
8077 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * MenuBackend.C: using std::max
8080
8081 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8082
8083         * MenuBackend.C (expandToc):
8084         (expandToc2): code moved from xforms menu frontend. It is now
8085         generic and TOCs are transparent to menu frontends.
8086
8087 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8088
8089         * toc.C (getTocList): protect against buf=0
8090
8091         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8092         Menu as first parameter. Now, this calls itself recursively to
8093         expand a whole tree (this will be useful for TOC handling)
8094         (expandFloatInsert): remove 'wide' version of floats
8095
8096         * MenuBackend.h (submenuname): returns the name of the submenu.
8097         (submenu): returns the submenu itself, provided it has been
8098         created by MenuBackend::expand
8099
8100 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8101
8102         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8103         insets which have noFontChange == true. (bug #172)
8104
8105 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8106
8107         * BufferView_pimpl.C: add connection objects and use them...
8108         (Pimpl): here.
8109
8110 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8111
8112         * MenuBackend.C (expandLastfiles):
8113         (expandDocuments):
8114         (expandFormats):
8115         (expandFloatListInsert):
8116         (expandFloatInsert):
8117         (expand): split expand in parts
8118
8119 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * lyx_gui.C: use lyx_gui::exit()
8122
8123 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * LyXAction.C: show the failing pseudo action
8126
8127 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8128
8129         * buffer.C (readFile): Run the lyxconvert script in order to read
8130         old files.
8131
8132 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * LyXAction.C:
8135         * commandtags.h:
8136         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8137
8138 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * LyXAction.C:
8141         * commandtags.h:
8142         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8143
8144 2002-07-22  Herbert Voss  <voss@lyx.org>
8145
8146         * lengthcommon.C:
8147         * lyxlength.[Ch]: add support for the vertical lengths
8148
8149 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * toc.[Ch]: std:: fixes
8152
8153 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8154
8155         * lyxrc.C: do not include lyx_main.h
8156
8157         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8158         for layouts
8159
8160         * lyxrc.C:
8161         * encoding.C:
8162         * bufferlist.C:
8163         * BufferView2.C: include "lyxlex.h"
8164
8165         * tabular.h:
8166         * bufferparams.h: do not #include "lyxlex.h"
8167
8168         * lyxtextclasslist.C (Add): remove method
8169         (classlist): renamed to classlist_
8170
8171         * paragraph_pimpl.C:
8172         * paragraph.C:
8173         * text2.C:
8174         * CutAndPaste.C:
8175         * bufferview_funcs.C:
8176         * bufferlist.C:
8177         * text.C:
8178         * LaTeXFeatures.C:
8179         * buffer.C:
8180         * toc.C (getTocList): use BufferParams::getLyXTextClass
8181
8182         * toc.C (getTocList): use InsetFloat::addToToc
8183
8184         * toc.[Ch]: new files, containing helper functions to handle table
8185         of contents
8186
8187         * lyxfunc.C (dispatch): no need to remove spaces around command
8188         given as a string
8189         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8190         first command of the sequence; it is not very clever, but I do not
8191         have a better idea, actually
8192
8193         * LyXAction.C (LookupFunc): make sure to remove space at the
8194         beginning and end of the command
8195
8196 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8197
8198         * MenuBackend.C (getMenubar): new method: return the menubar of
8199         this menu set
8200         (read): treat differently reading of menu and menubar (in
8201         particular, the menubar has no name now)
8202         (Menu::menubar): remove
8203
8204         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8205         saving is finished
8206
8207 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8208
8209         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8210         a bibitem inset in a RTL paragraph.
8211
8212 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8213
8214         * paragraph_pimpl.C: constify
8215
8216         * BufferView_pimpl.C:
8217         * LaTeX.C:
8218         * lyxfunc.C: fix dispatch in a nicer way
8219
8220 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * lyxfunc.C (dispatch):
8223         * BufferView_pimpl.C:
8224         * BufferView_pimpl.h:
8225         * BufferView.C:
8226         * BufferView.h: rename Dispatch() to dispatch()
8227
8228         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8229
8230         * lyxlayout.C (Read): honor DependsOn tag
8231
8232         * lyxlayout.[Ch] (depends_on): new method
8233
8234         * version.C.in: update lyx_docversion
8235
8236         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8237
8238         * paragraph.C (validate): remove from here...
8239         * paragraph_pimpl.C (validate): ... and move here
8240         (isTextAt): make it const
8241
8242         * buffer.C (getLists): ws cleanup
8243
8244 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * language.C (read): Use iso8859-1 encoding in latex_lang
8247         (this prevents LyX from crashing when using iso10646-1 encoding).
8248
8249 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * text2.C (toggleInset): if cursor is inside an inset, close the
8252         inset and leave cursor _after_ it
8253
8254 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8255
8256         * lyxfunc.C: move minibuffer completion handling out of here
8257
8258 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * BufferView_pimpl.C:
8261         * LaTeX.C: fix dispatch calls
8262
8263 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * text.C (drawChars): Fix Arabic text rendering.
8266
8267 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * LyXAction.C:
8270         * commandtags.h:
8271         * lyxfunc.C: remove message-push/pop
8272
8273         * lyxserver.C:
8274         * lyxfunc.h:
8275         * lyxfunc.C: rationalise some code by removing verboseDispatch
8276           in favour of a bool argument to dispatch()
8277
8278 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8279
8280         * lyx_main.C (init): make sure to read symlinks as absolute paths
8281
8282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * lyxfunc.h:
8285         * lyxfunc.C: no need for commandshortcut to be a member
8286
8287 2002-07-15  André Pönitz <poenitz@gmx.net>
8288
8289         * converter.C: add support for $$s (scripts from lib/scripts dir)
8290         * lyx_main.C: white space
8291
8292 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * bufferlist.C:
8295         * lyxrc.h:
8296         * lyxrc.C: remove second exit confirmation
8297
8298 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * BufferView.h:
8301         * BufferView.C:
8302         * BufferView2.C:
8303         * BufferView_pimpl.h:
8304         * BufferView_pimpl.C:
8305         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8306
8307 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8308
8309         * MenuBackend.C (expand): add numeric shortcuts to document menu
8310
8311         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8312
8313 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * lyxfont.C (setLyXFamily):
8316         (setLyXSeries):
8317         (setLyXShape):
8318         (setLyXSize):
8319         (setLyXMisc):
8320         (lyxRead):
8321         * debug.C (value):
8322         * buffer.C (asciiParagraph): use ascii_lowercase
8323
8324 2002-07-15  Mike Fabian  <mfabian@suse.de>
8325
8326         * lyxlex_pimpl.C (search_kw):
8327         * lyxlex.C (getLongString):
8328         * converter.h (operator<):
8329         * converter.C (operator<):
8330         * buffer.C (parseSingleLyXformat2Token):
8331         (asciiParagraph):
8332         * ToolbarDefaults.C (read):
8333         * MenuBackend.C (checkShortcuts):
8334         (read):
8335         * LColor.C (getFromGUIName):
8336         (getFromLyXName): use the compare_ascii_no_case instead of
8337         compare_no_case, because in turkish, 'i' is not the lowercase
8338         version of 'I', and thus turkish locale breaks parsing of tags.
8339
8340 2002-07-16  Angus Leeming  <leeming@lyx.org>
8341
8342         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8343         now takes a Buffer const & argument.
8344
8345 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8346
8347         * BufferView.C (resize): check there's a buffer to resize
8348
8349 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * lyxfunc.C: remove dead code
8352
8353         * lyxserver.h:
8354         * lyxserver.C: use lyx_guii::set_read_callback
8355
8356 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8357
8358         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8359         an inset in a RTL paragraph.
8360
8361 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * lyxfunc.C: repaint after a font size update
8364
8365 2002-07-15  André Pönitz <poenitz@gmx.net>
8366
8367         * lyxlength.C: inBP should be able to return negative values
8368
8369 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * lyxfunc.C: use lyx_gui::update_fonts()
8372
8373 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8374
8375         * lyxfunc.C: use lyx_gui::update_color()
8376
8377 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * bufferlist.C:
8380         * lyxfunc.h:
8381         * lyxfunc.C:
8382         * lyxrc.h:
8383         * lyxrc.C: remove file->new asks for name option, and let
8384           buffer-new take an argument
8385
8386 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8387
8388         * BufferView_pimpl.C: remove unneeded extra repaint()
8389
8390 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * LyXAction.C: allow command-sequence with NoBuffer
8393
8394         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8395
8396 2002-07-10  Angus Leeming  <leeming@lyx.org>
8397
8398         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8399
8400 2002-07-09  Angus Leeming  <leeming@lyx.org>
8401
8402         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8403
8404 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * lengthcommon.h: whitespace
8407
8408         * lyxfunc.C: update scrollbar after goto paragraph
8409
8410         * lyxtext.h: factor out page break drawing, and fix it so
8411           page break/added space paints as selected nicely
8412
8413 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * BufferView_pimpl.C: add FIXMEs, clean up a little
8416
8417 2002-07-09  André Pönitz <poenitz@gmx.net>
8418
8419         * lyxfont.[Ch]: support for wasy symbols
8420
8421 2002-07-08  André Pönitz <poenitz@gmx.net>
8422
8423         * BufferView_pimpl.C: apply John's patch for #93.
8424
8425 2002-07-05  Angus Leeming  <leeming@lyx.org>
8426
8427         * BufferView_pimpl.C (buffer): generate previews if desired.
8428
8429         * LColor.h: add "preview" to the color enum.
8430
8431         * LColor.C (LColor): add a corresponding entry to the items array.
8432
8433         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8434         with this buffer.
8435
8436 2002-07-05  Angus Leeming  <leeming@lyx.org>
8437
8438         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8439         The body of the code is now in the method that is passed an ostream &
8440         rather than a file name.
8441         Pass an additional only_preamble parameter, useful for the forthcoming
8442         preview stuff.
8443
8444 2002-07-03  André Pönitz <poenitz@gmx.net>
8445
8446         * lyxfunc.C: simplify getStatus() a bit for math stuff
8447
8448 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8449
8450         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8451
8452 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * text.C (changeRegionCase): do not change case of all the
8455         document when region ends at paragraph end (bug #461)
8456
8457 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * paragraph.C (startTeXParParams):
8460         (endTeXParParams): add \protect when necessary
8461
8462 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8463
8464         * BufferView_pimpl.C (workAreaExpose): remove warning
8465
8466 2002-06-27  Angus Leeming  <leeming@lyx.org>
8467
8468         * Makefile.am: add lyxlayout_ptr_fwd.h.
8469
8470 2002-06-26  André Pönitz <poenitz@gmx.net>
8471
8472         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8473
8474 2002-06-25  Angus Leeming  <leeming@lyx.org>
8475
8476         * lyxfunc.C (dispatch): Comment out the call to
8477         grfx::GCache::changeDisplay. The method no longer exists now that the
8478         pixmap generation part of the graphics loader has been moved into
8479         InsetGraphics.
8480
8481 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8482
8483         * text2.C: layout as layout
8484
8485         * text.C: layout as layout
8486
8487         * tabular.C (OldFormatRead): layout as layout
8488
8489         * paragraph_pimpl.C (TeXDeeper): layout as layout
8490         (realizeFont): layout as layout
8491
8492         * paragraph.C (writeFile): layout as layout
8493         (validate): layout as layout
8494         (getFont): layout as layout
8495         (getLabelFont): layout as layout
8496         (getLayoutFont): layout as layout
8497         (breakParagraph): layout as layout
8498         (stripLeadingSpaces): layout as layout
8499         (getEndLabel): layout as layout
8500         (getMaxDepthAfter): layout as layout
8501         (applyLayout): layout as layout
8502         (TeXOnePar): layout as layout
8503         (simpleTeXOnePar): layout as layout
8504         (TeXEnvironment): layout as layout
8505         (layout): layout as layout
8506         (layout): layout as layout
8507
8508         * lyxtextclass.C (compare_name): new functor to work with
8509         shared_ptr, layout as layout
8510         (Read): layout as layout
8511         (hasLayout): layout as layout
8512         (operator): layout as layout
8513         (delete_layout): layout as layout
8514         (defaultLayout): layout as layout
8515
8516         * lyxlayout_ptr_fwd.h: new file
8517
8518         * lyxlayout.C (Read): layout as layout
8519
8520         * lyx_cb.C (MenuInsertLabel): layout as layout
8521
8522         * bufferlist.C (newFile): layout as layout
8523
8524         * buffer.C (readLyXformat2): layout as layout
8525         (parseSingleLyXformat2Token): layout as layout
8526         (insertStringAsLines): layout as layout
8527         (asciiParagraph): layout as layout
8528         (latexParagraphs): layout as layout
8529         (makeLinuxDocFile): layout as layout
8530         (simpleLinuxDocOnePar): layout as layout
8531         (makeDocBookFile): layout as layout
8532         (simpleDocBookOnePar): layout as layout
8533         (getLists): layout as layout
8534
8535         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8536
8537         * CutAndPaste.C (cutSelection): layout as layout
8538         (pasteSelection): layout as layout
8539         (SwitchLayoutsBetweenClasses): layout as layout
8540
8541         * BufferView_pimpl.C (Dispatch): layout as layout
8542         (smartQuote): layout as layout
8543
8544         * BufferView2.C (unlockInset): layout as layout
8545
8546 2002-06-24  André Pönitz <poenitz@gmx.net>
8547
8548         * lyxfunc.C: fix #487
8549
8550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8551
8552         * lyxrc.h:
8553         * lyxrc.C:
8554         * lyxfunc.C: remove display_shortcuts, show_banner
8555
8556 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * Buffer_pimpl.C: oops, update on resize
8559
8560 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8561
8562         * buffer.C:
8563         * converter.C:
8564         * exporter.C:
8565         * lyxfunc.C:
8566         * BufferView.h:
8567         * BufferView.C: use repaint()
8568
8569         * BufferView_pimpl.h:
8570         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8571           as it's a clearer description. Remove superfluous
8572           redraws.
8573
8574 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * text.C: fix bug 488. Not ideal, but getting
8577           getWord() to work properly for the insets that
8578           matter is more difficult ...
8579
8580 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * BufferView_pimpl.C:
8583         * LyXAction.C:
8584         * commandtags.h:
8585         * lyxfunc.C: remove the six million index lyxfuncs to just
8586           one, and DTRT (bug 458)
8587
8588 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * BufferView.h:
8591         * BufferView.C:
8592         * BufferView_pimpl.h:
8593         * BufferView_pimpl.C: clean up resize() stuff,
8594           and unnecessary updateScreen()s
8595
8596 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * BufferView.h:
8599         * BufferView.C:
8600         * BufferView_pimpl.h:
8601         * BufferView_pimpl.C:
8602         * lyxfind.h:
8603         * lyxfind.C:
8604         * minibuffer.C: remove focus management of workarea,
8605           not needed. Use screen's greyOut()
8606
8607 2002-06-17  Herbert Voss  <voss@lyx.org>
8608
8609         * converter.C: (convert) do not post a message, when converting
8610         fails, let the calling function decide what to do in this case
8611
8612 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * lyxfunc.C: tidy up a little
8615
8616 2002-06-16    <alstrup@diku.dk>
8617
8618         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8619         Got rid of FORMS_H_LOCATION include. Now we are
8620         GUII.
8621
8622 2002-06-15  LyX Development team  <lyx@rilke>
8623
8624         * buffer.[Ch] (sgmlOpenTag):
8625         (sgmlCloseTag): Added support for avoiding pernicious mixed
8626         content. Return number of lines written.
8627
8628         (makeLinuxDocFile):
8629         (makeDocBookFile): Fixed calls to sgml*Tag.
8630         Simple white space clean.
8631
8632         (simpleDocBookOnePar): Simple white space clean.
8633
8634         * tabular.[Ch] (docBook): Renamed to docbook and got another
8635         argument to related with the pernicious mixed content.
8636
8637         (docbookRow): Fixed calls for docbook inset method.
8638
8639 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8640
8641         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8642         so it's X11 independent.
8643
8644         * kb*.[Ch]: ditto.
8645
8646         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8647
8648 2002-06-15  Lyx Development team  <lyx@electronia>
8649
8650         * intl.h: Renamed getTrans to getTransManager.
8651
8652 2002-06-14  Angus Leeming  <leeming@lyx.org>
8653
8654         * Makefile.am: nuke forgotten stl_string_fwd.h.
8655
8656 2002-06-12  Angus Leeming  <leeming@lyx.org>
8657
8658         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8659
8660 2002-06-13  Angus Leeming  <leeming@lyx.org>
8661
8662         * LaTeX.C:
8663         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8664
8665 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8666
8667         * kbmap.C (getiso): add support for cyrillic and greek
8668
8669 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * BufferView.h:
8672         * BufferView.C:
8673         * BufferView_pimpl.h:
8674         * BufferView_pimpl.C: move bogus scrolling logic
8675           to xforms
8676
8677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * lyxfunc.C:
8680         * BufferView_pimpl.C: view->resize() change
8681
8682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * BufferView_pimpl.C: topCursorVisible
8685           prototype change
8686
8687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8688
8689         * Makefile.am:
8690         * lyx_gui.h:
8691         * lyx_gui.C: move to frontends/
8692
8693         * main.C:
8694         * lyx_main.h:
8695         * lyx_main.C: changes from above
8696
8697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * intl.C:
8700         * intl.h:
8701         * kbmap.C:
8702         * kbsequence.C:
8703         * lyx_cb.C:
8704         * lyx_main.C: minor tidy
8705
8706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * BufferView_pimpl.h:
8709         * BufferView_pimpl.C:
8710         * BufferView.h:
8711         * BufferView.C: make painter() const,
8712           remove dead code
8713
8714         * BufferView2.C: use screen() accessor
8715
8716         * lyx_main.h:
8717         * lyx_main.C: some minor cleanup
8718
8719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * BufferView_pimpl.h:
8722         * BufferView_pimpl.C: remove enter/leaveView,
8723           use workHeight()
8724
8725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * BufferView.h:
8728         * BufferView.C:
8729         * BufferView2.C:
8730         * BufferView_pimpl.h:
8731         * BufferView_pimpl.C: only construct screen once,
8732           rename
8733
8734         * lyxrc.C: remove pointless comment
8735
8736 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8737
8738         * BufferView.h:
8739         * BufferView.C: remove active() and belowMouse()
8740
8741         * BufferView_pimpl.h:
8742         * BufferView_pimpl.C: use workarea() not workarea_,
8743           and make it use a scoped_ptr instead
8744
8745 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8746
8747         * lyx_gui.C: add debug message on BadWindow
8748
8749 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8750
8751         * sp_spell.C: fdopen is not part of the C++ standard.
8752
8753         * paragraph.C (InsetIterator): use >= instead of ==
8754
8755 2002-06-07  Angus Leeming  <leeming@lyx.org>
8756
8757         Fixes needed to compile with Compaq cxx 6.5.
8758         * BufferView_pimpl.C:
8759         * DepTable.C:
8760         * buffer.C:
8761         * converter.C:
8762         * encoding.C:
8763         * lyx_gui.C:
8764         * lyx_main.C:
8765         * lyxtextclasslist.C:
8766         * minibuffer.C:
8767         * sp_spell.C:
8768         * tabular_funcs.C:
8769         * vc-backend.C:
8770         all c-library variables have been moved into namespace std. Wrap
8771         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8772
8773         * lyxlength.C:
8774         * tabular-old.C:
8775         * tabular.C:
8776         Add a using std::abs declaration.
8777
8778         * kbmap.h (modifier_pair):
8779         * paragraph.h (InsetTable, InsetList):
8780         * lyxfont.h (FontBits):
8781         type definition made public.
8782
8783         * bufferlist.C (emergencyWriteAll): the compiler complains that
8784         there is more than one possible lyx::class_fun template to choose from.
8785         I re-named the void specialisation as lyx::void_class_fun.
8786
8787         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8788
8789         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8790         the compiler is is unable to find tostr in write_attribute.
8791
8792 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8793
8794         * buffer.C (sgmlError): hide #warning
8795
8796 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * xtl/*: get rid of xtl, which is not in use anyway
8799
8800         * LyXAction.C (init):
8801         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8802         were unimplemented xtl experimentation
8803
8804 2002-06-04  André Pönitz <poenitz@gmx.net>
8805
8806         * lyxfunc.C: disable array operation on simple formulae
8807
8808 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8809
8810         * converter.C: constify a bit
8811
8812 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * lyx_gui.C: check xforms version correctly
8815
8816 2002-04-30  Herbert Voss  <voss@lyx.org>
8817
8818         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8819         "keep" option
8820
8821 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8824           attempt to register it with a VCS)
8825
8826 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8827
8828         * lyx_main.C (init): honor variables LYX_DIR_13x and
8829         LYX_USERDIR_13x
8830
8831 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * buffer.h:
8834         * buffer.C:
8835         * lyx_main.C: fix a crash on bad command line,
8836           and give a useful exit status on error
8837
8838         * lyxfunc.C (doImport): allow -i lyx to work
8839
8840 2002-03-30  André Pönitz <poenitz@gmx.net>
8841
8842         * lyxfunc.C: mathed font changes
8843
8844 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * LaTeX.C:
8847         * importer.h:
8848         * importer.C:
8849         * lyx_sty.h:
8850         * lyx_sty.C:
8851         * lyxlex.C:
8852         * lyxrow.h:
8853         * lyxtext.h:
8854         * paragraph.h:
8855         * paragraph.C:
8856         * texrow.h:
8857         * texrow.C:
8858         * text.C:
8859         * trans_mgr.h: srcdocs, and some minor cleanups
8860
8861 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8864         call getFont all the time)
8865
8866 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8867
8868         * switch from SigC signals to boost::signals
8869
8870 2002-05-29  André Pönitz <poenitz@gmx.net>
8871
8872         * paragraph_pimpl.C (getChar): don't call size() too often...
8873
8874 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * paragraph_pimpl.C (insertChar): do not try to update tables when
8877         appending (pos == size())
8878
8879         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8880         in order to reduce drastically the number of comparisons needed to
8881         parse a large document
8882
8883 2002-05-29  André Pönitz <poenitz@gmx.net>
8884
8885         * text.C:
8886         * text2.C:
8887         * lyxtextclass.C:
8888         * sp_pspell.h:
8889         * textclasslist.[Ch]:
8890         * sp_ispell.h: whitespace change
8891
8892 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8895         lyxaction directly now.
8896
8897 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * trans.C:
8900         * lyxfont.C:
8901         * lyxvc.C: remove unused headers
8902
8903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * Makefile.am:
8906         * buffer.h:
8907         * undostack.h:
8908         * undostack.C:
8909         * undo_funcs.h:
8910         * undo_funcs.C: some cleanups. Use shared_ptr
8911           and a template for the undo stacks.
8912
8913 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * BufferView_pimpl.h:
8916         * BufferView_pimpl.C:
8917         * kbmap.h:
8918         * kbmap.C:
8919         * kbsequence.h:
8920         * kbsequence.C:
8921         * lyxfunc.h:
8922         * lyxfunc.C:
8923         * text2.C: use key_state/mouse_state
8924
8925 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8926
8927         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8928         and LSubstring
8929
8930         * chset.C: change include order
8931         (loadFile): use boost regex and get rid of LRegex and LSubstring
8932
8933         * Makefile.am (BOOST_LIBS): new variable
8934         (lyx_LDADD): use it
8935
8936         * LaTeX.C: change include order.
8937         (scanAuxFile): use boost regex and get rid of LRegex and
8938         LSubstring
8939         (deplog): ditto
8940
8941 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * ColorHandler.h:
8944         * ColorHandler.C:
8945         * FontInfo.h:
8946         * FontInfo.C: moved to frontends/xforms/
8947
8948         * FontLoader.h:
8949         * FontLoader.C: moved into frontends for GUIIzation
8950
8951         * Makefile.am:
8952         * lyx_gui.C:
8953         * lyxfont.C:
8954         * lyxfunc.C: changes from above
8955
8956 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8957
8958         * LColor.C: remove spurious X include
8959
8960         * BufferView_pimpl.C:
8961         * Makefile.am:
8962         * font.h:
8963         * font.C:
8964         * text.C:
8965         * text2.C: move font metrics to frontends/
8966
8967 2002-05-24  Juergen Vigna  <jug@sad.it>
8968
8969         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8970         setting the undo_cursor.
8971
8972         * ParagraphParameters.h: include local includes first.
8973
8974 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * BufferView_pimpl.C:
8977         * BufferView_pimpl.h:
8978         * Makefile.am:
8979         * WorkArea.h:
8980         * WorkArea.C:
8981         * screen.C: move WorkArea into frontends/
8982
8983         * lyxscreen.h:
8984         * screen.C:
8985         * text.C:
8986         * BufferView.C:
8987         * BufferView2.C: move LyXScreen into frontends/
8988
8989         * lyxlookup.h:
8990         * lyxlookup.C:
8991         * lyx_gui.C: move lyxlookup into frontends/xforms/
8992
8993 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8994
8995         * BufferView2.C:
8996         * BufferView_pimpl.C:
8997         * FontLoader.C:
8998         * LyXView.h:
8999         * LyXView.C:
9000         * Makefile.am:
9001         * WorkArea.C:
9002         * XFormsView.h:
9003         * XFormsView.C:
9004         * buffer.C:
9005         * bufferlist.C:
9006         * bufferview_funcs.C:
9007         * converter.C:
9008         * importer.C:
9009         * lyx_cb.C:
9010         * lyx_gui.C:
9011         * lyx_main.C:
9012         * lyx_find.C:
9013         * lyxfunc.C:
9014         * lyxvc.C:
9015         * minibuffer.C:
9016         * text.C:
9017         * text2.C:
9018         * trans.C:
9019         * vc-backend.C: move LyX/XFormsView into frontends/
9020
9021 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * Makefile.am:
9024         * PainterBase.C:
9025         * PainterBase.h:
9026         * Painter.C:
9027         * Painter.h:
9028         * WorkArea.C:
9029         * WorkArea.h:
9030         * screen.C:
9031         * tabular.C:
9032         * text.C:
9033         * text2.C: move Painter to frontends/
9034
9035 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9036
9037         * buffer.C: comment out some some code that depend upon lyx_format
9038         < 220
9039
9040         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9041         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9042
9043         * buffer.h (NO_COMPABILITY): turn off compability
9044
9045         * ColorHandler.C: include scoped_array.hpp
9046
9047         * font.C: Use more specific smart_ptr header.
9048         * Painter.C: ditto
9049         * gettext.C: ditto
9050         * ShareContainer.h: ditto
9051         * lyx_main.h: ditto
9052         * kbmap.h: ditto
9053         * FontInfo.h: ditto
9054         * BufferView_pimpl.h: ditto
9055         * ColorHandler.h: ditto
9056
9057         * kbmap.C (defkey): change call to shared_ptr::reset
9058
9059 2002-05-21  Juergen Vigna  <jug@sad.it>
9060
9061         * buffer.C (insertErtContents): fix to insert ert asis if it is
9062         non empty. Skip it completely if it contains only whitespaces.
9063
9064 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * BufferView_pimpl.C:
9067         * BufferView2.C: clear selection on paste (bug 393)
9068
9069 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9070
9071         * DepTable.C: include ctime
9072
9073 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9074
9075         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9076
9077 2002-05-14  Juergen Vigna  <jug@sad.it>
9078
9079         * text.C (breakParagraph): fixed function to honor the keepempty
9080         layout in the right maner and also to permit the right breaking
9081         algorithm on empty or non empyt keepempty paragraphs.
9082
9083         * paragraph.C (breakParagraph): we have to check also if the par
9084         is really empty (!size()) for isempty otherwise we do the wrong
9085         paragraph break.
9086
9087 2002-05-10  Juergen Vigna  <jug@sad.it>
9088
9089         * buffer.[Ch] : The following are only changes to the ert
9090         compatibility read reading old LaTeX layout and font stuff and
9091         convert it to ERTInsets.
9092
9093         * buffer.h: added isErtInset().
9094
9095         * buffer.C (struct ErtComp): add a fromlayout bool to check
9096         if we're inside a LaTeX layout.
9097         (isErtInset): new helper function.
9098         (insertErtContents): look for other ert insets before this one
9099         and insert the contents there, so that we don't have subsequent
9100         ERT insets with nothing between them. This way we create only one
9101         inset with multiple paragraphs. Also check if we don't insert only
9102         spaces ' ' as they are ignored anyway afterwards in the .tex file
9103         so if we have only spaces we will ignore this latex part in the
9104         new file.
9105         (parseSingleLyXformat2Token \\layout): better compatibility when
9106         reading layout-latex stuff.
9107         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9108         language tag.
9109         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9110         stuff after reading the inset only get the information back from
9111         the stack.
9112
9113 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9114
9115         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9116
9117         * LaTeXFeatures.C (getBabelOptions): New method.
9118
9119 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9120
9121         * BufferView_pimpl.C (Dispatch): work around missing argument for
9122         'layout'
9123
9124 2002-05-08  Juergen Vigna  <jug@sad.it>
9125
9126         * text.C (leftMargin): handle paragraph leftindent.
9127
9128         * paragraph.C (writeFile): write the new \\leftindent tag.
9129         (validate): handle leftindent code.
9130         (TeXEnvironment): handle paragraphleftindent code again.
9131
9132         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9133
9134         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9135         for paragrap_extra indent code and new token \\leftindent.
9136         (latexParagraphs): handle the leftindent as environment.
9137
9138         * ParameterStruct.h: added leftindent support.
9139
9140         * ParagraphParameters.C (leftIndent): added support functions for
9141         the paragraph left indent.
9142
9143         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9144         more appropriate.
9145
9146 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9147
9148         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9149         inside insetERT.
9150
9151         * text.C (computeBidiTables): No bidi in insetERT.
9152
9153         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9154         in RTL documents.
9155
9156 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9157
9158         * version.C.in: pre 5
9159
9160 2002-05-02  José Matos  <jamatos@fep.up.pt>
9161         * buffer.C (makeDocBookFile): white space changes, add newline to
9162         command styles.
9163         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9164
9165         * tabular.C (docBook): fix typo.
9166
9167 2002-05-03  Juergen Vigna  <jug@sad.it>
9168
9169         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9170         change in LyXText as we can not be sure it was not freed.
9171         (drawOneRow): remove unused code.
9172
9173         * text.C (drawInset): redo the calculation of the need_break_row as
9174         it could have a row which was already freed.
9175         (draw): look at the return value of drawInset and return false if
9176         it also returned false.
9177         (paintRowText): look at the return value of draw and return false if
9178         it also returned false.
9179
9180         * lyxtext.h: added bool return type to drawInset() and draw() so that
9181         if we have a change in the row so that the rowbreak has to be redone
9182         we abort drawing as it will be called again.
9183
9184 2002-05-02  Juergen Vigna  <jug@sad.it>
9185
9186         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9187         a change in the maintext also if we're inside an inset.
9188         (Dispatch): set the cursor again after a break line and after the
9189         screen has been updated as it could be we're in a different row.
9190
9191         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9192         to set the cursor behind the pargraph with > size().
9193         (setCursor): check also for the same paragraph when checking where
9194         to put the cursor if we have a NFR inset.
9195
9196         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9197         parts of layout read further up as it still was in the wrong
9198         position.
9199
9200 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * screen.C (drawFromTo): change sine fullRebreak always return
9203         true.
9204
9205         * buffer.C (parseSingleLyXformat2Token): reindent some
9206
9207         * BufferView_pimpl.C (update): change since fullRebreak always
9208         return true.
9209         (Dispatch): git rid of the last hardcoded "Standard"s.
9210
9211 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9212
9213         * text2.[Ch] (fullRebreak): make it return void now that we always
9214         returned true.
9215
9216 2002-04-30  Juergen Vigna  <jug@sad.it>
9217
9218         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9219         ert compatibility check for "latex" layout.
9220
9221 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9224         minipages: use col% instead of p%, and also use the current font.
9225         (makeLaTeXFile): Fix use babel condition.
9226         (parseSingleLyXformat2Token): Correct font when reading old floats.
9227
9228 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9229
9230         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9231         inserting list of floats.
9232
9233 2002-04-25  Herbert Voss  <voss@lyx.org>
9234
9235         * MenuBackend.C (expand): don't add the graphics extensions to the
9236         export menu
9237
9238 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9241         non-existing layout, do not complain if it was the default layout
9242         of the original class (bug #342)
9243
9244 2002-04-24  Juergen Vigna  <jug@sad.it>
9245
9246         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9247         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9248
9249 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9250
9251         * buffer.C (getBibkeyList): If using \bibliography, return the
9252         option field with the reference itself. Enables us to provide natbib
9253         support when using \bibliography.
9254
9255 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9256
9257         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9258
9259         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9260         natbib is provided by the LaTeX class.
9261
9262 2002-04-23  Juergen Vigna  <jug@sad.it>
9263
9264         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9265         Wakeup functions.
9266
9267         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9268
9269 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9272
9273         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9274         ensuremath around textordmasculine, textordfeminine and
9275         textdegree.
9276
9277 2002-04-19  Juergen Vigna  <jug@sad.it>
9278
9279         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9280         reinitializing the buffer otherwise row-dimensions may be wrong.
9281         (update): reset also the selection cursors if they do exits otherwise
9282         their x/y positions may be wrong.
9283
9284         * text2.C (cursorDown): don't enter the inset if we came from a row
9285         above and are one row over the inset.
9286
9287         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9288         really leaving an inset.
9289
9290 2002-04-18  Juergen Vigna  <jug@sad.it>
9291
9292         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9293         of the selected paragraph does not have the selected layout also if
9294         the last one had!
9295
9296         * text2.C (setLayout): fixed bug which did not change last selected
9297         paragraph.
9298
9299         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9300         changed the read and substituted \\end_float with \\end_inset!
9301
9302         * BufferView_pimpl.C (cursorPrevious):
9303         (cursorNext): fixed to make it work with rows heigher than the work
9304         area without moving the cursor only the draw of the row.
9305         (workAreaMotionNotify): fix jumping over high rows.
9306
9307 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9308
9309         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9310         Ressler.
9311
9312 2002-04-16  Juergen Vigna  <jug@sad.it>
9313
9314         * text2.C (setCursor): set also the irow().
9315         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9316         (cursorUp):
9317         (cursorDown): support for locking an inset if the x_fix value goes
9318         inside it. That way I can transverse insets too with cursor up/down.
9319
9320         * lyxrow.h: added irow helper function same as other (i) functions.
9321
9322         * BufferView_pimpl.C (cursorPrevious):
9323         (cursorNext): fixed for insets!
9324
9325 2002-04-15  Juergen Vigna  <jug@sad.it>
9326
9327         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9328         position otherwise it is wrong in some cases.
9329
9330         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9331         inside the inset before the call.
9332
9333 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9334
9335         * buffer.[Ch] (getBibkeyList): make it const.
9336
9337 2002-04-12  Juergen Vigna  <jug@sad.it>
9338
9339         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9340
9341         * text2.C (getCursorX): new helper function
9342         (setCursor): compute also ix_
9343         (setCursorFromCoordinates): set also ix.
9344
9345         * lyxcursor.h: added ix_ and helper functions.
9346
9347         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9348
9349         * buffer.C (insertStringAsLines): dont break paragraph if the this
9350         paragraph is inside an inset which does not permit it!
9351
9352         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9353         also with no chars on this paragraph.
9354         (paintRowText): only paint stuff if it's inside the workarea!
9355
9356         * paragraph.C (breakParagraph): honor keepempty flag and break the
9357         paragraph always below not above.
9358
9359         * BufferView2.C (unlockInset): update the paragraph layout on inset
9360         unlock as we changed paragraph in such a case.
9361
9362         * lyxfind.C (LyXFind): clear the former selection if not found!
9363
9364         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9365         again called in insertChar().
9366
9367         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9368         an inset which uses the whole row!
9369         (rightMargin): ditto.
9370         (insertChar): force a rebreak if we inserted an inset!
9371
9372 2002-03-28  Herbert Voss  <voss@lyx.org>
9373
9374         * lyxlength.[Ch]: add inBP() to get the right PS-point
9375         units (BigPoint). With inPixels we have rounding errors
9376
9377 2002-04-11  Juergen Vigna  <jug@sad.it>
9378
9379         * text2.C (setCursorFromCoordinates): set iy to the right value.
9380         (setCursor): add check if row->previous exists!
9381
9382         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9383         an old float_type as this was the case in the old code!
9384
9385         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9386
9387         * BufferView2.C (showLockedInsetCursor): use iy
9388         (fitLockedInsetCursor): ditto
9389
9390         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9391         locked insets as there we have the right value now.
9392
9393         * lyxcursor.C: added iy_ variable and iy functions to set to the
9394         baseline of cursor-y of the locked inset.
9395
9396         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9397         (setCursor): fixed for insets which need a full row.
9398
9399         * text.C (rowLastPrintable): don't ignore the last space when before
9400         an inset which needs a full row.
9401         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9402         as last character of a row when before a inset which needs a full row.
9403
9404 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9405
9406         * version.C.in: update date
9407
9408         * text2.C (fullRebreak): try to always return true and see what
9409         happens...
9410
9411 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * MenuBackend.C (expand): use Floating::listName
9414
9415         * FloatList.C (FloatList): add listName argument to the built-in
9416         floats
9417
9418         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9419         text associated with the float.
9420
9421 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9424
9425 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9426
9427         * ShareContainer.h: add a couple of missing typenames.
9428
9429 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9430
9431         * lyxrc.C (getDescription): use _() correctly rather than N_().
9432
9433 2002-03-28  Herbert Voss  <voss@lyx.org>
9434
9435         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9436         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9437
9438 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9441         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9442
9443 2002-03-29  Juergen Vigna  <jug@sad.it>
9444
9445         * lyxfunc.C (dispatch): add a missing fitCursor call.
9446
9447         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9448         it was scrolled by a cursor move, so return the bool status.
9449
9450         * BufferView.C (fitCursor): return the bool flag also to the outside
9451         world as this is needed.
9452
9453         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9454
9455         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9456         call the edit() as it is not needed (and wrong) IMO.
9457         (workAreaButtonPress): set the screen_first variable before evt.
9458         unlock the inset as this may change screen_first and then we have
9459         a wrong y position for the click!
9460
9461 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * MenuBackend.C (expand): another translation that I missed
9464
9465 2002-03-28  Juergen Vigna  <jug@sad.it>
9466
9467         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9468
9469         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9470
9471 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9474
9475         * MenuBackend.C (expand): fix export/view/update when there is no
9476         document open.
9477
9478 2002-03-27  Herbert Voss  <voss@lyx.org>
9479
9480         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9481         and text%
9482
9483 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * bufferview_funcs.C (currentState): only show paragraph number
9486         for is DEVEL_VERSION is set.
9487
9488         * lyxfunc.C (dispatch): put warning in INFO channel
9489
9490         * MenuBackend.C (expand): translate the name of floats
9491
9492         * FloatList.C (FloatList): mark the float names for translation
9493
9494         * converter.C (convert): use LibScriptSearch
9495
9496 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * MenuBackend.C (defaults): fix default menu (we might as well get
9499         rid of it...)
9500
9501 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9502
9503         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9504         directory.
9505
9506 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * lyxvc.C: reorder includes.
9509
9510 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9513           properly
9514
9515 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * CutAndPaste.C: change layouts earlier on paste
9518           to avoid crashing when calling getFont()
9519
9520 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9521
9522         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9523         irritating #error.
9524
9525 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9526
9527         * WorkArea.C: remove 'Pending' debug message.
9528
9529         * most files: ws cleanup
9530
9531         * buffer.[Ch]: ws changes
9532
9533         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9534
9535 2002-03-21  Juergen Vigna  <jug@sad.it>
9536
9537         * tabular.C (SetMultiColumn): collapse also the contents of the
9538         cells and set the last border right. Added a Buffer const * param.
9539
9540 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9541
9542         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9543         linking or not.
9544
9545 2002-03-19  Juergen Vigna  <jug@sad.it>
9546
9547         * text2.C (clearSelection): reset also xsel_cache.
9548
9549         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9550         where it needs to be called (John tells us to do so too :)
9551         (selectionLost): reset sel_cache.
9552
9553         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9554
9555 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * text2.C (setCursorIntern): put debuging code in INSETS channel
9558
9559 2002-03-19  André Pönitz <poenitz@gmx.net>
9560
9561         * lyxfunc.C: tiny whitespace change
9562
9563 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * ToolbarDefaults.C (init):
9566         * LyXAction.C (init):
9567         * commandtags.h:
9568         * BufferView_pimpl.C (Dispatch):
9569         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9570
9571 2002-03-19  Allan Rae  <rae@lyx.org>
9572
9573         * exporter.C (Export): removeAutoInsets before doing anything else.
9574         While I've just introduced a dependency on BufferView this really is
9575         the best place to clean the buffer otherwise you need to cleanup in
9576         a dozen places before calling export or cleanup in a dozen functions
9577         that export calls.
9578
9579         * converter.C (runLaTeX):
9580         (scanLog): Better handling of removeAutoInsets and screen updates.
9581
9582         * lyxfunc.C (dispatch): small whitespace changes
9583
9584 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9585
9586         * WorkArea.C (C_WorkAreaEvent): return a value.
9587         (event_cb): return 1 if we handled the event, 0 otherwise.
9588
9589         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9590
9591 2002-03-18  Juergen Vigna  <jug@sad.it>
9592
9593         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9594         (GetAdditionalWidth): ditto.
9595         (RightLine): ditto.
9596         (LeftLine): ditto.
9597
9598         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9599         inset if we're there actually (probably not used right now but this
9600         is the direction to go for unifying code).
9601         (paste): disable code to clear the selection.
9602
9603         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9604         inside an InsetText and move the check further up as it is in the
9605         wrong place.
9606
9607         * text2.C (pasteSelection): set a selection over the pasted text.
9608
9609 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9610
9611         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9612         and libgraphics to build on Cygwin.
9613
9614 2002-03-15  Juergen Vigna  <jug@sad.it>
9615
9616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9617         inserting an Inset into the paragraph. I know this is not the best
9618         fix but we already use current_view in CutAndPaste so we will remove
9619         all of it's using at the same time.
9620
9621         * buffer.C (sgmlError): deactivated function till it is rewritten in
9622         the right mode, now it can create problems.
9623
9624         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9625         before accessing it.
9626
9627 2002-03-14  Juergen Vigna  <jug@sad.it>
9628
9629         * undo_funcs.C (textHandleUndo): do the right thing when updating
9630         the inset after the undo/redo.
9631
9632         * text2.C (setCursor): just some testcode for #44 not ready yet.
9633
9634         * undo_funcs.C (textHandleUndo): set the next() and previous()
9635         pointers of the paragraph to 0 before deleting otherwise we have
9636         problems with the Paragraph::[destructor].
9637
9638         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9639         on a paragraph insertion.
9640
9641 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9642
9643         * buffer.C (asciiParagraph): use += operator for char append to
9644         string.
9645
9646         * paragraph.C (getFontSettings): compare >= not just >
9647         (highestFontInRange): ditto
9648         (setFont): ditto
9649
9650 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * paragraph.C: change several algorithm to be more appripriate for
9653         the problem domain. This is lookip in FontList and in the InsetList.
9654
9655 2002-03-13  André Pönitz <poenitz@gmx.net>
9656
9657         * commandtags.h:
9658         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9659
9660 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * commandtags.h:
9663         * LyXAction.C:
9664         * lyxfunc.C:
9665         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9666
9667 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9668
9669         * Painter.C (display): anon helper function, adjust code for this
9670         change.
9671         (pixmap): remove function.
9672
9673         * Painter.h: remove private display variable.
9674
9675         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9676
9677 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9678
9679         * WorkArea.[Ch]: remove figinset_canvas cruft.
9680
9681 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9682
9683         * lyxtextclass.C (operator): add one item cache optimization.
9684
9685         * bufferlist.h: doxy changes
9686
9687         * bufferlist.C: ws changes
9688
9689         * DepTable.[Ch] (ext_exist): place const in the right spot.
9690
9691         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9692         call resizeInsets.
9693         (workAreaExpose): call resizeInsets when the with BufferView changes.
9694         (Dispatch): adjust for protectedBlank removal
9695         (specialChar): call updateInset if the insert went ok.
9696
9697         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9698         specialChar instead.
9699
9700         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9701
9702         * BufferView.h: doxy change
9703
9704         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9705
9706         * lyxtextclass.C (operator[]): remove non-const version
9707         (defaultLayout): remove non-const version
9708
9709 2002-03-12  Juergen Vigna  <jug@sad.it>
9710
9711         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9712         did resize the LyXText too.
9713
9714         * buffer.C (readLyXformat2): set layout information on newly allocated
9715         paragraphs.
9716
9717         * tabular.C (OldFormatRead): set layout information on the paragraph.
9718
9719 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9720
9721         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9722
9723 2002-03-11  Juergen Vigna  <jug@sad.it>
9724
9725         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9726         plainly wrong.
9727         (resizeCurrentBuffer): force also the insets to resize themselfes.
9728         (moveCursorUpdate): fixed up for InsetText.
9729
9730 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9731
9732         * commandtags.h:
9733         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9734         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9735         value of Dialogs::tooltipsEnabled().
9736         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9737
9738 2002-03-08  Juergen Vigna  <jug@sad.it>
9739
9740         * BufferView_pimpl.C (updateInset): update inset inside inset also
9741         if it isn't inside theLockingInset().
9742
9743 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9744
9745         * buffer.C (asciiParagraph): redo some of the word and line length
9746         handling.
9747         (getLists): look for Caption instead of caption.
9748
9749 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * buffer.C (Buffer): initialize niceFile to true
9752         (makeLaTeXFile):
9753         (makeLinuxDocFile):
9754         (makeDocBookFile): make sure niceFile is true on exit
9755
9756 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9757
9758         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9759
9760 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9761
9762         * LyXSendto.C: remove.
9763         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9764         * lyx_gui.C: remove now-redundant comment.
9765         * ColorHandler.h: remove forward declaration of class WorkArea.
9766         * lyxfunc.C: remove #include "WorkArea.h".
9767
9768 2002-03-07  Juergen Vigna  <jug@sad.it>
9769
9770         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9771         got moved away with the DEPM and also set the inset_owner always
9772         right which before could have been omitted.
9773
9774 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9775
9776         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9777         wanted layout is not found.
9778
9779 2002-03-07  Juergen Vigna  <jug@sad.it>
9780
9781         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9782
9783 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * paragraph.C (breakParagraph): use default layout not layout of
9786         prev paragraph.
9787         (Paragraph): clear ParagraphParameters.
9788
9789 2002-03-06  Juergen Vigna  <jug@sad.it>
9790
9791         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9792         otherwise it would not be a valid lenght. Fixed a special case in
9793         the minipage compatibility read where we end the document with a
9794         minipage.
9795
9796         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9797         was set as it could be 0 for InsetTexts first entry.
9798
9799 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9800
9801         * paragraph.C (writeFile): if layout is empty write out
9802         defaultLayoutName().
9803
9804         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9805         file without named layout we set layout to defaultLayoutName().
9806
9807 2002-03-06  Juergen Vigna  <jug@sad.it>
9808
9809         * CutAndPaste.C (copySelection): set layout for new paragraph.
9810
9811         * text.C (prepareToPrint): leave ERT inset left aligned
9812         (leftMargin): don't indent paragraphs inside ERT insets
9813
9814 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * paragraph.C (breakParagraph): dont call clear do the work manually
9817
9818         * paragraph.[Ch] (clear): remove function
9819
9820 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9821
9822         * paragraph.C (Paragraph): dont call clear, the work has already
9823         been done.
9824
9825         * lyxtextclass.C (operator): assert if n is empty
9826
9827         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9828         work manually instead.
9829
9830 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9831
9832         * BufferView_pimpl.C: protect selectionLost against text == 0
9833
9834 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9835
9836         * text.C (breakParagraph): fix a setting layout to '0' problem.
9837
9838 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9839
9840         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9841         final location of file, for the included files, and graphics.
9842
9843 2002-03-05  Juergen Vigna  <jug@sad.it>
9844
9845         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9846
9847 2002-03-04  Juergen Vigna  <jug@sad.it>
9848
9849         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9850
9851         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9852         last column of multicolumn cells.
9853         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9854
9855 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9856
9857         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9858         file if it doesn't go to a temporary file.
9859
9860         * buffer.C (sgmlOpenTag):
9861         (sgmlCloseTag):  remove extra newline insertion.
9862
9863 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * text.C (getRowNearY): comment out debug msg
9866
9867 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9868
9869         * text2.C: first -> first_y
9870
9871         * text.C (getRowNearY): add some attemts at a possible
9872         optimization, not working.
9873
9874         * tabular.[Ch]: add BufferParams to several function so that newly
9875         created paragraph can be initialized to he default layotu for the
9876         buffers textclass.
9877
9878         * tabular-old.C (ReadOld): add buf->params to call of Init
9879
9880         * screen.C: rename text->first to text->first_y
9881
9882         * paragraph.C (breakParagraph): always set layout in the broken
9883         paragraph
9884
9885         * lyxtextclass.C (Read): remove lowercase
9886         (hasLayout): ditto
9887         (operator): ditto
9888         (delete_layout): ditto
9889
9890         * lyxtext.h: rename first -> first_y
9891
9892         * lyxlayout.C (Read): remove lowercase
9893         (name): ditto
9894         (setName): ditto
9895         (obsoleted_by): ditto
9896
9897         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9898
9899         * buffer.C (insertErtContents): add params are to InsetERT
9900         (parseSingleLyXformat2Token): add code to check if a paragraphs
9901         layout really exist.
9902         (parseSingleLyXformat2Token): add params to several inset
9903         constructors
9904         (asciiParagraph): remove lowercase, do the layout comparisons with
9905         no_case
9906
9907         * BufferView_pimpl.C (cursorNext): first -> first_y
9908         (resizeCurrentBuffer): first -> first_y
9909         (updateScrollbar): first -> first_y
9910         (scrollCB): first -> first_y
9911         (workAreaMotionNotify): first -> first_y
9912         (workAreaButtonPress): first -> first_y
9913         (checkInsetHit): first -> first_y
9914         (cursorPrevious): first -> first_y
9915         (cursorNext): first -> first_y
9916         (Dispatch): add buffer_->params to severl inset contructors
9917
9918 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * lyxlayout.C (Read): remove some debug info that I forgot.
9921
9922         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9923         clean up the code slightly.
9924         (makeLinuxDocFile): ditto
9925         (makeDocBookFile): ditto
9926
9927         * text2.C: layout as string
9928
9929         * text.C: layout as string
9930
9931         * paragraph_pimpl.C: layout as string
9932
9933         * paragraph.[Ch]: layout as string
9934
9935         * lyxtextclasslist.[Ch]: layout as string
9936
9937         * lyxtextclass.[Ch]: layout as string
9938
9939         * lyxtext.h: layout as string
9940
9941         * lyxlayout.[Ch]: layout as string
9942
9943         * lyx_cb.C: layout as string
9944
9945         * bufferview_funcs.C: layout as string
9946
9947         * bufferparams.C: layout as string
9948
9949         * buffer.C: layout as string
9950
9951         * LyXView.[Ch]: layout as string
9952
9953         * LaTeXFeatures.[Ch]: layout as string
9954
9955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9956
9957         * BufferView_pimpl.C: change current_layout to string, remove
9958         lyx::layout_type.
9959         (Dispatch):
9960         (smartQuote):
9961         (insertInset):
9962         (workAreaButtonRelease): layout as string
9963
9964         * BufferView2.C (unlockInset): adjust
9965
9966         * vspace.C (asLatexCommand): use an explict temp variable.
9967
9968 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * Makefile.am: use FRONTEND_*
9971
9972 2002-03-01  Juergen Vigna  <jug@sad.it>
9973
9974         * tabular.C (SetWidthOfMulticolCell): changed to something better
9975         I hope but still work in progress.
9976         (recalculateMulticolumnsOfColumn): renamed function from
9977         recalculateMulticolCells as it is more appropriate now.
9978         (SetWidthOfCell): calculate multicols better.
9979
9980 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9983
9984         * lyxfunc.C (processKeySym): print sequence also if it is
9985         `deleted' (complete)
9986
9987         * kbsequence.C (print): print sequence even if it is deleted
9988         (complete would be a better word, actually).
9989
9990         * lyxfunc.C (dispatch): print complete options after a prefix key
9991
9992         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9993
9994 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9995
9996         * text2.C (setCharFont): eliminate setCharFont code duplication.
9997
9998 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10001         LFUN_TABULAR_FEATURE (bug #177)
10002
10003 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * Makefile.am: remove figure.h
10006
10007 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10008
10009         * Bufferview_pimpl.C:
10010         * CutAndPasteC:
10011         * LaTeX.C:
10012         * LyXSendto.C:
10013         * buffer.C:
10014         * bufferlist.C:
10015         * converter.C:
10016         * language.C:
10017         * lyxfunc.C:
10018         * lyxvc.C:
10019         * paragraph.C:
10020         * text.C:
10021         * text2.C: remove #include "lyx_gui_misc.h".
10022
10023         * LaTeX.C: added #include <cstdio>
10024
10025 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10028         that the paragraph following this one can have.
10029
10030         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10031
10032         * vspace.C (asLatexCommand): fix bogus gcc warning
10033
10034         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10035
10036 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10037
10038         * text2.C (setLayout): get rid of redundant code
10039
10040 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10041
10042         * text2.C (incDepth): make sure depth cannot be increased beyond
10043         reasonable values.
10044
10045 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10046
10047         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10048         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10049
10050         * PainterBase.h (image):
10051         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10052         a LyXImage const *.
10053
10054 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * BufferView.C:
10057         * BufferView.h:
10058         * BufferView_pimpl.C:
10059         * BufferView_pimpl.h:
10060         * LaTeXFeatures.C:
10061         * LyXAction.C:
10062         * LyXView.C:
10063         * Makefile.am:
10064         * UpdateList.h:
10065         * UpdateList.C:
10066         * buffer.C:
10067         * figure.h:
10068         * figureForm.C:
10069         * figureForm.h:
10070         * figure_form.C:
10071         * figure_form.h:
10072         * lyx_cb.C:
10073         * lyx_gui.C:
10074         * lyx_gui_misc.C:
10075         * lyxfunc.C:
10076         * sp_base.h:
10077         * sp_ispell.h:
10078         * sp_pspell.h:
10079         * sp_spell.C: remove fig inset, and the crap house of
10080           cards that follows it
10081
10082 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * Makefile.am:
10085         * lyxserver.C:
10086         * os2_defines.h:
10087         * os2_errortable.h:
10088         * nt_defines.h: move .h into support/
10089
10090         * vms_defines.h: remove
10091
10092         * WorkArea.C: add space in debug output
10093
10094         * text2.C:
10095         * paragraph.C:
10096         * buffer.C: add WITH_WARNINGS
10097
10098         * vc-backend.h:
10099         * vc-backend.C:
10100         * bufferlist.C: s/retrive/retrieve/, add docs
10101
10102         * vspace.h:
10103         * vspace.C:
10104         * kbmap.h:
10105         * lyxlength.h:
10106         * lyxgluelength.h:
10107         * length_common.h:
10108         * chset.h:
10109         * chset.C: add docs
10110
10111         * lyxgui.C: add ID to X error handler
10112
10113         * lyxtestclass.c: fix typo
10114
10115 2002-02-26  Juergen Vigna  <jug@sad.it>
10116
10117         * tabular_funcs.C (write_attribute): changed so that some default
10118         attributes are not written at all.
10119         (getTokenValue): set default values before trying to read the
10120         value so we have the return value always set as default if we don't
10121         find the token we search for.
10122
10123         * tabular.C (Write): write bools as bools not as strings!
10124
10125 2002-02-22  Juergen Vigna  <jug@sad.it>
10126
10127         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10128         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10129
10130         * text.C (leftMargin): don't add an indent for paragraphs inside
10131         tabular cells (fix #208).
10132
10133 2002-02-21  José Matos  <jamatos@fep.up.pt>
10134
10135         * tabular.C (docBook): fixed support for long tables.
10136
10137 2002-02-20  Juergen Vigna  <jug@sad.it>
10138
10139         * text2.C (getFont): get the drawing font of the Inset if this
10140         paragraph is inside an inset (only important for InsetERT for now).
10141
10142         * buffer.C (insertErtContents): use new lanugage params in ERT
10143         constructor.
10144
10145         * CutAndPaste.C: commenting out seemingly uneeded code.
10146
10147 2002-02-19  Allan Rae  <rae@lyx.org>
10148
10149         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10150         Iterators might be simple to use but they also get invalidated.
10151         (removeAutoInsets): renamed saved cursor tracking variables and added
10152         some comments to clarify what everything does.
10153
10154 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10155
10156         * Chktex.C:
10157         * LaTeX.C:
10158         * LyXSendto.C:
10159         * converter.C:
10160         * lyx_cb.C:
10161         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10162         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10163
10164         * lyxfunc.C:
10165         * vc-backend.h: remove #include "support/syscall.h"
10166
10167         * LaTeX.C:
10168         * LyXSendto.C:
10169         * converter.C: rearrange #includes in Lars' approved fashion.
10170
10171         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10172         forward declare class Timeout in the header file.
10173
10174         * XFormsView.C: changes due to the above.
10175
10176         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10177         similar to LyXView.
10178
10179         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10180         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10181
10182 2002-02-18  José Matos  <jamatos@fep.up.pt>
10183
10184         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10185         insets contents.
10186
10187 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10188
10189         * a lot of small ws changes
10190         * add a lot of using std::XXX
10191         * use std construcs some places where approp.
10192         * use some exisint stuff from lyxfunctional where approp.
10193         * Make file changes to use partial linking (lets test this now...)
10194
10195 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10196
10197         * Chktex.C:
10198         * buffer.C:
10199         remove #include "support/syscontr.h" as it's redundant. Always has been.
10200
10201         * Chktex.C:
10202         * LaTeX.C:
10203         * LyXSendto.C:
10204         * converter.C:
10205         * lyx_cb.C:
10206         * vc-backend.C:
10207         change Systemcalls::System to Systemcalls::Wait and
10208         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10209         No change of functionality, just reflects the stripped down Systemcalls
10210         class.
10211
10212 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10213
10214         * debug.[Ch]: add a GRAPHICS type to the enum.
10215
10216 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10219
10220         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10221         there is an inset.
10222
10223 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10224
10225         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10226         match the changes below.
10227
10228         * text2.C (toggleInset): if there is not editable inset at cursor
10229         position, try to see if cursor is _inside_ a collapsable inset
10230         and close it.
10231
10232 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10233
10234         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10235         document menu has a nice checkbox
10236
10237 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * lyxlength.C (asLatexString): change PW to output as percent of
10240         \textwidth.
10241
10242         * lengthcommon.C: change '%' to 't%'
10243
10244         * lyxfunc.C (dispatch): a few comments from Martin
10245
10246 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * WorkArea.h:
10249         * WorkArea.C:
10250         * BufferView_pimpl.h:
10251         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10252           the X selection.
10253
10254 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10255
10256         * vspace.C (inPixels): fix compiler warning
10257
10258 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10259
10260         * lyxfunc.C (getStatus): fix status message for disabled commands.
10261
10262 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * BufferView_pimpl.C: fix crash on close buffer
10265         during selection (#227)
10266
10267 2002-01-27  Herbert Voss  <voss@lyx.org>
10268
10269         * buffer.C: link old Figure to new graphic inset
10270
10271 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10272
10273         * FontLoader.C (getFontinfo): Change the latex font names in order
10274         to match the names of type1inst.
10275
10276 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10277
10278         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10279
10280         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10281         (extchanged): ditto
10282         (ext_exist): ditto
10283         (remove_files_with_extension): ditto
10284         (remove_file): ditto
10285         (write): ditto
10286
10287         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10288         document is smaller than the work area height. Do not initialize
10289         static variables to 0.
10290
10291 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10294
10295         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10296         LFUN_LAYOUT_PARAGRAPHS.
10297
10298         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10299         tabular. It is possible to provide a possible cell, which will
10300         typically be the actcell from the corresponding insettabular
10301
10302         * lyxfunc.C (getStatus): small cleanup; disable
10303         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10304         true
10305
10306 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10309
10310         * paragraph.C (startTeXParParams):
10311         (endTeXParParams): new methods. The LaTeX code to
10312         start/end paragraph formatting
10313         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10314         empty (fixes bug #200)
10315
10316         * vspace.C (inPixels): adapt to the change below
10317         (inPixels): [later] more cleanups (remove unused variables)
10318
10319         * lyxlength.C (inPixels): change to use a width and a height as
10320         parameter.
10321
10322 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10325         Replaced with \paperwidth
10326
10327         * DepTable.C (insert): add std:: qualifier
10328
10329 2002-01-18  Allan Rae  <rae@lyx.org>
10330
10331         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10332         updated also?
10333
10334         * text.C (drawInset): Turned out I didn't know enough about how
10335         rebreaking worked.  This fixes most of the redraw problems.  I see
10336         an occasional cursor trail when a line is broken now and the cursor
10337         placement can seem out by a few pixels also after a rebreak.
10338
10339 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * buffer.C (parseSingleLyXformat2Token): update because minipage
10342         width is now a LyXLength
10343
10344         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10345
10346         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10347         math insets
10348
10349 2002-01-17  Juergen Vigna  <jug@sad.it>
10350
10351         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10352
10353         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10354         is set correctly and the inset is updated correctly.
10355
10356 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10359         the beginning of the loop.
10360
10361 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxrc.C: improve help for use_scalable_fonts
10364
10365 2002-01-17  Allan Rae  <rae@lyx.org>
10366
10367         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10368
10369 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10372         make sure to set their inset_owner to the right value (bug #171)
10373
10374 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10375
10376         * DepTable.h
10377         * DepTable.C: Implement mtime checking to reduce time spent doing
10378         CRCs.
10379
10380 2002-01-16  Juergen Vigna  <jug@sad.it>
10381
10382         * tabular.C (GetAdditionalHeight): one of error fixed.
10383
10384         * lyxrc.C (output): small fix in writing use_pspell.
10385
10386 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10387
10388         * sp_base.h: #include LString.h
10389
10390 2002-01-16  Allan Rae  <rae@lyx.org>
10391
10392         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10393         Can someone check this please?
10394
10395         * text.C (drawInset): It was possible that p.row would be removed by
10396         breakAgainOneRow upsetting a few other settings.  There may be another
10397         small tweak possible by setting need_break_row = 0 when p.row has been
10398         removed but I don't know enough about the logic here.
10399
10400 2002-01-15  Allan Rae  <rae@lyx.org>
10401
10402         * text.C (insertChar): removed conditional truism.
10403
10404         * BufferView2.C (removeAutoInsets): More tweaks.
10405         cur_par_prev could be a stray pointer.  Check for trailing empty line
10406         in case last line was cur_par and only had an error inset on it.
10407
10408 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10411         absolute
10412
10413         * vc-backend.C (most methods):
10414         * exporter.C (Export):
10415         * converter.C (convert):
10416         (runLaTeX):
10417         * LyXSendto.C (SendtoApplyCB):
10418         * lyxfunc.C (dispatch):
10419         (menuNew):
10420         (open):
10421         (doImport):
10422         * lyx_cb.C (AutoSave):
10423         (InsertAsciiFile):
10424         * BufferView_pimpl.C (MenuInsertLyXFile):
10425         * buffer.C (runChktex): use Buffer::filePath().
10426
10427         * buffer.h: rename filename to filename_; rename filepath to
10428         filepath_ and make it private
10429         (filePath): new method
10430
10431         * buffer.C (writeFile): use fileName()
10432         (getLatexName):
10433
10434         * lyx_main.C (init): fix starting  of LyX when the binary is a
10435         link from so,ewhere else.
10436
10437         * minibuffer.C: include <cctype> for isprint
10438
10439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10440
10441         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10442         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10443         name clash with InsetCollapsable's width function.
10444
10445 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10446
10447         * lastfiles.C: include <iterator>
10448
10449 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10452         std::count.
10453
10454         * buffer.C (makeLaTeXFile): ditto.
10455         Also make loop operation more transparent.
10456
10457 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10458
10459         * ToolbarDefaults.C: remove trailing comma closing namespace.
10460
10461         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10462
10463         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10464         as in WorkArea.
10465
10466         * trans.C (Load): comment out unused variable, allowed.
10467
10468 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10469
10470         * minibuffer.[Ch] (append_char): new method to recieve input from the
10471         drop-down completion browser. If a key was pressed, then recieve this
10472         char and append it to the existing string.
10473         (peek_event): modify the positioning data passed to the completion
10474         browser so that it can be placed above the minibuffer rather than below.
10475 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10476
10477         * LyXAction.C (init): alloe error-next for readonly documents.
10478
10479         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10480         count.
10481
10482 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10483
10484         * bufferlist.C (readFile): create the buffer _after_ checking that
10485         the file exists.
10486
10487         * lyxfunc.C (verboseDispatch): fix handling of arguments
10488
10489         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10490
10491         * lyxrc.C: use string::erase() instead of initializing to "".
10492
10493
10494 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * BufferView_pimpl.h:
10497         * BufferView_pimpl.C:
10498         * WorkArea.h:
10499         * WorkArea.C:
10500         * text2.C: tell X when we have made a selection for copying
10501
10502 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * BufferView_pimpl.C (MenuInsertLyXFile):
10505         * lyxfunc.C (menuNew):
10506         (open):
10507         (doImport): add shortcuts to directory buttons
10508
10509         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10510         open a float)
10511
10512         * lyxfunc.C (setStatusMessage):
10513         (getStatusMessage): new methods
10514         (getStatus):use setStatusMessage instead of setErrorMessage
10515         (dispatch): when function is disabled, set error message here
10516         [instead of in getStatus previously]
10517
10518         * BufferView_pimpl.C (workAreaButtonRelease): update
10519         toolbar/menubar here too.
10520
10521 2002-01-13  Allan Rae  <rae@lyx.org>
10522
10523         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10524         Now seems indestructible.  Remaining task is to audit all other
10525         code affected by deleteEmptyParagraphMechanism.  One small quirk
10526         left is that an empty document with an error in the preamble can
10527         be made to report an error but no error box appears.  I don't know
10528         where it goes.
10529         (removeAutoInsets): Improved comments.
10530
10531 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * Thesaurus.h:
10534         * Thesaurus.C: update for Aiksaurus 0.14
10535
10536 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10537
10538         * text2.C (firstParagraph): removed member function, all uses
10539         replaces with ownerParagraph
10540         (redoParagraphs): here
10541         (updateInset): here
10542         (toggleAppendix): here
10543         * BufferView2.C (insertErrors): here
10544         (setCursorFromRow): here
10545
10546 2002-01-13  Allan Rae  <rae@lyx.org>
10547
10548         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10549         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10550         There is still a way to segfault this although you may have to do this
10551         multiple times: Have an InsetERT with an unknown command in it.
10552         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10553         <down-arrow>, <Enter> again, View->DVI, BANG!
10554
10555         * text2.C (setCursor):
10556         (deleteEmptyParagraphMechanism):
10557         * lyxtext.h (setCursor):
10558         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10559         Making use of the return value may help fix other bugs.
10560
10561 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10564
10565         * LyXView.C (updateMenubar): call MenuBar::update here
10566         (updateToolbar): but not here
10567         (showState): do not update toolbar/menubar
10568
10569         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10570         should need to care about that.
10571
10572         * lyxfunc.C (verboseDispatch): simplify a bit
10573         (getStatus): have a version which takes a pseudoaction, and
10574         another which requires a (kb_action,string).
10575
10576         * LyXAction.C (retrieveActionArg): make it work also when action
10577         is not a pseudo-action.
10578         (getActionName): simplify a bit
10579         (helpText):
10580
10581 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * lyxfunc.C (verboseDispatch): new families of methods with
10584         several ways to specify a command and a bool to indicate whether
10585         the command name and shortcut should be displayed in minibuffer
10586         (eventually, we could extend that to a finer bitmask like
10587         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10588         (dispatch): the pristine dispatch command which just, well,
10589         dispatchs! Note it still sets its result to minibuffer; I'm not
10590         sure we want that.
10591
10592         * lyxfunc.h: remove setHintMessage
10593
10594         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10595
10596 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * BufferView_pimpl.C (specialChar): delete new inset if we have
10599         not been able to insert it.
10600
10601         * kbmap.C: revert to using int instead of kb_action, since all we
10602         are dealing with is pseudo-actions.
10603
10604         * LyXAction.C (searchActionArg): change to return int instead of
10605         kb_action, since the result is a pseudoaction.
10606
10607 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10608
10609         * buffer.C (insertErtContents): Fix (partially) the font bug.
10610
10611 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10612
10613         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10614         as the other one is broken on my machine!
10615
10616 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10617
10618         * commandtags.h:
10619         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10620
10621 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10622
10623         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10624         reflect their actual use. Provide compatibility code for older lyxrc
10625         files.
10626
10627         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10628         FL_NORMAL_STYLE.
10629         change names of popup font variables in line with the changes to lyxrc.C
10630
10631 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * buffer.C (asciiParagraph): avoid outputing a word twice after
10634         an inset.
10635
10636         * lyxrc.C (getDescription): document that document_path and
10637         template_path can be empty.
10638
10639 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10640
10641         * LaTeXFeatures.C (getMacros):
10642         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10643
10644         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10645
10646         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10647         getPackages.
10648         (getPackages): rename feature "floats" to "float". Use an array to
10649         iterate over 'simple' features (i.e. just a \usepackage). Add
10650         handling of "amsmath" (renamed from "amsstyle").
10651
10652 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10653
10654         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10655         features list.
10656
10657 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10658
10659         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10660         FuncStaus::FuncStatus & FuncStaus::some_method().
10661
10662 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10663
10664         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10665         of the func_satus stuff. Edited and massaged in various ways by
10666         JMarc.
10667
10668         * lyxfunc.C (getStatus): use FuncStatus
10669
10670 2002-01-08  Juergen Vigna  <jug@sad.it>
10671
10672         * text.C (nextBreakPoint): use function Inset::isChar().
10673
10674         * paragraph.C (TeXOnePar): use function
10675         Inset::forceDefaultParagraphs.
10676
10677         * buffer.C (latexParagraphs): use function
10678         Inset::forceDefaultParagraphs.
10679
10680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10681
10682         * lyx_gui.C (init): set the style of the menu popups to
10683         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10684
10685 2002-01-07  Juergen Vigna  <jug@sad.it>
10686
10687         * text.C (setHeightOfRow): small fix
10688         (prepareToPrint): don't look at alignment if we don't have the place
10689         for doing it.
10690
10691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10692
10693         * box.C: New file. Move the Box methods and functions out of box.h,
10694         following Lars' suggestion.
10695
10696 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10697
10698         * box.h: #include "support/LOstream.h", needed for inlined function.
10699
10700         * lyxtextclass.C:
10701         * lyxtextclasslist.C: added some using std declarations.
10702
10703 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * box.h: make signed dimensions to allow insets wider than
10706           the screen (bug #162)
10707
10708         * BufferView_pimpl.C: add some insetHit debug
10709
10710 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * vc-backend.C: add FIXME
10713
10714 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10715
10716         * lyxfunc.C (getStatus): enable code for showing math font status
10717         in toolbar/menu.
10718
10719 2002-01-07  Juergen Vigna  <jug@sad.it>
10720
10721         * text.C (nextBreakPoint): removed debug output not needed anymore.
10722
10723 2002-01-06  Juergen Vigna  <jug@sad.it>
10724
10725         * text.C (nextBreakPoint): fixed up this function we had this bug
10726         since ever but now hopefully we break row better.
10727         (insertChar): we have to check if an inset is the next char as it
10728         could now happen that a large inset is causing a break.
10729
10730 2002-01-05  Juergen Vigna  <jug@sad.it>
10731
10732         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10733         if it doesn't like to be drawed.
10734
10735 2002-01-04  Juergen Vigna  <jug@sad.it>
10736
10737         * BufferView2.C (lockInset): forgot to set a cursor.
10738
10739         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10740
10741 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10742
10743         * FormMathsPanel.C:
10744         * FormMathsPanel.h
10745         * MathsSymbols.C:
10746         * form_maths_panel.C:
10747         * form_maths_panel.h:
10748         * form_maths_panel.fd: implemented sub- and super- buttons in math
10749         panel.
10750
10751         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10752         (or ^ space) to be used as in TeX (req'd by André).
10753
10754         * lyxfunc.C: Allow ^ and _ again to be used both as
10755         super/subscript (mathed) and as themselves (in text).
10756
10757 2002-01-03  Allan Rae  <rae@lyx.org>
10758
10759         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10760         "LyX" or the filename of the current buffer if it has one.  This is a
10761         modified form of John Levon's patch.
10762
10763         * XFormsView.C (setWindowTitle): also set icon title.
10764
10765         * LyXView.h (setWindowTitle): signature changed.
10766         * XFormsView.h (setWindowTitle): ditto.
10767
10768 2002-01-02  Juergen Vigna  <jug@sad.it>
10769
10770         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10771
10772 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10773
10774         * screen.C (topCursorVisible): introduce a temp var for
10775         text->cursor.row(), handle the case where this row is null. (kindo
10776         hachish)
10777
10778         * text2.C (setCursor): add a couple of asserts.
10779
10780         * paragraph.h (inset_iterator): add -> operator
10781
10782         * paragraph.[Ch] (autoDeleteInsets): remove member function
10783
10784         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10785         cursor pos correctly and handle inset deletion by itself.
10786         (insertErrors): move iterator declaration out of for expression
10787
10788         * lyxtextclass.C: add <algorithm>
10789
10790         * Makefile.am: added the new files to sources, removed layout.C
10791
10792         * layout.C: removed file
10793
10794         * layout.h: remove LYX_DUMMY_LAYOUT
10795
10796         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10797         layout.
10798
10799         * lyxlayout.[Ch]:
10800         * lyxtextclass.[Ch]:
10801         * lyxtextclasslist.[Ch]: new files
10802
10803         * include order changes to a lot of files, also changes because of
10804         the six new files.
10805
10806 2001-12-27  Juergen Vigna  <jug@sad.it>
10807
10808         * buffer.C (asciiParagraph): more fixes.
10809
10810         * tabular.C (ascii): make ascii export support export of only the
10811         data separated by a column-delimiter.
10812         (ascii): better support for ascii export.
10813
10814         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10815
10816 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * tabular_funcs.C: use a "using std::getline" instead of the
10819         previous fix from Angus (necessary for cxx + lyxstring)
10820
10821 2001-12-24  Juergen Vigna  <jug@sad.it>
10822
10823         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10824
10825         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10826         problems. First check a minipage also if we have some ert-contents
10827         (not only on par->size(), second set the right depth of the paragraph
10828         on the relink to the root-paragraph-list!
10829
10830         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10831         which then did not anymore update the main paragraphs on undo/redo!
10832
10833 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10836         code. Support all font-changing funcs (even those which are not in
10837         menu currently). Support for reporting font settings in
10838         mathed (disabled until Andre provides a function on mathed's side).
10839
10840         * func_status.h (toggle): small helper function to set toggle
10841         state on a flag.
10842
10843 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10844
10845         * tabular_funcs.C: getline -> std::getline
10846
10847 2001-12-21  Juergen Vigna  <jug@sad.it>
10848
10849         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10850         accessed and could be 0 (I couldn't generate this but it seems
10851         Michael could!).
10852
10853 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10856         * tabular_funcs.h: here and include iosfwd
10857
10858 2001-12-20  Juergen Vigna  <jug@sad.it>
10859
10860         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10861         inside inset but undo_par was.
10862
10863 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * Thesaurus.C: always include <config.h> in sources.
10866
10867         * Painter.h:
10868         * lyxlookup.h:
10869         * box.h: do not include <config.h> in header files
10870
10871         * text.C (paintLastRow): remove unused variable
10872
10873         * text.C (transformChar):
10874         (insertChar):
10875         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10876
10877         * Painter.C (text):
10878         * font.C (width): rewrite to use uppercase() instead of
10879         islower/toupper.
10880
10881         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10882
10883 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lyxfind.C: clean up of find failure position change
10886
10887 2001-12-20  Juergen Vigna  <jug@sad.it>
10888
10889         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10890
10891         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10892         (TeXRow): added to LaTeX a single tabular row.
10893         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10894         (Latex): simplified and finally good LT-h/f support.
10895         (various_functions): just small adaptions for LT-h/f support.
10896
10897         * tabular_funcs.[hC]: added and moved here all not classfunctions
10898         of LyXTabular.
10899
10900 2001-12-19  Juergen Vigna  <jug@sad.it>
10901
10902         * tabular.[Ch]: better support for longtabular options (not finished
10903         yet!)
10904
10905 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * text.C (paintLastRow): use the label font instead of the font of
10908         the last character to compute the size of *_BOX. This makes more
10909         sense and avoids a crash with empty paragraphs.
10910         Use Painter::rectangle to draw EMPTY_BOX.
10911
10912 2001-12-19  Juergen Vigna  <jug@sad.it>
10913
10914         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10915         the paragraphs if the replaced paragraph is not the first one!
10916         Tried to delete not used paragraphs but does not work yet so for
10917         now it's inside #ifdef's and by default off!
10918
10919 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * MenuBackend.C: include "lyx_main.h" instead of declaring
10922         lastfiles (actually was declared as LastFiles* instead of a
10923         scoped_ptr).
10924
10925 2001-12-17  Juergen Vigna  <jug@sad.it>
10926
10927         * tabular.C (AppendColumn): applied John's fix
10928
10929 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * BufferView.h:
10932         * BufferView.C:
10933         * BufferView_pimpl.h:
10934         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10935
10936         * Makefile.am:
10937         * box.h: new start of class for above
10938
10939         * lyxfunc.C: ignore space-only minibuffer dispatches.
10940           Show the command name when it doesn't exist
10941
10942         * minibuffer.C: don't add empty lines to the history
10943
10944         * minibuffer.C: add a space on dropdown completion
10945
10946 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * text.C: fix line above/below drawing in insets
10949
10950 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * lyxlength.C (LyXLength): Initialize private variables.
10953
10954 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10955
10956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10957         when inserting error insets.
10958
10959 2001-12-13  Juergen Vigna  <jug@sad.it>
10960
10961         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10962         actually sometimes the before-paragraph.
10963         (setUndo): don't clear the redostack if we're not actually undoing!
10964
10965 2001-12-06  Juergen Vigna  <jug@sad.it>
10966
10967         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10968         and fixed redoing of main paragraph, so we can use it now ;)
10969
10970         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10971
10972 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10975         Juergen's request
10976
10977 2001-12-13  André Pönitz <poenitz@gmx.net>
10978
10979         * undostack.[Ch]:
10980         * undo_func.C: minor cleanup
10981
10982 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10985         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10986         font in urw-fonts package which is marked as -urw-fontspecific and
10987         does not work (incidentally, changing the encoding in the
10988         fonts.dir of this package to -adobe-fontspecific fixes the
10989         problem).
10990
10991         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10992         is a crash when undoing first paragraph (Juergen, please take a
10993         look). THis does not mean the undo fix is wrong, just that it
10994         uncovers problems.
10995
10996         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10997         the (Paragraph*) version when needed instead of duplicating the
10998         code.
10999
11000         * text.C (workWidth): use Inset::parOwner to find out where the
11001         inset has been inserted. This is a huge performance gain for large
11002         documents with lots of insets. If Inset::parOwner is not set, fall
11003         back on the brute force method
11004
11005         * paragraph_pimpl.C (insertInset):
11006         * paragraph.C (Paragraph):
11007         (cutIntoMinibuffer): set parOwner of insets when
11008         inserting/removing them
11009
11010         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11011
11012 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11013
11014         * commandtags.h:
11015         * LyXAction.C:
11016         * lyx_main.C:
11017         * lyxfunc.C:
11018         * mathed/formulabase.C:
11019         * mathed/math_cursor.[Ch]:
11020         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11021
11022
11023 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11024
11025         * lyxlength.[Ch] (operator!=): new function
11026
11027 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * text.C (workWidth): use Inset::parOwner to find out where the
11030         inset has been inserted. This is a huge performance gain for large
11031         documents with lots of insets. If Inset::parOwner is not set, fall
11032         back on the brute force method
11033
11034         * paragraph_pimpl.C (insertInset):
11035         * paragraph.C (Paragraph):
11036         (cutIntoMinibuffer): set parOwner of insets when
11037         inserting/removing them
11038
11039         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11040
11041 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * tabular-old.C (getTokenValue):
11044         * tabular.C (getTokenValue):
11045         (write_attribute): new versions for LyXLength
11046         (everywhere): adjust the use of widths
11047
11048         * tabular.h: change the type of widths from string to LyXLength
11049
11050 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11051
11052         * paragraph.C: fixed missing line number count when exporting
11053         Environments to LaTeX file
11054
11055         * buffer.C: added informational message for checking line numbers.
11056
11057 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11058
11059         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11060         paragraph, do the 'double space' part, but not the 'empty
11061         paragraph' one.
11062
11063         * text.C (workWidth): small optimization
11064         (getLengthMarkerHeight): use minimal size for negative lengths.
11065
11066 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11067
11068         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11069
11070         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11071
11072 2001-12-11  André Pönitz <poenitz@gmx.net>
11073
11074         * FontLoader.C:
11075         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11076
11077 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * text2.C: keep selection on a setFont()
11080
11081 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * lyx_cb.C: another bv->text misuse, from insert label
11084
11085 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * kbsequence.h:
11088         * kbsequence.C: re-instate nmodifier mask
11089
11090 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11091
11092         * lyx_main.h: make lyxGUI private.
11093
11094 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * lyxfind.C: place the cursor correctly on failed search
11097
11098 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * text.C (getLengthMarkerHeight): for small heights, the arrows
11101         are not always on top/bottom of the text
11102         (drawLengthMarker): smaller arrows; take the left margin in
11103         account; draw also vfills.
11104         (paintFirstRow):
11105         (paintLastRow): remove special code for vfill and standard spaces,
11106         since everything is handled in drawLengthMarker now.
11107
11108 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11109
11110         * buffer.C (insertErtContents): try to handle font and language
11111         interaction a bit better.g
11112
11113         * ColorHandler.C (updateColor): change the hash to cover the whole
11114         LColor enum, ws cleanup
11115         (getGCLinepars): ditto
11116         (getGCLinepars): only lookup in the linecache once.
11117
11118 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * iterators.C (operator++): Make the iterator more robust
11121
11122         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11123         (John's patch)
11124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11125
11126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxtext.h:
11129         * text.C: better added space drawing
11130
11131 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * LyXView.C:
11134         * BufferView2.C: fix layout combo update on inset unlock
11135
11136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * Makefile.am: don't compile unused files
11139
11140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * lyxfunc.C:
11143         * commandtags.h:
11144         * LyXAction.C: remove old LFUN_LAYOUTNO
11145
11146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * paragraph_pimpl.h:
11149         * paragraph_pimpl.C: isTextAt() doesn't need font param
11150
11151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * lyxlex.h:
11154         * lyxlex.C: little cleanup
11155
11156 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * BufferView_pimpl.C: fix insertAscii for insets
11159
11160 2001-12-05  Juergen Vigna  <jug@sad.it>
11161
11162         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11163         set the right font on the "multi" paragraph paste!
11164
11165 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * trans_decl.h:
11168         * trans_mgr.[Ch]:
11169         * trans.[Ch]:
11170         * lyxgluelength.C:
11171         * lyxlength.C: remove out-commented code.
11172
11173         * BufferView_pimpl:
11174         * CutAndPaste.C:
11175         * DepTable.C:
11176         * buffer.C:
11177         * chset.C:
11178         * lastfiles.C:
11179         * lyxlex.C:
11180         * lyxlex_pimpl.C:
11181         * lyxserver.C:
11182         * screen.C:
11183         * tabular-old.C:
11184         * tabular.C:
11185         * text.C:
11186         * trans_mgr.C:
11187         * vc-backend.C: change "while(" to "while ("
11188
11189         * lyxlength.[Ch]: add zero function to check if length is zero or
11190         not
11191         * lyxgluelength.C: use it
11192
11193 2001-12-05  Allan Rae  <rae@lyx.org>
11194
11195         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11196         Works for 2.95.3, from what I understand of Garst's reports this should
11197         work for other g++ versions.  We're screwed if the abs(int) definition
11198         changed between bugfix releases of gcc.
11199
11200 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * text.C: fix chapter label offset !
11203
11204 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * lyxtext.h:
11207         * text.C: fix hfill at end of line, clean up
11208
11209 2001-12-04  Juergen Vigna  <jug@sad.it>
11210
11211         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11212         that we force an update of the inset and it's owners if neccessary.
11213
11214 2001-12-03  Juergen Vigna  <jug@sad.it>
11215
11216         * text.C (rowLast): simplified code
11217
11218 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11219
11220         * lyxfunc.C: fix show options on timeout
11221
11222 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * screen.C (topCursorVisible): scroll half a page when the cursor
11225         reached top of bottom of screen
11226
11227 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * minibuffer.C: deactivate on loss of focus
11230
11231 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * vspace.[Ch] (operator!=): add operator.
11234
11235 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11236
11237         * BufferView_pimpl.C: refuse to open an inset when
11238         there's a selection.
11239
11240 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * BufferView_pimpl.C: allow to click on RHS of full row insets
11243
11244 2001-11-30  Juergen Vigna  <jug@sad.it>
11245
11246         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11247         insets for undo reasons.
11248
11249 2001-11-28  André Pönitz <poenitz@gmx.net>
11250
11251         * vspace.[Ch]: cosmetical changes
11252
11253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * LyXAction.h:
11256         * LyXAction.C:
11257         * lyxfunc.h:
11258         * lyxfunc.C:
11259         * kbmap.h:
11260         * kbmap.C:
11261         * lyxrc.C:
11262         * kbsequence.h:
11263         * kbsequence.C: part re-write of old kb code
11264
11265         * Painter.C:
11266         * WorkArea.C: remove Lgb_bug_find_hack
11267
11268 2001-11-30  José Matos <jamatos@fep.up.pt>
11269
11270         * buffer.C (makeDocBookFile): add a comment to point a hack.
11271         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11272         Fixed a double write of labels.
11273
11274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11275
11276         * LaTeX.C:
11277         * LaTeX.h Fixed bug in LaTeX class where it would not
11278         re-run latex if no depfiles were changed, but the .dvi was removed.
11279
11280 2001-11-28  André Pönitz <poenitz@gmx.net>
11281
11282         * all the files from the change on 2001/11/26:
11283         use lyx::layout_type instead of LyXTextClass::size_type
11284         use lyx::textclass_type instead of LyXTextClassList::size_type
11285
11286 2001-11-29  Juergen Vigna  <jug@sad.it>
11287
11288         * text.C: added support for paragraph::isFreeSpacing()
11289
11290         * buffer.C: same as above
11291
11292         * paragraph.h: inserted isFreeSpacing() function to enable
11293         FreeSpacing inside InsetERT.
11294
11295         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11296         of the paragraph's in the cut/copy buffer to 0!
11297
11298         * text2.C (removeRow): remove the assert as it can!
11299
11300         * lyxtext.h: added helper function firstRow returning firstrow and
11301         made firstrow private again.
11302
11303         * BufferView2.C (lockInset): don't relock if we're already locked!
11304
11305         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11306         the only paragraph.
11307         (removeRow): added Assert::(firstrow)
11308
11309         * debug.C: forgot to add INSETTEXT here.
11310
11311 2001-11-28  Juergen Vigna  <jug@sad.it>
11312
11313         * sp_spell.C (initialize): changed error text to more general
11314         spellchecker command use (not only ispell!)
11315
11316         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11317
11318         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11319
11320 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * vspace.C: initialise lyxgluelength on failure
11323
11324 2001-11-28  Allan Rae  <rae@lyx.org>
11325
11326         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11327         declaration & definition that looks like a function declaration.
11328
11329 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11330
11331         * BufferView2.C (copy):
11332         (copyEnvironment): do not clear the selection when doing a copy.
11333
11334         * text.C (paintFirstRow): compilation fix
11335
11336 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11337
11338         * tabular.C (Latex): correct line count when writing latex.
11339
11340 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * paragraph_pimpl.h:
11343         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11344           bug a bit
11345
11346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * text.C:
11349         * LColor.h:
11350         * LColor.C: change vfillline->added_space
11351
11352         * text.C: add markers and text for added space
11353
11354         * vspace.C: fix comment
11355
11356 2001-11-28  André Pönitz <poenitz@gmx.net>
11357
11358         * paragraph.C: whitespace changes
11359         * all the other files from the change on 2001/11/26:
11360         change *::pos_type into lyx::pos_type
11361
11362 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11363
11364         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11365         language of the document when inserting error insets.
11366
11367 2001-11-26  André Pönitz <poenitz@gmx.net>
11368
11369         * BufferView_pimpl.[Ch]:
11370         *       CutAndPaste.C:
11371         * buffer.[Ch]:
11372         * lyxcursor.[Ch]:
11373         * lyxfind.C:
11374         * lyxfunc.C:
11375         * lyxrow.[Ch]:
11376         * paragraph.[Ch]:
11377         * paragraph_pimpl.[Ch]:
11378         * sp_spell.C:
11379         * text.C:
11380         * text2.C: reduce header dependencies, introduce type for positions
11381
11382 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * <various>: change to use Alert.h
11385
11386 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11389         when encountering an unknown token.
11390         (readLyXformat2): Show an error message if there were unknown tokens.
11391
11392 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView2.C:
11395         * BufferView_pimpl.C:
11396         * buffer.C:
11397         * paragraph.h:
11398         * text.C:
11399         * text2.C: use par->isInset()
11400
11401 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * paragraph_pimpl.h:
11404         * paragraph_pimpl.C: cleanup
11405
11406 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11407
11408         * text2.C (removeRow):
11409         * text.C (setHeightOfRow): remove useless (and costly) call to
11410         getRow.
11411
11412 2001-11-20  Allan Rae  <rae@lyx.org>
11413
11414         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11415         Now need Inset*::checkInsertChar() to return true for appropriate
11416         cases so that the characters in the minibuffer will actually be
11417         inserted.
11418
11419 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * text.C: change the order of the includes.
11422         (workWidth): initialize it at once.
11423         (workWidth): make maxw unsigned
11424         (setHeightOfRow): remove unused variable (inset)
11425         (selectSelectedWord): remove unused variable (inset)
11426         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11427
11428 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11429
11430         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11431         server is not running.
11432         (openConnection):
11433         (closeConnection): add debug info when server is disabled.
11434
11435         * ColorHandler.C (getGCForeground): send debug message to GUI
11436         channel.
11437
11438         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11439
11440         * kbmap.C (bind): modify because return conventions of
11441         kb_sequence::parse have changed.
11442
11443         * kbsequence.C (parse): only ignore spaces and not any stupid
11444         control character. This avoids tests like s[i] <= ' ', which are
11445         guaranteed to fail with 8bit characters and signed chars.
11446         Change return code to string::npos when there have been no error
11447         (0 was a bad idea when error is at first character)
11448
11449 2001-11-14  José Matos  <jamatos@fep.up.pt>
11450
11451         * buffer.h:
11452         * buffer.C (simpleDocBookOnePar): removed unused argument.
11453
11454 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11455
11456         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11457         insets which are part of a word. Paragraph::isLetter takes care of
11458         that now. Use Paragraph::isInset to identify insets.
11459         (selectSelectedWord): do not test for hyphenation break.
11460
11461         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11462         that protected spaces are considered as spaces.
11463
11464         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11465         Inset::isLetter.
11466
11467 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * lyxserver.h:
11470         * lyxserver.C: fix it. and small cleanup.
11471
11472 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView_pimpl.C: use inline helpers
11475
11476         * LaTeXFeatures.h:
11477         * LaTeXFeatures.C: fix typos
11478
11479         * Spacing.h:
11480         * Spacing.C: move spacing_string into class
11481
11482         * ToolbarDefaults.C: move stuff into namespace anon
11483
11484         * layout.h: update enum
11485
11486         * lyxfunc.C: use better debug
11487
11488         * minibuffer.h: fix typo
11489
11490         * debug.h:
11491         * debug.C:
11492         * WorkArea.C: add and use Debug::WORKAREA
11493
11494         * lyxtext.h:
11495         * text.C:
11496         * text2.C: code re-organisation, inline helpers
11497
11498 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11499
11500         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11501         std::vector.empty().
11502
11503 2001-11-09  Allan Rae  <rae@lyx.org>
11504
11505         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11506         '\n's after tables.  Tabular and ERT inset work now makes this no
11507         longer necessary.
11508
11509 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11510
11511         * minibuffer.h:
11512         * minibuffer.C: fix crash, improve drop-down completion
11513
11514 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * lyxserver.h:
11517         * lyxserver.C: invalidate fd's when doing endPipe()
11518
11519 2001-11-08  José Matos  <jamatos@fep.up.pt>
11520
11521         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11522         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11523
11524         * paragraph.h:
11525         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11526
11527 2001-11-07  José Matos  <jamatos@fep.up.pt>
11528
11529         * buffer.h:
11530         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11531         const qualifier.
11532
11533         * buffer.C (sgmlOpenTag):
11534         * buffer.C (sgmlCloseTag): removed debug info.
11535
11536         * buffer.h (sgmlOpenTag):
11537         * buffer.h (sgmlCloseTag): made public.
11538
11539 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * buffer.C (saveParamsAsDefaults):
11542         * lyx_cb.C (MenuLayoutSave): remove
11543
11544         * LyXAction.C (init):
11545         * commandtags.h:
11546         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11547
11548 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11549
11550         * buffer.C (setPaperStuff): removed from here...
11551
11552         * bufferparams.C (setPaperStuff): ... and moved there.
11553
11554 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * minibuffer.h:
11557         * minibuffer.C:
11558         * XFormsView.C: add support for drop-down completion
11559
11560 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11563         commands.
11564
11565 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11568         disabled.
11569
11570 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyx_main.C: change ref to known bugs
11573
11574 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11575
11576         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11577         to work around older babel problems.
11578
11579 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11580
11581         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11582
11583 2001-10-24  Juergen Vigna  <jug@sad.it>
11584
11585         * tabular-old.C (ReadOld): below variable changes reflected.
11586
11587         * tabular.[Ch]: added ltType struct for longtable header/footer
11588         defines and changed all instances where they are used. Added
11589         future support for double top/bottom rows.
11590
11591 2001-10-24  José Matos  <jamatos@fep.up.pt>
11592
11593         * buffer.h (docbookHandleCaption):
11594         * buffer.C (docbookHandleCaption): removed unused function.
11595         (makeDocBookFile): moved docbook supported version to v4.1.
11596
11597 2001-10-24  José Matos  <jamatos@fep.up.pt>
11598
11599         * tabular.h:
11600         * tabular.C (docbookRow): new function to export docbook code of a row.
11601         (DocBook): now honors the longtable flags.
11602
11603 2001-10-23  José Matos  <jamatos@fep.up.pt>
11604
11605         * LaTeXFeatures.h:
11606         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11607         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11608
11609         * buffer.C (makeLinuxDocFile):
11610         (makeDocBookFile): reworked the preamble, more clean, and with
11611         support for lyx defined entities. Changed the document declaration
11612         to be more XML friendly.
11613
11614         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11615         if we need to output XML that should be done with a filter.
11616
11617 2001-10-22  Juergen Vigna  <jug@sad.it>
11618
11619         * sp_pspell.h (class PSpell): add alive function needed in the
11620         controller to see if the spellchecker could be started.
11621
11622 2001-10-22  Juergen Vigna  <jug@sad.it>
11623
11624         * buffer.C (insertStringAsLines): modify the font for inserting
11625         chars in certain conditions by calling checkInsertChar(font).
11626
11627 2001-10-19  Juergen Vigna  <jug@sad.it>
11628
11629         * text.C (workWidth): use getRow instead of wrong algorithm.
11630         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11631
11632 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * lyxserver.h:
11635         * lyxserver.C:
11636         * lyx_main.h:
11637         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11638
11639 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11640
11641         * text.C (workWidth): do not search for the exact row when
11642         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11643         optimization for big documents.
11644
11645 2001-10-18  Juergen Vigna  <jug@sad.it>
11646
11647         * text.C (workWidth): new function with added Inset * parameter.
11648
11649 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11652
11653         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11654         change return type of getColumnNearX.
11655
11656
11657         * text.C (changeRegionCase): use uppercase/lowercase instead of
11658         toupper/tolower.
11659         (leftMargin):
11660         (rightMargin): simplify code by factoring out the uses of
11661         textclasslist.
11662         (labelFill):
11663         (numberOfHfills):
11664         (setHeightOfRow):
11665         (appendParagraph): use Paragraph::size_type
11666
11667 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11668
11669         * vspace.C (asLatexString): add a missing break
11670
11671 2001-10-15  Herbert Voss  <voss@perce.de>
11672
11673         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11674
11675 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11676
11677         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11678         is not available.
11679
11680 2001-10-10  André Pönitz <poenitz@gmx.net>
11681
11682         * lyxfunc.C: removed greek_kb_flag.
11683
11684 2001-10-10  Herbert Voss  <voss@perce.de>
11685
11686         * lyx_main.C: delete global string help_lyxdir.
11687
11688 2001-10-09  Herbert Voss  <voss@perce.de>
11689
11690         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11691
11692         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11693
11694         * lyx_main.C: added global string help_lyxdir.
11695
11696         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11697
11698 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11699
11700         * lyxrc.C (set_font_norm_type): support iso8859-4
11701
11702 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11703
11704         * LaTeX.C (deplog): add another regex for MikTeX
11705
11706 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11707
11708         * lyxrc.C (set_font_norm_type): support iso8859-3
11709
11710 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11711
11712         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11713
11714         * LaTeXFeatures.C: remove special case of french and index
11715
11716         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11717         before \begin{document}). This solves several incompatibilities.
11718
11719 2001-10-03  Garst Reese  <reese@isn.net>
11720
11721         * lyx_cb.C: change CheckTex error msg.
11722
11723 2001-10-03  José Matos  <jamatos@fep.up.pt>
11724
11725         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11726
11727 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11728
11729         * .cvsignore: update
11730
11731         * lyx_main.C (commandLineVersionInfo): use new style version info.
11732
11733         * buffer.C (writeFile):
11734         (makeLaTeXFile):
11735         (makeLinuxDocFile):
11736         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11737
11738         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11739
11740         * version.h: update to use stuff in version.C
11741
11742         * version.C.in: new file. Contains version information determined
11743         at compile time. This is a merging of version.h and
11744         version_info.h.in.
11745
11746 2001-10-03  Juergen Vigna  <jug@sad.it>
11747
11748         * BufferView_pimpl.C (update): don't change "dirty" status in
11749         updateInset call.
11750
11751 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11752
11753         * WorkArea.C (c-tor): re-position version string slightly.
11754
11755 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11756
11757         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11758         revert to previous code.
11759
11760         WorkArea.[Ch]: (show, destroySplash): methods removed.
11761
11762         WorkArea.C: rework code so that it's an amalgam of the codes before and
11763         after the splash screen was moved to WorkArea.
11764
11765 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11766
11767         * lyxrc.C (read):
11768         * vspace.C (inPixels):
11769         (lyx_advance):
11770         * kbmap.C (bind):
11771         * buffer.C (insertStringAsLines):
11772         (asciiParagraph): fix types to be large enough
11773
11774         * lyxlex_pimpl.h: change member status from short to int
11775
11776         * layout.h: fix type of endlabeltype
11777
11778         * kbmap.C (bind):
11779         * kbsequence.C (parse): change return type to string::size_type
11780
11781         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11782         variable
11783
11784         * Bullet.C (bulletSize):
11785         (bulletEntry): do not use short ints as parameters
11786
11787         * BufferView2.C (insertLyXFile): change a char to an int.
11788
11789         * WorkArea.C (WorkArea): remove unneeded floats in computation
11790
11791 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11794
11795         * paragraph.C (asString): Do not ignore newline/hfill chars when
11796         copying to the clipboard.
11797
11798 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11799
11800         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11801         after a multi-line inset.
11802
11803 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11804
11805         * paragraph.C (validate): Set NeedLyXFootnoteCode
11806
11807 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11808
11809         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11810         and decrease-error to decrease.
11811
11812 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11813
11814         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11815         it more readable (should be equivalent)
11816
11817 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11818
11819         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11820
11821 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11822
11823         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11824         of a cursor (row, etc.) after a character has been deleted
11825         (deleteEmptyParagraphMechanism): call the method above on _all_
11826         cursors held by the LyXText when a double space has been
11827         detected/deleted.
11828
11829 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11830
11831         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11832         pixmap.
11833         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11834
11835         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11836         background. Use greyOut() and the new show() methods to toggle between
11837         the foreground and background. Add code to remove the splash after
11838         its initial showing.
11839
11840         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11841         (create_forms): no longer call Dialogs::showSplash.
11842
11843 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * .cvsignore: add version_info.h
11846
11847 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * version_info.h.in: new file
11850
11851         * Makefile.am: add version_info.h.in
11852
11853         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11854         version_info.h instead of VERSION_INFO
11855
11856 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11857
11858         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11859         The ERT inset now returns string().
11860
11861 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11862
11863         * lyxtext.h, text.C (selectNextWord): renamed as
11864         selectNextWordToSpellcheck.
11865
11866         * text.C (selectNextWordToSpellcheck): Modified to not select
11867         words inside an ERT inset.
11868
11869 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11870
11871         * lyx_cb.C (MenuLayoutSave): change a bit the question
11872
11873         * sp_base.h: include <sys/types.h>
11874
11875 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11876
11877         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11878
11879 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11880
11881         * several files: fix typos in user-visible strings
11882
11883 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * text2.C (pasteSelection): do not set the selection, since it
11886         will be cleared later. Actually, the intent was to fix the way the
11887         selection was set, but I figured rmoving the code was just as good.
11888
11889 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11890
11891         * FontLoader.C (available): Check if font is available without
11892         loading the font.
11893
11894 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11895
11896         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11897
11898 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11899
11900         * lyxrc.[Ch]: added display_graphics variable and associated code.
11901
11902 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * bufferparams.C (hasClassDefaults): new method. Returns true if
11905         the buffer parameters correspond to known class defaults
11906
11907 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11908
11909         * XFormsView.C (show): set minimum size to the main window.
11910
11911 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * text2.C (copySelection):
11914         (cutSelection):
11915         * lyxfind.C (LyXReplace):
11916         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11917         LyXText::selectionAsString.
11918
11919         * paragraph.C (asString): add "label" argument to the second form
11920
11921         * text2.C (selectionAsString): add "label" argument and pass it to
11922         Paragraph::asString.
11923
11924 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11925
11926         * lyx_main.C (commandLineHelp): remove version information
11927
11928 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11929
11930         * lyx_main.C: add -version commandline option
11931
11932 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * paragraph.h: make the optional constructor arg required instead.
11935         some modifications to other files because of this.
11936
11937         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11938
11939         * lyxserver.C (C_LyXComm_callback): make it static
11940
11941         * lyx_main.C (error_handler): make it static
11942
11943         * lyx_gui.C (LyX_XErrHandler): make it static
11944
11945         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11946
11947         * WorkArea.C: make the extern "C" methods static.
11948
11949         * Makefile.am (lyx_LDADD): simplify
11950
11951 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11952
11953         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11954         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11955
11956         * LyXAction.C (init):
11957         * lyxfunc.C (dispatch): associated code removal.
11958
11959 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11960
11961         * lyxfont.h (isSymbolFont): shut off warning
11962
11963         * text.C (setHeightOfRow):
11964         (getVisibleRow): fix crash with empty paragraphs which have a
11965         bottom line
11966
11967 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11968
11969         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11970         code.
11971
11972 2001-09-04  José Matos  <jamatos@fep.up.pt>
11973         * buffer.C
11974         * buffer.h
11975         * tabular.C (docbook): rename docBook method to docbook.
11976
11977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11978
11979         * Makefile.am: add dependencies to main.o.
11980
11981 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11982
11983         * FontLoader.C (available): Return false if !lyxrc.use_gui
11984
11985 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11986
11987         * FontInfo.C (query):
11988         * converter.C (view):
11989         * importer.C (Import):
11990         * exporter.C (Export): Can not -> cannot.
11991
11992 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * BufferView_pimpl.C: allow to create index inset even if
11995           string is empty
11996
11997 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * buffer.C (getLists): replace boost::tie code with an explicit pair
12000         as boost::tie can break some compilers.
12001
12002         * iterators.h: Added a std:: declaration to the return type of
12003         ParIterator::size.
12004
12005 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12008           case.
12009
12010 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12011
12012         * iterators.[Ch]: New files. Provide paragraph iterators.
12013
12014         * buffer.C (changeLanguage): Use paragraph iterators.
12015         (isMultiLingual): ditto
12016
12017         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12018
12019 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12020
12021         * FontLoader.C: Support for cmr font.
12022
12023 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12024
12025         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12026         (available): New method.
12027
12028         * FontInfo.C (getFontname): Use scalable fonts even when
12029         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12030         found.
12031
12032 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12033
12034         * converter.C (Formats::view): reverted! Incorrect fix.
12035
12036 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12037
12038         * converter.C (Formats::view): only output the -paper option
12039         if the dvi viewer is xdvi, thereby fixing bug #233429.
12040
12041 2001-08-23  Herbert Voss  <voss@perce>
12042
12043         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12044
12045 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12046
12047         * Spacing.h (Spacing): Set space to Default on in the default
12048         constructor.
12049
12050 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * vc-backend.h (RCS::versionString): add RCS to version
12053         (CVS::versionString): add CVS to version
12054
12055         * vc-backend.C (scanMaster): do not add CVS to version.
12056         (scanMaster): do not add RCS to version
12057
12058         * lyxvc.C (versionString): new method
12059
12060         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12061
12062 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * Spacing.C (set): initialize fval
12065
12066 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12067
12068         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12069         " or \.
12070
12071 2001-08-16  Juergen Vigna  <jug@sad.it>
12072
12073         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12074
12075 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * BufferView_pimpl.C:
12078         * figureForm.C:
12079         * lyxtext.h:
12080         * text2.C: setParagraph takes linespacing now
12081
12082 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * LyxAction.C: add internal LFUN_CITATION_INSERT
12085
12086         * LyXView.C: actually apply fix
12087
12088         * bufferlist.C: fix open non-existent file
12089
12090         * lyxfind.C: fix indentation
12091
12092         * lyxfunc.C: remove unneeded assert, fix typo
12093
12094 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * MenuBackend.C: use "Floatname List"
12097
12098 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12099
12100         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12101         when converting LaTeX layout to insetERT.
12102         Generate a non-collapsed float when reading old float
12103
12104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12105
12106         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12107         ERT insets.
12108
12109 2001-08-13  Juergen Vigna  <jug@sad.it>
12110
12111         * text.C (fill): return 0 instead of 20 as this seems to be the more
12112         correct value.
12113
12114 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12115
12116         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12117         lyxrc.font_norm.
12118
12119 2001-08-13  Juergen Vigna  <jug@sad.it>
12120
12121         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12122         casesensitive off.
12123         (SearchBackward): comment out the unlocking of the inset_owner this
12124         should not be needed!
12125
12126 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * Many files: Remove inherit_language, and add latex_language
12129
12130         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12131         collapsible insets.
12132
12133 2001-08-10  Juergen Vigna  <jug@sad.it>
12134
12135         * text.C (prepareToPrint): fixed hfill-width in draw!
12136
12137         * BufferView2.C (selectLastWord): save the selection cursor as this
12138         now is cleared in the function LyXText::clearSelection!
12139
12140 2001-08-08  Juergen Vigna  <jug@sad.it>
12141
12142         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12143         BACKSPACE type functions.
12144
12145         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12146         is only cutted from the document but not put in the cut-buffer, where
12147         still the old stuff should be.
12148
12149         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12150
12151         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12152
12153         * tabular.C (SetWidthOfCell): fixed special case where the width
12154         was not updated!
12155         (LeftLine): handle '|' in align_special.
12156         (RightLine): ditto
12157         (LeftAlreadyDrawed): ditto
12158         (SetWidthOfCell): ditto
12159
12160 2001-08-07  Juergen Vigna  <jug@sad.it>
12161
12162         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12163
12164 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12167         * lyxlex.[hC]: ditto
12168
12169 2001-08-06  Juergen Vigna  <jug@sad.it>
12170
12171         * text.C (getVisibleRow): fix up row clearing a bit.
12172
12173 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * minibuffer.C: make sure the X server sees the changes in the input.
12176
12177 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * paragraph.C (getFont): split into...
12180         (getLabelFont): this
12181         (getLayoutFont): and this
12182         * paragraph_pimpl.C (realizeFont): calling this
12183
12184         * text2.C (getFont): split into...
12185         (getLayoutFont): this
12186         (getLabelFont): and this
12187         (realizeFont): all three calling this
12188
12189         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12190         files where used.
12191
12192 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12193
12194         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12195
12196 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12197
12198         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12199         layouts from the Quote inset insertion.
12200
12201 2001-08-03  Juergen Vigna  <jug@sad.it>
12202
12203         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12204
12205         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12206         only if status not is already CHANGED_IN_DRAW (second level).
12207
12208         * text.C (draw): don't set the need_break_row when inside an
12209         InsetText LyXText.
12210
12211 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * buffer.C (parseSingleLyXformat2Token): handle more latex
12214         conversion cases.
12215
12216         * bufferview_funcs.[hC]: change function names to
12217         begin with small char, adjust other files.
12218
12219 2001-08-02  André Pönitz <poenitz@gmx.net>
12220
12221         * lyxfunc.C:
12222         BufferView_pimpl.C: remove broken special code for math-greek
12223
12224 2001-08-02  Juergen Vigna  <jug@sad.it>
12225
12226         * BufferView_pimpl.C (update): redone this function so that we
12227         update the text again if there was a CHANGE_IN_DRAW.
12228
12229         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12230         (drawFromTo): added a new internal bool which is used by draw() and
12231         redraw() function.
12232         (general): some cursor drawing problems fixed.
12233
12234 2001-08-01  Juergen Vigna  <jug@sad.it>
12235
12236         * lyxfind.C (LyXFind): fixed
12237         (SearchForward): ditto
12238         (SearchBackward): ditto
12239
12240         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12241         spurius drawing of the cursor in the main area.
12242
12243         * text2.C (status): small fix which could lead to a segfault!
12244         (clearSelection): remove unneeded BufferView param.
12245
12246 2001-08-01  André Pönitz <poenitz@gmx.net>
12247
12248         * lyxfunc.C: small change due to changed mathed interface
12249
12250 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12253
12254 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * lyxfunc.c: fail gracefully if file doesn't exist
12257
12258         * LyXSendto.C:
12259         * buffer.C:
12260         * lyxfunc.C:
12261         * BufferView_pimpl.C: IsDirWriteable() proto changed
12262
12263         * LyXView.C: fix updateWindowTitle() to store the last title
12264
12265 2001-07-31  Juergen Vigna  <jug@sad.it>
12266
12267         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12268         the font (wrong since using of Paragraph::highestFontInRange).
12269
12270         * paragraph.C (highestFontInRange): added a default_size parameter.
12271
12272         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12273         (setHeightOfRow): reformat
12274
12275 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12276
12277         * converter.[hC] + affected files: move to (inital-char)lowercase
12278         function names.
12279
12280         * ParagraphParameters.C (ParagraphParameters): remove commented code
12281
12282         * PainterBase.[Ch]: remove commented code
12283
12284         * LaTeXFeatures.h: add "bool floats" for float.sty
12285
12286         * LaTeXFeatures.C (LaTeXFeatures): init floats
12287         (require): handle float
12288         (getPackages): do it with floats
12289
12290 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * BufferView_pimpl.C (Dispatch): improve handling of
12293         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12294
12295         * commandtags.h: #include lyxfont.h here temporarily to avoid
12296         keybinding bug.
12297
12298         * bufferlist.h: include LString.h here.
12299
12300 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * text2.C (getStringToIndex): new method.
12303
12304 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12305
12306         * *: Reduced header file dependencies all over.
12307
12308 2001-07-30  Baruch Even  <baruch@lyx.org>
12309
12310         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12311
12312 2001-07-29  Baruch Even  <baruch@lyx.org>
12313
12314         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12315
12316 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12317
12318         * ParameterStruct.h (endif): add a default constructor to make
12319         sure that all variables is initialized.
12320
12321         * ParagraphParameters.C (ParagraphParameters): adjust
12322
12323 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12326         index; also, check that there is something to index, and that it
12327         does not span over several paragraphs.
12328         (doubleClick): use WHOLE_WORD_STRICT for double click.
12329
12330         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12331
12332         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12333         scheme.
12334
12335 2001-07-26  Baruch Even  <baruch@lyx.org>
12336
12337         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12338         an InsetFig figure, backwards compatible reading of old figure code.
12339
12340 2001-07-27  Juergen Vigna  <jug@sad.it>
12341
12342         * text2.C: font.realize function adaption.
12343
12344         * text.C (draw): add a warnings lyxerr text if needed.
12345
12346         * layout.C: font.realize function adaption.
12347
12348         * language.C: add inherit_language and implement it's handlings
12349
12350         * bufferview_funcs.C (StyleReset): remove language parameter from
12351         font creation (should be language_inherit now).
12352
12353         * bufferparams.C (writeFile): handle ignore_language.
12354
12355         * paragraph.C (getFontSettings): the language has to be resolved
12356         otherwise we have problems in LyXFont!
12357
12358         * lyxfont.C (lyxWriteChanges): added document_language parameter
12359         (update): removed unneeded language parameter
12360
12361         * paragraph.C (validate): fixed wrong output of color-package when
12362         using interface colors for certain fonts in certain environments,
12363         which should not seen as that on the final output.
12364
12365 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView_pimpl.C:
12368         * Thesaurus.h:
12369         * Thesaurus.C:
12370         * Makefile.am:
12371         * commandtags.h:
12372         * LyXAction.C: add thesaurus support
12373
12374         * lyxfind.h:
12375         * lyxfind.C: add "once" parameter, for thesaurus, to not
12376           move to the next match
12377
12378 2001-07-26  Juergen Vigna  <jug@sad.it>
12379
12380         * lyxfont.C (realize): honor ignore_language too!
12381         (resolved): ditto.
12382
12383         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12384
12385         * text.C (draw): one place more for ignore_language to not draw
12386         itself!
12387
12388 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12391
12392 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12395         the minipage conversion problem.
12396
12397 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12400         insert an inset.
12401
12402 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * BufferView.h: don't forward declare WorkArea
12405
12406         * BufferView.C: don't include WorkArea.h
12407
12408 2001-07-25  André Pönitz <poenitz@gmx.net>
12409
12410         * commandtags.h:
12411         * LyXAction.C:
12412         * lyxfunc.C:  new LFUN 'math-space'
12413
12414         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12415
12416 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * text2.C (toggleInset): call open/close
12419
12420 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * lyxfunc.C (dispatch): add debug for the disabled case
12423
12424         * font.C (buttonText): make similar to rectText
12425
12426         * buffer.C (readInset): comment out parsing of insetlist and
12427         insttheorem
12428
12429         * PainterBase.C (rectText): small correction
12430
12431         * BufferView_pimpl.C: comment out insettheorem and insetlist
12432         * LyXAction.C: ditto
12433         * commandtags.h: ditto
12434
12435 2001-07-24  Juergen Vigna  <jug@sad.it>
12436
12437         * text.C (draw): honor the ignore_language.
12438
12439         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12440
12441 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12444         char inset.
12445
12446 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12447
12448         * lyxtext.h: remove unused (and unimplemented) methods
12449
12450 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12451
12452         * text.C (getVisibleRow): honor background color
12453
12454         * PainterBase.h:
12455         * Painter.h: remove default color argument for fillRectangle
12456
12457         * text.C (backgroundColor): new method
12458
12459 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * text.C (getVisibleRow): adjust
12462
12463         * font.[Ch] (rectText): new method, metrics
12464         (buttonText): new method, metrics
12465
12466         * PainterBase.[hC]: make rectText and buttonText always draw and take
12467         fewer paramteres.
12468
12469 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12470
12471         * ToolbarDefaults.C (read):
12472         * MenuBackend.C (read): allow escaping in all strings
12473
12474         * BufferView_pimpl.C (insertAndEditInset): new method.
12475         (Dispatch): use insertAndEditInset whenever appropriate.
12476
12477         * BufferView_pimpl.C (insertNote): removed
12478
12479         * BufferView_pimpl.C (smartQuote): new method, moved from
12480         BufferView; if an insetquote cannot be inserted, insert a '"'
12481         character instead.
12482
12483         * BufferView2.C: remove insertCorrectQuote();
12484
12485         * lyxfunc.C (getStatus): Add support for all remaingin
12486         inset-insert lfuns.
12487
12488         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12489
12490         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12491         command (necessary to pass " as parameter of self-insert.
12492
12493         * text.C (selectWordWhenUnderCursor):
12494         (selectWord): add word_location parameter
12495         (selectWordWhenUnderCursor): same + remove special code for word
12496         boundary.
12497         (selectNextWord): use kind() to guess type of insetspecialchar,
12498         not latex().
12499
12500         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12501         (insertErtContents): create ert insets as collapsed.
12502         (readInset): better compatibility code for Info inset.
12503
12504 2001-07-20  Juergen Vigna  <jug@sad.it>
12505
12506         * lyxfunc.C (dispatch): use always LyXFind now!
12507
12508         * text2.C (init): add a reinit flag so that the LyXText can be
12509         reinited instead of deleted and reallocated (used in InsetText).
12510
12511         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12512
12513         * text.C: ditto
12514
12515         * text2.C: ditto
12516
12517 2001-07-18  Juergen Vigna  <jug@sad.it>
12518
12519         * text.C (selectNextWord): handle insets inside inset by calling
12520         always the bv->text functions so that we can go up the_locking_inset!
12521
12522         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12523         in strange locations when inside an inset!
12524
12525         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12526         handling to include insets.
12527
12528         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12529
12530 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * LyXAction.C (init):
12533         * commandtags.h:
12534         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12535         LIGATURE_BREAK, since the name is so stupid.
12536
12537 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12538
12539         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12540         InsetInfos.
12541
12542         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12543
12544         * sp_form.[Ch]: remove.
12545
12546         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12547
12548         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12549         InsetInfo.
12550
12551         * src/buffer.C (readInset): ditto.
12552
12553 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12554
12555         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12556         menuSeparator(), endOfSentenceDot(), ldots() and
12557         hyphenationPoint(), which are therefore removed.
12558         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12559
12560         * LyXAction.C (init):
12561         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12562
12563         * paragraph.C (getWord): removed.
12564
12565         * BufferView_pimpl.C (Dispatch): use last word or selection for
12566         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12567
12568         * lyx_main.C (queryUserLyXDir): do not ask before creating
12569         user_dir, except if it has been named explicitely.
12570
12571 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12572
12573         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12574         a document of zero size.
12575
12576 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12577
12578         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12579         approriately in the c-tor and in require().
12580         (getPackages): output the appropriate LaTeX for natbib support.
12581
12582         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12583         variables "use_natbib" and "use_numerical_citations" when reading the
12584         LyX file.
12585         (readInset): read the various natbib cite commands.
12586         (validate): white-space change.
12587
12588         * bufferparams.[Ch]: new variables "bool use_natbib" and
12589         "bool use_numerical_citations".
12590         (writeFile): output them in the LyX file.
12591
12592 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12593
12594         * lyxfunc.C (getStatus): add support for all the inset insertion
12595         commands.
12596
12597         * text2.C (insertInset):
12598         * paragraph.C (insetAllowed):
12599         * BufferView_pimpl.C (insertInset): update to take in account the
12600         renaming of insertInsetAllowed
12601
12602         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12603
12604         * text2.C (getInset): new method. returns inset at cursor position.
12605
12606         * BufferView_pimpl.C (Dispatch): changes because of this.
12607
12608         * LyXAction.C (init): rename open-stuff to inset-toggle.
12609
12610         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12611
12612         * text2.C (toggleInset): renamed from openStuff; use
12613         Inset::open().
12614
12615 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12616
12617         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12618
12619         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12620
12621 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * buffer.C (readLyXformat2): Add filename to the error dialog
12624
12625 2001-07-18  Juergen Vigna  <jug@sad.it>
12626
12627         * tabular.C (GetCellNumber): put an assert here instead of the check!
12628
12629 2001-07-17  Juergen Vigna  <jug@sad.it>
12630
12631         * BufferView_pimpl.C (toggleSelection): adapted too.
12632
12633         * text.C (selectNextWord): adapted for use with insets.
12634         (selectSelectedWord): ditto
12635
12636 2001-07-17  Juergen Vigna  <jug@sad.it>
12637
12638         * sp_spell.C (PSpell): fix initialitation order.
12639
12640 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * paragraph.C: spacing
12643
12644 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12645
12646         * sp_spell.C: repair language selection for pspell
12647
12648 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * lyxfunc.h: change more methods to begin with lower char.
12651
12652 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12655         for unknown layouts.
12656
12657 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * buffer.C (readLyXformat2): Generate an error dialog if there are
12660         unknown layouts.
12661
12662 2001-07-16  Juergen Vigna  <jug@sad.it>
12663
12664         * sp_spell.C: always compile ISpell part.
12665
12666         * lyxrc.C: added use_pspell entry and it's handling.
12667
12668 2001-07-13  Juergen Vigna  <jug@sad.it>
12669
12670         * sp_spell.C: removed double includes.
12671
12672 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         Consistent use of Lsstream.h:
12675         * Lsstream.h: added using std::stringstream for consistencies sake.
12676
12677         * buffer.C: removed using std::stringstream
12678
12679         * lyxfont.C (stateText):
12680         * paragraph.C (asString):
12681         * text.C (selectNextWord, selectSelectedWord):
12682         * text2.C (setCounter):
12683         * vspace.C (asString, asLatexString):
12684         std::ostringstream -> ostringstream.
12685
12686 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12687
12688         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12689         * commandtags.h: add LFUN_HELP_ABOUTLYX
12690         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12691
12692 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12693
12694         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12695         cursorToggle()
12696         * lyx_gui_misc.C: remove spellchecker
12697         * lyxfunc.C: showSpellchecker
12698         * sp_base.h: added
12699         * sp_ispell.h: added
12700         * sp_pspell.h: added
12701         * sp_spell.C: added
12702         * sp_form.[Ch]: removed
12703         * spellchecker.[Ch]: removed
12704
12705 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12706
12707         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12708         is set.
12709         (simpleTeXSpecialChars): Simply print the input character without
12710         any special translation if pass_thru is set.
12711
12712         * layout.h: Added bool pass_thru to layout class for being able to
12713         implement pass through of a paragraph for Literate Programming.
12714
12715         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12716         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12717         * layout.C (Read): add "passthru" to list of layout tags and add
12718         code to set the pass_thru boolean when it is read.
12719
12720 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * trans_decl.h: remove allowed from KmodInfo
12723
12724         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12725         remove allowed code
12726         (Load): adjust
12727
12728         * paragraph_pimpl.C (erase): use boost::prior
12729
12730         * Painter.C (text): use data() instead of c_str() when length is
12731         also provided.
12732         * WorkArea.C (putClipboard): ditto
12733         * font.h (width): ditto
12734
12735         * BufferView2.C: use it-> instead of (*it). for iterators
12736         * texrow.C: ditto
12737         * paragraph_pimpl.C: ditto
12738         * paragraph.C: ditto
12739         * minibuffer.C: ditto
12740         * language.C: ditto
12741         * kbmap.C: ditto
12742         * encoding.C: ditto
12743         * counters.C: ditto
12744         * converter.C: ditto
12745         * chset.C: ditto
12746         * Variables.C: ditto
12747         * TextCache.C: ditto
12748         * MenuBackend.C: ditto
12749         * LyXAction.C: ditto
12750         * LColor.C: ditto
12751         * FloatList.C: ditto
12752         * DepTable.C: ditto
12753         * ColorHandler.C (LyXColorHandler): ditto
12754
12755 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12758
12759         * text2.C (openStuff): reintroduce this method (which had been
12760         nuked in NEW_INSETS frenzy).
12761
12762         * lyxfunc.C (Dispatch): when an action has not been handled, use
12763         its name in the error message, not its number.
12764
12765         * paragraph.C (inInset): change method name to begin with lowercase.
12766
12767         * undo_funcs.C:
12768         * text2.C: updates because of this.
12769
12770 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * ToolbarDefaults.C (add): add spaces in error message
12773
12774 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12777         (readLyXformat2): rename return_par to first_par, use lyxlex's
12778         pushToken and remove the manual push handling.
12779         (parseSingleLyXformat2Token): add another ert comp. variable:
12780         in_tabular, rename return_par to first_par. handle newlines better
12781
12782 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12785
12786 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * text2.C (getParFromID): removed
12789
12790         * buffer.C (getParFromID): new method moved form lyxtext.
12791         * BufferView2.C (insertErrors): adjust
12792         (setCursorFromRow): adjust
12793         * BufferView_pimpl.C (restorePosition): adjust
12794         * lyxfunc.C (Dispatch): adjust
12795         * undo_funcs.C (textUndo): adjust
12796         (textRedo): adjust
12797         (textHandleUndo): adjust
12798         (textHandleUndo): adjust
12799
12800 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * buffer.C: up' the LYX_FORMAT
12803
12804         * lyxfont.h: turn NO_LATEX on as default
12805
12806         * buffer.C (insertErtContents): new methods of tex style compability.
12807         (parseSingleLyXformat2Token): use it several places.
12808         * tabular.C (OldFormatRead): and here
12809
12810 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * text2.C: remove some commented code.
12813         reindent file.
12814
12815         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12816         * trans.C: changes because of the above.
12817
12818 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12819
12820         * text2.C (setCounter): Fix counters bug with bibliography layout.
12821
12822 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12825         own member functions
12826         (simpleTeXSpecialChars): ditto
12827
12828 2001-07-06  Juergen Vigna  <jug@sad.it>
12829
12830         * a lot of files: changed the access to LyXText::status and the
12831         call of undo-functions.
12832
12833         * undo.[Ch]: added a inset_id to the undo informations.
12834
12835         * undo_funcs.[Ch]: added and moved here all undo functions.
12836
12837         * lyxtext.h: give the status enum a weight, made status_ a private
12838         variable and made accessor functions for it, removed the whole bunch
12839         of undo-functions as they are now in their own file, make some
12840         functions publically available. Added function ownerParagraph with
12841         int parameter.
12842
12843         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12844         made InInset() a const function, added getParFromID() function.
12845
12846         * buffer.[Ch]: added const version for inset_iterator functions,
12847         added getInsetFromID() function.
12848
12849         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12850         changed undo functions for new version.
12851
12852 2001-07-05  Juergen Vigna  <jug@sad.it>
12853
12854         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12855         unknow mechanism does not call the proper constructor but only this
12856         one also if I request the other!?
12857
12858 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12861
12862         * text2.C (LyXText): use initialization lists.
12863
12864         * lyxtext.h (Selection): initialize set_ and mark_
12865         (init): remove method
12866
12867 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12870
12871 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * screen.[Ch]: change method names to begin with lowercase
12874
12875         * BufferView_pimpl.C (updateScrollbar): simplify further and
12876         hopefully make it a bit faster.
12877
12878 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12881         calling directly xforms functions.
12882
12883         * Painter.C (Painter):
12884         * lyx_cb.C (MenuWrite):
12885         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12886         fl_display.
12887
12888         * lyx_gui.C: remove bogus guiruntime extern declaration.
12889
12890 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12893         in NEW_INSETS
12894         (redoDrawingOfParagraph): ditto
12895         (redoParagraphs): ditto
12896         (cutSelection): don't create a object for CutAndPaste use the
12897         static method directly
12898         (pasteSelection): ditto
12899
12900         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12901         LyXview (+ rename)
12902
12903 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * modifications to some other files because of this.
12906
12907         * Makefile.am (lyx_SOURCES): add XFormsView
12908
12909         * XFormsView.[Ch]: new files
12910
12911         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12912         the main window. Move the gui dependent stuff to XFormsView
12913
12914 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * tabular.C (GetCellInset): update cur_cell also in the row/col
12917         version of this function.
12918
12919         * lyxfunc.C: no need to include figure_form.h here.
12920
12921         * FontLoader.h:
12922         * lyxfunc.h:
12923         * lyxscreen.h:
12924         * text2.C:
12925         * lyxvc.C: no need to include forms.h here.
12926
12927 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12930
12931         * lyxfunc.C (Dispatch):
12932         * Spacing.C (set):
12933         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12934         constructor argument.
12935
12936 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * paragraph.C (Paragraph): dont't clear, and just set layout.
12939         (makeSameLayout): use params's copy contructor.
12940
12941         * ParagraphParameters.[Ch] (makeSame): delete method
12942
12943 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * Variables.[Ch]: fix indentation, rename set to isSet
12946
12947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * lyxfunc.C (Dispatch): fix typo
12950
12951 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12954         upper_bound.
12955
12956         * bufferlist.C: include assert.h for emergencyWrite().
12957
12958 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12961           give up at last (bug #425202) !
12962
12963 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyx_gui_misc.C:
12966         * sp_form.h:
12967         * sp_form.C:
12968         * spellchecker.h:
12969         * spellchecker.C: strip spellchecker options and bring up
12970           preferences tab instead
12971
12972 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12975         the istringstream constructor
12976
12977 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12978
12979         * paragraph.C (getLayout): fix return value
12980
12981         * paragraph.h: do not declare getLayout as inline.
12982
12983         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12984
12985 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * lyxcursor.h (operator<): new func
12988         (operator>): new func
12989         (operator>=): new func
12990         (operator<=): new func
12991
12992         * text.C (changeCase): use selection.start and selection.end
12993         (changeRegionCase): require from to be <= to. Require par to be a
12994         valid paragraph.
12995
12996         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12997
12998 2001-06-27  Juergen Vigna  <jug@sad.it>
12999
13000         * text.C (cursorLeftOneWord): changed to return the cursor and added
13001         overlay with BufferView * parameter which calls this one.
13002         (getWord): added
13003         (selectWord): use new getWord function.
13004         (changeCase): renamed from changeWordCase as and extended to work
13005         also on selections.
13006
13007         * lyxtext.h: added enum word_location
13008
13009         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13010         changeCase as this operates now also on selections.
13011
13012 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13013
13014         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13015
13016         * many files: send debug output to Debug::INFO instead of
13017         Debug::ANY.
13018
13019         * converter.C (View):
13020         (Convert):
13021         (Move): send debug output to Debug::FILES instead of console.
13022
13023 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13024
13025         * lyxfunc.C (getStatus): use func_status
13026
13027         * func_status.h: new header, describing the results of
13028         LyXFunc::getStatus;
13029
13030         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13031         LFUN_MATH_HALIGN.
13032
13033 2001-06-25  The LyX Project  <jug@sad.it>
13034
13035         * buffer.C (sgmlOpenTag):
13036         (sgmlCloseTag):
13037         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13038
13039 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * text2.C: remove some dead code
13042
13043         * tabular.C (GetCellInset): store the last cell checked (gotten)
13044
13045         * tabular.h: add the helper for the speedup
13046
13047         * lyxtext.h: remove some dead code
13048
13049 2001-06-26  The LyX Project  <Asger>
13050
13051         * paragraph.C: Change export to LaTeX of alignment to
13052         \begin{center} and family for better roundtrip work with reLyX.
13053
13054         * Tune the math drawing a bit.
13055
13056 2001-06-25  The LyX Project  <Asger>
13057
13058         * LColor.C (LColor): New color for math background. New color
13059         for buttons.
13060
13061 2001-06-25  The LyX Project  <jug@sad.it>
13062
13063         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13064
13065         * lyxfunc.C (Open):
13066         * bufferlist.C (newFile): do not restrict to files ending with
13067         .lyx
13068
13069         * BufferView_pimpl.C (MenuInsertLyXFile):
13070
13071 2001-06-24  The LyX Project  <jug@sad.it>
13072
13073         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13074         of compare_no_case
13075
13076 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * lyxtext.h: rename most methods to begin with a small char.
13079         Lots of changes because of this.
13080
13081         * paragraph.C (Paragraph): do not call fitToSize
13082         (erase): call Pimpl::erase
13083         (insertChar): call Pimpl::insertChar
13084         (insertInset): call Pipl::insertInset
13085         (breakParagraph): do not call fitToSize
13086         (breakParagraphConservative): do not call fitToSize
13087         (fitToSize): remove method
13088
13089         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13090
13091 2001-06-24  The LyX Project  <Asger>
13092
13093         * Fix Qt compilation^2
13094
13095 2001-06-24  The LyX Project  <jug@sad.it>
13096
13097         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13098         depthHook(getDepth()-1).
13099
13100         * paragraph.h:
13101         * ParagraphParameters.h:
13102         * ParameterStruct.h: change type of depth to unsigned int ==
13103         depth_type. Many adaptations to other files before of that.
13104
13105 2001-06-24  The LyX Project  <Asger>
13106
13107         * Fix Qt compilation.
13108
13109 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * paragraph.h: renamed several methods to begin with small letter.
13112         several changes to many parts of the code because of this.
13113
13114 2001-06-23  The LyX Project  <jug@sad.it>
13115
13116         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13117         rewritten to discard all double spaces when KeepEmpty is off
13118         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13119         to only handle newlines but not fiddle with spaces and friends.
13120
13121         * lyxfunc.C (MenuNew): when doing 'new from template', use
13122         template_path as default directory
13123
13124 2001-06-23  The LyX Project  <Asger>
13125
13126         * Clean-up of header file includes all over
13127         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13128
13129 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * paragraph.h: renamed from lyxparagraph.h
13132
13133 2001-06-23  Asger  <lyx@violet.home.sad.it>
13134
13135         * Buffer.h: Removed Buffer::resize
13136         * BufferList.h: Removed BufferList::resize
13137         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13138         the document lazily when we change the width, or the font settings.
13139
13140 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13141
13142         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13143
13144 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * buffer.h: remove out of date comment
13147
13148 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13149
13150         * lyxscreen.h:
13151         * screen.C: fix "theoretical" GC leak
13152
13153 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13154
13155         * LaTeX.C (scanAuxFile):
13156         (deplog): remove trailing \r when reading stream (useful under
13157         win32)
13158
13159 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13160
13161         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13162         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13163         and BufferView::theLockingInset(Inset*), so should use them and not
13164         access bv_->text->the_locking_inset directly.
13165
13166         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13167
13168 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * Makefile.am:
13171         * tex-defs.h: remove old unused file
13172
13173 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * BufferView_pimpl.C: fix typo, remove minibuffer message
13176           when buffer has loaded
13177
13178 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13179
13180         * lyxfunc.C (Dispatch): use stringstream
13181         (MenuNew): use stringstream
13182         (Open): use stringstream
13183
13184         * importer.C (Import): use stringstream
13185
13186         * bufferview_funcs.C (CurrentState): use stringstream
13187
13188         * LaTeX.C (run): use stringstream
13189
13190         * BufferView_pimpl.C (savePosition): use stringstream
13191         (restorePosition): use stringstream
13192         (MenuInsertLyXFile): use stringstream
13193
13194 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13195
13196         * BufferView.C:
13197         * Bullet.C:
13198         * ColorHandler.C:
13199         * FontInfo.C:
13200         * FontLoader.C:
13201         * LColor.C:
13202         * LaTeXFeatures.C:
13203         * Painter.C:
13204         * gettext.C:
13205         * lyx_gui_misc.C:
13206         * lyxserver.C:
13207         * vspace.C: removed // -*- C++ -*- as first line.
13208
13209         * lyxfind.h:
13210         * version.h: added // -*- C++ -*- as first line.
13211
13212 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13215
13216         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13217         of string
13218
13219 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13222         of floats.
13223
13224 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * gettext.C: include LString.h even when --disable-nls is on.
13227
13228 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13229
13230         * converter.h (Get): changed argument type from int to
13231         FormatList::size_type to avoid unnecessary conversion.
13232
13233         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13234         before using it.
13235
13236 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * gettext.h: include LString.h even when --disable-nls is on.
13239
13240 2001-06-07  Juergen Vigna  <jug@sad.it>
13241
13242         * text.C (BreakAgain): subst spaces with tabs.
13243
13244         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13245         (resizeInsetsLyXText): set force on resizeLyXText.
13246
13247 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13248
13249         * gettext.h (gettext_init):
13250         (locale_init): use a real definition instead of a macro
13251
13252 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * Bufferview_pimpl.C:
13255         * LColor.h:
13256         * LColor.C: further lcolor tidies
13257
13258 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * BufferView_pimpl.C (updateScrollbar): simplify.
13261
13262         * BufferView2.C: don't include insets/insetinfo.h, change
13263         prototype for insertInset and call the Pimpl version. let
13264         updateInset call Pimpl version.
13265
13266         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13267         gotoInset to BufferView::Pimpl
13268
13269 2001-06-01  Juergen Vigna  <jug@sad.it>
13270
13271         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13272         inside a LockingInset (is the update needed at all?).
13273
13274 2001-05-31  Juergen Vigna  <jug@sad.it>
13275
13276         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13277         here not the old one otherwise how should we compare it afterwards
13278         if it's the same!
13279
13280 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * lyxfont.C:
13283         * tabular.C:
13284         * tabular-old.C:
13285         * FontInfo.C: bring C functions into global namespace when
13286         necessary
13287
13288 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * LString.h: make sure config.h has been loaded before LString.h.
13291
13292         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13293         (one for each char read by EatLine!).
13294
13295         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13296         variables.
13297
13298 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13301         to the same as the par we break from
13302
13303 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13304
13305         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13306
13307         * MenuBackend.C (expand): also create menu entries for wide
13308         versions of the floats.
13309
13310         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13311
13312         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13313
13314         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13315         frontends/Makefile.am
13316
13317         * text2.C: adjust
13318         * text.C: adjust
13319
13320
13321         * tabular.C (getTokenValue): add std::
13322
13323         * tabular-old.C (getTokenValue): add std::
13324         (getTokenValue): ditto
13325         (getTokenValue): ditto
13326
13327         * screen.C (ToggleSelection): adjust
13328
13329         * lyxtext.h: put selection cursors inside a Selection struct.
13330
13331         * lyxfunc.C (moveCursorUpdate): adjust
13332
13333         * lyxfont.C (latexWriteStartChanges): add std::
13334
13335         * lyxfind.C: adjust
13336
13337         * font.h: delete with(char const *, LyXFont const &)
13338
13339         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13340
13341         * FontInfo.C (getFontname): add std::
13342
13343         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13344         (workAreaButtonPress): adjust
13345         (tripleClick): adjust
13346         (update): adjust
13347         (moveCursorUpdate): adjust
13348         (Dispatch): adjust
13349
13350         * BufferView2.C (gotoInset): adjust
13351
13352 2001-05-30  Juergen Vigna  <jug@sad.it>
13353
13354         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13355         to check pspell I add this as default as I now have new pspell
13356         libraries and they seem to use this.
13357
13358 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * text2.C (CutSelection): make the cursor valid before the call to
13361         ClearSelection.
13362
13363 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13366         relied on 0 terminated strings and other horrors. Bug found due to
13367         the new assert in lyxstring!
13368
13369         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13370         KP_ keys.
13371
13372 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13373
13374         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13375         to latinkeys.bind.
13376
13377         * lyxfunc.C (processKeySym): change method of getting to the
13378         self-insert char.
13379
13380         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13381         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13382         * BufferView_pimpl.[Ch]: here as private methods.
13383
13384 2001-05-28  Juergen Vigna  <jug@sad.it>
13385
13386         * text.C (SetHeightOfRow): added the update() call again as it is
13387         needed to initialize inset dimensions!
13388
13389 2001-05-16  Juergen Vigna  <jug@sad.it>
13390
13391         * text2.C (SetCharFont): Add new function with BufferView * and
13392         bool toggleall parameters for setting insets internal fonts.
13393         (SetFont): Freeze the undo as we may change fonts in Insets and
13394         all this change should be inside only one Undo!
13395
13396         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13397         setting font's in insets as for them we have the SetFont function!
13398
13399 2001-05-15  Juergen Vigna  <jug@sad.it>
13400
13401         * text2.C (ClearSelection): to be sure we REALLY don't have any
13402         selection anymore!
13403
13404         * tabular.C (TeXCellPreamble): fixed the left border problem for
13405         multicolumn cells.
13406
13407 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13408
13409         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13410         dependancy file
13411
13412 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13415         LFUN_BREAKPARAGRAPH.
13416
13417         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13418         help test to "internal only", similar for LFUN_INSERT_URL
13419
13420         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13421         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13422         auto_region_delete and deadkeys.
13423
13424 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * LColor.h:
13427         * LColor.C: remove some dead entries, tidy a little
13428
13429 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13432         commented code.
13433         (Dispatch): implement LFUN_ESCAPE
13434
13435         * commandtags.h: add LFUN_ESCAPE
13436
13437         * LyXAction.C (init): add entry for LFUN_ESCAPE
13438
13439         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13440         Remove commented code.
13441         (insertNote): moved here
13442         (open_new_inset): moved here
13443
13444         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13445         BufferView_pimpl
13446
13447 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * kbmap.C (findbinding): clean it up and make it work correctly.
13450
13451         * lyx_main.C (init): do not pass argc and argv as parameters
13452
13453 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13454
13455         * buffer.C: fix path for OS/2 & Win32
13456
13457         * lyx_gui.C:
13458         * lyx_main:
13459         * lyx_main.C: Added os:: class.
13460
13461         * os2_defines.h: update
13462
13463 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13466         better by trying again with reduced state.
13467
13468 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * lyxrc.C (read): print error about invalid key sequence only when
13471         debugging (because not all latinX keysyms are known to some X
13472         servers)
13473
13474         * kbsequence.C (getiso): add a few std:: qualifiers
13475         (getiso): comment out extra return statement.
13476
13477 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13478
13479         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13480         handling.
13481         (Dispatch): enhance the accent inset a bit. (not perfect)
13482
13483 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13486
13487 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * bufferlist.C (emergencyWrite): fix assert() call
13490
13491 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13492
13493         * text.C (InsertChar): Added trivial patch to only send the "you
13494         can not do multiple spaces this way" message once during a
13495         session.
13496
13497 2001-05-08  Baruch Even  <baruch@lyx.org>
13498
13499         * Makefile.am: Changed order of libraries to get LyX to link properly
13500         with the gnome frontend.
13501
13502 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * LaTeXFeatures.h: add a std:: qualifier
13505
13506 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * paragraph.C (String): use stringstream
13509
13510 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * paragraph.C (writeFile): remove footflag arg
13513
13514         * buffer.C (makeLaTeXFile): use stringstream
13515         (latexParagraphs): remove footnot gurba
13516
13517         * LaTeXFeatures.C (getPackages): use stringstream
13518         (getMacros): likewise
13519         (getTClassPreamble): likewise
13520         (getFloatDefinitions): new method
13521
13522         * paragraph.C (writeFile): reindent
13523         (Erase): reindent
13524
13525         * WorkArea.h: revert the xpos + etc changes.
13526
13527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13528
13529         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13530
13531         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13532         (pasteSelection): likewise
13533         * text2.C (CreateUndo): likewise
13534
13535 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * minibuffer.C (peek_event): temporarily reduce the functionality
13538         of the minibuffer (to allow args on lfuns)
13539
13540         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13541         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13542
13543         * buffer.C (readInset): add compability reading of old float
13544         lists, add reading of new style float list.
13545         (readInset): avoid reevaluation of inscmd.getCmdName()
13546         (getLists): reindent
13547
13548         * MenuBackend.C (MenuItem): implement parsing of
13549         md_floatlistinsert and md_floatinsert.
13550         (expand::LastFiles): move initalizaton of iterators out of loop,
13551         avoid reevaluation.
13552         (expand::Documents): introduce typdedef vector<string> Strings,
13553         and use it.
13554         (expand::ExportFormats): introduce typedef vector<Format const *>
13555         Formats, and use it.
13556         (expand): implement FloatListInsert and FloatInsert.
13557
13558         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13559         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13560         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13561
13562         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13563         handling.
13564         (Dispatch::LFUN_FLOAT_LIST): implement
13565
13566 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13567
13568         * LaTeX.C (run): Fix problem with --export code.
13569
13570 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13571
13572         * BufferView.[Ch] (workarea): removed.
13573         (getClipboard) new method; wrapper for workarea()->getClipboard()
13574
13575         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13576         bug.
13577
13578         * WorkArea.h (width, height, xpos, ypos): These methods all
13579         returned the dimensions of the work_area sub-area of WorkArea,
13580         resulting in a position error if the WorkArea were resized. Now
13581         return the dimensions of the entire WorkArea.
13582
13583         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13584
13585 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * LaTeX.C (deplog): correct the syntax of regex reg1
13588
13589 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * undo.C: remove !NEW_INSETS cruft
13592
13593 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13594
13595         * text2.C: remove !NEW_INSETS cruft
13596
13597         * text.C: remove !NEW_INSETS cruft
13598
13599         * tabular.C: remove !NEW_INSETS cruft
13600
13601         * spellchecker.C: remove !NEW_INSETS cruft
13602
13603         * lyxtext.h: remove !NEW_INSETS cruft
13604
13605         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13606
13607         * lyxfunc.C: remove !NEW_INSETS cruft
13608
13609         * lyxfind.C: remove !NEW_INSETS cruft
13610
13611         * lyx_cb.C: remove !NEW_INSETS cruft
13612
13613         * figureForm.C: remove  !NEW_INSETS cruft
13614
13615         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13616
13617         * buffer.[Ch]: remove !NEW_INSETS cruft
13618
13619         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13620
13621         * CutAndPaste.C: remove !NEW_INSETS cruft
13622
13623         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13624
13625         * BufferView2.C: remove !NEW_INSETS cruft
13626
13627         * BufferView.h: remove !NEW_INSETS cruft
13628
13629 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * Lsstream.h: include LString.h before the sstream headers to
13632         fix problem with gcc 2.95.3 and lyxstring
13633
13634 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * lyx_main.C: add using directives when needed for C functions
13637         declared in std:: namespace.
13638
13639 2001-04-27  Juergen Vigna  <jug@sad.it>
13640
13641         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13642         (SetHeightOfRow): comment out the update call should not be needed!
13643
13644 2001-04-13  Juergen Vigna  <jug@sad.it>
13645
13646         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13647         (LyXTabular): tried to minimize operator= operations (and realized
13648         hopfully Lars wish).
13649
13650 2001-04-27  Juergen Vigna  <jug@sad.it>
13651
13652         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13653
13654 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13657
13658         * buffer.C (readInset): hack to make listof algorithm work
13659
13660         * BufferView_pimpl.C: hack to make listof algorithm work
13661
13662 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * LyXAction.C: removed all !NEW_INSETS cruft
13665         (init): moved lfun_item in method
13666
13667         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13668
13669 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13670
13671         * BufferView2.C (theLockingInset): white space.
13672
13673 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * minibuffer.C: include <iostream>
13676
13677         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13678
13679         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13680
13681         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13682
13683         * text.[Ch] (TransposeChars): new method
13684
13685 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * call message directly through LyXView instead of through LyXFunc
13688         * BufferView2.C: adjust
13689         * BufferView_pimpl.C: adjust
13690         * FontLoader.C: adjust
13691         * buffer.C: adjust
13692         * bufferview_funcs.C: adjust
13693         * converter.C: adjust
13694         * figureForm.C: adjust
13695         * importer.C: adjust
13696         * lyx_cb.C: adjust
13697         * lyx_gui_misc.C: adjust
13698         * lyxfunc.C: adjust
13699         * lyxvc.C: adjust
13700         * text2.C: adjust
13701         + more files in subdirs
13702
13703         * lyxparagraph.h (size): move up int file
13704         (GetLayout): ditto
13705
13706         * adjust all uses of Assert to lyx::Assert.
13707
13708         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13709         lyxfunctional in namespace lyx
13710         * layout.C (hasLayout): ditto
13711         (GetLayout): ditto
13712         (GetLayout): ditto
13713         (delete_layout): ditto
13714         (NumberOfClass): ditto
13715         * converter.C (GetFormat): ditto
13716         (GetNumber): ditto
13717         (Add): ditto
13718         (Delete): ditto
13719         (SetViewer): ditto
13720         * bufferlist.C (getFileNames): ditto
13721         (emergencyWriteAll): ditto
13722         (exists): ditto
13723         (getBuffer): ditto
13724         * MenuBackend.C (hasSubmenu): ditto
13725         (hasMenu): ditto
13726         (getMenu): ditto
13727         * BufferView_pimpl.C (getInsetByCode): ditto
13728
13729 2001-04-18  Juergen Vigna  <jug@sad.it>
13730
13731         * vspace.C (asLatexString): fixed the 100% problem.
13732
13733 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * lyxfunc.C (Dispatch):
13736         * minibuffer.C:
13737         * minibuffer.h: add a few std:: qualifiers
13738
13739 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * minibuffer.[Ch]: reimplement so that commands is initiated and
13742         run from lyxfunc, simplified som handling, and made the completion
13743         and history code for complete. wip.
13744
13745         * lyxfunc.C (processKeySym): call message
13746         (miniDispatch): new temporary method
13747         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13748         (LFUN_MESSAGE): implement
13749         (LFUN_MESSAGE_PUSH): implement
13750         (LFUN_MESSAGE_POP): implement
13751         (initMiniBuffer): the initial/defualt minibuffer message.
13752
13753         * lyxfont.[Ch]: inline some more getters
13754
13755         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13756
13757         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13758
13759         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13760         (AutoSave): use LFUN_MESSAGE
13761         (Reconfigure): ditto
13762
13763         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13764
13765         * figureForm.C: use LFUN_MESSAGE
13766
13767         * converter.C (runLaTeX): use LFUN_MESSAGE
13768
13769         * bufferview_funcs.C: use LFUN_MESSAGE
13770         (Melt): ditto
13771         (changeDepth): ditto
13772
13773         * bufferparams.h: use boost::
13774
13775         * bufferlist.h: inherit privately from noncopyable
13776
13777         * bufferlist.C (loadLyXFile): remove some commented code.
13778
13779         * buffer.C (runChktex): use LFUN_MESSAGE
13780
13781         * ShareContainer.h: inherit privately from noncopyable
13782
13783         * ParagraphParameters.[hC] (depth): inline it.
13784
13785         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13786         methods.
13787         (message): new method
13788         (messagePush): ditto
13789         (messagePop): ditto
13790         (show): init minibuffer
13791         (showState): direct call
13792
13793         * LaTeX.[Ch]: inherit privately from noncopyable
13794         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13795         instead of WriteStatus.
13796
13797         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13798
13799         * BufferView_pimpl.C (buffer): don't init minibuffer
13800         (workAreaButtonPress): use LFUN_MESSAGE
13801         (workAreaButtonRelease): ditto
13802         (savePosition): ditto
13803         (restorePosition): ditto
13804         (MenuInsertLyXFile): ditto
13805         (workAreaExpose): don't init minibuffer
13806         (update): remove commented code, simplify
13807
13808         * BufferView2.C (openStuff): use LFUN_MESSAGE
13809         (toggleFloat): ditto
13810         (menuUndo): ditto
13811         (menuRedo): ditto
13812         (copyEnvironment): ditto
13813         (pasteEnvironment): ditto
13814         (copy): ditto
13815         (cut): ditto
13816         (paste): ditto
13817         (gotoInset): ditto
13818         (updateInset): remove some commented code
13819
13820         * lastfiles.h: inherit privately from noncopyable
13821         * layout.h: ditto
13822         * lyx_gui.h: ditto
13823         * lyx_main.h: ditto
13824         * lyxlex.h: ditto
13825         * lyxlex_pimpl.h: ditto
13826
13827         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13828         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13829         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13830
13831         * LyXAction.h: inherit privately from noncopyable, add methods
13832         func_begin, func_end, returning iterators to the func map.
13833
13834         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13835         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13836         (func_begin): new method
13837         (func_end): new method
13838
13839         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13840         and not)
13841         (copySelection): ditto
13842         (pasteSelection): ditto
13843
13844         * BufferView.C: whitespace change
13845         * BufferView.h: inherit privately from noncopyable
13846
13847 2001-04-16  Allan Rae  <rae@lyx.org>
13848
13849         * tabular-old.C (l_getline):
13850         * spellchecker.C (sc_check_word):
13851         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13852         an unrecognised preprocessor directive.  So ensure they're wrapped.
13853
13854 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13855
13856         * src/exporter.C (Export): Give an error message when path to file
13857         contains spaces.
13858
13859 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13860
13861         * LaTeX.C (deplog): Always check that foundfile exists.
13862
13863 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * lyx_main.h:
13866         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13867
13868 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13869
13870         * tabular.[Ch] (getLabelList): implement new method
13871
13872         * minibuffer.h: comment ouf setTiimer
13873
13874         * minibuffer.C (ExecutingCB): constify res
13875         (peek_event): constify s
13876         (Set): constify ntext
13877         (Init): constify nicename
13878
13879         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13880
13881         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13882         (savePosition): use two params to Minibuffer::Set
13883         (restorePosition): ditto
13884
13885 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * lyx_main.C: include language.h
13888
13889         * Makefile.am (lyx_main.o): add language.h
13890
13891 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * exporter.C:
13894         * paragraph.C:
13895         * screen.C:
13896         * tabular.C:
13897         * CutAndPaste.C: include gettext.h
13898
13899         * lyxfont.h: remove old hack with ON and OFF.
13900
13901         * lyxparagraph.h:
13902         * lyxfont.h: do not include language.h...
13903
13904         * BufferView2.C:
13905         * LaTeXFeatures.C:
13906         * Painter.C:
13907         * bufferview_funcs.C:
13908         * font.C:
13909         * lyxfont.C:
13910         * text.C:
13911         * text2.C:
13912         * trans_mgr.C:
13913         * paragraph.C: ... but do it here instead
13914
13915 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13918
13919         * tabular.C: small reformat
13920
13921         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13922         NEW_INSETS version
13923         (GetChar): ditto
13924         (BreakParagraph): ditto
13925         (SetOnlyLayout): ditto
13926         (SetLayout): ditto
13927
13928         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13929         with one arg less.
13930
13931         * lastfiles.C: removed most using decl, add std:: where needed
13932
13933         * buffer.C: ws changes
13934
13935         * MenuBackend.C (class compare_format): put into anon namespace
13936         (expand): constify label, names, action, action2
13937         (expand):
13938
13939         * text.C (SingleWidth): constify font
13940         (IsBoundary): constify rtl2
13941         (GetVisibleRow): constify ww
13942
13943         * LaTeX.C (deplog): constify logfile
13944
13945         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13946         start_x, end_x
13947         (workAreaExpose): constify widthChange, heightChange
13948
13949         * lyxrow.C (par): moved
13950         (height): moved
13951         (next): moved
13952         * lyxrow.h: as inlines here
13953
13954         * lyxfont.h (shape): moved from lyxfont.C
13955         (emph): moved from lyxfont.C
13956
13957         * lyxfont.C (LyXFont): use initialization list for all
13958         constructors
13959         (shape): move to lyxfont.h as inline
13960         (emph): move to lyxfont.h as inline
13961
13962
13963 2001-04-04  Juergen Vigna  <jug@sad.it>
13964
13965         * vspace.C: had to include stdio.h for use of sscanf
13966
13967 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * BufferView.h:
13970         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13971         independent of xforms.
13972
13973 2001-04-02  Juergen Vigna  <jug@sad.it>
13974
13975         * spellchecker.C: fixed namespace placing!
13976
13977 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13980         the LyXParagraph * is 0.
13981
13982 2001-03-29  Juergen Vigna  <jug@sad.it>
13983
13984         * vspace.C: added support for %, c%, p%, l%.
13985         (stringFromUnit): added helper function.
13986         (asLatexString): changed to give right results for the %-values.
13987
13988         * buffer.C: convert the widthp in a width%.
13989
13990 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13993         figureForm.[Ch].
13994
13995         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13996         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13997
13998         * lyx_cb.[Ch]: see above.
13999
14000         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14001         form1.[Ch].
14002
14003         * form1.[Ch]:
14004         * lyx.[Ch]: replaced by figure_form.[Ch].
14005
14006         * lyx_gui.C:
14007         * lyx_gui_misc.C:
14008         * lyxfunc.C: changed headers associated with above changes.
14009
14010 2001-03-27  Juergen Vigna  <jug@sad.it>
14011
14012         * BufferView_pimpl.C: set the temporary cursor right!
14013
14014 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14017
14018 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * LString.h: removed "using std::getline"!
14021
14022         * BufferView_pimpl.C (Dispatch): changes due to changes in
14023         InsetInclude::Params.
14024
14025         * buffer.C (tag_name): removed redundant break statements as they were
14026         producing lots of warnings with my compiler.
14027
14028 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * LString.h: add "using std::getline" when using the real <string>.
14031
14032 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14033
14034         * buffer.C: removed bitset usage.
14035         PAR_TAG moved to an anonymous name space.
14036         (tag_name): new funtion, also in the anonymous namespace.
14037         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14038         (makeDocBookFile): clean code. Completed transition from string arrays
14039         to string vectors.
14040         (SimpleDocBookOnePar): code clean.
14041
14042 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14043
14044         * tabular.C: add some comments.
14045
14046 2001-03-22  Juergen Vigna  <jug@sad.it>
14047
14048         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14049         compatibility read a bit and fixed bug with minipage in different
14050         depth.
14051
14052 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14053
14054         * buffer.C (pop_tag): removed.
14055         (push_tag): removed.
14056         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14057         array replaced with vector. Added support for CDATA sections.
14058         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14059         at any nest level.
14060         (makeDocBookFile): XML conformant declaration of CDATA section,
14061         fixed bug related to <emphasis> in the first paragraph char.
14062         (sgmlOpenTag): exclude empty tags.
14063         (sgmlCloseTag): ditto.
14064
14065         * buffer.h (pop_tag): removed.
14066         (push_tag): removed.
14067
14068 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * language.h (Languages): added size_type and size().
14071
14072 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14073
14074         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14075         response on compability reading of minipages. One probliem is that
14076         the old usage of minipages was «flertydig»
14077
14078         * several files here and in subdirs: don't use static at file
14079         scope use anon namespaces instead.
14080
14081 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14082
14083         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14084         LaTeX output. This is necessary for Literate document
14085         processing.
14086
14087 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14088
14089         * buffer.C: insert hfill when needed.
14090
14091         * tabular.C (l_getline): use string::erase, small whitespace change.
14092
14093         * BufferView_pimpl.C: try the anon namespace.
14094         * WorkArea.C: ditto
14095
14096 2001-03-16  Juergen Vigna  <jug@sad.it>
14097
14098         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14099         otherwise it won't open options-dialogs.
14100
14101         * buffer.C: honor pextraWidth(p) on converting minipages.
14102
14103         * tabular.C (l_getline): changed the functions to strip trailing \r.
14104
14105 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * BufferView_pimpl.C:
14108         * minibuffer..C: added "using SigC::slot" declaration.
14109
14110 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14111
14112         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14113
14114         * text2.C: ditto
14115
14116         * text.C: ditto
14117
14118         * paragraph.C: ditto
14119
14120         * lyxtext.h: NO_PEXTRA
14121
14122         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14123
14124         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14125         * ParameterStruct.h: ditto
14126         * ParagraphParameters.h: ditto
14127         * lyxparagraph.h: ditto
14128
14129 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14130
14131         * buffer.C: add compability for minipage alignment.
14132         (latexParagraphs): remove unwanted pextra check.
14133
14134         * several files: remove CXX_WORKING_NAMESPACES
14135
14136         * buffer.C (pop_tag): tie is in namespace boost
14137
14138         * BufferView.h: noncopyable is in namespace boost
14139         * lyxlex.h: ditto
14140         * lyx_main.h: ditto
14141         * lyx_gui.h: ditto
14142         * layout.h: ditto
14143         * lastfiles.h: ditto
14144         * bufferlist.h: ditto
14145         * ShareContainer.h: ditto
14146         * LyXView.h: ditto
14147         * LyXAction.h: ditto
14148         * LaTeX.h: ditto
14149
14150 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14151
14152         * Merging changes from BRANCH_MVC back into HEAD.
14153
14154         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14155
14156 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * BufferView_pimpl.C: change from intl.C
14159
14160         * combox.h:
14161         * combox.C:
14162         * Makefile.am: move combox.*
14163
14164         * form1.h:
14165         * form1.C:
14166         * lyx_gui.C:
14167         * intl.h:
14168         * intl.C: remove dialog (covered by prefs)
14169
14170 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14171
14172         * lyxfunc.C (Dispatch): removed redundant break statement.
14173
14174 2001-03-14  Juergen Vigna  <jug@sad.it>
14175
14176         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14177
14178 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14179
14180         * buffer.C: add hack to fix compability reading of minipages.
14181
14182 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * buffer.C (getLists): Cleanup.
14185
14186 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14187
14188         * lyxfont.C (update): don't honor toggleall on font size.
14189
14190 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * bmtable.c:
14193         * bmtable.h:
14194         * Makefile.am: moved to frontends/xforms/
14195
14196         * lyx_gui_misc.C:
14197         * lyxfunc.C:
14198         * BufferView_pimpl.C: changes for moved mathpanel
14199
14200 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * gettext.h: fix gettext_init() in --disable-nls
14203
14204 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14207
14208 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * lyx.C:
14211         * lyx.h: strip external form
14212
14213 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * BufferView_pimpl.C: add comment, destroySplash()
14216
14217 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14218
14219         * BufferView_pimpl.C:
14220         * LyXAction.C:
14221         * buffer.C:
14222         * commandtags.h:
14223         * lyxfunc.C: use re-worked insetinclude
14224
14225 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14226
14227         * buffer.C: add using std::stringstream.
14228
14229         * lyx_cb.C: readd using std::ios.
14230
14231         * buffer.C: add using std::map.
14232
14233         * BufferView_pimpl.C: add using std::vector.
14234
14235         * ShareContainer.h: add std:: to swap.
14236
14237         * buffer.h: add some typedefs
14238         * buffer.C (getLists): use them
14239         (getLists): renamed from getTocList.
14240         add a counter for the different float types and use it in the
14241         generated string.
14242         (getLists): use the same counter for the NEW_INSETS and the "non"
14243         NEW_INSETS
14244
14245         * lyx_cb.h: remove unused items, includes, using etc.
14246
14247         * ShareContainer.h: remove some commented code, add more comments
14248         and "documentation".
14249
14250 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14251
14252         * buffer.C (getTocList): make the list also when NEW_INSETS is
14253         defined.
14254
14255         * buffer.h: remove TocType
14256
14257         * buffer.C (getTocList): change to return a map<string,
14258         vector<TocItem> >, implement for dynamic number of list.
14259
14260         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14261         * text2.C (PasteSelection): adjust
14262         * CutAndPaste.C (pasteSelection): adjust
14263
14264         * FloatList.C (FloatList): update from the new_insets branch.
14265         * Floating.[Ch]: ditto
14266         * LaTeXFeatures.C: ditto
14267         * buffer.C: ditto
14268         * lyxlex_pimpl.C: ditto
14269
14270         * paragraph.C (Last): remove when NEW_INSETS is defined.
14271
14272         * other file: changes because of the above.
14273
14274 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14275
14276         * lyxparagraph.h: rename next to next_, previous to previous_,
14277         make them private for NEW_INSETS. Rename Next() to next(),
14278         Previous() to previous().
14279
14280         * other files: changes because of the above.
14281
14282 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * BufferView.h:
14285         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14286         problem.
14287
14288 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * main.C (main): pass lyx_localedir to gettext_init().
14291
14292         * gettext.h: remove locale_init and gettext_init macros
14293
14294         * gettext.C (locale_init): new function
14295         (gettext_init): new function
14296
14297         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14298         setlocale().
14299
14300 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14301
14302         * Moved credits to frontends:
14303         * credits.[Ch]: removed
14304         * credits_form.[Ch]: removed
14305         * lyx_gui_misc.C: remove credits stuff
14306         * Makefile.am:
14307
14308 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14309
14310         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14311
14312         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14313         unneeded destructor.
14314
14315         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14316         a standalone pointer again.
14317
14318         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14319
14320 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * Makefile.am:
14323         * filedlg.h:
14324         * filedlg.C:
14325         * LyXAction.C:
14326         * ToolbarDefaults.C:
14327         * bufferlist.C:
14328         * commandtags.h:
14329         * form1.C:
14330         * form1.h:
14331         * lyx_cb.C:
14332         * lyx_cb.h:
14333         * lyxfunc.h:
14334         * lyxfunc.C:
14335         * BufferView_pimpl.C: use new file dialog in GUII
14336
14337         * lyx_cb.h:
14338         * lyx_cb.C: remove LayoutsCB to Toolbar
14339
14340 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * ShareContainer.h (get): add std:: qualifier
14343
14344 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14345
14346         * ShareContainer.h: define a proper ShareContainer::value_type
14347         type (and use typename to please compaq cxx)
14348
14349 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14350
14351         * lyxparagraph.h: move serveral local vars to
14352         ParameterStruct/ParagraphParameters., use ShareContainer in
14353         FontTable., make vars in FontTable private and add getter and
14354         setter.
14355
14356         * paragraph.C: changes because of the above.
14357
14358         * lyxfont.h: remove copy constructor and copy assignment. (the
14359         default ones is ok), move number inside FontBits. move inlines to
14360         lyxfont.C
14361
14362         * lyxfont.C: add number to initializaton of statics, move several
14363         inlines here. constify several local vars. some whitespace
14364         cleanup. Dont hide outerscope variables.
14365
14366         * Spacing.h: add two new constructors to match the set methods.
14367
14368         * ShareContainer.h: new file, will perhaps be moved to support
14369
14370         * ParameterStruct.h: new file
14371
14372         * ParagraphParameters.h: new file
14373
14374         * ParagraphParameters.C: new file
14375
14376         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14377         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14378
14379         * BufferView_pimpl.C: ParagraphParameter changes.
14380         * buffer.C: Likewise.
14381         * bufferview_funcs.C: Likewise.
14382         * text.C: Likewise.
14383         * text2.C: Likewise.
14384
14385 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * lyxfind.C (LyXReplace): do not redefine default argument in
14388         implementation.
14389         (IsStringInText): ditto
14390         (SearchForward): ditto
14391         (SearchBackward): ditto
14392
14393 2001-03-06  Juergen Vigna  <jug@sad.it>
14394
14395         * lyxfind.C (IsStringInText): put parentes around expressions.
14396
14397 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14398
14399         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14400
14401 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14404
14405         * stl_string_fwd.h: add comment
14406
14407         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14408
14409         * tabular.h:
14410         * tabular.C: remove unused DocBook methods
14411
14412         * intl.C:
14413         * language.C:
14414         * paragraph.C:
14415         * buffer.C:
14416         killed DO_USE_DEFAULT_LANGUAGE
14417
14418 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * lyx_gui.C: do not include language.h.
14421
14422         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14423         arguments in function implementation.
14424
14425 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14426
14427         * BufferView_pimpl.C: add <ctime>
14428
14429 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14430
14431         * BufferView_pimpl.C: add using std::find_if
14432
14433 2001-02-27  José Matos  <jamatos@fep.up.pt>
14434
14435         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14436         by OnlyPath.
14437
14438 2001-02-11  José Matos  <jamatos@fep.up.pt>
14439
14440         * buffer.C (makeDocBookFile): command styles now have a parameter as
14441         "title" by default.
14442
14443 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14444
14445         * layout_forms.[Ch]: removed
14446         * lyx_cb.[Ch]: out character
14447         * lyx_gui.C: out character
14448         * lyx_gui_misc.C: out character
14449         * bufferview_funcs.C: : out character,
14450         added toggleall as parameter in ToggleAndShow
14451
14452 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14453
14454         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14455
14456         * text2.C (SetCurrentFont): Disable number property at boundary.
14457
14458 2001-02-26  Juergen Vigna  <jug@sad.it>
14459
14460         * lyxfunc.C (getStatus): added a string argument override function so
14461         that this is correctly called from LyXFunc::Dispatch if it contains a
14462         do_not_use_argument which is used!
14463         (Dispatch): added check for "custom" export and call appropriate func.
14464
14465 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * lyxrc.C: Add language_command_local, language_use_babel and
14468         language_global_options.
14469
14470         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14471
14472         * buffer.C (makeLaTeXFile): Use language_use_babel and
14473         language_global_options.
14474
14475 2001-02-23  Juergen Vigna  <jug@sad.it>
14476
14477         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14478         which works with LyXText and putted it inside BufferView. Here now we
14479         only call for that part the BufferView::Dispatch() function.
14480
14481         * BufferView.C (Dispatch): added.
14482
14483         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14484         functions which needs to use a LyXText over from LyXFunc.
14485         (MenuInsertLyXFile): added
14486         (getInsetByCode): added
14487         (moveCursorUpdate): added
14488         (static TEXT): added
14489
14490 2001-02-22  Juergen Vigna  <jug@sad.it>
14491
14492         * BufferView_pimpl.C (update): call a status update to see if LyXText
14493         needs it.
14494
14495 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14496
14497         * vc-backend.C (revert): implement for CVS
14498         (getLog): implement for CVS
14499
14500 2001-02-20  Juergen Vigna  <jug@sad.it>
14501
14502         * text2.C (ClearSelection): added BufferView param for inset_owner call
14503
14504         * lyxfunc.C (TEXT): added this function and use it instead of
14505         directly owner->view()-text of getLyXText().
14506
14507 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14508
14509         * src/layout_forms.C: out preamble
14510         * src/layout_forms.h: out preamble
14511         * src/lyx_cb.C: out preamble
14512         * src/lyx_cb.h: out preamble
14513         * src/lyx_gui.C: out preamble
14514         * src/lyx_gui_misc.C: out preamble
14515         * src/lyxfunc.C: connect with guii preamble
14516
14517 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14518
14519         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14520
14521 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14524         whether to run bibtex.
14525
14526 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14527
14528         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14529
14530 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14531
14532         * Makefile.am (lyx_SOURCES): removed bibforms.h
14533
14534         * vspace.h: doxygen
14535
14536         * text.C (GetVisibleRow): make several local vars const
14537
14538         * tabular.C: small cleanup.
14539
14540         * lyxserver.C (callback): use compare instead of strncmp
14541
14542         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14543         inlines to after class or to paragraph.C
14544
14545         * lyxfont.h: remove friend operator!=
14546
14547         * converter.h: move friend bool operator< to non friend and after
14548         class def.
14549
14550         * combox.h: small cleanup
14551
14552         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14553         to inlines after class def.
14554
14555         * buffer.C (pop_tag): use string operations instead of strcmp
14556
14557         * bmtable.c: doxygen, small cleanup
14558
14559         * LaTeX.h: remove friend operator==
14560
14561 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14562
14563         * screen.C:
14564         * lyxrc.[Ch]:
14565         * lyxfunc.C:
14566         * lyxfont.[Ch]:
14567         * lyx_cb.C:
14568         * intl.[Ch]:
14569         * commandtags.h:
14570         * buffer.C:
14571         * WorkArea.[Ch]:
14572         * LyXAction.C:
14573         * BufferView_pimpl.C:
14574         * BufferView.[Ch]: remove cruft
14575
14576 2001-02-14  Juergen Vigna  <jug@sad.it>
14577
14578         * lyxfunc.C: removed #if 0 unused code
14579
14580         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14581
14582         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14583
14584         * text2.C (SetSelection): added a BufferView * parameter
14585
14586 2001-02-13  Juergen Vigna  <jug@sad.it>
14587
14588         * lyxfunc.C (Dispatch): fixed protected blank problem.
14589         * BufferView2.C (protectedBlank): added LyxText * parameter.
14590
14591         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14592         (AppendColumn): same as above for column_info.
14593
14594         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14595         (moveCursorUpdate): use a LyXText param for support of InsetText.
14596
14597         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14598         (tripleClick): ditto
14599
14600         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14601
14602         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14603
14604         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14605
14606         * text2.C (SetSelection): set correct update status if inset_owner
14607         (ToggleFree): ditto
14608
14609 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14610
14611         * tabular.C: remove some commented code.
14612
14613 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * BufferView_pimpl.C: call hideSplash()
14616
14617         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14618
14619         * include_form.h:
14620         * bibforms.h: remove
14621
14622         * lyxfunc.C:
14623         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14624           add LFUN_CHILD_CREATE
14625
14626         * counters.h: fix tiny typo
14627
14628         * lyx_cb.C:
14629         * lyx.h:
14630         * lyx_gui.C:
14631         * lyx.C: move splash to frontends/xforms/
14632
14633         * lyx_gui_misc.C: move Include and Bibform to frontends
14634
14635         * lyxvc.h: clarify comment
14636
14637         * vspace.C: tiny housekeeping
14638
14639 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * text.C (PrepareToPrint): RTL Fix.
14642
14643         * paragraph.C (GetUChar): New method.
14644         (String):  Use GetUChar.
14645
14646         * buffer.C (asciiParagraph): Use GetUChar.
14647
14648 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14649
14650         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14651
14652 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * buffer.h:
14655         * buffer.C: rename to getLogName(), handle
14656           build log / latex log nicely
14657
14658 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14659
14660         * MenuBackend.C:
14661         * MenuBackend.h: remove support for reference menuitem type.
14662
14663 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * BufferView_pimpl.C: housekeeping
14666         * BufferView_pimpl.h:
14667         * LyXView.h:
14668         * Makefile.am:
14669         * Timeout.C:
14670         * Timeout.h:
14671         * minibuffer.h: move Timeout GUI-I
14672
14673 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * lyxrc.C (read): Update converters data-structures.
14676
14677 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14678
14679         * LaTeX.h (operator!=): add operator != for Aux_Info
14680
14681 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14684
14685         * LaTeXLog.C: deleted, useful code moved to Buffer
14686
14687         * buffer.h:
14688         * buffer.C: new function getLatexLogName()
14689
14690         * lyx_gui_misc.C:
14691         * lyx_gui.C:
14692         * lyxvc.C:
14693         * lyxvc.h:
14694         * lyxfunc.C: use frontends for LaTeX and VC logs
14695
14696 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * LaTeX.h: yet another std:: that Allan forgot.
14699
14700         * Variables.C (set): renamed from isset(), because this clashes
14701         with some HP-UX macros (grr).
14702
14703 2001-02-06  Allan Rae  <rae@lyx.org>
14704
14705         * LaTeX.h: Another bug fix.  Missing std:: this time.
14706
14707 2001-02-04  Allan Rae  <rae@lyx.org>
14708
14709         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14710         floats problem. I've left it commented out because it's not quite
14711         correct.  It should also test that the current object is a table or
14712         figure inset.  But I haven't gotten around to figuring out how to do
14713         that.  I *think* it'll be something like: "table" == inset.type()
14714
14715         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14716         bool.
14717
14718 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14721         all the citation/databases/styles in the auxilary file.
14722         (run): Rerun latex if there was a babel language error.
14723
14724 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14725
14726         * text.C (Backspace): Preserve the font when changing newline char
14727         with a space.
14728         (BreakParagraph): If the cursor is before a space, delete the space.
14729
14730         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14731
14732 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14733
14734         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14735         new argument (code).
14736         (ChangeCitationsIfUnique): New method.
14737
14738         * paragraph.C (GetPositionOfInset): Handle bibkey.
14739
14740 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * BufferView_pimpl.h: change type of Position::par_pos to
14743         LyXParagraph::size_type.
14744
14745 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14746
14747         * BufferView_pimpl.C (savePosition, restorePosition): Write
14748         messages to minibuffer.
14749
14750 2001-01-28  José Matos  <jamatos@fep.up.pt>
14751
14752         * buffer.C (makeDocBookFile): adds support for document language.
14753         A silly restriction on the name of LatexCommand types where removed.
14754         Added support for CDATA sections, allows to chars unescaped, used
14755         among others in code, to avoid escape < and >.
14756
14757 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14758
14759         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14760         saved positions instrad of a stack. Furthermore, a position is
14761         stored using paragraph id/paragraph position.
14762
14763         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14764         Remove LFUN_REF_BACK.
14765
14766 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14767
14768         * converter.C (dvipdfm_options): New method.
14769
14770 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * vspace.C (isValidLength): Fix for empty input string.
14773
14774 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * LyXAction.C (init): change description of LFUN_FIGURE to
14777         "Insert Graphics"
14778
14779 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * LaTeX.C: add using directive
14782
14783 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14784
14785         * MenuBackend.C (expand): Fix the sorting of the formats.
14786
14787 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * lyx_main.C: tiny error message fix
14790
14791 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14794         calling fl_initialize(). This fixes the problem with ',' as
14795         decimal separator in text files.
14796
14797 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14798
14799         * trans.C (process): Fix the keymap bug.
14800
14801 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14802
14803         * LaTeX.C (scanAuxFiles): New method. Provides support for
14804         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14805         (scanLogFile) Scan for "run BibTeX" messages.
14806
14807         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14808         OT1 font encoding. Also, load the aecompl package if the ae
14809         package is loaded.
14810
14811         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14812
14813 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * texrow.C (increasePos): turn two error messages into debug
14816         messages.
14817
14818 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * LaTeX.C (scanAux): Handle the \@input macro.
14821         (runBibTeX): Use scanAux().
14822
14823         * language.C (latex_options_): New field.
14824
14825         * LaTeXFeatures.C (getMacros): Add language macros.
14826
14827         * buffer.C (makeLaTeXFile): Small fix.
14828
14829 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14832
14833         * text2.C: add a using directive.
14834
14835 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * BufferView2.C:
14838         * lyx_gui_misc.h:
14839         * lyxfr1.C:
14840         * lyxfunc.C: kill LyXBell.
14841
14842 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14843
14844         * text.C (IsBoundary): Remove the error message
14845
14846         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14847
14848         * lyxrc.C (setDefaults): Correct initialization value for
14849         font_norm_type.
14850
14851 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14852
14853         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14854         gotoError().
14855
14856         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14857         and GotoNextNote().
14858
14859         * src/LyXAction.C: Added reference-next.
14860
14861         * text.C (InsertChar): Use contains instead of strchr.
14862
14863         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14864
14865 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14866
14867         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14868         alignment commands (when needed).
14869
14870         * text.C (InsertChar): Add ':' to number separator chars.