]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6855488417f092993f0dfc458aa4f0812a8ac619
[lyx.git] / src / ChangeLog
1 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text2.C (setCursorFromCoordinates): fix font problem
4
5 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
8         bogus "rebuild cursor" code
9
10 2004-03-11  André Pönitz  <poenitz@gmx.net>
11
12         * buffer.[Ch]: use InsetText instead of LyXText as container for 
13         the main lyx text.
14
15         * dociterator.[Ch]: drop the BufferView * member which is not needed
16         anymore after the change to buffer.C
17
18         * paragraph_funcs.C:
19         * text.C:
20         * text2.C:
21         * BufferView.[Ch]:
22         * BufferView_pimpl.[Ch]:
23         * cursor.[Ch]:
24         * cursor_slice.[Ch]: adjust
25
26         * text3.C: fix bug in mathDispatch
27
28 2004-03-08  André Pönitz  <poenitz@gmx.net>
29
30         * undo.[Ch]: use 'StableDocumentIterator' as base for
31         the Undo struct.
32
33 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * LaTeXFeatures.C:
36         * bufferparams.[Ch]: add jurabib support and param.
37
38         * LaTeX.C: add FIXME/comment.
39
40 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
41
42         * buffer.C: increment file format to 230.
43
44 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * cursor.C (dispatch): avoid infinite loops
47
48 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
49
50         * rowpainter.C (paintSelection): fix x coordinates
51
52 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
53
54         * text.C (rowBreakPoint): fix breaking before displayed insets
55
56 2004-03-01  André Pönitz  <poenitz@gmx.net>
57
58         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
59
60         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
61
62         * Makefile.am:
63         * BufferView.C:
64         * BufferView_pimpl.C:
65         * buffer.C:
66         * lyxfind.C:
67         * lyxfunc.C:
68         * text.C:
69         * text2.C:
70         * text3.C: adjust
71
72 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * lyxtext.h:
75         * text.C:
76         * text2.C:
77         * rowpainter.C:
78         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
79         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
80
81 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * Bidi.[Ch] (computeTables): const correctness
84         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
85         fill_hfill, fill_label_hfill and x from Row
86         * lyxtext.h: prepareToPrint returns a RowMetrics
87         * rowPainter.C: adjust
88         * text.C (prepareToPrint): use width, not textWidth. adjust
89         (redoParagraphInternal, cursorX): adjust
90         * text2.C (getColumnNearX): adjust
91         (init): put a default value to the top LyXText::width
92
93 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
94
95         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
96
97 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
98
99         * lyxtext.h: add FontIterator class 
100
101         * text.C (FontIterator, operator*, operator->, operator++): add
102         (rowBreakPoint, setRowWidth): adjust (fixing a
103         rebreaking bug)
104
105 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * BufferView_pimpl.C (workAreaDispatch): allow also
108         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
109
110 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * text.C (rowBreakPoint): fix a bug showing with very large insets
113
114 2004-02-25  André Pönitz  <poenitz@gmx.net>
115
116         * text3.C:
117         * cursor.[Ch]: move some mathed specific code to mathed
118
119 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
122         use_tempdir in preferences
123         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
124         tempfile creation
125         * lyx_main.C: ensure that tempdir is valid
126         * lyxlex.h: correct typo
127         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
128         * paragraph.[Ch] (isMultiLingual): make const
129         * cursor.[Ch] (openable): make const
130
131 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
134
135 2004-02-20  André Pönitz  <poenitz@gmx.net>
136
137         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
138
139         * cursor.[Ch]: prepare for localized getStatus()
140
141         * lyxtext.h:
142         * tabular.C:
143         * text.C:
144         * text2.C:
145         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
146
147 2004-02-20  André Pönitz  <poenitz@gmx.net>
148
149         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
150
151 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
152
153         * text2.C (setCursorFromCoordinates): switch to absolute coords
154         (cursorUp): adjust
155         (cursorDown): adjust
156         * text3.C (dispatch): adjust
157
158 2004-02-16  André Pönitz  <poenitz@gmx.net>
159
160         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
161           insets/ChangeLog)
162
163         * cursor_slice.[Ch]: remove unneeded acessor function
164
165         * lyxtext.h: rename rtl() to isRTL()
166
167         * rowpainter.C:
168         * tabular.C:
169         * text.C:
170         * text2.C:
171         * text3.C: adjust
172
173 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * rowpainter.C (paintSelection): coord fix
176
177 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
178
179         * Spacing.C: compile fix
180
181 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
182
183         * cursor.C (dispatch): restore current_ before returning
184
185 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
186
187         * text2.C (cursorUp, cursorDown): fix coords
188         (moveUp): fix crash
189
190 2004-02-12  André Pönitz  <poenitz@gmx.net>
191
192         * lyxtext.h:
193         * text.C:
194         * text2.C:
195         * text3.C: add LCursor & parameter to most cursor movement functions
196           remove usage of LyXText::cursorRow() and cursorPar()
197
198         * cursor.[Ch]: add textRow() needed members
199
200         * BufferView.C:
201         * BufferView_pimpl.C:
202         * paragraph.[Ch]:
203         * BufferView.C:
204         * BufferView_pimpl.C: adjust
205
206 2004-02-11  André Pönitz  <poenitz@gmx.net>
207
208         * lyxfunc.C:
209         * BufferView.[Ch]:
210         * BufferView_pimpl.C: shift undo/redo handling
211
212         * cursor.[Ch]: fix mathed crash
213
214         * lyxfind.C:
215         * lyxtext.h: move selectionAsText to LCursor
216
217         * output_latex.C:
218         * paragraph.C:
219         * text.C:
220         * text2.C:
221         * text3.C: adjust
222
223         * rowpainter.C: fix excessive drawing
224
225 2004-02-06  André Pönitz  <poenitz@gmx.net>
226
227         * BufferView.[Ch]:
228         * BufferView_pimpl.[Ch]:
229         * text3.C: move some text specific LFUN handling
230
231 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * text3.C (checkInsetHit): adjust coords
234         * text2.C (getColumnNearX): adjust coords
235         (edit): adjust coords
236         * text.C (getRowNearY): add two asserts
237
238 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
239
240         * converter.C:
241         * format.C: add using std::distance to compile on gcc 2.95/stlport
242
243 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
246
247 2004-02-04  André Pönitz  <poenitz@gmx.net>
248
249         * BufferView.[Ch] (insertInset):
250         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
251
252         * text2.C:
253         * text3.C: adjust
254
255 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
256
257         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
258         on the default clause of the switch
259         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
260         wasn't catched by LCursor::dispatch
261
262 2004-02-03  André Pönitz  <poenitz@gmx.net>
263
264         * BufferView.C:
265         * cursor.[Ch]: some additional asserts
266
267         * undo.[Ch]: remove LyXText dependency in interface
268
269         * lyxfunc.C: adjust
270
271         * lyxtext.h (firstPar, lastPar): remove dead functions 
272
273         * text.C:
274         * text2.C:
275         * text3.C:
276         * paragraph.[Ch]: adjust
277
278 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * lyxfind.C (find): fix argument order in call to ::find
281
282 2004-02-02  André Pönitz  <poenitz@gmx.net>
283
284         * cursor.[Ch]: remove direct access to anchor
285
286         * text.C: remove findText() hack
287
288 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * iterators.[Ch] (lockPath): remove in favour of...
291         * BufferView.[Ch] (setCursor): this addition
292         * BufferView.C (putSelectionAt): adjust
293         * undo.C (performUndoOrRedo): adjust
294         * lyxfunc.C (dispatch): adjust
295
296 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * iterators.C (lockPath): add a missing slice
299         * undo.C (performUndoOrRedo): remove redundant positioning code
300
301 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
302
303         * vc-backend.C (scanMaster): ";" -> ';'
304
305 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
306
307         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
308         std::binary_function
309
310         * lyxtextclass.C (compare_name): rename to...
311         (LayoutNamesEqual): ...this
312
313         * lyxlex_pimpl.C (compare_tags): inherit from
314         std::binary_function, put back into anon namespace
315
316         * lyxfind.C (MatchString): inherig from std::binary_function
317         (findChange): use empty() istead of !size()
318
319         * format.C (FormatNamesEqual): new functor
320         (getFormat): use it
321         (getNumber): use it
322         (add): use it
323         (erase): use it
324         (setViewer): use it
325
326         * converter.C (compare_Converter): rename to...
327         (ConverterEqual): ...this, and fixup a bit.
328         (getConverter): use it, and make function const
329         (getNumber): use it, and make function const
330         (add): use it
331         (erase): use it:
332
333         * bufferlist.C: add using boost::bind
334
335         * MenuBackend.C (MenuNamesEqual): new functor
336         (hasMenu): use it, and make function const
337         (hasSubmenu): use nested bind to get rid of compare_memfun.
338
339 2004-01-30  André Pönitz  <poenitz@gmx.net>
340
341         * BufferView_pimpl.C:
342         * cursor.C:
343         * cursor.h:
344         * cursor_slice.[Ch]:
345         * lyxfunc.C:
346         * lyxtext.h:
347         * paragraph_funcs.C:
348         * paragraph_funcs.h:
349         * rowpainter.C:
350         * text.C:
351         * text2.C:
352         * text3.C: move some of the edit(x,y) handling to the insets
353         some coordinate changes.
354
355 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
356
357         * text.C: add using statements for std::advance and std::distance
358
359         * paragraph.C: add using statement for std::distance
360
361         * lyxfind.C: add using statement for std::advance
362
363         * cursor.C (region): remove std:: from swap
364         (openable): use nucleus in stead of operator->
365
366         * BufferView.C: add using statements for std::distance and std::swap
367
368 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * iterators.C: Remove the pimple, move the needed structures to
371         the header file. Create accessor for the positions stack.
372         (asPosIterator): remove function
373
374         * PosIterator.C (PosIterator): move constructors to top of file
375         (PosIterator): reimplement the constructor taking a ParIterator in
376         terms of setFrom.
377         (setFrom): new function
378         (operator!=): inline it
379
380 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
381
382         * lyxfind.C (replaceAll): use std::advance
383
384         * iterators.h: inherit from std::iterator.
385
386         * PosIterator.C (advance, distance): remove
387         * PosIterator.h: interit from std::iterator.
388
389 2004-01-26  André Pönitz  <poenitz@gmx.net>
390
391         * BufferView.[Ch]:
392         * BufferView_pimpl.[Ch]:
393         * InsetList.[Ch]:
394         * PosIterator.[Ch]:
395         * buffer.h:
396         * bufferview_funcs.C:
397         * cursor.[Ch]:
398         * cursor_slice.h:
399         * factory.[Ch]:
400         * iterators.[Ch]:
401         * lyxfind.C:
402         * lyxfunc.C:
403         * lyxtext.h:
404         * output_docbook.C:
405         * output_latex.C:
406         * output_linuxdoc.C:
407         * output_plaintext.C:
408         * paragraph.[Ch]:
409         * paragraph_funcs.[Ch]:
410         * paragraph_pimpl.[Ch]:
411         * rowpainter.C:
412         * tabular.C:
413         * tabular.h:
414         * text.C:
415         * text2.C:
416         * text3.C: more IU:  dumps most of the rest of the mathcursor
417     implementation into cursor.[Ch]; "globalize" a bit of it.
418
419 2004-01-25  Angus Leeming  <leeming@lyx.org>
420
421         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
422
423 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
424
425         * LaTeXFeatures.h: add nice_ and nice() const
426         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
427
428 2004-01-20  André Pönitz  <poenitz@gmx.net>
429
430         * BufferView.[Ch]:
431         * BufferView_pimpl.C:
432         * PosIterator.C:
433         * bufferview_funcs.C:
434         * cursor.[Ch]:
435         * cursor_slice.[Ch]:
436         * factory.C:
437         * iterators.C:
438         * lyx_cb.C:
439         * lyxfind.C:
440         * lyxfunc.C:
441         * lyxtext.h:
442         * rowpainter.C:
443         * text.C:
444         * text2.C:
445         * text3.C:
446         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
447           LCursor and mathcursor parts to LCursor and InsetBase.
448
449 2004-01-15  André Pönitz  <poenitz@gmx.net>
450
451         * cursor_slice.[Ch]: add a few covienience functions
452
453         * funcrequest.[Ch]: remove BufferView * member
454
455         * BufferView_pimpl.C:
456         * cursor.C:
457         * factory.[Ch]:
458         * lyxfind.[Ch]:
459         * lyxfunc.C:
460         * lyxtext.h:
461         * text3.C:
462         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
463
464 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
465
466         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
467         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
468
469 2004-01-13  André Pönitz  <poenitz@gmx.net>
470
471         * textcursor.[Ch]:
472         * lyxtext.h: hide cursor and selection anchor behind accessor function
473
474         * BufferView.C:
475         * BufferView_pimpl.[Ch]:
476         * PosIterator.C:
477         * bufferview_funcs.C:
478         * cursor.h:
479         * lyxfind.C:
480         * lyxfunc.C:
481         * text.C:
482         * text2.C:
483         * text3.C:
484         * undo.C: adjust
485
486         * cursor.h:
487         * cursor_slice.[Ch]: some integer type changes for inset unification
488
489         * lyxcursor.[hC]: remove, it's CursorSlice now.
490
491         * Makefile.am:
492         * BufferView_pimpl.[Ch]:
493         * bufferview_funcs.C:
494         * cursor_slice.C:
495         * lyxtext.h:
496         * text.C:
497         * text2.C:
498         * text3.C:
499         * textcursor.[Ch]: adjust
500
501 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
502
503         * text2.C (undoSpan): add and use
504         * text.C (breakParagraph): use undoSpan (fix bug 578)
505         * lyxtext.h: adjust
506
507 2004-01-08  Angus Leeming  <leeming@lyx.org>
508
509         * BufferView_pimpl.C (MenuInsertLyXFile):
510         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
511         * lyxfunc.C (menuNew, open, doImport):
512         FileFilterList change to the FileDialog open and save functions.
513
514 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
515
516         * ShareContainer.h: make isEqual and isUnique adaptable
517
518         * CutAndPaste.C: make resetOwnerAndChanges adaptable
519
520 2004-01-07  Angus Leeming  <leeming@lyx.org>
521
522         * LyXAction.C:
523         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
524
525         * BufferView_pimpl.C (dispatch): act on these LFUNs.
526
527         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
528         functions replacing find, replace and replaceAll.
529
530         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
531         LFUN_WORDFIND(FORWARD|BACKWARD).
532
533 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
534
535         * text.C (breakParagraph): remove an outdated #warning
536
537 2004-01-07  André Pönitz  <poenitz@gmx.net>
538
539         * lyxfind.C: somewhat clearer logic
540
541         * text.C: prevent crash in cursorX on unitialized row cache
542
543 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
544
545         * lyxcursor.[Ch] (operator>): add
546         * textcursor.C (selStart, selEnd): use std::min and std::max
547
548 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
549
550         * Chktex.C: include boost/format.hpp
551
552 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
553
554         * InsetList.C: replace functor MathcIt with adaptable functor
555         InsetTablePosLess
556         (insetIterator): modify accordingly
557
558         * BranchList.h: move the BranchNamesEqual functor here from...
559         * BranchList.C: ... to here
560
561         * BranchList.C: new BranchListEqual fuctor, use it. Remove
562         SameName and match.
563         (add): replace a finding loop with std::find_if.
564
565 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
566
567         * output_docbook.C: moving LatexParam functionality into
568         .layout files
569
570 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
571
572         * buffer.C: increment format to 229.
573
574 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
575
576         * LaTeXFeatures.C:
577         * lyx_sty.[Ch]: remove minipageindent_def
578
579         * LyXAction.C:
580         * factory.C:
581         * lfuns.h:
582         * lyxfunc.C:
583         * text3.C: remove LFUN_INSET_MINIPAGE
584
585 2003-12-28  Angus Leeming  <leeming@lyx.org>
586
587         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
588
589 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
590
591         * text2.C (setParagraph): fix off-by-one crash
592
593 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * output_docbook.C: header stuff for AGU
596
597 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * text2.C (redoCursor): remove
600         * text.C:
601         * text3.C:
602         * BufferView_pimpl.C: remove calls to redoCursor and
603         setCursor(cursor.par(), cursor.pos()) all around
604
605 2003-12-15  Angus Leeming  <leeming@lyx.org>
606
607         * buffer.C: up the format to 228.
608
609 2003-12-15  André Pönitz  <poenitz@gmx.net>
610
611         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
612         slices
613
614         * Makefile.am:
615
616         * BufferView_pimpl.C:
617         * cursor.[Ch]:
618         * lyxcursor.[Ch]:
619         * rowpainter.[Ch]:
620         * lyxtext.h:
621         * text.C:
622         * text2.C:
623         * text3.C: adjust
624
625 2003-12-15  Angus Leeming  <leeming@lyx.org>
626
627         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
628         than getFromGUIName to manipulate the color.
629
630 2003-12-14  Angus Leeming  <leeming@lyx.org>
631
632         * BranchList.[Ch]: minimize the API.
633         (Branch::getBranch, getColor): now return a 'const &'.
634         (Branch::setSelected) now returns a bool set to true if the
635         selection status changes.
636         (BranchList::clear, size, getColor, setColor, setSelected,
637         allBranches, allSelected, separator): removed.
638         (BranchList::find): new functions, returning the Branch with
639         the given name.
640         (BranchList::add, remove): return a bool indicating that
641         the operation was successful.
642
643         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
644         new InsetBranch::isBranchSlected member function.
645
646         * LColor.[Ch]: mimimize the API.
647         (fill): renamed as addColor and made private.
648         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
649         versions of these functions taking a string arg have been removed.
650
651         * bufferparams.C (readToken):
652         * lyxfunc.C (dispatch):
653         * lyxrc.C (read): changes due to the altered BranchList and
654         LColor APIs.
655
656         * factory.C (createInset, readInset): changes due to altered
657         InsetBranch c-tor.
658
659 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
660
661         * factory.C:
662         * lyxfunc.C: remove insetminipage. "minipage-insert"
663         now produces a frameless minipage box inset.
664
665 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * textcursor.[Ch] (selStart,selEnd): add new methods
668         remove selection::start, end, use LyXCursor::operator<
669         * lyxcursor.[Ch] (operator<): add
670         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
671         * BufferView.[Ch] (unsetXSel): add
672         * text2.C (clearSelection): use unsetXSel,adjust
673         * text.C: adjust
674         * text3.C: adjust
675         * rowpainter.C: adjust
676         * bufferview_funcs.C (put_selection_at): adjust
677
678 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
679
680         * BufferView_pimpl.C: small coord. correction
681
682 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
685         dragging over the splash screen.
686
687 2003-12-11  Angus Leeming  <leeming@lyx.org>
688
689         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
690         as it is now handled in LyXText::dispatch.
691
692         * text3.C (doInsertInset): remove a level of nesting.
693
694 2003-12-11  Angus Leeming  <leeming@lyx.org>
695
696         * factory.C (createInset): changes due to the changed interface to
697         InsetCommandMailer::string2params.
698
699 2003-12-10  Angus Leeming  <leeming@lyx.org>
700
701         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
702         'dialog-show-new-inset <inset name>'
703
704 2003-12-10  Angus Leeming  <leeming@lyx.org>
705
706         * buffer.C: up the format to 227.
707
708         * factory.C: the box inset is now identified simply by 'Box'.
709
710 2003-12-10  Angus Leeming  <leeming@lyx.org>
711
712         * buffer.C: up the format to 226.
713
714         * factory.C: the note inset is now identified simply by 'Note'.
715
716 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
717
718         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
719         when a pit is enough. Standarize a couple of loops.
720
721 2003-12-05  Angus Leeming  <leeming@lyx.org>
722
723         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
724         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
725         data to the re-worked "log" dialog.
726
727 2003-12-03  André Pönitz  <poenitz@gmx.net>
728
729         * PosIterator.C:
730         * iterators.C:
731         * lyxtext.h:
732         * output_latex.C:
733         * paragraph_funcs.C:
734         * text.C:
735         * text2.C: use Inset::getText instead of Inset::getParagraph
736
737 2003-12-03  André Pönitz  <poenitz@gmx.net>
738
739         * buffer.[Ch]:
740         * lyxtext.h:
741         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
742         InsetText::read() as LyXText::read()
743
744 2003-12-02  Angus Leeming  <leeming@lyx.org>
745
746         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
747         type. Add a comment in the implementation that the function uses
748         the stream's bad() function rather than fail() as the std::streams
749         would do.
750
751 2003-12-02  André Pönitz  <poenitz@gmx.net>
752
753         * lyxlex.[Ch]: make interface more similar to std::stream
754
755         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
756
757 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
758
759         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
760
761 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
762
763         * vspace.[Ch]: remove VSpace::NONE
764
765 2003-12-01  André Pönitz  <poenitz@gmx.net>
766
767         * buffer.[Ch]:
768         * lyxtext.h: move ParagraphList member to LyXText
769         rename LyXText::ownerParagraphs to LyXText::paragraph
770
771         * CutAndPaste.C:
772         * bufferview_funcs.C:
773         * iterators.[Ch]:
774         * lyx_cb.C:
775         * paragraph.C:
776         * rowpainter.C:
777         * tabular.C:
778         * text.C:
779         * text2.C:
780         * text3.C: adjust
781
782         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
783
784         * undo.C: fix cursor positioning
785
786 2003-12-01  John Levon  <levon@movementarian.org>
787
788         * BufferView_pimpl.C: fix a crash on exit with
789         a buffer open
790
791 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
792
793         * BranchList.C: fix setSelected() method.
794
795 2003-11-28  André Pönitz  <poenitz@gmx.net>
796
797         * ParagraphParameters.[Ch]:
798         * ParameterStruct.h: remove space above/below from Paragraph to
799          InsetVSpace
800
801         * BufferView_pimpl.C:
802         * factory.C:
803         * lyxfunc.C:
804         * lyxtext.h:
805         * output_latex.C:
806         * paragraph.C:
807         * paragraph_funcs.C:
808         * rowpainter.[Ch]:
809         * text.C:
810         * text2.C:
811         * text3.C: adjust
812
813 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * factory.C: Syntax change for CharStyles
816
817 2003-11-28  André Pönitz  <poenitz@gmx.net>
818
819         * BufferView.[Ch]:
820         * BufferView.[Ch]:
821         * buffer.[Ch]:
822         * buffer.[Ch]: move LyXText member
823
824 2003-11-28  André Pönitz  <poenitz@gmx.net>
825
826         * BufferView.[Ch]: make LyXText * text a private member
827
828         * BufferView_pimpl.C:
829         * cursor.C:
830         * iterators.C:
831         * lyx_cb.C:
832         * lyxfind.C:
833         * lyxtext.h:
834         * rowpainter.[Ch]:
835         * text.C:
836         * text2.C:
837         * undo.C: adjust
838
839         * output_plaintext.C: cleanup
840
841 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
842
843         * buffer.C:
844         * lyxtextclass.[Ch]: parametrize SGML document header
845
846 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
847
848         * converter.[Ch]:
849         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
850         getFlavor().
851
852 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * text2.C (setFont): rework using PosIterator (no more recursive)
855         (setCharFont): no more needed
856         (setLayout): no more selection cursors fiddling (done by redoCursor)
857         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
858         destroy remaining ones)
859
860 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
863         * lyxtext.h: ditto
864         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
865         selection cursors
866         * lyxfunc.C: adjust
867         * text3.C: adjust + re-allow multi par depth changes
868         * textcursor.C: simplify a bit
869
870 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * src/buffer.C:
873         * src/lyxlayout.C:
874         * src/lyxlayout.h:
875         * src/lyxtext.h:
876         * src/output_docbook.C:
877         * src/output_latex.C:
878         * src/paragraph.C:
879         * src/paragraph.h:
880         * src/sgml.C:
881         * src/sgml.h:
882         * src/text2.C: Introducing a number of tags parametrizing various
883         XML formats that we may want to support
884
885 2003-11-25  André Pönitz  <poenitz@gmx.net>
886
887         * InsetList.[Ch] (begein, end): inline as suggested by profiler
888
889         * lyxtext.h (leftMargin/rightMargin): simplify interface
890
891         * rowpainter.C:
892         * text.C:
893         * text2.C:
894         * text3.C: adjust
895
896 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
897
898         * lyxfunc.C (dispatch): propogate the bibtex databases from the
899         master file to any child files. Fixes bug 546.
900
901 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
904
905 2003-11-24  André Pönitz  <poenitz@gmx.net>
906
907         * rowpainter.C: simplification
908
909         * text2.C (updateCounters): remove call to redoParagraph on
910         changed labels as this is far too expensive.
911
912 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
913
914         * converter.C (convert): fix a crash: this function gets
915         called with buffer == 0 from importer code.
916
917 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * text3.C (cursorPrevious): make sure that we do not compare
920         iterators form different containers.
921         (cursorNext): ditto
922
923         * rowpainter.C (paintSelection): make sure that we do not compare
924         iterators from different containers.
925
926         * text3.C (dispatch): [PRIOR] make sure that we do not compare
927         iterators from different ParagraphList containers.
928         [NEXT] ditto
929
930         * text2.C (LyXText): change order of initialization slightly
931         (operator=): new function. copy all variables except cache_par_
932         (moveUp): make sure that we do not compare iterators from
933         different ParagraphList constainers.
934         (moveDown): ditto
935
936         * text.C (firstPar): new function
937         (lastPar): new function
938         (endPar): new function
939
940         * lyxtext.h: move things around and group public functions, public
941         variables, private functions, private variables
942
943 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
944
945         * factory.C: change call to InsetERT constructor to avoid
946         additional invocation of method status
947         * text2.C (toggleInset): remove redundant update() call
948         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
949         instead of a Bufferview pointer
950
951 2003-11-21  André Pönitz  <poenitz@gmx.net>
952
953         * rowpainter.C: simplification
954
955 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * text3.C (dispatch): make possible to extend a word/row selection
958         with the mouse
959
960 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * lyxtext.h: x0_,y0_ -> xo_,yo_
963         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
964         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
965         * rowpainter.C (paintRows): paint full paragraphs
966
967 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
968
969         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
970         screen coordinates)
971
972 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
973
974         * lyxtext.h: add x0_, y0_
975         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
976         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
977
978 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * text2.C (setCursorIntern): move the x_target update here *
981         * text3.C: change some bv() to true/false in calls to
982         cursorUp/Down/Right/Left
983         * cursor.C: use helper function.
984
985 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
986
987         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
988         * paragraph_funcs.[Ch]: correct comment
989         * rowpainter.C: do not paint selections away from bv->cursor()
990         Fix a long standing selection painting bug.
991         * text3.C: generalize mouse-selection code to LyXTexts other that
992         top one
993         * textcursor.C: do not use y coords if we can use par offsets
994
995 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
996
997         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
998         cursor position after e.g. inset insert)
999
1000 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1001
1002         * lyxfind.C (replace): adjust to locking removal + some
1003         code simplification
1004
1005 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1006
1007         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1008         of the path
1009
1010 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * lyxlayout.[Ch]:
1013         * output_docbook.C: XML sanitation: new layout
1014         parameters InnerTag and CommandDepth
1015
1016 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * BufferView_pimpl.C:
1019         * factory.C:
1020         * text3.C: Fix the insertion and modification of button-style
1021         insets
1022
1023 2003-11-13  André Pönitz  <poenitz@gmx.net>
1024
1025         * InsetList.[Ch]: remove deleteLyXText
1026
1027         * paragraph.[Ch]: cache beginOfBody position
1028
1029         * Bidi.C:
1030         * text.C:
1031         * text2.C:
1032         * text3.C: remove superfluous update() calls
1033
1034         * vspace.C: cleanup
1035
1036 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1037
1038         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1039         * BufferView.C (fitLockedInsetCursor): remove
1040         * cursor.[Ch] (getDim): add
1041         * text.C (getRowNearY): add faster version
1042         * text3.C: remove some update calls
1043
1044 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1045
1046         * LaTeXFeatures.C:
1047         * LyXAction.C:
1048         * MenuBackend.C:
1049         * MenuBackend.h:
1050         * dispatchresult.h:
1051         * factory.C:
1052         * lfuns.h:
1053         * lyxfunc.C:
1054         * lyxtextclass.C:
1055         * lyxtextclass.h:
1056         * text3.C: The Character Style /XML short element patch.
1057
1058 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1059
1060         * text3.C:
1061         * factory.C: Small step to solving 'unable to insert some insets'
1062         problem
1063
1064 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1065
1066         * cursor.[Ch] (updatePos): new function for updating the y
1067         position of the tip inset
1068         * bufferview_funcs.C (put_selection_at):
1069         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1070
1071 2003-11-11  André Pönitz  <poenitz@gmx.net>
1072
1073         * text.C: remove big comment on invalid Paragraph pointers as it is
1074         not valid anymore
1075
1076 2003-11-11  André Pönitz  <poenitz@gmx.net>
1077
1078         * text_funcs.[Ch]: merge with ...
1079
1080         * text.C: ... this
1081
1082         * lyxtext.h:
1083         * text2.C:
1084         * text3.C: adjust
1085
1086         * Makefile.am: remove text_funcs.[Ch]
1087
1088 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1089
1090         * cursor.C (getPos): return absolute cached y coord
1091
1092         * BufferView_pimpl.C (fitCursor): new simplistic code
1093         (workAreaDispatch): add a fitCursor call
1094
1095 2003-11-10  André Pönitz  <poenitz@gmx.net>
1096
1097         * BufferView.[Ch]:
1098         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1099
1100 2003-11-10  André Pönitz  <poenitz@gmx.net>
1101
1102         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1103         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1104         indicate that the cursor needs to leave an inset
1105
1106         * lyxtext.h: remove inset locking
1107
1108         * cursor.[Ch]: re-implement functionality provided by inset locking
1109
1110         * BufferView.[Ch]:
1111         * BufferView_pimpl.[Ch]:
1112         * LyXAction.C:
1113         * bufferview_funcs.[Ch]:
1114         * factory.C:
1115         * funcrequest.[Ch]:
1116         * iterators.C:
1117         * lyx_cb.C:
1118         * lyxfind.C:
1119         * lyxfunc.C:
1120         * text.C:
1121         * text2.C:
1122         * text3.C:
1123         * undo.C: adjust
1124
1125 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1126
1127         * PosIterator.[Ch]: replace the stack with a vector, add inset
1128         accesor
1129         * iterators.[C]: adjust
1130
1131 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1132
1133         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1134         replaced
1135         * paragraph_funcs.C (readParToken): put the correct id in the
1136         error item, not the id of the top paragraph
1137
1138 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1139
1140         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1141         * bufferview_funcs.C (put_selection_at): use the above
1142
1143 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1144
1145         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1146
1147 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * output_linuxdoc.h:
1150         * output_plaintext.h:
1151         * output.h:
1152         * output_docbook.h: add #include statements
1153
1154 2003-11-05  José Matos  <jamatos@lyx.org>
1155
1156         * output_docbook.[Ch]:
1157         * output_latex.[Ch]:
1158         * output_linuxdoc.[Ch]:
1159         * output_plaintext.[Ch]: New files for output formats.
1160         * output.[Ch]: New file for helper functions.
1161
1162         * buffer.[Ch]:
1163         * paragraph_funcs.[Ch]: output functions moved to new files.
1164
1165         * outputparams.h: rename of latexrunparams.h
1166
1167         * LaTeX.[Ch]:
1168         * buffer.[Ch]:
1169         * bufferlist.[Ch]:
1170         * converter.[Ch]:
1171         * exporter.C:
1172         * paragraph.[Ch]:
1173         * paragraph_funcs.[Ch]:
1174         * paragraph_pimpl.[Ch]:
1175         * tabular.[Ch]: rename ascii to plaintext
1176         and LatexRunParams to OutputParams.
1177
1178 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1179
1180         * iterators.[Ch] (text): require bv argument
1181         * undo.C (recordUndo):
1182         * lyxfunc.C (dispatch):
1183         * bufferview_funcs.C (put_selection_at): adjust
1184
1185 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1186
1187         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1188
1189 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1190
1191         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1192         nestings
1193
1194 2003-11-04  André Pönitz  <poenitz@gmx.net>
1195
1196         * cursor.[Ch]: restructure
1197
1198         * BufferView.[Ch]:
1199         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1200
1201         * iterators.[Ch] (asCursor): remove
1202
1203         * lfuns.h: remove LFUN_INSET_EDIT
1204
1205         * lyxfunc.C:
1206         * tabular.C:
1207         * text.C:
1208         * text2.C:
1209         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1210
1211 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1212
1213         * lyxfind.[Ch]: complete overhaul
1214         * BufferView_pimpl.C:
1215         * lyxfunc.C: adjust
1216         * paragraph.[Ch] (insert): add
1217
1218 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1219
1220         * BufferView.[Ch]:
1221         * lyxtext.h:
1222         * text.C: remove dead spellcheck code
1223
1224 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1225
1226         * dispatchresult.h: add a val setter
1227
1228         * cursor.C (dispatch): use a tempvar for data_[i]
1229
1230 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1231
1232         * PosIterator.[Ch]: compile fix
1233
1234 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * text.C (cursorPar): deactivate the cursor cache
1237
1238 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1239
1240         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1241
1242 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1243
1244         * text3.C (dispatch): adjust for new DisptchResult semantics.
1245
1246         * lyxfunc.C (dispatch): handle update when return from
1247         Cursor::dispatch, adjust for new DispatchResult semantics.
1248
1249         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1250         DispatchResult(true) mean to not update. Add class functions for
1251         setting dispatched and update, as well as reading.
1252
1253         * cursor.C (dispatch): don't handle update here
1254
1255 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1256
1257         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1258         * trans_mgr.C: adjust
1259
1260         * paragraph_funcs.C (readParToken): exception safety
1261
1262         * lyxvc.h: store the vcs pointer in a scoped_ptr
1263         * lyxvc.C: adjust
1264
1265         * lyxsocket.C (serverCallback): exception safety
1266
1267         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1268
1269         * ispell.C (clone): make it return a auto_ptr
1270
1271         * factory.C (createInset): exception safety
1272         (readInset): exception safety
1273
1274         * bufferlist.C (newBuffer): exception safety
1275
1276         * Thesaurus.C (Thesaurus): use initialization for aik_
1277
1278         * MenuBackend.C (expandToc): exception safety.
1279
1280 2003-11-03  André Pönitz  <poenitz@gmx.net>
1281
1282         * buffer.C:
1283         * buffer.h:
1284         * bufferview_funcs.C: remove getInsetFromId()
1285
1286         * lyxcursor.[Ch]:
1287         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1288
1289         * lyxfunc.C:
1290         * text2.C:
1291         * text3.C: adjust
1292
1293 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1294
1295         * PosIterator.C (distance, advance): new
1296         * bufferview_funcs.[Ch] (put_selection_at): new
1297         * iterators.[Ch] (lockPath): new
1298
1299 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1300
1301         * iterators.[Ch] (asPosIterator): added
1302         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1303         * PosIterator.[Ch]: added
1304
1305 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * text3.C:
1308         * lyxfunc.C:
1309         * cursor.C (dispatch):
1310         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1311
1312         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1313         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1314         contructor, add a class function dispatched. Remove operator>=
1315
1316 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1317
1318         * debug.C: only use the default constructor for debugstream
1319         (lyxerr) here.
1320
1321         * main.C (main): include debug.h and setup the lyxerr streambuf
1322         here.
1323
1324 2003-10-31  José Matos  <jamatos@lyx.org>
1325
1326         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1327
1328         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1329         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1330         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1331         * paragraph_pimpl.C (simpleTeXSpecialC):
1332         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1333         add LatexRunParams argument.
1334
1335         * exporter.C (Export): change call accordingly.
1336
1337         * latexrunparams.h: add new member to take care of the other backends.
1338 2003-10-30  José Matos  <jamatos@lyx.org>
1339
1340         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1341         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1342         factorise code for paragraph output.
1343         * buffer.[Ch]:
1344         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1345         move functions.
1346
1347 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1348
1349         * text3.C (dispatch):
1350         * lyxfunc.C (dispatch):
1351         * cursor.C (dispatch):
1352         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1353
1354         * dispatchresult.h: make the dispatch_result_t ctor explicit
1355
1356 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1357
1358         * sgml.[Ch]:
1359         * buffer.C: small refactoring of docbook stuff
1360
1361 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1362
1363         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1364         meaning.
1365
1366 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1369         operator dispatch_result_t, and operators for == != and >=
1370
1371         * cursor.C (dispatch): adjust for operator dispatch_result_t
1372         removal. comment out call to update
1373
1374         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1375
1376 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1377
1378         * text3.C:
1379         * text2.C:
1380         * text.C:
1381         * lyxtext.h:
1382         * lyxfunc.C:
1383         * cursor.C:
1384         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1385         (dispatch):
1386
1387         * dispatchresult.h: new file, DispatchResult broken out of
1388         insets/insetbase.h
1389
1390         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1391
1392 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1393
1394         * text.C (rowBreakPoint): put a hack inside #if 0
1395
1396 2003-10-28  André Pönitz  <poenitz@gmx.net>
1397
1398         * lyxtext.h:
1399         * metricsinfo.C:
1400         * paragraph_funcs.C:
1401         * rowpainter.C:
1402         * text.C:
1403         * text2.C: general cleanup (lots of small stuff)
1404
1405 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1406
1407         * text2.C (cursorEnd): simple fix to the "end key goes to one
1408         before the end on last row" bug
1409
1410 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1411
1412         * text.C (backspace): fix the "zombie characters"
1413
1414 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1415
1416         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1417
1418 2003-10-27  André Pönitz  <poenitz@gmx.net>
1419
1420         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1421
1422         * factory.C: handle new InsetPagebreak, InsetLine
1423
1424         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1425         and move handling into new InsetPagebreak, InsetLine
1426
1427         * BufferView_pimpl.C:
1428         * LyXAction.C:
1429         * ParagraphParameters.C:
1430         * ParameterStruct.h:
1431         * lyxfunc.C:
1432         * lyxtext.h:
1433         * paragraph.C:
1434         * paragraph.h:
1435         * paragraph_funcs.C:
1436         * paragraph_pimpl.C:
1437         * rowpainter.C:
1438         * text.C:
1439         * text2.C:
1440         * text3.C: adjust
1441
1442 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1443
1444         * text.C:
1445         * lyxrow_funcs.[Ch]:
1446         * Bidi.C:
1447         * paragraph.C:
1448         * lyxtext.h:
1449         * rowpainter.C:
1450         * text2.C:
1451         * text3.C: remove lastPos uses in favour of Row::endpos
1452
1453 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * undo.C (performUndoOrRedo): fix two crashes by setting a
1456         cursor by hand and reordering some calls. Use bv->lockInset instead
1457         of inset->edit because the latter loses cursor information
1458
1459 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1460
1461         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1462         by Martin
1463         (rowBreakPoint): fix width. change point to point + 1.
1464         Add a missing check.
1465
1466 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1467
1468         * MenuBackend.C:
1469         * lyxfunc.C: fix (at least partly) the problems
1470         with the Nav menu and headers inside branch insets
1471         reported by Kayvan
1472
1473 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * paragraph.C (getChar): add strong asserts
1476
1477         * lyxrow_funcs.C (lastPos): remove hideous hack
1478
1479         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1480         (fill): adjust to that (avoid an infinite loop)
1481
1482 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1483
1484         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1485
1486 2003-10-23  André Pönitz  <poenitz@gmx.net>
1487
1488         * RowList_fwd.h: change list<> to vector<> to gain speed
1489         after suggestion from Alfredo
1490
1491 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * lyxtext.h: move the bidi stuff from here...
1494         * text.C: and here
1495         * text2.C: and here
1496         * Bidi.[Ch]: ... to here
1497
1498 2003-10-23  André Pönitz  <poenitz@gmx.net>
1499
1500         * lyxtext.h:
1501         * text.C (isLastRow, isFirstRow): new functions
1502
1503         * paragraph.h: new width cache member
1504
1505         * rowpainter.C: replace RowList::iterator with Row & where possible
1506
1507         * lyxfunc.C: replace several view()->text with a single call
1508
1509         * toc.C: fix 'unused' warning
1510
1511 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1514         when woring with stream::pos_type
1515         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1516
1517 2003-10-22  André Pönitz  <poenitz@gmx.net>
1518
1519         * lyxtext.h:
1520         * text.C: use Row & instead of RowList::iterator
1521
1522         * lyxrow.h: rename end() to endpos()
1523
1524         * rowpainter.C:
1525         * text.C:
1526         * text2.C: adjust
1527
1528 2003-10-22  Angus Leeming  <leeming@lyx.org>
1529
1530         * buffer.[Ch] (fully_loaded): new member function, returning true
1531         only when the file has been loaded fully.
1532         Used to prevent the premature generation of previews and by the
1533         citation inset to prevent computation of the natbib-style label.
1534
1535         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1536         templates are all set up.
1537
1538         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1539
1540 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1541
1542         * text.C: fixed an "oops" in the "is a bit silly"
1543         bug fix
1544
1545 2003-10-21  André Pönitz  <poenitz@gmx.net>
1546
1547         * FuncStatus.[Ch]: small stuff, whitespace
1548
1549         * lyxfont.[Ch]: operator<<() for debug reasons
1550
1551         * lyxfunc.C:
1552         * lyxrow_funcs.C:
1553         * lyxtext.h: whitespace, spelling
1554
1555         * paragraph.C: naming of variables
1556
1557         * text.C:
1558         * text2.C: small stuff
1559
1560
1561 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1562
1563         * text.C: (1) finish off the inset display() work;
1564         (2) fix the "is a bit silly" bug (accessing char
1565         past end of par).
1566
1567 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1568
1569         * text.C: re-introduce display() for insets, fixing the
1570         various bugs (stretch of line above, math inset
1571         positioning, ...)
1572
1573 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * text.C (rightMargin): remove spurious semicolon
1576
1577         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1578         1415)
1579
1580 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1581
1582         * text3.C: fix one crash due to wrong cursor def
1583
1584 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1585
1586         * vc-backend.C (scanMaster): make the regex static
1587
1588         * LaTeX.C (scanAuxFile): make the regexs static
1589
1590         * text3.C (doInsertInset, dispatch, dispatch):
1591         * text2.C (cursorUp, cursorDown):
1592         * text.C (selectNextWordToSpellcheck):
1593         * BufferView_pimpl.C (dispatch):
1594         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1595
1596 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * lyxsocket.C: include <cerrno>
1599
1600 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1601
1602         * lyxfunc.C (dispatch): remove textcache stuff
1603
1604         * bufferlist.C (release): remove textcache stuff
1605         (closeAll): ditto
1606
1607         * TextCache.C: delete file
1608         * TextCache.h: delete file
1609
1610         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1611
1612         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1613         delete of the bv_->text.
1614         (resizeCurrentBuffer): remove texcache stuff
1615         (workAreaResize): ditto
1616
1617 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1620         action.
1621
1622 2003-10-16  André Pönitz  <poenitz@gmx.net>
1623
1624         * lyxrow.[Ch]:
1625         * paragraph.h:
1626         * rowpainter.C:
1627         * text.C:
1628         * text2.C:
1629         * text3.C: speed up by storing y positions per paragraph plus per-row
1630         offset instead of having a 'full' y position in the row.
1631
1632 2003-10-15  André Pönitz  <poenitz@gmx.net>
1633
1634         * iterators.[Ch]:
1635         * iterators.[Ch]:
1636         * undo.[Ch]: make undo aware of inner insets
1637
1638 2003-10-14  Angus Leeming  <leeming@lyx.org>
1639
1640         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1641         static member functions LyX::ref() and LyX::cref.
1642         (lastfiles): new accessor functions for the new lastfiles_ member var.
1643         (addLyXView, views_): add a new LyXView to the list of views_.
1644         (updateInset): loop over all LyXViews to call their own updateInset
1645         member function, returning a pointer to the Buffer owning the inset.
1646
1647         * BufferView_pimpl.C (loadLyXFile):
1648         * MenuBackend.C (expandLastfiles):
1649         * bufferlist.C (MenuWrite, QuitLyX):
1650         lastfiles is no longer a global variable.
1651         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1652
1653         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1654         static function. Access through LyX::cref().emergencyCleanup().
1655
1656 2003-10-14  André Pönitz  <poenitz@gmx.net>
1657
1658         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1659
1660         * undo.[Ch]: restoring part of 'undo in insets'
1661
1662         * Makefile.am:
1663         * undo_funcs.[Ch]: merge with undo.[Ch]
1664
1665         * tabular.C: small cleansing stuff
1666
1667 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1668
1669         * paragraph_funcs.C (readParToken): report unknown insets as error
1670         boxes. Use the outer paragraph as location (also for unknown
1671         tokens).
1672
1673         * factory.C (readInset): do not abort on reading an unknown inset.
1674         Eat it and return 0.
1675
1676 2003-10-13  Angus Leeming  <leeming@lyx.org>
1677
1678         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1679
1680         * lyxrc.C: displayTranslator is now a function,
1681         declared in GraphicsTypes.h.
1682
1683 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1684
1685         * format.C: new placeholder $$a to pass the socket address.
1686
1687         * bufferlist.[Ch]: new function getBufferFromTmp.
1688
1689         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1690           files in the temporary dir.
1691
1692 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1693
1694         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1695
1696         * Makefile.am: add lyxsocket.[Ch].
1697
1698         * lyx_main.C (error_handler): handle SIGPIPE.
1699
1700 2003-10-13  André Pönitz  <poenitz@gmx.net>
1701
1702         * BufferView_pimpl.C:
1703         * lyxtext.h:
1704         * text.C:
1705         * text2.C:
1706         * text3.C:
1707         * undo_funcs.[Ch]: use paroffset_type instead of
1708           ParagraphList::iterators to prevent multiple conversion
1709           (and get a more robust interface)
1710
1711 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1714         * lyxtext.h: ditto
1715         * text3.C (dispatch): ditto
1716
1717 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1720         move the onlyfile, use onlyfile instead of foundfile in a couple
1721         of places.
1722
1723         * DepTable.C (update): flush the error stream a bit more
1724
1725 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * lyxserver.C (callback): adjust
1728
1729         * lyxfunc.C (getStatus): add a missing brace in commented code
1730         (ensureBufferClean): reindent
1731         (dispatch): delete version taking a string
1732
1733 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1734
1735         * LaTeX.C (deplog): move found file handlig from here...
1736         (handleFoundFile): .. to new function here.
1737         (deplog): make sure to discover several files mentioned on the
1738         same log line.
1739
1740 2003-10-10  André Pönitz  <poenitz@gmx.net>
1741
1742         * lyxfunc.C:
1743         * lyxtext.h:
1744         * tabular.C:
1745         * text.C:
1746         * text2.C:
1747         * text3.C: fix some of the tabular crashes
1748
1749 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1750
1751         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1752
1753         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1754
1755 2003-10-09  André Pönitz  <poenitz@gmx.net>
1756
1757         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1758
1759         * BufferView.C:
1760         * BufferView_pimpl.C:
1761         * bufferview_funcs.C:
1762         * lyx_cb.C:
1763         * lyxcursor.C:
1764         * lyxfind.C:
1765         * lyxfunc.C:
1766         * lyxtext.h:
1767         * text.C:
1768         * text2.C:
1769         * text3.C:
1770         * text_funcs.[Ch]:
1771         * textcursor.[Ch]:
1772         * undo_funcs.C: adjust
1773
1774 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1775
1776         * text2.C (incrementItemDepth): new function, use a backtracking
1777         algorithm to discover the correct item depth.
1778         (resetEnumCounterIfNeeded): new function, use a backtracking
1779         algorithm to discover if counter reset is needed.
1780         (setCounter): use them. Simplify a bit. Add different labels for
1781         different item depths for itemize.
1782
1783         * paragraph.C (Paragraph): remove initialization of enumdepth
1784         (operator=): ditto
1785
1786         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1787         enumerate and itemize. Change the type of itemdepth to signed char.
1788
1789 2003-10-08  André Pönitz  <poenitz@gmx.net>
1790
1791         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1792           thing assignable.
1793         * text.C:
1794         * text2.C: adjust
1795
1796         * tabular.[Ch]: fix crash after 'row-insert'
1797
1798 2003-10-08  Angus Leeming  <leeming@lyx.org>
1799
1800         Fix doxygen warnings.
1801
1802         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1803         Remove CutAndPaste:: prefix from header file declaration.
1804
1805         * LColor.h (fill): remove LColor:: prefix from declaration.
1806
1807         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1808         use lyx::depth_type rather than Paragraph::depth_type so that
1809         header file and .C file match.
1810
1811         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1812
1813         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1814         * aspell.C: \file aspell_local.C -> \file aspell.C
1815         * gettext.C: \file gettext.C -> \file src/gettext.C
1816         * gettext.h: \file gettext.h -> \file src/gettext.h
1817         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1818         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1819         * text.C: \file text.C -> \file src/text.C
1820
1821         * toc.C: move comment so that doxygen is not confused.
1822
1823 2003-10-07  Angus Leeming  <leeming@lyx.org>
1824
1825         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1826
1827 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1828
1829         * aspell.C:
1830         * aspell_local.h: add forgotten std::string's.
1831
1832 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1833
1834         * LaTeXFeatures.C:
1835         * LyXAction.C:
1836         * factory.C:
1837         * lfuns.h:
1838         * lyxfunc.C:
1839         * text3.C: The Box patch. Fancybox support, minipage, parbox
1840
1841 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1842
1843         * CutAndPaste.h:
1844         * DepTable.h:
1845         * FloatList.h:
1846         * LaTeXFeatures.h:
1847         * ParagraphParameters.h:
1848         * TextCache.h:
1849         * Thesaurus.h:
1850         * bufferlist.h:
1851         * exporter.h:
1852         * importer.h:
1853         * lastfiles.h:
1854         * lyxfind.h:
1855         * lyxfont.h:
1856         * lyxlex.h:
1857         * lyxtextclasslist.h:
1858         * messages.h:
1859         * paragraph.h:
1860         * paragraph_pimpl.C:
1861         * textcursor.h: add <string> and other small fixes to make Lars'
1862         std::string patch compile with STLport.
1863
1864 2003-10-06  Angus Leeming  <leeming@lyx.org>
1865
1866         * LColor.h: Add missing #include <string>.
1867
1868 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * All most all file in all subdirs: Make <string> be the prefered
1871         way of getting to std::string, add using declarations.
1872
1873 2003-10-06  André Pönitz  <poenitz@gmx.net>
1874
1875         * metricsinfo.C: initialize LyXFont before changing attribute.
1876         (fixes the 'math in \emph is upright' bug)
1877
1878 2003-10-06  André Pönitz  <poenitz@gmx.net>
1879
1880         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1881
1882 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1883
1884         * graph.C:
1885         * paragraph_pimpl.C: Small fixes to build using STLport
1886
1887 2003-10-02  André Pönitz  <poenitz@gmx.net>
1888
1889         * lyxfunc.C:
1890         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1891
1892 2003-10-01  André Pönitz  <poenitz@gmx.net>
1893
1894         * factory.C: assert early
1895
1896 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1897
1898         * lyx_main.C: remove the global debug object
1899
1900         * debug.h: adjust for new debugstream
1901
1902         * debug.C: adjust for new debugstream and keep the global debug
1903         object here.
1904
1905 2003-09-22  Angus Leeming  <leeming@lyx.org>
1906
1907         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1908         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1909         an incomplete class LyXFont.
1910
1911 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1912
1913         * factory.C: bug fix in branches
1914
1915 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1916
1917         * lyxfunc.C (processKeySym): adjust
1918         (dispatch): adjust
1919         (dispatch): change arg name from ev to func, adjust
1920         (sendDispatchMessage): ditto
1921
1922         * lyx_main.C (defaultKeyBindings): adjust keybindings
1923         (deadKeyBindings): ditto
1924
1925         * kbsequence.C (addkey): return a FuncRequest
1926
1927         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1928
1929         * kbmap.C (bind): take a FuncRequest as arg, adjust
1930         (read): adjust
1931         (lookup): adjust
1932         (defkey): change to take a FuncRequest as arg, adjust
1933         (findbinding): take a FuncRequest as arg, adjust.
1934
1935         * funcrequest.h (operator=): added
1936
1937         * funcrequest.C (FuncRequest): default kb_action changed from
1938         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1939
1940         * buffer.C (dispatch): simplify
1941         (dispatch): adjust to take a FuncRequest as arg, adjust
1942
1943         * boost.C (assertion_failed): change assertion message slightly
1944
1945         * ToolbarBackend.C (read): simplify
1946
1947         * MenuBackend.C (binding): adjust call to findbinding, add a
1948         message if no binding is found.
1949         (read): simplify
1950         (expandToc): correct by adding a empty FuncRequest
1951
1952         * LyXAction.C: include <boost/assert.hpp>
1953         (isPseudoAction): delete function
1954         (LookupFunc): change name to...
1955         (lookupFunc): this. change return type to FuncRequest.
1956         (getActionName): take kb_action as arg, simplify
1957         (funcHasFlag): add an assert, simplify.
1958
1959 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1960
1961         * toc.C (action): return a FuncRequest, simplify
1962
1963         * lyxfunc.C (processKeySym): adjust
1964         (getStatus): delete version that takes an int.
1965         (getStatus): adjust
1966         (dispatch): delete version that takes action as int
1967         (dispatch): adjust
1968         (sendDispatchMessage): simplify and adjust
1969
1970         * funcrequest.C (getArg): take unsigned int as arg
1971
1972         * ToolbarBackend.C (read): adjust
1973         (add): delete version that takes func as a string.
1974         (getIton): take a FuncRequest as arg
1975
1976         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1977         action.
1978
1979         * MenuBackend.C (MenuItem): add a new construct that only takes a
1980         Kind, simplify the constructor use for submenus.
1981         (add): adjust
1982         (expandLastfiles): adjust
1983         (expandDocuments): adjust
1984         (expandFormats): adjust
1985         (expandFloatListInsert): adjust
1986         (expandFloatInsert): adjust
1987         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1988
1989         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1990         Remove class variables lyx_pseudo_map and lyx_arg_map
1991
1992         * LyXAction.C (searchActionArg): delete function
1993         (getPseudoAction): delete function
1994         (retrieveActionArg): delete function
1995         (LookupFunc): make it return kb_action, simplify.
1996         (getActionName): simplify
1997
1998         * factory.C (createInset): fix new bug
1999
2000 2003-09-19  Angus Leeming  <leeming@lyx.org>
2001
2002         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2003         masterFilename_ parameter in the include inset.
2004
2005         * factory.C (createInset): changes due to the changes to InsetInclude.
2006
2007 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2008
2009         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2010
2011 2003-09-18  Angus Leeming  <leeming@lyx.org>
2012
2013         * buffer.C:
2014         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2015         Inset::fillWithBibKeys.
2016         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2017
2018 2003-09-18  Angus Leeming  <leeming@lyx.org>
2019
2020         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2021         variables.
2022         (ctor): pass and store a 'Buffer const &'
2023         (buffer): new member function.
2024
2025         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2026         '*this' to the LaTeXFeatures ctor.
2027
2028 2003-09-18  Angus Leeming  <leeming@lyx.org>
2029
2030         * LColor.h:
2031         * lyxfont.C:
2032         * lyxfont.h:
2033         * lyxtext.h:
2034         * text.C: rename EnumLColor as LColor_color.
2035
2036 2003-09-18  Angus Leeming  <leeming@lyx.org>
2037
2038         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2039         remove #include "insets/insetbase.h" from cursor.h.
2040
2041 2003-09-18  Angus Leeming  <leeming@lyx.org>
2042
2043         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2044         InsetOld_code to remove #include "inset.h".
2045
2046         * iterators.C: add #include "insets/inset.h"
2047
2048 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2049
2050         * BufferView.C: remove more locking stuff that apparently doesn't
2051         do anything sensible.
2052
2053 2003-09-16  André Pönitz  <poenitz@gmx.net>
2054
2055         * paragraph.[Ch]:
2056         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2057           performance boost.
2058
2059 2003-09-16  Angus Leeming  <leeming@lyx.org>
2060
2061         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2062
2063         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2064         arg/return type.
2065
2066         * paragraph.h: remove #include "lyxfont.h". Forward declare
2067         LyXFont_size.
2068
2069 2003-09-16  Angus Leeming  <leeming@lyx.org>
2070
2071         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2072         of support/textutils.h.
2073         (isWord): move the contents of support/textutils.h's IsWordChar here.
2074
2075         * buffer.C:
2076         * lyxfind.C:
2077         * rowpainter.C:
2078         * text.C:
2079         * text2.C: add #include "paragraph.h".
2080
2081         * rowpainter.C:
2082         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2083
2084 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * main.C:
2087         * lyx_main.C:
2088         * lyx_cb.C:
2089         * buffer.C:
2090         * LaTeX.C: use namespace alias for lyx::support::os
2091
2092 2003-09-16  Angus Leeming  <leeming@lyx.org>
2093
2094         * bufferparams.C:
2095         * bufferview_funcs.C:
2096         * factory.C:
2097         * lyxfunc.C:
2098         * paragraph_pimpl.C:
2099         * rowpainter.C:
2100         * text.C: add #include "LColor.h".
2101
2102 2003-09-16  Angus Leeming  <leeming@lyx.org>
2103
2104         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2105         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2106         return LyXFont &.
2107         Store the FontBits::color variable as an int rather than as an
2108         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2109         file.
2110
2111         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2112         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2113         string calls together.
2114
2115         * lyxrc.C: add #include "LColor.h".
2116
2117 2003-09-15  Angus Leeming  <leeming@lyx.org>
2118
2119         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2120         a cow_ptr.
2121
2122 2003-09-15  Angus Leeming  <leeming@lyx.org>
2123
2124         * LColor.h: add an EnumLColor wrapper for LColor::color.
2125
2126         * lyxfont.[Ch] (color, setColor, realColor):
2127         * lyxtext.h, text.C (backgroundColor):
2128         pass EnumLColor args to/from the functions, rather than LColor::color
2129         ones.
2130
2131         * lyxfont.h:
2132         * lyxtext.h: forward declare EnumLColor.
2133
2134         * lyx_main.C: add #include "LColor.h".
2135
2136 2003-09-15  Angus Leeming  <leeming@lyx.org>
2137
2138         * .cvsignore: add lyx-gtk.
2139
2140 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2141
2142         * Chktex.C
2143         * LaTeX.C
2144         * LaTeXFeatures.C
2145         * ParagraphParameters.C
2146         * Spacing.C
2147         * buffer.C
2148         * bufferparams.C
2149         * bufferview_funcs.C
2150         * chset.C
2151         * counters.C
2152         * funcrequest.C
2153         * lyxfont.C
2154         * lyxgluelength.C
2155         * lyxlength.C
2156         * paragraph.C
2157         * paragraph_funcs.C
2158         * text3.C
2159         * vc-backend.C: remove usage of STRCONV
2160
2161 2003-09-15  Angus Leeming  <leeming@lyx.org>
2162
2163         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2164         explicitly define the color passed to the painter.
2165
2166 2003-09-15  Angus Leeming  <leeming@lyx.org>
2167
2168         * bufferparams.C (BufferParams): reorder member initializers to avoid
2169         compiler warning.
2170
2171 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2172
2173         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2174         * text.C (updateRowPositions): remove an unusual nop
2175
2176 2003-09-12  André Pönitz  <poenitz@gmx.net>
2177
2178         * BufferView_pimpl.C:
2179         * Bullet.C:
2180         * layout.h:
2181         * lyxfunc.C:
2182         * lyxlayout.[Ch]:
2183         * lyxtextclass.C:
2184         * rowpainter.C:
2185         * text.C:
2186         * text2.C:
2187         * Counters.[Ch]: finish the 'automatic counters' job
2188
2189 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2190
2191         * aspell.C: include <boost/assert.cpp> (compile fix)
2192
2193 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2194
2195         * boost.C (assertion_failed): use lyx::support::abort instead of
2196         assert.
2197
2198 2003-09-10  Angus Leeming  <leeming@lyx.org>
2199
2200         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2201         with their _fwd progeny.
2202
2203 2003-09-09  Angus Leeming  <leeming@lyx.org>
2204
2205         134 files throughtout the source tree: replace 'using namespace abc;'
2206         directives with the appropriate 'using abc::xyz;' declarations.
2207
2208 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2209
2210         * boost.C (emergencyCleanup): moved here from LAssert.c
2211         (assertion_failed): new function, called by BOOST_ASSERT
2212
2213         * several files: change Assert to BOOST_ASSERT
2214
2215 2003-09-09  Angus Leeming  <leeming@lyx.org>
2216
2217         * buffer.[Ch]: Add an Impl class and move Buffer's member
2218         variables into it. As a result move several header files out of
2219         buffer.h.
2220
2221         Add header files to lots of .C files all over the tree as a result.
2222
2223 2003-09-09  Angus Leeming  <leeming@lyx.org>
2224
2225         * buffer.[Ch]: make Buffer's member variables private. Add
2226         accessor functions.
2227
2228         Lots of changes all over the tree as a result.
2229
2230 2003-09-08  Angus Leeming  <leeming@lyx.org>
2231
2232         * graph.C: #include <config.h>.
2233
2234 2003-09-08  Angus Leeming  <leeming@lyx.org>
2235
2236         * BranchList.C:
2237         * BufferView.C:
2238         * BufferView_pimpl.C:
2239         * CutAndPaste.C:
2240         * DepTable.C:
2241         * LaTeX.C:
2242         * LaTeXFeatures.C:
2243         * LyXAction.C:
2244         * MenuBackend.C:
2245         * TextCache.C:
2246         * aspell.C:
2247         * buffer.C:
2248         * bufferlist.C:
2249         * changes.C:
2250         * chset.C:
2251         * converter.C:
2252         * counters.C:
2253         * debug.C:
2254         * graph.C:
2255         * ispell.C:
2256         * lyx_cb.C:
2257         * lyxfind.C:
2258         * lyxfunc.C:
2259         * lyxlex_pimpl.C:
2260         * lyxrc.C:
2261         * lyxrow.C:
2262         * paragraph.C:
2263         * rowpainter.C:
2264         * texrow.C:
2265         * text.C:
2266         * text2.C:
2267         * toc.C: remove redundant using directives.
2268
2269 2003-09-07  Angus Leeming  <leeming@lyx.org>
2270
2271         * LaTeXFeatures.h: remove #include "support/types.h".
2272         * ToolbarBackend.h: remove #include <algorithm>.
2273         * changes.h: remove #include <ctime>.
2274         * debug.h: remove #include <iosfwd>.
2275         * graph.h: remove #include "support/std_string.h".
2276         * lyx_main.h: remove #include <csignal>.
2277         * lyxlex_pimpl.h: remove #include <fstream>.
2278         * sgml.h: remove #include <algorithm>, <utility>.
2279         * toc.h: remove #include "support/std_ostream.h".
2280         Add #include <iosfwd>.
2281
2282 2003-09-07  Angus Leeming  <leeming@lyx.org>
2283
2284         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2285
2286         * converter.h: forward declare LatexRunParams.
2287         * encoding.h: remove #include "lyxrc.h".
2288         * lyxtext.h: remove #include "LColor.h".
2289         * lyxtextclass.h: remove #include "support/types.h".
2290         * trans.h: remove #include "tex-accent.h".
2291         * trans_mgr.h: remove #include "tex-accent.h".
2292         * insets/inset.h: remove #include "support/types.h", <vector>.
2293         * insets/insetcollapsable.h: remove #include "LColor.h".
2294         * insets/insetinclude.h: remove #include "dimension.h".
2295         * insets/insetlatexaccent.h: remove #include "dimension.h".
2296         * insets/insetoptarg.h:: remove #include "insettext.h".
2297         * insets/insettext.h: remove #include "dimension.h",
2298         <boost/shared_ptr.hpp>
2299
2300         * insets/renderers.h: add #include "dimension.h".
2301         * insets/updatableinset.h: add #include "support/types.h".
2302
2303         * many .C files: Associated changes.
2304
2305 2003-09-06  Angus Leeming  <leeming@lyx.org>
2306
2307         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2308         one, inside testInvariant.
2309
2310         * PrinterParams.C: new file.
2311         * PrinterParams.[Ch]: move the function bodies out of line.
2312
2313 2003-09-06  Angus Leeming  <leeming@lyx.org>
2314
2315         * ParagraphParameters.h: forward declare ParameterStruct rather than
2316         including its header file.
2317         (depth): moved out-of-line.
2318
2319 2003-09-06  Angus Leeming  <leeming@lyx.org>
2320
2321         * BufferView_pimpl.h:
2322         * kbmap.h:
2323         * kbsequence.h:
2324         * lyxfunc.h: forward declare LyXKeySym rather than
2325         #include "frontends/LyXKeySym.h".
2326
2327         * BufferView_pimpl.C:
2328         * kbmap.C:
2329         * kbsequence.C:
2330         * lyxfunc.C: associated changes.
2331
2332 2003-09-06  Angus Leeming  <leeming@lyx.org>
2333
2334         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2335         As a result, can remove the #include "insets/inset.h" from BufferView.h
2336
2337 2003-09-06  Angus Leeming  <leeming@lyx.org>
2338
2339         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2340         As a result, can remove the #include "insets/inset.h" from BufferView.h
2341
2342 2003-09-06  Angus Leeming  <leeming@lyx.org>
2343
2344         * buffer_funcs.C:
2345         * buffer.h:
2346         * bufferlist.C:
2347         * BufferView.C:
2348         * bufferview_funcs.C:
2349         * BufferView_pimpl.C:
2350         * CutAndPaste.C:
2351         * lyx_cb.C:
2352         * lyxfunc.C:
2353         * paragraph.h:
2354         * ParagraphParameters.C:
2355         * tabular.C:
2356         * text3.C:
2357         * toc.C:
2358         * undo_funcs.C:
2359         * frontends/controllers/ControlDocument.C:
2360         * insets/insetcaption.C: rearrange the #includes into some sort of
2361         coherent order.
2362
2363         * buffer.h: remove #includes ErrorList.h, undo.h
2364
2365 2003-09-06  Angus Leeming  <leeming@lyx.org>
2366
2367         * support/types.h: add a 'depth_type' typedef, used to store the
2368         nesting depth of a paragraph.
2369
2370         * paragraph.h:
2371         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2372         defining explicitly.
2373
2374         * buffer.h:
2375         * paragraph_funcs.h:
2376         * ParagraphParameters.h:
2377         * sgml.h: use lyx::depth_type rather than Paragraph or
2378         ParameterStruct's depth_type.
2379
2380         * buffer.h
2381         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2382
2383         * BufferView.C:
2384         * BufferView_pimpl.C:
2385         * CutAndPaste.C:
2386         * ParagraphParameters.C:
2387         * buffer_funcs.C:
2388         * bufferlist.C:
2389         * bufferview_funcs.C:
2390         * lyx_cb.C:
2391         * lyxfunc.C:
2392         * tabular.C:
2393         * text3.C:
2394         * toc.C:
2395         * undo_funcs.C:
2396         * frontends/LyXView.C:
2397         * frontends/controllers/ControlDocument.C:
2398         * frontends/controllers/ControlErrorList.C:
2399         * insets/insetbibitem.C:
2400         * insets/insetbranch.C:
2401         * insets/insetcaption.C:
2402         * insets/insetcollapsable.C:
2403         * insets/insetenv.C:
2404         * insets/insetert.C:
2405         * insets/insetfloat.C:
2406         * insets/insetfoot.C:
2407         * insets/insetfootlike.C:
2408         * insets/insetnewline.C:
2409         * insets/insetquotes.C:
2410         * insets/insettabular.C:
2411         * insets/insettext.C:
2412         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2413
2414         * frontends/controllers/ControlChanges.C: #include "changes.h".
2415
2416 2003-09-06  Angus Leeming  <leeming@lyx.org>
2417
2418         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2419         than #including paragraph.h.
2420
2421         * ParagraphList.h:
2422         * RowList.h: deleted. Superfluous.
2423
2424         * CutAndPaste.h:
2425         * iterators.h:
2426         * lyxcursor.h:
2427         * lyxtext.h:
2428         * text_funcs.h:
2429         * undo.h:
2430         * undo_funcs.h:
2431         * insets/inset.h:
2432         * insets/insettext.h: use ParagraphList_fwd.h rather than
2433         ParagraphList.h.
2434
2435         * paragraph.h: don't forward declare ParagraphList.
2436
2437         * buffer.h:
2438         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2439         rather than ParagraphList.h. paragraph.h is still needed for the
2440         Paragraph::depth_type parameters.
2441
2442         * textcursor.h: enable it to compile stand-alone in light of the
2443         above changes.
2444
2445         * bufferview_funcs.C:
2446         * iterators.C:
2447         * lyxfunc.C:
2448         * lyxrow_funcs.C:
2449         * paragraph.C:
2450         * rowpainter.C:
2451         * text.C:
2452         * text2.C:
2453         * text3.C:
2454         * text_funcs.C:
2455         * textcursor.C:
2456         * undo.C:
2457         * frontends/controllers/ControlParagraph.C:
2458         * frontends/controllers/ControlTabular.C:
2459         * insets/insetmarginal.C:
2460         * insets/insetminipage.C:
2461         * insets/insetnote.C:
2462         * insets/insetoptarg.C: add header files needed to compile again.
2463
2464 2003-09-06  Angus Leeming  <leeming@lyx.org>
2465
2466         * RowList_fwd.h: new file, forward-declaring Row rather than
2467         #including lyxrow.h.
2468
2469         * lyxrow_funcs.h:
2470         * lyxtext.h:
2471         * paragraph.h:
2472         * insets/insettext.h: use it instead of RowList.h
2473
2474         * bufferview_funcs.C:
2475         * lyxfunc.C:
2476         * lyxrow_funcs.C:
2477         * paragraph.C:
2478         * rowpainter.C:
2479         * text.C:
2480         * text2.C:
2481         * text3.C: #include "RowList.h".
2482
2483 2003-09-05  Angus Leeming  <leeming@lyx.org>
2484
2485         * factory.C (createInset):
2486         * vspace.C (c-tor): replace sscanf call with an istringstream.
2487         * ispell.C: re-add missing HP/UX headers.
2488         * lyxserver.C: re-add missing  os2 headers.
2489
2490 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2491
2492         * BranchList.C:
2493         * graph.C:
2494         * ispell.C:
2495         * lastfiles.C:
2496         * lyx_cb.C:
2497         * lyxserver.C:
2498         * texrow.C:
2499         * text3.C: re-add missing system headers, needed for 2.95.2.
2500
2501 2003-09-05  Angus Leeming  <leeming@lyx.org>
2502
2503         Changes most place everywhere due to the removal of using directives
2504         from support/std_sstream.h.
2505
2506 2003-09-05  Angus Leeming  <leeming@lyx.org>
2507
2508         Replace LString.h with support/std_string.h,
2509         Lsstream.h with support/std_sstream.h,
2510         support/LIstream.h with support/std_istream.h,
2511         support/LOstream.h with support/std_ostream.h.
2512
2513         Changes resulting throughout the tree.
2514
2515 2003-09-05  Angus Leeming  <leeming@lyx.org>
2516
2517         * sgml.h: ensure that the header file can be compiled stand-alone.
2518         * *.C: strip out redundant #includes. (320 in total.)
2519
2520 2003-09-04  Angus Leeming  <leeming@lyx.org>
2521
2522         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2523         here (from getPackages).
2524
2525         * debug.[Ch]: add a new EXTERNAL tag.
2526
2527 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2528
2529         * text2.C (cursorEnd): simplify
2530         (setCursor): adjust
2531         (getColumnNearX): adjust
2532
2533         * text.C (computeBidiTables): adjust
2534         (fill): adjust
2535
2536         * rowpainter.C (paintChars): adjust
2537         (paintSelection): adjust
2538         (paintChangeBar): adjust
2539         (paintText): adjust
2540
2541         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2542         lastPos instead.
2543         (numberOfSeparators): adjust
2544
2545 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2546
2547         * LyXAction.C:
2548         * box.[Ch]:
2549         * lfuns.h:
2550         * lyxfunc.C:
2551         * text3.C: Restricts the mouse click functionality
2552         of insets like bibtex, include, toc and floatlist to the visible
2553         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2554         up the dialogs. Cursor has to be in front of the inset (i.e.
2555         start of row) for this to function.
2556
2557 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2558
2559         * bufferview_funcs.C (currentState): output row information
2560
2561 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2562
2563         * bufferview_funcs.C (currentState): output paragraph position
2564
2565 2003-09-04  Angus Leeming  <leeming@lyx.org>
2566
2567         * FloatList.h: move out #include "Floating.h".
2568         * LaTeX.h: move out #include "DepTable.h".
2569         * LyXAction.h: move out #include "funcrequest.h".
2570         * buffer.h: move out #include "author.h", "iterators.h".
2571         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2572         * lyx_main.h: move out #include "errorlist.h".
2573         * lyxfunc.h: move out #include "FuncStatus.h".
2574         * lyxtext: move out #include "lyxcursor.h".
2575         * paragraph_pimpl.h: move out #include "counters.h".
2576
2577 2003-09-03  Angus Leeming  <leeming@lyx.org>
2578
2579         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2580         preamble_snippets list, enabling us to add snippets to the preamble
2581         only if the snippet was not there already.
2582
2583 2003-09-04  Angus Leeming  <leeming@lyx.org>
2584
2585         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2586
2587 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2590         update
2591
2592 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * BranchList.C: point fix, earlier forgotten
2595
2596 2003-09-02  Angus Leeming  <leeming@lyx.org>
2597
2598         * box.C (contains): renamed from 'contained' after a fantastic
2599         amount of hot air.
2600
2601 2003-09-02  John Levon  <levon@movementarian.org>
2602
2603         * BufferView.C:
2604         * lyxcursor.h:
2605         * lyxcursor.C:
2606         * lyxfunc.C:
2607         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2608
2609 2003-09-02  John Levon  <levon@movementarian.org>
2610
2611         * text2.C: simplification of cursorEnd(), including partial
2612         fix for bug 1376
2613
2614 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * buffer.C (readFile): add a space
2617
2618 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2621
2622 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * buffer.C (readFile): new function, take a filename and a
2625         ParagraphList::iterator
2626         (readFile): adjust
2627         (readFile): adjust, make it private. don't use setStream, make
2628         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2629         always contain the filename.
2630
2631         * BufferView.C (insertLyXFile): simplify and make it work for
2632         gzipped files.
2633
2634 2003-08-30  John Levon  <levon@movementarian.org>
2635
2636         * Makefile.am: fix dist (from Kayvan)
2637
2638 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * most files: change to use const Buffer refs
2641
2642 2003-08-27  André Pönitz  <poenitz@gmx.net>
2643
2644         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2645         on top of ownerPar().
2646
2647 2003-08-27  John Levon  <levon@movementarian.org>
2648
2649         * funcrequest.C: properly initialise POD members
2650
2651 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * lyxtext.h (top_y): move top_y from here
2654         * text.C:
2655         * text2.C:
2656         * text3.C:
2657         * BufferView.[Ch]:
2658         * BufferView_pimpl.[Ch]: to here
2659         * frontends/screen.C:
2660         * insets/insettabular.C:
2661         * insets/insettext.C: adjust
2662         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2663
2664 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * BufferView.[Ch]:
2667         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2668
2669 2003-08-26  André Pönitz  <poenitz@gmx.net>
2670
2671         * paragraph_func.[Ch] (outerPar): new function
2672
2673         * paragraph.C:
2674         * paragraph_funcs.C:
2675         * paragraph_funcs.h:
2676         * paragraph_pimpl.C:
2677         * text2.C: remove Inset::par_owner
2678
2679 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2680
2681         * lyxrow_funcs.C:
2682         * lyxtext.h:
2683         * text.C:
2684         * text2.C: eliminates the needFullRow/display() stuff
2685         altogether, putting the logic in metrics/draw in the insets.
2686
2687 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * text2.C (redoParagraphInternal, redoParagraphs):
2690         * text.C (redoParagraph): add a call to updateRowPositions at the
2691         end of each 'metrics-like' call. Remove all others.
2692         (getRow): remove the 'y-computing' version.
2693         (getRowNearY): do not compute nor return the real y. Solve the
2694         'y < 0' problem and simplify.
2695
2696 2003-08-22  Angus Leeming  <leeming@lyx.org>
2697
2698         * *.[Ch]: clean-up of licence and author blurbs.
2699         Also move config.h out of a few .h files and into a few .C files.
2700
2701 2003-08-22  André Pönitz  <poenitz@gmx.net>
2702
2703         * lyxrow.[Ch]: add x_ and *fill_ members
2704
2705         * lyxtext.h:
2706         * text.C:
2707         * rowpainter.C:
2708         * text2.C: adjust/remove prepareToPrint() calls
2709
2710 2003-08-22  André Pönitz  <poenitz@gmx.net>
2711
2712         * lyxrow.[Ch]: add  end_ member
2713
2714         * lyxrow_funcs.C: use LyXRow::end_
2715
2716         * lyxtext.h (singleWidth): add LyXFont parameter
2717
2718         * rowpainter.C:
2719         * text2.C: adjust LyXText::singleWidth() calls
2720
2721         * text.C (redoParagraph): simplify row breaking logic
2722
2723
2724 2003-08-19  André Pönitz  <poenitz@gmx.net>
2725
2726         * funcrequest.C: initialize button_ member
2727
2728         * text3.C:
2729         * rowpainter.[Ch]: interface consolidation
2730
2731 2003-08-18  André Pönitz  <poenitz@gmx.net>
2732
2733         * BufferView.C:
2734         * BufferView_pimpl.C:
2735         * lyxfind.C:
2736         * paragraph_funcs.C:
2737         * rowpainter.C:
2738         * text3.C: remove LyXScreen::draw() and fitCursor calls
2739
2740         * BranchList.h: remove spurious semicolons
2741
2742         * MenuBackend.C: fix branchlist related crash
2743
2744 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2745
2746         * BranchList.[Ch]:
2747         * InsetList.[Ch]:
2748         * LColor.[Ch]:
2749         * LyXAction.C:
2750         * Makefile.am:
2751         * MenuBackend.[Ch]:
2752         * bufferparams.[Ch]:
2753         * factory.C:
2754         * lfuns.h:
2755         * lyxfunc.C:
2756         * text3.C: implements the 'branch inset'
2757         idea. This allows the output of various versions of a document
2758         from a single source version, selectively outputing or suppressing
2759         output of parts of the text.
2760         This implementation contains a 'branch list editor' in a separate
2761         tab of the document settings dialog. Branches are user definable
2762         and have a "display colour" to distinguish them on-screen.
2763
2764         ColorHandler was somewhat cleaned up.
2765         (1) make possible a dynamically growing LColor list by allowing
2766         the graphic context cache to grow along (vector);
2767         (2) eliminate an IMHO unnecessary step in colour allocation.
2768
2769 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2770
2771         * BufferView_pimpl.C: compile fix
2772
2773 2003-08-15  André Pönitz  <poenitz@gmx.net>
2774
2775         * rowpainter.C: remove extra metrics calls
2776
2777         * lyxtext.h: merge the two constructors into a single one,
2778           pass reference to owner's par list
2779
2780         * BufferView_pimpl.C:
2781         * text.C:
2782         * text2.C: adjust
2783
2784 2003-08-15  André Pönitz  <poenitz@gmx.net>
2785
2786         * lyxrow_funcs.[Ch]:
2787         * lyxtext.h:
2788         * paragraph.h:
2789         * paragraph_funcs.C:
2790         * rowpainter.C:
2791         * text.C:
2792         * text2.C:
2793         * text3.C:
2794         * text_funcs.C: split LyXText::rowlist_ into individual
2795         Paragraph::rows_ chunks
2796
2797         * BufferView.[Ch]:
2798         * BufferView_pimpl.[Ch]:
2799         * lyxfind.C:
2800         * lyxtext.h:
2801         * text3.C: remove toggleSelection()
2802
2803 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2804
2805         * bufferlist.C: beautify two alerts (shorter text of buttons)
2806         * buffer.C: Remove redundant ' ' from message
2807         * tabular.h:
2808         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2809         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2810         rename VALIGN_CENTER to VALIGN_MIDDLE
2811
2812 2003-08-11  André Pönitz  <poenitz@gmx.net>
2813
2814         * lyxtext.h (getPar):
2815         * text.C: new function
2816
2817 2003-08-11  André Pönitz  <poenitz@gmx.net>
2818
2819         * Makefile.am:
2820         * tracer.[Ch]: remove unneeded files
2821
2822         * InsetList.[Ch]: remove resizeInsetsLyXText()
2823
2824         * lyxtext.h:
2825         * text.C:
2826         * text2.C:
2827         * text3.C: merge insertParagraphs() and appendParagraph()
2828         remove breakAgain(), update()
2829
2830         * BufferView_pimpl.[Ch]:
2831         * bufferview_funcs.[Ch]:
2832         * lyxfunc.C:
2833         * paragraph.[Ch]:
2834         * rowpainter.C:
2835         * tabular.C: adjust after text & InsetList changes.
2836
2837 2003-08-08  André Pönitz  <poenitz@gmx.net>
2838
2839         * text.C (insertChar, backspace): replace rowlist fiddling
2840         with rebreak of full par
2841
2842         * lyxtext.h:
2843         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2844         checkParagraph, updateInset): removed
2845
2846 2003-08-07  André Pönitz  <poenitz@gmx.net>
2847
2848         * paragraph.C:
2849         * text3.C: merge some LFUN handlers, remove dead code
2850
2851 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2852
2853         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2854
2855 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2856
2857         * text2.C (DEPM): fix part of bug 1255 and 1256
2858
2859 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * BufferView_pimpl.C (workAreaDispatch): change to use
2862         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2863         that are no mouse related.
2864
2865 2003-08-05  André Pönitz  <poenitz@gmx.net>
2866
2867         * BufferView.[Ch]:
2868         * BufferView_pimpl.[Ch]:
2869         * bufferview_funcs.C:
2870         * text2.C:
2871         * text3.C: rip out "deep update"
2872
2873         * textcursor.[Ch] (last_sel_cursor): remove unused member
2874
2875 2003-08-04  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView.[Ch]:
2878         * BufferView_pimpl.[Ch]:
2879         * ParagraphParameters.C:
2880         * bufferview_funcs.C:
2881         * lyx_cb.C:
2882         * lyxfind.C:
2883         * lyxfunc.C:
2884         * text.C:
2885         * text2.C:
2886         * text3.C: replace "complicated" BufferView::update(...) calls with
2887         simpler ones.
2888
2889         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2890
2891 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2892
2893         * Makefile.am (lyx_SOURCES): add paper.h
2894
2895 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2896
2897         * Makefile.am: move things around so that both lyx-qt and
2898         lyx-xforms can be built (according to --with-frontend). Then lyx
2899         is a symbolic link to lyx-[firstfrontend]
2900
2901 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2902
2903         * Always use std::endl with lyxerr
2904
2905 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2906
2907         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2908
2909 2003-08-01  André Pönitz  <poenitz@gmx.net>
2910
2911         * BufferView.[Ch]:
2912         * BufferView_pimpl.[Ch]:
2913         * lyxfunc.C:
2914         * text3.C: merge BufferView::repaint() and BufferView::update()
2915
2916 2003-08-01  José Matos  <jamatos@lyx.org>
2917
2918         * buffer.[Ch]: file_format is no longer a buffer data element.
2919
2920 2003-08-01  André Pönitz  <poenitz@gmx.net>
2921
2922         * BufferView.C:
2923         * lyxtext.h:
2924         * text.C:
2925         * text2.C: make redoParagraph more independent of current cursor
2926
2927         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2928         * text.C:
2929         * text2.C: remove unneeded members
2930
2931 2003-07-30  André Pönitz  <poenitz@gmx.net>
2932
2933         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2934
2935         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2936           create a single function...
2937
2938         * paragraph_funcs.C (moveItem): ... here.
2939
2940         * text.C:
2941           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2942
2943 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2944
2945         * LColor.[Ch]: Add comment and greyedout logical colors.
2946
2947 2003-07-30  André Pönitz  <poenitz@gmx.net>
2948
2949         * tabular.C: don't use Assert too heavily. This crashes where it
2950           shouldn't
2951
2952 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2953
2954         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2955         is disabled (bug 1232)
2956
2957 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * factory.C: limited 'arg' scope
2960
2961 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2962
2963         * factory.C: fixed Note submenu issues
2964
2965 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2966
2967         * factory.C: submenu for Note/Comment/Greyedout
2968
2969 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * lyx_main.C (LyX):
2972         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2973
2974 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2975
2976         * LaTeXFeatures.C:
2977         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2978         greyedout. Patch provided by Jürgen Spitzmüller.
2979
2980 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * kbmap.C (read): fix error message when reading bind files
2983
2984 2003-07-29  Angus Leeming  <leeming@lyx.org>
2985
2986         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2987         certainly does not do what it purports to do. I am doing it, and
2988         us, a favour by killing it.
2989
2990 2003-07-28  José Matos  <jamatos@lyx.org>
2991
2992         * buffer.C (readBody, do_writeFile):
2993         * paragraph.C(readParagraph): \end_document replaces \the_end.
2994
2995 2003-07-29  André Pönitz  <poenitz@gmx.net>
2996
2997         * BufferView.[Ch]:
2998         * BufferView_pimpl.[Ch]:
2999         * lyxfunc.C:
3000         * text2.C:
3001         * text3.C:
3002         * textcursor.[Ch]: remove toggleToggle & Co
3003
3004 2003-07-28  José Matos  <jamatos@fep.up.pt>
3005
3006         * buffer.C (readParagraph):
3007         * params_func (readParToken, readParagraph):
3008         * paragraph.C (write): \layout -> \begin_layout.
3009
3010 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * lyxlex_pimpl.C (setFile): clean up slightly.
3013
3014         * bufferparams.h: add compressed var
3015
3016         * buffer_funcs.C (readFile): adjust for LyXLex change
3017         (newFile): ditto + simplify
3018
3019         * buffer.C (writeFile): handle writing of compressed files
3020
3021         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3022         Check if the file is compressed and set a bufferparm if so.
3023
3024         * Makefile.am (lyx_LDADD): remove explicit -lz
3025
3026 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3027
3028         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3029         makeDocBookFile): put the real LyX version in the first line of
3030         the file
3031
3032         * version.h:
3033         * version.C.in: remove lyx_docversion
3034
3035         * tabular.C (write_attribute): add a template-based version to
3036         write enums properly
3037
3038 2003-07-28  André Pönitz  <poenitz@gmx.net>
3039
3040         * lyxtext.h:
3041         * text.C:
3042         * text2.C:
3043         * text3.C: use doubles again for x-coordinates. They are needed.
3044
3045 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * messages.C (getLocaleDir): use lyx_localedir()
3048
3049         * lyxlex_pimpl.C (setFile): compress stuff
3050
3051         * buffer.C (writeFile): add some compression stuff
3052         (do_writeFile): new func, dont call expliti close... will this
3053         breake anything?
3054
3055         * Makefile.am (lyx_LDADD): add -lz
3056
3057 2003-07-28  José Matos  <jamatos@fep.up.pt>
3058
3059         * buffer.C: increment file format.
3060         * paragraph_funcs (readParagraph, readParToken):
3061         * paragraph.C (readParagraph): add \end_layout.
3062
3063 2003-07-27  Angus Leeming  <leeming@lyx.org>
3064
3065         * Makefile.am: remove special casing for configure-time setting of
3066         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3067
3068         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3069         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3070
3071 2003-07-26  André Pönitz  <poenitz@gmx.net>
3072
3073         * paragraph_func.[Ch]:
3074         * paragraph.C (realizeFont): inline it whereever it is used
3075
3076         * rowpainter.C:
3077         * text.C:
3078         * text2.C:
3079         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3080
3081
3082 2003-07-26  André Pönitz  <poenitz@gmx.net>
3083
3084         *       lyxtext.h:
3085         * text.C:
3086         * text2.C: get rid of LyXText::need_break_row
3087
3088 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * toc.[Ch]: put namespace toc inside namespace lyx
3091
3092         * MenuBackend.C (expandToc2): adjust for lyx::toc
3093         (expandToc): ditto
3094
3095         * lyxfunc.C (dispatch): adjust for lyx::find
3096
3097         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3098         lyx::find instead. Reorganize a bit.
3099         (LyXReplace): rename to replace
3100         (LyXFind): rename to find
3101
3102         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3103         (dispatch): ditto
3104
3105 2003-07-26  André Pönitz  <poenitz@gmx.net>
3106
3107         * text.C (setHeightOfRow): restrict scope of temporary variable
3108
3109         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3110           code (never has been used?)
3111
3112 2003-07-27  Asger Alstrup  <alstrup@local>
3113
3114         * text.C (fill): Optimise algorithm to exploit that we can reuse
3115         the LyXFont for many characters.
3116         (setHeightOfRow): Same thing.
3117         (rowBreakPoint): Same thing.
3118
3119 2003-07-26  Asger Alstrup  <alstrup@local>
3120
3121         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3122
3123         * text.C (singleWidth): Spurious font copying in hot-spot
3124         singleWidth avoided. Reorder tests for arabic for efficiency.
3125
3126         * text.C (fill): handle empty paragraphs better.
3127
3128 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3129
3130         * ispell.C:
3131         * encoding.h: add includes
3132
3133         * lyxrc.C: remove reading of bind files
3134
3135         * lyx_main.C (init): setup bindings and menus only if we have a
3136         gui.
3137
3138         * kbmap.C (read): new method. Do the actual reading of bind
3139         files.
3140
3141         * converter.C (dvipdfm_options):
3142         * bufferparams.C:
3143         * lyxrc.C (read):
3144         (output): adapt PAPER_* enums.
3145
3146         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3147
3148         * bufferparams.h: remove paper-related enums from there
3149
3150         * paper.h: New file. A trivial header file to hold paper-related
3151         enums. It should later expand to contain many paper-related
3152         horrors access.
3153
3154         * lyxrc.C: declare extern displayTranslator
3155
3156 2003-07-27  José Matos  <jamatos@fep.up.pt>
3157
3158         * tabular.[Ch] (linuxdoc): add support for tables and figures
3159         (linuxdoc).
3160
3161 2003-07-27  José Matos  <jamatos@fep.up.pt>
3162
3163         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3164         consistency in both functions.
3165         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3166
3167 2003-07-26  Asger Alstrup  <alstrup@local>
3168
3169         * rowpainter.C (paintRows): Change algorithm to work directly on
3170         the insets rather than asking every character in the document
3171         whether its an inset.
3172
3173 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * buffer.C (openFileWrite): factorize some code
3176
3177 2003-07-26  Angus Leeming  <leeming@lyx.org>
3178
3179         * lyx_cb.C:
3180         * lyx_main.[Ch]: replace occurances of system_tempdir with
3181         os::getTmpDir().
3182
3183 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * rename Inset to InsetOld
3186
3187 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3188
3189         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3190         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3191         which I think is a bit clearer. EDIT is gone, since it was
3192         premature optimisation, and broken for mathed anyway.
3193         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3194         with cursor positioning in insets as well (math insets still do not
3195         work, but that's a different story anyway.) It mysteriously
3196         crashes sometimes with undo in the first paragraph, but I'm fairly
3197         confident that this is a compiler bug.
3198
3199 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * paragraph.C (Paragraph): adjust for new clone return type
3202         (operator==): ditto
3203         (copyIntoMinibuffer): ditto
3204
3205 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3206
3207         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3208         by not having a special case, and always doing a full rebreak of
3209         the document after undo.
3210
3211 2003-07-23  Angus Leeming  <leeming@lyx.org>
3212
3213         * factory.C (createInset): InsetExternal::setParams now takes a
3214         Buffer const * arg.
3215
3216 2003-07-23  Angus Leeming  <leeming@lyx.org>
3217
3218         * factory.C (createInset): changed interface to the external and
3219         graphics mailers' string2params functions.
3220
3221 2003-07-23  Angus Leeming  <leeming@lyx.org>
3222
3223         * factory.C (createInset): pass a
3224         Buffer const * parameter to InsetExternalMailer's string2params.
3225
3226 2003-07-22  John Levon  <levon@movementarian.org>
3227
3228         * Thesaurus.h: include the right aiksaurus header
3229
3230 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3231
3232         * MenuBackend.C (expand): check menu shortcuts unconditionally
3233
3234 2003-07-21  Angus Leeming  <leeming@lyx.org>
3235
3236         * factory.C (createInset): pass a
3237         buffer_path parameter to InsetGraphicsMailer's string2params.
3238
3239 2003-07-21  Angus Leeming  <leeming@lyx.org>
3240
3241         * BufferView_pimpl.C (buffer):
3242         * buffer.C (d-tor):
3243         * lyx_main.C (LyX):
3244         * lyxfunc.C (dispatch):
3245         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3246         rather than the grfx shortcut.
3247
3248 2003-07-21  André Pönitz  <poenitz@gmx.net>
3249
3250         * rowpainter.C: remove unused variables
3251
3252         * tabular_funcs.C:
3253         * tabular_funcs.h: move to tabular.C
3254         * Makefile.am: adjust
3255
3256         * tabular.[Ch]: basic optical cleaning
3257
3258         * author.h: pass references, not values
3259
3260 2003-07-18  André Pönitz  <poenitz@gmx.net>
3261
3262         * lyxtext.h:
3263         * metricsinfo.C:
3264         * metricsinfo.h:
3265         * rowpainter.C:
3266         * text.C:
3267         * text2.C:
3268         * text3.C: two-phase drawing for InsetText and InsetTabular
3269         some float -> int changes.
3270
3271 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * lyx_main.C: fix the fix
3274
3275 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3276
3277         * lyx_main.C: fix a crash in batch mode if no files specified
3278         * converter.C: ws
3279
3280 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3281
3282         * format.[Ch] (papersize): moved to BufferParams
3283         * converter.[Ch] (dvips_options): moved to BufferParams
3284         (dvipdfm_options): moved to anon namespace
3285         * bufferparams.[Ch]: added above functions.
3286
3287 2003-07-17  André Pönitz  <poenitz@gmx.net>
3288
3289         * lyxtext.h:
3290         * rowpainter.C:
3291         * text2.C: don't call inset->update() anymore
3292
3293         * metricsinfo.[Ch]: add convenience constructor
3294
3295 2003-07-16  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxcursor.[Ch]:
3298         * lyxfunc.[Ch]:
3299         * text.C:
3300         * text2.C: replace the LyXCursor::irow_ member with
3301          on-demand computation of the value
3302
3303 2003-07-16  John Levon  <levon@movementarian.org>
3304
3305         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3306
3307 2003-07-15  André Pönitz  <poenitz@gmx.net>
3308
3309         * text.C:
3310         * text2.C: remove no more needed refresh_row
3311
3312 2003-07-15  André Pönitz  <poenitz@gmx.net>
3313
3314         * lyxtext.h:
3315         * rowpainter.C:
3316         * text2.C:
3317         * text3.C: refresh_status tristate -> need_update bool
3318
3319 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * lyxtext.h (init): remove reinit argument (act as if always true)
3322         * text2.C: adjust to that
3323
3324 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3325
3326         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3327         * text3.C: use it to delete selections in some cases
3328         (bugs 441, 673, 702, 954).
3329
3330 2003-07-14  André Pönitz  <poenitz@gmx.net>
3331
3332         * rowpainter.[Ch]: reduce interface
3333
3334 2003-07-14  André Pönitz  <poenitz@gmx.net>
3335
3336         * BufferView_pimpl.C:
3337         * text2.C: adjust after removing unused BufferView * argument
3338
3339 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3340
3341         * text2.C (init): fix a crash fired on resize
3342
3343 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3344
3345         * buffer.[Ch]: added new closing signal
3346         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3347         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3348         BufferView::Pimpl via the closing the signal
3349
3350 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * buffer.[Ch]: take out all bv-related from buffer
3353         * BufferView.C:
3354         * BufferView_pimpl.[Ch]: connect to new signals
3355         * CutAndPaste.C: removed useless asserts
3356         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3357         * lyxvc.[Ch]:
3358         * vc-backend.[Ch]:
3359         * lyxfunc.C: moved view-related funciontality from vc here
3360         * paragraph.C: removed outdated comments
3361         * text.C: ws
3362
3363 2003-07-10  André Pönitz  <poenitz@gmx.net>
3364
3365         * BufferView_pimpl.C:
3366         * tabular.h:
3367         * tabular_funcs.C:
3368         * text.C:
3369         * text2.C: remove InsetText::InnerCache, clean up consequences
3370
3371 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3372
3373         * ispell.C: fix two typos in error messages
3374
3375 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3376
3377         * Extend Note inset to other forms of annotation like Comment
3378         and Greyedout. Right button click gives dialog.
3379
3380         Files modified or added (+):
3381
3382         * insetnote.[Ch]
3383         * FormNote.[Ch]      +
3384         * ControlNote.[Ch]   +
3385         * form_note.fd       +
3386         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3387         frontends/controllers
3388         * xforms/Dialogs.C
3389         * factory.C
3390
3391 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3392
3393         * aspell.C: add missing namespace lyx::support
3394
3395 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3396
3397         * BufferView.[Ch] (newFile): Add
3398         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3399         * LaTeX.[Ch] (message): added this signal and use it
3400         * buffer.[Ch] (busy, message): added these signals and use them
3401         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3402         * converter.C:
3403         * exporter.C:
3404         * format.C:
3405         * importer.C: use buffer signals instead of direct bv calling
3406         * lyx_cb.[Ch] (ShowMessage): removed
3407         * lyx_main.C:
3408         * lyxfunc.C:
3409         * paragraph_funcs.C:
3410         * text2.C: use buffer signals
3411
3412 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * introduce namespace lyx::graphics
3415
3416 2003-07-02  André Pönitz  <poenitz@gmx.net>
3417
3418         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3419
3420 2003-07-01  André Pönitz  <poenitz@gmx.net>
3421
3422         * text.C:
3423         * text2.C:
3424         * text3.C:
3425         * text_funcs.[Ch]:
3426         * textcursor.h:
3427         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3428           text*.C to text_func.C
3429
3430 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3431
3432         * introduce namespace lyx::support
3433
3434 2003-06-30  André Pönitz  <poenitz@gmx.net>
3435
3436         * Chktex.C:
3437         * funcrequest.C:
3438         * lyxtext.h:
3439         * text.C: re-enable --with-included-string
3440
3441 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * textcursor.C: add <config.h>
3444
3445         * text.C (getWord): remove const from word_location arg
3446
3447         * lyxvc.C (getLogFile): fix const type order
3448
3449         * lyxtext.h: remove const from word_location arg, add arg name
3450
3451         * lyxlayout.h: currect type on labeltype.
3452
3453         * importer.C: correct \file
3454
3455         * converter.C (intToFormat): use std:: on ret val, ws changes
3456
3457         * bufferlist.h: correct \file
3458
3459         * buffer.C (makeLinuxDocFile): fix const type order
3460         (makeDocBookFile): ditto
3461         (fillWithBibKeys): use std:: on stdlib args.
3462
3463         * CutAndPaste.C: fix authors.
3464         (availableSelections): use std:: on return vector
3465
3466 2003-06-27  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView_pimpl.C:
3469         * bufferview_funcs.C:
3470         * lyxcursor.C:
3471         * lyxcursor.h:
3472         * lyxfunc.C:
3473         * lyxtext.h:
3474         * rowpainter.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: remove LyXCursor::row_ member
3478
3479         * lyxtext.h:
3480         * text.C: rename fullRebreak() to partialRebreak() and implement
3481           a fullRebreak() that really bereks fully
3482
3483         * textcursor.h: new struct for cursor-related data
3484
3485 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3486
3487         * lyx_main.C (LyX): get full path of document loaded on the
3488         command line
3489
3490 2003-06-26  André Pönitz  <poenitz@gmx.net>
3491
3492         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3493           remove unused/broken operator>,<,>=.
3494
3495         *       text.C: remove only use of broken operator<= in an Assert().
3496
3497 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3498
3499         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3500         moved errorlist_.clear to showErrorList
3501
3502 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * converter.C (scanLog, runLaTeX):
3505         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3506         move the bv->showErrorList call to the callers
3507         * lyxfunc.C: i.e. here...
3508         * text2.C: and here
3509         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3510         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3511         namespace, the second to...
3512         * buffer_funcs (BufferFormat, parseErrors): added
3513         * errorlist.C (ErrorList(TeXErrors const &)): removed
3514
3515 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3516
3517         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3518
3519 2003-06-24  "Garst R. Reese" <reese@isn.net>
3520
3521         * debug.C: fix typo
3522
3523 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3524
3525         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3526
3527         * version.C.in: change docversion to 1.4
3528
3529 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3530
3531         * buffer.C: fix a bug just introduced
3532
3533 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * buffer.[Ch]: added the parseError signal and use it, removed
3536         sgmlError
3537         * BufferView.[Ch] (addError): moved to ...
3538         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3539         to the Buffer::parseError signal to catch (guess what) parse errors
3540         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3541
3542 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3543
3544         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3545         ability to create a buffer and to return an existing one from
3546         the list. Moved these functions to...
3547         * buffer_funcs.[Ch]: added
3548         * BufferView.[Ch] (loadLyXFile): added
3549         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3550         job removed from bufferlist::loadLyXFile.
3551         * buffer.C (setReadOnly): make it work without view
3552         (i.e added an if (users))
3553
3554 2003-06-19  Angus Leeming  <leeming@lyx.org>
3555
3556         * lfuns.h:
3557         * LyXAction.C (init):
3558         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3559         with LFUN_DIALOG_SHOW <name> <data>.
3560
3561 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3562
3563         * CutAndPaste.C (availableSelections): small compilation fix for
3564         ancient (gcc 2.9x) compilers
3565
3566 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3567
3568         * text3.C (cursorNext): add tmp var
3569
3570         * text2.C (updateCounters): for function calling out of for clause
3571         (replaceSelectionWithString): ditto
3572         (insertStringAsParagraphs): ditto
3573         (getColumnNearX): add tmp var
3574         (setCursorFromCoordinates): add tmp var
3575         (cursorDownParagraph): add tmp var
3576         (deleteEmptyParagraphMechanism): add tmp var
3577
3578         * text.C (insertChar): add tmp var
3579
3580         * rowpainter.C (paintDepthBar): add tmp var
3581
3582         * CutAndPaste.C (availableSelections): potentially check all
3583         paragraphs in a cut to fill the shown strings.
3584
3585 2003-06-18  André Pönitz  <poenitz@gmx.net>
3586
3587         * kbmap.[Ch]: use vector<> instead of list<>
3588
3589 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3590
3591         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3592         pasteSelection with index
3593
3594         * text2.C (pasteSelection): modify, call pasteSelection with index
3595
3596         * paragraph.C (asString): reimplement version with no interval to
3597         call the one with interval.
3598
3599         * lyxtext.h: add index arg to pasteSelection
3600
3601         * MenuBackend.C (MenuItem): handle PasteRecent
3602         (Menu::read::Menutags): add md_pasterecent
3603         (read): handle it
3604         (expandPasteRecent): new function
3605         (expand): use it
3606
3607         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3608
3609         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3610         the limited stack
3611         (availableSelections): new function
3612
3613 2003-06-17  Angus Leeming  <leeming@lyx.org>
3614
3615         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3616
3617 2003-06-17  Angus Leeming  <leeming@lyx.org>
3618
3619         * lfuns.h:
3620         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3621
3622         * lyxfunc.C (dispatch): invoke it.
3623
3624 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3625
3626         * iterators.C (operator++, ParPosition): reintroduce some
3627         const_cast for the benefit of older compilers.
3628
3629 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3630
3631         * text3.C (dispatch): do not modify clipboard when doing
3632         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3633         LFUN_DELETE_SKIP on a selection selection
3634
3635 2003-06-16  André Pönitz  <poenitz@gmx.net>
3636
3637         * BufferView.C:
3638         * buffer.C:
3639         * buffer.h:
3640         * paragraph.C:
3641         * tabular.[Ch]: IU of clone() and getLabelList();
3642
3643 2003-06-13  André Pönitz  <poenitz@gmx.net>
3644
3645         * tabular.h: compactification
3646
3647 2003-06-12  André Pönitz  <poenitz@gmx.net>
3648
3649         * tabular.C:
3650         * tabular.h:
3651         * tabular_funcs.h: some renaming plus whitespace
3652
3653 2003-06-12  André Pönitz  <poenitz@gmx.net>
3654
3655         * BufferView.C:
3656         * BufferView_pimpl.C:
3657         * CutAndPaste.C:
3658         * buffer.C:
3659         * iterators.[Ch]:
3660         * lyxfunc.C:
3661         * text.C:
3662         * toc.C: Return a Paragraph & for ParIterator::operator*()
3663
3664 2003-06-11  John Levon  <levon@movementarian.org>
3665
3666         * lyx_main.C:
3667         * ToolbarBackend.h:
3668         * ToolbarBackend.C: add "Toolbars" section and
3669         put the flags there
3670
3671 2003-06-10  Angus Leeming  <leeming@lyx.org>
3672
3673         * lfuns.h:
3674         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3675
3676         * lyxfunc.C (dispatch): invoke it.
3677
3678 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * main.C: protect <ios> with HAVE_IOS
3681         (main): protect sync_with_stdio with HAVE_IOS
3682
3683 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3684
3685         * text2.C (cutSelection): adjust
3686         (pasteSelection): adjust
3687
3688         * messages.C: handle get of empty string
3689
3690         * main.C (main): use sync_with_stdio(false)
3691
3692         * lyxfunc.C (dispatch): adjust
3693
3694         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3695         (WriteAs): remove unneeded BufferView arg.
3696
3697         * bufferparams.h: use correct types on papersize, papersize2 and
3698         paperpackage.
3699
3700         * bufferparams.C (readToken): adjust for type
3701         (writeLaTeX): add missing cases to switch.
3702
3703         * bufferlist.C (quitWriteBuffer): adjust
3704         (close): adjust
3705
3706         * buffer.C (asciiParagraph): remove some commented code.
3707
3708         * CutAndPaste.C: remove current_view extern variable.
3709         (cutSelection): add BufferParams arg.
3710         (eraseSelection): add BufferParams arg.
3711         (pasteSelection): add Buffer const & arg
3712
3713 2003-06-07  John Levon  <levon@movementarian.org>
3714
3715         * buffer.C:
3716         * paragraph_funcs.C:
3717         * paragraph_pimpl.C:
3718         * text.C:
3719         * text2.C:
3720         * paragraph.h:
3721         * paragraph.C: allow InsetERT to freely space lines,
3722         and some consolidation of code
3723
3724 2003-06-06  José Matos  <jamatos@fep.up.pt>
3725
3726         * buffer.C (makeDocBookFile): fix bug #821
3727
3728 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3731
3732 2003-06-04  Angus Leeming  <leeming@lyx.org>
3733
3734         * buffer.C: bump format to 224.
3735
3736 2003-06-05  André Pönitz  <poenitz@gmx.net>
3737
3738         * text2.C (redoParagraphs): remove two const_cast<>
3739
3740 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3741
3742         * ParagraphList.h: remove last remnants of NO_STD_LIST
3743
3744 2003-06-03  Angus Leeming  <leeming@lyx.org>
3745
3746         * factory.C (createInset): small change to the way InsetExternal's params
3747         are set.
3748
3749 2003-06-04  André Pönitz  <poenitz@gmx.net>
3750
3751         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3752
3753         * paragraph_pimpl.h:
3754         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3755
3756         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3757
3758         * undo_funcs.C: make some simple cases of undo work again
3759
3760 2003-06-03  John Levon  <levon@movementarian.org>
3761
3762         * ispell.C: HPUX doesn't have sys/select.h
3763         (from Albert Chin)
3764
3765 2003-06-03  John Levon  <levon@movementarian.org>
3766
3767         * CutAndPaste.C: update tabular and include inset
3768         buffer references
3769
3770         * buffer.h:
3771         * paragraph.h:
3772         * paragraph.C: remove owningBuffer(), don't pass Buffer
3773         to clone()
3774
3775         * factory.C: insetGraphicsParams changed
3776
3777 2003-06-02  John Levon  <levon@movementarian.org>
3778
3779         * LyXAction.C:
3780         * factory.C:
3781         * lfuns.h:
3782         * lyxfunc.C:
3783         * text3.C: remove insetparent
3784
3785 2003-06-02  John Levon  <levon@movementarian.org>
3786
3787         * buffer.h:
3788         * buffer.C: fix inset_iterator.end(), move out of line
3789         (bug 1149)
3790
3791 2003-06-01  John Levon  <levon@movementarian.org>
3792
3793         * text3.C: use a proper cut/paste when doing inset
3794         insert (from Jürgen Spitzmüller)
3795
3796 2003-06-01  John Levon  <levon@movementarian.org>
3797
3798         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3799
3800 2003-05-30  André Pönitz  <poenitz@gmx.net>
3801
3802         * rowpainter.C: unify second drawing phase
3803
3804 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * trans_mgr.C: remove one case of current_view
3807
3808         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3809
3810         * paragraph_funcs.h: remove paragraph.h include
3811
3812         * paragraph.h: delete NO_STD_LIST stuff
3813
3814         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3815
3816         * buffer.h: remove paragraph.h include
3817
3818         * ParagraphList.C: delete file
3819
3820         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3821
3822         * toc.C (getTocList): adjust
3823
3824         * paragraph_pimpl.C (validate): adjust
3825
3826         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3827
3828         * paragraph.C (Paragraph): adjust
3829         (getPositionOfInset): use const_iterator, adjust
3830         (bibitem): use const_iterator, adjust
3831         (setInsetOwner): adjust
3832
3833         * iterators.C (operator++): adjust
3834
3835         * InsetList.[Ch]: Replace selfmade iterator with standard
3836         vector::iterator also introduce const_iterator. Remove getPos,
3837         getInset and setInset from InsetTable. Adjust accordingly.
3838
3839         * BufferView.C (lockInset): adjust
3840         (ChangeInsets): adjust
3841
3842         * tabular.[Ch]: delete commented same_id functions
3843
3844 2003-05-28  John Levon  <levon@movementarian.org>
3845
3846         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3847
3848 2003-05-28  André Pönitz  <poenitz@gmx.net>
3849
3850         * metricsinfo.[Ch]: remove 'fullredraw' member
3851
3852 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3853
3854         * lyxtextclass.C (operator): remove caching.
3855
3856 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * text3.C: adjust
3859
3860         * text2.C (cursorBottom): adjust
3861         (setCounter): use ParagraphList::find, adjust
3862
3863         * text.C (workWidth): use ParagraphList::find, adjust
3864
3865         * lyxcursor.C (LyXCursor): adjust
3866
3867         * buffer.C (inset_iterator): adjust
3868
3869         * ParagraphList.h: make iterator(value_type) private, make
3870         ParagraphList a friend of iterator.
3871
3872         * ParagraphList.C (find): new function
3873
3874         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3875
3876 2003-05-27  André Pönitz  <poenitz@gmx.net>
3877
3878         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3879
3880 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3881
3882         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3883
3884 2003-05-26  John Levon  <levon@movementarian.org>
3885
3886         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3887
3888 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * remove same_id from function signatures, adjust.
3891
3892 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3895
3896         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3897
3898         * paragraph.C (Paragraph): get rid of same_ids parameter
3899
3900         * ParagraphList.C (insert): adjust
3901         (push_back): adjust
3902
3903 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * paragraph_funcs.C (breakParagraph): adjust
3906         (breakParagraphConservative): adjust
3907
3908         * buffer.C (readParagraph): adjust
3909
3910         * ParagraphList.C (insert): take a reference instead of a pointer
3911         (insert): adjust
3912
3913         * paragraph.[Ch] (id): new function
3914
3915         * bufferlist.C (newFile): adjust
3916
3917         * ParagraphList.C (ParagraphList): adjust
3918         (assign): adjust
3919         (push_back): take a reference instead of a pointer.
3920
3921         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3922
3923         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3924         instead.
3925
3926         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3927         set else use old code.
3928
3929         * ParagraphList.C: remove all NO_NEXT code and only compile this
3930         code of NO_STD_LIST is set.
3931
3932 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3933
3934         * BufferView_pimpl.C:
3935         * TextCache.C:
3936         * TextCache.h:
3937         * bufferlist.C:
3938         * errorlist.h:
3939         * format.C:
3940         * format.h:
3941         * graph.C:
3942         * lyxfunc.C:
3943         * lyxrc.C:
3944         * graphics/GraphicsConverter.C:
3945         * graphics/PreviewLoader.C: header adjustment
3946
3947 2003-05-23  Angus Leeming  <leeming@lyx.org>
3948
3949         * LaTeXFeatures.[Ch] (useBabel): new method.
3950         * bufferparams.C (writeLaTeX): use it.
3951
3952 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * ParagraphList.h (set): remove unused function.
3955
3956 2003-05-23  André Pönitz  <poenitz@gmx.net>
3957
3958         * BufferView.C:
3959         * BufferView_pimpl.C:
3960         * buffer.C:
3961         * buffer.h:
3962         * lyxfunc.C:
3963         * undo_funcs.C: setUndo reworked
3964
3965         * iterators.[Ch]: add access to topmost ParagraphList
3966
3967         * lyxtext.[Ch] (workWidth): add a const
3968
3969 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3970
3971         * texrow.[Ch] (increasePos): remove function
3972         * exporter.C (export): removed unused var and outdated comment
3973
3974 2003-05-23  Angus Leeming  <leeming@lyx.org>
3975
3976         * latexrunparams.h: rename fragile as moving_arg.
3977         * paragraph.C (simpleTeXOnePar): ditto.
3978         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3979
3980 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3983         (createUndo): ditto
3984         (textUndoOrRedo): comment out a currently unused var.
3985
3986         * paragraph.h (NO_NEXT): enable NO_NEXT
3987
3988         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3989
3990         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3991
3992         * exporter.C (Export): adjust for removeAutoInsets removal.
3993
3994         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3995
3996         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3997
3998         * BufferView.[Ch] (removeAutoInsets): delete function
3999
4000 2003-05-22  Angus Leeming  <leeming@lyx.org>
4001
4002         * latexrunparams.h: add a free_spacing variable.
4003
4004         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4005         to pass moving_arg, as the data is stored in runparams.fragile.
4006
4007         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4008         to Inset::latexOptional or to simpleTeXOnePar.
4009
4010         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4011         free_spacing arg to Inset::latexOptional.
4012
4013         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4014         free_spacing arg.
4015
4016 2003-05-22  Angus Leeming  <leeming@lyx.org>
4017
4018         * latexrunparams.h: add fragile and use_babel variables.
4019
4020         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4021         * buffer.C (makeLaTeXFile): store this returned value in
4022         runparams.use_babel, thus passing it to the inset::latex methods.
4023
4024         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4025         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4026
4027         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4028         longer has a fragile arg, as it is stored in runparams.fragile.
4029
4030         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4031         moving_arg parameter as the data is stored in runparams.fragile.
4032
4033         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4034         a fragile parameter as the data is stored in runparams.fragile.
4035
4036 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4039
4040 2003-05-22  Angus Leeming  <leeming@lyx.org>
4041
4042         * latexrunparams.h: add a 'bool nice' which defaults to false.
4043
4044         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4045         now encapsulated within runparams.
4046
4047         * bufferlist.C (updateIncludedTeXfiles):
4048         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4049
4050 2003-05-22  Angus Leeming  <leeming@lyx.org>
4051
4052         * latexrunparams.h: new file containing struct LatexRunParams.
4053         * Makefile.am: add new file.
4054
4055         * LaTeX.[Ch] (c-tor, run):
4056         * buffer.[Ch] (makeLaTeXFile):
4057         * bufferlist.[Ch] (updateIncludedTeXfiles):
4058         * converter.C (convert, scanLog):
4059         * converter.[Ch] (runLaTeX):
4060         * exporter.C (Export):
4061         * paragraph.[Ch] (simpleTeXOnePar):
4062         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4063         * paragraph_funcs.[Ch] (latexParagraphs):
4064         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4065         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4066         pass around a LatexRunParams parameter.
4067
4068 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * paragraph.[Ch]: remove unused constructor
4071
4072         * ParagraphList.C (erase): new function, taking two iterators
4073
4074 2003-05-22  André Pönitz  <poenitz@gmx.net>
4075
4076         * undo_funcs.C: remove duplicated code
4077
4078         * iterator.[Ch]: operator=
4079
4080 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * tabular.C (SetMultiColumn): ws changes
4083
4084         * rowpainter.C (paintFirst): get rid of a ->previous
4085
4086         * lyx_cb.C (getPossibleLabel): parlist simplification
4087
4088         * BufferView.C (ChangeInsets): simplify slightly.
4089
4090 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4091
4092         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4093         * lfuns.h: new LFUN_SPACE
4094         * lyxfunc.C: protected space has a new lfun
4095         * paragraph_funcs.C: read new space insets
4096         * text3.C:
4097         * factory.C: handle new space insets
4098
4099 2003-05-22  André Pönitz  <poenitz@gmx.net>
4100
4101         * BufferView.C:
4102         * BufferView_pimpl.C:
4103         * buffer.[Ch]:
4104         * lyxfunc.C:
4105         * undo_funcs.C: return a ParIterator from getParFromID.
4106
4107         * iterators.[Ch]: add two const's
4108
4109 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4110
4111         * toc.C (getTocList): adjust
4112
4113         * iterators.[Ch]: rework for parlist
4114
4115         * buffer.C (par_iterator_begin): adjust
4116         (par_iterator_end): adjust
4117
4118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4119
4120         * BufferView.C (removeAutoInsets): adjust
4121         (ChangeInsets): adjust
4122
4123 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * text.C (top_y): fix bug 1110
4126
4127 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * errorlist.[Ch]: added
4130         * buffer.C:
4131         * BufferView.[Ch]:
4132         * BufferView_pimpl.C:
4133         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4134         instead
4135
4136 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * Makefile.am: ensure that lyx is relinked upon changes to the
4139         various "convenience" libs.
4140
4141 2003-05-20  Angus Leeming  <leeming@lyx.org>
4142
4143         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4144         files are compiled in alphabetical order again.
4145
4146         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4147
4148 2003-05-19  Angus Leeming  <leeming@lyx.org>
4149
4150         * gettext.[Ch]: remove "char const * _(char const *)".
4151
4152 2003-05-19  André Pönitz  <poenitz@gmx.net>
4153
4154         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4155
4156         * Makefile.am:
4157         * BufferView.C:
4158         * DepTable.h:
4159         * LaTeXFeatures.C:
4160         * buffer.C:
4161         * lyxfont.C:
4162         * lyxlex.h:
4163         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4164
4165 2003-05-19  André Pönitz  <poenitz@gmx.net>
4166
4167         * buffer.C:
4168         * lyxlayout.[Ch]:
4169         * lyxtextclass.[Ch]:
4170         * paragraph.C:
4171         * paragraph_funcs.[Ch]:
4172         * text2.C:
4173         * text3.C: more insetenv work
4174
4175 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * ParagraphParameters.C (params2string): small bug fixed
4178
4179 2003-05-16  André Pönitz  <poenitz@gmx.net>
4180
4181         * debug.C:
4182         * bufferview_funcs.C: patch from Kornel Benko to prevent
4183           crash when _(...) is called twice in a statement
4184
4185 2003-05-16  André Pönitz  <poenitz@gmx.net>
4186
4187         * BufferView.C:
4188         * lyxfunc.C:
4189         * text.C:
4190         * text2.C:
4191         * text3.C:
4192         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4193
4194 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * lyx_main.C (init): remove spurious static_cast
4197
4198 2003-05-14  André Pönitz  <poenitz@gmx.net>
4199
4200         * BufferView.C: fix format string
4201
4202 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * BufferView.[Ch] (insertErrors): removed
4205         * BufferView.[Ch] (showErrorList): added
4206         * buffer.C (runChkTeX):
4207         * converter.C (scanLog): call showErrorList instead of inserterrors
4208
4209 2003-05-13  André Pönitz  <poenitz@gmx.net>
4210
4211         * BufferView_pimpl.C:
4212         * buffer.C:
4213         * bufferview_func.C:
4214         * MenuBackend.C:
4215         * lyxfunc.C:
4216         * lyxrc.C:
4217         * tex-accent.C:
4218         * text3.C:
4219         * toc.C:
4220         * tabular_funcs.h: tostr() from its own header
4221
4222         * ParagraphParameters.C:
4223         * ToolbarBackend.C:
4224         * bufferparams.C:
4225         * format.C:
4226         * lyxlex_pimpl.C:
4227         * text3.C: STRCONV()
4228
4229 2003-05-12  André Pönitz  <poenitz@gmx.net>
4230
4231         * BufferView.C:
4232         * BufferView_pimpl.C:
4233         * CutAndPaste.C:
4234         * LaTeX.C:
4235         * LaTeXFeatures.C:
4236         * ParagraphParameters.C:
4237         * buffer.C:
4238         * bufferlist.C:
4239         * bufferparams.C:
4240         * bufferview_funcs.C:
4241         * converter.C:
4242         * counters.C:
4243         * debug.C:
4244         * exporter.C:
4245         * format.C:
4246         * importer.C:
4247         * lyx_cb.C:
4248         * lyx_main.C:
4249         * lyxfont.C:
4250         * lyxfunc.C:
4251         * lyxvc.C:
4252         * paragraph.C:
4253         * paragraph_funcs.C:
4254         * tabular.C:
4255         * tabular_funcs.C:
4256         * text2.C:
4257         * text3.C:  boost::format -> bformat  all over the place
4258
4259
4260 2003-05-09  André Pönitz  <poenitz@gmx.net>
4261
4262         * LColor.[Ch]: Pimpl the #include <map> away
4263
4264 2003-05-09  John Levon  <levon@movementarian.org>
4265
4266         * bufferlist.C: never remove emergency saves
4267
4268 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * Makefile.am: better lib building
4271
4272 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4275         instead.
4276         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4277         (simpleTeXSpecialChars): adjust
4278         (simpleTeXSpecialChars): adjust
4279         * paragraph.C (simpleTeXOnePar): adjust
4280         * buffer.C (makeLaTeXFile): adjust
4281
4282         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4283
4284         * text2.C (changeDepth): parlist cleanup
4285         (getColumnNearX): ditto
4286
4287         * rowpainter.C (getLabelFont): parlist cleanup
4288
4289         * bufferlist.C (newFile): parlist cleanup
4290
4291         * CutAndPaste.C (eraseSelection): parlist cleanup
4292
4293         * BufferView_pimpl.C (trackChanges): parlist cleanup
4294         (dispatch): ditto
4295
4296         * BufferView.C (lockInset): parlist cleanup.
4297         (ChangeInsets): ditto
4298
4299 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * CutAndPaste.h: Update file header.
4302
4303         * CutAndPaste.C: Update file header.
4304         Store the parts cut out of the Document in a limited_stack.
4305         (copySelection): adjust
4306         (pasteSelection): new function, takes the index in the limited stack.
4307         (nrOfParagraphs): adjust
4308         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4309         simplify error inset insertion.
4310         (checkPastePossible): adjust
4311
4312 2003-05-06  John Levon  <levon@movementarian.org>
4313
4314         * text2.C: don't cast wrap inset to float
4315
4316 2003-05-05  André Pönitz  <poenitz@gmx.net>
4317
4318         * iterator.C:
4319         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4320
4321         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4322           few naked Paragraph *.
4323
4324 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4325
4326         * bufferparams.C: Output warning if a document with missing
4327         TeX document class is loaded
4328         * exporter.C: Disable TeX exports if the document class is missing
4329         * lyxtextclass.C:
4330         * lyxtextclass.h:
4331         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4332         isTeXClassAvailable()
4333
4334 2003-05-03  John Levon  <levon@movementarian.org>
4335
4336         * BufferView.h:
4337         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4338         explicit cursor show/hide
4339
4340         * BufferView_pimpl.h:
4341         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4342         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4343
4344         * lyxfunc.C: hide cursor before dispatching.
4345
4346         * lyx_cb.C:
4347         * lyxfind.C:
4348         * text.C:
4349         * text3.C: remove explicit cursor hides
4350
4351 2003-05-02  André Pönitz  <poenitz@gmx.net>
4352
4353         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4354
4355         * undo_funcs.C:
4356         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4357           linked lists
4358
4359         * text2.C: tiny whitespace
4360
4361 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * undo_funcs.C: almost only ws changes.
4364
4365         * ParagraphList.C (splice): just return if pl is empty.
4366
4367 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * ParagraphList.C (splice): new function.
4370
4371         * CutAndPaste.C (pasteSelection): use it
4372
4373 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * CutAndPaste.C (pasteSelection): remove the last next and
4376         previous from this file.
4377
4378 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * CutAndPaste.C (pasteSelection): more clean up, user proper
4381         ParagraphList functions for pasteing.
4382
4383         * ParagraphList.C (insert): new function, three arg insert
4384
4385 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * ParagraphList.C (insert): new function, three arg insert
4388
4389         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4390         not on paragraphs.
4391
4392 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4395
4396 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4399
4400 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4403         (copySelection): clean up a bit.
4404         (pasteSelection): use make_pair
4405
4406         * ParagraphList.C (ParagraphList): implement copy constructor
4407         (operator=): implement, base on copy constructor.
4408         (assign): new func
4409
4410         * paragraph.C (erase): return a bool
4411
4412         * paragraph_pimpl.C (erasePos): remove function, move contents...
4413         (erase): ... here. Return a bool.
4414         (erase): call erase instead of erasePos.
4415
4416 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * ParagraphList.h: define PitPosPair
4419         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4420         ParagraphList, fix a bug on pasting multiple pars
4421         * text2.C: change interface to C&P
4422
4423 2003-04-30  André Pönitz  <poenitz@gmx.net>
4424
4425         * undo_func.C: revert part of yesterday's patch 2
4426
4427 2003-04-30  John Levon  <levon@movementarian.org>
4428
4429         * LColor.C: s/tabular/table/
4430
4431 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * text3.C (dispatch): do not convert iterator -> pointer
4434         * undo_funcs.C (setCursorParUndo): ditto
4435         * text_funcs.C (transposeChars): ditto
4436
4437         * text2.C (setLayout): ws changes only
4438
4439         * text.C (breakParagraph): do not convert iterator -> pointer
4440         (insertChar): ditto
4441         (acceptChange): ditto
4442         (rejectChange): ditto
4443         (changeCase): ditto
4444         (Delete): ditto
4445         (backspace): ditto
4446
4447         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4448         pointer
4449
4450 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * text3.C (gotoInset): YABG (yet another bad getChar)
4453
4454 2003-04-29  André Pönitz  <poenitz@gmx.net>
4455
4456         * paragraph.h: make operator= private unimplemented as long as
4457           it is unusable
4458
4459         * ParagraphList.C: whitespace
4460
4461         * paragraph.[Ch]:
4462         * paragraph_pimpl.[Ch]:
4463         * paragraph_funcs.C:
4464         * CutAndPaste.C:
4465         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4466
4467         * text2.C:
4468           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4469
4470 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4473         * paragraph.[Ch] (erase):
4474         * paragraph_pimpl.[Ch] (erase): change return type and value
4475         * text2.C (cutSelection): some rework
4476
4477 2003-04-28  John Levon  <levon@movementarian.org>
4478
4479         * bufferlist.C: changes for unsaved changes dialog
4480
4481 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * bufferlist.C (newFile): set language (messages_) for new
4484         documents also.
4485
4486         * buffer.C (readFile): ws changes only.
4487
4488 2003-04-28  André Pönitz  <poenitz@gmx.net>
4489
4490         * undo_funcs.C:
4491         * lyxfunc.C:
4492         * buffer.[Ch]:
4493         * BufferView_pimpl.C:
4494         * BufferView.C: getParFromID related ParagraphList::iterator changes
4495
4496 2003-04-28  André Pönitz  <poenitz@gmx.net>
4497
4498         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4499           Changes
4500
4501 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * messages.C: remove one more localedir class variable.
4504
4505 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * messages.C (getLocaleDir): singleton generation function
4508         (Pimpl): use it.
4509         (Messages): add a default constructor.
4510
4511         * main.C (main): do not setup localedir here, do not call
4512         gettext_init.
4513
4514         * gettext.C (_): use it.
4515         (gettext_init): delete funciton
4516
4517 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * gettext.C (getLyXMessages): new singleton generating function.
4520
4521         * buffer.C (updateDocLang): adjust
4522
4523         * Makefile.am (messages.o): add target
4524         (main.o): remove target
4525
4526 2003-04-27  John Levon  <levon@movementarian.org>
4527
4528         * bufferlist.C:
4529         * lyx_cb.C:
4530         * lyxfunc.C:
4531         * lyxvc.C: specify cancel button in Alert::prompt
4532
4533 2003-04-26  John Levon  <levon@movementarian.org>
4534
4535         * text3.C:
4536         * lyxfunc.C:
4537         * lfuns.h:
4538         * LyXAction.C: add LFUN_INSET_SETTINGS
4539
4540         * lyxfunc.C: don't enable tabular-feature when there's
4541         just any locking inset
4542
4543 2003-04-26  John Levon  <levon@movementarian.org>
4544
4545         * bufferlist.C: re-add Cancel to buffer close question
4546
4547         * lyxfunc.C: fix import UI a bit
4548
4549 2003-04-25  John Levon  <levon@movementarian.org>
4550
4551         * gettext.C: remove the broken asserts for now
4552
4553 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * messages.C: make case where setlocale cannot comply work better.
4556
4557         * buffer.C (updateDocLang): new function
4558         (changeLanguage): use it
4559         (readFile): use it
4560
4561         * text2.C (setCounter): use B_ a bit.
4562
4563         * lyxlayout.C (Read): be sure to trim the label strings.
4564
4565         * messages.C (Messages): fix typo in comment
4566
4567         * buffer.C (readFile): set message_ after file is loaded.
4568         (makeDocBookFile): remove double return
4569         (changeLanguage): reset message_ upon language change.
4570         (B_): new func, use this to get translated buffer strings.
4571
4572         * main.C: add myself and Jean Marc as authors.
4573
4574 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * messages.[hC]: pimplify Messages, and three different pimpls to be
4577         used in different circumstances.
4578
4579         * gettext.[Ch]: change for use with new message code.
4580
4581 2003-04-24 André Pönitz <poenitz@gmx.net>
4582
4583         * factory.C: support for eqref
4584
4585 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * messages.[Ch]: add missing char
4588
4589         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4590
4591         * messages.[Ch]: New files
4592
4593 2003-04-18  John Levon  <levon@movementarian.org>
4594
4595         * BufferView.h:
4596         * BufferView.C:
4597         * BufferView_pimpl.C:
4598         * lfuns.h:
4599         * LyXAction.C:
4600         * lyxtext.h:
4601         * text2.C: remove layout-copy/paste (bug 778)
4602
4603 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4606
4607 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4610         if they succeed. Act accordingly.
4611
4612 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * text2.C (setCharFont): adjust
4615         (setCounter): adjust
4616         (insertStringAsLines): adjust
4617
4618         * text.C (leftMargin): adjust
4619         (setHeightOfRow): adjust
4620
4621         * rowpainter.C (paintFirst): adjust
4622         (paintLast): adjust
4623
4624         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4625         (outerHook): ditto
4626         (isFirstInSequence): ditto
4627         (getEndLabel): ditto
4628         (outerFont): adjust
4629
4630         * paragraph.C (getParLanguage): comment out some hard stuff.
4631
4632         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4633         (sgmlError): ditto
4634         (simpleDocBookOnePar): ditto
4635         (makeDocBookFile): use ParagraphList::iterator
4636
4637         * CutAndPaste.C (pasteSelection): adjust
4638
4639 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * text2.C (getFont): adjust
4642         (getLayoutFont): adjust
4643         (getLabelFont): adjust
4644
4645         * paragraph_funcs.C (TeXOnePar): adjust
4646
4647         * buffer.C (simpleLinuxDocOnePar): adjust
4648         (simpleDocBookOnePar): adjust
4649
4650         * CutAndPaste.C (pasteSelection): adjust
4651
4652         * BufferView.C (getEncoding): adjust
4653
4654         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4655
4656 2003-04-16  John Levon  <levon@movementarian.org>
4657
4658         * lyxfind.C: use parlist stuff for search/changes
4659
4660 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4663
4664         * text2.C (deleteEmptyParagraphMechanism): adjust
4665
4666         * text2.[Ch] (ownerParagraph): delete func (both of them
4667
4668 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4671
4672 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * ParagraphList.C: prepare for NO_NEXT
4675
4676 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * text2.C (getFont): adjust
4679         (getLayoutFont): adjust
4680         (getLabelFont): adjust
4681
4682         * paragraph.C (getFont): adjust
4683         (getLabelFont): adjust
4684         (getLayoutFont): adjust
4685
4686         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4687
4688 2003-04-15  John Levon  <levon@movementarian.org>
4689
4690         From Angus Leeming
4691
4692         * lyx_main.C: handle Include in .ui files
4693
4694 2003-04-15  John Levon  <levon@movementarian.org>
4695
4696         * MenuBackend.C: make the doc files length shorter
4697
4698         * ToolbarBackend.h:
4699         * ToolbarBackend.C: handle toolbar placement flags,
4700         Minibuffer
4701
4702 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4705         adjust
4706
4707         * paragraph_funcs.C (TeXOnePar): adjust
4708
4709         * paragraph.C (getLabelFont): add outerfont arg, adjust
4710         (getLayoutFont): ditto
4711         (simpleTeXOnePar): adjust
4712
4713         * paragraph_pimpl.C (realizeFont): delete func
4714
4715 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4718         row argument, constify cur argument.
4719
4720 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * text2.C (getFont): adjust
4723         (getLayoutFont): adjust
4724         (getLabelFont): adjust
4725
4726         * paragraph_funcs.C (TeXOnePar): adjust
4727         (outerFont): new func...
4728         (realizeFont): ...moved out from here, changed this to facilitate
4729         transition
4730
4731         * paragraph.C (getFont): take outerfont as arg, adjust
4732         (simpleTeXOnePar): add outerfont arg, adjust
4733
4734         * buffer.C (simpleLinuxDocOnePar): adjust
4735         (simpleDocBookOnePar): adjust
4736
4737         * CutAndPaste.C (pasteSelection): adjust
4738
4739         * BufferView.C (getEncoding): adjust
4740
4741 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text2.C (setCharFont): adjust
4744         (setCounter): adjust
4745
4746         * text.C (leftMargin): adjust
4747         (setHeightOfRow): adjust
4748
4749         * rowpainter.C (paintFirst): adjust
4750         (paintLast): adjust
4751
4752         * paragraph_pimpl.C (realizeFont): adjust
4753
4754         * paragraph.C (isFirstInSequence): move from here...
4755         * paragraph_funcs.C (isFirstInSequence): ...to here
4756
4757         * paragraph.C (outerHook): move from here...
4758         * paragraph_funcs.C (outerHook): ...to here
4759
4760         * paragraph.C (depthHook): move from here...
4761         * paragraph_funcs.C (depthHook): ...to here
4762
4763         * paragraph.C (getEndLabel): move from here...
4764         * paragraph_funcs.C (getEndLabel): ...to here
4765
4766         * text2.C (realizeFont): move from here...
4767         * paragraph_funcs.C (realizeFont): ...to here
4768
4769 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4772
4773 2003-04-14  Angus Leeming  <leeming@lyx.org>
4774
4775         * LColor.[Ch]: scrap LColor mathcursor.
4776
4777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * lyxlex.[Ch] (text): delete function
4780         * trans.C (Load): adjust
4781         * paragraph_funcs.C (readParToken): adjust
4782
4783 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4786         vector<char> instead of a char[].
4787
4788         * lyxlex_pimpl.C (getString): adjust
4789         (next): adjust
4790         (lex): use getString
4791         (eatLine): adjust
4792         (nextToken): adjust
4793
4794         * lyxlex.C (text): use pimpl_->getString()
4795         (getBool): ditto
4796         (findToken): ditto
4797
4798 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4801         (makeFontEntriesLayoutSpecific): temp var for par.size()
4802         (setLayout): temp var for ownerParagraphs().end()
4803         (fullRebreak): temp var for rows().end()
4804         (selectionAsString): temp var for boost::next(startpit), realize
4805         that the while really is a regular for loop.
4806         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4807         setCursor in one place.
4808         (setParagraph): temp vr for ownerParagraphs().end()
4809         (updateCounters): make the while loop a for loop
4810         (cutSelection): temp var for ownerParagraphs().end()
4811         (updateInset): make the do {} while() a regular for loop
4812         (getCursorX): use temp vars
4813         (setCurrentFont): use temp vars
4814         (getColumnNearX): use temp vars
4815
4816 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * text.C (transformChar): use temp var for getChar
4819         (computeBidiTables): use temp var for row->par()
4820         (fill): move temp vars for row->par() and pit->layout() earlier in
4821         the function.
4822         (labelFill): use temp var for row->par()
4823         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4824         asc and desc, realize that pit never changes and that firstpit is
4825         just a duplicate and not needed. Exchange rit->par() with pit in a
4826         lot of places.
4827         (breakAgain): use a temp var for boost::next(rit)
4828         (breakAgainOneRow): ditto
4829         (breakParagraph): use a temp var for rows().begin()
4830         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4831         (cursorRightOneWord): use temp var for cursor.par() and
4832         cursor.pos(), remove usage of tmpcursor.
4833         (cursorLeftOneWord): use temp var for cursor.par() and
4834         cursor.pos() only set cur at end of function.
4835
4836 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * text.C, text2.C: exchange all usage of Paragraph::next with
4839         boost::next(ParagraphList::iterator)
4840
4841         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4842
4843         * text2.C (cursorTop): simplify implementation
4844         (cursorBottom): ditto
4845         (setParagraph): use ParagraphList::iterator
4846         (setCurrentFont): adjust
4847         (getColumnNearX): adjust
4848         (cursorRight): adjust
4849         (cursorLeft): remove usage of Paragraph::previous
4850         (cursorUpParagraph): ditto
4851         (deleteEmptyParagraphMechanism): slight cleanup
4852
4853         * text.C (isBoundary): take a Paragraph const & instead of a
4854         pointer as arg.
4855         (addressBreakPoint): ditto
4856         (leftMargin): remove usage of Paragraph::previous.
4857         (setHeightOfRow): ditto
4858         (cursorLeftOneWord): ditto
4859         (selectNextWordToSpellcheck): ditto
4860         (Delete): ditto
4861         (backspace): ditto
4862         (breakParagraph): remove one usage of Paragraph::next
4863         (redoParagraph): ditto
4864         (acceptChange): ditto
4865         (insertChar): adjust
4866         (rowBreakPoint): adjust
4867
4868         * bufferview_funcs.C (toggleAndShow): adjust
4869
4870 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4873         methods to access it.
4874         * lyxtext.h:
4875         * text.C: Added updateRowPositions to compute all row positions.
4876         Make top_y and getRowNearY() to use the cached y position
4877
4878 2003-04-11  John Levon  <levon@movementarian.org>
4879
4880         * text.C (rowBreakPoint): reintroduce the labelEnd
4881         checks, code copied from the row fill stuff. Deep voodoo.
4882
4883         * text.C (fill): add a comment and debugging for the
4884         next poor soul.
4885
4886 2003-04-11  John Levon  <levon@movementarian.org>
4887
4888         * text.C: make sure fullrow insets get wrapped to the next line,
4889         even when they're in a manual label
4890
4891 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * text2.C (insertParagraph): make it take ParagraphList::iterator
4894         as arg.
4895         (setLayout): make it return ParagraphList::iterator
4896         (redoParagraphs): ditto
4897         (setCounter): ditto
4898         (checkParagraph): ditto
4899
4900         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4901
4902         * text2.C: adjust several funcs.
4903         (realizeFont): take a ParagraphList::iterator as arg.
4904         (getLayoutFont): ditto
4905         (getLabelFont): ditto
4906         (setCharFont): ditto
4907
4908         * text.C: adjust several funcs.
4909
4910 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * text.C (selectNextWordToSpellcheck): don't accidentally
4913         skip insets
4914
4915 2003-04-10  John Levon  <levon@movementarian.org>
4916
4917         * ToolbarBackend.C (getIcon): special handling for
4918         LFUN_MATH_DELIM
4919
4920 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * text2.C (cursorRight): a getChar assert fixed
4923
4924 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * text2.C (getFont): change to take a ParagraphList::iterator
4927         instead of Paragraph*
4928         Adjust several functions.
4929
4930         * text.C (transformChar): change to take a ParagraphList::iterator
4931         instead of Paragraph*
4932         (singleWidth): ditto
4933         Adjust several functions.
4934
4935         * rowpainter.C: adjust several functions
4936         * rowpainter.h:store a ParagraphList::iterator and not a
4937         Paragraph&.
4938
4939
4940 2003-04-09  John Levon  <levon@movementarian.org>
4941
4942         * lyxfunc.C:
4943         * lfuns.h:
4944         * LyXAction.h:
4945         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4946         and the "help" bits as well
4947
4948 2003-04-09  John Levon  <levon@movementarian.org>
4949
4950         * ToolbarBackend.h:
4951         * ToolbarBackend.C: allow multiple toolbars
4952
4953 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * undo_funcs.C (setCursorParUndo): adjust
4956
4957         * text_funcs.C (transposeChars): adjust
4958
4959         * text3.C (gotoNextInset): adjust
4960         (dispatch): adjust
4961
4962         * text2.C (setLayout): adjust
4963         (changeDepth): adjust
4964         (setFont): adjust
4965         (redoParagraphs): adjust
4966         (selectionAsString): adjust
4967         (setParagraph): adjust
4968         (insertInset): adjust
4969         (cutSelection): adjust
4970         (copySelection): adjust
4971         (pasteSelection): adjust
4972         (insertStringAsLines): adjust
4973         (updateInset): adjust
4974         (setCursor): change to take a ParagraphList::iterator parameter
4975         (setCursorIntern): change to take a ParagraphList::iterator parameter
4976         (setCurrentFont): adjust
4977         (cursorLeft): adjust
4978         (cursorRight): adjust
4979         (deleteEmptyParagraphMechanism): adjust
4980
4981         * text.C (breakParagraph): adjust
4982         (insertChar): adjust
4983         (acceptChange): adjust
4984         (rejectChange): adjust
4985         (selectNextWordToSpellcheck): adjust
4986         (changeCase): adjust
4987         (Delete): adjust
4988         (backspace): adjust
4989
4990         * lyxfind.C (SearchForward): adjust
4991         (SearchBackward): adjust
4992         (nextChange): adjust
4993
4994         * lyxcursor.C (par): adjust
4995
4996         * lyxcursor.h: store a ParagraphList::iterator instead of a
4997         Paragraph*
4998
4999         * lyx_cb.C (getPossibleLabel): adjust
5000
5001         * bufferview_funcs.C (toggleAndShow): adjust
5002
5003         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5004         (dispatch): adjust
5005
5006         * BufferView.C (removeAutoInsets): adjust
5007         (lockedInsetStoreUndo): adjust
5008
5009 2003-04-09  John Levon  <levon@movementarian.org>
5010
5011         * ToolbarBackend.C: try icon without argument
5012         if with argument fails
5013
5014 2003-04-08  John Levon  <levon@movementarian.org>
5015
5016         * ToolbarBackend.h:
5017         * ToolbarBackend.C: add getIcon(), handle tooltip,
5018         and change from "Icon" to "Item".
5019
5020 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * BufferView.C (lockInset): another bad getchar crunched
5023
5024 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5025
5026         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5027         again)
5028
5029 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * lyxfind.C (searchForward, searchBackwards): bug 782
5032
5033 2003-04-07  John Levon  <levon@movementarian.org>
5034
5035         * paragraph.C: remove dead comment
5036
5037         * text.C: remove troublesome depth-fiddling code
5038         in leftMargin() and rightMargin() (bug 1017)
5039
5040         * text.C: fix breaking of rows in nested lists
5041         (bug 1004)
5042
5043         * text2.C (updateCounters): fix up depth values
5044         (bug 1013)
5045
5046 2003-04-07  John Levon  <levon@movementarian.org>
5047
5048         * BufferView_pimpl.C: clear message when doc finishes resizing,
5049         and after a mouse event
5050
5051         * lyxfunc.C: clear message after exiting inset
5052
5053 2003-04-07  John Levon  <levon@movementarian.org>
5054
5055         * bufferview_funcs.C: show math status not outside
5056         status in the statusbar
5057
5058 2003-04-07  John Levon  <levon@movementarian.org>
5059
5060         * lyxfunc.C: note status changed after a depth change
5061
5062 2003-04-04  Angus Leeming  <leeming@lyx.org>
5063
5064         * LaTeX.h: move AuxInfo operator==, != out of line.
5065         Remove LaTeX virtual destructor; nothing derives from it.
5066         Move operator()() out of public area and rename it startscript().
5067         Change protected for private.
5068
5069 2003-04-04  Angus Leeming  <leeming@lyx.org>
5070
5071         * lyxfunc.C:
5072         * text2.C: remove unneeded #includes.
5073
5074 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text2.C (dEPM): fix the heigth of the next row
5077
5078 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * text.C: squashed an invalid getChar requester + some ws changes
5081
5082 2003-04-03  John Levon  <levon@movementarian.org>
5083
5084         * bufferview_funcs.h:
5085         * bufferview_funcs.C:
5086         * lyxfunc.C:
5087         * lyxtext.h:
5088         * text2.C: make getStatus work for the env depth lfuns
5089
5090 2003-04-03  John Levon  <levon@movementarian.org>
5091
5092         * bufferview_funcs.h:
5093         * bufferview_funcs.C:
5094         * lyxfunc.C:
5095         * lyxtext.h:
5096         * text2.C: parlistize decDepth(), by merging it with incDepth()
5097
5098 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * lyxrow.h: store a ParagraphList::iterator instead of a
5101         Paragraph* and adjust other class functions to suit.
5102
5103         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5104         above.
5105
5106 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text2.C (setCursor): do not anchor to cursor row for the time being
5109
5110 2003-04-02  John Levon  <levon@movementarian.org>
5111
5112         * LyXAction.C:
5113         * lfuns.h:
5114         * lyx_main.C:
5115         * lyxtext.h:
5116         * text.C:
5117         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5118
5119 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * paragraph.h: make ParagraphList and ParagraphList::iterator
5122         friends of Paragraph.
5123
5124         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5125
5126         * ParagraphList.C: Use the private next_ and previous_ from
5127         Paragraph.
5128
5129 2003-04-01  John Levon  <levon@movementarian.org>
5130
5131         * ToolbarBackend.h:
5132         * ToolbarBackend.C:
5133         * Makefile.am: rename, remove defaults gunk
5134
5135         * MenuBackend.h:
5136         * MenuBackend.C: remove defaults gunk
5137
5138         * Languages.h:
5139         * Languages.C: remove defaults gunk
5140
5141         * lyx_main.h:
5142         * lyx_main.C: error out if files couldn't be found.
5143
5144 2003-04-02  John Levon  <levon@movementarian.org>
5145
5146         * text2.C: make incDepth() use parlist
5147
5148 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * undo_funcs.C (firstUndoParagraph): adjust
5151
5152         * text3.C (gotoInset): adjust
5153         (dispatch): adjust, and rewrite loop.
5154
5155         * text2.C (init): adjust, and rewrite loop.
5156         (redoParagraphs): adjust
5157         (updateInset): adjust, and rewrite loop.
5158         (deleteEmptyParagraphMechanism): adjust
5159
5160         * tabular.C (LyXTabular): adjust
5161         (SetMultiColumn): adjust
5162         (TeXRow): adjust
5163
5164         * lyxtext.[Ch] (ownerParagraph): delete function
5165         (ownerParagraphs): new function returns a ParagraphList.
5166
5167         * BufferView.C (removeAutoInsets): adjust
5168         (insertErrors): adjust
5169         (setCursorFromRow): adjust
5170
5171 2003-04-01  Angus Leeming  <leeming@lyx.org>
5172
5173         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5174         in the frontends.
5175
5176 2003-04-02  John Levon  <levon@movementarian.org>
5177
5178         * lyxtext.h:
5179         * text.C:
5180         * Makefile.am:
5181         * text_funcs.h:
5182         * text_funcs.C: make transposeChars a free function
5183
5184         * lyxrow_funcs.C: remove wrong comment
5185
5186 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * lyxtext.h: adjust
5189         * rowpainter.C: adjust
5190         * text.C: adjust
5191         * text2.C: adjust
5192         * text3.C: adjust
5193
5194         * lyxrow_funcs. [Ch]: new files
5195
5196         * lyxrow.[Ch]: remove next and previous pointers
5197         (next,previous): remove accessor functions
5198         (isParEnd): move to lyxrow_funcs
5199         (lastPos): move to lyxrow_funcs
5200         (nextRowIsAllInset): move to lyxrow_funcs
5201         (lastPrintablePos): move to lyxrow_funcs
5202         (numberOfSeparators): move to lyxrow_funcs
5203         (numberOfHfills): move to lyxrow_funcs
5204         (numberOfLabelHfills): move to lyxrow_funcs
5205         (hfillExpansion): move to lyxrow_funcs
5206
5207         * lyxfunc.C: adjust
5208
5209         * bufferview_funcs.C (toggleAndShow): adjust
5210
5211         * RowList.h: Remove class RowList from file leave just a
5212         std::list<Row>.
5213
5214         * RowList.C: delete file
5215
5216         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5217         and lyxrow_funcs.h
5218
5219 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5220
5221         * text3.C (cursorPrevious): adjust
5222         (cursorNext): adjust
5223         (dispatch): adjust
5224
5225         * text2.C (redoHeightOfParagraph): adjust
5226         (redoDrawingOfParagraph): adjust
5227         (setCursor): adjust
5228
5229         * text.C (breakParagraph): adjust
5230         (insertChar): adjust
5231         (backspace): adjust
5232
5233         * rowpainter.C (RowPainter): adjust
5234         (leftMargin): simplify and adjust
5235         (most rowpainter functions): adjust.
5236
5237         * rowpainter.h: store the row as RowList::iterator not as Row*
5238
5239         * lyxcursor.C (row): taka RowList::iterator as arg
5240         (irow): ditto
5241
5242         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5243         of Row*.
5244
5245 2003-04-01  Angus Leeming  <leeming@lyx.org>
5246
5247         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5248         stuff like bool Bool.
5249
5250 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5253         rewrite a loop
5254
5255 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5256
5257         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5258         RowList::iterator.
5259
5260         * lyxtext.h (rows): drop one version and leve a const variant that
5261         returns a RowList::iterator.
5262
5263 2003-03-31  Angus Leeming  <leeming@lyx.org>
5264
5265         * text.C (fill): ensure that the signature is the same as that in the
5266         header file.
5267
5268 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * text2.C (redoParagraphs): adjust
5271         (updateCounters): adjust
5272         (checkParagraph): adjust
5273         (getColumnNearX): adjust and reformat a bit.
5274
5275         * text.C (top_y): adjust
5276         (workWidth): adjust
5277         (leftMargin): adjust
5278         (prepareToPrint): adjust
5279         (getRow): adjust
5280         (getRowNearY): adjust
5281
5282         * lyxtext.h: make rowlist_ mutable.
5283
5284         * RowList.h: add const_iterator
5285         * RowList.C: adjust for RowList::const_iterator.
5286
5287         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5288         adjust.
5289
5290 2003-03-31  John Levon  <levon@movementarian.org>
5291
5292         * lyxrc.h:
5293         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5294
5295         * lyx_main.C: set default fonts from using lyx_gui funcs
5296
5297         * exporter.C: pdf_mode moved from lyxrc
5298
5299         * lyx_cb.C:
5300         * lyxfunc.C: changes from above
5301
5302 2003-03-31  John Levon  <levon@movementarian.org>
5303
5304         * lyx_main.C: fix to the last fix
5305
5306 2003-03-31  John Levon  <levon@movementarian.org>
5307
5308         * bufferlist.C: "Load original" -> "Load Original"
5309
5310         * converter.C:
5311         * exporter.C:
5312         * importer.C:
5313         * lyx_main.C:
5314         * format.C: more Alert cleanups
5315
5316 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * text2.C (removeParagraph): make it take a RowList::iterator as
5319         arg, adjust.
5320         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5321         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5322
5323         * text.C (anchor_row): make it take a RowList::iterator as arg,
5324         adjust.
5325         (computeBidiTables): make it take a const reference to Row instead
5326         of Row pointer, adjust.
5327         (leftMargin): make it take a RowList::iterator as arg, adjust.
5328         (rowBreakPoint): adjust
5329         (breakAgainOneRow): make it take a RowList::iterator as arg,
5330         adjust.
5331         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5332
5333         * bufferview_funcs.C (toggleAndShow): adjust
5334
5335 2003-03-30  John Levon  <levon@movementarian.org>
5336
5337         * Makefile.am:
5338         * BoostFormat.h:
5339         * boost-inst.C: moved to support
5340
5341         * several files: changes as a result
5342
5343 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * text2.C (LyXText): adjust.
5346         (init): adjust
5347         (removeRow): make it take a RowList::iterator as arg, adjust.
5348         (fullRebreak): adjust
5349         (deleteEmptyParagraphMechanism): adjust
5350         (clearPaint): adjust
5351         (postPaint): adjust
5352
5353         * text.C (top_y): adjust
5354         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5355         (breakAgain): make it take a RowList::iterator as arg, adjust.
5356         (breakParagraph): adjust
5357         (insertChar): adjust
5358         (backspace): adjust
5359
5360         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5361         need_break_row, and refresh_row.
5362
5363         * text3.C (dispatch): adjust
5364
5365         * text2.C (checkParagraph): adjust
5366         (setCursor): adjust
5367         (setCursorFromCoordinates): adjust
5368
5369         * text.C (top_y): adjust
5370         (workWidth): adjust
5371         (getRow): make it return a RowList::iterator, adjust
5372         (getRowNearY): make it return a RowList::iterator, adjust
5373
5374         * text2.C (init): adjust
5375         (insertRow): remove function
5376         (insertParagraph): adjust
5377         (redoParagraphs): adjust
5378         (fullRebreak): adjust
5379         (updateCounters): adjust
5380
5381         * text.C (top_y): rewrite to use RowList iterators.
5382         (top_y): adjust
5383         (setHeightOfRow): rewrite to sue RowList iterators.
5384         (appendParagraph): adjust
5385         (breakAgain): adjust
5386         (breakAgainOneRow): adjust
5387         (breakParagraph): adjust
5388         (getRow): adjust
5389         (getRowNearY): adjust, and remove commented code.
5390
5391         * lyxtext.h (firstRow): delete function
5392         (lastRow): delete function
5393         (rows): new function (const and non-const versions.)
5394         (insertRow): delete function
5395
5396         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5397
5398 2003-03-29  John Levon  <levon@movementarian.org>
5399
5400         * BufferView_pimpl.C: always update scrollbar top
5401         because pasting text when we're anchored could mean we
5402         miss an update altogether
5403
5404 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * text2.C (init): use rowlist_.end() and not 0.
5407         (insertRow): change to take a RowList::iterator as arg, adjust
5408         for this.
5409         (insertParagraph): change to take a RowList::iterator as arg,
5410         adjust for this.
5411         (redoParagraphs): remove some debug msgs.
5412
5413         * text.C (appendParagraph): change to take a RowList::iterator
5414         arg, adjust for this.
5415         (breakAgain): add an assert
5416         (breakAgainOneRow): ditto
5417
5418 2003-03-29  John Levon  <levon@movementarian.org>
5419
5420         * text2.C: do not clear selection after inc/decDepth
5421         (bug 550)
5422
5423 2003-03-29  John Levon  <levon@movementarian.org>
5424
5425         * BufferView.C:
5426         * buffer.C: fix broken strerrors according to Lars
5427
5428 2003-03-29  John Levon  <levon@movementarian.org>
5429
5430         * converters.C: more Alert cleanups
5431
5432 2003-03-29  John Levon  <levon@movementarian.org>
5433
5434         * bufferview_funcs.C: remove pointless Alert
5435
5436         * buffer.C: fix confusing error message when
5437         a template is chmoded 000
5438
5439 2003-03-29  John Levon  <levon@movementarian.org>
5440
5441         * BufferView.C:
5442         * BufferView.h:
5443         * BufferView_pimpl.C: Alert fixes
5444
5445         * Makefile.am:
5446         * tabular.C:
5447         * tabular-old.C: remove unused table compat reading
5448
5449 2003-03-29  John Levon  <levon@movementarian.org>
5450
5451         * BufferView.C:
5452         * buffer.C:
5453         * lyx_cb.h:
5454         * lyx_cb.C: more Alert cleanups
5455
5456         * lyxfunc.C: don't allow chktex if not latex document
5457
5458 2003-03-29  John Levon  <levon@movementarian.org>
5459
5460         * lyx_cb.C:
5461         * BufferView.C:
5462         * buffer.C: warnings pushed down from support/,
5463         kill err_alert
5464
5465 2003-03-29  John Levon  <levon@movementarian.org>
5466
5467         * lyxfunc.C: safety check for C-r (revert)
5468
5469 2003-03-29  John Levon  <levon@movementarian.org>
5470
5471         * bufferlist.h:
5472         * bufferlist.C: several UI fixes using Alert::prompt.
5473         Fix the pointless looping quit code. Fix stupid revert
5474         behaviour (bug 938)
5475
5476         * lyxvc.h:
5477         * lyxvc.C:
5478         * lyx_cb.C: use Alert::prompt
5479
5480         * lyx_main.C: remove a silly question
5481
5482         * lyxfunc.C: remove a couple of silly questions,
5483         use Alert::prompt
5484
5485 2003-03-28  John Levon  <levon@movementarian.org>
5486
5487         * text2.C: fix bug 974 (End on empty par)
5488
5489 2003-03-28  John Levon  <levon@movementarian.org>
5490
5491         * BufferView_pimpl.C:
5492         * LyXAction.C:
5493         * lfuns.h: remove do-nothing math greek lfuns
5494
5495 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * lyxgluelength.h (isValidGlueLength): add default arg on
5498         parameter 2. Remove default arg from friend in class.
5499
5500         * lyxlength.h (isValidLength): add default arg on parameter 2.
5501         Remove default arg from friend in class.
5502
5503         * text2.C (LyXText): adjust, initialize refresh_row.
5504         (init): adjust
5505         (removeRow): adjust
5506         (insertRow): adjust
5507         (insertParagraph): adjst
5508         (redoParagraphs): adjust
5509         (fullRebreak): adjust
5510         (updateCounters): adjust
5511         (deleteEmptyParagraphMechanism): first attempt at fixing a
5512         crashing bug.
5513
5514         * text.C (top_y): adjust
5515         (setHeightOfRow): adjust
5516         (getRow): adjust
5517         (getRowNearY): adjust
5518
5519         * lyxtext.h: include RowList.h
5520         (~LyXText): not needed anymore, deleted.
5521         (firstRow): modify for RowList
5522         (lastRow): new function
5523         Delete firstrow and lastrow class variables, add a Rowlist
5524         rowlist_ class variable.
5525
5526         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5527         paragraph is empty.
5528
5529         * RowList.C (insert): fix case where it == begin().
5530
5531 2003-03-26  Angus Leeming  <leeming@lyx.org>
5532
5533         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5534         the thesaurus dialog.
5535
5536 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5539
5540         * RowList.[Ch]: new files
5541
5542         * ParagraphList.C (erase): handle the case where it == begin
5543         correctly.
5544
5545 2003-03-25  John Levon  <levon@movementarian.org>
5546
5547         * Makefile.am:
5548         * aspell_local.h:
5549         * aspell.C: add new aspell support
5550
5551         * lyxrc.h:
5552         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5553         have it accessible.
5554
5555 2003-03-25  Angus Leeming  <leeming@lyx.org>
5556
5557         * lfuns.h:
5558         * LyXAction.C (init): new LFUN_INSET_INSERT.
5559
5560         * BufferView_pimpl.C (dispatch): split out part of the
5561         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5562
5563         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5564         LFUN_INSET_APPLY.
5565
5566 2003-03-25  Angus Leeming  <leeming@lyx.org>
5567
5568         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5569
5570 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * text2.C:
5573         * text3.C: remove useless row->height(0)
5574
5575 2003-03-25  John Levon  <levon@movementarian.org>
5576
5577         * lyxtext.h:
5578         * text2.C:
5579         * text3.C: rename the refreshing stuff to better names
5580
5581 2003-03-24  John Levon  <levon@movementarian.org>
5582
5583         * BufferView_pimpl.h:
5584         * BufferView_pimpl.C: update layout choice on a mouse
5585         press/release
5586
5587 2003-03-23  John Levon  <levon@movementarian.org>
5588
5589         * Makefile.am: fix commandtags.h reference
5590
5591 2003-03-22  John Levon  <levon@movementarian.org>
5592
5593         * BufferView_pimpl.C:
5594         * lyxtext.h:
5595         * rowpainter.C:
5596         * rowpainter.h:
5597         * text.C:
5598         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5599
5600 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * lyxtext.h:
5603         * text.C: take the rtl methods out of line
5604
5605 2003-03-21 André Pönitz <poenitz@gmx.net>
5606
5607         * metricsinfo.[Ch]: new files containing structures to be passed around
5608         during the two-phase-drawing...
5609
5610 2003-03-21 André Pönitz <poenitz@gmx.net>
5611
5612         * lyxtextclass.C: read 'environment' tag.
5613
5614 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5615
5616         * text2.C (removeRow): fix bug 964
5617
5618 2003-03-20  John Levon  <levon@movementarian.org>
5619
5620         * rowpainter.C:
5621         * text.C:
5622         * text2.C: paint cleanups. Inset::update() dropped font
5623         parameter
5624
5625 2003-03-19  John Levon  <levon@movementarian.org>
5626
5627         * lyxfunc.C: only fitcursor/markDirty if available()
5628
5629 2003-03-19  John Levon  <levon@movementarian.org>
5630
5631         * commandtags.h: rename to ...
5632
5633         * lfuns.h: ... this, and renumber / cleanup
5634
5635 2003-03-19  John Levon  <levon@movementarian.org>
5636
5637         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5638         fit the cursor after an lfun
5639
5640         * BufferView.h:
5641         * BufferView.C:
5642         * BufferView_pimpl.h:
5643         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5644
5645         * LyXAction.C: layout-character should have ReadOnly
5646
5647         * ParagraphParameters.C:
5648         * buffer.C:
5649         * bufferview_funcs.C:
5650         * lyx_cb.C:
5651         * lyxfind.C:
5652         * lyxtext.h:
5653         * text.C:
5654         * text2.C:
5655         * text3.C:
5656         * undo_funcs.C: changes from above
5657
5658 2003-03-18  John Levon  <levon@movementarian.org>
5659
5660         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5661         remove it from update()
5662
5663         * lyxfunc.C: update layout choice after an lfun
5664
5665         * text3.C: remove extra updateLayoutChoice()s
5666
5667 2003-03-18  John Levon  <levon@movementarian.org>
5668
5669         * text.C: top_y change means full repaint, fix
5670         a drawing bug with cursor movement
5671
5672 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5673
5674         * lyxtext.h:
5675         * text.C:
5676         * text2.C: anchor row on setCursor
5677
5678 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5679
5680         * lyxtext.h: remove almost all mutable keywords
5681         * text.C:
5682         * text2.C:
5683         * text3.C: remove const keywords accordingly
5684
5685 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5688         anon namespace
5689         (TeXEnvironment): ditto
5690         (TeXOnePar): ditto
5691
5692 2003-03-17  John Levon  <levon@movementarian.org>
5693
5694         * text.C (rowBreakPoint): remove attempt to fix displayed
5695         math insets inside a manual label
5696
5697 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * lyxtext.h: remove BufferView* as first arg from almost all class
5700         functions.
5701         * other files: adjust.
5702
5703 2003-03-17  John Levon  <levon@movementarian.org>
5704
5705         * lyxtext.h:
5706         * undo_funcs.C:
5707         * text2.C: more paint cleanups
5708
5709         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5710
5711         * rowpainter.h:
5712         * rowpainter.C: remove "smart" background painting code
5713
5714 2003-03-16  John Levon  <levon@movementarian.org>
5715
5716         * lyxtext.h:
5717         * text.C:
5718         * text2.C:
5719         * text3.C: add helper functions for setting refresh_row/y
5720
5721 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5722
5723         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5724         newline inset which *can* get inserted in the pass_thru layouts.
5725         This is primarily for literate documents.
5726
5727 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5728
5729         * buffer.C: increment LYX_FORMAT to 223
5730
5731 2003-03-14 André Pönitz <poenitz@gmx.net>
5732
5733         * textclass.h: prepare for environment handling, ws changes
5734         * lyxlayout.C: read latexheader and latexfooter tags
5735
5736 2003-03-14  John Levon  <levon@movementarian.org>
5737
5738         * text2.C: rewrite ::status() a bit
5739
5740 2003-03-13  John Levon  <levon@movementarian.org>
5741
5742         * lyxtext.h: add some docs
5743
5744 2003-03-13  John Levon  <levon@movementarian.org>
5745
5746         * lyxtext.h:
5747         * text.C:
5748         * text2.C:
5749         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5750
5751 2003-03-13  John Levon  <levon@movementarian.org>
5752
5753         * text3.C: fix appendix redrawing
5754
5755 2003-03-13  John Levon  <levon@movementarian.org>
5756
5757         * text.C (setHeightOfRow):
5758         * rowpainter.h:
5759         * rowpainter.C: make appendix mark have the text
5760           "Appendix" so the user knows what it is
5761
5762         * LColor.h:
5763         * LColor.C: s/appendixline/appendix/ from above
5764
5765 2003-03-13  John Levon  <levon@movementarian.org>
5766
5767         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5768
5769         * text.C: fix a getChar(pos) bug properly
5770
5771 2003-03-13  Angus Leeming  <leeming@lyx.org>
5772
5773         * commandtags.h:
5774         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5775         Probably only temporary. Let's see how things pan out.
5776
5777         * BufferView.C (unlockInset):
5778         * BufferView_pimpl.C (fitCursor):
5779         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5780
5781         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5782         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5783
5784         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5785         new functions that convert ParagraphParameters to and from a string.
5786
5787         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5788         BufferView::Pimpl's dispatch.
5789         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5790
5791 2003-03-13 André Pönitz <poenitz@gmx.net>
5792
5793         * lyxfunc.C:
5794         * text3.C:
5795         * factory.C: make it aware of InsetEnv
5796
5797 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * text2.C (setCursor): never ask for one past last
5800         (setCursor): add some debugging messages.
5801
5802         * text.C (singleWidth): never ask for one past last
5803         (singleWidth): ditto
5804         (leftMargin): ditto
5805         (rightMargin): ditto
5806         (rowBreakPoint): ditto
5807         (setHeightOfRow): ditto
5808         (prepareToPrint): ditto
5809
5810         * rowpainter.C (paintBackground): never ask for one past last
5811         (paintText): never ask for one past last
5812
5813         * paragraph_pimpl.C (getChar): make the assert stricter, never
5814         allow the one past last pos to be taken
5815
5816         * paragraph.C (getChar): ws changes only
5817
5818         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5819         (numberOfSeparators): ditto
5820         (numberOfHfills): ditto
5821
5822 2003-03-12  John Levon  <levon@movementarian.org>
5823
5824         * author.h:
5825         * author.C:
5826         * bufferparams.h:
5827         * bufferparams.C:
5828         * paragraph_funcs.C: fix per-buffer authorlists
5829
5830 2003-03-12  John Levon  <levon@movementarian.org>
5831
5832         * text.C: fix newline in right address
5833
5834 2003-03-12  Angus Leeming  <leeming@lyx.org>
5835
5836         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5837         duplicate those in LyXFunc::dispatch.
5838
5839         * commandtags.h:
5840         * LyXAction.C:
5841         * ToolbarDefaults.C:
5842         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5843         Add LFUN_FONTFREE_UPDATE.
5844
5845         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5846         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5847
5848         * bufferview_func.[Ch]: several new functions to facilliate
5849         transfer of data to and from the character dialog.
5850
5851 2003-03-12  John Levon  <levon@movementarian.org>
5852
5853         * buffer.C:
5854         * paragraph.h:
5855         * paragraph.C:
5856         * paragraph_funcs.C:
5857         * paragraph_pimpl.C:
5858         * sgml.C:
5859         * tabular.C:
5860         * text.C:
5861         * text3.C: remove META_NEWLINE in favour of an inset
5862
5863         * rowpainter.h:
5864         * rowpainter.C: remove paintNewline (done by inset)
5865
5866 2003-03-12  John Levon  <levon@movementarian.org>
5867
5868         * paragraph_pimpl.C: complain about bad getChar()s
5869         for a while at least
5870
5871 2003-03-12  John Levon  <levon@movementarian.org>
5872
5873         * buffer.h:
5874         * buffer.C: move paragraph read into a separate function,
5875         a little renaming to reflect that.
5876
5877         * bufferparams.h:
5878         * bufferparams.C: remove the author_ids map, not necessary now
5879
5880         * factory.h:
5881         * factory.C: moved Buffer::readInset to here
5882
5883         * paragraph_funcs.h:
5884         * paragraph_funcs.C: readParagraph free function moved from
5885         buffer.C
5886
5887         * tabular.C: name change
5888
5889 2003-03-12  John Levon  <levon@movementarian.org>
5890
5891         * buffer.C:
5892         * ParagraphParameters.C: move par params input to
5893         a read() method
5894
5895         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5896         behave like a normal read from the stream wrt reading
5897         a line vs. a \\token
5898
5899 2003-03-12  John Levon  <levon@movementarian.org>
5900
5901         * paragraph.C:
5902         * ParagraphParameters.h:
5903         * ParagraphParameters.C: move output code to a
5904         ::write() method
5905
5906 2003-03-12  John Levon  <levon@movementarian.org>
5907
5908         * BufferView.C (insertLyXFile):
5909         * buffer.h:
5910         * buffer.C:
5911         * tabular.C: use a parlist iterator for creating the
5912           document.
5913
5914 2003-03-12  John Levon  <levon@movementarian.org>
5915
5916         * buffer.C: make current_change static local not
5917           static file-scope
5918
5919 2003-03-12  John Levon  <levon@movementarian.org>
5920
5921         * buffer.C: fix insertStringAsLines for change tracking
5922
5923 2003-03-12  John Levon  <levon@movementarian.org>
5924
5925         * BufferView.C:
5926         * tabular.C:
5927         * buffer.h:
5928         * buffer.C:
5929         * bufferparams.h:
5930         * bufferparams.C: move author list into params. Rename some
5931           functions. Move the header reading into a separate token
5932           loop. Move the header token reading into BufferParams.
5933
5934 2003-03-12  John Levon  <levon@movementarian.org>
5935
5936         * changes.C: put debug inside lyxerr.debugging() checks
5937
5938 2003-03-11 André Pönitz <poenitz@gmx.net>
5939
5940         * factory.C: make it aware of InsetHFill
5941
5942 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5943
5944         * buffer.C (latexParagraphs): move function from here...
5945         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5946         args.
5947
5948 2003-03-10  Angus Leeming  <leeming@lyx.org>
5949
5950         * LyXAction.C (init): fix bug in poplating array with multiple entries
5951         with the same LFUN (spotted by JMarc).
5952
5953 2003-03-10  John Levon  <levon@movementarian.org>
5954
5955         * text.C:
5956         * text2.C: move getColumnNearX() near its
5957         only call site
5958
5959 2003-03-10  John Levon  <levon@movementarian.org>
5960
5961         * text.C: fix break before a minipage
5962
5963 2003-03-10  John Levon  <levon@movementarian.org>
5964
5965         * text.C: fix the last commit
5966
5967 2003-03-09  John Levon  <levon@movementarian.org>
5968
5969         * lyxtext.h:
5970         * text.C:
5971         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5972         bug 365 (don't break before insets unless needed). Don't
5973         return a value > last under any circumstances.
5974
5975 2003-03-09  Angus Leeming  <leeming@lyx.org>
5976
5977         * BufferView_pimpl.C (trackChanges, dispatch): call
5978         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5979
5980 2003-03-09  Angus Leeming  <leeming@lyx.org>
5981
5982         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5983         than Dialogs::showAboutlyx().
5984
5985 2003-03-09  Angus Leeming  <leeming@lyx.org>
5986
5987         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5988         than Dialogs::showTabularCreate().
5989
5990 2003-03-09  John Levon  <levon@movementarian.org>
5991
5992         * lyxtext.h:
5993         * text.C:
5994         * text2.C: 3rd arg to nextBreakPoint was always the same.
5995           Use references.
5996
5997 2003-03-08  John Levon  <levon@movementarian.org>
5998
5999         * lyxrow.C:
6000         * paragraph.C:
6001         * paragraph.h:
6002         * rowpainter.C:
6003         * text.C:
6004         * text2.C: Remove the "main" bit from the "main body"
6005           notion.
6006
6007 2003-03-08  John Levon  <levon@movementarian.org>
6008
6009         * text.C (leftMargin): The left margin of an empty
6010         manual label paragraph should not include the label width
6011         string length.
6012
6013         * text.C (prepareToPrint): don't attempt to measure hfills
6014         for empty manual label paragraphs - the answer should be 0
6015
6016 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * CutAndPaste.C: remove commented code and reindent.
6019
6020 2003-03-08  John Levon  <levon@movementarian.org>
6021
6022         * lyxfunc.h:
6023         * lyxfunc.C: move reloadBuffer()
6024
6025         * BufferView.h:
6026         * BufferView.C: to here
6027
6028         * lyxvc.C: add comment
6029
6030         * vc-backend.h:
6031         * vc-backend.C: call bv->reload() to avoid
6032           getStatus() check on MENURELOAD
6033
6034 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6035
6036         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6037         to an old format .dep file.
6038
6039 2003-03-07  Angus Leeming  <leeming@lyx.org>
6040
6041         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6042         when the LFUN_MOUSE_RELEASE should have been handled by
6043         inset->localDispatch.
6044
6045 2003-03-07  Angus Leeming  <leeming@lyx.org>
6046
6047         * BufferView_pimpl.C (dispatch):
6048         * LyXAction.C (init):
6049         * ToolbarDefaults.C (init):
6050         * commandtags.h:
6051         * lyxfunc.C (getStatus):
6052         remove LFUN_INSET_GRAPHICS.
6053
6054         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6055
6056 2003-03-07  Angus Leeming  <leeming@lyx.org>
6057
6058         * commandtags.h:
6059         * LyXAction.C (init):
6060         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6061
6062         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6063
6064         * commandtags.h:
6065         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6066
6067         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6068         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6069
6070 2003-03-07  Angus Leeming  <leeming@lyx.org>
6071
6072         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6073         remove "ert".
6074
6075 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * ParagraphList.C (front): new function
6078         (back): implement
6079
6080 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6083         and top_row_offset_. removed var first_y.
6084         * text.C (top_y):
6085         * text2.C (LyXText, removeRow):
6086         * text3.C:
6087         * BufferView_pimpl.C:
6088         use these methods instead of using first_y
6089
6090 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * text2.C (pasteSelection): adjust for checkPastePossible
6093
6094         * CutAndPaste.C: remove Paragraph * buf and replace with
6095         ParagraphList paragraphs.
6096         (DeleteBuffer): delete
6097         (cutSelection): change the tc type to textclass_type
6098         (copySelection): change the tc type to textclass_type
6099         (copySelection): adjust for ParagraphList
6100         (pasteSelection): change the tc type to textclass_type
6101         (pasteSelection): adjust for Paragraphlist
6102         (nrOfParagraphs): simplify for ParagraphList
6103         (checkPastePossible): simplify for ParagraphList
6104         (checkPastePossible): remove unused arg
6105
6106         * ParagraphList.C (insert): handle the case where there are no
6107         paragraphs yet.
6108
6109         * CutAndPaste.h: make CutAndPaste a namespace.
6110
6111         * text3.C (dispatch): adjust
6112
6113         * text.C (breakParagraph): add a ParagraphList as arg
6114
6115         * paragraph_funcs.C (breakParagraph): change to take a
6116         BufferParams and a ParagraphList as args.
6117         (breakParagraphConservative): ditto
6118         (mergeParagraph): ditto
6119         (TeXDeeper): add a ParagraphList arg
6120         (TeXEnvironment): ditto
6121         (TeXOnePar): ditto
6122
6123         * buffer.C (readLyXformat2): adjust
6124         (insertStringAsLines): adjust
6125         (latexParagraphs): adjust
6126
6127         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6128         (cutSelection): adjust
6129         (pasteSelection): adjust
6130
6131         * BufferView_pimpl.C (insertInset): adjust
6132
6133 2003-03-05  Angus Leeming  <leeming@lyx.org>
6134
6135         * commandtags.h:
6136         * LyXAction.C (init):
6137         * BufferView_pimpl.C (dispatch):
6138         * lyxfunc.C (getStatus):
6139         remove LFUN_CHILD_INSERT.
6140
6141         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6142
6143 2003-03-05  Angus Leeming  <leeming@lyx.org>
6144
6145         * commandtags.h:
6146         * LyXAction.C (init):
6147         * src/factory.C (createInset):
6148         * lyxfunc.C (getStatus):
6149         * text3.C (dispatch):
6150         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6151
6152         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6153
6154 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * ParagraphList.C (insert): handle insert right before end()
6157         (erase): fix cases where it can be first or last paragraph.
6158
6159 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6162         Paragraph::next and Paragraph::previous
6163         (TeXOnePar): ditto
6164
6165         * text.C (breakParagraph): adjust
6166
6167         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6168         BufferParams& as arg.
6169         (breakParagraph): use ParagraphList::insert
6170         (breakParagraphConservative): take a Buffer* instead of a
6171         BufferParams& as arg.
6172         (breakParagraphConservative): use ParagraphList::insert.
6173
6174         * buffer.C (insertStringAsLines): un-const it
6175         (insertStringAsLines): adjust
6176
6177         * ParagraphList.C (insert): new function
6178
6179         * CutAndPaste.C (pasteSelection): adjust
6180
6181         * text.C (backspace): adjust
6182
6183         * tabular.C (SetMultiColumn): adjust
6184
6185         * CutAndPaste.C (cutSelection): adjust
6186         (pasteSelection): adjust
6187
6188         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6189         Buffer const * as arg
6190
6191         * ParagraphList.C (erase): new function
6192         * paragraph_funcs.C (mergeParagraph): use it
6193         (mergeParagraph): make it take a Buffer* instead of a
6194         BufferParams* as arg
6195
6196         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6197         as arg
6198         (breakParagraphConservative): ditto
6199
6200         * paragraph.h: remove the breakParagraph friend
6201
6202         * paragraph.C (eraseIntern): new function
6203         (setChange): new function
6204
6205         * paragraph_funcs.C (mergeParagraph): make it take a
6206         ParagraphList::iterator instead of a Paragraph *, adjust
6207         accordingly.
6208
6209         * paragraph.h: move an #endif so that the change tracking stuff
6210         also works in the NO_NEXT case.
6211
6212 2003-03-04  Angus Leeming  <leeming@lyx.org>
6213
6214         * commandtags.h:
6215         * LyXAction.C: new LFUN_INSET_MODIFY.
6216
6217         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6218         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6219
6220 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * several files: ws changes only
6223
6224         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6225         (TeXEnvironment): ditto
6226         (TeXDeeper): ditto
6227
6228         * buffer.C (makeLaTeXFile): adjust
6229         (latexParagraphs): make it take ParagraphList::iterator as args
6230
6231 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * buffer.C (latexParagraphs): adjust
6234
6235         * paragraph.C (TeXOnePar): move function...
6236         (optArgInset): move function...
6237         (TeXEnvironment): move function...
6238         * paragraph_pimpl.C (TeXDeeper): move function...
6239         * paragraph_funcs.C: ...here
6240
6241         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6242
6243 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * buffer.C (readInset): remove compability code for old Figure and
6246         InsetInfo insets
6247
6248 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * buffer.C: ws changes
6251         (readInset):
6252
6253         * BufferView_pimpl.C: ditto
6254         * author.C: ditto
6255         * buffer.h: ditto
6256         * bufferlist.h: ditto
6257         * changes.h: ditto
6258         * lyxfunc.C: ditto
6259
6260 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6261
6262         * converter.[Ch]: split into itself +
6263         * graph.[Ch]
6264         * format.[Ch]
6265         * Makefile.am: += graph.[Ch] + format.[Ch]
6266         * MenuBackend.C
6267         * buffer.C
6268         * exporter.C
6269         * importer.C
6270         * lyx_main.C
6271         * lyxfunc.C
6272         * lyxrc.C: added #include "format.h"
6273
6274 2003-02-27  Angus Leeming  <leeming@lyx.org>
6275
6276         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6277           a label.
6278
6279         * factory.C (createInset): add "label" to the factory.
6280
6281         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6282           string and do no more.
6283
6284 2003-02-27  Angus Leeming  <leeming@lyx.org>
6285
6286         * commandtags.h:
6287         * LyXAction.C (init):
6288         * factory.C (createInset):
6289         * BufferView_pimpl.C (dispatch):
6290           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6291
6292         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6293
6294         * lyxfunc.C (dispatch):
6295         * text3.C (dispatch): pass name to params2string.
6296
6297 2003-02-26  Angus Leeming  <leeming@lyx.org>
6298
6299         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6300           blocks together.
6301           Rearrange the ~includes. Strip out the unnecessary ones.
6302
6303         * factory.C (createInset): reformat.
6304           create new insets for the various LFUN_XYZ_APPLY lfuns.
6305
6306 2003-02-26  John Levon  <levon@movementarian.org>
6307
6308         * lyxrow.h:
6309         * lyxrow.C: add isParStart,isParEnd helpers
6310
6311         * paragraph.h: make isInserted/DeletedText take refs
6312
6313         * paragraph_funcs.h:
6314         * paragraph_funcs.C: remove #if 0'd code
6315
6316         * lyxtext.h:
6317         * text3.C:
6318         * text2.C:
6319         * text.C: use lyxrow helpers above.
6320           Move draw and paint routines to RowPainter.
6321           Make several methods use refs not pointers.
6322           Make backgroundColor() const.
6323           Add markChangeInDraw(), isInInset().
6324           Merge changeRegionCase into changeCase.
6325           Make workWidth() shouldn't-happen code into an Assert.
6326
6327         * rowpainter.h:
6328         * rowpainter.C: new class for painting a row.
6329
6330         * vspace.h:
6331         * vspace.C: make inPixels take a ref
6332
6333 2003-02-26  Angus Leeming  <leeming@lyx.org>
6334
6335         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6336         LFUN_REF_APPLY.
6337
6338 2003-02-25  John Levon  <levon@movementarian.org>
6339
6340         * ispell.C: give the forked command a more accurate name
6341
6342 2003-02-22  John Levon  <levon@movementarian.org>
6343
6344         * toc.h:
6345         * toc.C: make TocItem store an id not a Paragraph *
6346           (bug #913)
6347
6348 2003-02-21  Angus Leeming  <leeming@lyx.org>
6349
6350         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6351           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6352           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6353           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6354           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6355           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6356
6357         * BufferView_pimpl.C (dispatch):
6358         * LyXAction.C (init):
6359         * factory.C (createInset):
6360         * lyxfunc.C (getStatus, dispatch):
6361         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6362
6363 2003-02-21  Angus Leeming  <leeming@lyx.org>
6364
6365         * BufferView_pimpl.C (MenuInsertLyXFile):
6366         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6367         * lyxfunc.C (menuNew, open, doImport):
6368           no longer pass a LyXView & to fileDlg.
6369
6370 2003-02-21  Angus Leeming  <leeming@lyx.org>
6371
6372         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6373         * LyXAction.C: change, BIBKEY to BIBITEM.
6374         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6375         Change InsetBibKey to InsetBibitem.
6376         Change BIBKEY_CODE to BIBITEM_CODE.
6377         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6378         * factory.C: replace insetbib.h with insetbibitem.h.
6379         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6380         * paragraph.C: replace insetbib.h with insetbibitem.h.
6381         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6382         Change bibkey() to bibitem().
6383         * text.C: remove insetbib.h.
6384         * text2.C: replace insetbib.h with insetbibitem.h.
6385         change bibkey() to bibitem().
6386         * text3.C: remove insetbib.h.
6387         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6388
6389 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6390
6391         * lyxrc.C (output): enclose user email in quotes (in case there are
6392         several words)
6393
6394 2003-02-18  John Levon  <levon@movementarian.org>
6395
6396         * buffer.h: add std::
6397
6398 2003-02-17  John Levon  <levon@movementarian.org>
6399
6400         * SpellBase.h:
6401         * ispell.h:
6402         * ispell.C:
6403         * pspell.h:
6404         * pspell.C: reworking. Especially in ispell, a large
6405           number of clean ups and bug fixes.
6406
6407         * lyxfunc.C: fix revert to behave sensibly
6408
6409 2003-02-17 André Pönitz <poenitz@gmx.net>
6410
6411         * LyXAction.C:
6412         * commandtags.h: new LFUN_INSERT_BIBKEY
6413
6414         * layout.h:
6415         * lyxlayout.C:
6416         * buffer.C:
6417         * factory.C:
6418         * text.C:
6419         * text2.C:
6420         * text3.C:
6421         * paragraph.[Ch]:
6422         * paragraph_func.C: remove special bibkey handling
6423
6424 2003-02-17  John Levon  <levon@movementarian.org>
6425
6426         * text.C (Delete): fix case where delete at the end of
6427           the very first paragraph would not merge the pars
6428
6429 2003-02-17  John Levon  <levon@movementarian.org>
6430
6431         * lyxrow.C: fix lastPrintablePos()
6432
6433 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6434
6435         * bufferparams.C (writeLaTeX): add a std:here
6436
6437         * buffer.C: and remove a using directive there
6438
6439 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6440
6441         * buffer.C (makeLaTeXFile): move the code that generates the
6442           preamble...
6443
6444         * bufferparams.C (writeLaTeX): ... in this new method
6445
6446         * LaTeXFeatures.C (getEncodingSet): make const
6447           (getLanguages): make const
6448
6449         * MenuBackend.C (binding): returns the binding associated to this
6450           action
6451           (add): sets the status of each item by calling getStatus. Adds
6452           some intelligence.
6453           (read): add support for OptSubMenu
6454           (expand): remove extra separator at the end of expanded menu
6455
6456 2003-02-15  John Levon  <levon@movementarian.org>
6457
6458         * BufferView.C:
6459         * BufferView_pimpl.C:
6460         * bufferlist.h:
6461         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6462           inset code that had no actual effect. Remove unneeded status
6463           code.
6464
6465 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6466
6467         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6468           in preamble
6469
6470 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6471
6472         * text.C (drawLengthMarker): also draw an arrow marker for
6473           symbolic lengths (medskip...)
6474
6475 2003-02-14  John Levon  <levon@movementarian.org>
6476
6477         * tabular.h:
6478         * tabular.C: better method names
6479
6480 2003-02-14  John Levon  <levon@movementarian.org>
6481
6482         * BufferView_pimpl.C:
6483         * bufferlist.C:
6484         * buffer.C:
6485         * converter.C:
6486         * lyx_cb.C:
6487         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6488           it's a more accurate name. Remove some pointless uses.
6489
6490 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6491
6492         * text2.C (LyXText): change order of initilizers to shut off
6493           warnings
6494
6495 2003-02-14  John Levon  <levon@movementarian.org>
6496
6497         * buffer.C: use ParIterator for getParFromID()
6498
6499         * paragraph.h:
6500         * paragraph.C:
6501         * paragraph_pimpl.h:
6502         * paragraph_pimpl.C: remove unused getParFromID()
6503
6504 2003-02-14  John Levon  <levon@movementarian.org>
6505
6506         * buffer.C: remove some very old #if 0'd parse code
6507
6508 2003-02-13  John Levon  <levon@movementarian.org>
6509
6510         * text.h:
6511         * text.C:
6512         * text2.C: move hfillExpansion(), numberOfSeparators(),
6513           rowLast(), rowLastPrintable(), numberofHfills(),
6514           numberOfLabelHfills() ...
6515
6516         * lyxrow.h:
6517         * lyxrow.C: ... to member functions here.
6518
6519         * paragraph.h:
6520         * paragraph.C:
6521         * lyxtext.h:
6522         * text.C: remove LyXText::beginningOfMainBody(), and call
6523           p->beginningOfMainBody() directly. Move the check for
6524           LABEL_MANUAL into the latter.
6525
6526         * text.h:
6527         * text.C:
6528         * text2.C:
6529         * vspace.C:
6530         * BufferView.h:
6531         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6532
6533         * text.h:
6534         * text.C:
6535         * text2.C:
6536         * text3.C:
6537         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6538           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6539
6540 2003-02-13  John Levon  <levon@movementarian.org>
6541
6542         * CutAndPaste.C: remove debug
6543
6544 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6545
6546         * paragraph.C (asString): remove two unused variables
6547
6548         * lyxtextclass.C (readTitleType):
6549           (Read):
6550           (LyXTextClass): handle new members titletype_ and titlename_
6551
6552         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6553
6554 2003-02-09  John Levon  <levon@movementarian.org>
6555
6556         * buffer.h:
6557         * buffer.C: replace hand-coded list with a map for the dep clean
6558
6559 2003-02-08  John Levon  <levon@movementarian.org>
6560
6561         * LaTeX.C: consolidate code into showRunMessage() helper
6562
6563 2003-02-08  John Levon  <levon@movementarian.org>
6564
6565         * lyxfind.C:
6566         * lyxtext.h:
6567         * text2.C:
6568         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6569           and pass the size in explicitly
6570
6571         * BufferView_pimpl.h:
6572         * BufferView_pimpl.C:
6573         * BufferView.h:
6574         * BufferView.C: add getCurrentChange()
6575
6576         * BufferView_pimpl.h:
6577         * BufferView_pimpl.C: handle change lfuns
6578
6579         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6580           for changes. Mark pasted paragraphs as new.
6581
6582         * support/lyxtime.h:
6583         * support/lyxtime.C:
6584         * DepTable.C: abstract time_t as lyx::time_type
6585
6586         * LColor.h:
6587         * LColor.C: add colours for new text, deleted text, changebars
6588
6589         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6590           package use "usenames" option.
6591
6592         * commandtags.h:
6593         * lyxfunc.C:
6594         * LyXAction.C: add change lfuns
6595
6596         * Makefile.am:
6597         * author.h:
6598         * author.C: author handling
6599
6600         * buffer.h:
6601         * buffer.C: add a per-buffer author list, with first entry as
6602           current author. Handle new .lyx tokens for change tracking. Output
6603           author list to .lyx file. Output dvipost stuff to .tex preamble.
6604           Bump lyx format to 222.
6605
6606         * bufferlist.h:
6607         * bufferlist.C: add setCurrentAuthor() to reset current author details
6608           in all buffers.
6609
6610         * bufferparams.h:
6611         * bufferparams.C: add param for tracking
6612
6613         * bufferview_funcs.C: output change info in minibuffer
6614
6615         * Makefile.am:
6616         * changes.h:
6617         * changes.C: add change-tracking structure
6618
6619         * debug.h:
6620         * debug.C: add CHANGES debug flag
6621
6622         * lyxfind.h:
6623         * lyxfind.C: add code for finding the next change piece
6624
6625         * lyxrc.h:
6626         * lyxrc.C: add user_name and user_email
6627
6628         * lyxrow.h:
6629         * lyxrow.C: add a metric for the top of the text line
6630
6631         * lyxtext.h:
6632         * text.C: implement accept/rejectChange()
6633
6634         * lyxtext.h:
6635         * text.C: paint changebars. Paint new/deleted text in the chosen
6636         colours. Strike through deleted text.
6637
6638         * paragraph.h:
6639         * paragraph.C:
6640         * paragraph_pimpl.h:
6641         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6642           in the current change to the insert functions. Rework erase to
6643           mark text as deleted, adding an eraseIntern() and a range-based
6644           erase(). Implement per-paragraph change lookup and
6645           accept/reject.
6646
6647         * paragraph_funcs.C: Fixup paste for change tracking.
6648
6649         * tabular.C: mark added row/columns as new.
6650
6651         * text.C: fix rowLast() to never return -1. Don't allow
6652           spellchecking of deleted text. Track transpose changes. Don't
6653           allow paragraph break or merge where appropriate.
6654
6655         * text2.C: leave cursor at end of selection after a cut.
6656
6657 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6658
6659         * text.C (getLengthMarkerHeight):
6660         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6661         visible on screen too.
6662
6663 2003-02-07  John Levon  <levon@movementarian.org>
6664
6665         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6666
6667 2003-02-05  Angus Leeming  <leeming@lyx.org>
6668
6669         * lyxserver.C (read_ready): revert my patch of 11 September last year
6670         as it sends PC cpu through the roof. Presumably this means that
6671         the lyxserver will no longer run on an Alpha...
6672
6673 2003-01-30  Angus Leeming  <leeming@lyx.org>
6674
6675         * factory.C (createInset): create an InsetCommandParam of type "index"
6676         and use it to 'do the right thing'.
6677
6678         * text2.C (getStringToIndex): ensure that cursor position is always
6679         reset to the reset_cursor position.
6680
6681 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6682
6683         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6684         disabled.
6685
6686 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6687
6688         * bufferview.C:
6689         * lyxcb.C:
6690         * lyxfunc.C: Output messages with identical spelling, punctuation,
6691         and spaces
6692
6693 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6694
6695         * MenuBackend.C (expandFormats): List only viewable export formats
6696         in "View" menu
6697
6698         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6699         message
6700
6701         * lyxfunc.C (getStatus): Make sure that formats other than
6702         "fax" can also be disabled
6703
6704 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * text3.C (dispatch): put the lfuns that insert insets in 3
6707         groups, and call doInsertInset with appropriate arguments.
6708         (doInsertInset): new function, that creates an inset and inserts
6709         it according to some boolean parameters.
6710
6711 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * buffer.C (readFile): remember to pass on 'par' when calling
6714         readFile recursively.
6715
6716 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6717
6718         * MenuBackend.C (expandFormats): add "..." to import formats.
6719
6720 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6721
6722         * paragraph.C (asString): Remove XForms RTL hacks.
6723
6724 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6725         * buffer.C: fix typo
6726
6727 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * Makefile.am (LIBS): delete var
6730         (lyx_LDADD): add @LIBS@ here instead.
6731
6732 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6733
6734         * Clarify the meaning of "wheel mouse jump"
6735
6736 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6737
6738         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6739         tabular in a float
6740
6741 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6742
6743         * importer.C (Loaders): do not preallocate 3 elements in the
6744         vector, since one ends up with 6 elements otherwise
6745
6746 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6747
6748         * DepTable.C (write): write the file name as last element of the
6749         .dep file (because it may contain spaces)
6750         (read): read info in the right order
6751
6752 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6753
6754         * paragraph_pimpl.C (simpleTeXBlanks):
6755         (simpleTeXSpecialChars):
6756         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6757
6758         * tabular.C (latex): add some missing case statements. Reindent.
6759
6760         * MenuBackend.C (expandToc): remove unused variable.
6761
6762 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6763
6764         * LColor.C:
6765         * LaTeX.C:
6766         * LyXAction.C:
6767         * MenuBackend.C:
6768         * buffer.C:
6769         * exporter.C:
6770         * lyxfunc.C:
6771         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6772         and the like.
6773
6774 2003-01-05  John Levon  <levon@movementarian.org>
6775
6776         * BufferView.h:
6777         * BufferView.C: add getEncoding()
6778
6779         * kbsequence.h:
6780         * kbsequence.C: do not store last keypress
6781
6782         * lyxfunc.h:
6783         * lyxfunc.C: store last keypress here instead. Pass encoding
6784           to getISOEncoded()
6785
6786 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6787
6788         * lyx_main.C (init): remove annoying error message when following
6789         symbolic links (bug #780)
6790
6791 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6792
6793         * text.C (insertChar):
6794         * lyxrc.C (getDescription): remove extra spaces
6795
6796 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6797
6798         * lyxrc.C (getDescription): remove extra spaces
6799
6800 2002-12-20  John Levon  <levon@movementarian.org>
6801
6802         * text3.C: hack fix for page up/down across tall rows
6803
6804 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6805
6806         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6807         not been invoked
6808
6809 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6810
6811         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6812         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6813         thesaurus is not compiled in
6814
6815 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6816
6817         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6818
6819 2002-12-16  Angus Leeming  <leeming@lyx.org>
6820
6821         * lyxrc.[Ch]:
6822         * lyx_main.C (init): remove override_x_deadkeys stuff.
6823
6824 2002-12-12  John Levon  <levon@movementarian.org>
6825
6826         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6827           insert. Only remove shift modifier under strict
6828           circumstances.
6829
6830 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * MenuBackend.C (expandToc): fix crash.
6833
6834 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * MenuBackend.C (expandToc): gettext on float names.
6837
6838 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6839
6840         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6841         implement bool empty() [bug 490]
6842
6843 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6846
6847 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * several files: ws changes
6850
6851 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * text2.C (setCounter): clean up a bit, use boost.format.
6854         (updateCounters): initialize par upon declaration.
6855
6856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6857         if the layout exists. We do not just store the layout any more.
6858         (SwitchLayoutsBetweenClasses): use boost.format
6859
6860 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6861
6862         * converter.C (convert): if from and to files are the same, use a
6863         temporary files as intermediary
6864
6865 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6866
6867         * commandtags.h:
6868         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6869
6870 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6871
6872         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6873
6874 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * tabular.C (asciiPrintCell): use string(size, char) instead of
6877         explicit loop.
6878
6879         * sgml.C (openTag): fix order of arguments to string constructor
6880         (closeTag): ditto
6881
6882         * lyxfunc.C (dispatch): use boost.format
6883
6884         * lots of files: change "c" -> 'c'
6885
6886 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6887
6888         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6889
6890 2002-11-25  Angus Leeming  <leeming@lyx.org>
6891
6892         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6893
6894         * lyx_main.C (init): compile fix.
6895
6896 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * lyx_cb.C (start): boost.formatify
6899         do not include <iostream>
6900
6901         * lengthcommon.C: ws only
6902
6903         * boost-inst.C,BoostFormat.h: add more explict instantations
6904
6905 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * lots of files: handle USE_BOOST_FORMAT
6908
6909 2002-11-21  John Levon  <levon@movementarian.org>
6910
6911         * pspell.C: fix compile
6912
6913 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6914
6915         * lyxfunc.C (dispatch): use boost::format
6916         (open): ditto
6917         (doImport): ditto
6918
6919         * lyxfont.C (stateText): use boost::format
6920
6921         * lyx_main.C (LyX): use boost::format
6922         (init): ditto
6923         (queryUserLyXDir): ditto
6924         (readRcFile): ditto
6925         (parse_dbg): ditto
6926         (typedef boost::function): use the recommened syntax.
6927
6928         * importer.C (Import): use boost::format
6929
6930         * debug.C (showLevel): use boost::format
6931
6932         * converter.C (view): use boost::format
6933         (convert): ditto
6934         (move): ditto
6935         (scanLog): ditto
6936
6937         * bufferview_funcs.C (currentState): use boost::format
6938
6939         * bufferlist.C (emergencyWrite): use boost::format
6940
6941         * buffer.C (readLyXformat2): use boost::format
6942         (parseSingleLyXformat2Token): ditto
6943
6944         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6945
6946         * LaTeX.C (run): use boost::format
6947
6948         * Chktex.C (scanLogFile): use boost::format
6949
6950         * BufferView_pimpl.C (savePosition): use boost::format
6951         (restorePosition): ditto
6952         (MenuInsertLyXFile): ditto
6953
6954         * BoostFormat.h: help file for explicit instation.
6955
6956 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6957
6958         * tabular.C (latex): Support for block alignment in fixed width
6959         columns.
6960
6961 2002-11-17  John Levon  <levon@movementarian.org>
6962
6963         * BufferView_pimpl.C:
6964         * lyx_cb.C:
6965         * lyxfunc.C: split filedialog into open/save
6966
6967 2002-11-08  Juergen Vigna  <jug@sad.it>
6968
6969         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6970         by my last patch (hopefully).
6971
6972 2002-11-08  John Levon  <levon@movementarian.org>
6973
6974         * iterators.h:
6975         * iterators.C:
6976         * buffer.h:
6977         * buffer.C:
6978         * paragraph.h:
6979         * paragraph.C:
6980         * toc.h:
6981         * toc.C: ParConstIterator, and use it (from Lars)
6982
6983 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6984
6985         * lyxtextclass.[Ch]: revise and add doxygen comments
6986
6987 2002-11-07  John Levon  <levon@movementarian.org>
6988
6989         * text.C: fix progress value for spellchecker
6990
6991         * toc.C: fix navigate menu for insetwrap inside minipage
6992
6993         * paragraph_funcs.C: added FIXME for suspect code
6994
6995 2002-11-07  John Levon  <levon@movementarian.org>
6996
6997         * BufferView_pimpl.C: fix redrawing of insets
6998           on buffer switch
6999
7000 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7001
7002         * text2.C (updateCounters): fix bug 668
7003
7004 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7005
7006         * text3.C (dispatch): Do not make the buffer dirty when moving the
7007         cursor.
7008
7009 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * vc-backend.C: STRCONV
7012         (scanMaster): ditto
7013
7014         * text2.C (setCounter): STRCONV
7015
7016         * paragraph.C (asString): STRCONV
7017
7018         * lyxlength.C (asString): STRCONV
7019         (asLatexString): ditto
7020
7021         * lyxgluelength.C (asString): STRCONV
7022         (asLatexString): ditto
7023
7024         * lyxfunc.C (dispatch): STRCONV
7025         (open): ditto
7026
7027         * lyxfont.C (stateText): STRCONV
7028
7029         * importer.C (Import): STRCONV
7030
7031         * counters.C (labelItem): STRCONV
7032         (numberLabel): ditto
7033         (numberLabel): remove unused ostringstream o
7034
7035         * chset.C: STRCONV
7036         (loadFile): ditto
7037
7038         * bufferview_funcs.C (currentState): STRCONV
7039
7040         * buffer.C (readFile): STRCONV
7041         (asciiParagraph): ditto
7042         (makeLaTeXFile): ditto
7043
7044         * Spacing.C (writeEnvirBegin): STRCONV
7045
7046         * LaTeXFeatures.C (getLanguages): STRCONV
7047         (getPackages): ditto
7048         (getMacros): ditto
7049         (getBabelOptions): ditto
7050         (getTClassPreamble): ditto
7051         (getLyXSGMLEntities): ditto
7052         (getIncludedFiles): ditto
7053
7054         * LaTeX.C: STRCONV
7055         (run): ditto
7056         (scanAuxFile): ditto
7057         (deplog): ditto
7058
7059         * LString.h: add the STRCONV macros
7060
7061         * BufferView_pimpl.C (savePosition): STRCONV
7062         (restorePosition): ditto
7063         (MenuInsertLyXFile): ditto
7064
7065         * vc-backend.C (scanMaster): change from submatch[...] to
7066         submatch.str(...)
7067
7068         * funcrequest.C: include config.h
7069
7070         * factory.C: include config.h
7071
7072         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7073
7074         * box.C: include config.h
7075
7076         * LaTeX.C (scanAuxFile): change from submatch[...] to
7077         submatch.str(...)
7078         (deplog): ditto
7079
7080 2002-10-25  Angus Leeming  <leeming@lyx.org>
7081
7082         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7083
7084         * ispell.[Ch] (setError): new method.
7085         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7086         Use setError() insetead of goto END.
7087
7088         * lyx_cb.C (AutoSave): move out child process into new class
7089         AutoSaveBuffer.
7090
7091 2002-10-30  John Levon  <levon@movementarian.org>
7092
7093         * text3.C: make start appendix undoable
7094
7095 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7096
7097         * lyxlength.C (inPixels): Fix returned value.
7098
7099         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7100         environment.
7101
7102 2002-10-24  Angus Leeming  <leeming@lyx.org>
7103
7104         * lyxgluelength.h: no need to forward declare BufferParams
7105         or BufferView, so don't.
7106
7107 2002-10-21  John Levon  <levon@movementarian.org>
7108
7109         * BufferView.C: menuUndo ->undo, redo
7110
7111         * BufferView.h: document, remove dead, make some methods private
7112
7113         * paragraph_funcs.h:
7114         * paragraph_funcs.C:
7115         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7116
7117         * buffer.h:
7118         * buffer.C:
7119         * sgml.h:
7120         * sgml.C: move sgml open/close tag into sgml.C
7121
7122         * bufferview_funcs.h: unused prototype
7123
7124         * lyxfunc.h:
7125         * lyxfunc.C: remove unused
7126
7127         * lyxtext.h:
7128         * text.C: remove unused
7129
7130 2002-10-21  John Levon  <levon@movementarian.org>
7131
7132         * BufferView.h:
7133         * BufferView.C:
7134         * BufferView_pimpl.h:
7135         * BufferView_pimpl.C: fix mouse wheel handling based on
7136           patch from Darren Freeman
7137
7138 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7139
7140         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7141
7142 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7143
7144         * lyxlength.C (inPixels): Fix hanfling of negative length.
7145         Fix LyXLength::MU case.
7146
7147 2002-10-16  John Levon  <levon@movementarian.org>
7148
7149         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7150
7151 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7152
7153         * converter.C (view): add support for $$i (file name) and $$p
7154         (file path) for the viewer command. If $$i is not specified, then
7155         it is appended to the command (for compatibility with old syntax)
7156
7157 2002-10-14  Juergen Vigna  <jug@sad.it>
7158
7159         * undo_funcs.C (textHandleUndo): alter the order in which the
7160         new undopar is added to the LyXText, as we have to set first
7161         the right prev/next and then add it as otherwise the rebuild of
7162         LyXText is not correct. Also reset the cursor to the right paragraph,
7163         with this IMO we could remove the hack in "redoParagraphs()".
7164
7165 2002-10-09  Angus Leeming  <leeming@lyx.org>
7166
7167         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7168         to turn off an optimisation if a new inset is to be inserted.
7169
7170 2002-10-11 André Pönitz <poenitz@gmx.net>
7171
7172         * lyxtext.h: make some functions public to allow access
7173         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7174
7175 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7176
7177         * text3.C (dispatch): when changing layout, avoid an infinite loop
7178         [bug #652]
7179
7180 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7181
7182         * lyxrc.C (read): treat a viewer or converter command of "none" as
7183         if it were empty.
7184
7185         * MenuBackend.C (expandFormats): for an update, also allow the
7186         formats that are not viewable
7187
7188         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7189         script if it is newer than the lyxrc.defaults in user directory
7190
7191 2002-10-07 André Pönitz <poenitz@gmx.net>
7192
7193         * text.C: Vitaly Lipatov's small i18n fix
7194
7195 2002-09-25  Angus Leeming  <leeming@lyx.org>
7196
7197         * ispell.h: doxygen fix.
7198
7199 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7200
7201         * buffer.h (readFile): Add a new argument to the method, to allow
7202         reading of old-format templates.
7203
7204 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7205
7206         * toc.C (getTocList): Get TOC from InsetWrap.
7207
7208 2002-09-16  John Levon  <levon@movementarian.org>
7209
7210         * lyxfunc.C: check tabular for cut/copy too
7211
7212 2002-09-12  John Levon  <levon@movementarian.org>
7213
7214         * LyXAction.C: tidy
7215
7216         * factory.h:
7217         * factory.C: add header
7218
7219         * paragraph_funcs.h:
7220         * paragraph_funcs.C: cleanup
7221
7222 2002-09-11  John Levon  <levon@movementarian.org>
7223
7224         * PrinterParams.h: odd/even default to true
7225
7226 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7227
7228         * PrinterParams.h: update printer parameters for new xforms dialog
7229
7230 2002-09-11  Angus Leeming  <leeming@lyx.org>
7231
7232         * lyxserver.C (read_ready): re-write to make it more transparent
7233         and to make it work in coherent fashion under Tru64 Unix.
7234
7235 2002-09-11  André Pönitz <poenitz@gmx.net>
7236
7237         * commandtags.h:
7238         * LyXAction.C:
7239         * text3.C: implement LFUN_WORDSEL
7240
7241 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7242
7243         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7244         make floatlist_ a boost::shared_ptr<FloatList>
7245
7246         * lyxtextclass.C: include FloatList.h
7247         (LyXTextClass): initialize floatlist_
7248         (TextClassTags): add TC_NOFLOAT
7249         (Read): match "nofloat" to TC_NOFLOAT and use it.
7250         (readFloat): modify call to floatlist_
7251         (floats): ditto
7252         (floats): ditto
7253
7254         * FloatList.[Ch] (FloatList): remove commented out float
7255         initialization.
7256         (erase): new function
7257
7258 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7259
7260         * MenuBackend.C (expandToc): fix crash when there is no document
7261         open
7262
7263 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7264
7265         * many files: Add insetwrap.
7266
7267 2002-09-09  John Levon  <levon@movementarian.org>
7268
7269         * text2.C: remove confusing and awkward depth wraparound
7270
7271 2002-09-09  John Levon  <levon@movementarian.org>
7272
7273         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7274
7275         * buffer.h:
7276         * buffer.C: remove getIncludeonlyList()
7277
7278         * paragraph.C:
7279         * lyxfunc.C: remove headers
7280
7281 2002-09-09  Juergen Vigna  <jug@sad.it>
7282
7283         * text.C (getColumnNearX): fix form Michael this is most
7284         probably a cut&paste bug.
7285
7286 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7289
7290         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7291         references, ws changes.
7292
7293         * text2.C (init): update counters after init
7294         (insertParagraph): no need to set counter on idividual paragraphs.
7295         (setCounter): access the counters object in the textclass object
7296         on in the buffer object.
7297         (updateCounters): ditto
7298
7299         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7300         shared_ptr<Counters> to avoid loading counters.h in all
7301         compilation units.
7302         (LyXTextClass): initialize ctrs_
7303         (TextClassTags): add TC_COUNTER, and ...
7304         (Read): use it here.
7305         (CounterTags): new tags
7306         (readCounter): new function
7307         (counters): new funtion
7308         (defaultLayoutName): return a const reference
7309
7310         * counters.C (Counters): remove contructor
7311         (newCounter): remove a couple of unneeded statements.
7312         (newCounter): simplify a bit.
7313         (numberLabel): some small formatting changes.
7314
7315         * buffer.[Ch]: remove all traces of counters, move the Counters
7316         object to the LyXTextClass.
7317
7318 2002-09-06  Alain Castera  <castera@in2p3.fr>
7319
7320         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7321         package to set the horizontal alignment on fixed width columns.
7322
7323         * lyx_sty.C:
7324         * lyx_sty.h: added tabularnewline macro def.
7325
7326         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7327
7328 2002-09-06  John Levon  <levon@movementarian.org>
7329
7330         * LyXAction.C: tooltips for sub/superscript
7331
7332         * MenuBackend.C: a bit more verbose
7333
7334         * lyxfunc.C: tiny clean
7335
7336         * undo_funcs.C: document undo_frozen
7337
7338 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * counters.C (Counters): add missing algorithm counter.
7341
7342         * text2.C (setCounter): lookup the counter with layouts latexname
7343         instead of by section number.
7344         (setCounter): use a hackish way to lookup the correct enum
7345         counter.
7346         a float name->type change
7347         reset enum couners with counter name directly instead of depth value.
7348
7349         * counters.C (Counters): remove the push_backs, change to use the
7350         float type not the float name.
7351         (labelItem): remove unused string, float name->type change
7352
7353         * counters.h: don't include vector, loose the enums and sects vectors
7354
7355 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7358         (Read): add float->TC_FLOAT to textclassTags
7359         (Read): and handle it in the switch
7360         (readFloat): new function
7361
7362         * FloatList.C (FloatList): comment out the hardcoded float
7363         definitions.
7364
7365         * lyxlayout.h: ws change.
7366
7367 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7368
7369         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7370
7371 2002-09-03  Angus Leeming  <leeming@lyx.org>
7372
7373         * BufferView_pimpl.h: qualified name is not allowed in member
7374         declaration: WorkArea & Pimpl::workarea() const;
7375
7376         * factory.C: added using std::endl directive.
7377
7378         * text3.C: added using std::find and std::vector directives.
7379
7380 2002-08-29  André Pönitz <poenitz@gmx.net>
7381
7382         * lyxtext.h:
7383         * text2.C: remove unused member number_of_rows
7384
7385         * Makefile.am:
7386         * BufferView2.C: remove file, move contents to...
7387         * BufferView.C: ... here
7388
7389         * BufferView_pimpl.C:
7390         * factory.C: move more inset creation to factory
7391
7392         * vspace.C: avoid direct usage of LyXText, ws changes
7393
7394         * BufferView.[Ch]:
7395                 don't provide direct access to WorkArea, use two simple
7396                 acessors haveSelction() and workHeight() instead
7397
7398
7399 2002-08-29  John Levon  <levon@movementarian.org>
7400
7401         * BufferView_pimpl.C (dispatch): do not continue when
7402           no buffer
7403
7404 2002-08-28  André Pönitz <poenitz@gmx.net>
7405
7406         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7407
7408         * BufferView.h:
7409         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7410
7411 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7412
7413         * buffer.C: increment LYX_FORMAT to 221
7414
7415         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7416         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7417
7418         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7419
7420         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7421
7422 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7423
7424         * factory.C (createInset): use LyXTextClass::floats
7425
7426         * MenuBackend.C (expandFloatListInsert):
7427         (expandFloatInsert):
7428         (expandToc):
7429
7430         * text2.C (setCounter):
7431
7432         * LaTeXFeatures.C (useFloat):
7433         (getFloatDefinitions):
7434
7435         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7436
7437         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7438         floatlist_, with accessor floats().
7439
7440         * FloatList.h: remove global FloatList
7441
7442 2002-08-26  André Pönitz <poenitz@gmx.net>
7443
7444         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7445
7446         * BufferView.h:
7447         * BufferView2.C:
7448         * BufferView_pimpl.C:
7449         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7450
7451 2002-08-25  John Levon  <levon@movementarian.org>
7452
7453         * LyXAction.C: fix margin note description
7454
7455 2002-08-24  John Levon  <levon@movementarian.org>
7456
7457         * buffer.C:
7458         * bufferlist.C:
7459         * bufferview_funcs.C:
7460         * lyxfont.C:
7461         * undo_funcs.C: cleanups
7462
7463         * lyxfunc.C: disable CUT/COPY when no selection
7464
7465 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7466
7467         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7468         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7469
7470         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7471         Add backward compatibility to "mono", "gray" and "no".
7472
7473 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7474
7475         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7476         (and file_format >= 200).
7477
7478 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7479
7480         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7481
7482 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7483
7484         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7485
7486 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7487
7488         * BufferView_pimpl.C:
7489         * LyXAction.C:
7490         * buffer.C:
7491         * commandtags.h:
7492         * lyxfunc.C:
7493         * paragraph.[Ch]:
7494         * text2.C:
7495         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7496         inset and code to make it  work with the paragraph code. The inset
7497         can be anywhere in the paragraph, but will only do the expected
7498         thing in LaTeX if the layout file contains the parameter line
7499                         OptionalArgs    1
7500         (or more generally, a nonzero value) for that layout.
7501
7502 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * paragraph.h: remove the declaration of undefined counters class
7505         function.
7506
7507 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7508
7509         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7510         Dr. Richard Hawkins.
7511
7512 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7513
7514         * paragraph_funcs.h: remove some unneeded includes
7515
7516         * text.C (backspace): pasteParagraph now in global scipe
7517
7518         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7519         (pasteSelection): ditto
7520
7521         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7522         * paragraph_funcs.C (pasteParagraph): ... here
7523
7524 2002-08-20  André Pönitz <poenitz@gmx.net>
7525
7526         * commandtags.h: new LFUNs for swapping/copying table row/colums
7527
7528         * LyXAction.C:
7529         * lyxfunc.C: support for new lfuns
7530
7531 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * tabular.C:
7534         * buffer.[Ch]: remove NO_COMPABILITY stuff
7535
7536 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * boost.C (throw_exception): new file, with helper function for
7539         boost compiled without exceptions.
7540
7541         * paragraph.h:
7542         * lyxlength.C:
7543         * buffer.C:
7544         * ParameterStruct.h:
7545         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7546
7547         * bufferlist.C (emergencyWriteAll): use boost bind
7548
7549         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7550
7551         * text.C: include paragraph_funcs.h
7552         (breakParagraph): breakParagraph is now in global scope
7553
7554         * paragraph_funcs.[Ch]: new files
7555
7556         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7557         global scope
7558
7559         * buffer.C: include paragraph_funcs.h
7560         (insertStringAsLines): breakParagraph is now in global scope
7561
7562         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7563         paragraph_funcs.C
7564
7565         * CutAndPaste.C: include paragraph_funcs.h
7566         (cutSelection): breakParagraphConservative is now in global scope
7567         (pasteSelection): ditto
7568
7569         * buffer.h: declare oprator== and operator!= for
7570         Buffer::inset_iterator
7571
7572         * bufferlist.C (emergencyWrite): don't use fmt(...)
7573
7574         * text3.C: add using std::endl
7575
7576         * BufferView.C (moveCursorUpdate): remove default arg
7577
7578 2002-08-20  André Pönitz <poenitz@gmx.net>
7579
7580         * buffer.[Ch]: move inline functions to .C
7581
7582         * BufferView2.C:
7583         * BufferView_pimpl.C:
7584         * text.C:
7585         * buffer.[Ch]: use improved inset_iterator
7586
7587         * buffer.C:
7588         * paragraph.[Ch]: write one paragraph at a time
7589
7590 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7591
7592         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7593         style if style is not specified.
7594
7595 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * text2.C (setCounter): when searching for right label for a
7598         caption, make sure to recurse to parent insets (so that a caption
7599         in a minipage in a figure float works) (bug #568)
7600
7601 2002-08-20  André Pönitz <poenitz@gmx.net>
7602
7603         * text3.C: new file for LyXText::dispatch() and helpers
7604
7605         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7606
7607         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7608
7609 2002-08-19  André Pönitz <poenitz@gmx.net>
7610
7611         * lyxtext.h:
7612         * text.C: new LyXText::dispatch()
7613
7614         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7615
7616 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7617
7618         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7619
7620         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7621         Hebrew text.
7622
7623 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7624
7625         * Makefile.am: use $(variables) instead of @substitutions@
7626
7627 2002-08-15  André Pönitz <poenitz@gmx.net>
7628
7629         * lyxfunc.C:
7630         * BufferView_pimpl.C: streamlining mathed <-> outer world
7631         interaction
7632
7633         * commandtags.h:
7634         * LyXAction.C: remove unused LFUN_MATH
7635
7636 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7639
7640 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * paragraph.C (Paragraph): reformat a bit
7643         (cutIntoMinibuffer): use builtin InsetList function instad of
7644         doing it manually.
7645         (getInset): ditto
7646
7647         * buffer.C: include boost/bind.hpp, add using std::for_each
7648         (writeFileAscii): use ParagraphList iterators
7649         (validate): use for_each for validate traversal of paragraphs
7650         (getBibkeyList): use ParagraphList iterators
7651         (resizeInsets): use for_each to resizeInsetsLyXText for all
7652         paragraphs.
7653         (getParFromID): use ParagraphList iterators
7654
7655         * BufferView2.C (lockInset): use paragraph list and iterators
7656
7657 2002-08-14  John Levon  <levon@movementarian.org>
7658
7659         * lyxserver.C: remove spurious xforms include
7660
7661 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7662
7663         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7664
7665 2002-08-13  André Pönitz <poenitz@gmx.net>
7666
7667         * LyXAction.[Ch]:
7668         * lyxfunc.C: further cleaning
7669
7670 2002-08-13  André Pönitz <poenitz@gmx.net>
7671
7672         * funcrequest.h: new constructor
7673
7674         * funcrequest.C: move stuff here from .h
7675
7676         * Makefile.am:
7677         * BufferView_pimpl.C:
7678         * LyXAction.C:
7679         * toc.C:
7680         * lyxfunc.C: subsequent changes
7681
7682         * lyxfunc.h: new view() member function
7683
7684         * lyxfunc.C: subsequent changes
7685
7686 2002-08-13  Angus Leeming  <leeming@lyx.org>
7687
7688         * BufferView2.C:
7689         * BufferView_pimpl.C:
7690         * buffer.C:
7691         * converter.C:
7692         * importer.C:
7693         * lyxfunc.C:
7694         * lyxvc.C:
7695         * toc.C:
7696         * vc-backend.C:
7697         changes due to the changed LyXView interface that now returns references
7698         to member variables not pointers.
7699
7700 2002-08-13  Angus Leeming  <leeming@lyx.org>
7701
7702         * WordLangTuple (word, lang_code): return references to strings,
7703         not strings.
7704
7705         * BufferView.h:
7706         * SpellBase.h:
7707         * lyxtext.h: forward-declare WordLangTuple.
7708
7709         * BufferView2.C:
7710         * ispell.C:
7711         * pspell.C:
7712         * text.C: #include "WordLangTuple.h".
7713
7714         * lyxtext.h:
7715         * text.C: (selectNextWordToSpellcheck): constify return type.
7716
7717 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7718
7719         * buffer.C:
7720         * buffer.h:
7721         * lyxtext.h:
7722         * paragraph.C:
7723         * paragraph_pimpl.h:
7724         * text.C:
7725         * text2.C:
7726         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7727         suggested by Angus.
7728         Made updateCounter always count from start of buffer, and removed
7729         second argument (par).
7730         Reverted floats number display to '#'. Perhaps I'll try again when the
7731         code base is sanitized a bit.
7732
7733 2002-08-12  Angus Leeming  <leeming@lyx.org>
7734
7735         * buffer.[Ch] (getLabelList): constify.
7736
7737 2002-08-07  André Pönitz <poenitz@gmx.net>
7738
7739         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7740
7741         * funcrequest.h: extension to keep mouse (x,y) position
7742
7743 2002-08-12  Juergen Vigna  <jug@sad.it>
7744
7745         * BufferView2.C (insertErrors): forbid undo when inserting error
7746         insets.
7747
7748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7749
7750 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * ParagraphList.[Ch]: new files
7753
7754         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7755
7756         * BufferView2.C (lockInset): ParagraphList changes
7757         * toc.C: ditto
7758         * text2.C: ditto
7759         * bufferlist.C: ditto
7760         * buffer.h: ditto
7761         * buffer.C: ditto
7762
7763 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7766         unused class variable counter_,
7767
7768         * paragraph.[Ch] (getFirstCounter): delete unused function
7769
7770         * counters.C: include LAssert.h
7771         (reset): add a new function with no arg, change other version to
7772         not have def. arg and to not allow empty arg.
7773
7774         * text2.C (setCounter): remove empty arg from call to Counters::reset
7775
7776 2002-08-11  John Levon  <levon@movementarian.org>
7777
7778         * Makefile.am: add WordLangTuple.h
7779
7780 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7783         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7784
7785         * insets/insettext.C: InsetList changes
7786
7787         * graphics/GraphicsSupport.C (operator()): InsetList changes
7788
7789         * toc.C (getTocList): InsetList changes
7790
7791         * paragraph_pimpl.[Ch]: InsetList changes
7792
7793         * paragraph.[Ch]: InsetList changes
7794
7795         * buffer.C (inset_iterator): InsetList changes
7796         (setParagraph): ditto
7797         * buffer.h (inset_iterator): ditto
7798         * iterators.C (operator++): ditto
7799         * iterators.h: ditto
7800
7801         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7802
7803         * InsetList.[Ch]: new files, most InsetList handling moved out of
7804         paragraph.C.
7805
7806         * BufferView2.C (removeAutoInsets): InsetList changes
7807         (lockInset): ditto
7808         (ChangeInsets): ditto
7809
7810 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * paragraph_pimpl.h (empty): new function
7813
7814         * paragraph.[Ch] (empty): new function
7815
7816         * other files: use the new Paragraph::empty function
7817
7818 2002-08-09  John Levon  <levon@movementarian.org>
7819
7820         * lyxtext.h: remove unused refresh_height
7821
7822 2002-08-09  John Levon  <levon@movementarian.org>
7823
7824         * Makefile.am:
7825         * sgml.h:
7826         * sgml.C:
7827         * buffer.C:
7828         * paragraph.h:
7829         * paragraph.C: move sgml char escaping out of paragraph
7830
7831         * paragraph.h:
7832         * paragraph.C: remove id setter
7833
7834         * buffer.C:
7835         * paragraph.C:
7836         * paragraph_pimpl.C: remove dead tex_code_break_column
7837
7838         * bufferview_funcs.C: small cleanup
7839
7840         * lyxfunc.C: remove dead proto
7841
7842         * lyxtext.h: make some stuff private. Remove some dead stuff.
7843
7844         * lyxgluelength.C: make as[LyX]String() readable
7845
7846 2002-08-08  John Levon  <levon@movementarian.org>
7847
7848         * LyXAction.h:
7849         * LyXAction.C:
7850         * MenuBackend.C:
7851         * ToolbarDefaults.C:
7852         * lyxfunc.C:
7853         * lyxrc.C:
7854         * toc.C: lyxaction cleanup
7855
7856 2002-08-08  John Levon  <levon@movementarian.org>
7857
7858         * BufferView2.C: small cleanup
7859
7860         * lyxfind.h:
7861         * lyxfind.C: move unnecessary header into the .C
7862
7863 2002-08-08  John Levon  <levon@movementarian.org>
7864
7865         * funcrequest.h: just tedious nonsense
7866
7867         * lyx_main.h:
7868         * lyx_main.C: cleanups
7869
7870         * buffer.C:
7871         * vspace.C: remove dead header lyx_main.h
7872
7873 2002-08-07  Angus Leeming  <leeming@lyx.org>
7874
7875         * Paragraph.[Ch]:
7876         * paragraph_pimpl.h:
7877         Forward declare class Counters in paragraph.h by moving the ctrs member
7878         variable into Paragraph::Pimpl.
7879         (counters): new method, returning a reference to pimpl_->ctrs.
7880
7881         * text2.C: ensuing changes.
7882
7883 2002-08-07  John Levon  <levon@movementarian.org>
7884
7885         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7886
7887         * BufferView_pimpl.C: announce X selection on double/triple
7888           click
7889
7890         * lyx_main.C: use correct bool in batch dispatch
7891
7892         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7893
7894 2002-08-07  André Pönitz <poenitz@gmx.net>
7895
7896         * funcrequest.h: new class to wrap a kb_action and its argument
7897
7898         * BufferView.[Ch]:
7899         * BufferView_pimpl[Ch]:
7900         * LaTeX.C:
7901         * LyXAction.[Ch]:
7902         * lyxfunc.[Ch]:
7903         * lyxrc.C: subsequent changes
7904
7905
7906 2002-08-07  John Levon  <levon@movementarian.org>
7907
7908         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7909           document options change.
7910
7911 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7912
7913         * counters.[Ch]
7914         * text2.C
7915         * paragraph.[Ch]
7916         * makefile.am: move counters functionality over from
7917         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7918
7919 2002-08-06  John Levon  <levon@movementarian.org>
7920
7921         * WordLangTuple.h: new file for word + language code tuple
7922
7923         * SpellBase.h:
7924         * pspell.h:
7925         * pspell.C:
7926         * ispell.h:
7927         * ispell.C:
7928         * lyxtext.h:
7929         * text.C:
7930         * text2.C:
7931         * BufferView.h:
7932         * BufferView2.C: use WordLangTuple
7933
7934         * layout.h:
7935         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7936
7937 2002-08-06  John Levon  <levon@movementarian.org>
7938
7939         * lyx_main.C: fix cmdline batch handling
7940
7941 2002-08-06  André Pönitz <poenitz@gmx.net>
7942
7943         * lyxrc.C: set default for show_banner to true
7944
7945 2002-08-06  John Levon  <levon@movementarian.org>
7946
7947         * pspell.C: fix a crash, and allow new aspell to work
7948
7949 2002-08-06  John Levon  <levon@movementarian.org>
7950
7951         * lyxfunc.C:
7952         * kbmap.C: small cleanup
7953
7954         * vspace.h:
7955         * vspace.C: add const
7956
7957 2002-08-05  John Levon  <levon@movementarian.org>
7958
7959         * LyXAction.C: back to tabular-insert
7960
7961 2002-08-04  John Levon  <levon@movementarian.org>
7962
7963         * BufferView.h:
7964         * BufferView.C: cosmetic change
7965
7966         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7967
7968         * bufferlist.C:
7969         * buffer.h:
7970         * buffer.C:
7971         * lyxcb.h:
7972         * lyxcb.C:
7973         * lyxserver.C:
7974         * lyxvc.C:
7975         * vc-backend.C:
7976         * BufferView2.C: purge all "Lyx" not "LyX" strings
7977
7978         * lyxcursor.h:
7979         * lyxcursor.C: attempt to add some documentation
7980
7981         * lyxfunc.C:
7982         * commandtags.h:
7983         * LyXAction.C:
7984         * ToolbarDefaults.C:
7985         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7986           merge with LFUN_TABULAR_INSERT
7987
7988         * Makefile.am:
7989         * SpellBase.h:
7990         * ispell.h:
7991         * ispell.C:
7992         * pspell.h:
7993         * pspell.C: split up i/pspell implementations into separate
7994           files, many cleanups
7995
7996         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7997
7998         * text2.C: some cleanup
7999
8000         * lyxfunc.C: don't check for isp_command == "none" any more, it
8001           didn't make any sense
8002
8003 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8004
8005         * counters.[Ch]
8006         * text2.C
8007         * paragraph.[Ch]
8008         * makefile.am: move counters functionality over
8009         from text2.C/paragraph.[Ch] to counters.[Ch], and
8010         make proper C++.
8011 2002-08-02  John Levon  <levon@movementarian.org>
8012
8013         * buffer.C: s/lyxconvert/lyx2lyx/
8014
8015 2002-08-02  Angus Leeming  <leeming@lyx.org>
8016
8017         * lyxlex.C: revert John's change as it breaks reading of the user
8018         preamble.
8019
8020 2002-08-02  Angus Leeming  <leeming@lyx.org>
8021
8022         * importer.C (Import):
8023         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8024         changes due to LyXView::view() now returning a boost::shared_ptr.
8025
8026 2002-08-02  John Levon  <levon@movementarian.org>
8027
8028         * lyxlex.C: small cleanup
8029
8030 2002-08-02  John Levon  <levon@movementarian.org>
8031
8032         * text2.C (status): small cleanup, no logic change
8033
8034 2002-08-01  John Levon  <levon@movementarian.org>
8035
8036         * buffer.h:
8037         * buffer.C (writeFile): don't output alerts, caller
8038           handles this
8039
8040         * bufferlist.C:
8041         * lyx_cb.C: from above
8042
8043         * lyxfunc.C: allow to open non-existent files
8044
8045 2002-07-31  John Levon  <levon@movementarian.org>
8046
8047         * lyxserver.C: don't let incidental errors get
8048           in the way (errno)
8049
8050 2002-07-30  John Levon  <levon@movementarian.org>
8051
8052         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8053
8054 2002-07-30  John Levon  <levon@movementarian.org>
8055
8056         * lyxserver.h:
8057         * lyxserver.C: remove I/O callback too
8058
8059 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8060
8061         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8062         log.
8063
8064 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * many files: strip,frontStrip -> trim,ltrim,rtrim
8067
8068 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * PrinterParams.h: remove extern containsOnly, and include
8071         support/lstrings.h instead.
8072
8073         * LaTeX.C (scanAuxFile): modify because of strip changes
8074         (deplog): ditto
8075         * buffer.C (makeLaTeXFile): ditto
8076         * bufferparams.C (writeFile): ditt
8077         * lyxfont.C (stateText): ditto
8078         * lyxserver.C (read_ready): ditto
8079         * vc-backend.C (scanMaster): ditto
8080
8081         * BufferView_pimpl.h: ws changes
8082
8083         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8084
8085 2002-07-26  André Pönitz <poenitz@gmx.net>
8086
8087         * kb_sequence.C: remove unnedred usings
8088
8089 2002-07-26  Juergen Vigna  <jug@sad.it>
8090
8091         * lyxfind.C (LyXReplace): we have to check better if the returned
8092         text is not of theLockingInset()->getLockingInset().
8093
8094 2002-07-25  Juergen Vigna  <jug@sad.it>
8095
8096         * lyxfind.C (LyXReplace): don't replace if we don't get the
8097         right LyXText.
8098
8099         * undo_funcs.C (createUndo): remove debugging code.
8100
8101 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8102
8103         * buffer.C (parseSingleLyXformat2Token): Use default placement
8104         when reading old floats.
8105
8106         * FloatList.C (FloatList): Change the default placement of figure
8107         and tables to "tbp".
8108
8109 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * MenuBackend.C: using std::max
8112
8113 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * MenuBackend.C (expandToc):
8116         (expandToc2): code moved from xforms menu frontend. It is now
8117         generic and TOCs are transparent to menu frontends.
8118
8119 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8120
8121         * toc.C (getTocList): protect against buf=0
8122
8123         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8124         Menu as first parameter. Now, this calls itself recursively to
8125         expand a whole tree (this will be useful for TOC handling)
8126         (expandFloatInsert): remove 'wide' version of floats
8127
8128         * MenuBackend.h (submenuname): returns the name of the submenu.
8129         (submenu): returns the submenu itself, provided it has been
8130         created by MenuBackend::expand
8131
8132 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8133
8134         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8135         insets which have noFontChange == true. (bug #172)
8136
8137 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8138
8139         * BufferView_pimpl.C: add connection objects and use them...
8140         (Pimpl): here.
8141
8142 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * MenuBackend.C (expandLastfiles):
8145         (expandDocuments):
8146         (expandFormats):
8147         (expandFloatListInsert):
8148         (expandFloatInsert):
8149         (expand): split expand in parts
8150
8151 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * lyx_gui.C: use lyx_gui::exit()
8154
8155 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * LyXAction.C: show the failing pseudo action
8158
8159 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8160
8161         * buffer.C (readFile): Run the lyxconvert script in order to read
8162         old files.
8163
8164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * LyXAction.C:
8167         * commandtags.h:
8168         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8169
8170 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * LyXAction.C:
8173         * commandtags.h:
8174         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8175
8176 2002-07-22  Herbert Voss  <voss@lyx.org>
8177
8178         * lengthcommon.C:
8179         * lyxlength.[Ch]: add support for the vertical lengths
8180
8181 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * toc.[Ch]: std:: fixes
8184
8185 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8186
8187         * lyxrc.C: do not include lyx_main.h
8188
8189         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8190         for layouts
8191
8192         * lyxrc.C:
8193         * encoding.C:
8194         * bufferlist.C:
8195         * BufferView2.C: include "lyxlex.h"
8196
8197         * tabular.h:
8198         * bufferparams.h: do not #include "lyxlex.h"
8199
8200         * lyxtextclasslist.C (Add): remove method
8201         (classlist): renamed to classlist_
8202
8203         * paragraph_pimpl.C:
8204         * paragraph.C:
8205         * text2.C:
8206         * CutAndPaste.C:
8207         * bufferview_funcs.C:
8208         * bufferlist.C:
8209         * text.C:
8210         * LaTeXFeatures.C:
8211         * buffer.C:
8212         * toc.C (getTocList): use BufferParams::getLyXTextClass
8213
8214         * toc.C (getTocList): use InsetFloat::addToToc
8215
8216         * toc.[Ch]: new files, containing helper functions to handle table
8217         of contents
8218
8219         * lyxfunc.C (dispatch): no need to remove spaces around command
8220         given as a string
8221         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8222         first command of the sequence; it is not very clever, but I do not
8223         have a better idea, actually
8224
8225         * LyXAction.C (LookupFunc): make sure to remove space at the
8226         beginning and end of the command
8227
8228 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8229
8230         * MenuBackend.C (getMenubar): new method: return the menubar of
8231         this menu set
8232         (read): treat differently reading of menu and menubar (in
8233         particular, the menubar has no name now)
8234         (Menu::menubar): remove
8235
8236         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8237         saving is finished
8238
8239 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8240
8241         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8242         a bibitem inset in a RTL paragraph.
8243
8244 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8245
8246         * paragraph_pimpl.C: constify
8247
8248         * BufferView_pimpl.C:
8249         * LaTeX.C:
8250         * lyxfunc.C: fix dispatch in a nicer way
8251
8252 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8253
8254         * lyxfunc.C (dispatch):
8255         * BufferView_pimpl.C:
8256         * BufferView_pimpl.h:
8257         * BufferView.C:
8258         * BufferView.h: rename Dispatch() to dispatch()
8259
8260         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8261
8262         * lyxlayout.C (Read): honor DependsOn tag
8263
8264         * lyxlayout.[Ch] (depends_on): new method
8265
8266         * version.C.in: update lyx_docversion
8267
8268         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8269
8270         * paragraph.C (validate): remove from here...
8271         * paragraph_pimpl.C (validate): ... and move here
8272         (isTextAt): make it const
8273
8274         * buffer.C (getLists): ws cleanup
8275
8276 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8277
8278         * language.C (read): Use iso8859-1 encoding in latex_lang
8279         (this prevents LyX from crashing when using iso10646-1 encoding).
8280
8281 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8282
8283         * text2.C (toggleInset): if cursor is inside an inset, close the
8284         inset and leave cursor _after_ it
8285
8286 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8287
8288         * lyxfunc.C: move minibuffer completion handling out of here
8289
8290 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8291
8292         * BufferView_pimpl.C:
8293         * LaTeX.C: fix dispatch calls
8294
8295 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8296
8297         * text.C (drawChars): Fix Arabic text rendering.
8298
8299 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8300
8301         * LyXAction.C:
8302         * commandtags.h:
8303         * lyxfunc.C: remove message-push/pop
8304
8305         * lyxserver.C:
8306         * lyxfunc.h:
8307         * lyxfunc.C: rationalise some code by removing verboseDispatch
8308           in favour of a bool argument to dispatch()
8309
8310 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8311
8312         * lyx_main.C (init): make sure to read symlinks as absolute paths
8313
8314 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * lyxfunc.h:
8317         * lyxfunc.C: no need for commandshortcut to be a member
8318
8319 2002-07-15  André Pönitz <poenitz@gmx.net>
8320
8321         * converter.C: add support for $$s (scripts from lib/scripts dir)
8322         * lyx_main.C: white space
8323
8324 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * bufferlist.C:
8327         * lyxrc.h:
8328         * lyxrc.C: remove second exit confirmation
8329
8330 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * BufferView.h:
8333         * BufferView.C:
8334         * BufferView2.C:
8335         * BufferView_pimpl.h:
8336         * BufferView_pimpl.C:
8337         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8338
8339 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * MenuBackend.C (expand): add numeric shortcuts to document menu
8342
8343         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8344
8345 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * lyxfont.C (setLyXFamily):
8348         (setLyXSeries):
8349         (setLyXShape):
8350         (setLyXSize):
8351         (setLyXMisc):
8352         (lyxRead):
8353         * debug.C (value):
8354         * buffer.C (asciiParagraph): use ascii_lowercase
8355
8356 2002-07-15  Mike Fabian  <mfabian@suse.de>
8357
8358         * lyxlex_pimpl.C (search_kw):
8359         * lyxlex.C (getLongString):
8360         * converter.h (operator<):
8361         * converter.C (operator<):
8362         * buffer.C (parseSingleLyXformat2Token):
8363         (asciiParagraph):
8364         * ToolbarDefaults.C (read):
8365         * MenuBackend.C (checkShortcuts):
8366         (read):
8367         * LColor.C (getFromGUIName):
8368         (getFromLyXName): use the compare_ascii_no_case instead of
8369         compare_no_case, because in turkish, 'i' is not the lowercase
8370         version of 'I', and thus turkish locale breaks parsing of tags.
8371
8372 2002-07-16  Angus Leeming  <leeming@lyx.org>
8373
8374         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8375         now takes a Buffer const & argument.
8376
8377 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * BufferView.C (resize): check there's a buffer to resize
8380
8381 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * lyxfunc.C: remove dead code
8384
8385         * lyxserver.h:
8386         * lyxserver.C: use lyx_guii::set_read_callback
8387
8388 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8389
8390         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8391         an inset in a RTL paragraph.
8392
8393 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * lyxfunc.C: repaint after a font size update
8396
8397 2002-07-15  André Pönitz <poenitz@gmx.net>
8398
8399         * lyxlength.C: inBP should be able to return negative values
8400
8401 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * lyxfunc.C: use lyx_gui::update_fonts()
8404
8405 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8406
8407         * lyxfunc.C: use lyx_gui::update_color()
8408
8409 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * bufferlist.C:
8412         * lyxfunc.h:
8413         * lyxfunc.C:
8414         * lyxrc.h:
8415         * lyxrc.C: remove file->new asks for name option, and let
8416           buffer-new take an argument
8417
8418 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * BufferView_pimpl.C: remove unneeded extra repaint()
8421
8422 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * LyXAction.C: allow command-sequence with NoBuffer
8425
8426         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8427
8428 2002-07-10  Angus Leeming  <leeming@lyx.org>
8429
8430         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8431
8432 2002-07-09  Angus Leeming  <leeming@lyx.org>
8433
8434         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8435
8436 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8437
8438         * lengthcommon.h: whitespace
8439
8440         * lyxfunc.C: update scrollbar after goto paragraph
8441
8442         * lyxtext.h: factor out page break drawing, and fix it so
8443           page break/added space paints as selected nicely
8444
8445 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * BufferView_pimpl.C: add FIXMEs, clean up a little
8448
8449 2002-07-09  André Pönitz <poenitz@gmx.net>
8450
8451         * lyxfont.[Ch]: support for wasy symbols
8452
8453 2002-07-08  André Pönitz <poenitz@gmx.net>
8454
8455         * BufferView_pimpl.C: apply John's patch for #93.
8456
8457 2002-07-05  Angus Leeming  <leeming@lyx.org>
8458
8459         * BufferView_pimpl.C (buffer): generate previews if desired.
8460
8461         * LColor.h: add "preview" to the color enum.
8462
8463         * LColor.C (LColor): add a corresponding entry to the items array.
8464
8465         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8466         with this buffer.
8467
8468 2002-07-05  Angus Leeming  <leeming@lyx.org>
8469
8470         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8471         The body of the code is now in the method that is passed an ostream &
8472         rather than a file name.
8473         Pass an additional only_preamble parameter, useful for the forthcoming
8474         preview stuff.
8475
8476 2002-07-03  André Pönitz <poenitz@gmx.net>
8477
8478         * lyxfunc.C: simplify getStatus() a bit for math stuff
8479
8480 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8483
8484 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * text.C (changeRegionCase): do not change case of all the
8487         document when region ends at paragraph end (bug #461)
8488
8489 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8490
8491         * paragraph.C (startTeXParParams):
8492         (endTeXParParams): add \protect when necessary
8493
8494 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8495
8496         * BufferView_pimpl.C (workAreaExpose): remove warning
8497
8498 2002-06-27  Angus Leeming  <leeming@lyx.org>
8499
8500         * Makefile.am: add lyxlayout_ptr_fwd.h.
8501
8502 2002-06-26  André Pönitz <poenitz@gmx.net>
8503
8504         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8505
8506 2002-06-25  Angus Leeming  <leeming@lyx.org>
8507
8508         * lyxfunc.C (dispatch): Comment out the call to
8509         grfx::GCache::changeDisplay. The method no longer exists now that the
8510         pixmap generation part of the graphics loader has been moved into
8511         InsetGraphics.
8512
8513 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8514
8515         * text2.C: layout as layout
8516
8517         * text.C: layout as layout
8518
8519         * tabular.C (OldFormatRead): layout as layout
8520
8521         * paragraph_pimpl.C (TeXDeeper): layout as layout
8522         (realizeFont): layout as layout
8523
8524         * paragraph.C (writeFile): layout as layout
8525         (validate): layout as layout
8526         (getFont): layout as layout
8527         (getLabelFont): layout as layout
8528         (getLayoutFont): layout as layout
8529         (breakParagraph): layout as layout
8530         (stripLeadingSpaces): layout as layout
8531         (getEndLabel): layout as layout
8532         (getMaxDepthAfter): layout as layout
8533         (applyLayout): layout as layout
8534         (TeXOnePar): layout as layout
8535         (simpleTeXOnePar): layout as layout
8536         (TeXEnvironment): layout as layout
8537         (layout): layout as layout
8538         (layout): layout as layout
8539
8540         * lyxtextclass.C (compare_name): new functor to work with
8541         shared_ptr, layout as layout
8542         (Read): layout as layout
8543         (hasLayout): layout as layout
8544         (operator): layout as layout
8545         (delete_layout): layout as layout
8546         (defaultLayout): layout as layout
8547
8548         * lyxlayout_ptr_fwd.h: new file
8549
8550         * lyxlayout.C (Read): layout as layout
8551
8552         * lyx_cb.C (MenuInsertLabel): layout as layout
8553
8554         * bufferlist.C (newFile): layout as layout
8555
8556         * buffer.C (readLyXformat2): layout as layout
8557         (parseSingleLyXformat2Token): layout as layout
8558         (insertStringAsLines): layout as layout
8559         (asciiParagraph): layout as layout
8560         (latexParagraphs): layout as layout
8561         (makeLinuxDocFile): layout as layout
8562         (simpleLinuxDocOnePar): layout as layout
8563         (makeDocBookFile): layout as layout
8564         (simpleDocBookOnePar): layout as layout
8565         (getLists): layout as layout
8566
8567         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8568
8569         * CutAndPaste.C (cutSelection): layout as layout
8570         (pasteSelection): layout as layout
8571         (SwitchLayoutsBetweenClasses): layout as layout
8572
8573         * BufferView_pimpl.C (Dispatch): layout as layout
8574         (smartQuote): layout as layout
8575
8576         * BufferView2.C (unlockInset): layout as layout
8577
8578 2002-06-24  André Pönitz <poenitz@gmx.net>
8579
8580         * lyxfunc.C: fix #487
8581
8582 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8583
8584         * lyxrc.h:
8585         * lyxrc.C:
8586         * lyxfunc.C: remove display_shortcuts, show_banner
8587
8588 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * Buffer_pimpl.C: oops, update on resize
8591
8592 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8593
8594         * buffer.C:
8595         * converter.C:
8596         * exporter.C:
8597         * lyxfunc.C:
8598         * BufferView.h:
8599         * BufferView.C: use repaint()
8600
8601         * BufferView_pimpl.h:
8602         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8603           as it's a clearer description. Remove superfluous
8604           redraws.
8605
8606 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * text.C: fix bug 488. Not ideal, but getting
8609           getWord() to work properly for the insets that
8610           matter is more difficult ...
8611
8612 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * BufferView_pimpl.C:
8615         * LyXAction.C:
8616         * commandtags.h:
8617         * lyxfunc.C: remove the six million index lyxfuncs to just
8618           one, and DTRT (bug 458)
8619
8620 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * BufferView.h:
8623         * BufferView.C:
8624         * BufferView_pimpl.h:
8625         * BufferView_pimpl.C: clean up resize() stuff,
8626           and unnecessary updateScreen()s
8627
8628 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * BufferView.h:
8631         * BufferView.C:
8632         * BufferView_pimpl.h:
8633         * BufferView_pimpl.C:
8634         * lyxfind.h:
8635         * lyxfind.C:
8636         * minibuffer.C: remove focus management of workarea,
8637           not needed. Use screen's greyOut()
8638
8639 2002-06-17  Herbert Voss  <voss@lyx.org>
8640
8641         * converter.C: (convert) do not post a message, when converting
8642         fails, let the calling function decide what to do in this case
8643
8644 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * lyxfunc.C: tidy up a little
8647
8648 2002-06-16    <alstrup@diku.dk>
8649
8650         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8651         Got rid of FORMS_H_LOCATION include. Now we are
8652         GUII.
8653
8654 2002-06-15  LyX Development team  <lyx@rilke>
8655
8656         * buffer.[Ch] (sgmlOpenTag):
8657         (sgmlCloseTag): Added support for avoiding pernicious mixed
8658         content. Return number of lines written.
8659
8660         (makeLinuxDocFile):
8661         (makeDocBookFile): Fixed calls to sgml*Tag.
8662         Simple white space clean.
8663
8664         (simpleDocBookOnePar): Simple white space clean.
8665
8666         * tabular.[Ch] (docBook): Renamed to docbook and got another
8667         argument to related with the pernicious mixed content.
8668
8669         (docbookRow): Fixed calls for docbook inset method.
8670
8671 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8672
8673         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8674         so it's X11 independent.
8675
8676         * kb*.[Ch]: ditto.
8677
8678         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8679
8680 2002-06-15  Lyx Development team  <lyx@electronia>
8681
8682         * intl.h: Renamed getTrans to getTransManager.
8683
8684 2002-06-14  Angus Leeming  <leeming@lyx.org>
8685
8686         * Makefile.am: nuke forgotten stl_string_fwd.h.
8687
8688 2002-06-12  Angus Leeming  <leeming@lyx.org>
8689
8690         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8691
8692 2002-06-13  Angus Leeming  <leeming@lyx.org>
8693
8694         * LaTeX.C:
8695         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8696
8697 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8698
8699         * kbmap.C (getiso): add support for cyrillic and greek
8700
8701 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8702
8703         * BufferView.h:
8704         * BufferView.C:
8705         * BufferView_pimpl.h:
8706         * BufferView_pimpl.C: move bogus scrolling logic
8707           to xforms
8708
8709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * lyxfunc.C:
8712         * BufferView_pimpl.C: view->resize() change
8713
8714 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8715
8716         * BufferView_pimpl.C: topCursorVisible
8717           prototype change
8718
8719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * Makefile.am:
8722         * lyx_gui.h:
8723         * lyx_gui.C: move to frontends/
8724
8725         * main.C:
8726         * lyx_main.h:
8727         * lyx_main.C: changes from above
8728
8729 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * intl.C:
8732         * intl.h:
8733         * kbmap.C:
8734         * kbsequence.C:
8735         * lyx_cb.C:
8736         * lyx_main.C: minor tidy
8737
8738 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * BufferView_pimpl.h:
8741         * BufferView_pimpl.C:
8742         * BufferView.h:
8743         * BufferView.C: make painter() const,
8744           remove dead code
8745
8746         * BufferView2.C: use screen() accessor
8747
8748         * lyx_main.h:
8749         * lyx_main.C: some minor cleanup
8750
8751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * BufferView_pimpl.h:
8754         * BufferView_pimpl.C: remove enter/leaveView,
8755           use workHeight()
8756
8757 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * BufferView.h:
8760         * BufferView.C:
8761         * BufferView2.C:
8762         * BufferView_pimpl.h:
8763         * BufferView_pimpl.C: only construct screen once,
8764           rename
8765
8766         * lyxrc.C: remove pointless comment
8767
8768 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * BufferView.h:
8771         * BufferView.C: remove active() and belowMouse()
8772
8773         * BufferView_pimpl.h:
8774         * BufferView_pimpl.C: use workarea() not workarea_,
8775           and make it use a scoped_ptr instead
8776
8777 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * lyx_gui.C: add debug message on BadWindow
8780
8781 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * sp_spell.C: fdopen is not part of the C++ standard.
8784
8785         * paragraph.C (InsetIterator): use >= instead of ==
8786
8787 2002-06-07  Angus Leeming  <leeming@lyx.org>
8788
8789         Fixes needed to compile with Compaq cxx 6.5.
8790         * BufferView_pimpl.C:
8791         * DepTable.C:
8792         * buffer.C:
8793         * converter.C:
8794         * encoding.C:
8795         * lyx_gui.C:
8796         * lyx_main.C:
8797         * lyxtextclasslist.C:
8798         * minibuffer.C:
8799         * sp_spell.C:
8800         * tabular_funcs.C:
8801         * vc-backend.C:
8802         all c-library variables have been moved into namespace std. Wrap
8803         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8804
8805         * lyxlength.C:
8806         * tabular-old.C:
8807         * tabular.C:
8808         Add a using std::abs declaration.
8809
8810         * kbmap.h (modifier_pair):
8811         * paragraph.h (InsetTable, InsetList):
8812         * lyxfont.h (FontBits):
8813         type definition made public.
8814
8815         * bufferlist.C (emergencyWriteAll): the compiler complains that
8816         there is more than one possible lyx::class_fun template to choose from.
8817         I re-named the void specialisation as lyx::void_class_fun.
8818
8819         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8820
8821         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8822         the compiler is is unable to find tostr in write_attribute.
8823
8824 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * buffer.C (sgmlError): hide #warning
8827
8828 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * xtl/*: get rid of xtl, which is not in use anyway
8831
8832         * LyXAction.C (init):
8833         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8834         were unimplemented xtl experimentation
8835
8836 2002-06-04  André Pönitz <poenitz@gmx.net>
8837
8838         * lyxfunc.C: disable array operation on simple formulae
8839
8840 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8841
8842         * converter.C: constify a bit
8843
8844 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * lyx_gui.C: check xforms version correctly
8847
8848 2002-04-30  Herbert Voss  <voss@lyx.org>
8849
8850         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8851         "keep" option
8852
8853 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8856           attempt to register it with a VCS)
8857
8858 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * lyx_main.C (init): honor variables LYX_DIR_13x and
8861         LYX_USERDIR_13x
8862
8863 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * buffer.h:
8866         * buffer.C:
8867         * lyx_main.C: fix a crash on bad command line,
8868           and give a useful exit status on error
8869
8870         * lyxfunc.C (doImport): allow -i lyx to work
8871
8872 2002-03-30  André Pönitz <poenitz@gmx.net>
8873
8874         * lyxfunc.C: mathed font changes
8875
8876 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8877
8878         * LaTeX.C:
8879         * importer.h:
8880         * importer.C:
8881         * lyx_sty.h:
8882         * lyx_sty.C:
8883         * lyxlex.C:
8884         * lyxrow.h:
8885         * lyxtext.h:
8886         * paragraph.h:
8887         * paragraph.C:
8888         * texrow.h:
8889         * texrow.C:
8890         * text.C:
8891         * trans_mgr.h: srcdocs, and some minor cleanups
8892
8893 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8896         call getFont all the time)
8897
8898 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8899
8900         * switch from SigC signals to boost::signals
8901
8902 2002-05-29  André Pönitz <poenitz@gmx.net>
8903
8904         * paragraph_pimpl.C (getChar): don't call size() too often...
8905
8906 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * paragraph_pimpl.C (insertChar): do not try to update tables when
8909         appending (pos == size())
8910
8911         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8912         in order to reduce drastically the number of comparisons needed to
8913         parse a large document
8914
8915 2002-05-29  André Pönitz <poenitz@gmx.net>
8916
8917         * text.C:
8918         * text2.C:
8919         * lyxtextclass.C:
8920         * sp_pspell.h:
8921         * textclasslist.[Ch]:
8922         * sp_ispell.h: whitespace change
8923
8924 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8925
8926         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8927         lyxaction directly now.
8928
8929 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * trans.C:
8932         * lyxfont.C:
8933         * lyxvc.C: remove unused headers
8934
8935 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * Makefile.am:
8938         * buffer.h:
8939         * undostack.h:
8940         * undostack.C:
8941         * undo_funcs.h:
8942         * undo_funcs.C: some cleanups. Use shared_ptr
8943           and a template for the undo stacks.
8944
8945 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8946
8947         * BufferView_pimpl.h:
8948         * BufferView_pimpl.C:
8949         * kbmap.h:
8950         * kbmap.C:
8951         * kbsequence.h:
8952         * kbsequence.C:
8953         * lyxfunc.h:
8954         * lyxfunc.C:
8955         * text2.C: use key_state/mouse_state
8956
8957 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8960         and LSubstring
8961
8962         * chset.C: change include order
8963         (loadFile): use boost regex and get rid of LRegex and LSubstring
8964
8965         * Makefile.am (BOOST_LIBS): new variable
8966         (lyx_LDADD): use it
8967
8968         * LaTeX.C: change include order.
8969         (scanAuxFile): use boost regex and get rid of LRegex and
8970         LSubstring
8971         (deplog): ditto
8972
8973 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8974
8975         * ColorHandler.h:
8976         * ColorHandler.C:
8977         * FontInfo.h:
8978         * FontInfo.C: moved to frontends/xforms/
8979
8980         * FontLoader.h:
8981         * FontLoader.C: moved into frontends for GUIIzation
8982
8983         * Makefile.am:
8984         * lyx_gui.C:
8985         * lyxfont.C:
8986         * lyxfunc.C: changes from above
8987
8988 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8989
8990         * LColor.C: remove spurious X include
8991
8992         * BufferView_pimpl.C:
8993         * Makefile.am:
8994         * font.h:
8995         * font.C:
8996         * text.C:
8997         * text2.C: move font metrics to frontends/
8998
8999 2002-05-24  Juergen Vigna  <jug@sad.it>
9000
9001         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9002         setting the undo_cursor.
9003
9004         * ParagraphParameters.h: include local includes first.
9005
9006 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * BufferView_pimpl.C:
9009         * BufferView_pimpl.h:
9010         * Makefile.am:
9011         * WorkArea.h:
9012         * WorkArea.C:
9013         * screen.C: move WorkArea into frontends/
9014
9015         * lyxscreen.h:
9016         * screen.C:
9017         * text.C:
9018         * BufferView.C:
9019         * BufferView2.C: move LyXScreen into frontends/
9020
9021         * lyxlookup.h:
9022         * lyxlookup.C:
9023         * lyx_gui.C: move lyxlookup into frontends/xforms/
9024
9025 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9026
9027         * BufferView2.C:
9028         * BufferView_pimpl.C:
9029         * FontLoader.C:
9030         * LyXView.h:
9031         * LyXView.C:
9032         * Makefile.am:
9033         * WorkArea.C:
9034         * XFormsView.h:
9035         * XFormsView.C:
9036         * buffer.C:
9037         * bufferlist.C:
9038         * bufferview_funcs.C:
9039         * converter.C:
9040         * importer.C:
9041         * lyx_cb.C:
9042         * lyx_gui.C:
9043         * lyx_main.C:
9044         * lyx_find.C:
9045         * lyxfunc.C:
9046         * lyxvc.C:
9047         * minibuffer.C:
9048         * text.C:
9049         * text2.C:
9050         * trans.C:
9051         * vc-backend.C: move LyX/XFormsView into frontends/
9052
9053 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * Makefile.am:
9056         * PainterBase.C:
9057         * PainterBase.h:
9058         * Painter.C:
9059         * Painter.h:
9060         * WorkArea.C:
9061         * WorkArea.h:
9062         * screen.C:
9063         * tabular.C:
9064         * text.C:
9065         * text2.C: move Painter to frontends/
9066
9067 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * buffer.C: comment out some some code that depend upon lyx_format
9070         < 220
9071
9072         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9073         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9074
9075         * buffer.h (NO_COMPABILITY): turn off compability
9076
9077         * ColorHandler.C: include scoped_array.hpp
9078
9079         * font.C: Use more specific smart_ptr header.
9080         * Painter.C: ditto
9081         * gettext.C: ditto
9082         * ShareContainer.h: ditto
9083         * lyx_main.h: ditto
9084         * kbmap.h: ditto
9085         * FontInfo.h: ditto
9086         * BufferView_pimpl.h: ditto
9087         * ColorHandler.h: ditto
9088
9089         * kbmap.C (defkey): change call to shared_ptr::reset
9090
9091 2002-05-21  Juergen Vigna  <jug@sad.it>
9092
9093         * buffer.C (insertErtContents): fix to insert ert asis if it is
9094         non empty. Skip it completely if it contains only whitespaces.
9095
9096 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9097
9098         * BufferView_pimpl.C:
9099         * BufferView2.C: clear selection on paste (bug 393)
9100
9101 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * DepTable.C: include ctime
9104
9105 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9106
9107         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9108
9109 2002-05-14  Juergen Vigna  <jug@sad.it>
9110
9111         * text.C (breakParagraph): fixed function to honor the keepempty
9112         layout in the right maner and also to permit the right breaking
9113         algorithm on empty or non empyt keepempty paragraphs.
9114
9115         * paragraph.C (breakParagraph): we have to check also if the par
9116         is really empty (!size()) for isempty otherwise we do the wrong
9117         paragraph break.
9118
9119 2002-05-10  Juergen Vigna  <jug@sad.it>
9120
9121         * buffer.[Ch] : The following are only changes to the ert
9122         compatibility read reading old LaTeX layout and font stuff and
9123         convert it to ERTInsets.
9124
9125         * buffer.h: added isErtInset().
9126
9127         * buffer.C (struct ErtComp): add a fromlayout bool to check
9128         if we're inside a LaTeX layout.
9129         (isErtInset): new helper function.
9130         (insertErtContents): look for other ert insets before this one
9131         and insert the contents there, so that we don't have subsequent
9132         ERT insets with nothing between them. This way we create only one
9133         inset with multiple paragraphs. Also check if we don't insert only
9134         spaces ' ' as they are ignored anyway afterwards in the .tex file
9135         so if we have only spaces we will ignore this latex part in the
9136         new file.
9137         (parseSingleLyXformat2Token \\layout): better compatibility when
9138         reading layout-latex stuff.
9139         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9140         language tag.
9141         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9142         stuff after reading the inset only get the information back from
9143         the stack.
9144
9145 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9146
9147         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9148
9149         * LaTeXFeatures.C (getBabelOptions): New method.
9150
9151 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * BufferView_pimpl.C (Dispatch): work around missing argument for
9154         'layout'
9155
9156 2002-05-08  Juergen Vigna  <jug@sad.it>
9157
9158         * text.C (leftMargin): handle paragraph leftindent.
9159
9160         * paragraph.C (writeFile): write the new \\leftindent tag.
9161         (validate): handle leftindent code.
9162         (TeXEnvironment): handle paragraphleftindent code again.
9163
9164         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9165
9166         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9167         for paragrap_extra indent code and new token \\leftindent.
9168         (latexParagraphs): handle the leftindent as environment.
9169
9170         * ParameterStruct.h: added leftindent support.
9171
9172         * ParagraphParameters.C (leftIndent): added support functions for
9173         the paragraph left indent.
9174
9175         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9176         more appropriate.
9177
9178 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9179
9180         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9181         inside insetERT.
9182
9183         * text.C (computeBidiTables): No bidi in insetERT.
9184
9185         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9186         in RTL documents.
9187
9188 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * version.C.in: pre 5
9191
9192 2002-05-02  José Matos  <jamatos@fep.up.pt>
9193         * buffer.C (makeDocBookFile): white space changes, add newline to
9194         command styles.
9195         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9196
9197         * tabular.C (docBook): fix typo.
9198
9199 2002-05-03  Juergen Vigna  <jug@sad.it>
9200
9201         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9202         change in LyXText as we can not be sure it was not freed.
9203         (drawOneRow): remove unused code.
9204
9205         * text.C (drawInset): redo the calculation of the need_break_row as
9206         it could have a row which was already freed.
9207         (draw): look at the return value of drawInset and return false if
9208         it also returned false.
9209         (paintRowText): look at the return value of draw and return false if
9210         it also returned false.
9211
9212         * lyxtext.h: added bool return type to drawInset() and draw() so that
9213         if we have a change in the row so that the rowbreak has to be redone
9214         we abort drawing as it will be called again.
9215
9216 2002-05-02  Juergen Vigna  <jug@sad.it>
9217
9218         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9219         a change in the maintext also if we're inside an inset.
9220         (Dispatch): set the cursor again after a break line and after the
9221         screen has been updated as it could be we're in a different row.
9222
9223         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9224         to set the cursor behind the pargraph with > size().
9225         (setCursor): check also for the same paragraph when checking where
9226         to put the cursor if we have a NFR inset.
9227
9228         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9229         parts of layout read further up as it still was in the wrong
9230         position.
9231
9232 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9233
9234         * screen.C (drawFromTo): change sine fullRebreak always return
9235         true.
9236
9237         * buffer.C (parseSingleLyXformat2Token): reindent some
9238
9239         * BufferView_pimpl.C (update): change since fullRebreak always
9240         return true.
9241         (Dispatch): git rid of the last hardcoded "Standard"s.
9242
9243 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9244
9245         * text2.[Ch] (fullRebreak): make it return void now that we always
9246         returned true.
9247
9248 2002-04-30  Juergen Vigna  <jug@sad.it>
9249
9250         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9251         ert compatibility check for "latex" layout.
9252
9253 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9254
9255         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9256         minipages: use col% instead of p%, and also use the current font.
9257         (makeLaTeXFile): Fix use babel condition.
9258         (parseSingleLyXformat2Token): Correct font when reading old floats.
9259
9260 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9261
9262         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9263         inserting list of floats.
9264
9265 2002-04-25  Herbert Voss  <voss@lyx.org>
9266
9267         * MenuBackend.C (expand): don't add the graphics extensions to the
9268         export menu
9269
9270 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9273         non-existing layout, do not complain if it was the default layout
9274         of the original class (bug #342)
9275
9276 2002-04-24  Juergen Vigna  <jug@sad.it>
9277
9278         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9279         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9280
9281 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9282
9283         * buffer.C (getBibkeyList): If using \bibliography, return the
9284         option field with the reference itself. Enables us to provide natbib
9285         support when using \bibliography.
9286
9287 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9288
9289         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9290
9291         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9292         natbib is provided by the LaTeX class.
9293
9294 2002-04-23  Juergen Vigna  <jug@sad.it>
9295
9296         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9297         Wakeup functions.
9298
9299         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9300
9301 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9302
9303         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9304
9305         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9306         ensuremath around textordmasculine, textordfeminine and
9307         textdegree.
9308
9309 2002-04-19  Juergen Vigna  <jug@sad.it>
9310
9311         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9312         reinitializing the buffer otherwise row-dimensions may be wrong.
9313         (update): reset also the selection cursors if they do exits otherwise
9314         their x/y positions may be wrong.
9315
9316         * text2.C (cursorDown): don't enter the inset if we came from a row
9317         above and are one row over the inset.
9318
9319         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9320         really leaving an inset.
9321
9322 2002-04-18  Juergen Vigna  <jug@sad.it>
9323
9324         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9325         of the selected paragraph does not have the selected layout also if
9326         the last one had!
9327
9328         * text2.C (setLayout): fixed bug which did not change last selected
9329         paragraph.
9330
9331         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9332         changed the read and substituted \\end_float with \\end_inset!
9333
9334         * BufferView_pimpl.C (cursorPrevious):
9335         (cursorNext): fixed to make it work with rows heigher than the work
9336         area without moving the cursor only the draw of the row.
9337         (workAreaMotionNotify): fix jumping over high rows.
9338
9339 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9342         Ressler.
9343
9344 2002-04-16  Juergen Vigna  <jug@sad.it>
9345
9346         * text2.C (setCursor): set also the irow().
9347         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9348         (cursorUp):
9349         (cursorDown): support for locking an inset if the x_fix value goes
9350         inside it. That way I can transverse insets too with cursor up/down.
9351
9352         * lyxrow.h: added irow helper function same as other (i) functions.
9353
9354         * BufferView_pimpl.C (cursorPrevious):
9355         (cursorNext): fixed for insets!
9356
9357 2002-04-15  Juergen Vigna  <jug@sad.it>
9358
9359         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9360         position otherwise it is wrong in some cases.
9361
9362         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9363         inside the inset before the call.
9364
9365 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9366
9367         * buffer.[Ch] (getBibkeyList): make it const.
9368
9369 2002-04-12  Juergen Vigna  <jug@sad.it>
9370
9371         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9372
9373         * text2.C (getCursorX): new helper function
9374         (setCursor): compute also ix_
9375         (setCursorFromCoordinates): set also ix.
9376
9377         * lyxcursor.h: added ix_ and helper functions.
9378
9379         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9380
9381         * buffer.C (insertStringAsLines): dont break paragraph if the this
9382         paragraph is inside an inset which does not permit it!
9383
9384         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9385         also with no chars on this paragraph.
9386         (paintRowText): only paint stuff if it's inside the workarea!
9387
9388         * paragraph.C (breakParagraph): honor keepempty flag and break the
9389         paragraph always below not above.
9390
9391         * BufferView2.C (unlockInset): update the paragraph layout on inset
9392         unlock as we changed paragraph in such a case.
9393
9394         * lyxfind.C (LyXFind): clear the former selection if not found!
9395
9396         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9397         again called in insertChar().
9398
9399         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9400         an inset which uses the whole row!
9401         (rightMargin): ditto.
9402         (insertChar): force a rebreak if we inserted an inset!
9403
9404 2002-03-28  Herbert Voss  <voss@lyx.org>
9405
9406         * lyxlength.[Ch]: add inBP() to get the right PS-point
9407         units (BigPoint). With inPixels we have rounding errors
9408
9409 2002-04-11  Juergen Vigna  <jug@sad.it>
9410
9411         * text2.C (setCursorFromCoordinates): set iy to the right value.
9412         (setCursor): add check if row->previous exists!
9413
9414         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9415         an old float_type as this was the case in the old code!
9416
9417         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9418
9419         * BufferView2.C (showLockedInsetCursor): use iy
9420         (fitLockedInsetCursor): ditto
9421
9422         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9423         locked insets as there we have the right value now.
9424
9425         * lyxcursor.C: added iy_ variable and iy functions to set to the
9426         baseline of cursor-y of the locked inset.
9427
9428         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9429         (setCursor): fixed for insets which need a full row.
9430
9431         * text.C (rowLastPrintable): don't ignore the last space when before
9432         an inset which needs a full row.
9433         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9434         as last character of a row when before a inset which needs a full row.
9435
9436 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9437
9438         * version.C.in: update date
9439
9440         * text2.C (fullRebreak): try to always return true and see what
9441         happens...
9442
9443 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * MenuBackend.C (expand): use Floating::listName
9446
9447         * FloatList.C (FloatList): add listName argument to the built-in
9448         floats
9449
9450         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9451         text associated with the float.
9452
9453 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9456
9457 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9458
9459         * ShareContainer.h: add a couple of missing typenames.
9460
9461 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9462
9463         * lyxrc.C (getDescription): use _() correctly rather than N_().
9464
9465 2002-03-28  Herbert Voss  <voss@lyx.org>
9466
9467         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9468         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9469
9470 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9471
9472         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9473         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9474
9475 2002-03-29  Juergen Vigna  <jug@sad.it>
9476
9477         * lyxfunc.C (dispatch): add a missing fitCursor call.
9478
9479         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9480         it was scrolled by a cursor move, so return the bool status.
9481
9482         * BufferView.C (fitCursor): return the bool flag also to the outside
9483         world as this is needed.
9484
9485         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9486
9487         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9488         call the edit() as it is not needed (and wrong) IMO.
9489         (workAreaButtonPress): set the screen_first variable before evt.
9490         unlock the inset as this may change screen_first and then we have
9491         a wrong y position for the click!
9492
9493 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * MenuBackend.C (expand): another translation that I missed
9496
9497 2002-03-28  Juergen Vigna  <jug@sad.it>
9498
9499         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9500
9501         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9502
9503 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9504
9505         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9506
9507         * MenuBackend.C (expand): fix export/view/update when there is no
9508         document open.
9509
9510 2002-03-27  Herbert Voss  <voss@lyx.org>
9511
9512         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9513         and text%
9514
9515 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * bufferview_funcs.C (currentState): only show paragraph number
9518         for is DEVEL_VERSION is set.
9519
9520         * lyxfunc.C (dispatch): put warning in INFO channel
9521
9522         * MenuBackend.C (expand): translate the name of floats
9523
9524         * FloatList.C (FloatList): mark the float names for translation
9525
9526         * converter.C (convert): use LibScriptSearch
9527
9528 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9529
9530         * MenuBackend.C (defaults): fix default menu (we might as well get
9531         rid of it...)
9532
9533 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9534
9535         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9536         directory.
9537
9538 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9539
9540         * lyxvc.C: reorder includes.
9541
9542 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9545           properly
9546
9547 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * CutAndPaste.C: change layouts earlier on paste
9550           to avoid crashing when calling getFont()
9551
9552 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9553
9554         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9555         irritating #error.
9556
9557 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * WorkArea.C: remove 'Pending' debug message.
9560
9561         * most files: ws cleanup
9562
9563         * buffer.[Ch]: ws changes
9564
9565         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9566
9567 2002-03-21  Juergen Vigna  <jug@sad.it>
9568
9569         * tabular.C (SetMultiColumn): collapse also the contents of the
9570         cells and set the last border right. Added a Buffer const * param.
9571
9572 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9575         linking or not.
9576
9577 2002-03-19  Juergen Vigna  <jug@sad.it>
9578
9579         * text2.C (clearSelection): reset also xsel_cache.
9580
9581         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9582         where it needs to be called (John tells us to do so too :)
9583         (selectionLost): reset sel_cache.
9584
9585         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9586
9587 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * text2.C (setCursorIntern): put debuging code in INSETS channel
9590
9591 2002-03-19  André Pönitz <poenitz@gmx.net>
9592
9593         * lyxfunc.C: tiny whitespace change
9594
9595 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * ToolbarDefaults.C (init):
9598         * LyXAction.C (init):
9599         * commandtags.h:
9600         * BufferView_pimpl.C (Dispatch):
9601         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9602
9603 2002-03-19  Allan Rae  <rae@lyx.org>
9604
9605         * exporter.C (Export): removeAutoInsets before doing anything else.
9606         While I've just introduced a dependency on BufferView this really is
9607         the best place to clean the buffer otherwise you need to cleanup in
9608         a dozen places before calling export or cleanup in a dozen functions
9609         that export calls.
9610
9611         * converter.C (runLaTeX):
9612         (scanLog): Better handling of removeAutoInsets and screen updates.
9613
9614         * lyxfunc.C (dispatch): small whitespace changes
9615
9616 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9617
9618         * WorkArea.C (C_WorkAreaEvent): return a value.
9619         (event_cb): return 1 if we handled the event, 0 otherwise.
9620
9621         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9622
9623 2002-03-18  Juergen Vigna  <jug@sad.it>
9624
9625         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9626         (GetAdditionalWidth): ditto.
9627         (RightLine): ditto.
9628         (LeftLine): ditto.
9629
9630         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9631         inset if we're there actually (probably not used right now but this
9632         is the direction to go for unifying code).
9633         (paste): disable code to clear the selection.
9634
9635         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9636         inside an InsetText and move the check further up as it is in the
9637         wrong place.
9638
9639         * text2.C (pasteSelection): set a selection over the pasted text.
9640
9641 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9642
9643         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9644         and libgraphics to build on Cygwin.
9645
9646 2002-03-15  Juergen Vigna  <jug@sad.it>
9647
9648         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9649         inserting an Inset into the paragraph. I know this is not the best
9650         fix but we already use current_view in CutAndPaste so we will remove
9651         all of it's using at the same time.
9652
9653         * buffer.C (sgmlError): deactivated function till it is rewritten in
9654         the right mode, now it can create problems.
9655
9656         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9657         before accessing it.
9658
9659 2002-03-14  Juergen Vigna  <jug@sad.it>
9660
9661         * undo_funcs.C (textHandleUndo): do the right thing when updating
9662         the inset after the undo/redo.
9663
9664         * text2.C (setCursor): just some testcode for #44 not ready yet.
9665
9666         * undo_funcs.C (textHandleUndo): set the next() and previous()
9667         pointers of the paragraph to 0 before deleting otherwise we have
9668         problems with the Paragraph::[destructor].
9669
9670         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9671         on a paragraph insertion.
9672
9673 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9674
9675         * buffer.C (asciiParagraph): use += operator for char append to
9676         string.
9677
9678         * paragraph.C (getFontSettings): compare >= not just >
9679         (highestFontInRange): ditto
9680         (setFont): ditto
9681
9682 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9683
9684         * paragraph.C: change several algorithm to be more appripriate for
9685         the problem domain. This is lookip in FontList and in the InsetList.
9686
9687 2002-03-13  André Pönitz <poenitz@gmx.net>
9688
9689         * commandtags.h:
9690         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9691
9692 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * commandtags.h:
9695         * LyXAction.C:
9696         * lyxfunc.C:
9697         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9698
9699 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9700
9701         * Painter.C (display): anon helper function, adjust code for this
9702         change.
9703         (pixmap): remove function.
9704
9705         * Painter.h: remove private display variable.
9706
9707         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9708
9709 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9710
9711         * WorkArea.[Ch]: remove figinset_canvas cruft.
9712
9713 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9714
9715         * lyxtextclass.C (operator): add one item cache optimization.
9716
9717         * bufferlist.h: doxy changes
9718
9719         * bufferlist.C: ws changes
9720
9721         * DepTable.[Ch] (ext_exist): place const in the right spot.
9722
9723         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9724         call resizeInsets.
9725         (workAreaExpose): call resizeInsets when the with BufferView changes.
9726         (Dispatch): adjust for protectedBlank removal
9727         (specialChar): call updateInset if the insert went ok.
9728
9729         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9730         specialChar instead.
9731
9732         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9733
9734         * BufferView.h: doxy change
9735
9736         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9737
9738         * lyxtextclass.C (operator[]): remove non-const version
9739         (defaultLayout): remove non-const version
9740
9741 2002-03-12  Juergen Vigna  <jug@sad.it>
9742
9743         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9744         did resize the LyXText too.
9745
9746         * buffer.C (readLyXformat2): set layout information on newly allocated
9747         paragraphs.
9748
9749         * tabular.C (OldFormatRead): set layout information on the paragraph.
9750
9751 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9752
9753         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9754
9755 2002-03-11  Juergen Vigna  <jug@sad.it>
9756
9757         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9758         plainly wrong.
9759         (resizeCurrentBuffer): force also the insets to resize themselfes.
9760         (moveCursorUpdate): fixed up for InsetText.
9761
9762 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * commandtags.h:
9765         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9766         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9767         value of Dialogs::tooltipsEnabled().
9768         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9769
9770 2002-03-08  Juergen Vigna  <jug@sad.it>
9771
9772         * BufferView_pimpl.C (updateInset): update inset inside inset also
9773         if it isn't inside theLockingInset().
9774
9775 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * buffer.C (asciiParagraph): redo some of the word and line length
9778         handling.
9779         (getLists): look for Caption instead of caption.
9780
9781 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * buffer.C (Buffer): initialize niceFile to true
9784         (makeLaTeXFile):
9785         (makeLinuxDocFile):
9786         (makeDocBookFile): make sure niceFile is true on exit
9787
9788 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9789
9790         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9791
9792 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9793
9794         * LyXSendto.C: remove.
9795         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9796         * lyx_gui.C: remove now-redundant comment.
9797         * ColorHandler.h: remove forward declaration of class WorkArea.
9798         * lyxfunc.C: remove #include "WorkArea.h".
9799
9800 2002-03-07  Juergen Vigna  <jug@sad.it>
9801
9802         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9803         got moved away with the DEPM and also set the inset_owner always
9804         right which before could have been omitted.
9805
9806 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9807
9808         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9809         wanted layout is not found.
9810
9811 2002-03-07  Juergen Vigna  <jug@sad.it>
9812
9813         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9814
9815 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9816
9817         * paragraph.C (breakParagraph): use default layout not layout of
9818         prev paragraph.
9819         (Paragraph): clear ParagraphParameters.
9820
9821 2002-03-06  Juergen Vigna  <jug@sad.it>
9822
9823         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9824         otherwise it would not be a valid lenght. Fixed a special case in
9825         the minipage compatibility read where we end the document with a
9826         minipage.
9827
9828         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9829         was set as it could be 0 for InsetTexts first entry.
9830
9831 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9832
9833         * paragraph.C (writeFile): if layout is empty write out
9834         defaultLayoutName().
9835
9836         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9837         file without named layout we set layout to defaultLayoutName().
9838
9839 2002-03-06  Juergen Vigna  <jug@sad.it>
9840
9841         * CutAndPaste.C (copySelection): set layout for new paragraph.
9842
9843         * text.C (prepareToPrint): leave ERT inset left aligned
9844         (leftMargin): don't indent paragraphs inside ERT insets
9845
9846 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * paragraph.C (breakParagraph): dont call clear do the work manually
9849
9850         * paragraph.[Ch] (clear): remove function
9851
9852 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * paragraph.C (Paragraph): dont call clear, the work has already
9855         been done.
9856
9857         * lyxtextclass.C (operator): assert if n is empty
9858
9859         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9860         work manually instead.
9861
9862 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * BufferView_pimpl.C: protect selectionLost against text == 0
9865
9866 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9867
9868         * text.C (breakParagraph): fix a setting layout to '0' problem.
9869
9870 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9871
9872         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9873         final location of file, for the included files, and graphics.
9874
9875 2002-03-05  Juergen Vigna  <jug@sad.it>
9876
9877         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9878
9879 2002-03-04  Juergen Vigna  <jug@sad.it>
9880
9881         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9882
9883         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9884         last column of multicolumn cells.
9885         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9886
9887 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9888
9889         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9890         file if it doesn't go to a temporary file.
9891
9892         * buffer.C (sgmlOpenTag):
9893         (sgmlCloseTag):  remove extra newline insertion.
9894
9895 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9896
9897         * text.C (getRowNearY): comment out debug msg
9898
9899 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * text2.C: first -> first_y
9902
9903         * text.C (getRowNearY): add some attemts at a possible
9904         optimization, not working.
9905
9906         * tabular.[Ch]: add BufferParams to several function so that newly
9907         created paragraph can be initialized to he default layotu for the
9908         buffers textclass.
9909
9910         * tabular-old.C (ReadOld): add buf->params to call of Init
9911
9912         * screen.C: rename text->first to text->first_y
9913
9914         * paragraph.C (breakParagraph): always set layout in the broken
9915         paragraph
9916
9917         * lyxtextclass.C (Read): remove lowercase
9918         (hasLayout): ditto
9919         (operator): ditto
9920         (delete_layout): ditto
9921
9922         * lyxtext.h: rename first -> first_y
9923
9924         * lyxlayout.C (Read): remove lowercase
9925         (name): ditto
9926         (setName): ditto
9927         (obsoleted_by): ditto
9928
9929         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9930
9931         * buffer.C (insertErtContents): add params are to InsetERT
9932         (parseSingleLyXformat2Token): add code to check if a paragraphs
9933         layout really exist.
9934         (parseSingleLyXformat2Token): add params to several inset
9935         constructors
9936         (asciiParagraph): remove lowercase, do the layout comparisons with
9937         no_case
9938
9939         * BufferView_pimpl.C (cursorNext): first -> first_y
9940         (resizeCurrentBuffer): first -> first_y
9941         (updateScrollbar): first -> first_y
9942         (scrollCB): first -> first_y
9943         (workAreaMotionNotify): first -> first_y
9944         (workAreaButtonPress): first -> first_y
9945         (checkInsetHit): first -> first_y
9946         (cursorPrevious): first -> first_y
9947         (cursorNext): first -> first_y
9948         (Dispatch): add buffer_->params to severl inset contructors
9949
9950 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9951
9952         * lyxlayout.C (Read): remove some debug info that I forgot.
9953
9954         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9955         clean up the code slightly.
9956         (makeLinuxDocFile): ditto
9957         (makeDocBookFile): ditto
9958
9959         * text2.C: layout as string
9960
9961         * text.C: layout as string
9962
9963         * paragraph_pimpl.C: layout as string
9964
9965         * paragraph.[Ch]: layout as string
9966
9967         * lyxtextclasslist.[Ch]: layout as string
9968
9969         * lyxtextclass.[Ch]: layout as string
9970
9971         * lyxtext.h: layout as string
9972
9973         * lyxlayout.[Ch]: layout as string
9974
9975         * lyx_cb.C: layout as string
9976
9977         * bufferview_funcs.C: layout as string
9978
9979         * bufferparams.C: layout as string
9980
9981         * buffer.C: layout as string
9982
9983         * LyXView.[Ch]: layout as string
9984
9985         * LaTeXFeatures.[Ch]: layout as string
9986
9987         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9988
9989         * BufferView_pimpl.C: change current_layout to string, remove
9990         lyx::layout_type.
9991         (Dispatch):
9992         (smartQuote):
9993         (insertInset):
9994         (workAreaButtonRelease): layout as string
9995
9996         * BufferView2.C (unlockInset): adjust
9997
9998         * vspace.C (asLatexCommand): use an explict temp variable.
9999
10000 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * Makefile.am: use FRONTEND_*
10003
10004 2002-03-01  Juergen Vigna  <jug@sad.it>
10005
10006         * tabular.C (SetWidthOfMulticolCell): changed to something better
10007         I hope but still work in progress.
10008         (recalculateMulticolumnsOfColumn): renamed function from
10009         recalculateMulticolCells as it is more appropriate now.
10010         (SetWidthOfCell): calculate multicols better.
10011
10012 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10013
10014         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10015
10016         * lyxfunc.C (processKeySym): print sequence also if it is
10017         `deleted' (complete)
10018
10019         * kbsequence.C (print): print sequence even if it is deleted
10020         (complete would be a better word, actually).
10021
10022         * lyxfunc.C (dispatch): print complete options after a prefix key
10023
10024         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10025
10026 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10027
10028         * text2.C (setCharFont): eliminate setCharFont code duplication.
10029
10030 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10031
10032         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10033         LFUN_TABULAR_FEATURE (bug #177)
10034
10035 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10036
10037         * Makefile.am: remove figure.h
10038
10039 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10040
10041         * Bufferview_pimpl.C:
10042         * CutAndPasteC:
10043         * LaTeX.C:
10044         * LyXSendto.C:
10045         * buffer.C:
10046         * bufferlist.C:
10047         * converter.C:
10048         * language.C:
10049         * lyxfunc.C:
10050         * lyxvc.C:
10051         * paragraph.C:
10052         * text.C:
10053         * text2.C: remove #include "lyx_gui_misc.h".
10054
10055         * LaTeX.C: added #include <cstdio>
10056
10057 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10060         that the paragraph following this one can have.
10061
10062         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10063
10064         * vspace.C (asLatexCommand): fix bogus gcc warning
10065
10066         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10067
10068 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10069
10070         * text2.C (setLayout): get rid of redundant code
10071
10072 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10073
10074         * text2.C (incDepth): make sure depth cannot be increased beyond
10075         reasonable values.
10076
10077 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10078
10079         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10080         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10081
10082         * PainterBase.h (image):
10083         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10084         a LyXImage const *.
10085
10086 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * BufferView.C:
10089         * BufferView.h:
10090         * BufferView_pimpl.C:
10091         * BufferView_pimpl.h:
10092         * LaTeXFeatures.C:
10093         * LyXAction.C:
10094         * LyXView.C:
10095         * Makefile.am:
10096         * UpdateList.h:
10097         * UpdateList.C:
10098         * buffer.C:
10099         * figure.h:
10100         * figureForm.C:
10101         * figureForm.h:
10102         * figure_form.C:
10103         * figure_form.h:
10104         * lyx_cb.C:
10105         * lyx_gui.C:
10106         * lyx_gui_misc.C:
10107         * lyxfunc.C:
10108         * sp_base.h:
10109         * sp_ispell.h:
10110         * sp_pspell.h:
10111         * sp_spell.C: remove fig inset, and the crap house of
10112           cards that follows it
10113
10114 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * Makefile.am:
10117         * lyxserver.C:
10118         * os2_defines.h:
10119         * os2_errortable.h:
10120         * nt_defines.h: move .h into support/
10121
10122         * vms_defines.h: remove
10123
10124         * WorkArea.C: add space in debug output
10125
10126         * text2.C:
10127         * paragraph.C:
10128         * buffer.C: add WITH_WARNINGS
10129
10130         * vc-backend.h:
10131         * vc-backend.C:
10132         * bufferlist.C: s/retrive/retrieve/, add docs
10133
10134         * vspace.h:
10135         * vspace.C:
10136         * kbmap.h:
10137         * lyxlength.h:
10138         * lyxgluelength.h:
10139         * length_common.h:
10140         * chset.h:
10141         * chset.C: add docs
10142
10143         * lyxgui.C: add ID to X error handler
10144
10145         * lyxtestclass.c: fix typo
10146
10147 2002-02-26  Juergen Vigna  <jug@sad.it>
10148
10149         * tabular_funcs.C (write_attribute): changed so that some default
10150         attributes are not written at all.
10151         (getTokenValue): set default values before trying to read the
10152         value so we have the return value always set as default if we don't
10153         find the token we search for.
10154
10155         * tabular.C (Write): write bools as bools not as strings!
10156
10157 2002-02-22  Juergen Vigna  <jug@sad.it>
10158
10159         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10160         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10161
10162         * text.C (leftMargin): don't add an indent for paragraphs inside
10163         tabular cells (fix #208).
10164
10165 2002-02-21  José Matos  <jamatos@fep.up.pt>
10166
10167         * tabular.C (docBook): fixed support for long tables.
10168
10169 2002-02-20  Juergen Vigna  <jug@sad.it>
10170
10171         * text2.C (getFont): get the drawing font of the Inset if this
10172         paragraph is inside an inset (only important for InsetERT for now).
10173
10174         * buffer.C (insertErtContents): use new lanugage params in ERT
10175         constructor.
10176
10177         * CutAndPaste.C: commenting out seemingly uneeded code.
10178
10179 2002-02-19  Allan Rae  <rae@lyx.org>
10180
10181         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10182         Iterators might be simple to use but they also get invalidated.
10183         (removeAutoInsets): renamed saved cursor tracking variables and added
10184         some comments to clarify what everything does.
10185
10186 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10187
10188         * Chktex.C:
10189         * LaTeX.C:
10190         * LyXSendto.C:
10191         * converter.C:
10192         * lyx_cb.C:
10193         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10194         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10195
10196         * lyxfunc.C:
10197         * vc-backend.h: remove #include "support/syscall.h"
10198
10199         * LaTeX.C:
10200         * LyXSendto.C:
10201         * converter.C: rearrange #includes in Lars' approved fashion.
10202
10203         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10204         forward declare class Timeout in the header file.
10205
10206         * XFormsView.C: changes due to the above.
10207
10208         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10209         similar to LyXView.
10210
10211         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10212         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10213
10214 2002-02-18  José Matos  <jamatos@fep.up.pt>
10215
10216         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10217         insets contents.
10218
10219 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10220
10221         * a lot of small ws changes
10222         * add a lot of using std::XXX
10223         * use std construcs some places where approp.
10224         * use some exisint stuff from lyxfunctional where approp.
10225         * Make file changes to use partial linking (lets test this now...)
10226
10227 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * Chktex.C:
10230         * buffer.C:
10231         remove #include "support/syscontr.h" as it's redundant. Always has been.
10232
10233         * Chktex.C:
10234         * LaTeX.C:
10235         * LyXSendto.C:
10236         * converter.C:
10237         * lyx_cb.C:
10238         * vc-backend.C:
10239         change Systemcalls::System to Systemcalls::Wait and
10240         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10241         No change of functionality, just reflects the stripped down Systemcalls
10242         class.
10243
10244 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10245
10246         * debug.[Ch]: add a GRAPHICS type to the enum.
10247
10248 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10251
10252         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10253         there is an inset.
10254
10255 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10256
10257         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10258         match the changes below.
10259
10260         * text2.C (toggleInset): if there is not editable inset at cursor
10261         position, try to see if cursor is _inside_ a collapsable inset
10262         and close it.
10263
10264 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10267         document menu has a nice checkbox
10268
10269 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * lyxlength.C (asLatexString): change PW to output as percent of
10272         \textwidth.
10273
10274         * lengthcommon.C: change '%' to 't%'
10275
10276         * lyxfunc.C (dispatch): a few comments from Martin
10277
10278 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * WorkArea.h:
10281         * WorkArea.C:
10282         * BufferView_pimpl.h:
10283         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10284           the X selection.
10285
10286 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * vspace.C (inPixels): fix compiler warning
10289
10290 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * lyxfunc.C (getStatus): fix status message for disabled commands.
10293
10294 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView_pimpl.C: fix crash on close buffer
10297         during selection (#227)
10298
10299 2002-01-27  Herbert Voss  <voss@lyx.org>
10300
10301         * buffer.C: link old Figure to new graphic inset
10302
10303 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10304
10305         * FontLoader.C (getFontinfo): Change the latex font names in order
10306         to match the names of type1inst.
10307
10308 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10309
10310         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10311
10312         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10313         (extchanged): ditto
10314         (ext_exist): ditto
10315         (remove_files_with_extension): ditto
10316         (remove_file): ditto
10317         (write): ditto
10318
10319         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10320         document is smaller than the work area height. Do not initialize
10321         static variables to 0.
10322
10323 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10324
10325         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10326
10327         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10328         LFUN_LAYOUT_PARAGRAPHS.
10329
10330         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10331         tabular. It is possible to provide a possible cell, which will
10332         typically be the actcell from the corresponding insettabular
10333
10334         * lyxfunc.C (getStatus): small cleanup; disable
10335         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10336         true
10337
10338 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10341
10342         * paragraph.C (startTeXParParams):
10343         (endTeXParParams): new methods. The LaTeX code to
10344         start/end paragraph formatting
10345         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10346         empty (fixes bug #200)
10347
10348         * vspace.C (inPixels): adapt to the change below
10349         (inPixels): [later] more cleanups (remove unused variables)
10350
10351         * lyxlength.C (inPixels): change to use a width and a height as
10352         parameter.
10353
10354 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10357         Replaced with \paperwidth
10358
10359         * DepTable.C (insert): add std:: qualifier
10360
10361 2002-01-18  Allan Rae  <rae@lyx.org>
10362
10363         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10364         updated also?
10365
10366         * text.C (drawInset): Turned out I didn't know enough about how
10367         rebreaking worked.  This fixes most of the redraw problems.  I see
10368         an occasional cursor trail when a line is broken now and the cursor
10369         placement can seem out by a few pixels also after a rebreak.
10370
10371 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * buffer.C (parseSingleLyXformat2Token): update because minipage
10374         width is now a LyXLength
10375
10376         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10377
10378         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10379         math insets
10380
10381 2002-01-17  Juergen Vigna  <jug@sad.it>
10382
10383         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10384
10385         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10386         is set correctly and the inset is updated correctly.
10387
10388 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10389
10390         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10391         the beginning of the loop.
10392
10393 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * lyxrc.C: improve help for use_scalable_fonts
10396
10397 2002-01-17  Allan Rae  <rae@lyx.org>
10398
10399         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10400
10401 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10404         make sure to set their inset_owner to the right value (bug #171)
10405
10406 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10407
10408         * DepTable.h
10409         * DepTable.C: Implement mtime checking to reduce time spent doing
10410         CRCs.
10411
10412 2002-01-16  Juergen Vigna  <jug@sad.it>
10413
10414         * tabular.C (GetAdditionalHeight): one of error fixed.
10415
10416         * lyxrc.C (output): small fix in writing use_pspell.
10417
10418 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10419
10420         * sp_base.h: #include LString.h
10421
10422 2002-01-16  Allan Rae  <rae@lyx.org>
10423
10424         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10425         Can someone check this please?
10426
10427         * text.C (drawInset): It was possible that p.row would be removed by
10428         breakAgainOneRow upsetting a few other settings.  There may be another
10429         small tweak possible by setting need_break_row = 0 when p.row has been
10430         removed but I don't know enough about the logic here.
10431
10432 2002-01-15  Allan Rae  <rae@lyx.org>
10433
10434         * text.C (insertChar): removed conditional truism.
10435
10436         * BufferView2.C (removeAutoInsets): More tweaks.
10437         cur_par_prev could be a stray pointer.  Check for trailing empty line
10438         in case last line was cur_par and only had an error inset on it.
10439
10440 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10443         absolute
10444
10445         * vc-backend.C (most methods):
10446         * exporter.C (Export):
10447         * converter.C (convert):
10448         (runLaTeX):
10449         * LyXSendto.C (SendtoApplyCB):
10450         * lyxfunc.C (dispatch):
10451         (menuNew):
10452         (open):
10453         (doImport):
10454         * lyx_cb.C (AutoSave):
10455         (InsertAsciiFile):
10456         * BufferView_pimpl.C (MenuInsertLyXFile):
10457         * buffer.C (runChktex): use Buffer::filePath().
10458
10459         * buffer.h: rename filename to filename_; rename filepath to
10460         filepath_ and make it private
10461         (filePath): new method
10462
10463         * buffer.C (writeFile): use fileName()
10464         (getLatexName):
10465
10466         * lyx_main.C (init): fix starting  of LyX when the binary is a
10467         link from so,ewhere else.
10468
10469         * minibuffer.C: include <cctype> for isprint
10470
10471 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10474         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10475         name clash with InsetCollapsable's width function.
10476
10477 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * lastfiles.C: include <iterator>
10480
10481 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10482
10483         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10484         std::count.
10485
10486         * buffer.C (makeLaTeXFile): ditto.
10487         Also make loop operation more transparent.
10488
10489 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * ToolbarDefaults.C: remove trailing comma closing namespace.
10492
10493         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10494
10495         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10496         as in WorkArea.
10497
10498         * trans.C (Load): comment out unused variable, allowed.
10499
10500 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10501
10502         * minibuffer.[Ch] (append_char): new method to recieve input from the
10503         drop-down completion browser. If a key was pressed, then recieve this
10504         char and append it to the existing string.
10505         (peek_event): modify the positioning data passed to the completion
10506         browser so that it can be placed above the minibuffer rather than below.
10507 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10508
10509         * LyXAction.C (init): alloe error-next for readonly documents.
10510
10511         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10512         count.
10513
10514 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * bufferlist.C (readFile): create the buffer _after_ checking that
10517         the file exists.
10518
10519         * lyxfunc.C (verboseDispatch): fix handling of arguments
10520
10521         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10522
10523         * lyxrc.C: use string::erase() instead of initializing to "".
10524
10525
10526 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * BufferView_pimpl.h:
10529         * BufferView_pimpl.C:
10530         * WorkArea.h:
10531         * WorkArea.C:
10532         * text2.C: tell X when we have made a selection for copying
10533
10534 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * BufferView_pimpl.C (MenuInsertLyXFile):
10537         * lyxfunc.C (menuNew):
10538         (open):
10539         (doImport): add shortcuts to directory buttons
10540
10541         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10542         open a float)
10543
10544         * lyxfunc.C (setStatusMessage):
10545         (getStatusMessage): new methods
10546         (getStatus):use setStatusMessage instead of setErrorMessage
10547         (dispatch): when function is disabled, set error message here
10548         [instead of in getStatus previously]
10549
10550         * BufferView_pimpl.C (workAreaButtonRelease): update
10551         toolbar/menubar here too.
10552
10553 2002-01-13  Allan Rae  <rae@lyx.org>
10554
10555         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10556         Now seems indestructible.  Remaining task is to audit all other
10557         code affected by deleteEmptyParagraphMechanism.  One small quirk
10558         left is that an empty document with an error in the preamble can
10559         be made to report an error but no error box appears.  I don't know
10560         where it goes.
10561         (removeAutoInsets): Improved comments.
10562
10563 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * Thesaurus.h:
10566         * Thesaurus.C: update for Aiksaurus 0.14
10567
10568 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10569
10570         * text2.C (firstParagraph): removed member function, all uses
10571         replaces with ownerParagraph
10572         (redoParagraphs): here
10573         (updateInset): here
10574         (toggleAppendix): here
10575         * BufferView2.C (insertErrors): here
10576         (setCursorFromRow): here
10577
10578 2002-01-13  Allan Rae  <rae@lyx.org>
10579
10580         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10581         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10582         There is still a way to segfault this although you may have to do this
10583         multiple times: Have an InsetERT with an unknown command in it.
10584         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10585         <down-arrow>, <Enter> again, View->DVI, BANG!
10586
10587         * text2.C (setCursor):
10588         (deleteEmptyParagraphMechanism):
10589         * lyxtext.h (setCursor):
10590         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10591         Making use of the return value may help fix other bugs.
10592
10593 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10594
10595         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10596
10597         * LyXView.C (updateMenubar): call MenuBar::update here
10598         (updateToolbar): but not here
10599         (showState): do not update toolbar/menubar
10600
10601         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10602         should need to care about that.
10603
10604         * lyxfunc.C (verboseDispatch): simplify a bit
10605         (getStatus): have a version which takes a pseudoaction, and
10606         another which requires a (kb_action,string).
10607
10608         * LyXAction.C (retrieveActionArg): make it work also when action
10609         is not a pseudo-action.
10610         (getActionName): simplify a bit
10611         (helpText):
10612
10613 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * lyxfunc.C (verboseDispatch): new families of methods with
10616         several ways to specify a command and a bool to indicate whether
10617         the command name and shortcut should be displayed in minibuffer
10618         (eventually, we could extend that to a finer bitmask like
10619         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10620         (dispatch): the pristine dispatch command which just, well,
10621         dispatchs! Note it still sets its result to minibuffer; I'm not
10622         sure we want that.
10623
10624         * lyxfunc.h: remove setHintMessage
10625
10626         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10627
10628 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * BufferView_pimpl.C (specialChar): delete new inset if we have
10631         not been able to insert it.
10632
10633         * kbmap.C: revert to using int instead of kb_action, since all we
10634         are dealing with is pseudo-actions.
10635
10636         * LyXAction.C (searchActionArg): change to return int instead of
10637         kb_action, since the result is a pseudoaction.
10638
10639 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10640
10641         * buffer.C (insertErtContents): Fix (partially) the font bug.
10642
10643 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10644
10645         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10646         as the other one is broken on my machine!
10647
10648 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10649
10650         * commandtags.h:
10651         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10652
10653 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10654
10655         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10656         reflect their actual use. Provide compatibility code for older lyxrc
10657         files.
10658
10659         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10660         FL_NORMAL_STYLE.
10661         change names of popup font variables in line with the changes to lyxrc.C
10662
10663 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * buffer.C (asciiParagraph): avoid outputing a word twice after
10666         an inset.
10667
10668         * lyxrc.C (getDescription): document that document_path and
10669         template_path can be empty.
10670
10671 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * LaTeXFeatures.C (getMacros):
10674         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10675
10676         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10677
10678         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10679         getPackages.
10680         (getPackages): rename feature "floats" to "float". Use an array to
10681         iterate over 'simple' features (i.e. just a \usepackage). Add
10682         handling of "amsmath" (renamed from "amsstyle").
10683
10684 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10685
10686         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10687         features list.
10688
10689 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10690
10691         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10692         FuncStaus::FuncStatus & FuncStaus::some_method().
10693
10694 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10695
10696         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10697         of the func_satus stuff. Edited and massaged in various ways by
10698         JMarc.
10699
10700         * lyxfunc.C (getStatus): use FuncStatus
10701
10702 2002-01-08  Juergen Vigna  <jug@sad.it>
10703
10704         * text.C (nextBreakPoint): use function Inset::isChar().
10705
10706         * paragraph.C (TeXOnePar): use function
10707         Inset::forceDefaultParagraphs.
10708
10709         * buffer.C (latexParagraphs): use function
10710         Inset::forceDefaultParagraphs.
10711
10712 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10713
10714         * lyx_gui.C (init): set the style of the menu popups to
10715         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10716
10717 2002-01-07  Juergen Vigna  <jug@sad.it>
10718
10719         * text.C (setHeightOfRow): small fix
10720         (prepareToPrint): don't look at alignment if we don't have the place
10721         for doing it.
10722
10723 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10724
10725         * box.C: New file. Move the Box methods and functions out of box.h,
10726         following Lars' suggestion.
10727
10728 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10729
10730         * box.h: #include "support/LOstream.h", needed for inlined function.
10731
10732         * lyxtextclass.C:
10733         * lyxtextclasslist.C: added some using std declarations.
10734
10735 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * box.h: make signed dimensions to allow insets wider than
10738           the screen (bug #162)
10739
10740         * BufferView_pimpl.C: add some insetHit debug
10741
10742 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * vc-backend.C: add FIXME
10745
10746 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10747
10748         * lyxfunc.C (getStatus): enable code for showing math font status
10749         in toolbar/menu.
10750
10751 2002-01-07  Juergen Vigna  <jug@sad.it>
10752
10753         * text.C (nextBreakPoint): removed debug output not needed anymore.
10754
10755 2002-01-06  Juergen Vigna  <jug@sad.it>
10756
10757         * text.C (nextBreakPoint): fixed up this function we had this bug
10758         since ever but now hopefully we break row better.
10759         (insertChar): we have to check if an inset is the next char as it
10760         could now happen that a large inset is causing a break.
10761
10762 2002-01-05  Juergen Vigna  <jug@sad.it>
10763
10764         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10765         if it doesn't like to be drawed.
10766
10767 2002-01-04  Juergen Vigna  <jug@sad.it>
10768
10769         * BufferView2.C (lockInset): forgot to set a cursor.
10770
10771         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10772
10773 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10774
10775         * FormMathsPanel.C:
10776         * FormMathsPanel.h
10777         * MathsSymbols.C:
10778         * form_maths_panel.C:
10779         * form_maths_panel.h:
10780         * form_maths_panel.fd: implemented sub- and super- buttons in math
10781         panel.
10782
10783         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10784         (or ^ space) to be used as in TeX (req'd by André).
10785
10786         * lyxfunc.C: Allow ^ and _ again to be used both as
10787         super/subscript (mathed) and as themselves (in text).
10788
10789 2002-01-03  Allan Rae  <rae@lyx.org>
10790
10791         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10792         "LyX" or the filename of the current buffer if it has one.  This is a
10793         modified form of John Levon's patch.
10794
10795         * XFormsView.C (setWindowTitle): also set icon title.
10796
10797         * LyXView.h (setWindowTitle): signature changed.
10798         * XFormsView.h (setWindowTitle): ditto.
10799
10800 2002-01-02  Juergen Vigna  <jug@sad.it>
10801
10802         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10803
10804 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10805
10806         * screen.C (topCursorVisible): introduce a temp var for
10807         text->cursor.row(), handle the case where this row is null. (kindo
10808         hachish)
10809
10810         * text2.C (setCursor): add a couple of asserts.
10811
10812         * paragraph.h (inset_iterator): add -> operator
10813
10814         * paragraph.[Ch] (autoDeleteInsets): remove member function
10815
10816         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10817         cursor pos correctly and handle inset deletion by itself.
10818         (insertErrors): move iterator declaration out of for expression
10819
10820         * lyxtextclass.C: add <algorithm>
10821
10822         * Makefile.am: added the new files to sources, removed layout.C
10823
10824         * layout.C: removed file
10825
10826         * layout.h: remove LYX_DUMMY_LAYOUT
10827
10828         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10829         layout.
10830
10831         * lyxlayout.[Ch]:
10832         * lyxtextclass.[Ch]:
10833         * lyxtextclasslist.[Ch]: new files
10834
10835         * include order changes to a lot of files, also changes because of
10836         the six new files.
10837
10838 2001-12-27  Juergen Vigna  <jug@sad.it>
10839
10840         * buffer.C (asciiParagraph): more fixes.
10841
10842         * tabular.C (ascii): make ascii export support export of only the
10843         data separated by a column-delimiter.
10844         (ascii): better support for ascii export.
10845
10846         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10847
10848 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * tabular_funcs.C: use a "using std::getline" instead of the
10851         previous fix from Angus (necessary for cxx + lyxstring)
10852
10853 2001-12-24  Juergen Vigna  <jug@sad.it>
10854
10855         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10856
10857         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10858         problems. First check a minipage also if we have some ert-contents
10859         (not only on par->size(), second set the right depth of the paragraph
10860         on the relink to the root-paragraph-list!
10861
10862         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10863         which then did not anymore update the main paragraphs on undo/redo!
10864
10865 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10868         code. Support all font-changing funcs (even those which are not in
10869         menu currently). Support for reporting font settings in
10870         mathed (disabled until Andre provides a function on mathed's side).
10871
10872         * func_status.h (toggle): small helper function to set toggle
10873         state on a flag.
10874
10875 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10876
10877         * tabular_funcs.C: getline -> std::getline
10878
10879 2001-12-21  Juergen Vigna  <jug@sad.it>
10880
10881         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10882         accessed and could be 0 (I couldn't generate this but it seems
10883         Michael could!).
10884
10885 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10888         * tabular_funcs.h: here and include iosfwd
10889
10890 2001-12-20  Juergen Vigna  <jug@sad.it>
10891
10892         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10893         inside inset but undo_par was.
10894
10895 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10896
10897         * Thesaurus.C: always include <config.h> in sources.
10898
10899         * Painter.h:
10900         * lyxlookup.h:
10901         * box.h: do not include <config.h> in header files
10902
10903         * text.C (paintLastRow): remove unused variable
10904
10905         * text.C (transformChar):
10906         (insertChar):
10907         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10908
10909         * Painter.C (text):
10910         * font.C (width): rewrite to use uppercase() instead of
10911         islower/toupper.
10912
10913         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10914
10915 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * lyxfind.C: clean up of find failure position change
10918
10919 2001-12-20  Juergen Vigna  <jug@sad.it>
10920
10921         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10922
10923         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10924         (TeXRow): added to LaTeX a single tabular row.
10925         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10926         (Latex): simplified and finally good LT-h/f support.
10927         (various_functions): just small adaptions for LT-h/f support.
10928
10929         * tabular_funcs.[hC]: added and moved here all not classfunctions
10930         of LyXTabular.
10931
10932 2001-12-19  Juergen Vigna  <jug@sad.it>
10933
10934         * tabular.[Ch]: better support for longtabular options (not finished
10935         yet!)
10936
10937 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * text.C (paintLastRow): use the label font instead of the font of
10940         the last character to compute the size of *_BOX. This makes more
10941         sense and avoids a crash with empty paragraphs.
10942         Use Painter::rectangle to draw EMPTY_BOX.
10943
10944 2001-12-19  Juergen Vigna  <jug@sad.it>
10945
10946         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10947         the paragraphs if the replaced paragraph is not the first one!
10948         Tried to delete not used paragraphs but does not work yet so for
10949         now it's inside #ifdef's and by default off!
10950
10951 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * MenuBackend.C: include "lyx_main.h" instead of declaring
10954         lastfiles (actually was declared as LastFiles* instead of a
10955         scoped_ptr).
10956
10957 2001-12-17  Juergen Vigna  <jug@sad.it>
10958
10959         * tabular.C (AppendColumn): applied John's fix
10960
10961 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView.h:
10964         * BufferView.C:
10965         * BufferView_pimpl.h:
10966         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10967
10968         * Makefile.am:
10969         * box.h: new start of class for above
10970
10971         * lyxfunc.C: ignore space-only minibuffer dispatches.
10972           Show the command name when it doesn't exist
10973
10974         * minibuffer.C: don't add empty lines to the history
10975
10976         * minibuffer.C: add a space on dropdown completion
10977
10978 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * text.C: fix line above/below drawing in insets
10981
10982 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * lyxlength.C (LyXLength): Initialize private variables.
10985
10986 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10989         when inserting error insets.
10990
10991 2001-12-13  Juergen Vigna  <jug@sad.it>
10992
10993         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10994         actually sometimes the before-paragraph.
10995         (setUndo): don't clear the redostack if we're not actually undoing!
10996
10997 2001-12-06  Juergen Vigna  <jug@sad.it>
10998
10999         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11000         and fixed redoing of main paragraph, so we can use it now ;)
11001
11002         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11003
11004 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11007         Juergen's request
11008
11009 2001-12-13  André Pönitz <poenitz@gmx.net>
11010
11011         * undostack.[Ch]:
11012         * undo_func.C: minor cleanup
11013
11014 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11017         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11018         font in urw-fonts package which is marked as -urw-fontspecific and
11019         does not work (incidentally, changing the encoding in the
11020         fonts.dir of this package to -adobe-fontspecific fixes the
11021         problem).
11022
11023         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11024         is a crash when undoing first paragraph (Juergen, please take a
11025         look). THis does not mean the undo fix is wrong, just that it
11026         uncovers problems.
11027
11028         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11029         the (Paragraph*) version when needed instead of duplicating the
11030         code.
11031
11032         * text.C (workWidth): use Inset::parOwner to find out where the
11033         inset has been inserted. This is a huge performance gain for large
11034         documents with lots of insets. If Inset::parOwner is not set, fall
11035         back on the brute force method
11036
11037         * paragraph_pimpl.C (insertInset):
11038         * paragraph.C (Paragraph):
11039         (cutIntoMinibuffer): set parOwner of insets when
11040         inserting/removing them
11041
11042         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11043
11044 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11045
11046         * commandtags.h:
11047         * LyXAction.C:
11048         * lyx_main.C:
11049         * lyxfunc.C:
11050         * mathed/formulabase.C:
11051         * mathed/math_cursor.[Ch]:
11052         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11053
11054
11055 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * lyxlength.[Ch] (operator!=): new function
11058
11059 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * text.C (workWidth): use Inset::parOwner to find out where the
11062         inset has been inserted. This is a huge performance gain for large
11063         documents with lots of insets. If Inset::parOwner is not set, fall
11064         back on the brute force method
11065
11066         * paragraph_pimpl.C (insertInset):
11067         * paragraph.C (Paragraph):
11068         (cutIntoMinibuffer): set parOwner of insets when
11069         inserting/removing them
11070
11071         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11072
11073 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * tabular-old.C (getTokenValue):
11076         * tabular.C (getTokenValue):
11077         (write_attribute): new versions for LyXLength
11078         (everywhere): adjust the use of widths
11079
11080         * tabular.h: change the type of widths from string to LyXLength
11081
11082 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11083
11084         * paragraph.C: fixed missing line number count when exporting
11085         Environments to LaTeX file
11086
11087         * buffer.C: added informational message for checking line numbers.
11088
11089 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11090
11091         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11092         paragraph, do the 'double space' part, but not the 'empty
11093         paragraph' one.
11094
11095         * text.C (workWidth): small optimization
11096         (getLengthMarkerHeight): use minimal size for negative lengths.
11097
11098 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11099
11100         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11101
11102         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11103
11104 2001-12-11  André Pönitz <poenitz@gmx.net>
11105
11106         * FontLoader.C:
11107         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11108
11109 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * text2.C: keep selection on a setFont()
11112
11113 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyx_cb.C: another bv->text misuse, from insert label
11116
11117 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * kbsequence.h:
11120         * kbsequence.C: re-instate nmodifier mask
11121
11122 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * lyx_main.h: make lyxGUI private.
11125
11126 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxfind.C: place the cursor correctly on failed search
11129
11130 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * text.C (getLengthMarkerHeight): for small heights, the arrows
11133         are not always on top/bottom of the text
11134         (drawLengthMarker): smaller arrows; take the left margin in
11135         account; draw also vfills.
11136         (paintFirstRow):
11137         (paintLastRow): remove special code for vfill and standard spaces,
11138         since everything is handled in drawLengthMarker now.
11139
11140 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * buffer.C (insertErtContents): try to handle font and language
11143         interaction a bit better.g
11144
11145         * ColorHandler.C (updateColor): change the hash to cover the whole
11146         LColor enum, ws cleanup
11147         (getGCLinepars): ditto
11148         (getGCLinepars): only lookup in the linecache once.
11149
11150 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11151
11152         * iterators.C (operator++): Make the iterator more robust
11153
11154         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11155         (John's patch)
11156         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11157
11158 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * lyxtext.h:
11161         * text.C: better added space drawing
11162
11163 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * LyXView.C:
11166         * BufferView2.C: fix layout combo update on inset unlock
11167
11168 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * Makefile.am: don't compile unused files
11171
11172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * lyxfunc.C:
11175         * commandtags.h:
11176         * LyXAction.C: remove old LFUN_LAYOUTNO
11177
11178 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * paragraph_pimpl.h:
11181         * paragraph_pimpl.C: isTextAt() doesn't need font param
11182
11183 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * lyxlex.h:
11186         * lyxlex.C: little cleanup
11187
11188 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * BufferView_pimpl.C: fix insertAscii for insets
11191
11192 2001-12-05  Juergen Vigna  <jug@sad.it>
11193
11194         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11195         set the right font on the "multi" paragraph paste!
11196
11197 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * trans_decl.h:
11200         * trans_mgr.[Ch]:
11201         * trans.[Ch]:
11202         * lyxgluelength.C:
11203         * lyxlength.C: remove out-commented code.
11204
11205         * BufferView_pimpl:
11206         * CutAndPaste.C:
11207         * DepTable.C:
11208         * buffer.C:
11209         * chset.C:
11210         * lastfiles.C:
11211         * lyxlex.C:
11212         * lyxlex_pimpl.C:
11213         * lyxserver.C:
11214         * screen.C:
11215         * tabular-old.C:
11216         * tabular.C:
11217         * text.C:
11218         * trans_mgr.C:
11219         * vc-backend.C: change "while(" to "while ("
11220
11221         * lyxlength.[Ch]: add zero function to check if length is zero or
11222         not
11223         * lyxgluelength.C: use it
11224
11225 2001-12-05  Allan Rae  <rae@lyx.org>
11226
11227         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11228         Works for 2.95.3, from what I understand of Garst's reports this should
11229         work for other g++ versions.  We're screwed if the abs(int) definition
11230         changed between bugfix releases of gcc.
11231
11232 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * text.C: fix chapter label offset !
11235
11236 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * lyxtext.h:
11239         * text.C: fix hfill at end of line, clean up
11240
11241 2001-12-04  Juergen Vigna  <jug@sad.it>
11242
11243         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11244         that we force an update of the inset and it's owners if neccessary.
11245
11246 2001-12-03  Juergen Vigna  <jug@sad.it>
11247
11248         * text.C (rowLast): simplified code
11249
11250 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * lyxfunc.C: fix show options on timeout
11253
11254 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11255
11256         * screen.C (topCursorVisible): scroll half a page when the cursor
11257         reached top of bottom of screen
11258
11259 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * minibuffer.C: deactivate on loss of focus
11262
11263 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * vspace.[Ch] (operator!=): add operator.
11266
11267 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * BufferView_pimpl.C: refuse to open an inset when
11270         there's a selection.
11271
11272 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * BufferView_pimpl.C: allow to click on RHS of full row insets
11275
11276 2001-11-30  Juergen Vigna  <jug@sad.it>
11277
11278         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11279         insets for undo reasons.
11280
11281 2001-11-28  André Pönitz <poenitz@gmx.net>
11282
11283         * vspace.[Ch]: cosmetical changes
11284
11285 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * LyXAction.h:
11288         * LyXAction.C:
11289         * lyxfunc.h:
11290         * lyxfunc.C:
11291         * kbmap.h:
11292         * kbmap.C:
11293         * lyxrc.C:
11294         * kbsequence.h:
11295         * kbsequence.C: part re-write of old kb code
11296
11297         * Painter.C:
11298         * WorkArea.C: remove Lgb_bug_find_hack
11299
11300 2001-11-30  José Matos <jamatos@fep.up.pt>
11301
11302         * buffer.C (makeDocBookFile): add a comment to point a hack.
11303         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11304         Fixed a double write of labels.
11305
11306 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11307
11308         * LaTeX.C:
11309         * LaTeX.h Fixed bug in LaTeX class where it would not
11310         re-run latex if no depfiles were changed, but the .dvi was removed.
11311
11312 2001-11-28  André Pönitz <poenitz@gmx.net>
11313
11314         * all the files from the change on 2001/11/26:
11315         use lyx::layout_type instead of LyXTextClass::size_type
11316         use lyx::textclass_type instead of LyXTextClassList::size_type
11317
11318 2001-11-29  Juergen Vigna  <jug@sad.it>
11319
11320         * text.C: added support for paragraph::isFreeSpacing()
11321
11322         * buffer.C: same as above
11323
11324         * paragraph.h: inserted isFreeSpacing() function to enable
11325         FreeSpacing inside InsetERT.
11326
11327         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11328         of the paragraph's in the cut/copy buffer to 0!
11329
11330         * text2.C (removeRow): remove the assert as it can!
11331
11332         * lyxtext.h: added helper function firstRow returning firstrow and
11333         made firstrow private again.
11334
11335         * BufferView2.C (lockInset): don't relock if we're already locked!
11336
11337         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11338         the only paragraph.
11339         (removeRow): added Assert::(firstrow)
11340
11341         * debug.C: forgot to add INSETTEXT here.
11342
11343 2001-11-28  Juergen Vigna  <jug@sad.it>
11344
11345         * sp_spell.C (initialize): changed error text to more general
11346         spellchecker command use (not only ispell!)
11347
11348         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11349
11350         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11351
11352 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * vspace.C: initialise lyxgluelength on failure
11355
11356 2001-11-28  Allan Rae  <rae@lyx.org>
11357
11358         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11359         declaration & definition that looks like a function declaration.
11360
11361 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11362
11363         * BufferView2.C (copy):
11364         (copyEnvironment): do not clear the selection when doing a copy.
11365
11366         * text.C (paintFirstRow): compilation fix
11367
11368 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11369
11370         * tabular.C (Latex): correct line count when writing latex.
11371
11372 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * paragraph_pimpl.h:
11375         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11376           bug a bit
11377
11378 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * text.C:
11381         * LColor.h:
11382         * LColor.C: change vfillline->added_space
11383
11384         * text.C: add markers and text for added space
11385
11386         * vspace.C: fix comment
11387
11388 2001-11-28  André Pönitz <poenitz@gmx.net>
11389
11390         * paragraph.C: whitespace changes
11391         * all the other files from the change on 2001/11/26:
11392         change *::pos_type into lyx::pos_type
11393
11394 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11395
11396         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11397         language of the document when inserting error insets.
11398
11399 2001-11-26  André Pönitz <poenitz@gmx.net>
11400
11401         * BufferView_pimpl.[Ch]:
11402         *       CutAndPaste.C:
11403         * buffer.[Ch]:
11404         * lyxcursor.[Ch]:
11405         * lyxfind.C:
11406         * lyxfunc.C:
11407         * lyxrow.[Ch]:
11408         * paragraph.[Ch]:
11409         * paragraph_pimpl.[Ch]:
11410         * sp_spell.C:
11411         * text.C:
11412         * text2.C: reduce header dependencies, introduce type for positions
11413
11414 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * <various>: change to use Alert.h
11417
11418 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11419
11420         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11421         when encountering an unknown token.
11422         (readLyXformat2): Show an error message if there were unknown tokens.
11423
11424 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * BufferView2.C:
11427         * BufferView_pimpl.C:
11428         * buffer.C:
11429         * paragraph.h:
11430         * text.C:
11431         * text2.C: use par->isInset()
11432
11433 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * paragraph_pimpl.h:
11436         * paragraph_pimpl.C: cleanup
11437
11438 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * text2.C (removeRow):
11441         * text.C (setHeightOfRow): remove useless (and costly) call to
11442         getRow.
11443
11444 2001-11-20  Allan Rae  <rae@lyx.org>
11445
11446         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11447         Now need Inset*::checkInsertChar() to return true for appropriate
11448         cases so that the characters in the minibuffer will actually be
11449         inserted.
11450
11451 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * text.C: change the order of the includes.
11454         (workWidth): initialize it at once.
11455         (workWidth): make maxw unsigned
11456         (setHeightOfRow): remove unused variable (inset)
11457         (selectSelectedWord): remove unused variable (inset)
11458         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11459
11460 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11461
11462         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11463         server is not running.
11464         (openConnection):
11465         (closeConnection): add debug info when server is disabled.
11466
11467         * ColorHandler.C (getGCForeground): send debug message to GUI
11468         channel.
11469
11470         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11471
11472         * kbmap.C (bind): modify because return conventions of
11473         kb_sequence::parse have changed.
11474
11475         * kbsequence.C (parse): only ignore spaces and not any stupid
11476         control character. This avoids tests like s[i] <= ' ', which are
11477         guaranteed to fail with 8bit characters and signed chars.
11478         Change return code to string::npos when there have been no error
11479         (0 was a bad idea when error is at first character)
11480
11481 2001-11-14  José Matos  <jamatos@fep.up.pt>
11482
11483         * buffer.h:
11484         * buffer.C (simpleDocBookOnePar): removed unused argument.
11485
11486 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11487
11488         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11489         insets which are part of a word. Paragraph::isLetter takes care of
11490         that now. Use Paragraph::isInset to identify insets.
11491         (selectSelectedWord): do not test for hyphenation break.
11492
11493         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11494         that protected spaces are considered as spaces.
11495
11496         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11497         Inset::isLetter.
11498
11499 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxserver.h:
11502         * lyxserver.C: fix it. and small cleanup.
11503
11504 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * BufferView_pimpl.C: use inline helpers
11507
11508         * LaTeXFeatures.h:
11509         * LaTeXFeatures.C: fix typos
11510
11511         * Spacing.h:
11512         * Spacing.C: move spacing_string into class
11513
11514         * ToolbarDefaults.C: move stuff into namespace anon
11515
11516         * layout.h: update enum
11517
11518         * lyxfunc.C: use better debug
11519
11520         * minibuffer.h: fix typo
11521
11522         * debug.h:
11523         * debug.C:
11524         * WorkArea.C: add and use Debug::WORKAREA
11525
11526         * lyxtext.h:
11527         * text.C:
11528         * text2.C: code re-organisation, inline helpers
11529
11530 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11531
11532         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11533         std::vector.empty().
11534
11535 2001-11-09  Allan Rae  <rae@lyx.org>
11536
11537         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11538         '\n's after tables.  Tabular and ERT inset work now makes this no
11539         longer necessary.
11540
11541 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * minibuffer.h:
11544         * minibuffer.C: fix crash, improve drop-down completion
11545
11546 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * lyxserver.h:
11549         * lyxserver.C: invalidate fd's when doing endPipe()
11550
11551 2001-11-08  José Matos  <jamatos@fep.up.pt>
11552
11553         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11554         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11555
11556         * paragraph.h:
11557         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11558
11559 2001-11-07  José Matos  <jamatos@fep.up.pt>
11560
11561         * buffer.h:
11562         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11563         const qualifier.
11564
11565         * buffer.C (sgmlOpenTag):
11566         * buffer.C (sgmlCloseTag): removed debug info.
11567
11568         * buffer.h (sgmlOpenTag):
11569         * buffer.h (sgmlCloseTag): made public.
11570
11571 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11572
11573         * buffer.C (saveParamsAsDefaults):
11574         * lyx_cb.C (MenuLayoutSave): remove
11575
11576         * LyXAction.C (init):
11577         * commandtags.h:
11578         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11579
11580 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11581
11582         * buffer.C (setPaperStuff): removed from here...
11583
11584         * bufferparams.C (setPaperStuff): ... and moved there.
11585
11586 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * minibuffer.h:
11589         * minibuffer.C:
11590         * XFormsView.C: add support for drop-down completion
11591
11592 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11595         commands.
11596
11597 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11598
11599         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11600         disabled.
11601
11602 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * lyx_main.C: change ref to known bugs
11605
11606 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11607
11608         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11609         to work around older babel problems.
11610
11611 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11612
11613         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11614
11615 2001-10-24  Juergen Vigna  <jug@sad.it>
11616
11617         * tabular-old.C (ReadOld): below variable changes reflected.
11618
11619         * tabular.[Ch]: added ltType struct for longtable header/footer
11620         defines and changed all instances where they are used. Added
11621         future support for double top/bottom rows.
11622
11623 2001-10-24  José Matos  <jamatos@fep.up.pt>
11624
11625         * buffer.h (docbookHandleCaption):
11626         * buffer.C (docbookHandleCaption): removed unused function.
11627         (makeDocBookFile): moved docbook supported version to v4.1.
11628
11629 2001-10-24  José Matos  <jamatos@fep.up.pt>
11630
11631         * tabular.h:
11632         * tabular.C (docbookRow): new function to export docbook code of a row.
11633         (DocBook): now honors the longtable flags.
11634
11635 2001-10-23  José Matos  <jamatos@fep.up.pt>
11636
11637         * LaTeXFeatures.h:
11638         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11639         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11640
11641         * buffer.C (makeLinuxDocFile):
11642         (makeDocBookFile): reworked the preamble, more clean, and with
11643         support for lyx defined entities. Changed the document declaration
11644         to be more XML friendly.
11645
11646         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11647         if we need to output XML that should be done with a filter.
11648
11649 2001-10-22  Juergen Vigna  <jug@sad.it>
11650
11651         * sp_pspell.h (class PSpell): add alive function needed in the
11652         controller to see if the spellchecker could be started.
11653
11654 2001-10-22  Juergen Vigna  <jug@sad.it>
11655
11656         * buffer.C (insertStringAsLines): modify the font for inserting
11657         chars in certain conditions by calling checkInsertChar(font).
11658
11659 2001-10-19  Juergen Vigna  <jug@sad.it>
11660
11661         * text.C (workWidth): use getRow instead of wrong algorithm.
11662         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11663
11664 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * lyxserver.h:
11667         * lyxserver.C:
11668         * lyx_main.h:
11669         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11670
11671 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * text.C (workWidth): do not search for the exact row when
11674         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11675         optimization for big documents.
11676
11677 2001-10-18  Juergen Vigna  <jug@sad.it>
11678
11679         * text.C (workWidth): new function with added Inset * parameter.
11680
11681 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11682
11683         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11684
11685         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11686         change return type of getColumnNearX.
11687
11688
11689         * text.C (changeRegionCase): use uppercase/lowercase instead of
11690         toupper/tolower.
11691         (leftMargin):
11692         (rightMargin): simplify code by factoring out the uses of
11693         textclasslist.
11694         (labelFill):
11695         (numberOfHfills):
11696         (setHeightOfRow):
11697         (appendParagraph): use Paragraph::size_type
11698
11699 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * vspace.C (asLatexString): add a missing break
11702
11703 2001-10-15  Herbert Voss  <voss@perce.de>
11704
11705         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11706
11707 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11708
11709         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11710         is not available.
11711
11712 2001-10-10  André Pönitz <poenitz@gmx.net>
11713
11714         * lyxfunc.C: removed greek_kb_flag.
11715
11716 2001-10-10  Herbert Voss  <voss@perce.de>
11717
11718         * lyx_main.C: delete global string help_lyxdir.
11719
11720 2001-10-09  Herbert Voss  <voss@perce.de>
11721
11722         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11723
11724         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11725
11726         * lyx_main.C: added global string help_lyxdir.
11727
11728         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11729
11730 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11731
11732         * lyxrc.C (set_font_norm_type): support iso8859-4
11733
11734 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11735
11736         * LaTeX.C (deplog): add another regex for MikTeX
11737
11738 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11739
11740         * lyxrc.C (set_font_norm_type): support iso8859-3
11741
11742 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11743
11744         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11745
11746         * LaTeXFeatures.C: remove special case of french and index
11747
11748         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11749         before \begin{document}). This solves several incompatibilities.
11750
11751 2001-10-03  Garst Reese  <reese@isn.net>
11752
11753         * lyx_cb.C: change CheckTex error msg.
11754
11755 2001-10-03  José Matos  <jamatos@fep.up.pt>
11756
11757         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11758
11759 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * .cvsignore: update
11762
11763         * lyx_main.C (commandLineVersionInfo): use new style version info.
11764
11765         * buffer.C (writeFile):
11766         (makeLaTeXFile):
11767         (makeLinuxDocFile):
11768         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11769
11770         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11771
11772         * version.h: update to use stuff in version.C
11773
11774         * version.C.in: new file. Contains version information determined
11775         at compile time. This is a merging of version.h and
11776         version_info.h.in.
11777
11778 2001-10-03  Juergen Vigna  <jug@sad.it>
11779
11780         * BufferView_pimpl.C (update): don't change "dirty" status in
11781         updateInset call.
11782
11783 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * WorkArea.C (c-tor): re-position version string slightly.
11786
11787 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11788
11789         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11790         revert to previous code.
11791
11792         WorkArea.[Ch]: (show, destroySplash): methods removed.
11793
11794         WorkArea.C: rework code so that it's an amalgam of the codes before and
11795         after the splash screen was moved to WorkArea.
11796
11797 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * lyxrc.C (read):
11800         * vspace.C (inPixels):
11801         (lyx_advance):
11802         * kbmap.C (bind):
11803         * buffer.C (insertStringAsLines):
11804         (asciiParagraph): fix types to be large enough
11805
11806         * lyxlex_pimpl.h: change member status from short to int
11807
11808         * layout.h: fix type of endlabeltype
11809
11810         * kbmap.C (bind):
11811         * kbsequence.C (parse): change return type to string::size_type
11812
11813         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11814         variable
11815
11816         * Bullet.C (bulletSize):
11817         (bulletEntry): do not use short ints as parameters
11818
11819         * BufferView2.C (insertLyXFile): change a char to an int.
11820
11821         * WorkArea.C (WorkArea): remove unneeded floats in computation
11822
11823 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11824
11825         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11826
11827         * paragraph.C (asString): Do not ignore newline/hfill chars when
11828         copying to the clipboard.
11829
11830 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11833         after a multi-line inset.
11834
11835 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11836
11837         * paragraph.C (validate): Set NeedLyXFootnoteCode
11838
11839 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11840
11841         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11842         and decrease-error to decrease.
11843
11844 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11845
11846         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11847         it more readable (should be equivalent)
11848
11849 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11850
11851         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11852
11853 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11856         of a cursor (row, etc.) after a character has been deleted
11857         (deleteEmptyParagraphMechanism): call the method above on _all_
11858         cursors held by the LyXText when a double space has been
11859         detected/deleted.
11860
11861 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11862
11863         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11864         pixmap.
11865         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11866
11867         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11868         background. Use greyOut() and the new show() methods to toggle between
11869         the foreground and background. Add code to remove the splash after
11870         its initial showing.
11871
11872         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11873         (create_forms): no longer call Dialogs::showSplash.
11874
11875 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11876
11877         * .cvsignore: add version_info.h
11878
11879 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11880
11881         * version_info.h.in: new file
11882
11883         * Makefile.am: add version_info.h.in
11884
11885         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11886         version_info.h instead of VERSION_INFO
11887
11888 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11891         The ERT inset now returns string().
11892
11893 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * lyxtext.h, text.C (selectNextWord): renamed as
11896         selectNextWordToSpellcheck.
11897
11898         * text.C (selectNextWordToSpellcheck): Modified to not select
11899         words inside an ERT inset.
11900
11901 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11902
11903         * lyx_cb.C (MenuLayoutSave): change a bit the question
11904
11905         * sp_base.h: include <sys/types.h>
11906
11907 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11908
11909         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11910
11911 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11912
11913         * several files: fix typos in user-visible strings
11914
11915 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11916
11917         * text2.C (pasteSelection): do not set the selection, since it
11918         will be cleared later. Actually, the intent was to fix the way the
11919         selection was set, but I figured rmoving the code was just as good.
11920
11921 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11922
11923         * FontLoader.C (available): Check if font is available without
11924         loading the font.
11925
11926 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11927
11928         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11929
11930 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11931
11932         * lyxrc.[Ch]: added display_graphics variable and associated code.
11933
11934 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11935
11936         * bufferparams.C (hasClassDefaults): new method. Returns true if
11937         the buffer parameters correspond to known class defaults
11938
11939 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11940
11941         * XFormsView.C (show): set minimum size to the main window.
11942
11943 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11944
11945         * text2.C (copySelection):
11946         (cutSelection):
11947         * lyxfind.C (LyXReplace):
11948         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11949         LyXText::selectionAsString.
11950
11951         * paragraph.C (asString): add "label" argument to the second form
11952
11953         * text2.C (selectionAsString): add "label" argument and pass it to
11954         Paragraph::asString.
11955
11956 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * lyx_main.C (commandLineHelp): remove version information
11959
11960 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11961
11962         * lyx_main.C: add -version commandline option
11963
11964 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * paragraph.h: make the optional constructor arg required instead.
11967         some modifications to other files because of this.
11968
11969         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11970
11971         * lyxserver.C (C_LyXComm_callback): make it static
11972
11973         * lyx_main.C (error_handler): make it static
11974
11975         * lyx_gui.C (LyX_XErrHandler): make it static
11976
11977         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11978
11979         * WorkArea.C: make the extern "C" methods static.
11980
11981         * Makefile.am (lyx_LDADD): simplify
11982
11983 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11984
11985         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11986         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11987
11988         * LyXAction.C (init):
11989         * lyxfunc.C (dispatch): associated code removal.
11990
11991 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * lyxfont.h (isSymbolFont): shut off warning
11994
11995         * text.C (setHeightOfRow):
11996         (getVisibleRow): fix crash with empty paragraphs which have a
11997         bottom line
11998
11999 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12000
12001         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12002         code.
12003
12004 2001-09-04  José Matos  <jamatos@fep.up.pt>
12005         * buffer.C
12006         * buffer.h
12007         * tabular.C (docbook): rename docBook method to docbook.
12008
12009 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12010
12011         * Makefile.am: add dependencies to main.o.
12012
12013 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12014
12015         * FontLoader.C (available): Return false if !lyxrc.use_gui
12016
12017 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12018
12019         * FontInfo.C (query):
12020         * converter.C (view):
12021         * importer.C (Import):
12022         * exporter.C (Export): Can not -> cannot.
12023
12024 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * BufferView_pimpl.C: allow to create index inset even if
12027           string is empty
12028
12029 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12030
12031         * buffer.C (getLists): replace boost::tie code with an explicit pair
12032         as boost::tie can break some compilers.
12033
12034         * iterators.h: Added a std:: declaration to the return type of
12035         ParIterator::size.
12036
12037 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12040           case.
12041
12042 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12043
12044         * iterators.[Ch]: New files. Provide paragraph iterators.
12045
12046         * buffer.C (changeLanguage): Use paragraph iterators.
12047         (isMultiLingual): ditto
12048
12049         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12050
12051 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * FontLoader.C: Support for cmr font.
12054
12055 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12056
12057         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12058         (available): New method.
12059
12060         * FontInfo.C (getFontname): Use scalable fonts even when
12061         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12062         found.
12063
12064 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12065
12066         * converter.C (Formats::view): reverted! Incorrect fix.
12067
12068 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12069
12070         * converter.C (Formats::view): only output the -paper option
12071         if the dvi viewer is xdvi, thereby fixing bug #233429.
12072
12073 2001-08-23  Herbert Voss  <voss@perce>
12074
12075         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12076
12077 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12078
12079         * Spacing.h (Spacing): Set space to Default on in the default
12080         constructor.
12081
12082 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * vc-backend.h (RCS::versionString): add RCS to version
12085         (CVS::versionString): add CVS to version
12086
12087         * vc-backend.C (scanMaster): do not add CVS to version.
12088         (scanMaster): do not add RCS to version
12089
12090         * lyxvc.C (versionString): new method
12091
12092         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12093
12094 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * Spacing.C (set): initialize fval
12097
12098 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12099
12100         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12101         " or \.
12102
12103 2001-08-16  Juergen Vigna  <jug@sad.it>
12104
12105         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12106
12107 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * BufferView_pimpl.C:
12110         * figureForm.C:
12111         * lyxtext.h:
12112         * text2.C: setParagraph takes linespacing now
12113
12114 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * LyxAction.C: add internal LFUN_CITATION_INSERT
12117
12118         * LyXView.C: actually apply fix
12119
12120         * bufferlist.C: fix open non-existent file
12121
12122         * lyxfind.C: fix indentation
12123
12124         * lyxfunc.C: remove unneeded assert, fix typo
12125
12126 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * MenuBackend.C: use "Floatname List"
12129
12130 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12131
12132         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12133         when converting LaTeX layout to insetERT.
12134         Generate a non-collapsed float when reading old float
12135
12136 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12139         ERT insets.
12140
12141 2001-08-13  Juergen Vigna  <jug@sad.it>
12142
12143         * text.C (fill): return 0 instead of 20 as this seems to be the more
12144         correct value.
12145
12146 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12147
12148         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12149         lyxrc.font_norm.
12150
12151 2001-08-13  Juergen Vigna  <jug@sad.it>
12152
12153         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12154         casesensitive off.
12155         (SearchBackward): comment out the unlocking of the inset_owner this
12156         should not be needed!
12157
12158 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * Many files: Remove inherit_language, and add latex_language
12161
12162         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12163         collapsible insets.
12164
12165 2001-08-10  Juergen Vigna  <jug@sad.it>
12166
12167         * text.C (prepareToPrint): fixed hfill-width in draw!
12168
12169         * BufferView2.C (selectLastWord): save the selection cursor as this
12170         now is cleared in the function LyXText::clearSelection!
12171
12172 2001-08-08  Juergen Vigna  <jug@sad.it>
12173
12174         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12175         BACKSPACE type functions.
12176
12177         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12178         is only cutted from the document but not put in the cut-buffer, where
12179         still the old stuff should be.
12180
12181         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12182
12183         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12184
12185         * tabular.C (SetWidthOfCell): fixed special case where the width
12186         was not updated!
12187         (LeftLine): handle '|' in align_special.
12188         (RightLine): ditto
12189         (LeftAlreadyDrawed): ditto
12190         (SetWidthOfCell): ditto
12191
12192 2001-08-07  Juergen Vigna  <jug@sad.it>
12193
12194         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12195
12196 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12199         * lyxlex.[hC]: ditto
12200
12201 2001-08-06  Juergen Vigna  <jug@sad.it>
12202
12203         * text.C (getVisibleRow): fix up row clearing a bit.
12204
12205 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * minibuffer.C: make sure the X server sees the changes in the input.
12208
12209 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * paragraph.C (getFont): split into...
12212         (getLabelFont): this
12213         (getLayoutFont): and this
12214         * paragraph_pimpl.C (realizeFont): calling this
12215
12216         * text2.C (getFont): split into...
12217         (getLayoutFont): this
12218         (getLabelFont): and this
12219         (realizeFont): all three calling this
12220
12221         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12222         files where used.
12223
12224 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12227
12228 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12229
12230         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12231         layouts from the Quote inset insertion.
12232
12233 2001-08-03  Juergen Vigna  <jug@sad.it>
12234
12235         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12236
12237         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12238         only if status not is already CHANGED_IN_DRAW (second level).
12239
12240         * text.C (draw): don't set the need_break_row when inside an
12241         InsetText LyXText.
12242
12243 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * buffer.C (parseSingleLyXformat2Token): handle more latex
12246         conversion cases.
12247
12248         * bufferview_funcs.[hC]: change function names to
12249         begin with small char, adjust other files.
12250
12251 2001-08-02  André Pönitz <poenitz@gmx.net>
12252
12253         * lyxfunc.C:
12254         BufferView_pimpl.C: remove broken special code for math-greek
12255
12256 2001-08-02  Juergen Vigna  <jug@sad.it>
12257
12258         * BufferView_pimpl.C (update): redone this function so that we
12259         update the text again if there was a CHANGE_IN_DRAW.
12260
12261         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12262         (drawFromTo): added a new internal bool which is used by draw() and
12263         redraw() function.
12264         (general): some cursor drawing problems fixed.
12265
12266 2001-08-01  Juergen Vigna  <jug@sad.it>
12267
12268         * lyxfind.C (LyXFind): fixed
12269         (SearchForward): ditto
12270         (SearchBackward): ditto
12271
12272         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12273         spurius drawing of the cursor in the main area.
12274
12275         * text2.C (status): small fix which could lead to a segfault!
12276         (clearSelection): remove unneeded BufferView param.
12277
12278 2001-08-01  André Pönitz <poenitz@gmx.net>
12279
12280         * lyxfunc.C: small change due to changed mathed interface
12281
12282 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12285
12286 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * lyxfunc.c: fail gracefully if file doesn't exist
12289
12290         * LyXSendto.C:
12291         * buffer.C:
12292         * lyxfunc.C:
12293         * BufferView_pimpl.C: IsDirWriteable() proto changed
12294
12295         * LyXView.C: fix updateWindowTitle() to store the last title
12296
12297 2001-07-31  Juergen Vigna  <jug@sad.it>
12298
12299         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12300         the font (wrong since using of Paragraph::highestFontInRange).
12301
12302         * paragraph.C (highestFontInRange): added a default_size parameter.
12303
12304         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12305         (setHeightOfRow): reformat
12306
12307 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * converter.[hC] + affected files: move to (inital-char)lowercase
12310         function names.
12311
12312         * ParagraphParameters.C (ParagraphParameters): remove commented code
12313
12314         * PainterBase.[Ch]: remove commented code
12315
12316         * LaTeXFeatures.h: add "bool floats" for float.sty
12317
12318         * LaTeXFeatures.C (LaTeXFeatures): init floats
12319         (require): handle float
12320         (getPackages): do it with floats
12321
12322 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12323
12324         * BufferView_pimpl.C (Dispatch): improve handling of
12325         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12326
12327         * commandtags.h: #include lyxfont.h here temporarily to avoid
12328         keybinding bug.
12329
12330         * bufferlist.h: include LString.h here.
12331
12332 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * text2.C (getStringToIndex): new method.
12335
12336 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12337
12338         * *: Reduced header file dependencies all over.
12339
12340 2001-07-30  Baruch Even  <baruch@lyx.org>
12341
12342         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12343
12344 2001-07-29  Baruch Even  <baruch@lyx.org>
12345
12346         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12347
12348 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * ParameterStruct.h (endif): add a default constructor to make
12351         sure that all variables is initialized.
12352
12353         * ParagraphParameters.C (ParagraphParameters): adjust
12354
12355 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12358         index; also, check that there is something to index, and that it
12359         does not span over several paragraphs.
12360         (doubleClick): use WHOLE_WORD_STRICT for double click.
12361
12362         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12363
12364         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12365         scheme.
12366
12367 2001-07-26  Baruch Even  <baruch@lyx.org>
12368
12369         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12370         an InsetFig figure, backwards compatible reading of old figure code.
12371
12372 2001-07-27  Juergen Vigna  <jug@sad.it>
12373
12374         * text2.C: font.realize function adaption.
12375
12376         * text.C (draw): add a warnings lyxerr text if needed.
12377
12378         * layout.C: font.realize function adaption.
12379
12380         * language.C: add inherit_language and implement it's handlings
12381
12382         * bufferview_funcs.C (StyleReset): remove language parameter from
12383         font creation (should be language_inherit now).
12384
12385         * bufferparams.C (writeFile): handle ignore_language.
12386
12387         * paragraph.C (getFontSettings): the language has to be resolved
12388         otherwise we have problems in LyXFont!
12389
12390         * lyxfont.C (lyxWriteChanges): added document_language parameter
12391         (update): removed unneeded language parameter
12392
12393         * paragraph.C (validate): fixed wrong output of color-package when
12394         using interface colors for certain fonts in certain environments,
12395         which should not seen as that on the final output.
12396
12397 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView_pimpl.C:
12400         * Thesaurus.h:
12401         * Thesaurus.C:
12402         * Makefile.am:
12403         * commandtags.h:
12404         * LyXAction.C: add thesaurus support
12405
12406         * lyxfind.h:
12407         * lyxfind.C: add "once" parameter, for thesaurus, to not
12408           move to the next match
12409
12410 2001-07-26  Juergen Vigna  <jug@sad.it>
12411
12412         * lyxfont.C (realize): honor ignore_language too!
12413         (resolved): ditto.
12414
12415         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12416
12417         * text.C (draw): one place more for ignore_language to not draw
12418         itself!
12419
12420 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12423
12424 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12427         the minipage conversion problem.
12428
12429 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12432         insert an inset.
12433
12434 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12435
12436         * BufferView.h: don't forward declare WorkArea
12437
12438         * BufferView.C: don't include WorkArea.h
12439
12440 2001-07-25  André Pönitz <poenitz@gmx.net>
12441
12442         * commandtags.h:
12443         * LyXAction.C:
12444         * lyxfunc.C:  new LFUN 'math-space'
12445
12446         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12447
12448 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * text2.C (toggleInset): call open/close
12451
12452 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * lyxfunc.C (dispatch): add debug for the disabled case
12455
12456         * font.C (buttonText): make similar to rectText
12457
12458         * buffer.C (readInset): comment out parsing of insetlist and
12459         insttheorem
12460
12461         * PainterBase.C (rectText): small correction
12462
12463         * BufferView_pimpl.C: comment out insettheorem and insetlist
12464         * LyXAction.C: ditto
12465         * commandtags.h: ditto
12466
12467 2001-07-24  Juergen Vigna  <jug@sad.it>
12468
12469         * text.C (draw): honor the ignore_language.
12470
12471         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12472
12473 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12474
12475         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12476         char inset.
12477
12478 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12479
12480         * lyxtext.h: remove unused (and unimplemented) methods
12481
12482 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12483
12484         * text.C (getVisibleRow): honor background color
12485
12486         * PainterBase.h:
12487         * Painter.h: remove default color argument for fillRectangle
12488
12489         * text.C (backgroundColor): new method
12490
12491 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * text.C (getVisibleRow): adjust
12494
12495         * font.[Ch] (rectText): new method, metrics
12496         (buttonText): new method, metrics
12497
12498         * PainterBase.[hC]: make rectText and buttonText always draw and take
12499         fewer paramteres.
12500
12501 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12502
12503         * ToolbarDefaults.C (read):
12504         * MenuBackend.C (read): allow escaping in all strings
12505
12506         * BufferView_pimpl.C (insertAndEditInset): new method.
12507         (Dispatch): use insertAndEditInset whenever appropriate.
12508
12509         * BufferView_pimpl.C (insertNote): removed
12510
12511         * BufferView_pimpl.C (smartQuote): new method, moved from
12512         BufferView; if an insetquote cannot be inserted, insert a '"'
12513         character instead.
12514
12515         * BufferView2.C: remove insertCorrectQuote();
12516
12517         * lyxfunc.C (getStatus): Add support for all remaingin
12518         inset-insert lfuns.
12519
12520         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12521
12522         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12523         command (necessary to pass " as parameter of self-insert.
12524
12525         * text.C (selectWordWhenUnderCursor):
12526         (selectWord): add word_location parameter
12527         (selectWordWhenUnderCursor): same + remove special code for word
12528         boundary.
12529         (selectNextWord): use kind() to guess type of insetspecialchar,
12530         not latex().
12531
12532         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12533         (insertErtContents): create ert insets as collapsed.
12534         (readInset): better compatibility code for Info inset.
12535
12536 2001-07-20  Juergen Vigna  <jug@sad.it>
12537
12538         * lyxfunc.C (dispatch): use always LyXFind now!
12539
12540         * text2.C (init): add a reinit flag so that the LyXText can be
12541         reinited instead of deleted and reallocated (used in InsetText).
12542
12543         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12544
12545         * text.C: ditto
12546
12547         * text2.C: ditto
12548
12549 2001-07-18  Juergen Vigna  <jug@sad.it>
12550
12551         * text.C (selectNextWord): handle insets inside inset by calling
12552         always the bv->text functions so that we can go up the_locking_inset!
12553
12554         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12555         in strange locations when inside an inset!
12556
12557         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12558         handling to include insets.
12559
12560         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12561
12562 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * LyXAction.C (init):
12565         * commandtags.h:
12566         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12567         LIGATURE_BREAK, since the name is so stupid.
12568
12569 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12570
12571         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12572         InsetInfos.
12573
12574         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12575
12576         * sp_form.[Ch]: remove.
12577
12578         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12579
12580         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12581         InsetInfo.
12582
12583         * src/buffer.C (readInset): ditto.
12584
12585 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12586
12587         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12588         menuSeparator(), endOfSentenceDot(), ldots() and
12589         hyphenationPoint(), which are therefore removed.
12590         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12591
12592         * LyXAction.C (init):
12593         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12594
12595         * paragraph.C (getWord): removed.
12596
12597         * BufferView_pimpl.C (Dispatch): use last word or selection for
12598         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12599
12600         * lyx_main.C (queryUserLyXDir): do not ask before creating
12601         user_dir, except if it has been named explicitely.
12602
12603 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12606         a document of zero size.
12607
12608 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12611         approriately in the c-tor and in require().
12612         (getPackages): output the appropriate LaTeX for natbib support.
12613
12614         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12615         variables "use_natbib" and "use_numerical_citations" when reading the
12616         LyX file.
12617         (readInset): read the various natbib cite commands.
12618         (validate): white-space change.
12619
12620         * bufferparams.[Ch]: new variables "bool use_natbib" and
12621         "bool use_numerical_citations".
12622         (writeFile): output them in the LyX file.
12623
12624 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12625
12626         * lyxfunc.C (getStatus): add support for all the inset insertion
12627         commands.
12628
12629         * text2.C (insertInset):
12630         * paragraph.C (insetAllowed):
12631         * BufferView_pimpl.C (insertInset): update to take in account the
12632         renaming of insertInsetAllowed
12633
12634         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12635
12636         * text2.C (getInset): new method. returns inset at cursor position.
12637
12638         * BufferView_pimpl.C (Dispatch): changes because of this.
12639
12640         * LyXAction.C (init): rename open-stuff to inset-toggle.
12641
12642         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12643
12644         * text2.C (toggleInset): renamed from openStuff; use
12645         Inset::open().
12646
12647 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12648
12649         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12650
12651         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12652
12653 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12654
12655         * buffer.C (readLyXformat2): Add filename to the error dialog
12656
12657 2001-07-18  Juergen Vigna  <jug@sad.it>
12658
12659         * tabular.C (GetCellNumber): put an assert here instead of the check!
12660
12661 2001-07-17  Juergen Vigna  <jug@sad.it>
12662
12663         * BufferView_pimpl.C (toggleSelection): adapted too.
12664
12665         * text.C (selectNextWord): adapted for use with insets.
12666         (selectSelectedWord): ditto
12667
12668 2001-07-17  Juergen Vigna  <jug@sad.it>
12669
12670         * sp_spell.C (PSpell): fix initialitation order.
12671
12672 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * paragraph.C: spacing
12675
12676 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12677
12678         * sp_spell.C: repair language selection for pspell
12679
12680 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12681
12682         * lyxfunc.h: change more methods to begin with lower char.
12683
12684 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12685
12686         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12687         for unknown layouts.
12688
12689 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12690
12691         * buffer.C (readLyXformat2): Generate an error dialog if there are
12692         unknown layouts.
12693
12694 2001-07-16  Juergen Vigna  <jug@sad.it>
12695
12696         * sp_spell.C: always compile ISpell part.
12697
12698         * lyxrc.C: added use_pspell entry and it's handling.
12699
12700 2001-07-13  Juergen Vigna  <jug@sad.it>
12701
12702         * sp_spell.C: removed double includes.
12703
12704 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12705
12706         Consistent use of Lsstream.h:
12707         * Lsstream.h: added using std::stringstream for consistencies sake.
12708
12709         * buffer.C: removed using std::stringstream
12710
12711         * lyxfont.C (stateText):
12712         * paragraph.C (asString):
12713         * text.C (selectNextWord, selectSelectedWord):
12714         * text2.C (setCounter):
12715         * vspace.C (asString, asLatexString):
12716         std::ostringstream -> ostringstream.
12717
12718 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12719
12720         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12721         * commandtags.h: add LFUN_HELP_ABOUTLYX
12722         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12723
12724 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12725
12726         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12727         cursorToggle()
12728         * lyx_gui_misc.C: remove spellchecker
12729         * lyxfunc.C: showSpellchecker
12730         * sp_base.h: added
12731         * sp_ispell.h: added
12732         * sp_pspell.h: added
12733         * sp_spell.C: added
12734         * sp_form.[Ch]: removed
12735         * spellchecker.[Ch]: removed
12736
12737 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12738
12739         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12740         is set.
12741         (simpleTeXSpecialChars): Simply print the input character without
12742         any special translation if pass_thru is set.
12743
12744         * layout.h: Added bool pass_thru to layout class for being able to
12745         implement pass through of a paragraph for Literate Programming.
12746
12747         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12748         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12749         * layout.C (Read): add "passthru" to list of layout tags and add
12750         code to set the pass_thru boolean when it is read.
12751
12752 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * trans_decl.h: remove allowed from KmodInfo
12755
12756         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12757         remove allowed code
12758         (Load): adjust
12759
12760         * paragraph_pimpl.C (erase): use boost::prior
12761
12762         * Painter.C (text): use data() instead of c_str() when length is
12763         also provided.
12764         * WorkArea.C (putClipboard): ditto
12765         * font.h (width): ditto
12766
12767         * BufferView2.C: use it-> instead of (*it). for iterators
12768         * texrow.C: ditto
12769         * paragraph_pimpl.C: ditto
12770         * paragraph.C: ditto
12771         * minibuffer.C: ditto
12772         * language.C: ditto
12773         * kbmap.C: ditto
12774         * encoding.C: ditto
12775         * counters.C: ditto
12776         * converter.C: ditto
12777         * chset.C: ditto
12778         * Variables.C: ditto
12779         * TextCache.C: ditto
12780         * MenuBackend.C: ditto
12781         * LyXAction.C: ditto
12782         * LColor.C: ditto
12783         * FloatList.C: ditto
12784         * DepTable.C: ditto
12785         * ColorHandler.C (LyXColorHandler): ditto
12786
12787 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12788
12789         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12790
12791         * text2.C (openStuff): reintroduce this method (which had been
12792         nuked in NEW_INSETS frenzy).
12793
12794         * lyxfunc.C (Dispatch): when an action has not been handled, use
12795         its name in the error message, not its number.
12796
12797         * paragraph.C (inInset): change method name to begin with lowercase.
12798
12799         * undo_funcs.C:
12800         * text2.C: updates because of this.
12801
12802 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * ToolbarDefaults.C (add): add spaces in error message
12805
12806 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12809         (readLyXformat2): rename return_par to first_par, use lyxlex's
12810         pushToken and remove the manual push handling.
12811         (parseSingleLyXformat2Token): add another ert comp. variable:
12812         in_tabular, rename return_par to first_par. handle newlines better
12813
12814 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12817
12818 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * text2.C (getParFromID): removed
12821
12822         * buffer.C (getParFromID): new method moved form lyxtext.
12823         * BufferView2.C (insertErrors): adjust
12824         (setCursorFromRow): adjust
12825         * BufferView_pimpl.C (restorePosition): adjust
12826         * lyxfunc.C (Dispatch): adjust
12827         * undo_funcs.C (textUndo): adjust
12828         (textRedo): adjust
12829         (textHandleUndo): adjust
12830         (textHandleUndo): adjust
12831
12832 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * buffer.C: up' the LYX_FORMAT
12835
12836         * lyxfont.h: turn NO_LATEX on as default
12837
12838         * buffer.C (insertErtContents): new methods of tex style compability.
12839         (parseSingleLyXformat2Token): use it several places.
12840         * tabular.C (OldFormatRead): and here
12841
12842 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12843
12844         * text2.C: remove some commented code.
12845         reindent file.
12846
12847         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12848         * trans.C: changes because of the above.
12849
12850 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12851
12852         * text2.C (setCounter): Fix counters bug with bibliography layout.
12853
12854 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12857         own member functions
12858         (simpleTeXSpecialChars): ditto
12859
12860 2001-07-06  Juergen Vigna  <jug@sad.it>
12861
12862         * a lot of files: changed the access to LyXText::status and the
12863         call of undo-functions.
12864
12865         * undo.[Ch]: added a inset_id to the undo informations.
12866
12867         * undo_funcs.[Ch]: added and moved here all undo functions.
12868
12869         * lyxtext.h: give the status enum a weight, made status_ a private
12870         variable and made accessor functions for it, removed the whole bunch
12871         of undo-functions as they are now in their own file, make some
12872         functions publically available. Added function ownerParagraph with
12873         int parameter.
12874
12875         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12876         made InInset() a const function, added getParFromID() function.
12877
12878         * buffer.[Ch]: added const version for inset_iterator functions,
12879         added getInsetFromID() function.
12880
12881         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12882         changed undo functions for new version.
12883
12884 2001-07-05  Juergen Vigna  <jug@sad.it>
12885
12886         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12887         unknow mechanism does not call the proper constructor but only this
12888         one also if I request the other!?
12889
12890 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12893
12894         * text2.C (LyXText): use initialization lists.
12895
12896         * lyxtext.h (Selection): initialize set_ and mark_
12897         (init): remove method
12898
12899 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12902
12903 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * screen.[Ch]: change method names to begin with lowercase
12906
12907         * BufferView_pimpl.C (updateScrollbar): simplify further and
12908         hopefully make it a bit faster.
12909
12910 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12911
12912         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12913         calling directly xforms functions.
12914
12915         * Painter.C (Painter):
12916         * lyx_cb.C (MenuWrite):
12917         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12918         fl_display.
12919
12920         * lyx_gui.C: remove bogus guiruntime extern declaration.
12921
12922 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12925         in NEW_INSETS
12926         (redoDrawingOfParagraph): ditto
12927         (redoParagraphs): ditto
12928         (cutSelection): don't create a object for CutAndPaste use the
12929         static method directly
12930         (pasteSelection): ditto
12931
12932         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12933         LyXview (+ rename)
12934
12935 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * modifications to some other files because of this.
12938
12939         * Makefile.am (lyx_SOURCES): add XFormsView
12940
12941         * XFormsView.[Ch]: new files
12942
12943         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12944         the main window. Move the gui dependent stuff to XFormsView
12945
12946 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * tabular.C (GetCellInset): update cur_cell also in the row/col
12949         version of this function.
12950
12951         * lyxfunc.C: no need to include figure_form.h here.
12952
12953         * FontLoader.h:
12954         * lyxfunc.h:
12955         * lyxscreen.h:
12956         * text2.C:
12957         * lyxvc.C: no need to include forms.h here.
12958
12959 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12962
12963         * lyxfunc.C (Dispatch):
12964         * Spacing.C (set):
12965         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12966         constructor argument.
12967
12968 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * paragraph.C (Paragraph): dont't clear, and just set layout.
12971         (makeSameLayout): use params's copy contructor.
12972
12973         * ParagraphParameters.[Ch] (makeSame): delete method
12974
12975 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * Variables.[Ch]: fix indentation, rename set to isSet
12978
12979 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * lyxfunc.C (Dispatch): fix typo
12982
12983 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12986         upper_bound.
12987
12988         * bufferlist.C: include assert.h for emergencyWrite().
12989
12990 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12993           give up at last (bug #425202) !
12994
12995 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * lyx_gui_misc.C:
12998         * sp_form.h:
12999         * sp_form.C:
13000         * spellchecker.h:
13001         * spellchecker.C: strip spellchecker options and bring up
13002           preferences tab instead
13003
13004 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13005
13006         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13007         the istringstream constructor
13008
13009 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * paragraph.C (getLayout): fix return value
13012
13013         * paragraph.h: do not declare getLayout as inline.
13014
13015         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13016
13017 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * lyxcursor.h (operator<): new func
13020         (operator>): new func
13021         (operator>=): new func
13022         (operator<=): new func
13023
13024         * text.C (changeCase): use selection.start and selection.end
13025         (changeRegionCase): require from to be <= to. Require par to be a
13026         valid paragraph.
13027
13028         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13029
13030 2001-06-27  Juergen Vigna  <jug@sad.it>
13031
13032         * text.C (cursorLeftOneWord): changed to return the cursor and added
13033         overlay with BufferView * parameter which calls this one.
13034         (getWord): added
13035         (selectWord): use new getWord function.
13036         (changeCase): renamed from changeWordCase as and extended to work
13037         also on selections.
13038
13039         * lyxtext.h: added enum word_location
13040
13041         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13042         changeCase as this operates now also on selections.
13043
13044 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13045
13046         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13047
13048         * many files: send debug output to Debug::INFO instead of
13049         Debug::ANY.
13050
13051         * converter.C (View):
13052         (Convert):
13053         (Move): send debug output to Debug::FILES instead of console.
13054
13055 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13056
13057         * lyxfunc.C (getStatus): use func_status
13058
13059         * func_status.h: new header, describing the results of
13060         LyXFunc::getStatus;
13061
13062         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13063         LFUN_MATH_HALIGN.
13064
13065 2001-06-25  The LyX Project  <jug@sad.it>
13066
13067         * buffer.C (sgmlOpenTag):
13068         (sgmlCloseTag):
13069         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13070
13071 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13072
13073         * text2.C: remove some dead code
13074
13075         * tabular.C (GetCellInset): store the last cell checked (gotten)
13076
13077         * tabular.h: add the helper for the speedup
13078
13079         * lyxtext.h: remove some dead code
13080
13081 2001-06-26  The LyX Project  <Asger>
13082
13083         * paragraph.C: Change export to LaTeX of alignment to
13084         \begin{center} and family for better roundtrip work with reLyX.
13085
13086         * Tune the math drawing a bit.
13087
13088 2001-06-25  The LyX Project  <Asger>
13089
13090         * LColor.C (LColor): New color for math background. New color
13091         for buttons.
13092
13093 2001-06-25  The LyX Project  <jug@sad.it>
13094
13095         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13096
13097         * lyxfunc.C (Open):
13098         * bufferlist.C (newFile): do not restrict to files ending with
13099         .lyx
13100
13101         * BufferView_pimpl.C (MenuInsertLyXFile):
13102
13103 2001-06-24  The LyX Project  <jug@sad.it>
13104
13105         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13106         of compare_no_case
13107
13108 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * lyxtext.h: rename most methods to begin with a small char.
13111         Lots of changes because of this.
13112
13113         * paragraph.C (Paragraph): do not call fitToSize
13114         (erase): call Pimpl::erase
13115         (insertChar): call Pimpl::insertChar
13116         (insertInset): call Pipl::insertInset
13117         (breakParagraph): do not call fitToSize
13118         (breakParagraphConservative): do not call fitToSize
13119         (fitToSize): remove method
13120
13121         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13122
13123 2001-06-24  The LyX Project  <Asger>
13124
13125         * Fix Qt compilation^2
13126
13127 2001-06-24  The LyX Project  <jug@sad.it>
13128
13129         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13130         depthHook(getDepth()-1).
13131
13132         * paragraph.h:
13133         * ParagraphParameters.h:
13134         * ParameterStruct.h: change type of depth to unsigned int ==
13135         depth_type. Many adaptations to other files before of that.
13136
13137 2001-06-24  The LyX Project  <Asger>
13138
13139         * Fix Qt compilation.
13140
13141 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * paragraph.h: renamed several methods to begin with small letter.
13144         several changes to many parts of the code because of this.
13145
13146 2001-06-23  The LyX Project  <jug@sad.it>
13147
13148         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13149         rewritten to discard all double spaces when KeepEmpty is off
13150         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13151         to only handle newlines but not fiddle with spaces and friends.
13152
13153         * lyxfunc.C (MenuNew): when doing 'new from template', use
13154         template_path as default directory
13155
13156 2001-06-23  The LyX Project  <Asger>
13157
13158         * Clean-up of header file includes all over
13159         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13160
13161 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13162
13163         * paragraph.h: renamed from lyxparagraph.h
13164
13165 2001-06-23  Asger  <lyx@violet.home.sad.it>
13166
13167         * Buffer.h: Removed Buffer::resize
13168         * BufferList.h: Removed BufferList::resize
13169         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13170         the document lazily when we change the width, or the font settings.
13171
13172 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13175
13176 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * buffer.h: remove out of date comment
13179
13180 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * lyxscreen.h:
13183         * screen.C: fix "theoretical" GC leak
13184
13185 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * LaTeX.C (scanAuxFile):
13188         (deplog): remove trailing \r when reading stream (useful under
13189         win32)
13190
13191 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13192
13193         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13194         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13195         and BufferView::theLockingInset(Inset*), so should use them and not
13196         access bv_->text->the_locking_inset directly.
13197
13198         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13199
13200 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * Makefile.am:
13203         * tex-defs.h: remove old unused file
13204
13205 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * BufferView_pimpl.C: fix typo, remove minibuffer message
13208           when buffer has loaded
13209
13210 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * lyxfunc.C (Dispatch): use stringstream
13213         (MenuNew): use stringstream
13214         (Open): use stringstream
13215
13216         * importer.C (Import): use stringstream
13217
13218         * bufferview_funcs.C (CurrentState): use stringstream
13219
13220         * LaTeX.C (run): use stringstream
13221
13222         * BufferView_pimpl.C (savePosition): use stringstream
13223         (restorePosition): use stringstream
13224         (MenuInsertLyXFile): use stringstream
13225
13226 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13227
13228         * BufferView.C:
13229         * Bullet.C:
13230         * ColorHandler.C:
13231         * FontInfo.C:
13232         * FontLoader.C:
13233         * LColor.C:
13234         * LaTeXFeatures.C:
13235         * Painter.C:
13236         * gettext.C:
13237         * lyx_gui_misc.C:
13238         * lyxserver.C:
13239         * vspace.C: removed // -*- C++ -*- as first line.
13240
13241         * lyxfind.h:
13242         * version.h: added // -*- C++ -*- as first line.
13243
13244 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13245
13246         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13247
13248         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13249         of string
13250
13251 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13254         of floats.
13255
13256 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * gettext.C: include LString.h even when --disable-nls is on.
13259
13260 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13261
13262         * converter.h (Get): changed argument type from int to
13263         FormatList::size_type to avoid unnecessary conversion.
13264
13265         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13266         before using it.
13267
13268 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * gettext.h: include LString.h even when --disable-nls is on.
13271
13272 2001-06-07  Juergen Vigna  <jug@sad.it>
13273
13274         * text.C (BreakAgain): subst spaces with tabs.
13275
13276         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13277         (resizeInsetsLyXText): set force on resizeLyXText.
13278
13279 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * gettext.h (gettext_init):
13282         (locale_init): use a real definition instead of a macro
13283
13284 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * Bufferview_pimpl.C:
13287         * LColor.h:
13288         * LColor.C: further lcolor tidies
13289
13290 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * BufferView_pimpl.C (updateScrollbar): simplify.
13293
13294         * BufferView2.C: don't include insets/insetinfo.h, change
13295         prototype for insertInset and call the Pimpl version. let
13296         updateInset call Pimpl version.
13297
13298         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13299         gotoInset to BufferView::Pimpl
13300
13301 2001-06-01  Juergen Vigna  <jug@sad.it>
13302
13303         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13304         inside a LockingInset (is the update needed at all?).
13305
13306 2001-05-31  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13309         here not the old one otherwise how should we compare it afterwards
13310         if it's the same!
13311
13312 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13313
13314         * lyxfont.C:
13315         * tabular.C:
13316         * tabular-old.C:
13317         * FontInfo.C: bring C functions into global namespace when
13318         necessary
13319
13320 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * LString.h: make sure config.h has been loaded before LString.h.
13323
13324         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13325         (one for each char read by EatLine!).
13326
13327         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13328         variables.
13329
13330 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13333         to the same as the par we break from
13334
13335 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13338
13339         * MenuBackend.C (expand): also create menu entries for wide
13340         versions of the floats.
13341
13342         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13343
13344         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13345
13346         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13347         frontends/Makefile.am
13348
13349         * text2.C: adjust
13350         * text.C: adjust
13351
13352
13353         * tabular.C (getTokenValue): add std::
13354
13355         * tabular-old.C (getTokenValue): add std::
13356         (getTokenValue): ditto
13357         (getTokenValue): ditto
13358
13359         * screen.C (ToggleSelection): adjust
13360
13361         * lyxtext.h: put selection cursors inside a Selection struct.
13362
13363         * lyxfunc.C (moveCursorUpdate): adjust
13364
13365         * lyxfont.C (latexWriteStartChanges): add std::
13366
13367         * lyxfind.C: adjust
13368
13369         * font.h: delete with(char const *, LyXFont const &)
13370
13371         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13372
13373         * FontInfo.C (getFontname): add std::
13374
13375         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13376         (workAreaButtonPress): adjust
13377         (tripleClick): adjust
13378         (update): adjust
13379         (moveCursorUpdate): adjust
13380         (Dispatch): adjust
13381
13382         * BufferView2.C (gotoInset): adjust
13383
13384 2001-05-30  Juergen Vigna  <jug@sad.it>
13385
13386         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13387         to check pspell I add this as default as I now have new pspell
13388         libraries and they seem to use this.
13389
13390 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * text2.C (CutSelection): make the cursor valid before the call to
13393         ClearSelection.
13394
13395 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13396
13397         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13398         relied on 0 terminated strings and other horrors. Bug found due to
13399         the new assert in lyxstring!
13400
13401         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13402         KP_ keys.
13403
13404 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13407         to latinkeys.bind.
13408
13409         * lyxfunc.C (processKeySym): change method of getting to the
13410         self-insert char.
13411
13412         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13413         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13414         * BufferView_pimpl.[Ch]: here as private methods.
13415
13416 2001-05-28  Juergen Vigna  <jug@sad.it>
13417
13418         * text.C (SetHeightOfRow): added the update() call again as it is
13419         needed to initialize inset dimensions!
13420
13421 2001-05-16  Juergen Vigna  <jug@sad.it>
13422
13423         * text2.C (SetCharFont): Add new function with BufferView * and
13424         bool toggleall parameters for setting insets internal fonts.
13425         (SetFont): Freeze the undo as we may change fonts in Insets and
13426         all this change should be inside only one Undo!
13427
13428         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13429         setting font's in insets as for them we have the SetFont function!
13430
13431 2001-05-15  Juergen Vigna  <jug@sad.it>
13432
13433         * text2.C (ClearSelection): to be sure we REALLY don't have any
13434         selection anymore!
13435
13436         * tabular.C (TeXCellPreamble): fixed the left border problem for
13437         multicolumn cells.
13438
13439 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13440
13441         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13442         dependancy file
13443
13444 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13447         LFUN_BREAKPARAGRAPH.
13448
13449         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13450         help test to "internal only", similar for LFUN_INSERT_URL
13451
13452         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13453         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13454         auto_region_delete and deadkeys.
13455
13456 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * LColor.h:
13459         * LColor.C: remove some dead entries, tidy a little
13460
13461 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13462
13463         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13464         commented code.
13465         (Dispatch): implement LFUN_ESCAPE
13466
13467         * commandtags.h: add LFUN_ESCAPE
13468
13469         * LyXAction.C (init): add entry for LFUN_ESCAPE
13470
13471         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13472         Remove commented code.
13473         (insertNote): moved here
13474         (open_new_inset): moved here
13475
13476         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13477         BufferView_pimpl
13478
13479 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13480
13481         * kbmap.C (findbinding): clean it up and make it work correctly.
13482
13483         * lyx_main.C (init): do not pass argc and argv as parameters
13484
13485 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13486
13487         * buffer.C: fix path for OS/2 & Win32
13488
13489         * lyx_gui.C:
13490         * lyx_main:
13491         * lyx_main.C: Added os:: class.
13492
13493         * os2_defines.h: update
13494
13495 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13498         better by trying again with reduced state.
13499
13500 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13501
13502         * lyxrc.C (read): print error about invalid key sequence only when
13503         debugging (because not all latinX keysyms are known to some X
13504         servers)
13505
13506         * kbsequence.C (getiso): add a few std:: qualifiers
13507         (getiso): comment out extra return statement.
13508
13509 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13512         handling.
13513         (Dispatch): enhance the accent inset a bit. (not perfect)
13514
13515 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13518
13519 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * bufferlist.C (emergencyWrite): fix assert() call
13522
13523 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13524
13525         * text.C (InsertChar): Added trivial patch to only send the "you
13526         can not do multiple spaces this way" message once during a
13527         session.
13528
13529 2001-05-08  Baruch Even  <baruch@lyx.org>
13530
13531         * Makefile.am: Changed order of libraries to get LyX to link properly
13532         with the gnome frontend.
13533
13534 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * LaTeXFeatures.h: add a std:: qualifier
13537
13538 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * paragraph.C (String): use stringstream
13541
13542 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * paragraph.C (writeFile): remove footflag arg
13545
13546         * buffer.C (makeLaTeXFile): use stringstream
13547         (latexParagraphs): remove footnot gurba
13548
13549         * LaTeXFeatures.C (getPackages): use stringstream
13550         (getMacros): likewise
13551         (getTClassPreamble): likewise
13552         (getFloatDefinitions): new method
13553
13554         * paragraph.C (writeFile): reindent
13555         (Erase): reindent
13556
13557         * WorkArea.h: revert the xpos + etc changes.
13558
13559         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13560
13561         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13562
13563         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13564         (pasteSelection): likewise
13565         * text2.C (CreateUndo): likewise
13566
13567 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * minibuffer.C (peek_event): temporarily reduce the functionality
13570         of the minibuffer (to allow args on lfuns)
13571
13572         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13573         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13574
13575         * buffer.C (readInset): add compability reading of old float
13576         lists, add reading of new style float list.
13577         (readInset): avoid reevaluation of inscmd.getCmdName()
13578         (getLists): reindent
13579
13580         * MenuBackend.C (MenuItem): implement parsing of
13581         md_floatlistinsert and md_floatinsert.
13582         (expand::LastFiles): move initalizaton of iterators out of loop,
13583         avoid reevaluation.
13584         (expand::Documents): introduce typdedef vector<string> Strings,
13585         and use it.
13586         (expand::ExportFormats): introduce typedef vector<Format const *>
13587         Formats, and use it.
13588         (expand): implement FloatListInsert and FloatInsert.
13589
13590         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13591         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13592         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13593
13594         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13595         handling.
13596         (Dispatch::LFUN_FLOAT_LIST): implement
13597
13598 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13599
13600         * LaTeX.C (run): Fix problem with --export code.
13601
13602 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13603
13604         * BufferView.[Ch] (workarea): removed.
13605         (getClipboard) new method; wrapper for workarea()->getClipboard()
13606
13607         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13608         bug.
13609
13610         * WorkArea.h (width, height, xpos, ypos): These methods all
13611         returned the dimensions of the work_area sub-area of WorkArea,
13612         resulting in a position error if the WorkArea were resized. Now
13613         return the dimensions of the entire WorkArea.
13614
13615         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13616
13617 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * LaTeX.C (deplog): correct the syntax of regex reg1
13620
13621 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * undo.C: remove !NEW_INSETS cruft
13624
13625 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13626
13627         * text2.C: remove !NEW_INSETS cruft
13628
13629         * text.C: remove !NEW_INSETS cruft
13630
13631         * tabular.C: remove !NEW_INSETS cruft
13632
13633         * spellchecker.C: remove !NEW_INSETS cruft
13634
13635         * lyxtext.h: remove !NEW_INSETS cruft
13636
13637         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13638
13639         * lyxfunc.C: remove !NEW_INSETS cruft
13640
13641         * lyxfind.C: remove !NEW_INSETS cruft
13642
13643         * lyx_cb.C: remove !NEW_INSETS cruft
13644
13645         * figureForm.C: remove  !NEW_INSETS cruft
13646
13647         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13648
13649         * buffer.[Ch]: remove !NEW_INSETS cruft
13650
13651         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13652
13653         * CutAndPaste.C: remove !NEW_INSETS cruft
13654
13655         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13656
13657         * BufferView2.C: remove !NEW_INSETS cruft
13658
13659         * BufferView.h: remove !NEW_INSETS cruft
13660
13661 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13662
13663         * Lsstream.h: include LString.h before the sstream headers to
13664         fix problem with gcc 2.95.3 and lyxstring
13665
13666 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * lyx_main.C: add using directives when needed for C functions
13669         declared in std:: namespace.
13670
13671 2001-04-27  Juergen Vigna  <jug@sad.it>
13672
13673         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13674         (SetHeightOfRow): comment out the update call should not be needed!
13675
13676 2001-04-13  Juergen Vigna  <jug@sad.it>
13677
13678         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13679         (LyXTabular): tried to minimize operator= operations (and realized
13680         hopfully Lars wish).
13681
13682 2001-04-27  Juergen Vigna  <jug@sad.it>
13683
13684         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13685
13686 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13689
13690         * buffer.C (readInset): hack to make listof algorithm work
13691
13692         * BufferView_pimpl.C: hack to make listof algorithm work
13693
13694 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * LyXAction.C: removed all !NEW_INSETS cruft
13697         (init): moved lfun_item in method
13698
13699         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13700
13701 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13702
13703         * BufferView2.C (theLockingInset): white space.
13704
13705 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13706
13707         * minibuffer.C: include <iostream>
13708
13709         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13710
13711         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13712
13713         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13714
13715         * text.[Ch] (TransposeChars): new method
13716
13717 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * call message directly through LyXView instead of through LyXFunc
13720         * BufferView2.C: adjust
13721         * BufferView_pimpl.C: adjust
13722         * FontLoader.C: adjust
13723         * buffer.C: adjust
13724         * bufferview_funcs.C: adjust
13725         * converter.C: adjust
13726         * figureForm.C: adjust
13727         * importer.C: adjust
13728         * lyx_cb.C: adjust
13729         * lyx_gui_misc.C: adjust
13730         * lyxfunc.C: adjust
13731         * lyxvc.C: adjust
13732         * text2.C: adjust
13733         + more files in subdirs
13734
13735         * lyxparagraph.h (size): move up int file
13736         (GetLayout): ditto
13737
13738         * adjust all uses of Assert to lyx::Assert.
13739
13740         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13741         lyxfunctional in namespace lyx
13742         * layout.C (hasLayout): ditto
13743         (GetLayout): ditto
13744         (GetLayout): ditto
13745         (delete_layout): ditto
13746         (NumberOfClass): ditto
13747         * converter.C (GetFormat): ditto
13748         (GetNumber): ditto
13749         (Add): ditto
13750         (Delete): ditto
13751         (SetViewer): ditto
13752         * bufferlist.C (getFileNames): ditto
13753         (emergencyWriteAll): ditto
13754         (exists): ditto
13755         (getBuffer): ditto
13756         * MenuBackend.C (hasSubmenu): ditto
13757         (hasMenu): ditto
13758         (getMenu): ditto
13759         * BufferView_pimpl.C (getInsetByCode): ditto
13760
13761 2001-04-18  Juergen Vigna  <jug@sad.it>
13762
13763         * vspace.C (asLatexString): fixed the 100% problem.
13764
13765 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * lyxfunc.C (Dispatch):
13768         * minibuffer.C:
13769         * minibuffer.h: add a few std:: qualifiers
13770
13771 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * minibuffer.[Ch]: reimplement so that commands is initiated and
13774         run from lyxfunc, simplified som handling, and made the completion
13775         and history code for complete. wip.
13776
13777         * lyxfunc.C (processKeySym): call message
13778         (miniDispatch): new temporary method
13779         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13780         (LFUN_MESSAGE): implement
13781         (LFUN_MESSAGE_PUSH): implement
13782         (LFUN_MESSAGE_POP): implement
13783         (initMiniBuffer): the initial/defualt minibuffer message.
13784
13785         * lyxfont.[Ch]: inline some more getters
13786
13787         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13788
13789         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13790
13791         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13792         (AutoSave): use LFUN_MESSAGE
13793         (Reconfigure): ditto
13794
13795         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13796
13797         * figureForm.C: use LFUN_MESSAGE
13798
13799         * converter.C (runLaTeX): use LFUN_MESSAGE
13800
13801         * bufferview_funcs.C: use LFUN_MESSAGE
13802         (Melt): ditto
13803         (changeDepth): ditto
13804
13805         * bufferparams.h: use boost::
13806
13807         * bufferlist.h: inherit privately from noncopyable
13808
13809         * bufferlist.C (loadLyXFile): remove some commented code.
13810
13811         * buffer.C (runChktex): use LFUN_MESSAGE
13812
13813         * ShareContainer.h: inherit privately from noncopyable
13814
13815         * ParagraphParameters.[hC] (depth): inline it.
13816
13817         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13818         methods.
13819         (message): new method
13820         (messagePush): ditto
13821         (messagePop): ditto
13822         (show): init minibuffer
13823         (showState): direct call
13824
13825         * LaTeX.[Ch]: inherit privately from noncopyable
13826         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13827         instead of WriteStatus.
13828
13829         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13830
13831         * BufferView_pimpl.C (buffer): don't init minibuffer
13832         (workAreaButtonPress): use LFUN_MESSAGE
13833         (workAreaButtonRelease): ditto
13834         (savePosition): ditto
13835         (restorePosition): ditto
13836         (MenuInsertLyXFile): ditto
13837         (workAreaExpose): don't init minibuffer
13838         (update): remove commented code, simplify
13839
13840         * BufferView2.C (openStuff): use LFUN_MESSAGE
13841         (toggleFloat): ditto
13842         (menuUndo): ditto
13843         (menuRedo): ditto
13844         (copyEnvironment): ditto
13845         (pasteEnvironment): ditto
13846         (copy): ditto
13847         (cut): ditto
13848         (paste): ditto
13849         (gotoInset): ditto
13850         (updateInset): remove some commented code
13851
13852         * lastfiles.h: inherit privately from noncopyable
13853         * layout.h: ditto
13854         * lyx_gui.h: ditto
13855         * lyx_main.h: ditto
13856         * lyxlex.h: ditto
13857         * lyxlex_pimpl.h: ditto
13858
13859         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13860         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13861         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13862
13863         * LyXAction.h: inherit privately from noncopyable, add methods
13864         func_begin, func_end, returning iterators to the func map.
13865
13866         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13867         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13868         (func_begin): new method
13869         (func_end): new method
13870
13871         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13872         and not)
13873         (copySelection): ditto
13874         (pasteSelection): ditto
13875
13876         * BufferView.C: whitespace change
13877         * BufferView.h: inherit privately from noncopyable
13878
13879 2001-04-16  Allan Rae  <rae@lyx.org>
13880
13881         * tabular-old.C (l_getline):
13882         * spellchecker.C (sc_check_word):
13883         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13884         an unrecognised preprocessor directive.  So ensure they're wrapped.
13885
13886 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13887
13888         * src/exporter.C (Export): Give an error message when path to file
13889         contains spaces.
13890
13891 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13892
13893         * LaTeX.C (deplog): Always check that foundfile exists.
13894
13895 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * lyx_main.h:
13898         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13899
13900 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * tabular.[Ch] (getLabelList): implement new method
13903
13904         * minibuffer.h: comment ouf setTiimer
13905
13906         * minibuffer.C (ExecutingCB): constify res
13907         (peek_event): constify s
13908         (Set): constify ntext
13909         (Init): constify nicename
13910
13911         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13912
13913         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13914         (savePosition): use two params to Minibuffer::Set
13915         (restorePosition): ditto
13916
13917 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * lyx_main.C: include language.h
13920
13921         * Makefile.am (lyx_main.o): add language.h
13922
13923 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * exporter.C:
13926         * paragraph.C:
13927         * screen.C:
13928         * tabular.C:
13929         * CutAndPaste.C: include gettext.h
13930
13931         * lyxfont.h: remove old hack with ON and OFF.
13932
13933         * lyxparagraph.h:
13934         * lyxfont.h: do not include language.h...
13935
13936         * BufferView2.C:
13937         * LaTeXFeatures.C:
13938         * Painter.C:
13939         * bufferview_funcs.C:
13940         * font.C:
13941         * lyxfont.C:
13942         * text.C:
13943         * text2.C:
13944         * trans_mgr.C:
13945         * paragraph.C: ... but do it here instead
13946
13947 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13948
13949         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13950
13951         * tabular.C: small reformat
13952
13953         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13954         NEW_INSETS version
13955         (GetChar): ditto
13956         (BreakParagraph): ditto
13957         (SetOnlyLayout): ditto
13958         (SetLayout): ditto
13959
13960         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13961         with one arg less.
13962
13963         * lastfiles.C: removed most using decl, add std:: where needed
13964
13965         * buffer.C: ws changes
13966
13967         * MenuBackend.C (class compare_format): put into anon namespace
13968         (expand): constify label, names, action, action2
13969         (expand):
13970
13971         * text.C (SingleWidth): constify font
13972         (IsBoundary): constify rtl2
13973         (GetVisibleRow): constify ww
13974
13975         * LaTeX.C (deplog): constify logfile
13976
13977         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13978         start_x, end_x
13979         (workAreaExpose): constify widthChange, heightChange
13980
13981         * lyxrow.C (par): moved
13982         (height): moved
13983         (next): moved
13984         * lyxrow.h: as inlines here
13985
13986         * lyxfont.h (shape): moved from lyxfont.C
13987         (emph): moved from lyxfont.C
13988
13989         * lyxfont.C (LyXFont): use initialization list for all
13990         constructors
13991         (shape): move to lyxfont.h as inline
13992         (emph): move to lyxfont.h as inline
13993
13994
13995 2001-04-04  Juergen Vigna  <jug@sad.it>
13996
13997         * vspace.C: had to include stdio.h for use of sscanf
13998
13999 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * BufferView.h:
14002         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14003         independent of xforms.
14004
14005 2001-04-02  Juergen Vigna  <jug@sad.it>
14006
14007         * spellchecker.C: fixed namespace placing!
14008
14009 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14010
14011         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14012         the LyXParagraph * is 0.
14013
14014 2001-03-29  Juergen Vigna  <jug@sad.it>
14015
14016         * vspace.C: added support for %, c%, p%, l%.
14017         (stringFromUnit): added helper function.
14018         (asLatexString): changed to give right results for the %-values.
14019
14020         * buffer.C: convert the widthp in a width%.
14021
14022 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14025         figureForm.[Ch].
14026
14027         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14028         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14029
14030         * lyx_cb.[Ch]: see above.
14031
14032         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14033         form1.[Ch].
14034
14035         * form1.[Ch]:
14036         * lyx.[Ch]: replaced by figure_form.[Ch].
14037
14038         * lyx_gui.C:
14039         * lyx_gui_misc.C:
14040         * lyxfunc.C: changed headers associated with above changes.
14041
14042 2001-03-27  Juergen Vigna  <jug@sad.it>
14043
14044         * BufferView_pimpl.C: set the temporary cursor right!
14045
14046 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14049
14050 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * LString.h: removed "using std::getline"!
14053
14054         * BufferView_pimpl.C (Dispatch): changes due to changes in
14055         InsetInclude::Params.
14056
14057         * buffer.C (tag_name): removed redundant break statements as they were
14058         producing lots of warnings with my compiler.
14059
14060 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * LString.h: add "using std::getline" when using the real <string>.
14063
14064 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14065
14066         * buffer.C: removed bitset usage.
14067         PAR_TAG moved to an anonymous name space.
14068         (tag_name): new funtion, also in the anonymous namespace.
14069         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14070         (makeDocBookFile): clean code. Completed transition from string arrays
14071         to string vectors.
14072         (SimpleDocBookOnePar): code clean.
14073
14074 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14075
14076         * tabular.C: add some comments.
14077
14078 2001-03-22  Juergen Vigna  <jug@sad.it>
14079
14080         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14081         compatibility read a bit and fixed bug with minipage in different
14082         depth.
14083
14084 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14085
14086         * buffer.C (pop_tag): removed.
14087         (push_tag): removed.
14088         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14089         array replaced with vector. Added support for CDATA sections.
14090         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14091         at any nest level.
14092         (makeDocBookFile): XML conformant declaration of CDATA section,
14093         fixed bug related to <emphasis> in the first paragraph char.
14094         (sgmlOpenTag): exclude empty tags.
14095         (sgmlCloseTag): ditto.
14096
14097         * buffer.h (pop_tag): removed.
14098         (push_tag): removed.
14099
14100 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14101
14102         * language.h (Languages): added size_type and size().
14103
14104 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14105
14106         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14107         response on compability reading of minipages. One probliem is that
14108         the old usage of minipages was «flertydig»
14109
14110         * several files here and in subdirs: don't use static at file
14111         scope use anon namespaces instead.
14112
14113 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14114
14115         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14116         LaTeX output. This is necessary for Literate document
14117         processing.
14118
14119 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14120
14121         * buffer.C: insert hfill when needed.
14122
14123         * tabular.C (l_getline): use string::erase, small whitespace change.
14124
14125         * BufferView_pimpl.C: try the anon namespace.
14126         * WorkArea.C: ditto
14127
14128 2001-03-16  Juergen Vigna  <jug@sad.it>
14129
14130         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14131         otherwise it won't open options-dialogs.
14132
14133         * buffer.C: honor pextraWidth(p) on converting minipages.
14134
14135         * tabular.C (l_getline): changed the functions to strip trailing \r.
14136
14137 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14138
14139         * BufferView_pimpl.C:
14140         * minibuffer..C: added "using SigC::slot" declaration.
14141
14142 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14143
14144         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14145
14146         * text2.C: ditto
14147
14148         * text.C: ditto
14149
14150         * paragraph.C: ditto
14151
14152         * lyxtext.h: NO_PEXTRA
14153
14154         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14155
14156         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14157         * ParameterStruct.h: ditto
14158         * ParagraphParameters.h: ditto
14159         * lyxparagraph.h: ditto
14160
14161 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14162
14163         * buffer.C: add compability for minipage alignment.
14164         (latexParagraphs): remove unwanted pextra check.
14165
14166         * several files: remove CXX_WORKING_NAMESPACES
14167
14168         * buffer.C (pop_tag): tie is in namespace boost
14169
14170         * BufferView.h: noncopyable is in namespace boost
14171         * lyxlex.h: ditto
14172         * lyx_main.h: ditto
14173         * lyx_gui.h: ditto
14174         * layout.h: ditto
14175         * lastfiles.h: ditto
14176         * bufferlist.h: ditto
14177         * ShareContainer.h: ditto
14178         * LyXView.h: ditto
14179         * LyXAction.h: ditto
14180         * LaTeX.h: ditto
14181
14182 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * Merging changes from BRANCH_MVC back into HEAD.
14185
14186         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14187
14188 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * BufferView_pimpl.C: change from intl.C
14191
14192         * combox.h:
14193         * combox.C:
14194         * Makefile.am: move combox.*
14195
14196         * form1.h:
14197         * form1.C:
14198         * lyx_gui.C:
14199         * intl.h:
14200         * intl.C: remove dialog (covered by prefs)
14201
14202 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14203
14204         * lyxfunc.C (Dispatch): removed redundant break statement.
14205
14206 2001-03-14  Juergen Vigna  <jug@sad.it>
14207
14208         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14209
14210 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14211
14212         * buffer.C: add hack to fix compability reading of minipages.
14213
14214 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14215
14216         * buffer.C (getLists): Cleanup.
14217
14218 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * lyxfont.C (update): don't honor toggleall on font size.
14221
14222 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * bmtable.c:
14225         * bmtable.h:
14226         * Makefile.am: moved to frontends/xforms/
14227
14228         * lyx_gui_misc.C:
14229         * lyxfunc.C:
14230         * BufferView_pimpl.C: changes for moved mathpanel
14231
14232 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * gettext.h: fix gettext_init() in --disable-nls
14235
14236 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14237
14238         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14239
14240 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * lyx.C:
14243         * lyx.h: strip external form
14244
14245 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * BufferView_pimpl.C: add comment, destroySplash()
14248
14249 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * BufferView_pimpl.C:
14252         * LyXAction.C:
14253         * buffer.C:
14254         * commandtags.h:
14255         * lyxfunc.C: use re-worked insetinclude
14256
14257 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14258
14259         * buffer.C: add using std::stringstream.
14260
14261         * lyx_cb.C: readd using std::ios.
14262
14263         * buffer.C: add using std::map.
14264
14265         * BufferView_pimpl.C: add using std::vector.
14266
14267         * ShareContainer.h: add std:: to swap.
14268
14269         * buffer.h: add some typedefs
14270         * buffer.C (getLists): use them
14271         (getLists): renamed from getTocList.
14272         add a counter for the different float types and use it in the
14273         generated string.
14274         (getLists): use the same counter for the NEW_INSETS and the "non"
14275         NEW_INSETS
14276
14277         * lyx_cb.h: remove unused items, includes, using etc.
14278
14279         * ShareContainer.h: remove some commented code, add more comments
14280         and "documentation".
14281
14282 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14283
14284         * buffer.C (getTocList): make the list also when NEW_INSETS is
14285         defined.
14286
14287         * buffer.h: remove TocType
14288
14289         * buffer.C (getTocList): change to return a map<string,
14290         vector<TocItem> >, implement for dynamic number of list.
14291
14292         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14293         * text2.C (PasteSelection): adjust
14294         * CutAndPaste.C (pasteSelection): adjust
14295
14296         * FloatList.C (FloatList): update from the new_insets branch.
14297         * Floating.[Ch]: ditto
14298         * LaTeXFeatures.C: ditto
14299         * buffer.C: ditto
14300         * lyxlex_pimpl.C: ditto
14301
14302         * paragraph.C (Last): remove when NEW_INSETS is defined.
14303
14304         * other file: changes because of the above.
14305
14306 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14307
14308         * lyxparagraph.h: rename next to next_, previous to previous_,
14309         make them private for NEW_INSETS. Rename Next() to next(),
14310         Previous() to previous().
14311
14312         * other files: changes because of the above.
14313
14314 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * BufferView.h:
14317         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14318         problem.
14319
14320 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * main.C (main): pass lyx_localedir to gettext_init().
14323
14324         * gettext.h: remove locale_init and gettext_init macros
14325
14326         * gettext.C (locale_init): new function
14327         (gettext_init): new function
14328
14329         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14330         setlocale().
14331
14332 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14333
14334         * Moved credits to frontends:
14335         * credits.[Ch]: removed
14336         * credits_form.[Ch]: removed
14337         * lyx_gui_misc.C: remove credits stuff
14338         * Makefile.am:
14339
14340 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14341
14342         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14343
14344         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14345         unneeded destructor.
14346
14347         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14348         a standalone pointer again.
14349
14350         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14351
14352 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * Makefile.am:
14355         * filedlg.h:
14356         * filedlg.C:
14357         * LyXAction.C:
14358         * ToolbarDefaults.C:
14359         * bufferlist.C:
14360         * commandtags.h:
14361         * form1.C:
14362         * form1.h:
14363         * lyx_cb.C:
14364         * lyx_cb.h:
14365         * lyxfunc.h:
14366         * lyxfunc.C:
14367         * BufferView_pimpl.C: use new file dialog in GUII
14368
14369         * lyx_cb.h:
14370         * lyx_cb.C: remove LayoutsCB to Toolbar
14371
14372 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14373
14374         * ShareContainer.h (get): add std:: qualifier
14375
14376 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * ShareContainer.h: define a proper ShareContainer::value_type
14379         type (and use typename to please compaq cxx)
14380
14381 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14382
14383         * lyxparagraph.h: move serveral local vars to
14384         ParameterStruct/ParagraphParameters., use ShareContainer in
14385         FontTable., make vars in FontTable private and add getter and
14386         setter.
14387
14388         * paragraph.C: changes because of the above.
14389
14390         * lyxfont.h: remove copy constructor and copy assignment. (the
14391         default ones is ok), move number inside FontBits. move inlines to
14392         lyxfont.C
14393
14394         * lyxfont.C: add number to initializaton of statics, move several
14395         inlines here. constify several local vars. some whitespace
14396         cleanup. Dont hide outerscope variables.
14397
14398         * Spacing.h: add two new constructors to match the set methods.
14399
14400         * ShareContainer.h: new file, will perhaps be moved to support
14401
14402         * ParameterStruct.h: new file
14403
14404         * ParagraphParameters.h: new file
14405
14406         * ParagraphParameters.C: new file
14407
14408         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14409         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14410
14411         * BufferView_pimpl.C: ParagraphParameter changes.
14412         * buffer.C: Likewise.
14413         * bufferview_funcs.C: Likewise.
14414         * text.C: Likewise.
14415         * text2.C: Likewise.
14416
14417 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14418
14419         * lyxfind.C (LyXReplace): do not redefine default argument in
14420         implementation.
14421         (IsStringInText): ditto
14422         (SearchForward): ditto
14423         (SearchBackward): ditto
14424
14425 2001-03-06  Juergen Vigna  <jug@sad.it>
14426
14427         * lyxfind.C (IsStringInText): put parentes around expressions.
14428
14429 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14430
14431         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14432
14433 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14436
14437         * stl_string_fwd.h: add comment
14438
14439         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14440
14441         * tabular.h:
14442         * tabular.C: remove unused DocBook methods
14443
14444         * intl.C:
14445         * language.C:
14446         * paragraph.C:
14447         * buffer.C:
14448         killed DO_USE_DEFAULT_LANGUAGE
14449
14450 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * lyx_gui.C: do not include language.h.
14453
14454         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14455         arguments in function implementation.
14456
14457 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14458
14459         * BufferView_pimpl.C: add <ctime>
14460
14461 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14462
14463         * BufferView_pimpl.C: add using std::find_if
14464
14465 2001-02-27  José Matos  <jamatos@fep.up.pt>
14466
14467         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14468         by OnlyPath.
14469
14470 2001-02-11  José Matos  <jamatos@fep.up.pt>
14471
14472         * buffer.C (makeDocBookFile): command styles now have a parameter as
14473         "title" by default.
14474
14475 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14476
14477         * layout_forms.[Ch]: removed
14478         * lyx_cb.[Ch]: out character
14479         * lyx_gui.C: out character
14480         * lyx_gui_misc.C: out character
14481         * bufferview_funcs.C: : out character,
14482         added toggleall as parameter in ToggleAndShow
14483
14484 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14485
14486         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14487
14488         * text2.C (SetCurrentFont): Disable number property at boundary.
14489
14490 2001-02-26  Juergen Vigna  <jug@sad.it>
14491
14492         * lyxfunc.C (getStatus): added a string argument override function so
14493         that this is correctly called from LyXFunc::Dispatch if it contains a
14494         do_not_use_argument which is used!
14495         (Dispatch): added check for "custom" export and call appropriate func.
14496
14497 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14498
14499         * lyxrc.C: Add language_command_local, language_use_babel and
14500         language_global_options.
14501
14502         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14503
14504         * buffer.C (makeLaTeXFile): Use language_use_babel and
14505         language_global_options.
14506
14507 2001-02-23  Juergen Vigna  <jug@sad.it>
14508
14509         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14510         which works with LyXText and putted it inside BufferView. Here now we
14511         only call for that part the BufferView::Dispatch() function.
14512
14513         * BufferView.C (Dispatch): added.
14514
14515         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14516         functions which needs to use a LyXText over from LyXFunc.
14517         (MenuInsertLyXFile): added
14518         (getInsetByCode): added
14519         (moveCursorUpdate): added
14520         (static TEXT): added
14521
14522 2001-02-22  Juergen Vigna  <jug@sad.it>
14523
14524         * BufferView_pimpl.C (update): call a status update to see if LyXText
14525         needs it.
14526
14527 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14528
14529         * vc-backend.C (revert): implement for CVS
14530         (getLog): implement for CVS
14531
14532 2001-02-20  Juergen Vigna  <jug@sad.it>
14533
14534         * text2.C (ClearSelection): added BufferView param for inset_owner call
14535
14536         * lyxfunc.C (TEXT): added this function and use it instead of
14537         directly owner->view()-text of getLyXText().
14538
14539 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14540
14541         * src/layout_forms.C: out preamble
14542         * src/layout_forms.h: out preamble
14543         * src/lyx_cb.C: out preamble
14544         * src/lyx_cb.h: out preamble
14545         * src/lyx_gui.C: out preamble
14546         * src/lyx_gui_misc.C: out preamble
14547         * src/lyxfunc.C: connect with guii preamble
14548
14549 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14550
14551         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14552
14553 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14554
14555         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14556         whether to run bibtex.
14557
14558 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14559
14560         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14561
14562 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14563
14564         * Makefile.am (lyx_SOURCES): removed bibforms.h
14565
14566         * vspace.h: doxygen
14567
14568         * text.C (GetVisibleRow): make several local vars const
14569
14570         * tabular.C: small cleanup.
14571
14572         * lyxserver.C (callback): use compare instead of strncmp
14573
14574         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14575         inlines to after class or to paragraph.C
14576
14577         * lyxfont.h: remove friend operator!=
14578
14579         * converter.h: move friend bool operator< to non friend and after
14580         class def.
14581
14582         * combox.h: small cleanup
14583
14584         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14585         to inlines after class def.
14586
14587         * buffer.C (pop_tag): use string operations instead of strcmp
14588
14589         * bmtable.c: doxygen, small cleanup
14590
14591         * LaTeX.h: remove friend operator==
14592
14593 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14594
14595         * screen.C:
14596         * lyxrc.[Ch]:
14597         * lyxfunc.C:
14598         * lyxfont.[Ch]:
14599         * lyx_cb.C:
14600         * intl.[Ch]:
14601         * commandtags.h:
14602         * buffer.C:
14603         * WorkArea.[Ch]:
14604         * LyXAction.C:
14605         * BufferView_pimpl.C:
14606         * BufferView.[Ch]: remove cruft
14607
14608 2001-02-14  Juergen Vigna  <jug@sad.it>
14609
14610         * lyxfunc.C: removed #if 0 unused code
14611
14612         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14613
14614         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14615
14616         * text2.C (SetSelection): added a BufferView * parameter
14617
14618 2001-02-13  Juergen Vigna  <jug@sad.it>
14619
14620         * lyxfunc.C (Dispatch): fixed protected blank problem.
14621         * BufferView2.C (protectedBlank): added LyxText * parameter.
14622
14623         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14624         (AppendColumn): same as above for column_info.
14625
14626         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14627         (moveCursorUpdate): use a LyXText param for support of InsetText.
14628
14629         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14630         (tripleClick): ditto
14631
14632         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14633
14634         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14635
14636         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14637
14638         * text2.C (SetSelection): set correct update status if inset_owner
14639         (ToggleFree): ditto
14640
14641 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14642
14643         * tabular.C: remove some commented code.
14644
14645 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * BufferView_pimpl.C: call hideSplash()
14648
14649         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14650
14651         * include_form.h:
14652         * bibforms.h: remove
14653
14654         * lyxfunc.C:
14655         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14656           add LFUN_CHILD_CREATE
14657
14658         * counters.h: fix tiny typo
14659
14660         * lyx_cb.C:
14661         * lyx.h:
14662         * lyx_gui.C:
14663         * lyx.C: move splash to frontends/xforms/
14664
14665         * lyx_gui_misc.C: move Include and Bibform to frontends
14666
14667         * lyxvc.h: clarify comment
14668
14669         * vspace.C: tiny housekeeping
14670
14671 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14672
14673         * text.C (PrepareToPrint): RTL Fix.
14674
14675         * paragraph.C (GetUChar): New method.
14676         (String):  Use GetUChar.
14677
14678         * buffer.C (asciiParagraph): Use GetUChar.
14679
14680 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14683
14684 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * buffer.h:
14687         * buffer.C: rename to getLogName(), handle
14688           build log / latex log nicely
14689
14690 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * MenuBackend.C:
14693         * MenuBackend.h: remove support for reference menuitem type.
14694
14695 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * BufferView_pimpl.C: housekeeping
14698         * BufferView_pimpl.h:
14699         * LyXView.h:
14700         * Makefile.am:
14701         * Timeout.C:
14702         * Timeout.h:
14703         * minibuffer.h: move Timeout GUI-I
14704
14705 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * lyxrc.C (read): Update converters data-structures.
14708
14709 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14710
14711         * LaTeX.h (operator!=): add operator != for Aux_Info
14712
14713 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14714
14715         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14716
14717         * LaTeXLog.C: deleted, useful code moved to Buffer
14718
14719         * buffer.h:
14720         * buffer.C: new function getLatexLogName()
14721
14722         * lyx_gui_misc.C:
14723         * lyx_gui.C:
14724         * lyxvc.C:
14725         * lyxvc.h:
14726         * lyxfunc.C: use frontends for LaTeX and VC logs
14727
14728 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14729
14730         * LaTeX.h: yet another std:: that Allan forgot.
14731
14732         * Variables.C (set): renamed from isset(), because this clashes
14733         with some HP-UX macros (grr).
14734
14735 2001-02-06  Allan Rae  <rae@lyx.org>
14736
14737         * LaTeX.h: Another bug fix.  Missing std:: this time.
14738
14739 2001-02-04  Allan Rae  <rae@lyx.org>
14740
14741         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14742         floats problem. I've left it commented out because it's not quite
14743         correct.  It should also test that the current object is a table or
14744         figure inset.  But I haven't gotten around to figuring out how to do
14745         that.  I *think* it'll be something like: "table" == inset.type()
14746
14747         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14748         bool.
14749
14750 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14751
14752         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14753         all the citation/databases/styles in the auxilary file.
14754         (run): Rerun latex if there was a babel language error.
14755
14756 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14757
14758         * text.C (Backspace): Preserve the font when changing newline char
14759         with a space.
14760         (BreakParagraph): If the cursor is before a space, delete the space.
14761
14762         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14763
14764 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14767         new argument (code).
14768         (ChangeCitationsIfUnique): New method.
14769
14770         * paragraph.C (GetPositionOfInset): Handle bibkey.
14771
14772 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * BufferView_pimpl.h: change type of Position::par_pos to
14775         LyXParagraph::size_type.
14776
14777 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14778
14779         * BufferView_pimpl.C (savePosition, restorePosition): Write
14780         messages to minibuffer.
14781
14782 2001-01-28  José Matos  <jamatos@fep.up.pt>
14783
14784         * buffer.C (makeDocBookFile): adds support for document language.
14785         A silly restriction on the name of LatexCommand types where removed.
14786         Added support for CDATA sections, allows to chars unescaped, used
14787         among others in code, to avoid escape < and >.
14788
14789 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14792         saved positions instrad of a stack. Furthermore, a position is
14793         stored using paragraph id/paragraph position.
14794
14795         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14796         Remove LFUN_REF_BACK.
14797
14798 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * converter.C (dvipdfm_options): New method.
14801
14802 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14803
14804         * vspace.C (isValidLength): Fix for empty input string.
14805
14806 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * LyXAction.C (init): change description of LFUN_FIGURE to
14809         "Insert Graphics"
14810
14811 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * LaTeX.C: add using directive
14814
14815 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * MenuBackend.C (expand): Fix the sorting of the formats.
14818
14819 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * lyx_main.C: tiny error message fix
14822
14823 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14826         calling fl_initialize(). This fixes the problem with ',' as
14827         decimal separator in text files.
14828
14829 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14830
14831         * trans.C (process): Fix the keymap bug.
14832
14833 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14834
14835         * LaTeX.C (scanAuxFiles): New method. Provides support for
14836         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14837         (scanLogFile) Scan for "run BibTeX" messages.
14838
14839         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14840         OT1 font encoding. Also, load the aecompl package if the ae
14841         package is loaded.
14842
14843         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14844
14845 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * texrow.C (increasePos): turn two error messages into debug
14848         messages.
14849
14850 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * LaTeX.C (scanAux): Handle the \@input macro.
14853         (runBibTeX): Use scanAux().
14854
14855         * language.C (latex_options_): New field.
14856
14857         * LaTeXFeatures.C (getMacros): Add language macros.
14858
14859         * buffer.C (makeLaTeXFile): Small fix.
14860
14861 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14862
14863         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14864
14865         * text2.C: add a using directive.
14866
14867 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14868
14869         * BufferView2.C:
14870         * lyx_gui_misc.h:
14871         * lyxfr1.C:
14872         * lyxfunc.C: kill LyXBell.
14873
14874 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14875
14876         * text.C (IsBoundary): Remove the error message
14877
14878         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14879
14880         * lyxrc.C (setDefaults): Correct initialization value for
14881         font_norm_type.
14882
14883 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14886         gotoError().
14887
14888         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14889         and GotoNextNote().
14890
14891         * src/LyXAction.C: Added reference-next.
14892
14893         * text.C (InsertChar): Use contains instead of strchr.
14894
14895         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14896
14897 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14898
14899         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14900         alignment commands (when needed).
14901
14902         * text.C (InsertChar): Add ':' to number separator chars.