]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Store the forked calls in boost::shared_ptr rather than a raw pointer.
[lyx.git] / src / ChangeLog
1 2004-03-23  Angus Leeming  <leeming@lyx.org>
2
3         * ispell.C (LaunchIspell):
4         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
5         a boost::shred_ptr rather than a std::auto_ptr.
6
7 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * lyxfunc.C (getStatus): handle read-only buffers correctly;
10         handle LFUN_FILE_INSERT_*
11
12         * lyxrc.C (setDefaults, getDescription, output, read): 
13         * lyxrc.h: remove ps_command
14
15 2004-03-22  Angus Leeming  <leeming@lyx.org>
16
17         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
18         Ensure that error_handler is processed once only and that all data
19         is saved before attempting to output any warning messages.
20
21         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
22
23 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
24
25         * tabular.C (TeXRow): crash fix (from Kayvan and André)
26
27 2004-03-19  André Pönitz  <poenitz@gmx.net>
28
29         * cursor.[Ch] (reset): take main text inset as argument
30
31         * BufferView: adjust
32         * BufferView_pimpl.C: adjust
33
34         * paragraph.[Ch]: fix completely broken operator=()
35
36 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * LColor.C (getFromLyXName): make sure that the color name is used
39         as lowercase.
40
41 2004-03-17  Angus Leeming  <leeming@lyx.org>
42
43         * lfuns.h:
44         * LyXAction.C (init): remove LFUN_FORKS_KILL.
45
46         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
47         dialog and to kill a forked process.
48
49 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * text2.C (setCursorFromCoordinates): fix font problem
52
53 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
54
55         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
56         bogus "rebuild cursor" code
57
58 2004-03-11  André Pönitz  <poenitz@gmx.net>
59
60         * buffer.[Ch]: use InsetText instead of LyXText as container for
61         the main lyx text.
62
63         * dociterator.[Ch]: drop the BufferView * member which is not needed
64         anymore after the change to buffer.C
65
66         * paragraph_funcs.C:
67         * text.C:
68         * text2.C:
69         * BufferView.[Ch]:
70         * BufferView_pimpl.[Ch]:
71         * cursor.[Ch]:
72         * cursor_slice.[Ch]: adjust
73
74         * text3.C: fix bug in mathDispatch
75
76 2004-03-08  André Pönitz  <poenitz@gmx.net>
77
78         * undo.[Ch]: use 'StableDocumentIterator' as base for
79         the Undo struct.
80
81 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * LaTeXFeatures.C:
84         * bufferparams.[Ch]: add jurabib support and param.
85
86         * LaTeX.C: add FIXME/comment.
87
88 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * buffer.C: increment file format to 230.
91
92 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * cursor.C (dispatch): avoid infinite loops
95
96 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
97
98         * rowpainter.C (paintSelection): fix x coordinates
99
100 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * text.C (rowBreakPoint): fix breaking before displayed insets
103
104 2004-03-01  André Pönitz  <poenitz@gmx.net>
105
106         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
107
108         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
109
110         * Makefile.am:
111         * BufferView.C:
112         * BufferView_pimpl.C:
113         * buffer.C:
114         * lyxfind.C:
115         * lyxfunc.C:
116         * text.C:
117         * text2.C:
118         * text3.C: adjust
119
120 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * lyxtext.h:
123         * text.C:
124         * text2.C:
125         * rowpainter.C:
126         * BufferView_pimpl.C: rename textwidth -> maxwidth,
127         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
128
129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
130
131         * Bidi.[Ch] (computeTables): const correctness
132         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
133         fill_hfill, fill_label_hfill and x from Row
134         * lyxtext.h: prepareToPrint returns a RowMetrics
135         * rowPainter.C: adjust
136         * text.C (prepareToPrint): use width, not textWidth. adjust
137         (redoParagraphInternal, cursorX): adjust
138         * text2.C (getColumnNearX): adjust
139         (init): put a default value to the top LyXText::width
140
141 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
144
145 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * lyxtext.h: add FontIterator class
148
149         * text.C (FontIterator, operator*, operator->, operator++): add
150         (rowBreakPoint, setRowWidth): adjust (fixing a
151         rebreaking bug)
152
153 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * BufferView_pimpl.C (workAreaDispatch): allow also
156         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
157
158 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
159
160         * text.C (rowBreakPoint): fix a bug showing with very large insets
161
162 2004-02-25  André Pönitz  <poenitz@gmx.net>
163
164         * text3.C:
165         * cursor.[Ch]: move some mathed specific code to mathed
166
167 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
170         use_tempdir in preferences
171         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
172         tempfile creation
173         * lyx_main.C: ensure that tempdir is valid
174         * lyxlex.h: correct typo
175         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
176         * paragraph.[Ch] (isMultiLingual): make const
177         * cursor.[Ch] (openable): make const
178
179 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
180
181         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
182
183 2004-02-20  André Pönitz  <poenitz@gmx.net>
184
185         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
186
187         * cursor.[Ch]: prepare for localized getStatus()
188
189         * lyxtext.h:
190         * tabular.C:
191         * text.C:
192         * text2.C:
193         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
194
195 2004-02-20  André Pönitz  <poenitz@gmx.net>
196
197         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
198
199 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
200
201         * text2.C (setCursorFromCoordinates): switch to absolute coords
202         (cursorUp): adjust
203         (cursorDown): adjust
204         * text3.C (dispatch): adjust
205
206 2004-02-16  André Pönitz  <poenitz@gmx.net>
207
208         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
209           insets/ChangeLog)
210
211         * cursor_slice.[Ch]: remove unneeded acessor function
212
213         * lyxtext.h: rename rtl() to isRTL()
214
215         * rowpainter.C:
216         * tabular.C:
217         * text.C:
218         * text2.C:
219         * text3.C: adjust
220
221 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * rowpainter.C (paintSelection): coord fix
224
225 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
226
227         * Spacing.C: compile fix
228
229 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
230
231         * cursor.C (dispatch): restore current_ before returning
232
233 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
234
235         * text2.C (cursorUp, cursorDown): fix coords
236         (moveUp): fix crash
237
238 2004-02-12  André Pönitz  <poenitz@gmx.net>
239
240         * lyxtext.h:
241         * text.C:
242         * text2.C:
243         * text3.C: add LCursor & parameter to most cursor movement functions
244           remove usage of LyXText::cursorRow() and cursorPar()
245
246         * cursor.[Ch]: add textRow() needed members
247
248         * BufferView.C:
249         * BufferView_pimpl.C:
250         * paragraph.[Ch]:
251         * BufferView.C:
252         * BufferView_pimpl.C: adjust
253
254 2004-02-11  André Pönitz  <poenitz@gmx.net>
255
256         * lyxfunc.C:
257         * BufferView.[Ch]:
258         * BufferView_pimpl.C: shift undo/redo handling
259
260         * cursor.[Ch]: fix mathed crash
261
262         * lyxfind.C:
263         * lyxtext.h: move selectionAsText to LCursor
264
265         * output_latex.C:
266         * paragraph.C:
267         * text.C:
268         * text2.C:
269         * text3.C: adjust
270
271         * rowpainter.C: fix excessive drawing
272
273 2004-02-06  André Pönitz  <poenitz@gmx.net>
274
275         * BufferView.[Ch]:
276         * BufferView_pimpl.[Ch]:
277         * text3.C: move some text specific LFUN handling
278
279 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * text3.C (checkInsetHit): adjust coords
282         * text2.C (getColumnNearX): adjust coords
283         (edit): adjust coords
284         * text.C (getRowNearY): add two asserts
285
286 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * converter.C:
289         * format.C: add using std::distance to compile on gcc 2.95/stlport
290
291 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
294
295 2004-02-04  André Pönitz  <poenitz@gmx.net>
296
297         * BufferView.[Ch] (insertInset):
298         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
299
300         * text2.C:
301         * text3.C: adjust
302
303 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
304
305         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
306         on the default clause of the switch
307         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
308         wasn't catched by LCursor::dispatch
309
310 2004-02-03  André Pönitz  <poenitz@gmx.net>
311
312         * BufferView.C:
313         * cursor.[Ch]: some additional asserts
314
315         * undo.[Ch]: remove LyXText dependency in interface
316
317         * lyxfunc.C: adjust
318
319         * lyxtext.h (firstPar, lastPar): remove dead functions
320
321         * text.C:
322         * text2.C:
323         * text3.C:
324         * paragraph.[Ch]: adjust
325
326 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * lyxfind.C (find): fix argument order in call to ::find
329
330 2004-02-02  André Pönitz  <poenitz@gmx.net>
331
332         * cursor.[Ch]: remove direct access to anchor
333
334         * text.C: remove findText() hack
335
336 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
337
338         * iterators.[Ch] (lockPath): remove in favour of...
339         * BufferView.[Ch] (setCursor): this addition
340         * BufferView.C (putSelectionAt): adjust
341         * undo.C (performUndoOrRedo): adjust
342         * lyxfunc.C (dispatch): adjust
343
344 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
345
346         * iterators.C (lockPath): add a missing slice
347         * undo.C (performUndoOrRedo): remove redundant positioning code
348
349 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
350
351         * vc-backend.C (scanMaster): ";" -> ';'
352
353 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
354
355         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
356         std::binary_function
357
358         * lyxtextclass.C (compare_name): rename to...
359         (LayoutNamesEqual): ...this
360
361         * lyxlex_pimpl.C (compare_tags): inherit from
362         std::binary_function, put back into anon namespace
363
364         * lyxfind.C (MatchString): inherig from std::binary_function
365         (findChange): use empty() istead of !size()
366
367         * format.C (FormatNamesEqual): new functor
368         (getFormat): use it
369         (getNumber): use it
370         (add): use it
371         (erase): use it
372         (setViewer): use it
373
374         * converter.C (compare_Converter): rename to...
375         (ConverterEqual): ...this, and fixup a bit.
376         (getConverter): use it, and make function const
377         (getNumber): use it, and make function const
378         (add): use it
379         (erase): use it:
380
381         * bufferlist.C: add using boost::bind
382
383         * MenuBackend.C (MenuNamesEqual): new functor
384         (hasMenu): use it, and make function const
385         (hasSubmenu): use nested bind to get rid of compare_memfun.
386
387 2004-01-30  André Pönitz  <poenitz@gmx.net>
388
389         * BufferView_pimpl.C:
390         * cursor.C:
391         * cursor.h:
392         * cursor_slice.[Ch]:
393         * lyxfunc.C:
394         * lyxtext.h:
395         * paragraph_funcs.C:
396         * paragraph_funcs.h:
397         * rowpainter.C:
398         * text.C:
399         * text2.C:
400         * text3.C: move some of the edit(x,y) handling to the insets
401         some coordinate changes.
402
403 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
404
405         * text.C: add using statements for std::advance and std::distance
406
407         * paragraph.C: add using statement for std::distance
408
409         * lyxfind.C: add using statement for std::advance
410
411         * cursor.C (region): remove std:: from swap
412         (openable): use nucleus in stead of operator->
413
414         * BufferView.C: add using statements for std::distance and std::swap
415
416 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
417
418         * iterators.C: Remove the pimple, move the needed structures to
419         the header file. Create accessor for the positions stack.
420         (asPosIterator): remove function
421
422         * PosIterator.C (PosIterator): move constructors to top of file
423         (PosIterator): reimplement the constructor taking a ParIterator in
424         terms of setFrom.
425         (setFrom): new function
426         (operator!=): inline it
427
428 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
429
430         * lyxfind.C (replaceAll): use std::advance
431
432         * iterators.h: inherit from std::iterator.
433
434         * PosIterator.C (advance, distance): remove
435         * PosIterator.h: interit from std::iterator.
436
437 2004-01-26  André Pönitz  <poenitz@gmx.net>
438
439         * BufferView.[Ch]:
440         * BufferView_pimpl.[Ch]:
441         * InsetList.[Ch]:
442         * PosIterator.[Ch]:
443         * buffer.h:
444         * bufferview_funcs.C:
445         * cursor.[Ch]:
446         * cursor_slice.h:
447         * factory.[Ch]:
448         * iterators.[Ch]:
449         * lyxfind.C:
450         * lyxfunc.C:
451         * lyxtext.h:
452         * output_docbook.C:
453         * output_latex.C:
454         * output_linuxdoc.C:
455         * output_plaintext.C:
456         * paragraph.[Ch]:
457         * paragraph_funcs.[Ch]:
458         * paragraph_pimpl.[Ch]:
459         * rowpainter.C:
460         * tabular.C:
461         * tabular.h:
462         * text.C:
463         * text2.C:
464         * text3.C: more IU:  dumps most of the rest of the mathcursor
465     implementation into cursor.[Ch]; "globalize" a bit of it.
466
467 2004-01-25  Angus Leeming  <leeming@lyx.org>
468
469         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
470
471 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
472
473         * LaTeXFeatures.h: add nice_ and nice() const
474         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
475
476 2004-01-20  André Pönitz  <poenitz@gmx.net>
477
478         * BufferView.[Ch]:
479         * BufferView_pimpl.C:
480         * PosIterator.C:
481         * bufferview_funcs.C:
482         * cursor.[Ch]:
483         * cursor_slice.[Ch]:
484         * factory.C:
485         * iterators.C:
486         * lyx_cb.C:
487         * lyxfind.C:
488         * lyxfunc.C:
489         * lyxtext.h:
490         * rowpainter.C:
491         * text.C:
492         * text2.C:
493         * text3.C:
494         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
495           LCursor and mathcursor parts to LCursor and InsetBase.
496
497 2004-01-15  André Pönitz  <poenitz@gmx.net>
498
499         * cursor_slice.[Ch]: add a few covienience functions
500
501         * funcrequest.[Ch]: remove BufferView * member
502
503         * BufferView_pimpl.C:
504         * cursor.C:
505         * factory.[Ch]:
506         * lyxfind.[Ch]:
507         * lyxfunc.C:
508         * lyxtext.h:
509         * text3.C:
510         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
511
512 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
513
514         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
515         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
516
517 2004-01-13  André Pönitz  <poenitz@gmx.net>
518
519         * textcursor.[Ch]:
520         * lyxtext.h: hide cursor and selection anchor behind accessor function
521
522         * BufferView.C:
523         * BufferView_pimpl.[Ch]:
524         * PosIterator.C:
525         * bufferview_funcs.C:
526         * cursor.h:
527         * lyxfind.C:
528         * lyxfunc.C:
529         * text.C:
530         * text2.C:
531         * text3.C:
532         * undo.C: adjust
533
534         * cursor.h:
535         * cursor_slice.[Ch]: some integer type changes for inset unification
536
537         * lyxcursor.[hC]: remove, it's CursorSlice now.
538
539         * Makefile.am:
540         * BufferView_pimpl.[Ch]:
541         * bufferview_funcs.C:
542         * cursor_slice.C:
543         * lyxtext.h:
544         * text.C:
545         * text2.C:
546         * text3.C:
547         * textcursor.[Ch]: adjust
548
549 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
550
551         * text2.C (undoSpan): add and use
552         * text.C (breakParagraph): use undoSpan (fix bug 578)
553         * lyxtext.h: adjust
554
555 2004-01-08  Angus Leeming  <leeming@lyx.org>
556
557         * BufferView_pimpl.C (MenuInsertLyXFile):
558         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
559         * lyxfunc.C (menuNew, open, doImport):
560         FileFilterList change to the FileDialog open and save functions.
561
562 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
563
564         * ShareContainer.h: make isEqual and isUnique adaptable
565
566         * CutAndPaste.C: make resetOwnerAndChanges adaptable
567
568 2004-01-07  Angus Leeming  <leeming@lyx.org>
569
570         * LyXAction.C:
571         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
572
573         * BufferView_pimpl.C (dispatch): act on these LFUNs.
574
575         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
576         functions replacing find, replace and replaceAll.
577
578         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
579         LFUN_WORDFIND(FORWARD|BACKWARD).
580
581 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * text.C (breakParagraph): remove an outdated #warning
584
585 2004-01-07  André Pönitz  <poenitz@gmx.net>
586
587         * lyxfind.C: somewhat clearer logic
588
589         * text.C: prevent crash in cursorX on unitialized row cache
590
591 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * lyxcursor.[Ch] (operator>): add
594         * textcursor.C (selStart, selEnd): use std::min and std::max
595
596 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * Chktex.C: include boost/format.hpp
599
600 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
601
602         * InsetList.C: replace functor MathcIt with adaptable functor
603         InsetTablePosLess
604         (insetIterator): modify accordingly
605
606         * BranchList.h: move the BranchNamesEqual functor here from...
607         * BranchList.C: ... to here
608
609         * BranchList.C: new BranchListEqual fuctor, use it. Remove
610         SameName and match.
611         (add): replace a finding loop with std::find_if.
612
613 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * output_docbook.C: moving LatexParam functionality into
616         .layout files
617
618 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
619
620         * buffer.C: increment format to 229.
621
622 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
623
624         * LaTeXFeatures.C:
625         * lyx_sty.[Ch]: remove minipageindent_def
626
627         * LyXAction.C:
628         * factory.C:
629         * lfuns.h:
630         * lyxfunc.C:
631         * text3.C: remove LFUN_INSET_MINIPAGE
632
633 2003-12-28  Angus Leeming  <leeming@lyx.org>
634
635         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
636
637 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
638
639         * text2.C (setParagraph): fix off-by-one crash
640
641 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
642
643         * output_docbook.C: header stuff for AGU
644
645 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * text2.C (redoCursor): remove
648         * text.C:
649         * text3.C:
650         * BufferView_pimpl.C: remove calls to redoCursor and
651         setCursor(cursor.par(), cursor.pos()) all around
652
653 2003-12-15  Angus Leeming  <leeming@lyx.org>
654
655         * buffer.C: up the format to 228.
656
657 2003-12-15  André Pönitz  <poenitz@gmx.net>
658
659         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
660         slices
661
662         * Makefile.am:
663
664         * BufferView_pimpl.C:
665         * cursor.[Ch]:
666         * lyxcursor.[Ch]:
667         * rowpainter.[Ch]:
668         * lyxtext.h:
669         * text.C:
670         * text2.C:
671         * text3.C: adjust
672
673 2003-12-15  Angus Leeming  <leeming@lyx.org>
674
675         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
676         than getFromGUIName to manipulate the color.
677
678 2003-12-14  Angus Leeming  <leeming@lyx.org>
679
680         * BranchList.[Ch]: minimize the API.
681         (Branch::getBranch, getColor): now return a 'const &'.
682         (Branch::setSelected) now returns a bool set to true if the
683         selection status changes.
684         (BranchList::clear, size, getColor, setColor, setSelected,
685         allBranches, allSelected, separator): removed.
686         (BranchList::find): new functions, returning the Branch with
687         the given name.
688         (BranchList::add, remove): return a bool indicating that
689         the operation was successful.
690
691         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
692         new InsetBranch::isBranchSlected member function.
693
694         * LColor.[Ch]: mimimize the API.
695         (fill): renamed as addColor and made private.
696         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
697         versions of these functions taking a string arg have been removed.
698
699         * bufferparams.C (readToken):
700         * lyxfunc.C (dispatch):
701         * lyxrc.C (read): changes due to the altered BranchList and
702         LColor APIs.
703
704         * factory.C (createInset, readInset): changes due to altered
705         InsetBranch c-tor.
706
707 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
708
709         * factory.C:
710         * lyxfunc.C: remove insetminipage. "minipage-insert"
711         now produces a frameless minipage box inset.
712
713 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
714
715         * textcursor.[Ch] (selStart,selEnd): add new methods
716         remove selection::start, end, use LyXCursor::operator<
717         * lyxcursor.[Ch] (operator<): add
718         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
719         * BufferView.[Ch] (unsetXSel): add
720         * text2.C (clearSelection): use unsetXSel,adjust
721         * text.C: adjust
722         * text3.C: adjust
723         * rowpainter.C: adjust
724         * bufferview_funcs.C (put_selection_at): adjust
725
726 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
727
728         * BufferView_pimpl.C: small coord. correction
729
730 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
731
732         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
733         dragging over the splash screen.
734
735 2003-12-11  Angus Leeming  <leeming@lyx.org>
736
737         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
738         as it is now handled in LyXText::dispatch.
739
740         * text3.C (doInsertInset): remove a level of nesting.
741
742 2003-12-11  Angus Leeming  <leeming@lyx.org>
743
744         * factory.C (createInset): changes due to the changed interface to
745         InsetCommandMailer::string2params.
746
747 2003-12-10  Angus Leeming  <leeming@lyx.org>
748
749         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
750         'dialog-show-new-inset <inset name>'
751
752 2003-12-10  Angus Leeming  <leeming@lyx.org>
753
754         * buffer.C: up the format to 227.
755
756         * factory.C: the box inset is now identified simply by 'Box'.
757
758 2003-12-10  Angus Leeming  <leeming@lyx.org>
759
760         * buffer.C: up the format to 226.
761
762         * factory.C: the note inset is now identified simply by 'Note'.
763
764 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
765
766         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
767         when a pit is enough. Standarize a couple of loops.
768
769 2003-12-05  Angus Leeming  <leeming@lyx.org>
770
771         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
772         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
773         data to the re-worked "log" dialog.
774
775 2003-12-03  André Pönitz  <poenitz@gmx.net>
776
777         * PosIterator.C:
778         * iterators.C:
779         * lyxtext.h:
780         * output_latex.C:
781         * paragraph_funcs.C:
782         * text.C:
783         * text2.C: use Inset::getText instead of Inset::getParagraph
784
785 2003-12-03  André Pönitz  <poenitz@gmx.net>
786
787         * buffer.[Ch]:
788         * lyxtext.h:
789         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
790         InsetText::read() as LyXText::read()
791
792 2003-12-02  Angus Leeming  <leeming@lyx.org>
793
794         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
795         type. Add a comment in the implementation that the function uses
796         the stream's bad() function rather than fail() as the std::streams
797         would do.
798
799 2003-12-02  André Pönitz  <poenitz@gmx.net>
800
801         * lyxlex.[Ch]: make interface more similar to std::stream
802
803         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
804
805 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
808
809 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
810
811         * vspace.[Ch]: remove VSpace::NONE
812
813 2003-12-01  André Pönitz  <poenitz@gmx.net>
814
815         * buffer.[Ch]:
816         * lyxtext.h: move ParagraphList member to LyXText
817         rename LyXText::ownerParagraphs to LyXText::paragraph
818
819         * CutAndPaste.C:
820         * bufferview_funcs.C:
821         * iterators.[Ch]:
822         * lyx_cb.C:
823         * paragraph.C:
824         * rowpainter.C:
825         * tabular.C:
826         * text.C:
827         * text2.C:
828         * text3.C: adjust
829
830         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
831
832         * undo.C: fix cursor positioning
833
834 2003-12-01  John Levon  <levon@movementarian.org>
835
836         * BufferView_pimpl.C: fix a crash on exit with
837         a buffer open
838
839 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
840
841         * BranchList.C: fix setSelected() method.
842
843 2003-11-28  André Pönitz  <poenitz@gmx.net>
844
845         * ParagraphParameters.[Ch]:
846         * ParameterStruct.h: remove space above/below from Paragraph to
847          InsetVSpace
848
849         * BufferView_pimpl.C:
850         * factory.C:
851         * lyxfunc.C:
852         * lyxtext.h:
853         * output_latex.C:
854         * paragraph.C:
855         * paragraph_funcs.C:
856         * rowpainter.[Ch]:
857         * text.C:
858         * text2.C:
859         * text3.C: adjust
860
861 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
862
863         * factory.C: Syntax change for CharStyles
864
865 2003-11-28  André Pönitz  <poenitz@gmx.net>
866
867         * BufferView.[Ch]:
868         * BufferView.[Ch]:
869         * buffer.[Ch]:
870         * buffer.[Ch]: move LyXText member
871
872 2003-11-28  André Pönitz  <poenitz@gmx.net>
873
874         * BufferView.[Ch]: make LyXText * text a private member
875
876         * BufferView_pimpl.C:
877         * cursor.C:
878         * iterators.C:
879         * lyx_cb.C:
880         * lyxfind.C:
881         * lyxtext.h:
882         * rowpainter.[Ch]:
883         * text.C:
884         * text2.C:
885         * undo.C: adjust
886
887         * output_plaintext.C: cleanup
888
889 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
890
891         * buffer.C:
892         * lyxtextclass.[Ch]: parametrize SGML document header
893
894 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
895
896         * converter.[Ch]:
897         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
898         getFlavor().
899
900 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * text2.C (setFont): rework using PosIterator (no more recursive)
903         (setCharFont): no more needed
904         (setLayout): no more selection cursors fiddling (done by redoCursor)
905         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
906         destroy remaining ones)
907
908 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
909
910         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
911         * lyxtext.h: ditto
912         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
913         selection cursors
914         * lyxfunc.C: adjust
915         * text3.C: adjust + re-allow multi par depth changes
916         * textcursor.C: simplify a bit
917
918 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * src/buffer.C:
921         * src/lyxlayout.C:
922         * src/lyxlayout.h:
923         * src/lyxtext.h:
924         * src/output_docbook.C:
925         * src/output_latex.C:
926         * src/paragraph.C:
927         * src/paragraph.h:
928         * src/sgml.C:
929         * src/sgml.h:
930         * src/text2.C: Introducing a number of tags parametrizing various
931         XML formats that we may want to support
932
933 2003-11-25  André Pönitz  <poenitz@gmx.net>
934
935         * InsetList.[Ch] (begein, end): inline as suggested by profiler
936
937         * lyxtext.h (leftMargin/rightMargin): simplify interface
938
939         * rowpainter.C:
940         * text.C:
941         * text2.C:
942         * text3.C: adjust
943
944 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
945
946         * lyxfunc.C (dispatch): propogate the bibtex databases from the
947         master file to any child files. Fixes bug 546.
948
949 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
952
953 2003-11-24  André Pönitz  <poenitz@gmx.net>
954
955         * rowpainter.C: simplification
956
957         * text2.C (updateCounters): remove call to redoParagraph on
958         changed labels as this is far too expensive.
959
960 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * converter.C (convert): fix a crash: this function gets
963         called with buffer == 0 from importer code.
964
965 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
966
967         * text3.C (cursorPrevious): make sure that we do not compare
968         iterators form different containers.
969         (cursorNext): ditto
970
971         * rowpainter.C (paintSelection): make sure that we do not compare
972         iterators from different containers.
973
974         * text3.C (dispatch): [PRIOR] make sure that we do not compare
975         iterators from different ParagraphList containers.
976         [NEXT] ditto
977
978         * text2.C (LyXText): change order of initialization slightly
979         (operator=): new function. copy all variables except cache_par_
980         (moveUp): make sure that we do not compare iterators from
981         different ParagraphList constainers.
982         (moveDown): ditto
983
984         * text.C (firstPar): new function
985         (lastPar): new function
986         (endPar): new function
987
988         * lyxtext.h: move things around and group public functions, public
989         variables, private functions, private variables
990
991 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
992
993         * factory.C: change call to InsetERT constructor to avoid
994         additional invocation of method status
995         * text2.C (toggleInset): remove redundant update() call
996         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
997         instead of a Bufferview pointer
998
999 2003-11-21  André Pönitz  <poenitz@gmx.net>
1000
1001         * rowpainter.C: simplification
1002
1003 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * text3.C (dispatch): make possible to extend a word/row selection
1006         with the mouse
1007
1008 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * lyxtext.h: x0_,y0_ -> xo_,yo_
1011         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1012         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1013         * rowpainter.C (paintRows): paint full paragraphs
1014
1015 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1016
1017         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1018         screen coordinates)
1019
1020 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1021
1022         * lyxtext.h: add x0_, y0_
1023         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1024         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1025
1026 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1027
1028         * text2.C (setCursorIntern): move the x_target update here *
1029         * text3.C: change some bv() to true/false in calls to
1030         cursorUp/Down/Right/Left
1031         * cursor.C: use helper function.
1032
1033 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1034
1035         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1036         * paragraph_funcs.[Ch]: correct comment
1037         * rowpainter.C: do not paint selections away from bv->cursor()
1038         Fix a long standing selection painting bug.
1039         * text3.C: generalize mouse-selection code to LyXTexts other that
1040         top one
1041         * textcursor.C: do not use y coords if we can use par offsets
1042
1043 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1044
1045         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1046         cursor position after e.g. inset insert)
1047
1048 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1049
1050         * lyxfind.C (replace): adjust to locking removal + some
1051         code simplification
1052
1053 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1054
1055         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1056         of the path
1057
1058 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1059
1060         * lyxlayout.[Ch]:
1061         * output_docbook.C: XML sanitation: new layout
1062         parameters InnerTag and CommandDepth
1063
1064 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * BufferView_pimpl.C:
1067         * factory.C:
1068         * text3.C: Fix the insertion and modification of button-style
1069         insets
1070
1071 2003-11-13  André Pönitz  <poenitz@gmx.net>
1072
1073         * InsetList.[Ch]: remove deleteLyXText
1074
1075         * paragraph.[Ch]: cache beginOfBody position
1076
1077         * Bidi.C:
1078         * text.C:
1079         * text2.C:
1080         * text3.C: remove superfluous update() calls
1081
1082         * vspace.C: cleanup
1083
1084 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1085
1086         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1087         * BufferView.C (fitLockedInsetCursor): remove
1088         * cursor.[Ch] (getDim): add
1089         * text.C (getRowNearY): add faster version
1090         * text3.C: remove some update calls
1091
1092 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * LaTeXFeatures.C:
1095         * LyXAction.C:
1096         * MenuBackend.C:
1097         * MenuBackend.h:
1098         * dispatchresult.h:
1099         * factory.C:
1100         * lfuns.h:
1101         * lyxfunc.C:
1102         * lyxtextclass.C:
1103         * lyxtextclass.h:
1104         * text3.C: The Character Style /XML short element patch.
1105
1106 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1107
1108         * text3.C:
1109         * factory.C: Small step to solving 'unable to insert some insets'
1110         problem
1111
1112 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * cursor.[Ch] (updatePos): new function for updating the y
1115         position of the tip inset
1116         * bufferview_funcs.C (put_selection_at):
1117         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1118
1119 2003-11-11  André Pönitz  <poenitz@gmx.net>
1120
1121         * text.C: remove big comment on invalid Paragraph pointers as it is
1122         not valid anymore
1123
1124 2003-11-11  André Pönitz  <poenitz@gmx.net>
1125
1126         * text_funcs.[Ch]: merge with ...
1127
1128         * text.C: ... this
1129
1130         * lyxtext.h:
1131         * text2.C:
1132         * text3.C: adjust
1133
1134         * Makefile.am: remove text_funcs.[Ch]
1135
1136 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1137
1138         * cursor.C (getPos): return absolute cached y coord
1139
1140         * BufferView_pimpl.C (fitCursor): new simplistic code
1141         (workAreaDispatch): add a fitCursor call
1142
1143 2003-11-10  André Pönitz  <poenitz@gmx.net>
1144
1145         * BufferView.[Ch]:
1146         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1147
1148 2003-11-10  André Pönitz  <poenitz@gmx.net>
1149
1150         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1151         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1152         indicate that the cursor needs to leave an inset
1153
1154         * lyxtext.h: remove inset locking
1155
1156         * cursor.[Ch]: re-implement functionality provided by inset locking
1157
1158         * BufferView.[Ch]:
1159         * BufferView_pimpl.[Ch]:
1160         * LyXAction.C:
1161         * bufferview_funcs.[Ch]:
1162         * factory.C:
1163         * funcrequest.[Ch]:
1164         * iterators.C:
1165         * lyx_cb.C:
1166         * lyxfind.C:
1167         * lyxfunc.C:
1168         * text.C:
1169         * text2.C:
1170         * text3.C:
1171         * undo.C: adjust
1172
1173 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1174
1175         * PosIterator.[Ch]: replace the stack with a vector, add inset
1176         accesor
1177         * iterators.[C]: adjust
1178
1179 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1180
1181         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1182         replaced
1183         * paragraph_funcs.C (readParToken): put the correct id in the
1184         error item, not the id of the top paragraph
1185
1186 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1189         * bufferview_funcs.C (put_selection_at): use the above
1190
1191 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1194
1195 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1196
1197         * output_linuxdoc.h:
1198         * output_plaintext.h:
1199         * output.h:
1200         * output_docbook.h: add #include statements
1201
1202 2003-11-05  José Matos  <jamatos@lyx.org>
1203
1204         * output_docbook.[Ch]:
1205         * output_latex.[Ch]:
1206         * output_linuxdoc.[Ch]:
1207         * output_plaintext.[Ch]: New files for output formats.
1208         * output.[Ch]: New file for helper functions.
1209
1210         * buffer.[Ch]:
1211         * paragraph_funcs.[Ch]: output functions moved to new files.
1212
1213         * outputparams.h: rename of latexrunparams.h
1214
1215         * LaTeX.[Ch]:
1216         * buffer.[Ch]:
1217         * bufferlist.[Ch]:
1218         * converter.[Ch]:
1219         * exporter.C:
1220         * paragraph.[Ch]:
1221         * paragraph_funcs.[Ch]:
1222         * paragraph_pimpl.[Ch]:
1223         * tabular.[Ch]: rename ascii to plaintext
1224         and LatexRunParams to OutputParams.
1225
1226 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1227
1228         * iterators.[Ch] (text): require bv argument
1229         * undo.C (recordUndo):
1230         * lyxfunc.C (dispatch):
1231         * bufferview_funcs.C (put_selection_at): adjust
1232
1233 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1234
1235         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1236
1237 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1238
1239         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1240         nestings
1241
1242 2003-11-04  André Pönitz  <poenitz@gmx.net>
1243
1244         * cursor.[Ch]: restructure
1245
1246         * BufferView.[Ch]:
1247         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1248
1249         * iterators.[Ch] (asCursor): remove
1250
1251         * lfuns.h: remove LFUN_INSET_EDIT
1252
1253         * lyxfunc.C:
1254         * tabular.C:
1255         * text.C:
1256         * text2.C:
1257         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1258
1259 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1260
1261         * lyxfind.[Ch]: complete overhaul
1262         * BufferView_pimpl.C:
1263         * lyxfunc.C: adjust
1264         * paragraph.[Ch] (insert): add
1265
1266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1267
1268         * BufferView.[Ch]:
1269         * lyxtext.h:
1270         * text.C: remove dead spellcheck code
1271
1272 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * dispatchresult.h: add a val setter
1275
1276         * cursor.C (dispatch): use a tempvar for data_[i]
1277
1278 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * PosIterator.[Ch]: compile fix
1281
1282 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1283
1284         * text.C (cursorPar): deactivate the cursor cache
1285
1286 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1287
1288         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1289
1290 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1291
1292         * text3.C (dispatch): adjust for new DisptchResult semantics.
1293
1294         * lyxfunc.C (dispatch): handle update when return from
1295         Cursor::dispatch, adjust for new DispatchResult semantics.
1296
1297         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1298         DispatchResult(true) mean to not update. Add class functions for
1299         setting dispatched and update, as well as reading.
1300
1301         * cursor.C (dispatch): don't handle update here
1302
1303 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1304
1305         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1306         * trans_mgr.C: adjust
1307
1308         * paragraph_funcs.C (readParToken): exception safety
1309
1310         * lyxvc.h: store the vcs pointer in a scoped_ptr
1311         * lyxvc.C: adjust
1312
1313         * lyxsocket.C (serverCallback): exception safety
1314
1315         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1316
1317         * ispell.C (clone): make it return a auto_ptr
1318
1319         * factory.C (createInset): exception safety
1320         (readInset): exception safety
1321
1322         * bufferlist.C (newBuffer): exception safety
1323
1324         * Thesaurus.C (Thesaurus): use initialization for aik_
1325
1326         * MenuBackend.C (expandToc): exception safety.
1327
1328 2003-11-03  André Pönitz  <poenitz@gmx.net>
1329
1330         * buffer.C:
1331         * buffer.h:
1332         * bufferview_funcs.C: remove getInsetFromId()
1333
1334         * lyxcursor.[Ch]:
1335         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1336
1337         * lyxfunc.C:
1338         * text2.C:
1339         * text3.C: adjust
1340
1341 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1342
1343         * PosIterator.C (distance, advance): new
1344         * bufferview_funcs.[Ch] (put_selection_at): new
1345         * iterators.[Ch] (lockPath): new
1346
1347 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * iterators.[Ch] (asPosIterator): added
1350         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1351         * PosIterator.[Ch]: added
1352
1353 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1354
1355         * text3.C:
1356         * lyxfunc.C:
1357         * cursor.C (dispatch):
1358         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1359
1360         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1361         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1362         contructor, add a class function dispatched. Remove operator>=
1363
1364 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * debug.C: only use the default constructor for debugstream
1367         (lyxerr) here.
1368
1369         * main.C (main): include debug.h and setup the lyxerr streambuf
1370         here.
1371
1372 2003-10-31  José Matos  <jamatos@lyx.org>
1373
1374         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1375
1376         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1377         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1378         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1379         * paragraph_pimpl.C (simpleTeXSpecialC):
1380         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1381         add LatexRunParams argument.
1382
1383         * exporter.C (Export): change call accordingly.
1384
1385         * latexrunparams.h: add new member to take care of the other backends.
1386 2003-10-30  José Matos  <jamatos@lyx.org>
1387
1388         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1389         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1390         factorise code for paragraph output.
1391         * buffer.[Ch]:
1392         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1393         move functions.
1394
1395 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1396
1397         * text3.C (dispatch):
1398         * lyxfunc.C (dispatch):
1399         * cursor.C (dispatch):
1400         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1401
1402         * dispatchresult.h: make the dispatch_result_t ctor explicit
1403
1404 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * sgml.[Ch]:
1407         * buffer.C: small refactoring of docbook stuff
1408
1409 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1410
1411         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1412         meaning.
1413
1414 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1415
1416         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1417         operator dispatch_result_t, and operators for == != and >=
1418
1419         * cursor.C (dispatch): adjust for operator dispatch_result_t
1420         removal. comment out call to update
1421
1422         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1423
1424 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1425
1426         * text3.C:
1427         * text2.C:
1428         * text.C:
1429         * lyxtext.h:
1430         * lyxfunc.C:
1431         * cursor.C:
1432         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1433         (dispatch):
1434
1435         * dispatchresult.h: new file, DispatchResult broken out of
1436         insets/insetbase.h
1437
1438         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1439
1440 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1441
1442         * text.C (rowBreakPoint): put a hack inside #if 0
1443
1444 2003-10-28  André Pönitz  <poenitz@gmx.net>
1445
1446         * lyxtext.h:
1447         * metricsinfo.C:
1448         * paragraph_funcs.C:
1449         * rowpainter.C:
1450         * text.C:
1451         * text2.C: general cleanup (lots of small stuff)
1452
1453 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * text2.C (cursorEnd): simple fix to the "end key goes to one
1456         before the end on last row" bug
1457
1458 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * text.C (backspace): fix the "zombie characters"
1461
1462 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1463
1464         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1465
1466 2003-10-27  André Pönitz  <poenitz@gmx.net>
1467
1468         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1469
1470         * factory.C: handle new InsetPagebreak, InsetLine
1471
1472         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1473         and move handling into new InsetPagebreak, InsetLine
1474
1475         * BufferView_pimpl.C:
1476         * LyXAction.C:
1477         * ParagraphParameters.C:
1478         * ParameterStruct.h:
1479         * lyxfunc.C:
1480         * lyxtext.h:
1481         * paragraph.C:
1482         * paragraph.h:
1483         * paragraph_funcs.C:
1484         * paragraph_pimpl.C:
1485         * rowpainter.C:
1486         * text.C:
1487         * text2.C:
1488         * text3.C: adjust
1489
1490 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1491
1492         * text.C:
1493         * lyxrow_funcs.[Ch]:
1494         * Bidi.C:
1495         * paragraph.C:
1496         * lyxtext.h:
1497         * rowpainter.C:
1498         * text2.C:
1499         * text3.C: remove lastPos uses in favour of Row::endpos
1500
1501 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1502
1503         * undo.C (performUndoOrRedo): fix two crashes by setting a
1504         cursor by hand and reordering some calls. Use bv->lockInset instead
1505         of inset->edit because the latter loses cursor information
1506
1507 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1510         by Martin
1511         (rowBreakPoint): fix width. change point to point + 1.
1512         Add a missing check.
1513
1514 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1515
1516         * MenuBackend.C:
1517         * lyxfunc.C: fix (at least partly) the problems
1518         with the Nav menu and headers inside branch insets
1519         reported by Kayvan
1520
1521 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * paragraph.C (getChar): add strong asserts
1524
1525         * lyxrow_funcs.C (lastPos): remove hideous hack
1526
1527         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1528         (fill): adjust to that (avoid an infinite loop)
1529
1530 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1531
1532         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1533
1534 2003-10-23  André Pönitz  <poenitz@gmx.net>
1535
1536         * RowList_fwd.h: change list<> to vector<> to gain speed
1537         after suggestion from Alfredo
1538
1539 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1540
1541         * lyxtext.h: move the bidi stuff from here...
1542         * text.C: and here
1543         * text2.C: and here
1544         * Bidi.[Ch]: ... to here
1545
1546 2003-10-23  André Pönitz  <poenitz@gmx.net>
1547
1548         * lyxtext.h:
1549         * text.C (isLastRow, isFirstRow): new functions
1550
1551         * paragraph.h: new width cache member
1552
1553         * rowpainter.C: replace RowList::iterator with Row & where possible
1554
1555         * lyxfunc.C: replace several view()->text with a single call
1556
1557         * toc.C: fix 'unused' warning
1558
1559 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1560
1561         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1562         when woring with stream::pos_type
1563         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1564
1565 2003-10-22  André Pönitz  <poenitz@gmx.net>
1566
1567         * lyxtext.h:
1568         * text.C: use Row & instead of RowList::iterator
1569
1570         * lyxrow.h: rename end() to endpos()
1571
1572         * rowpainter.C:
1573         * text.C:
1574         * text2.C: adjust
1575
1576 2003-10-22  Angus Leeming  <leeming@lyx.org>
1577
1578         * buffer.[Ch] (fully_loaded): new member function, returning true
1579         only when the file has been loaded fully.
1580         Used to prevent the premature generation of previews and by the
1581         citation inset to prevent computation of the natbib-style label.
1582
1583         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1584         templates are all set up.
1585
1586         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1587
1588 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * text.C: fixed an "oops" in the "is a bit silly"
1591         bug fix
1592
1593 2003-10-21  André Pönitz  <poenitz@gmx.net>
1594
1595         * FuncStatus.[Ch]: small stuff, whitespace
1596
1597         * lyxfont.[Ch]: operator<<() for debug reasons
1598
1599         * lyxfunc.C:
1600         * lyxrow_funcs.C:
1601         * lyxtext.h: whitespace, spelling
1602
1603         * paragraph.C: naming of variables
1604
1605         * text.C:
1606         * text2.C: small stuff
1607
1608
1609 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1610
1611         * text.C: (1) finish off the inset display() work;
1612         (2) fix the "is a bit silly" bug (accessing char
1613         past end of par).
1614
1615 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1616
1617         * text.C: re-introduce display() for insets, fixing the
1618         various bugs (stretch of line above, math inset
1619         positioning, ...)
1620
1621 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1622
1623         * text.C (rightMargin): remove spurious semicolon
1624
1625         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1626         1415)
1627
1628 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1629
1630         * text3.C: fix one crash due to wrong cursor def
1631
1632 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1633
1634         * vc-backend.C (scanMaster): make the regex static
1635
1636         * LaTeX.C (scanAuxFile): make the regexs static
1637
1638         * text3.C (doInsertInset, dispatch, dispatch):
1639         * text2.C (cursorUp, cursorDown):
1640         * text.C (selectNextWordToSpellcheck):
1641         * BufferView_pimpl.C (dispatch):
1642         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1643
1644 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * lyxsocket.C: include <cerrno>
1647
1648 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1649
1650         * lyxfunc.C (dispatch): remove textcache stuff
1651
1652         * bufferlist.C (release): remove textcache stuff
1653         (closeAll): ditto
1654
1655         * TextCache.C: delete file
1656         * TextCache.h: delete file
1657
1658         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1659
1660         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1661         delete of the bv_->text.
1662         (resizeCurrentBuffer): remove texcache stuff
1663         (workAreaResize): ditto
1664
1665 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1666
1667         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1668         action.
1669
1670 2003-10-16  André Pönitz  <poenitz@gmx.net>
1671
1672         * lyxrow.[Ch]:
1673         * paragraph.h:
1674         * rowpainter.C:
1675         * text.C:
1676         * text2.C:
1677         * text3.C: speed up by storing y positions per paragraph plus per-row
1678         offset instead of having a 'full' y position in the row.
1679
1680 2003-10-15  André Pönitz  <poenitz@gmx.net>
1681
1682         * iterators.[Ch]:
1683         * iterators.[Ch]:
1684         * undo.[Ch]: make undo aware of inner insets
1685
1686 2003-10-14  Angus Leeming  <leeming@lyx.org>
1687
1688         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1689         static member functions LyX::ref() and LyX::cref.
1690         (lastfiles): new accessor functions for the new lastfiles_ member var.
1691         (addLyXView, views_): add a new LyXView to the list of views_.
1692         (updateInset): loop over all LyXViews to call their own updateInset
1693         member function, returning a pointer to the Buffer owning the inset.
1694
1695         * BufferView_pimpl.C (loadLyXFile):
1696         * MenuBackend.C (expandLastfiles):
1697         * bufferlist.C (MenuWrite, QuitLyX):
1698         lastfiles is no longer a global variable.
1699         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1700
1701         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1702         static function. Access through LyX::cref().emergencyCleanup().
1703
1704 2003-10-14  André Pönitz  <poenitz@gmx.net>
1705
1706         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1707
1708         * undo.[Ch]: restoring part of 'undo in insets'
1709
1710         * Makefile.am:
1711         * undo_funcs.[Ch]: merge with undo.[Ch]
1712
1713         * tabular.C: small cleansing stuff
1714
1715 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1716
1717         * paragraph_funcs.C (readParToken): report unknown insets as error
1718         boxes. Use the outer paragraph as location (also for unknown
1719         tokens).
1720
1721         * factory.C (readInset): do not abort on reading an unknown inset.
1722         Eat it and return 0.
1723
1724 2003-10-13  Angus Leeming  <leeming@lyx.org>
1725
1726         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1727
1728         * lyxrc.C: displayTranslator is now a function,
1729         declared in GraphicsTypes.h.
1730
1731 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1732
1733         * format.C: new placeholder $$a to pass the socket address.
1734
1735         * bufferlist.[Ch]: new function getBufferFromTmp.
1736
1737         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1738           files in the temporary dir.
1739
1740 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1741
1742         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1743
1744         * Makefile.am: add lyxsocket.[Ch].
1745
1746         * lyx_main.C (error_handler): handle SIGPIPE.
1747
1748 2003-10-13  André Pönitz  <poenitz@gmx.net>
1749
1750         * BufferView_pimpl.C:
1751         * lyxtext.h:
1752         * text.C:
1753         * text2.C:
1754         * text3.C:
1755         * undo_funcs.[Ch]: use paroffset_type instead of
1756           ParagraphList::iterators to prevent multiple conversion
1757           (and get a more robust interface)
1758
1759 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1760
1761         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1762         * lyxtext.h: ditto
1763         * text3.C (dispatch): ditto
1764
1765 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1766
1767         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1768         move the onlyfile, use onlyfile instead of foundfile in a couple
1769         of places.
1770
1771         * DepTable.C (update): flush the error stream a bit more
1772
1773 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * lyxserver.C (callback): adjust
1776
1777         * lyxfunc.C (getStatus): add a missing brace in commented code
1778         (ensureBufferClean): reindent
1779         (dispatch): delete version taking a string
1780
1781 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * LaTeX.C (deplog): move found file handlig from here...
1784         (handleFoundFile): .. to new function here.
1785         (deplog): make sure to discover several files mentioned on the
1786         same log line.
1787
1788 2003-10-10  André Pönitz  <poenitz@gmx.net>
1789
1790         * lyxfunc.C:
1791         * lyxtext.h:
1792         * tabular.C:
1793         * text.C:
1794         * text2.C:
1795         * text3.C: fix some of the tabular crashes
1796
1797 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1798
1799         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1800
1801         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1802
1803 2003-10-09  André Pönitz  <poenitz@gmx.net>
1804
1805         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1806
1807         * BufferView.C:
1808         * BufferView_pimpl.C:
1809         * bufferview_funcs.C:
1810         * lyx_cb.C:
1811         * lyxcursor.C:
1812         * lyxfind.C:
1813         * lyxfunc.C:
1814         * lyxtext.h:
1815         * text.C:
1816         * text2.C:
1817         * text3.C:
1818         * text_funcs.[Ch]:
1819         * textcursor.[Ch]:
1820         * undo_funcs.C: adjust
1821
1822 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * text2.C (incrementItemDepth): new function, use a backtracking
1825         algorithm to discover the correct item depth.
1826         (resetEnumCounterIfNeeded): new function, use a backtracking
1827         algorithm to discover if counter reset is needed.
1828         (setCounter): use them. Simplify a bit. Add different labels for
1829         different item depths for itemize.
1830
1831         * paragraph.C (Paragraph): remove initialization of enumdepth
1832         (operator=): ditto
1833
1834         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1835         enumerate and itemize. Change the type of itemdepth to signed char.
1836
1837 2003-10-08  André Pönitz  <poenitz@gmx.net>
1838
1839         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1840           thing assignable.
1841         * text.C:
1842         * text2.C: adjust
1843
1844         * tabular.[Ch]: fix crash after 'row-insert'
1845
1846 2003-10-08  Angus Leeming  <leeming@lyx.org>
1847
1848         Fix doxygen warnings.
1849
1850         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1851         Remove CutAndPaste:: prefix from header file declaration.
1852
1853         * LColor.h (fill): remove LColor:: prefix from declaration.
1854
1855         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1856         use lyx::depth_type rather than Paragraph::depth_type so that
1857         header file and .C file match.
1858
1859         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1860
1861         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1862         * aspell.C: \file aspell_local.C -> \file aspell.C
1863         * gettext.C: \file gettext.C -> \file src/gettext.C
1864         * gettext.h: \file gettext.h -> \file src/gettext.h
1865         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1866         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1867         * text.C: \file text.C -> \file src/text.C
1868
1869         * toc.C: move comment so that doxygen is not confused.
1870
1871 2003-10-07  Angus Leeming  <leeming@lyx.org>
1872
1873         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1874
1875 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1876
1877         * aspell.C:
1878         * aspell_local.h: add forgotten std::string's.
1879
1880 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1881
1882         * LaTeXFeatures.C:
1883         * LyXAction.C:
1884         * factory.C:
1885         * lfuns.h:
1886         * lyxfunc.C:
1887         * text3.C: The Box patch. Fancybox support, minipage, parbox
1888
1889 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1890
1891         * CutAndPaste.h:
1892         * DepTable.h:
1893         * FloatList.h:
1894         * LaTeXFeatures.h:
1895         * ParagraphParameters.h:
1896         * TextCache.h:
1897         * Thesaurus.h:
1898         * bufferlist.h:
1899         * exporter.h:
1900         * importer.h:
1901         * lastfiles.h:
1902         * lyxfind.h:
1903         * lyxfont.h:
1904         * lyxlex.h:
1905         * lyxtextclasslist.h:
1906         * messages.h:
1907         * paragraph.h:
1908         * paragraph_pimpl.C:
1909         * textcursor.h: add <string> and other small fixes to make Lars'
1910         std::string patch compile with STLport.
1911
1912 2003-10-06  Angus Leeming  <leeming@lyx.org>
1913
1914         * LColor.h: Add missing #include <string>.
1915
1916 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * All most all file in all subdirs: Make <string> be the prefered
1919         way of getting to std::string, add using declarations.
1920
1921 2003-10-06  André Pönitz  <poenitz@gmx.net>
1922
1923         * metricsinfo.C: initialize LyXFont before changing attribute.
1924         (fixes the 'math in \emph is upright' bug)
1925
1926 2003-10-06  André Pönitz  <poenitz@gmx.net>
1927
1928         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1929
1930 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1931
1932         * graph.C:
1933         * paragraph_pimpl.C: Small fixes to build using STLport
1934
1935 2003-10-02  André Pönitz  <poenitz@gmx.net>
1936
1937         * lyxfunc.C:
1938         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1939
1940 2003-10-01  André Pönitz  <poenitz@gmx.net>
1941
1942         * factory.C: assert early
1943
1944 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * lyx_main.C: remove the global debug object
1947
1948         * debug.h: adjust for new debugstream
1949
1950         * debug.C: adjust for new debugstream and keep the global debug
1951         object here.
1952
1953 2003-09-22  Angus Leeming  <leeming@lyx.org>
1954
1955         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1956         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1957         an incomplete class LyXFont.
1958
1959 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * factory.C: bug fix in branches
1962
1963 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1964
1965         * lyxfunc.C (processKeySym): adjust
1966         (dispatch): adjust
1967         (dispatch): change arg name from ev to func, adjust
1968         (sendDispatchMessage): ditto
1969
1970         * lyx_main.C (defaultKeyBindings): adjust keybindings
1971         (deadKeyBindings): ditto
1972
1973         * kbsequence.C (addkey): return a FuncRequest
1974
1975         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1976
1977         * kbmap.C (bind): take a FuncRequest as arg, adjust
1978         (read): adjust
1979         (lookup): adjust
1980         (defkey): change to take a FuncRequest as arg, adjust
1981         (findbinding): take a FuncRequest as arg, adjust.
1982
1983         * funcrequest.h (operator=): added
1984
1985         * funcrequest.C (FuncRequest): default kb_action changed from
1986         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1987
1988         * buffer.C (dispatch): simplify
1989         (dispatch): adjust to take a FuncRequest as arg, adjust
1990
1991         * boost.C (assertion_failed): change assertion message slightly
1992
1993         * ToolbarBackend.C (read): simplify
1994
1995         * MenuBackend.C (binding): adjust call to findbinding, add a
1996         message if no binding is found.
1997         (read): simplify
1998         (expandToc): correct by adding a empty FuncRequest
1999
2000         * LyXAction.C: include <boost/assert.hpp>
2001         (isPseudoAction): delete function
2002         (LookupFunc): change name to...
2003         (lookupFunc): this. change return type to FuncRequest.
2004         (getActionName): take kb_action as arg, simplify
2005         (funcHasFlag): add an assert, simplify.
2006
2007 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * toc.C (action): return a FuncRequest, simplify
2010
2011         * lyxfunc.C (processKeySym): adjust
2012         (getStatus): delete version that takes an int.
2013         (getStatus): adjust
2014         (dispatch): delete version that takes action as int
2015         (dispatch): adjust
2016         (sendDispatchMessage): simplify and adjust
2017
2018         * funcrequest.C (getArg): take unsigned int as arg
2019
2020         * ToolbarBackend.C (read): adjust
2021         (add): delete version that takes func as a string.
2022         (getIton): take a FuncRequest as arg
2023
2024         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2025         action.
2026
2027         * MenuBackend.C (MenuItem): add a new construct that only takes a
2028         Kind, simplify the constructor use for submenus.
2029         (add): adjust
2030         (expandLastfiles): adjust
2031         (expandDocuments): adjust
2032         (expandFormats): adjust
2033         (expandFloatListInsert): adjust
2034         (expandFloatInsert): adjust
2035         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2036
2037         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2038         Remove class variables lyx_pseudo_map and lyx_arg_map
2039
2040         * LyXAction.C (searchActionArg): delete function
2041         (getPseudoAction): delete function
2042         (retrieveActionArg): delete function
2043         (LookupFunc): make it return kb_action, simplify.
2044         (getActionName): simplify
2045
2046         * factory.C (createInset): fix new bug
2047
2048 2003-09-19  Angus Leeming  <leeming@lyx.org>
2049
2050         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2051         masterFilename_ parameter in the include inset.
2052
2053         * factory.C (createInset): changes due to the changes to InsetInclude.
2054
2055 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2056
2057         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2058
2059 2003-09-18  Angus Leeming  <leeming@lyx.org>
2060
2061         * buffer.C:
2062         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2063         Inset::fillWithBibKeys.
2064         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2065
2066 2003-09-18  Angus Leeming  <leeming@lyx.org>
2067
2068         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2069         variables.
2070         (ctor): pass and store a 'Buffer const &'
2071         (buffer): new member function.
2072
2073         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2074         '*this' to the LaTeXFeatures ctor.
2075
2076 2003-09-18  Angus Leeming  <leeming@lyx.org>
2077
2078         * LColor.h:
2079         * lyxfont.C:
2080         * lyxfont.h:
2081         * lyxtext.h:
2082         * text.C: rename EnumLColor as LColor_color.
2083
2084 2003-09-18  Angus Leeming  <leeming@lyx.org>
2085
2086         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2087         remove #include "insets/insetbase.h" from cursor.h.
2088
2089 2003-09-18  Angus Leeming  <leeming@lyx.org>
2090
2091         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2092         InsetOld_code to remove #include "inset.h".
2093
2094         * iterators.C: add #include "insets/inset.h"
2095
2096 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2097
2098         * BufferView.C: remove more locking stuff that apparently doesn't
2099         do anything sensible.
2100
2101 2003-09-16  André Pönitz  <poenitz@gmx.net>
2102
2103         * paragraph.[Ch]:
2104         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2105           performance boost.
2106
2107 2003-09-16  Angus Leeming  <leeming@lyx.org>
2108
2109         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2110
2111         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2112         arg/return type.
2113
2114         * paragraph.h: remove #include "lyxfont.h". Forward declare
2115         LyXFont_size.
2116
2117 2003-09-16  Angus Leeming  <leeming@lyx.org>
2118
2119         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2120         of support/textutils.h.
2121         (isWord): move the contents of support/textutils.h's IsWordChar here.
2122
2123         * buffer.C:
2124         * lyxfind.C:
2125         * rowpainter.C:
2126         * text.C:
2127         * text2.C: add #include "paragraph.h".
2128
2129         * rowpainter.C:
2130         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2131
2132 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * main.C:
2135         * lyx_main.C:
2136         * lyx_cb.C:
2137         * buffer.C:
2138         * LaTeX.C: use namespace alias for lyx::support::os
2139
2140 2003-09-16  Angus Leeming  <leeming@lyx.org>
2141
2142         * bufferparams.C:
2143         * bufferview_funcs.C:
2144         * factory.C:
2145         * lyxfunc.C:
2146         * paragraph_pimpl.C:
2147         * rowpainter.C:
2148         * text.C: add #include "LColor.h".
2149
2150 2003-09-16  Angus Leeming  <leeming@lyx.org>
2151
2152         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2153         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2154         return LyXFont &.
2155         Store the FontBits::color variable as an int rather than as an
2156         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2157         file.
2158
2159         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2160         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2161         string calls together.
2162
2163         * lyxrc.C: add #include "LColor.h".
2164
2165 2003-09-15  Angus Leeming  <leeming@lyx.org>
2166
2167         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2168         a cow_ptr.
2169
2170 2003-09-15  Angus Leeming  <leeming@lyx.org>
2171
2172         * LColor.h: add an EnumLColor wrapper for LColor::color.
2173
2174         * lyxfont.[Ch] (color, setColor, realColor):
2175         * lyxtext.h, text.C (backgroundColor):
2176         pass EnumLColor args to/from the functions, rather than LColor::color
2177         ones.
2178
2179         * lyxfont.h:
2180         * lyxtext.h: forward declare EnumLColor.
2181
2182         * lyx_main.C: add #include "LColor.h".
2183
2184 2003-09-15  Angus Leeming  <leeming@lyx.org>
2185
2186         * .cvsignore: add lyx-gtk.
2187
2188 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * Chktex.C
2191         * LaTeX.C
2192         * LaTeXFeatures.C
2193         * ParagraphParameters.C
2194         * Spacing.C
2195         * buffer.C
2196         * bufferparams.C
2197         * bufferview_funcs.C
2198         * chset.C
2199         * counters.C
2200         * funcrequest.C
2201         * lyxfont.C
2202         * lyxgluelength.C
2203         * lyxlength.C
2204         * paragraph.C
2205         * paragraph_funcs.C
2206         * text3.C
2207         * vc-backend.C: remove usage of STRCONV
2208
2209 2003-09-15  Angus Leeming  <leeming@lyx.org>
2210
2211         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2212         explicitly define the color passed to the painter.
2213
2214 2003-09-15  Angus Leeming  <leeming@lyx.org>
2215
2216         * bufferparams.C (BufferParams): reorder member initializers to avoid
2217         compiler warning.
2218
2219 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2220
2221         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2222         * text.C (updateRowPositions): remove an unusual nop
2223
2224 2003-09-12  André Pönitz  <poenitz@gmx.net>
2225
2226         * BufferView_pimpl.C:
2227         * Bullet.C:
2228         * layout.h:
2229         * lyxfunc.C:
2230         * lyxlayout.[Ch]:
2231         * lyxtextclass.C:
2232         * rowpainter.C:
2233         * text.C:
2234         * text2.C:
2235         * Counters.[Ch]: finish the 'automatic counters' job
2236
2237 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2238
2239         * aspell.C: include <boost/assert.cpp> (compile fix)
2240
2241 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2242
2243         * boost.C (assertion_failed): use lyx::support::abort instead of
2244         assert.
2245
2246 2003-09-10  Angus Leeming  <leeming@lyx.org>
2247
2248         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2249         with their _fwd progeny.
2250
2251 2003-09-09  Angus Leeming  <leeming@lyx.org>
2252
2253         134 files throughtout the source tree: replace 'using namespace abc;'
2254         directives with the appropriate 'using abc::xyz;' declarations.
2255
2256 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2257
2258         * boost.C (emergencyCleanup): moved here from LAssert.c
2259         (assertion_failed): new function, called by BOOST_ASSERT
2260
2261         * several files: change Assert to BOOST_ASSERT
2262
2263 2003-09-09  Angus Leeming  <leeming@lyx.org>
2264
2265         * buffer.[Ch]: Add an Impl class and move Buffer's member
2266         variables into it. As a result move several header files out of
2267         buffer.h.
2268
2269         Add header files to lots of .C files all over the tree as a result.
2270
2271 2003-09-09  Angus Leeming  <leeming@lyx.org>
2272
2273         * buffer.[Ch]: make Buffer's member variables private. Add
2274         accessor functions.
2275
2276         Lots of changes all over the tree as a result.
2277
2278 2003-09-08  Angus Leeming  <leeming@lyx.org>
2279
2280         * graph.C: #include <config.h>.
2281
2282 2003-09-08  Angus Leeming  <leeming@lyx.org>
2283
2284         * BranchList.C:
2285         * BufferView.C:
2286         * BufferView_pimpl.C:
2287         * CutAndPaste.C:
2288         * DepTable.C:
2289         * LaTeX.C:
2290         * LaTeXFeatures.C:
2291         * LyXAction.C:
2292         * MenuBackend.C:
2293         * TextCache.C:
2294         * aspell.C:
2295         * buffer.C:
2296         * bufferlist.C:
2297         * changes.C:
2298         * chset.C:
2299         * converter.C:
2300         * counters.C:
2301         * debug.C:
2302         * graph.C:
2303         * ispell.C:
2304         * lyx_cb.C:
2305         * lyxfind.C:
2306         * lyxfunc.C:
2307         * lyxlex_pimpl.C:
2308         * lyxrc.C:
2309         * lyxrow.C:
2310         * paragraph.C:
2311         * rowpainter.C:
2312         * texrow.C:
2313         * text.C:
2314         * text2.C:
2315         * toc.C: remove redundant using directives.
2316
2317 2003-09-07  Angus Leeming  <leeming@lyx.org>
2318
2319         * LaTeXFeatures.h: remove #include "support/types.h".
2320         * ToolbarBackend.h: remove #include <algorithm>.
2321         * changes.h: remove #include <ctime>.
2322         * debug.h: remove #include <iosfwd>.
2323         * graph.h: remove #include "support/std_string.h".
2324         * lyx_main.h: remove #include <csignal>.
2325         * lyxlex_pimpl.h: remove #include <fstream>.
2326         * sgml.h: remove #include <algorithm>, <utility>.
2327         * toc.h: remove #include "support/std_ostream.h".
2328         Add #include <iosfwd>.
2329
2330 2003-09-07  Angus Leeming  <leeming@lyx.org>
2331
2332         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2333
2334         * converter.h: forward declare LatexRunParams.
2335         * encoding.h: remove #include "lyxrc.h".
2336         * lyxtext.h: remove #include "LColor.h".
2337         * lyxtextclass.h: remove #include "support/types.h".
2338         * trans.h: remove #include "tex-accent.h".
2339         * trans_mgr.h: remove #include "tex-accent.h".
2340         * insets/inset.h: remove #include "support/types.h", <vector>.
2341         * insets/insetcollapsable.h: remove #include "LColor.h".
2342         * insets/insetinclude.h: remove #include "dimension.h".
2343         * insets/insetlatexaccent.h: remove #include "dimension.h".
2344         * insets/insetoptarg.h:: remove #include "insettext.h".
2345         * insets/insettext.h: remove #include "dimension.h",
2346         <boost/shared_ptr.hpp>
2347
2348         * insets/renderers.h: add #include "dimension.h".
2349         * insets/updatableinset.h: add #include "support/types.h".
2350
2351         * many .C files: Associated changes.
2352
2353 2003-09-06  Angus Leeming  <leeming@lyx.org>
2354
2355         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2356         one, inside testInvariant.
2357
2358         * PrinterParams.C: new file.
2359         * PrinterParams.[Ch]: move the function bodies out of line.
2360
2361 2003-09-06  Angus Leeming  <leeming@lyx.org>
2362
2363         * ParagraphParameters.h: forward declare ParameterStruct rather than
2364         including its header file.
2365         (depth): moved out-of-line.
2366
2367 2003-09-06  Angus Leeming  <leeming@lyx.org>
2368
2369         * BufferView_pimpl.h:
2370         * kbmap.h:
2371         * kbsequence.h:
2372         * lyxfunc.h: forward declare LyXKeySym rather than
2373         #include "frontends/LyXKeySym.h".
2374
2375         * BufferView_pimpl.C:
2376         * kbmap.C:
2377         * kbsequence.C:
2378         * lyxfunc.C: associated changes.
2379
2380 2003-09-06  Angus Leeming  <leeming@lyx.org>
2381
2382         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2383         As a result, can remove the #include "insets/inset.h" from BufferView.h
2384
2385 2003-09-06  Angus Leeming  <leeming@lyx.org>
2386
2387         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2388         As a result, can remove the #include "insets/inset.h" from BufferView.h
2389
2390 2003-09-06  Angus Leeming  <leeming@lyx.org>
2391
2392         * buffer_funcs.C:
2393         * buffer.h:
2394         * bufferlist.C:
2395         * BufferView.C:
2396         * bufferview_funcs.C:
2397         * BufferView_pimpl.C:
2398         * CutAndPaste.C:
2399         * lyx_cb.C:
2400         * lyxfunc.C:
2401         * paragraph.h:
2402         * ParagraphParameters.C:
2403         * tabular.C:
2404         * text3.C:
2405         * toc.C:
2406         * undo_funcs.C:
2407         * frontends/controllers/ControlDocument.C:
2408         * insets/insetcaption.C: rearrange the #includes into some sort of
2409         coherent order.
2410
2411         * buffer.h: remove #includes ErrorList.h, undo.h
2412
2413 2003-09-06  Angus Leeming  <leeming@lyx.org>
2414
2415         * support/types.h: add a 'depth_type' typedef, used to store the
2416         nesting depth of a paragraph.
2417
2418         * paragraph.h:
2419         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2420         defining explicitly.
2421
2422         * buffer.h:
2423         * paragraph_funcs.h:
2424         * ParagraphParameters.h:
2425         * sgml.h: use lyx::depth_type rather than Paragraph or
2426         ParameterStruct's depth_type.
2427
2428         * buffer.h
2429         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2430
2431         * BufferView.C:
2432         * BufferView_pimpl.C:
2433         * CutAndPaste.C:
2434         * ParagraphParameters.C:
2435         * buffer_funcs.C:
2436         * bufferlist.C:
2437         * bufferview_funcs.C:
2438         * lyx_cb.C:
2439         * lyxfunc.C:
2440         * tabular.C:
2441         * text3.C:
2442         * toc.C:
2443         * undo_funcs.C:
2444         * frontends/LyXView.C:
2445         * frontends/controllers/ControlDocument.C:
2446         * frontends/controllers/ControlErrorList.C:
2447         * insets/insetbibitem.C:
2448         * insets/insetbranch.C:
2449         * insets/insetcaption.C:
2450         * insets/insetcollapsable.C:
2451         * insets/insetenv.C:
2452         * insets/insetert.C:
2453         * insets/insetfloat.C:
2454         * insets/insetfoot.C:
2455         * insets/insetfootlike.C:
2456         * insets/insetnewline.C:
2457         * insets/insetquotes.C:
2458         * insets/insettabular.C:
2459         * insets/insettext.C:
2460         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2461
2462         * frontends/controllers/ControlChanges.C: #include "changes.h".
2463
2464 2003-09-06  Angus Leeming  <leeming@lyx.org>
2465
2466         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2467         than #including paragraph.h.
2468
2469         * ParagraphList.h:
2470         * RowList.h: deleted. Superfluous.
2471
2472         * CutAndPaste.h:
2473         * iterators.h:
2474         * lyxcursor.h:
2475         * lyxtext.h:
2476         * text_funcs.h:
2477         * undo.h:
2478         * undo_funcs.h:
2479         * insets/inset.h:
2480         * insets/insettext.h: use ParagraphList_fwd.h rather than
2481         ParagraphList.h.
2482
2483         * paragraph.h: don't forward declare ParagraphList.
2484
2485         * buffer.h:
2486         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2487         rather than ParagraphList.h. paragraph.h is still needed for the
2488         Paragraph::depth_type parameters.
2489
2490         * textcursor.h: enable it to compile stand-alone in light of the
2491         above changes.
2492
2493         * bufferview_funcs.C:
2494         * iterators.C:
2495         * lyxfunc.C:
2496         * lyxrow_funcs.C:
2497         * paragraph.C:
2498         * rowpainter.C:
2499         * text.C:
2500         * text2.C:
2501         * text3.C:
2502         * text_funcs.C:
2503         * textcursor.C:
2504         * undo.C:
2505         * frontends/controllers/ControlParagraph.C:
2506         * frontends/controllers/ControlTabular.C:
2507         * insets/insetmarginal.C:
2508         * insets/insetminipage.C:
2509         * insets/insetnote.C:
2510         * insets/insetoptarg.C: add header files needed to compile again.
2511
2512 2003-09-06  Angus Leeming  <leeming@lyx.org>
2513
2514         * RowList_fwd.h: new file, forward-declaring Row rather than
2515         #including lyxrow.h.
2516
2517         * lyxrow_funcs.h:
2518         * lyxtext.h:
2519         * paragraph.h:
2520         * insets/insettext.h: use it instead of RowList.h
2521
2522         * bufferview_funcs.C:
2523         * lyxfunc.C:
2524         * lyxrow_funcs.C:
2525         * paragraph.C:
2526         * rowpainter.C:
2527         * text.C:
2528         * text2.C:
2529         * text3.C: #include "RowList.h".
2530
2531 2003-09-05  Angus Leeming  <leeming@lyx.org>
2532
2533         * factory.C (createInset):
2534         * vspace.C (c-tor): replace sscanf call with an istringstream.
2535         * ispell.C: re-add missing HP/UX headers.
2536         * lyxserver.C: re-add missing  os2 headers.
2537
2538 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2539
2540         * BranchList.C:
2541         * graph.C:
2542         * ispell.C:
2543         * lastfiles.C:
2544         * lyx_cb.C:
2545         * lyxserver.C:
2546         * texrow.C:
2547         * text3.C: re-add missing system headers, needed for 2.95.2.
2548
2549 2003-09-05  Angus Leeming  <leeming@lyx.org>
2550
2551         Changes most place everywhere due to the removal of using directives
2552         from support/std_sstream.h.
2553
2554 2003-09-05  Angus Leeming  <leeming@lyx.org>
2555
2556         Replace LString.h with support/std_string.h,
2557         Lsstream.h with support/std_sstream.h,
2558         support/LIstream.h with support/std_istream.h,
2559         support/LOstream.h with support/std_ostream.h.
2560
2561         Changes resulting throughout the tree.
2562
2563 2003-09-05  Angus Leeming  <leeming@lyx.org>
2564
2565         * sgml.h: ensure that the header file can be compiled stand-alone.
2566         * *.C: strip out redundant #includes. (320 in total.)
2567
2568 2003-09-04  Angus Leeming  <leeming@lyx.org>
2569
2570         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2571         here (from getPackages).
2572
2573         * debug.[Ch]: add a new EXTERNAL tag.
2574
2575 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2576
2577         * text2.C (cursorEnd): simplify
2578         (setCursor): adjust
2579         (getColumnNearX): adjust
2580
2581         * text.C (computeBidiTables): adjust
2582         (fill): adjust
2583
2584         * rowpainter.C (paintChars): adjust
2585         (paintSelection): adjust
2586         (paintChangeBar): adjust
2587         (paintText): adjust
2588
2589         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2590         lastPos instead.
2591         (numberOfSeparators): adjust
2592
2593 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2594
2595         * LyXAction.C:
2596         * box.[Ch]:
2597         * lfuns.h:
2598         * lyxfunc.C:
2599         * text3.C: Restricts the mouse click functionality
2600         of insets like bibtex, include, toc and floatlist to the visible
2601         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2602         up the dialogs. Cursor has to be in front of the inset (i.e.
2603         start of row) for this to function.
2604
2605 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2606
2607         * bufferview_funcs.C (currentState): output row information
2608
2609 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2610
2611         * bufferview_funcs.C (currentState): output paragraph position
2612
2613 2003-09-04  Angus Leeming  <leeming@lyx.org>
2614
2615         * FloatList.h: move out #include "Floating.h".
2616         * LaTeX.h: move out #include "DepTable.h".
2617         * LyXAction.h: move out #include "funcrequest.h".
2618         * buffer.h: move out #include "author.h", "iterators.h".
2619         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2620         * lyx_main.h: move out #include "errorlist.h".
2621         * lyxfunc.h: move out #include "FuncStatus.h".
2622         * lyxtext: move out #include "lyxcursor.h".
2623         * paragraph_pimpl.h: move out #include "counters.h".
2624
2625 2003-09-03  Angus Leeming  <leeming@lyx.org>
2626
2627         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2628         preamble_snippets list, enabling us to add snippets to the preamble
2629         only if the snippet was not there already.
2630
2631 2003-09-04  Angus Leeming  <leeming@lyx.org>
2632
2633         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2634
2635 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2638         update
2639
2640 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * BranchList.C: point fix, earlier forgotten
2643
2644 2003-09-02  Angus Leeming  <leeming@lyx.org>
2645
2646         * box.C (contains): renamed from 'contained' after a fantastic
2647         amount of hot air.
2648
2649 2003-09-02  John Levon  <levon@movementarian.org>
2650
2651         * BufferView.C:
2652         * lyxcursor.h:
2653         * lyxcursor.C:
2654         * lyxfunc.C:
2655         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2656
2657 2003-09-02  John Levon  <levon@movementarian.org>
2658
2659         * text2.C: simplification of cursorEnd(), including partial
2660         fix for bug 1376
2661
2662 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * buffer.C (readFile): add a space
2665
2666 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2667
2668         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2669
2670 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * buffer.C (readFile): new function, take a filename and a
2673         ParagraphList::iterator
2674         (readFile): adjust
2675         (readFile): adjust, make it private. don't use setStream, make
2676         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2677         always contain the filename.
2678
2679         * BufferView.C (insertLyXFile): simplify and make it work for
2680         gzipped files.
2681
2682 2003-08-30  John Levon  <levon@movementarian.org>
2683
2684         * Makefile.am: fix dist (from Kayvan)
2685
2686 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * most files: change to use const Buffer refs
2689
2690 2003-08-27  André Pönitz  <poenitz@gmx.net>
2691
2692         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2693         on top of ownerPar().
2694
2695 2003-08-27  John Levon  <levon@movementarian.org>
2696
2697         * funcrequest.C: properly initialise POD members
2698
2699 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * lyxtext.h (top_y): move top_y from here
2702         * text.C:
2703         * text2.C:
2704         * text3.C:
2705         * BufferView.[Ch]:
2706         * BufferView_pimpl.[Ch]: to here
2707         * frontends/screen.C:
2708         * insets/insettabular.C:
2709         * insets/insettext.C: adjust
2710         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2711
2712 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * BufferView.[Ch]:
2715         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2716
2717 2003-08-26  André Pönitz  <poenitz@gmx.net>
2718
2719         * paragraph_func.[Ch] (outerPar): new function
2720
2721         * paragraph.C:
2722         * paragraph_funcs.C:
2723         * paragraph_funcs.h:
2724         * paragraph_pimpl.C:
2725         * text2.C: remove Inset::par_owner
2726
2727 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2728
2729         * lyxrow_funcs.C:
2730         * lyxtext.h:
2731         * text.C:
2732         * text2.C: eliminates the needFullRow/display() stuff
2733         altogether, putting the logic in metrics/draw in the insets.
2734
2735 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * text2.C (redoParagraphInternal, redoParagraphs):
2738         * text.C (redoParagraph): add a call to updateRowPositions at the
2739         end of each 'metrics-like' call. Remove all others.
2740         (getRow): remove the 'y-computing' version.
2741         (getRowNearY): do not compute nor return the real y. Solve the
2742         'y < 0' problem and simplify.
2743
2744 2003-08-22  Angus Leeming  <leeming@lyx.org>
2745
2746         * *.[Ch]: clean-up of licence and author blurbs.
2747         Also move config.h out of a few .h files and into a few .C files.
2748
2749 2003-08-22  André Pönitz  <poenitz@gmx.net>
2750
2751         * lyxrow.[Ch]: add x_ and *fill_ members
2752
2753         * lyxtext.h:
2754         * text.C:
2755         * rowpainter.C:
2756         * text2.C: adjust/remove prepareToPrint() calls
2757
2758 2003-08-22  André Pönitz  <poenitz@gmx.net>
2759
2760         * lyxrow.[Ch]: add  end_ member
2761
2762         * lyxrow_funcs.C: use LyXRow::end_
2763
2764         * lyxtext.h (singleWidth): add LyXFont parameter
2765
2766         * rowpainter.C:
2767         * text2.C: adjust LyXText::singleWidth() calls
2768
2769         * text.C (redoParagraph): simplify row breaking logic
2770
2771
2772 2003-08-19  André Pönitz  <poenitz@gmx.net>
2773
2774         * funcrequest.C: initialize button_ member
2775
2776         * text3.C:
2777         * rowpainter.[Ch]: interface consolidation
2778
2779 2003-08-18  André Pönitz  <poenitz@gmx.net>
2780
2781         * BufferView.C:
2782         * BufferView_pimpl.C:
2783         * lyxfind.C:
2784         * paragraph_funcs.C:
2785         * rowpainter.C:
2786         * text3.C: remove LyXScreen::draw() and fitCursor calls
2787
2788         * BranchList.h: remove spurious semicolons
2789
2790         * MenuBackend.C: fix branchlist related crash
2791
2792 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2793
2794         * BranchList.[Ch]:
2795         * InsetList.[Ch]:
2796         * LColor.[Ch]:
2797         * LyXAction.C:
2798         * Makefile.am:
2799         * MenuBackend.[Ch]:
2800         * bufferparams.[Ch]:
2801         * factory.C:
2802         * lfuns.h:
2803         * lyxfunc.C:
2804         * text3.C: implements the 'branch inset'
2805         idea. This allows the output of various versions of a document
2806         from a single source version, selectively outputing or suppressing
2807         output of parts of the text.
2808         This implementation contains a 'branch list editor' in a separate
2809         tab of the document settings dialog. Branches are user definable
2810         and have a "display colour" to distinguish them on-screen.
2811
2812         ColorHandler was somewhat cleaned up.
2813         (1) make possible a dynamically growing LColor list by allowing
2814         the graphic context cache to grow along (vector);
2815         (2) eliminate an IMHO unnecessary step in colour allocation.
2816
2817 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2818
2819         * BufferView_pimpl.C: compile fix
2820
2821 2003-08-15  André Pönitz  <poenitz@gmx.net>
2822
2823         * rowpainter.C: remove extra metrics calls
2824
2825         * lyxtext.h: merge the two constructors into a single one,
2826           pass reference to owner's par list
2827
2828         * BufferView_pimpl.C:
2829         * text.C:
2830         * text2.C: adjust
2831
2832 2003-08-15  André Pönitz  <poenitz@gmx.net>
2833
2834         * lyxrow_funcs.[Ch]:
2835         * lyxtext.h:
2836         * paragraph.h:
2837         * paragraph_funcs.C:
2838         * rowpainter.C:
2839         * text.C:
2840         * text2.C:
2841         * text3.C:
2842         * text_funcs.C: split LyXText::rowlist_ into individual
2843         Paragraph::rows_ chunks
2844
2845         * BufferView.[Ch]:
2846         * BufferView_pimpl.[Ch]:
2847         * lyxfind.C:
2848         * lyxtext.h:
2849         * text3.C: remove toggleSelection()
2850
2851 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2852
2853         * bufferlist.C: beautify two alerts (shorter text of buttons)
2854         * buffer.C: Remove redundant ' ' from message
2855         * tabular.h:
2856         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2857         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2858         rename VALIGN_CENTER to VALIGN_MIDDLE
2859
2860 2003-08-11  André Pönitz  <poenitz@gmx.net>
2861
2862         * lyxtext.h (getPar):
2863         * text.C: new function
2864
2865 2003-08-11  André Pönitz  <poenitz@gmx.net>
2866
2867         * Makefile.am:
2868         * tracer.[Ch]: remove unneeded files
2869
2870         * InsetList.[Ch]: remove resizeInsetsLyXText()
2871
2872         * lyxtext.h:
2873         * text.C:
2874         * text2.C:
2875         * text3.C: merge insertParagraphs() and appendParagraph()
2876         remove breakAgain(), update()
2877
2878         * BufferView_pimpl.[Ch]:
2879         * bufferview_funcs.[Ch]:
2880         * lyxfunc.C:
2881         * paragraph.[Ch]:
2882         * rowpainter.C:
2883         * tabular.C: adjust after text & InsetList changes.
2884
2885 2003-08-08  André Pönitz  <poenitz@gmx.net>
2886
2887         * text.C (insertChar, backspace): replace rowlist fiddling
2888         with rebreak of full par
2889
2890         * lyxtext.h:
2891         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2892         checkParagraph, updateInset): removed
2893
2894 2003-08-07  André Pönitz  <poenitz@gmx.net>
2895
2896         * paragraph.C:
2897         * text3.C: merge some LFUN handlers, remove dead code
2898
2899 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2900
2901         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2902
2903 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2904
2905         * text2.C (DEPM): fix part of bug 1255 and 1256
2906
2907 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * BufferView_pimpl.C (workAreaDispatch): change to use
2910         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2911         that are no mouse related.
2912
2913 2003-08-05  André Pönitz  <poenitz@gmx.net>
2914
2915         * BufferView.[Ch]:
2916         * BufferView_pimpl.[Ch]:
2917         * bufferview_funcs.C:
2918         * text2.C:
2919         * text3.C: rip out "deep update"
2920
2921         * textcursor.[Ch] (last_sel_cursor): remove unused member
2922
2923 2003-08-04  André Pönitz  <poenitz@gmx.net>
2924
2925         * BufferView.[Ch]:
2926         * BufferView_pimpl.[Ch]:
2927         * ParagraphParameters.C:
2928         * bufferview_funcs.C:
2929         * lyx_cb.C:
2930         * lyxfind.C:
2931         * lyxfunc.C:
2932         * text.C:
2933         * text2.C:
2934         * text3.C: replace "complicated" BufferView::update(...) calls with
2935         simpler ones.
2936
2937         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2938
2939 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2940
2941         * Makefile.am (lyx_SOURCES): add paper.h
2942
2943 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2944
2945         * Makefile.am: move things around so that both lyx-qt and
2946         lyx-xforms can be built (according to --with-frontend). Then lyx
2947         is a symbolic link to lyx-[firstfrontend]
2948
2949 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2950
2951         * Always use std::endl with lyxerr
2952
2953 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2954
2955         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2956
2957 2003-08-01  André Pönitz  <poenitz@gmx.net>
2958
2959         * BufferView.[Ch]:
2960         * BufferView_pimpl.[Ch]:
2961         * lyxfunc.C:
2962         * text3.C: merge BufferView::repaint() and BufferView::update()
2963
2964 2003-08-01  José Matos  <jamatos@lyx.org>
2965
2966         * buffer.[Ch]: file_format is no longer a buffer data element.
2967
2968 2003-08-01  André Pönitz  <poenitz@gmx.net>
2969
2970         * BufferView.C:
2971         * lyxtext.h:
2972         * text.C:
2973         * text2.C: make redoParagraph more independent of current cursor
2974
2975         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2976         * text.C:
2977         * text2.C: remove unneeded members
2978
2979 2003-07-30  André Pönitz  <poenitz@gmx.net>
2980
2981         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2982
2983         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2984           create a single function...
2985
2986         * paragraph_funcs.C (moveItem): ... here.
2987
2988         * text.C:
2989           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2990
2991 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2992
2993         * LColor.[Ch]: Add comment and greyedout logical colors.
2994
2995 2003-07-30  André Pönitz  <poenitz@gmx.net>
2996
2997         * tabular.C: don't use Assert too heavily. This crashes where it
2998           shouldn't
2999
3000 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3001
3002         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3003         is disabled (bug 1232)
3004
3005 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3006
3007         * factory.C: limited 'arg' scope
3008
3009 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3010
3011         * factory.C: fixed Note submenu issues
3012
3013 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3014
3015         * factory.C: submenu for Note/Comment/Greyedout
3016
3017 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3018
3019         * lyx_main.C (LyX):
3020         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3021
3022 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3023
3024         * LaTeXFeatures.C:
3025         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3026         greyedout. Patch provided by Jürgen Spitzmüller.
3027
3028 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * kbmap.C (read): fix error message when reading bind files
3031
3032 2003-07-29  Angus Leeming  <leeming@lyx.org>
3033
3034         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3035         certainly does not do what it purports to do. I am doing it, and
3036         us, a favour by killing it.
3037
3038 2003-07-28  José Matos  <jamatos@lyx.org>
3039
3040         * buffer.C (readBody, do_writeFile):
3041         * paragraph.C(readParagraph): \end_document replaces \the_end.
3042
3043 2003-07-29  André Pönitz  <poenitz@gmx.net>
3044
3045         * BufferView.[Ch]:
3046         * BufferView_pimpl.[Ch]:
3047         * lyxfunc.C:
3048         * text2.C:
3049         * text3.C:
3050         * textcursor.[Ch]: remove toggleToggle & Co
3051
3052 2003-07-28  José Matos  <jamatos@fep.up.pt>
3053
3054         * buffer.C (readParagraph):
3055         * params_func (readParToken, readParagraph):
3056         * paragraph.C (write): \layout -> \begin_layout.
3057
3058 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * lyxlex_pimpl.C (setFile): clean up slightly.
3061
3062         * bufferparams.h: add compressed var
3063
3064         * buffer_funcs.C (readFile): adjust for LyXLex change
3065         (newFile): ditto + simplify
3066
3067         * buffer.C (writeFile): handle writing of compressed files
3068
3069         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3070         Check if the file is compressed and set a bufferparm if so.
3071
3072         * Makefile.am (lyx_LDADD): remove explicit -lz
3073
3074 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3077         makeDocBookFile): put the real LyX version in the first line of
3078         the file
3079
3080         * version.h:
3081         * version.C.in: remove lyx_docversion
3082
3083         * tabular.C (write_attribute): add a template-based version to
3084         write enums properly
3085
3086 2003-07-28  André Pönitz  <poenitz@gmx.net>
3087
3088         * lyxtext.h:
3089         * text.C:
3090         * text2.C:
3091         * text3.C: use doubles again for x-coordinates. They are needed.
3092
3093 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * messages.C (getLocaleDir): use lyx_localedir()
3096
3097         * lyxlex_pimpl.C (setFile): compress stuff
3098
3099         * buffer.C (writeFile): add some compression stuff
3100         (do_writeFile): new func, dont call expliti close... will this
3101         breake anything?
3102
3103         * Makefile.am (lyx_LDADD): add -lz
3104
3105 2003-07-28  José Matos  <jamatos@fep.up.pt>
3106
3107         * buffer.C: increment file format.
3108         * paragraph_funcs (readParagraph, readParToken):
3109         * paragraph.C (readParagraph): add \end_layout.
3110
3111 2003-07-27  Angus Leeming  <leeming@lyx.org>
3112
3113         * Makefile.am: remove special casing for configure-time setting of
3114         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3115
3116         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3117         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3118
3119 2003-07-26  André Pönitz  <poenitz@gmx.net>
3120
3121         * paragraph_func.[Ch]:
3122         * paragraph.C (realizeFont): inline it whereever it is used
3123
3124         * rowpainter.C:
3125         * text.C:
3126         * text2.C:
3127         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3128
3129
3130 2003-07-26  André Pönitz  <poenitz@gmx.net>
3131
3132         *       lyxtext.h:
3133         * text.C:
3134         * text2.C: get rid of LyXText::need_break_row
3135
3136 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * toc.[Ch]: put namespace toc inside namespace lyx
3139
3140         * MenuBackend.C (expandToc2): adjust for lyx::toc
3141         (expandToc): ditto
3142
3143         * lyxfunc.C (dispatch): adjust for lyx::find
3144
3145         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3146         lyx::find instead. Reorganize a bit.
3147         (LyXReplace): rename to replace
3148         (LyXFind): rename to find
3149
3150         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3151         (dispatch): ditto
3152
3153 2003-07-26  André Pönitz  <poenitz@gmx.net>
3154
3155         * text.C (setHeightOfRow): restrict scope of temporary variable
3156
3157         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3158           code (never has been used?)
3159
3160 2003-07-27  Asger Alstrup  <alstrup@local>
3161
3162         * text.C (fill): Optimise algorithm to exploit that we can reuse
3163         the LyXFont for many characters.
3164         (setHeightOfRow): Same thing.
3165         (rowBreakPoint): Same thing.
3166
3167 2003-07-26  Asger Alstrup  <alstrup@local>
3168
3169         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3170
3171         * text.C (singleWidth): Spurious font copying in hot-spot
3172         singleWidth avoided. Reorder tests for arabic for efficiency.
3173
3174         * text.C (fill): handle empty paragraphs better.
3175
3176 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3177
3178         * ispell.C:
3179         * encoding.h: add includes
3180
3181         * lyxrc.C: remove reading of bind files
3182
3183         * lyx_main.C (init): setup bindings and menus only if we have a
3184         gui.
3185
3186         * kbmap.C (read): new method. Do the actual reading of bind
3187         files.
3188
3189         * converter.C (dvipdfm_options):
3190         * bufferparams.C:
3191         * lyxrc.C (read):
3192         (output): adapt PAPER_* enums.
3193
3194         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3195
3196         * bufferparams.h: remove paper-related enums from there
3197
3198         * paper.h: New file. A trivial header file to hold paper-related
3199         enums. It should later expand to contain many paper-related
3200         horrors access.
3201
3202         * lyxrc.C: declare extern displayTranslator
3203
3204 2003-07-27  José Matos  <jamatos@fep.up.pt>
3205
3206         * tabular.[Ch] (linuxdoc): add support for tables and figures
3207         (linuxdoc).
3208
3209 2003-07-27  José Matos  <jamatos@fep.up.pt>
3210
3211         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3212         consistency in both functions.
3213         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3214
3215 2003-07-26  Asger Alstrup  <alstrup@local>
3216
3217         * rowpainter.C (paintRows): Change algorithm to work directly on
3218         the insets rather than asking every character in the document
3219         whether its an inset.
3220
3221 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * buffer.C (openFileWrite): factorize some code
3224
3225 2003-07-26  Angus Leeming  <leeming@lyx.org>
3226
3227         * lyx_cb.C:
3228         * lyx_main.[Ch]: replace occurances of system_tempdir with
3229         os::getTmpDir().
3230
3231 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * rename Inset to InsetOld
3234
3235 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3236
3237         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3238         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3239         which I think is a bit clearer. EDIT is gone, since it was
3240         premature optimisation, and broken for mathed anyway.
3241         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3242         with cursor positioning in insets as well (math insets still do not
3243         work, but that's a different story anyway.) It mysteriously
3244         crashes sometimes with undo in the first paragraph, but I'm fairly
3245         confident that this is a compiler bug.
3246
3247 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * paragraph.C (Paragraph): adjust for new clone return type
3250         (operator==): ditto
3251         (copyIntoMinibuffer): ditto
3252
3253 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3254
3255         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3256         by not having a special case, and always doing a full rebreak of
3257         the document after undo.
3258
3259 2003-07-23  Angus Leeming  <leeming@lyx.org>
3260
3261         * factory.C (createInset): InsetExternal::setParams now takes a
3262         Buffer const * arg.
3263
3264 2003-07-23  Angus Leeming  <leeming@lyx.org>
3265
3266         * factory.C (createInset): changed interface to the external and
3267         graphics mailers' string2params functions.
3268
3269 2003-07-23  Angus Leeming  <leeming@lyx.org>
3270
3271         * factory.C (createInset): pass a
3272         Buffer const * parameter to InsetExternalMailer's string2params.
3273
3274 2003-07-22  John Levon  <levon@movementarian.org>
3275
3276         * Thesaurus.h: include the right aiksaurus header
3277
3278 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3279
3280         * MenuBackend.C (expand): check menu shortcuts unconditionally
3281
3282 2003-07-21  Angus Leeming  <leeming@lyx.org>
3283
3284         * factory.C (createInset): pass a
3285         buffer_path parameter to InsetGraphicsMailer's string2params.
3286
3287 2003-07-21  Angus Leeming  <leeming@lyx.org>
3288
3289         * BufferView_pimpl.C (buffer):
3290         * buffer.C (d-tor):
3291         * lyx_main.C (LyX):
3292         * lyxfunc.C (dispatch):
3293         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3294         rather than the grfx shortcut.
3295
3296 2003-07-21  André Pönitz  <poenitz@gmx.net>
3297
3298         * rowpainter.C: remove unused variables
3299
3300         * tabular_funcs.C:
3301         * tabular_funcs.h: move to tabular.C
3302         * Makefile.am: adjust
3303
3304         * tabular.[Ch]: basic optical cleaning
3305
3306         * author.h: pass references, not values
3307
3308 2003-07-18  André Pönitz  <poenitz@gmx.net>
3309
3310         * lyxtext.h:
3311         * metricsinfo.C:
3312         * metricsinfo.h:
3313         * rowpainter.C:
3314         * text.C:
3315         * text2.C:
3316         * text3.C: two-phase drawing for InsetText and InsetTabular
3317         some float -> int changes.
3318
3319 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * lyx_main.C: fix the fix
3322
3323 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3324
3325         * lyx_main.C: fix a crash in batch mode if no files specified
3326         * converter.C: ws
3327
3328 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * format.[Ch] (papersize): moved to BufferParams
3331         * converter.[Ch] (dvips_options): moved to BufferParams
3332         (dvipdfm_options): moved to anon namespace
3333         * bufferparams.[Ch]: added above functions.
3334
3335 2003-07-17  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxtext.h:
3338         * rowpainter.C:
3339         * text2.C: don't call inset->update() anymore
3340
3341         * metricsinfo.[Ch]: add convenience constructor
3342
3343 2003-07-16  André Pönitz  <poenitz@gmx.net>
3344
3345         * lyxcursor.[Ch]:
3346         * lyxfunc.[Ch]:
3347         * text.C:
3348         * text2.C: replace the LyXCursor::irow_ member with
3349          on-demand computation of the value
3350
3351 2003-07-16  John Levon  <levon@movementarian.org>
3352
3353         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3354
3355 2003-07-15  André Pönitz  <poenitz@gmx.net>
3356
3357         * text.C:
3358         * text2.C: remove no more needed refresh_row
3359
3360 2003-07-15  André Pönitz  <poenitz@gmx.net>
3361
3362         * lyxtext.h:
3363         * rowpainter.C:
3364         * text2.C:
3365         * text3.C: refresh_status tristate -> need_update bool
3366
3367 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3368
3369         * lyxtext.h (init): remove reinit argument (act as if always true)
3370         * text2.C: adjust to that
3371
3372 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3373
3374         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3375         * text3.C: use it to delete selections in some cases
3376         (bugs 441, 673, 702, 954).
3377
3378 2003-07-14  André Pönitz  <poenitz@gmx.net>
3379
3380         * rowpainter.[Ch]: reduce interface
3381
3382 2003-07-14  André Pönitz  <poenitz@gmx.net>
3383
3384         * BufferView_pimpl.C:
3385         * text2.C: adjust after removing unused BufferView * argument
3386
3387 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text2.C (init): fix a crash fired on resize
3390
3391 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * buffer.[Ch]: added new closing signal
3394         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3395         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3396         BufferView::Pimpl via the closing the signal
3397
3398 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * buffer.[Ch]: take out all bv-related from buffer
3401         * BufferView.C:
3402         * BufferView_pimpl.[Ch]: connect to new signals
3403         * CutAndPaste.C: removed useless asserts
3404         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3405         * lyxvc.[Ch]:
3406         * vc-backend.[Ch]:
3407         * lyxfunc.C: moved view-related funciontality from vc here
3408         * paragraph.C: removed outdated comments
3409         * text.C: ws
3410
3411 2003-07-10  André Pönitz  <poenitz@gmx.net>
3412
3413         * BufferView_pimpl.C:
3414         * tabular.h:
3415         * tabular_funcs.C:
3416         * text.C:
3417         * text2.C: remove InsetText::InnerCache, clean up consequences
3418
3419 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3420
3421         * ispell.C: fix two typos in error messages
3422
3423 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3424
3425         * Extend Note inset to other forms of annotation like Comment
3426         and Greyedout. Right button click gives dialog.
3427
3428         Files modified or added (+):
3429
3430         * insetnote.[Ch]
3431         * FormNote.[Ch]      +
3432         * ControlNote.[Ch]   +
3433         * form_note.fd       +
3434         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3435         frontends/controllers
3436         * xforms/Dialogs.C
3437         * factory.C
3438
3439 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3440
3441         * aspell.C: add missing namespace lyx::support
3442
3443 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3444
3445         * BufferView.[Ch] (newFile): Add
3446         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3447         * LaTeX.[Ch] (message): added this signal and use it
3448         * buffer.[Ch] (busy, message): added these signals and use them
3449         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3450         * converter.C:
3451         * exporter.C:
3452         * format.C:
3453         * importer.C: use buffer signals instead of direct bv calling
3454         * lyx_cb.[Ch] (ShowMessage): removed
3455         * lyx_main.C:
3456         * lyxfunc.C:
3457         * paragraph_funcs.C:
3458         * text2.C: use buffer signals
3459
3460 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * introduce namespace lyx::graphics
3463
3464 2003-07-02  André Pönitz  <poenitz@gmx.net>
3465
3466         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3467
3468 2003-07-01  André Pönitz  <poenitz@gmx.net>
3469
3470         * text.C:
3471         * text2.C:
3472         * text3.C:
3473         * text_funcs.[Ch]:
3474         * textcursor.h:
3475         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3476           text*.C to text_func.C
3477
3478 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * introduce namespace lyx::support
3481
3482 2003-06-30  André Pönitz  <poenitz@gmx.net>
3483
3484         * Chktex.C:
3485         * funcrequest.C:
3486         * lyxtext.h:
3487         * text.C: re-enable --with-included-string
3488
3489 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * textcursor.C: add <config.h>
3492
3493         * text.C (getWord): remove const from word_location arg
3494
3495         * lyxvc.C (getLogFile): fix const type order
3496
3497         * lyxtext.h: remove const from word_location arg, add arg name
3498
3499         * lyxlayout.h: currect type on labeltype.
3500
3501         * importer.C: correct \file
3502
3503         * converter.C (intToFormat): use std:: on ret val, ws changes
3504
3505         * bufferlist.h: correct \file
3506
3507         * buffer.C (makeLinuxDocFile): fix const type order
3508         (makeDocBookFile): ditto
3509         (fillWithBibKeys): use std:: on stdlib args.
3510
3511         * CutAndPaste.C: fix authors.
3512         (availableSelections): use std:: on return vector
3513
3514 2003-06-27  André Pönitz  <poenitz@gmx.net>
3515
3516         * BufferView_pimpl.C:
3517         * bufferview_funcs.C:
3518         * lyxcursor.C:
3519         * lyxcursor.h:
3520         * lyxfunc.C:
3521         * lyxtext.h:
3522         * rowpainter.C:
3523         * text.C:
3524         * text2.C:
3525         * text3.C: remove LyXCursor::row_ member
3526
3527         * lyxtext.h:
3528         * text.C: rename fullRebreak() to partialRebreak() and implement
3529           a fullRebreak() that really bereks fully
3530
3531         * textcursor.h: new struct for cursor-related data
3532
3533 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * lyx_main.C (LyX): get full path of document loaded on the
3536         command line
3537
3538 2003-06-26  André Pönitz  <poenitz@gmx.net>
3539
3540         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3541           remove unused/broken operator>,<,>=.
3542
3543         *       text.C: remove only use of broken operator<= in an Assert().
3544
3545 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3548         moved errorlist_.clear to showErrorList
3549
3550 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * converter.C (scanLog, runLaTeX):
3553         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3554         move the bv->showErrorList call to the callers
3555         * lyxfunc.C: i.e. here...
3556         * text2.C: and here
3557         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3558         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3559         namespace, the second to...
3560         * buffer_funcs (BufferFormat, parseErrors): added
3561         * errorlist.C (ErrorList(TeXErrors const &)): removed
3562
3563 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3564
3565         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3566
3567 2003-06-24  "Garst R. Reese" <reese@isn.net>
3568
3569         * debug.C: fix typo
3570
3571 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3572
3573         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3574
3575         * version.C.in: change docversion to 1.4
3576
3577 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3578
3579         * buffer.C: fix a bug just introduced
3580
3581 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * buffer.[Ch]: added the parseError signal and use it, removed
3584         sgmlError
3585         * BufferView.[Ch] (addError): moved to ...
3586         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3587         to the Buffer::parseError signal to catch (guess what) parse errors
3588         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3589
3590 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3593         ability to create a buffer and to return an existing one from
3594         the list. Moved these functions to...
3595         * buffer_funcs.[Ch]: added
3596         * BufferView.[Ch] (loadLyXFile): added
3597         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3598         job removed from bufferlist::loadLyXFile.
3599         * buffer.C (setReadOnly): make it work without view
3600         (i.e added an if (users))
3601
3602 2003-06-19  Angus Leeming  <leeming@lyx.org>
3603
3604         * lfuns.h:
3605         * LyXAction.C (init):
3606         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3607         with LFUN_DIALOG_SHOW <name> <data>.
3608
3609 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3610
3611         * CutAndPaste.C (availableSelections): small compilation fix for
3612         ancient (gcc 2.9x) compilers
3613
3614 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3615
3616         * text3.C (cursorNext): add tmp var
3617
3618         * text2.C (updateCounters): for function calling out of for clause
3619         (replaceSelectionWithString): ditto
3620         (insertStringAsParagraphs): ditto
3621         (getColumnNearX): add tmp var
3622         (setCursorFromCoordinates): add tmp var
3623         (cursorDownParagraph): add tmp var
3624         (deleteEmptyParagraphMechanism): add tmp var
3625
3626         * text.C (insertChar): add tmp var
3627
3628         * rowpainter.C (paintDepthBar): add tmp var
3629
3630         * CutAndPaste.C (availableSelections): potentially check all
3631         paragraphs in a cut to fill the shown strings.
3632
3633 2003-06-18  André Pönitz  <poenitz@gmx.net>
3634
3635         * kbmap.[Ch]: use vector<> instead of list<>
3636
3637 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3638
3639         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3640         pasteSelection with index
3641
3642         * text2.C (pasteSelection): modify, call pasteSelection with index
3643
3644         * paragraph.C (asString): reimplement version with no interval to
3645         call the one with interval.
3646
3647         * lyxtext.h: add index arg to pasteSelection
3648
3649         * MenuBackend.C (MenuItem): handle PasteRecent
3650         (Menu::read::Menutags): add md_pasterecent
3651         (read): handle it
3652         (expandPasteRecent): new function
3653         (expand): use it
3654
3655         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3656
3657         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3658         the limited stack
3659         (availableSelections): new function
3660
3661 2003-06-17  Angus Leeming  <leeming@lyx.org>
3662
3663         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3664
3665 2003-06-17  Angus Leeming  <leeming@lyx.org>
3666
3667         * lfuns.h:
3668         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3669
3670         * lyxfunc.C (dispatch): invoke it.
3671
3672 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3673
3674         * iterators.C (operator++, ParPosition): reintroduce some
3675         const_cast for the benefit of older compilers.
3676
3677 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3678
3679         * text3.C (dispatch): do not modify clipboard when doing
3680         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3681         LFUN_DELETE_SKIP on a selection selection
3682
3683 2003-06-16  André Pönitz  <poenitz@gmx.net>
3684
3685         * BufferView.C:
3686         * buffer.C:
3687         * buffer.h:
3688         * paragraph.C:
3689         * tabular.[Ch]: IU of clone() and getLabelList();
3690
3691 2003-06-13  André Pönitz  <poenitz@gmx.net>
3692
3693         * tabular.h: compactification
3694
3695 2003-06-12  André Pönitz  <poenitz@gmx.net>
3696
3697         * tabular.C:
3698         * tabular.h:
3699         * tabular_funcs.h: some renaming plus whitespace
3700
3701 2003-06-12  André Pönitz  <poenitz@gmx.net>
3702
3703         * BufferView.C:
3704         * BufferView_pimpl.C:
3705         * CutAndPaste.C:
3706         * buffer.C:
3707         * iterators.[Ch]:
3708         * lyxfunc.C:
3709         * text.C:
3710         * toc.C: Return a Paragraph & for ParIterator::operator*()
3711
3712 2003-06-11  John Levon  <levon@movementarian.org>
3713
3714         * lyx_main.C:
3715         * ToolbarBackend.h:
3716         * ToolbarBackend.C: add "Toolbars" section and
3717         put the flags there
3718
3719 2003-06-10  Angus Leeming  <leeming@lyx.org>
3720
3721         * lfuns.h:
3722         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3723
3724         * lyxfunc.C (dispatch): invoke it.
3725
3726 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * main.C: protect <ios> with HAVE_IOS
3729         (main): protect sync_with_stdio with HAVE_IOS
3730
3731 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3732
3733         * text2.C (cutSelection): adjust
3734         (pasteSelection): adjust
3735
3736         * messages.C: handle get of empty string
3737
3738         * main.C (main): use sync_with_stdio(false)
3739
3740         * lyxfunc.C (dispatch): adjust
3741
3742         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3743         (WriteAs): remove unneeded BufferView arg.
3744
3745         * bufferparams.h: use correct types on papersize, papersize2 and
3746         paperpackage.
3747
3748         * bufferparams.C (readToken): adjust for type
3749         (writeLaTeX): add missing cases to switch.
3750
3751         * bufferlist.C (quitWriteBuffer): adjust
3752         (close): adjust
3753
3754         * buffer.C (asciiParagraph): remove some commented code.
3755
3756         * CutAndPaste.C: remove current_view extern variable.
3757         (cutSelection): add BufferParams arg.
3758         (eraseSelection): add BufferParams arg.
3759         (pasteSelection): add Buffer const & arg
3760
3761 2003-06-07  John Levon  <levon@movementarian.org>
3762
3763         * buffer.C:
3764         * paragraph_funcs.C:
3765         * paragraph_pimpl.C:
3766         * text.C:
3767         * text2.C:
3768         * paragraph.h:
3769         * paragraph.C: allow InsetERT to freely space lines,
3770         and some consolidation of code
3771
3772 2003-06-06  José Matos  <jamatos@fep.up.pt>
3773
3774         * buffer.C (makeDocBookFile): fix bug #821
3775
3776 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3779
3780 2003-06-04  Angus Leeming  <leeming@lyx.org>
3781
3782         * buffer.C: bump format to 224.
3783
3784 2003-06-05  André Pönitz  <poenitz@gmx.net>
3785
3786         * text2.C (redoParagraphs): remove two const_cast<>
3787
3788 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3789
3790         * ParagraphList.h: remove last remnants of NO_STD_LIST
3791
3792 2003-06-03  Angus Leeming  <leeming@lyx.org>
3793
3794         * factory.C (createInset): small change to the way InsetExternal's params
3795         are set.
3796
3797 2003-06-04  André Pönitz  <poenitz@gmx.net>
3798
3799         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3800
3801         * paragraph_pimpl.h:
3802         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3803
3804         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3805
3806         * undo_funcs.C: make some simple cases of undo work again
3807
3808 2003-06-03  John Levon  <levon@movementarian.org>
3809
3810         * ispell.C: HPUX doesn't have sys/select.h
3811         (from Albert Chin)
3812
3813 2003-06-03  John Levon  <levon@movementarian.org>
3814
3815         * CutAndPaste.C: update tabular and include inset
3816         buffer references
3817
3818         * buffer.h:
3819         * paragraph.h:
3820         * paragraph.C: remove owningBuffer(), don't pass Buffer
3821         to clone()
3822
3823         * factory.C: insetGraphicsParams changed
3824
3825 2003-06-02  John Levon  <levon@movementarian.org>
3826
3827         * LyXAction.C:
3828         * factory.C:
3829         * lfuns.h:
3830         * lyxfunc.C:
3831         * text3.C: remove insetparent
3832
3833 2003-06-02  John Levon  <levon@movementarian.org>
3834
3835         * buffer.h:
3836         * buffer.C: fix inset_iterator.end(), move out of line
3837         (bug 1149)
3838
3839 2003-06-01  John Levon  <levon@movementarian.org>
3840
3841         * text3.C: use a proper cut/paste when doing inset
3842         insert (from Jürgen Spitzmüller)
3843
3844 2003-06-01  John Levon  <levon@movementarian.org>
3845
3846         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3847
3848 2003-05-30  André Pönitz  <poenitz@gmx.net>
3849
3850         * rowpainter.C: unify second drawing phase
3851
3852 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * trans_mgr.C: remove one case of current_view
3855
3856         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3857
3858         * paragraph_funcs.h: remove paragraph.h include
3859
3860         * paragraph.h: delete NO_STD_LIST stuff
3861
3862         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3863
3864         * buffer.h: remove paragraph.h include
3865
3866         * ParagraphList.C: delete file
3867
3868         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3869
3870         * toc.C (getTocList): adjust
3871
3872         * paragraph_pimpl.C (validate): adjust
3873
3874         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3875
3876         * paragraph.C (Paragraph): adjust
3877         (getPositionOfInset): use const_iterator, adjust
3878         (bibitem): use const_iterator, adjust
3879         (setInsetOwner): adjust
3880
3881         * iterators.C (operator++): adjust
3882
3883         * InsetList.[Ch]: Replace selfmade iterator with standard
3884         vector::iterator also introduce const_iterator. Remove getPos,
3885         getInset and setInset from InsetTable. Adjust accordingly.
3886
3887         * BufferView.C (lockInset): adjust
3888         (ChangeInsets): adjust
3889
3890         * tabular.[Ch]: delete commented same_id functions
3891
3892 2003-05-28  John Levon  <levon@movementarian.org>
3893
3894         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3895
3896 2003-05-28  André Pönitz  <poenitz@gmx.net>
3897
3898         * metricsinfo.[Ch]: remove 'fullredraw' member
3899
3900 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3901
3902         * lyxtextclass.C (operator): remove caching.
3903
3904 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * text3.C: adjust
3907
3908         * text2.C (cursorBottom): adjust
3909         (setCounter): use ParagraphList::find, adjust
3910
3911         * text.C (workWidth): use ParagraphList::find, adjust
3912
3913         * lyxcursor.C (LyXCursor): adjust
3914
3915         * buffer.C (inset_iterator): adjust
3916
3917         * ParagraphList.h: make iterator(value_type) private, make
3918         ParagraphList a friend of iterator.
3919
3920         * ParagraphList.C (find): new function
3921
3922         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3923
3924 2003-05-27  André Pönitz  <poenitz@gmx.net>
3925
3926         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3927
3928 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3929
3930         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3931
3932 2003-05-26  John Levon  <levon@movementarian.org>
3933
3934         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3935
3936 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * remove same_id from function signatures, adjust.
3939
3940 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3943
3944         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3945
3946         * paragraph.C (Paragraph): get rid of same_ids parameter
3947
3948         * ParagraphList.C (insert): adjust
3949         (push_back): adjust
3950
3951 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * paragraph_funcs.C (breakParagraph): adjust
3954         (breakParagraphConservative): adjust
3955
3956         * buffer.C (readParagraph): adjust
3957
3958         * ParagraphList.C (insert): take a reference instead of a pointer
3959         (insert): adjust
3960
3961         * paragraph.[Ch] (id): new function
3962
3963         * bufferlist.C (newFile): adjust
3964
3965         * ParagraphList.C (ParagraphList): adjust
3966         (assign): adjust
3967         (push_back): take a reference instead of a pointer.
3968
3969         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3970
3971         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3972         instead.
3973
3974         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3975         set else use old code.
3976
3977         * ParagraphList.C: remove all NO_NEXT code and only compile this
3978         code of NO_STD_LIST is set.
3979
3980 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3981
3982         * BufferView_pimpl.C:
3983         * TextCache.C:
3984         * TextCache.h:
3985         * bufferlist.C:
3986         * errorlist.h:
3987         * format.C:
3988         * format.h:
3989         * graph.C:
3990         * lyxfunc.C:
3991         * lyxrc.C:
3992         * graphics/GraphicsConverter.C:
3993         * graphics/PreviewLoader.C: header adjustment
3994
3995 2003-05-23  Angus Leeming  <leeming@lyx.org>
3996
3997         * LaTeXFeatures.[Ch] (useBabel): new method.
3998         * bufferparams.C (writeLaTeX): use it.
3999
4000 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * ParagraphList.h (set): remove unused function.
4003
4004 2003-05-23  André Pönitz  <poenitz@gmx.net>
4005
4006         * BufferView.C:
4007         * BufferView_pimpl.C:
4008         * buffer.C:
4009         * buffer.h:
4010         * lyxfunc.C:
4011         * undo_funcs.C: setUndo reworked
4012
4013         * iterators.[Ch]: add access to topmost ParagraphList
4014
4015         * lyxtext.[Ch] (workWidth): add a const
4016
4017 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * texrow.[Ch] (increasePos): remove function
4020         * exporter.C (export): removed unused var and outdated comment
4021
4022 2003-05-23  Angus Leeming  <leeming@lyx.org>
4023
4024         * latexrunparams.h: rename fragile as moving_arg.
4025         * paragraph.C (simpleTeXOnePar): ditto.
4026         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4027
4028 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4031         (createUndo): ditto
4032         (textUndoOrRedo): comment out a currently unused var.
4033
4034         * paragraph.h (NO_NEXT): enable NO_NEXT
4035
4036         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4037
4038         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4039
4040         * exporter.C (Export): adjust for removeAutoInsets removal.
4041
4042         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4043
4044         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4045
4046         * BufferView.[Ch] (removeAutoInsets): delete function
4047
4048 2003-05-22  Angus Leeming  <leeming@lyx.org>
4049
4050         * latexrunparams.h: add a free_spacing variable.
4051
4052         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4053         to pass moving_arg, as the data is stored in runparams.fragile.
4054
4055         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4056         to Inset::latexOptional or to simpleTeXOnePar.
4057
4058         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4059         free_spacing arg to Inset::latexOptional.
4060
4061         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4062         free_spacing arg.
4063
4064 2003-05-22  Angus Leeming  <leeming@lyx.org>
4065
4066         * latexrunparams.h: add fragile and use_babel variables.
4067
4068         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4069         * buffer.C (makeLaTeXFile): store this returned value in
4070         runparams.use_babel, thus passing it to the inset::latex methods.
4071
4072         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4073         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4074
4075         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4076         longer has a fragile arg, as it is stored in runparams.fragile.
4077
4078         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4079         moving_arg parameter as the data is stored in runparams.fragile.
4080
4081         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4082         a fragile parameter as the data is stored in runparams.fragile.
4083
4084 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4087
4088 2003-05-22  Angus Leeming  <leeming@lyx.org>
4089
4090         * latexrunparams.h: add a 'bool nice' which defaults to false.
4091
4092         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4093         now encapsulated within runparams.
4094
4095         * bufferlist.C (updateIncludedTeXfiles):
4096         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4097
4098 2003-05-22  Angus Leeming  <leeming@lyx.org>
4099
4100         * latexrunparams.h: new file containing struct LatexRunParams.
4101         * Makefile.am: add new file.
4102
4103         * LaTeX.[Ch] (c-tor, run):
4104         * buffer.[Ch] (makeLaTeXFile):
4105         * bufferlist.[Ch] (updateIncludedTeXfiles):
4106         * converter.C (convert, scanLog):
4107         * converter.[Ch] (runLaTeX):
4108         * exporter.C (Export):
4109         * paragraph.[Ch] (simpleTeXOnePar):
4110         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4111         * paragraph_funcs.[Ch] (latexParagraphs):
4112         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4113         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4114         pass around a LatexRunParams parameter.
4115
4116 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * paragraph.[Ch]: remove unused constructor
4119
4120         * ParagraphList.C (erase): new function, taking two iterators
4121
4122 2003-05-22  André Pönitz  <poenitz@gmx.net>
4123
4124         * undo_funcs.C: remove duplicated code
4125
4126         * iterator.[Ch]: operator=
4127
4128 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * tabular.C (SetMultiColumn): ws changes
4131
4132         * rowpainter.C (paintFirst): get rid of a ->previous
4133
4134         * lyx_cb.C (getPossibleLabel): parlist simplification
4135
4136         * BufferView.C (ChangeInsets): simplify slightly.
4137
4138 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4139
4140         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4141         * lfuns.h: new LFUN_SPACE
4142         * lyxfunc.C: protected space has a new lfun
4143         * paragraph_funcs.C: read new space insets
4144         * text3.C:
4145         * factory.C: handle new space insets
4146
4147 2003-05-22  André Pönitz  <poenitz@gmx.net>
4148
4149         * BufferView.C:
4150         * BufferView_pimpl.C:
4151         * buffer.[Ch]:
4152         * lyxfunc.C:
4153         * undo_funcs.C: return a ParIterator from getParFromID.
4154
4155         * iterators.[Ch]: add two const's
4156
4157 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * toc.C (getTocList): adjust
4160
4161         * iterators.[Ch]: rework for parlist
4162
4163         * buffer.C (par_iterator_begin): adjust
4164         (par_iterator_end): adjust
4165
4166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4167
4168         * BufferView.C (removeAutoInsets): adjust
4169         (ChangeInsets): adjust
4170
4171 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * text.C (top_y): fix bug 1110
4174
4175 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * errorlist.[Ch]: added
4178         * buffer.C:
4179         * BufferView.[Ch]:
4180         * BufferView_pimpl.C:
4181         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4182         instead
4183
4184 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4185
4186         * Makefile.am: ensure that lyx is relinked upon changes to the
4187         various "convenience" libs.
4188
4189 2003-05-20  Angus Leeming  <leeming@lyx.org>
4190
4191         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4192         files are compiled in alphabetical order again.
4193
4194         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4195
4196 2003-05-19  Angus Leeming  <leeming@lyx.org>
4197
4198         * gettext.[Ch]: remove "char const * _(char const *)".
4199
4200 2003-05-19  André Pönitz  <poenitz@gmx.net>
4201
4202         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4203
4204         * Makefile.am:
4205         * BufferView.C:
4206         * DepTable.h:
4207         * LaTeXFeatures.C:
4208         * buffer.C:
4209         * lyxfont.C:
4210         * lyxlex.h:
4211         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4212
4213 2003-05-19  André Pönitz  <poenitz@gmx.net>
4214
4215         * buffer.C:
4216         * lyxlayout.[Ch]:
4217         * lyxtextclass.[Ch]:
4218         * paragraph.C:
4219         * paragraph_funcs.[Ch]:
4220         * text2.C:
4221         * text3.C: more insetenv work
4222
4223 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * ParagraphParameters.C (params2string): small bug fixed
4226
4227 2003-05-16  André Pönitz  <poenitz@gmx.net>
4228
4229         * debug.C:
4230         * bufferview_funcs.C: patch from Kornel Benko to prevent
4231           crash when _(...) is called twice in a statement
4232
4233 2003-05-16  André Pönitz  <poenitz@gmx.net>
4234
4235         * BufferView.C:
4236         * lyxfunc.C:
4237         * text.C:
4238         * text2.C:
4239         * text3.C:
4240         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4241
4242 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4243
4244         * lyx_main.C (init): remove spurious static_cast
4245
4246 2003-05-14  André Pönitz  <poenitz@gmx.net>
4247
4248         * BufferView.C: fix format string
4249
4250 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * BufferView.[Ch] (insertErrors): removed
4253         * BufferView.[Ch] (showErrorList): added
4254         * buffer.C (runChkTeX):
4255         * converter.C (scanLog): call showErrorList instead of inserterrors
4256
4257 2003-05-13  André Pönitz  <poenitz@gmx.net>
4258
4259         * BufferView_pimpl.C:
4260         * buffer.C:
4261         * bufferview_func.C:
4262         * MenuBackend.C:
4263         * lyxfunc.C:
4264         * lyxrc.C:
4265         * tex-accent.C:
4266         * text3.C:
4267         * toc.C:
4268         * tabular_funcs.h: tostr() from its own header
4269
4270         * ParagraphParameters.C:
4271         * ToolbarBackend.C:
4272         * bufferparams.C:
4273         * format.C:
4274         * lyxlex_pimpl.C:
4275         * text3.C: STRCONV()
4276
4277 2003-05-12  André Pönitz  <poenitz@gmx.net>
4278
4279         * BufferView.C:
4280         * BufferView_pimpl.C:
4281         * CutAndPaste.C:
4282         * LaTeX.C:
4283         * LaTeXFeatures.C:
4284         * ParagraphParameters.C:
4285         * buffer.C:
4286         * bufferlist.C:
4287         * bufferparams.C:
4288         * bufferview_funcs.C:
4289         * converter.C:
4290         * counters.C:
4291         * debug.C:
4292         * exporter.C:
4293         * format.C:
4294         * importer.C:
4295         * lyx_cb.C:
4296         * lyx_main.C:
4297         * lyxfont.C:
4298         * lyxfunc.C:
4299         * lyxvc.C:
4300         * paragraph.C:
4301         * paragraph_funcs.C:
4302         * tabular.C:
4303         * tabular_funcs.C:
4304         * text2.C:
4305         * text3.C:  boost::format -> bformat  all over the place
4306
4307
4308 2003-05-09  André Pönitz  <poenitz@gmx.net>
4309
4310         * LColor.[Ch]: Pimpl the #include <map> away
4311
4312 2003-05-09  John Levon  <levon@movementarian.org>
4313
4314         * bufferlist.C: never remove emergency saves
4315
4316 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * Makefile.am: better lib building
4319
4320 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4323         instead.
4324         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4325         (simpleTeXSpecialChars): adjust
4326         (simpleTeXSpecialChars): adjust
4327         * paragraph.C (simpleTeXOnePar): adjust
4328         * buffer.C (makeLaTeXFile): adjust
4329
4330         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4331
4332         * text2.C (changeDepth): parlist cleanup
4333         (getColumnNearX): ditto
4334
4335         * rowpainter.C (getLabelFont): parlist cleanup
4336
4337         * bufferlist.C (newFile): parlist cleanup
4338
4339         * CutAndPaste.C (eraseSelection): parlist cleanup
4340
4341         * BufferView_pimpl.C (trackChanges): parlist cleanup
4342         (dispatch): ditto
4343
4344         * BufferView.C (lockInset): parlist cleanup.
4345         (ChangeInsets): ditto
4346
4347 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * CutAndPaste.h: Update file header.
4350
4351         * CutAndPaste.C: Update file header.
4352         Store the parts cut out of the Document in a limited_stack.
4353         (copySelection): adjust
4354         (pasteSelection): new function, takes the index in the limited stack.
4355         (nrOfParagraphs): adjust
4356         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4357         simplify error inset insertion.
4358         (checkPastePossible): adjust
4359
4360 2003-05-06  John Levon  <levon@movementarian.org>
4361
4362         * text2.C: don't cast wrap inset to float
4363
4364 2003-05-05  André Pönitz  <poenitz@gmx.net>
4365
4366         * iterator.C:
4367         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4368
4369         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4370           few naked Paragraph *.
4371
4372 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4373
4374         * bufferparams.C: Output warning if a document with missing
4375         TeX document class is loaded
4376         * exporter.C: Disable TeX exports if the document class is missing
4377         * lyxtextclass.C:
4378         * lyxtextclass.h:
4379         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4380         isTeXClassAvailable()
4381
4382 2003-05-03  John Levon  <levon@movementarian.org>
4383
4384         * BufferView.h:
4385         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4386         explicit cursor show/hide
4387
4388         * BufferView_pimpl.h:
4389         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4390         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4391
4392         * lyxfunc.C: hide cursor before dispatching.
4393
4394         * lyx_cb.C:
4395         * lyxfind.C:
4396         * text.C:
4397         * text3.C: remove explicit cursor hides
4398
4399 2003-05-02  André Pönitz  <poenitz@gmx.net>
4400
4401         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4402
4403         * undo_funcs.C:
4404         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4405           linked lists
4406
4407         * text2.C: tiny whitespace
4408
4409 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * undo_funcs.C: almost only ws changes.
4412
4413         * ParagraphList.C (splice): just return if pl is empty.
4414
4415 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * ParagraphList.C (splice): new function.
4418
4419         * CutAndPaste.C (pasteSelection): use it
4420
4421 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * CutAndPaste.C (pasteSelection): remove the last next and
4424         previous from this file.
4425
4426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * CutAndPaste.C (pasteSelection): more clean up, user proper
4429         ParagraphList functions for pasteing.
4430
4431         * ParagraphList.C (insert): new function, three arg insert
4432
4433 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * ParagraphList.C (insert): new function, three arg insert
4436
4437         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4438         not on paragraphs.
4439
4440 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4443
4444 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4445
4446         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4447
4448 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4451         (copySelection): clean up a bit.
4452         (pasteSelection): use make_pair
4453
4454         * ParagraphList.C (ParagraphList): implement copy constructor
4455         (operator=): implement, base on copy constructor.
4456         (assign): new func
4457
4458         * paragraph.C (erase): return a bool
4459
4460         * paragraph_pimpl.C (erasePos): remove function, move contents...
4461         (erase): ... here. Return a bool.
4462         (erase): call erase instead of erasePos.
4463
4464 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4465
4466         * ParagraphList.h: define PitPosPair
4467         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4468         ParagraphList, fix a bug on pasting multiple pars
4469         * text2.C: change interface to C&P
4470
4471 2003-04-30  André Pönitz  <poenitz@gmx.net>
4472
4473         * undo_func.C: revert part of yesterday's patch 2
4474
4475 2003-04-30  John Levon  <levon@movementarian.org>
4476
4477         * LColor.C: s/tabular/table/
4478
4479 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * text3.C (dispatch): do not convert iterator -> pointer
4482         * undo_funcs.C (setCursorParUndo): ditto
4483         * text_funcs.C (transposeChars): ditto
4484
4485         * text2.C (setLayout): ws changes only
4486
4487         * text.C (breakParagraph): do not convert iterator -> pointer
4488         (insertChar): ditto
4489         (acceptChange): ditto
4490         (rejectChange): ditto
4491         (changeCase): ditto
4492         (Delete): ditto
4493         (backspace): ditto
4494
4495         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4496         pointer
4497
4498 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4499
4500         * text3.C (gotoInset): YABG (yet another bad getChar)
4501
4502 2003-04-29  André Pönitz  <poenitz@gmx.net>
4503
4504         * paragraph.h: make operator= private unimplemented as long as
4505           it is unusable
4506
4507         * ParagraphList.C: whitespace
4508
4509         * paragraph.[Ch]:
4510         * paragraph_pimpl.[Ch]:
4511         * paragraph_funcs.C:
4512         * CutAndPaste.C:
4513         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4514
4515         * text2.C:
4516           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4517
4518 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4519
4520         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4521         * paragraph.[Ch] (erase):
4522         * paragraph_pimpl.[Ch] (erase): change return type and value
4523         * text2.C (cutSelection): some rework
4524
4525 2003-04-28  John Levon  <levon@movementarian.org>
4526
4527         * bufferlist.C: changes for unsaved changes dialog
4528
4529 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * bufferlist.C (newFile): set language (messages_) for new
4532         documents also.
4533
4534         * buffer.C (readFile): ws changes only.
4535
4536 2003-04-28  André Pönitz  <poenitz@gmx.net>
4537
4538         * undo_funcs.C:
4539         * lyxfunc.C:
4540         * buffer.[Ch]:
4541         * BufferView_pimpl.C:
4542         * BufferView.C: getParFromID related ParagraphList::iterator changes
4543
4544 2003-04-28  André Pönitz  <poenitz@gmx.net>
4545
4546         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4547           Changes
4548
4549 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * messages.C: remove one more localedir class variable.
4552
4553 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * messages.C (getLocaleDir): singleton generation function
4556         (Pimpl): use it.
4557         (Messages): add a default constructor.
4558
4559         * main.C (main): do not setup localedir here, do not call
4560         gettext_init.
4561
4562         * gettext.C (_): use it.
4563         (gettext_init): delete funciton
4564
4565 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * gettext.C (getLyXMessages): new singleton generating function.
4568
4569         * buffer.C (updateDocLang): adjust
4570
4571         * Makefile.am (messages.o): add target
4572         (main.o): remove target
4573
4574 2003-04-27  John Levon  <levon@movementarian.org>
4575
4576         * bufferlist.C:
4577         * lyx_cb.C:
4578         * lyxfunc.C:
4579         * lyxvc.C: specify cancel button in Alert::prompt
4580
4581 2003-04-26  John Levon  <levon@movementarian.org>
4582
4583         * text3.C:
4584         * lyxfunc.C:
4585         * lfuns.h:
4586         * LyXAction.C: add LFUN_INSET_SETTINGS
4587
4588         * lyxfunc.C: don't enable tabular-feature when there's
4589         just any locking inset
4590
4591 2003-04-26  John Levon  <levon@movementarian.org>
4592
4593         * bufferlist.C: re-add Cancel to buffer close question
4594
4595         * lyxfunc.C: fix import UI a bit
4596
4597 2003-04-25  John Levon  <levon@movementarian.org>
4598
4599         * gettext.C: remove the broken asserts for now
4600
4601 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * messages.C: make case where setlocale cannot comply work better.
4604
4605         * buffer.C (updateDocLang): new function
4606         (changeLanguage): use it
4607         (readFile): use it
4608
4609         * text2.C (setCounter): use B_ a bit.
4610
4611         * lyxlayout.C (Read): be sure to trim the label strings.
4612
4613         * messages.C (Messages): fix typo in comment
4614
4615         * buffer.C (readFile): set message_ after file is loaded.
4616         (makeDocBookFile): remove double return
4617         (changeLanguage): reset message_ upon language change.
4618         (B_): new func, use this to get translated buffer strings.
4619
4620         * main.C: add myself and Jean Marc as authors.
4621
4622 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * messages.[hC]: pimplify Messages, and three different pimpls to be
4625         used in different circumstances.
4626
4627         * gettext.[Ch]: change for use with new message code.
4628
4629 2003-04-24 André Pönitz <poenitz@gmx.net>
4630
4631         * factory.C: support for eqref
4632
4633 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * messages.[Ch]: add missing char
4636
4637         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4638
4639         * messages.[Ch]: New files
4640
4641 2003-04-18  John Levon  <levon@movementarian.org>
4642
4643         * BufferView.h:
4644         * BufferView.C:
4645         * BufferView_pimpl.C:
4646         * lfuns.h:
4647         * LyXAction.C:
4648         * lyxtext.h:
4649         * text2.C: remove layout-copy/paste (bug 778)
4650
4651 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4652
4653         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4654
4655 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4658         if they succeed. Act accordingly.
4659
4660 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text2.C (setCharFont): adjust
4663         (setCounter): adjust
4664         (insertStringAsLines): adjust
4665
4666         * text.C (leftMargin): adjust
4667         (setHeightOfRow): adjust
4668
4669         * rowpainter.C (paintFirst): adjust
4670         (paintLast): adjust
4671
4672         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4673         (outerHook): ditto
4674         (isFirstInSequence): ditto
4675         (getEndLabel): ditto
4676         (outerFont): adjust
4677
4678         * paragraph.C (getParLanguage): comment out some hard stuff.
4679
4680         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4681         (sgmlError): ditto
4682         (simpleDocBookOnePar): ditto
4683         (makeDocBookFile): use ParagraphList::iterator
4684
4685         * CutAndPaste.C (pasteSelection): adjust
4686
4687 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * text2.C (getFont): adjust
4690         (getLayoutFont): adjust
4691         (getLabelFont): adjust
4692
4693         * paragraph_funcs.C (TeXOnePar): adjust
4694
4695         * buffer.C (simpleLinuxDocOnePar): adjust
4696         (simpleDocBookOnePar): adjust
4697
4698         * CutAndPaste.C (pasteSelection): adjust
4699
4700         * BufferView.C (getEncoding): adjust
4701
4702         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4703
4704 2003-04-16  John Levon  <levon@movementarian.org>
4705
4706         * lyxfind.C: use parlist stuff for search/changes
4707
4708 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4711
4712         * text2.C (deleteEmptyParagraphMechanism): adjust
4713
4714         * text2.[Ch] (ownerParagraph): delete func (both of them
4715
4716 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4719
4720 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * ParagraphList.C: prepare for NO_NEXT
4723
4724 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * text2.C (getFont): adjust
4727         (getLayoutFont): adjust
4728         (getLabelFont): adjust
4729
4730         * paragraph.C (getFont): adjust
4731         (getLabelFont): adjust
4732         (getLayoutFont): adjust
4733
4734         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4735
4736 2003-04-15  John Levon  <levon@movementarian.org>
4737
4738         From Angus Leeming
4739
4740         * lyx_main.C: handle Include in .ui files
4741
4742 2003-04-15  John Levon  <levon@movementarian.org>
4743
4744         * MenuBackend.C: make the doc files length shorter
4745
4746         * ToolbarBackend.h:
4747         * ToolbarBackend.C: handle toolbar placement flags,
4748         Minibuffer
4749
4750 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4753         adjust
4754
4755         * paragraph_funcs.C (TeXOnePar): adjust
4756
4757         * paragraph.C (getLabelFont): add outerfont arg, adjust
4758         (getLayoutFont): ditto
4759         (simpleTeXOnePar): adjust
4760
4761         * paragraph_pimpl.C (realizeFont): delete func
4762
4763 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4766         row argument, constify cur argument.
4767
4768 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * text2.C (getFont): adjust
4771         (getLayoutFont): adjust
4772         (getLabelFont): adjust
4773
4774         * paragraph_funcs.C (TeXOnePar): adjust
4775         (outerFont): new func...
4776         (realizeFont): ...moved out from here, changed this to facilitate
4777         transition
4778
4779         * paragraph.C (getFont): take outerfont as arg, adjust
4780         (simpleTeXOnePar): add outerfont arg, adjust
4781
4782         * buffer.C (simpleLinuxDocOnePar): adjust
4783         (simpleDocBookOnePar): adjust
4784
4785         * CutAndPaste.C (pasteSelection): adjust
4786
4787         * BufferView.C (getEncoding): adjust
4788
4789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * text2.C (setCharFont): adjust
4792         (setCounter): adjust
4793
4794         * text.C (leftMargin): adjust
4795         (setHeightOfRow): adjust
4796
4797         * rowpainter.C (paintFirst): adjust
4798         (paintLast): adjust
4799
4800         * paragraph_pimpl.C (realizeFont): adjust
4801
4802         * paragraph.C (isFirstInSequence): move from here...
4803         * paragraph_funcs.C (isFirstInSequence): ...to here
4804
4805         * paragraph.C (outerHook): move from here...
4806         * paragraph_funcs.C (outerHook): ...to here
4807
4808         * paragraph.C (depthHook): move from here...
4809         * paragraph_funcs.C (depthHook): ...to here
4810
4811         * paragraph.C (getEndLabel): move from here...
4812         * paragraph_funcs.C (getEndLabel): ...to here
4813
4814         * text2.C (realizeFont): move from here...
4815         * paragraph_funcs.C (realizeFont): ...to here
4816
4817 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4820
4821 2003-04-14  Angus Leeming  <leeming@lyx.org>
4822
4823         * LColor.[Ch]: scrap LColor mathcursor.
4824
4825 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * lyxlex.[Ch] (text): delete function
4828         * trans.C (Load): adjust
4829         * paragraph_funcs.C (readParToken): adjust
4830
4831 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4834         vector<char> instead of a char[].
4835
4836         * lyxlex_pimpl.C (getString): adjust
4837         (next): adjust
4838         (lex): use getString
4839         (eatLine): adjust
4840         (nextToken): adjust
4841
4842         * lyxlex.C (text): use pimpl_->getString()
4843         (getBool): ditto
4844         (findToken): ditto
4845
4846 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4849         (makeFontEntriesLayoutSpecific): temp var for par.size()
4850         (setLayout): temp var for ownerParagraphs().end()
4851         (fullRebreak): temp var for rows().end()
4852         (selectionAsString): temp var for boost::next(startpit), realize
4853         that the while really is a regular for loop.
4854         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4855         setCursor in one place.
4856         (setParagraph): temp vr for ownerParagraphs().end()
4857         (updateCounters): make the while loop a for loop
4858         (cutSelection): temp var for ownerParagraphs().end()
4859         (updateInset): make the do {} while() a regular for loop
4860         (getCursorX): use temp vars
4861         (setCurrentFont): use temp vars
4862         (getColumnNearX): use temp vars
4863
4864 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * text.C (transformChar): use temp var for getChar
4867         (computeBidiTables): use temp var for row->par()
4868         (fill): move temp vars for row->par() and pit->layout() earlier in
4869         the function.
4870         (labelFill): use temp var for row->par()
4871         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4872         asc and desc, realize that pit never changes and that firstpit is
4873         just a duplicate and not needed. Exchange rit->par() with pit in a
4874         lot of places.
4875         (breakAgain): use a temp var for boost::next(rit)
4876         (breakAgainOneRow): ditto
4877         (breakParagraph): use a temp var for rows().begin()
4878         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4879         (cursorRightOneWord): use temp var for cursor.par() and
4880         cursor.pos(), remove usage of tmpcursor.
4881         (cursorLeftOneWord): use temp var for cursor.par() and
4882         cursor.pos() only set cur at end of function.
4883
4884 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * text.C, text2.C: exchange all usage of Paragraph::next with
4887         boost::next(ParagraphList::iterator)
4888
4889         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4890
4891         * text2.C (cursorTop): simplify implementation
4892         (cursorBottom): ditto
4893         (setParagraph): use ParagraphList::iterator
4894         (setCurrentFont): adjust
4895         (getColumnNearX): adjust
4896         (cursorRight): adjust
4897         (cursorLeft): remove usage of Paragraph::previous
4898         (cursorUpParagraph): ditto
4899         (deleteEmptyParagraphMechanism): slight cleanup
4900
4901         * text.C (isBoundary): take a Paragraph const & instead of a
4902         pointer as arg.
4903         (addressBreakPoint): ditto
4904         (leftMargin): remove usage of Paragraph::previous.
4905         (setHeightOfRow): ditto
4906         (cursorLeftOneWord): ditto
4907         (selectNextWordToSpellcheck): ditto
4908         (Delete): ditto
4909         (backspace): ditto
4910         (breakParagraph): remove one usage of Paragraph::next
4911         (redoParagraph): ditto
4912         (acceptChange): ditto
4913         (insertChar): adjust
4914         (rowBreakPoint): adjust
4915
4916         * bufferview_funcs.C (toggleAndShow): adjust
4917
4918 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4921         methods to access it.
4922         * lyxtext.h:
4923         * text.C: Added updateRowPositions to compute all row positions.
4924         Make top_y and getRowNearY() to use the cached y position
4925
4926 2003-04-11  John Levon  <levon@movementarian.org>
4927
4928         * text.C (rowBreakPoint): reintroduce the labelEnd
4929         checks, code copied from the row fill stuff. Deep voodoo.
4930
4931         * text.C (fill): add a comment and debugging for the
4932         next poor soul.
4933
4934 2003-04-11  John Levon  <levon@movementarian.org>
4935
4936         * text.C: make sure fullrow insets get wrapped to the next line,
4937         even when they're in a manual label
4938
4939 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * text2.C (insertParagraph): make it take ParagraphList::iterator
4942         as arg.
4943         (setLayout): make it return ParagraphList::iterator
4944         (redoParagraphs): ditto
4945         (setCounter): ditto
4946         (checkParagraph): ditto
4947
4948         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4949
4950         * text2.C: adjust several funcs.
4951         (realizeFont): take a ParagraphList::iterator as arg.
4952         (getLayoutFont): ditto
4953         (getLabelFont): ditto
4954         (setCharFont): ditto
4955
4956         * text.C: adjust several funcs.
4957
4958 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * text.C (selectNextWordToSpellcheck): don't accidentally
4961         skip insets
4962
4963 2003-04-10  John Levon  <levon@movementarian.org>
4964
4965         * ToolbarBackend.C (getIcon): special handling for
4966         LFUN_MATH_DELIM
4967
4968 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * text2.C (cursorRight): a getChar assert fixed
4971
4972 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * text2.C (getFont): change to take a ParagraphList::iterator
4975         instead of Paragraph*
4976         Adjust several functions.
4977
4978         * text.C (transformChar): change to take a ParagraphList::iterator
4979         instead of Paragraph*
4980         (singleWidth): ditto
4981         Adjust several functions.
4982
4983         * rowpainter.C: adjust several functions
4984         * rowpainter.h:store a ParagraphList::iterator and not a
4985         Paragraph&.
4986
4987
4988 2003-04-09  John Levon  <levon@movementarian.org>
4989
4990         * lyxfunc.C:
4991         * lfuns.h:
4992         * LyXAction.h:
4993         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4994         and the "help" bits as well
4995
4996 2003-04-09  John Levon  <levon@movementarian.org>
4997
4998         * ToolbarBackend.h:
4999         * ToolbarBackend.C: allow multiple toolbars
5000
5001 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * undo_funcs.C (setCursorParUndo): adjust
5004
5005         * text_funcs.C (transposeChars): adjust
5006
5007         * text3.C (gotoNextInset): adjust
5008         (dispatch): adjust
5009
5010         * text2.C (setLayout): adjust
5011         (changeDepth): adjust
5012         (setFont): adjust
5013         (redoParagraphs): adjust
5014         (selectionAsString): adjust
5015         (setParagraph): adjust
5016         (insertInset): adjust
5017         (cutSelection): adjust
5018         (copySelection): adjust
5019         (pasteSelection): adjust
5020         (insertStringAsLines): adjust
5021         (updateInset): adjust
5022         (setCursor): change to take a ParagraphList::iterator parameter
5023         (setCursorIntern): change to take a ParagraphList::iterator parameter
5024         (setCurrentFont): adjust
5025         (cursorLeft): adjust
5026         (cursorRight): adjust
5027         (deleteEmptyParagraphMechanism): adjust
5028
5029         * text.C (breakParagraph): adjust
5030         (insertChar): adjust
5031         (acceptChange): adjust
5032         (rejectChange): adjust
5033         (selectNextWordToSpellcheck): adjust
5034         (changeCase): adjust
5035         (Delete): adjust
5036         (backspace): adjust
5037
5038         * lyxfind.C (SearchForward): adjust
5039         (SearchBackward): adjust
5040         (nextChange): adjust
5041
5042         * lyxcursor.C (par): adjust
5043
5044         * lyxcursor.h: store a ParagraphList::iterator instead of a
5045         Paragraph*
5046
5047         * lyx_cb.C (getPossibleLabel): adjust
5048
5049         * bufferview_funcs.C (toggleAndShow): adjust
5050
5051         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5052         (dispatch): adjust
5053
5054         * BufferView.C (removeAutoInsets): adjust
5055         (lockedInsetStoreUndo): adjust
5056
5057 2003-04-09  John Levon  <levon@movementarian.org>
5058
5059         * ToolbarBackend.C: try icon without argument
5060         if with argument fails
5061
5062 2003-04-08  John Levon  <levon@movementarian.org>
5063
5064         * ToolbarBackend.h:
5065         * ToolbarBackend.C: add getIcon(), handle tooltip,
5066         and change from "Icon" to "Item".
5067
5068 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * BufferView.C (lockInset): another bad getchar crunched
5071
5072 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5075         again)
5076
5077 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * lyxfind.C (searchForward, searchBackwards): bug 782
5080
5081 2003-04-07  John Levon  <levon@movementarian.org>
5082
5083         * paragraph.C: remove dead comment
5084
5085         * text.C: remove troublesome depth-fiddling code
5086         in leftMargin() and rightMargin() (bug 1017)
5087
5088         * text.C: fix breaking of rows in nested lists
5089         (bug 1004)
5090
5091         * text2.C (updateCounters): fix up depth values
5092         (bug 1013)
5093
5094 2003-04-07  John Levon  <levon@movementarian.org>
5095
5096         * BufferView_pimpl.C: clear message when doc finishes resizing,
5097         and after a mouse event
5098
5099         * lyxfunc.C: clear message after exiting inset
5100
5101 2003-04-07  John Levon  <levon@movementarian.org>
5102
5103         * bufferview_funcs.C: show math status not outside
5104         status in the statusbar
5105
5106 2003-04-07  John Levon  <levon@movementarian.org>
5107
5108         * lyxfunc.C: note status changed after a depth change
5109
5110 2003-04-04  Angus Leeming  <leeming@lyx.org>
5111
5112         * LaTeX.h: move AuxInfo operator==, != out of line.
5113         Remove LaTeX virtual destructor; nothing derives from it.
5114         Move operator()() out of public area and rename it startscript().
5115         Change protected for private.
5116
5117 2003-04-04  Angus Leeming  <leeming@lyx.org>
5118
5119         * lyxfunc.C:
5120         * text2.C: remove unneeded #includes.
5121
5122 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * text2.C (dEPM): fix the heigth of the next row
5125
5126 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * text.C: squashed an invalid getChar requester + some ws changes
5129
5130 2003-04-03  John Levon  <levon@movementarian.org>
5131
5132         * bufferview_funcs.h:
5133         * bufferview_funcs.C:
5134         * lyxfunc.C:
5135         * lyxtext.h:
5136         * text2.C: make getStatus work for the env depth lfuns
5137
5138 2003-04-03  John Levon  <levon@movementarian.org>
5139
5140         * bufferview_funcs.h:
5141         * bufferview_funcs.C:
5142         * lyxfunc.C:
5143         * lyxtext.h:
5144         * text2.C: parlistize decDepth(), by merging it with incDepth()
5145
5146 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * lyxrow.h: store a ParagraphList::iterator instead of a
5149         Paragraph* and adjust other class functions to suit.
5150
5151         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5152         above.
5153
5154 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5155
5156         * text2.C (setCursor): do not anchor to cursor row for the time being
5157
5158 2003-04-02  John Levon  <levon@movementarian.org>
5159
5160         * LyXAction.C:
5161         * lfuns.h:
5162         * lyx_main.C:
5163         * lyxtext.h:
5164         * text.C:
5165         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5166
5167 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * paragraph.h: make ParagraphList and ParagraphList::iterator
5170         friends of Paragraph.
5171
5172         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5173
5174         * ParagraphList.C: Use the private next_ and previous_ from
5175         Paragraph.
5176
5177 2003-04-01  John Levon  <levon@movementarian.org>
5178
5179         * ToolbarBackend.h:
5180         * ToolbarBackend.C:
5181         * Makefile.am: rename, remove defaults gunk
5182
5183         * MenuBackend.h:
5184         * MenuBackend.C: remove defaults gunk
5185
5186         * Languages.h:
5187         * Languages.C: remove defaults gunk
5188
5189         * lyx_main.h:
5190         * lyx_main.C: error out if files couldn't be found.
5191
5192 2003-04-02  John Levon  <levon@movementarian.org>
5193
5194         * text2.C: make incDepth() use parlist
5195
5196 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * undo_funcs.C (firstUndoParagraph): adjust
5199
5200         * text3.C (gotoInset): adjust
5201         (dispatch): adjust, and rewrite loop.
5202
5203         * text2.C (init): adjust, and rewrite loop.
5204         (redoParagraphs): adjust
5205         (updateInset): adjust, and rewrite loop.
5206         (deleteEmptyParagraphMechanism): adjust
5207
5208         * tabular.C (LyXTabular): adjust
5209         (SetMultiColumn): adjust
5210         (TeXRow): adjust
5211
5212         * lyxtext.[Ch] (ownerParagraph): delete function
5213         (ownerParagraphs): new function returns a ParagraphList.
5214
5215         * BufferView.C (removeAutoInsets): adjust
5216         (insertErrors): adjust
5217         (setCursorFromRow): adjust
5218
5219 2003-04-01  Angus Leeming  <leeming@lyx.org>
5220
5221         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5222         in the frontends.
5223
5224 2003-04-02  John Levon  <levon@movementarian.org>
5225
5226         * lyxtext.h:
5227         * text.C:
5228         * Makefile.am:
5229         * text_funcs.h:
5230         * text_funcs.C: make transposeChars a free function
5231
5232         * lyxrow_funcs.C: remove wrong comment
5233
5234 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * lyxtext.h: adjust
5237         * rowpainter.C: adjust
5238         * text.C: adjust
5239         * text2.C: adjust
5240         * text3.C: adjust
5241
5242         * lyxrow_funcs. [Ch]: new files
5243
5244         * lyxrow.[Ch]: remove next and previous pointers
5245         (next,previous): remove accessor functions
5246         (isParEnd): move to lyxrow_funcs
5247         (lastPos): move to lyxrow_funcs
5248         (nextRowIsAllInset): move to lyxrow_funcs
5249         (lastPrintablePos): move to lyxrow_funcs
5250         (numberOfSeparators): move to lyxrow_funcs
5251         (numberOfHfills): move to lyxrow_funcs
5252         (numberOfLabelHfills): move to lyxrow_funcs
5253         (hfillExpansion): move to lyxrow_funcs
5254
5255         * lyxfunc.C: adjust
5256
5257         * bufferview_funcs.C (toggleAndShow): adjust
5258
5259         * RowList.h: Remove class RowList from file leave just a
5260         std::list<Row>.
5261
5262         * RowList.C: delete file
5263
5264         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5265         and lyxrow_funcs.h
5266
5267 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * text3.C (cursorPrevious): adjust
5270         (cursorNext): adjust
5271         (dispatch): adjust
5272
5273         * text2.C (redoHeightOfParagraph): adjust
5274         (redoDrawingOfParagraph): adjust
5275         (setCursor): adjust
5276
5277         * text.C (breakParagraph): adjust
5278         (insertChar): adjust
5279         (backspace): adjust
5280
5281         * rowpainter.C (RowPainter): adjust
5282         (leftMargin): simplify and adjust
5283         (most rowpainter functions): adjust.
5284
5285         * rowpainter.h: store the row as RowList::iterator not as Row*
5286
5287         * lyxcursor.C (row): taka RowList::iterator as arg
5288         (irow): ditto
5289
5290         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5291         of Row*.
5292
5293 2003-04-01  Angus Leeming  <leeming@lyx.org>
5294
5295         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5296         stuff like bool Bool.
5297
5298 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5301         rewrite a loop
5302
5303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5306         RowList::iterator.
5307
5308         * lyxtext.h (rows): drop one version and leve a const variant that
5309         returns a RowList::iterator.
5310
5311 2003-03-31  Angus Leeming  <leeming@lyx.org>
5312
5313         * text.C (fill): ensure that the signature is the same as that in the
5314         header file.
5315
5316 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * text2.C (redoParagraphs): adjust
5319         (updateCounters): adjust
5320         (checkParagraph): adjust
5321         (getColumnNearX): adjust and reformat a bit.
5322
5323         * text.C (top_y): adjust
5324         (workWidth): adjust
5325         (leftMargin): adjust
5326         (prepareToPrint): adjust
5327         (getRow): adjust
5328         (getRowNearY): adjust
5329
5330         * lyxtext.h: make rowlist_ mutable.
5331
5332         * RowList.h: add const_iterator
5333         * RowList.C: adjust for RowList::const_iterator.
5334
5335         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5336         adjust.
5337
5338 2003-03-31  John Levon  <levon@movementarian.org>
5339
5340         * lyxrc.h:
5341         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5342
5343         * lyx_main.C: set default fonts from using lyx_gui funcs
5344
5345         * exporter.C: pdf_mode moved from lyxrc
5346
5347         * lyx_cb.C:
5348         * lyxfunc.C: changes from above
5349
5350 2003-03-31  John Levon  <levon@movementarian.org>
5351
5352         * lyx_main.C: fix to the last fix
5353
5354 2003-03-31  John Levon  <levon@movementarian.org>
5355
5356         * bufferlist.C: "Load original" -> "Load Original"
5357
5358         * converter.C:
5359         * exporter.C:
5360         * importer.C:
5361         * lyx_main.C:
5362         * format.C: more Alert cleanups
5363
5364 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * text2.C (removeParagraph): make it take a RowList::iterator as
5367         arg, adjust.
5368         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5369         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5370
5371         * text.C (anchor_row): make it take a RowList::iterator as arg,
5372         adjust.
5373         (computeBidiTables): make it take a const reference to Row instead
5374         of Row pointer, adjust.
5375         (leftMargin): make it take a RowList::iterator as arg, adjust.
5376         (rowBreakPoint): adjust
5377         (breakAgainOneRow): make it take a RowList::iterator as arg,
5378         adjust.
5379         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5380
5381         * bufferview_funcs.C (toggleAndShow): adjust
5382
5383 2003-03-30  John Levon  <levon@movementarian.org>
5384
5385         * Makefile.am:
5386         * BoostFormat.h:
5387         * boost-inst.C: moved to support
5388
5389         * several files: changes as a result
5390
5391 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * text2.C (LyXText): adjust.
5394         (init): adjust
5395         (removeRow): make it take a RowList::iterator as arg, adjust.
5396         (fullRebreak): adjust
5397         (deleteEmptyParagraphMechanism): adjust
5398         (clearPaint): adjust
5399         (postPaint): adjust
5400
5401         * text.C (top_y): adjust
5402         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5403         (breakAgain): make it take a RowList::iterator as arg, adjust.
5404         (breakParagraph): adjust
5405         (insertChar): adjust
5406         (backspace): adjust
5407
5408         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5409         need_break_row, and refresh_row.
5410
5411         * text3.C (dispatch): adjust
5412
5413         * text2.C (checkParagraph): adjust
5414         (setCursor): adjust
5415         (setCursorFromCoordinates): adjust
5416
5417         * text.C (top_y): adjust
5418         (workWidth): adjust
5419         (getRow): make it return a RowList::iterator, adjust
5420         (getRowNearY): make it return a RowList::iterator, adjust
5421
5422         * text2.C (init): adjust
5423         (insertRow): remove function
5424         (insertParagraph): adjust
5425         (redoParagraphs): adjust
5426         (fullRebreak): adjust
5427         (updateCounters): adjust
5428
5429         * text.C (top_y): rewrite to use RowList iterators.
5430         (top_y): adjust
5431         (setHeightOfRow): rewrite to sue RowList iterators.
5432         (appendParagraph): adjust
5433         (breakAgain): adjust
5434         (breakAgainOneRow): adjust
5435         (breakParagraph): adjust
5436         (getRow): adjust
5437         (getRowNearY): adjust, and remove commented code.
5438
5439         * lyxtext.h (firstRow): delete function
5440         (lastRow): delete function
5441         (rows): new function (const and non-const versions.)
5442         (insertRow): delete function
5443
5444         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5445
5446 2003-03-29  John Levon  <levon@movementarian.org>
5447
5448         * BufferView_pimpl.C: always update scrollbar top
5449         because pasting text when we're anchored could mean we
5450         miss an update altogether
5451
5452 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * text2.C (init): use rowlist_.end() and not 0.
5455         (insertRow): change to take a RowList::iterator as arg, adjust
5456         for this.
5457         (insertParagraph): change to take a RowList::iterator as arg,
5458         adjust for this.
5459         (redoParagraphs): remove some debug msgs.
5460
5461         * text.C (appendParagraph): change to take a RowList::iterator
5462         arg, adjust for this.
5463         (breakAgain): add an assert
5464         (breakAgainOneRow): ditto
5465
5466 2003-03-29  John Levon  <levon@movementarian.org>
5467
5468         * text2.C: do not clear selection after inc/decDepth
5469         (bug 550)
5470
5471 2003-03-29  John Levon  <levon@movementarian.org>
5472
5473         * BufferView.C:
5474         * buffer.C: fix broken strerrors according to Lars
5475
5476 2003-03-29  John Levon  <levon@movementarian.org>
5477
5478         * converters.C: more Alert cleanups
5479
5480 2003-03-29  John Levon  <levon@movementarian.org>
5481
5482         * bufferview_funcs.C: remove pointless Alert
5483
5484         * buffer.C: fix confusing error message when
5485         a template is chmoded 000
5486
5487 2003-03-29  John Levon  <levon@movementarian.org>
5488
5489         * BufferView.C:
5490         * BufferView.h:
5491         * BufferView_pimpl.C: Alert fixes
5492
5493         * Makefile.am:
5494         * tabular.C:
5495         * tabular-old.C: remove unused table compat reading
5496
5497 2003-03-29  John Levon  <levon@movementarian.org>
5498
5499         * BufferView.C:
5500         * buffer.C:
5501         * lyx_cb.h:
5502         * lyx_cb.C: more Alert cleanups
5503
5504         * lyxfunc.C: don't allow chktex if not latex document
5505
5506 2003-03-29  John Levon  <levon@movementarian.org>
5507
5508         * lyx_cb.C:
5509         * BufferView.C:
5510         * buffer.C: warnings pushed down from support/,
5511         kill err_alert
5512
5513 2003-03-29  John Levon  <levon@movementarian.org>
5514
5515         * lyxfunc.C: safety check for C-r (revert)
5516
5517 2003-03-29  John Levon  <levon@movementarian.org>
5518
5519         * bufferlist.h:
5520         * bufferlist.C: several UI fixes using Alert::prompt.
5521         Fix the pointless looping quit code. Fix stupid revert
5522         behaviour (bug 938)
5523
5524         * lyxvc.h:
5525         * lyxvc.C:
5526         * lyx_cb.C: use Alert::prompt
5527
5528         * lyx_main.C: remove a silly question
5529
5530         * lyxfunc.C: remove a couple of silly questions,
5531         use Alert::prompt
5532
5533 2003-03-28  John Levon  <levon@movementarian.org>
5534
5535         * text2.C: fix bug 974 (End on empty par)
5536
5537 2003-03-28  John Levon  <levon@movementarian.org>
5538
5539         * BufferView_pimpl.C:
5540         * LyXAction.C:
5541         * lfuns.h: remove do-nothing math greek lfuns
5542
5543 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * lyxgluelength.h (isValidGlueLength): add default arg on
5546         parameter 2. Remove default arg from friend in class.
5547
5548         * lyxlength.h (isValidLength): add default arg on parameter 2.
5549         Remove default arg from friend in class.
5550
5551         * text2.C (LyXText): adjust, initialize refresh_row.
5552         (init): adjust
5553         (removeRow): adjust
5554         (insertRow): adjust
5555         (insertParagraph): adjst
5556         (redoParagraphs): adjust
5557         (fullRebreak): adjust
5558         (updateCounters): adjust
5559         (deleteEmptyParagraphMechanism): first attempt at fixing a
5560         crashing bug.
5561
5562         * text.C (top_y): adjust
5563         (setHeightOfRow): adjust
5564         (getRow): adjust
5565         (getRowNearY): adjust
5566
5567         * lyxtext.h: include RowList.h
5568         (~LyXText): not needed anymore, deleted.
5569         (firstRow): modify for RowList
5570         (lastRow): new function
5571         Delete firstrow and lastrow class variables, add a Rowlist
5572         rowlist_ class variable.
5573
5574         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5575         paragraph is empty.
5576
5577         * RowList.C (insert): fix case where it == begin().
5578
5579 2003-03-26  Angus Leeming  <leeming@lyx.org>
5580
5581         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5582         the thesaurus dialog.
5583
5584 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5587
5588         * RowList.[Ch]: new files
5589
5590         * ParagraphList.C (erase): handle the case where it == begin
5591         correctly.
5592
5593 2003-03-25  John Levon  <levon@movementarian.org>
5594
5595         * Makefile.am:
5596         * aspell_local.h:
5597         * aspell.C: add new aspell support
5598
5599         * lyxrc.h:
5600         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5601         have it accessible.
5602
5603 2003-03-25  Angus Leeming  <leeming@lyx.org>
5604
5605         * lfuns.h:
5606         * LyXAction.C (init): new LFUN_INSET_INSERT.
5607
5608         * BufferView_pimpl.C (dispatch): split out part of the
5609         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5610
5611         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5612         LFUN_INSET_APPLY.
5613
5614 2003-03-25  Angus Leeming  <leeming@lyx.org>
5615
5616         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5617
5618 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5619
5620         * text2.C:
5621         * text3.C: remove useless row->height(0)
5622
5623 2003-03-25  John Levon  <levon@movementarian.org>
5624
5625         * lyxtext.h:
5626         * text2.C:
5627         * text3.C: rename the refreshing stuff to better names
5628
5629 2003-03-24  John Levon  <levon@movementarian.org>
5630
5631         * BufferView_pimpl.h:
5632         * BufferView_pimpl.C: update layout choice on a mouse
5633         press/release
5634
5635 2003-03-23  John Levon  <levon@movementarian.org>
5636
5637         * Makefile.am: fix commandtags.h reference
5638
5639 2003-03-22  John Levon  <levon@movementarian.org>
5640
5641         * BufferView_pimpl.C:
5642         * lyxtext.h:
5643         * rowpainter.C:
5644         * rowpainter.h:
5645         * text.C:
5646         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5647
5648 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * lyxtext.h:
5651         * text.C: take the rtl methods out of line
5652
5653 2003-03-21 André Pönitz <poenitz@gmx.net>
5654
5655         * metricsinfo.[Ch]: new files containing structures to be passed around
5656         during the two-phase-drawing...
5657
5658 2003-03-21 André Pönitz <poenitz@gmx.net>
5659
5660         * lyxtextclass.C: read 'environment' tag.
5661
5662 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * text2.C (removeRow): fix bug 964
5665
5666 2003-03-20  John Levon  <levon@movementarian.org>
5667
5668         * rowpainter.C:
5669         * text.C:
5670         * text2.C: paint cleanups. Inset::update() dropped font
5671         parameter
5672
5673 2003-03-19  John Levon  <levon@movementarian.org>
5674
5675         * lyxfunc.C: only fitcursor/markDirty if available()
5676
5677 2003-03-19  John Levon  <levon@movementarian.org>
5678
5679         * commandtags.h: rename to ...
5680
5681         * lfuns.h: ... this, and renumber / cleanup
5682
5683 2003-03-19  John Levon  <levon@movementarian.org>
5684
5685         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5686         fit the cursor after an lfun
5687
5688         * BufferView.h:
5689         * BufferView.C:
5690         * BufferView_pimpl.h:
5691         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5692
5693         * LyXAction.C: layout-character should have ReadOnly
5694
5695         * ParagraphParameters.C:
5696         * buffer.C:
5697         * bufferview_funcs.C:
5698         * lyx_cb.C:
5699         * lyxfind.C:
5700         * lyxtext.h:
5701         * text.C:
5702         * text2.C:
5703         * text3.C:
5704         * undo_funcs.C: changes from above
5705
5706 2003-03-18  John Levon  <levon@movementarian.org>
5707
5708         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5709         remove it from update()
5710
5711         * lyxfunc.C: update layout choice after an lfun
5712
5713         * text3.C: remove extra updateLayoutChoice()s
5714
5715 2003-03-18  John Levon  <levon@movementarian.org>
5716
5717         * text.C: top_y change means full repaint, fix
5718         a drawing bug with cursor movement
5719
5720 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5721
5722         * lyxtext.h:
5723         * text.C:
5724         * text2.C: anchor row on setCursor
5725
5726 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5727
5728         * lyxtext.h: remove almost all mutable keywords
5729         * text.C:
5730         * text2.C:
5731         * text3.C: remove const keywords accordingly
5732
5733 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5736         anon namespace
5737         (TeXEnvironment): ditto
5738         (TeXOnePar): ditto
5739
5740 2003-03-17  John Levon  <levon@movementarian.org>
5741
5742         * text.C (rowBreakPoint): remove attempt to fix displayed
5743         math insets inside a manual label
5744
5745 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * lyxtext.h: remove BufferView* as first arg from almost all class
5748         functions.
5749         * other files: adjust.
5750
5751 2003-03-17  John Levon  <levon@movementarian.org>
5752
5753         * lyxtext.h:
5754         * undo_funcs.C:
5755         * text2.C: more paint cleanups
5756
5757         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5758
5759         * rowpainter.h:
5760         * rowpainter.C: remove "smart" background painting code
5761
5762 2003-03-16  John Levon  <levon@movementarian.org>
5763
5764         * lyxtext.h:
5765         * text.C:
5766         * text2.C:
5767         * text3.C: add helper functions for setting refresh_row/y
5768
5769 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5770
5771         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5772         newline inset which *can* get inserted in the pass_thru layouts.
5773         This is primarily for literate documents.
5774
5775 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5776
5777         * buffer.C: increment LYX_FORMAT to 223
5778
5779 2003-03-14 André Pönitz <poenitz@gmx.net>
5780
5781         * textclass.h: prepare for environment handling, ws changes
5782         * lyxlayout.C: read latexheader and latexfooter tags
5783
5784 2003-03-14  John Levon  <levon@movementarian.org>
5785
5786         * text2.C: rewrite ::status() a bit
5787
5788 2003-03-13  John Levon  <levon@movementarian.org>
5789
5790         * lyxtext.h: add some docs
5791
5792 2003-03-13  John Levon  <levon@movementarian.org>
5793
5794         * lyxtext.h:
5795         * text.C:
5796         * text2.C:
5797         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5798
5799 2003-03-13  John Levon  <levon@movementarian.org>
5800
5801         * text3.C: fix appendix redrawing
5802
5803 2003-03-13  John Levon  <levon@movementarian.org>
5804
5805         * text.C (setHeightOfRow):
5806         * rowpainter.h:
5807         * rowpainter.C: make appendix mark have the text
5808           "Appendix" so the user knows what it is
5809
5810         * LColor.h:
5811         * LColor.C: s/appendixline/appendix/ from above
5812
5813 2003-03-13  John Levon  <levon@movementarian.org>
5814
5815         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5816
5817         * text.C: fix a getChar(pos) bug properly
5818
5819 2003-03-13  Angus Leeming  <leeming@lyx.org>
5820
5821         * commandtags.h:
5822         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5823         Probably only temporary. Let's see how things pan out.
5824
5825         * BufferView.C (unlockInset):
5826         * BufferView_pimpl.C (fitCursor):
5827         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5828
5829         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5830         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5831
5832         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5833         new functions that convert ParagraphParameters to and from a string.
5834
5835         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5836         BufferView::Pimpl's dispatch.
5837         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5838
5839 2003-03-13 André Pönitz <poenitz@gmx.net>
5840
5841         * lyxfunc.C:
5842         * text3.C:
5843         * factory.C: make it aware of InsetEnv
5844
5845 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * text2.C (setCursor): never ask for one past last
5848         (setCursor): add some debugging messages.
5849
5850         * text.C (singleWidth): never ask for one past last
5851         (singleWidth): ditto
5852         (leftMargin): ditto
5853         (rightMargin): ditto
5854         (rowBreakPoint): ditto
5855         (setHeightOfRow): ditto
5856         (prepareToPrint): ditto
5857
5858         * rowpainter.C (paintBackground): never ask for one past last
5859         (paintText): never ask for one past last
5860
5861         * paragraph_pimpl.C (getChar): make the assert stricter, never
5862         allow the one past last pos to be taken
5863
5864         * paragraph.C (getChar): ws changes only
5865
5866         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5867         (numberOfSeparators): ditto
5868         (numberOfHfills): ditto
5869
5870 2003-03-12  John Levon  <levon@movementarian.org>
5871
5872         * author.h:
5873         * author.C:
5874         * bufferparams.h:
5875         * bufferparams.C:
5876         * paragraph_funcs.C: fix per-buffer authorlists
5877
5878 2003-03-12  John Levon  <levon@movementarian.org>
5879
5880         * text.C: fix newline in right address
5881
5882 2003-03-12  Angus Leeming  <leeming@lyx.org>
5883
5884         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5885         duplicate those in LyXFunc::dispatch.
5886
5887         * commandtags.h:
5888         * LyXAction.C:
5889         * ToolbarDefaults.C:
5890         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5891         Add LFUN_FONTFREE_UPDATE.
5892
5893         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5894         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5895
5896         * bufferview_func.[Ch]: several new functions to facilliate
5897         transfer of data to and from the character dialog.
5898
5899 2003-03-12  John Levon  <levon@movementarian.org>
5900
5901         * buffer.C:
5902         * paragraph.h:
5903         * paragraph.C:
5904         * paragraph_funcs.C:
5905         * paragraph_pimpl.C:
5906         * sgml.C:
5907         * tabular.C:
5908         * text.C:
5909         * text3.C: remove META_NEWLINE in favour of an inset
5910
5911         * rowpainter.h:
5912         * rowpainter.C: remove paintNewline (done by inset)
5913
5914 2003-03-12  John Levon  <levon@movementarian.org>
5915
5916         * paragraph_pimpl.C: complain about bad getChar()s
5917         for a while at least
5918
5919 2003-03-12  John Levon  <levon@movementarian.org>
5920
5921         * buffer.h:
5922         * buffer.C: move paragraph read into a separate function,
5923         a little renaming to reflect that.
5924
5925         * bufferparams.h:
5926         * bufferparams.C: remove the author_ids map, not necessary now
5927
5928         * factory.h:
5929         * factory.C: moved Buffer::readInset to here
5930
5931         * paragraph_funcs.h:
5932         * paragraph_funcs.C: readParagraph free function moved from
5933         buffer.C
5934
5935         * tabular.C: name change
5936
5937 2003-03-12  John Levon  <levon@movementarian.org>
5938
5939         * buffer.C:
5940         * ParagraphParameters.C: move par params input to
5941         a read() method
5942
5943         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5944         behave like a normal read from the stream wrt reading
5945         a line vs. a \\token
5946
5947 2003-03-12  John Levon  <levon@movementarian.org>
5948
5949         * paragraph.C:
5950         * ParagraphParameters.h:
5951         * ParagraphParameters.C: move output code to a
5952         ::write() method
5953
5954 2003-03-12  John Levon  <levon@movementarian.org>
5955
5956         * BufferView.C (insertLyXFile):
5957         * buffer.h:
5958         * buffer.C:
5959         * tabular.C: use a parlist iterator for creating the
5960           document.
5961
5962 2003-03-12  John Levon  <levon@movementarian.org>
5963
5964         * buffer.C: make current_change static local not
5965           static file-scope
5966
5967 2003-03-12  John Levon  <levon@movementarian.org>
5968
5969         * buffer.C: fix insertStringAsLines for change tracking
5970
5971 2003-03-12  John Levon  <levon@movementarian.org>
5972
5973         * BufferView.C:
5974         * tabular.C:
5975         * buffer.h:
5976         * buffer.C:
5977         * bufferparams.h:
5978         * bufferparams.C: move author list into params. Rename some
5979           functions. Move the header reading into a separate token
5980           loop. Move the header token reading into BufferParams.
5981
5982 2003-03-12  John Levon  <levon@movementarian.org>
5983
5984         * changes.C: put debug inside lyxerr.debugging() checks
5985
5986 2003-03-11 André Pönitz <poenitz@gmx.net>
5987
5988         * factory.C: make it aware of InsetHFill
5989
5990 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5991
5992         * buffer.C (latexParagraphs): move function from here...
5993         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5994         args.
5995
5996 2003-03-10  Angus Leeming  <leeming@lyx.org>
5997
5998         * LyXAction.C (init): fix bug in poplating array with multiple entries
5999         with the same LFUN (spotted by JMarc).
6000
6001 2003-03-10  John Levon  <levon@movementarian.org>
6002
6003         * text.C:
6004         * text2.C: move getColumnNearX() near its
6005         only call site
6006
6007 2003-03-10  John Levon  <levon@movementarian.org>
6008
6009         * text.C: fix break before a minipage
6010
6011 2003-03-10  John Levon  <levon@movementarian.org>
6012
6013         * text.C: fix the last commit
6014
6015 2003-03-09  John Levon  <levon@movementarian.org>
6016
6017         * lyxtext.h:
6018         * text.C:
6019         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6020         bug 365 (don't break before insets unless needed). Don't
6021         return a value > last under any circumstances.
6022
6023 2003-03-09  Angus Leeming  <leeming@lyx.org>
6024
6025         * BufferView_pimpl.C (trackChanges, dispatch): call
6026         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6027
6028 2003-03-09  Angus Leeming  <leeming@lyx.org>
6029
6030         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6031         than Dialogs::showAboutlyx().
6032
6033 2003-03-09  Angus Leeming  <leeming@lyx.org>
6034
6035         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6036         than Dialogs::showTabularCreate().
6037
6038 2003-03-09  John Levon  <levon@movementarian.org>
6039
6040         * lyxtext.h:
6041         * text.C:
6042         * text2.C: 3rd arg to nextBreakPoint was always the same.
6043           Use references.
6044
6045 2003-03-08  John Levon  <levon@movementarian.org>
6046
6047         * lyxrow.C:
6048         * paragraph.C:
6049         * paragraph.h:
6050         * rowpainter.C:
6051         * text.C:
6052         * text2.C: Remove the "main" bit from the "main body"
6053           notion.
6054
6055 2003-03-08  John Levon  <levon@movementarian.org>
6056
6057         * text.C (leftMargin): The left margin of an empty
6058         manual label paragraph should not include the label width
6059         string length.
6060
6061         * text.C (prepareToPrint): don't attempt to measure hfills
6062         for empty manual label paragraphs - the answer should be 0
6063
6064 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * CutAndPaste.C: remove commented code and reindent.
6067
6068 2003-03-08  John Levon  <levon@movementarian.org>
6069
6070         * lyxfunc.h:
6071         * lyxfunc.C: move reloadBuffer()
6072
6073         * BufferView.h:
6074         * BufferView.C: to here
6075
6076         * lyxvc.C: add comment
6077
6078         * vc-backend.h:
6079         * vc-backend.C: call bv->reload() to avoid
6080           getStatus() check on MENURELOAD
6081
6082 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6083
6084         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6085         to an old format .dep file.
6086
6087 2003-03-07  Angus Leeming  <leeming@lyx.org>
6088
6089         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6090         when the LFUN_MOUSE_RELEASE should have been handled by
6091         inset->localDispatch.
6092
6093 2003-03-07  Angus Leeming  <leeming@lyx.org>
6094
6095         * BufferView_pimpl.C (dispatch):
6096         * LyXAction.C (init):
6097         * ToolbarDefaults.C (init):
6098         * commandtags.h:
6099         * lyxfunc.C (getStatus):
6100         remove LFUN_INSET_GRAPHICS.
6101
6102         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6103
6104 2003-03-07  Angus Leeming  <leeming@lyx.org>
6105
6106         * commandtags.h:
6107         * LyXAction.C (init):
6108         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6109
6110         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6111
6112         * commandtags.h:
6113         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6114
6115         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6116         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6117
6118 2003-03-07  Angus Leeming  <leeming@lyx.org>
6119
6120         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6121         remove "ert".
6122
6123 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * ParagraphList.C (front): new function
6126         (back): implement
6127
6128 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6129
6130         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6131         and top_row_offset_. removed var first_y.
6132         * text.C (top_y):
6133         * text2.C (LyXText, removeRow):
6134         * text3.C:
6135         * BufferView_pimpl.C:
6136         use these methods instead of using first_y
6137
6138 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * text2.C (pasteSelection): adjust for checkPastePossible
6141
6142         * CutAndPaste.C: remove Paragraph * buf and replace with
6143         ParagraphList paragraphs.
6144         (DeleteBuffer): delete
6145         (cutSelection): change the tc type to textclass_type
6146         (copySelection): change the tc type to textclass_type
6147         (copySelection): adjust for ParagraphList
6148         (pasteSelection): change the tc type to textclass_type
6149         (pasteSelection): adjust for Paragraphlist
6150         (nrOfParagraphs): simplify for ParagraphList
6151         (checkPastePossible): simplify for ParagraphList
6152         (checkPastePossible): remove unused arg
6153
6154         * ParagraphList.C (insert): handle the case where there are no
6155         paragraphs yet.
6156
6157         * CutAndPaste.h: make CutAndPaste a namespace.
6158
6159         * text3.C (dispatch): adjust
6160
6161         * text.C (breakParagraph): add a ParagraphList as arg
6162
6163         * paragraph_funcs.C (breakParagraph): change to take a
6164         BufferParams and a ParagraphList as args.
6165         (breakParagraphConservative): ditto
6166         (mergeParagraph): ditto
6167         (TeXDeeper): add a ParagraphList arg
6168         (TeXEnvironment): ditto
6169         (TeXOnePar): ditto
6170
6171         * buffer.C (readLyXformat2): adjust
6172         (insertStringAsLines): adjust
6173         (latexParagraphs): adjust
6174
6175         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6176         (cutSelection): adjust
6177         (pasteSelection): adjust
6178
6179         * BufferView_pimpl.C (insertInset): adjust
6180
6181 2003-03-05  Angus Leeming  <leeming@lyx.org>
6182
6183         * commandtags.h:
6184         * LyXAction.C (init):
6185         * BufferView_pimpl.C (dispatch):
6186         * lyxfunc.C (getStatus):
6187         remove LFUN_CHILD_INSERT.
6188
6189         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6190
6191 2003-03-05  Angus Leeming  <leeming@lyx.org>
6192
6193         * commandtags.h:
6194         * LyXAction.C (init):
6195         * src/factory.C (createInset):
6196         * lyxfunc.C (getStatus):
6197         * text3.C (dispatch):
6198         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6199
6200         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6201
6202 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * ParagraphList.C (insert): handle insert right before end()
6205         (erase): fix cases where it can be first or last paragraph.
6206
6207 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6210         Paragraph::next and Paragraph::previous
6211         (TeXOnePar): ditto
6212
6213         * text.C (breakParagraph): adjust
6214
6215         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6216         BufferParams& as arg.
6217         (breakParagraph): use ParagraphList::insert
6218         (breakParagraphConservative): take a Buffer* instead of a
6219         BufferParams& as arg.
6220         (breakParagraphConservative): use ParagraphList::insert.
6221
6222         * buffer.C (insertStringAsLines): un-const it
6223         (insertStringAsLines): adjust
6224
6225         * ParagraphList.C (insert): new function
6226
6227         * CutAndPaste.C (pasteSelection): adjust
6228
6229         * text.C (backspace): adjust
6230
6231         * tabular.C (SetMultiColumn): adjust
6232
6233         * CutAndPaste.C (cutSelection): adjust
6234         (pasteSelection): adjust
6235
6236         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6237         Buffer const * as arg
6238
6239         * ParagraphList.C (erase): new function
6240         * paragraph_funcs.C (mergeParagraph): use it
6241         (mergeParagraph): make it take a Buffer* instead of a
6242         BufferParams* as arg
6243
6244         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6245         as arg
6246         (breakParagraphConservative): ditto
6247
6248         * paragraph.h: remove the breakParagraph friend
6249
6250         * paragraph.C (eraseIntern): new function
6251         (setChange): new function
6252
6253         * paragraph_funcs.C (mergeParagraph): make it take a
6254         ParagraphList::iterator instead of a Paragraph *, adjust
6255         accordingly.
6256
6257         * paragraph.h: move an #endif so that the change tracking stuff
6258         also works in the NO_NEXT case.
6259
6260 2003-03-04  Angus Leeming  <leeming@lyx.org>
6261
6262         * commandtags.h:
6263         * LyXAction.C: new LFUN_INSET_MODIFY.
6264
6265         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6266         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6267
6268 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * several files: ws changes only
6271
6272         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6273         (TeXEnvironment): ditto
6274         (TeXDeeper): ditto
6275
6276         * buffer.C (makeLaTeXFile): adjust
6277         (latexParagraphs): make it take ParagraphList::iterator as args
6278
6279 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * buffer.C (latexParagraphs): adjust
6282
6283         * paragraph.C (TeXOnePar): move function...
6284         (optArgInset): move function...
6285         (TeXEnvironment): move function...
6286         * paragraph_pimpl.C (TeXDeeper): move function...
6287         * paragraph_funcs.C: ...here
6288
6289         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6290
6291 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * buffer.C (readInset): remove compability code for old Figure and
6294         InsetInfo insets
6295
6296 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * buffer.C: ws changes
6299         (readInset):
6300
6301         * BufferView_pimpl.C: ditto
6302         * author.C: ditto
6303         * buffer.h: ditto
6304         * bufferlist.h: ditto
6305         * changes.h: ditto
6306         * lyxfunc.C: ditto
6307
6308 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6309
6310         * converter.[Ch]: split into itself +
6311         * graph.[Ch]
6312         * format.[Ch]
6313         * Makefile.am: += graph.[Ch] + format.[Ch]
6314         * MenuBackend.C
6315         * buffer.C
6316         * exporter.C
6317         * importer.C
6318         * lyx_main.C
6319         * lyxfunc.C
6320         * lyxrc.C: added #include "format.h"
6321
6322 2003-02-27  Angus Leeming  <leeming@lyx.org>
6323
6324         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6325           a label.
6326
6327         * factory.C (createInset): add "label" to the factory.
6328
6329         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6330           string and do no more.
6331
6332 2003-02-27  Angus Leeming  <leeming@lyx.org>
6333
6334         * commandtags.h:
6335         * LyXAction.C (init):
6336         * factory.C (createInset):
6337         * BufferView_pimpl.C (dispatch):
6338           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6339
6340         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6341
6342         * lyxfunc.C (dispatch):
6343         * text3.C (dispatch): pass name to params2string.
6344
6345 2003-02-26  Angus Leeming  <leeming@lyx.org>
6346
6347         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6348           blocks together.
6349           Rearrange the ~includes. Strip out the unnecessary ones.
6350
6351         * factory.C (createInset): reformat.
6352           create new insets for the various LFUN_XYZ_APPLY lfuns.
6353
6354 2003-02-26  John Levon  <levon@movementarian.org>
6355
6356         * lyxrow.h:
6357         * lyxrow.C: add isParStart,isParEnd helpers
6358
6359         * paragraph.h: make isInserted/DeletedText take refs
6360
6361         * paragraph_funcs.h:
6362         * paragraph_funcs.C: remove #if 0'd code
6363
6364         * lyxtext.h:
6365         * text3.C:
6366         * text2.C:
6367         * text.C: use lyxrow helpers above.
6368           Move draw and paint routines to RowPainter.
6369           Make several methods use refs not pointers.
6370           Make backgroundColor() const.
6371           Add markChangeInDraw(), isInInset().
6372           Merge changeRegionCase into changeCase.
6373           Make workWidth() shouldn't-happen code into an Assert.
6374
6375         * rowpainter.h:
6376         * rowpainter.C: new class for painting a row.
6377
6378         * vspace.h:
6379         * vspace.C: make inPixels take a ref
6380
6381 2003-02-26  Angus Leeming  <leeming@lyx.org>
6382
6383         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6384         LFUN_REF_APPLY.
6385
6386 2003-02-25  John Levon  <levon@movementarian.org>
6387
6388         * ispell.C: give the forked command a more accurate name
6389
6390 2003-02-22  John Levon  <levon@movementarian.org>
6391
6392         * toc.h:
6393         * toc.C: make TocItem store an id not a Paragraph *
6394           (bug #913)
6395
6396 2003-02-21  Angus Leeming  <leeming@lyx.org>
6397
6398         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6399           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6400           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6401           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6402           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6403           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6404
6405         * BufferView_pimpl.C (dispatch):
6406         * LyXAction.C (init):
6407         * factory.C (createInset):
6408         * lyxfunc.C (getStatus, dispatch):
6409         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6410
6411 2003-02-21  Angus Leeming  <leeming@lyx.org>
6412
6413         * BufferView_pimpl.C (MenuInsertLyXFile):
6414         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6415         * lyxfunc.C (menuNew, open, doImport):
6416           no longer pass a LyXView & to fileDlg.
6417
6418 2003-02-21  Angus Leeming  <leeming@lyx.org>
6419
6420         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6421         * LyXAction.C: change, BIBKEY to BIBITEM.
6422         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6423         Change InsetBibKey to InsetBibitem.
6424         Change BIBKEY_CODE to BIBITEM_CODE.
6425         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6426         * factory.C: replace insetbib.h with insetbibitem.h.
6427         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6428         * paragraph.C: replace insetbib.h with insetbibitem.h.
6429         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6430         Change bibkey() to bibitem().
6431         * text.C: remove insetbib.h.
6432         * text2.C: replace insetbib.h with insetbibitem.h.
6433         change bibkey() to bibitem().
6434         * text3.C: remove insetbib.h.
6435         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6436
6437 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6438
6439         * lyxrc.C (output): enclose user email in quotes (in case there are
6440         several words)
6441
6442 2003-02-18  John Levon  <levon@movementarian.org>
6443
6444         * buffer.h: add std::
6445
6446 2003-02-17  John Levon  <levon@movementarian.org>
6447
6448         * SpellBase.h:
6449         * ispell.h:
6450         * ispell.C:
6451         * pspell.h:
6452         * pspell.C: reworking. Especially in ispell, a large
6453           number of clean ups and bug fixes.
6454
6455         * lyxfunc.C: fix revert to behave sensibly
6456
6457 2003-02-17 André Pönitz <poenitz@gmx.net>
6458
6459         * LyXAction.C:
6460         * commandtags.h: new LFUN_INSERT_BIBKEY
6461
6462         * layout.h:
6463         * lyxlayout.C:
6464         * buffer.C:
6465         * factory.C:
6466         * text.C:
6467         * text2.C:
6468         * text3.C:
6469         * paragraph.[Ch]:
6470         * paragraph_func.C: remove special bibkey handling
6471
6472 2003-02-17  John Levon  <levon@movementarian.org>
6473
6474         * text.C (Delete): fix case where delete at the end of
6475           the very first paragraph would not merge the pars
6476
6477 2003-02-17  John Levon  <levon@movementarian.org>
6478
6479         * lyxrow.C: fix lastPrintablePos()
6480
6481 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6482
6483         * bufferparams.C (writeLaTeX): add a std:here
6484
6485         * buffer.C: and remove a using directive there
6486
6487 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6488
6489         * buffer.C (makeLaTeXFile): move the code that generates the
6490           preamble...
6491
6492         * bufferparams.C (writeLaTeX): ... in this new method
6493
6494         * LaTeXFeatures.C (getEncodingSet): make const
6495           (getLanguages): make const
6496
6497         * MenuBackend.C (binding): returns the binding associated to this
6498           action
6499           (add): sets the status of each item by calling getStatus. Adds
6500           some intelligence.
6501           (read): add support for OptSubMenu
6502           (expand): remove extra separator at the end of expanded menu
6503
6504 2003-02-15  John Levon  <levon@movementarian.org>
6505
6506         * BufferView.C:
6507         * BufferView_pimpl.C:
6508         * bufferlist.h:
6509         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6510           inset code that had no actual effect. Remove unneeded status
6511           code.
6512
6513 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6514
6515         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6516           in preamble
6517
6518 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6519
6520         * text.C (drawLengthMarker): also draw an arrow marker for
6521           symbolic lengths (medskip...)
6522
6523 2003-02-14  John Levon  <levon@movementarian.org>
6524
6525         * tabular.h:
6526         * tabular.C: better method names
6527
6528 2003-02-14  John Levon  <levon@movementarian.org>
6529
6530         * BufferView_pimpl.C:
6531         * bufferlist.C:
6532         * buffer.C:
6533         * converter.C:
6534         * lyx_cb.C:
6535         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6536           it's a more accurate name. Remove some pointless uses.
6537
6538 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6539
6540         * text2.C (LyXText): change order of initilizers to shut off
6541           warnings
6542
6543 2003-02-14  John Levon  <levon@movementarian.org>
6544
6545         * buffer.C: use ParIterator for getParFromID()
6546
6547         * paragraph.h:
6548         * paragraph.C:
6549         * paragraph_pimpl.h:
6550         * paragraph_pimpl.C: remove unused getParFromID()
6551
6552 2003-02-14  John Levon  <levon@movementarian.org>
6553
6554         * buffer.C: remove some very old #if 0'd parse code
6555
6556 2003-02-13  John Levon  <levon@movementarian.org>
6557
6558         * text.h:
6559         * text.C:
6560         * text2.C: move hfillExpansion(), numberOfSeparators(),
6561           rowLast(), rowLastPrintable(), numberofHfills(),
6562           numberOfLabelHfills() ...
6563
6564         * lyxrow.h:
6565         * lyxrow.C: ... to member functions here.
6566
6567         * paragraph.h:
6568         * paragraph.C:
6569         * lyxtext.h:
6570         * text.C: remove LyXText::beginningOfMainBody(), and call
6571           p->beginningOfMainBody() directly. Move the check for
6572           LABEL_MANUAL into the latter.
6573
6574         * text.h:
6575         * text.C:
6576         * text2.C:
6577         * vspace.C:
6578         * BufferView.h:
6579         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6580
6581         * text.h:
6582         * text.C:
6583         * text2.C:
6584         * text3.C:
6585         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6586           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6587
6588 2003-02-13  John Levon  <levon@movementarian.org>
6589
6590         * CutAndPaste.C: remove debug
6591
6592 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6593
6594         * paragraph.C (asString): remove two unused variables
6595
6596         * lyxtextclass.C (readTitleType):
6597           (Read):
6598           (LyXTextClass): handle new members titletype_ and titlename_
6599
6600         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6601
6602 2003-02-09  John Levon  <levon@movementarian.org>
6603
6604         * buffer.h:
6605         * buffer.C: replace hand-coded list with a map for the dep clean
6606
6607 2003-02-08  John Levon  <levon@movementarian.org>
6608
6609         * LaTeX.C: consolidate code into showRunMessage() helper
6610
6611 2003-02-08  John Levon  <levon@movementarian.org>
6612
6613         * lyxfind.C:
6614         * lyxtext.h:
6615         * text2.C:
6616         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6617           and pass the size in explicitly
6618
6619         * BufferView_pimpl.h:
6620         * BufferView_pimpl.C:
6621         * BufferView.h:
6622         * BufferView.C: add getCurrentChange()
6623
6624         * BufferView_pimpl.h:
6625         * BufferView_pimpl.C: handle change lfuns
6626
6627         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6628           for changes. Mark pasted paragraphs as new.
6629
6630         * support/lyxtime.h:
6631         * support/lyxtime.C:
6632         * DepTable.C: abstract time_t as lyx::time_type
6633
6634         * LColor.h:
6635         * LColor.C: add colours for new text, deleted text, changebars
6636
6637         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6638           package use "usenames" option.
6639
6640         * commandtags.h:
6641         * lyxfunc.C:
6642         * LyXAction.C: add change lfuns
6643
6644         * Makefile.am:
6645         * author.h:
6646         * author.C: author handling
6647
6648         * buffer.h:
6649         * buffer.C: add a per-buffer author list, with first entry as
6650           current author. Handle new .lyx tokens for change tracking. Output
6651           author list to .lyx file. Output dvipost stuff to .tex preamble.
6652           Bump lyx format to 222.
6653
6654         * bufferlist.h:
6655         * bufferlist.C: add setCurrentAuthor() to reset current author details
6656           in all buffers.
6657
6658         * bufferparams.h:
6659         * bufferparams.C: add param for tracking
6660
6661         * bufferview_funcs.C: output change info in minibuffer
6662
6663         * Makefile.am:
6664         * changes.h:
6665         * changes.C: add change-tracking structure
6666
6667         * debug.h:
6668         * debug.C: add CHANGES debug flag
6669
6670         * lyxfind.h:
6671         * lyxfind.C: add code for finding the next change piece
6672
6673         * lyxrc.h:
6674         * lyxrc.C: add user_name and user_email
6675
6676         * lyxrow.h:
6677         * lyxrow.C: add a metric for the top of the text line
6678
6679         * lyxtext.h:
6680         * text.C: implement accept/rejectChange()
6681
6682         * lyxtext.h:
6683         * text.C: paint changebars. Paint new/deleted text in the chosen
6684         colours. Strike through deleted text.
6685
6686         * paragraph.h:
6687         * paragraph.C:
6688         * paragraph_pimpl.h:
6689         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6690           in the current change to the insert functions. Rework erase to
6691           mark text as deleted, adding an eraseIntern() and a range-based
6692           erase(). Implement per-paragraph change lookup and
6693           accept/reject.
6694
6695         * paragraph_funcs.C: Fixup paste for change tracking.
6696
6697         * tabular.C: mark added row/columns as new.
6698
6699         * text.C: fix rowLast() to never return -1. Don't allow
6700           spellchecking of deleted text. Track transpose changes. Don't
6701           allow paragraph break or merge where appropriate.
6702
6703         * text2.C: leave cursor at end of selection after a cut.
6704
6705 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6706
6707         * text.C (getLengthMarkerHeight):
6708         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6709         visible on screen too.
6710
6711 2003-02-07  John Levon  <levon@movementarian.org>
6712
6713         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6714
6715 2003-02-05  Angus Leeming  <leeming@lyx.org>
6716
6717         * lyxserver.C (read_ready): revert my patch of 11 September last year
6718         as it sends PC cpu through the roof. Presumably this means that
6719         the lyxserver will no longer run on an Alpha...
6720
6721 2003-01-30  Angus Leeming  <leeming@lyx.org>
6722
6723         * factory.C (createInset): create an InsetCommandParam of type "index"
6724         and use it to 'do the right thing'.
6725
6726         * text2.C (getStringToIndex): ensure that cursor position is always
6727         reset to the reset_cursor position.
6728
6729 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6730
6731         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6732         disabled.
6733
6734 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6735
6736         * bufferview.C:
6737         * lyxcb.C:
6738         * lyxfunc.C: Output messages with identical spelling, punctuation,
6739         and spaces
6740
6741 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6742
6743         * MenuBackend.C (expandFormats): List only viewable export formats
6744         in "View" menu
6745
6746         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6747         message
6748
6749         * lyxfunc.C (getStatus): Make sure that formats other than
6750         "fax" can also be disabled
6751
6752 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6753
6754         * text3.C (dispatch): put the lfuns that insert insets in 3
6755         groups, and call doInsertInset with appropriate arguments.
6756         (doInsertInset): new function, that creates an inset and inserts
6757         it according to some boolean parameters.
6758
6759 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * buffer.C (readFile): remember to pass on 'par' when calling
6762         readFile recursively.
6763
6764 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6765
6766         * MenuBackend.C (expandFormats): add "..." to import formats.
6767
6768 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6769
6770         * paragraph.C (asString): Remove XForms RTL hacks.
6771
6772 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6773         * buffer.C: fix typo
6774
6775 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * Makefile.am (LIBS): delete var
6778         (lyx_LDADD): add @LIBS@ here instead.
6779
6780 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6781
6782         * Clarify the meaning of "wheel mouse jump"
6783
6784 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6785
6786         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6787         tabular in a float
6788
6789 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6790
6791         * importer.C (Loaders): do not preallocate 3 elements in the
6792         vector, since one ends up with 6 elements otherwise
6793
6794 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6795
6796         * DepTable.C (write): write the file name as last element of the
6797         .dep file (because it may contain spaces)
6798         (read): read info in the right order
6799
6800 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6801
6802         * paragraph_pimpl.C (simpleTeXBlanks):
6803         (simpleTeXSpecialChars):
6804         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6805
6806         * tabular.C (latex): add some missing case statements. Reindent.
6807
6808         * MenuBackend.C (expandToc): remove unused variable.
6809
6810 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6811
6812         * LColor.C:
6813         * LaTeX.C:
6814         * LyXAction.C:
6815         * MenuBackend.C:
6816         * buffer.C:
6817         * exporter.C:
6818         * lyxfunc.C:
6819         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6820         and the like.
6821
6822 2003-01-05  John Levon  <levon@movementarian.org>
6823
6824         * BufferView.h:
6825         * BufferView.C: add getEncoding()
6826
6827         * kbsequence.h:
6828         * kbsequence.C: do not store last keypress
6829
6830         * lyxfunc.h:
6831         * lyxfunc.C: store last keypress here instead. Pass encoding
6832           to getISOEncoded()
6833
6834 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6835
6836         * lyx_main.C (init): remove annoying error message when following
6837         symbolic links (bug #780)
6838
6839 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6840
6841         * text.C (insertChar):
6842         * lyxrc.C (getDescription): remove extra spaces
6843
6844 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6845
6846         * lyxrc.C (getDescription): remove extra spaces
6847
6848 2002-12-20  John Levon  <levon@movementarian.org>
6849
6850         * text3.C: hack fix for page up/down across tall rows
6851
6852 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6853
6854         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6855         not been invoked
6856
6857 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6858
6859         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6860         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6861         thesaurus is not compiled in
6862
6863 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6864
6865         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6866
6867 2002-12-16  Angus Leeming  <leeming@lyx.org>
6868
6869         * lyxrc.[Ch]:
6870         * lyx_main.C (init): remove override_x_deadkeys stuff.
6871
6872 2002-12-12  John Levon  <levon@movementarian.org>
6873
6874         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6875           insert. Only remove shift modifier under strict
6876           circumstances.
6877
6878 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * MenuBackend.C (expandToc): fix crash.
6881
6882 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * MenuBackend.C (expandToc): gettext on float names.
6885
6886 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6887
6888         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6889         implement bool empty() [bug 490]
6890
6891 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6894
6895 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * several files: ws changes
6898
6899 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * text2.C (setCounter): clean up a bit, use boost.format.
6902         (updateCounters): initialize par upon declaration.
6903
6904         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6905         if the layout exists. We do not just store the layout any more.
6906         (SwitchLayoutsBetweenClasses): use boost.format
6907
6908 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6909
6910         * converter.C (convert): if from and to files are the same, use a
6911         temporary files as intermediary
6912
6913 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6914
6915         * commandtags.h:
6916         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6917
6918 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6919
6920         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6921
6922 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * tabular.C (asciiPrintCell): use string(size, char) instead of
6925         explicit loop.
6926
6927         * sgml.C (openTag): fix order of arguments to string constructor
6928         (closeTag): ditto
6929
6930         * lyxfunc.C (dispatch): use boost.format
6931
6932         * lots of files: change "c" -> 'c'
6933
6934 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6935
6936         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6937
6938 2002-11-25  Angus Leeming  <leeming@lyx.org>
6939
6940         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6941
6942         * lyx_main.C (init): compile fix.
6943
6944 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * lyx_cb.C (start): boost.formatify
6947         do not include <iostream>
6948
6949         * lengthcommon.C: ws only
6950
6951         * boost-inst.C,BoostFormat.h: add more explict instantations
6952
6953 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * lots of files: handle USE_BOOST_FORMAT
6956
6957 2002-11-21  John Levon  <levon@movementarian.org>
6958
6959         * pspell.C: fix compile
6960
6961 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6962
6963         * lyxfunc.C (dispatch): use boost::format
6964         (open): ditto
6965         (doImport): ditto
6966
6967         * lyxfont.C (stateText): use boost::format
6968
6969         * lyx_main.C (LyX): use boost::format
6970         (init): ditto
6971         (queryUserLyXDir): ditto
6972         (readRcFile): ditto
6973         (parse_dbg): ditto
6974         (typedef boost::function): use the recommened syntax.
6975
6976         * importer.C (Import): use boost::format
6977
6978         * debug.C (showLevel): use boost::format
6979
6980         * converter.C (view): use boost::format
6981         (convert): ditto
6982         (move): ditto
6983         (scanLog): ditto
6984
6985         * bufferview_funcs.C (currentState): use boost::format
6986
6987         * bufferlist.C (emergencyWrite): use boost::format
6988
6989         * buffer.C (readLyXformat2): use boost::format
6990         (parseSingleLyXformat2Token): ditto
6991
6992         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6993
6994         * LaTeX.C (run): use boost::format
6995
6996         * Chktex.C (scanLogFile): use boost::format
6997
6998         * BufferView_pimpl.C (savePosition): use boost::format
6999         (restorePosition): ditto
7000         (MenuInsertLyXFile): ditto
7001
7002         * BoostFormat.h: help file for explicit instation.
7003
7004 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7005
7006         * tabular.C (latex): Support for block alignment in fixed width
7007         columns.
7008
7009 2002-11-17  John Levon  <levon@movementarian.org>
7010
7011         * BufferView_pimpl.C:
7012         * lyx_cb.C:
7013         * lyxfunc.C: split filedialog into open/save
7014
7015 2002-11-08  Juergen Vigna  <jug@sad.it>
7016
7017         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7018         by my last patch (hopefully).
7019
7020 2002-11-08  John Levon  <levon@movementarian.org>
7021
7022         * iterators.h:
7023         * iterators.C:
7024         * buffer.h:
7025         * buffer.C:
7026         * paragraph.h:
7027         * paragraph.C:
7028         * toc.h:
7029         * toc.C: ParConstIterator, and use it (from Lars)
7030
7031 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7032
7033         * lyxtextclass.[Ch]: revise and add doxygen comments
7034
7035 2002-11-07  John Levon  <levon@movementarian.org>
7036
7037         * text.C: fix progress value for spellchecker
7038
7039         * toc.C: fix navigate menu for insetwrap inside minipage
7040
7041         * paragraph_funcs.C: added FIXME for suspect code
7042
7043 2002-11-07  John Levon  <levon@movementarian.org>
7044
7045         * BufferView_pimpl.C: fix redrawing of insets
7046           on buffer switch
7047
7048 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7049
7050         * text2.C (updateCounters): fix bug 668
7051
7052 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7053
7054         * text3.C (dispatch): Do not make the buffer dirty when moving the
7055         cursor.
7056
7057 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * vc-backend.C: STRCONV
7060         (scanMaster): ditto
7061
7062         * text2.C (setCounter): STRCONV
7063
7064         * paragraph.C (asString): STRCONV
7065
7066         * lyxlength.C (asString): STRCONV
7067         (asLatexString): ditto
7068
7069         * lyxgluelength.C (asString): STRCONV
7070         (asLatexString): ditto
7071
7072         * lyxfunc.C (dispatch): STRCONV
7073         (open): ditto
7074
7075         * lyxfont.C (stateText): STRCONV
7076
7077         * importer.C (Import): STRCONV
7078
7079         * counters.C (labelItem): STRCONV
7080         (numberLabel): ditto
7081         (numberLabel): remove unused ostringstream o
7082
7083         * chset.C: STRCONV
7084         (loadFile): ditto
7085
7086         * bufferview_funcs.C (currentState): STRCONV
7087
7088         * buffer.C (readFile): STRCONV
7089         (asciiParagraph): ditto
7090         (makeLaTeXFile): ditto
7091
7092         * Spacing.C (writeEnvirBegin): STRCONV
7093
7094         * LaTeXFeatures.C (getLanguages): STRCONV
7095         (getPackages): ditto
7096         (getMacros): ditto
7097         (getBabelOptions): ditto
7098         (getTClassPreamble): ditto
7099         (getLyXSGMLEntities): ditto
7100         (getIncludedFiles): ditto
7101
7102         * LaTeX.C: STRCONV
7103         (run): ditto
7104         (scanAuxFile): ditto
7105         (deplog): ditto
7106
7107         * LString.h: add the STRCONV macros
7108
7109         * BufferView_pimpl.C (savePosition): STRCONV
7110         (restorePosition): ditto
7111         (MenuInsertLyXFile): ditto
7112
7113         * vc-backend.C (scanMaster): change from submatch[...] to
7114         submatch.str(...)
7115
7116         * funcrequest.C: include config.h
7117
7118         * factory.C: include config.h
7119
7120         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7121
7122         * box.C: include config.h
7123
7124         * LaTeX.C (scanAuxFile): change from submatch[...] to
7125         submatch.str(...)
7126         (deplog): ditto
7127
7128 2002-10-25  Angus Leeming  <leeming@lyx.org>
7129
7130         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7131
7132         * ispell.[Ch] (setError): new method.
7133         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7134         Use setError() insetead of goto END.
7135
7136         * lyx_cb.C (AutoSave): move out child process into new class
7137         AutoSaveBuffer.
7138
7139 2002-10-30  John Levon  <levon@movementarian.org>
7140
7141         * text3.C: make start appendix undoable
7142
7143 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7144
7145         * lyxlength.C (inPixels): Fix returned value.
7146
7147         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7148         environment.
7149
7150 2002-10-24  Angus Leeming  <leeming@lyx.org>
7151
7152         * lyxgluelength.h: no need to forward declare BufferParams
7153         or BufferView, so don't.
7154
7155 2002-10-21  John Levon  <levon@movementarian.org>
7156
7157         * BufferView.C: menuUndo ->undo, redo
7158
7159         * BufferView.h: document, remove dead, make some methods private
7160
7161         * paragraph_funcs.h:
7162         * paragraph_funcs.C:
7163         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7164
7165         * buffer.h:
7166         * buffer.C:
7167         * sgml.h:
7168         * sgml.C: move sgml open/close tag into sgml.C
7169
7170         * bufferview_funcs.h: unused prototype
7171
7172         * lyxfunc.h:
7173         * lyxfunc.C: remove unused
7174
7175         * lyxtext.h:
7176         * text.C: remove unused
7177
7178 2002-10-21  John Levon  <levon@movementarian.org>
7179
7180         * BufferView.h:
7181         * BufferView.C:
7182         * BufferView_pimpl.h:
7183         * BufferView_pimpl.C: fix mouse wheel handling based on
7184           patch from Darren Freeman
7185
7186 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7187
7188         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7189
7190 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7191
7192         * lyxlength.C (inPixels): Fix hanfling of negative length.
7193         Fix LyXLength::MU case.
7194
7195 2002-10-16  John Levon  <levon@movementarian.org>
7196
7197         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7198
7199 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7200
7201         * converter.C (view): add support for $$i (file name) and $$p
7202         (file path) for the viewer command. If $$i is not specified, then
7203         it is appended to the command (for compatibility with old syntax)
7204
7205 2002-10-14  Juergen Vigna  <jug@sad.it>
7206
7207         * undo_funcs.C (textHandleUndo): alter the order in which the
7208         new undopar is added to the LyXText, as we have to set first
7209         the right prev/next and then add it as otherwise the rebuild of
7210         LyXText is not correct. Also reset the cursor to the right paragraph,
7211         with this IMO we could remove the hack in "redoParagraphs()".
7212
7213 2002-10-09  Angus Leeming  <leeming@lyx.org>
7214
7215         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7216         to turn off an optimisation if a new inset is to be inserted.
7217
7218 2002-10-11 André Pönitz <poenitz@gmx.net>
7219
7220         * lyxtext.h: make some functions public to allow access
7221         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7222
7223 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7224
7225         * text3.C (dispatch): when changing layout, avoid an infinite loop
7226         [bug #652]
7227
7228 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7229
7230         * lyxrc.C (read): treat a viewer or converter command of "none" as
7231         if it were empty.
7232
7233         * MenuBackend.C (expandFormats): for an update, also allow the
7234         formats that are not viewable
7235
7236         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7237         script if it is newer than the lyxrc.defaults in user directory
7238
7239 2002-10-07 André Pönitz <poenitz@gmx.net>
7240
7241         * text.C: Vitaly Lipatov's small i18n fix
7242
7243 2002-09-25  Angus Leeming  <leeming@lyx.org>
7244
7245         * ispell.h: doxygen fix.
7246
7247 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7248
7249         * buffer.h (readFile): Add a new argument to the method, to allow
7250         reading of old-format templates.
7251
7252 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7253
7254         * toc.C (getTocList): Get TOC from InsetWrap.
7255
7256 2002-09-16  John Levon  <levon@movementarian.org>
7257
7258         * lyxfunc.C: check tabular for cut/copy too
7259
7260 2002-09-12  John Levon  <levon@movementarian.org>
7261
7262         * LyXAction.C: tidy
7263
7264         * factory.h:
7265         * factory.C: add header
7266
7267         * paragraph_funcs.h:
7268         * paragraph_funcs.C: cleanup
7269
7270 2002-09-11  John Levon  <levon@movementarian.org>
7271
7272         * PrinterParams.h: odd/even default to true
7273
7274 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7275
7276         * PrinterParams.h: update printer parameters for new xforms dialog
7277
7278 2002-09-11  Angus Leeming  <leeming@lyx.org>
7279
7280         * lyxserver.C (read_ready): re-write to make it more transparent
7281         and to make it work in coherent fashion under Tru64 Unix.
7282
7283 2002-09-11  André Pönitz <poenitz@gmx.net>
7284
7285         * commandtags.h:
7286         * LyXAction.C:
7287         * text3.C: implement LFUN_WORDSEL
7288
7289 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7290
7291         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7292         make floatlist_ a boost::shared_ptr<FloatList>
7293
7294         * lyxtextclass.C: include FloatList.h
7295         (LyXTextClass): initialize floatlist_
7296         (TextClassTags): add TC_NOFLOAT
7297         (Read): match "nofloat" to TC_NOFLOAT and use it.
7298         (readFloat): modify call to floatlist_
7299         (floats): ditto
7300         (floats): ditto
7301
7302         * FloatList.[Ch] (FloatList): remove commented out float
7303         initialization.
7304         (erase): new function
7305
7306 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7307
7308         * MenuBackend.C (expandToc): fix crash when there is no document
7309         open
7310
7311 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * many files: Add insetwrap.
7314
7315 2002-09-09  John Levon  <levon@movementarian.org>
7316
7317         * text2.C: remove confusing and awkward depth wraparound
7318
7319 2002-09-09  John Levon  <levon@movementarian.org>
7320
7321         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7322
7323         * buffer.h:
7324         * buffer.C: remove getIncludeonlyList()
7325
7326         * paragraph.C:
7327         * lyxfunc.C: remove headers
7328
7329 2002-09-09  Juergen Vigna  <jug@sad.it>
7330
7331         * text.C (getColumnNearX): fix form Michael this is most
7332         probably a cut&paste bug.
7333
7334 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7337
7338         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7339         references, ws changes.
7340
7341         * text2.C (init): update counters after init
7342         (insertParagraph): no need to set counter on idividual paragraphs.
7343         (setCounter): access the counters object in the textclass object
7344         on in the buffer object.
7345         (updateCounters): ditto
7346
7347         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7348         shared_ptr<Counters> to avoid loading counters.h in all
7349         compilation units.
7350         (LyXTextClass): initialize ctrs_
7351         (TextClassTags): add TC_COUNTER, and ...
7352         (Read): use it here.
7353         (CounterTags): new tags
7354         (readCounter): new function
7355         (counters): new funtion
7356         (defaultLayoutName): return a const reference
7357
7358         * counters.C (Counters): remove contructor
7359         (newCounter): remove a couple of unneeded statements.
7360         (newCounter): simplify a bit.
7361         (numberLabel): some small formatting changes.
7362
7363         * buffer.[Ch]: remove all traces of counters, move the Counters
7364         object to the LyXTextClass.
7365
7366 2002-09-06  Alain Castera  <castera@in2p3.fr>
7367
7368         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7369         package to set the horizontal alignment on fixed width columns.
7370
7371         * lyx_sty.C:
7372         * lyx_sty.h: added tabularnewline macro def.
7373
7374         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7375
7376 2002-09-06  John Levon  <levon@movementarian.org>
7377
7378         * LyXAction.C: tooltips for sub/superscript
7379
7380         * MenuBackend.C: a bit more verbose
7381
7382         * lyxfunc.C: tiny clean
7383
7384         * undo_funcs.C: document undo_frozen
7385
7386 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * counters.C (Counters): add missing algorithm counter.
7389
7390         * text2.C (setCounter): lookup the counter with layouts latexname
7391         instead of by section number.
7392         (setCounter): use a hackish way to lookup the correct enum
7393         counter.
7394         a float name->type change
7395         reset enum couners with counter name directly instead of depth value.
7396
7397         * counters.C (Counters): remove the push_backs, change to use the
7398         float type not the float name.
7399         (labelItem): remove unused string, float name->type change
7400
7401         * counters.h: don't include vector, loose the enums and sects vectors
7402
7403 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7406         (Read): add float->TC_FLOAT to textclassTags
7407         (Read): and handle it in the switch
7408         (readFloat): new function
7409
7410         * FloatList.C (FloatList): comment out the hardcoded float
7411         definitions.
7412
7413         * lyxlayout.h: ws change.
7414
7415 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7416
7417         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7418
7419 2002-09-03  Angus Leeming  <leeming@lyx.org>
7420
7421         * BufferView_pimpl.h: qualified name is not allowed in member
7422         declaration: WorkArea & Pimpl::workarea() const;
7423
7424         * factory.C: added using std::endl directive.
7425
7426         * text3.C: added using std::find and std::vector directives.
7427
7428 2002-08-29  André Pönitz <poenitz@gmx.net>
7429
7430         * lyxtext.h:
7431         * text2.C: remove unused member number_of_rows
7432
7433         * Makefile.am:
7434         * BufferView2.C: remove file, move contents to...
7435         * BufferView.C: ... here
7436
7437         * BufferView_pimpl.C:
7438         * factory.C: move more inset creation to factory
7439
7440         * vspace.C: avoid direct usage of LyXText, ws changes
7441
7442         * BufferView.[Ch]:
7443                 don't provide direct access to WorkArea, use two simple
7444                 acessors haveSelction() and workHeight() instead
7445
7446
7447 2002-08-29  John Levon  <levon@movementarian.org>
7448
7449         * BufferView_pimpl.C (dispatch): do not continue when
7450           no buffer
7451
7452 2002-08-28  André Pönitz <poenitz@gmx.net>
7453
7454         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7455
7456         * BufferView.h:
7457         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7458
7459 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7460
7461         * buffer.C: increment LYX_FORMAT to 221
7462
7463         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7464         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7465
7466         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7467
7468         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7469
7470 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7471
7472         * factory.C (createInset): use LyXTextClass::floats
7473
7474         * MenuBackend.C (expandFloatListInsert):
7475         (expandFloatInsert):
7476         (expandToc):
7477
7478         * text2.C (setCounter):
7479
7480         * LaTeXFeatures.C (useFloat):
7481         (getFloatDefinitions):
7482
7483         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7484
7485         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7486         floatlist_, with accessor floats().
7487
7488         * FloatList.h: remove global FloatList
7489
7490 2002-08-26  André Pönitz <poenitz@gmx.net>
7491
7492         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7493
7494         * BufferView.h:
7495         * BufferView2.C:
7496         * BufferView_pimpl.C:
7497         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7498
7499 2002-08-25  John Levon  <levon@movementarian.org>
7500
7501         * LyXAction.C: fix margin note description
7502
7503 2002-08-24  John Levon  <levon@movementarian.org>
7504
7505         * buffer.C:
7506         * bufferlist.C:
7507         * bufferview_funcs.C:
7508         * lyxfont.C:
7509         * undo_funcs.C: cleanups
7510
7511         * lyxfunc.C: disable CUT/COPY when no selection
7512
7513 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7514
7515         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7516         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7517
7518         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7519         Add backward compatibility to "mono", "gray" and "no".
7520
7521 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7522
7523         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7524         (and file_format >= 200).
7525
7526 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7527
7528         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7529
7530 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7533
7534 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7535
7536         * BufferView_pimpl.C:
7537         * LyXAction.C:
7538         * buffer.C:
7539         * commandtags.h:
7540         * lyxfunc.C:
7541         * paragraph.[Ch]:
7542         * text2.C:
7543         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7544         inset and code to make it  work with the paragraph code. The inset
7545         can be anywhere in the paragraph, but will only do the expected
7546         thing in LaTeX if the layout file contains the parameter line
7547                         OptionalArgs    1
7548         (or more generally, a nonzero value) for that layout.
7549
7550 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * paragraph.h: remove the declaration of undefined counters class
7553         function.
7554
7555 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7556
7557         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7558         Dr. Richard Hawkins.
7559
7560 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7561
7562         * paragraph_funcs.h: remove some unneeded includes
7563
7564         * text.C (backspace): pasteParagraph now in global scipe
7565
7566         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7567         (pasteSelection): ditto
7568
7569         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7570         * paragraph_funcs.C (pasteParagraph): ... here
7571
7572 2002-08-20  André Pönitz <poenitz@gmx.net>
7573
7574         * commandtags.h: new LFUNs for swapping/copying table row/colums
7575
7576         * LyXAction.C:
7577         * lyxfunc.C: support for new lfuns
7578
7579 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * tabular.C:
7582         * buffer.[Ch]: remove NO_COMPABILITY stuff
7583
7584 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * boost.C (throw_exception): new file, with helper function for
7587         boost compiled without exceptions.
7588
7589         * paragraph.h:
7590         * lyxlength.C:
7591         * buffer.C:
7592         * ParameterStruct.h:
7593         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7594
7595         * bufferlist.C (emergencyWriteAll): use boost bind
7596
7597         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7598
7599         * text.C: include paragraph_funcs.h
7600         (breakParagraph): breakParagraph is now in global scope
7601
7602         * paragraph_funcs.[Ch]: new files
7603
7604         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7605         global scope
7606
7607         * buffer.C: include paragraph_funcs.h
7608         (insertStringAsLines): breakParagraph is now in global scope
7609
7610         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7611         paragraph_funcs.C
7612
7613         * CutAndPaste.C: include paragraph_funcs.h
7614         (cutSelection): breakParagraphConservative is now in global scope
7615         (pasteSelection): ditto
7616
7617         * buffer.h: declare oprator== and operator!= for
7618         Buffer::inset_iterator
7619
7620         * bufferlist.C (emergencyWrite): don't use fmt(...)
7621
7622         * text3.C: add using std::endl
7623
7624         * BufferView.C (moveCursorUpdate): remove default arg
7625
7626 2002-08-20  André Pönitz <poenitz@gmx.net>
7627
7628         * buffer.[Ch]: move inline functions to .C
7629
7630         * BufferView2.C:
7631         * BufferView_pimpl.C:
7632         * text.C:
7633         * buffer.[Ch]: use improved inset_iterator
7634
7635         * buffer.C:
7636         * paragraph.[Ch]: write one paragraph at a time
7637
7638 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7639
7640         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7641         style if style is not specified.
7642
7643 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7644
7645         * text2.C (setCounter): when searching for right label for a
7646         caption, make sure to recurse to parent insets (so that a caption
7647         in a minipage in a figure float works) (bug #568)
7648
7649 2002-08-20  André Pönitz <poenitz@gmx.net>
7650
7651         * text3.C: new file for LyXText::dispatch() and helpers
7652
7653         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7654
7655         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7656
7657 2002-08-19  André Pönitz <poenitz@gmx.net>
7658
7659         * lyxtext.h:
7660         * text.C: new LyXText::dispatch()
7661
7662         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7663
7664 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7665
7666         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7667
7668         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7669         Hebrew text.
7670
7671 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7672
7673         * Makefile.am: use $(variables) instead of @substitutions@
7674
7675 2002-08-15  André Pönitz <poenitz@gmx.net>
7676
7677         * lyxfunc.C:
7678         * BufferView_pimpl.C: streamlining mathed <-> outer world
7679         interaction
7680
7681         * commandtags.h:
7682         * LyXAction.C: remove unused LFUN_MATH
7683
7684 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7687
7688 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * paragraph.C (Paragraph): reformat a bit
7691         (cutIntoMinibuffer): use builtin InsetList function instad of
7692         doing it manually.
7693         (getInset): ditto
7694
7695         * buffer.C: include boost/bind.hpp, add using std::for_each
7696         (writeFileAscii): use ParagraphList iterators
7697         (validate): use for_each for validate traversal of paragraphs
7698         (getBibkeyList): use ParagraphList iterators
7699         (resizeInsets): use for_each to resizeInsetsLyXText for all
7700         paragraphs.
7701         (getParFromID): use ParagraphList iterators
7702
7703         * BufferView2.C (lockInset): use paragraph list and iterators
7704
7705 2002-08-14  John Levon  <levon@movementarian.org>
7706
7707         * lyxserver.C: remove spurious xforms include
7708
7709 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7710
7711         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7712
7713 2002-08-13  André Pönitz <poenitz@gmx.net>
7714
7715         * LyXAction.[Ch]:
7716         * lyxfunc.C: further cleaning
7717
7718 2002-08-13  André Pönitz <poenitz@gmx.net>
7719
7720         * funcrequest.h: new constructor
7721
7722         * funcrequest.C: move stuff here from .h
7723
7724         * Makefile.am:
7725         * BufferView_pimpl.C:
7726         * LyXAction.C:
7727         * toc.C:
7728         * lyxfunc.C: subsequent changes
7729
7730         * lyxfunc.h: new view() member function
7731
7732         * lyxfunc.C: subsequent changes
7733
7734 2002-08-13  Angus Leeming  <leeming@lyx.org>
7735
7736         * BufferView2.C:
7737         * BufferView_pimpl.C:
7738         * buffer.C:
7739         * converter.C:
7740         * importer.C:
7741         * lyxfunc.C:
7742         * lyxvc.C:
7743         * toc.C:
7744         * vc-backend.C:
7745         changes due to the changed LyXView interface that now returns references
7746         to member variables not pointers.
7747
7748 2002-08-13  Angus Leeming  <leeming@lyx.org>
7749
7750         * WordLangTuple (word, lang_code): return references to strings,
7751         not strings.
7752
7753         * BufferView.h:
7754         * SpellBase.h:
7755         * lyxtext.h: forward-declare WordLangTuple.
7756
7757         * BufferView2.C:
7758         * ispell.C:
7759         * pspell.C:
7760         * text.C: #include "WordLangTuple.h".
7761
7762         * lyxtext.h:
7763         * text.C: (selectNextWordToSpellcheck): constify return type.
7764
7765 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7766
7767         * buffer.C:
7768         * buffer.h:
7769         * lyxtext.h:
7770         * paragraph.C:
7771         * paragraph_pimpl.h:
7772         * text.C:
7773         * text2.C:
7774         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7775         suggested by Angus.
7776         Made updateCounter always count from start of buffer, and removed
7777         second argument (par).
7778         Reverted floats number display to '#'. Perhaps I'll try again when the
7779         code base is sanitized a bit.
7780
7781 2002-08-12  Angus Leeming  <leeming@lyx.org>
7782
7783         * buffer.[Ch] (getLabelList): constify.
7784
7785 2002-08-07  André Pönitz <poenitz@gmx.net>
7786
7787         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7788
7789         * funcrequest.h: extension to keep mouse (x,y) position
7790
7791 2002-08-12  Juergen Vigna  <jug@sad.it>
7792
7793         * BufferView2.C (insertErrors): forbid undo when inserting error
7794         insets.
7795
7796         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7797
7798 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * ParagraphList.[Ch]: new files
7801
7802         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7803
7804         * BufferView2.C (lockInset): ParagraphList changes
7805         * toc.C: ditto
7806         * text2.C: ditto
7807         * bufferlist.C: ditto
7808         * buffer.h: ditto
7809         * buffer.C: ditto
7810
7811 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7814         unused class variable counter_,
7815
7816         * paragraph.[Ch] (getFirstCounter): delete unused function
7817
7818         * counters.C: include LAssert.h
7819         (reset): add a new function with no arg, change other version to
7820         not have def. arg and to not allow empty arg.
7821
7822         * text2.C (setCounter): remove empty arg from call to Counters::reset
7823
7824 2002-08-11  John Levon  <levon@movementarian.org>
7825
7826         * Makefile.am: add WordLangTuple.h
7827
7828 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7831         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7832
7833         * insets/insettext.C: InsetList changes
7834
7835         * graphics/GraphicsSupport.C (operator()): InsetList changes
7836
7837         * toc.C (getTocList): InsetList changes
7838
7839         * paragraph_pimpl.[Ch]: InsetList changes
7840
7841         * paragraph.[Ch]: InsetList changes
7842
7843         * buffer.C (inset_iterator): InsetList changes
7844         (setParagraph): ditto
7845         * buffer.h (inset_iterator): ditto
7846         * iterators.C (operator++): ditto
7847         * iterators.h: ditto
7848
7849         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7850
7851         * InsetList.[Ch]: new files, most InsetList handling moved out of
7852         paragraph.C.
7853
7854         * BufferView2.C (removeAutoInsets): InsetList changes
7855         (lockInset): ditto
7856         (ChangeInsets): ditto
7857
7858 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * paragraph_pimpl.h (empty): new function
7861
7862         * paragraph.[Ch] (empty): new function
7863
7864         * other files: use the new Paragraph::empty function
7865
7866 2002-08-09  John Levon  <levon@movementarian.org>
7867
7868         * lyxtext.h: remove unused refresh_height
7869
7870 2002-08-09  John Levon  <levon@movementarian.org>
7871
7872         * Makefile.am:
7873         * sgml.h:
7874         * sgml.C:
7875         * buffer.C:
7876         * paragraph.h:
7877         * paragraph.C: move sgml char escaping out of paragraph
7878
7879         * paragraph.h:
7880         * paragraph.C: remove id setter
7881
7882         * buffer.C:
7883         * paragraph.C:
7884         * paragraph_pimpl.C: remove dead tex_code_break_column
7885
7886         * bufferview_funcs.C: small cleanup
7887
7888         * lyxfunc.C: remove dead proto
7889
7890         * lyxtext.h: make some stuff private. Remove some dead stuff.
7891
7892         * lyxgluelength.C: make as[LyX]String() readable
7893
7894 2002-08-08  John Levon  <levon@movementarian.org>
7895
7896         * LyXAction.h:
7897         * LyXAction.C:
7898         * MenuBackend.C:
7899         * ToolbarDefaults.C:
7900         * lyxfunc.C:
7901         * lyxrc.C:
7902         * toc.C: lyxaction cleanup
7903
7904 2002-08-08  John Levon  <levon@movementarian.org>
7905
7906         * BufferView2.C: small cleanup
7907
7908         * lyxfind.h:
7909         * lyxfind.C: move unnecessary header into the .C
7910
7911 2002-08-08  John Levon  <levon@movementarian.org>
7912
7913         * funcrequest.h: just tedious nonsense
7914
7915         * lyx_main.h:
7916         * lyx_main.C: cleanups
7917
7918         * buffer.C:
7919         * vspace.C: remove dead header lyx_main.h
7920
7921 2002-08-07  Angus Leeming  <leeming@lyx.org>
7922
7923         * Paragraph.[Ch]:
7924         * paragraph_pimpl.h:
7925         Forward declare class Counters in paragraph.h by moving the ctrs member
7926         variable into Paragraph::Pimpl.
7927         (counters): new method, returning a reference to pimpl_->ctrs.
7928
7929         * text2.C: ensuing changes.
7930
7931 2002-08-07  John Levon  <levon@movementarian.org>
7932
7933         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7934
7935         * BufferView_pimpl.C: announce X selection on double/triple
7936           click
7937
7938         * lyx_main.C: use correct bool in batch dispatch
7939
7940         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7941
7942 2002-08-07  André Pönitz <poenitz@gmx.net>
7943
7944         * funcrequest.h: new class to wrap a kb_action and its argument
7945
7946         * BufferView.[Ch]:
7947         * BufferView_pimpl[Ch]:
7948         * LaTeX.C:
7949         * LyXAction.[Ch]:
7950         * lyxfunc.[Ch]:
7951         * lyxrc.C: subsequent changes
7952
7953
7954 2002-08-07  John Levon  <levon@movementarian.org>
7955
7956         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7957           document options change.
7958
7959 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7960
7961         * counters.[Ch]
7962         * text2.C
7963         * paragraph.[Ch]
7964         * makefile.am: move counters functionality over from
7965         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7966
7967 2002-08-06  John Levon  <levon@movementarian.org>
7968
7969         * WordLangTuple.h: new file for word + language code tuple
7970
7971         * SpellBase.h:
7972         * pspell.h:
7973         * pspell.C:
7974         * ispell.h:
7975         * ispell.C:
7976         * lyxtext.h:
7977         * text.C:
7978         * text2.C:
7979         * BufferView.h:
7980         * BufferView2.C: use WordLangTuple
7981
7982         * layout.h:
7983         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7984
7985 2002-08-06  John Levon  <levon@movementarian.org>
7986
7987         * lyx_main.C: fix cmdline batch handling
7988
7989 2002-08-06  André Pönitz <poenitz@gmx.net>
7990
7991         * lyxrc.C: set default for show_banner to true
7992
7993 2002-08-06  John Levon  <levon@movementarian.org>
7994
7995         * pspell.C: fix a crash, and allow new aspell to work
7996
7997 2002-08-06  John Levon  <levon@movementarian.org>
7998
7999         * lyxfunc.C:
8000         * kbmap.C: small cleanup
8001
8002         * vspace.h:
8003         * vspace.C: add const
8004
8005 2002-08-05  John Levon  <levon@movementarian.org>
8006
8007         * LyXAction.C: back to tabular-insert
8008
8009 2002-08-04  John Levon  <levon@movementarian.org>
8010
8011         * BufferView.h:
8012         * BufferView.C: cosmetic change
8013
8014         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8015
8016         * bufferlist.C:
8017         * buffer.h:
8018         * buffer.C:
8019         * lyxcb.h:
8020         * lyxcb.C:
8021         * lyxserver.C:
8022         * lyxvc.C:
8023         * vc-backend.C:
8024         * BufferView2.C: purge all "Lyx" not "LyX" strings
8025
8026         * lyxcursor.h:
8027         * lyxcursor.C: attempt to add some documentation
8028
8029         * lyxfunc.C:
8030         * commandtags.h:
8031         * LyXAction.C:
8032         * ToolbarDefaults.C:
8033         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8034           merge with LFUN_TABULAR_INSERT
8035
8036         * Makefile.am:
8037         * SpellBase.h:
8038         * ispell.h:
8039         * ispell.C:
8040         * pspell.h:
8041         * pspell.C: split up i/pspell implementations into separate
8042           files, many cleanups
8043
8044         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8045
8046         * text2.C: some cleanup
8047
8048         * lyxfunc.C: don't check for isp_command == "none" any more, it
8049           didn't make any sense
8050
8051 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8052
8053         * counters.[Ch]
8054         * text2.C
8055         * paragraph.[Ch]
8056         * makefile.am: move counters functionality over
8057         from text2.C/paragraph.[Ch] to counters.[Ch], and
8058         make proper C++.
8059 2002-08-02  John Levon  <levon@movementarian.org>
8060
8061         * buffer.C: s/lyxconvert/lyx2lyx/
8062
8063 2002-08-02  Angus Leeming  <leeming@lyx.org>
8064
8065         * lyxlex.C: revert John's change as it breaks reading of the user
8066         preamble.
8067
8068 2002-08-02  Angus Leeming  <leeming@lyx.org>
8069
8070         * importer.C (Import):
8071         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8072         changes due to LyXView::view() now returning a boost::shared_ptr.
8073
8074 2002-08-02  John Levon  <levon@movementarian.org>
8075
8076         * lyxlex.C: small cleanup
8077
8078 2002-08-02  John Levon  <levon@movementarian.org>
8079
8080         * text2.C (status): small cleanup, no logic change
8081
8082 2002-08-01  John Levon  <levon@movementarian.org>
8083
8084         * buffer.h:
8085         * buffer.C (writeFile): don't output alerts, caller
8086           handles this
8087
8088         * bufferlist.C:
8089         * lyx_cb.C: from above
8090
8091         * lyxfunc.C: allow to open non-existent files
8092
8093 2002-07-31  John Levon  <levon@movementarian.org>
8094
8095         * lyxserver.C: don't let incidental errors get
8096           in the way (errno)
8097
8098 2002-07-30  John Levon  <levon@movementarian.org>
8099
8100         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8101
8102 2002-07-30  John Levon  <levon@movementarian.org>
8103
8104         * lyxserver.h:
8105         * lyxserver.C: remove I/O callback too
8106
8107 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8108
8109         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8110         log.
8111
8112 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * many files: strip,frontStrip -> trim,ltrim,rtrim
8115
8116 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * PrinterParams.h: remove extern containsOnly, and include
8119         support/lstrings.h instead.
8120
8121         * LaTeX.C (scanAuxFile): modify because of strip changes
8122         (deplog): ditto
8123         * buffer.C (makeLaTeXFile): ditto
8124         * bufferparams.C (writeFile): ditt
8125         * lyxfont.C (stateText): ditto
8126         * lyxserver.C (read_ready): ditto
8127         * vc-backend.C (scanMaster): ditto
8128
8129         * BufferView_pimpl.h: ws changes
8130
8131         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8132
8133 2002-07-26  André Pönitz <poenitz@gmx.net>
8134
8135         * kb_sequence.C: remove unnedred usings
8136
8137 2002-07-26  Juergen Vigna  <jug@sad.it>
8138
8139         * lyxfind.C (LyXReplace): we have to check better if the returned
8140         text is not of theLockingInset()->getLockingInset().
8141
8142 2002-07-25  Juergen Vigna  <jug@sad.it>
8143
8144         * lyxfind.C (LyXReplace): don't replace if we don't get the
8145         right LyXText.
8146
8147         * undo_funcs.C (createUndo): remove debugging code.
8148
8149 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8150
8151         * buffer.C (parseSingleLyXformat2Token): Use default placement
8152         when reading old floats.
8153
8154         * FloatList.C (FloatList): Change the default placement of figure
8155         and tables to "tbp".
8156
8157 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8158
8159         * MenuBackend.C: using std::max
8160
8161 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8162
8163         * MenuBackend.C (expandToc):
8164         (expandToc2): code moved from xforms menu frontend. It is now
8165         generic and TOCs are transparent to menu frontends.
8166
8167 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8168
8169         * toc.C (getTocList): protect against buf=0
8170
8171         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8172         Menu as first parameter. Now, this calls itself recursively to
8173         expand a whole tree (this will be useful for TOC handling)
8174         (expandFloatInsert): remove 'wide' version of floats
8175
8176         * MenuBackend.h (submenuname): returns the name of the submenu.
8177         (submenu): returns the submenu itself, provided it has been
8178         created by MenuBackend::expand
8179
8180 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8181
8182         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8183         insets which have noFontChange == true. (bug #172)
8184
8185 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8186
8187         * BufferView_pimpl.C: add connection objects and use them...
8188         (Pimpl): here.
8189
8190 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8191
8192         * MenuBackend.C (expandLastfiles):
8193         (expandDocuments):
8194         (expandFormats):
8195         (expandFloatListInsert):
8196         (expandFloatInsert):
8197         (expand): split expand in parts
8198
8199 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8200
8201         * lyx_gui.C: use lyx_gui::exit()
8202
8203 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * LyXAction.C: show the failing pseudo action
8206
8207 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8208
8209         * buffer.C (readFile): Run the lyxconvert script in order to read
8210         old files.
8211
8212 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8213
8214         * LyXAction.C:
8215         * commandtags.h:
8216         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8217
8218 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8219
8220         * LyXAction.C:
8221         * commandtags.h:
8222         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8223
8224 2002-07-22  Herbert Voss  <voss@lyx.org>
8225
8226         * lengthcommon.C:
8227         * lyxlength.[Ch]: add support for the vertical lengths
8228
8229 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8230
8231         * toc.[Ch]: std:: fixes
8232
8233 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8234
8235         * lyxrc.C: do not include lyx_main.h
8236
8237         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8238         for layouts
8239
8240         * lyxrc.C:
8241         * encoding.C:
8242         * bufferlist.C:
8243         * BufferView2.C: include "lyxlex.h"
8244
8245         * tabular.h:
8246         * bufferparams.h: do not #include "lyxlex.h"
8247
8248         * lyxtextclasslist.C (Add): remove method
8249         (classlist): renamed to classlist_
8250
8251         * paragraph_pimpl.C:
8252         * paragraph.C:
8253         * text2.C:
8254         * CutAndPaste.C:
8255         * bufferview_funcs.C:
8256         * bufferlist.C:
8257         * text.C:
8258         * LaTeXFeatures.C:
8259         * buffer.C:
8260         * toc.C (getTocList): use BufferParams::getLyXTextClass
8261
8262         * toc.C (getTocList): use InsetFloat::addToToc
8263
8264         * toc.[Ch]: new files, containing helper functions to handle table
8265         of contents
8266
8267         * lyxfunc.C (dispatch): no need to remove spaces around command
8268         given as a string
8269         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8270         first command of the sequence; it is not very clever, but I do not
8271         have a better idea, actually
8272
8273         * LyXAction.C (LookupFunc): make sure to remove space at the
8274         beginning and end of the command
8275
8276 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8277
8278         * MenuBackend.C (getMenubar): new method: return the menubar of
8279         this menu set
8280         (read): treat differently reading of menu and menubar (in
8281         particular, the menubar has no name now)
8282         (Menu::menubar): remove
8283
8284         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8285         saving is finished
8286
8287 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8288
8289         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8290         a bibitem inset in a RTL paragraph.
8291
8292 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * paragraph_pimpl.C: constify
8295
8296         * BufferView_pimpl.C:
8297         * LaTeX.C:
8298         * lyxfunc.C: fix dispatch in a nicer way
8299
8300 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8301
8302         * lyxfunc.C (dispatch):
8303         * BufferView_pimpl.C:
8304         * BufferView_pimpl.h:
8305         * BufferView.C:
8306         * BufferView.h: rename Dispatch() to dispatch()
8307
8308         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8309
8310         * lyxlayout.C (Read): honor DependsOn tag
8311
8312         * lyxlayout.[Ch] (depends_on): new method
8313
8314         * version.C.in: update lyx_docversion
8315
8316         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8317
8318         * paragraph.C (validate): remove from here...
8319         * paragraph_pimpl.C (validate): ... and move here
8320         (isTextAt): make it const
8321
8322         * buffer.C (getLists): ws cleanup
8323
8324 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8325
8326         * language.C (read): Use iso8859-1 encoding in latex_lang
8327         (this prevents LyX from crashing when using iso10646-1 encoding).
8328
8329 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * text2.C (toggleInset): if cursor is inside an inset, close the
8332         inset and leave cursor _after_ it
8333
8334 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * lyxfunc.C: move minibuffer completion handling out of here
8337
8338 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * BufferView_pimpl.C:
8341         * LaTeX.C: fix dispatch calls
8342
8343 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8344
8345         * text.C (drawChars): Fix Arabic text rendering.
8346
8347 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * LyXAction.C:
8350         * commandtags.h:
8351         * lyxfunc.C: remove message-push/pop
8352
8353         * lyxserver.C:
8354         * lyxfunc.h:
8355         * lyxfunc.C: rationalise some code by removing verboseDispatch
8356           in favour of a bool argument to dispatch()
8357
8358 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8359
8360         * lyx_main.C (init): make sure to read symlinks as absolute paths
8361
8362 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * lyxfunc.h:
8365         * lyxfunc.C: no need for commandshortcut to be a member
8366
8367 2002-07-15  André Pönitz <poenitz@gmx.net>
8368
8369         * converter.C: add support for $$s (scripts from lib/scripts dir)
8370         * lyx_main.C: white space
8371
8372 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * bufferlist.C:
8375         * lyxrc.h:
8376         * lyxrc.C: remove second exit confirmation
8377
8378 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * BufferView.h:
8381         * BufferView.C:
8382         * BufferView2.C:
8383         * BufferView_pimpl.h:
8384         * BufferView_pimpl.C:
8385         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8386
8387 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8388
8389         * MenuBackend.C (expand): add numeric shortcuts to document menu
8390
8391         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8392
8393 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8394
8395         * lyxfont.C (setLyXFamily):
8396         (setLyXSeries):
8397         (setLyXShape):
8398         (setLyXSize):
8399         (setLyXMisc):
8400         (lyxRead):
8401         * debug.C (value):
8402         * buffer.C (asciiParagraph): use ascii_lowercase
8403
8404 2002-07-15  Mike Fabian  <mfabian@suse.de>
8405
8406         * lyxlex_pimpl.C (search_kw):
8407         * lyxlex.C (getLongString):
8408         * converter.h (operator<):
8409         * converter.C (operator<):
8410         * buffer.C (parseSingleLyXformat2Token):
8411         (asciiParagraph):
8412         * ToolbarDefaults.C (read):
8413         * MenuBackend.C (checkShortcuts):
8414         (read):
8415         * LColor.C (getFromGUIName):
8416         (getFromLyXName): use the compare_ascii_no_case instead of
8417         compare_no_case, because in turkish, 'i' is not the lowercase
8418         version of 'I', and thus turkish locale breaks parsing of tags.
8419
8420 2002-07-16  Angus Leeming  <leeming@lyx.org>
8421
8422         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8423         now takes a Buffer const & argument.
8424
8425 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8426
8427         * BufferView.C (resize): check there's a buffer to resize
8428
8429 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * lyxfunc.C: remove dead code
8432
8433         * lyxserver.h:
8434         * lyxserver.C: use lyx_guii::set_read_callback
8435
8436 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8437
8438         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8439         an inset in a RTL paragraph.
8440
8441 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * lyxfunc.C: repaint after a font size update
8444
8445 2002-07-15  André Pönitz <poenitz@gmx.net>
8446
8447         * lyxlength.C: inBP should be able to return negative values
8448
8449 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8450
8451         * lyxfunc.C: use lyx_gui::update_fonts()
8452
8453 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8454
8455         * lyxfunc.C: use lyx_gui::update_color()
8456
8457 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * bufferlist.C:
8460         * lyxfunc.h:
8461         * lyxfunc.C:
8462         * lyxrc.h:
8463         * lyxrc.C: remove file->new asks for name option, and let
8464           buffer-new take an argument
8465
8466 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8467
8468         * BufferView_pimpl.C: remove unneeded extra repaint()
8469
8470 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * LyXAction.C: allow command-sequence with NoBuffer
8473
8474         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8475
8476 2002-07-10  Angus Leeming  <leeming@lyx.org>
8477
8478         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8479
8480 2002-07-09  Angus Leeming  <leeming@lyx.org>
8481
8482         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8483
8484 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * lengthcommon.h: whitespace
8487
8488         * lyxfunc.C: update scrollbar after goto paragraph
8489
8490         * lyxtext.h: factor out page break drawing, and fix it so
8491           page break/added space paints as selected nicely
8492
8493 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * BufferView_pimpl.C: add FIXMEs, clean up a little
8496
8497 2002-07-09  André Pönitz <poenitz@gmx.net>
8498
8499         * lyxfont.[Ch]: support for wasy symbols
8500
8501 2002-07-08  André Pönitz <poenitz@gmx.net>
8502
8503         * BufferView_pimpl.C: apply John's patch for #93.
8504
8505 2002-07-05  Angus Leeming  <leeming@lyx.org>
8506
8507         * BufferView_pimpl.C (buffer): generate previews if desired.
8508
8509         * LColor.h: add "preview" to the color enum.
8510
8511         * LColor.C (LColor): add a corresponding entry to the items array.
8512
8513         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8514         with this buffer.
8515
8516 2002-07-05  Angus Leeming  <leeming@lyx.org>
8517
8518         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8519         The body of the code is now in the method that is passed an ostream &
8520         rather than a file name.
8521         Pass an additional only_preamble parameter, useful for the forthcoming
8522         preview stuff.
8523
8524 2002-07-03  André Pönitz <poenitz@gmx.net>
8525
8526         * lyxfunc.C: simplify getStatus() a bit for math stuff
8527
8528 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8529
8530         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8531
8532 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * text.C (changeRegionCase): do not change case of all the
8535         document when region ends at paragraph end (bug #461)
8536
8537 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8538
8539         * paragraph.C (startTeXParParams):
8540         (endTeXParParams): add \protect when necessary
8541
8542 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8543
8544         * BufferView_pimpl.C (workAreaExpose): remove warning
8545
8546 2002-06-27  Angus Leeming  <leeming@lyx.org>
8547
8548         * Makefile.am: add lyxlayout_ptr_fwd.h.
8549
8550 2002-06-26  André Pönitz <poenitz@gmx.net>
8551
8552         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8553
8554 2002-06-25  Angus Leeming  <leeming@lyx.org>
8555
8556         * lyxfunc.C (dispatch): Comment out the call to
8557         grfx::GCache::changeDisplay. The method no longer exists now that the
8558         pixmap generation part of the graphics loader has been moved into
8559         InsetGraphics.
8560
8561 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8562
8563         * text2.C: layout as layout
8564
8565         * text.C: layout as layout
8566
8567         * tabular.C (OldFormatRead): layout as layout
8568
8569         * paragraph_pimpl.C (TeXDeeper): layout as layout
8570         (realizeFont): layout as layout
8571
8572         * paragraph.C (writeFile): layout as layout
8573         (validate): layout as layout
8574         (getFont): layout as layout
8575         (getLabelFont): layout as layout
8576         (getLayoutFont): layout as layout
8577         (breakParagraph): layout as layout
8578         (stripLeadingSpaces): layout as layout
8579         (getEndLabel): layout as layout
8580         (getMaxDepthAfter): layout as layout
8581         (applyLayout): layout as layout
8582         (TeXOnePar): layout as layout
8583         (simpleTeXOnePar): layout as layout
8584         (TeXEnvironment): layout as layout
8585         (layout): layout as layout
8586         (layout): layout as layout
8587
8588         * lyxtextclass.C (compare_name): new functor to work with
8589         shared_ptr, layout as layout
8590         (Read): layout as layout
8591         (hasLayout): layout as layout
8592         (operator): layout as layout
8593         (delete_layout): layout as layout
8594         (defaultLayout): layout as layout
8595
8596         * lyxlayout_ptr_fwd.h: new file
8597
8598         * lyxlayout.C (Read): layout as layout
8599
8600         * lyx_cb.C (MenuInsertLabel): layout as layout
8601
8602         * bufferlist.C (newFile): layout as layout
8603
8604         * buffer.C (readLyXformat2): layout as layout
8605         (parseSingleLyXformat2Token): layout as layout
8606         (insertStringAsLines): layout as layout
8607         (asciiParagraph): layout as layout
8608         (latexParagraphs): layout as layout
8609         (makeLinuxDocFile): layout as layout
8610         (simpleLinuxDocOnePar): layout as layout
8611         (makeDocBookFile): layout as layout
8612         (simpleDocBookOnePar): layout as layout
8613         (getLists): layout as layout
8614
8615         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8616
8617         * CutAndPaste.C (cutSelection): layout as layout
8618         (pasteSelection): layout as layout
8619         (SwitchLayoutsBetweenClasses): layout as layout
8620
8621         * BufferView_pimpl.C (Dispatch): layout as layout
8622         (smartQuote): layout as layout
8623
8624         * BufferView2.C (unlockInset): layout as layout
8625
8626 2002-06-24  André Pönitz <poenitz@gmx.net>
8627
8628         * lyxfunc.C: fix #487
8629
8630 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8631
8632         * lyxrc.h:
8633         * lyxrc.C:
8634         * lyxfunc.C: remove display_shortcuts, show_banner
8635
8636 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * Buffer_pimpl.C: oops, update on resize
8639
8640 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * buffer.C:
8643         * converter.C:
8644         * exporter.C:
8645         * lyxfunc.C:
8646         * BufferView.h:
8647         * BufferView.C: use repaint()
8648
8649         * BufferView_pimpl.h:
8650         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8651           as it's a clearer description. Remove superfluous
8652           redraws.
8653
8654 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * text.C: fix bug 488. Not ideal, but getting
8657           getWord() to work properly for the insets that
8658           matter is more difficult ...
8659
8660 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * BufferView_pimpl.C:
8663         * LyXAction.C:
8664         * commandtags.h:
8665         * lyxfunc.C: remove the six million index lyxfuncs to just
8666           one, and DTRT (bug 458)
8667
8668 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * BufferView.h:
8671         * BufferView.C:
8672         * BufferView_pimpl.h:
8673         * BufferView_pimpl.C: clean up resize() stuff,
8674           and unnecessary updateScreen()s
8675
8676 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * BufferView.h:
8679         * BufferView.C:
8680         * BufferView_pimpl.h:
8681         * BufferView_pimpl.C:
8682         * lyxfind.h:
8683         * lyxfind.C:
8684         * minibuffer.C: remove focus management of workarea,
8685           not needed. Use screen's greyOut()
8686
8687 2002-06-17  Herbert Voss  <voss@lyx.org>
8688
8689         * converter.C: (convert) do not post a message, when converting
8690         fails, let the calling function decide what to do in this case
8691
8692 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8693
8694         * lyxfunc.C: tidy up a little
8695
8696 2002-06-16    <alstrup@diku.dk>
8697
8698         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8699         Got rid of FORMS_H_LOCATION include. Now we are
8700         GUII.
8701
8702 2002-06-15  LyX Development team  <lyx@rilke>
8703
8704         * buffer.[Ch] (sgmlOpenTag):
8705         (sgmlCloseTag): Added support for avoiding pernicious mixed
8706         content. Return number of lines written.
8707
8708         (makeLinuxDocFile):
8709         (makeDocBookFile): Fixed calls to sgml*Tag.
8710         Simple white space clean.
8711
8712         (simpleDocBookOnePar): Simple white space clean.
8713
8714         * tabular.[Ch] (docBook): Renamed to docbook and got another
8715         argument to related with the pernicious mixed content.
8716
8717         (docbookRow): Fixed calls for docbook inset method.
8718
8719 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8720
8721         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8722         so it's X11 independent.
8723
8724         * kb*.[Ch]: ditto.
8725
8726         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8727
8728 2002-06-15  Lyx Development team  <lyx@electronia>
8729
8730         * intl.h: Renamed getTrans to getTransManager.
8731
8732 2002-06-14  Angus Leeming  <leeming@lyx.org>
8733
8734         * Makefile.am: nuke forgotten stl_string_fwd.h.
8735
8736 2002-06-12  Angus Leeming  <leeming@lyx.org>
8737
8738         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8739
8740 2002-06-13  Angus Leeming  <leeming@lyx.org>
8741
8742         * LaTeX.C:
8743         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8744
8745 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8746
8747         * kbmap.C (getiso): add support for cyrillic and greek
8748
8749 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * BufferView.h:
8752         * BufferView.C:
8753         * BufferView_pimpl.h:
8754         * BufferView_pimpl.C: move bogus scrolling logic
8755           to xforms
8756
8757 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8758
8759         * lyxfunc.C:
8760         * BufferView_pimpl.C: view->resize() change
8761
8762 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8763
8764         * BufferView_pimpl.C: topCursorVisible
8765           prototype change
8766
8767 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8768
8769         * Makefile.am:
8770         * lyx_gui.h:
8771         * lyx_gui.C: move to frontends/
8772
8773         * main.C:
8774         * lyx_main.h:
8775         * lyx_main.C: changes from above
8776
8777 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * intl.C:
8780         * intl.h:
8781         * kbmap.C:
8782         * kbsequence.C:
8783         * lyx_cb.C:
8784         * lyx_main.C: minor tidy
8785
8786 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8787
8788         * BufferView_pimpl.h:
8789         * BufferView_pimpl.C:
8790         * BufferView.h:
8791         * BufferView.C: make painter() const,
8792           remove dead code
8793
8794         * BufferView2.C: use screen() accessor
8795
8796         * lyx_main.h:
8797         * lyx_main.C: some minor cleanup
8798
8799 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * BufferView_pimpl.h:
8802         * BufferView_pimpl.C: remove enter/leaveView,
8803           use workHeight()
8804
8805 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8806
8807         * BufferView.h:
8808         * BufferView.C:
8809         * BufferView2.C:
8810         * BufferView_pimpl.h:
8811         * BufferView_pimpl.C: only construct screen once,
8812           rename
8813
8814         * lyxrc.C: remove pointless comment
8815
8816 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * BufferView.h:
8819         * BufferView.C: remove active() and belowMouse()
8820
8821         * BufferView_pimpl.h:
8822         * BufferView_pimpl.C: use workarea() not workarea_,
8823           and make it use a scoped_ptr instead
8824
8825 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * lyx_gui.C: add debug message on BadWindow
8828
8829 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8830
8831         * sp_spell.C: fdopen is not part of the C++ standard.
8832
8833         * paragraph.C (InsetIterator): use >= instead of ==
8834
8835 2002-06-07  Angus Leeming  <leeming@lyx.org>
8836
8837         Fixes needed to compile with Compaq cxx 6.5.
8838         * BufferView_pimpl.C:
8839         * DepTable.C:
8840         * buffer.C:
8841         * converter.C:
8842         * encoding.C:
8843         * lyx_gui.C:
8844         * lyx_main.C:
8845         * lyxtextclasslist.C:
8846         * minibuffer.C:
8847         * sp_spell.C:
8848         * tabular_funcs.C:
8849         * vc-backend.C:
8850         all c-library variables have been moved into namespace std. Wrap
8851         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8852
8853         * lyxlength.C:
8854         * tabular-old.C:
8855         * tabular.C:
8856         Add a using std::abs declaration.
8857
8858         * kbmap.h (modifier_pair):
8859         * paragraph.h (InsetTable, InsetList):
8860         * lyxfont.h (FontBits):
8861         type definition made public.
8862
8863         * bufferlist.C (emergencyWriteAll): the compiler complains that
8864         there is more than one possible lyx::class_fun template to choose from.
8865         I re-named the void specialisation as lyx::void_class_fun.
8866
8867         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8868
8869         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8870         the compiler is is unable to find tostr in write_attribute.
8871
8872 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8873
8874         * buffer.C (sgmlError): hide #warning
8875
8876 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8877
8878         * xtl/*: get rid of xtl, which is not in use anyway
8879
8880         * LyXAction.C (init):
8881         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8882         were unimplemented xtl experimentation
8883
8884 2002-06-04  André Pönitz <poenitz@gmx.net>
8885
8886         * lyxfunc.C: disable array operation on simple formulae
8887
8888 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * converter.C: constify a bit
8891
8892 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * lyx_gui.C: check xforms version correctly
8895
8896 2002-04-30  Herbert Voss  <voss@lyx.org>
8897
8898         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8899         "keep" option
8900
8901 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8904           attempt to register it with a VCS)
8905
8906 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * lyx_main.C (init): honor variables LYX_DIR_13x and
8909         LYX_USERDIR_13x
8910
8911 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * buffer.h:
8914         * buffer.C:
8915         * lyx_main.C: fix a crash on bad command line,
8916           and give a useful exit status on error
8917
8918         * lyxfunc.C (doImport): allow -i lyx to work
8919
8920 2002-03-30  André Pönitz <poenitz@gmx.net>
8921
8922         * lyxfunc.C: mathed font changes
8923
8924 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8925
8926         * LaTeX.C:
8927         * importer.h:
8928         * importer.C:
8929         * lyx_sty.h:
8930         * lyx_sty.C:
8931         * lyxlex.C:
8932         * lyxrow.h:
8933         * lyxtext.h:
8934         * paragraph.h:
8935         * paragraph.C:
8936         * texrow.h:
8937         * texrow.C:
8938         * text.C:
8939         * trans_mgr.h: srcdocs, and some minor cleanups
8940
8941 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8942
8943         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8944         call getFont all the time)
8945
8946 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * switch from SigC signals to boost::signals
8949
8950 2002-05-29  André Pönitz <poenitz@gmx.net>
8951
8952         * paragraph_pimpl.C (getChar): don't call size() too often...
8953
8954 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * paragraph_pimpl.C (insertChar): do not try to update tables when
8957         appending (pos == size())
8958
8959         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8960         in order to reduce drastically the number of comparisons needed to
8961         parse a large document
8962
8963 2002-05-29  André Pönitz <poenitz@gmx.net>
8964
8965         * text.C:
8966         * text2.C:
8967         * lyxtextclass.C:
8968         * sp_pspell.h:
8969         * textclasslist.[Ch]:
8970         * sp_ispell.h: whitespace change
8971
8972 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8973
8974         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8975         lyxaction directly now.
8976
8977 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * trans.C:
8980         * lyxfont.C:
8981         * lyxvc.C: remove unused headers
8982
8983 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8984
8985         * Makefile.am:
8986         * buffer.h:
8987         * undostack.h:
8988         * undostack.C:
8989         * undo_funcs.h:
8990         * undo_funcs.C: some cleanups. Use shared_ptr
8991           and a template for the undo stacks.
8992
8993 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8994
8995         * BufferView_pimpl.h:
8996         * BufferView_pimpl.C:
8997         * kbmap.h:
8998         * kbmap.C:
8999         * kbsequence.h:
9000         * kbsequence.C:
9001         * lyxfunc.h:
9002         * lyxfunc.C:
9003         * text2.C: use key_state/mouse_state
9004
9005 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9006
9007         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9008         and LSubstring
9009
9010         * chset.C: change include order
9011         (loadFile): use boost regex and get rid of LRegex and LSubstring
9012
9013         * Makefile.am (BOOST_LIBS): new variable
9014         (lyx_LDADD): use it
9015
9016         * LaTeX.C: change include order.
9017         (scanAuxFile): use boost regex and get rid of LRegex and
9018         LSubstring
9019         (deplog): ditto
9020
9021 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * ColorHandler.h:
9024         * ColorHandler.C:
9025         * FontInfo.h:
9026         * FontInfo.C: moved to frontends/xforms/
9027
9028         * FontLoader.h:
9029         * FontLoader.C: moved into frontends for GUIIzation
9030
9031         * Makefile.am:
9032         * lyx_gui.C:
9033         * lyxfont.C:
9034         * lyxfunc.C: changes from above
9035
9036 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9037
9038         * LColor.C: remove spurious X include
9039
9040         * BufferView_pimpl.C:
9041         * Makefile.am:
9042         * font.h:
9043         * font.C:
9044         * text.C:
9045         * text2.C: move font metrics to frontends/
9046
9047 2002-05-24  Juergen Vigna  <jug@sad.it>
9048
9049         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9050         setting the undo_cursor.
9051
9052         * ParagraphParameters.h: include local includes first.
9053
9054 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * BufferView_pimpl.C:
9057         * BufferView_pimpl.h:
9058         * Makefile.am:
9059         * WorkArea.h:
9060         * WorkArea.C:
9061         * screen.C: move WorkArea into frontends/
9062
9063         * lyxscreen.h:
9064         * screen.C:
9065         * text.C:
9066         * BufferView.C:
9067         * BufferView2.C: move LyXScreen into frontends/
9068
9069         * lyxlookup.h:
9070         * lyxlookup.C:
9071         * lyx_gui.C: move lyxlookup into frontends/xforms/
9072
9073 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * BufferView2.C:
9076         * BufferView_pimpl.C:
9077         * FontLoader.C:
9078         * LyXView.h:
9079         * LyXView.C:
9080         * Makefile.am:
9081         * WorkArea.C:
9082         * XFormsView.h:
9083         * XFormsView.C:
9084         * buffer.C:
9085         * bufferlist.C:
9086         * bufferview_funcs.C:
9087         * converter.C:
9088         * importer.C:
9089         * lyx_cb.C:
9090         * lyx_gui.C:
9091         * lyx_main.C:
9092         * lyx_find.C:
9093         * lyxfunc.C:
9094         * lyxvc.C:
9095         * minibuffer.C:
9096         * text.C:
9097         * text2.C:
9098         * trans.C:
9099         * vc-backend.C: move LyX/XFormsView into frontends/
9100
9101 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9102
9103         * Makefile.am:
9104         * PainterBase.C:
9105         * PainterBase.h:
9106         * Painter.C:
9107         * Painter.h:
9108         * WorkArea.C:
9109         * WorkArea.h:
9110         * screen.C:
9111         * tabular.C:
9112         * text.C:
9113         * text2.C: move Painter to frontends/
9114
9115 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * buffer.C: comment out some some code that depend upon lyx_format
9118         < 220
9119
9120         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9121         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9122
9123         * buffer.h (NO_COMPABILITY): turn off compability
9124
9125         * ColorHandler.C: include scoped_array.hpp
9126
9127         * font.C: Use more specific smart_ptr header.
9128         * Painter.C: ditto
9129         * gettext.C: ditto
9130         * ShareContainer.h: ditto
9131         * lyx_main.h: ditto
9132         * kbmap.h: ditto
9133         * FontInfo.h: ditto
9134         * BufferView_pimpl.h: ditto
9135         * ColorHandler.h: ditto
9136
9137         * kbmap.C (defkey): change call to shared_ptr::reset
9138
9139 2002-05-21  Juergen Vigna  <jug@sad.it>
9140
9141         * buffer.C (insertErtContents): fix to insert ert asis if it is
9142         non empty. Skip it completely if it contains only whitespaces.
9143
9144 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9145
9146         * BufferView_pimpl.C:
9147         * BufferView2.C: clear selection on paste (bug 393)
9148
9149 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9150
9151         * DepTable.C: include ctime
9152
9153 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9154
9155         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9156
9157 2002-05-14  Juergen Vigna  <jug@sad.it>
9158
9159         * text.C (breakParagraph): fixed function to honor the keepempty
9160         layout in the right maner and also to permit the right breaking
9161         algorithm on empty or non empyt keepempty paragraphs.
9162
9163         * paragraph.C (breakParagraph): we have to check also if the par
9164         is really empty (!size()) for isempty otherwise we do the wrong
9165         paragraph break.
9166
9167 2002-05-10  Juergen Vigna  <jug@sad.it>
9168
9169         * buffer.[Ch] : The following are only changes to the ert
9170         compatibility read reading old LaTeX layout and font stuff and
9171         convert it to ERTInsets.
9172
9173         * buffer.h: added isErtInset().
9174
9175         * buffer.C (struct ErtComp): add a fromlayout bool to check
9176         if we're inside a LaTeX layout.
9177         (isErtInset): new helper function.
9178         (insertErtContents): look for other ert insets before this one
9179         and insert the contents there, so that we don't have subsequent
9180         ERT insets with nothing between them. This way we create only one
9181         inset with multiple paragraphs. Also check if we don't insert only
9182         spaces ' ' as they are ignored anyway afterwards in the .tex file
9183         so if we have only spaces we will ignore this latex part in the
9184         new file.
9185         (parseSingleLyXformat2Token \\layout): better compatibility when
9186         reading layout-latex stuff.
9187         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9188         language tag.
9189         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9190         stuff after reading the inset only get the information back from
9191         the stack.
9192
9193 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9194
9195         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9196
9197         * LaTeXFeatures.C (getBabelOptions): New method.
9198
9199 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9200
9201         * BufferView_pimpl.C (Dispatch): work around missing argument for
9202         'layout'
9203
9204 2002-05-08  Juergen Vigna  <jug@sad.it>
9205
9206         * text.C (leftMargin): handle paragraph leftindent.
9207
9208         * paragraph.C (writeFile): write the new \\leftindent tag.
9209         (validate): handle leftindent code.
9210         (TeXEnvironment): handle paragraphleftindent code again.
9211
9212         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9213
9214         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9215         for paragrap_extra indent code and new token \\leftindent.
9216         (latexParagraphs): handle the leftindent as environment.
9217
9218         * ParameterStruct.h: added leftindent support.
9219
9220         * ParagraphParameters.C (leftIndent): added support functions for
9221         the paragraph left indent.
9222
9223         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9224         more appropriate.
9225
9226 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9227
9228         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9229         inside insetERT.
9230
9231         * text.C (computeBidiTables): No bidi in insetERT.
9232
9233         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9234         in RTL documents.
9235
9236 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * version.C.in: pre 5
9239
9240 2002-05-02  José Matos  <jamatos@fep.up.pt>
9241         * buffer.C (makeDocBookFile): white space changes, add newline to
9242         command styles.
9243         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9244
9245         * tabular.C (docBook): fix typo.
9246
9247 2002-05-03  Juergen Vigna  <jug@sad.it>
9248
9249         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9250         change in LyXText as we can not be sure it was not freed.
9251         (drawOneRow): remove unused code.
9252
9253         * text.C (drawInset): redo the calculation of the need_break_row as
9254         it could have a row which was already freed.
9255         (draw): look at the return value of drawInset and return false if
9256         it also returned false.
9257         (paintRowText): look at the return value of draw and return false if
9258         it also returned false.
9259
9260         * lyxtext.h: added bool return type to drawInset() and draw() so that
9261         if we have a change in the row so that the rowbreak has to be redone
9262         we abort drawing as it will be called again.
9263
9264 2002-05-02  Juergen Vigna  <jug@sad.it>
9265
9266         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9267         a change in the maintext also if we're inside an inset.
9268         (Dispatch): set the cursor again after a break line and after the
9269         screen has been updated as it could be we're in a different row.
9270
9271         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9272         to set the cursor behind the pargraph with > size().
9273         (setCursor): check also for the same paragraph when checking where
9274         to put the cursor if we have a NFR inset.
9275
9276         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9277         parts of layout read further up as it still was in the wrong
9278         position.
9279
9280 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * screen.C (drawFromTo): change sine fullRebreak always return
9283         true.
9284
9285         * buffer.C (parseSingleLyXformat2Token): reindent some
9286
9287         * BufferView_pimpl.C (update): change since fullRebreak always
9288         return true.
9289         (Dispatch): git rid of the last hardcoded "Standard"s.
9290
9291 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9292
9293         * text2.[Ch] (fullRebreak): make it return void now that we always
9294         returned true.
9295
9296 2002-04-30  Juergen Vigna  <jug@sad.it>
9297
9298         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9299         ert compatibility check for "latex" layout.
9300
9301 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9302
9303         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9304         minipages: use col% instead of p%, and also use the current font.
9305         (makeLaTeXFile): Fix use babel condition.
9306         (parseSingleLyXformat2Token): Correct font when reading old floats.
9307
9308 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9309
9310         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9311         inserting list of floats.
9312
9313 2002-04-25  Herbert Voss  <voss@lyx.org>
9314
9315         * MenuBackend.C (expand): don't add the graphics extensions to the
9316         export menu
9317
9318 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9321         non-existing layout, do not complain if it was the default layout
9322         of the original class (bug #342)
9323
9324 2002-04-24  Juergen Vigna  <jug@sad.it>
9325
9326         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9327         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9328
9329 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9330
9331         * buffer.C (getBibkeyList): If using \bibliography, return the
9332         option field with the reference itself. Enables us to provide natbib
9333         support when using \bibliography.
9334
9335 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9336
9337         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9338
9339         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9340         natbib is provided by the LaTeX class.
9341
9342 2002-04-23  Juergen Vigna  <jug@sad.it>
9343
9344         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9345         Wakeup functions.
9346
9347         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9348
9349 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9352
9353         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9354         ensuremath around textordmasculine, textordfeminine and
9355         textdegree.
9356
9357 2002-04-19  Juergen Vigna  <jug@sad.it>
9358
9359         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9360         reinitializing the buffer otherwise row-dimensions may be wrong.
9361         (update): reset also the selection cursors if they do exits otherwise
9362         their x/y positions may be wrong.
9363
9364         * text2.C (cursorDown): don't enter the inset if we came from a row
9365         above and are one row over the inset.
9366
9367         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9368         really leaving an inset.
9369
9370 2002-04-18  Juergen Vigna  <jug@sad.it>
9371
9372         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9373         of the selected paragraph does not have the selected layout also if
9374         the last one had!
9375
9376         * text2.C (setLayout): fixed bug which did not change last selected
9377         paragraph.
9378
9379         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9380         changed the read and substituted \\end_float with \\end_inset!
9381
9382         * BufferView_pimpl.C (cursorPrevious):
9383         (cursorNext): fixed to make it work with rows heigher than the work
9384         area without moving the cursor only the draw of the row.
9385         (workAreaMotionNotify): fix jumping over high rows.
9386
9387 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9390         Ressler.
9391
9392 2002-04-16  Juergen Vigna  <jug@sad.it>
9393
9394         * text2.C (setCursor): set also the irow().
9395         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9396         (cursorUp):
9397         (cursorDown): support for locking an inset if the x_fix value goes
9398         inside it. That way I can transverse insets too with cursor up/down.
9399
9400         * lyxrow.h: added irow helper function same as other (i) functions.
9401
9402         * BufferView_pimpl.C (cursorPrevious):
9403         (cursorNext): fixed for insets!
9404
9405 2002-04-15  Juergen Vigna  <jug@sad.it>
9406
9407         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9408         position otherwise it is wrong in some cases.
9409
9410         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9411         inside the inset before the call.
9412
9413 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9414
9415         * buffer.[Ch] (getBibkeyList): make it const.
9416
9417 2002-04-12  Juergen Vigna  <jug@sad.it>
9418
9419         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9420
9421         * text2.C (getCursorX): new helper function
9422         (setCursor): compute also ix_
9423         (setCursorFromCoordinates): set also ix.
9424
9425         * lyxcursor.h: added ix_ and helper functions.
9426
9427         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9428
9429         * buffer.C (insertStringAsLines): dont break paragraph if the this
9430         paragraph is inside an inset which does not permit it!
9431
9432         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9433         also with no chars on this paragraph.
9434         (paintRowText): only paint stuff if it's inside the workarea!
9435
9436         * paragraph.C (breakParagraph): honor keepempty flag and break the
9437         paragraph always below not above.
9438
9439         * BufferView2.C (unlockInset): update the paragraph layout on inset
9440         unlock as we changed paragraph in such a case.
9441
9442         * lyxfind.C (LyXFind): clear the former selection if not found!
9443
9444         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9445         again called in insertChar().
9446
9447         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9448         an inset which uses the whole row!
9449         (rightMargin): ditto.
9450         (insertChar): force a rebreak if we inserted an inset!
9451
9452 2002-03-28  Herbert Voss  <voss@lyx.org>
9453
9454         * lyxlength.[Ch]: add inBP() to get the right PS-point
9455         units (BigPoint). With inPixels we have rounding errors
9456
9457 2002-04-11  Juergen Vigna  <jug@sad.it>
9458
9459         * text2.C (setCursorFromCoordinates): set iy to the right value.
9460         (setCursor): add check if row->previous exists!
9461
9462         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9463         an old float_type as this was the case in the old code!
9464
9465         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9466
9467         * BufferView2.C (showLockedInsetCursor): use iy
9468         (fitLockedInsetCursor): ditto
9469
9470         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9471         locked insets as there we have the right value now.
9472
9473         * lyxcursor.C: added iy_ variable and iy functions to set to the
9474         baseline of cursor-y of the locked inset.
9475
9476         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9477         (setCursor): fixed for insets which need a full row.
9478
9479         * text.C (rowLastPrintable): don't ignore the last space when before
9480         an inset which needs a full row.
9481         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9482         as last character of a row when before a inset which needs a full row.
9483
9484 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9485
9486         * version.C.in: update date
9487
9488         * text2.C (fullRebreak): try to always return true and see what
9489         happens...
9490
9491 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9492
9493         * MenuBackend.C (expand): use Floating::listName
9494
9495         * FloatList.C (FloatList): add listName argument to the built-in
9496         floats
9497
9498         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9499         text associated with the float.
9500
9501 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9504
9505 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9506
9507         * ShareContainer.h: add a couple of missing typenames.
9508
9509 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9510
9511         * lyxrc.C (getDescription): use _() correctly rather than N_().
9512
9513 2002-03-28  Herbert Voss  <voss@lyx.org>
9514
9515         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9516         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9517
9518 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9521         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9522
9523 2002-03-29  Juergen Vigna  <jug@sad.it>
9524
9525         * lyxfunc.C (dispatch): add a missing fitCursor call.
9526
9527         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9528         it was scrolled by a cursor move, so return the bool status.
9529
9530         * BufferView.C (fitCursor): return the bool flag also to the outside
9531         world as this is needed.
9532
9533         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9534
9535         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9536         call the edit() as it is not needed (and wrong) IMO.
9537         (workAreaButtonPress): set the screen_first variable before evt.
9538         unlock the inset as this may change screen_first and then we have
9539         a wrong y position for the click!
9540
9541 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * MenuBackend.C (expand): another translation that I missed
9544
9545 2002-03-28  Juergen Vigna  <jug@sad.it>
9546
9547         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9548
9549         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9550
9551 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9554
9555         * MenuBackend.C (expand): fix export/view/update when there is no
9556         document open.
9557
9558 2002-03-27  Herbert Voss  <voss@lyx.org>
9559
9560         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9561         and text%
9562
9563 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * bufferview_funcs.C (currentState): only show paragraph number
9566         for is DEVEL_VERSION is set.
9567
9568         * lyxfunc.C (dispatch): put warning in INFO channel
9569
9570         * MenuBackend.C (expand): translate the name of floats
9571
9572         * FloatList.C (FloatList): mark the float names for translation
9573
9574         * converter.C (convert): use LibScriptSearch
9575
9576 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9577
9578         * MenuBackend.C (defaults): fix default menu (we might as well get
9579         rid of it...)
9580
9581 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9582
9583         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9584         directory.
9585
9586 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9587
9588         * lyxvc.C: reorder includes.
9589
9590 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9593           properly
9594
9595 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * CutAndPaste.C: change layouts earlier on paste
9598           to avoid crashing when calling getFont()
9599
9600 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9601
9602         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9603         irritating #error.
9604
9605 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9606
9607         * WorkArea.C: remove 'Pending' debug message.
9608
9609         * most files: ws cleanup
9610
9611         * buffer.[Ch]: ws changes
9612
9613         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9614
9615 2002-03-21  Juergen Vigna  <jug@sad.it>
9616
9617         * tabular.C (SetMultiColumn): collapse also the contents of the
9618         cells and set the last border right. Added a Buffer const * param.
9619
9620 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9621
9622         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9623         linking or not.
9624
9625 2002-03-19  Juergen Vigna  <jug@sad.it>
9626
9627         * text2.C (clearSelection): reset also xsel_cache.
9628
9629         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9630         where it needs to be called (John tells us to do so too :)
9631         (selectionLost): reset sel_cache.
9632
9633         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9634
9635 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * text2.C (setCursorIntern): put debuging code in INSETS channel
9638
9639 2002-03-19  André Pönitz <poenitz@gmx.net>
9640
9641         * lyxfunc.C: tiny whitespace change
9642
9643 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9644
9645         * ToolbarDefaults.C (init):
9646         * LyXAction.C (init):
9647         * commandtags.h:
9648         * BufferView_pimpl.C (Dispatch):
9649         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9650
9651 2002-03-19  Allan Rae  <rae@lyx.org>
9652
9653         * exporter.C (Export): removeAutoInsets before doing anything else.
9654         While I've just introduced a dependency on BufferView this really is
9655         the best place to clean the buffer otherwise you need to cleanup in
9656         a dozen places before calling export or cleanup in a dozen functions
9657         that export calls.
9658
9659         * converter.C (runLaTeX):
9660         (scanLog): Better handling of removeAutoInsets and screen updates.
9661
9662         * lyxfunc.C (dispatch): small whitespace changes
9663
9664 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9665
9666         * WorkArea.C (C_WorkAreaEvent): return a value.
9667         (event_cb): return 1 if we handled the event, 0 otherwise.
9668
9669         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9670
9671 2002-03-18  Juergen Vigna  <jug@sad.it>
9672
9673         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9674         (GetAdditionalWidth): ditto.
9675         (RightLine): ditto.
9676         (LeftLine): ditto.
9677
9678         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9679         inset if we're there actually (probably not used right now but this
9680         is the direction to go for unifying code).
9681         (paste): disable code to clear the selection.
9682
9683         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9684         inside an InsetText and move the check further up as it is in the
9685         wrong place.
9686
9687         * text2.C (pasteSelection): set a selection over the pasted text.
9688
9689 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9690
9691         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9692         and libgraphics to build on Cygwin.
9693
9694 2002-03-15  Juergen Vigna  <jug@sad.it>
9695
9696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9697         inserting an Inset into the paragraph. I know this is not the best
9698         fix but we already use current_view in CutAndPaste so we will remove
9699         all of it's using at the same time.
9700
9701         * buffer.C (sgmlError): deactivated function till it is rewritten in
9702         the right mode, now it can create problems.
9703
9704         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9705         before accessing it.
9706
9707 2002-03-14  Juergen Vigna  <jug@sad.it>
9708
9709         * undo_funcs.C (textHandleUndo): do the right thing when updating
9710         the inset after the undo/redo.
9711
9712         * text2.C (setCursor): just some testcode for #44 not ready yet.
9713
9714         * undo_funcs.C (textHandleUndo): set the next() and previous()
9715         pointers of the paragraph to 0 before deleting otherwise we have
9716         problems with the Paragraph::[destructor].
9717
9718         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9719         on a paragraph insertion.
9720
9721 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * buffer.C (asciiParagraph): use += operator for char append to
9724         string.
9725
9726         * paragraph.C (getFontSettings): compare >= not just >
9727         (highestFontInRange): ditto
9728         (setFont): ditto
9729
9730 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9731
9732         * paragraph.C: change several algorithm to be more appripriate for
9733         the problem domain. This is lookip in FontList and in the InsetList.
9734
9735 2002-03-13  André Pönitz <poenitz@gmx.net>
9736
9737         * commandtags.h:
9738         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9739
9740 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * commandtags.h:
9743         * LyXAction.C:
9744         * lyxfunc.C:
9745         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9746
9747 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * Painter.C (display): anon helper function, adjust code for this
9750         change.
9751         (pixmap): remove function.
9752
9753         * Painter.h: remove private display variable.
9754
9755         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9756
9757 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9758
9759         * WorkArea.[Ch]: remove figinset_canvas cruft.
9760
9761 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * lyxtextclass.C (operator): add one item cache optimization.
9764
9765         * bufferlist.h: doxy changes
9766
9767         * bufferlist.C: ws changes
9768
9769         * DepTable.[Ch] (ext_exist): place const in the right spot.
9770
9771         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9772         call resizeInsets.
9773         (workAreaExpose): call resizeInsets when the with BufferView changes.
9774         (Dispatch): adjust for protectedBlank removal
9775         (specialChar): call updateInset if the insert went ok.
9776
9777         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9778         specialChar instead.
9779
9780         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9781
9782         * BufferView.h: doxy change
9783
9784         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9785
9786         * lyxtextclass.C (operator[]): remove non-const version
9787         (defaultLayout): remove non-const version
9788
9789 2002-03-12  Juergen Vigna  <jug@sad.it>
9790
9791         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9792         did resize the LyXText too.
9793
9794         * buffer.C (readLyXformat2): set layout information on newly allocated
9795         paragraphs.
9796
9797         * tabular.C (OldFormatRead): set layout information on the paragraph.
9798
9799 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9800
9801         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9802
9803 2002-03-11  Juergen Vigna  <jug@sad.it>
9804
9805         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9806         plainly wrong.
9807         (resizeCurrentBuffer): force also the insets to resize themselfes.
9808         (moveCursorUpdate): fixed up for InsetText.
9809
9810 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9811
9812         * commandtags.h:
9813         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9814         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9815         value of Dialogs::tooltipsEnabled().
9816         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9817
9818 2002-03-08  Juergen Vigna  <jug@sad.it>
9819
9820         * BufferView_pimpl.C (updateInset): update inset inside inset also
9821         if it isn't inside theLockingInset().
9822
9823 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9824
9825         * buffer.C (asciiParagraph): redo some of the word and line length
9826         handling.
9827         (getLists): look for Caption instead of caption.
9828
9829 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * buffer.C (Buffer): initialize niceFile to true
9832         (makeLaTeXFile):
9833         (makeLinuxDocFile):
9834         (makeDocBookFile): make sure niceFile is true on exit
9835
9836 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9839
9840 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9841
9842         * LyXSendto.C: remove.
9843         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9844         * lyx_gui.C: remove now-redundant comment.
9845         * ColorHandler.h: remove forward declaration of class WorkArea.
9846         * lyxfunc.C: remove #include "WorkArea.h".
9847
9848 2002-03-07  Juergen Vigna  <jug@sad.it>
9849
9850         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9851         got moved away with the DEPM and also set the inset_owner always
9852         right which before could have been omitted.
9853
9854 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9855
9856         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9857         wanted layout is not found.
9858
9859 2002-03-07  Juergen Vigna  <jug@sad.it>
9860
9861         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9862
9863 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * paragraph.C (breakParagraph): use default layout not layout of
9866         prev paragraph.
9867         (Paragraph): clear ParagraphParameters.
9868
9869 2002-03-06  Juergen Vigna  <jug@sad.it>
9870
9871         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9872         otherwise it would not be a valid lenght. Fixed a special case in
9873         the minipage compatibility read where we end the document with a
9874         minipage.
9875
9876         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9877         was set as it could be 0 for InsetTexts first entry.
9878
9879 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * paragraph.C (writeFile): if layout is empty write out
9882         defaultLayoutName().
9883
9884         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9885         file without named layout we set layout to defaultLayoutName().
9886
9887 2002-03-06  Juergen Vigna  <jug@sad.it>
9888
9889         * CutAndPaste.C (copySelection): set layout for new paragraph.
9890
9891         * text.C (prepareToPrint): leave ERT inset left aligned
9892         (leftMargin): don't indent paragraphs inside ERT insets
9893
9894 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9895
9896         * paragraph.C (breakParagraph): dont call clear do the work manually
9897
9898         * paragraph.[Ch] (clear): remove function
9899
9900 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9901
9902         * paragraph.C (Paragraph): dont call clear, the work has already
9903         been done.
9904
9905         * lyxtextclass.C (operator): assert if n is empty
9906
9907         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9908         work manually instead.
9909
9910 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * BufferView_pimpl.C: protect selectionLost against text == 0
9913
9914 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9915
9916         * text.C (breakParagraph): fix a setting layout to '0' problem.
9917
9918 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9919
9920         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9921         final location of file, for the included files, and graphics.
9922
9923 2002-03-05  Juergen Vigna  <jug@sad.it>
9924
9925         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9926
9927 2002-03-04  Juergen Vigna  <jug@sad.it>
9928
9929         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9930
9931         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9932         last column of multicolumn cells.
9933         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9934
9935 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9936
9937         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9938         file if it doesn't go to a temporary file.
9939
9940         * buffer.C (sgmlOpenTag):
9941         (sgmlCloseTag):  remove extra newline insertion.
9942
9943 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9944
9945         * text.C (getRowNearY): comment out debug msg
9946
9947 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9948
9949         * text2.C: first -> first_y
9950
9951         * text.C (getRowNearY): add some attemts at a possible
9952         optimization, not working.
9953
9954         * tabular.[Ch]: add BufferParams to several function so that newly
9955         created paragraph can be initialized to he default layotu for the
9956         buffers textclass.
9957
9958         * tabular-old.C (ReadOld): add buf->params to call of Init
9959
9960         * screen.C: rename text->first to text->first_y
9961
9962         * paragraph.C (breakParagraph): always set layout in the broken
9963         paragraph
9964
9965         * lyxtextclass.C (Read): remove lowercase
9966         (hasLayout): ditto
9967         (operator): ditto
9968         (delete_layout): ditto
9969
9970         * lyxtext.h: rename first -> first_y
9971
9972         * lyxlayout.C (Read): remove lowercase
9973         (name): ditto
9974         (setName): ditto
9975         (obsoleted_by): ditto
9976
9977         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9978
9979         * buffer.C (insertErtContents): add params are to InsetERT
9980         (parseSingleLyXformat2Token): add code to check if a paragraphs
9981         layout really exist.
9982         (parseSingleLyXformat2Token): add params to several inset
9983         constructors
9984         (asciiParagraph): remove lowercase, do the layout comparisons with
9985         no_case
9986
9987         * BufferView_pimpl.C (cursorNext): first -> first_y
9988         (resizeCurrentBuffer): first -> first_y
9989         (updateScrollbar): first -> first_y
9990         (scrollCB): first -> first_y
9991         (workAreaMotionNotify): first -> first_y
9992         (workAreaButtonPress): first -> first_y
9993         (checkInsetHit): first -> first_y
9994         (cursorPrevious): first -> first_y
9995         (cursorNext): first -> first_y
9996         (Dispatch): add buffer_->params to severl inset contructors
9997
9998 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9999
10000         * lyxlayout.C (Read): remove some debug info that I forgot.
10001
10002         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10003         clean up the code slightly.
10004         (makeLinuxDocFile): ditto
10005         (makeDocBookFile): ditto
10006
10007         * text2.C: layout as string
10008
10009         * text.C: layout as string
10010
10011         * paragraph_pimpl.C: layout as string
10012
10013         * paragraph.[Ch]: layout as string
10014
10015         * lyxtextclasslist.[Ch]: layout as string
10016
10017         * lyxtextclass.[Ch]: layout as string
10018
10019         * lyxtext.h: layout as string
10020
10021         * lyxlayout.[Ch]: layout as string
10022
10023         * lyx_cb.C: layout as string
10024
10025         * bufferview_funcs.C: layout as string
10026
10027         * bufferparams.C: layout as string
10028
10029         * buffer.C: layout as string
10030
10031         * LyXView.[Ch]: layout as string
10032
10033         * LaTeXFeatures.[Ch]: layout as string
10034
10035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10036
10037         * BufferView_pimpl.C: change current_layout to string, remove
10038         lyx::layout_type.
10039         (Dispatch):
10040         (smartQuote):
10041         (insertInset):
10042         (workAreaButtonRelease): layout as string
10043
10044         * BufferView2.C (unlockInset): adjust
10045
10046         * vspace.C (asLatexCommand): use an explict temp variable.
10047
10048 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * Makefile.am: use FRONTEND_*
10051
10052 2002-03-01  Juergen Vigna  <jug@sad.it>
10053
10054         * tabular.C (SetWidthOfMulticolCell): changed to something better
10055         I hope but still work in progress.
10056         (recalculateMulticolumnsOfColumn): renamed function from
10057         recalculateMulticolCells as it is more appropriate now.
10058         (SetWidthOfCell): calculate multicols better.
10059
10060 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10063
10064         * lyxfunc.C (processKeySym): print sequence also if it is
10065         `deleted' (complete)
10066
10067         * kbsequence.C (print): print sequence even if it is deleted
10068         (complete would be a better word, actually).
10069
10070         * lyxfunc.C (dispatch): print complete options after a prefix key
10071
10072         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10073
10074 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10075
10076         * text2.C (setCharFont): eliminate setCharFont code duplication.
10077
10078 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10081         LFUN_TABULAR_FEATURE (bug #177)
10082
10083 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10084
10085         * Makefile.am: remove figure.h
10086
10087 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10088
10089         * Bufferview_pimpl.C:
10090         * CutAndPasteC:
10091         * LaTeX.C:
10092         * LyXSendto.C:
10093         * buffer.C:
10094         * bufferlist.C:
10095         * converter.C:
10096         * language.C:
10097         * lyxfunc.C:
10098         * lyxvc.C:
10099         * paragraph.C:
10100         * text.C:
10101         * text2.C: remove #include "lyx_gui_misc.h".
10102
10103         * LaTeX.C: added #include <cstdio>
10104
10105 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10108         that the paragraph following this one can have.
10109
10110         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10111
10112         * vspace.C (asLatexCommand): fix bogus gcc warning
10113
10114         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10115
10116 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10117
10118         * text2.C (setLayout): get rid of redundant code
10119
10120 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10121
10122         * text2.C (incDepth): make sure depth cannot be increased beyond
10123         reasonable values.
10124
10125 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10126
10127         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10128         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10129
10130         * PainterBase.h (image):
10131         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10132         a LyXImage const *.
10133
10134 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * BufferView.C:
10137         * BufferView.h:
10138         * BufferView_pimpl.C:
10139         * BufferView_pimpl.h:
10140         * LaTeXFeatures.C:
10141         * LyXAction.C:
10142         * LyXView.C:
10143         * Makefile.am:
10144         * UpdateList.h:
10145         * UpdateList.C:
10146         * buffer.C:
10147         * figure.h:
10148         * figureForm.C:
10149         * figureForm.h:
10150         * figure_form.C:
10151         * figure_form.h:
10152         * lyx_cb.C:
10153         * lyx_gui.C:
10154         * lyx_gui_misc.C:
10155         * lyxfunc.C:
10156         * sp_base.h:
10157         * sp_ispell.h:
10158         * sp_pspell.h:
10159         * sp_spell.C: remove fig inset, and the crap house of
10160           cards that follows it
10161
10162 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * Makefile.am:
10165         * lyxserver.C:
10166         * os2_defines.h:
10167         * os2_errortable.h:
10168         * nt_defines.h: move .h into support/
10169
10170         * vms_defines.h: remove
10171
10172         * WorkArea.C: add space in debug output
10173
10174         * text2.C:
10175         * paragraph.C:
10176         * buffer.C: add WITH_WARNINGS
10177
10178         * vc-backend.h:
10179         * vc-backend.C:
10180         * bufferlist.C: s/retrive/retrieve/, add docs
10181
10182         * vspace.h:
10183         * vspace.C:
10184         * kbmap.h:
10185         * lyxlength.h:
10186         * lyxgluelength.h:
10187         * length_common.h:
10188         * chset.h:
10189         * chset.C: add docs
10190
10191         * lyxgui.C: add ID to X error handler
10192
10193         * lyxtestclass.c: fix typo
10194
10195 2002-02-26  Juergen Vigna  <jug@sad.it>
10196
10197         * tabular_funcs.C (write_attribute): changed so that some default
10198         attributes are not written at all.
10199         (getTokenValue): set default values before trying to read the
10200         value so we have the return value always set as default if we don't
10201         find the token we search for.
10202
10203         * tabular.C (Write): write bools as bools not as strings!
10204
10205 2002-02-22  Juergen Vigna  <jug@sad.it>
10206
10207         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10208         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10209
10210         * text.C (leftMargin): don't add an indent for paragraphs inside
10211         tabular cells (fix #208).
10212
10213 2002-02-21  José Matos  <jamatos@fep.up.pt>
10214
10215         * tabular.C (docBook): fixed support for long tables.
10216
10217 2002-02-20  Juergen Vigna  <jug@sad.it>
10218
10219         * text2.C (getFont): get the drawing font of the Inset if this
10220         paragraph is inside an inset (only important for InsetERT for now).
10221
10222         * buffer.C (insertErtContents): use new lanugage params in ERT
10223         constructor.
10224
10225         * CutAndPaste.C: commenting out seemingly uneeded code.
10226
10227 2002-02-19  Allan Rae  <rae@lyx.org>
10228
10229         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10230         Iterators might be simple to use but they also get invalidated.
10231         (removeAutoInsets): renamed saved cursor tracking variables and added
10232         some comments to clarify what everything does.
10233
10234 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10235
10236         * Chktex.C:
10237         * LaTeX.C:
10238         * LyXSendto.C:
10239         * converter.C:
10240         * lyx_cb.C:
10241         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10242         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10243
10244         * lyxfunc.C:
10245         * vc-backend.h: remove #include "support/syscall.h"
10246
10247         * LaTeX.C:
10248         * LyXSendto.C:
10249         * converter.C: rearrange #includes in Lars' approved fashion.
10250
10251         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10252         forward declare class Timeout in the header file.
10253
10254         * XFormsView.C: changes due to the above.
10255
10256         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10257         similar to LyXView.
10258
10259         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10260         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10261
10262 2002-02-18  José Matos  <jamatos@fep.up.pt>
10263
10264         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10265         insets contents.
10266
10267 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10268
10269         * a lot of small ws changes
10270         * add a lot of using std::XXX
10271         * use std construcs some places where approp.
10272         * use some exisint stuff from lyxfunctional where approp.
10273         * Make file changes to use partial linking (lets test this now...)
10274
10275 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10276
10277         * Chktex.C:
10278         * buffer.C:
10279         remove #include "support/syscontr.h" as it's redundant. Always has been.
10280
10281         * Chktex.C:
10282         * LaTeX.C:
10283         * LyXSendto.C:
10284         * converter.C:
10285         * lyx_cb.C:
10286         * vc-backend.C:
10287         change Systemcalls::System to Systemcalls::Wait and
10288         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10289         No change of functionality, just reflects the stripped down Systemcalls
10290         class.
10291
10292 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10293
10294         * debug.[Ch]: add a GRAPHICS type to the enum.
10295
10296 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10299
10300         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10301         there is an inset.
10302
10303 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10306         match the changes below.
10307
10308         * text2.C (toggleInset): if there is not editable inset at cursor
10309         position, try to see if cursor is _inside_ a collapsable inset
10310         and close it.
10311
10312 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10315         document menu has a nice checkbox
10316
10317 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * lyxlength.C (asLatexString): change PW to output as percent of
10320         \textwidth.
10321
10322         * lengthcommon.C: change '%' to 't%'
10323
10324         * lyxfunc.C (dispatch): a few comments from Martin
10325
10326 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * WorkArea.h:
10329         * WorkArea.C:
10330         * BufferView_pimpl.h:
10331         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10332           the X selection.
10333
10334 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * vspace.C (inPixels): fix compiler warning
10337
10338 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * lyxfunc.C (getStatus): fix status message for disabled commands.
10341
10342 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * BufferView_pimpl.C: fix crash on close buffer
10345         during selection (#227)
10346
10347 2002-01-27  Herbert Voss  <voss@lyx.org>
10348
10349         * buffer.C: link old Figure to new graphic inset
10350
10351 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10352
10353         * FontLoader.C (getFontinfo): Change the latex font names in order
10354         to match the names of type1inst.
10355
10356 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10357
10358         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10359
10360         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10361         (extchanged): ditto
10362         (ext_exist): ditto
10363         (remove_files_with_extension): ditto
10364         (remove_file): ditto
10365         (write): ditto
10366
10367         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10368         document is smaller than the work area height. Do not initialize
10369         static variables to 0.
10370
10371 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10374
10375         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10376         LFUN_LAYOUT_PARAGRAPHS.
10377
10378         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10379         tabular. It is possible to provide a possible cell, which will
10380         typically be the actcell from the corresponding insettabular
10381
10382         * lyxfunc.C (getStatus): small cleanup; disable
10383         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10384         true
10385
10386 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10389
10390         * paragraph.C (startTeXParParams):
10391         (endTeXParParams): new methods. The LaTeX code to
10392         start/end paragraph formatting
10393         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10394         empty (fixes bug #200)
10395
10396         * vspace.C (inPixels): adapt to the change below
10397         (inPixels): [later] more cleanups (remove unused variables)
10398
10399         * lyxlength.C (inPixels): change to use a width and a height as
10400         parameter.
10401
10402 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10403
10404         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10405         Replaced with \paperwidth
10406
10407         * DepTable.C (insert): add std:: qualifier
10408
10409 2002-01-18  Allan Rae  <rae@lyx.org>
10410
10411         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10412         updated also?
10413
10414         * text.C (drawInset): Turned out I didn't know enough about how
10415         rebreaking worked.  This fixes most of the redraw problems.  I see
10416         an occasional cursor trail when a line is broken now and the cursor
10417         placement can seem out by a few pixels also after a rebreak.
10418
10419 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * buffer.C (parseSingleLyXformat2Token): update because minipage
10422         width is now a LyXLength
10423
10424         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10425
10426         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10427         math insets
10428
10429 2002-01-17  Juergen Vigna  <jug@sad.it>
10430
10431         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10432
10433         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10434         is set correctly and the inset is updated correctly.
10435
10436 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10437
10438         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10439         the beginning of the loop.
10440
10441 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxrc.C: improve help for use_scalable_fonts
10444
10445 2002-01-17  Allan Rae  <rae@lyx.org>
10446
10447         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10448
10449 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10450
10451         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10452         make sure to set their inset_owner to the right value (bug #171)
10453
10454 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10455
10456         * DepTable.h
10457         * DepTable.C: Implement mtime checking to reduce time spent doing
10458         CRCs.
10459
10460 2002-01-16  Juergen Vigna  <jug@sad.it>
10461
10462         * tabular.C (GetAdditionalHeight): one of error fixed.
10463
10464         * lyxrc.C (output): small fix in writing use_pspell.
10465
10466 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10467
10468         * sp_base.h: #include LString.h
10469
10470 2002-01-16  Allan Rae  <rae@lyx.org>
10471
10472         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10473         Can someone check this please?
10474
10475         * text.C (drawInset): It was possible that p.row would be removed by
10476         breakAgainOneRow upsetting a few other settings.  There may be another
10477         small tweak possible by setting need_break_row = 0 when p.row has been
10478         removed but I don't know enough about the logic here.
10479
10480 2002-01-15  Allan Rae  <rae@lyx.org>
10481
10482         * text.C (insertChar): removed conditional truism.
10483
10484         * BufferView2.C (removeAutoInsets): More tweaks.
10485         cur_par_prev could be a stray pointer.  Check for trailing empty line
10486         in case last line was cur_par and only had an error inset on it.
10487
10488 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10491         absolute
10492
10493         * vc-backend.C (most methods):
10494         * exporter.C (Export):
10495         * converter.C (convert):
10496         (runLaTeX):
10497         * LyXSendto.C (SendtoApplyCB):
10498         * lyxfunc.C (dispatch):
10499         (menuNew):
10500         (open):
10501         (doImport):
10502         * lyx_cb.C (AutoSave):
10503         (InsertAsciiFile):
10504         * BufferView_pimpl.C (MenuInsertLyXFile):
10505         * buffer.C (runChktex): use Buffer::filePath().
10506
10507         * buffer.h: rename filename to filename_; rename filepath to
10508         filepath_ and make it private
10509         (filePath): new method
10510
10511         * buffer.C (writeFile): use fileName()
10512         (getLatexName):
10513
10514         * lyx_main.C (init): fix starting  of LyX when the binary is a
10515         link from so,ewhere else.
10516
10517         * minibuffer.C: include <cctype> for isprint
10518
10519 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10520
10521         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10522         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10523         name clash with InsetCollapsable's width function.
10524
10525 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * lastfiles.C: include <iterator>
10528
10529 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10530
10531         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10532         std::count.
10533
10534         * buffer.C (makeLaTeXFile): ditto.
10535         Also make loop operation more transparent.
10536
10537 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10538
10539         * ToolbarDefaults.C: remove trailing comma closing namespace.
10540
10541         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10542
10543         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10544         as in WorkArea.
10545
10546         * trans.C (Load): comment out unused variable, allowed.
10547
10548 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * minibuffer.[Ch] (append_char): new method to recieve input from the
10551         drop-down completion browser. If a key was pressed, then recieve this
10552         char and append it to the existing string.
10553         (peek_event): modify the positioning data passed to the completion
10554         browser so that it can be placed above the minibuffer rather than below.
10555 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * LyXAction.C (init): alloe error-next for readonly documents.
10558
10559         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10560         count.
10561
10562 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10563
10564         * bufferlist.C (readFile): create the buffer _after_ checking that
10565         the file exists.
10566
10567         * lyxfunc.C (verboseDispatch): fix handling of arguments
10568
10569         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10570
10571         * lyxrc.C: use string::erase() instead of initializing to "".
10572
10573
10574 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * BufferView_pimpl.h:
10577         * BufferView_pimpl.C:
10578         * WorkArea.h:
10579         * WorkArea.C:
10580         * text2.C: tell X when we have made a selection for copying
10581
10582 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10583
10584         * BufferView_pimpl.C (MenuInsertLyXFile):
10585         * lyxfunc.C (menuNew):
10586         (open):
10587         (doImport): add shortcuts to directory buttons
10588
10589         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10590         open a float)
10591
10592         * lyxfunc.C (setStatusMessage):
10593         (getStatusMessage): new methods
10594         (getStatus):use setStatusMessage instead of setErrorMessage
10595         (dispatch): when function is disabled, set error message here
10596         [instead of in getStatus previously]
10597
10598         * BufferView_pimpl.C (workAreaButtonRelease): update
10599         toolbar/menubar here too.
10600
10601 2002-01-13  Allan Rae  <rae@lyx.org>
10602
10603         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10604         Now seems indestructible.  Remaining task is to audit all other
10605         code affected by deleteEmptyParagraphMechanism.  One small quirk
10606         left is that an empty document with an error in the preamble can
10607         be made to report an error but no error box appears.  I don't know
10608         where it goes.
10609         (removeAutoInsets): Improved comments.
10610
10611 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * Thesaurus.h:
10614         * Thesaurus.C: update for Aiksaurus 0.14
10615
10616 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * text2.C (firstParagraph): removed member function, all uses
10619         replaces with ownerParagraph
10620         (redoParagraphs): here
10621         (updateInset): here
10622         (toggleAppendix): here
10623         * BufferView2.C (insertErrors): here
10624         (setCursorFromRow): here
10625
10626 2002-01-13  Allan Rae  <rae@lyx.org>
10627
10628         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10629         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10630         There is still a way to segfault this although you may have to do this
10631         multiple times: Have an InsetERT with an unknown command in it.
10632         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10633         <down-arrow>, <Enter> again, View->DVI, BANG!
10634
10635         * text2.C (setCursor):
10636         (deleteEmptyParagraphMechanism):
10637         * lyxtext.h (setCursor):
10638         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10639         Making use of the return value may help fix other bugs.
10640
10641 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10644
10645         * LyXView.C (updateMenubar): call MenuBar::update here
10646         (updateToolbar): but not here
10647         (showState): do not update toolbar/menubar
10648
10649         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10650         should need to care about that.
10651
10652         * lyxfunc.C (verboseDispatch): simplify a bit
10653         (getStatus): have a version which takes a pseudoaction, and
10654         another which requires a (kb_action,string).
10655
10656         * LyXAction.C (retrieveActionArg): make it work also when action
10657         is not a pseudo-action.
10658         (getActionName): simplify a bit
10659         (helpText):
10660
10661 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * lyxfunc.C (verboseDispatch): new families of methods with
10664         several ways to specify a command and a bool to indicate whether
10665         the command name and shortcut should be displayed in minibuffer
10666         (eventually, we could extend that to a finer bitmask like
10667         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10668         (dispatch): the pristine dispatch command which just, well,
10669         dispatchs! Note it still sets its result to minibuffer; I'm not
10670         sure we want that.
10671
10672         * lyxfunc.h: remove setHintMessage
10673
10674         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10675
10676 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * BufferView_pimpl.C (specialChar): delete new inset if we have
10679         not been able to insert it.
10680
10681         * kbmap.C: revert to using int instead of kb_action, since all we
10682         are dealing with is pseudo-actions.
10683
10684         * LyXAction.C (searchActionArg): change to return int instead of
10685         kb_action, since the result is a pseudoaction.
10686
10687 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * buffer.C (insertErtContents): Fix (partially) the font bug.
10690
10691 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10692
10693         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10694         as the other one is broken on my machine!
10695
10696 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10697
10698         * commandtags.h:
10699         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10700
10701 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10702
10703         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10704         reflect their actual use. Provide compatibility code for older lyxrc
10705         files.
10706
10707         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10708         FL_NORMAL_STYLE.
10709         change names of popup font variables in line with the changes to lyxrc.C
10710
10711 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10712
10713         * buffer.C (asciiParagraph): avoid outputing a word twice after
10714         an inset.
10715
10716         * lyxrc.C (getDescription): document that document_path and
10717         template_path can be empty.
10718
10719 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * LaTeXFeatures.C (getMacros):
10722         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10723
10724         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10725
10726         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10727         getPackages.
10728         (getPackages): rename feature "floats" to "float". Use an array to
10729         iterate over 'simple' features (i.e. just a \usepackage). Add
10730         handling of "amsmath" (renamed from "amsstyle").
10731
10732 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10733
10734         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10735         features list.
10736
10737 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10738
10739         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10740         FuncStaus::FuncStatus & FuncStaus::some_method().
10741
10742 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10743
10744         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10745         of the func_satus stuff. Edited and massaged in various ways by
10746         JMarc.
10747
10748         * lyxfunc.C (getStatus): use FuncStatus
10749
10750 2002-01-08  Juergen Vigna  <jug@sad.it>
10751
10752         * text.C (nextBreakPoint): use function Inset::isChar().
10753
10754         * paragraph.C (TeXOnePar): use function
10755         Inset::forceDefaultParagraphs.
10756
10757         * buffer.C (latexParagraphs): use function
10758         Inset::forceDefaultParagraphs.
10759
10760 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10761
10762         * lyx_gui.C (init): set the style of the menu popups to
10763         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10764
10765 2002-01-07  Juergen Vigna  <jug@sad.it>
10766
10767         * text.C (setHeightOfRow): small fix
10768         (prepareToPrint): don't look at alignment if we don't have the place
10769         for doing it.
10770
10771 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10772
10773         * box.C: New file. Move the Box methods and functions out of box.h,
10774         following Lars' suggestion.
10775
10776 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10777
10778         * box.h: #include "support/LOstream.h", needed for inlined function.
10779
10780         * lyxtextclass.C:
10781         * lyxtextclasslist.C: added some using std declarations.
10782
10783 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * box.h: make signed dimensions to allow insets wider than
10786           the screen (bug #162)
10787
10788         * BufferView_pimpl.C: add some insetHit debug
10789
10790 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * vc-backend.C: add FIXME
10793
10794 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * lyxfunc.C (getStatus): enable code for showing math font status
10797         in toolbar/menu.
10798
10799 2002-01-07  Juergen Vigna  <jug@sad.it>
10800
10801         * text.C (nextBreakPoint): removed debug output not needed anymore.
10802
10803 2002-01-06  Juergen Vigna  <jug@sad.it>
10804
10805         * text.C (nextBreakPoint): fixed up this function we had this bug
10806         since ever but now hopefully we break row better.
10807         (insertChar): we have to check if an inset is the next char as it
10808         could now happen that a large inset is causing a break.
10809
10810 2002-01-05  Juergen Vigna  <jug@sad.it>
10811
10812         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10813         if it doesn't like to be drawed.
10814
10815 2002-01-04  Juergen Vigna  <jug@sad.it>
10816
10817         * BufferView2.C (lockInset): forgot to set a cursor.
10818
10819         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10820
10821 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10822
10823         * FormMathsPanel.C:
10824         * FormMathsPanel.h
10825         * MathsSymbols.C:
10826         * form_maths_panel.C:
10827         * form_maths_panel.h:
10828         * form_maths_panel.fd: implemented sub- and super- buttons in math
10829         panel.
10830
10831         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10832         (or ^ space) to be used as in TeX (req'd by André).
10833
10834         * lyxfunc.C: Allow ^ and _ again to be used both as
10835         super/subscript (mathed) and as themselves (in text).
10836
10837 2002-01-03  Allan Rae  <rae@lyx.org>
10838
10839         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10840         "LyX" or the filename of the current buffer if it has one.  This is a
10841         modified form of John Levon's patch.
10842
10843         * XFormsView.C (setWindowTitle): also set icon title.
10844
10845         * LyXView.h (setWindowTitle): signature changed.
10846         * XFormsView.h (setWindowTitle): ditto.
10847
10848 2002-01-02  Juergen Vigna  <jug@sad.it>
10849
10850         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10851
10852 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * screen.C (topCursorVisible): introduce a temp var for
10855         text->cursor.row(), handle the case where this row is null. (kindo
10856         hachish)
10857
10858         * text2.C (setCursor): add a couple of asserts.
10859
10860         * paragraph.h (inset_iterator): add -> operator
10861
10862         * paragraph.[Ch] (autoDeleteInsets): remove member function
10863
10864         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10865         cursor pos correctly and handle inset deletion by itself.
10866         (insertErrors): move iterator declaration out of for expression
10867
10868         * lyxtextclass.C: add <algorithm>
10869
10870         * Makefile.am: added the new files to sources, removed layout.C
10871
10872         * layout.C: removed file
10873
10874         * layout.h: remove LYX_DUMMY_LAYOUT
10875
10876         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10877         layout.
10878
10879         * lyxlayout.[Ch]:
10880         * lyxtextclass.[Ch]:
10881         * lyxtextclasslist.[Ch]: new files
10882
10883         * include order changes to a lot of files, also changes because of
10884         the six new files.
10885
10886 2001-12-27  Juergen Vigna  <jug@sad.it>
10887
10888         * buffer.C (asciiParagraph): more fixes.
10889
10890         * tabular.C (ascii): make ascii export support export of only the
10891         data separated by a column-delimiter.
10892         (ascii): better support for ascii export.
10893
10894         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10895
10896 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * tabular_funcs.C: use a "using std::getline" instead of the
10899         previous fix from Angus (necessary for cxx + lyxstring)
10900
10901 2001-12-24  Juergen Vigna  <jug@sad.it>
10902
10903         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10904
10905         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10906         problems. First check a minipage also if we have some ert-contents
10907         (not only on par->size(), second set the right depth of the paragraph
10908         on the relink to the root-paragraph-list!
10909
10910         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10911         which then did not anymore update the main paragraphs on undo/redo!
10912
10913 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10916         code. Support all font-changing funcs (even those which are not in
10917         menu currently). Support for reporting font settings in
10918         mathed (disabled until Andre provides a function on mathed's side).
10919
10920         * func_status.h (toggle): small helper function to set toggle
10921         state on a flag.
10922
10923 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10924
10925         * tabular_funcs.C: getline -> std::getline
10926
10927 2001-12-21  Juergen Vigna  <jug@sad.it>
10928
10929         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10930         accessed and could be 0 (I couldn't generate this but it seems
10931         Michael could!).
10932
10933 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10934
10935         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10936         * tabular_funcs.h: here and include iosfwd
10937
10938 2001-12-20  Juergen Vigna  <jug@sad.it>
10939
10940         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10941         inside inset but undo_par was.
10942
10943 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * Thesaurus.C: always include <config.h> in sources.
10946
10947         * Painter.h:
10948         * lyxlookup.h:
10949         * box.h: do not include <config.h> in header files
10950
10951         * text.C (paintLastRow): remove unused variable
10952
10953         * text.C (transformChar):
10954         (insertChar):
10955         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10956
10957         * Painter.C (text):
10958         * font.C (width): rewrite to use uppercase() instead of
10959         islower/toupper.
10960
10961         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10962
10963 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10964
10965         * lyxfind.C: clean up of find failure position change
10966
10967 2001-12-20  Juergen Vigna  <jug@sad.it>
10968
10969         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10970
10971         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10972         (TeXRow): added to LaTeX a single tabular row.
10973         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10974         (Latex): simplified and finally good LT-h/f support.
10975         (various_functions): just small adaptions for LT-h/f support.
10976
10977         * tabular_funcs.[hC]: added and moved here all not classfunctions
10978         of LyXTabular.
10979
10980 2001-12-19  Juergen Vigna  <jug@sad.it>
10981
10982         * tabular.[Ch]: better support for longtabular options (not finished
10983         yet!)
10984
10985 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * text.C (paintLastRow): use the label font instead of the font of
10988         the last character to compute the size of *_BOX. This makes more
10989         sense and avoids a crash with empty paragraphs.
10990         Use Painter::rectangle to draw EMPTY_BOX.
10991
10992 2001-12-19  Juergen Vigna  <jug@sad.it>
10993
10994         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10995         the paragraphs if the replaced paragraph is not the first one!
10996         Tried to delete not used paragraphs but does not work yet so for
10997         now it's inside #ifdef's and by default off!
10998
10999 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * MenuBackend.C: include "lyx_main.h" instead of declaring
11002         lastfiles (actually was declared as LastFiles* instead of a
11003         scoped_ptr).
11004
11005 2001-12-17  Juergen Vigna  <jug@sad.it>
11006
11007         * tabular.C (AppendColumn): applied John's fix
11008
11009 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * BufferView.h:
11012         * BufferView.C:
11013         * BufferView_pimpl.h:
11014         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11015
11016         * Makefile.am:
11017         * box.h: new start of class for above
11018
11019         * lyxfunc.C: ignore space-only minibuffer dispatches.
11020           Show the command name when it doesn't exist
11021
11022         * minibuffer.C: don't add empty lines to the history
11023
11024         * minibuffer.C: add a space on dropdown completion
11025
11026 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11027
11028         * text.C: fix line above/below drawing in insets
11029
11030 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11031
11032         * lyxlength.C (LyXLength): Initialize private variables.
11033
11034 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11035
11036         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11037         when inserting error insets.
11038
11039 2001-12-13  Juergen Vigna  <jug@sad.it>
11040
11041         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11042         actually sometimes the before-paragraph.
11043         (setUndo): don't clear the redostack if we're not actually undoing!
11044
11045 2001-12-06  Juergen Vigna  <jug@sad.it>
11046
11047         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11048         and fixed redoing of main paragraph, so we can use it now ;)
11049
11050         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11051
11052 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11053
11054         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11055         Juergen's request
11056
11057 2001-12-13  André Pönitz <poenitz@gmx.net>
11058
11059         * undostack.[Ch]:
11060         * undo_func.C: minor cleanup
11061
11062 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11065         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11066         font in urw-fonts package which is marked as -urw-fontspecific and
11067         does not work (incidentally, changing the encoding in the
11068         fonts.dir of this package to -adobe-fontspecific fixes the
11069         problem).
11070
11071         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11072         is a crash when undoing first paragraph (Juergen, please take a
11073         look). THis does not mean the undo fix is wrong, just that it
11074         uncovers problems.
11075
11076         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11077         the (Paragraph*) version when needed instead of duplicating the
11078         code.
11079
11080         * text.C (workWidth): use Inset::parOwner to find out where the
11081         inset has been inserted. This is a huge performance gain for large
11082         documents with lots of insets. If Inset::parOwner is not set, fall
11083         back on the brute force method
11084
11085         * paragraph_pimpl.C (insertInset):
11086         * paragraph.C (Paragraph):
11087         (cutIntoMinibuffer): set parOwner of insets when
11088         inserting/removing them
11089
11090         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11091
11092 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11093
11094         * commandtags.h:
11095         * LyXAction.C:
11096         * lyx_main.C:
11097         * lyxfunc.C:
11098         * mathed/formulabase.C:
11099         * mathed/math_cursor.[Ch]:
11100         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11101
11102
11103 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * lyxlength.[Ch] (operator!=): new function
11106
11107 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * text.C (workWidth): use Inset::parOwner to find out where the
11110         inset has been inserted. This is a huge performance gain for large
11111         documents with lots of insets. If Inset::parOwner is not set, fall
11112         back on the brute force method
11113
11114         * paragraph_pimpl.C (insertInset):
11115         * paragraph.C (Paragraph):
11116         (cutIntoMinibuffer): set parOwner of insets when
11117         inserting/removing them
11118
11119         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11120
11121 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * tabular-old.C (getTokenValue):
11124         * tabular.C (getTokenValue):
11125         (write_attribute): new versions for LyXLength
11126         (everywhere): adjust the use of widths
11127
11128         * tabular.h: change the type of widths from string to LyXLength
11129
11130 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11131
11132         * paragraph.C: fixed missing line number count when exporting
11133         Environments to LaTeX file
11134
11135         * buffer.C: added informational message for checking line numbers.
11136
11137 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11140         paragraph, do the 'double space' part, but not the 'empty
11141         paragraph' one.
11142
11143         * text.C (workWidth): small optimization
11144         (getLengthMarkerHeight): use minimal size for negative lengths.
11145
11146 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11149
11150         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11151
11152 2001-12-11  André Pönitz <poenitz@gmx.net>
11153
11154         * FontLoader.C:
11155         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11156
11157 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * text2.C: keep selection on a setFont()
11160
11161 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * lyx_cb.C: another bv->text misuse, from insert label
11164
11165 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * kbsequence.h:
11168         * kbsequence.C: re-instate nmodifier mask
11169
11170 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11171
11172         * lyx_main.h: make lyxGUI private.
11173
11174 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * lyxfind.C: place the cursor correctly on failed search
11177
11178 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * text.C (getLengthMarkerHeight): for small heights, the arrows
11181         are not always on top/bottom of the text
11182         (drawLengthMarker): smaller arrows; take the left margin in
11183         account; draw also vfills.
11184         (paintFirstRow):
11185         (paintLastRow): remove special code for vfill and standard spaces,
11186         since everything is handled in drawLengthMarker now.
11187
11188 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * buffer.C (insertErtContents): try to handle font and language
11191         interaction a bit better.g
11192
11193         * ColorHandler.C (updateColor): change the hash to cover the whole
11194         LColor enum, ws cleanup
11195         (getGCLinepars): ditto
11196         (getGCLinepars): only lookup in the linecache once.
11197
11198 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11199
11200         * iterators.C (operator++): Make the iterator more robust
11201
11202         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11203         (John's patch)
11204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11205
11206 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * lyxtext.h:
11209         * text.C: better added space drawing
11210
11211 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * LyXView.C:
11214         * BufferView2.C: fix layout combo update on inset unlock
11215
11216 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * Makefile.am: don't compile unused files
11219
11220 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * lyxfunc.C:
11223         * commandtags.h:
11224         * LyXAction.C: remove old LFUN_LAYOUTNO
11225
11226 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * paragraph_pimpl.h:
11229         * paragraph_pimpl.C: isTextAt() doesn't need font param
11230
11231 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * lyxlex.h:
11234         * lyxlex.C: little cleanup
11235
11236 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * BufferView_pimpl.C: fix insertAscii for insets
11239
11240 2001-12-05  Juergen Vigna  <jug@sad.it>
11241
11242         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11243         set the right font on the "multi" paragraph paste!
11244
11245 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * trans_decl.h:
11248         * trans_mgr.[Ch]:
11249         * trans.[Ch]:
11250         * lyxgluelength.C:
11251         * lyxlength.C: remove out-commented code.
11252
11253         * BufferView_pimpl:
11254         * CutAndPaste.C:
11255         * DepTable.C:
11256         * buffer.C:
11257         * chset.C:
11258         * lastfiles.C:
11259         * lyxlex.C:
11260         * lyxlex_pimpl.C:
11261         * lyxserver.C:
11262         * screen.C:
11263         * tabular-old.C:
11264         * tabular.C:
11265         * text.C:
11266         * trans_mgr.C:
11267         * vc-backend.C: change "while(" to "while ("
11268
11269         * lyxlength.[Ch]: add zero function to check if length is zero or
11270         not
11271         * lyxgluelength.C: use it
11272
11273 2001-12-05  Allan Rae  <rae@lyx.org>
11274
11275         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11276         Works for 2.95.3, from what I understand of Garst's reports this should
11277         work for other g++ versions.  We're screwed if the abs(int) definition
11278         changed between bugfix releases of gcc.
11279
11280 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * text.C: fix chapter label offset !
11283
11284 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * lyxtext.h:
11287         * text.C: fix hfill at end of line, clean up
11288
11289 2001-12-04  Juergen Vigna  <jug@sad.it>
11290
11291         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11292         that we force an update of the inset and it's owners if neccessary.
11293
11294 2001-12-03  Juergen Vigna  <jug@sad.it>
11295
11296         * text.C (rowLast): simplified code
11297
11298 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * lyxfunc.C: fix show options on timeout
11301
11302 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * screen.C (topCursorVisible): scroll half a page when the cursor
11305         reached top of bottom of screen
11306
11307 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11308
11309         * minibuffer.C: deactivate on loss of focus
11310
11311 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * vspace.[Ch] (operator!=): add operator.
11314
11315 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * BufferView_pimpl.C: refuse to open an inset when
11318         there's a selection.
11319
11320 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * BufferView_pimpl.C: allow to click on RHS of full row insets
11323
11324 2001-11-30  Juergen Vigna  <jug@sad.it>
11325
11326         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11327         insets for undo reasons.
11328
11329 2001-11-28  André Pönitz <poenitz@gmx.net>
11330
11331         * vspace.[Ch]: cosmetical changes
11332
11333 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * LyXAction.h:
11336         * LyXAction.C:
11337         * lyxfunc.h:
11338         * lyxfunc.C:
11339         * kbmap.h:
11340         * kbmap.C:
11341         * lyxrc.C:
11342         * kbsequence.h:
11343         * kbsequence.C: part re-write of old kb code
11344
11345         * Painter.C:
11346         * WorkArea.C: remove Lgb_bug_find_hack
11347
11348 2001-11-30  José Matos <jamatos@fep.up.pt>
11349
11350         * buffer.C (makeDocBookFile): add a comment to point a hack.
11351         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11352         Fixed a double write of labels.
11353
11354 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11355
11356         * LaTeX.C:
11357         * LaTeX.h Fixed bug in LaTeX class where it would not
11358         re-run latex if no depfiles were changed, but the .dvi was removed.
11359
11360 2001-11-28  André Pönitz <poenitz@gmx.net>
11361
11362         * all the files from the change on 2001/11/26:
11363         use lyx::layout_type instead of LyXTextClass::size_type
11364         use lyx::textclass_type instead of LyXTextClassList::size_type
11365
11366 2001-11-29  Juergen Vigna  <jug@sad.it>
11367
11368         * text.C: added support for paragraph::isFreeSpacing()
11369
11370         * buffer.C: same as above
11371
11372         * paragraph.h: inserted isFreeSpacing() function to enable
11373         FreeSpacing inside InsetERT.
11374
11375         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11376         of the paragraph's in the cut/copy buffer to 0!
11377
11378         * text2.C (removeRow): remove the assert as it can!
11379
11380         * lyxtext.h: added helper function firstRow returning firstrow and
11381         made firstrow private again.
11382
11383         * BufferView2.C (lockInset): don't relock if we're already locked!
11384
11385         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11386         the only paragraph.
11387         (removeRow): added Assert::(firstrow)
11388
11389         * debug.C: forgot to add INSETTEXT here.
11390
11391 2001-11-28  Juergen Vigna  <jug@sad.it>
11392
11393         * sp_spell.C (initialize): changed error text to more general
11394         spellchecker command use (not only ispell!)
11395
11396         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11397
11398         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11399
11400 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * vspace.C: initialise lyxgluelength on failure
11403
11404 2001-11-28  Allan Rae  <rae@lyx.org>
11405
11406         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11407         declaration & definition that looks like a function declaration.
11408
11409 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11410
11411         * BufferView2.C (copy):
11412         (copyEnvironment): do not clear the selection when doing a copy.
11413
11414         * text.C (paintFirstRow): compilation fix
11415
11416 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11417
11418         * tabular.C (Latex): correct line count when writing latex.
11419
11420 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * paragraph_pimpl.h:
11423         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11424           bug a bit
11425
11426 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * text.C:
11429         * LColor.h:
11430         * LColor.C: change vfillline->added_space
11431
11432         * text.C: add markers and text for added space
11433
11434         * vspace.C: fix comment
11435
11436 2001-11-28  André Pönitz <poenitz@gmx.net>
11437
11438         * paragraph.C: whitespace changes
11439         * all the other files from the change on 2001/11/26:
11440         change *::pos_type into lyx::pos_type
11441
11442 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11443
11444         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11445         language of the document when inserting error insets.
11446
11447 2001-11-26  André Pönitz <poenitz@gmx.net>
11448
11449         * BufferView_pimpl.[Ch]:
11450         *       CutAndPaste.C:
11451         * buffer.[Ch]:
11452         * lyxcursor.[Ch]:
11453         * lyxfind.C:
11454         * lyxfunc.C:
11455         * lyxrow.[Ch]:
11456         * paragraph.[Ch]:
11457         * paragraph_pimpl.[Ch]:
11458         * sp_spell.C:
11459         * text.C:
11460         * text2.C: reduce header dependencies, introduce type for positions
11461
11462 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * <various>: change to use Alert.h
11465
11466 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11467
11468         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11469         when encountering an unknown token.
11470         (readLyXformat2): Show an error message if there were unknown tokens.
11471
11472 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView2.C:
11475         * BufferView_pimpl.C:
11476         * buffer.C:
11477         * paragraph.h:
11478         * text.C:
11479         * text2.C: use par->isInset()
11480
11481 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * paragraph_pimpl.h:
11484         * paragraph_pimpl.C: cleanup
11485
11486 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11487
11488         * text2.C (removeRow):
11489         * text.C (setHeightOfRow): remove useless (and costly) call to
11490         getRow.
11491
11492 2001-11-20  Allan Rae  <rae@lyx.org>
11493
11494         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11495         Now need Inset*::checkInsertChar() to return true for appropriate
11496         cases so that the characters in the minibuffer will actually be
11497         inserted.
11498
11499 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11500
11501         * text.C: change the order of the includes.
11502         (workWidth): initialize it at once.
11503         (workWidth): make maxw unsigned
11504         (setHeightOfRow): remove unused variable (inset)
11505         (selectSelectedWord): remove unused variable (inset)
11506         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11507
11508 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11509
11510         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11511         server is not running.
11512         (openConnection):
11513         (closeConnection): add debug info when server is disabled.
11514
11515         * ColorHandler.C (getGCForeground): send debug message to GUI
11516         channel.
11517
11518         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11519
11520         * kbmap.C (bind): modify because return conventions of
11521         kb_sequence::parse have changed.
11522
11523         * kbsequence.C (parse): only ignore spaces and not any stupid
11524         control character. This avoids tests like s[i] <= ' ', which are
11525         guaranteed to fail with 8bit characters and signed chars.
11526         Change return code to string::npos when there have been no error
11527         (0 was a bad idea when error is at first character)
11528
11529 2001-11-14  José Matos  <jamatos@fep.up.pt>
11530
11531         * buffer.h:
11532         * buffer.C (simpleDocBookOnePar): removed unused argument.
11533
11534 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11535
11536         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11537         insets which are part of a word. Paragraph::isLetter takes care of
11538         that now. Use Paragraph::isInset to identify insets.
11539         (selectSelectedWord): do not test for hyphenation break.
11540
11541         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11542         that protected spaces are considered as spaces.
11543
11544         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11545         Inset::isLetter.
11546
11547 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * lyxserver.h:
11550         * lyxserver.C: fix it. and small cleanup.
11551
11552 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * BufferView_pimpl.C: use inline helpers
11555
11556         * LaTeXFeatures.h:
11557         * LaTeXFeatures.C: fix typos
11558
11559         * Spacing.h:
11560         * Spacing.C: move spacing_string into class
11561
11562         * ToolbarDefaults.C: move stuff into namespace anon
11563
11564         * layout.h: update enum
11565
11566         * lyxfunc.C: use better debug
11567
11568         * minibuffer.h: fix typo
11569
11570         * debug.h:
11571         * debug.C:
11572         * WorkArea.C: add and use Debug::WORKAREA
11573
11574         * lyxtext.h:
11575         * text.C:
11576         * text2.C: code re-organisation, inline helpers
11577
11578 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11579
11580         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11581         std::vector.empty().
11582
11583 2001-11-09  Allan Rae  <rae@lyx.org>
11584
11585         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11586         '\n's after tables.  Tabular and ERT inset work now makes this no
11587         longer necessary.
11588
11589 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * minibuffer.h:
11592         * minibuffer.C: fix crash, improve drop-down completion
11593
11594 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * lyxserver.h:
11597         * lyxserver.C: invalidate fd's when doing endPipe()
11598
11599 2001-11-08  José Matos  <jamatos@fep.up.pt>
11600
11601         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11602         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11603
11604         * paragraph.h:
11605         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11606
11607 2001-11-07  José Matos  <jamatos@fep.up.pt>
11608
11609         * buffer.h:
11610         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11611         const qualifier.
11612
11613         * buffer.C (sgmlOpenTag):
11614         * buffer.C (sgmlCloseTag): removed debug info.
11615
11616         * buffer.h (sgmlOpenTag):
11617         * buffer.h (sgmlCloseTag): made public.
11618
11619 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11620
11621         * buffer.C (saveParamsAsDefaults):
11622         * lyx_cb.C (MenuLayoutSave): remove
11623
11624         * LyXAction.C (init):
11625         * commandtags.h:
11626         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11627
11628 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * buffer.C (setPaperStuff): removed from here...
11631
11632         * bufferparams.C (setPaperStuff): ... and moved there.
11633
11634 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * minibuffer.h:
11637         * minibuffer.C:
11638         * XFormsView.C: add support for drop-down completion
11639
11640 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11641
11642         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11643         commands.
11644
11645 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11646
11647         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11648         disabled.
11649
11650 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lyx_main.C: change ref to known bugs
11653
11654 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11655
11656         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11657         to work around older babel problems.
11658
11659 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11660
11661         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11662
11663 2001-10-24  Juergen Vigna  <jug@sad.it>
11664
11665         * tabular-old.C (ReadOld): below variable changes reflected.
11666
11667         * tabular.[Ch]: added ltType struct for longtable header/footer
11668         defines and changed all instances where they are used. Added
11669         future support for double top/bottom rows.
11670
11671 2001-10-24  José Matos  <jamatos@fep.up.pt>
11672
11673         * buffer.h (docbookHandleCaption):
11674         * buffer.C (docbookHandleCaption): removed unused function.
11675         (makeDocBookFile): moved docbook supported version to v4.1.
11676
11677 2001-10-24  José Matos  <jamatos@fep.up.pt>
11678
11679         * tabular.h:
11680         * tabular.C (docbookRow): new function to export docbook code of a row.
11681         (DocBook): now honors the longtable flags.
11682
11683 2001-10-23  José Matos  <jamatos@fep.up.pt>
11684
11685         * LaTeXFeatures.h:
11686         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11687         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11688
11689         * buffer.C (makeLinuxDocFile):
11690         (makeDocBookFile): reworked the preamble, more clean, and with
11691         support for lyx defined entities. Changed the document declaration
11692         to be more XML friendly.
11693
11694         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11695         if we need to output XML that should be done with a filter.
11696
11697 2001-10-22  Juergen Vigna  <jug@sad.it>
11698
11699         * sp_pspell.h (class PSpell): add alive function needed in the
11700         controller to see if the spellchecker could be started.
11701
11702 2001-10-22  Juergen Vigna  <jug@sad.it>
11703
11704         * buffer.C (insertStringAsLines): modify the font for inserting
11705         chars in certain conditions by calling checkInsertChar(font).
11706
11707 2001-10-19  Juergen Vigna  <jug@sad.it>
11708
11709         * text.C (workWidth): use getRow instead of wrong algorithm.
11710         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11711
11712 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * lyxserver.h:
11715         * lyxserver.C:
11716         * lyx_main.h:
11717         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11718
11719 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * text.C (workWidth): do not search for the exact row when
11722         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11723         optimization for big documents.
11724
11725 2001-10-18  Juergen Vigna  <jug@sad.it>
11726
11727         * text.C (workWidth): new function with added Inset * parameter.
11728
11729 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11730
11731         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11732
11733         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11734         change return type of getColumnNearX.
11735
11736
11737         * text.C (changeRegionCase): use uppercase/lowercase instead of
11738         toupper/tolower.
11739         (leftMargin):
11740         (rightMargin): simplify code by factoring out the uses of
11741         textclasslist.
11742         (labelFill):
11743         (numberOfHfills):
11744         (setHeightOfRow):
11745         (appendParagraph): use Paragraph::size_type
11746
11747 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11748
11749         * vspace.C (asLatexString): add a missing break
11750
11751 2001-10-15  Herbert Voss  <voss@perce.de>
11752
11753         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11754
11755 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11756
11757         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11758         is not available.
11759
11760 2001-10-10  André Pönitz <poenitz@gmx.net>
11761
11762         * lyxfunc.C: removed greek_kb_flag.
11763
11764 2001-10-10  Herbert Voss  <voss@perce.de>
11765
11766         * lyx_main.C: delete global string help_lyxdir.
11767
11768 2001-10-09  Herbert Voss  <voss@perce.de>
11769
11770         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11771
11772         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11773
11774         * lyx_main.C: added global string help_lyxdir.
11775
11776         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11777
11778 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11779
11780         * lyxrc.C (set_font_norm_type): support iso8859-4
11781
11782 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11783
11784         * LaTeX.C (deplog): add another regex for MikTeX
11785
11786 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11787
11788         * lyxrc.C (set_font_norm_type): support iso8859-3
11789
11790 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11793
11794         * LaTeXFeatures.C: remove special case of french and index
11795
11796         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11797         before \begin{document}). This solves several incompatibilities.
11798
11799 2001-10-03  Garst Reese  <reese@isn.net>
11800
11801         * lyx_cb.C: change CheckTex error msg.
11802
11803 2001-10-03  José Matos  <jamatos@fep.up.pt>
11804
11805         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11806
11807 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11808
11809         * .cvsignore: update
11810
11811         * lyx_main.C (commandLineVersionInfo): use new style version info.
11812
11813         * buffer.C (writeFile):
11814         (makeLaTeXFile):
11815         (makeLinuxDocFile):
11816         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11817
11818         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11819
11820         * version.h: update to use stuff in version.C
11821
11822         * version.C.in: new file. Contains version information determined
11823         at compile time. This is a merging of version.h and
11824         version_info.h.in.
11825
11826 2001-10-03  Juergen Vigna  <jug@sad.it>
11827
11828         * BufferView_pimpl.C (update): don't change "dirty" status in
11829         updateInset call.
11830
11831 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * WorkArea.C (c-tor): re-position version string slightly.
11834
11835 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11836
11837         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11838         revert to previous code.
11839
11840         WorkArea.[Ch]: (show, destroySplash): methods removed.
11841
11842         WorkArea.C: rework code so that it's an amalgam of the codes before and
11843         after the splash screen was moved to WorkArea.
11844
11845 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11846
11847         * lyxrc.C (read):
11848         * vspace.C (inPixels):
11849         (lyx_advance):
11850         * kbmap.C (bind):
11851         * buffer.C (insertStringAsLines):
11852         (asciiParagraph): fix types to be large enough
11853
11854         * lyxlex_pimpl.h: change member status from short to int
11855
11856         * layout.h: fix type of endlabeltype
11857
11858         * kbmap.C (bind):
11859         * kbsequence.C (parse): change return type to string::size_type
11860
11861         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11862         variable
11863
11864         * Bullet.C (bulletSize):
11865         (bulletEntry): do not use short ints as parameters
11866
11867         * BufferView2.C (insertLyXFile): change a char to an int.
11868
11869         * WorkArea.C (WorkArea): remove unneeded floats in computation
11870
11871 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11872
11873         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11874
11875         * paragraph.C (asString): Do not ignore newline/hfill chars when
11876         copying to the clipboard.
11877
11878 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11881         after a multi-line inset.
11882
11883 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11884
11885         * paragraph.C (validate): Set NeedLyXFootnoteCode
11886
11887 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11888
11889         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11890         and decrease-error to decrease.
11891
11892 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11895         it more readable (should be equivalent)
11896
11897 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11898
11899         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11900
11901 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11902
11903         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11904         of a cursor (row, etc.) after a character has been deleted
11905         (deleteEmptyParagraphMechanism): call the method above on _all_
11906         cursors held by the LyXText when a double space has been
11907         detected/deleted.
11908
11909 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11912         pixmap.
11913         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11914
11915         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11916         background. Use greyOut() and the new show() methods to toggle between
11917         the foreground and background. Add code to remove the splash after
11918         its initial showing.
11919
11920         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11921         (create_forms): no longer call Dialogs::showSplash.
11922
11923 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11924
11925         * .cvsignore: add version_info.h
11926
11927 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11928
11929         * version_info.h.in: new file
11930
11931         * Makefile.am: add version_info.h.in
11932
11933         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11934         version_info.h instead of VERSION_INFO
11935
11936 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11937
11938         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11939         The ERT inset now returns string().
11940
11941 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11942
11943         * lyxtext.h, text.C (selectNextWord): renamed as
11944         selectNextWordToSpellcheck.
11945
11946         * text.C (selectNextWordToSpellcheck): Modified to not select
11947         words inside an ERT inset.
11948
11949 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11950
11951         * lyx_cb.C (MenuLayoutSave): change a bit the question
11952
11953         * sp_base.h: include <sys/types.h>
11954
11955 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11956
11957         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11958
11959 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11960
11961         * several files: fix typos in user-visible strings
11962
11963 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11964
11965         * text2.C (pasteSelection): do not set the selection, since it
11966         will be cleared later. Actually, the intent was to fix the way the
11967         selection was set, but I figured rmoving the code was just as good.
11968
11969 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11970
11971         * FontLoader.C (available): Check if font is available without
11972         loading the font.
11973
11974 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11975
11976         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11977
11978 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * lyxrc.[Ch]: added display_graphics variable and associated code.
11981
11982 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * bufferparams.C (hasClassDefaults): new method. Returns true if
11985         the buffer parameters correspond to known class defaults
11986
11987 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11988
11989         * XFormsView.C (show): set minimum size to the main window.
11990
11991 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * text2.C (copySelection):
11994         (cutSelection):
11995         * lyxfind.C (LyXReplace):
11996         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11997         LyXText::selectionAsString.
11998
11999         * paragraph.C (asString): add "label" argument to the second form
12000
12001         * text2.C (selectionAsString): add "label" argument and pass it to
12002         Paragraph::asString.
12003
12004 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * lyx_main.C (commandLineHelp): remove version information
12007
12008 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12009
12010         * lyx_main.C: add -version commandline option
12011
12012 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * paragraph.h: make the optional constructor arg required instead.
12015         some modifications to other files because of this.
12016
12017         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12018
12019         * lyxserver.C (C_LyXComm_callback): make it static
12020
12021         * lyx_main.C (error_handler): make it static
12022
12023         * lyx_gui.C (LyX_XErrHandler): make it static
12024
12025         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12026
12027         * WorkArea.C: make the extern "C" methods static.
12028
12029         * Makefile.am (lyx_LDADD): simplify
12030
12031 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12032
12033         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12034         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12035
12036         * LyXAction.C (init):
12037         * lyxfunc.C (dispatch): associated code removal.
12038
12039 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * lyxfont.h (isSymbolFont): shut off warning
12042
12043         * text.C (setHeightOfRow):
12044         (getVisibleRow): fix crash with empty paragraphs which have a
12045         bottom line
12046
12047 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12048
12049         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12050         code.
12051
12052 2001-09-04  José Matos  <jamatos@fep.up.pt>
12053         * buffer.C
12054         * buffer.h
12055         * tabular.C (docbook): rename docBook method to docbook.
12056
12057 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * Makefile.am: add dependencies to main.o.
12060
12061 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12062
12063         * FontLoader.C (available): Return false if !lyxrc.use_gui
12064
12065 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12066
12067         * FontInfo.C (query):
12068         * converter.C (view):
12069         * importer.C (Import):
12070         * exporter.C (Export): Can not -> cannot.
12071
12072 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * BufferView_pimpl.C: allow to create index inset even if
12075           string is empty
12076
12077 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12078
12079         * buffer.C (getLists): replace boost::tie code with an explicit pair
12080         as boost::tie can break some compilers.
12081
12082         * iterators.h: Added a std:: declaration to the return type of
12083         ParIterator::size.
12084
12085 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12088           case.
12089
12090 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * iterators.[Ch]: New files. Provide paragraph iterators.
12093
12094         * buffer.C (changeLanguage): Use paragraph iterators.
12095         (isMultiLingual): ditto
12096
12097         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12098
12099 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12100
12101         * FontLoader.C: Support for cmr font.
12102
12103 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12106         (available): New method.
12107
12108         * FontInfo.C (getFontname): Use scalable fonts even when
12109         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12110         found.
12111
12112 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * converter.C (Formats::view): reverted! Incorrect fix.
12115
12116 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * converter.C (Formats::view): only output the -paper option
12119         if the dvi viewer is xdvi, thereby fixing bug #233429.
12120
12121 2001-08-23  Herbert Voss  <voss@perce>
12122
12123         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12124
12125 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * Spacing.h (Spacing): Set space to Default on in the default
12128         constructor.
12129
12130 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * vc-backend.h (RCS::versionString): add RCS to version
12133         (CVS::versionString): add CVS to version
12134
12135         * vc-backend.C (scanMaster): do not add CVS to version.
12136         (scanMaster): do not add RCS to version
12137
12138         * lyxvc.C (versionString): new method
12139
12140         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12141
12142 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * Spacing.C (set): initialize fval
12145
12146 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12147
12148         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12149         " or \.
12150
12151 2001-08-16  Juergen Vigna  <jug@sad.it>
12152
12153         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12154
12155 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView_pimpl.C:
12158         * figureForm.C:
12159         * lyxtext.h:
12160         * text2.C: setParagraph takes linespacing now
12161
12162 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * LyxAction.C: add internal LFUN_CITATION_INSERT
12165
12166         * LyXView.C: actually apply fix
12167
12168         * bufferlist.C: fix open non-existent file
12169
12170         * lyxfind.C: fix indentation
12171
12172         * lyxfunc.C: remove unneeded assert, fix typo
12173
12174 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * MenuBackend.C: use "Floatname List"
12177
12178 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12181         when converting LaTeX layout to insetERT.
12182         Generate a non-collapsed float when reading old float
12183
12184 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12187         ERT insets.
12188
12189 2001-08-13  Juergen Vigna  <jug@sad.it>
12190
12191         * text.C (fill): return 0 instead of 20 as this seems to be the more
12192         correct value.
12193
12194 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12195
12196         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12197         lyxrc.font_norm.
12198
12199 2001-08-13  Juergen Vigna  <jug@sad.it>
12200
12201         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12202         casesensitive off.
12203         (SearchBackward): comment out the unlocking of the inset_owner this
12204         should not be needed!
12205
12206 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * Many files: Remove inherit_language, and add latex_language
12209
12210         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12211         collapsible insets.
12212
12213 2001-08-10  Juergen Vigna  <jug@sad.it>
12214
12215         * text.C (prepareToPrint): fixed hfill-width in draw!
12216
12217         * BufferView2.C (selectLastWord): save the selection cursor as this
12218         now is cleared in the function LyXText::clearSelection!
12219
12220 2001-08-08  Juergen Vigna  <jug@sad.it>
12221
12222         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12223         BACKSPACE type functions.
12224
12225         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12226         is only cutted from the document but not put in the cut-buffer, where
12227         still the old stuff should be.
12228
12229         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12230
12231         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12232
12233         * tabular.C (SetWidthOfCell): fixed special case where the width
12234         was not updated!
12235         (LeftLine): handle '|' in align_special.
12236         (RightLine): ditto
12237         (LeftAlreadyDrawed): ditto
12238         (SetWidthOfCell): ditto
12239
12240 2001-08-07  Juergen Vigna  <jug@sad.it>
12241
12242         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12243
12244 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12247         * lyxlex.[hC]: ditto
12248
12249 2001-08-06  Juergen Vigna  <jug@sad.it>
12250
12251         * text.C (getVisibleRow): fix up row clearing a bit.
12252
12253 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * minibuffer.C: make sure the X server sees the changes in the input.
12256
12257 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * paragraph.C (getFont): split into...
12260         (getLabelFont): this
12261         (getLayoutFont): and this
12262         * paragraph_pimpl.C (realizeFont): calling this
12263
12264         * text2.C (getFont): split into...
12265         (getLayoutFont): this
12266         (getLabelFont): and this
12267         (realizeFont): all three calling this
12268
12269         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12270         files where used.
12271
12272 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12275
12276 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12277
12278         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12279         layouts from the Quote inset insertion.
12280
12281 2001-08-03  Juergen Vigna  <jug@sad.it>
12282
12283         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12284
12285         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12286         only if status not is already CHANGED_IN_DRAW (second level).
12287
12288         * text.C (draw): don't set the need_break_row when inside an
12289         InsetText LyXText.
12290
12291 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * buffer.C (parseSingleLyXformat2Token): handle more latex
12294         conversion cases.
12295
12296         * bufferview_funcs.[hC]: change function names to
12297         begin with small char, adjust other files.
12298
12299 2001-08-02  André Pönitz <poenitz@gmx.net>
12300
12301         * lyxfunc.C:
12302         BufferView_pimpl.C: remove broken special code for math-greek
12303
12304 2001-08-02  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (update): redone this function so that we
12307         update the text again if there was a CHANGE_IN_DRAW.
12308
12309         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12310         (drawFromTo): added a new internal bool which is used by draw() and
12311         redraw() function.
12312         (general): some cursor drawing problems fixed.
12313
12314 2001-08-01  Juergen Vigna  <jug@sad.it>
12315
12316         * lyxfind.C (LyXFind): fixed
12317         (SearchForward): ditto
12318         (SearchBackward): ditto
12319
12320         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12321         spurius drawing of the cursor in the main area.
12322
12323         * text2.C (status): small fix which could lead to a segfault!
12324         (clearSelection): remove unneeded BufferView param.
12325
12326 2001-08-01  André Pönitz <poenitz@gmx.net>
12327
12328         * lyxfunc.C: small change due to changed mathed interface
12329
12330 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12331
12332         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12333
12334 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * lyxfunc.c: fail gracefully if file doesn't exist
12337
12338         * LyXSendto.C:
12339         * buffer.C:
12340         * lyxfunc.C:
12341         * BufferView_pimpl.C: IsDirWriteable() proto changed
12342
12343         * LyXView.C: fix updateWindowTitle() to store the last title
12344
12345 2001-07-31  Juergen Vigna  <jug@sad.it>
12346
12347         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12348         the font (wrong since using of Paragraph::highestFontInRange).
12349
12350         * paragraph.C (highestFontInRange): added a default_size parameter.
12351
12352         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12353         (setHeightOfRow): reformat
12354
12355 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * converter.[hC] + affected files: move to (inital-char)lowercase
12358         function names.
12359
12360         * ParagraphParameters.C (ParagraphParameters): remove commented code
12361
12362         * PainterBase.[Ch]: remove commented code
12363
12364         * LaTeXFeatures.h: add "bool floats" for float.sty
12365
12366         * LaTeXFeatures.C (LaTeXFeatures): init floats
12367         (require): handle float
12368         (getPackages): do it with floats
12369
12370 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * BufferView_pimpl.C (Dispatch): improve handling of
12373         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12374
12375         * commandtags.h: #include lyxfont.h here temporarily to avoid
12376         keybinding bug.
12377
12378         * bufferlist.h: include LString.h here.
12379
12380 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12381
12382         * text2.C (getStringToIndex): new method.
12383
12384 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12385
12386         * *: Reduced header file dependencies all over.
12387
12388 2001-07-30  Baruch Even  <baruch@lyx.org>
12389
12390         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12391
12392 2001-07-29  Baruch Even  <baruch@lyx.org>
12393
12394         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12395
12396 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * ParameterStruct.h (endif): add a default constructor to make
12399         sure that all variables is initialized.
12400
12401         * ParagraphParameters.C (ParagraphParameters): adjust
12402
12403 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12404
12405         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12406         index; also, check that there is something to index, and that it
12407         does not span over several paragraphs.
12408         (doubleClick): use WHOLE_WORD_STRICT for double click.
12409
12410         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12411
12412         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12413         scheme.
12414
12415 2001-07-26  Baruch Even  <baruch@lyx.org>
12416
12417         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12418         an InsetFig figure, backwards compatible reading of old figure code.
12419
12420 2001-07-27  Juergen Vigna  <jug@sad.it>
12421
12422         * text2.C: font.realize function adaption.
12423
12424         * text.C (draw): add a warnings lyxerr text if needed.
12425
12426         * layout.C: font.realize function adaption.
12427
12428         * language.C: add inherit_language and implement it's handlings
12429
12430         * bufferview_funcs.C (StyleReset): remove language parameter from
12431         font creation (should be language_inherit now).
12432
12433         * bufferparams.C (writeFile): handle ignore_language.
12434
12435         * paragraph.C (getFontSettings): the language has to be resolved
12436         otherwise we have problems in LyXFont!
12437
12438         * lyxfont.C (lyxWriteChanges): added document_language parameter
12439         (update): removed unneeded language parameter
12440
12441         * paragraph.C (validate): fixed wrong output of color-package when
12442         using interface colors for certain fonts in certain environments,
12443         which should not seen as that on the final output.
12444
12445 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView_pimpl.C:
12448         * Thesaurus.h:
12449         * Thesaurus.C:
12450         * Makefile.am:
12451         * commandtags.h:
12452         * LyXAction.C: add thesaurus support
12453
12454         * lyxfind.h:
12455         * lyxfind.C: add "once" parameter, for thesaurus, to not
12456           move to the next match
12457
12458 2001-07-26  Juergen Vigna  <jug@sad.it>
12459
12460         * lyxfont.C (realize): honor ignore_language too!
12461         (resolved): ditto.
12462
12463         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12464
12465         * text.C (draw): one place more for ignore_language to not draw
12466         itself!
12467
12468 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12471
12472 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12475         the minipage conversion problem.
12476
12477 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12480         insert an inset.
12481
12482 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * BufferView.h: don't forward declare WorkArea
12485
12486         * BufferView.C: don't include WorkArea.h
12487
12488 2001-07-25  André Pönitz <poenitz@gmx.net>
12489
12490         * commandtags.h:
12491         * LyXAction.C:
12492         * lyxfunc.C:  new LFUN 'math-space'
12493
12494         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12495
12496 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * text2.C (toggleInset): call open/close
12499
12500 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12501
12502         * lyxfunc.C (dispatch): add debug for the disabled case
12503
12504         * font.C (buttonText): make similar to rectText
12505
12506         * buffer.C (readInset): comment out parsing of insetlist and
12507         insttheorem
12508
12509         * PainterBase.C (rectText): small correction
12510
12511         * BufferView_pimpl.C: comment out insettheorem and insetlist
12512         * LyXAction.C: ditto
12513         * commandtags.h: ditto
12514
12515 2001-07-24  Juergen Vigna  <jug@sad.it>
12516
12517         * text.C (draw): honor the ignore_language.
12518
12519         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12520
12521 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12522
12523         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12524         char inset.
12525
12526 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12527
12528         * lyxtext.h: remove unused (and unimplemented) methods
12529
12530 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12531
12532         * text.C (getVisibleRow): honor background color
12533
12534         * PainterBase.h:
12535         * Painter.h: remove default color argument for fillRectangle
12536
12537         * text.C (backgroundColor): new method
12538
12539 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * text.C (getVisibleRow): adjust
12542
12543         * font.[Ch] (rectText): new method, metrics
12544         (buttonText): new method, metrics
12545
12546         * PainterBase.[hC]: make rectText and buttonText always draw and take
12547         fewer paramteres.
12548
12549 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12550
12551         * ToolbarDefaults.C (read):
12552         * MenuBackend.C (read): allow escaping in all strings
12553
12554         * BufferView_pimpl.C (insertAndEditInset): new method.
12555         (Dispatch): use insertAndEditInset whenever appropriate.
12556
12557         * BufferView_pimpl.C (insertNote): removed
12558
12559         * BufferView_pimpl.C (smartQuote): new method, moved from
12560         BufferView; if an insetquote cannot be inserted, insert a '"'
12561         character instead.
12562
12563         * BufferView2.C: remove insertCorrectQuote();
12564
12565         * lyxfunc.C (getStatus): Add support for all remaingin
12566         inset-insert lfuns.
12567
12568         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12569
12570         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12571         command (necessary to pass " as parameter of self-insert.
12572
12573         * text.C (selectWordWhenUnderCursor):
12574         (selectWord): add word_location parameter
12575         (selectWordWhenUnderCursor): same + remove special code for word
12576         boundary.
12577         (selectNextWord): use kind() to guess type of insetspecialchar,
12578         not latex().
12579
12580         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12581         (insertErtContents): create ert insets as collapsed.
12582         (readInset): better compatibility code for Info inset.
12583
12584 2001-07-20  Juergen Vigna  <jug@sad.it>
12585
12586         * lyxfunc.C (dispatch): use always LyXFind now!
12587
12588         * text2.C (init): add a reinit flag so that the LyXText can be
12589         reinited instead of deleted and reallocated (used in InsetText).
12590
12591         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12592
12593         * text.C: ditto
12594
12595         * text2.C: ditto
12596
12597 2001-07-18  Juergen Vigna  <jug@sad.it>
12598
12599         * text.C (selectNextWord): handle insets inside inset by calling
12600         always the bv->text functions so that we can go up the_locking_inset!
12601
12602         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12603         in strange locations when inside an inset!
12604
12605         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12606         handling to include insets.
12607
12608         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12609
12610 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * LyXAction.C (init):
12613         * commandtags.h:
12614         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12615         LIGATURE_BREAK, since the name is so stupid.
12616
12617 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12620         InsetInfos.
12621
12622         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12623
12624         * sp_form.[Ch]: remove.
12625
12626         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12627
12628         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12629         InsetInfo.
12630
12631         * src/buffer.C (readInset): ditto.
12632
12633 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12634
12635         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12636         menuSeparator(), endOfSentenceDot(), ldots() and
12637         hyphenationPoint(), which are therefore removed.
12638         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12639
12640         * LyXAction.C (init):
12641         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12642
12643         * paragraph.C (getWord): removed.
12644
12645         * BufferView_pimpl.C (Dispatch): use last word or selection for
12646         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12647
12648         * lyx_main.C (queryUserLyXDir): do not ask before creating
12649         user_dir, except if it has been named explicitely.
12650
12651 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12654         a document of zero size.
12655
12656 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12657
12658         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12659         approriately in the c-tor and in require().
12660         (getPackages): output the appropriate LaTeX for natbib support.
12661
12662         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12663         variables "use_natbib" and "use_numerical_citations" when reading the
12664         LyX file.
12665         (readInset): read the various natbib cite commands.
12666         (validate): white-space change.
12667
12668         * bufferparams.[Ch]: new variables "bool use_natbib" and
12669         "bool use_numerical_citations".
12670         (writeFile): output them in the LyX file.
12671
12672 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12673
12674         * lyxfunc.C (getStatus): add support for all the inset insertion
12675         commands.
12676
12677         * text2.C (insertInset):
12678         * paragraph.C (insetAllowed):
12679         * BufferView_pimpl.C (insertInset): update to take in account the
12680         renaming of insertInsetAllowed
12681
12682         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12683
12684         * text2.C (getInset): new method. returns inset at cursor position.
12685
12686         * BufferView_pimpl.C (Dispatch): changes because of this.
12687
12688         * LyXAction.C (init): rename open-stuff to inset-toggle.
12689
12690         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12691
12692         * text2.C (toggleInset): renamed from openStuff; use
12693         Inset::open().
12694
12695 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12696
12697         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12698
12699         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12700
12701 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12702
12703         * buffer.C (readLyXformat2): Add filename to the error dialog
12704
12705 2001-07-18  Juergen Vigna  <jug@sad.it>
12706
12707         * tabular.C (GetCellNumber): put an assert here instead of the check!
12708
12709 2001-07-17  Juergen Vigna  <jug@sad.it>
12710
12711         * BufferView_pimpl.C (toggleSelection): adapted too.
12712
12713         * text.C (selectNextWord): adapted for use with insets.
12714         (selectSelectedWord): ditto
12715
12716 2001-07-17  Juergen Vigna  <jug@sad.it>
12717
12718         * sp_spell.C (PSpell): fix initialitation order.
12719
12720 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * paragraph.C: spacing
12723
12724 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12725
12726         * sp_spell.C: repair language selection for pspell
12727
12728 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12729
12730         * lyxfunc.h: change more methods to begin with lower char.
12731
12732 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12733
12734         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12735         for unknown layouts.
12736
12737 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12738
12739         * buffer.C (readLyXformat2): Generate an error dialog if there are
12740         unknown layouts.
12741
12742 2001-07-16  Juergen Vigna  <jug@sad.it>
12743
12744         * sp_spell.C: always compile ISpell part.
12745
12746         * lyxrc.C: added use_pspell entry and it's handling.
12747
12748 2001-07-13  Juergen Vigna  <jug@sad.it>
12749
12750         * sp_spell.C: removed double includes.
12751
12752 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12753
12754         Consistent use of Lsstream.h:
12755         * Lsstream.h: added using std::stringstream for consistencies sake.
12756
12757         * buffer.C: removed using std::stringstream
12758
12759         * lyxfont.C (stateText):
12760         * paragraph.C (asString):
12761         * text.C (selectNextWord, selectSelectedWord):
12762         * text2.C (setCounter):
12763         * vspace.C (asString, asLatexString):
12764         std::ostringstream -> ostringstream.
12765
12766 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12767
12768         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12769         * commandtags.h: add LFUN_HELP_ABOUTLYX
12770         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12771
12772 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12773
12774         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12775         cursorToggle()
12776         * lyx_gui_misc.C: remove spellchecker
12777         * lyxfunc.C: showSpellchecker
12778         * sp_base.h: added
12779         * sp_ispell.h: added
12780         * sp_pspell.h: added
12781         * sp_spell.C: added
12782         * sp_form.[Ch]: removed
12783         * spellchecker.[Ch]: removed
12784
12785 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12786
12787         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12788         is set.
12789         (simpleTeXSpecialChars): Simply print the input character without
12790         any special translation if pass_thru is set.
12791
12792         * layout.h: Added bool pass_thru to layout class for being able to
12793         implement pass through of a paragraph for Literate Programming.
12794
12795         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12796         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12797         * layout.C (Read): add "passthru" to list of layout tags and add
12798         code to set the pass_thru boolean when it is read.
12799
12800 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * trans_decl.h: remove allowed from KmodInfo
12803
12804         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12805         remove allowed code
12806         (Load): adjust
12807
12808         * paragraph_pimpl.C (erase): use boost::prior
12809
12810         * Painter.C (text): use data() instead of c_str() when length is
12811         also provided.
12812         * WorkArea.C (putClipboard): ditto
12813         * font.h (width): ditto
12814
12815         * BufferView2.C: use it-> instead of (*it). for iterators
12816         * texrow.C: ditto
12817         * paragraph_pimpl.C: ditto
12818         * paragraph.C: ditto
12819         * minibuffer.C: ditto
12820         * language.C: ditto
12821         * kbmap.C: ditto
12822         * encoding.C: ditto
12823         * counters.C: ditto
12824         * converter.C: ditto
12825         * chset.C: ditto
12826         * Variables.C: ditto
12827         * TextCache.C: ditto
12828         * MenuBackend.C: ditto
12829         * LyXAction.C: ditto
12830         * LColor.C: ditto
12831         * FloatList.C: ditto
12832         * DepTable.C: ditto
12833         * ColorHandler.C (LyXColorHandler): ditto
12834
12835 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12836
12837         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12838
12839         * text2.C (openStuff): reintroduce this method (which had been
12840         nuked in NEW_INSETS frenzy).
12841
12842         * lyxfunc.C (Dispatch): when an action has not been handled, use
12843         its name in the error message, not its number.
12844
12845         * paragraph.C (inInset): change method name to begin with lowercase.
12846
12847         * undo_funcs.C:
12848         * text2.C: updates because of this.
12849
12850 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * ToolbarDefaults.C (add): add spaces in error message
12853
12854 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12857         (readLyXformat2): rename return_par to first_par, use lyxlex's
12858         pushToken and remove the manual push handling.
12859         (parseSingleLyXformat2Token): add another ert comp. variable:
12860         in_tabular, rename return_par to first_par. handle newlines better
12861
12862 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12863
12864         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12865
12866 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * text2.C (getParFromID): removed
12869
12870         * buffer.C (getParFromID): new method moved form lyxtext.
12871         * BufferView2.C (insertErrors): adjust
12872         (setCursorFromRow): adjust
12873         * BufferView_pimpl.C (restorePosition): adjust
12874         * lyxfunc.C (Dispatch): adjust
12875         * undo_funcs.C (textUndo): adjust
12876         (textRedo): adjust
12877         (textHandleUndo): adjust
12878         (textHandleUndo): adjust
12879
12880 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * buffer.C: up' the LYX_FORMAT
12883
12884         * lyxfont.h: turn NO_LATEX on as default
12885
12886         * buffer.C (insertErtContents): new methods of tex style compability.
12887         (parseSingleLyXformat2Token): use it several places.
12888         * tabular.C (OldFormatRead): and here
12889
12890 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * text2.C: remove some commented code.
12893         reindent file.
12894
12895         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12896         * trans.C: changes because of the above.
12897
12898 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * text2.C (setCounter): Fix counters bug with bibliography layout.
12901
12902 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12903
12904         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12905         own member functions
12906         (simpleTeXSpecialChars): ditto
12907
12908 2001-07-06  Juergen Vigna  <jug@sad.it>
12909
12910         * a lot of files: changed the access to LyXText::status and the
12911         call of undo-functions.
12912
12913         * undo.[Ch]: added a inset_id to the undo informations.
12914
12915         * undo_funcs.[Ch]: added and moved here all undo functions.
12916
12917         * lyxtext.h: give the status enum a weight, made status_ a private
12918         variable and made accessor functions for it, removed the whole bunch
12919         of undo-functions as they are now in their own file, make some
12920         functions publically available. Added function ownerParagraph with
12921         int parameter.
12922
12923         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12924         made InInset() a const function, added getParFromID() function.
12925
12926         * buffer.[Ch]: added const version for inset_iterator functions,
12927         added getInsetFromID() function.
12928
12929         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12930         changed undo functions for new version.
12931
12932 2001-07-05  Juergen Vigna  <jug@sad.it>
12933
12934         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12935         unknow mechanism does not call the proper constructor but only this
12936         one also if I request the other!?
12937
12938 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12941
12942         * text2.C (LyXText): use initialization lists.
12943
12944         * lyxtext.h (Selection): initialize set_ and mark_
12945         (init): remove method
12946
12947 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12950
12951 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * screen.[Ch]: change method names to begin with lowercase
12954
12955         * BufferView_pimpl.C (updateScrollbar): simplify further and
12956         hopefully make it a bit faster.
12957
12958 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12961         calling directly xforms functions.
12962
12963         * Painter.C (Painter):
12964         * lyx_cb.C (MenuWrite):
12965         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12966         fl_display.
12967
12968         * lyx_gui.C: remove bogus guiruntime extern declaration.
12969
12970 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12973         in NEW_INSETS
12974         (redoDrawingOfParagraph): ditto
12975         (redoParagraphs): ditto
12976         (cutSelection): don't create a object for CutAndPaste use the
12977         static method directly
12978         (pasteSelection): ditto
12979
12980         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12981         LyXview (+ rename)
12982
12983 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * modifications to some other files because of this.
12986
12987         * Makefile.am (lyx_SOURCES): add XFormsView
12988
12989         * XFormsView.[Ch]: new files
12990
12991         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12992         the main window. Move the gui dependent stuff to XFormsView
12993
12994 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12995
12996         * tabular.C (GetCellInset): update cur_cell also in the row/col
12997         version of this function.
12998
12999         * lyxfunc.C: no need to include figure_form.h here.
13000
13001         * FontLoader.h:
13002         * lyxfunc.h:
13003         * lyxscreen.h:
13004         * text2.C:
13005         * lyxvc.C: no need to include forms.h here.
13006
13007 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13010
13011         * lyxfunc.C (Dispatch):
13012         * Spacing.C (set):
13013         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13014         constructor argument.
13015
13016 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * paragraph.C (Paragraph): dont't clear, and just set layout.
13019         (makeSameLayout): use params's copy contructor.
13020
13021         * ParagraphParameters.[Ch] (makeSame): delete method
13022
13023 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * Variables.[Ch]: fix indentation, rename set to isSet
13026
13027 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * lyxfunc.C (Dispatch): fix typo
13030
13031 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13032
13033         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13034         upper_bound.
13035
13036         * bufferlist.C: include assert.h for emergencyWrite().
13037
13038 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13041           give up at last (bug #425202) !
13042
13043 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * lyx_gui_misc.C:
13046         * sp_form.h:
13047         * sp_form.C:
13048         * spellchecker.h:
13049         * spellchecker.C: strip spellchecker options and bring up
13050           preferences tab instead
13051
13052 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13055         the istringstream constructor
13056
13057 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13058
13059         * paragraph.C (getLayout): fix return value
13060
13061         * paragraph.h: do not declare getLayout as inline.
13062
13063         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13064
13065 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * lyxcursor.h (operator<): new func
13068         (operator>): new func
13069         (operator>=): new func
13070         (operator<=): new func
13071
13072         * text.C (changeCase): use selection.start and selection.end
13073         (changeRegionCase): require from to be <= to. Require par to be a
13074         valid paragraph.
13075
13076         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13077
13078 2001-06-27  Juergen Vigna  <jug@sad.it>
13079
13080         * text.C (cursorLeftOneWord): changed to return the cursor and added
13081         overlay with BufferView * parameter which calls this one.
13082         (getWord): added
13083         (selectWord): use new getWord function.
13084         (changeCase): renamed from changeWordCase as and extended to work
13085         also on selections.
13086
13087         * lyxtext.h: added enum word_location
13088
13089         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13090         changeCase as this operates now also on selections.
13091
13092 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13093
13094         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13095
13096         * many files: send debug output to Debug::INFO instead of
13097         Debug::ANY.
13098
13099         * converter.C (View):
13100         (Convert):
13101         (Move): send debug output to Debug::FILES instead of console.
13102
13103 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13104
13105         * lyxfunc.C (getStatus): use func_status
13106
13107         * func_status.h: new header, describing the results of
13108         LyXFunc::getStatus;
13109
13110         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13111         LFUN_MATH_HALIGN.
13112
13113 2001-06-25  The LyX Project  <jug@sad.it>
13114
13115         * buffer.C (sgmlOpenTag):
13116         (sgmlCloseTag):
13117         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13118
13119 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * text2.C: remove some dead code
13122
13123         * tabular.C (GetCellInset): store the last cell checked (gotten)
13124
13125         * tabular.h: add the helper for the speedup
13126
13127         * lyxtext.h: remove some dead code
13128
13129 2001-06-26  The LyX Project  <Asger>
13130
13131         * paragraph.C: Change export to LaTeX of alignment to
13132         \begin{center} and family for better roundtrip work with reLyX.
13133
13134         * Tune the math drawing a bit.
13135
13136 2001-06-25  The LyX Project  <Asger>
13137
13138         * LColor.C (LColor): New color for math background. New color
13139         for buttons.
13140
13141 2001-06-25  The LyX Project  <jug@sad.it>
13142
13143         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13144
13145         * lyxfunc.C (Open):
13146         * bufferlist.C (newFile): do not restrict to files ending with
13147         .lyx
13148
13149         * BufferView_pimpl.C (MenuInsertLyXFile):
13150
13151 2001-06-24  The LyX Project  <jug@sad.it>
13152
13153         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13154         of compare_no_case
13155
13156 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * lyxtext.h: rename most methods to begin with a small char.
13159         Lots of changes because of this.
13160
13161         * paragraph.C (Paragraph): do not call fitToSize
13162         (erase): call Pimpl::erase
13163         (insertChar): call Pimpl::insertChar
13164         (insertInset): call Pipl::insertInset
13165         (breakParagraph): do not call fitToSize
13166         (breakParagraphConservative): do not call fitToSize
13167         (fitToSize): remove method
13168
13169         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13170
13171 2001-06-24  The LyX Project  <Asger>
13172
13173         * Fix Qt compilation^2
13174
13175 2001-06-24  The LyX Project  <jug@sad.it>
13176
13177         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13178         depthHook(getDepth()-1).
13179
13180         * paragraph.h:
13181         * ParagraphParameters.h:
13182         * ParameterStruct.h: change type of depth to unsigned int ==
13183         depth_type. Many adaptations to other files before of that.
13184
13185 2001-06-24  The LyX Project  <Asger>
13186
13187         * Fix Qt compilation.
13188
13189 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13190
13191         * paragraph.h: renamed several methods to begin with small letter.
13192         several changes to many parts of the code because of this.
13193
13194 2001-06-23  The LyX Project  <jug@sad.it>
13195
13196         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13197         rewritten to discard all double spaces when KeepEmpty is off
13198         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13199         to only handle newlines but not fiddle with spaces and friends.
13200
13201         * lyxfunc.C (MenuNew): when doing 'new from template', use
13202         template_path as default directory
13203
13204 2001-06-23  The LyX Project  <Asger>
13205
13206         * Clean-up of header file includes all over
13207         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13208
13209 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * paragraph.h: renamed from lyxparagraph.h
13212
13213 2001-06-23  Asger  <lyx@violet.home.sad.it>
13214
13215         * Buffer.h: Removed Buffer::resize
13216         * BufferList.h: Removed BufferList::resize
13217         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13218         the document lazily when we change the width, or the font settings.
13219
13220 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13221
13222         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13223
13224 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * buffer.h: remove out of date comment
13227
13228 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * lyxscreen.h:
13231         * screen.C: fix "theoretical" GC leak
13232
13233 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13234
13235         * LaTeX.C (scanAuxFile):
13236         (deplog): remove trailing \r when reading stream (useful under
13237         win32)
13238
13239 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13242         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13243         and BufferView::theLockingInset(Inset*), so should use them and not
13244         access bv_->text->the_locking_inset directly.
13245
13246         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13247
13248 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * Makefile.am:
13251         * tex-defs.h: remove old unused file
13252
13253 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * BufferView_pimpl.C: fix typo, remove minibuffer message
13256           when buffer has loaded
13257
13258 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * lyxfunc.C (Dispatch): use stringstream
13261         (MenuNew): use stringstream
13262         (Open): use stringstream
13263
13264         * importer.C (Import): use stringstream
13265
13266         * bufferview_funcs.C (CurrentState): use stringstream
13267
13268         * LaTeX.C (run): use stringstream
13269
13270         * BufferView_pimpl.C (savePosition): use stringstream
13271         (restorePosition): use stringstream
13272         (MenuInsertLyXFile): use stringstream
13273
13274 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13275
13276         * BufferView.C:
13277         * Bullet.C:
13278         * ColorHandler.C:
13279         * FontInfo.C:
13280         * FontLoader.C:
13281         * LColor.C:
13282         * LaTeXFeatures.C:
13283         * Painter.C:
13284         * gettext.C:
13285         * lyx_gui_misc.C:
13286         * lyxserver.C:
13287         * vspace.C: removed // -*- C++ -*- as first line.
13288
13289         * lyxfind.h:
13290         * version.h: added // -*- C++ -*- as first line.
13291
13292 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13293
13294         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13295
13296         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13297         of string
13298
13299 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13302         of floats.
13303
13304 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * gettext.C: include LString.h even when --disable-nls is on.
13307
13308 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * converter.h (Get): changed argument type from int to
13311         FormatList::size_type to avoid unnecessary conversion.
13312
13313         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13314         before using it.
13315
13316 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * gettext.h: include LString.h even when --disable-nls is on.
13319
13320 2001-06-07  Juergen Vigna  <jug@sad.it>
13321
13322         * text.C (BreakAgain): subst spaces with tabs.
13323
13324         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13325         (resizeInsetsLyXText): set force on resizeLyXText.
13326
13327 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13328
13329         * gettext.h (gettext_init):
13330         (locale_init): use a real definition instead of a macro
13331
13332 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * Bufferview_pimpl.C:
13335         * LColor.h:
13336         * LColor.C: further lcolor tidies
13337
13338 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * BufferView_pimpl.C (updateScrollbar): simplify.
13341
13342         * BufferView2.C: don't include insets/insetinfo.h, change
13343         prototype for insertInset and call the Pimpl version. let
13344         updateInset call Pimpl version.
13345
13346         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13347         gotoInset to BufferView::Pimpl
13348
13349 2001-06-01  Juergen Vigna  <jug@sad.it>
13350
13351         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13352         inside a LockingInset (is the update needed at all?).
13353
13354 2001-05-31  Juergen Vigna  <jug@sad.it>
13355
13356         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13357         here not the old one otherwise how should we compare it afterwards
13358         if it's the same!
13359
13360 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * lyxfont.C:
13363         * tabular.C:
13364         * tabular-old.C:
13365         * FontInfo.C: bring C functions into global namespace when
13366         necessary
13367
13368 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * LString.h: make sure config.h has been loaded before LString.h.
13371
13372         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13373         (one for each char read by EatLine!).
13374
13375         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13376         variables.
13377
13378 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13381         to the same as the par we break from
13382
13383 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13386
13387         * MenuBackend.C (expand): also create menu entries for wide
13388         versions of the floats.
13389
13390         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13391
13392         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13393
13394         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13395         frontends/Makefile.am
13396
13397         * text2.C: adjust
13398         * text.C: adjust
13399
13400
13401         * tabular.C (getTokenValue): add std::
13402
13403         * tabular-old.C (getTokenValue): add std::
13404         (getTokenValue): ditto
13405         (getTokenValue): ditto
13406
13407         * screen.C (ToggleSelection): adjust
13408
13409         * lyxtext.h: put selection cursors inside a Selection struct.
13410
13411         * lyxfunc.C (moveCursorUpdate): adjust
13412
13413         * lyxfont.C (latexWriteStartChanges): add std::
13414
13415         * lyxfind.C: adjust
13416
13417         * font.h: delete with(char const *, LyXFont const &)
13418
13419         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13420
13421         * FontInfo.C (getFontname): add std::
13422
13423         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13424         (workAreaButtonPress): adjust
13425         (tripleClick): adjust
13426         (update): adjust
13427         (moveCursorUpdate): adjust
13428         (Dispatch): adjust
13429
13430         * BufferView2.C (gotoInset): adjust
13431
13432 2001-05-30  Juergen Vigna  <jug@sad.it>
13433
13434         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13435         to check pspell I add this as default as I now have new pspell
13436         libraries and they seem to use this.
13437
13438 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * text2.C (CutSelection): make the cursor valid before the call to
13441         ClearSelection.
13442
13443 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13446         relied on 0 terminated strings and other horrors. Bug found due to
13447         the new assert in lyxstring!
13448
13449         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13450         KP_ keys.
13451
13452 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13455         to latinkeys.bind.
13456
13457         * lyxfunc.C (processKeySym): change method of getting to the
13458         self-insert char.
13459
13460         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13461         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13462         * BufferView_pimpl.[Ch]: here as private methods.
13463
13464 2001-05-28  Juergen Vigna  <jug@sad.it>
13465
13466         * text.C (SetHeightOfRow): added the update() call again as it is
13467         needed to initialize inset dimensions!
13468
13469 2001-05-16  Juergen Vigna  <jug@sad.it>
13470
13471         * text2.C (SetCharFont): Add new function with BufferView * and
13472         bool toggleall parameters for setting insets internal fonts.
13473         (SetFont): Freeze the undo as we may change fonts in Insets and
13474         all this change should be inside only one Undo!
13475
13476         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13477         setting font's in insets as for them we have the SetFont function!
13478
13479 2001-05-15  Juergen Vigna  <jug@sad.it>
13480
13481         * text2.C (ClearSelection): to be sure we REALLY don't have any
13482         selection anymore!
13483
13484         * tabular.C (TeXCellPreamble): fixed the left border problem for
13485         multicolumn cells.
13486
13487 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13488
13489         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13490         dependancy file
13491
13492 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13493
13494         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13495         LFUN_BREAKPARAGRAPH.
13496
13497         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13498         help test to "internal only", similar for LFUN_INSERT_URL
13499
13500         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13501         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13502         auto_region_delete and deadkeys.
13503
13504 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * LColor.h:
13507         * LColor.C: remove some dead entries, tidy a little
13508
13509 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13512         commented code.
13513         (Dispatch): implement LFUN_ESCAPE
13514
13515         * commandtags.h: add LFUN_ESCAPE
13516
13517         * LyXAction.C (init): add entry for LFUN_ESCAPE
13518
13519         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13520         Remove commented code.
13521         (insertNote): moved here
13522         (open_new_inset): moved here
13523
13524         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13525         BufferView_pimpl
13526
13527 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * kbmap.C (findbinding): clean it up and make it work correctly.
13530
13531         * lyx_main.C (init): do not pass argc and argv as parameters
13532
13533 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13534
13535         * buffer.C: fix path for OS/2 & Win32
13536
13537         * lyx_gui.C:
13538         * lyx_main:
13539         * lyx_main.C: Added os:: class.
13540
13541         * os2_defines.h: update
13542
13543 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13546         better by trying again with reduced state.
13547
13548 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13549
13550         * lyxrc.C (read): print error about invalid key sequence only when
13551         debugging (because not all latinX keysyms are known to some X
13552         servers)
13553
13554         * kbsequence.C (getiso): add a few std:: qualifiers
13555         (getiso): comment out extra return statement.
13556
13557 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13558
13559         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13560         handling.
13561         (Dispatch): enhance the accent inset a bit. (not perfect)
13562
13563 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13566
13567 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13568
13569         * bufferlist.C (emergencyWrite): fix assert() call
13570
13571 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13572
13573         * text.C (InsertChar): Added trivial patch to only send the "you
13574         can not do multiple spaces this way" message once during a
13575         session.
13576
13577 2001-05-08  Baruch Even  <baruch@lyx.org>
13578
13579         * Makefile.am: Changed order of libraries to get LyX to link properly
13580         with the gnome frontend.
13581
13582 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * LaTeXFeatures.h: add a std:: qualifier
13585
13586 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * paragraph.C (String): use stringstream
13589
13590 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * paragraph.C (writeFile): remove footflag arg
13593
13594         * buffer.C (makeLaTeXFile): use stringstream
13595         (latexParagraphs): remove footnot gurba
13596
13597         * LaTeXFeatures.C (getPackages): use stringstream
13598         (getMacros): likewise
13599         (getTClassPreamble): likewise
13600         (getFloatDefinitions): new method
13601
13602         * paragraph.C (writeFile): reindent
13603         (Erase): reindent
13604
13605         * WorkArea.h: revert the xpos + etc changes.
13606
13607         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13608
13609         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13610
13611         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13612         (pasteSelection): likewise
13613         * text2.C (CreateUndo): likewise
13614
13615 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * minibuffer.C (peek_event): temporarily reduce the functionality
13618         of the minibuffer (to allow args on lfuns)
13619
13620         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13621         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13622
13623         * buffer.C (readInset): add compability reading of old float
13624         lists, add reading of new style float list.
13625         (readInset): avoid reevaluation of inscmd.getCmdName()
13626         (getLists): reindent
13627
13628         * MenuBackend.C (MenuItem): implement parsing of
13629         md_floatlistinsert and md_floatinsert.
13630         (expand::LastFiles): move initalizaton of iterators out of loop,
13631         avoid reevaluation.
13632         (expand::Documents): introduce typdedef vector<string> Strings,
13633         and use it.
13634         (expand::ExportFormats): introduce typedef vector<Format const *>
13635         Formats, and use it.
13636         (expand): implement FloatListInsert and FloatInsert.
13637
13638         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13639         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13640         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13641
13642         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13643         handling.
13644         (Dispatch::LFUN_FLOAT_LIST): implement
13645
13646 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13647
13648         * LaTeX.C (run): Fix problem with --export code.
13649
13650 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13651
13652         * BufferView.[Ch] (workarea): removed.
13653         (getClipboard) new method; wrapper for workarea()->getClipboard()
13654
13655         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13656         bug.
13657
13658         * WorkArea.h (width, height, xpos, ypos): These methods all
13659         returned the dimensions of the work_area sub-area of WorkArea,
13660         resulting in a position error if the WorkArea were resized. Now
13661         return the dimensions of the entire WorkArea.
13662
13663         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13664
13665 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * LaTeX.C (deplog): correct the syntax of regex reg1
13668
13669 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * undo.C: remove !NEW_INSETS cruft
13672
13673 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * text2.C: remove !NEW_INSETS cruft
13676
13677         * text.C: remove !NEW_INSETS cruft
13678
13679         * tabular.C: remove !NEW_INSETS cruft
13680
13681         * spellchecker.C: remove !NEW_INSETS cruft
13682
13683         * lyxtext.h: remove !NEW_INSETS cruft
13684
13685         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13686
13687         * lyxfunc.C: remove !NEW_INSETS cruft
13688
13689         * lyxfind.C: remove !NEW_INSETS cruft
13690
13691         * lyx_cb.C: remove !NEW_INSETS cruft
13692
13693         * figureForm.C: remove  !NEW_INSETS cruft
13694
13695         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13696
13697         * buffer.[Ch]: remove !NEW_INSETS cruft
13698
13699         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13700
13701         * CutAndPaste.C: remove !NEW_INSETS cruft
13702
13703         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13704
13705         * BufferView2.C: remove !NEW_INSETS cruft
13706
13707         * BufferView.h: remove !NEW_INSETS cruft
13708
13709 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13710
13711         * Lsstream.h: include LString.h before the sstream headers to
13712         fix problem with gcc 2.95.3 and lyxstring
13713
13714 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyx_main.C: add using directives when needed for C functions
13717         declared in std:: namespace.
13718
13719 2001-04-27  Juergen Vigna  <jug@sad.it>
13720
13721         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13722         (SetHeightOfRow): comment out the update call should not be needed!
13723
13724 2001-04-13  Juergen Vigna  <jug@sad.it>
13725
13726         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13727         (LyXTabular): tried to minimize operator= operations (and realized
13728         hopfully Lars wish).
13729
13730 2001-04-27  Juergen Vigna  <jug@sad.it>
13731
13732         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13733
13734 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13737
13738         * buffer.C (readInset): hack to make listof algorithm work
13739
13740         * BufferView_pimpl.C: hack to make listof algorithm work
13741
13742 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * LyXAction.C: removed all !NEW_INSETS cruft
13745         (init): moved lfun_item in method
13746
13747         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13748
13749 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13750
13751         * BufferView2.C (theLockingInset): white space.
13752
13753 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13754
13755         * minibuffer.C: include <iostream>
13756
13757         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13758
13759         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13760
13761         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13762
13763         * text.[Ch] (TransposeChars): new method
13764
13765 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * call message directly through LyXView instead of through LyXFunc
13768         * BufferView2.C: adjust
13769         * BufferView_pimpl.C: adjust
13770         * FontLoader.C: adjust
13771         * buffer.C: adjust
13772         * bufferview_funcs.C: adjust
13773         * converter.C: adjust
13774         * figureForm.C: adjust
13775         * importer.C: adjust
13776         * lyx_cb.C: adjust
13777         * lyx_gui_misc.C: adjust
13778         * lyxfunc.C: adjust
13779         * lyxvc.C: adjust
13780         * text2.C: adjust
13781         + more files in subdirs
13782
13783         * lyxparagraph.h (size): move up int file
13784         (GetLayout): ditto
13785
13786         * adjust all uses of Assert to lyx::Assert.
13787
13788         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13789         lyxfunctional in namespace lyx
13790         * layout.C (hasLayout): ditto
13791         (GetLayout): ditto
13792         (GetLayout): ditto
13793         (delete_layout): ditto
13794         (NumberOfClass): ditto
13795         * converter.C (GetFormat): ditto
13796         (GetNumber): ditto
13797         (Add): ditto
13798         (Delete): ditto
13799         (SetViewer): ditto
13800         * bufferlist.C (getFileNames): ditto
13801         (emergencyWriteAll): ditto
13802         (exists): ditto
13803         (getBuffer): ditto
13804         * MenuBackend.C (hasSubmenu): ditto
13805         (hasMenu): ditto
13806         (getMenu): ditto
13807         * BufferView_pimpl.C (getInsetByCode): ditto
13808
13809 2001-04-18  Juergen Vigna  <jug@sad.it>
13810
13811         * vspace.C (asLatexString): fixed the 100% problem.
13812
13813 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * lyxfunc.C (Dispatch):
13816         * minibuffer.C:
13817         * minibuffer.h: add a few std:: qualifiers
13818
13819 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * minibuffer.[Ch]: reimplement so that commands is initiated and
13822         run from lyxfunc, simplified som handling, and made the completion
13823         and history code for complete. wip.
13824
13825         * lyxfunc.C (processKeySym): call message
13826         (miniDispatch): new temporary method
13827         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13828         (LFUN_MESSAGE): implement
13829         (LFUN_MESSAGE_PUSH): implement
13830         (LFUN_MESSAGE_POP): implement
13831         (initMiniBuffer): the initial/defualt minibuffer message.
13832
13833         * lyxfont.[Ch]: inline some more getters
13834
13835         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13836
13837         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13838
13839         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13840         (AutoSave): use LFUN_MESSAGE
13841         (Reconfigure): ditto
13842
13843         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13844
13845         * figureForm.C: use LFUN_MESSAGE
13846
13847         * converter.C (runLaTeX): use LFUN_MESSAGE
13848
13849         * bufferview_funcs.C: use LFUN_MESSAGE
13850         (Melt): ditto
13851         (changeDepth): ditto
13852
13853         * bufferparams.h: use boost::
13854
13855         * bufferlist.h: inherit privately from noncopyable
13856
13857         * bufferlist.C (loadLyXFile): remove some commented code.
13858
13859         * buffer.C (runChktex): use LFUN_MESSAGE
13860
13861         * ShareContainer.h: inherit privately from noncopyable
13862
13863         * ParagraphParameters.[hC] (depth): inline it.
13864
13865         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13866         methods.
13867         (message): new method
13868         (messagePush): ditto
13869         (messagePop): ditto
13870         (show): init minibuffer
13871         (showState): direct call
13872
13873         * LaTeX.[Ch]: inherit privately from noncopyable
13874         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13875         instead of WriteStatus.
13876
13877         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13878
13879         * BufferView_pimpl.C (buffer): don't init minibuffer
13880         (workAreaButtonPress): use LFUN_MESSAGE
13881         (workAreaButtonRelease): ditto
13882         (savePosition): ditto
13883         (restorePosition): ditto
13884         (MenuInsertLyXFile): ditto
13885         (workAreaExpose): don't init minibuffer
13886         (update): remove commented code, simplify
13887
13888         * BufferView2.C (openStuff): use LFUN_MESSAGE
13889         (toggleFloat): ditto
13890         (menuUndo): ditto
13891         (menuRedo): ditto
13892         (copyEnvironment): ditto
13893         (pasteEnvironment): ditto
13894         (copy): ditto
13895         (cut): ditto
13896         (paste): ditto
13897         (gotoInset): ditto
13898         (updateInset): remove some commented code
13899
13900         * lastfiles.h: inherit privately from noncopyable
13901         * layout.h: ditto
13902         * lyx_gui.h: ditto
13903         * lyx_main.h: ditto
13904         * lyxlex.h: ditto
13905         * lyxlex_pimpl.h: ditto
13906
13907         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13908         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13909         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13910
13911         * LyXAction.h: inherit privately from noncopyable, add methods
13912         func_begin, func_end, returning iterators to the func map.
13913
13914         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13915         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13916         (func_begin): new method
13917         (func_end): new method
13918
13919         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13920         and not)
13921         (copySelection): ditto
13922         (pasteSelection): ditto
13923
13924         * BufferView.C: whitespace change
13925         * BufferView.h: inherit privately from noncopyable
13926
13927 2001-04-16  Allan Rae  <rae@lyx.org>
13928
13929         * tabular-old.C (l_getline):
13930         * spellchecker.C (sc_check_word):
13931         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13932         an unrecognised preprocessor directive.  So ensure they're wrapped.
13933
13934 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * src/exporter.C (Export): Give an error message when path to file
13937         contains spaces.
13938
13939 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * LaTeX.C (deplog): Always check that foundfile exists.
13942
13943 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * lyx_main.h:
13946         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13947
13948 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * tabular.[Ch] (getLabelList): implement new method
13951
13952         * minibuffer.h: comment ouf setTiimer
13953
13954         * minibuffer.C (ExecutingCB): constify res
13955         (peek_event): constify s
13956         (Set): constify ntext
13957         (Init): constify nicename
13958
13959         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13960
13961         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13962         (savePosition): use two params to Minibuffer::Set
13963         (restorePosition): ditto
13964
13965 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * lyx_main.C: include language.h
13968
13969         * Makefile.am (lyx_main.o): add language.h
13970
13971 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13972
13973         * exporter.C:
13974         * paragraph.C:
13975         * screen.C:
13976         * tabular.C:
13977         * CutAndPaste.C: include gettext.h
13978
13979         * lyxfont.h: remove old hack with ON and OFF.
13980
13981         * lyxparagraph.h:
13982         * lyxfont.h: do not include language.h...
13983
13984         * BufferView2.C:
13985         * LaTeXFeatures.C:
13986         * Painter.C:
13987         * bufferview_funcs.C:
13988         * font.C:
13989         * lyxfont.C:
13990         * text.C:
13991         * text2.C:
13992         * trans_mgr.C:
13993         * paragraph.C: ... but do it here instead
13994
13995 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13996
13997         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13998
13999         * tabular.C: small reformat
14000
14001         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14002         NEW_INSETS version
14003         (GetChar): ditto
14004         (BreakParagraph): ditto
14005         (SetOnlyLayout): ditto
14006         (SetLayout): ditto
14007
14008         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14009         with one arg less.
14010
14011         * lastfiles.C: removed most using decl, add std:: where needed
14012
14013         * buffer.C: ws changes
14014
14015         * MenuBackend.C (class compare_format): put into anon namespace
14016         (expand): constify label, names, action, action2
14017         (expand):
14018
14019         * text.C (SingleWidth): constify font
14020         (IsBoundary): constify rtl2
14021         (GetVisibleRow): constify ww
14022
14023         * LaTeX.C (deplog): constify logfile
14024
14025         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14026         start_x, end_x
14027         (workAreaExpose): constify widthChange, heightChange
14028
14029         * lyxrow.C (par): moved
14030         (height): moved
14031         (next): moved
14032         * lyxrow.h: as inlines here
14033
14034         * lyxfont.h (shape): moved from lyxfont.C
14035         (emph): moved from lyxfont.C
14036
14037         * lyxfont.C (LyXFont): use initialization list for all
14038         constructors
14039         (shape): move to lyxfont.h as inline
14040         (emph): move to lyxfont.h as inline
14041
14042
14043 2001-04-04  Juergen Vigna  <jug@sad.it>
14044
14045         * vspace.C: had to include stdio.h for use of sscanf
14046
14047 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * BufferView.h:
14050         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14051         independent of xforms.
14052
14053 2001-04-02  Juergen Vigna  <jug@sad.it>
14054
14055         * spellchecker.C: fixed namespace placing!
14056
14057 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14060         the LyXParagraph * is 0.
14061
14062 2001-03-29  Juergen Vigna  <jug@sad.it>
14063
14064         * vspace.C: added support for %, c%, p%, l%.
14065         (stringFromUnit): added helper function.
14066         (asLatexString): changed to give right results for the %-values.
14067
14068         * buffer.C: convert the widthp in a width%.
14069
14070 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14071
14072         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14073         figureForm.[Ch].
14074
14075         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14076         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14077
14078         * lyx_cb.[Ch]: see above.
14079
14080         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14081         form1.[Ch].
14082
14083         * form1.[Ch]:
14084         * lyx.[Ch]: replaced by figure_form.[Ch].
14085
14086         * lyx_gui.C:
14087         * lyx_gui_misc.C:
14088         * lyxfunc.C: changed headers associated with above changes.
14089
14090 2001-03-27  Juergen Vigna  <jug@sad.it>
14091
14092         * BufferView_pimpl.C: set the temporary cursor right!
14093
14094 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14097
14098 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * LString.h: removed "using std::getline"!
14101
14102         * BufferView_pimpl.C (Dispatch): changes due to changes in
14103         InsetInclude::Params.
14104
14105         * buffer.C (tag_name): removed redundant break statements as they were
14106         producing lots of warnings with my compiler.
14107
14108 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * LString.h: add "using std::getline" when using the real <string>.
14111
14112 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14113
14114         * buffer.C: removed bitset usage.
14115         PAR_TAG moved to an anonymous name space.
14116         (tag_name): new funtion, also in the anonymous namespace.
14117         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14118         (makeDocBookFile): clean code. Completed transition from string arrays
14119         to string vectors.
14120         (SimpleDocBookOnePar): code clean.
14121
14122 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14123
14124         * tabular.C: add some comments.
14125
14126 2001-03-22  Juergen Vigna  <jug@sad.it>
14127
14128         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14129         compatibility read a bit and fixed bug with minipage in different
14130         depth.
14131
14132 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14133
14134         * buffer.C (pop_tag): removed.
14135         (push_tag): removed.
14136         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14137         array replaced with vector. Added support for CDATA sections.
14138         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14139         at any nest level.
14140         (makeDocBookFile): XML conformant declaration of CDATA section,
14141         fixed bug related to <emphasis> in the first paragraph char.
14142         (sgmlOpenTag): exclude empty tags.
14143         (sgmlCloseTag): ditto.
14144
14145         * buffer.h (pop_tag): removed.
14146         (push_tag): removed.
14147
14148 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * language.h (Languages): added size_type and size().
14151
14152 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14153
14154         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14155         response on compability reading of minipages. One probliem is that
14156         the old usage of minipages was «flertydig»
14157
14158         * several files here and in subdirs: don't use static at file
14159         scope use anon namespaces instead.
14160
14161 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14162
14163         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14164         LaTeX output. This is necessary for Literate document
14165         processing.
14166
14167 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14168
14169         * buffer.C: insert hfill when needed.
14170
14171         * tabular.C (l_getline): use string::erase, small whitespace change.
14172
14173         * BufferView_pimpl.C: try the anon namespace.
14174         * WorkArea.C: ditto
14175
14176 2001-03-16  Juergen Vigna  <jug@sad.it>
14177
14178         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14179         otherwise it won't open options-dialogs.
14180
14181         * buffer.C: honor pextraWidth(p) on converting minipages.
14182
14183         * tabular.C (l_getline): changed the functions to strip trailing \r.
14184
14185 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * BufferView_pimpl.C:
14188         * minibuffer..C: added "using SigC::slot" declaration.
14189
14190 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14191
14192         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14193
14194         * text2.C: ditto
14195
14196         * text.C: ditto
14197
14198         * paragraph.C: ditto
14199
14200         * lyxtext.h: NO_PEXTRA
14201
14202         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14203
14204         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14205         * ParameterStruct.h: ditto
14206         * ParagraphParameters.h: ditto
14207         * lyxparagraph.h: ditto
14208
14209 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14210
14211         * buffer.C: add compability for minipage alignment.
14212         (latexParagraphs): remove unwanted pextra check.
14213
14214         * several files: remove CXX_WORKING_NAMESPACES
14215
14216         * buffer.C (pop_tag): tie is in namespace boost
14217
14218         * BufferView.h: noncopyable is in namespace boost
14219         * lyxlex.h: ditto
14220         * lyx_main.h: ditto
14221         * lyx_gui.h: ditto
14222         * layout.h: ditto
14223         * lastfiles.h: ditto
14224         * bufferlist.h: ditto
14225         * ShareContainer.h: ditto
14226         * LyXView.h: ditto
14227         * LyXAction.h: ditto
14228         * LaTeX.h: ditto
14229
14230 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14231
14232         * Merging changes from BRANCH_MVC back into HEAD.
14233
14234         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14235
14236 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * BufferView_pimpl.C: change from intl.C
14239
14240         * combox.h:
14241         * combox.C:
14242         * Makefile.am: move combox.*
14243
14244         * form1.h:
14245         * form1.C:
14246         * lyx_gui.C:
14247         * intl.h:
14248         * intl.C: remove dialog (covered by prefs)
14249
14250 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14251
14252         * lyxfunc.C (Dispatch): removed redundant break statement.
14253
14254 2001-03-14  Juergen Vigna  <jug@sad.it>
14255
14256         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14257
14258 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14259
14260         * buffer.C: add hack to fix compability reading of minipages.
14261
14262 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14263
14264         * buffer.C (getLists): Cleanup.
14265
14266 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * lyxfont.C (update): don't honor toggleall on font size.
14269
14270 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * bmtable.c:
14273         * bmtable.h:
14274         * Makefile.am: moved to frontends/xforms/
14275
14276         * lyx_gui_misc.C:
14277         * lyxfunc.C:
14278         * BufferView_pimpl.C: changes for moved mathpanel
14279
14280 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * gettext.h: fix gettext_init() in --disable-nls
14283
14284 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14287
14288 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * lyx.C:
14291         * lyx.h: strip external form
14292
14293 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * BufferView_pimpl.C: add comment, destroySplash()
14296
14297 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * BufferView_pimpl.C:
14300         * LyXAction.C:
14301         * buffer.C:
14302         * commandtags.h:
14303         * lyxfunc.C: use re-worked insetinclude
14304
14305 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14306
14307         * buffer.C: add using std::stringstream.
14308
14309         * lyx_cb.C: readd using std::ios.
14310
14311         * buffer.C: add using std::map.
14312
14313         * BufferView_pimpl.C: add using std::vector.
14314
14315         * ShareContainer.h: add std:: to swap.
14316
14317         * buffer.h: add some typedefs
14318         * buffer.C (getLists): use them
14319         (getLists): renamed from getTocList.
14320         add a counter for the different float types and use it in the
14321         generated string.
14322         (getLists): use the same counter for the NEW_INSETS and the "non"
14323         NEW_INSETS
14324
14325         * lyx_cb.h: remove unused items, includes, using etc.
14326
14327         * ShareContainer.h: remove some commented code, add more comments
14328         and "documentation".
14329
14330 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14331
14332         * buffer.C (getTocList): make the list also when NEW_INSETS is
14333         defined.
14334
14335         * buffer.h: remove TocType
14336
14337         * buffer.C (getTocList): change to return a map<string,
14338         vector<TocItem> >, implement for dynamic number of list.
14339
14340         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14341         * text2.C (PasteSelection): adjust
14342         * CutAndPaste.C (pasteSelection): adjust
14343
14344         * FloatList.C (FloatList): update from the new_insets branch.
14345         * Floating.[Ch]: ditto
14346         * LaTeXFeatures.C: ditto
14347         * buffer.C: ditto
14348         * lyxlex_pimpl.C: ditto
14349
14350         * paragraph.C (Last): remove when NEW_INSETS is defined.
14351
14352         * other file: changes because of the above.
14353
14354 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14355
14356         * lyxparagraph.h: rename next to next_, previous to previous_,
14357         make them private for NEW_INSETS. Rename Next() to next(),
14358         Previous() to previous().
14359
14360         * other files: changes because of the above.
14361
14362 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14363
14364         * BufferView.h:
14365         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14366         problem.
14367
14368 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * main.C (main): pass lyx_localedir to gettext_init().
14371
14372         * gettext.h: remove locale_init and gettext_init macros
14373
14374         * gettext.C (locale_init): new function
14375         (gettext_init): new function
14376
14377         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14378         setlocale().
14379
14380 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14381
14382         * Moved credits to frontends:
14383         * credits.[Ch]: removed
14384         * credits_form.[Ch]: removed
14385         * lyx_gui_misc.C: remove credits stuff
14386         * Makefile.am:
14387
14388 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14389
14390         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14391
14392         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14393         unneeded destructor.
14394
14395         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14396         a standalone pointer again.
14397
14398         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14399
14400 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * Makefile.am:
14403         * filedlg.h:
14404         * filedlg.C:
14405         * LyXAction.C:
14406         * ToolbarDefaults.C:
14407         * bufferlist.C:
14408         * commandtags.h:
14409         * form1.C:
14410         * form1.h:
14411         * lyx_cb.C:
14412         * lyx_cb.h:
14413         * lyxfunc.h:
14414         * lyxfunc.C:
14415         * BufferView_pimpl.C: use new file dialog in GUII
14416
14417         * lyx_cb.h:
14418         * lyx_cb.C: remove LayoutsCB to Toolbar
14419
14420 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14421
14422         * ShareContainer.h (get): add std:: qualifier
14423
14424 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * ShareContainer.h: define a proper ShareContainer::value_type
14427         type (and use typename to please compaq cxx)
14428
14429 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14430
14431         * lyxparagraph.h: move serveral local vars to
14432         ParameterStruct/ParagraphParameters., use ShareContainer in
14433         FontTable., make vars in FontTable private and add getter and
14434         setter.
14435
14436         * paragraph.C: changes because of the above.
14437
14438         * lyxfont.h: remove copy constructor and copy assignment. (the
14439         default ones is ok), move number inside FontBits. move inlines to
14440         lyxfont.C
14441
14442         * lyxfont.C: add number to initializaton of statics, move several
14443         inlines here. constify several local vars. some whitespace
14444         cleanup. Dont hide outerscope variables.
14445
14446         * Spacing.h: add two new constructors to match the set methods.
14447
14448         * ShareContainer.h: new file, will perhaps be moved to support
14449
14450         * ParameterStruct.h: new file
14451
14452         * ParagraphParameters.h: new file
14453
14454         * ParagraphParameters.C: new file
14455
14456         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14457         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14458
14459         * BufferView_pimpl.C: ParagraphParameter changes.
14460         * buffer.C: Likewise.
14461         * bufferview_funcs.C: Likewise.
14462         * text.C: Likewise.
14463         * text2.C: Likewise.
14464
14465 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14466
14467         * lyxfind.C (LyXReplace): do not redefine default argument in
14468         implementation.
14469         (IsStringInText): ditto
14470         (SearchForward): ditto
14471         (SearchBackward): ditto
14472
14473 2001-03-06  Juergen Vigna  <jug@sad.it>
14474
14475         * lyxfind.C (IsStringInText): put parentes around expressions.
14476
14477 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14478
14479         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14480
14481 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14484
14485         * stl_string_fwd.h: add comment
14486
14487         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14488
14489         * tabular.h:
14490         * tabular.C: remove unused DocBook methods
14491
14492         * intl.C:
14493         * language.C:
14494         * paragraph.C:
14495         * buffer.C:
14496         killed DO_USE_DEFAULT_LANGUAGE
14497
14498 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * lyx_gui.C: do not include language.h.
14501
14502         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14503         arguments in function implementation.
14504
14505 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14506
14507         * BufferView_pimpl.C: add <ctime>
14508
14509 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14510
14511         * BufferView_pimpl.C: add using std::find_if
14512
14513 2001-02-27  José Matos  <jamatos@fep.up.pt>
14514
14515         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14516         by OnlyPath.
14517
14518 2001-02-11  José Matos  <jamatos@fep.up.pt>
14519
14520         * buffer.C (makeDocBookFile): command styles now have a parameter as
14521         "title" by default.
14522
14523 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14524
14525         * layout_forms.[Ch]: removed
14526         * lyx_cb.[Ch]: out character
14527         * lyx_gui.C: out character
14528         * lyx_gui_misc.C: out character
14529         * bufferview_funcs.C: : out character,
14530         added toggleall as parameter in ToggleAndShow
14531
14532 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14533
14534         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14535
14536         * text2.C (SetCurrentFont): Disable number property at boundary.
14537
14538 2001-02-26  Juergen Vigna  <jug@sad.it>
14539
14540         * lyxfunc.C (getStatus): added a string argument override function so
14541         that this is correctly called from LyXFunc::Dispatch if it contains a
14542         do_not_use_argument which is used!
14543         (Dispatch): added check for "custom" export and call appropriate func.
14544
14545 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14546
14547         * lyxrc.C: Add language_command_local, language_use_babel and
14548         language_global_options.
14549
14550         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14551
14552         * buffer.C (makeLaTeXFile): Use language_use_babel and
14553         language_global_options.
14554
14555 2001-02-23  Juergen Vigna  <jug@sad.it>
14556
14557         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14558         which works with LyXText and putted it inside BufferView. Here now we
14559         only call for that part the BufferView::Dispatch() function.
14560
14561         * BufferView.C (Dispatch): added.
14562
14563         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14564         functions which needs to use a LyXText over from LyXFunc.
14565         (MenuInsertLyXFile): added
14566         (getInsetByCode): added
14567         (moveCursorUpdate): added
14568         (static TEXT): added
14569
14570 2001-02-22  Juergen Vigna  <jug@sad.it>
14571
14572         * BufferView_pimpl.C (update): call a status update to see if LyXText
14573         needs it.
14574
14575 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14576
14577         * vc-backend.C (revert): implement for CVS
14578         (getLog): implement for CVS
14579
14580 2001-02-20  Juergen Vigna  <jug@sad.it>
14581
14582         * text2.C (ClearSelection): added BufferView param for inset_owner call
14583
14584         * lyxfunc.C (TEXT): added this function and use it instead of
14585         directly owner->view()-text of getLyXText().
14586
14587 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14588
14589         * src/layout_forms.C: out preamble
14590         * src/layout_forms.h: out preamble
14591         * src/lyx_cb.C: out preamble
14592         * src/lyx_cb.h: out preamble
14593         * src/lyx_gui.C: out preamble
14594         * src/lyx_gui_misc.C: out preamble
14595         * src/lyxfunc.C: connect with guii preamble
14596
14597 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14598
14599         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14600
14601 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14604         whether to run bibtex.
14605
14606 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14609
14610 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14611
14612         * Makefile.am (lyx_SOURCES): removed bibforms.h
14613
14614         * vspace.h: doxygen
14615
14616         * text.C (GetVisibleRow): make several local vars const
14617
14618         * tabular.C: small cleanup.
14619
14620         * lyxserver.C (callback): use compare instead of strncmp
14621
14622         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14623         inlines to after class or to paragraph.C
14624
14625         * lyxfont.h: remove friend operator!=
14626
14627         * converter.h: move friend bool operator< to non friend and after
14628         class def.
14629
14630         * combox.h: small cleanup
14631
14632         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14633         to inlines after class def.
14634
14635         * buffer.C (pop_tag): use string operations instead of strcmp
14636
14637         * bmtable.c: doxygen, small cleanup
14638
14639         * LaTeX.h: remove friend operator==
14640
14641 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14642
14643         * screen.C:
14644         * lyxrc.[Ch]:
14645         * lyxfunc.C:
14646         * lyxfont.[Ch]:
14647         * lyx_cb.C:
14648         * intl.[Ch]:
14649         * commandtags.h:
14650         * buffer.C:
14651         * WorkArea.[Ch]:
14652         * LyXAction.C:
14653         * BufferView_pimpl.C:
14654         * BufferView.[Ch]: remove cruft
14655
14656 2001-02-14  Juergen Vigna  <jug@sad.it>
14657
14658         * lyxfunc.C: removed #if 0 unused code
14659
14660         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14661
14662         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14663
14664         * text2.C (SetSelection): added a BufferView * parameter
14665
14666 2001-02-13  Juergen Vigna  <jug@sad.it>
14667
14668         * lyxfunc.C (Dispatch): fixed protected blank problem.
14669         * BufferView2.C (protectedBlank): added LyxText * parameter.
14670
14671         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14672         (AppendColumn): same as above for column_info.
14673
14674         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14675         (moveCursorUpdate): use a LyXText param for support of InsetText.
14676
14677         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14678         (tripleClick): ditto
14679
14680         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14681
14682         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14683
14684         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14685
14686         * text2.C (SetSelection): set correct update status if inset_owner
14687         (ToggleFree): ditto
14688
14689 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14690
14691         * tabular.C: remove some commented code.
14692
14693 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * BufferView_pimpl.C: call hideSplash()
14696
14697         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14698
14699         * include_form.h:
14700         * bibforms.h: remove
14701
14702         * lyxfunc.C:
14703         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14704           add LFUN_CHILD_CREATE
14705
14706         * counters.h: fix tiny typo
14707
14708         * lyx_cb.C:
14709         * lyx.h:
14710         * lyx_gui.C:
14711         * lyx.C: move splash to frontends/xforms/
14712
14713         * lyx_gui_misc.C: move Include and Bibform to frontends
14714
14715         * lyxvc.h: clarify comment
14716
14717         * vspace.C: tiny housekeeping
14718
14719 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * text.C (PrepareToPrint): RTL Fix.
14722
14723         * paragraph.C (GetUChar): New method.
14724         (String):  Use GetUChar.
14725
14726         * buffer.C (asciiParagraph): Use GetUChar.
14727
14728 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14731
14732 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * buffer.h:
14735         * buffer.C: rename to getLogName(), handle
14736           build log / latex log nicely
14737
14738 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * MenuBackend.C:
14741         * MenuBackend.h: remove support for reference menuitem type.
14742
14743 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * BufferView_pimpl.C: housekeeping
14746         * BufferView_pimpl.h:
14747         * LyXView.h:
14748         * Makefile.am:
14749         * Timeout.C:
14750         * Timeout.h:
14751         * minibuffer.h: move Timeout GUI-I
14752
14753 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * lyxrc.C (read): Update converters data-structures.
14756
14757 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14758
14759         * LaTeX.h (operator!=): add operator != for Aux_Info
14760
14761 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14762
14763         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14764
14765         * LaTeXLog.C: deleted, useful code moved to Buffer
14766
14767         * buffer.h:
14768         * buffer.C: new function getLatexLogName()
14769
14770         * lyx_gui_misc.C:
14771         * lyx_gui.C:
14772         * lyxvc.C:
14773         * lyxvc.h:
14774         * lyxfunc.C: use frontends for LaTeX and VC logs
14775
14776 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * LaTeX.h: yet another std:: that Allan forgot.
14779
14780         * Variables.C (set): renamed from isset(), because this clashes
14781         with some HP-UX macros (grr).
14782
14783 2001-02-06  Allan Rae  <rae@lyx.org>
14784
14785         * LaTeX.h: Another bug fix.  Missing std:: this time.
14786
14787 2001-02-04  Allan Rae  <rae@lyx.org>
14788
14789         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14790         floats problem. I've left it commented out because it's not quite
14791         correct.  It should also test that the current object is a table or
14792         figure inset.  But I haven't gotten around to figuring out how to do
14793         that.  I *think* it'll be something like: "table" == inset.type()
14794
14795         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14796         bool.
14797
14798 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14801         all the citation/databases/styles in the auxilary file.
14802         (run): Rerun latex if there was a babel language error.
14803
14804 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14805
14806         * text.C (Backspace): Preserve the font when changing newline char
14807         with a space.
14808         (BreakParagraph): If the cursor is before a space, delete the space.
14809
14810         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14811
14812 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14815         new argument (code).
14816         (ChangeCitationsIfUnique): New method.
14817
14818         * paragraph.C (GetPositionOfInset): Handle bibkey.
14819
14820 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * BufferView_pimpl.h: change type of Position::par_pos to
14823         LyXParagraph::size_type.
14824
14825 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * BufferView_pimpl.C (savePosition, restorePosition): Write
14828         messages to minibuffer.
14829
14830 2001-01-28  José Matos  <jamatos@fep.up.pt>
14831
14832         * buffer.C (makeDocBookFile): adds support for document language.
14833         A silly restriction on the name of LatexCommand types where removed.
14834         Added support for CDATA sections, allows to chars unescaped, used
14835         among others in code, to avoid escape < and >.
14836
14837 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14840         saved positions instrad of a stack. Furthermore, a position is
14841         stored using paragraph id/paragraph position.
14842
14843         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14844         Remove LFUN_REF_BACK.
14845
14846 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14847
14848         * converter.C (dvipdfm_options): New method.
14849
14850 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * vspace.C (isValidLength): Fix for empty input string.
14853
14854 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * LyXAction.C (init): change description of LFUN_FIGURE to
14857         "Insert Graphics"
14858
14859 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * LaTeX.C: add using directive
14862
14863 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14864
14865         * MenuBackend.C (expand): Fix the sorting of the formats.
14866
14867 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14868
14869         * lyx_main.C: tiny error message fix
14870
14871 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14872
14873         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14874         calling fl_initialize(). This fixes the problem with ',' as
14875         decimal separator in text files.
14876
14877 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * trans.C (process): Fix the keymap bug.
14880
14881 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14882
14883         * LaTeX.C (scanAuxFiles): New method. Provides support for
14884         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14885         (scanLogFile) Scan for "run BibTeX" messages.
14886
14887         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14888         OT1 font encoding. Also, load the aecompl package if the ae
14889         package is loaded.
14890
14891         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14892
14893 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * texrow.C (increasePos): turn two error messages into debug
14896         messages.
14897
14898 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * LaTeX.C (scanAux): Handle the \@input macro.
14901         (runBibTeX): Use scanAux().
14902
14903         * language.C (latex_options_): New field.
14904
14905         * LaTeXFeatures.C (getMacros): Add language macros.
14906
14907         * buffer.C (makeLaTeXFile): Small fix.
14908
14909 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14912
14913         * text2.C: add a using directive.
14914
14915 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * BufferView2.C:
14918         * lyx_gui_misc.h:
14919         * lyxfr1.C:
14920         * lyxfunc.C: kill LyXBell.
14921
14922 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14923
14924         * text.C (IsBoundary): Remove the error message
14925
14926         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14927
14928         * lyxrc.C (setDefaults): Correct initialization value for
14929         font_norm_type.
14930
14931 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14934         gotoError().
14935
14936         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14937         and GotoNextNote().
14938
14939         * src/LyXAction.C: Added reference-next.
14940
14941         * text.C (InsertChar): Use contains instead of strchr.
14942
14943         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14944
14945 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14946
14947         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14948         alignment commands (when needed).
14949
14950         * text.C (InsertChar): Add ':' to number separator chars.