]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
64 bit compile fixes.
[lyx.git] / src / ChangeLog
1 2004-03-24  Angus Leeming  <leeming@lyx.org>
2
3         64-bit compile fixes.
4
5         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
6         (c-tor): pass lyx::pos_types rather than ints.
7
8         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
9         lyx::pos_type.
10
11         * text.C (Delete): compile fix.
12         (getPar): ensure that function declaration is the same as that in
13         the header file.
14
15 2004-03-23  Angus Leeming  <leeming@lyx.org>
16
17         * ispell.C (LaunchIspell):
18         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
19         a boost::shred_ptr rather than a std::auto_ptr.
20
21 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * lyxfunc.C (getStatus): handle read-only buffers correctly;
24         handle LFUN_FILE_INSERT_*
25
26         * lyxrc.C (setDefaults, getDescription, output, read): 
27         * lyxrc.h: remove ps_command
28
29 2004-03-22  Angus Leeming  <leeming@lyx.org>
30
31         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
32         Ensure that error_handler is processed once only and that all data
33         is saved before attempting to output any warning messages.
34
35         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
36
37 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
38
39         * tabular.C (TeXRow): crash fix (from Kayvan and André)
40
41 2004-03-19  André Pönitz  <poenitz@gmx.net>
42
43         * cursor.[Ch] (reset): take main text inset as argument
44
45         * BufferView: adjust
46         * BufferView_pimpl.C: adjust
47
48         * paragraph.[Ch]: fix completely broken operator=()
49
50 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * LColor.C (getFromLyXName): make sure that the color name is used
53         as lowercase.
54
55 2004-03-17  Angus Leeming  <leeming@lyx.org>
56
57         * lfuns.h:
58         * LyXAction.C (init): remove LFUN_FORKS_KILL.
59
60         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
61         dialog and to kill a forked process.
62
63 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
64
65         * text2.C (setCursorFromCoordinates): fix font problem
66
67 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
70         bogus "rebuild cursor" code
71
72 2004-03-11  André Pönitz  <poenitz@gmx.net>
73
74         * buffer.[Ch]: use InsetText instead of LyXText as container for
75         the main lyx text.
76
77         * dociterator.[Ch]: drop the BufferView * member which is not needed
78         anymore after the change to buffer.C
79
80         * paragraph_funcs.C:
81         * text.C:
82         * text2.C:
83         * BufferView.[Ch]:
84         * BufferView_pimpl.[Ch]:
85         * cursor.[Ch]:
86         * cursor_slice.[Ch]: adjust
87
88         * text3.C: fix bug in mathDispatch
89
90 2004-03-08  André Pönitz  <poenitz@gmx.net>
91
92         * undo.[Ch]: use 'StableDocumentIterator' as base for
93         the Undo struct.
94
95 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
96
97         * LaTeXFeatures.C:
98         * bufferparams.[Ch]: add jurabib support and param.
99
100         * LaTeX.C: add FIXME/comment.
101
102 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
103
104         * buffer.C: increment file format to 230.
105
106 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
107
108         * cursor.C (dispatch): avoid infinite loops
109
110 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * rowpainter.C (paintSelection): fix x coordinates
113
114 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * text.C (rowBreakPoint): fix breaking before displayed insets
117
118 2004-03-01  André Pönitz  <poenitz@gmx.net>
119
120         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
121
122         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
123
124         * Makefile.am:
125         * BufferView.C:
126         * BufferView_pimpl.C:
127         * buffer.C:
128         * lyxfind.C:
129         * lyxfunc.C:
130         * text.C:
131         * text2.C:
132         * text3.C: adjust
133
134 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * lyxtext.h:
137         * text.C:
138         * text2.C:
139         * rowpainter.C:
140         * BufferView_pimpl.C: rename textwidth -> maxwidth,
141         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
142
143 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * Bidi.[Ch] (computeTables): const correctness
146         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
147         fill_hfill, fill_label_hfill and x from Row
148         * lyxtext.h: prepareToPrint returns a RowMetrics
149         * rowPainter.C: adjust
150         * text.C (prepareToPrint): use width, not textWidth. adjust
151         (redoParagraphInternal, cursorX): adjust
152         * text2.C (getColumnNearX): adjust
153         (init): put a default value to the top LyXText::width
154
155 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
156
157         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
158
159 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
160
161         * lyxtext.h: add FontIterator class
162
163         * text.C (FontIterator, operator*, operator->, operator++): add
164         (rowBreakPoint, setRowWidth): adjust (fixing a
165         rebreaking bug)
166
167 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * BufferView_pimpl.C (workAreaDispatch): allow also
170         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
171
172 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
173
174         * text.C (rowBreakPoint): fix a bug showing with very large insets
175
176 2004-02-25  André Pönitz  <poenitz@gmx.net>
177
178         * text3.C:
179         * cursor.[Ch]: move some mathed specific code to mathed
180
181 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
182
183         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
184         use_tempdir in preferences
185         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
186         tempfile creation
187         * lyx_main.C: ensure that tempdir is valid
188         * lyxlex.h: correct typo
189         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
190         * paragraph.[Ch] (isMultiLingual): make const
191         * cursor.[Ch] (openable): make const
192
193 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
196
197 2004-02-20  André Pönitz  <poenitz@gmx.net>
198
199         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
200
201         * cursor.[Ch]: prepare for localized getStatus()
202
203         * lyxtext.h:
204         * tabular.C:
205         * text.C:
206         * text2.C:
207         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
208
209 2004-02-20  André Pönitz  <poenitz@gmx.net>
210
211         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
212
213 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
214
215         * text2.C (setCursorFromCoordinates): switch to absolute coords
216         (cursorUp): adjust
217         (cursorDown): adjust
218         * text3.C (dispatch): adjust
219
220 2004-02-16  André Pönitz  <poenitz@gmx.net>
221
222         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
223           insets/ChangeLog)
224
225         * cursor_slice.[Ch]: remove unneeded acessor function
226
227         * lyxtext.h: rename rtl() to isRTL()
228
229         * rowpainter.C:
230         * tabular.C:
231         * text.C:
232         * text2.C:
233         * text3.C: adjust
234
235 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * rowpainter.C (paintSelection): coord fix
238
239 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
240
241         * Spacing.C: compile fix
242
243 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * cursor.C (dispatch): restore current_ before returning
246
247 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * text2.C (cursorUp, cursorDown): fix coords
250         (moveUp): fix crash
251
252 2004-02-12  André Pönitz  <poenitz@gmx.net>
253
254         * lyxtext.h:
255         * text.C:
256         * text2.C:
257         * text3.C: add LCursor & parameter to most cursor movement functions
258           remove usage of LyXText::cursorRow() and cursorPar()
259
260         * cursor.[Ch]: add textRow() needed members
261
262         * BufferView.C:
263         * BufferView_pimpl.C:
264         * paragraph.[Ch]:
265         * BufferView.C:
266         * BufferView_pimpl.C: adjust
267
268 2004-02-11  André Pönitz  <poenitz@gmx.net>
269
270         * lyxfunc.C:
271         * BufferView.[Ch]:
272         * BufferView_pimpl.C: shift undo/redo handling
273
274         * cursor.[Ch]: fix mathed crash
275
276         * lyxfind.C:
277         * lyxtext.h: move selectionAsText to LCursor
278
279         * output_latex.C:
280         * paragraph.C:
281         * text.C:
282         * text2.C:
283         * text3.C: adjust
284
285         * rowpainter.C: fix excessive drawing
286
287 2004-02-06  André Pönitz  <poenitz@gmx.net>
288
289         * BufferView.[Ch]:
290         * BufferView_pimpl.[Ch]:
291         * text3.C: move some text specific LFUN handling
292
293 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * text3.C (checkInsetHit): adjust coords
296         * text2.C (getColumnNearX): adjust coords
297         (edit): adjust coords
298         * text.C (getRowNearY): add two asserts
299
300 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * converter.C:
303         * format.C: add using std::distance to compile on gcc 2.95/stlport
304
305 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
306
307         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
308
309 2004-02-04  André Pönitz  <poenitz@gmx.net>
310
311         * BufferView.[Ch] (insertInset):
312         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
313
314         * text2.C:
315         * text3.C: adjust
316
317 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
318
319         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
320         on the default clause of the switch
321         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
322         wasn't catched by LCursor::dispatch
323
324 2004-02-03  André Pönitz  <poenitz@gmx.net>
325
326         * BufferView.C:
327         * cursor.[Ch]: some additional asserts
328
329         * undo.[Ch]: remove LyXText dependency in interface
330
331         * lyxfunc.C: adjust
332
333         * lyxtext.h (firstPar, lastPar): remove dead functions
334
335         * text.C:
336         * text2.C:
337         * text3.C:
338         * paragraph.[Ch]: adjust
339
340 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
341
342         * lyxfind.C (find): fix argument order in call to ::find
343
344 2004-02-02  André Pönitz  <poenitz@gmx.net>
345
346         * cursor.[Ch]: remove direct access to anchor
347
348         * text.C: remove findText() hack
349
350 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * iterators.[Ch] (lockPath): remove in favour of...
353         * BufferView.[Ch] (setCursor): this addition
354         * BufferView.C (putSelectionAt): adjust
355         * undo.C (performUndoOrRedo): adjust
356         * lyxfunc.C (dispatch): adjust
357
358 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
359
360         * iterators.C (lockPath): add a missing slice
361         * undo.C (performUndoOrRedo): remove redundant positioning code
362
363 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
364
365         * vc-backend.C (scanMaster): ";" -> ';'
366
367 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
368
369         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
370         std::binary_function
371
372         * lyxtextclass.C (compare_name): rename to...
373         (LayoutNamesEqual): ...this
374
375         * lyxlex_pimpl.C (compare_tags): inherit from
376         std::binary_function, put back into anon namespace
377
378         * lyxfind.C (MatchString): inherig from std::binary_function
379         (findChange): use empty() istead of !size()
380
381         * format.C (FormatNamesEqual): new functor
382         (getFormat): use it
383         (getNumber): use it
384         (add): use it
385         (erase): use it
386         (setViewer): use it
387
388         * converter.C (compare_Converter): rename to...
389         (ConverterEqual): ...this, and fixup a bit.
390         (getConverter): use it, and make function const
391         (getNumber): use it, and make function const
392         (add): use it
393         (erase): use it:
394
395         * bufferlist.C: add using boost::bind
396
397         * MenuBackend.C (MenuNamesEqual): new functor
398         (hasMenu): use it, and make function const
399         (hasSubmenu): use nested bind to get rid of compare_memfun.
400
401 2004-01-30  André Pönitz  <poenitz@gmx.net>
402
403         * BufferView_pimpl.C:
404         * cursor.C:
405         * cursor.h:
406         * cursor_slice.[Ch]:
407         * lyxfunc.C:
408         * lyxtext.h:
409         * paragraph_funcs.C:
410         * paragraph_funcs.h:
411         * rowpainter.C:
412         * text.C:
413         * text2.C:
414         * text3.C: move some of the edit(x,y) handling to the insets
415         some coordinate changes.
416
417 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
418
419         * text.C: add using statements for std::advance and std::distance
420
421         * paragraph.C: add using statement for std::distance
422
423         * lyxfind.C: add using statement for std::advance
424
425         * cursor.C (region): remove std:: from swap
426         (openable): use nucleus in stead of operator->
427
428         * BufferView.C: add using statements for std::distance and std::swap
429
430 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
431
432         * iterators.C: Remove the pimple, move the needed structures to
433         the header file. Create accessor for the positions stack.
434         (asPosIterator): remove function
435
436         * PosIterator.C (PosIterator): move constructors to top of file
437         (PosIterator): reimplement the constructor taking a ParIterator in
438         terms of setFrom.
439         (setFrom): new function
440         (operator!=): inline it
441
442 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
443
444         * lyxfind.C (replaceAll): use std::advance
445
446         * iterators.h: inherit from std::iterator.
447
448         * PosIterator.C (advance, distance): remove
449         * PosIterator.h: interit from std::iterator.
450
451 2004-01-26  André Pönitz  <poenitz@gmx.net>
452
453         * BufferView.[Ch]:
454         * BufferView_pimpl.[Ch]:
455         * InsetList.[Ch]:
456         * PosIterator.[Ch]:
457         * buffer.h:
458         * bufferview_funcs.C:
459         * cursor.[Ch]:
460         * cursor_slice.h:
461         * factory.[Ch]:
462         * iterators.[Ch]:
463         * lyxfind.C:
464         * lyxfunc.C:
465         * lyxtext.h:
466         * output_docbook.C:
467         * output_latex.C:
468         * output_linuxdoc.C:
469         * output_plaintext.C:
470         * paragraph.[Ch]:
471         * paragraph_funcs.[Ch]:
472         * paragraph_pimpl.[Ch]:
473         * rowpainter.C:
474         * tabular.C:
475         * tabular.h:
476         * text.C:
477         * text2.C:
478         * text3.C: more IU:  dumps most of the rest of the mathcursor
479     implementation into cursor.[Ch]; "globalize" a bit of it.
480
481 2004-01-25  Angus Leeming  <leeming@lyx.org>
482
483         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
484
485 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
486
487         * LaTeXFeatures.h: add nice_ and nice() const
488         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
489
490 2004-01-20  André Pönitz  <poenitz@gmx.net>
491
492         * BufferView.[Ch]:
493         * BufferView_pimpl.C:
494         * PosIterator.C:
495         * bufferview_funcs.C:
496         * cursor.[Ch]:
497         * cursor_slice.[Ch]:
498         * factory.C:
499         * iterators.C:
500         * lyx_cb.C:
501         * lyxfind.C:
502         * lyxfunc.C:
503         * lyxtext.h:
504         * rowpainter.C:
505         * text.C:
506         * text2.C:
507         * text3.C:
508         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
509           LCursor and mathcursor parts to LCursor and InsetBase.
510
511 2004-01-15  André Pönitz  <poenitz@gmx.net>
512
513         * cursor_slice.[Ch]: add a few covienience functions
514
515         * funcrequest.[Ch]: remove BufferView * member
516
517         * BufferView_pimpl.C:
518         * cursor.C:
519         * factory.[Ch]:
520         * lyxfind.[Ch]:
521         * lyxfunc.C:
522         * lyxtext.h:
523         * text3.C:
524         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
525
526 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
529         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
530
531 2004-01-13  André Pönitz  <poenitz@gmx.net>
532
533         * textcursor.[Ch]:
534         * lyxtext.h: hide cursor and selection anchor behind accessor function
535
536         * BufferView.C:
537         * BufferView_pimpl.[Ch]:
538         * PosIterator.C:
539         * bufferview_funcs.C:
540         * cursor.h:
541         * lyxfind.C:
542         * lyxfunc.C:
543         * text.C:
544         * text2.C:
545         * text3.C:
546         * undo.C: adjust
547
548         * cursor.h:
549         * cursor_slice.[Ch]: some integer type changes for inset unification
550
551         * lyxcursor.[hC]: remove, it's CursorSlice now.
552
553         * Makefile.am:
554         * BufferView_pimpl.[Ch]:
555         * bufferview_funcs.C:
556         * cursor_slice.C:
557         * lyxtext.h:
558         * text.C:
559         * text2.C:
560         * text3.C:
561         * textcursor.[Ch]: adjust
562
563 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * text2.C (undoSpan): add and use
566         * text.C (breakParagraph): use undoSpan (fix bug 578)
567         * lyxtext.h: adjust
568
569 2004-01-08  Angus Leeming  <leeming@lyx.org>
570
571         * BufferView_pimpl.C (MenuInsertLyXFile):
572         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
573         * lyxfunc.C (menuNew, open, doImport):
574         FileFilterList change to the FileDialog open and save functions.
575
576 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
577
578         * ShareContainer.h: make isEqual and isUnique adaptable
579
580         * CutAndPaste.C: make resetOwnerAndChanges adaptable
581
582 2004-01-07  Angus Leeming  <leeming@lyx.org>
583
584         * LyXAction.C:
585         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
586
587         * BufferView_pimpl.C (dispatch): act on these LFUNs.
588
589         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
590         functions replacing find, replace and replaceAll.
591
592         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
593         LFUN_WORDFIND(FORWARD|BACKWARD).
594
595 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
596
597         * text.C (breakParagraph): remove an outdated #warning
598
599 2004-01-07  André Pönitz  <poenitz@gmx.net>
600
601         * lyxfind.C: somewhat clearer logic
602
603         * text.C: prevent crash in cursorX on unitialized row cache
604
605 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
606
607         * lyxcursor.[Ch] (operator>): add
608         * textcursor.C (selStart, selEnd): use std::min and std::max
609
610 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * Chktex.C: include boost/format.hpp
613
614 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
615
616         * InsetList.C: replace functor MathcIt with adaptable functor
617         InsetTablePosLess
618         (insetIterator): modify accordingly
619
620         * BranchList.h: move the BranchNamesEqual functor here from...
621         * BranchList.C: ... to here
622
623         * BranchList.C: new BranchListEqual fuctor, use it. Remove
624         SameName and match.
625         (add): replace a finding loop with std::find_if.
626
627 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
628
629         * output_docbook.C: moving LatexParam functionality into
630         .layout files
631
632 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * buffer.C: increment format to 229.
635
636 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
637
638         * LaTeXFeatures.C:
639         * lyx_sty.[Ch]: remove minipageindent_def
640
641         * LyXAction.C:
642         * factory.C:
643         * lfuns.h:
644         * lyxfunc.C:
645         * text3.C: remove LFUN_INSET_MINIPAGE
646
647 2003-12-28  Angus Leeming  <leeming@lyx.org>
648
649         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
650
651 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
652
653         * text2.C (setParagraph): fix off-by-one crash
654
655 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * output_docbook.C: header stuff for AGU
658
659 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
660
661         * text2.C (redoCursor): remove
662         * text.C:
663         * text3.C:
664         * BufferView_pimpl.C: remove calls to redoCursor and
665         setCursor(cursor.par(), cursor.pos()) all around
666
667 2003-12-15  Angus Leeming  <leeming@lyx.org>
668
669         * buffer.C: up the format to 228.
670
671 2003-12-15  André Pönitz  <poenitz@gmx.net>
672
673         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
674         slices
675
676         * Makefile.am:
677
678         * BufferView_pimpl.C:
679         * cursor.[Ch]:
680         * lyxcursor.[Ch]:
681         * rowpainter.[Ch]:
682         * lyxtext.h:
683         * text.C:
684         * text2.C:
685         * text3.C: adjust
686
687 2003-12-15  Angus Leeming  <leeming@lyx.org>
688
689         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
690         than getFromGUIName to manipulate the color.
691
692 2003-12-14  Angus Leeming  <leeming@lyx.org>
693
694         * BranchList.[Ch]: minimize the API.
695         (Branch::getBranch, getColor): now return a 'const &'.
696         (Branch::setSelected) now returns a bool set to true if the
697         selection status changes.
698         (BranchList::clear, size, getColor, setColor, setSelected,
699         allBranches, allSelected, separator): removed.
700         (BranchList::find): new functions, returning the Branch with
701         the given name.
702         (BranchList::add, remove): return a bool indicating that
703         the operation was successful.
704
705         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
706         new InsetBranch::isBranchSlected member function.
707
708         * LColor.[Ch]: mimimize the API.
709         (fill): renamed as addColor and made private.
710         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
711         versions of these functions taking a string arg have been removed.
712
713         * bufferparams.C (readToken):
714         * lyxfunc.C (dispatch):
715         * lyxrc.C (read): changes due to the altered BranchList and
716         LColor APIs.
717
718         * factory.C (createInset, readInset): changes due to altered
719         InsetBranch c-tor.
720
721 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
722
723         * factory.C:
724         * lyxfunc.C: remove insetminipage. "minipage-insert"
725         now produces a frameless minipage box inset.
726
727 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * textcursor.[Ch] (selStart,selEnd): add new methods
730         remove selection::start, end, use LyXCursor::operator<
731         * lyxcursor.[Ch] (operator<): add
732         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
733         * BufferView.[Ch] (unsetXSel): add
734         * text2.C (clearSelection): use unsetXSel,adjust
735         * text.C: adjust
736         * text3.C: adjust
737         * rowpainter.C: adjust
738         * bufferview_funcs.C (put_selection_at): adjust
739
740 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * BufferView_pimpl.C: small coord. correction
743
744 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
745
746         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
747         dragging over the splash screen.
748
749 2003-12-11  Angus Leeming  <leeming@lyx.org>
750
751         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
752         as it is now handled in LyXText::dispatch.
753
754         * text3.C (doInsertInset): remove a level of nesting.
755
756 2003-12-11  Angus Leeming  <leeming@lyx.org>
757
758         * factory.C (createInset): changes due to the changed interface to
759         InsetCommandMailer::string2params.
760
761 2003-12-10  Angus Leeming  <leeming@lyx.org>
762
763         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
764         'dialog-show-new-inset <inset name>'
765
766 2003-12-10  Angus Leeming  <leeming@lyx.org>
767
768         * buffer.C: up the format to 227.
769
770         * factory.C: the box inset is now identified simply by 'Box'.
771
772 2003-12-10  Angus Leeming  <leeming@lyx.org>
773
774         * buffer.C: up the format to 226.
775
776         * factory.C: the note inset is now identified simply by 'Note'.
777
778 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
779
780         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
781         when a pit is enough. Standarize a couple of loops.
782
783 2003-12-05  Angus Leeming  <leeming@lyx.org>
784
785         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
786         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
787         data to the re-worked "log" dialog.
788
789 2003-12-03  André Pönitz  <poenitz@gmx.net>
790
791         * PosIterator.C:
792         * iterators.C:
793         * lyxtext.h:
794         * output_latex.C:
795         * paragraph_funcs.C:
796         * text.C:
797         * text2.C: use Inset::getText instead of Inset::getParagraph
798
799 2003-12-03  André Pönitz  <poenitz@gmx.net>
800
801         * buffer.[Ch]:
802         * lyxtext.h:
803         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
804         InsetText::read() as LyXText::read()
805
806 2003-12-02  Angus Leeming  <leeming@lyx.org>
807
808         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
809         type. Add a comment in the implementation that the function uses
810         the stream's bad() function rather than fail() as the std::streams
811         would do.
812
813 2003-12-02  André Pönitz  <poenitz@gmx.net>
814
815         * lyxlex.[Ch]: make interface more similar to std::stream
816
817         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
818
819 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
820
821         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
822
823 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
824
825         * vspace.[Ch]: remove VSpace::NONE
826
827 2003-12-01  André Pönitz  <poenitz@gmx.net>
828
829         * buffer.[Ch]:
830         * lyxtext.h: move ParagraphList member to LyXText
831         rename LyXText::ownerParagraphs to LyXText::paragraph
832
833         * CutAndPaste.C:
834         * bufferview_funcs.C:
835         * iterators.[Ch]:
836         * lyx_cb.C:
837         * paragraph.C:
838         * rowpainter.C:
839         * tabular.C:
840         * text.C:
841         * text2.C:
842         * text3.C: adjust
843
844         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
845
846         * undo.C: fix cursor positioning
847
848 2003-12-01  John Levon  <levon@movementarian.org>
849
850         * BufferView_pimpl.C: fix a crash on exit with
851         a buffer open
852
853 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * BranchList.C: fix setSelected() method.
856
857 2003-11-28  André Pönitz  <poenitz@gmx.net>
858
859         * ParagraphParameters.[Ch]:
860         * ParameterStruct.h: remove space above/below from Paragraph to
861          InsetVSpace
862
863         * BufferView_pimpl.C:
864         * factory.C:
865         * lyxfunc.C:
866         * lyxtext.h:
867         * output_latex.C:
868         * paragraph.C:
869         * paragraph_funcs.C:
870         * rowpainter.[Ch]:
871         * text.C:
872         * text2.C:
873         * text3.C: adjust
874
875 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * factory.C: Syntax change for CharStyles
878
879 2003-11-28  André Pönitz  <poenitz@gmx.net>
880
881         * BufferView.[Ch]:
882         * BufferView.[Ch]:
883         * buffer.[Ch]:
884         * buffer.[Ch]: move LyXText member
885
886 2003-11-28  André Pönitz  <poenitz@gmx.net>
887
888         * BufferView.[Ch]: make LyXText * text a private member
889
890         * BufferView_pimpl.C:
891         * cursor.C:
892         * iterators.C:
893         * lyx_cb.C:
894         * lyxfind.C:
895         * lyxtext.h:
896         * rowpainter.[Ch]:
897         * text.C:
898         * text2.C:
899         * undo.C: adjust
900
901         * output_plaintext.C: cleanup
902
903 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * buffer.C:
906         * lyxtextclass.[Ch]: parametrize SGML document header
907
908 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
909
910         * converter.[Ch]:
911         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
912         getFlavor().
913
914 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
915
916         * text2.C (setFont): rework using PosIterator (no more recursive)
917         (setCharFont): no more needed
918         (setLayout): no more selection cursors fiddling (done by redoCursor)
919         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
920         destroy remaining ones)
921
922 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
925         * lyxtext.h: ditto
926         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
927         selection cursors
928         * lyxfunc.C: adjust
929         * text3.C: adjust + re-allow multi par depth changes
930         * textcursor.C: simplify a bit
931
932 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
933
934         * src/buffer.C:
935         * src/lyxlayout.C:
936         * src/lyxlayout.h:
937         * src/lyxtext.h:
938         * src/output_docbook.C:
939         * src/output_latex.C:
940         * src/paragraph.C:
941         * src/paragraph.h:
942         * src/sgml.C:
943         * src/sgml.h:
944         * src/text2.C: Introducing a number of tags parametrizing various
945         XML formats that we may want to support
946
947 2003-11-25  André Pönitz  <poenitz@gmx.net>
948
949         * InsetList.[Ch] (begein, end): inline as suggested by profiler
950
951         * lyxtext.h (leftMargin/rightMargin): simplify interface
952
953         * rowpainter.C:
954         * text.C:
955         * text2.C:
956         * text3.C: adjust
957
958 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * lyxfunc.C (dispatch): propogate the bibtex databases from the
961         master file to any child files. Fixes bug 546.
962
963 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
966
967 2003-11-24  André Pönitz  <poenitz@gmx.net>
968
969         * rowpainter.C: simplification
970
971         * text2.C (updateCounters): remove call to redoParagraph on
972         changed labels as this is far too expensive.
973
974 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
975
976         * converter.C (convert): fix a crash: this function gets
977         called with buffer == 0 from importer code.
978
979 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
980
981         * text3.C (cursorPrevious): make sure that we do not compare
982         iterators form different containers.
983         (cursorNext): ditto
984
985         * rowpainter.C (paintSelection): make sure that we do not compare
986         iterators from different containers.
987
988         * text3.C (dispatch): [PRIOR] make sure that we do not compare
989         iterators from different ParagraphList containers.
990         [NEXT] ditto
991
992         * text2.C (LyXText): change order of initialization slightly
993         (operator=): new function. copy all variables except cache_par_
994         (moveUp): make sure that we do not compare iterators from
995         different ParagraphList constainers.
996         (moveDown): ditto
997
998         * text.C (firstPar): new function
999         (lastPar): new function
1000         (endPar): new function
1001
1002         * lyxtext.h: move things around and group public functions, public
1003         variables, private functions, private variables
1004
1005 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1006
1007         * factory.C: change call to InsetERT constructor to avoid
1008         additional invocation of method status
1009         * text2.C (toggleInset): remove redundant update() call
1010         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1011         instead of a Bufferview pointer
1012
1013 2003-11-21  André Pönitz  <poenitz@gmx.net>
1014
1015         * rowpainter.C: simplification
1016
1017 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * text3.C (dispatch): make possible to extend a word/row selection
1020         with the mouse
1021
1022 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * lyxtext.h: x0_,y0_ -> xo_,yo_
1025         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1026         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1027         * rowpainter.C (paintRows): paint full paragraphs
1028
1029 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1032         screen coordinates)
1033
1034 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * lyxtext.h: add x0_, y0_
1037         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1038         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1039
1040 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * text2.C (setCursorIntern): move the x_target update here *
1043         * text3.C: change some bv() to true/false in calls to
1044         cursorUp/Down/Right/Left
1045         * cursor.C: use helper function.
1046
1047 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1048
1049         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1050         * paragraph_funcs.[Ch]: correct comment
1051         * rowpainter.C: do not paint selections away from bv->cursor()
1052         Fix a long standing selection painting bug.
1053         * text3.C: generalize mouse-selection code to LyXTexts other that
1054         top one
1055         * textcursor.C: do not use y coords if we can use par offsets
1056
1057 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1060         cursor position after e.g. inset insert)
1061
1062 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1063
1064         * lyxfind.C (replace): adjust to locking removal + some
1065         code simplification
1066
1067 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1070         of the path
1071
1072 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * lyxlayout.[Ch]:
1075         * output_docbook.C: XML sanitation: new layout
1076         parameters InnerTag and CommandDepth
1077
1078 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * BufferView_pimpl.C:
1081         * factory.C:
1082         * text3.C: Fix the insertion and modification of button-style
1083         insets
1084
1085 2003-11-13  André Pönitz  <poenitz@gmx.net>
1086
1087         * InsetList.[Ch]: remove deleteLyXText
1088
1089         * paragraph.[Ch]: cache beginOfBody position
1090
1091         * Bidi.C:
1092         * text.C:
1093         * text2.C:
1094         * text3.C: remove superfluous update() calls
1095
1096         * vspace.C: cleanup
1097
1098 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1101         * BufferView.C (fitLockedInsetCursor): remove
1102         * cursor.[Ch] (getDim): add
1103         * text.C (getRowNearY): add faster version
1104         * text3.C: remove some update calls
1105
1106 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1107
1108         * LaTeXFeatures.C:
1109         * LyXAction.C:
1110         * MenuBackend.C:
1111         * MenuBackend.h:
1112         * dispatchresult.h:
1113         * factory.C:
1114         * lfuns.h:
1115         * lyxfunc.C:
1116         * lyxtextclass.C:
1117         * lyxtextclass.h:
1118         * text3.C: The Character Style /XML short element patch.
1119
1120 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1121
1122         * text3.C:
1123         * factory.C: Small step to solving 'unable to insert some insets'
1124         problem
1125
1126 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * cursor.[Ch] (updatePos): new function for updating the y
1129         position of the tip inset
1130         * bufferview_funcs.C (put_selection_at):
1131         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1132
1133 2003-11-11  André Pönitz  <poenitz@gmx.net>
1134
1135         * text.C: remove big comment on invalid Paragraph pointers as it is
1136         not valid anymore
1137
1138 2003-11-11  André Pönitz  <poenitz@gmx.net>
1139
1140         * text_funcs.[Ch]: merge with ...
1141
1142         * text.C: ... this
1143
1144         * lyxtext.h:
1145         * text2.C:
1146         * text3.C: adjust
1147
1148         * Makefile.am: remove text_funcs.[Ch]
1149
1150 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * cursor.C (getPos): return absolute cached y coord
1153
1154         * BufferView_pimpl.C (fitCursor): new simplistic code
1155         (workAreaDispatch): add a fitCursor call
1156
1157 2003-11-10  André Pönitz  <poenitz@gmx.net>
1158
1159         * BufferView.[Ch]:
1160         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1161
1162 2003-11-10  André Pönitz  <poenitz@gmx.net>
1163
1164         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1165         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1166         indicate that the cursor needs to leave an inset
1167
1168         * lyxtext.h: remove inset locking
1169
1170         * cursor.[Ch]: re-implement functionality provided by inset locking
1171
1172         * BufferView.[Ch]:
1173         * BufferView_pimpl.[Ch]:
1174         * LyXAction.C:
1175         * bufferview_funcs.[Ch]:
1176         * factory.C:
1177         * funcrequest.[Ch]:
1178         * iterators.C:
1179         * lyx_cb.C:
1180         * lyxfind.C:
1181         * lyxfunc.C:
1182         * text.C:
1183         * text2.C:
1184         * text3.C:
1185         * undo.C: adjust
1186
1187 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * PosIterator.[Ch]: replace the stack with a vector, add inset
1190         accesor
1191         * iterators.[C]: adjust
1192
1193 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1194
1195         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1196         replaced
1197         * paragraph_funcs.C (readParToken): put the correct id in the
1198         error item, not the id of the top paragraph
1199
1200 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1201
1202         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1203         * bufferview_funcs.C (put_selection_at): use the above
1204
1205 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1206
1207         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1208
1209 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * output_linuxdoc.h:
1212         * output_plaintext.h:
1213         * output.h:
1214         * output_docbook.h: add #include statements
1215
1216 2003-11-05  José Matos  <jamatos@lyx.org>
1217
1218         * output_docbook.[Ch]:
1219         * output_latex.[Ch]:
1220         * output_linuxdoc.[Ch]:
1221         * output_plaintext.[Ch]: New files for output formats.
1222         * output.[Ch]: New file for helper functions.
1223
1224         * buffer.[Ch]:
1225         * paragraph_funcs.[Ch]: output functions moved to new files.
1226
1227         * outputparams.h: rename of latexrunparams.h
1228
1229         * LaTeX.[Ch]:
1230         * buffer.[Ch]:
1231         * bufferlist.[Ch]:
1232         * converter.[Ch]:
1233         * exporter.C:
1234         * paragraph.[Ch]:
1235         * paragraph_funcs.[Ch]:
1236         * paragraph_pimpl.[Ch]:
1237         * tabular.[Ch]: rename ascii to plaintext
1238         and LatexRunParams to OutputParams.
1239
1240 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1241
1242         * iterators.[Ch] (text): require bv argument
1243         * undo.C (recordUndo):
1244         * lyxfunc.C (dispatch):
1245         * bufferview_funcs.C (put_selection_at): adjust
1246
1247 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1248
1249         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1250
1251 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1252
1253         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1254         nestings
1255
1256 2003-11-04  André Pönitz  <poenitz@gmx.net>
1257
1258         * cursor.[Ch]: restructure
1259
1260         * BufferView.[Ch]:
1261         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1262
1263         * iterators.[Ch] (asCursor): remove
1264
1265         * lfuns.h: remove LFUN_INSET_EDIT
1266
1267         * lyxfunc.C:
1268         * tabular.C:
1269         * text.C:
1270         * text2.C:
1271         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1272
1273 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1274
1275         * lyxfind.[Ch]: complete overhaul
1276         * BufferView_pimpl.C:
1277         * lyxfunc.C: adjust
1278         * paragraph.[Ch] (insert): add
1279
1280 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1281
1282         * BufferView.[Ch]:
1283         * lyxtext.h:
1284         * text.C: remove dead spellcheck code
1285
1286 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1287
1288         * dispatchresult.h: add a val setter
1289
1290         * cursor.C (dispatch): use a tempvar for data_[i]
1291
1292 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1293
1294         * PosIterator.[Ch]: compile fix
1295
1296 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1297
1298         * text.C (cursorPar): deactivate the cursor cache
1299
1300 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1301
1302         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1303
1304 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * text3.C (dispatch): adjust for new DisptchResult semantics.
1307
1308         * lyxfunc.C (dispatch): handle update when return from
1309         Cursor::dispatch, adjust for new DispatchResult semantics.
1310
1311         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1312         DispatchResult(true) mean to not update. Add class functions for
1313         setting dispatched and update, as well as reading.
1314
1315         * cursor.C (dispatch): don't handle update here
1316
1317 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1318
1319         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1320         * trans_mgr.C: adjust
1321
1322         * paragraph_funcs.C (readParToken): exception safety
1323
1324         * lyxvc.h: store the vcs pointer in a scoped_ptr
1325         * lyxvc.C: adjust
1326
1327         * lyxsocket.C (serverCallback): exception safety
1328
1329         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1330
1331         * ispell.C (clone): make it return a auto_ptr
1332
1333         * factory.C (createInset): exception safety
1334         (readInset): exception safety
1335
1336         * bufferlist.C (newBuffer): exception safety
1337
1338         * Thesaurus.C (Thesaurus): use initialization for aik_
1339
1340         * MenuBackend.C (expandToc): exception safety.
1341
1342 2003-11-03  André Pönitz  <poenitz@gmx.net>
1343
1344         * buffer.C:
1345         * buffer.h:
1346         * bufferview_funcs.C: remove getInsetFromId()
1347
1348         * lyxcursor.[Ch]:
1349         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1350
1351         * lyxfunc.C:
1352         * text2.C:
1353         * text3.C: adjust
1354
1355 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1356
1357         * PosIterator.C (distance, advance): new
1358         * bufferview_funcs.[Ch] (put_selection_at): new
1359         * iterators.[Ch] (lockPath): new
1360
1361 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1362
1363         * iterators.[Ch] (asPosIterator): added
1364         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1365         * PosIterator.[Ch]: added
1366
1367 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1368
1369         * text3.C:
1370         * lyxfunc.C:
1371         * cursor.C (dispatch):
1372         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1373
1374         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1375         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1376         contructor, add a class function dispatched. Remove operator>=
1377
1378 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1379
1380         * debug.C: only use the default constructor for debugstream
1381         (lyxerr) here.
1382
1383         * main.C (main): include debug.h and setup the lyxerr streambuf
1384         here.
1385
1386 2003-10-31  José Matos  <jamatos@lyx.org>
1387
1388         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1389
1390         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1391         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1392         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1393         * paragraph_pimpl.C (simpleTeXSpecialC):
1394         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1395         add LatexRunParams argument.
1396
1397         * exporter.C (Export): change call accordingly.
1398
1399         * latexrunparams.h: add new member to take care of the other backends.
1400 2003-10-30  José Matos  <jamatos@lyx.org>
1401
1402         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1403         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1404         factorise code for paragraph output.
1405         * buffer.[Ch]:
1406         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1407         move functions.
1408
1409 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1410
1411         * text3.C (dispatch):
1412         * lyxfunc.C (dispatch):
1413         * cursor.C (dispatch):
1414         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1415
1416         * dispatchresult.h: make the dispatch_result_t ctor explicit
1417
1418 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * sgml.[Ch]:
1421         * buffer.C: small refactoring of docbook stuff
1422
1423 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1424
1425         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1426         meaning.
1427
1428 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1429
1430         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1431         operator dispatch_result_t, and operators for == != and >=
1432
1433         * cursor.C (dispatch): adjust for operator dispatch_result_t
1434         removal. comment out call to update
1435
1436         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1437
1438 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1439
1440         * text3.C:
1441         * text2.C:
1442         * text.C:
1443         * lyxtext.h:
1444         * lyxfunc.C:
1445         * cursor.C:
1446         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1447         (dispatch):
1448
1449         * dispatchresult.h: new file, DispatchResult broken out of
1450         insets/insetbase.h
1451
1452         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1453
1454 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1455
1456         * text.C (rowBreakPoint): put a hack inside #if 0
1457
1458 2003-10-28  André Pönitz  <poenitz@gmx.net>
1459
1460         * lyxtext.h:
1461         * metricsinfo.C:
1462         * paragraph_funcs.C:
1463         * rowpainter.C:
1464         * text.C:
1465         * text2.C: general cleanup (lots of small stuff)
1466
1467 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1468
1469         * text2.C (cursorEnd): simple fix to the "end key goes to one
1470         before the end on last row" bug
1471
1472 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1473
1474         * text.C (backspace): fix the "zombie characters"
1475
1476 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1479
1480 2003-10-27  André Pönitz  <poenitz@gmx.net>
1481
1482         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1483
1484         * factory.C: handle new InsetPagebreak, InsetLine
1485
1486         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1487         and move handling into new InsetPagebreak, InsetLine
1488
1489         * BufferView_pimpl.C:
1490         * LyXAction.C:
1491         * ParagraphParameters.C:
1492         * ParameterStruct.h:
1493         * lyxfunc.C:
1494         * lyxtext.h:
1495         * paragraph.C:
1496         * paragraph.h:
1497         * paragraph_funcs.C:
1498         * paragraph_pimpl.C:
1499         * rowpainter.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C: adjust
1503
1504 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1505
1506         * text.C:
1507         * lyxrow_funcs.[Ch]:
1508         * Bidi.C:
1509         * paragraph.C:
1510         * lyxtext.h:
1511         * rowpainter.C:
1512         * text2.C:
1513         * text3.C: remove lastPos uses in favour of Row::endpos
1514
1515 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1516
1517         * undo.C (performUndoOrRedo): fix two crashes by setting a
1518         cursor by hand and reordering some calls. Use bv->lockInset instead
1519         of inset->edit because the latter loses cursor information
1520
1521 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1524         by Martin
1525         (rowBreakPoint): fix width. change point to point + 1.
1526         Add a missing check.
1527
1528 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1529
1530         * MenuBackend.C:
1531         * lyxfunc.C: fix (at least partly) the problems
1532         with the Nav menu and headers inside branch insets
1533         reported by Kayvan
1534
1535 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1536
1537         * paragraph.C (getChar): add strong asserts
1538
1539         * lyxrow_funcs.C (lastPos): remove hideous hack
1540
1541         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1542         (fill): adjust to that (avoid an infinite loop)
1543
1544 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1545
1546         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1547
1548 2003-10-23  André Pönitz  <poenitz@gmx.net>
1549
1550         * RowList_fwd.h: change list<> to vector<> to gain speed
1551         after suggestion from Alfredo
1552
1553 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * lyxtext.h: move the bidi stuff from here...
1556         * text.C: and here
1557         * text2.C: and here
1558         * Bidi.[Ch]: ... to here
1559
1560 2003-10-23  André Pönitz  <poenitz@gmx.net>
1561
1562         * lyxtext.h:
1563         * text.C (isLastRow, isFirstRow): new functions
1564
1565         * paragraph.h: new width cache member
1566
1567         * rowpainter.C: replace RowList::iterator with Row & where possible
1568
1569         * lyxfunc.C: replace several view()->text with a single call
1570
1571         * toc.C: fix 'unused' warning
1572
1573 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1576         when woring with stream::pos_type
1577         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1578
1579 2003-10-22  André Pönitz  <poenitz@gmx.net>
1580
1581         * lyxtext.h:
1582         * text.C: use Row & instead of RowList::iterator
1583
1584         * lyxrow.h: rename end() to endpos()
1585
1586         * rowpainter.C:
1587         * text.C:
1588         * text2.C: adjust
1589
1590 2003-10-22  Angus Leeming  <leeming@lyx.org>
1591
1592         * buffer.[Ch] (fully_loaded): new member function, returning true
1593         only when the file has been loaded fully.
1594         Used to prevent the premature generation of previews and by the
1595         citation inset to prevent computation of the natbib-style label.
1596
1597         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1598         templates are all set up.
1599
1600         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1601
1602 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1603
1604         * text.C: fixed an "oops" in the "is a bit silly"
1605         bug fix
1606
1607 2003-10-21  André Pönitz  <poenitz@gmx.net>
1608
1609         * FuncStatus.[Ch]: small stuff, whitespace
1610
1611         * lyxfont.[Ch]: operator<<() for debug reasons
1612
1613         * lyxfunc.C:
1614         * lyxrow_funcs.C:
1615         * lyxtext.h: whitespace, spelling
1616
1617         * paragraph.C: naming of variables
1618
1619         * text.C:
1620         * text2.C: small stuff
1621
1622
1623 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1624
1625         * text.C: (1) finish off the inset display() work;
1626         (2) fix the "is a bit silly" bug (accessing char
1627         past end of par).
1628
1629 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1630
1631         * text.C: re-introduce display() for insets, fixing the
1632         various bugs (stretch of line above, math inset
1633         positioning, ...)
1634
1635 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * text.C (rightMargin): remove spurious semicolon
1638
1639         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1640         1415)
1641
1642 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1643
1644         * text3.C: fix one crash due to wrong cursor def
1645
1646 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1647
1648         * vc-backend.C (scanMaster): make the regex static
1649
1650         * LaTeX.C (scanAuxFile): make the regexs static
1651
1652         * text3.C (doInsertInset, dispatch, dispatch):
1653         * text2.C (cursorUp, cursorDown):
1654         * text.C (selectNextWordToSpellcheck):
1655         * BufferView_pimpl.C (dispatch):
1656         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1657
1658 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1659
1660         * lyxsocket.C: include <cerrno>
1661
1662 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1663
1664         * lyxfunc.C (dispatch): remove textcache stuff
1665
1666         * bufferlist.C (release): remove textcache stuff
1667         (closeAll): ditto
1668
1669         * TextCache.C: delete file
1670         * TextCache.h: delete file
1671
1672         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1673
1674         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1675         delete of the bv_->text.
1676         (resizeCurrentBuffer): remove texcache stuff
1677         (workAreaResize): ditto
1678
1679 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1682         action.
1683
1684 2003-10-16  André Pönitz  <poenitz@gmx.net>
1685
1686         * lyxrow.[Ch]:
1687         * paragraph.h:
1688         * rowpainter.C:
1689         * text.C:
1690         * text2.C:
1691         * text3.C: speed up by storing y positions per paragraph plus per-row
1692         offset instead of having a 'full' y position in the row.
1693
1694 2003-10-15  André Pönitz  <poenitz@gmx.net>
1695
1696         * iterators.[Ch]:
1697         * iterators.[Ch]:
1698         * undo.[Ch]: make undo aware of inner insets
1699
1700 2003-10-14  Angus Leeming  <leeming@lyx.org>
1701
1702         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1703         static member functions LyX::ref() and LyX::cref.
1704         (lastfiles): new accessor functions for the new lastfiles_ member var.
1705         (addLyXView, views_): add a new LyXView to the list of views_.
1706         (updateInset): loop over all LyXViews to call their own updateInset
1707         member function, returning a pointer to the Buffer owning the inset.
1708
1709         * BufferView_pimpl.C (loadLyXFile):
1710         * MenuBackend.C (expandLastfiles):
1711         * bufferlist.C (MenuWrite, QuitLyX):
1712         lastfiles is no longer a global variable.
1713         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1714
1715         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1716         static function. Access through LyX::cref().emergencyCleanup().
1717
1718 2003-10-14  André Pönitz  <poenitz@gmx.net>
1719
1720         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1721
1722         * undo.[Ch]: restoring part of 'undo in insets'
1723
1724         * Makefile.am:
1725         * undo_funcs.[Ch]: merge with undo.[Ch]
1726
1727         * tabular.C: small cleansing stuff
1728
1729 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1730
1731         * paragraph_funcs.C (readParToken): report unknown insets as error
1732         boxes. Use the outer paragraph as location (also for unknown
1733         tokens).
1734
1735         * factory.C (readInset): do not abort on reading an unknown inset.
1736         Eat it and return 0.
1737
1738 2003-10-13  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1741
1742         * lyxrc.C: displayTranslator is now a function,
1743         declared in GraphicsTypes.h.
1744
1745 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1746
1747         * format.C: new placeholder $$a to pass the socket address.
1748
1749         * bufferlist.[Ch]: new function getBufferFromTmp.
1750
1751         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1752           files in the temporary dir.
1753
1754 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1755
1756         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1757
1758         * Makefile.am: add lyxsocket.[Ch].
1759
1760         * lyx_main.C (error_handler): handle SIGPIPE.
1761
1762 2003-10-13  André Pönitz  <poenitz@gmx.net>
1763
1764         * BufferView_pimpl.C:
1765         * lyxtext.h:
1766         * text.C:
1767         * text2.C:
1768         * text3.C:
1769         * undo_funcs.[Ch]: use paroffset_type instead of
1770           ParagraphList::iterators to prevent multiple conversion
1771           (and get a more robust interface)
1772
1773 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1776         * lyxtext.h: ditto
1777         * text3.C (dispatch): ditto
1778
1779 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1782         move the onlyfile, use onlyfile instead of foundfile in a couple
1783         of places.
1784
1785         * DepTable.C (update): flush the error stream a bit more
1786
1787 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1788
1789         * lyxserver.C (callback): adjust
1790
1791         * lyxfunc.C (getStatus): add a missing brace in commented code
1792         (ensureBufferClean): reindent
1793         (dispatch): delete version taking a string
1794
1795 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1796
1797         * LaTeX.C (deplog): move found file handlig from here...
1798         (handleFoundFile): .. to new function here.
1799         (deplog): make sure to discover several files mentioned on the
1800         same log line.
1801
1802 2003-10-10  André Pönitz  <poenitz@gmx.net>
1803
1804         * lyxfunc.C:
1805         * lyxtext.h:
1806         * tabular.C:
1807         * text.C:
1808         * text2.C:
1809         * text3.C: fix some of the tabular crashes
1810
1811 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1812
1813         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1814
1815         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1816
1817 2003-10-09  André Pönitz  <poenitz@gmx.net>
1818
1819         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1820
1821         * BufferView.C:
1822         * BufferView_pimpl.C:
1823         * bufferview_funcs.C:
1824         * lyx_cb.C:
1825         * lyxcursor.C:
1826         * lyxfind.C:
1827         * lyxfunc.C:
1828         * lyxtext.h:
1829         * text.C:
1830         * text2.C:
1831         * text3.C:
1832         * text_funcs.[Ch]:
1833         * textcursor.[Ch]:
1834         * undo_funcs.C: adjust
1835
1836 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * text2.C (incrementItemDepth): new function, use a backtracking
1839         algorithm to discover the correct item depth.
1840         (resetEnumCounterIfNeeded): new function, use a backtracking
1841         algorithm to discover if counter reset is needed.
1842         (setCounter): use them. Simplify a bit. Add different labels for
1843         different item depths for itemize.
1844
1845         * paragraph.C (Paragraph): remove initialization of enumdepth
1846         (operator=): ditto
1847
1848         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1849         enumerate and itemize. Change the type of itemdepth to signed char.
1850
1851 2003-10-08  André Pönitz  <poenitz@gmx.net>
1852
1853         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1854           thing assignable.
1855         * text.C:
1856         * text2.C: adjust
1857
1858         * tabular.[Ch]: fix crash after 'row-insert'
1859
1860 2003-10-08  Angus Leeming  <leeming@lyx.org>
1861
1862         Fix doxygen warnings.
1863
1864         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1865         Remove CutAndPaste:: prefix from header file declaration.
1866
1867         * LColor.h (fill): remove LColor:: prefix from declaration.
1868
1869         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1870         use lyx::depth_type rather than Paragraph::depth_type so that
1871         header file and .C file match.
1872
1873         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1874
1875         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1876         * aspell.C: \file aspell_local.C -> \file aspell.C
1877         * gettext.C: \file gettext.C -> \file src/gettext.C
1878         * gettext.h: \file gettext.h -> \file src/gettext.h
1879         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1880         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1881         * text.C: \file text.C -> \file src/text.C
1882
1883         * toc.C: move comment so that doxygen is not confused.
1884
1885 2003-10-07  Angus Leeming  <leeming@lyx.org>
1886
1887         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1888
1889 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1890
1891         * aspell.C:
1892         * aspell_local.h: add forgotten std::string's.
1893
1894 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1895
1896         * LaTeXFeatures.C:
1897         * LyXAction.C:
1898         * factory.C:
1899         * lfuns.h:
1900         * lyxfunc.C:
1901         * text3.C: The Box patch. Fancybox support, minipage, parbox
1902
1903 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1904
1905         * CutAndPaste.h:
1906         * DepTable.h:
1907         * FloatList.h:
1908         * LaTeXFeatures.h:
1909         * ParagraphParameters.h:
1910         * TextCache.h:
1911         * Thesaurus.h:
1912         * bufferlist.h:
1913         * exporter.h:
1914         * importer.h:
1915         * lastfiles.h:
1916         * lyxfind.h:
1917         * lyxfont.h:
1918         * lyxlex.h:
1919         * lyxtextclasslist.h:
1920         * messages.h:
1921         * paragraph.h:
1922         * paragraph_pimpl.C:
1923         * textcursor.h: add <string> and other small fixes to make Lars'
1924         std::string patch compile with STLport.
1925
1926 2003-10-06  Angus Leeming  <leeming@lyx.org>
1927
1928         * LColor.h: Add missing #include <string>.
1929
1930 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1931
1932         * All most all file in all subdirs: Make <string> be the prefered
1933         way of getting to std::string, add using declarations.
1934
1935 2003-10-06  André Pönitz  <poenitz@gmx.net>
1936
1937         * metricsinfo.C: initialize LyXFont before changing attribute.
1938         (fixes the 'math in \emph is upright' bug)
1939
1940 2003-10-06  André Pönitz  <poenitz@gmx.net>
1941
1942         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1943
1944 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * graph.C:
1947         * paragraph_pimpl.C: Small fixes to build using STLport
1948
1949 2003-10-02  André Pönitz  <poenitz@gmx.net>
1950
1951         * lyxfunc.C:
1952         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1953
1954 2003-10-01  André Pönitz  <poenitz@gmx.net>
1955
1956         * factory.C: assert early
1957
1958 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * lyx_main.C: remove the global debug object
1961
1962         * debug.h: adjust for new debugstream
1963
1964         * debug.C: adjust for new debugstream and keep the global debug
1965         object here.
1966
1967 2003-09-22  Angus Leeming  <leeming@lyx.org>
1968
1969         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1970         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1971         an incomplete class LyXFont.
1972
1973 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1974
1975         * factory.C: bug fix in branches
1976
1977 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * lyxfunc.C (processKeySym): adjust
1980         (dispatch): adjust
1981         (dispatch): change arg name from ev to func, adjust
1982         (sendDispatchMessage): ditto
1983
1984         * lyx_main.C (defaultKeyBindings): adjust keybindings
1985         (deadKeyBindings): ditto
1986
1987         * kbsequence.C (addkey): return a FuncRequest
1988
1989         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1990
1991         * kbmap.C (bind): take a FuncRequest as arg, adjust
1992         (read): adjust
1993         (lookup): adjust
1994         (defkey): change to take a FuncRequest as arg, adjust
1995         (findbinding): take a FuncRequest as arg, adjust.
1996
1997         * funcrequest.h (operator=): added
1998
1999         * funcrequest.C (FuncRequest): default kb_action changed from
2000         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2001
2002         * buffer.C (dispatch): simplify
2003         (dispatch): adjust to take a FuncRequest as arg, adjust
2004
2005         * boost.C (assertion_failed): change assertion message slightly
2006
2007         * ToolbarBackend.C (read): simplify
2008
2009         * MenuBackend.C (binding): adjust call to findbinding, add a
2010         message if no binding is found.
2011         (read): simplify
2012         (expandToc): correct by adding a empty FuncRequest
2013
2014         * LyXAction.C: include <boost/assert.hpp>
2015         (isPseudoAction): delete function
2016         (LookupFunc): change name to...
2017         (lookupFunc): this. change return type to FuncRequest.
2018         (getActionName): take kb_action as arg, simplify
2019         (funcHasFlag): add an assert, simplify.
2020
2021 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2022
2023         * toc.C (action): return a FuncRequest, simplify
2024
2025         * lyxfunc.C (processKeySym): adjust
2026         (getStatus): delete version that takes an int.
2027         (getStatus): adjust
2028         (dispatch): delete version that takes action as int
2029         (dispatch): adjust
2030         (sendDispatchMessage): simplify and adjust
2031
2032         * funcrequest.C (getArg): take unsigned int as arg
2033
2034         * ToolbarBackend.C (read): adjust
2035         (add): delete version that takes func as a string.
2036         (getIton): take a FuncRequest as arg
2037
2038         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2039         action.
2040
2041         * MenuBackend.C (MenuItem): add a new construct that only takes a
2042         Kind, simplify the constructor use for submenus.
2043         (add): adjust
2044         (expandLastfiles): adjust
2045         (expandDocuments): adjust
2046         (expandFormats): adjust
2047         (expandFloatListInsert): adjust
2048         (expandFloatInsert): adjust
2049         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2050
2051         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2052         Remove class variables lyx_pseudo_map and lyx_arg_map
2053
2054         * LyXAction.C (searchActionArg): delete function
2055         (getPseudoAction): delete function
2056         (retrieveActionArg): delete function
2057         (LookupFunc): make it return kb_action, simplify.
2058         (getActionName): simplify
2059
2060         * factory.C (createInset): fix new bug
2061
2062 2003-09-19  Angus Leeming  <leeming@lyx.org>
2063
2064         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2065         masterFilename_ parameter in the include inset.
2066
2067         * factory.C (createInset): changes due to the changes to InsetInclude.
2068
2069 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2070
2071         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2072
2073 2003-09-18  Angus Leeming  <leeming@lyx.org>
2074
2075         * buffer.C:
2076         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2077         Inset::fillWithBibKeys.
2078         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2079
2080 2003-09-18  Angus Leeming  <leeming@lyx.org>
2081
2082         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2083         variables.
2084         (ctor): pass and store a 'Buffer const &'
2085         (buffer): new member function.
2086
2087         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2088         '*this' to the LaTeXFeatures ctor.
2089
2090 2003-09-18  Angus Leeming  <leeming@lyx.org>
2091
2092         * LColor.h:
2093         * lyxfont.C:
2094         * lyxfont.h:
2095         * lyxtext.h:
2096         * text.C: rename EnumLColor as LColor_color.
2097
2098 2003-09-18  Angus Leeming  <leeming@lyx.org>
2099
2100         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2101         remove #include "insets/insetbase.h" from cursor.h.
2102
2103 2003-09-18  Angus Leeming  <leeming@lyx.org>
2104
2105         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2106         InsetOld_code to remove #include "inset.h".
2107
2108         * iterators.C: add #include "insets/inset.h"
2109
2110 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2111
2112         * BufferView.C: remove more locking stuff that apparently doesn't
2113         do anything sensible.
2114
2115 2003-09-16  André Pönitz  <poenitz@gmx.net>
2116
2117         * paragraph.[Ch]:
2118         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2119           performance boost.
2120
2121 2003-09-16  Angus Leeming  <leeming@lyx.org>
2122
2123         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2124
2125         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2126         arg/return type.
2127
2128         * paragraph.h: remove #include "lyxfont.h". Forward declare
2129         LyXFont_size.
2130
2131 2003-09-16  Angus Leeming  <leeming@lyx.org>
2132
2133         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2134         of support/textutils.h.
2135         (isWord): move the contents of support/textutils.h's IsWordChar here.
2136
2137         * buffer.C:
2138         * lyxfind.C:
2139         * rowpainter.C:
2140         * text.C:
2141         * text2.C: add #include "paragraph.h".
2142
2143         * rowpainter.C:
2144         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2145
2146 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2147
2148         * main.C:
2149         * lyx_main.C:
2150         * lyx_cb.C:
2151         * buffer.C:
2152         * LaTeX.C: use namespace alias for lyx::support::os
2153
2154 2003-09-16  Angus Leeming  <leeming@lyx.org>
2155
2156         * bufferparams.C:
2157         * bufferview_funcs.C:
2158         * factory.C:
2159         * lyxfunc.C:
2160         * paragraph_pimpl.C:
2161         * rowpainter.C:
2162         * text.C: add #include "LColor.h".
2163
2164 2003-09-16  Angus Leeming  <leeming@lyx.org>
2165
2166         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2167         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2168         return LyXFont &.
2169         Store the FontBits::color variable as an int rather than as an
2170         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2171         file.
2172
2173         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2174         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2175         string calls together.
2176
2177         * lyxrc.C: add #include "LColor.h".
2178
2179 2003-09-15  Angus Leeming  <leeming@lyx.org>
2180
2181         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2182         a cow_ptr.
2183
2184 2003-09-15  Angus Leeming  <leeming@lyx.org>
2185
2186         * LColor.h: add an EnumLColor wrapper for LColor::color.
2187
2188         * lyxfont.[Ch] (color, setColor, realColor):
2189         * lyxtext.h, text.C (backgroundColor):
2190         pass EnumLColor args to/from the functions, rather than LColor::color
2191         ones.
2192
2193         * lyxfont.h:
2194         * lyxtext.h: forward declare EnumLColor.
2195
2196         * lyx_main.C: add #include "LColor.h".
2197
2198 2003-09-15  Angus Leeming  <leeming@lyx.org>
2199
2200         * .cvsignore: add lyx-gtk.
2201
2202 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2203
2204         * Chktex.C
2205         * LaTeX.C
2206         * LaTeXFeatures.C
2207         * ParagraphParameters.C
2208         * Spacing.C
2209         * buffer.C
2210         * bufferparams.C
2211         * bufferview_funcs.C
2212         * chset.C
2213         * counters.C
2214         * funcrequest.C
2215         * lyxfont.C
2216         * lyxgluelength.C
2217         * lyxlength.C
2218         * paragraph.C
2219         * paragraph_funcs.C
2220         * text3.C
2221         * vc-backend.C: remove usage of STRCONV
2222
2223 2003-09-15  Angus Leeming  <leeming@lyx.org>
2224
2225         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2226         explicitly define the color passed to the painter.
2227
2228 2003-09-15  Angus Leeming  <leeming@lyx.org>
2229
2230         * bufferparams.C (BufferParams): reorder member initializers to avoid
2231         compiler warning.
2232
2233 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2234
2235         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2236         * text.C (updateRowPositions): remove an unusual nop
2237
2238 2003-09-12  André Pönitz  <poenitz@gmx.net>
2239
2240         * BufferView_pimpl.C:
2241         * Bullet.C:
2242         * layout.h:
2243         * lyxfunc.C:
2244         * lyxlayout.[Ch]:
2245         * lyxtextclass.C:
2246         * rowpainter.C:
2247         * text.C:
2248         * text2.C:
2249         * Counters.[Ch]: finish the 'automatic counters' job
2250
2251 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2252
2253         * aspell.C: include <boost/assert.cpp> (compile fix)
2254
2255 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2256
2257         * boost.C (assertion_failed): use lyx::support::abort instead of
2258         assert.
2259
2260 2003-09-10  Angus Leeming  <leeming@lyx.org>
2261
2262         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2263         with their _fwd progeny.
2264
2265 2003-09-09  Angus Leeming  <leeming@lyx.org>
2266
2267         134 files throughtout the source tree: replace 'using namespace abc;'
2268         directives with the appropriate 'using abc::xyz;' declarations.
2269
2270 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2271
2272         * boost.C (emergencyCleanup): moved here from LAssert.c
2273         (assertion_failed): new function, called by BOOST_ASSERT
2274
2275         * several files: change Assert to BOOST_ASSERT
2276
2277 2003-09-09  Angus Leeming  <leeming@lyx.org>
2278
2279         * buffer.[Ch]: Add an Impl class and move Buffer's member
2280         variables into it. As a result move several header files out of
2281         buffer.h.
2282
2283         Add header files to lots of .C files all over the tree as a result.
2284
2285 2003-09-09  Angus Leeming  <leeming@lyx.org>
2286
2287         * buffer.[Ch]: make Buffer's member variables private. Add
2288         accessor functions.
2289
2290         Lots of changes all over the tree as a result.
2291
2292 2003-09-08  Angus Leeming  <leeming@lyx.org>
2293
2294         * graph.C: #include <config.h>.
2295
2296 2003-09-08  Angus Leeming  <leeming@lyx.org>
2297
2298         * BranchList.C:
2299         * BufferView.C:
2300         * BufferView_pimpl.C:
2301         * CutAndPaste.C:
2302         * DepTable.C:
2303         * LaTeX.C:
2304         * LaTeXFeatures.C:
2305         * LyXAction.C:
2306         * MenuBackend.C:
2307         * TextCache.C:
2308         * aspell.C:
2309         * buffer.C:
2310         * bufferlist.C:
2311         * changes.C:
2312         * chset.C:
2313         * converter.C:
2314         * counters.C:
2315         * debug.C:
2316         * graph.C:
2317         * ispell.C:
2318         * lyx_cb.C:
2319         * lyxfind.C:
2320         * lyxfunc.C:
2321         * lyxlex_pimpl.C:
2322         * lyxrc.C:
2323         * lyxrow.C:
2324         * paragraph.C:
2325         * rowpainter.C:
2326         * texrow.C:
2327         * text.C:
2328         * text2.C:
2329         * toc.C: remove redundant using directives.
2330
2331 2003-09-07  Angus Leeming  <leeming@lyx.org>
2332
2333         * LaTeXFeatures.h: remove #include "support/types.h".
2334         * ToolbarBackend.h: remove #include <algorithm>.
2335         * changes.h: remove #include <ctime>.
2336         * debug.h: remove #include <iosfwd>.
2337         * graph.h: remove #include "support/std_string.h".
2338         * lyx_main.h: remove #include <csignal>.
2339         * lyxlex_pimpl.h: remove #include <fstream>.
2340         * sgml.h: remove #include <algorithm>, <utility>.
2341         * toc.h: remove #include "support/std_ostream.h".
2342         Add #include <iosfwd>.
2343
2344 2003-09-07  Angus Leeming  <leeming@lyx.org>
2345
2346         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2347
2348         * converter.h: forward declare LatexRunParams.
2349         * encoding.h: remove #include "lyxrc.h".
2350         * lyxtext.h: remove #include "LColor.h".
2351         * lyxtextclass.h: remove #include "support/types.h".
2352         * trans.h: remove #include "tex-accent.h".
2353         * trans_mgr.h: remove #include "tex-accent.h".
2354         * insets/inset.h: remove #include "support/types.h", <vector>.
2355         * insets/insetcollapsable.h: remove #include "LColor.h".
2356         * insets/insetinclude.h: remove #include "dimension.h".
2357         * insets/insetlatexaccent.h: remove #include "dimension.h".
2358         * insets/insetoptarg.h:: remove #include "insettext.h".
2359         * insets/insettext.h: remove #include "dimension.h",
2360         <boost/shared_ptr.hpp>
2361
2362         * insets/renderers.h: add #include "dimension.h".
2363         * insets/updatableinset.h: add #include "support/types.h".
2364
2365         * many .C files: Associated changes.
2366
2367 2003-09-06  Angus Leeming  <leeming@lyx.org>
2368
2369         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2370         one, inside testInvariant.
2371
2372         * PrinterParams.C: new file.
2373         * PrinterParams.[Ch]: move the function bodies out of line.
2374
2375 2003-09-06  Angus Leeming  <leeming@lyx.org>
2376
2377         * ParagraphParameters.h: forward declare ParameterStruct rather than
2378         including its header file.
2379         (depth): moved out-of-line.
2380
2381 2003-09-06  Angus Leeming  <leeming@lyx.org>
2382
2383         * BufferView_pimpl.h:
2384         * kbmap.h:
2385         * kbsequence.h:
2386         * lyxfunc.h: forward declare LyXKeySym rather than
2387         #include "frontends/LyXKeySym.h".
2388
2389         * BufferView_pimpl.C:
2390         * kbmap.C:
2391         * kbsequence.C:
2392         * lyxfunc.C: associated changes.
2393
2394 2003-09-06  Angus Leeming  <leeming@lyx.org>
2395
2396         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2397         As a result, can remove the #include "insets/inset.h" from BufferView.h
2398
2399 2003-09-06  Angus Leeming  <leeming@lyx.org>
2400
2401         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2402         As a result, can remove the #include "insets/inset.h" from BufferView.h
2403
2404 2003-09-06  Angus Leeming  <leeming@lyx.org>
2405
2406         * buffer_funcs.C:
2407         * buffer.h:
2408         * bufferlist.C:
2409         * BufferView.C:
2410         * bufferview_funcs.C:
2411         * BufferView_pimpl.C:
2412         * CutAndPaste.C:
2413         * lyx_cb.C:
2414         * lyxfunc.C:
2415         * paragraph.h:
2416         * ParagraphParameters.C:
2417         * tabular.C:
2418         * text3.C:
2419         * toc.C:
2420         * undo_funcs.C:
2421         * frontends/controllers/ControlDocument.C:
2422         * insets/insetcaption.C: rearrange the #includes into some sort of
2423         coherent order.
2424
2425         * buffer.h: remove #includes ErrorList.h, undo.h
2426
2427 2003-09-06  Angus Leeming  <leeming@lyx.org>
2428
2429         * support/types.h: add a 'depth_type' typedef, used to store the
2430         nesting depth of a paragraph.
2431
2432         * paragraph.h:
2433         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2434         defining explicitly.
2435
2436         * buffer.h:
2437         * paragraph_funcs.h:
2438         * ParagraphParameters.h:
2439         * sgml.h: use lyx::depth_type rather than Paragraph or
2440         ParameterStruct's depth_type.
2441
2442         * buffer.h
2443         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2444
2445         * BufferView.C:
2446         * BufferView_pimpl.C:
2447         * CutAndPaste.C:
2448         * ParagraphParameters.C:
2449         * buffer_funcs.C:
2450         * bufferlist.C:
2451         * bufferview_funcs.C:
2452         * lyx_cb.C:
2453         * lyxfunc.C:
2454         * tabular.C:
2455         * text3.C:
2456         * toc.C:
2457         * undo_funcs.C:
2458         * frontends/LyXView.C:
2459         * frontends/controllers/ControlDocument.C:
2460         * frontends/controllers/ControlErrorList.C:
2461         * insets/insetbibitem.C:
2462         * insets/insetbranch.C:
2463         * insets/insetcaption.C:
2464         * insets/insetcollapsable.C:
2465         * insets/insetenv.C:
2466         * insets/insetert.C:
2467         * insets/insetfloat.C:
2468         * insets/insetfoot.C:
2469         * insets/insetfootlike.C:
2470         * insets/insetnewline.C:
2471         * insets/insetquotes.C:
2472         * insets/insettabular.C:
2473         * insets/insettext.C:
2474         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2475
2476         * frontends/controllers/ControlChanges.C: #include "changes.h".
2477
2478 2003-09-06  Angus Leeming  <leeming@lyx.org>
2479
2480         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2481         than #including paragraph.h.
2482
2483         * ParagraphList.h:
2484         * RowList.h: deleted. Superfluous.
2485
2486         * CutAndPaste.h:
2487         * iterators.h:
2488         * lyxcursor.h:
2489         * lyxtext.h:
2490         * text_funcs.h:
2491         * undo.h:
2492         * undo_funcs.h:
2493         * insets/inset.h:
2494         * insets/insettext.h: use ParagraphList_fwd.h rather than
2495         ParagraphList.h.
2496
2497         * paragraph.h: don't forward declare ParagraphList.
2498
2499         * buffer.h:
2500         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2501         rather than ParagraphList.h. paragraph.h is still needed for the
2502         Paragraph::depth_type parameters.
2503
2504         * textcursor.h: enable it to compile stand-alone in light of the
2505         above changes.
2506
2507         * bufferview_funcs.C:
2508         * iterators.C:
2509         * lyxfunc.C:
2510         * lyxrow_funcs.C:
2511         * paragraph.C:
2512         * rowpainter.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C:
2516         * text_funcs.C:
2517         * textcursor.C:
2518         * undo.C:
2519         * frontends/controllers/ControlParagraph.C:
2520         * frontends/controllers/ControlTabular.C:
2521         * insets/insetmarginal.C:
2522         * insets/insetminipage.C:
2523         * insets/insetnote.C:
2524         * insets/insetoptarg.C: add header files needed to compile again.
2525
2526 2003-09-06  Angus Leeming  <leeming@lyx.org>
2527
2528         * RowList_fwd.h: new file, forward-declaring Row rather than
2529         #including lyxrow.h.
2530
2531         * lyxrow_funcs.h:
2532         * lyxtext.h:
2533         * paragraph.h:
2534         * insets/insettext.h: use it instead of RowList.h
2535
2536         * bufferview_funcs.C:
2537         * lyxfunc.C:
2538         * lyxrow_funcs.C:
2539         * paragraph.C:
2540         * rowpainter.C:
2541         * text.C:
2542         * text2.C:
2543         * text3.C: #include "RowList.h".
2544
2545 2003-09-05  Angus Leeming  <leeming@lyx.org>
2546
2547         * factory.C (createInset):
2548         * vspace.C (c-tor): replace sscanf call with an istringstream.
2549         * ispell.C: re-add missing HP/UX headers.
2550         * lyxserver.C: re-add missing  os2 headers.
2551
2552 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2553
2554         * BranchList.C:
2555         * graph.C:
2556         * ispell.C:
2557         * lastfiles.C:
2558         * lyx_cb.C:
2559         * lyxserver.C:
2560         * texrow.C:
2561         * text3.C: re-add missing system headers, needed for 2.95.2.
2562
2563 2003-09-05  Angus Leeming  <leeming@lyx.org>
2564
2565         Changes most place everywhere due to the removal of using directives
2566         from support/std_sstream.h.
2567
2568 2003-09-05  Angus Leeming  <leeming@lyx.org>
2569
2570         Replace LString.h with support/std_string.h,
2571         Lsstream.h with support/std_sstream.h,
2572         support/LIstream.h with support/std_istream.h,
2573         support/LOstream.h with support/std_ostream.h.
2574
2575         Changes resulting throughout the tree.
2576
2577 2003-09-05  Angus Leeming  <leeming@lyx.org>
2578
2579         * sgml.h: ensure that the header file can be compiled stand-alone.
2580         * *.C: strip out redundant #includes. (320 in total.)
2581
2582 2003-09-04  Angus Leeming  <leeming@lyx.org>
2583
2584         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2585         here (from getPackages).
2586
2587         * debug.[Ch]: add a new EXTERNAL tag.
2588
2589 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2590
2591         * text2.C (cursorEnd): simplify
2592         (setCursor): adjust
2593         (getColumnNearX): adjust
2594
2595         * text.C (computeBidiTables): adjust
2596         (fill): adjust
2597
2598         * rowpainter.C (paintChars): adjust
2599         (paintSelection): adjust
2600         (paintChangeBar): adjust
2601         (paintText): adjust
2602
2603         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2604         lastPos instead.
2605         (numberOfSeparators): adjust
2606
2607 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * LyXAction.C:
2610         * box.[Ch]:
2611         * lfuns.h:
2612         * lyxfunc.C:
2613         * text3.C: Restricts the mouse click functionality
2614         of insets like bibtex, include, toc and floatlist to the visible
2615         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2616         up the dialogs. Cursor has to be in front of the inset (i.e.
2617         start of row) for this to function.
2618
2619 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2620
2621         * bufferview_funcs.C (currentState): output row information
2622
2623 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2624
2625         * bufferview_funcs.C (currentState): output paragraph position
2626
2627 2003-09-04  Angus Leeming  <leeming@lyx.org>
2628
2629         * FloatList.h: move out #include "Floating.h".
2630         * LaTeX.h: move out #include "DepTable.h".
2631         * LyXAction.h: move out #include "funcrequest.h".
2632         * buffer.h: move out #include "author.h", "iterators.h".
2633         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2634         * lyx_main.h: move out #include "errorlist.h".
2635         * lyxfunc.h: move out #include "FuncStatus.h".
2636         * lyxtext: move out #include "lyxcursor.h".
2637         * paragraph_pimpl.h: move out #include "counters.h".
2638
2639 2003-09-03  Angus Leeming  <leeming@lyx.org>
2640
2641         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2642         preamble_snippets list, enabling us to add snippets to the preamble
2643         only if the snippet was not there already.
2644
2645 2003-09-04  Angus Leeming  <leeming@lyx.org>
2646
2647         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2648
2649 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2652         update
2653
2654 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2655
2656         * BranchList.C: point fix, earlier forgotten
2657
2658 2003-09-02  Angus Leeming  <leeming@lyx.org>
2659
2660         * box.C (contains): renamed from 'contained' after a fantastic
2661         amount of hot air.
2662
2663 2003-09-02  John Levon  <levon@movementarian.org>
2664
2665         * BufferView.C:
2666         * lyxcursor.h:
2667         * lyxcursor.C:
2668         * lyxfunc.C:
2669         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2670
2671 2003-09-02  John Levon  <levon@movementarian.org>
2672
2673         * text2.C: simplification of cursorEnd(), including partial
2674         fix for bug 1376
2675
2676 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * buffer.C (readFile): add a space
2679
2680 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2681
2682         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2683
2684 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * buffer.C (readFile): new function, take a filename and a
2687         ParagraphList::iterator
2688         (readFile): adjust
2689         (readFile): adjust, make it private. don't use setStream, make
2690         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2691         always contain the filename.
2692
2693         * BufferView.C (insertLyXFile): simplify and make it work for
2694         gzipped files.
2695
2696 2003-08-30  John Levon  <levon@movementarian.org>
2697
2698         * Makefile.am: fix dist (from Kayvan)
2699
2700 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * most files: change to use const Buffer refs
2703
2704 2003-08-27  André Pönitz  <poenitz@gmx.net>
2705
2706         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2707         on top of ownerPar().
2708
2709 2003-08-27  John Levon  <levon@movementarian.org>
2710
2711         * funcrequest.C: properly initialise POD members
2712
2713 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2714
2715         * lyxtext.h (top_y): move top_y from here
2716         * text.C:
2717         * text2.C:
2718         * text3.C:
2719         * BufferView.[Ch]:
2720         * BufferView_pimpl.[Ch]: to here
2721         * frontends/screen.C:
2722         * insets/insettabular.C:
2723         * insets/insettext.C: adjust
2724         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2725
2726 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * BufferView.[Ch]:
2729         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2730
2731 2003-08-26  André Pönitz  <poenitz@gmx.net>
2732
2733         * paragraph_func.[Ch] (outerPar): new function
2734
2735         * paragraph.C:
2736         * paragraph_funcs.C:
2737         * paragraph_funcs.h:
2738         * paragraph_pimpl.C:
2739         * text2.C: remove Inset::par_owner
2740
2741 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * lyxrow_funcs.C:
2744         * lyxtext.h:
2745         * text.C:
2746         * text2.C: eliminates the needFullRow/display() stuff
2747         altogether, putting the logic in metrics/draw in the insets.
2748
2749 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2750
2751         * text2.C (redoParagraphInternal, redoParagraphs):
2752         * text.C (redoParagraph): add a call to updateRowPositions at the
2753         end of each 'metrics-like' call. Remove all others.
2754         (getRow): remove the 'y-computing' version.
2755         (getRowNearY): do not compute nor return the real y. Solve the
2756         'y < 0' problem and simplify.
2757
2758 2003-08-22  Angus Leeming  <leeming@lyx.org>
2759
2760         * *.[Ch]: clean-up of licence and author blurbs.
2761         Also move config.h out of a few .h files and into a few .C files.
2762
2763 2003-08-22  André Pönitz  <poenitz@gmx.net>
2764
2765         * lyxrow.[Ch]: add x_ and *fill_ members
2766
2767         * lyxtext.h:
2768         * text.C:
2769         * rowpainter.C:
2770         * text2.C: adjust/remove prepareToPrint() calls
2771
2772 2003-08-22  André Pönitz  <poenitz@gmx.net>
2773
2774         * lyxrow.[Ch]: add  end_ member
2775
2776         * lyxrow_funcs.C: use LyXRow::end_
2777
2778         * lyxtext.h (singleWidth): add LyXFont parameter
2779
2780         * rowpainter.C:
2781         * text2.C: adjust LyXText::singleWidth() calls
2782
2783         * text.C (redoParagraph): simplify row breaking logic
2784
2785
2786 2003-08-19  André Pönitz  <poenitz@gmx.net>
2787
2788         * funcrequest.C: initialize button_ member
2789
2790         * text3.C:
2791         * rowpainter.[Ch]: interface consolidation
2792
2793 2003-08-18  André Pönitz  <poenitz@gmx.net>
2794
2795         * BufferView.C:
2796         * BufferView_pimpl.C:
2797         * lyxfind.C:
2798         * paragraph_funcs.C:
2799         * rowpainter.C:
2800         * text3.C: remove LyXScreen::draw() and fitCursor calls
2801
2802         * BranchList.h: remove spurious semicolons
2803
2804         * MenuBackend.C: fix branchlist related crash
2805
2806 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * BranchList.[Ch]:
2809         * InsetList.[Ch]:
2810         * LColor.[Ch]:
2811         * LyXAction.C:
2812         * Makefile.am:
2813         * MenuBackend.[Ch]:
2814         * bufferparams.[Ch]:
2815         * factory.C:
2816         * lfuns.h:
2817         * lyxfunc.C:
2818         * text3.C: implements the 'branch inset'
2819         idea. This allows the output of various versions of a document
2820         from a single source version, selectively outputing or suppressing
2821         output of parts of the text.
2822         This implementation contains a 'branch list editor' in a separate
2823         tab of the document settings dialog. Branches are user definable
2824         and have a "display colour" to distinguish them on-screen.
2825
2826         ColorHandler was somewhat cleaned up.
2827         (1) make possible a dynamically growing LColor list by allowing
2828         the graphic context cache to grow along (vector);
2829         (2) eliminate an IMHO unnecessary step in colour allocation.
2830
2831 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2832
2833         * BufferView_pimpl.C: compile fix
2834
2835 2003-08-15  André Pönitz  <poenitz@gmx.net>
2836
2837         * rowpainter.C: remove extra metrics calls
2838
2839         * lyxtext.h: merge the two constructors into a single one,
2840           pass reference to owner's par list
2841
2842         * BufferView_pimpl.C:
2843         * text.C:
2844         * text2.C: adjust
2845
2846 2003-08-15  André Pönitz  <poenitz@gmx.net>
2847
2848         * lyxrow_funcs.[Ch]:
2849         * lyxtext.h:
2850         * paragraph.h:
2851         * paragraph_funcs.C:
2852         * rowpainter.C:
2853         * text.C:
2854         * text2.C:
2855         * text3.C:
2856         * text_funcs.C: split LyXText::rowlist_ into individual
2857         Paragraph::rows_ chunks
2858
2859         * BufferView.[Ch]:
2860         * BufferView_pimpl.[Ch]:
2861         * lyxfind.C:
2862         * lyxtext.h:
2863         * text3.C: remove toggleSelection()
2864
2865 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2866
2867         * bufferlist.C: beautify two alerts (shorter text of buttons)
2868         * buffer.C: Remove redundant ' ' from message
2869         * tabular.h:
2870         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2871         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2872         rename VALIGN_CENTER to VALIGN_MIDDLE
2873
2874 2003-08-11  André Pönitz  <poenitz@gmx.net>
2875
2876         * lyxtext.h (getPar):
2877         * text.C: new function
2878
2879 2003-08-11  André Pönitz  <poenitz@gmx.net>
2880
2881         * Makefile.am:
2882         * tracer.[Ch]: remove unneeded files
2883
2884         * InsetList.[Ch]: remove resizeInsetsLyXText()
2885
2886         * lyxtext.h:
2887         * text.C:
2888         * text2.C:
2889         * text3.C: merge insertParagraphs() and appendParagraph()
2890         remove breakAgain(), update()
2891
2892         * BufferView_pimpl.[Ch]:
2893         * bufferview_funcs.[Ch]:
2894         * lyxfunc.C:
2895         * paragraph.[Ch]:
2896         * rowpainter.C:
2897         * tabular.C: adjust after text & InsetList changes.
2898
2899 2003-08-08  André Pönitz  <poenitz@gmx.net>
2900
2901         * text.C (insertChar, backspace): replace rowlist fiddling
2902         with rebreak of full par
2903
2904         * lyxtext.h:
2905         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2906         checkParagraph, updateInset): removed
2907
2908 2003-08-07  André Pönitz  <poenitz@gmx.net>
2909
2910         * paragraph.C:
2911         * text3.C: merge some LFUN handlers, remove dead code
2912
2913 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2916
2917 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * text2.C (DEPM): fix part of bug 1255 and 1256
2920
2921 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2922
2923         * BufferView_pimpl.C (workAreaDispatch): change to use
2924         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2925         that are no mouse related.
2926
2927 2003-08-05  André Pönitz  <poenitz@gmx.net>
2928
2929         * BufferView.[Ch]:
2930         * BufferView_pimpl.[Ch]:
2931         * bufferview_funcs.C:
2932         * text2.C:
2933         * text3.C: rip out "deep update"
2934
2935         * textcursor.[Ch] (last_sel_cursor): remove unused member
2936
2937 2003-08-04  André Pönitz  <poenitz@gmx.net>
2938
2939         * BufferView.[Ch]:
2940         * BufferView_pimpl.[Ch]:
2941         * ParagraphParameters.C:
2942         * bufferview_funcs.C:
2943         * lyx_cb.C:
2944         * lyxfind.C:
2945         * lyxfunc.C:
2946         * text.C:
2947         * text2.C:
2948         * text3.C: replace "complicated" BufferView::update(...) calls with
2949         simpler ones.
2950
2951         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2952
2953 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2954
2955         * Makefile.am (lyx_SOURCES): add paper.h
2956
2957 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2958
2959         * Makefile.am: move things around so that both lyx-qt and
2960         lyx-xforms can be built (according to --with-frontend). Then lyx
2961         is a symbolic link to lyx-[firstfrontend]
2962
2963 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2964
2965         * Always use std::endl with lyxerr
2966
2967 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2968
2969         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2970
2971 2003-08-01  André Pönitz  <poenitz@gmx.net>
2972
2973         * BufferView.[Ch]:
2974         * BufferView_pimpl.[Ch]:
2975         * lyxfunc.C:
2976         * text3.C: merge BufferView::repaint() and BufferView::update()
2977
2978 2003-08-01  José Matos  <jamatos@lyx.org>
2979
2980         * buffer.[Ch]: file_format is no longer a buffer data element.
2981
2982 2003-08-01  André Pönitz  <poenitz@gmx.net>
2983
2984         * BufferView.C:
2985         * lyxtext.h:
2986         * text.C:
2987         * text2.C: make redoParagraph more independent of current cursor
2988
2989         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2990         * text.C:
2991         * text2.C: remove unneeded members
2992
2993 2003-07-30  André Pönitz  <poenitz@gmx.net>
2994
2995         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2996
2997         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2998           create a single function...
2999
3000         * paragraph_funcs.C (moveItem): ... here.
3001
3002         * text.C:
3003           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3004
3005 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3006
3007         * LColor.[Ch]: Add comment and greyedout logical colors.
3008
3009 2003-07-30  André Pönitz  <poenitz@gmx.net>
3010
3011         * tabular.C: don't use Assert too heavily. This crashes where it
3012           shouldn't
3013
3014 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3015
3016         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3017         is disabled (bug 1232)
3018
3019 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3020
3021         * factory.C: limited 'arg' scope
3022
3023 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3024
3025         * factory.C: fixed Note submenu issues
3026
3027 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3028
3029         * factory.C: submenu for Note/Comment/Greyedout
3030
3031 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * lyx_main.C (LyX):
3034         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3035
3036 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3037
3038         * LaTeXFeatures.C:
3039         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3040         greyedout. Patch provided by Jürgen Spitzmüller.
3041
3042 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * kbmap.C (read): fix error message when reading bind files
3045
3046 2003-07-29  Angus Leeming  <leeming@lyx.org>
3047
3048         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3049         certainly does not do what it purports to do. I am doing it, and
3050         us, a favour by killing it.
3051
3052 2003-07-28  José Matos  <jamatos@lyx.org>
3053
3054         * buffer.C (readBody, do_writeFile):
3055         * paragraph.C(readParagraph): \end_document replaces \the_end.
3056
3057 2003-07-29  André Pönitz  <poenitz@gmx.net>
3058
3059         * BufferView.[Ch]:
3060         * BufferView_pimpl.[Ch]:
3061         * lyxfunc.C:
3062         * text2.C:
3063         * text3.C:
3064         * textcursor.[Ch]: remove toggleToggle & Co
3065
3066 2003-07-28  José Matos  <jamatos@fep.up.pt>
3067
3068         * buffer.C (readParagraph):
3069         * params_func (readParToken, readParagraph):
3070         * paragraph.C (write): \layout -> \begin_layout.
3071
3072 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * lyxlex_pimpl.C (setFile): clean up slightly.
3075
3076         * bufferparams.h: add compressed var
3077
3078         * buffer_funcs.C (readFile): adjust for LyXLex change
3079         (newFile): ditto + simplify
3080
3081         * buffer.C (writeFile): handle writing of compressed files
3082
3083         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3084         Check if the file is compressed and set a bufferparm if so.
3085
3086         * Makefile.am (lyx_LDADD): remove explicit -lz
3087
3088 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3089
3090         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3091         makeDocBookFile): put the real LyX version in the first line of
3092         the file
3093
3094         * version.h:
3095         * version.C.in: remove lyx_docversion
3096
3097         * tabular.C (write_attribute): add a template-based version to
3098         write enums properly
3099
3100 2003-07-28  André Pönitz  <poenitz@gmx.net>
3101
3102         * lyxtext.h:
3103         * text.C:
3104         * text2.C:
3105         * text3.C: use doubles again for x-coordinates. They are needed.
3106
3107 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * messages.C (getLocaleDir): use lyx_localedir()
3110
3111         * lyxlex_pimpl.C (setFile): compress stuff
3112
3113         * buffer.C (writeFile): add some compression stuff
3114         (do_writeFile): new func, dont call expliti close... will this
3115         breake anything?
3116
3117         * Makefile.am (lyx_LDADD): add -lz
3118
3119 2003-07-28  José Matos  <jamatos@fep.up.pt>
3120
3121         * buffer.C: increment file format.
3122         * paragraph_funcs (readParagraph, readParToken):
3123         * paragraph.C (readParagraph): add \end_layout.
3124
3125 2003-07-27  Angus Leeming  <leeming@lyx.org>
3126
3127         * Makefile.am: remove special casing for configure-time setting of
3128         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3129
3130         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3131         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3132
3133 2003-07-26  André Pönitz  <poenitz@gmx.net>
3134
3135         * paragraph_func.[Ch]:
3136         * paragraph.C (realizeFont): inline it whereever it is used
3137
3138         * rowpainter.C:
3139         * text.C:
3140         * text2.C:
3141         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3142
3143
3144 2003-07-26  André Pönitz  <poenitz@gmx.net>
3145
3146         *       lyxtext.h:
3147         * text.C:
3148         * text2.C: get rid of LyXText::need_break_row
3149
3150 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * toc.[Ch]: put namespace toc inside namespace lyx
3153
3154         * MenuBackend.C (expandToc2): adjust for lyx::toc
3155         (expandToc): ditto
3156
3157         * lyxfunc.C (dispatch): adjust for lyx::find
3158
3159         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3160         lyx::find instead. Reorganize a bit.
3161         (LyXReplace): rename to replace
3162         (LyXFind): rename to find
3163
3164         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3165         (dispatch): ditto
3166
3167 2003-07-26  André Pönitz  <poenitz@gmx.net>
3168
3169         * text.C (setHeightOfRow): restrict scope of temporary variable
3170
3171         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3172           code (never has been used?)
3173
3174 2003-07-27  Asger Alstrup  <alstrup@local>
3175
3176         * text.C (fill): Optimise algorithm to exploit that we can reuse
3177         the LyXFont for many characters.
3178         (setHeightOfRow): Same thing.
3179         (rowBreakPoint): Same thing.
3180
3181 2003-07-26  Asger Alstrup  <alstrup@local>
3182
3183         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3184
3185         * text.C (singleWidth): Spurious font copying in hot-spot
3186         singleWidth avoided. Reorder tests for arabic for efficiency.
3187
3188         * text.C (fill): handle empty paragraphs better.
3189
3190 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3191
3192         * ispell.C:
3193         * encoding.h: add includes
3194
3195         * lyxrc.C: remove reading of bind files
3196
3197         * lyx_main.C (init): setup bindings and menus only if we have a
3198         gui.
3199
3200         * kbmap.C (read): new method. Do the actual reading of bind
3201         files.
3202
3203         * converter.C (dvipdfm_options):
3204         * bufferparams.C:
3205         * lyxrc.C (read):
3206         (output): adapt PAPER_* enums.
3207
3208         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3209
3210         * bufferparams.h: remove paper-related enums from there
3211
3212         * paper.h: New file. A trivial header file to hold paper-related
3213         enums. It should later expand to contain many paper-related
3214         horrors access.
3215
3216         * lyxrc.C: declare extern displayTranslator
3217
3218 2003-07-27  José Matos  <jamatos@fep.up.pt>
3219
3220         * tabular.[Ch] (linuxdoc): add support for tables and figures
3221         (linuxdoc).
3222
3223 2003-07-27  José Matos  <jamatos@fep.up.pt>
3224
3225         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3226         consistency in both functions.
3227         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3228
3229 2003-07-26  Asger Alstrup  <alstrup@local>
3230
3231         * rowpainter.C (paintRows): Change algorithm to work directly on
3232         the insets rather than asking every character in the document
3233         whether its an inset.
3234
3235 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * buffer.C (openFileWrite): factorize some code
3238
3239 2003-07-26  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyx_cb.C:
3242         * lyx_main.[Ch]: replace occurances of system_tempdir with
3243         os::getTmpDir().
3244
3245 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * rename Inset to InsetOld
3248
3249 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3250
3251         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3252         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3253         which I think is a bit clearer. EDIT is gone, since it was
3254         premature optimisation, and broken for mathed anyway.
3255         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3256         with cursor positioning in insets as well (math insets still do not
3257         work, but that's a different story anyway.) It mysteriously
3258         crashes sometimes with undo in the first paragraph, but I'm fairly
3259         confident that this is a compiler bug.
3260
3261 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * paragraph.C (Paragraph): adjust for new clone return type
3264         (operator==): ditto
3265         (copyIntoMinibuffer): ditto
3266
3267 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3268
3269         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3270         by not having a special case, and always doing a full rebreak of
3271         the document after undo.
3272
3273 2003-07-23  Angus Leeming  <leeming@lyx.org>
3274
3275         * factory.C (createInset): InsetExternal::setParams now takes a
3276         Buffer const * arg.
3277
3278 2003-07-23  Angus Leeming  <leeming@lyx.org>
3279
3280         * factory.C (createInset): changed interface to the external and
3281         graphics mailers' string2params functions.
3282
3283 2003-07-23  Angus Leeming  <leeming@lyx.org>
3284
3285         * factory.C (createInset): pass a
3286         Buffer const * parameter to InsetExternalMailer's string2params.
3287
3288 2003-07-22  John Levon  <levon@movementarian.org>
3289
3290         * Thesaurus.h: include the right aiksaurus header
3291
3292 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3293
3294         * MenuBackend.C (expand): check menu shortcuts unconditionally
3295
3296 2003-07-21  Angus Leeming  <leeming@lyx.org>
3297
3298         * factory.C (createInset): pass a
3299         buffer_path parameter to InsetGraphicsMailer's string2params.
3300
3301 2003-07-21  Angus Leeming  <leeming@lyx.org>
3302
3303         * BufferView_pimpl.C (buffer):
3304         * buffer.C (d-tor):
3305         * lyx_main.C (LyX):
3306         * lyxfunc.C (dispatch):
3307         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3308         rather than the grfx shortcut.
3309
3310 2003-07-21  André Pönitz  <poenitz@gmx.net>
3311
3312         * rowpainter.C: remove unused variables
3313
3314         * tabular_funcs.C:
3315         * tabular_funcs.h: move to tabular.C
3316         * Makefile.am: adjust
3317
3318         * tabular.[Ch]: basic optical cleaning
3319
3320         * author.h: pass references, not values
3321
3322 2003-07-18  André Pönitz  <poenitz@gmx.net>
3323
3324         * lyxtext.h:
3325         * metricsinfo.C:
3326         * metricsinfo.h:
3327         * rowpainter.C:
3328         * text.C:
3329         * text2.C:
3330         * text3.C: two-phase drawing for InsetText and InsetTabular
3331         some float -> int changes.
3332
3333 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * lyx_main.C: fix the fix
3336
3337 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * lyx_main.C: fix a crash in batch mode if no files specified
3340         * converter.C: ws
3341
3342 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * format.[Ch] (papersize): moved to BufferParams
3345         * converter.[Ch] (dvips_options): moved to BufferParams
3346         (dvipdfm_options): moved to anon namespace
3347         * bufferparams.[Ch]: added above functions.
3348
3349 2003-07-17  André Pönitz  <poenitz@gmx.net>
3350
3351         * lyxtext.h:
3352         * rowpainter.C:
3353         * text2.C: don't call inset->update() anymore
3354
3355         * metricsinfo.[Ch]: add convenience constructor
3356
3357 2003-07-16  André Pönitz  <poenitz@gmx.net>
3358
3359         * lyxcursor.[Ch]:
3360         * lyxfunc.[Ch]:
3361         * text.C:
3362         * text2.C: replace the LyXCursor::irow_ member with
3363          on-demand computation of the value
3364
3365 2003-07-16  John Levon  <levon@movementarian.org>
3366
3367         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3368
3369 2003-07-15  André Pönitz  <poenitz@gmx.net>
3370
3371         * text.C:
3372         * text2.C: remove no more needed refresh_row
3373
3374 2003-07-15  André Pönitz  <poenitz@gmx.net>
3375
3376         * lyxtext.h:
3377         * rowpainter.C:
3378         * text2.C:
3379         * text3.C: refresh_status tristate -> need_update bool
3380
3381 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * lyxtext.h (init): remove reinit argument (act as if always true)
3384         * text2.C: adjust to that
3385
3386 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3387
3388         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3389         * text3.C: use it to delete selections in some cases
3390         (bugs 441, 673, 702, 954).
3391
3392 2003-07-14  André Pönitz  <poenitz@gmx.net>
3393
3394         * rowpainter.[Ch]: reduce interface
3395
3396 2003-07-14  André Pönitz  <poenitz@gmx.net>
3397
3398         * BufferView_pimpl.C:
3399         * text2.C: adjust after removing unused BufferView * argument
3400
3401 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * text2.C (init): fix a crash fired on resize
3404
3405 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * buffer.[Ch]: added new closing signal
3408         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3409         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3410         BufferView::Pimpl via the closing the signal
3411
3412 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * buffer.[Ch]: take out all bv-related from buffer
3415         * BufferView.C:
3416         * BufferView_pimpl.[Ch]: connect to new signals
3417         * CutAndPaste.C: removed useless asserts
3418         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3419         * lyxvc.[Ch]:
3420         * vc-backend.[Ch]:
3421         * lyxfunc.C: moved view-related funciontality from vc here
3422         * paragraph.C: removed outdated comments
3423         * text.C: ws
3424
3425 2003-07-10  André Pönitz  <poenitz@gmx.net>
3426
3427         * BufferView_pimpl.C:
3428         * tabular.h:
3429         * tabular_funcs.C:
3430         * text.C:
3431         * text2.C: remove InsetText::InnerCache, clean up consequences
3432
3433 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3434
3435         * ispell.C: fix two typos in error messages
3436
3437 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3438
3439         * Extend Note inset to other forms of annotation like Comment
3440         and Greyedout. Right button click gives dialog.
3441
3442         Files modified or added (+):
3443
3444         * insetnote.[Ch]
3445         * FormNote.[Ch]      +
3446         * ControlNote.[Ch]   +
3447         * form_note.fd       +
3448         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3449         frontends/controllers
3450         * xforms/Dialogs.C
3451         * factory.C
3452
3453 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3454
3455         * aspell.C: add missing namespace lyx::support
3456
3457 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * BufferView.[Ch] (newFile): Add
3460         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3461         * LaTeX.[Ch] (message): added this signal and use it
3462         * buffer.[Ch] (busy, message): added these signals and use them
3463         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3464         * converter.C:
3465         * exporter.C:
3466         * format.C:
3467         * importer.C: use buffer signals instead of direct bv calling
3468         * lyx_cb.[Ch] (ShowMessage): removed
3469         * lyx_main.C:
3470         * lyxfunc.C:
3471         * paragraph_funcs.C:
3472         * text2.C: use buffer signals
3473
3474 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * introduce namespace lyx::graphics
3477
3478 2003-07-02  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3481
3482 2003-07-01  André Pönitz  <poenitz@gmx.net>
3483
3484         * text.C:
3485         * text2.C:
3486         * text3.C:
3487         * text_funcs.[Ch]:
3488         * textcursor.h:
3489         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3490           text*.C to text_func.C
3491
3492 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * introduce namespace lyx::support
3495
3496 2003-06-30  André Pönitz  <poenitz@gmx.net>
3497
3498         * Chktex.C:
3499         * funcrequest.C:
3500         * lyxtext.h:
3501         * text.C: re-enable --with-included-string
3502
3503 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3504
3505         * textcursor.C: add <config.h>
3506
3507         * text.C (getWord): remove const from word_location arg
3508
3509         * lyxvc.C (getLogFile): fix const type order
3510
3511         * lyxtext.h: remove const from word_location arg, add arg name
3512
3513         * lyxlayout.h: currect type on labeltype.
3514
3515         * importer.C: correct \file
3516
3517         * converter.C (intToFormat): use std:: on ret val, ws changes
3518
3519         * bufferlist.h: correct \file
3520
3521         * buffer.C (makeLinuxDocFile): fix const type order
3522         (makeDocBookFile): ditto
3523         (fillWithBibKeys): use std:: on stdlib args.
3524
3525         * CutAndPaste.C: fix authors.
3526         (availableSelections): use std:: on return vector
3527
3528 2003-06-27  André Pönitz  <poenitz@gmx.net>
3529
3530         * BufferView_pimpl.C:
3531         * bufferview_funcs.C:
3532         * lyxcursor.C:
3533         * lyxcursor.h:
3534         * lyxfunc.C:
3535         * lyxtext.h:
3536         * rowpainter.C:
3537         * text.C:
3538         * text2.C:
3539         * text3.C: remove LyXCursor::row_ member
3540
3541         * lyxtext.h:
3542         * text.C: rename fullRebreak() to partialRebreak() and implement
3543           a fullRebreak() that really bereks fully
3544
3545         * textcursor.h: new struct for cursor-related data
3546
3547 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * lyx_main.C (LyX): get full path of document loaded on the
3550         command line
3551
3552 2003-06-26  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3555           remove unused/broken operator>,<,>=.
3556
3557         *       text.C: remove only use of broken operator<= in an Assert().
3558
3559 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3560
3561         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3562         moved errorlist_.clear to showErrorList
3563
3564 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3565
3566         * converter.C (scanLog, runLaTeX):
3567         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3568         move the bv->showErrorList call to the callers
3569         * lyxfunc.C: i.e. here...
3570         * text2.C: and here
3571         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3572         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3573         namespace, the second to...
3574         * buffer_funcs (BufferFormat, parseErrors): added
3575         * errorlist.C (ErrorList(TeXErrors const &)): removed
3576
3577 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3578
3579         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3580
3581 2003-06-24  "Garst R. Reese" <reese@isn.net>
3582
3583         * debug.C: fix typo
3584
3585 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3586
3587         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3588
3589         * version.C.in: change docversion to 1.4
3590
3591 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * buffer.C: fix a bug just introduced
3594
3595 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * buffer.[Ch]: added the parseError signal and use it, removed
3598         sgmlError
3599         * BufferView.[Ch] (addError): moved to ...
3600         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3601         to the Buffer::parseError signal to catch (guess what) parse errors
3602         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3603
3604 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3607         ability to create a buffer and to return an existing one from
3608         the list. Moved these functions to...
3609         * buffer_funcs.[Ch]: added
3610         * BufferView.[Ch] (loadLyXFile): added
3611         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3612         job removed from bufferlist::loadLyXFile.
3613         * buffer.C (setReadOnly): make it work without view
3614         (i.e added an if (users))
3615
3616 2003-06-19  Angus Leeming  <leeming@lyx.org>
3617
3618         * lfuns.h:
3619         * LyXAction.C (init):
3620         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3621         with LFUN_DIALOG_SHOW <name> <data>.
3622
3623 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3624
3625         * CutAndPaste.C (availableSelections): small compilation fix for
3626         ancient (gcc 2.9x) compilers
3627
3628 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * text3.C (cursorNext): add tmp var
3631
3632         * text2.C (updateCounters): for function calling out of for clause
3633         (replaceSelectionWithString): ditto
3634         (insertStringAsParagraphs): ditto
3635         (getColumnNearX): add tmp var
3636         (setCursorFromCoordinates): add tmp var
3637         (cursorDownParagraph): add tmp var
3638         (deleteEmptyParagraphMechanism): add tmp var
3639
3640         * text.C (insertChar): add tmp var
3641
3642         * rowpainter.C (paintDepthBar): add tmp var
3643
3644         * CutAndPaste.C (availableSelections): potentially check all
3645         paragraphs in a cut to fill the shown strings.
3646
3647 2003-06-18  André Pönitz  <poenitz@gmx.net>
3648
3649         * kbmap.[Ch]: use vector<> instead of list<>
3650
3651 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3652
3653         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3654         pasteSelection with index
3655
3656         * text2.C (pasteSelection): modify, call pasteSelection with index
3657
3658         * paragraph.C (asString): reimplement version with no interval to
3659         call the one with interval.
3660
3661         * lyxtext.h: add index arg to pasteSelection
3662
3663         * MenuBackend.C (MenuItem): handle PasteRecent
3664         (Menu::read::Menutags): add md_pasterecent
3665         (read): handle it
3666         (expandPasteRecent): new function
3667         (expand): use it
3668
3669         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3670
3671         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3672         the limited stack
3673         (availableSelections): new function
3674
3675 2003-06-17  Angus Leeming  <leeming@lyx.org>
3676
3677         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3678
3679 2003-06-17  Angus Leeming  <leeming@lyx.org>
3680
3681         * lfuns.h:
3682         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3683
3684         * lyxfunc.C (dispatch): invoke it.
3685
3686 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3687
3688         * iterators.C (operator++, ParPosition): reintroduce some
3689         const_cast for the benefit of older compilers.
3690
3691 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3692
3693         * text3.C (dispatch): do not modify clipboard when doing
3694         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3695         LFUN_DELETE_SKIP on a selection selection
3696
3697 2003-06-16  André Pönitz  <poenitz@gmx.net>
3698
3699         * BufferView.C:
3700         * buffer.C:
3701         * buffer.h:
3702         * paragraph.C:
3703         * tabular.[Ch]: IU of clone() and getLabelList();
3704
3705 2003-06-13  André Pönitz  <poenitz@gmx.net>
3706
3707         * tabular.h: compactification
3708
3709 2003-06-12  André Pönitz  <poenitz@gmx.net>
3710
3711         * tabular.C:
3712         * tabular.h:
3713         * tabular_funcs.h: some renaming plus whitespace
3714
3715 2003-06-12  André Pönitz  <poenitz@gmx.net>
3716
3717         * BufferView.C:
3718         * BufferView_pimpl.C:
3719         * CutAndPaste.C:
3720         * buffer.C:
3721         * iterators.[Ch]:
3722         * lyxfunc.C:
3723         * text.C:
3724         * toc.C: Return a Paragraph & for ParIterator::operator*()
3725
3726 2003-06-11  John Levon  <levon@movementarian.org>
3727
3728         * lyx_main.C:
3729         * ToolbarBackend.h:
3730         * ToolbarBackend.C: add "Toolbars" section and
3731         put the flags there
3732
3733 2003-06-10  Angus Leeming  <leeming@lyx.org>
3734
3735         * lfuns.h:
3736         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3737
3738         * lyxfunc.C (dispatch): invoke it.
3739
3740 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3741
3742         * main.C: protect <ios> with HAVE_IOS
3743         (main): protect sync_with_stdio with HAVE_IOS
3744
3745 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3746
3747         * text2.C (cutSelection): adjust
3748         (pasteSelection): adjust
3749
3750         * messages.C: handle get of empty string
3751
3752         * main.C (main): use sync_with_stdio(false)
3753
3754         * lyxfunc.C (dispatch): adjust
3755
3756         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3757         (WriteAs): remove unneeded BufferView arg.
3758
3759         * bufferparams.h: use correct types on papersize, papersize2 and
3760         paperpackage.
3761
3762         * bufferparams.C (readToken): adjust for type
3763         (writeLaTeX): add missing cases to switch.
3764
3765         * bufferlist.C (quitWriteBuffer): adjust
3766         (close): adjust
3767
3768         * buffer.C (asciiParagraph): remove some commented code.
3769
3770         * CutAndPaste.C: remove current_view extern variable.
3771         (cutSelection): add BufferParams arg.
3772         (eraseSelection): add BufferParams arg.
3773         (pasteSelection): add Buffer const & arg
3774
3775 2003-06-07  John Levon  <levon@movementarian.org>
3776
3777         * buffer.C:
3778         * paragraph_funcs.C:
3779         * paragraph_pimpl.C:
3780         * text.C:
3781         * text2.C:
3782         * paragraph.h:
3783         * paragraph.C: allow InsetERT to freely space lines,
3784         and some consolidation of code
3785
3786 2003-06-06  José Matos  <jamatos@fep.up.pt>
3787
3788         * buffer.C (makeDocBookFile): fix bug #821
3789
3790 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3791
3792         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3793
3794 2003-06-04  Angus Leeming  <leeming@lyx.org>
3795
3796         * buffer.C: bump format to 224.
3797
3798 2003-06-05  André Pönitz  <poenitz@gmx.net>
3799
3800         * text2.C (redoParagraphs): remove two const_cast<>
3801
3802 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3803
3804         * ParagraphList.h: remove last remnants of NO_STD_LIST
3805
3806 2003-06-03  Angus Leeming  <leeming@lyx.org>
3807
3808         * factory.C (createInset): small change to the way InsetExternal's params
3809         are set.
3810
3811 2003-06-04  André Pönitz  <poenitz@gmx.net>
3812
3813         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3814
3815         * paragraph_pimpl.h:
3816         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3817
3818         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3819
3820         * undo_funcs.C: make some simple cases of undo work again
3821
3822 2003-06-03  John Levon  <levon@movementarian.org>
3823
3824         * ispell.C: HPUX doesn't have sys/select.h
3825         (from Albert Chin)
3826
3827 2003-06-03  John Levon  <levon@movementarian.org>
3828
3829         * CutAndPaste.C: update tabular and include inset
3830         buffer references
3831
3832         * buffer.h:
3833         * paragraph.h:
3834         * paragraph.C: remove owningBuffer(), don't pass Buffer
3835         to clone()
3836
3837         * factory.C: insetGraphicsParams changed
3838
3839 2003-06-02  John Levon  <levon@movementarian.org>
3840
3841         * LyXAction.C:
3842         * factory.C:
3843         * lfuns.h:
3844         * lyxfunc.C:
3845         * text3.C: remove insetparent
3846
3847 2003-06-02  John Levon  <levon@movementarian.org>
3848
3849         * buffer.h:
3850         * buffer.C: fix inset_iterator.end(), move out of line
3851         (bug 1149)
3852
3853 2003-06-01  John Levon  <levon@movementarian.org>
3854
3855         * text3.C: use a proper cut/paste when doing inset
3856         insert (from Jürgen Spitzmüller)
3857
3858 2003-06-01  John Levon  <levon@movementarian.org>
3859
3860         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3861
3862 2003-05-30  André Pönitz  <poenitz@gmx.net>
3863
3864         * rowpainter.C: unify second drawing phase
3865
3866 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3867
3868         * trans_mgr.C: remove one case of current_view
3869
3870         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3871
3872         * paragraph_funcs.h: remove paragraph.h include
3873
3874         * paragraph.h: delete NO_STD_LIST stuff
3875
3876         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3877
3878         * buffer.h: remove paragraph.h include
3879
3880         * ParagraphList.C: delete file
3881
3882         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3883
3884         * toc.C (getTocList): adjust
3885
3886         * paragraph_pimpl.C (validate): adjust
3887
3888         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3889
3890         * paragraph.C (Paragraph): adjust
3891         (getPositionOfInset): use const_iterator, adjust
3892         (bibitem): use const_iterator, adjust
3893         (setInsetOwner): adjust
3894
3895         * iterators.C (operator++): adjust
3896
3897         * InsetList.[Ch]: Replace selfmade iterator with standard
3898         vector::iterator also introduce const_iterator. Remove getPos,
3899         getInset and setInset from InsetTable. Adjust accordingly.
3900
3901         * BufferView.C (lockInset): adjust
3902         (ChangeInsets): adjust
3903
3904         * tabular.[Ch]: delete commented same_id functions
3905
3906 2003-05-28  John Levon  <levon@movementarian.org>
3907
3908         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3909
3910 2003-05-28  André Pönitz  <poenitz@gmx.net>
3911
3912         * metricsinfo.[Ch]: remove 'fullredraw' member
3913
3914 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3915
3916         * lyxtextclass.C (operator): remove caching.
3917
3918 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * text3.C: adjust
3921
3922         * text2.C (cursorBottom): adjust
3923         (setCounter): use ParagraphList::find, adjust
3924
3925         * text.C (workWidth): use ParagraphList::find, adjust
3926
3927         * lyxcursor.C (LyXCursor): adjust
3928
3929         * buffer.C (inset_iterator): adjust
3930
3931         * ParagraphList.h: make iterator(value_type) private, make
3932         ParagraphList a friend of iterator.
3933
3934         * ParagraphList.C (find): new function
3935
3936         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3937
3938 2003-05-27  André Pönitz  <poenitz@gmx.net>
3939
3940         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3941
3942 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3943
3944         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3945
3946 2003-05-26  John Levon  <levon@movementarian.org>
3947
3948         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3949
3950 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * remove same_id from function signatures, adjust.
3953
3954 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3957
3958         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3959
3960         * paragraph.C (Paragraph): get rid of same_ids parameter
3961
3962         * ParagraphList.C (insert): adjust
3963         (push_back): adjust
3964
3965 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * paragraph_funcs.C (breakParagraph): adjust
3968         (breakParagraphConservative): adjust
3969
3970         * buffer.C (readParagraph): adjust
3971
3972         * ParagraphList.C (insert): take a reference instead of a pointer
3973         (insert): adjust
3974
3975         * paragraph.[Ch] (id): new function
3976
3977         * bufferlist.C (newFile): adjust
3978
3979         * ParagraphList.C (ParagraphList): adjust
3980         (assign): adjust
3981         (push_back): take a reference instead of a pointer.
3982
3983         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3984
3985         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3986         instead.
3987
3988         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3989         set else use old code.
3990
3991         * ParagraphList.C: remove all NO_NEXT code and only compile this
3992         code of NO_STD_LIST is set.
3993
3994 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * BufferView_pimpl.C:
3997         * TextCache.C:
3998         * TextCache.h:
3999         * bufferlist.C:
4000         * errorlist.h:
4001         * format.C:
4002         * format.h:
4003         * graph.C:
4004         * lyxfunc.C:
4005         * lyxrc.C:
4006         * graphics/GraphicsConverter.C:
4007         * graphics/PreviewLoader.C: header adjustment
4008
4009 2003-05-23  Angus Leeming  <leeming@lyx.org>
4010
4011         * LaTeXFeatures.[Ch] (useBabel): new method.
4012         * bufferparams.C (writeLaTeX): use it.
4013
4014 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * ParagraphList.h (set): remove unused function.
4017
4018 2003-05-23  André Pönitz  <poenitz@gmx.net>
4019
4020         * BufferView.C:
4021         * BufferView_pimpl.C:
4022         * buffer.C:
4023         * buffer.h:
4024         * lyxfunc.C:
4025         * undo_funcs.C: setUndo reworked
4026
4027         * iterators.[Ch]: add access to topmost ParagraphList
4028
4029         * lyxtext.[Ch] (workWidth): add a const
4030
4031 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * texrow.[Ch] (increasePos): remove function
4034         * exporter.C (export): removed unused var and outdated comment
4035
4036 2003-05-23  Angus Leeming  <leeming@lyx.org>
4037
4038         * latexrunparams.h: rename fragile as moving_arg.
4039         * paragraph.C (simpleTeXOnePar): ditto.
4040         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4041
4042 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4045         (createUndo): ditto
4046         (textUndoOrRedo): comment out a currently unused var.
4047
4048         * paragraph.h (NO_NEXT): enable NO_NEXT
4049
4050         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4051
4052         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4053
4054         * exporter.C (Export): adjust for removeAutoInsets removal.
4055
4056         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4057
4058         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4059
4060         * BufferView.[Ch] (removeAutoInsets): delete function
4061
4062 2003-05-22  Angus Leeming  <leeming@lyx.org>
4063
4064         * latexrunparams.h: add a free_spacing variable.
4065
4066         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4067         to pass moving_arg, as the data is stored in runparams.fragile.
4068
4069         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4070         to Inset::latexOptional or to simpleTeXOnePar.
4071
4072         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4073         free_spacing arg to Inset::latexOptional.
4074
4075         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4076         free_spacing arg.
4077
4078 2003-05-22  Angus Leeming  <leeming@lyx.org>
4079
4080         * latexrunparams.h: add fragile and use_babel variables.
4081
4082         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4083         * buffer.C (makeLaTeXFile): store this returned value in
4084         runparams.use_babel, thus passing it to the inset::latex methods.
4085
4086         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4087         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4088
4089         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4090         longer has a fragile arg, as it is stored in runparams.fragile.
4091
4092         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4093         moving_arg parameter as the data is stored in runparams.fragile.
4094
4095         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4096         a fragile parameter as the data is stored in runparams.fragile.
4097
4098 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4101
4102 2003-05-22  Angus Leeming  <leeming@lyx.org>
4103
4104         * latexrunparams.h: add a 'bool nice' which defaults to false.
4105
4106         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4107         now encapsulated within runparams.
4108
4109         * bufferlist.C (updateIncludedTeXfiles):
4110         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4111
4112 2003-05-22  Angus Leeming  <leeming@lyx.org>
4113
4114         * latexrunparams.h: new file containing struct LatexRunParams.
4115         * Makefile.am: add new file.
4116
4117         * LaTeX.[Ch] (c-tor, run):
4118         * buffer.[Ch] (makeLaTeXFile):
4119         * bufferlist.[Ch] (updateIncludedTeXfiles):
4120         * converter.C (convert, scanLog):
4121         * converter.[Ch] (runLaTeX):
4122         * exporter.C (Export):
4123         * paragraph.[Ch] (simpleTeXOnePar):
4124         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4125         * paragraph_funcs.[Ch] (latexParagraphs):
4126         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4127         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4128         pass around a LatexRunParams parameter.
4129
4130 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * paragraph.[Ch]: remove unused constructor
4133
4134         * ParagraphList.C (erase): new function, taking two iterators
4135
4136 2003-05-22  André Pönitz  <poenitz@gmx.net>
4137
4138         * undo_funcs.C: remove duplicated code
4139
4140         * iterator.[Ch]: operator=
4141
4142 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * tabular.C (SetMultiColumn): ws changes
4145
4146         * rowpainter.C (paintFirst): get rid of a ->previous
4147
4148         * lyx_cb.C (getPossibleLabel): parlist simplification
4149
4150         * BufferView.C (ChangeInsets): simplify slightly.
4151
4152 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4153
4154         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4155         * lfuns.h: new LFUN_SPACE
4156         * lyxfunc.C: protected space has a new lfun
4157         * paragraph_funcs.C: read new space insets
4158         * text3.C:
4159         * factory.C: handle new space insets
4160
4161 2003-05-22  André Pönitz  <poenitz@gmx.net>
4162
4163         * BufferView.C:
4164         * BufferView_pimpl.C:
4165         * buffer.[Ch]:
4166         * lyxfunc.C:
4167         * undo_funcs.C: return a ParIterator from getParFromID.
4168
4169         * iterators.[Ch]: add two const's
4170
4171 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * toc.C (getTocList): adjust
4174
4175         * iterators.[Ch]: rework for parlist
4176
4177         * buffer.C (par_iterator_begin): adjust
4178         (par_iterator_end): adjust
4179
4180         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4181
4182         * BufferView.C (removeAutoInsets): adjust
4183         (ChangeInsets): adjust
4184
4185 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * text.C (top_y): fix bug 1110
4188
4189 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * errorlist.[Ch]: added
4192         * buffer.C:
4193         * BufferView.[Ch]:
4194         * BufferView_pimpl.C:
4195         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4196         instead
4197
4198 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * Makefile.am: ensure that lyx is relinked upon changes to the
4201         various "convenience" libs.
4202
4203 2003-05-20  Angus Leeming  <leeming@lyx.org>
4204
4205         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4206         files are compiled in alphabetical order again.
4207
4208         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4209
4210 2003-05-19  Angus Leeming  <leeming@lyx.org>
4211
4212         * gettext.[Ch]: remove "char const * _(char const *)".
4213
4214 2003-05-19  André Pönitz  <poenitz@gmx.net>
4215
4216         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4217
4218         * Makefile.am:
4219         * BufferView.C:
4220         * DepTable.h:
4221         * LaTeXFeatures.C:
4222         * buffer.C:
4223         * lyxfont.C:
4224         * lyxlex.h:
4225         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4226
4227 2003-05-19  André Pönitz  <poenitz@gmx.net>
4228
4229         * buffer.C:
4230         * lyxlayout.[Ch]:
4231         * lyxtextclass.[Ch]:
4232         * paragraph.C:
4233         * paragraph_funcs.[Ch]:
4234         * text2.C:
4235         * text3.C: more insetenv work
4236
4237 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4238
4239         * ParagraphParameters.C (params2string): small bug fixed
4240
4241 2003-05-16  André Pönitz  <poenitz@gmx.net>
4242
4243         * debug.C:
4244         * bufferview_funcs.C: patch from Kornel Benko to prevent
4245           crash when _(...) is called twice in a statement
4246
4247 2003-05-16  André Pönitz  <poenitz@gmx.net>
4248
4249         * BufferView.C:
4250         * lyxfunc.C:
4251         * text.C:
4252         * text2.C:
4253         * text3.C:
4254         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4255
4256 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4257
4258         * lyx_main.C (init): remove spurious static_cast
4259
4260 2003-05-14  André Pönitz  <poenitz@gmx.net>
4261
4262         * BufferView.C: fix format string
4263
4264 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4265
4266         * BufferView.[Ch] (insertErrors): removed
4267         * BufferView.[Ch] (showErrorList): added
4268         * buffer.C (runChkTeX):
4269         * converter.C (scanLog): call showErrorList instead of inserterrors
4270
4271 2003-05-13  André Pönitz  <poenitz@gmx.net>
4272
4273         * BufferView_pimpl.C:
4274         * buffer.C:
4275         * bufferview_func.C:
4276         * MenuBackend.C:
4277         * lyxfunc.C:
4278         * lyxrc.C:
4279         * tex-accent.C:
4280         * text3.C:
4281         * toc.C:
4282         * tabular_funcs.h: tostr() from its own header
4283
4284         * ParagraphParameters.C:
4285         * ToolbarBackend.C:
4286         * bufferparams.C:
4287         * format.C:
4288         * lyxlex_pimpl.C:
4289         * text3.C: STRCONV()
4290
4291 2003-05-12  André Pönitz  <poenitz@gmx.net>
4292
4293         * BufferView.C:
4294         * BufferView_pimpl.C:
4295         * CutAndPaste.C:
4296         * LaTeX.C:
4297         * LaTeXFeatures.C:
4298         * ParagraphParameters.C:
4299         * buffer.C:
4300         * bufferlist.C:
4301         * bufferparams.C:
4302         * bufferview_funcs.C:
4303         * converter.C:
4304         * counters.C:
4305         * debug.C:
4306         * exporter.C:
4307         * format.C:
4308         * importer.C:
4309         * lyx_cb.C:
4310         * lyx_main.C:
4311         * lyxfont.C:
4312         * lyxfunc.C:
4313         * lyxvc.C:
4314         * paragraph.C:
4315         * paragraph_funcs.C:
4316         * tabular.C:
4317         * tabular_funcs.C:
4318         * text2.C:
4319         * text3.C:  boost::format -> bformat  all over the place
4320
4321
4322 2003-05-09  André Pönitz  <poenitz@gmx.net>
4323
4324         * LColor.[Ch]: Pimpl the #include <map> away
4325
4326 2003-05-09  John Levon  <levon@movementarian.org>
4327
4328         * bufferlist.C: never remove emergency saves
4329
4330 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * Makefile.am: better lib building
4333
4334 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4337         instead.
4338         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4339         (simpleTeXSpecialChars): adjust
4340         (simpleTeXSpecialChars): adjust
4341         * paragraph.C (simpleTeXOnePar): adjust
4342         * buffer.C (makeLaTeXFile): adjust
4343
4344         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4345
4346         * text2.C (changeDepth): parlist cleanup
4347         (getColumnNearX): ditto
4348
4349         * rowpainter.C (getLabelFont): parlist cleanup
4350
4351         * bufferlist.C (newFile): parlist cleanup
4352
4353         * CutAndPaste.C (eraseSelection): parlist cleanup
4354
4355         * BufferView_pimpl.C (trackChanges): parlist cleanup
4356         (dispatch): ditto
4357
4358         * BufferView.C (lockInset): parlist cleanup.
4359         (ChangeInsets): ditto
4360
4361 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * CutAndPaste.h: Update file header.
4364
4365         * CutAndPaste.C: Update file header.
4366         Store the parts cut out of the Document in a limited_stack.
4367         (copySelection): adjust
4368         (pasteSelection): new function, takes the index in the limited stack.
4369         (nrOfParagraphs): adjust
4370         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4371         simplify error inset insertion.
4372         (checkPastePossible): adjust
4373
4374 2003-05-06  John Levon  <levon@movementarian.org>
4375
4376         * text2.C: don't cast wrap inset to float
4377
4378 2003-05-05  André Pönitz  <poenitz@gmx.net>
4379
4380         * iterator.C:
4381         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4382
4383         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4384           few naked Paragraph *.
4385
4386 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4387
4388         * bufferparams.C: Output warning if a document with missing
4389         TeX document class is loaded
4390         * exporter.C: Disable TeX exports if the document class is missing
4391         * lyxtextclass.C:
4392         * lyxtextclass.h:
4393         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4394         isTeXClassAvailable()
4395
4396 2003-05-03  John Levon  <levon@movementarian.org>
4397
4398         * BufferView.h:
4399         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4400         explicit cursor show/hide
4401
4402         * BufferView_pimpl.h:
4403         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4404         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4405
4406         * lyxfunc.C: hide cursor before dispatching.
4407
4408         * lyx_cb.C:
4409         * lyxfind.C:
4410         * text.C:
4411         * text3.C: remove explicit cursor hides
4412
4413 2003-05-02  André Pönitz  <poenitz@gmx.net>
4414
4415         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4416
4417         * undo_funcs.C:
4418         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4419           linked lists
4420
4421         * text2.C: tiny whitespace
4422
4423 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * undo_funcs.C: almost only ws changes.
4426
4427         * ParagraphList.C (splice): just return if pl is empty.
4428
4429 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * ParagraphList.C (splice): new function.
4432
4433         * CutAndPaste.C (pasteSelection): use it
4434
4435 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * CutAndPaste.C (pasteSelection): remove the last next and
4438         previous from this file.
4439
4440 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * CutAndPaste.C (pasteSelection): more clean up, user proper
4443         ParagraphList functions for pasteing.
4444
4445         * ParagraphList.C (insert): new function, three arg insert
4446
4447 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * ParagraphList.C (insert): new function, three arg insert
4450
4451         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4452         not on paragraphs.
4453
4454 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4457
4458 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4461
4462 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4465         (copySelection): clean up a bit.
4466         (pasteSelection): use make_pair
4467
4468         * ParagraphList.C (ParagraphList): implement copy constructor
4469         (operator=): implement, base on copy constructor.
4470         (assign): new func
4471
4472         * paragraph.C (erase): return a bool
4473
4474         * paragraph_pimpl.C (erasePos): remove function, move contents...
4475         (erase): ... here. Return a bool.
4476         (erase): call erase instead of erasePos.
4477
4478 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * ParagraphList.h: define PitPosPair
4481         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4482         ParagraphList, fix a bug on pasting multiple pars
4483         * text2.C: change interface to C&P
4484
4485 2003-04-30  André Pönitz  <poenitz@gmx.net>
4486
4487         * undo_func.C: revert part of yesterday's patch 2
4488
4489 2003-04-30  John Levon  <levon@movementarian.org>
4490
4491         * LColor.C: s/tabular/table/
4492
4493 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * text3.C (dispatch): do not convert iterator -> pointer
4496         * undo_funcs.C (setCursorParUndo): ditto
4497         * text_funcs.C (transposeChars): ditto
4498
4499         * text2.C (setLayout): ws changes only
4500
4501         * text.C (breakParagraph): do not convert iterator -> pointer
4502         (insertChar): ditto
4503         (acceptChange): ditto
4504         (rejectChange): ditto
4505         (changeCase): ditto
4506         (Delete): ditto
4507         (backspace): ditto
4508
4509         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4510         pointer
4511
4512 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * text3.C (gotoInset): YABG (yet another bad getChar)
4515
4516 2003-04-29  André Pönitz  <poenitz@gmx.net>
4517
4518         * paragraph.h: make operator= private unimplemented as long as
4519           it is unusable
4520
4521         * ParagraphList.C: whitespace
4522
4523         * paragraph.[Ch]:
4524         * paragraph_pimpl.[Ch]:
4525         * paragraph_funcs.C:
4526         * CutAndPaste.C:
4527         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4528
4529         * text2.C:
4530           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4531
4532 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4535         * paragraph.[Ch] (erase):
4536         * paragraph_pimpl.[Ch] (erase): change return type and value
4537         * text2.C (cutSelection): some rework
4538
4539 2003-04-28  John Levon  <levon@movementarian.org>
4540
4541         * bufferlist.C: changes for unsaved changes dialog
4542
4543 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * bufferlist.C (newFile): set language (messages_) for new
4546         documents also.
4547
4548         * buffer.C (readFile): ws changes only.
4549
4550 2003-04-28  André Pönitz  <poenitz@gmx.net>
4551
4552         * undo_funcs.C:
4553         * lyxfunc.C:
4554         * buffer.[Ch]:
4555         * BufferView_pimpl.C:
4556         * BufferView.C: getParFromID related ParagraphList::iterator changes
4557
4558 2003-04-28  André Pönitz  <poenitz@gmx.net>
4559
4560         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4561           Changes
4562
4563 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * messages.C: remove one more localedir class variable.
4566
4567 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * messages.C (getLocaleDir): singleton generation function
4570         (Pimpl): use it.
4571         (Messages): add a default constructor.
4572
4573         * main.C (main): do not setup localedir here, do not call
4574         gettext_init.
4575
4576         * gettext.C (_): use it.
4577         (gettext_init): delete funciton
4578
4579 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * gettext.C (getLyXMessages): new singleton generating function.
4582
4583         * buffer.C (updateDocLang): adjust
4584
4585         * Makefile.am (messages.o): add target
4586         (main.o): remove target
4587
4588 2003-04-27  John Levon  <levon@movementarian.org>
4589
4590         * bufferlist.C:
4591         * lyx_cb.C:
4592         * lyxfunc.C:
4593         * lyxvc.C: specify cancel button in Alert::prompt
4594
4595 2003-04-26  John Levon  <levon@movementarian.org>
4596
4597         * text3.C:
4598         * lyxfunc.C:
4599         * lfuns.h:
4600         * LyXAction.C: add LFUN_INSET_SETTINGS
4601
4602         * lyxfunc.C: don't enable tabular-feature when there's
4603         just any locking inset
4604
4605 2003-04-26  John Levon  <levon@movementarian.org>
4606
4607         * bufferlist.C: re-add Cancel to buffer close question
4608
4609         * lyxfunc.C: fix import UI a bit
4610
4611 2003-04-25  John Levon  <levon@movementarian.org>
4612
4613         * gettext.C: remove the broken asserts for now
4614
4615 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * messages.C: make case where setlocale cannot comply work better.
4618
4619         * buffer.C (updateDocLang): new function
4620         (changeLanguage): use it
4621         (readFile): use it
4622
4623         * text2.C (setCounter): use B_ a bit.
4624
4625         * lyxlayout.C (Read): be sure to trim the label strings.
4626
4627         * messages.C (Messages): fix typo in comment
4628
4629         * buffer.C (readFile): set message_ after file is loaded.
4630         (makeDocBookFile): remove double return
4631         (changeLanguage): reset message_ upon language change.
4632         (B_): new func, use this to get translated buffer strings.
4633
4634         * main.C: add myself and Jean Marc as authors.
4635
4636 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * messages.[hC]: pimplify Messages, and three different pimpls to be
4639         used in different circumstances.
4640
4641         * gettext.[Ch]: change for use with new message code.
4642
4643 2003-04-24 André Pönitz <poenitz@gmx.net>
4644
4645         * factory.C: support for eqref
4646
4647 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * messages.[Ch]: add missing char
4650
4651         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4652
4653         * messages.[Ch]: New files
4654
4655 2003-04-18  John Levon  <levon@movementarian.org>
4656
4657         * BufferView.h:
4658         * BufferView.C:
4659         * BufferView_pimpl.C:
4660         * lfuns.h:
4661         * LyXAction.C:
4662         * lyxtext.h:
4663         * text2.C: remove layout-copy/paste (bug 778)
4664
4665 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4668
4669 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4672         if they succeed. Act accordingly.
4673
4674 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * text2.C (setCharFont): adjust
4677         (setCounter): adjust
4678         (insertStringAsLines): adjust
4679
4680         * text.C (leftMargin): adjust
4681         (setHeightOfRow): adjust
4682
4683         * rowpainter.C (paintFirst): adjust
4684         (paintLast): adjust
4685
4686         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4687         (outerHook): ditto
4688         (isFirstInSequence): ditto
4689         (getEndLabel): ditto
4690         (outerFont): adjust
4691
4692         * paragraph.C (getParLanguage): comment out some hard stuff.
4693
4694         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4695         (sgmlError): ditto
4696         (simpleDocBookOnePar): ditto
4697         (makeDocBookFile): use ParagraphList::iterator
4698
4699         * CutAndPaste.C (pasteSelection): adjust
4700
4701 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * text2.C (getFont): adjust
4704         (getLayoutFont): adjust
4705         (getLabelFont): adjust
4706
4707         * paragraph_funcs.C (TeXOnePar): adjust
4708
4709         * buffer.C (simpleLinuxDocOnePar): adjust
4710         (simpleDocBookOnePar): adjust
4711
4712         * CutAndPaste.C (pasteSelection): adjust
4713
4714         * BufferView.C (getEncoding): adjust
4715
4716         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4717
4718 2003-04-16  John Levon  <levon@movementarian.org>
4719
4720         * lyxfind.C: use parlist stuff for search/changes
4721
4722 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4725
4726         * text2.C (deleteEmptyParagraphMechanism): adjust
4727
4728         * text2.[Ch] (ownerParagraph): delete func (both of them
4729
4730 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4733
4734 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * ParagraphList.C: prepare for NO_NEXT
4737
4738 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * text2.C (getFont): adjust
4741         (getLayoutFont): adjust
4742         (getLabelFont): adjust
4743
4744         * paragraph.C (getFont): adjust
4745         (getLabelFont): adjust
4746         (getLayoutFont): adjust
4747
4748         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4749
4750 2003-04-15  John Levon  <levon@movementarian.org>
4751
4752         From Angus Leeming
4753
4754         * lyx_main.C: handle Include in .ui files
4755
4756 2003-04-15  John Levon  <levon@movementarian.org>
4757
4758         * MenuBackend.C: make the doc files length shorter
4759
4760         * ToolbarBackend.h:
4761         * ToolbarBackend.C: handle toolbar placement flags,
4762         Minibuffer
4763
4764 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4767         adjust
4768
4769         * paragraph_funcs.C (TeXOnePar): adjust
4770
4771         * paragraph.C (getLabelFont): add outerfont arg, adjust
4772         (getLayoutFont): ditto
4773         (simpleTeXOnePar): adjust
4774
4775         * paragraph_pimpl.C (realizeFont): delete func
4776
4777 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4780         row argument, constify cur argument.
4781
4782 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4783
4784         * text2.C (getFont): adjust
4785         (getLayoutFont): adjust
4786         (getLabelFont): adjust
4787
4788         * paragraph_funcs.C (TeXOnePar): adjust
4789         (outerFont): new func...
4790         (realizeFont): ...moved out from here, changed this to facilitate
4791         transition
4792
4793         * paragraph.C (getFont): take outerfont as arg, adjust
4794         (simpleTeXOnePar): add outerfont arg, adjust
4795
4796         * buffer.C (simpleLinuxDocOnePar): adjust
4797         (simpleDocBookOnePar): adjust
4798
4799         * CutAndPaste.C (pasteSelection): adjust
4800
4801         * BufferView.C (getEncoding): adjust
4802
4803 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * text2.C (setCharFont): adjust
4806         (setCounter): adjust
4807
4808         * text.C (leftMargin): adjust
4809         (setHeightOfRow): adjust
4810
4811         * rowpainter.C (paintFirst): adjust
4812         (paintLast): adjust
4813
4814         * paragraph_pimpl.C (realizeFont): adjust
4815
4816         * paragraph.C (isFirstInSequence): move from here...
4817         * paragraph_funcs.C (isFirstInSequence): ...to here
4818
4819         * paragraph.C (outerHook): move from here...
4820         * paragraph_funcs.C (outerHook): ...to here
4821
4822         * paragraph.C (depthHook): move from here...
4823         * paragraph_funcs.C (depthHook): ...to here
4824
4825         * paragraph.C (getEndLabel): move from here...
4826         * paragraph_funcs.C (getEndLabel): ...to here
4827
4828         * text2.C (realizeFont): move from here...
4829         * paragraph_funcs.C (realizeFont): ...to here
4830
4831 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4834
4835 2003-04-14  Angus Leeming  <leeming@lyx.org>
4836
4837         * LColor.[Ch]: scrap LColor mathcursor.
4838
4839 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * lyxlex.[Ch] (text): delete function
4842         * trans.C (Load): adjust
4843         * paragraph_funcs.C (readParToken): adjust
4844
4845 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4848         vector<char> instead of a char[].
4849
4850         * lyxlex_pimpl.C (getString): adjust
4851         (next): adjust
4852         (lex): use getString
4853         (eatLine): adjust
4854         (nextToken): adjust
4855
4856         * lyxlex.C (text): use pimpl_->getString()
4857         (getBool): ditto
4858         (findToken): ditto
4859
4860 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4863         (makeFontEntriesLayoutSpecific): temp var for par.size()
4864         (setLayout): temp var for ownerParagraphs().end()
4865         (fullRebreak): temp var for rows().end()
4866         (selectionAsString): temp var for boost::next(startpit), realize
4867         that the while really is a regular for loop.
4868         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4869         setCursor in one place.
4870         (setParagraph): temp vr for ownerParagraphs().end()
4871         (updateCounters): make the while loop a for loop
4872         (cutSelection): temp var for ownerParagraphs().end()
4873         (updateInset): make the do {} while() a regular for loop
4874         (getCursorX): use temp vars
4875         (setCurrentFont): use temp vars
4876         (getColumnNearX): use temp vars
4877
4878 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * text.C (transformChar): use temp var for getChar
4881         (computeBidiTables): use temp var for row->par()
4882         (fill): move temp vars for row->par() and pit->layout() earlier in
4883         the function.
4884         (labelFill): use temp var for row->par()
4885         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4886         asc and desc, realize that pit never changes and that firstpit is
4887         just a duplicate and not needed. Exchange rit->par() with pit in a
4888         lot of places.
4889         (breakAgain): use a temp var for boost::next(rit)
4890         (breakAgainOneRow): ditto
4891         (breakParagraph): use a temp var for rows().begin()
4892         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4893         (cursorRightOneWord): use temp var for cursor.par() and
4894         cursor.pos(), remove usage of tmpcursor.
4895         (cursorLeftOneWord): use temp var for cursor.par() and
4896         cursor.pos() only set cur at end of function.
4897
4898 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * text.C, text2.C: exchange all usage of Paragraph::next with
4901         boost::next(ParagraphList::iterator)
4902
4903         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4904
4905         * text2.C (cursorTop): simplify implementation
4906         (cursorBottom): ditto
4907         (setParagraph): use ParagraphList::iterator
4908         (setCurrentFont): adjust
4909         (getColumnNearX): adjust
4910         (cursorRight): adjust
4911         (cursorLeft): remove usage of Paragraph::previous
4912         (cursorUpParagraph): ditto
4913         (deleteEmptyParagraphMechanism): slight cleanup
4914
4915         * text.C (isBoundary): take a Paragraph const & instead of a
4916         pointer as arg.
4917         (addressBreakPoint): ditto
4918         (leftMargin): remove usage of Paragraph::previous.
4919         (setHeightOfRow): ditto
4920         (cursorLeftOneWord): ditto
4921         (selectNextWordToSpellcheck): ditto
4922         (Delete): ditto
4923         (backspace): ditto
4924         (breakParagraph): remove one usage of Paragraph::next
4925         (redoParagraph): ditto
4926         (acceptChange): ditto
4927         (insertChar): adjust
4928         (rowBreakPoint): adjust
4929
4930         * bufferview_funcs.C (toggleAndShow): adjust
4931
4932 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4935         methods to access it.
4936         * lyxtext.h:
4937         * text.C: Added updateRowPositions to compute all row positions.
4938         Make top_y and getRowNearY() to use the cached y position
4939
4940 2003-04-11  John Levon  <levon@movementarian.org>
4941
4942         * text.C (rowBreakPoint): reintroduce the labelEnd
4943         checks, code copied from the row fill stuff. Deep voodoo.
4944
4945         * text.C (fill): add a comment and debugging for the
4946         next poor soul.
4947
4948 2003-04-11  John Levon  <levon@movementarian.org>
4949
4950         * text.C: make sure fullrow insets get wrapped to the next line,
4951         even when they're in a manual label
4952
4953 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * text2.C (insertParagraph): make it take ParagraphList::iterator
4956         as arg.
4957         (setLayout): make it return ParagraphList::iterator
4958         (redoParagraphs): ditto
4959         (setCounter): ditto
4960         (checkParagraph): ditto
4961
4962         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4963
4964         * text2.C: adjust several funcs.
4965         (realizeFont): take a ParagraphList::iterator as arg.
4966         (getLayoutFont): ditto
4967         (getLabelFont): ditto
4968         (setCharFont): ditto
4969
4970         * text.C: adjust several funcs.
4971
4972 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * text.C (selectNextWordToSpellcheck): don't accidentally
4975         skip insets
4976
4977 2003-04-10  John Levon  <levon@movementarian.org>
4978
4979         * ToolbarBackend.C (getIcon): special handling for
4980         LFUN_MATH_DELIM
4981
4982 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * text2.C (cursorRight): a getChar assert fixed
4985
4986 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * text2.C (getFont): change to take a ParagraphList::iterator
4989         instead of Paragraph*
4990         Adjust several functions.
4991
4992         * text.C (transformChar): change to take a ParagraphList::iterator
4993         instead of Paragraph*
4994         (singleWidth): ditto
4995         Adjust several functions.
4996
4997         * rowpainter.C: adjust several functions
4998         * rowpainter.h:store a ParagraphList::iterator and not a
4999         Paragraph&.
5000
5001
5002 2003-04-09  John Levon  <levon@movementarian.org>
5003
5004         * lyxfunc.C:
5005         * lfuns.h:
5006         * LyXAction.h:
5007         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5008         and the "help" bits as well
5009
5010 2003-04-09  John Levon  <levon@movementarian.org>
5011
5012         * ToolbarBackend.h:
5013         * ToolbarBackend.C: allow multiple toolbars
5014
5015 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * undo_funcs.C (setCursorParUndo): adjust
5018
5019         * text_funcs.C (transposeChars): adjust
5020
5021         * text3.C (gotoNextInset): adjust
5022         (dispatch): adjust
5023
5024         * text2.C (setLayout): adjust
5025         (changeDepth): adjust
5026         (setFont): adjust
5027         (redoParagraphs): adjust
5028         (selectionAsString): adjust
5029         (setParagraph): adjust
5030         (insertInset): adjust
5031         (cutSelection): adjust
5032         (copySelection): adjust
5033         (pasteSelection): adjust
5034         (insertStringAsLines): adjust
5035         (updateInset): adjust
5036         (setCursor): change to take a ParagraphList::iterator parameter
5037         (setCursorIntern): change to take a ParagraphList::iterator parameter
5038         (setCurrentFont): adjust
5039         (cursorLeft): adjust
5040         (cursorRight): adjust
5041         (deleteEmptyParagraphMechanism): adjust
5042
5043         * text.C (breakParagraph): adjust
5044         (insertChar): adjust
5045         (acceptChange): adjust
5046         (rejectChange): adjust
5047         (selectNextWordToSpellcheck): adjust
5048         (changeCase): adjust
5049         (Delete): adjust
5050         (backspace): adjust
5051
5052         * lyxfind.C (SearchForward): adjust
5053         (SearchBackward): adjust
5054         (nextChange): adjust
5055
5056         * lyxcursor.C (par): adjust
5057
5058         * lyxcursor.h: store a ParagraphList::iterator instead of a
5059         Paragraph*
5060
5061         * lyx_cb.C (getPossibleLabel): adjust
5062
5063         * bufferview_funcs.C (toggleAndShow): adjust
5064
5065         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5066         (dispatch): adjust
5067
5068         * BufferView.C (removeAutoInsets): adjust
5069         (lockedInsetStoreUndo): adjust
5070
5071 2003-04-09  John Levon  <levon@movementarian.org>
5072
5073         * ToolbarBackend.C: try icon without argument
5074         if with argument fails
5075
5076 2003-04-08  John Levon  <levon@movementarian.org>
5077
5078         * ToolbarBackend.h:
5079         * ToolbarBackend.C: add getIcon(), handle tooltip,
5080         and change from "Icon" to "Item".
5081
5082 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * BufferView.C (lockInset): another bad getchar crunched
5085
5086 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5089         again)
5090
5091 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * lyxfind.C (searchForward, searchBackwards): bug 782
5094
5095 2003-04-07  John Levon  <levon@movementarian.org>
5096
5097         * paragraph.C: remove dead comment
5098
5099         * text.C: remove troublesome depth-fiddling code
5100         in leftMargin() and rightMargin() (bug 1017)
5101
5102         * text.C: fix breaking of rows in nested lists
5103         (bug 1004)
5104
5105         * text2.C (updateCounters): fix up depth values
5106         (bug 1013)
5107
5108 2003-04-07  John Levon  <levon@movementarian.org>
5109
5110         * BufferView_pimpl.C: clear message when doc finishes resizing,
5111         and after a mouse event
5112
5113         * lyxfunc.C: clear message after exiting inset
5114
5115 2003-04-07  John Levon  <levon@movementarian.org>
5116
5117         * bufferview_funcs.C: show math status not outside
5118         status in the statusbar
5119
5120 2003-04-07  John Levon  <levon@movementarian.org>
5121
5122         * lyxfunc.C: note status changed after a depth change
5123
5124 2003-04-04  Angus Leeming  <leeming@lyx.org>
5125
5126         * LaTeX.h: move AuxInfo operator==, != out of line.
5127         Remove LaTeX virtual destructor; nothing derives from it.
5128         Move operator()() out of public area and rename it startscript().
5129         Change protected for private.
5130
5131 2003-04-04  Angus Leeming  <leeming@lyx.org>
5132
5133         * lyxfunc.C:
5134         * text2.C: remove unneeded #includes.
5135
5136 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * text2.C (dEPM): fix the heigth of the next row
5139
5140 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text.C: squashed an invalid getChar requester + some ws changes
5143
5144 2003-04-03  John Levon  <levon@movementarian.org>
5145
5146         * bufferview_funcs.h:
5147         * bufferview_funcs.C:
5148         * lyxfunc.C:
5149         * lyxtext.h:
5150         * text2.C: make getStatus work for the env depth lfuns
5151
5152 2003-04-03  John Levon  <levon@movementarian.org>
5153
5154         * bufferview_funcs.h:
5155         * bufferview_funcs.C:
5156         * lyxfunc.C:
5157         * lyxtext.h:
5158         * text2.C: parlistize decDepth(), by merging it with incDepth()
5159
5160 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * lyxrow.h: store a ParagraphList::iterator instead of a
5163         Paragraph* and adjust other class functions to suit.
5164
5165         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5166         above.
5167
5168 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * text2.C (setCursor): do not anchor to cursor row for the time being
5171
5172 2003-04-02  John Levon  <levon@movementarian.org>
5173
5174         * LyXAction.C:
5175         * lfuns.h:
5176         * lyx_main.C:
5177         * lyxtext.h:
5178         * text.C:
5179         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5180
5181 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * paragraph.h: make ParagraphList and ParagraphList::iterator
5184         friends of Paragraph.
5185
5186         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5187
5188         * ParagraphList.C: Use the private next_ and previous_ from
5189         Paragraph.
5190
5191 2003-04-01  John Levon  <levon@movementarian.org>
5192
5193         * ToolbarBackend.h:
5194         * ToolbarBackend.C:
5195         * Makefile.am: rename, remove defaults gunk
5196
5197         * MenuBackend.h:
5198         * MenuBackend.C: remove defaults gunk
5199
5200         * Languages.h:
5201         * Languages.C: remove defaults gunk
5202
5203         * lyx_main.h:
5204         * lyx_main.C: error out if files couldn't be found.
5205
5206 2003-04-02  John Levon  <levon@movementarian.org>
5207
5208         * text2.C: make incDepth() use parlist
5209
5210 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * undo_funcs.C (firstUndoParagraph): adjust
5213
5214         * text3.C (gotoInset): adjust
5215         (dispatch): adjust, and rewrite loop.
5216
5217         * text2.C (init): adjust, and rewrite loop.
5218         (redoParagraphs): adjust
5219         (updateInset): adjust, and rewrite loop.
5220         (deleteEmptyParagraphMechanism): adjust
5221
5222         * tabular.C (LyXTabular): adjust
5223         (SetMultiColumn): adjust
5224         (TeXRow): adjust
5225
5226         * lyxtext.[Ch] (ownerParagraph): delete function
5227         (ownerParagraphs): new function returns a ParagraphList.
5228
5229         * BufferView.C (removeAutoInsets): adjust
5230         (insertErrors): adjust
5231         (setCursorFromRow): adjust
5232
5233 2003-04-01  Angus Leeming  <leeming@lyx.org>
5234
5235         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5236         in the frontends.
5237
5238 2003-04-02  John Levon  <levon@movementarian.org>
5239
5240         * lyxtext.h:
5241         * text.C:
5242         * Makefile.am:
5243         * text_funcs.h:
5244         * text_funcs.C: make transposeChars a free function
5245
5246         * lyxrow_funcs.C: remove wrong comment
5247
5248 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * lyxtext.h: adjust
5251         * rowpainter.C: adjust
5252         * text.C: adjust
5253         * text2.C: adjust
5254         * text3.C: adjust
5255
5256         * lyxrow_funcs. [Ch]: new files
5257
5258         * lyxrow.[Ch]: remove next and previous pointers
5259         (next,previous): remove accessor functions
5260         (isParEnd): move to lyxrow_funcs
5261         (lastPos): move to lyxrow_funcs
5262         (nextRowIsAllInset): move to lyxrow_funcs
5263         (lastPrintablePos): move to lyxrow_funcs
5264         (numberOfSeparators): move to lyxrow_funcs
5265         (numberOfHfills): move to lyxrow_funcs
5266         (numberOfLabelHfills): move to lyxrow_funcs
5267         (hfillExpansion): move to lyxrow_funcs
5268
5269         * lyxfunc.C: adjust
5270
5271         * bufferview_funcs.C (toggleAndShow): adjust
5272
5273         * RowList.h: Remove class RowList from file leave just a
5274         std::list<Row>.
5275
5276         * RowList.C: delete file
5277
5278         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5279         and lyxrow_funcs.h
5280
5281 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * text3.C (cursorPrevious): adjust
5284         (cursorNext): adjust
5285         (dispatch): adjust
5286
5287         * text2.C (redoHeightOfParagraph): adjust
5288         (redoDrawingOfParagraph): adjust
5289         (setCursor): adjust
5290
5291         * text.C (breakParagraph): adjust
5292         (insertChar): adjust
5293         (backspace): adjust
5294
5295         * rowpainter.C (RowPainter): adjust
5296         (leftMargin): simplify and adjust
5297         (most rowpainter functions): adjust.
5298
5299         * rowpainter.h: store the row as RowList::iterator not as Row*
5300
5301         * lyxcursor.C (row): taka RowList::iterator as arg
5302         (irow): ditto
5303
5304         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5305         of Row*.
5306
5307 2003-04-01  Angus Leeming  <leeming@lyx.org>
5308
5309         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5310         stuff like bool Bool.
5311
5312 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5315         rewrite a loop
5316
5317 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5320         RowList::iterator.
5321
5322         * lyxtext.h (rows): drop one version and leve a const variant that
5323         returns a RowList::iterator.
5324
5325 2003-03-31  Angus Leeming  <leeming@lyx.org>
5326
5327         * text.C (fill): ensure that the signature is the same as that in the
5328         header file.
5329
5330 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * text2.C (redoParagraphs): adjust
5333         (updateCounters): adjust
5334         (checkParagraph): adjust
5335         (getColumnNearX): adjust and reformat a bit.
5336
5337         * text.C (top_y): adjust
5338         (workWidth): adjust
5339         (leftMargin): adjust
5340         (prepareToPrint): adjust
5341         (getRow): adjust
5342         (getRowNearY): adjust
5343
5344         * lyxtext.h: make rowlist_ mutable.
5345
5346         * RowList.h: add const_iterator
5347         * RowList.C: adjust for RowList::const_iterator.
5348
5349         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5350         adjust.
5351
5352 2003-03-31  John Levon  <levon@movementarian.org>
5353
5354         * lyxrc.h:
5355         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5356
5357         * lyx_main.C: set default fonts from using lyx_gui funcs
5358
5359         * exporter.C: pdf_mode moved from lyxrc
5360
5361         * lyx_cb.C:
5362         * lyxfunc.C: changes from above
5363
5364 2003-03-31  John Levon  <levon@movementarian.org>
5365
5366         * lyx_main.C: fix to the last fix
5367
5368 2003-03-31  John Levon  <levon@movementarian.org>
5369
5370         * bufferlist.C: "Load original" -> "Load Original"
5371
5372         * converter.C:
5373         * exporter.C:
5374         * importer.C:
5375         * lyx_main.C:
5376         * format.C: more Alert cleanups
5377
5378 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * text2.C (removeParagraph): make it take a RowList::iterator as
5381         arg, adjust.
5382         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5383         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5384
5385         * text.C (anchor_row): make it take a RowList::iterator as arg,
5386         adjust.
5387         (computeBidiTables): make it take a const reference to Row instead
5388         of Row pointer, adjust.
5389         (leftMargin): make it take a RowList::iterator as arg, adjust.
5390         (rowBreakPoint): adjust
5391         (breakAgainOneRow): make it take a RowList::iterator as arg,
5392         adjust.
5393         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5394
5395         * bufferview_funcs.C (toggleAndShow): adjust
5396
5397 2003-03-30  John Levon  <levon@movementarian.org>
5398
5399         * Makefile.am:
5400         * BoostFormat.h:
5401         * boost-inst.C: moved to support
5402
5403         * several files: changes as a result
5404
5405 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * text2.C (LyXText): adjust.
5408         (init): adjust
5409         (removeRow): make it take a RowList::iterator as arg, adjust.
5410         (fullRebreak): adjust
5411         (deleteEmptyParagraphMechanism): adjust
5412         (clearPaint): adjust
5413         (postPaint): adjust
5414
5415         * text.C (top_y): adjust
5416         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5417         (breakAgain): make it take a RowList::iterator as arg, adjust.
5418         (breakParagraph): adjust
5419         (insertChar): adjust
5420         (backspace): adjust
5421
5422         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5423         need_break_row, and refresh_row.
5424
5425         * text3.C (dispatch): adjust
5426
5427         * text2.C (checkParagraph): adjust
5428         (setCursor): adjust
5429         (setCursorFromCoordinates): adjust
5430
5431         * text.C (top_y): adjust
5432         (workWidth): adjust
5433         (getRow): make it return a RowList::iterator, adjust
5434         (getRowNearY): make it return a RowList::iterator, adjust
5435
5436         * text2.C (init): adjust
5437         (insertRow): remove function
5438         (insertParagraph): adjust
5439         (redoParagraphs): adjust
5440         (fullRebreak): adjust
5441         (updateCounters): adjust
5442
5443         * text.C (top_y): rewrite to use RowList iterators.
5444         (top_y): adjust
5445         (setHeightOfRow): rewrite to sue RowList iterators.
5446         (appendParagraph): adjust
5447         (breakAgain): adjust
5448         (breakAgainOneRow): adjust
5449         (breakParagraph): adjust
5450         (getRow): adjust
5451         (getRowNearY): adjust, and remove commented code.
5452
5453         * lyxtext.h (firstRow): delete function
5454         (lastRow): delete function
5455         (rows): new function (const and non-const versions.)
5456         (insertRow): delete function
5457
5458         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5459
5460 2003-03-29  John Levon  <levon@movementarian.org>
5461
5462         * BufferView_pimpl.C: always update scrollbar top
5463         because pasting text when we're anchored could mean we
5464         miss an update altogether
5465
5466 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * text2.C (init): use rowlist_.end() and not 0.
5469         (insertRow): change to take a RowList::iterator as arg, adjust
5470         for this.
5471         (insertParagraph): change to take a RowList::iterator as arg,
5472         adjust for this.
5473         (redoParagraphs): remove some debug msgs.
5474
5475         * text.C (appendParagraph): change to take a RowList::iterator
5476         arg, adjust for this.
5477         (breakAgain): add an assert
5478         (breakAgainOneRow): ditto
5479
5480 2003-03-29  John Levon  <levon@movementarian.org>
5481
5482         * text2.C: do not clear selection after inc/decDepth
5483         (bug 550)
5484
5485 2003-03-29  John Levon  <levon@movementarian.org>
5486
5487         * BufferView.C:
5488         * buffer.C: fix broken strerrors according to Lars
5489
5490 2003-03-29  John Levon  <levon@movementarian.org>
5491
5492         * converters.C: more Alert cleanups
5493
5494 2003-03-29  John Levon  <levon@movementarian.org>
5495
5496         * bufferview_funcs.C: remove pointless Alert
5497
5498         * buffer.C: fix confusing error message when
5499         a template is chmoded 000
5500
5501 2003-03-29  John Levon  <levon@movementarian.org>
5502
5503         * BufferView.C:
5504         * BufferView.h:
5505         * BufferView_pimpl.C: Alert fixes
5506
5507         * Makefile.am:
5508         * tabular.C:
5509         * tabular-old.C: remove unused table compat reading
5510
5511 2003-03-29  John Levon  <levon@movementarian.org>
5512
5513         * BufferView.C:
5514         * buffer.C:
5515         * lyx_cb.h:
5516         * lyx_cb.C: more Alert cleanups
5517
5518         * lyxfunc.C: don't allow chktex if not latex document
5519
5520 2003-03-29  John Levon  <levon@movementarian.org>
5521
5522         * lyx_cb.C:
5523         * BufferView.C:
5524         * buffer.C: warnings pushed down from support/,
5525         kill err_alert
5526
5527 2003-03-29  John Levon  <levon@movementarian.org>
5528
5529         * lyxfunc.C: safety check for C-r (revert)
5530
5531 2003-03-29  John Levon  <levon@movementarian.org>
5532
5533         * bufferlist.h:
5534         * bufferlist.C: several UI fixes using Alert::prompt.
5535         Fix the pointless looping quit code. Fix stupid revert
5536         behaviour (bug 938)
5537
5538         * lyxvc.h:
5539         * lyxvc.C:
5540         * lyx_cb.C: use Alert::prompt
5541
5542         * lyx_main.C: remove a silly question
5543
5544         * lyxfunc.C: remove a couple of silly questions,
5545         use Alert::prompt
5546
5547 2003-03-28  John Levon  <levon@movementarian.org>
5548
5549         * text2.C: fix bug 974 (End on empty par)
5550
5551 2003-03-28  John Levon  <levon@movementarian.org>
5552
5553         * BufferView_pimpl.C:
5554         * LyXAction.C:
5555         * lfuns.h: remove do-nothing math greek lfuns
5556
5557 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * lyxgluelength.h (isValidGlueLength): add default arg on
5560         parameter 2. Remove default arg from friend in class.
5561
5562         * lyxlength.h (isValidLength): add default arg on parameter 2.
5563         Remove default arg from friend in class.
5564
5565         * text2.C (LyXText): adjust, initialize refresh_row.
5566         (init): adjust
5567         (removeRow): adjust
5568         (insertRow): adjust
5569         (insertParagraph): adjst
5570         (redoParagraphs): adjust
5571         (fullRebreak): adjust
5572         (updateCounters): adjust
5573         (deleteEmptyParagraphMechanism): first attempt at fixing a
5574         crashing bug.
5575
5576         * text.C (top_y): adjust
5577         (setHeightOfRow): adjust
5578         (getRow): adjust
5579         (getRowNearY): adjust
5580
5581         * lyxtext.h: include RowList.h
5582         (~LyXText): not needed anymore, deleted.
5583         (firstRow): modify for RowList
5584         (lastRow): new function
5585         Delete firstrow and lastrow class variables, add a Rowlist
5586         rowlist_ class variable.
5587
5588         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5589         paragraph is empty.
5590
5591         * RowList.C (insert): fix case where it == begin().
5592
5593 2003-03-26  Angus Leeming  <leeming@lyx.org>
5594
5595         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5596         the thesaurus dialog.
5597
5598 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5601
5602         * RowList.[Ch]: new files
5603
5604         * ParagraphList.C (erase): handle the case where it == begin
5605         correctly.
5606
5607 2003-03-25  John Levon  <levon@movementarian.org>
5608
5609         * Makefile.am:
5610         * aspell_local.h:
5611         * aspell.C: add new aspell support
5612
5613         * lyxrc.h:
5614         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5615         have it accessible.
5616
5617 2003-03-25  Angus Leeming  <leeming@lyx.org>
5618
5619         * lfuns.h:
5620         * LyXAction.C (init): new LFUN_INSET_INSERT.
5621
5622         * BufferView_pimpl.C (dispatch): split out part of the
5623         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5624
5625         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5626         LFUN_INSET_APPLY.
5627
5628 2003-03-25  Angus Leeming  <leeming@lyx.org>
5629
5630         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5631
5632 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5633
5634         * text2.C:
5635         * text3.C: remove useless row->height(0)
5636
5637 2003-03-25  John Levon  <levon@movementarian.org>
5638
5639         * lyxtext.h:
5640         * text2.C:
5641         * text3.C: rename the refreshing stuff to better names
5642
5643 2003-03-24  John Levon  <levon@movementarian.org>
5644
5645         * BufferView_pimpl.h:
5646         * BufferView_pimpl.C: update layout choice on a mouse
5647         press/release
5648
5649 2003-03-23  John Levon  <levon@movementarian.org>
5650
5651         * Makefile.am: fix commandtags.h reference
5652
5653 2003-03-22  John Levon  <levon@movementarian.org>
5654
5655         * BufferView_pimpl.C:
5656         * lyxtext.h:
5657         * rowpainter.C:
5658         * rowpainter.h:
5659         * text.C:
5660         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5661
5662 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * lyxtext.h:
5665         * text.C: take the rtl methods out of line
5666
5667 2003-03-21 André Pönitz <poenitz@gmx.net>
5668
5669         * metricsinfo.[Ch]: new files containing structures to be passed around
5670         during the two-phase-drawing...
5671
5672 2003-03-21 André Pönitz <poenitz@gmx.net>
5673
5674         * lyxtextclass.C: read 'environment' tag.
5675
5676 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * text2.C (removeRow): fix bug 964
5679
5680 2003-03-20  John Levon  <levon@movementarian.org>
5681
5682         * rowpainter.C:
5683         * text.C:
5684         * text2.C: paint cleanups. Inset::update() dropped font
5685         parameter
5686
5687 2003-03-19  John Levon  <levon@movementarian.org>
5688
5689         * lyxfunc.C: only fitcursor/markDirty if available()
5690
5691 2003-03-19  John Levon  <levon@movementarian.org>
5692
5693         * commandtags.h: rename to ...
5694
5695         * lfuns.h: ... this, and renumber / cleanup
5696
5697 2003-03-19  John Levon  <levon@movementarian.org>
5698
5699         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5700         fit the cursor after an lfun
5701
5702         * BufferView.h:
5703         * BufferView.C:
5704         * BufferView_pimpl.h:
5705         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5706
5707         * LyXAction.C: layout-character should have ReadOnly
5708
5709         * ParagraphParameters.C:
5710         * buffer.C:
5711         * bufferview_funcs.C:
5712         * lyx_cb.C:
5713         * lyxfind.C:
5714         * lyxtext.h:
5715         * text.C:
5716         * text2.C:
5717         * text3.C:
5718         * undo_funcs.C: changes from above
5719
5720 2003-03-18  John Levon  <levon@movementarian.org>
5721
5722         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5723         remove it from update()
5724
5725         * lyxfunc.C: update layout choice after an lfun
5726
5727         * text3.C: remove extra updateLayoutChoice()s
5728
5729 2003-03-18  John Levon  <levon@movementarian.org>
5730
5731         * text.C: top_y change means full repaint, fix
5732         a drawing bug with cursor movement
5733
5734 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * lyxtext.h:
5737         * text.C:
5738         * text2.C: anchor row on setCursor
5739
5740 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * lyxtext.h: remove almost all mutable keywords
5743         * text.C:
5744         * text2.C:
5745         * text3.C: remove const keywords accordingly
5746
5747 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5750         anon namespace
5751         (TeXEnvironment): ditto
5752         (TeXOnePar): ditto
5753
5754 2003-03-17  John Levon  <levon@movementarian.org>
5755
5756         * text.C (rowBreakPoint): remove attempt to fix displayed
5757         math insets inside a manual label
5758
5759 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * lyxtext.h: remove BufferView* as first arg from almost all class
5762         functions.
5763         * other files: adjust.
5764
5765 2003-03-17  John Levon  <levon@movementarian.org>
5766
5767         * lyxtext.h:
5768         * undo_funcs.C:
5769         * text2.C: more paint cleanups
5770
5771         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5772
5773         * rowpainter.h:
5774         * rowpainter.C: remove "smart" background painting code
5775
5776 2003-03-16  John Levon  <levon@movementarian.org>
5777
5778         * lyxtext.h:
5779         * text.C:
5780         * text2.C:
5781         * text3.C: add helper functions for setting refresh_row/y
5782
5783 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5784
5785         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5786         newline inset which *can* get inserted in the pass_thru layouts.
5787         This is primarily for literate documents.
5788
5789 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5790
5791         * buffer.C: increment LYX_FORMAT to 223
5792
5793 2003-03-14 André Pönitz <poenitz@gmx.net>
5794
5795         * textclass.h: prepare for environment handling, ws changes
5796         * lyxlayout.C: read latexheader and latexfooter tags
5797
5798 2003-03-14  John Levon  <levon@movementarian.org>
5799
5800         * text2.C: rewrite ::status() a bit
5801
5802 2003-03-13  John Levon  <levon@movementarian.org>
5803
5804         * lyxtext.h: add some docs
5805
5806 2003-03-13  John Levon  <levon@movementarian.org>
5807
5808         * lyxtext.h:
5809         * text.C:
5810         * text2.C:
5811         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5812
5813 2003-03-13  John Levon  <levon@movementarian.org>
5814
5815         * text3.C: fix appendix redrawing
5816
5817 2003-03-13  John Levon  <levon@movementarian.org>
5818
5819         * text.C (setHeightOfRow):
5820         * rowpainter.h:
5821         * rowpainter.C: make appendix mark have the text
5822           "Appendix" so the user knows what it is
5823
5824         * LColor.h:
5825         * LColor.C: s/appendixline/appendix/ from above
5826
5827 2003-03-13  John Levon  <levon@movementarian.org>
5828
5829         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5830
5831         * text.C: fix a getChar(pos) bug properly
5832
5833 2003-03-13  Angus Leeming  <leeming@lyx.org>
5834
5835         * commandtags.h:
5836         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5837         Probably only temporary. Let's see how things pan out.
5838
5839         * BufferView.C (unlockInset):
5840         * BufferView_pimpl.C (fitCursor):
5841         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5842
5843         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5844         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5845
5846         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5847         new functions that convert ParagraphParameters to and from a string.
5848
5849         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5850         BufferView::Pimpl's dispatch.
5851         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5852
5853 2003-03-13 André Pönitz <poenitz@gmx.net>
5854
5855         * lyxfunc.C:
5856         * text3.C:
5857         * factory.C: make it aware of InsetEnv
5858
5859 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * text2.C (setCursor): never ask for one past last
5862         (setCursor): add some debugging messages.
5863
5864         * text.C (singleWidth): never ask for one past last
5865         (singleWidth): ditto
5866         (leftMargin): ditto
5867         (rightMargin): ditto
5868         (rowBreakPoint): ditto
5869         (setHeightOfRow): ditto
5870         (prepareToPrint): ditto
5871
5872         * rowpainter.C (paintBackground): never ask for one past last
5873         (paintText): never ask for one past last
5874
5875         * paragraph_pimpl.C (getChar): make the assert stricter, never
5876         allow the one past last pos to be taken
5877
5878         * paragraph.C (getChar): ws changes only
5879
5880         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5881         (numberOfSeparators): ditto
5882         (numberOfHfills): ditto
5883
5884 2003-03-12  John Levon  <levon@movementarian.org>
5885
5886         * author.h:
5887         * author.C:
5888         * bufferparams.h:
5889         * bufferparams.C:
5890         * paragraph_funcs.C: fix per-buffer authorlists
5891
5892 2003-03-12  John Levon  <levon@movementarian.org>
5893
5894         * text.C: fix newline in right address
5895
5896 2003-03-12  Angus Leeming  <leeming@lyx.org>
5897
5898         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5899         duplicate those in LyXFunc::dispatch.
5900
5901         * commandtags.h:
5902         * LyXAction.C:
5903         * ToolbarDefaults.C:
5904         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5905         Add LFUN_FONTFREE_UPDATE.
5906
5907         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5908         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5909
5910         * bufferview_func.[Ch]: several new functions to facilliate
5911         transfer of data to and from the character dialog.
5912
5913 2003-03-12  John Levon  <levon@movementarian.org>
5914
5915         * buffer.C:
5916         * paragraph.h:
5917         * paragraph.C:
5918         * paragraph_funcs.C:
5919         * paragraph_pimpl.C:
5920         * sgml.C:
5921         * tabular.C:
5922         * text.C:
5923         * text3.C: remove META_NEWLINE in favour of an inset
5924
5925         * rowpainter.h:
5926         * rowpainter.C: remove paintNewline (done by inset)
5927
5928 2003-03-12  John Levon  <levon@movementarian.org>
5929
5930         * paragraph_pimpl.C: complain about bad getChar()s
5931         for a while at least
5932
5933 2003-03-12  John Levon  <levon@movementarian.org>
5934
5935         * buffer.h:
5936         * buffer.C: move paragraph read into a separate function,
5937         a little renaming to reflect that.
5938
5939         * bufferparams.h:
5940         * bufferparams.C: remove the author_ids map, not necessary now
5941
5942         * factory.h:
5943         * factory.C: moved Buffer::readInset to here
5944
5945         * paragraph_funcs.h:
5946         * paragraph_funcs.C: readParagraph free function moved from
5947         buffer.C
5948
5949         * tabular.C: name change
5950
5951 2003-03-12  John Levon  <levon@movementarian.org>
5952
5953         * buffer.C:
5954         * ParagraphParameters.C: move par params input to
5955         a read() method
5956
5957         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5958         behave like a normal read from the stream wrt reading
5959         a line vs. a \\token
5960
5961 2003-03-12  John Levon  <levon@movementarian.org>
5962
5963         * paragraph.C:
5964         * ParagraphParameters.h:
5965         * ParagraphParameters.C: move output code to a
5966         ::write() method
5967
5968 2003-03-12  John Levon  <levon@movementarian.org>
5969
5970         * BufferView.C (insertLyXFile):
5971         * buffer.h:
5972         * buffer.C:
5973         * tabular.C: use a parlist iterator for creating the
5974           document.
5975
5976 2003-03-12  John Levon  <levon@movementarian.org>
5977
5978         * buffer.C: make current_change static local not
5979           static file-scope
5980
5981 2003-03-12  John Levon  <levon@movementarian.org>
5982
5983         * buffer.C: fix insertStringAsLines for change tracking
5984
5985 2003-03-12  John Levon  <levon@movementarian.org>
5986
5987         * BufferView.C:
5988         * tabular.C:
5989         * buffer.h:
5990         * buffer.C:
5991         * bufferparams.h:
5992         * bufferparams.C: move author list into params. Rename some
5993           functions. Move the header reading into a separate token
5994           loop. Move the header token reading into BufferParams.
5995
5996 2003-03-12  John Levon  <levon@movementarian.org>
5997
5998         * changes.C: put debug inside lyxerr.debugging() checks
5999
6000 2003-03-11 André Pönitz <poenitz@gmx.net>
6001
6002         * factory.C: make it aware of InsetHFill
6003
6004 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6005
6006         * buffer.C (latexParagraphs): move function from here...
6007         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6008         args.
6009
6010 2003-03-10  Angus Leeming  <leeming@lyx.org>
6011
6012         * LyXAction.C (init): fix bug in poplating array with multiple entries
6013         with the same LFUN (spotted by JMarc).
6014
6015 2003-03-10  John Levon  <levon@movementarian.org>
6016
6017         * text.C:
6018         * text2.C: move getColumnNearX() near its
6019         only call site
6020
6021 2003-03-10  John Levon  <levon@movementarian.org>
6022
6023         * text.C: fix break before a minipage
6024
6025 2003-03-10  John Levon  <levon@movementarian.org>
6026
6027         * text.C: fix the last commit
6028
6029 2003-03-09  John Levon  <levon@movementarian.org>
6030
6031         * lyxtext.h:
6032         * text.C:
6033         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6034         bug 365 (don't break before insets unless needed). Don't
6035         return a value > last under any circumstances.
6036
6037 2003-03-09  Angus Leeming  <leeming@lyx.org>
6038
6039         * BufferView_pimpl.C (trackChanges, dispatch): call
6040         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6041
6042 2003-03-09  Angus Leeming  <leeming@lyx.org>
6043
6044         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6045         than Dialogs::showAboutlyx().
6046
6047 2003-03-09  Angus Leeming  <leeming@lyx.org>
6048
6049         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6050         than Dialogs::showTabularCreate().
6051
6052 2003-03-09  John Levon  <levon@movementarian.org>
6053
6054         * lyxtext.h:
6055         * text.C:
6056         * text2.C: 3rd arg to nextBreakPoint was always the same.
6057           Use references.
6058
6059 2003-03-08  John Levon  <levon@movementarian.org>
6060
6061         * lyxrow.C:
6062         * paragraph.C:
6063         * paragraph.h:
6064         * rowpainter.C:
6065         * text.C:
6066         * text2.C: Remove the "main" bit from the "main body"
6067           notion.
6068
6069 2003-03-08  John Levon  <levon@movementarian.org>
6070
6071         * text.C (leftMargin): The left margin of an empty
6072         manual label paragraph should not include the label width
6073         string length.
6074
6075         * text.C (prepareToPrint): don't attempt to measure hfills
6076         for empty manual label paragraphs - the answer should be 0
6077
6078 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * CutAndPaste.C: remove commented code and reindent.
6081
6082 2003-03-08  John Levon  <levon@movementarian.org>
6083
6084         * lyxfunc.h:
6085         * lyxfunc.C: move reloadBuffer()
6086
6087         * BufferView.h:
6088         * BufferView.C: to here
6089
6090         * lyxvc.C: add comment
6091
6092         * vc-backend.h:
6093         * vc-backend.C: call bv->reload() to avoid
6094           getStatus() check on MENURELOAD
6095
6096 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6097
6098         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6099         to an old format .dep file.
6100
6101 2003-03-07  Angus Leeming  <leeming@lyx.org>
6102
6103         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6104         when the LFUN_MOUSE_RELEASE should have been handled by
6105         inset->localDispatch.
6106
6107 2003-03-07  Angus Leeming  <leeming@lyx.org>
6108
6109         * BufferView_pimpl.C (dispatch):
6110         * LyXAction.C (init):
6111         * ToolbarDefaults.C (init):
6112         * commandtags.h:
6113         * lyxfunc.C (getStatus):
6114         remove LFUN_INSET_GRAPHICS.
6115
6116         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6117
6118 2003-03-07  Angus Leeming  <leeming@lyx.org>
6119
6120         * commandtags.h:
6121         * LyXAction.C (init):
6122         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6123
6124         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6125
6126         * commandtags.h:
6127         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6128
6129         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6130         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6131
6132 2003-03-07  Angus Leeming  <leeming@lyx.org>
6133
6134         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6135         remove "ert".
6136
6137 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * ParagraphList.C (front): new function
6140         (back): implement
6141
6142 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6143
6144         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6145         and top_row_offset_. removed var first_y.
6146         * text.C (top_y):
6147         * text2.C (LyXText, removeRow):
6148         * text3.C:
6149         * BufferView_pimpl.C:
6150         use these methods instead of using first_y
6151
6152 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * text2.C (pasteSelection): adjust for checkPastePossible
6155
6156         * CutAndPaste.C: remove Paragraph * buf and replace with
6157         ParagraphList paragraphs.
6158         (DeleteBuffer): delete
6159         (cutSelection): change the tc type to textclass_type
6160         (copySelection): change the tc type to textclass_type
6161         (copySelection): adjust for ParagraphList
6162         (pasteSelection): change the tc type to textclass_type
6163         (pasteSelection): adjust for Paragraphlist
6164         (nrOfParagraphs): simplify for ParagraphList
6165         (checkPastePossible): simplify for ParagraphList
6166         (checkPastePossible): remove unused arg
6167
6168         * ParagraphList.C (insert): handle the case where there are no
6169         paragraphs yet.
6170
6171         * CutAndPaste.h: make CutAndPaste a namespace.
6172
6173         * text3.C (dispatch): adjust
6174
6175         * text.C (breakParagraph): add a ParagraphList as arg
6176
6177         * paragraph_funcs.C (breakParagraph): change to take a
6178         BufferParams and a ParagraphList as args.
6179         (breakParagraphConservative): ditto
6180         (mergeParagraph): ditto
6181         (TeXDeeper): add a ParagraphList arg
6182         (TeXEnvironment): ditto
6183         (TeXOnePar): ditto
6184
6185         * buffer.C (readLyXformat2): adjust
6186         (insertStringAsLines): adjust
6187         (latexParagraphs): adjust
6188
6189         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6190         (cutSelection): adjust
6191         (pasteSelection): adjust
6192
6193         * BufferView_pimpl.C (insertInset): adjust
6194
6195 2003-03-05  Angus Leeming  <leeming@lyx.org>
6196
6197         * commandtags.h:
6198         * LyXAction.C (init):
6199         * BufferView_pimpl.C (dispatch):
6200         * lyxfunc.C (getStatus):
6201         remove LFUN_CHILD_INSERT.
6202
6203         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6204
6205 2003-03-05  Angus Leeming  <leeming@lyx.org>
6206
6207         * commandtags.h:
6208         * LyXAction.C (init):
6209         * src/factory.C (createInset):
6210         * lyxfunc.C (getStatus):
6211         * text3.C (dispatch):
6212         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6213
6214         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6215
6216 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * ParagraphList.C (insert): handle insert right before end()
6219         (erase): fix cases where it can be first or last paragraph.
6220
6221 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6224         Paragraph::next and Paragraph::previous
6225         (TeXOnePar): ditto
6226
6227         * text.C (breakParagraph): adjust
6228
6229         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6230         BufferParams& as arg.
6231         (breakParagraph): use ParagraphList::insert
6232         (breakParagraphConservative): take a Buffer* instead of a
6233         BufferParams& as arg.
6234         (breakParagraphConservative): use ParagraphList::insert.
6235
6236         * buffer.C (insertStringAsLines): un-const it
6237         (insertStringAsLines): adjust
6238
6239         * ParagraphList.C (insert): new function
6240
6241         * CutAndPaste.C (pasteSelection): adjust
6242
6243         * text.C (backspace): adjust
6244
6245         * tabular.C (SetMultiColumn): adjust
6246
6247         * CutAndPaste.C (cutSelection): adjust
6248         (pasteSelection): adjust
6249
6250         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6251         Buffer const * as arg
6252
6253         * ParagraphList.C (erase): new function
6254         * paragraph_funcs.C (mergeParagraph): use it
6255         (mergeParagraph): make it take a Buffer* instead of a
6256         BufferParams* as arg
6257
6258         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6259         as arg
6260         (breakParagraphConservative): ditto
6261
6262         * paragraph.h: remove the breakParagraph friend
6263
6264         * paragraph.C (eraseIntern): new function
6265         (setChange): new function
6266
6267         * paragraph_funcs.C (mergeParagraph): make it take a
6268         ParagraphList::iterator instead of a Paragraph *, adjust
6269         accordingly.
6270
6271         * paragraph.h: move an #endif so that the change tracking stuff
6272         also works in the NO_NEXT case.
6273
6274 2003-03-04  Angus Leeming  <leeming@lyx.org>
6275
6276         * commandtags.h:
6277         * LyXAction.C: new LFUN_INSET_MODIFY.
6278
6279         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6280         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6281
6282 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * several files: ws changes only
6285
6286         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6287         (TeXEnvironment): ditto
6288         (TeXDeeper): ditto
6289
6290         * buffer.C (makeLaTeXFile): adjust
6291         (latexParagraphs): make it take ParagraphList::iterator as args
6292
6293 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * buffer.C (latexParagraphs): adjust
6296
6297         * paragraph.C (TeXOnePar): move function...
6298         (optArgInset): move function...
6299         (TeXEnvironment): move function...
6300         * paragraph_pimpl.C (TeXDeeper): move function...
6301         * paragraph_funcs.C: ...here
6302
6303         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6304
6305 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * buffer.C (readInset): remove compability code for old Figure and
6308         InsetInfo insets
6309
6310 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * buffer.C: ws changes
6313         (readInset):
6314
6315         * BufferView_pimpl.C: ditto
6316         * author.C: ditto
6317         * buffer.h: ditto
6318         * bufferlist.h: ditto
6319         * changes.h: ditto
6320         * lyxfunc.C: ditto
6321
6322 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6323
6324         * converter.[Ch]: split into itself +
6325         * graph.[Ch]
6326         * format.[Ch]
6327         * Makefile.am: += graph.[Ch] + format.[Ch]
6328         * MenuBackend.C
6329         * buffer.C
6330         * exporter.C
6331         * importer.C
6332         * lyx_main.C
6333         * lyxfunc.C
6334         * lyxrc.C: added #include "format.h"
6335
6336 2003-02-27  Angus Leeming  <leeming@lyx.org>
6337
6338         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6339           a label.
6340
6341         * factory.C (createInset): add "label" to the factory.
6342
6343         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6344           string and do no more.
6345
6346 2003-02-27  Angus Leeming  <leeming@lyx.org>
6347
6348         * commandtags.h:
6349         * LyXAction.C (init):
6350         * factory.C (createInset):
6351         * BufferView_pimpl.C (dispatch):
6352           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6353
6354         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6355
6356         * lyxfunc.C (dispatch):
6357         * text3.C (dispatch): pass name to params2string.
6358
6359 2003-02-26  Angus Leeming  <leeming@lyx.org>
6360
6361         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6362           blocks together.
6363           Rearrange the ~includes. Strip out the unnecessary ones.
6364
6365         * factory.C (createInset): reformat.
6366           create new insets for the various LFUN_XYZ_APPLY lfuns.
6367
6368 2003-02-26  John Levon  <levon@movementarian.org>
6369
6370         * lyxrow.h:
6371         * lyxrow.C: add isParStart,isParEnd helpers
6372
6373         * paragraph.h: make isInserted/DeletedText take refs
6374
6375         * paragraph_funcs.h:
6376         * paragraph_funcs.C: remove #if 0'd code
6377
6378         * lyxtext.h:
6379         * text3.C:
6380         * text2.C:
6381         * text.C: use lyxrow helpers above.
6382           Move draw and paint routines to RowPainter.
6383           Make several methods use refs not pointers.
6384           Make backgroundColor() const.
6385           Add markChangeInDraw(), isInInset().
6386           Merge changeRegionCase into changeCase.
6387           Make workWidth() shouldn't-happen code into an Assert.
6388
6389         * rowpainter.h:
6390         * rowpainter.C: new class for painting a row.
6391
6392         * vspace.h:
6393         * vspace.C: make inPixels take a ref
6394
6395 2003-02-26  Angus Leeming  <leeming@lyx.org>
6396
6397         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6398         LFUN_REF_APPLY.
6399
6400 2003-02-25  John Levon  <levon@movementarian.org>
6401
6402         * ispell.C: give the forked command a more accurate name
6403
6404 2003-02-22  John Levon  <levon@movementarian.org>
6405
6406         * toc.h:
6407         * toc.C: make TocItem store an id not a Paragraph *
6408           (bug #913)
6409
6410 2003-02-21  Angus Leeming  <leeming@lyx.org>
6411
6412         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6413           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6414           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6415           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6416           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6417           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6418
6419         * BufferView_pimpl.C (dispatch):
6420         * LyXAction.C (init):
6421         * factory.C (createInset):
6422         * lyxfunc.C (getStatus, dispatch):
6423         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6424
6425 2003-02-21  Angus Leeming  <leeming@lyx.org>
6426
6427         * BufferView_pimpl.C (MenuInsertLyXFile):
6428         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6429         * lyxfunc.C (menuNew, open, doImport):
6430           no longer pass a LyXView & to fileDlg.
6431
6432 2003-02-21  Angus Leeming  <leeming@lyx.org>
6433
6434         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6435         * LyXAction.C: change, BIBKEY to BIBITEM.
6436         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6437         Change InsetBibKey to InsetBibitem.
6438         Change BIBKEY_CODE to BIBITEM_CODE.
6439         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6440         * factory.C: replace insetbib.h with insetbibitem.h.
6441         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6442         * paragraph.C: replace insetbib.h with insetbibitem.h.
6443         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6444         Change bibkey() to bibitem().
6445         * text.C: remove insetbib.h.
6446         * text2.C: replace insetbib.h with insetbibitem.h.
6447         change bibkey() to bibitem().
6448         * text3.C: remove insetbib.h.
6449         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6450
6451 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6452
6453         * lyxrc.C (output): enclose user email in quotes (in case there are
6454         several words)
6455
6456 2003-02-18  John Levon  <levon@movementarian.org>
6457
6458         * buffer.h: add std::
6459
6460 2003-02-17  John Levon  <levon@movementarian.org>
6461
6462         * SpellBase.h:
6463         * ispell.h:
6464         * ispell.C:
6465         * pspell.h:
6466         * pspell.C: reworking. Especially in ispell, a large
6467           number of clean ups and bug fixes.
6468
6469         * lyxfunc.C: fix revert to behave sensibly
6470
6471 2003-02-17 André Pönitz <poenitz@gmx.net>
6472
6473         * LyXAction.C:
6474         * commandtags.h: new LFUN_INSERT_BIBKEY
6475
6476         * layout.h:
6477         * lyxlayout.C:
6478         * buffer.C:
6479         * factory.C:
6480         * text.C:
6481         * text2.C:
6482         * text3.C:
6483         * paragraph.[Ch]:
6484         * paragraph_func.C: remove special bibkey handling
6485
6486 2003-02-17  John Levon  <levon@movementarian.org>
6487
6488         * text.C (Delete): fix case where delete at the end of
6489           the very first paragraph would not merge the pars
6490
6491 2003-02-17  John Levon  <levon@movementarian.org>
6492
6493         * lyxrow.C: fix lastPrintablePos()
6494
6495 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6496
6497         * bufferparams.C (writeLaTeX): add a std:here
6498
6499         * buffer.C: and remove a using directive there
6500
6501 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6502
6503         * buffer.C (makeLaTeXFile): move the code that generates the
6504           preamble...
6505
6506         * bufferparams.C (writeLaTeX): ... in this new method
6507
6508         * LaTeXFeatures.C (getEncodingSet): make const
6509           (getLanguages): make const
6510
6511         * MenuBackend.C (binding): returns the binding associated to this
6512           action
6513           (add): sets the status of each item by calling getStatus. Adds
6514           some intelligence.
6515           (read): add support for OptSubMenu
6516           (expand): remove extra separator at the end of expanded menu
6517
6518 2003-02-15  John Levon  <levon@movementarian.org>
6519
6520         * BufferView.C:
6521         * BufferView_pimpl.C:
6522         * bufferlist.h:
6523         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6524           inset code that had no actual effect. Remove unneeded status
6525           code.
6526
6527 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6528
6529         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6530           in preamble
6531
6532 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6533
6534         * text.C (drawLengthMarker): also draw an arrow marker for
6535           symbolic lengths (medskip...)
6536
6537 2003-02-14  John Levon  <levon@movementarian.org>
6538
6539         * tabular.h:
6540         * tabular.C: better method names
6541
6542 2003-02-14  John Levon  <levon@movementarian.org>
6543
6544         * BufferView_pimpl.C:
6545         * bufferlist.C:
6546         * buffer.C:
6547         * converter.C:
6548         * lyx_cb.C:
6549         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6550           it's a more accurate name. Remove some pointless uses.
6551
6552 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6553
6554         * text2.C (LyXText): change order of initilizers to shut off
6555           warnings
6556
6557 2003-02-14  John Levon  <levon@movementarian.org>
6558
6559         * buffer.C: use ParIterator for getParFromID()
6560
6561         * paragraph.h:
6562         * paragraph.C:
6563         * paragraph_pimpl.h:
6564         * paragraph_pimpl.C: remove unused getParFromID()
6565
6566 2003-02-14  John Levon  <levon@movementarian.org>
6567
6568         * buffer.C: remove some very old #if 0'd parse code
6569
6570 2003-02-13  John Levon  <levon@movementarian.org>
6571
6572         * text.h:
6573         * text.C:
6574         * text2.C: move hfillExpansion(), numberOfSeparators(),
6575           rowLast(), rowLastPrintable(), numberofHfills(),
6576           numberOfLabelHfills() ...
6577
6578         * lyxrow.h:
6579         * lyxrow.C: ... to member functions here.
6580
6581         * paragraph.h:
6582         * paragraph.C:
6583         * lyxtext.h:
6584         * text.C: remove LyXText::beginningOfMainBody(), and call
6585           p->beginningOfMainBody() directly. Move the check for
6586           LABEL_MANUAL into the latter.
6587
6588         * text.h:
6589         * text.C:
6590         * text2.C:
6591         * vspace.C:
6592         * BufferView.h:
6593         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6594
6595         * text.h:
6596         * text.C:
6597         * text2.C:
6598         * text3.C:
6599         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6600           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6601
6602 2003-02-13  John Levon  <levon@movementarian.org>
6603
6604         * CutAndPaste.C: remove debug
6605
6606 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6607
6608         * paragraph.C (asString): remove two unused variables
6609
6610         * lyxtextclass.C (readTitleType):
6611           (Read):
6612           (LyXTextClass): handle new members titletype_ and titlename_
6613
6614         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6615
6616 2003-02-09  John Levon  <levon@movementarian.org>
6617
6618         * buffer.h:
6619         * buffer.C: replace hand-coded list with a map for the dep clean
6620
6621 2003-02-08  John Levon  <levon@movementarian.org>
6622
6623         * LaTeX.C: consolidate code into showRunMessage() helper
6624
6625 2003-02-08  John Levon  <levon@movementarian.org>
6626
6627         * lyxfind.C:
6628         * lyxtext.h:
6629         * text2.C:
6630         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6631           and pass the size in explicitly
6632
6633         * BufferView_pimpl.h:
6634         * BufferView_pimpl.C:
6635         * BufferView.h:
6636         * BufferView.C: add getCurrentChange()
6637
6638         * BufferView_pimpl.h:
6639         * BufferView_pimpl.C: handle change lfuns
6640
6641         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6642           for changes. Mark pasted paragraphs as new.
6643
6644         * support/lyxtime.h:
6645         * support/lyxtime.C:
6646         * DepTable.C: abstract time_t as lyx::time_type
6647
6648         * LColor.h:
6649         * LColor.C: add colours for new text, deleted text, changebars
6650
6651         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6652           package use "usenames" option.
6653
6654         * commandtags.h:
6655         * lyxfunc.C:
6656         * LyXAction.C: add change lfuns
6657
6658         * Makefile.am:
6659         * author.h:
6660         * author.C: author handling
6661
6662         * buffer.h:
6663         * buffer.C: add a per-buffer author list, with first entry as
6664           current author. Handle new .lyx tokens for change tracking. Output
6665           author list to .lyx file. Output dvipost stuff to .tex preamble.
6666           Bump lyx format to 222.
6667
6668         * bufferlist.h:
6669         * bufferlist.C: add setCurrentAuthor() to reset current author details
6670           in all buffers.
6671
6672         * bufferparams.h:
6673         * bufferparams.C: add param for tracking
6674
6675         * bufferview_funcs.C: output change info in minibuffer
6676
6677         * Makefile.am:
6678         * changes.h:
6679         * changes.C: add change-tracking structure
6680
6681         * debug.h:
6682         * debug.C: add CHANGES debug flag
6683
6684         * lyxfind.h:
6685         * lyxfind.C: add code for finding the next change piece
6686
6687         * lyxrc.h:
6688         * lyxrc.C: add user_name and user_email
6689
6690         * lyxrow.h:
6691         * lyxrow.C: add a metric for the top of the text line
6692
6693         * lyxtext.h:
6694         * text.C: implement accept/rejectChange()
6695
6696         * lyxtext.h:
6697         * text.C: paint changebars. Paint new/deleted text in the chosen
6698         colours. Strike through deleted text.
6699
6700         * paragraph.h:
6701         * paragraph.C:
6702         * paragraph_pimpl.h:
6703         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6704           in the current change to the insert functions. Rework erase to
6705           mark text as deleted, adding an eraseIntern() and a range-based
6706           erase(). Implement per-paragraph change lookup and
6707           accept/reject.
6708
6709         * paragraph_funcs.C: Fixup paste for change tracking.
6710
6711         * tabular.C: mark added row/columns as new.
6712
6713         * text.C: fix rowLast() to never return -1. Don't allow
6714           spellchecking of deleted text. Track transpose changes. Don't
6715           allow paragraph break or merge where appropriate.
6716
6717         * text2.C: leave cursor at end of selection after a cut.
6718
6719 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6720
6721         * text.C (getLengthMarkerHeight):
6722         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6723         visible on screen too.
6724
6725 2003-02-07  John Levon  <levon@movementarian.org>
6726
6727         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6728
6729 2003-02-05  Angus Leeming  <leeming@lyx.org>
6730
6731         * lyxserver.C (read_ready): revert my patch of 11 September last year
6732         as it sends PC cpu through the roof. Presumably this means that
6733         the lyxserver will no longer run on an Alpha...
6734
6735 2003-01-30  Angus Leeming  <leeming@lyx.org>
6736
6737         * factory.C (createInset): create an InsetCommandParam of type "index"
6738         and use it to 'do the right thing'.
6739
6740         * text2.C (getStringToIndex): ensure that cursor position is always
6741         reset to the reset_cursor position.
6742
6743 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6744
6745         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6746         disabled.
6747
6748 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6749
6750         * bufferview.C:
6751         * lyxcb.C:
6752         * lyxfunc.C: Output messages with identical spelling, punctuation,
6753         and spaces
6754
6755 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6756
6757         * MenuBackend.C (expandFormats): List only viewable export formats
6758         in "View" menu
6759
6760         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6761         message
6762
6763         * lyxfunc.C (getStatus): Make sure that formats other than
6764         "fax" can also be disabled
6765
6766 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6767
6768         * text3.C (dispatch): put the lfuns that insert insets in 3
6769         groups, and call doInsertInset with appropriate arguments.
6770         (doInsertInset): new function, that creates an inset and inserts
6771         it according to some boolean parameters.
6772
6773 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * buffer.C (readFile): remember to pass on 'par' when calling
6776         readFile recursively.
6777
6778 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6779
6780         * MenuBackend.C (expandFormats): add "..." to import formats.
6781
6782 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6783
6784         * paragraph.C (asString): Remove XForms RTL hacks.
6785
6786 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6787         * buffer.C: fix typo
6788
6789 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6790
6791         * Makefile.am (LIBS): delete var
6792         (lyx_LDADD): add @LIBS@ here instead.
6793
6794 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6795
6796         * Clarify the meaning of "wheel mouse jump"
6797
6798 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6799
6800         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6801         tabular in a float
6802
6803 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6804
6805         * importer.C (Loaders): do not preallocate 3 elements in the
6806         vector, since one ends up with 6 elements otherwise
6807
6808 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6809
6810         * DepTable.C (write): write the file name as last element of the
6811         .dep file (because it may contain spaces)
6812         (read): read info in the right order
6813
6814 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6815
6816         * paragraph_pimpl.C (simpleTeXBlanks):
6817         (simpleTeXSpecialChars):
6818         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6819
6820         * tabular.C (latex): add some missing case statements. Reindent.
6821
6822         * MenuBackend.C (expandToc): remove unused variable.
6823
6824 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6825
6826         * LColor.C:
6827         * LaTeX.C:
6828         * LyXAction.C:
6829         * MenuBackend.C:
6830         * buffer.C:
6831         * exporter.C:
6832         * lyxfunc.C:
6833         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6834         and the like.
6835
6836 2003-01-05  John Levon  <levon@movementarian.org>
6837
6838         * BufferView.h:
6839         * BufferView.C: add getEncoding()
6840
6841         * kbsequence.h:
6842         * kbsequence.C: do not store last keypress
6843
6844         * lyxfunc.h:
6845         * lyxfunc.C: store last keypress here instead. Pass encoding
6846           to getISOEncoded()
6847
6848 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6849
6850         * lyx_main.C (init): remove annoying error message when following
6851         symbolic links (bug #780)
6852
6853 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6854
6855         * text.C (insertChar):
6856         * lyxrc.C (getDescription): remove extra spaces
6857
6858 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6859
6860         * lyxrc.C (getDescription): remove extra spaces
6861
6862 2002-12-20  John Levon  <levon@movementarian.org>
6863
6864         * text3.C: hack fix for page up/down across tall rows
6865
6866 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6867
6868         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6869         not been invoked
6870
6871 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6872
6873         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6874         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6875         thesaurus is not compiled in
6876
6877 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6878
6879         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6880
6881 2002-12-16  Angus Leeming  <leeming@lyx.org>
6882
6883         * lyxrc.[Ch]:
6884         * lyx_main.C (init): remove override_x_deadkeys stuff.
6885
6886 2002-12-12  John Levon  <levon@movementarian.org>
6887
6888         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6889           insert. Only remove shift modifier under strict
6890           circumstances.
6891
6892 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * MenuBackend.C (expandToc): fix crash.
6895
6896 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * MenuBackend.C (expandToc): gettext on float names.
6899
6900 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6901
6902         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6903         implement bool empty() [bug 490]
6904
6905 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6908
6909 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * several files: ws changes
6912
6913 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * text2.C (setCounter): clean up a bit, use boost.format.
6916         (updateCounters): initialize par upon declaration.
6917
6918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6919         if the layout exists. We do not just store the layout any more.
6920         (SwitchLayoutsBetweenClasses): use boost.format
6921
6922 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6923
6924         * converter.C (convert): if from and to files are the same, use a
6925         temporary files as intermediary
6926
6927 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6928
6929         * commandtags.h:
6930         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6931
6932 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6933
6934         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6935
6936 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * tabular.C (asciiPrintCell): use string(size, char) instead of
6939         explicit loop.
6940
6941         * sgml.C (openTag): fix order of arguments to string constructor
6942         (closeTag): ditto
6943
6944         * lyxfunc.C (dispatch): use boost.format
6945
6946         * lots of files: change "c" -> 'c'
6947
6948 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6949
6950         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6951
6952 2002-11-25  Angus Leeming  <leeming@lyx.org>
6953
6954         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6955
6956         * lyx_main.C (init): compile fix.
6957
6958 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * lyx_cb.C (start): boost.formatify
6961         do not include <iostream>
6962
6963         * lengthcommon.C: ws only
6964
6965         * boost-inst.C,BoostFormat.h: add more explict instantations
6966
6967 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * lots of files: handle USE_BOOST_FORMAT
6970
6971 2002-11-21  John Levon  <levon@movementarian.org>
6972
6973         * pspell.C: fix compile
6974
6975 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6976
6977         * lyxfunc.C (dispatch): use boost::format
6978         (open): ditto
6979         (doImport): ditto
6980
6981         * lyxfont.C (stateText): use boost::format
6982
6983         * lyx_main.C (LyX): use boost::format
6984         (init): ditto
6985         (queryUserLyXDir): ditto
6986         (readRcFile): ditto
6987         (parse_dbg): ditto
6988         (typedef boost::function): use the recommened syntax.
6989
6990         * importer.C (Import): use boost::format
6991
6992         * debug.C (showLevel): use boost::format
6993
6994         * converter.C (view): use boost::format
6995         (convert): ditto
6996         (move): ditto
6997         (scanLog): ditto
6998
6999         * bufferview_funcs.C (currentState): use boost::format
7000
7001         * bufferlist.C (emergencyWrite): use boost::format
7002
7003         * buffer.C (readLyXformat2): use boost::format
7004         (parseSingleLyXformat2Token): ditto
7005
7006         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7007
7008         * LaTeX.C (run): use boost::format
7009
7010         * Chktex.C (scanLogFile): use boost::format
7011
7012         * BufferView_pimpl.C (savePosition): use boost::format
7013         (restorePosition): ditto
7014         (MenuInsertLyXFile): ditto
7015
7016         * BoostFormat.h: help file for explicit instation.
7017
7018 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7019
7020         * tabular.C (latex): Support for block alignment in fixed width
7021         columns.
7022
7023 2002-11-17  John Levon  <levon@movementarian.org>
7024
7025         * BufferView_pimpl.C:
7026         * lyx_cb.C:
7027         * lyxfunc.C: split filedialog into open/save
7028
7029 2002-11-08  Juergen Vigna  <jug@sad.it>
7030
7031         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7032         by my last patch (hopefully).
7033
7034 2002-11-08  John Levon  <levon@movementarian.org>
7035
7036         * iterators.h:
7037         * iterators.C:
7038         * buffer.h:
7039         * buffer.C:
7040         * paragraph.h:
7041         * paragraph.C:
7042         * toc.h:
7043         * toc.C: ParConstIterator, and use it (from Lars)
7044
7045 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7046
7047         * lyxtextclass.[Ch]: revise and add doxygen comments
7048
7049 2002-11-07  John Levon  <levon@movementarian.org>
7050
7051         * text.C: fix progress value for spellchecker
7052
7053         * toc.C: fix navigate menu for insetwrap inside minipage
7054
7055         * paragraph_funcs.C: added FIXME for suspect code
7056
7057 2002-11-07  John Levon  <levon@movementarian.org>
7058
7059         * BufferView_pimpl.C: fix redrawing of insets
7060           on buffer switch
7061
7062 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7063
7064         * text2.C (updateCounters): fix bug 668
7065
7066 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7067
7068         * text3.C (dispatch): Do not make the buffer dirty when moving the
7069         cursor.
7070
7071 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * vc-backend.C: STRCONV
7074         (scanMaster): ditto
7075
7076         * text2.C (setCounter): STRCONV
7077
7078         * paragraph.C (asString): STRCONV
7079
7080         * lyxlength.C (asString): STRCONV
7081         (asLatexString): ditto
7082
7083         * lyxgluelength.C (asString): STRCONV
7084         (asLatexString): ditto
7085
7086         * lyxfunc.C (dispatch): STRCONV
7087         (open): ditto
7088
7089         * lyxfont.C (stateText): STRCONV
7090
7091         * importer.C (Import): STRCONV
7092
7093         * counters.C (labelItem): STRCONV
7094         (numberLabel): ditto
7095         (numberLabel): remove unused ostringstream o
7096
7097         * chset.C: STRCONV
7098         (loadFile): ditto
7099
7100         * bufferview_funcs.C (currentState): STRCONV
7101
7102         * buffer.C (readFile): STRCONV
7103         (asciiParagraph): ditto
7104         (makeLaTeXFile): ditto
7105
7106         * Spacing.C (writeEnvirBegin): STRCONV
7107
7108         * LaTeXFeatures.C (getLanguages): STRCONV
7109         (getPackages): ditto
7110         (getMacros): ditto
7111         (getBabelOptions): ditto
7112         (getTClassPreamble): ditto
7113         (getLyXSGMLEntities): ditto
7114         (getIncludedFiles): ditto
7115
7116         * LaTeX.C: STRCONV
7117         (run): ditto
7118         (scanAuxFile): ditto
7119         (deplog): ditto
7120
7121         * LString.h: add the STRCONV macros
7122
7123         * BufferView_pimpl.C (savePosition): STRCONV
7124         (restorePosition): ditto
7125         (MenuInsertLyXFile): ditto
7126
7127         * vc-backend.C (scanMaster): change from submatch[...] to
7128         submatch.str(...)
7129
7130         * funcrequest.C: include config.h
7131
7132         * factory.C: include config.h
7133
7134         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7135
7136         * box.C: include config.h
7137
7138         * LaTeX.C (scanAuxFile): change from submatch[...] to
7139         submatch.str(...)
7140         (deplog): ditto
7141
7142 2002-10-25  Angus Leeming  <leeming@lyx.org>
7143
7144         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7145
7146         * ispell.[Ch] (setError): new method.
7147         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7148         Use setError() insetead of goto END.
7149
7150         * lyx_cb.C (AutoSave): move out child process into new class
7151         AutoSaveBuffer.
7152
7153 2002-10-30  John Levon  <levon@movementarian.org>
7154
7155         * text3.C: make start appendix undoable
7156
7157 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7158
7159         * lyxlength.C (inPixels): Fix returned value.
7160
7161         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7162         environment.
7163
7164 2002-10-24  Angus Leeming  <leeming@lyx.org>
7165
7166         * lyxgluelength.h: no need to forward declare BufferParams
7167         or BufferView, so don't.
7168
7169 2002-10-21  John Levon  <levon@movementarian.org>
7170
7171         * BufferView.C: menuUndo ->undo, redo
7172
7173         * BufferView.h: document, remove dead, make some methods private
7174
7175         * paragraph_funcs.h:
7176         * paragraph_funcs.C:
7177         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7178
7179         * buffer.h:
7180         * buffer.C:
7181         * sgml.h:
7182         * sgml.C: move sgml open/close tag into sgml.C
7183
7184         * bufferview_funcs.h: unused prototype
7185
7186         * lyxfunc.h:
7187         * lyxfunc.C: remove unused
7188
7189         * lyxtext.h:
7190         * text.C: remove unused
7191
7192 2002-10-21  John Levon  <levon@movementarian.org>
7193
7194         * BufferView.h:
7195         * BufferView.C:
7196         * BufferView_pimpl.h:
7197         * BufferView_pimpl.C: fix mouse wheel handling based on
7198           patch from Darren Freeman
7199
7200 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7201
7202         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7203
7204 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7205
7206         * lyxlength.C (inPixels): Fix hanfling of negative length.
7207         Fix LyXLength::MU case.
7208
7209 2002-10-16  John Levon  <levon@movementarian.org>
7210
7211         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7212
7213 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7214
7215         * converter.C (view): add support for $$i (file name) and $$p
7216         (file path) for the viewer command. If $$i is not specified, then
7217         it is appended to the command (for compatibility with old syntax)
7218
7219 2002-10-14  Juergen Vigna  <jug@sad.it>
7220
7221         * undo_funcs.C (textHandleUndo): alter the order in which the
7222         new undopar is added to the LyXText, as we have to set first
7223         the right prev/next and then add it as otherwise the rebuild of
7224         LyXText is not correct. Also reset the cursor to the right paragraph,
7225         with this IMO we could remove the hack in "redoParagraphs()".
7226
7227 2002-10-09  Angus Leeming  <leeming@lyx.org>
7228
7229         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7230         to turn off an optimisation if a new inset is to be inserted.
7231
7232 2002-10-11 André Pönitz <poenitz@gmx.net>
7233
7234         * lyxtext.h: make some functions public to allow access
7235         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7236
7237 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * text3.C (dispatch): when changing layout, avoid an infinite loop
7240         [bug #652]
7241
7242 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7243
7244         * lyxrc.C (read): treat a viewer or converter command of "none" as
7245         if it were empty.
7246
7247         * MenuBackend.C (expandFormats): for an update, also allow the
7248         formats that are not viewable
7249
7250         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7251         script if it is newer than the lyxrc.defaults in user directory
7252
7253 2002-10-07 André Pönitz <poenitz@gmx.net>
7254
7255         * text.C: Vitaly Lipatov's small i18n fix
7256
7257 2002-09-25  Angus Leeming  <leeming@lyx.org>
7258
7259         * ispell.h: doxygen fix.
7260
7261 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7262
7263         * buffer.h (readFile): Add a new argument to the method, to allow
7264         reading of old-format templates.
7265
7266 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7267
7268         * toc.C (getTocList): Get TOC from InsetWrap.
7269
7270 2002-09-16  John Levon  <levon@movementarian.org>
7271
7272         * lyxfunc.C: check tabular for cut/copy too
7273
7274 2002-09-12  John Levon  <levon@movementarian.org>
7275
7276         * LyXAction.C: tidy
7277
7278         * factory.h:
7279         * factory.C: add header
7280
7281         * paragraph_funcs.h:
7282         * paragraph_funcs.C: cleanup
7283
7284 2002-09-11  John Levon  <levon@movementarian.org>
7285
7286         * PrinterParams.h: odd/even default to true
7287
7288 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7289
7290         * PrinterParams.h: update printer parameters for new xforms dialog
7291
7292 2002-09-11  Angus Leeming  <leeming@lyx.org>
7293
7294         * lyxserver.C (read_ready): re-write to make it more transparent
7295         and to make it work in coherent fashion under Tru64 Unix.
7296
7297 2002-09-11  André Pönitz <poenitz@gmx.net>
7298
7299         * commandtags.h:
7300         * LyXAction.C:
7301         * text3.C: implement LFUN_WORDSEL
7302
7303 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7306         make floatlist_ a boost::shared_ptr<FloatList>
7307
7308         * lyxtextclass.C: include FloatList.h
7309         (LyXTextClass): initialize floatlist_
7310         (TextClassTags): add TC_NOFLOAT
7311         (Read): match "nofloat" to TC_NOFLOAT and use it.
7312         (readFloat): modify call to floatlist_
7313         (floats): ditto
7314         (floats): ditto
7315
7316         * FloatList.[Ch] (FloatList): remove commented out float
7317         initialization.
7318         (erase): new function
7319
7320 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * MenuBackend.C (expandToc): fix crash when there is no document
7323         open
7324
7325 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7326
7327         * many files: Add insetwrap.
7328
7329 2002-09-09  John Levon  <levon@movementarian.org>
7330
7331         * text2.C: remove confusing and awkward depth wraparound
7332
7333 2002-09-09  John Levon  <levon@movementarian.org>
7334
7335         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7336
7337         * buffer.h:
7338         * buffer.C: remove getIncludeonlyList()
7339
7340         * paragraph.C:
7341         * lyxfunc.C: remove headers
7342
7343 2002-09-09  Juergen Vigna  <jug@sad.it>
7344
7345         * text.C (getColumnNearX): fix form Michael this is most
7346         probably a cut&paste bug.
7347
7348 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7351
7352         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7353         references, ws changes.
7354
7355         * text2.C (init): update counters after init
7356         (insertParagraph): no need to set counter on idividual paragraphs.
7357         (setCounter): access the counters object in the textclass object
7358         on in the buffer object.
7359         (updateCounters): ditto
7360
7361         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7362         shared_ptr<Counters> to avoid loading counters.h in all
7363         compilation units.
7364         (LyXTextClass): initialize ctrs_
7365         (TextClassTags): add TC_COUNTER, and ...
7366         (Read): use it here.
7367         (CounterTags): new tags
7368         (readCounter): new function
7369         (counters): new funtion
7370         (defaultLayoutName): return a const reference
7371
7372         * counters.C (Counters): remove contructor
7373         (newCounter): remove a couple of unneeded statements.
7374         (newCounter): simplify a bit.
7375         (numberLabel): some small formatting changes.
7376
7377         * buffer.[Ch]: remove all traces of counters, move the Counters
7378         object to the LyXTextClass.
7379
7380 2002-09-06  Alain Castera  <castera@in2p3.fr>
7381
7382         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7383         package to set the horizontal alignment on fixed width columns.
7384
7385         * lyx_sty.C:
7386         * lyx_sty.h: added tabularnewline macro def.
7387
7388         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7389
7390 2002-09-06  John Levon  <levon@movementarian.org>
7391
7392         * LyXAction.C: tooltips for sub/superscript
7393
7394         * MenuBackend.C: a bit more verbose
7395
7396         * lyxfunc.C: tiny clean
7397
7398         * undo_funcs.C: document undo_frozen
7399
7400 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * counters.C (Counters): add missing algorithm counter.
7403
7404         * text2.C (setCounter): lookup the counter with layouts latexname
7405         instead of by section number.
7406         (setCounter): use a hackish way to lookup the correct enum
7407         counter.
7408         a float name->type change
7409         reset enum couners with counter name directly instead of depth value.
7410
7411         * counters.C (Counters): remove the push_backs, change to use the
7412         float type not the float name.
7413         (labelItem): remove unused string, float name->type change
7414
7415         * counters.h: don't include vector, loose the enums and sects vectors
7416
7417 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7420         (Read): add float->TC_FLOAT to textclassTags
7421         (Read): and handle it in the switch
7422         (readFloat): new function
7423
7424         * FloatList.C (FloatList): comment out the hardcoded float
7425         definitions.
7426
7427         * lyxlayout.h: ws change.
7428
7429 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7430
7431         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7432
7433 2002-09-03  Angus Leeming  <leeming@lyx.org>
7434
7435         * BufferView_pimpl.h: qualified name is not allowed in member
7436         declaration: WorkArea & Pimpl::workarea() const;
7437
7438         * factory.C: added using std::endl directive.
7439
7440         * text3.C: added using std::find and std::vector directives.
7441
7442 2002-08-29  André Pönitz <poenitz@gmx.net>
7443
7444         * lyxtext.h:
7445         * text2.C: remove unused member number_of_rows
7446
7447         * Makefile.am:
7448         * BufferView2.C: remove file, move contents to...
7449         * BufferView.C: ... here
7450
7451         * BufferView_pimpl.C:
7452         * factory.C: move more inset creation to factory
7453
7454         * vspace.C: avoid direct usage of LyXText, ws changes
7455
7456         * BufferView.[Ch]:
7457                 don't provide direct access to WorkArea, use two simple
7458                 acessors haveSelction() and workHeight() instead
7459
7460
7461 2002-08-29  John Levon  <levon@movementarian.org>
7462
7463         * BufferView_pimpl.C (dispatch): do not continue when
7464           no buffer
7465
7466 2002-08-28  André Pönitz <poenitz@gmx.net>
7467
7468         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7469
7470         * BufferView.h:
7471         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7472
7473 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7474
7475         * buffer.C: increment LYX_FORMAT to 221
7476
7477         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7478         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7479
7480         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7481
7482         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7483
7484 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7485
7486         * factory.C (createInset): use LyXTextClass::floats
7487
7488         * MenuBackend.C (expandFloatListInsert):
7489         (expandFloatInsert):
7490         (expandToc):
7491
7492         * text2.C (setCounter):
7493
7494         * LaTeXFeatures.C (useFloat):
7495         (getFloatDefinitions):
7496
7497         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7498
7499         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7500         floatlist_, with accessor floats().
7501
7502         * FloatList.h: remove global FloatList
7503
7504 2002-08-26  André Pönitz <poenitz@gmx.net>
7505
7506         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7507
7508         * BufferView.h:
7509         * BufferView2.C:
7510         * BufferView_pimpl.C:
7511         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7512
7513 2002-08-25  John Levon  <levon@movementarian.org>
7514
7515         * LyXAction.C: fix margin note description
7516
7517 2002-08-24  John Levon  <levon@movementarian.org>
7518
7519         * buffer.C:
7520         * bufferlist.C:
7521         * bufferview_funcs.C:
7522         * lyxfont.C:
7523         * undo_funcs.C: cleanups
7524
7525         * lyxfunc.C: disable CUT/COPY when no selection
7526
7527 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7528
7529         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7530         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7531
7532         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7533         Add backward compatibility to "mono", "gray" and "no".
7534
7535 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7536
7537         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7538         (and file_format >= 200).
7539
7540 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7543
7544 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7545
7546         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7547
7548 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7549
7550         * BufferView_pimpl.C:
7551         * LyXAction.C:
7552         * buffer.C:
7553         * commandtags.h:
7554         * lyxfunc.C:
7555         * paragraph.[Ch]:
7556         * text2.C:
7557         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7558         inset and code to make it  work with the paragraph code. The inset
7559         can be anywhere in the paragraph, but will only do the expected
7560         thing in LaTeX if the layout file contains the parameter line
7561                         OptionalArgs    1
7562         (or more generally, a nonzero value) for that layout.
7563
7564 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * paragraph.h: remove the declaration of undefined counters class
7567         function.
7568
7569 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7570
7571         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7572         Dr. Richard Hawkins.
7573
7574 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7575
7576         * paragraph_funcs.h: remove some unneeded includes
7577
7578         * text.C (backspace): pasteParagraph now in global scipe
7579
7580         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7581         (pasteSelection): ditto
7582
7583         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7584         * paragraph_funcs.C (pasteParagraph): ... here
7585
7586 2002-08-20  André Pönitz <poenitz@gmx.net>
7587
7588         * commandtags.h: new LFUNs for swapping/copying table row/colums
7589
7590         * LyXAction.C:
7591         * lyxfunc.C: support for new lfuns
7592
7593 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * tabular.C:
7596         * buffer.[Ch]: remove NO_COMPABILITY stuff
7597
7598 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * boost.C (throw_exception): new file, with helper function for
7601         boost compiled without exceptions.
7602
7603         * paragraph.h:
7604         * lyxlength.C:
7605         * buffer.C:
7606         * ParameterStruct.h:
7607         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7608
7609         * bufferlist.C (emergencyWriteAll): use boost bind
7610
7611         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7612
7613         * text.C: include paragraph_funcs.h
7614         (breakParagraph): breakParagraph is now in global scope
7615
7616         * paragraph_funcs.[Ch]: new files
7617
7618         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7619         global scope
7620
7621         * buffer.C: include paragraph_funcs.h
7622         (insertStringAsLines): breakParagraph is now in global scope
7623
7624         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7625         paragraph_funcs.C
7626
7627         * CutAndPaste.C: include paragraph_funcs.h
7628         (cutSelection): breakParagraphConservative is now in global scope
7629         (pasteSelection): ditto
7630
7631         * buffer.h: declare oprator== and operator!= for
7632         Buffer::inset_iterator
7633
7634         * bufferlist.C (emergencyWrite): don't use fmt(...)
7635
7636         * text3.C: add using std::endl
7637
7638         * BufferView.C (moveCursorUpdate): remove default arg
7639
7640 2002-08-20  André Pönitz <poenitz@gmx.net>
7641
7642         * buffer.[Ch]: move inline functions to .C
7643
7644         * BufferView2.C:
7645         * BufferView_pimpl.C:
7646         * text.C:
7647         * buffer.[Ch]: use improved inset_iterator
7648
7649         * buffer.C:
7650         * paragraph.[Ch]: write one paragraph at a time
7651
7652 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7653
7654         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7655         style if style is not specified.
7656
7657 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7658
7659         * text2.C (setCounter): when searching for right label for a
7660         caption, make sure to recurse to parent insets (so that a caption
7661         in a minipage in a figure float works) (bug #568)
7662
7663 2002-08-20  André Pönitz <poenitz@gmx.net>
7664
7665         * text3.C: new file for LyXText::dispatch() and helpers
7666
7667         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7668
7669         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7670
7671 2002-08-19  André Pönitz <poenitz@gmx.net>
7672
7673         * lyxtext.h:
7674         * text.C: new LyXText::dispatch()
7675
7676         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7677
7678 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7679
7680         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7681
7682         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7683         Hebrew text.
7684
7685 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * Makefile.am: use $(variables) instead of @substitutions@
7688
7689 2002-08-15  André Pönitz <poenitz@gmx.net>
7690
7691         * lyxfunc.C:
7692         * BufferView_pimpl.C: streamlining mathed <-> outer world
7693         interaction
7694
7695         * commandtags.h:
7696         * LyXAction.C: remove unused LFUN_MATH
7697
7698 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7701
7702 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * paragraph.C (Paragraph): reformat a bit
7705         (cutIntoMinibuffer): use builtin InsetList function instad of
7706         doing it manually.
7707         (getInset): ditto
7708
7709         * buffer.C: include boost/bind.hpp, add using std::for_each
7710         (writeFileAscii): use ParagraphList iterators
7711         (validate): use for_each for validate traversal of paragraphs
7712         (getBibkeyList): use ParagraphList iterators
7713         (resizeInsets): use for_each to resizeInsetsLyXText for all
7714         paragraphs.
7715         (getParFromID): use ParagraphList iterators
7716
7717         * BufferView2.C (lockInset): use paragraph list and iterators
7718
7719 2002-08-14  John Levon  <levon@movementarian.org>
7720
7721         * lyxserver.C: remove spurious xforms include
7722
7723 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7726
7727 2002-08-13  André Pönitz <poenitz@gmx.net>
7728
7729         * LyXAction.[Ch]:
7730         * lyxfunc.C: further cleaning
7731
7732 2002-08-13  André Pönitz <poenitz@gmx.net>
7733
7734         * funcrequest.h: new constructor
7735
7736         * funcrequest.C: move stuff here from .h
7737
7738         * Makefile.am:
7739         * BufferView_pimpl.C:
7740         * LyXAction.C:
7741         * toc.C:
7742         * lyxfunc.C: subsequent changes
7743
7744         * lyxfunc.h: new view() member function
7745
7746         * lyxfunc.C: subsequent changes
7747
7748 2002-08-13  Angus Leeming  <leeming@lyx.org>
7749
7750         * BufferView2.C:
7751         * BufferView_pimpl.C:
7752         * buffer.C:
7753         * converter.C:
7754         * importer.C:
7755         * lyxfunc.C:
7756         * lyxvc.C:
7757         * toc.C:
7758         * vc-backend.C:
7759         changes due to the changed LyXView interface that now returns references
7760         to member variables not pointers.
7761
7762 2002-08-13  Angus Leeming  <leeming@lyx.org>
7763
7764         * WordLangTuple (word, lang_code): return references to strings,
7765         not strings.
7766
7767         * BufferView.h:
7768         * SpellBase.h:
7769         * lyxtext.h: forward-declare WordLangTuple.
7770
7771         * BufferView2.C:
7772         * ispell.C:
7773         * pspell.C:
7774         * text.C: #include "WordLangTuple.h".
7775
7776         * lyxtext.h:
7777         * text.C: (selectNextWordToSpellcheck): constify return type.
7778
7779 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7780
7781         * buffer.C:
7782         * buffer.h:
7783         * lyxtext.h:
7784         * paragraph.C:
7785         * paragraph_pimpl.h:
7786         * text.C:
7787         * text2.C:
7788         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7789         suggested by Angus.
7790         Made updateCounter always count from start of buffer, and removed
7791         second argument (par).
7792         Reverted floats number display to '#'. Perhaps I'll try again when the
7793         code base is sanitized a bit.
7794
7795 2002-08-12  Angus Leeming  <leeming@lyx.org>
7796
7797         * buffer.[Ch] (getLabelList): constify.
7798
7799 2002-08-07  André Pönitz <poenitz@gmx.net>
7800
7801         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7802
7803         * funcrequest.h: extension to keep mouse (x,y) position
7804
7805 2002-08-12  Juergen Vigna  <jug@sad.it>
7806
7807         * BufferView2.C (insertErrors): forbid undo when inserting error
7808         insets.
7809
7810         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7811
7812 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * ParagraphList.[Ch]: new files
7815
7816         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7817
7818         * BufferView2.C (lockInset): ParagraphList changes
7819         * toc.C: ditto
7820         * text2.C: ditto
7821         * bufferlist.C: ditto
7822         * buffer.h: ditto
7823         * buffer.C: ditto
7824
7825 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7828         unused class variable counter_,
7829
7830         * paragraph.[Ch] (getFirstCounter): delete unused function
7831
7832         * counters.C: include LAssert.h
7833         (reset): add a new function with no arg, change other version to
7834         not have def. arg and to not allow empty arg.
7835
7836         * text2.C (setCounter): remove empty arg from call to Counters::reset
7837
7838 2002-08-11  John Levon  <levon@movementarian.org>
7839
7840         * Makefile.am: add WordLangTuple.h
7841
7842 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7845         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7846
7847         * insets/insettext.C: InsetList changes
7848
7849         * graphics/GraphicsSupport.C (operator()): InsetList changes
7850
7851         * toc.C (getTocList): InsetList changes
7852
7853         * paragraph_pimpl.[Ch]: InsetList changes
7854
7855         * paragraph.[Ch]: InsetList changes
7856
7857         * buffer.C (inset_iterator): InsetList changes
7858         (setParagraph): ditto
7859         * buffer.h (inset_iterator): ditto
7860         * iterators.C (operator++): ditto
7861         * iterators.h: ditto
7862
7863         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7864
7865         * InsetList.[Ch]: new files, most InsetList handling moved out of
7866         paragraph.C.
7867
7868         * BufferView2.C (removeAutoInsets): InsetList changes
7869         (lockInset): ditto
7870         (ChangeInsets): ditto
7871
7872 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * paragraph_pimpl.h (empty): new function
7875
7876         * paragraph.[Ch] (empty): new function
7877
7878         * other files: use the new Paragraph::empty function
7879
7880 2002-08-09  John Levon  <levon@movementarian.org>
7881
7882         * lyxtext.h: remove unused refresh_height
7883
7884 2002-08-09  John Levon  <levon@movementarian.org>
7885
7886         * Makefile.am:
7887         * sgml.h:
7888         * sgml.C:
7889         * buffer.C:
7890         * paragraph.h:
7891         * paragraph.C: move sgml char escaping out of paragraph
7892
7893         * paragraph.h:
7894         * paragraph.C: remove id setter
7895
7896         * buffer.C:
7897         * paragraph.C:
7898         * paragraph_pimpl.C: remove dead tex_code_break_column
7899
7900         * bufferview_funcs.C: small cleanup
7901
7902         * lyxfunc.C: remove dead proto
7903
7904         * lyxtext.h: make some stuff private. Remove some dead stuff.
7905
7906         * lyxgluelength.C: make as[LyX]String() readable
7907
7908 2002-08-08  John Levon  <levon@movementarian.org>
7909
7910         * LyXAction.h:
7911         * LyXAction.C:
7912         * MenuBackend.C:
7913         * ToolbarDefaults.C:
7914         * lyxfunc.C:
7915         * lyxrc.C:
7916         * toc.C: lyxaction cleanup
7917
7918 2002-08-08  John Levon  <levon@movementarian.org>
7919
7920         * BufferView2.C: small cleanup
7921
7922         * lyxfind.h:
7923         * lyxfind.C: move unnecessary header into the .C
7924
7925 2002-08-08  John Levon  <levon@movementarian.org>
7926
7927         * funcrequest.h: just tedious nonsense
7928
7929         * lyx_main.h:
7930         * lyx_main.C: cleanups
7931
7932         * buffer.C:
7933         * vspace.C: remove dead header lyx_main.h
7934
7935 2002-08-07  Angus Leeming  <leeming@lyx.org>
7936
7937         * Paragraph.[Ch]:
7938         * paragraph_pimpl.h:
7939         Forward declare class Counters in paragraph.h by moving the ctrs member
7940         variable into Paragraph::Pimpl.
7941         (counters): new method, returning a reference to pimpl_->ctrs.
7942
7943         * text2.C: ensuing changes.
7944
7945 2002-08-07  John Levon  <levon@movementarian.org>
7946
7947         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7948
7949         * BufferView_pimpl.C: announce X selection on double/triple
7950           click
7951
7952         * lyx_main.C: use correct bool in batch dispatch
7953
7954         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7955
7956 2002-08-07  André Pönitz <poenitz@gmx.net>
7957
7958         * funcrequest.h: new class to wrap a kb_action and its argument
7959
7960         * BufferView.[Ch]:
7961         * BufferView_pimpl[Ch]:
7962         * LaTeX.C:
7963         * LyXAction.[Ch]:
7964         * lyxfunc.[Ch]:
7965         * lyxrc.C: subsequent changes
7966
7967
7968 2002-08-07  John Levon  <levon@movementarian.org>
7969
7970         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7971           document options change.
7972
7973 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7974
7975         * counters.[Ch]
7976         * text2.C
7977         * paragraph.[Ch]
7978         * makefile.am: move counters functionality over from
7979         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7980
7981 2002-08-06  John Levon  <levon@movementarian.org>
7982
7983         * WordLangTuple.h: new file for word + language code tuple
7984
7985         * SpellBase.h:
7986         * pspell.h:
7987         * pspell.C:
7988         * ispell.h:
7989         * ispell.C:
7990         * lyxtext.h:
7991         * text.C:
7992         * text2.C:
7993         * BufferView.h:
7994         * BufferView2.C: use WordLangTuple
7995
7996         * layout.h:
7997         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7998
7999 2002-08-06  John Levon  <levon@movementarian.org>
8000
8001         * lyx_main.C: fix cmdline batch handling
8002
8003 2002-08-06  André Pönitz <poenitz@gmx.net>
8004
8005         * lyxrc.C: set default for show_banner to true
8006
8007 2002-08-06  John Levon  <levon@movementarian.org>
8008
8009         * pspell.C: fix a crash, and allow new aspell to work
8010
8011 2002-08-06  John Levon  <levon@movementarian.org>
8012
8013         * lyxfunc.C:
8014         * kbmap.C: small cleanup
8015
8016         * vspace.h:
8017         * vspace.C: add const
8018
8019 2002-08-05  John Levon  <levon@movementarian.org>
8020
8021         * LyXAction.C: back to tabular-insert
8022
8023 2002-08-04  John Levon  <levon@movementarian.org>
8024
8025         * BufferView.h:
8026         * BufferView.C: cosmetic change
8027
8028         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8029
8030         * bufferlist.C:
8031         * buffer.h:
8032         * buffer.C:
8033         * lyxcb.h:
8034         * lyxcb.C:
8035         * lyxserver.C:
8036         * lyxvc.C:
8037         * vc-backend.C:
8038         * BufferView2.C: purge all "Lyx" not "LyX" strings
8039
8040         * lyxcursor.h:
8041         * lyxcursor.C: attempt to add some documentation
8042
8043         * lyxfunc.C:
8044         * commandtags.h:
8045         * LyXAction.C:
8046         * ToolbarDefaults.C:
8047         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8048           merge with LFUN_TABULAR_INSERT
8049
8050         * Makefile.am:
8051         * SpellBase.h:
8052         * ispell.h:
8053         * ispell.C:
8054         * pspell.h:
8055         * pspell.C: split up i/pspell implementations into separate
8056           files, many cleanups
8057
8058         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8059
8060         * text2.C: some cleanup
8061
8062         * lyxfunc.C: don't check for isp_command == "none" any more, it
8063           didn't make any sense
8064
8065 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8066
8067         * counters.[Ch]
8068         * text2.C
8069         * paragraph.[Ch]
8070         * makefile.am: move counters functionality over
8071         from text2.C/paragraph.[Ch] to counters.[Ch], and
8072         make proper C++.
8073 2002-08-02  John Levon  <levon@movementarian.org>
8074
8075         * buffer.C: s/lyxconvert/lyx2lyx/
8076
8077 2002-08-02  Angus Leeming  <leeming@lyx.org>
8078
8079         * lyxlex.C: revert John's change as it breaks reading of the user
8080         preamble.
8081
8082 2002-08-02  Angus Leeming  <leeming@lyx.org>
8083
8084         * importer.C (Import):
8085         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8086         changes due to LyXView::view() now returning a boost::shared_ptr.
8087
8088 2002-08-02  John Levon  <levon@movementarian.org>
8089
8090         * lyxlex.C: small cleanup
8091
8092 2002-08-02  John Levon  <levon@movementarian.org>
8093
8094         * text2.C (status): small cleanup, no logic change
8095
8096 2002-08-01  John Levon  <levon@movementarian.org>
8097
8098         * buffer.h:
8099         * buffer.C (writeFile): don't output alerts, caller
8100           handles this
8101
8102         * bufferlist.C:
8103         * lyx_cb.C: from above
8104
8105         * lyxfunc.C: allow to open non-existent files
8106
8107 2002-07-31  John Levon  <levon@movementarian.org>
8108
8109         * lyxserver.C: don't let incidental errors get
8110           in the way (errno)
8111
8112 2002-07-30  John Levon  <levon@movementarian.org>
8113
8114         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8115
8116 2002-07-30  John Levon  <levon@movementarian.org>
8117
8118         * lyxserver.h:
8119         * lyxserver.C: remove I/O callback too
8120
8121 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8124         log.
8125
8126 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * many files: strip,frontStrip -> trim,ltrim,rtrim
8129
8130 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * PrinterParams.h: remove extern containsOnly, and include
8133         support/lstrings.h instead.
8134
8135         * LaTeX.C (scanAuxFile): modify because of strip changes
8136         (deplog): ditto
8137         * buffer.C (makeLaTeXFile): ditto
8138         * bufferparams.C (writeFile): ditt
8139         * lyxfont.C (stateText): ditto
8140         * lyxserver.C (read_ready): ditto
8141         * vc-backend.C (scanMaster): ditto
8142
8143         * BufferView_pimpl.h: ws changes
8144
8145         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8146
8147 2002-07-26  André Pönitz <poenitz@gmx.net>
8148
8149         * kb_sequence.C: remove unnedred usings
8150
8151 2002-07-26  Juergen Vigna  <jug@sad.it>
8152
8153         * lyxfind.C (LyXReplace): we have to check better if the returned
8154         text is not of theLockingInset()->getLockingInset().
8155
8156 2002-07-25  Juergen Vigna  <jug@sad.it>
8157
8158         * lyxfind.C (LyXReplace): don't replace if we don't get the
8159         right LyXText.
8160
8161         * undo_funcs.C (createUndo): remove debugging code.
8162
8163 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8164
8165         * buffer.C (parseSingleLyXformat2Token): Use default placement
8166         when reading old floats.
8167
8168         * FloatList.C (FloatList): Change the default placement of figure
8169         and tables to "tbp".
8170
8171 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * MenuBackend.C: using std::max
8174
8175 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8176
8177         * MenuBackend.C (expandToc):
8178         (expandToc2): code moved from xforms menu frontend. It is now
8179         generic and TOCs are transparent to menu frontends.
8180
8181 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * toc.C (getTocList): protect against buf=0
8184
8185         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8186         Menu as first parameter. Now, this calls itself recursively to
8187         expand a whole tree (this will be useful for TOC handling)
8188         (expandFloatInsert): remove 'wide' version of floats
8189
8190         * MenuBackend.h (submenuname): returns the name of the submenu.
8191         (submenu): returns the submenu itself, provided it has been
8192         created by MenuBackend::expand
8193
8194 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8197         insets which have noFontChange == true. (bug #172)
8198
8199 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8200
8201         * BufferView_pimpl.C: add connection objects and use them...
8202         (Pimpl): here.
8203
8204 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8205
8206         * MenuBackend.C (expandLastfiles):
8207         (expandDocuments):
8208         (expandFormats):
8209         (expandFloatListInsert):
8210         (expandFloatInsert):
8211         (expand): split expand in parts
8212
8213 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * lyx_gui.C: use lyx_gui::exit()
8216
8217 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8218
8219         * LyXAction.C: show the failing pseudo action
8220
8221 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8222
8223         * buffer.C (readFile): Run the lyxconvert script in order to read
8224         old files.
8225
8226 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * LyXAction.C:
8229         * commandtags.h:
8230         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8231
8232 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * LyXAction.C:
8235         * commandtags.h:
8236         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8237
8238 2002-07-22  Herbert Voss  <voss@lyx.org>
8239
8240         * lengthcommon.C:
8241         * lyxlength.[Ch]: add support for the vertical lengths
8242
8243 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * toc.[Ch]: std:: fixes
8246
8247 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8248
8249         * lyxrc.C: do not include lyx_main.h
8250
8251         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8252         for layouts
8253
8254         * lyxrc.C:
8255         * encoding.C:
8256         * bufferlist.C:
8257         * BufferView2.C: include "lyxlex.h"
8258
8259         * tabular.h:
8260         * bufferparams.h: do not #include "lyxlex.h"
8261
8262         * lyxtextclasslist.C (Add): remove method
8263         (classlist): renamed to classlist_
8264
8265         * paragraph_pimpl.C:
8266         * paragraph.C:
8267         * text2.C:
8268         * CutAndPaste.C:
8269         * bufferview_funcs.C:
8270         * bufferlist.C:
8271         * text.C:
8272         * LaTeXFeatures.C:
8273         * buffer.C:
8274         * toc.C (getTocList): use BufferParams::getLyXTextClass
8275
8276         * toc.C (getTocList): use InsetFloat::addToToc
8277
8278         * toc.[Ch]: new files, containing helper functions to handle table
8279         of contents
8280
8281         * lyxfunc.C (dispatch): no need to remove spaces around command
8282         given as a string
8283         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8284         first command of the sequence; it is not very clever, but I do not
8285         have a better idea, actually
8286
8287         * LyXAction.C (LookupFunc): make sure to remove space at the
8288         beginning and end of the command
8289
8290 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * MenuBackend.C (getMenubar): new method: return the menubar of
8293         this menu set
8294         (read): treat differently reading of menu and menubar (in
8295         particular, the menubar has no name now)
8296         (Menu::menubar): remove
8297
8298         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8299         saving is finished
8300
8301 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8302
8303         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8304         a bibitem inset in a RTL paragraph.
8305
8306 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * paragraph_pimpl.C: constify
8309
8310         * BufferView_pimpl.C:
8311         * LaTeX.C:
8312         * lyxfunc.C: fix dispatch in a nicer way
8313
8314 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8315
8316         * lyxfunc.C (dispatch):
8317         * BufferView_pimpl.C:
8318         * BufferView_pimpl.h:
8319         * BufferView.C:
8320         * BufferView.h: rename Dispatch() to dispatch()
8321
8322         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8323
8324         * lyxlayout.C (Read): honor DependsOn tag
8325
8326         * lyxlayout.[Ch] (depends_on): new method
8327
8328         * version.C.in: update lyx_docversion
8329
8330         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8331
8332         * paragraph.C (validate): remove from here...
8333         * paragraph_pimpl.C (validate): ... and move here
8334         (isTextAt): make it const
8335
8336         * buffer.C (getLists): ws cleanup
8337
8338 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8339
8340         * language.C (read): Use iso8859-1 encoding in latex_lang
8341         (this prevents LyX from crashing when using iso10646-1 encoding).
8342
8343 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8344
8345         * text2.C (toggleInset): if cursor is inside an inset, close the
8346         inset and leave cursor _after_ it
8347
8348 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * lyxfunc.C: move minibuffer completion handling out of here
8351
8352 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * BufferView_pimpl.C:
8355         * LaTeX.C: fix dispatch calls
8356
8357 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8358
8359         * text.C (drawChars): Fix Arabic text rendering.
8360
8361 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * LyXAction.C:
8364         * commandtags.h:
8365         * lyxfunc.C: remove message-push/pop
8366
8367         * lyxserver.C:
8368         * lyxfunc.h:
8369         * lyxfunc.C: rationalise some code by removing verboseDispatch
8370           in favour of a bool argument to dispatch()
8371
8372 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8373
8374         * lyx_main.C (init): make sure to read symlinks as absolute paths
8375
8376 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * lyxfunc.h:
8379         * lyxfunc.C: no need for commandshortcut to be a member
8380
8381 2002-07-15  André Pönitz <poenitz@gmx.net>
8382
8383         * converter.C: add support for $$s (scripts from lib/scripts dir)
8384         * lyx_main.C: white space
8385
8386 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8387
8388         * bufferlist.C:
8389         * lyxrc.h:
8390         * lyxrc.C: remove second exit confirmation
8391
8392 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8393
8394         * BufferView.h:
8395         * BufferView.C:
8396         * BufferView2.C:
8397         * BufferView_pimpl.h:
8398         * BufferView_pimpl.C:
8399         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8400
8401 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * MenuBackend.C (expand): add numeric shortcuts to document menu
8404
8405         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8406
8407 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * lyxfont.C (setLyXFamily):
8410         (setLyXSeries):
8411         (setLyXShape):
8412         (setLyXSize):
8413         (setLyXMisc):
8414         (lyxRead):
8415         * debug.C (value):
8416         * buffer.C (asciiParagraph): use ascii_lowercase
8417
8418 2002-07-15  Mike Fabian  <mfabian@suse.de>
8419
8420         * lyxlex_pimpl.C (search_kw):
8421         * lyxlex.C (getLongString):
8422         * converter.h (operator<):
8423         * converter.C (operator<):
8424         * buffer.C (parseSingleLyXformat2Token):
8425         (asciiParagraph):
8426         * ToolbarDefaults.C (read):
8427         * MenuBackend.C (checkShortcuts):
8428         (read):
8429         * LColor.C (getFromGUIName):
8430         (getFromLyXName): use the compare_ascii_no_case instead of
8431         compare_no_case, because in turkish, 'i' is not the lowercase
8432         version of 'I', and thus turkish locale breaks parsing of tags.
8433
8434 2002-07-16  Angus Leeming  <leeming@lyx.org>
8435
8436         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8437         now takes a Buffer const & argument.
8438
8439 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8440
8441         * BufferView.C (resize): check there's a buffer to resize
8442
8443 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8444
8445         * lyxfunc.C: remove dead code
8446
8447         * lyxserver.h:
8448         * lyxserver.C: use lyx_guii::set_read_callback
8449
8450 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8451
8452         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8453         an inset in a RTL paragraph.
8454
8455 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8456
8457         * lyxfunc.C: repaint after a font size update
8458
8459 2002-07-15  André Pönitz <poenitz@gmx.net>
8460
8461         * lyxlength.C: inBP should be able to return negative values
8462
8463 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8464
8465         * lyxfunc.C: use lyx_gui::update_fonts()
8466
8467 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8468
8469         * lyxfunc.C: use lyx_gui::update_color()
8470
8471 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8472
8473         * bufferlist.C:
8474         * lyxfunc.h:
8475         * lyxfunc.C:
8476         * lyxrc.h:
8477         * lyxrc.C: remove file->new asks for name option, and let
8478           buffer-new take an argument
8479
8480 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8481
8482         * BufferView_pimpl.C: remove unneeded extra repaint()
8483
8484 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * LyXAction.C: allow command-sequence with NoBuffer
8487
8488         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8489
8490 2002-07-10  Angus Leeming  <leeming@lyx.org>
8491
8492         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8493
8494 2002-07-09  Angus Leeming  <leeming@lyx.org>
8495
8496         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8497
8498 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * lengthcommon.h: whitespace
8501
8502         * lyxfunc.C: update scrollbar after goto paragraph
8503
8504         * lyxtext.h: factor out page break drawing, and fix it so
8505           page break/added space paints as selected nicely
8506
8507 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8508
8509         * BufferView_pimpl.C: add FIXMEs, clean up a little
8510
8511 2002-07-09  André Pönitz <poenitz@gmx.net>
8512
8513         * lyxfont.[Ch]: support for wasy symbols
8514
8515 2002-07-08  André Pönitz <poenitz@gmx.net>
8516
8517         * BufferView_pimpl.C: apply John's patch for #93.
8518
8519 2002-07-05  Angus Leeming  <leeming@lyx.org>
8520
8521         * BufferView_pimpl.C (buffer): generate previews if desired.
8522
8523         * LColor.h: add "preview" to the color enum.
8524
8525         * LColor.C (LColor): add a corresponding entry to the items array.
8526
8527         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8528         with this buffer.
8529
8530 2002-07-05  Angus Leeming  <leeming@lyx.org>
8531
8532         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8533         The body of the code is now in the method that is passed an ostream &
8534         rather than a file name.
8535         Pass an additional only_preamble parameter, useful for the forthcoming
8536         preview stuff.
8537
8538 2002-07-03  André Pönitz <poenitz@gmx.net>
8539
8540         * lyxfunc.C: simplify getStatus() a bit for math stuff
8541
8542 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8543
8544         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8545
8546 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8547
8548         * text.C (changeRegionCase): do not change case of all the
8549         document when region ends at paragraph end (bug #461)
8550
8551 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8552
8553         * paragraph.C (startTeXParParams):
8554         (endTeXParParams): add \protect when necessary
8555
8556 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8557
8558         * BufferView_pimpl.C (workAreaExpose): remove warning
8559
8560 2002-06-27  Angus Leeming  <leeming@lyx.org>
8561
8562         * Makefile.am: add lyxlayout_ptr_fwd.h.
8563
8564 2002-06-26  André Pönitz <poenitz@gmx.net>
8565
8566         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8567
8568 2002-06-25  Angus Leeming  <leeming@lyx.org>
8569
8570         * lyxfunc.C (dispatch): Comment out the call to
8571         grfx::GCache::changeDisplay. The method no longer exists now that the
8572         pixmap generation part of the graphics loader has been moved into
8573         InsetGraphics.
8574
8575 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8576
8577         * text2.C: layout as layout
8578
8579         * text.C: layout as layout
8580
8581         * tabular.C (OldFormatRead): layout as layout
8582
8583         * paragraph_pimpl.C (TeXDeeper): layout as layout
8584         (realizeFont): layout as layout
8585
8586         * paragraph.C (writeFile): layout as layout
8587         (validate): layout as layout
8588         (getFont): layout as layout
8589         (getLabelFont): layout as layout
8590         (getLayoutFont): layout as layout
8591         (breakParagraph): layout as layout
8592         (stripLeadingSpaces): layout as layout
8593         (getEndLabel): layout as layout
8594         (getMaxDepthAfter): layout as layout
8595         (applyLayout): layout as layout
8596         (TeXOnePar): layout as layout
8597         (simpleTeXOnePar): layout as layout
8598         (TeXEnvironment): layout as layout
8599         (layout): layout as layout
8600         (layout): layout as layout
8601
8602         * lyxtextclass.C (compare_name): new functor to work with
8603         shared_ptr, layout as layout
8604         (Read): layout as layout
8605         (hasLayout): layout as layout
8606         (operator): layout as layout
8607         (delete_layout): layout as layout
8608         (defaultLayout): layout as layout
8609
8610         * lyxlayout_ptr_fwd.h: new file
8611
8612         * lyxlayout.C (Read): layout as layout
8613
8614         * lyx_cb.C (MenuInsertLabel): layout as layout
8615
8616         * bufferlist.C (newFile): layout as layout
8617
8618         * buffer.C (readLyXformat2): layout as layout
8619         (parseSingleLyXformat2Token): layout as layout
8620         (insertStringAsLines): layout as layout
8621         (asciiParagraph): layout as layout
8622         (latexParagraphs): layout as layout
8623         (makeLinuxDocFile): layout as layout
8624         (simpleLinuxDocOnePar): layout as layout
8625         (makeDocBookFile): layout as layout
8626         (simpleDocBookOnePar): layout as layout
8627         (getLists): layout as layout
8628
8629         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8630
8631         * CutAndPaste.C (cutSelection): layout as layout
8632         (pasteSelection): layout as layout
8633         (SwitchLayoutsBetweenClasses): layout as layout
8634
8635         * BufferView_pimpl.C (Dispatch): layout as layout
8636         (smartQuote): layout as layout
8637
8638         * BufferView2.C (unlockInset): layout as layout
8639
8640 2002-06-24  André Pönitz <poenitz@gmx.net>
8641
8642         * lyxfunc.C: fix #487
8643
8644 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * lyxrc.h:
8647         * lyxrc.C:
8648         * lyxfunc.C: remove display_shortcuts, show_banner
8649
8650 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * Buffer_pimpl.C: oops, update on resize
8653
8654 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * buffer.C:
8657         * converter.C:
8658         * exporter.C:
8659         * lyxfunc.C:
8660         * BufferView.h:
8661         * BufferView.C: use repaint()
8662
8663         * BufferView_pimpl.h:
8664         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8665           as it's a clearer description. Remove superfluous
8666           redraws.
8667
8668 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * text.C: fix bug 488. Not ideal, but getting
8671           getWord() to work properly for the insets that
8672           matter is more difficult ...
8673
8674 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8675
8676         * BufferView_pimpl.C:
8677         * LyXAction.C:
8678         * commandtags.h:
8679         * lyxfunc.C: remove the six million index lyxfuncs to just
8680           one, and DTRT (bug 458)
8681
8682 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * BufferView.h:
8685         * BufferView.C:
8686         * BufferView_pimpl.h:
8687         * BufferView_pimpl.C: clean up resize() stuff,
8688           and unnecessary updateScreen()s
8689
8690 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * BufferView.h:
8693         * BufferView.C:
8694         * BufferView_pimpl.h:
8695         * BufferView_pimpl.C:
8696         * lyxfind.h:
8697         * lyxfind.C:
8698         * minibuffer.C: remove focus management of workarea,
8699           not needed. Use screen's greyOut()
8700
8701 2002-06-17  Herbert Voss  <voss@lyx.org>
8702
8703         * converter.C: (convert) do not post a message, when converting
8704         fails, let the calling function decide what to do in this case
8705
8706 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * lyxfunc.C: tidy up a little
8709
8710 2002-06-16    <alstrup@diku.dk>
8711
8712         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8713         Got rid of FORMS_H_LOCATION include. Now we are
8714         GUII.
8715
8716 2002-06-15  LyX Development team  <lyx@rilke>
8717
8718         * buffer.[Ch] (sgmlOpenTag):
8719         (sgmlCloseTag): Added support for avoiding pernicious mixed
8720         content. Return number of lines written.
8721
8722         (makeLinuxDocFile):
8723         (makeDocBookFile): Fixed calls to sgml*Tag.
8724         Simple white space clean.
8725
8726         (simpleDocBookOnePar): Simple white space clean.
8727
8728         * tabular.[Ch] (docBook): Renamed to docbook and got another
8729         argument to related with the pernicious mixed content.
8730
8731         (docbookRow): Fixed calls for docbook inset method.
8732
8733 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8734
8735         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8736         so it's X11 independent.
8737
8738         * kb*.[Ch]: ditto.
8739
8740         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8741
8742 2002-06-15  Lyx Development team  <lyx@electronia>
8743
8744         * intl.h: Renamed getTrans to getTransManager.
8745
8746 2002-06-14  Angus Leeming  <leeming@lyx.org>
8747
8748         * Makefile.am: nuke forgotten stl_string_fwd.h.
8749
8750 2002-06-12  Angus Leeming  <leeming@lyx.org>
8751
8752         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8753
8754 2002-06-13  Angus Leeming  <leeming@lyx.org>
8755
8756         * LaTeX.C:
8757         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8758
8759 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8760
8761         * kbmap.C (getiso): add support for cyrillic and greek
8762
8763 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * BufferView.h:
8766         * BufferView.C:
8767         * BufferView_pimpl.h:
8768         * BufferView_pimpl.C: move bogus scrolling logic
8769           to xforms
8770
8771 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * lyxfunc.C:
8774         * BufferView_pimpl.C: view->resize() change
8775
8776 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * BufferView_pimpl.C: topCursorVisible
8779           prototype change
8780
8781 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * Makefile.am:
8784         * lyx_gui.h:
8785         * lyx_gui.C: move to frontends/
8786
8787         * main.C:
8788         * lyx_main.h:
8789         * lyx_main.C: changes from above
8790
8791 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * intl.C:
8794         * intl.h:
8795         * kbmap.C:
8796         * kbsequence.C:
8797         * lyx_cb.C:
8798         * lyx_main.C: minor tidy
8799
8800 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8801
8802         * BufferView_pimpl.h:
8803         * BufferView_pimpl.C:
8804         * BufferView.h:
8805         * BufferView.C: make painter() const,
8806           remove dead code
8807
8808         * BufferView2.C: use screen() accessor
8809
8810         * lyx_main.h:
8811         * lyx_main.C: some minor cleanup
8812
8813 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8814
8815         * BufferView_pimpl.h:
8816         * BufferView_pimpl.C: remove enter/leaveView,
8817           use workHeight()
8818
8819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * BufferView.h:
8822         * BufferView.C:
8823         * BufferView2.C:
8824         * BufferView_pimpl.h:
8825         * BufferView_pimpl.C: only construct screen once,
8826           rename
8827
8828         * lyxrc.C: remove pointless comment
8829
8830 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * BufferView.h:
8833         * BufferView.C: remove active() and belowMouse()
8834
8835         * BufferView_pimpl.h:
8836         * BufferView_pimpl.C: use workarea() not workarea_,
8837           and make it use a scoped_ptr instead
8838
8839 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * lyx_gui.C: add debug message on BadWindow
8842
8843 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * sp_spell.C: fdopen is not part of the C++ standard.
8846
8847         * paragraph.C (InsetIterator): use >= instead of ==
8848
8849 2002-06-07  Angus Leeming  <leeming@lyx.org>
8850
8851         Fixes needed to compile with Compaq cxx 6.5.
8852         * BufferView_pimpl.C:
8853         * DepTable.C:
8854         * buffer.C:
8855         * converter.C:
8856         * encoding.C:
8857         * lyx_gui.C:
8858         * lyx_main.C:
8859         * lyxtextclasslist.C:
8860         * minibuffer.C:
8861         * sp_spell.C:
8862         * tabular_funcs.C:
8863         * vc-backend.C:
8864         all c-library variables have been moved into namespace std. Wrap
8865         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8866
8867         * lyxlength.C:
8868         * tabular-old.C:
8869         * tabular.C:
8870         Add a using std::abs declaration.
8871
8872         * kbmap.h (modifier_pair):
8873         * paragraph.h (InsetTable, InsetList):
8874         * lyxfont.h (FontBits):
8875         type definition made public.
8876
8877         * bufferlist.C (emergencyWriteAll): the compiler complains that
8878         there is more than one possible lyx::class_fun template to choose from.
8879         I re-named the void specialisation as lyx::void_class_fun.
8880
8881         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8882
8883         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8884         the compiler is is unable to find tostr in write_attribute.
8885
8886 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * buffer.C (sgmlError): hide #warning
8889
8890 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * xtl/*: get rid of xtl, which is not in use anyway
8893
8894         * LyXAction.C (init):
8895         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8896         were unimplemented xtl experimentation
8897
8898 2002-06-04  André Pönitz <poenitz@gmx.net>
8899
8900         * lyxfunc.C: disable array operation on simple formulae
8901
8902 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * converter.C: constify a bit
8905
8906 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8907
8908         * lyx_gui.C: check xforms version correctly
8909
8910 2002-04-30  Herbert Voss  <voss@lyx.org>
8911
8912         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8913         "keep" option
8914
8915 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8918           attempt to register it with a VCS)
8919
8920 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * lyx_main.C (init): honor variables LYX_DIR_13x and
8923         LYX_USERDIR_13x
8924
8925 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8926
8927         * buffer.h:
8928         * buffer.C:
8929         * lyx_main.C: fix a crash on bad command line,
8930           and give a useful exit status on error
8931
8932         * lyxfunc.C (doImport): allow -i lyx to work
8933
8934 2002-03-30  André Pönitz <poenitz@gmx.net>
8935
8936         * lyxfunc.C: mathed font changes
8937
8938 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8939
8940         * LaTeX.C:
8941         * importer.h:
8942         * importer.C:
8943         * lyx_sty.h:
8944         * lyx_sty.C:
8945         * lyxlex.C:
8946         * lyxrow.h:
8947         * lyxtext.h:
8948         * paragraph.h:
8949         * paragraph.C:
8950         * texrow.h:
8951         * texrow.C:
8952         * text.C:
8953         * trans_mgr.h: srcdocs, and some minor cleanups
8954
8955 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8958         call getFont all the time)
8959
8960 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8961
8962         * switch from SigC signals to boost::signals
8963
8964 2002-05-29  André Pönitz <poenitz@gmx.net>
8965
8966         * paragraph_pimpl.C (getChar): don't call size() too often...
8967
8968 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * paragraph_pimpl.C (insertChar): do not try to update tables when
8971         appending (pos == size())
8972
8973         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8974         in order to reduce drastically the number of comparisons needed to
8975         parse a large document
8976
8977 2002-05-29  André Pönitz <poenitz@gmx.net>
8978
8979         * text.C:
8980         * text2.C:
8981         * lyxtextclass.C:
8982         * sp_pspell.h:
8983         * textclasslist.[Ch]:
8984         * sp_ispell.h: whitespace change
8985
8986 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8987
8988         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8989         lyxaction directly now.
8990
8991 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * trans.C:
8994         * lyxfont.C:
8995         * lyxvc.C: remove unused headers
8996
8997 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8998
8999         * Makefile.am:
9000         * buffer.h:
9001         * undostack.h:
9002         * undostack.C:
9003         * undo_funcs.h:
9004         * undo_funcs.C: some cleanups. Use shared_ptr
9005           and a template for the undo stacks.
9006
9007 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9008
9009         * BufferView_pimpl.h:
9010         * BufferView_pimpl.C:
9011         * kbmap.h:
9012         * kbmap.C:
9013         * kbsequence.h:
9014         * kbsequence.C:
9015         * lyxfunc.h:
9016         * lyxfunc.C:
9017         * text2.C: use key_state/mouse_state
9018
9019 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9020
9021         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9022         and LSubstring
9023
9024         * chset.C: change include order
9025         (loadFile): use boost regex and get rid of LRegex and LSubstring
9026
9027         * Makefile.am (BOOST_LIBS): new variable
9028         (lyx_LDADD): use it
9029
9030         * LaTeX.C: change include order.
9031         (scanAuxFile): use boost regex and get rid of LRegex and
9032         LSubstring
9033         (deplog): ditto
9034
9035 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9036
9037         * ColorHandler.h:
9038         * ColorHandler.C:
9039         * FontInfo.h:
9040         * FontInfo.C: moved to frontends/xforms/
9041
9042         * FontLoader.h:
9043         * FontLoader.C: moved into frontends for GUIIzation
9044
9045         * Makefile.am:
9046         * lyx_gui.C:
9047         * lyxfont.C:
9048         * lyxfunc.C: changes from above
9049
9050 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9051
9052         * LColor.C: remove spurious X include
9053
9054         * BufferView_pimpl.C:
9055         * Makefile.am:
9056         * font.h:
9057         * font.C:
9058         * text.C:
9059         * text2.C: move font metrics to frontends/
9060
9061 2002-05-24  Juergen Vigna  <jug@sad.it>
9062
9063         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9064         setting the undo_cursor.
9065
9066         * ParagraphParameters.h: include local includes first.
9067
9068 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * BufferView_pimpl.C:
9071         * BufferView_pimpl.h:
9072         * Makefile.am:
9073         * WorkArea.h:
9074         * WorkArea.C:
9075         * screen.C: move WorkArea into frontends/
9076
9077         * lyxscreen.h:
9078         * screen.C:
9079         * text.C:
9080         * BufferView.C:
9081         * BufferView2.C: move LyXScreen into frontends/
9082
9083         * lyxlookup.h:
9084         * lyxlookup.C:
9085         * lyx_gui.C: move lyxlookup into frontends/xforms/
9086
9087 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * BufferView2.C:
9090         * BufferView_pimpl.C:
9091         * FontLoader.C:
9092         * LyXView.h:
9093         * LyXView.C:
9094         * Makefile.am:
9095         * WorkArea.C:
9096         * XFormsView.h:
9097         * XFormsView.C:
9098         * buffer.C:
9099         * bufferlist.C:
9100         * bufferview_funcs.C:
9101         * converter.C:
9102         * importer.C:
9103         * lyx_cb.C:
9104         * lyx_gui.C:
9105         * lyx_main.C:
9106         * lyx_find.C:
9107         * lyxfunc.C:
9108         * lyxvc.C:
9109         * minibuffer.C:
9110         * text.C:
9111         * text2.C:
9112         * trans.C:
9113         * vc-backend.C: move LyX/XFormsView into frontends/
9114
9115 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * Makefile.am:
9118         * PainterBase.C:
9119         * PainterBase.h:
9120         * Painter.C:
9121         * Painter.h:
9122         * WorkArea.C:
9123         * WorkArea.h:
9124         * screen.C:
9125         * tabular.C:
9126         * text.C:
9127         * text2.C: move Painter to frontends/
9128
9129 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * buffer.C: comment out some some code that depend upon lyx_format
9132         < 220
9133
9134         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9135         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9136
9137         * buffer.h (NO_COMPABILITY): turn off compability
9138
9139         * ColorHandler.C: include scoped_array.hpp
9140
9141         * font.C: Use more specific smart_ptr header.
9142         * Painter.C: ditto
9143         * gettext.C: ditto
9144         * ShareContainer.h: ditto
9145         * lyx_main.h: ditto
9146         * kbmap.h: ditto
9147         * FontInfo.h: ditto
9148         * BufferView_pimpl.h: ditto
9149         * ColorHandler.h: ditto
9150
9151         * kbmap.C (defkey): change call to shared_ptr::reset
9152
9153 2002-05-21  Juergen Vigna  <jug@sad.it>
9154
9155         * buffer.C (insertErtContents): fix to insert ert asis if it is
9156         non empty. Skip it completely if it contains only whitespaces.
9157
9158 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9159
9160         * BufferView_pimpl.C:
9161         * BufferView2.C: clear selection on paste (bug 393)
9162
9163 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * DepTable.C: include ctime
9166
9167 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9170
9171 2002-05-14  Juergen Vigna  <jug@sad.it>
9172
9173         * text.C (breakParagraph): fixed function to honor the keepempty
9174         layout in the right maner and also to permit the right breaking
9175         algorithm on empty or non empyt keepempty paragraphs.
9176
9177         * paragraph.C (breakParagraph): we have to check also if the par
9178         is really empty (!size()) for isempty otherwise we do the wrong
9179         paragraph break.
9180
9181 2002-05-10  Juergen Vigna  <jug@sad.it>
9182
9183         * buffer.[Ch] : The following are only changes to the ert
9184         compatibility read reading old LaTeX layout and font stuff and
9185         convert it to ERTInsets.
9186
9187         * buffer.h: added isErtInset().
9188
9189         * buffer.C (struct ErtComp): add a fromlayout bool to check
9190         if we're inside a LaTeX layout.
9191         (isErtInset): new helper function.
9192         (insertErtContents): look for other ert insets before this one
9193         and insert the contents there, so that we don't have subsequent
9194         ERT insets with nothing between them. This way we create only one
9195         inset with multiple paragraphs. Also check if we don't insert only
9196         spaces ' ' as they are ignored anyway afterwards in the .tex file
9197         so if we have only spaces we will ignore this latex part in the
9198         new file.
9199         (parseSingleLyXformat2Token \\layout): better compatibility when
9200         reading layout-latex stuff.
9201         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9202         language tag.
9203         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9204         stuff after reading the inset only get the information back from
9205         the stack.
9206
9207 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9208
9209         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9210
9211         * LaTeXFeatures.C (getBabelOptions): New method.
9212
9213 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9214
9215         * BufferView_pimpl.C (Dispatch): work around missing argument for
9216         'layout'
9217
9218 2002-05-08  Juergen Vigna  <jug@sad.it>
9219
9220         * text.C (leftMargin): handle paragraph leftindent.
9221
9222         * paragraph.C (writeFile): write the new \\leftindent tag.
9223         (validate): handle leftindent code.
9224         (TeXEnvironment): handle paragraphleftindent code again.
9225
9226         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9227
9228         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9229         for paragrap_extra indent code and new token \\leftindent.
9230         (latexParagraphs): handle the leftindent as environment.
9231
9232         * ParameterStruct.h: added leftindent support.
9233
9234         * ParagraphParameters.C (leftIndent): added support functions for
9235         the paragraph left indent.
9236
9237         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9238         more appropriate.
9239
9240 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9243         inside insetERT.
9244
9245         * text.C (computeBidiTables): No bidi in insetERT.
9246
9247         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9248         in RTL documents.
9249
9250 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9251
9252         * version.C.in: pre 5
9253
9254 2002-05-02  José Matos  <jamatos@fep.up.pt>
9255         * buffer.C (makeDocBookFile): white space changes, add newline to
9256         command styles.
9257         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9258
9259         * tabular.C (docBook): fix typo.
9260
9261 2002-05-03  Juergen Vigna  <jug@sad.it>
9262
9263         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9264         change in LyXText as we can not be sure it was not freed.
9265         (drawOneRow): remove unused code.
9266
9267         * text.C (drawInset): redo the calculation of the need_break_row as
9268         it could have a row which was already freed.
9269         (draw): look at the return value of drawInset and return false if
9270         it also returned false.
9271         (paintRowText): look at the return value of draw and return false if
9272         it also returned false.
9273
9274         * lyxtext.h: added bool return type to drawInset() and draw() so that
9275         if we have a change in the row so that the rowbreak has to be redone
9276         we abort drawing as it will be called again.
9277
9278 2002-05-02  Juergen Vigna  <jug@sad.it>
9279
9280         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9281         a change in the maintext also if we're inside an inset.
9282         (Dispatch): set the cursor again after a break line and after the
9283         screen has been updated as it could be we're in a different row.
9284
9285         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9286         to set the cursor behind the pargraph with > size().
9287         (setCursor): check also for the same paragraph when checking where
9288         to put the cursor if we have a NFR inset.
9289
9290         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9291         parts of layout read further up as it still was in the wrong
9292         position.
9293
9294 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9295
9296         * screen.C (drawFromTo): change sine fullRebreak always return
9297         true.
9298
9299         * buffer.C (parseSingleLyXformat2Token): reindent some
9300
9301         * BufferView_pimpl.C (update): change since fullRebreak always
9302         return true.
9303         (Dispatch): git rid of the last hardcoded "Standard"s.
9304
9305 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9306
9307         * text2.[Ch] (fullRebreak): make it return void now that we always
9308         returned true.
9309
9310 2002-04-30  Juergen Vigna  <jug@sad.it>
9311
9312         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9313         ert compatibility check for "latex" layout.
9314
9315 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9316
9317         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9318         minipages: use col% instead of p%, and also use the current font.
9319         (makeLaTeXFile): Fix use babel condition.
9320         (parseSingleLyXformat2Token): Correct font when reading old floats.
9321
9322 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9323
9324         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9325         inserting list of floats.
9326
9327 2002-04-25  Herbert Voss  <voss@lyx.org>
9328
9329         * MenuBackend.C (expand): don't add the graphics extensions to the
9330         export menu
9331
9332 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9335         non-existing layout, do not complain if it was the default layout
9336         of the original class (bug #342)
9337
9338 2002-04-24  Juergen Vigna  <jug@sad.it>
9339
9340         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9341         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9342
9343 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9344
9345         * buffer.C (getBibkeyList): If using \bibliography, return the
9346         option field with the reference itself. Enables us to provide natbib
9347         support when using \bibliography.
9348
9349 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9350
9351         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9352
9353         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9354         natbib is provided by the LaTeX class.
9355
9356 2002-04-23  Juergen Vigna  <jug@sad.it>
9357
9358         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9359         Wakeup functions.
9360
9361         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9362
9363 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9366
9367         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9368         ensuremath around textordmasculine, textordfeminine and
9369         textdegree.
9370
9371 2002-04-19  Juergen Vigna  <jug@sad.it>
9372
9373         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9374         reinitializing the buffer otherwise row-dimensions may be wrong.
9375         (update): reset also the selection cursors if they do exits otherwise
9376         their x/y positions may be wrong.
9377
9378         * text2.C (cursorDown): don't enter the inset if we came from a row
9379         above and are one row over the inset.
9380
9381         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9382         really leaving an inset.
9383
9384 2002-04-18  Juergen Vigna  <jug@sad.it>
9385
9386         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9387         of the selected paragraph does not have the selected layout also if
9388         the last one had!
9389
9390         * text2.C (setLayout): fixed bug which did not change last selected
9391         paragraph.
9392
9393         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9394         changed the read and substituted \\end_float with \\end_inset!
9395
9396         * BufferView_pimpl.C (cursorPrevious):
9397         (cursorNext): fixed to make it work with rows heigher than the work
9398         area without moving the cursor only the draw of the row.
9399         (workAreaMotionNotify): fix jumping over high rows.
9400
9401 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9402
9403         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9404         Ressler.
9405
9406 2002-04-16  Juergen Vigna  <jug@sad.it>
9407
9408         * text2.C (setCursor): set also the irow().
9409         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9410         (cursorUp):
9411         (cursorDown): support for locking an inset if the x_fix value goes
9412         inside it. That way I can transverse insets too with cursor up/down.
9413
9414         * lyxrow.h: added irow helper function same as other (i) functions.
9415
9416         * BufferView_pimpl.C (cursorPrevious):
9417         (cursorNext): fixed for insets!
9418
9419 2002-04-15  Juergen Vigna  <jug@sad.it>
9420
9421         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9422         position otherwise it is wrong in some cases.
9423
9424         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9425         inside the inset before the call.
9426
9427 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9428
9429         * buffer.[Ch] (getBibkeyList): make it const.
9430
9431 2002-04-12  Juergen Vigna  <jug@sad.it>
9432
9433         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9434
9435         * text2.C (getCursorX): new helper function
9436         (setCursor): compute also ix_
9437         (setCursorFromCoordinates): set also ix.
9438
9439         * lyxcursor.h: added ix_ and helper functions.
9440
9441         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9442
9443         * buffer.C (insertStringAsLines): dont break paragraph if the this
9444         paragraph is inside an inset which does not permit it!
9445
9446         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9447         also with no chars on this paragraph.
9448         (paintRowText): only paint stuff if it's inside the workarea!
9449
9450         * paragraph.C (breakParagraph): honor keepempty flag and break the
9451         paragraph always below not above.
9452
9453         * BufferView2.C (unlockInset): update the paragraph layout on inset
9454         unlock as we changed paragraph in such a case.
9455
9456         * lyxfind.C (LyXFind): clear the former selection if not found!
9457
9458         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9459         again called in insertChar().
9460
9461         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9462         an inset which uses the whole row!
9463         (rightMargin): ditto.
9464         (insertChar): force a rebreak if we inserted an inset!
9465
9466 2002-03-28  Herbert Voss  <voss@lyx.org>
9467
9468         * lyxlength.[Ch]: add inBP() to get the right PS-point
9469         units (BigPoint). With inPixels we have rounding errors
9470
9471 2002-04-11  Juergen Vigna  <jug@sad.it>
9472
9473         * text2.C (setCursorFromCoordinates): set iy to the right value.
9474         (setCursor): add check if row->previous exists!
9475
9476         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9477         an old float_type as this was the case in the old code!
9478
9479         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9480
9481         * BufferView2.C (showLockedInsetCursor): use iy
9482         (fitLockedInsetCursor): ditto
9483
9484         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9485         locked insets as there we have the right value now.
9486
9487         * lyxcursor.C: added iy_ variable and iy functions to set to the
9488         baseline of cursor-y of the locked inset.
9489
9490         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9491         (setCursor): fixed for insets which need a full row.
9492
9493         * text.C (rowLastPrintable): don't ignore the last space when before
9494         an inset which needs a full row.
9495         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9496         as last character of a row when before a inset which needs a full row.
9497
9498 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9499
9500         * version.C.in: update date
9501
9502         * text2.C (fullRebreak): try to always return true and see what
9503         happens...
9504
9505 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * MenuBackend.C (expand): use Floating::listName
9508
9509         * FloatList.C (FloatList): add listName argument to the built-in
9510         floats
9511
9512         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9513         text associated with the float.
9514
9515 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9518
9519 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9520
9521         * ShareContainer.h: add a couple of missing typenames.
9522
9523 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9524
9525         * lyxrc.C (getDescription): use _() correctly rather than N_().
9526
9527 2002-03-28  Herbert Voss  <voss@lyx.org>
9528
9529         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9530         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9531
9532 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9535         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9536
9537 2002-03-29  Juergen Vigna  <jug@sad.it>
9538
9539         * lyxfunc.C (dispatch): add a missing fitCursor call.
9540
9541         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9542         it was scrolled by a cursor move, so return the bool status.
9543
9544         * BufferView.C (fitCursor): return the bool flag also to the outside
9545         world as this is needed.
9546
9547         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9548
9549         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9550         call the edit() as it is not needed (and wrong) IMO.
9551         (workAreaButtonPress): set the screen_first variable before evt.
9552         unlock the inset as this may change screen_first and then we have
9553         a wrong y position for the click!
9554
9555 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * MenuBackend.C (expand): another translation that I missed
9558
9559 2002-03-28  Juergen Vigna  <jug@sad.it>
9560
9561         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9562
9563         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9564
9565 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9568
9569         * MenuBackend.C (expand): fix export/view/update when there is no
9570         document open.
9571
9572 2002-03-27  Herbert Voss  <voss@lyx.org>
9573
9574         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9575         and text%
9576
9577 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * bufferview_funcs.C (currentState): only show paragraph number
9580         for is DEVEL_VERSION is set.
9581
9582         * lyxfunc.C (dispatch): put warning in INFO channel
9583
9584         * MenuBackend.C (expand): translate the name of floats
9585
9586         * FloatList.C (FloatList): mark the float names for translation
9587
9588         * converter.C (convert): use LibScriptSearch
9589
9590 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9591
9592         * MenuBackend.C (defaults): fix default menu (we might as well get
9593         rid of it...)
9594
9595 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9598         directory.
9599
9600 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9601
9602         * lyxvc.C: reorder includes.
9603
9604 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9607           properly
9608
9609 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * CutAndPaste.C: change layouts earlier on paste
9612           to avoid crashing when calling getFont()
9613
9614 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9615
9616         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9617         irritating #error.
9618
9619 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9620
9621         * WorkArea.C: remove 'Pending' debug message.
9622
9623         * most files: ws cleanup
9624
9625         * buffer.[Ch]: ws changes
9626
9627         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9628
9629 2002-03-21  Juergen Vigna  <jug@sad.it>
9630
9631         * tabular.C (SetMultiColumn): collapse also the contents of the
9632         cells and set the last border right. Added a Buffer const * param.
9633
9634 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9635
9636         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9637         linking or not.
9638
9639 2002-03-19  Juergen Vigna  <jug@sad.it>
9640
9641         * text2.C (clearSelection): reset also xsel_cache.
9642
9643         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9644         where it needs to be called (John tells us to do so too :)
9645         (selectionLost): reset sel_cache.
9646
9647         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9648
9649 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * text2.C (setCursorIntern): put debuging code in INSETS channel
9652
9653 2002-03-19  André Pönitz <poenitz@gmx.net>
9654
9655         * lyxfunc.C: tiny whitespace change
9656
9657 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * ToolbarDefaults.C (init):
9660         * LyXAction.C (init):
9661         * commandtags.h:
9662         * BufferView_pimpl.C (Dispatch):
9663         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9664
9665 2002-03-19  Allan Rae  <rae@lyx.org>
9666
9667         * exporter.C (Export): removeAutoInsets before doing anything else.
9668         While I've just introduced a dependency on BufferView this really is
9669         the best place to clean the buffer otherwise you need to cleanup in
9670         a dozen places before calling export or cleanup in a dozen functions
9671         that export calls.
9672
9673         * converter.C (runLaTeX):
9674         (scanLog): Better handling of removeAutoInsets and screen updates.
9675
9676         * lyxfunc.C (dispatch): small whitespace changes
9677
9678 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9679
9680         * WorkArea.C (C_WorkAreaEvent): return a value.
9681         (event_cb): return 1 if we handled the event, 0 otherwise.
9682
9683         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9684
9685 2002-03-18  Juergen Vigna  <jug@sad.it>
9686
9687         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9688         (GetAdditionalWidth): ditto.
9689         (RightLine): ditto.
9690         (LeftLine): ditto.
9691
9692         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9693         inset if we're there actually (probably not used right now but this
9694         is the direction to go for unifying code).
9695         (paste): disable code to clear the selection.
9696
9697         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9698         inside an InsetText and move the check further up as it is in the
9699         wrong place.
9700
9701         * text2.C (pasteSelection): set a selection over the pasted text.
9702
9703 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9704
9705         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9706         and libgraphics to build on Cygwin.
9707
9708 2002-03-15  Juergen Vigna  <jug@sad.it>
9709
9710         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9711         inserting an Inset into the paragraph. I know this is not the best
9712         fix but we already use current_view in CutAndPaste so we will remove
9713         all of it's using at the same time.
9714
9715         * buffer.C (sgmlError): deactivated function till it is rewritten in
9716         the right mode, now it can create problems.
9717
9718         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9719         before accessing it.
9720
9721 2002-03-14  Juergen Vigna  <jug@sad.it>
9722
9723         * undo_funcs.C (textHandleUndo): do the right thing when updating
9724         the inset after the undo/redo.
9725
9726         * text2.C (setCursor): just some testcode for #44 not ready yet.
9727
9728         * undo_funcs.C (textHandleUndo): set the next() and previous()
9729         pointers of the paragraph to 0 before deleting otherwise we have
9730         problems with the Paragraph::[destructor].
9731
9732         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9733         on a paragraph insertion.
9734
9735 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * buffer.C (asciiParagraph): use += operator for char append to
9738         string.
9739
9740         * paragraph.C (getFontSettings): compare >= not just >
9741         (highestFontInRange): ditto
9742         (setFont): ditto
9743
9744 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * paragraph.C: change several algorithm to be more appripriate for
9747         the problem domain. This is lookip in FontList and in the InsetList.
9748
9749 2002-03-13  André Pönitz <poenitz@gmx.net>
9750
9751         * commandtags.h:
9752         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9753
9754 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * commandtags.h:
9757         * LyXAction.C:
9758         * lyxfunc.C:
9759         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9760
9761 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * Painter.C (display): anon helper function, adjust code for this
9764         change.
9765         (pixmap): remove function.
9766
9767         * Painter.h: remove private display variable.
9768
9769         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9770
9771 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9772
9773         * WorkArea.[Ch]: remove figinset_canvas cruft.
9774
9775 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * lyxtextclass.C (operator): add one item cache optimization.
9778
9779         * bufferlist.h: doxy changes
9780
9781         * bufferlist.C: ws changes
9782
9783         * DepTable.[Ch] (ext_exist): place const in the right spot.
9784
9785         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9786         call resizeInsets.
9787         (workAreaExpose): call resizeInsets when the with BufferView changes.
9788         (Dispatch): adjust for protectedBlank removal
9789         (specialChar): call updateInset if the insert went ok.
9790
9791         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9792         specialChar instead.
9793
9794         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9795
9796         * BufferView.h: doxy change
9797
9798         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9799
9800         * lyxtextclass.C (operator[]): remove non-const version
9801         (defaultLayout): remove non-const version
9802
9803 2002-03-12  Juergen Vigna  <jug@sad.it>
9804
9805         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9806         did resize the LyXText too.
9807
9808         * buffer.C (readLyXformat2): set layout information on newly allocated
9809         paragraphs.
9810
9811         * tabular.C (OldFormatRead): set layout information on the paragraph.
9812
9813 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9814
9815         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9816
9817 2002-03-11  Juergen Vigna  <jug@sad.it>
9818
9819         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9820         plainly wrong.
9821         (resizeCurrentBuffer): force also the insets to resize themselfes.
9822         (moveCursorUpdate): fixed up for InsetText.
9823
9824 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9825
9826         * commandtags.h:
9827         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9828         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9829         value of Dialogs::tooltipsEnabled().
9830         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9831
9832 2002-03-08  Juergen Vigna  <jug@sad.it>
9833
9834         * BufferView_pimpl.C (updateInset): update inset inside inset also
9835         if it isn't inside theLockingInset().
9836
9837 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9838
9839         * buffer.C (asciiParagraph): redo some of the word and line length
9840         handling.
9841         (getLists): look for Caption instead of caption.
9842
9843 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * buffer.C (Buffer): initialize niceFile to true
9846         (makeLaTeXFile):
9847         (makeLinuxDocFile):
9848         (makeDocBookFile): make sure niceFile is true on exit
9849
9850 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9853
9854 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9855
9856         * LyXSendto.C: remove.
9857         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9858         * lyx_gui.C: remove now-redundant comment.
9859         * ColorHandler.h: remove forward declaration of class WorkArea.
9860         * lyxfunc.C: remove #include "WorkArea.h".
9861
9862 2002-03-07  Juergen Vigna  <jug@sad.it>
9863
9864         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9865         got moved away with the DEPM and also set the inset_owner always
9866         right which before could have been omitted.
9867
9868 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9869
9870         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9871         wanted layout is not found.
9872
9873 2002-03-07  Juergen Vigna  <jug@sad.it>
9874
9875         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9876
9877 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * paragraph.C (breakParagraph): use default layout not layout of
9880         prev paragraph.
9881         (Paragraph): clear ParagraphParameters.
9882
9883 2002-03-06  Juergen Vigna  <jug@sad.it>
9884
9885         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9886         otherwise it would not be a valid lenght. Fixed a special case in
9887         the minipage compatibility read where we end the document with a
9888         minipage.
9889
9890         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9891         was set as it could be 0 for InsetTexts first entry.
9892
9893 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * paragraph.C (writeFile): if layout is empty write out
9896         defaultLayoutName().
9897
9898         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9899         file without named layout we set layout to defaultLayoutName().
9900
9901 2002-03-06  Juergen Vigna  <jug@sad.it>
9902
9903         * CutAndPaste.C (copySelection): set layout for new paragraph.
9904
9905         * text.C (prepareToPrint): leave ERT inset left aligned
9906         (leftMargin): don't indent paragraphs inside ERT insets
9907
9908 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * paragraph.C (breakParagraph): dont call clear do the work manually
9911
9912         * paragraph.[Ch] (clear): remove function
9913
9914 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9915
9916         * paragraph.C (Paragraph): dont call clear, the work has already
9917         been done.
9918
9919         * lyxtextclass.C (operator): assert if n is empty
9920
9921         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9922         work manually instead.
9923
9924 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * BufferView_pimpl.C: protect selectionLost against text == 0
9927
9928 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9929
9930         * text.C (breakParagraph): fix a setting layout to '0' problem.
9931
9932 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9933
9934         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9935         final location of file, for the included files, and graphics.
9936
9937 2002-03-05  Juergen Vigna  <jug@sad.it>
9938
9939         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9940
9941 2002-03-04  Juergen Vigna  <jug@sad.it>
9942
9943         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9944
9945         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9946         last column of multicolumn cells.
9947         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9948
9949 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9950
9951         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9952         file if it doesn't go to a temporary file.
9953
9954         * buffer.C (sgmlOpenTag):
9955         (sgmlCloseTag):  remove extra newline insertion.
9956
9957 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9958
9959         * text.C (getRowNearY): comment out debug msg
9960
9961 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9962
9963         * text2.C: first -> first_y
9964
9965         * text.C (getRowNearY): add some attemts at a possible
9966         optimization, not working.
9967
9968         * tabular.[Ch]: add BufferParams to several function so that newly
9969         created paragraph can be initialized to he default layotu for the
9970         buffers textclass.
9971
9972         * tabular-old.C (ReadOld): add buf->params to call of Init
9973
9974         * screen.C: rename text->first to text->first_y
9975
9976         * paragraph.C (breakParagraph): always set layout in the broken
9977         paragraph
9978
9979         * lyxtextclass.C (Read): remove lowercase
9980         (hasLayout): ditto
9981         (operator): ditto
9982         (delete_layout): ditto
9983
9984         * lyxtext.h: rename first -> first_y
9985
9986         * lyxlayout.C (Read): remove lowercase
9987         (name): ditto
9988         (setName): ditto
9989         (obsoleted_by): ditto
9990
9991         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9992
9993         * buffer.C (insertErtContents): add params are to InsetERT
9994         (parseSingleLyXformat2Token): add code to check if a paragraphs
9995         layout really exist.
9996         (parseSingleLyXformat2Token): add params to several inset
9997         constructors
9998         (asciiParagraph): remove lowercase, do the layout comparisons with
9999         no_case
10000
10001         * BufferView_pimpl.C (cursorNext): first -> first_y
10002         (resizeCurrentBuffer): first -> first_y
10003         (updateScrollbar): first -> first_y
10004         (scrollCB): first -> first_y
10005         (workAreaMotionNotify): first -> first_y
10006         (workAreaButtonPress): first -> first_y
10007         (checkInsetHit): first -> first_y
10008         (cursorPrevious): first -> first_y
10009         (cursorNext): first -> first_y
10010         (Dispatch): add buffer_->params to severl inset contructors
10011
10012 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10013
10014         * lyxlayout.C (Read): remove some debug info that I forgot.
10015
10016         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10017         clean up the code slightly.
10018         (makeLinuxDocFile): ditto
10019         (makeDocBookFile): ditto
10020
10021         * text2.C: layout as string
10022
10023         * text.C: layout as string
10024
10025         * paragraph_pimpl.C: layout as string
10026
10027         * paragraph.[Ch]: layout as string
10028
10029         * lyxtextclasslist.[Ch]: layout as string
10030
10031         * lyxtextclass.[Ch]: layout as string
10032
10033         * lyxtext.h: layout as string
10034
10035         * lyxlayout.[Ch]: layout as string
10036
10037         * lyx_cb.C: layout as string
10038
10039         * bufferview_funcs.C: layout as string
10040
10041         * bufferparams.C: layout as string
10042
10043         * buffer.C: layout as string
10044
10045         * LyXView.[Ch]: layout as string
10046
10047         * LaTeXFeatures.[Ch]: layout as string
10048
10049         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10050
10051         * BufferView_pimpl.C: change current_layout to string, remove
10052         lyx::layout_type.
10053         (Dispatch):
10054         (smartQuote):
10055         (insertInset):
10056         (workAreaButtonRelease): layout as string
10057
10058         * BufferView2.C (unlockInset): adjust
10059
10060         * vspace.C (asLatexCommand): use an explict temp variable.
10061
10062 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * Makefile.am: use FRONTEND_*
10065
10066 2002-03-01  Juergen Vigna  <jug@sad.it>
10067
10068         * tabular.C (SetWidthOfMulticolCell): changed to something better
10069         I hope but still work in progress.
10070         (recalculateMulticolumnsOfColumn): renamed function from
10071         recalculateMulticolCells as it is more appropriate now.
10072         (SetWidthOfCell): calculate multicols better.
10073
10074 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10077
10078         * lyxfunc.C (processKeySym): print sequence also if it is
10079         `deleted' (complete)
10080
10081         * kbsequence.C (print): print sequence even if it is deleted
10082         (complete would be a better word, actually).
10083
10084         * lyxfunc.C (dispatch): print complete options after a prefix key
10085
10086         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10087
10088 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10089
10090         * text2.C (setCharFont): eliminate setCharFont code duplication.
10091
10092 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10093
10094         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10095         LFUN_TABULAR_FEATURE (bug #177)
10096
10097 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10098
10099         * Makefile.am: remove figure.h
10100
10101 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10102
10103         * Bufferview_pimpl.C:
10104         * CutAndPasteC:
10105         * LaTeX.C:
10106         * LyXSendto.C:
10107         * buffer.C:
10108         * bufferlist.C:
10109         * converter.C:
10110         * language.C:
10111         * lyxfunc.C:
10112         * lyxvc.C:
10113         * paragraph.C:
10114         * text.C:
10115         * text2.C: remove #include "lyx_gui_misc.h".
10116
10117         * LaTeX.C: added #include <cstdio>
10118
10119 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10122         that the paragraph following this one can have.
10123
10124         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10125
10126         * vspace.C (asLatexCommand): fix bogus gcc warning
10127
10128         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10129
10130 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10131
10132         * text2.C (setLayout): get rid of redundant code
10133
10134 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10135
10136         * text2.C (incDepth): make sure depth cannot be increased beyond
10137         reasonable values.
10138
10139 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10140
10141         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10142         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10143
10144         * PainterBase.h (image):
10145         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10146         a LyXImage const *.
10147
10148 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * BufferView.C:
10151         * BufferView.h:
10152         * BufferView_pimpl.C:
10153         * BufferView_pimpl.h:
10154         * LaTeXFeatures.C:
10155         * LyXAction.C:
10156         * LyXView.C:
10157         * Makefile.am:
10158         * UpdateList.h:
10159         * UpdateList.C:
10160         * buffer.C:
10161         * figure.h:
10162         * figureForm.C:
10163         * figureForm.h:
10164         * figure_form.C:
10165         * figure_form.h:
10166         * lyx_cb.C:
10167         * lyx_gui.C:
10168         * lyx_gui_misc.C:
10169         * lyxfunc.C:
10170         * sp_base.h:
10171         * sp_ispell.h:
10172         * sp_pspell.h:
10173         * sp_spell.C: remove fig inset, and the crap house of
10174           cards that follows it
10175
10176 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * Makefile.am:
10179         * lyxserver.C:
10180         * os2_defines.h:
10181         * os2_errortable.h:
10182         * nt_defines.h: move .h into support/
10183
10184         * vms_defines.h: remove
10185
10186         * WorkArea.C: add space in debug output
10187
10188         * text2.C:
10189         * paragraph.C:
10190         * buffer.C: add WITH_WARNINGS
10191
10192         * vc-backend.h:
10193         * vc-backend.C:
10194         * bufferlist.C: s/retrive/retrieve/, add docs
10195
10196         * vspace.h:
10197         * vspace.C:
10198         * kbmap.h:
10199         * lyxlength.h:
10200         * lyxgluelength.h:
10201         * length_common.h:
10202         * chset.h:
10203         * chset.C: add docs
10204
10205         * lyxgui.C: add ID to X error handler
10206
10207         * lyxtestclass.c: fix typo
10208
10209 2002-02-26  Juergen Vigna  <jug@sad.it>
10210
10211         * tabular_funcs.C (write_attribute): changed so that some default
10212         attributes are not written at all.
10213         (getTokenValue): set default values before trying to read the
10214         value so we have the return value always set as default if we don't
10215         find the token we search for.
10216
10217         * tabular.C (Write): write bools as bools not as strings!
10218
10219 2002-02-22  Juergen Vigna  <jug@sad.it>
10220
10221         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10222         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10223
10224         * text.C (leftMargin): don't add an indent for paragraphs inside
10225         tabular cells (fix #208).
10226
10227 2002-02-21  José Matos  <jamatos@fep.up.pt>
10228
10229         * tabular.C (docBook): fixed support for long tables.
10230
10231 2002-02-20  Juergen Vigna  <jug@sad.it>
10232
10233         * text2.C (getFont): get the drawing font of the Inset if this
10234         paragraph is inside an inset (only important for InsetERT for now).
10235
10236         * buffer.C (insertErtContents): use new lanugage params in ERT
10237         constructor.
10238
10239         * CutAndPaste.C: commenting out seemingly uneeded code.
10240
10241 2002-02-19  Allan Rae  <rae@lyx.org>
10242
10243         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10244         Iterators might be simple to use but they also get invalidated.
10245         (removeAutoInsets): renamed saved cursor tracking variables and added
10246         some comments to clarify what everything does.
10247
10248 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * Chktex.C:
10251         * LaTeX.C:
10252         * LyXSendto.C:
10253         * converter.C:
10254         * lyx_cb.C:
10255         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10256         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10257
10258         * lyxfunc.C:
10259         * vc-backend.h: remove #include "support/syscall.h"
10260
10261         * LaTeX.C:
10262         * LyXSendto.C:
10263         * converter.C: rearrange #includes in Lars' approved fashion.
10264
10265         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10266         forward declare class Timeout in the header file.
10267
10268         * XFormsView.C: changes due to the above.
10269
10270         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10271         similar to LyXView.
10272
10273         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10274         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10275
10276 2002-02-18  José Matos  <jamatos@fep.up.pt>
10277
10278         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10279         insets contents.
10280
10281 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10282
10283         * a lot of small ws changes
10284         * add a lot of using std::XXX
10285         * use std construcs some places where approp.
10286         * use some exisint stuff from lyxfunctional where approp.
10287         * Make file changes to use partial linking (lets test this now...)
10288
10289 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10290
10291         * Chktex.C:
10292         * buffer.C:
10293         remove #include "support/syscontr.h" as it's redundant. Always has been.
10294
10295         * Chktex.C:
10296         * LaTeX.C:
10297         * LyXSendto.C:
10298         * converter.C:
10299         * lyx_cb.C:
10300         * vc-backend.C:
10301         change Systemcalls::System to Systemcalls::Wait and
10302         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10303         No change of functionality, just reflects the stripped down Systemcalls
10304         class.
10305
10306 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10307
10308         * debug.[Ch]: add a GRAPHICS type to the enum.
10309
10310 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10313
10314         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10315         there is an inset.
10316
10317 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10320         match the changes below.
10321
10322         * text2.C (toggleInset): if there is not editable inset at cursor
10323         position, try to see if cursor is _inside_ a collapsable inset
10324         and close it.
10325
10326 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10329         document menu has a nice checkbox
10330
10331 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * lyxlength.C (asLatexString): change PW to output as percent of
10334         \textwidth.
10335
10336         * lengthcommon.C: change '%' to 't%'
10337
10338         * lyxfunc.C (dispatch): a few comments from Martin
10339
10340 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * WorkArea.h:
10343         * WorkArea.C:
10344         * BufferView_pimpl.h:
10345         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10346           the X selection.
10347
10348 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * vspace.C (inPixels): fix compiler warning
10351
10352 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxfunc.C (getStatus): fix status message for disabled commands.
10355
10356 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView_pimpl.C: fix crash on close buffer
10359         during selection (#227)
10360
10361 2002-01-27  Herbert Voss  <voss@lyx.org>
10362
10363         * buffer.C: link old Figure to new graphic inset
10364
10365 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * FontLoader.C (getFontinfo): Change the latex font names in order
10368         to match the names of type1inst.
10369
10370 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10373
10374         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10375         (extchanged): ditto
10376         (ext_exist): ditto
10377         (remove_files_with_extension): ditto
10378         (remove_file): ditto
10379         (write): ditto
10380
10381         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10382         document is smaller than the work area height. Do not initialize
10383         static variables to 0.
10384
10385 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10388
10389         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10390         LFUN_LAYOUT_PARAGRAPHS.
10391
10392         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10393         tabular. It is possible to provide a possible cell, which will
10394         typically be the actcell from the corresponding insettabular
10395
10396         * lyxfunc.C (getStatus): small cleanup; disable
10397         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10398         true
10399
10400 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10403
10404         * paragraph.C (startTeXParParams):
10405         (endTeXParParams): new methods. The LaTeX code to
10406         start/end paragraph formatting
10407         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10408         empty (fixes bug #200)
10409
10410         * vspace.C (inPixels): adapt to the change below
10411         (inPixels): [later] more cleanups (remove unused variables)
10412
10413         * lyxlength.C (inPixels): change to use a width and a height as
10414         parameter.
10415
10416 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10417
10418         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10419         Replaced with \paperwidth
10420
10421         * DepTable.C (insert): add std:: qualifier
10422
10423 2002-01-18  Allan Rae  <rae@lyx.org>
10424
10425         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10426         updated also?
10427
10428         * text.C (drawInset): Turned out I didn't know enough about how
10429         rebreaking worked.  This fixes most of the redraw problems.  I see
10430         an occasional cursor trail when a line is broken now and the cursor
10431         placement can seem out by a few pixels also after a rebreak.
10432
10433 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * buffer.C (parseSingleLyXformat2Token): update because minipage
10436         width is now a LyXLength
10437
10438         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10439
10440         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10441         math insets
10442
10443 2002-01-17  Juergen Vigna  <jug@sad.it>
10444
10445         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10446
10447         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10448         is set correctly and the inset is updated correctly.
10449
10450 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10453         the beginning of the loop.
10454
10455 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * lyxrc.C: improve help for use_scalable_fonts
10458
10459 2002-01-17  Allan Rae  <rae@lyx.org>
10460
10461         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10462
10463 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10466         make sure to set their inset_owner to the right value (bug #171)
10467
10468 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10469
10470         * DepTable.h
10471         * DepTable.C: Implement mtime checking to reduce time spent doing
10472         CRCs.
10473
10474 2002-01-16  Juergen Vigna  <jug@sad.it>
10475
10476         * tabular.C (GetAdditionalHeight): one of error fixed.
10477
10478         * lyxrc.C (output): small fix in writing use_pspell.
10479
10480 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10481
10482         * sp_base.h: #include LString.h
10483
10484 2002-01-16  Allan Rae  <rae@lyx.org>
10485
10486         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10487         Can someone check this please?
10488
10489         * text.C (drawInset): It was possible that p.row would be removed by
10490         breakAgainOneRow upsetting a few other settings.  There may be another
10491         small tweak possible by setting need_break_row = 0 when p.row has been
10492         removed but I don't know enough about the logic here.
10493
10494 2002-01-15  Allan Rae  <rae@lyx.org>
10495
10496         * text.C (insertChar): removed conditional truism.
10497
10498         * BufferView2.C (removeAutoInsets): More tweaks.
10499         cur_par_prev could be a stray pointer.  Check for trailing empty line
10500         in case last line was cur_par and only had an error inset on it.
10501
10502 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10505         absolute
10506
10507         * vc-backend.C (most methods):
10508         * exporter.C (Export):
10509         * converter.C (convert):
10510         (runLaTeX):
10511         * LyXSendto.C (SendtoApplyCB):
10512         * lyxfunc.C (dispatch):
10513         (menuNew):
10514         (open):
10515         (doImport):
10516         * lyx_cb.C (AutoSave):
10517         (InsertAsciiFile):
10518         * BufferView_pimpl.C (MenuInsertLyXFile):
10519         * buffer.C (runChktex): use Buffer::filePath().
10520
10521         * buffer.h: rename filename to filename_; rename filepath to
10522         filepath_ and make it private
10523         (filePath): new method
10524
10525         * buffer.C (writeFile): use fileName()
10526         (getLatexName):
10527
10528         * lyx_main.C (init): fix starting  of LyX when the binary is a
10529         link from so,ewhere else.
10530
10531         * minibuffer.C: include <cctype> for isprint
10532
10533 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10536         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10537         name clash with InsetCollapsable's width function.
10538
10539 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * lastfiles.C: include <iterator>
10542
10543 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10544
10545         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10546         std::count.
10547
10548         * buffer.C (makeLaTeXFile): ditto.
10549         Also make loop operation more transparent.
10550
10551 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10552
10553         * ToolbarDefaults.C: remove trailing comma closing namespace.
10554
10555         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10556
10557         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10558         as in WorkArea.
10559
10560         * trans.C (Load): comment out unused variable, allowed.
10561
10562 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10563
10564         * minibuffer.[Ch] (append_char): new method to recieve input from the
10565         drop-down completion browser. If a key was pressed, then recieve this
10566         char and append it to the existing string.
10567         (peek_event): modify the positioning data passed to the completion
10568         browser so that it can be placed above the minibuffer rather than below.
10569 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * LyXAction.C (init): alloe error-next for readonly documents.
10572
10573         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10574         count.
10575
10576 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * bufferlist.C (readFile): create the buffer _after_ checking that
10579         the file exists.
10580
10581         * lyxfunc.C (verboseDispatch): fix handling of arguments
10582
10583         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10584
10585         * lyxrc.C: use string::erase() instead of initializing to "".
10586
10587
10588 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView_pimpl.h:
10591         * BufferView_pimpl.C:
10592         * WorkArea.h:
10593         * WorkArea.C:
10594         * text2.C: tell X when we have made a selection for copying
10595
10596 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * BufferView_pimpl.C (MenuInsertLyXFile):
10599         * lyxfunc.C (menuNew):
10600         (open):
10601         (doImport): add shortcuts to directory buttons
10602
10603         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10604         open a float)
10605
10606         * lyxfunc.C (setStatusMessage):
10607         (getStatusMessage): new methods
10608         (getStatus):use setStatusMessage instead of setErrorMessage
10609         (dispatch): when function is disabled, set error message here
10610         [instead of in getStatus previously]
10611
10612         * BufferView_pimpl.C (workAreaButtonRelease): update
10613         toolbar/menubar here too.
10614
10615 2002-01-13  Allan Rae  <rae@lyx.org>
10616
10617         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10618         Now seems indestructible.  Remaining task is to audit all other
10619         code affected by deleteEmptyParagraphMechanism.  One small quirk
10620         left is that an empty document with an error in the preamble can
10621         be made to report an error but no error box appears.  I don't know
10622         where it goes.
10623         (removeAutoInsets): Improved comments.
10624
10625 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * Thesaurus.h:
10628         * Thesaurus.C: update for Aiksaurus 0.14
10629
10630 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * text2.C (firstParagraph): removed member function, all uses
10633         replaces with ownerParagraph
10634         (redoParagraphs): here
10635         (updateInset): here
10636         (toggleAppendix): here
10637         * BufferView2.C (insertErrors): here
10638         (setCursorFromRow): here
10639
10640 2002-01-13  Allan Rae  <rae@lyx.org>
10641
10642         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10643         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10644         There is still a way to segfault this although you may have to do this
10645         multiple times: Have an InsetERT with an unknown command in it.
10646         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10647         <down-arrow>, <Enter> again, View->DVI, BANG!
10648
10649         * text2.C (setCursor):
10650         (deleteEmptyParagraphMechanism):
10651         * lyxtext.h (setCursor):
10652         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10653         Making use of the return value may help fix other bugs.
10654
10655 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10658
10659         * LyXView.C (updateMenubar): call MenuBar::update here
10660         (updateToolbar): but not here
10661         (showState): do not update toolbar/menubar
10662
10663         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10664         should need to care about that.
10665
10666         * lyxfunc.C (verboseDispatch): simplify a bit
10667         (getStatus): have a version which takes a pseudoaction, and
10668         another which requires a (kb_action,string).
10669
10670         * LyXAction.C (retrieveActionArg): make it work also when action
10671         is not a pseudo-action.
10672         (getActionName): simplify a bit
10673         (helpText):
10674
10675 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * lyxfunc.C (verboseDispatch): new families of methods with
10678         several ways to specify a command and a bool to indicate whether
10679         the command name and shortcut should be displayed in minibuffer
10680         (eventually, we could extend that to a finer bitmask like
10681         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10682         (dispatch): the pristine dispatch command which just, well,
10683         dispatchs! Note it still sets its result to minibuffer; I'm not
10684         sure we want that.
10685
10686         * lyxfunc.h: remove setHintMessage
10687
10688         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10689
10690 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10691
10692         * BufferView_pimpl.C (specialChar): delete new inset if we have
10693         not been able to insert it.
10694
10695         * kbmap.C: revert to using int instead of kb_action, since all we
10696         are dealing with is pseudo-actions.
10697
10698         * LyXAction.C (searchActionArg): change to return int instead of
10699         kb_action, since the result is a pseudoaction.
10700
10701 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10702
10703         * buffer.C (insertErtContents): Fix (partially) the font bug.
10704
10705 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10706
10707         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10708         as the other one is broken on my machine!
10709
10710 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10711
10712         * commandtags.h:
10713         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10714
10715 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10716
10717         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10718         reflect their actual use. Provide compatibility code for older lyxrc
10719         files.
10720
10721         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10722         FL_NORMAL_STYLE.
10723         change names of popup font variables in line with the changes to lyxrc.C
10724
10725 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * buffer.C (asciiParagraph): avoid outputing a word twice after
10728         an inset.
10729
10730         * lyxrc.C (getDescription): document that document_path and
10731         template_path can be empty.
10732
10733 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734
10735         * LaTeXFeatures.C (getMacros):
10736         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10737
10738         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10739
10740         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10741         getPackages.
10742         (getPackages): rename feature "floats" to "float". Use an array to
10743         iterate over 'simple' features (i.e. just a \usepackage). Add
10744         handling of "amsmath" (renamed from "amsstyle").
10745
10746 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10747
10748         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10749         features list.
10750
10751 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10752
10753         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10754         FuncStaus::FuncStatus & FuncStaus::some_method().
10755
10756 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10757
10758         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10759         of the func_satus stuff. Edited and massaged in various ways by
10760         JMarc.
10761
10762         * lyxfunc.C (getStatus): use FuncStatus
10763
10764 2002-01-08  Juergen Vigna  <jug@sad.it>
10765
10766         * text.C (nextBreakPoint): use function Inset::isChar().
10767
10768         * paragraph.C (TeXOnePar): use function
10769         Inset::forceDefaultParagraphs.
10770
10771         * buffer.C (latexParagraphs): use function
10772         Inset::forceDefaultParagraphs.
10773
10774 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10775
10776         * lyx_gui.C (init): set the style of the menu popups to
10777         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10778
10779 2002-01-07  Juergen Vigna  <jug@sad.it>
10780
10781         * text.C (setHeightOfRow): small fix
10782         (prepareToPrint): don't look at alignment if we don't have the place
10783         for doing it.
10784
10785 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10786
10787         * box.C: New file. Move the Box methods and functions out of box.h,
10788         following Lars' suggestion.
10789
10790 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10791
10792         * box.h: #include "support/LOstream.h", needed for inlined function.
10793
10794         * lyxtextclass.C:
10795         * lyxtextclasslist.C: added some using std declarations.
10796
10797 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * box.h: make signed dimensions to allow insets wider than
10800           the screen (bug #162)
10801
10802         * BufferView_pimpl.C: add some insetHit debug
10803
10804 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * vc-backend.C: add FIXME
10807
10808 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * lyxfunc.C (getStatus): enable code for showing math font status
10811         in toolbar/menu.
10812
10813 2002-01-07  Juergen Vigna  <jug@sad.it>
10814
10815         * text.C (nextBreakPoint): removed debug output not needed anymore.
10816
10817 2002-01-06  Juergen Vigna  <jug@sad.it>
10818
10819         * text.C (nextBreakPoint): fixed up this function we had this bug
10820         since ever but now hopefully we break row better.
10821         (insertChar): we have to check if an inset is the next char as it
10822         could now happen that a large inset is causing a break.
10823
10824 2002-01-05  Juergen Vigna  <jug@sad.it>
10825
10826         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10827         if it doesn't like to be drawed.
10828
10829 2002-01-04  Juergen Vigna  <jug@sad.it>
10830
10831         * BufferView2.C (lockInset): forgot to set a cursor.
10832
10833         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10834
10835 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10836
10837         * FormMathsPanel.C:
10838         * FormMathsPanel.h
10839         * MathsSymbols.C:
10840         * form_maths_panel.C:
10841         * form_maths_panel.h:
10842         * form_maths_panel.fd: implemented sub- and super- buttons in math
10843         panel.
10844
10845         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10846         (or ^ space) to be used as in TeX (req'd by André).
10847
10848         * lyxfunc.C: Allow ^ and _ again to be used both as
10849         super/subscript (mathed) and as themselves (in text).
10850
10851 2002-01-03  Allan Rae  <rae@lyx.org>
10852
10853         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10854         "LyX" or the filename of the current buffer if it has one.  This is a
10855         modified form of John Levon's patch.
10856
10857         * XFormsView.C (setWindowTitle): also set icon title.
10858
10859         * LyXView.h (setWindowTitle): signature changed.
10860         * XFormsView.h (setWindowTitle): ditto.
10861
10862 2002-01-02  Juergen Vigna  <jug@sad.it>
10863
10864         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10865
10866 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10867
10868         * screen.C (topCursorVisible): introduce a temp var for
10869         text->cursor.row(), handle the case where this row is null. (kindo
10870         hachish)
10871
10872         * text2.C (setCursor): add a couple of asserts.
10873
10874         * paragraph.h (inset_iterator): add -> operator
10875
10876         * paragraph.[Ch] (autoDeleteInsets): remove member function
10877
10878         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10879         cursor pos correctly and handle inset deletion by itself.
10880         (insertErrors): move iterator declaration out of for expression
10881
10882         * lyxtextclass.C: add <algorithm>
10883
10884         * Makefile.am: added the new files to sources, removed layout.C
10885
10886         * layout.C: removed file
10887
10888         * layout.h: remove LYX_DUMMY_LAYOUT
10889
10890         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10891         layout.
10892
10893         * lyxlayout.[Ch]:
10894         * lyxtextclass.[Ch]:
10895         * lyxtextclasslist.[Ch]: new files
10896
10897         * include order changes to a lot of files, also changes because of
10898         the six new files.
10899
10900 2001-12-27  Juergen Vigna  <jug@sad.it>
10901
10902         * buffer.C (asciiParagraph): more fixes.
10903
10904         * tabular.C (ascii): make ascii export support export of only the
10905         data separated by a column-delimiter.
10906         (ascii): better support for ascii export.
10907
10908         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10909
10910 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10911
10912         * tabular_funcs.C: use a "using std::getline" instead of the
10913         previous fix from Angus (necessary for cxx + lyxstring)
10914
10915 2001-12-24  Juergen Vigna  <jug@sad.it>
10916
10917         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10918
10919         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10920         problems. First check a minipage also if we have some ert-contents
10921         (not only on par->size(), second set the right depth of the paragraph
10922         on the relink to the root-paragraph-list!
10923
10924         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10925         which then did not anymore update the main paragraphs on undo/redo!
10926
10927 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10928
10929         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10930         code. Support all font-changing funcs (even those which are not in
10931         menu currently). Support for reporting font settings in
10932         mathed (disabled until Andre provides a function on mathed's side).
10933
10934         * func_status.h (toggle): small helper function to set toggle
10935         state on a flag.
10936
10937 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * tabular_funcs.C: getline -> std::getline
10940
10941 2001-12-21  Juergen Vigna  <jug@sad.it>
10942
10943         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10944         accessed and could be 0 (I couldn't generate this but it seems
10945         Michael could!).
10946
10947 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10948
10949         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10950         * tabular_funcs.h: here and include iosfwd
10951
10952 2001-12-20  Juergen Vigna  <jug@sad.it>
10953
10954         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10955         inside inset but undo_par was.
10956
10957 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * Thesaurus.C: always include <config.h> in sources.
10960
10961         * Painter.h:
10962         * lyxlookup.h:
10963         * box.h: do not include <config.h> in header files
10964
10965         * text.C (paintLastRow): remove unused variable
10966
10967         * text.C (transformChar):
10968         (insertChar):
10969         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10970
10971         * Painter.C (text):
10972         * font.C (width): rewrite to use uppercase() instead of
10973         islower/toupper.
10974
10975         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10976
10977 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxfind.C: clean up of find failure position change
10980
10981 2001-12-20  Juergen Vigna  <jug@sad.it>
10982
10983         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10984
10985         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10986         (TeXRow): added to LaTeX a single tabular row.
10987         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10988         (Latex): simplified and finally good LT-h/f support.
10989         (various_functions): just small adaptions for LT-h/f support.
10990
10991         * tabular_funcs.[hC]: added and moved here all not classfunctions
10992         of LyXTabular.
10993
10994 2001-12-19  Juergen Vigna  <jug@sad.it>
10995
10996         * tabular.[Ch]: better support for longtabular options (not finished
10997         yet!)
10998
10999 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * text.C (paintLastRow): use the label font instead of the font of
11002         the last character to compute the size of *_BOX. This makes more
11003         sense and avoids a crash with empty paragraphs.
11004         Use Painter::rectangle to draw EMPTY_BOX.
11005
11006 2001-12-19  Juergen Vigna  <jug@sad.it>
11007
11008         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11009         the paragraphs if the replaced paragraph is not the first one!
11010         Tried to delete not used paragraphs but does not work yet so for
11011         now it's inside #ifdef's and by default off!
11012
11013 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * MenuBackend.C: include "lyx_main.h" instead of declaring
11016         lastfiles (actually was declared as LastFiles* instead of a
11017         scoped_ptr).
11018
11019 2001-12-17  Juergen Vigna  <jug@sad.it>
11020
11021         * tabular.C (AppendColumn): applied John's fix
11022
11023 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * BufferView.h:
11026         * BufferView.C:
11027         * BufferView_pimpl.h:
11028         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11029
11030         * Makefile.am:
11031         * box.h: new start of class for above
11032
11033         * lyxfunc.C: ignore space-only minibuffer dispatches.
11034           Show the command name when it doesn't exist
11035
11036         * minibuffer.C: don't add empty lines to the history
11037
11038         * minibuffer.C: add a space on dropdown completion
11039
11040 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11041
11042         * text.C: fix line above/below drawing in insets
11043
11044 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * lyxlength.C (LyXLength): Initialize private variables.
11047
11048 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11049
11050         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11051         when inserting error insets.
11052
11053 2001-12-13  Juergen Vigna  <jug@sad.it>
11054
11055         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11056         actually sometimes the before-paragraph.
11057         (setUndo): don't clear the redostack if we're not actually undoing!
11058
11059 2001-12-06  Juergen Vigna  <jug@sad.it>
11060
11061         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11062         and fixed redoing of main paragraph, so we can use it now ;)
11063
11064         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11065
11066 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11069         Juergen's request
11070
11071 2001-12-13  André Pönitz <poenitz@gmx.net>
11072
11073         * undostack.[Ch]:
11074         * undo_func.C: minor cleanup
11075
11076 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11079         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11080         font in urw-fonts package which is marked as -urw-fontspecific and
11081         does not work (incidentally, changing the encoding in the
11082         fonts.dir of this package to -adobe-fontspecific fixes the
11083         problem).
11084
11085         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11086         is a crash when undoing first paragraph (Juergen, please take a
11087         look). THis does not mean the undo fix is wrong, just that it
11088         uncovers problems.
11089
11090         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11091         the (Paragraph*) version when needed instead of duplicating the
11092         code.
11093
11094         * text.C (workWidth): use Inset::parOwner to find out where the
11095         inset has been inserted. This is a huge performance gain for large
11096         documents with lots of insets. If Inset::parOwner is not set, fall
11097         back on the brute force method
11098
11099         * paragraph_pimpl.C (insertInset):
11100         * paragraph.C (Paragraph):
11101         (cutIntoMinibuffer): set parOwner of insets when
11102         inserting/removing them
11103
11104         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11105
11106 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11107
11108         * commandtags.h:
11109         * LyXAction.C:
11110         * lyx_main.C:
11111         * lyxfunc.C:
11112         * mathed/formulabase.C:
11113         * mathed/math_cursor.[Ch]:
11114         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11115
11116
11117 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11118
11119         * lyxlength.[Ch] (operator!=): new function
11120
11121 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * text.C (workWidth): use Inset::parOwner to find out where the
11124         inset has been inserted. This is a huge performance gain for large
11125         documents with lots of insets. If Inset::parOwner is not set, fall
11126         back on the brute force method
11127
11128         * paragraph_pimpl.C (insertInset):
11129         * paragraph.C (Paragraph):
11130         (cutIntoMinibuffer): set parOwner of insets when
11131         inserting/removing them
11132
11133         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11134
11135 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * tabular-old.C (getTokenValue):
11138         * tabular.C (getTokenValue):
11139         (write_attribute): new versions for LyXLength
11140         (everywhere): adjust the use of widths
11141
11142         * tabular.h: change the type of widths from string to LyXLength
11143
11144 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11145
11146         * paragraph.C: fixed missing line number count when exporting
11147         Environments to LaTeX file
11148
11149         * buffer.C: added informational message for checking line numbers.
11150
11151 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11154         paragraph, do the 'double space' part, but not the 'empty
11155         paragraph' one.
11156
11157         * text.C (workWidth): small optimization
11158         (getLengthMarkerHeight): use minimal size for negative lengths.
11159
11160 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11161
11162         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11163
11164         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11165
11166 2001-12-11  André Pönitz <poenitz@gmx.net>
11167
11168         * FontLoader.C:
11169         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11170
11171 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * text2.C: keep selection on a setFont()
11174
11175 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * lyx_cb.C: another bv->text misuse, from insert label
11178
11179 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * kbsequence.h:
11182         * kbsequence.C: re-instate nmodifier mask
11183
11184 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11185
11186         * lyx_main.h: make lyxGUI private.
11187
11188 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * lyxfind.C: place the cursor correctly on failed search
11191
11192 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * text.C (getLengthMarkerHeight): for small heights, the arrows
11195         are not always on top/bottom of the text
11196         (drawLengthMarker): smaller arrows; take the left margin in
11197         account; draw also vfills.
11198         (paintFirstRow):
11199         (paintLastRow): remove special code for vfill and standard spaces,
11200         since everything is handled in drawLengthMarker now.
11201
11202 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * buffer.C (insertErtContents): try to handle font and language
11205         interaction a bit better.g
11206
11207         * ColorHandler.C (updateColor): change the hash to cover the whole
11208         LColor enum, ws cleanup
11209         (getGCLinepars): ditto
11210         (getGCLinepars): only lookup in the linecache once.
11211
11212 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * iterators.C (operator++): Make the iterator more robust
11215
11216         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11217         (John's patch)
11218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11219
11220 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * lyxtext.h:
11223         * text.C: better added space drawing
11224
11225 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * LyXView.C:
11228         * BufferView2.C: fix layout combo update on inset unlock
11229
11230 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11231
11232         * Makefile.am: don't compile unused files
11233
11234 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * lyxfunc.C:
11237         * commandtags.h:
11238         * LyXAction.C: remove old LFUN_LAYOUTNO
11239
11240 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * paragraph_pimpl.h:
11243         * paragraph_pimpl.C: isTextAt() doesn't need font param
11244
11245 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * lyxlex.h:
11248         * lyxlex.C: little cleanup
11249
11250 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * BufferView_pimpl.C: fix insertAscii for insets
11253
11254 2001-12-05  Juergen Vigna  <jug@sad.it>
11255
11256         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11257         set the right font on the "multi" paragraph paste!
11258
11259 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * trans_decl.h:
11262         * trans_mgr.[Ch]:
11263         * trans.[Ch]:
11264         * lyxgluelength.C:
11265         * lyxlength.C: remove out-commented code.
11266
11267         * BufferView_pimpl:
11268         * CutAndPaste.C:
11269         * DepTable.C:
11270         * buffer.C:
11271         * chset.C:
11272         * lastfiles.C:
11273         * lyxlex.C:
11274         * lyxlex_pimpl.C:
11275         * lyxserver.C:
11276         * screen.C:
11277         * tabular-old.C:
11278         * tabular.C:
11279         * text.C:
11280         * trans_mgr.C:
11281         * vc-backend.C: change "while(" to "while ("
11282
11283         * lyxlength.[Ch]: add zero function to check if length is zero or
11284         not
11285         * lyxgluelength.C: use it
11286
11287 2001-12-05  Allan Rae  <rae@lyx.org>
11288
11289         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11290         Works for 2.95.3, from what I understand of Garst's reports this should
11291         work for other g++ versions.  We're screwed if the abs(int) definition
11292         changed between bugfix releases of gcc.
11293
11294 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * text.C: fix chapter label offset !
11297
11298 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * lyxtext.h:
11301         * text.C: fix hfill at end of line, clean up
11302
11303 2001-12-04  Juergen Vigna  <jug@sad.it>
11304
11305         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11306         that we force an update of the inset and it's owners if neccessary.
11307
11308 2001-12-03  Juergen Vigna  <jug@sad.it>
11309
11310         * text.C (rowLast): simplified code
11311
11312 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * lyxfunc.C: fix show options on timeout
11315
11316 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * screen.C (topCursorVisible): scroll half a page when the cursor
11319         reached top of bottom of screen
11320
11321 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * minibuffer.C: deactivate on loss of focus
11324
11325 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * vspace.[Ch] (operator!=): add operator.
11328
11329 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * BufferView_pimpl.C: refuse to open an inset when
11332         there's a selection.
11333
11334 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * BufferView_pimpl.C: allow to click on RHS of full row insets
11337
11338 2001-11-30  Juergen Vigna  <jug@sad.it>
11339
11340         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11341         insets for undo reasons.
11342
11343 2001-11-28  André Pönitz <poenitz@gmx.net>
11344
11345         * vspace.[Ch]: cosmetical changes
11346
11347 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * LyXAction.h:
11350         * LyXAction.C:
11351         * lyxfunc.h:
11352         * lyxfunc.C:
11353         * kbmap.h:
11354         * kbmap.C:
11355         * lyxrc.C:
11356         * kbsequence.h:
11357         * kbsequence.C: part re-write of old kb code
11358
11359         * Painter.C:
11360         * WorkArea.C: remove Lgb_bug_find_hack
11361
11362 2001-11-30  José Matos <jamatos@fep.up.pt>
11363
11364         * buffer.C (makeDocBookFile): add a comment to point a hack.
11365         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11366         Fixed a double write of labels.
11367
11368 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11369
11370         * LaTeX.C:
11371         * LaTeX.h Fixed bug in LaTeX class where it would not
11372         re-run latex if no depfiles were changed, but the .dvi was removed.
11373
11374 2001-11-28  André Pönitz <poenitz@gmx.net>
11375
11376         * all the files from the change on 2001/11/26:
11377         use lyx::layout_type instead of LyXTextClass::size_type
11378         use lyx::textclass_type instead of LyXTextClassList::size_type
11379
11380 2001-11-29  Juergen Vigna  <jug@sad.it>
11381
11382         * text.C: added support for paragraph::isFreeSpacing()
11383
11384         * buffer.C: same as above
11385
11386         * paragraph.h: inserted isFreeSpacing() function to enable
11387         FreeSpacing inside InsetERT.
11388
11389         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11390         of the paragraph's in the cut/copy buffer to 0!
11391
11392         * text2.C (removeRow): remove the assert as it can!
11393
11394         * lyxtext.h: added helper function firstRow returning firstrow and
11395         made firstrow private again.
11396
11397         * BufferView2.C (lockInset): don't relock if we're already locked!
11398
11399         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11400         the only paragraph.
11401         (removeRow): added Assert::(firstrow)
11402
11403         * debug.C: forgot to add INSETTEXT here.
11404
11405 2001-11-28  Juergen Vigna  <jug@sad.it>
11406
11407         * sp_spell.C (initialize): changed error text to more general
11408         spellchecker command use (not only ispell!)
11409
11410         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11411
11412         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11413
11414 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * vspace.C: initialise lyxgluelength on failure
11417
11418 2001-11-28  Allan Rae  <rae@lyx.org>
11419
11420         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11421         declaration & definition that looks like a function declaration.
11422
11423 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11424
11425         * BufferView2.C (copy):
11426         (copyEnvironment): do not clear the selection when doing a copy.
11427
11428         * text.C (paintFirstRow): compilation fix
11429
11430 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11431
11432         * tabular.C (Latex): correct line count when writing latex.
11433
11434 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * paragraph_pimpl.h:
11437         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11438           bug a bit
11439
11440 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * text.C:
11443         * LColor.h:
11444         * LColor.C: change vfillline->added_space
11445
11446         * text.C: add markers and text for added space
11447
11448         * vspace.C: fix comment
11449
11450 2001-11-28  André Pönitz <poenitz@gmx.net>
11451
11452         * paragraph.C: whitespace changes
11453         * all the other files from the change on 2001/11/26:
11454         change *::pos_type into lyx::pos_type
11455
11456 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11459         language of the document when inserting error insets.
11460
11461 2001-11-26  André Pönitz <poenitz@gmx.net>
11462
11463         * BufferView_pimpl.[Ch]:
11464         *       CutAndPaste.C:
11465         * buffer.[Ch]:
11466         * lyxcursor.[Ch]:
11467         * lyxfind.C:
11468         * lyxfunc.C:
11469         * lyxrow.[Ch]:
11470         * paragraph.[Ch]:
11471         * paragraph_pimpl.[Ch]:
11472         * sp_spell.C:
11473         * text.C:
11474         * text2.C: reduce header dependencies, introduce type for positions
11475
11476 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * <various>: change to use Alert.h
11479
11480 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11481
11482         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11483         when encountering an unknown token.
11484         (readLyXformat2): Show an error message if there were unknown tokens.
11485
11486 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView2.C:
11489         * BufferView_pimpl.C:
11490         * buffer.C:
11491         * paragraph.h:
11492         * text.C:
11493         * text2.C: use par->isInset()
11494
11495 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * paragraph_pimpl.h:
11498         * paragraph_pimpl.C: cleanup
11499
11500 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11501
11502         * text2.C (removeRow):
11503         * text.C (setHeightOfRow): remove useless (and costly) call to
11504         getRow.
11505
11506 2001-11-20  Allan Rae  <rae@lyx.org>
11507
11508         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11509         Now need Inset*::checkInsertChar() to return true for appropriate
11510         cases so that the characters in the minibuffer will actually be
11511         inserted.
11512
11513 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * text.C: change the order of the includes.
11516         (workWidth): initialize it at once.
11517         (workWidth): make maxw unsigned
11518         (setHeightOfRow): remove unused variable (inset)
11519         (selectSelectedWord): remove unused variable (inset)
11520         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11521
11522 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11523
11524         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11525         server is not running.
11526         (openConnection):
11527         (closeConnection): add debug info when server is disabled.
11528
11529         * ColorHandler.C (getGCForeground): send debug message to GUI
11530         channel.
11531
11532         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11533
11534         * kbmap.C (bind): modify because return conventions of
11535         kb_sequence::parse have changed.
11536
11537         * kbsequence.C (parse): only ignore spaces and not any stupid
11538         control character. This avoids tests like s[i] <= ' ', which are
11539         guaranteed to fail with 8bit characters and signed chars.
11540         Change return code to string::npos when there have been no error
11541         (0 was a bad idea when error is at first character)
11542
11543 2001-11-14  José Matos  <jamatos@fep.up.pt>
11544
11545         * buffer.h:
11546         * buffer.C (simpleDocBookOnePar): removed unused argument.
11547
11548 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11549
11550         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11551         insets which are part of a word. Paragraph::isLetter takes care of
11552         that now. Use Paragraph::isInset to identify insets.
11553         (selectSelectedWord): do not test for hyphenation break.
11554
11555         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11556         that protected spaces are considered as spaces.
11557
11558         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11559         Inset::isLetter.
11560
11561 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * lyxserver.h:
11564         * lyxserver.C: fix it. and small cleanup.
11565
11566 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * BufferView_pimpl.C: use inline helpers
11569
11570         * LaTeXFeatures.h:
11571         * LaTeXFeatures.C: fix typos
11572
11573         * Spacing.h:
11574         * Spacing.C: move spacing_string into class
11575
11576         * ToolbarDefaults.C: move stuff into namespace anon
11577
11578         * layout.h: update enum
11579
11580         * lyxfunc.C: use better debug
11581
11582         * minibuffer.h: fix typo
11583
11584         * debug.h:
11585         * debug.C:
11586         * WorkArea.C: add and use Debug::WORKAREA
11587
11588         * lyxtext.h:
11589         * text.C:
11590         * text2.C: code re-organisation, inline helpers
11591
11592 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11593
11594         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11595         std::vector.empty().
11596
11597 2001-11-09  Allan Rae  <rae@lyx.org>
11598
11599         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11600         '\n's after tables.  Tabular and ERT inset work now makes this no
11601         longer necessary.
11602
11603 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * minibuffer.h:
11606         * minibuffer.C: fix crash, improve drop-down completion
11607
11608 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * lyxserver.h:
11611         * lyxserver.C: invalidate fd's when doing endPipe()
11612
11613 2001-11-08  José Matos  <jamatos@fep.up.pt>
11614
11615         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11616         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11617
11618         * paragraph.h:
11619         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11620
11621 2001-11-07  José Matos  <jamatos@fep.up.pt>
11622
11623         * buffer.h:
11624         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11625         const qualifier.
11626
11627         * buffer.C (sgmlOpenTag):
11628         * buffer.C (sgmlCloseTag): removed debug info.
11629
11630         * buffer.h (sgmlOpenTag):
11631         * buffer.h (sgmlCloseTag): made public.
11632
11633 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11634
11635         * buffer.C (saveParamsAsDefaults):
11636         * lyx_cb.C (MenuLayoutSave): remove
11637
11638         * LyXAction.C (init):
11639         * commandtags.h:
11640         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11641
11642 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11643
11644         * buffer.C (setPaperStuff): removed from here...
11645
11646         * bufferparams.C (setPaperStuff): ... and moved there.
11647
11648 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * minibuffer.h:
11651         * minibuffer.C:
11652         * XFormsView.C: add support for drop-down completion
11653
11654 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11657         commands.
11658
11659 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11660
11661         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11662         disabled.
11663
11664 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * lyx_main.C: change ref to known bugs
11667
11668 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11669
11670         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11671         to work around older babel problems.
11672
11673 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11674
11675         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11676
11677 2001-10-24  Juergen Vigna  <jug@sad.it>
11678
11679         * tabular-old.C (ReadOld): below variable changes reflected.
11680
11681         * tabular.[Ch]: added ltType struct for longtable header/footer
11682         defines and changed all instances where they are used. Added
11683         future support for double top/bottom rows.
11684
11685 2001-10-24  José Matos  <jamatos@fep.up.pt>
11686
11687         * buffer.h (docbookHandleCaption):
11688         * buffer.C (docbookHandleCaption): removed unused function.
11689         (makeDocBookFile): moved docbook supported version to v4.1.
11690
11691 2001-10-24  José Matos  <jamatos@fep.up.pt>
11692
11693         * tabular.h:
11694         * tabular.C (docbookRow): new function to export docbook code of a row.
11695         (DocBook): now honors the longtable flags.
11696
11697 2001-10-23  José Matos  <jamatos@fep.up.pt>
11698
11699         * LaTeXFeatures.h:
11700         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11701         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11702
11703         * buffer.C (makeLinuxDocFile):
11704         (makeDocBookFile): reworked the preamble, more clean, and with
11705         support for lyx defined entities. Changed the document declaration
11706         to be more XML friendly.
11707
11708         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11709         if we need to output XML that should be done with a filter.
11710
11711 2001-10-22  Juergen Vigna  <jug@sad.it>
11712
11713         * sp_pspell.h (class PSpell): add alive function needed in the
11714         controller to see if the spellchecker could be started.
11715
11716 2001-10-22  Juergen Vigna  <jug@sad.it>
11717
11718         * buffer.C (insertStringAsLines): modify the font for inserting
11719         chars in certain conditions by calling checkInsertChar(font).
11720
11721 2001-10-19  Juergen Vigna  <jug@sad.it>
11722
11723         * text.C (workWidth): use getRow instead of wrong algorithm.
11724         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11725
11726 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * lyxserver.h:
11729         * lyxserver.C:
11730         * lyx_main.h:
11731         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11732
11733 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11734
11735         * text.C (workWidth): do not search for the exact row when
11736         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11737         optimization for big documents.
11738
11739 2001-10-18  Juergen Vigna  <jug@sad.it>
11740
11741         * text.C (workWidth): new function with added Inset * parameter.
11742
11743 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11744
11745         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11746
11747         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11748         change return type of getColumnNearX.
11749
11750
11751         * text.C (changeRegionCase): use uppercase/lowercase instead of
11752         toupper/tolower.
11753         (leftMargin):
11754         (rightMargin): simplify code by factoring out the uses of
11755         textclasslist.
11756         (labelFill):
11757         (numberOfHfills):
11758         (setHeightOfRow):
11759         (appendParagraph): use Paragraph::size_type
11760
11761 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11762
11763         * vspace.C (asLatexString): add a missing break
11764
11765 2001-10-15  Herbert Voss  <voss@perce.de>
11766
11767         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11768
11769 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11772         is not available.
11773
11774 2001-10-10  André Pönitz <poenitz@gmx.net>
11775
11776         * lyxfunc.C: removed greek_kb_flag.
11777
11778 2001-10-10  Herbert Voss  <voss@perce.de>
11779
11780         * lyx_main.C: delete global string help_lyxdir.
11781
11782 2001-10-09  Herbert Voss  <voss@perce.de>
11783
11784         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11785
11786         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11787
11788         * lyx_main.C: added global string help_lyxdir.
11789
11790         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11791
11792 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11793
11794         * lyxrc.C (set_font_norm_type): support iso8859-4
11795
11796 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11797
11798         * LaTeX.C (deplog): add another regex for MikTeX
11799
11800 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11801
11802         * lyxrc.C (set_font_norm_type): support iso8859-3
11803
11804 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11805
11806         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11807
11808         * LaTeXFeatures.C: remove special case of french and index
11809
11810         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11811         before \begin{document}). This solves several incompatibilities.
11812
11813 2001-10-03  Garst Reese  <reese@isn.net>
11814
11815         * lyx_cb.C: change CheckTex error msg.
11816
11817 2001-10-03  José Matos  <jamatos@fep.up.pt>
11818
11819         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11820
11821 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11822
11823         * .cvsignore: update
11824
11825         * lyx_main.C (commandLineVersionInfo): use new style version info.
11826
11827         * buffer.C (writeFile):
11828         (makeLaTeXFile):
11829         (makeLinuxDocFile):
11830         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11831
11832         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11833
11834         * version.h: update to use stuff in version.C
11835
11836         * version.C.in: new file. Contains version information determined
11837         at compile time. This is a merging of version.h and
11838         version_info.h.in.
11839
11840 2001-10-03  Juergen Vigna  <jug@sad.it>
11841
11842         * BufferView_pimpl.C (update): don't change "dirty" status in
11843         updateInset call.
11844
11845 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * WorkArea.C (c-tor): re-position version string slightly.
11848
11849 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11852         revert to previous code.
11853
11854         WorkArea.[Ch]: (show, destroySplash): methods removed.
11855
11856         WorkArea.C: rework code so that it's an amalgam of the codes before and
11857         after the splash screen was moved to WorkArea.
11858
11859 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * lyxrc.C (read):
11862         * vspace.C (inPixels):
11863         (lyx_advance):
11864         * kbmap.C (bind):
11865         * buffer.C (insertStringAsLines):
11866         (asciiParagraph): fix types to be large enough
11867
11868         * lyxlex_pimpl.h: change member status from short to int
11869
11870         * layout.h: fix type of endlabeltype
11871
11872         * kbmap.C (bind):
11873         * kbsequence.C (parse): change return type to string::size_type
11874
11875         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11876         variable
11877
11878         * Bullet.C (bulletSize):
11879         (bulletEntry): do not use short ints as parameters
11880
11881         * BufferView2.C (insertLyXFile): change a char to an int.
11882
11883         * WorkArea.C (WorkArea): remove unneeded floats in computation
11884
11885 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11886
11887         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11888
11889         * paragraph.C (asString): Do not ignore newline/hfill chars when
11890         copying to the clipboard.
11891
11892 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11895         after a multi-line inset.
11896
11897 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11898
11899         * paragraph.C (validate): Set NeedLyXFootnoteCode
11900
11901 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11902
11903         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11904         and decrease-error to decrease.
11905
11906 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11907
11908         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11909         it more readable (should be equivalent)
11910
11911 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11912
11913         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11914
11915 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11916
11917         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11918         of a cursor (row, etc.) after a character has been deleted
11919         (deleteEmptyParagraphMechanism): call the method above on _all_
11920         cursors held by the LyXText when a double space has been
11921         detected/deleted.
11922
11923 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11924
11925         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11926         pixmap.
11927         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11928
11929         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11930         background. Use greyOut() and the new show() methods to toggle between
11931         the foreground and background. Add code to remove the splash after
11932         its initial showing.
11933
11934         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11935         (create_forms): no longer call Dialogs::showSplash.
11936
11937 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * .cvsignore: add version_info.h
11940
11941 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * version_info.h.in: new file
11944
11945         * Makefile.am: add version_info.h.in
11946
11947         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11948         version_info.h instead of VERSION_INFO
11949
11950 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11953         The ERT inset now returns string().
11954
11955 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11956
11957         * lyxtext.h, text.C (selectNextWord): renamed as
11958         selectNextWordToSpellcheck.
11959
11960         * text.C (selectNextWordToSpellcheck): Modified to not select
11961         words inside an ERT inset.
11962
11963 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11964
11965         * lyx_cb.C (MenuLayoutSave): change a bit the question
11966
11967         * sp_base.h: include <sys/types.h>
11968
11969 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11972
11973 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11974
11975         * several files: fix typos in user-visible strings
11976
11977 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11978
11979         * text2.C (pasteSelection): do not set the selection, since it
11980         will be cleared later. Actually, the intent was to fix the way the
11981         selection was set, but I figured rmoving the code was just as good.
11982
11983 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11984
11985         * FontLoader.C (available): Check if font is available without
11986         loading the font.
11987
11988 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11989
11990         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11991
11992 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * lyxrc.[Ch]: added display_graphics variable and associated code.
11995
11996 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11997
11998         * bufferparams.C (hasClassDefaults): new method. Returns true if
11999         the buffer parameters correspond to known class defaults
12000
12001 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12002
12003         * XFormsView.C (show): set minimum size to the main window.
12004
12005 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * text2.C (copySelection):
12008         (cutSelection):
12009         * lyxfind.C (LyXReplace):
12010         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12011         LyXText::selectionAsString.
12012
12013         * paragraph.C (asString): add "label" argument to the second form
12014
12015         * text2.C (selectionAsString): add "label" argument and pass it to
12016         Paragraph::asString.
12017
12018 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12019
12020         * lyx_main.C (commandLineHelp): remove version information
12021
12022 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12023
12024         * lyx_main.C: add -version commandline option
12025
12026 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * paragraph.h: make the optional constructor arg required instead.
12029         some modifications to other files because of this.
12030
12031         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12032
12033         * lyxserver.C (C_LyXComm_callback): make it static
12034
12035         * lyx_main.C (error_handler): make it static
12036
12037         * lyx_gui.C (LyX_XErrHandler): make it static
12038
12039         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12040
12041         * WorkArea.C: make the extern "C" methods static.
12042
12043         * Makefile.am (lyx_LDADD): simplify
12044
12045 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12046
12047         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12048         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12049
12050         * LyXAction.C (init):
12051         * lyxfunc.C (dispatch): associated code removal.
12052
12053 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12054
12055         * lyxfont.h (isSymbolFont): shut off warning
12056
12057         * text.C (setHeightOfRow):
12058         (getVisibleRow): fix crash with empty paragraphs which have a
12059         bottom line
12060
12061 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12062
12063         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12064         code.
12065
12066 2001-09-04  José Matos  <jamatos@fep.up.pt>
12067         * buffer.C
12068         * buffer.h
12069         * tabular.C (docbook): rename docBook method to docbook.
12070
12071 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * Makefile.am: add dependencies to main.o.
12074
12075 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12076
12077         * FontLoader.C (available): Return false if !lyxrc.use_gui
12078
12079 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12080
12081         * FontInfo.C (query):
12082         * converter.C (view):
12083         * importer.C (Import):
12084         * exporter.C (Export): Can not -> cannot.
12085
12086 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * BufferView_pimpl.C: allow to create index inset even if
12089           string is empty
12090
12091 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12092
12093         * buffer.C (getLists): replace boost::tie code with an explicit pair
12094         as boost::tie can break some compilers.
12095
12096         * iterators.h: Added a std:: declaration to the return type of
12097         ParIterator::size.
12098
12099 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12102           case.
12103
12104 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12105
12106         * iterators.[Ch]: New files. Provide paragraph iterators.
12107
12108         * buffer.C (changeLanguage): Use paragraph iterators.
12109         (isMultiLingual): ditto
12110
12111         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12112
12113 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12114
12115         * FontLoader.C: Support for cmr font.
12116
12117 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12118
12119         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12120         (available): New method.
12121
12122         * FontInfo.C (getFontname): Use scalable fonts even when
12123         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12124         found.
12125
12126 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * converter.C (Formats::view): reverted! Incorrect fix.
12129
12130 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * converter.C (Formats::view): only output the -paper option
12133         if the dvi viewer is xdvi, thereby fixing bug #233429.
12134
12135 2001-08-23  Herbert Voss  <voss@perce>
12136
12137         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12138
12139 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * Spacing.h (Spacing): Set space to Default on in the default
12142         constructor.
12143
12144 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * vc-backend.h (RCS::versionString): add RCS to version
12147         (CVS::versionString): add CVS to version
12148
12149         * vc-backend.C (scanMaster): do not add CVS to version.
12150         (scanMaster): do not add RCS to version
12151
12152         * lyxvc.C (versionString): new method
12153
12154         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12155
12156 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * Spacing.C (set): initialize fval
12159
12160 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12161
12162         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12163         " or \.
12164
12165 2001-08-16  Juergen Vigna  <jug@sad.it>
12166
12167         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12168
12169 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * BufferView_pimpl.C:
12172         * figureForm.C:
12173         * lyxtext.h:
12174         * text2.C: setParagraph takes linespacing now
12175
12176 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * LyxAction.C: add internal LFUN_CITATION_INSERT
12179
12180         * LyXView.C: actually apply fix
12181
12182         * bufferlist.C: fix open non-existent file
12183
12184         * lyxfind.C: fix indentation
12185
12186         * lyxfunc.C: remove unneeded assert, fix typo
12187
12188 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * MenuBackend.C: use "Floatname List"
12191
12192 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12193
12194         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12195         when converting LaTeX layout to insetERT.
12196         Generate a non-collapsed float when reading old float
12197
12198 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12201         ERT insets.
12202
12203 2001-08-13  Juergen Vigna  <jug@sad.it>
12204
12205         * text.C (fill): return 0 instead of 20 as this seems to be the more
12206         correct value.
12207
12208 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12211         lyxrc.font_norm.
12212
12213 2001-08-13  Juergen Vigna  <jug@sad.it>
12214
12215         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12216         casesensitive off.
12217         (SearchBackward): comment out the unlocking of the inset_owner this
12218         should not be needed!
12219
12220 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * Many files: Remove inherit_language, and add latex_language
12223
12224         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12225         collapsible insets.
12226
12227 2001-08-10  Juergen Vigna  <jug@sad.it>
12228
12229         * text.C (prepareToPrint): fixed hfill-width in draw!
12230
12231         * BufferView2.C (selectLastWord): save the selection cursor as this
12232         now is cleared in the function LyXText::clearSelection!
12233
12234 2001-08-08  Juergen Vigna  <jug@sad.it>
12235
12236         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12237         BACKSPACE type functions.
12238
12239         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12240         is only cutted from the document but not put in the cut-buffer, where
12241         still the old stuff should be.
12242
12243         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12244
12245         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12246
12247         * tabular.C (SetWidthOfCell): fixed special case where the width
12248         was not updated!
12249         (LeftLine): handle '|' in align_special.
12250         (RightLine): ditto
12251         (LeftAlreadyDrawed): ditto
12252         (SetWidthOfCell): ditto
12253
12254 2001-08-07  Juergen Vigna  <jug@sad.it>
12255
12256         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12257
12258 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12261         * lyxlex.[hC]: ditto
12262
12263 2001-08-06  Juergen Vigna  <jug@sad.it>
12264
12265         * text.C (getVisibleRow): fix up row clearing a bit.
12266
12267 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * minibuffer.C: make sure the X server sees the changes in the input.
12270
12271 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * paragraph.C (getFont): split into...
12274         (getLabelFont): this
12275         (getLayoutFont): and this
12276         * paragraph_pimpl.C (realizeFont): calling this
12277
12278         * text2.C (getFont): split into...
12279         (getLayoutFont): this
12280         (getLabelFont): and this
12281         (realizeFont): all three calling this
12282
12283         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12284         files where used.
12285
12286 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12289
12290 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12291
12292         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12293         layouts from the Quote inset insertion.
12294
12295 2001-08-03  Juergen Vigna  <jug@sad.it>
12296
12297         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12298
12299         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12300         only if status not is already CHANGED_IN_DRAW (second level).
12301
12302         * text.C (draw): don't set the need_break_row when inside an
12303         InsetText LyXText.
12304
12305 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * buffer.C (parseSingleLyXformat2Token): handle more latex
12308         conversion cases.
12309
12310         * bufferview_funcs.[hC]: change function names to
12311         begin with small char, adjust other files.
12312
12313 2001-08-02  André Pönitz <poenitz@gmx.net>
12314
12315         * lyxfunc.C:
12316         BufferView_pimpl.C: remove broken special code for math-greek
12317
12318 2001-08-02  Juergen Vigna  <jug@sad.it>
12319
12320         * BufferView_pimpl.C (update): redone this function so that we
12321         update the text again if there was a CHANGE_IN_DRAW.
12322
12323         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12324         (drawFromTo): added a new internal bool which is used by draw() and
12325         redraw() function.
12326         (general): some cursor drawing problems fixed.
12327
12328 2001-08-01  Juergen Vigna  <jug@sad.it>
12329
12330         * lyxfind.C (LyXFind): fixed
12331         (SearchForward): ditto
12332         (SearchBackward): ditto
12333
12334         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12335         spurius drawing of the cursor in the main area.
12336
12337         * text2.C (status): small fix which could lead to a segfault!
12338         (clearSelection): remove unneeded BufferView param.
12339
12340 2001-08-01  André Pönitz <poenitz@gmx.net>
12341
12342         * lyxfunc.C: small change due to changed mathed interface
12343
12344 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12347
12348 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12349
12350         * lyxfunc.c: fail gracefully if file doesn't exist
12351
12352         * LyXSendto.C:
12353         * buffer.C:
12354         * lyxfunc.C:
12355         * BufferView_pimpl.C: IsDirWriteable() proto changed
12356
12357         * LyXView.C: fix updateWindowTitle() to store the last title
12358
12359 2001-07-31  Juergen Vigna  <jug@sad.it>
12360
12361         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12362         the font (wrong since using of Paragraph::highestFontInRange).
12363
12364         * paragraph.C (highestFontInRange): added a default_size parameter.
12365
12366         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12367         (setHeightOfRow): reformat
12368
12369 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * converter.[hC] + affected files: move to (inital-char)lowercase
12372         function names.
12373
12374         * ParagraphParameters.C (ParagraphParameters): remove commented code
12375
12376         * PainterBase.[Ch]: remove commented code
12377
12378         * LaTeXFeatures.h: add "bool floats" for float.sty
12379
12380         * LaTeXFeatures.C (LaTeXFeatures): init floats
12381         (require): handle float
12382         (getPackages): do it with floats
12383
12384 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * BufferView_pimpl.C (Dispatch): improve handling of
12387         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12388
12389         * commandtags.h: #include lyxfont.h here temporarily to avoid
12390         keybinding bug.
12391
12392         * bufferlist.h: include LString.h here.
12393
12394 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12395
12396         * text2.C (getStringToIndex): new method.
12397
12398 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12399
12400         * *: Reduced header file dependencies all over.
12401
12402 2001-07-30  Baruch Even  <baruch@lyx.org>
12403
12404         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12405
12406 2001-07-29  Baruch Even  <baruch@lyx.org>
12407
12408         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12409
12410 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * ParameterStruct.h (endif): add a default constructor to make
12413         sure that all variables is initialized.
12414
12415         * ParagraphParameters.C (ParagraphParameters): adjust
12416
12417 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12420         index; also, check that there is something to index, and that it
12421         does not span over several paragraphs.
12422         (doubleClick): use WHOLE_WORD_STRICT for double click.
12423
12424         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12425
12426         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12427         scheme.
12428
12429 2001-07-26  Baruch Even  <baruch@lyx.org>
12430
12431         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12432         an InsetFig figure, backwards compatible reading of old figure code.
12433
12434 2001-07-27  Juergen Vigna  <jug@sad.it>
12435
12436         * text2.C: font.realize function adaption.
12437
12438         * text.C (draw): add a warnings lyxerr text if needed.
12439
12440         * layout.C: font.realize function adaption.
12441
12442         * language.C: add inherit_language and implement it's handlings
12443
12444         * bufferview_funcs.C (StyleReset): remove language parameter from
12445         font creation (should be language_inherit now).
12446
12447         * bufferparams.C (writeFile): handle ignore_language.
12448
12449         * paragraph.C (getFontSettings): the language has to be resolved
12450         otherwise we have problems in LyXFont!
12451
12452         * lyxfont.C (lyxWriteChanges): added document_language parameter
12453         (update): removed unneeded language parameter
12454
12455         * paragraph.C (validate): fixed wrong output of color-package when
12456         using interface colors for certain fonts in certain environments,
12457         which should not seen as that on the final output.
12458
12459 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * BufferView_pimpl.C:
12462         * Thesaurus.h:
12463         * Thesaurus.C:
12464         * Makefile.am:
12465         * commandtags.h:
12466         * LyXAction.C: add thesaurus support
12467
12468         * lyxfind.h:
12469         * lyxfind.C: add "once" parameter, for thesaurus, to not
12470           move to the next match
12471
12472 2001-07-26  Juergen Vigna  <jug@sad.it>
12473
12474         * lyxfont.C (realize): honor ignore_language too!
12475         (resolved): ditto.
12476
12477         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12478
12479         * text.C (draw): one place more for ignore_language to not draw
12480         itself!
12481
12482 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12485
12486 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12489         the minipage conversion problem.
12490
12491 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12494         insert an inset.
12495
12496 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * BufferView.h: don't forward declare WorkArea
12499
12500         * BufferView.C: don't include WorkArea.h
12501
12502 2001-07-25  André Pönitz <poenitz@gmx.net>
12503
12504         * commandtags.h:
12505         * LyXAction.C:
12506         * lyxfunc.C:  new LFUN 'math-space'
12507
12508         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12509
12510 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * text2.C (toggleInset): call open/close
12513
12514 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12515
12516         * lyxfunc.C (dispatch): add debug for the disabled case
12517
12518         * font.C (buttonText): make similar to rectText
12519
12520         * buffer.C (readInset): comment out parsing of insetlist and
12521         insttheorem
12522
12523         * PainterBase.C (rectText): small correction
12524
12525         * BufferView_pimpl.C: comment out insettheorem and insetlist
12526         * LyXAction.C: ditto
12527         * commandtags.h: ditto
12528
12529 2001-07-24  Juergen Vigna  <jug@sad.it>
12530
12531         * text.C (draw): honor the ignore_language.
12532
12533         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12534
12535 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12536
12537         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12538         char inset.
12539
12540 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12541
12542         * lyxtext.h: remove unused (and unimplemented) methods
12543
12544 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12545
12546         * text.C (getVisibleRow): honor background color
12547
12548         * PainterBase.h:
12549         * Painter.h: remove default color argument for fillRectangle
12550
12551         * text.C (backgroundColor): new method
12552
12553 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * text.C (getVisibleRow): adjust
12556
12557         * font.[Ch] (rectText): new method, metrics
12558         (buttonText): new method, metrics
12559
12560         * PainterBase.[hC]: make rectText and buttonText always draw and take
12561         fewer paramteres.
12562
12563 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12564
12565         * ToolbarDefaults.C (read):
12566         * MenuBackend.C (read): allow escaping in all strings
12567
12568         * BufferView_pimpl.C (insertAndEditInset): new method.
12569         (Dispatch): use insertAndEditInset whenever appropriate.
12570
12571         * BufferView_pimpl.C (insertNote): removed
12572
12573         * BufferView_pimpl.C (smartQuote): new method, moved from
12574         BufferView; if an insetquote cannot be inserted, insert a '"'
12575         character instead.
12576
12577         * BufferView2.C: remove insertCorrectQuote();
12578
12579         * lyxfunc.C (getStatus): Add support for all remaingin
12580         inset-insert lfuns.
12581
12582         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12583
12584         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12585         command (necessary to pass " as parameter of self-insert.
12586
12587         * text.C (selectWordWhenUnderCursor):
12588         (selectWord): add word_location parameter
12589         (selectWordWhenUnderCursor): same + remove special code for word
12590         boundary.
12591         (selectNextWord): use kind() to guess type of insetspecialchar,
12592         not latex().
12593
12594         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12595         (insertErtContents): create ert insets as collapsed.
12596         (readInset): better compatibility code for Info inset.
12597
12598 2001-07-20  Juergen Vigna  <jug@sad.it>
12599
12600         * lyxfunc.C (dispatch): use always LyXFind now!
12601
12602         * text2.C (init): add a reinit flag so that the LyXText can be
12603         reinited instead of deleted and reallocated (used in InsetText).
12604
12605         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12606
12607         * text.C: ditto
12608
12609         * text2.C: ditto
12610
12611 2001-07-18  Juergen Vigna  <jug@sad.it>
12612
12613         * text.C (selectNextWord): handle insets inside inset by calling
12614         always the bv->text functions so that we can go up the_locking_inset!
12615
12616         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12617         in strange locations when inside an inset!
12618
12619         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12620         handling to include insets.
12621
12622         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12623
12624 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625
12626         * LyXAction.C (init):
12627         * commandtags.h:
12628         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12629         LIGATURE_BREAK, since the name is so stupid.
12630
12631 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12634         InsetInfos.
12635
12636         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12637
12638         * sp_form.[Ch]: remove.
12639
12640         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12641
12642         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12643         InsetInfo.
12644
12645         * src/buffer.C (readInset): ditto.
12646
12647 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12648
12649         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12650         menuSeparator(), endOfSentenceDot(), ldots() and
12651         hyphenationPoint(), which are therefore removed.
12652         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12653
12654         * LyXAction.C (init):
12655         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12656
12657         * paragraph.C (getWord): removed.
12658
12659         * BufferView_pimpl.C (Dispatch): use last word or selection for
12660         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12661
12662         * lyx_main.C (queryUserLyXDir): do not ask before creating
12663         user_dir, except if it has been named explicitely.
12664
12665 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12666
12667         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12668         a document of zero size.
12669
12670 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12671
12672         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12673         approriately in the c-tor and in require().
12674         (getPackages): output the appropriate LaTeX for natbib support.
12675
12676         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12677         variables "use_natbib" and "use_numerical_citations" when reading the
12678         LyX file.
12679         (readInset): read the various natbib cite commands.
12680         (validate): white-space change.
12681
12682         * bufferparams.[Ch]: new variables "bool use_natbib" and
12683         "bool use_numerical_citations".
12684         (writeFile): output them in the LyX file.
12685
12686 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12687
12688         * lyxfunc.C (getStatus): add support for all the inset insertion
12689         commands.
12690
12691         * text2.C (insertInset):
12692         * paragraph.C (insetAllowed):
12693         * BufferView_pimpl.C (insertInset): update to take in account the
12694         renaming of insertInsetAllowed
12695
12696         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12697
12698         * text2.C (getInset): new method. returns inset at cursor position.
12699
12700         * BufferView_pimpl.C (Dispatch): changes because of this.
12701
12702         * LyXAction.C (init): rename open-stuff to inset-toggle.
12703
12704         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12705
12706         * text2.C (toggleInset): renamed from openStuff; use
12707         Inset::open().
12708
12709 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12710
12711         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12712
12713         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12714
12715 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12716
12717         * buffer.C (readLyXformat2): Add filename to the error dialog
12718
12719 2001-07-18  Juergen Vigna  <jug@sad.it>
12720
12721         * tabular.C (GetCellNumber): put an assert here instead of the check!
12722
12723 2001-07-17  Juergen Vigna  <jug@sad.it>
12724
12725         * BufferView_pimpl.C (toggleSelection): adapted too.
12726
12727         * text.C (selectNextWord): adapted for use with insets.
12728         (selectSelectedWord): ditto
12729
12730 2001-07-17  Juergen Vigna  <jug@sad.it>
12731
12732         * sp_spell.C (PSpell): fix initialitation order.
12733
12734 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * paragraph.C: spacing
12737
12738 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12739
12740         * sp_spell.C: repair language selection for pspell
12741
12742 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12743
12744         * lyxfunc.h: change more methods to begin with lower char.
12745
12746 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12747
12748         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12749         for unknown layouts.
12750
12751 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12752
12753         * buffer.C (readLyXformat2): Generate an error dialog if there are
12754         unknown layouts.
12755
12756 2001-07-16  Juergen Vigna  <jug@sad.it>
12757
12758         * sp_spell.C: always compile ISpell part.
12759
12760         * lyxrc.C: added use_pspell entry and it's handling.
12761
12762 2001-07-13  Juergen Vigna  <jug@sad.it>
12763
12764         * sp_spell.C: removed double includes.
12765
12766 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12767
12768         Consistent use of Lsstream.h:
12769         * Lsstream.h: added using std::stringstream for consistencies sake.
12770
12771         * buffer.C: removed using std::stringstream
12772
12773         * lyxfont.C (stateText):
12774         * paragraph.C (asString):
12775         * text.C (selectNextWord, selectSelectedWord):
12776         * text2.C (setCounter):
12777         * vspace.C (asString, asLatexString):
12778         std::ostringstream -> ostringstream.
12779
12780 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12781
12782         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12783         * commandtags.h: add LFUN_HELP_ABOUTLYX
12784         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12785
12786 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12787
12788         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12789         cursorToggle()
12790         * lyx_gui_misc.C: remove spellchecker
12791         * lyxfunc.C: showSpellchecker
12792         * sp_base.h: added
12793         * sp_ispell.h: added
12794         * sp_pspell.h: added
12795         * sp_spell.C: added
12796         * sp_form.[Ch]: removed
12797         * spellchecker.[Ch]: removed
12798
12799 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12800
12801         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12802         is set.
12803         (simpleTeXSpecialChars): Simply print the input character without
12804         any special translation if pass_thru is set.
12805
12806         * layout.h: Added bool pass_thru to layout class for being able to
12807         implement pass through of a paragraph for Literate Programming.
12808
12809         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12810         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12811         * layout.C (Read): add "passthru" to list of layout tags and add
12812         code to set the pass_thru boolean when it is read.
12813
12814 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * trans_decl.h: remove allowed from KmodInfo
12817
12818         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12819         remove allowed code
12820         (Load): adjust
12821
12822         * paragraph_pimpl.C (erase): use boost::prior
12823
12824         * Painter.C (text): use data() instead of c_str() when length is
12825         also provided.
12826         * WorkArea.C (putClipboard): ditto
12827         * font.h (width): ditto
12828
12829         * BufferView2.C: use it-> instead of (*it). for iterators
12830         * texrow.C: ditto
12831         * paragraph_pimpl.C: ditto
12832         * paragraph.C: ditto
12833         * minibuffer.C: ditto
12834         * language.C: ditto
12835         * kbmap.C: ditto
12836         * encoding.C: ditto
12837         * counters.C: ditto
12838         * converter.C: ditto
12839         * chset.C: ditto
12840         * Variables.C: ditto
12841         * TextCache.C: ditto
12842         * MenuBackend.C: ditto
12843         * LyXAction.C: ditto
12844         * LColor.C: ditto
12845         * FloatList.C: ditto
12846         * DepTable.C: ditto
12847         * ColorHandler.C (LyXColorHandler): ditto
12848
12849 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12852
12853         * text2.C (openStuff): reintroduce this method (which had been
12854         nuked in NEW_INSETS frenzy).
12855
12856         * lyxfunc.C (Dispatch): when an action has not been handled, use
12857         its name in the error message, not its number.
12858
12859         * paragraph.C (inInset): change method name to begin with lowercase.
12860
12861         * undo_funcs.C:
12862         * text2.C: updates because of this.
12863
12864 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12865
12866         * ToolbarDefaults.C (add): add spaces in error message
12867
12868 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12869
12870         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12871         (readLyXformat2): rename return_par to first_par, use lyxlex's
12872         pushToken and remove the manual push handling.
12873         (parseSingleLyXformat2Token): add another ert comp. variable:
12874         in_tabular, rename return_par to first_par. handle newlines better
12875
12876 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12879
12880 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * text2.C (getParFromID): removed
12883
12884         * buffer.C (getParFromID): new method moved form lyxtext.
12885         * BufferView2.C (insertErrors): adjust
12886         (setCursorFromRow): adjust
12887         * BufferView_pimpl.C (restorePosition): adjust
12888         * lyxfunc.C (Dispatch): adjust
12889         * undo_funcs.C (textUndo): adjust
12890         (textRedo): adjust
12891         (textHandleUndo): adjust
12892         (textHandleUndo): adjust
12893
12894 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * buffer.C: up' the LYX_FORMAT
12897
12898         * lyxfont.h: turn NO_LATEX on as default
12899
12900         * buffer.C (insertErtContents): new methods of tex style compability.
12901         (parseSingleLyXformat2Token): use it several places.
12902         * tabular.C (OldFormatRead): and here
12903
12904 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * text2.C: remove some commented code.
12907         reindent file.
12908
12909         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12910         * trans.C: changes because of the above.
12911
12912 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * text2.C (setCounter): Fix counters bug with bibliography layout.
12915
12916 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12919         own member functions
12920         (simpleTeXSpecialChars): ditto
12921
12922 2001-07-06  Juergen Vigna  <jug@sad.it>
12923
12924         * a lot of files: changed the access to LyXText::status and the
12925         call of undo-functions.
12926
12927         * undo.[Ch]: added a inset_id to the undo informations.
12928
12929         * undo_funcs.[Ch]: added and moved here all undo functions.
12930
12931         * lyxtext.h: give the status enum a weight, made status_ a private
12932         variable and made accessor functions for it, removed the whole bunch
12933         of undo-functions as they are now in their own file, make some
12934         functions publically available. Added function ownerParagraph with
12935         int parameter.
12936
12937         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12938         made InInset() a const function, added getParFromID() function.
12939
12940         * buffer.[Ch]: added const version for inset_iterator functions,
12941         added getInsetFromID() function.
12942
12943         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12944         changed undo functions for new version.
12945
12946 2001-07-05  Juergen Vigna  <jug@sad.it>
12947
12948         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12949         unknow mechanism does not call the proper constructor but only this
12950         one also if I request the other!?
12951
12952 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12955
12956         * text2.C (LyXText): use initialization lists.
12957
12958         * lyxtext.h (Selection): initialize set_ and mark_
12959         (init): remove method
12960
12961 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12962
12963         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12964
12965 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * screen.[Ch]: change method names to begin with lowercase
12968
12969         * BufferView_pimpl.C (updateScrollbar): simplify further and
12970         hopefully make it a bit faster.
12971
12972 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12975         calling directly xforms functions.
12976
12977         * Painter.C (Painter):
12978         * lyx_cb.C (MenuWrite):
12979         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12980         fl_display.
12981
12982         * lyx_gui.C: remove bogus guiruntime extern declaration.
12983
12984 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12985
12986         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12987         in NEW_INSETS
12988         (redoDrawingOfParagraph): ditto
12989         (redoParagraphs): ditto
12990         (cutSelection): don't create a object for CutAndPaste use the
12991         static method directly
12992         (pasteSelection): ditto
12993
12994         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12995         LyXview (+ rename)
12996
12997 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * modifications to some other files because of this.
13000
13001         * Makefile.am (lyx_SOURCES): add XFormsView
13002
13003         * XFormsView.[Ch]: new files
13004
13005         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13006         the main window. Move the gui dependent stuff to XFormsView
13007
13008 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * tabular.C (GetCellInset): update cur_cell also in the row/col
13011         version of this function.
13012
13013         * lyxfunc.C: no need to include figure_form.h here.
13014
13015         * FontLoader.h:
13016         * lyxfunc.h:
13017         * lyxscreen.h:
13018         * text2.C:
13019         * lyxvc.C: no need to include forms.h here.
13020
13021 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13024
13025         * lyxfunc.C (Dispatch):
13026         * Spacing.C (set):
13027         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13028         constructor argument.
13029
13030 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * paragraph.C (Paragraph): dont't clear, and just set layout.
13033         (makeSameLayout): use params's copy contructor.
13034
13035         * ParagraphParameters.[Ch] (makeSame): delete method
13036
13037 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * Variables.[Ch]: fix indentation, rename set to isSet
13040
13041 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * lyxfunc.C (Dispatch): fix typo
13044
13045 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13046
13047         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13048         upper_bound.
13049
13050         * bufferlist.C: include assert.h for emergencyWrite().
13051
13052 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13053
13054         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13055           give up at last (bug #425202) !
13056
13057 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * lyx_gui_misc.C:
13060         * sp_form.h:
13061         * sp_form.C:
13062         * spellchecker.h:
13063         * spellchecker.C: strip spellchecker options and bring up
13064           preferences tab instead
13065
13066 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13069         the istringstream constructor
13070
13071 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * paragraph.C (getLayout): fix return value
13074
13075         * paragraph.h: do not declare getLayout as inline.
13076
13077         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13078
13079 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * lyxcursor.h (operator<): new func
13082         (operator>): new func
13083         (operator>=): new func
13084         (operator<=): new func
13085
13086         * text.C (changeCase): use selection.start and selection.end
13087         (changeRegionCase): require from to be <= to. Require par to be a
13088         valid paragraph.
13089
13090         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13091
13092 2001-06-27  Juergen Vigna  <jug@sad.it>
13093
13094         * text.C (cursorLeftOneWord): changed to return the cursor and added
13095         overlay with BufferView * parameter which calls this one.
13096         (getWord): added
13097         (selectWord): use new getWord function.
13098         (changeCase): renamed from changeWordCase as and extended to work
13099         also on selections.
13100
13101         * lyxtext.h: added enum word_location
13102
13103         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13104         changeCase as this operates now also on selections.
13105
13106 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13107
13108         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13109
13110         * many files: send debug output to Debug::INFO instead of
13111         Debug::ANY.
13112
13113         * converter.C (View):
13114         (Convert):
13115         (Move): send debug output to Debug::FILES instead of console.
13116
13117 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13118
13119         * lyxfunc.C (getStatus): use func_status
13120
13121         * func_status.h: new header, describing the results of
13122         LyXFunc::getStatus;
13123
13124         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13125         LFUN_MATH_HALIGN.
13126
13127 2001-06-25  The LyX Project  <jug@sad.it>
13128
13129         * buffer.C (sgmlOpenTag):
13130         (sgmlCloseTag):
13131         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13132
13133 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * text2.C: remove some dead code
13136
13137         * tabular.C (GetCellInset): store the last cell checked (gotten)
13138
13139         * tabular.h: add the helper for the speedup
13140
13141         * lyxtext.h: remove some dead code
13142
13143 2001-06-26  The LyX Project  <Asger>
13144
13145         * paragraph.C: Change export to LaTeX of alignment to
13146         \begin{center} and family for better roundtrip work with reLyX.
13147
13148         * Tune the math drawing a bit.
13149
13150 2001-06-25  The LyX Project  <Asger>
13151
13152         * LColor.C (LColor): New color for math background. New color
13153         for buttons.
13154
13155 2001-06-25  The LyX Project  <jug@sad.it>
13156
13157         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13158
13159         * lyxfunc.C (Open):
13160         * bufferlist.C (newFile): do not restrict to files ending with
13161         .lyx
13162
13163         * BufferView_pimpl.C (MenuInsertLyXFile):
13164
13165 2001-06-24  The LyX Project  <jug@sad.it>
13166
13167         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13168         of compare_no_case
13169
13170 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * lyxtext.h: rename most methods to begin with a small char.
13173         Lots of changes because of this.
13174
13175         * paragraph.C (Paragraph): do not call fitToSize
13176         (erase): call Pimpl::erase
13177         (insertChar): call Pimpl::insertChar
13178         (insertInset): call Pipl::insertInset
13179         (breakParagraph): do not call fitToSize
13180         (breakParagraphConservative): do not call fitToSize
13181         (fitToSize): remove method
13182
13183         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13184
13185 2001-06-24  The LyX Project  <Asger>
13186
13187         * Fix Qt compilation^2
13188
13189 2001-06-24  The LyX Project  <jug@sad.it>
13190
13191         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13192         depthHook(getDepth()-1).
13193
13194         * paragraph.h:
13195         * ParagraphParameters.h:
13196         * ParameterStruct.h: change type of depth to unsigned int ==
13197         depth_type. Many adaptations to other files before of that.
13198
13199 2001-06-24  The LyX Project  <Asger>
13200
13201         * Fix Qt compilation.
13202
13203 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * paragraph.h: renamed several methods to begin with small letter.
13206         several changes to many parts of the code because of this.
13207
13208 2001-06-23  The LyX Project  <jug@sad.it>
13209
13210         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13211         rewritten to discard all double spaces when KeepEmpty is off
13212         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13213         to only handle newlines but not fiddle with spaces and friends.
13214
13215         * lyxfunc.C (MenuNew): when doing 'new from template', use
13216         template_path as default directory
13217
13218 2001-06-23  The LyX Project  <Asger>
13219
13220         * Clean-up of header file includes all over
13221         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13222
13223 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * paragraph.h: renamed from lyxparagraph.h
13226
13227 2001-06-23  Asger  <lyx@violet.home.sad.it>
13228
13229         * Buffer.h: Removed Buffer::resize
13230         * BufferList.h: Removed BufferList::resize
13231         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13232         the document lazily when we change the width, or the font settings.
13233
13234 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13237
13238 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * buffer.h: remove out of date comment
13241
13242 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * lyxscreen.h:
13245         * screen.C: fix "theoretical" GC leak
13246
13247 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13248
13249         * LaTeX.C (scanAuxFile):
13250         (deplog): remove trailing \r when reading stream (useful under
13251         win32)
13252
13253 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13256         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13257         and BufferView::theLockingInset(Inset*), so should use them and not
13258         access bv_->text->the_locking_inset directly.
13259
13260         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13261
13262 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * Makefile.am:
13265         * tex-defs.h: remove old unused file
13266
13267 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * BufferView_pimpl.C: fix typo, remove minibuffer message
13270           when buffer has loaded
13271
13272 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * lyxfunc.C (Dispatch): use stringstream
13275         (MenuNew): use stringstream
13276         (Open): use stringstream
13277
13278         * importer.C (Import): use stringstream
13279
13280         * bufferview_funcs.C (CurrentState): use stringstream
13281
13282         * LaTeX.C (run): use stringstream
13283
13284         * BufferView_pimpl.C (savePosition): use stringstream
13285         (restorePosition): use stringstream
13286         (MenuInsertLyXFile): use stringstream
13287
13288 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * BufferView.C:
13291         * Bullet.C:
13292         * ColorHandler.C:
13293         * FontInfo.C:
13294         * FontLoader.C:
13295         * LColor.C:
13296         * LaTeXFeatures.C:
13297         * Painter.C:
13298         * gettext.C:
13299         * lyx_gui_misc.C:
13300         * lyxserver.C:
13301         * vspace.C: removed // -*- C++ -*- as first line.
13302
13303         * lyxfind.h:
13304         * version.h: added // -*- C++ -*- as first line.
13305
13306 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13307
13308         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13309
13310         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13311         of string
13312
13313 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13316         of floats.
13317
13318 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * gettext.C: include LString.h even when --disable-nls is on.
13321
13322 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * converter.h (Get): changed argument type from int to
13325         FormatList::size_type to avoid unnecessary conversion.
13326
13327         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13328         before using it.
13329
13330 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * gettext.h: include LString.h even when --disable-nls is on.
13333
13334 2001-06-07  Juergen Vigna  <jug@sad.it>
13335
13336         * text.C (BreakAgain): subst spaces with tabs.
13337
13338         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13339         (resizeInsetsLyXText): set force on resizeLyXText.
13340
13341 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * gettext.h (gettext_init):
13344         (locale_init): use a real definition instead of a macro
13345
13346 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * Bufferview_pimpl.C:
13349         * LColor.h:
13350         * LColor.C: further lcolor tidies
13351
13352 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * BufferView_pimpl.C (updateScrollbar): simplify.
13355
13356         * BufferView2.C: don't include insets/insetinfo.h, change
13357         prototype for insertInset and call the Pimpl version. let
13358         updateInset call Pimpl version.
13359
13360         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13361         gotoInset to BufferView::Pimpl
13362
13363 2001-06-01  Juergen Vigna  <jug@sad.it>
13364
13365         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13366         inside a LockingInset (is the update needed at all?).
13367
13368 2001-05-31  Juergen Vigna  <jug@sad.it>
13369
13370         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13371         here not the old one otherwise how should we compare it afterwards
13372         if it's the same!
13373
13374 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * lyxfont.C:
13377         * tabular.C:
13378         * tabular-old.C:
13379         * FontInfo.C: bring C functions into global namespace when
13380         necessary
13381
13382 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * LString.h: make sure config.h has been loaded before LString.h.
13385
13386         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13387         (one for each char read by EatLine!).
13388
13389         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13390         variables.
13391
13392 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13395         to the same as the par we break from
13396
13397 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13400
13401         * MenuBackend.C (expand): also create menu entries for wide
13402         versions of the floats.
13403
13404         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13405
13406         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13407
13408         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13409         frontends/Makefile.am
13410
13411         * text2.C: adjust
13412         * text.C: adjust
13413
13414
13415         * tabular.C (getTokenValue): add std::
13416
13417         * tabular-old.C (getTokenValue): add std::
13418         (getTokenValue): ditto
13419         (getTokenValue): ditto
13420
13421         * screen.C (ToggleSelection): adjust
13422
13423         * lyxtext.h: put selection cursors inside a Selection struct.
13424
13425         * lyxfunc.C (moveCursorUpdate): adjust
13426
13427         * lyxfont.C (latexWriteStartChanges): add std::
13428
13429         * lyxfind.C: adjust
13430
13431         * font.h: delete with(char const *, LyXFont const &)
13432
13433         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13434
13435         * FontInfo.C (getFontname): add std::
13436
13437         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13438         (workAreaButtonPress): adjust
13439         (tripleClick): adjust
13440         (update): adjust
13441         (moveCursorUpdate): adjust
13442         (Dispatch): adjust
13443
13444         * BufferView2.C (gotoInset): adjust
13445
13446 2001-05-30  Juergen Vigna  <jug@sad.it>
13447
13448         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13449         to check pspell I add this as default as I now have new pspell
13450         libraries and they seem to use this.
13451
13452 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * text2.C (CutSelection): make the cursor valid before the call to
13455         ClearSelection.
13456
13457 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13460         relied on 0 terminated strings and other horrors. Bug found due to
13461         the new assert in lyxstring!
13462
13463         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13464         KP_ keys.
13465
13466 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13469         to latinkeys.bind.
13470
13471         * lyxfunc.C (processKeySym): change method of getting to the
13472         self-insert char.
13473
13474         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13475         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13476         * BufferView_pimpl.[Ch]: here as private methods.
13477
13478 2001-05-28  Juergen Vigna  <jug@sad.it>
13479
13480         * text.C (SetHeightOfRow): added the update() call again as it is
13481         needed to initialize inset dimensions!
13482
13483 2001-05-16  Juergen Vigna  <jug@sad.it>
13484
13485         * text2.C (SetCharFont): Add new function with BufferView * and
13486         bool toggleall parameters for setting insets internal fonts.
13487         (SetFont): Freeze the undo as we may change fonts in Insets and
13488         all this change should be inside only one Undo!
13489
13490         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13491         setting font's in insets as for them we have the SetFont function!
13492
13493 2001-05-15  Juergen Vigna  <jug@sad.it>
13494
13495         * text2.C (ClearSelection): to be sure we REALLY don't have any
13496         selection anymore!
13497
13498         * tabular.C (TeXCellPreamble): fixed the left border problem for
13499         multicolumn cells.
13500
13501 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13502
13503         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13504         dependancy file
13505
13506 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13509         LFUN_BREAKPARAGRAPH.
13510
13511         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13512         help test to "internal only", similar for LFUN_INSERT_URL
13513
13514         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13515         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13516         auto_region_delete and deadkeys.
13517
13518 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13519
13520         * LColor.h:
13521         * LColor.C: remove some dead entries, tidy a little
13522
13523 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13526         commented code.
13527         (Dispatch): implement LFUN_ESCAPE
13528
13529         * commandtags.h: add LFUN_ESCAPE
13530
13531         * LyXAction.C (init): add entry for LFUN_ESCAPE
13532
13533         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13534         Remove commented code.
13535         (insertNote): moved here
13536         (open_new_inset): moved here
13537
13538         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13539         BufferView_pimpl
13540
13541 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * kbmap.C (findbinding): clean it up and make it work correctly.
13544
13545         * lyx_main.C (init): do not pass argc and argv as parameters
13546
13547 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13548
13549         * buffer.C: fix path for OS/2 & Win32
13550
13551         * lyx_gui.C:
13552         * lyx_main:
13553         * lyx_main.C: Added os:: class.
13554
13555         * os2_defines.h: update
13556
13557 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13558
13559         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13560         better by trying again with reduced state.
13561
13562 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13563
13564         * lyxrc.C (read): print error about invalid key sequence only when
13565         debugging (because not all latinX keysyms are known to some X
13566         servers)
13567
13568         * kbsequence.C (getiso): add a few std:: qualifiers
13569         (getiso): comment out extra return statement.
13570
13571 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13574         handling.
13575         (Dispatch): enhance the accent inset a bit. (not perfect)
13576
13577 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13580
13581 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * bufferlist.C (emergencyWrite): fix assert() call
13584
13585 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13586
13587         * text.C (InsertChar): Added trivial patch to only send the "you
13588         can not do multiple spaces this way" message once during a
13589         session.
13590
13591 2001-05-08  Baruch Even  <baruch@lyx.org>
13592
13593         * Makefile.am: Changed order of libraries to get LyX to link properly
13594         with the gnome frontend.
13595
13596 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * LaTeXFeatures.h: add a std:: qualifier
13599
13600 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * paragraph.C (String): use stringstream
13603
13604 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * paragraph.C (writeFile): remove footflag arg
13607
13608         * buffer.C (makeLaTeXFile): use stringstream
13609         (latexParagraphs): remove footnot gurba
13610
13611         * LaTeXFeatures.C (getPackages): use stringstream
13612         (getMacros): likewise
13613         (getTClassPreamble): likewise
13614         (getFloatDefinitions): new method
13615
13616         * paragraph.C (writeFile): reindent
13617         (Erase): reindent
13618
13619         * WorkArea.h: revert the xpos + etc changes.
13620
13621         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13622
13623         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13624
13625         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13626         (pasteSelection): likewise
13627         * text2.C (CreateUndo): likewise
13628
13629 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * minibuffer.C (peek_event): temporarily reduce the functionality
13632         of the minibuffer (to allow args on lfuns)
13633
13634         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13635         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13636
13637         * buffer.C (readInset): add compability reading of old float
13638         lists, add reading of new style float list.
13639         (readInset): avoid reevaluation of inscmd.getCmdName()
13640         (getLists): reindent
13641
13642         * MenuBackend.C (MenuItem): implement parsing of
13643         md_floatlistinsert and md_floatinsert.
13644         (expand::LastFiles): move initalizaton of iterators out of loop,
13645         avoid reevaluation.
13646         (expand::Documents): introduce typdedef vector<string> Strings,
13647         and use it.
13648         (expand::ExportFormats): introduce typedef vector<Format const *>
13649         Formats, and use it.
13650         (expand): implement FloatListInsert and FloatInsert.
13651
13652         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13653         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13654         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13655
13656         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13657         handling.
13658         (Dispatch::LFUN_FLOAT_LIST): implement
13659
13660 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13661
13662         * LaTeX.C (run): Fix problem with --export code.
13663
13664 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * BufferView.[Ch] (workarea): removed.
13667         (getClipboard) new method; wrapper for workarea()->getClipboard()
13668
13669         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13670         bug.
13671
13672         * WorkArea.h (width, height, xpos, ypos): These methods all
13673         returned the dimensions of the work_area sub-area of WorkArea,
13674         resulting in a position error if the WorkArea were resized. Now
13675         return the dimensions of the entire WorkArea.
13676
13677         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13678
13679 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * LaTeX.C (deplog): correct the syntax of regex reg1
13682
13683 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * undo.C: remove !NEW_INSETS cruft
13686
13687 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * text2.C: remove !NEW_INSETS cruft
13690
13691         * text.C: remove !NEW_INSETS cruft
13692
13693         * tabular.C: remove !NEW_INSETS cruft
13694
13695         * spellchecker.C: remove !NEW_INSETS cruft
13696
13697         * lyxtext.h: remove !NEW_INSETS cruft
13698
13699         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13700
13701         * lyxfunc.C: remove !NEW_INSETS cruft
13702
13703         * lyxfind.C: remove !NEW_INSETS cruft
13704
13705         * lyx_cb.C: remove !NEW_INSETS cruft
13706
13707         * figureForm.C: remove  !NEW_INSETS cruft
13708
13709         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13710
13711         * buffer.[Ch]: remove !NEW_INSETS cruft
13712
13713         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13714
13715         * CutAndPaste.C: remove !NEW_INSETS cruft
13716
13717         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13718
13719         * BufferView2.C: remove !NEW_INSETS cruft
13720
13721         * BufferView.h: remove !NEW_INSETS cruft
13722
13723 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * Lsstream.h: include LString.h before the sstream headers to
13726         fix problem with gcc 2.95.3 and lyxstring
13727
13728 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13729
13730         * lyx_main.C: add using directives when needed for C functions
13731         declared in std:: namespace.
13732
13733 2001-04-27  Juergen Vigna  <jug@sad.it>
13734
13735         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13736         (SetHeightOfRow): comment out the update call should not be needed!
13737
13738 2001-04-13  Juergen Vigna  <jug@sad.it>
13739
13740         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13741         (LyXTabular): tried to minimize operator= operations (and realized
13742         hopfully Lars wish).
13743
13744 2001-04-27  Juergen Vigna  <jug@sad.it>
13745
13746         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13747
13748 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13751
13752         * buffer.C (readInset): hack to make listof algorithm work
13753
13754         * BufferView_pimpl.C: hack to make listof algorithm work
13755
13756 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * LyXAction.C: removed all !NEW_INSETS cruft
13759         (init): moved lfun_item in method
13760
13761         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13762
13763 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13764
13765         * BufferView2.C (theLockingInset): white space.
13766
13767 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * minibuffer.C: include <iostream>
13770
13771         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13772
13773         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13774
13775         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13776
13777         * text.[Ch] (TransposeChars): new method
13778
13779 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * call message directly through LyXView instead of through LyXFunc
13782         * BufferView2.C: adjust
13783         * BufferView_pimpl.C: adjust
13784         * FontLoader.C: adjust
13785         * buffer.C: adjust
13786         * bufferview_funcs.C: adjust
13787         * converter.C: adjust
13788         * figureForm.C: adjust
13789         * importer.C: adjust
13790         * lyx_cb.C: adjust
13791         * lyx_gui_misc.C: adjust
13792         * lyxfunc.C: adjust
13793         * lyxvc.C: adjust
13794         * text2.C: adjust
13795         + more files in subdirs
13796
13797         * lyxparagraph.h (size): move up int file
13798         (GetLayout): ditto
13799
13800         * adjust all uses of Assert to lyx::Assert.
13801
13802         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13803         lyxfunctional in namespace lyx
13804         * layout.C (hasLayout): ditto
13805         (GetLayout): ditto
13806         (GetLayout): ditto
13807         (delete_layout): ditto
13808         (NumberOfClass): ditto
13809         * converter.C (GetFormat): ditto
13810         (GetNumber): ditto
13811         (Add): ditto
13812         (Delete): ditto
13813         (SetViewer): ditto
13814         * bufferlist.C (getFileNames): ditto
13815         (emergencyWriteAll): ditto
13816         (exists): ditto
13817         (getBuffer): ditto
13818         * MenuBackend.C (hasSubmenu): ditto
13819         (hasMenu): ditto
13820         (getMenu): ditto
13821         * BufferView_pimpl.C (getInsetByCode): ditto
13822
13823 2001-04-18  Juergen Vigna  <jug@sad.it>
13824
13825         * vspace.C (asLatexString): fixed the 100% problem.
13826
13827 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13828
13829         * lyxfunc.C (Dispatch):
13830         * minibuffer.C:
13831         * minibuffer.h: add a few std:: qualifiers
13832
13833 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13834
13835         * minibuffer.[Ch]: reimplement so that commands is initiated and
13836         run from lyxfunc, simplified som handling, and made the completion
13837         and history code for complete. wip.
13838
13839         * lyxfunc.C (processKeySym): call message
13840         (miniDispatch): new temporary method
13841         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13842         (LFUN_MESSAGE): implement
13843         (LFUN_MESSAGE_PUSH): implement
13844         (LFUN_MESSAGE_POP): implement
13845         (initMiniBuffer): the initial/defualt minibuffer message.
13846
13847         * lyxfont.[Ch]: inline some more getters
13848
13849         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13850
13851         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13852
13853         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13854         (AutoSave): use LFUN_MESSAGE
13855         (Reconfigure): ditto
13856
13857         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13858
13859         * figureForm.C: use LFUN_MESSAGE
13860
13861         * converter.C (runLaTeX): use LFUN_MESSAGE
13862
13863         * bufferview_funcs.C: use LFUN_MESSAGE
13864         (Melt): ditto
13865         (changeDepth): ditto
13866
13867         * bufferparams.h: use boost::
13868
13869         * bufferlist.h: inherit privately from noncopyable
13870
13871         * bufferlist.C (loadLyXFile): remove some commented code.
13872
13873         * buffer.C (runChktex): use LFUN_MESSAGE
13874
13875         * ShareContainer.h: inherit privately from noncopyable
13876
13877         * ParagraphParameters.[hC] (depth): inline it.
13878
13879         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13880         methods.
13881         (message): new method
13882         (messagePush): ditto
13883         (messagePop): ditto
13884         (show): init minibuffer
13885         (showState): direct call
13886
13887         * LaTeX.[Ch]: inherit privately from noncopyable
13888         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13889         instead of WriteStatus.
13890
13891         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13892
13893         * BufferView_pimpl.C (buffer): don't init minibuffer
13894         (workAreaButtonPress): use LFUN_MESSAGE
13895         (workAreaButtonRelease): ditto
13896         (savePosition): ditto
13897         (restorePosition): ditto
13898         (MenuInsertLyXFile): ditto
13899         (workAreaExpose): don't init minibuffer
13900         (update): remove commented code, simplify
13901
13902         * BufferView2.C (openStuff): use LFUN_MESSAGE
13903         (toggleFloat): ditto
13904         (menuUndo): ditto
13905         (menuRedo): ditto
13906         (copyEnvironment): ditto
13907         (pasteEnvironment): ditto
13908         (copy): ditto
13909         (cut): ditto
13910         (paste): ditto
13911         (gotoInset): ditto
13912         (updateInset): remove some commented code
13913
13914         * lastfiles.h: inherit privately from noncopyable
13915         * layout.h: ditto
13916         * lyx_gui.h: ditto
13917         * lyx_main.h: ditto
13918         * lyxlex.h: ditto
13919         * lyxlex_pimpl.h: ditto
13920
13921         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13922         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13923         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13924
13925         * LyXAction.h: inherit privately from noncopyable, add methods
13926         func_begin, func_end, returning iterators to the func map.
13927
13928         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13929         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13930         (func_begin): new method
13931         (func_end): new method
13932
13933         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13934         and not)
13935         (copySelection): ditto
13936         (pasteSelection): ditto
13937
13938         * BufferView.C: whitespace change
13939         * BufferView.h: inherit privately from noncopyable
13940
13941 2001-04-16  Allan Rae  <rae@lyx.org>
13942
13943         * tabular-old.C (l_getline):
13944         * spellchecker.C (sc_check_word):
13945         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13946         an unrecognised preprocessor directive.  So ensure they're wrapped.
13947
13948 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13949
13950         * src/exporter.C (Export): Give an error message when path to file
13951         contains spaces.
13952
13953 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13954
13955         * LaTeX.C (deplog): Always check that foundfile exists.
13956
13957 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13958
13959         * lyx_main.h:
13960         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13961
13962 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * tabular.[Ch] (getLabelList): implement new method
13965
13966         * minibuffer.h: comment ouf setTiimer
13967
13968         * minibuffer.C (ExecutingCB): constify res
13969         (peek_event): constify s
13970         (Set): constify ntext
13971         (Init): constify nicename
13972
13973         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13974
13975         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13976         (savePosition): use two params to Minibuffer::Set
13977         (restorePosition): ditto
13978
13979 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * lyx_main.C: include language.h
13982
13983         * Makefile.am (lyx_main.o): add language.h
13984
13985 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * exporter.C:
13988         * paragraph.C:
13989         * screen.C:
13990         * tabular.C:
13991         * CutAndPaste.C: include gettext.h
13992
13993         * lyxfont.h: remove old hack with ON and OFF.
13994
13995         * lyxparagraph.h:
13996         * lyxfont.h: do not include language.h...
13997
13998         * BufferView2.C:
13999         * LaTeXFeatures.C:
14000         * Painter.C:
14001         * bufferview_funcs.C:
14002         * font.C:
14003         * lyxfont.C:
14004         * text.C:
14005         * text2.C:
14006         * trans_mgr.C:
14007         * paragraph.C: ... but do it here instead
14008
14009 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14012
14013         * tabular.C: small reformat
14014
14015         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14016         NEW_INSETS version
14017         (GetChar): ditto
14018         (BreakParagraph): ditto
14019         (SetOnlyLayout): ditto
14020         (SetLayout): ditto
14021
14022         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14023         with one arg less.
14024
14025         * lastfiles.C: removed most using decl, add std:: where needed
14026
14027         * buffer.C: ws changes
14028
14029         * MenuBackend.C (class compare_format): put into anon namespace
14030         (expand): constify label, names, action, action2
14031         (expand):
14032
14033         * text.C (SingleWidth): constify font
14034         (IsBoundary): constify rtl2
14035         (GetVisibleRow): constify ww
14036
14037         * LaTeX.C (deplog): constify logfile
14038
14039         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14040         start_x, end_x
14041         (workAreaExpose): constify widthChange, heightChange
14042
14043         * lyxrow.C (par): moved
14044         (height): moved
14045         (next): moved
14046         * lyxrow.h: as inlines here
14047
14048         * lyxfont.h (shape): moved from lyxfont.C
14049         (emph): moved from lyxfont.C
14050
14051         * lyxfont.C (LyXFont): use initialization list for all
14052         constructors
14053         (shape): move to lyxfont.h as inline
14054         (emph): move to lyxfont.h as inline
14055
14056
14057 2001-04-04  Juergen Vigna  <jug@sad.it>
14058
14059         * vspace.C: had to include stdio.h for use of sscanf
14060
14061 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14062
14063         * BufferView.h:
14064         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14065         independent of xforms.
14066
14067 2001-04-02  Juergen Vigna  <jug@sad.it>
14068
14069         * spellchecker.C: fixed namespace placing!
14070
14071 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14072
14073         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14074         the LyXParagraph * is 0.
14075
14076 2001-03-29  Juergen Vigna  <jug@sad.it>
14077
14078         * vspace.C: added support for %, c%, p%, l%.
14079         (stringFromUnit): added helper function.
14080         (asLatexString): changed to give right results for the %-values.
14081
14082         * buffer.C: convert the widthp in a width%.
14083
14084 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14087         figureForm.[Ch].
14088
14089         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14090         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14091
14092         * lyx_cb.[Ch]: see above.
14093
14094         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14095         form1.[Ch].
14096
14097         * form1.[Ch]:
14098         * lyx.[Ch]: replaced by figure_form.[Ch].
14099
14100         * lyx_gui.C:
14101         * lyx_gui_misc.C:
14102         * lyxfunc.C: changed headers associated with above changes.
14103
14104 2001-03-27  Juergen Vigna  <jug@sad.it>
14105
14106         * BufferView_pimpl.C: set the temporary cursor right!
14107
14108 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14111
14112 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * LString.h: removed "using std::getline"!
14115
14116         * BufferView_pimpl.C (Dispatch): changes due to changes in
14117         InsetInclude::Params.
14118
14119         * buffer.C (tag_name): removed redundant break statements as they were
14120         producing lots of warnings with my compiler.
14121
14122 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14123
14124         * LString.h: add "using std::getline" when using the real <string>.
14125
14126 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14127
14128         * buffer.C: removed bitset usage.
14129         PAR_TAG moved to an anonymous name space.
14130         (tag_name): new funtion, also in the anonymous namespace.
14131         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14132         (makeDocBookFile): clean code. Completed transition from string arrays
14133         to string vectors.
14134         (SimpleDocBookOnePar): code clean.
14135
14136 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14137
14138         * tabular.C: add some comments.
14139
14140 2001-03-22  Juergen Vigna  <jug@sad.it>
14141
14142         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14143         compatibility read a bit and fixed bug with minipage in different
14144         depth.
14145
14146 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14147
14148         * buffer.C (pop_tag): removed.
14149         (push_tag): removed.
14150         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14151         array replaced with vector. Added support for CDATA sections.
14152         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14153         at any nest level.
14154         (makeDocBookFile): XML conformant declaration of CDATA section,
14155         fixed bug related to <emphasis> in the first paragraph char.
14156         (sgmlOpenTag): exclude empty tags.
14157         (sgmlCloseTag): ditto.
14158
14159         * buffer.h (pop_tag): removed.
14160         (push_tag): removed.
14161
14162 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14163
14164         * language.h (Languages): added size_type and size().
14165
14166 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14167
14168         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14169         response on compability reading of minipages. One probliem is that
14170         the old usage of minipages was «flertydig»
14171
14172         * several files here and in subdirs: don't use static at file
14173         scope use anon namespaces instead.
14174
14175 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14176
14177         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14178         LaTeX output. This is necessary for Literate document
14179         processing.
14180
14181 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14182
14183         * buffer.C: insert hfill when needed.
14184
14185         * tabular.C (l_getline): use string::erase, small whitespace change.
14186
14187         * BufferView_pimpl.C: try the anon namespace.
14188         * WorkArea.C: ditto
14189
14190 2001-03-16  Juergen Vigna  <jug@sad.it>
14191
14192         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14193         otherwise it won't open options-dialogs.
14194
14195         * buffer.C: honor pextraWidth(p) on converting minipages.
14196
14197         * tabular.C (l_getline): changed the functions to strip trailing \r.
14198
14199 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * BufferView_pimpl.C:
14202         * minibuffer..C: added "using SigC::slot" declaration.
14203
14204 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14205
14206         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14207
14208         * text2.C: ditto
14209
14210         * text.C: ditto
14211
14212         * paragraph.C: ditto
14213
14214         * lyxtext.h: NO_PEXTRA
14215
14216         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14217
14218         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14219         * ParameterStruct.h: ditto
14220         * ParagraphParameters.h: ditto
14221         * lyxparagraph.h: ditto
14222
14223 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14224
14225         * buffer.C: add compability for minipage alignment.
14226         (latexParagraphs): remove unwanted pextra check.
14227
14228         * several files: remove CXX_WORKING_NAMESPACES
14229
14230         * buffer.C (pop_tag): tie is in namespace boost
14231
14232         * BufferView.h: noncopyable is in namespace boost
14233         * lyxlex.h: ditto
14234         * lyx_main.h: ditto
14235         * lyx_gui.h: ditto
14236         * layout.h: ditto
14237         * lastfiles.h: ditto
14238         * bufferlist.h: ditto
14239         * ShareContainer.h: ditto
14240         * LyXView.h: ditto
14241         * LyXAction.h: ditto
14242         * LaTeX.h: ditto
14243
14244 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14245
14246         * Merging changes from BRANCH_MVC back into HEAD.
14247
14248         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14249
14250 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * BufferView_pimpl.C: change from intl.C
14253
14254         * combox.h:
14255         * combox.C:
14256         * Makefile.am: move combox.*
14257
14258         * form1.h:
14259         * form1.C:
14260         * lyx_gui.C:
14261         * intl.h:
14262         * intl.C: remove dialog (covered by prefs)
14263
14264 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14265
14266         * lyxfunc.C (Dispatch): removed redundant break statement.
14267
14268 2001-03-14  Juergen Vigna  <jug@sad.it>
14269
14270         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14271
14272 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14273
14274         * buffer.C: add hack to fix compability reading of minipages.
14275
14276 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14277
14278         * buffer.C (getLists): Cleanup.
14279
14280 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * lyxfont.C (update): don't honor toggleall on font size.
14283
14284 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14285
14286         * bmtable.c:
14287         * bmtable.h:
14288         * Makefile.am: moved to frontends/xforms/
14289
14290         * lyx_gui_misc.C:
14291         * lyxfunc.C:
14292         * BufferView_pimpl.C: changes for moved mathpanel
14293
14294 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * gettext.h: fix gettext_init() in --disable-nls
14297
14298 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14301
14302 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14303
14304         * lyx.C:
14305         * lyx.h: strip external form
14306
14307 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * BufferView_pimpl.C: add comment, destroySplash()
14310
14311 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14312
14313         * BufferView_pimpl.C:
14314         * LyXAction.C:
14315         * buffer.C:
14316         * commandtags.h:
14317         * lyxfunc.C: use re-worked insetinclude
14318
14319 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14320
14321         * buffer.C: add using std::stringstream.
14322
14323         * lyx_cb.C: readd using std::ios.
14324
14325         * buffer.C: add using std::map.
14326
14327         * BufferView_pimpl.C: add using std::vector.
14328
14329         * ShareContainer.h: add std:: to swap.
14330
14331         * buffer.h: add some typedefs
14332         * buffer.C (getLists): use them
14333         (getLists): renamed from getTocList.
14334         add a counter for the different float types and use it in the
14335         generated string.
14336         (getLists): use the same counter for the NEW_INSETS and the "non"
14337         NEW_INSETS
14338
14339         * lyx_cb.h: remove unused items, includes, using etc.
14340
14341         * ShareContainer.h: remove some commented code, add more comments
14342         and "documentation".
14343
14344 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14345
14346         * buffer.C (getTocList): make the list also when NEW_INSETS is
14347         defined.
14348
14349         * buffer.h: remove TocType
14350
14351         * buffer.C (getTocList): change to return a map<string,
14352         vector<TocItem> >, implement for dynamic number of list.
14353
14354         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14355         * text2.C (PasteSelection): adjust
14356         * CutAndPaste.C (pasteSelection): adjust
14357
14358         * FloatList.C (FloatList): update from the new_insets branch.
14359         * Floating.[Ch]: ditto
14360         * LaTeXFeatures.C: ditto
14361         * buffer.C: ditto
14362         * lyxlex_pimpl.C: ditto
14363
14364         * paragraph.C (Last): remove when NEW_INSETS is defined.
14365
14366         * other file: changes because of the above.
14367
14368 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14369
14370         * lyxparagraph.h: rename next to next_, previous to previous_,
14371         make them private for NEW_INSETS. Rename Next() to next(),
14372         Previous() to previous().
14373
14374         * other files: changes because of the above.
14375
14376 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * BufferView.h:
14379         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14380         problem.
14381
14382 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * main.C (main): pass lyx_localedir to gettext_init().
14385
14386         * gettext.h: remove locale_init and gettext_init macros
14387
14388         * gettext.C (locale_init): new function
14389         (gettext_init): new function
14390
14391         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14392         setlocale().
14393
14394 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14395
14396         * Moved credits to frontends:
14397         * credits.[Ch]: removed
14398         * credits_form.[Ch]: removed
14399         * lyx_gui_misc.C: remove credits stuff
14400         * Makefile.am:
14401
14402 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14403
14404         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14405
14406         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14407         unneeded destructor.
14408
14409         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14410         a standalone pointer again.
14411
14412         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14413
14414 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * Makefile.am:
14417         * filedlg.h:
14418         * filedlg.C:
14419         * LyXAction.C:
14420         * ToolbarDefaults.C:
14421         * bufferlist.C:
14422         * commandtags.h:
14423         * form1.C:
14424         * form1.h:
14425         * lyx_cb.C:
14426         * lyx_cb.h:
14427         * lyxfunc.h:
14428         * lyxfunc.C:
14429         * BufferView_pimpl.C: use new file dialog in GUII
14430
14431         * lyx_cb.h:
14432         * lyx_cb.C: remove LayoutsCB to Toolbar
14433
14434 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * ShareContainer.h (get): add std:: qualifier
14437
14438 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14439
14440         * ShareContainer.h: define a proper ShareContainer::value_type
14441         type (and use typename to please compaq cxx)
14442
14443 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14444
14445         * lyxparagraph.h: move serveral local vars to
14446         ParameterStruct/ParagraphParameters., use ShareContainer in
14447         FontTable., make vars in FontTable private and add getter and
14448         setter.
14449
14450         * paragraph.C: changes because of the above.
14451
14452         * lyxfont.h: remove copy constructor and copy assignment. (the
14453         default ones is ok), move number inside FontBits. move inlines to
14454         lyxfont.C
14455
14456         * lyxfont.C: add number to initializaton of statics, move several
14457         inlines here. constify several local vars. some whitespace
14458         cleanup. Dont hide outerscope variables.
14459
14460         * Spacing.h: add two new constructors to match the set methods.
14461
14462         * ShareContainer.h: new file, will perhaps be moved to support
14463
14464         * ParameterStruct.h: new file
14465
14466         * ParagraphParameters.h: new file
14467
14468         * ParagraphParameters.C: new file
14469
14470         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14471         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14472
14473         * BufferView_pimpl.C: ParagraphParameter changes.
14474         * buffer.C: Likewise.
14475         * bufferview_funcs.C: Likewise.
14476         * text.C: Likewise.
14477         * text2.C: Likewise.
14478
14479 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14480
14481         * lyxfind.C (LyXReplace): do not redefine default argument in
14482         implementation.
14483         (IsStringInText): ditto
14484         (SearchForward): ditto
14485         (SearchBackward): ditto
14486
14487 2001-03-06  Juergen Vigna  <jug@sad.it>
14488
14489         * lyxfind.C (IsStringInText): put parentes around expressions.
14490
14491 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14492
14493         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14494
14495 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14498
14499         * stl_string_fwd.h: add comment
14500
14501         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14502
14503         * tabular.h:
14504         * tabular.C: remove unused DocBook methods
14505
14506         * intl.C:
14507         * language.C:
14508         * paragraph.C:
14509         * buffer.C:
14510         killed DO_USE_DEFAULT_LANGUAGE
14511
14512 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * lyx_gui.C: do not include language.h.
14515
14516         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14517         arguments in function implementation.
14518
14519 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14520
14521         * BufferView_pimpl.C: add <ctime>
14522
14523 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14524
14525         * BufferView_pimpl.C: add using std::find_if
14526
14527 2001-02-27  José Matos  <jamatos@fep.up.pt>
14528
14529         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14530         by OnlyPath.
14531
14532 2001-02-11  José Matos  <jamatos@fep.up.pt>
14533
14534         * buffer.C (makeDocBookFile): command styles now have a parameter as
14535         "title" by default.
14536
14537 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14538
14539         * layout_forms.[Ch]: removed
14540         * lyx_cb.[Ch]: out character
14541         * lyx_gui.C: out character
14542         * lyx_gui_misc.C: out character
14543         * bufferview_funcs.C: : out character,
14544         added toggleall as parameter in ToggleAndShow
14545
14546 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14547
14548         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14549
14550         * text2.C (SetCurrentFont): Disable number property at boundary.
14551
14552 2001-02-26  Juergen Vigna  <jug@sad.it>
14553
14554         * lyxfunc.C (getStatus): added a string argument override function so
14555         that this is correctly called from LyXFunc::Dispatch if it contains a
14556         do_not_use_argument which is used!
14557         (Dispatch): added check for "custom" export and call appropriate func.
14558
14559 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14560
14561         * lyxrc.C: Add language_command_local, language_use_babel and
14562         language_global_options.
14563
14564         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14565
14566         * buffer.C (makeLaTeXFile): Use language_use_babel and
14567         language_global_options.
14568
14569 2001-02-23  Juergen Vigna  <jug@sad.it>
14570
14571         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14572         which works with LyXText and putted it inside BufferView. Here now we
14573         only call for that part the BufferView::Dispatch() function.
14574
14575         * BufferView.C (Dispatch): added.
14576
14577         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14578         functions which needs to use a LyXText over from LyXFunc.
14579         (MenuInsertLyXFile): added
14580         (getInsetByCode): added
14581         (moveCursorUpdate): added
14582         (static TEXT): added
14583
14584 2001-02-22  Juergen Vigna  <jug@sad.it>
14585
14586         * BufferView_pimpl.C (update): call a status update to see if LyXText
14587         needs it.
14588
14589 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14590
14591         * vc-backend.C (revert): implement for CVS
14592         (getLog): implement for CVS
14593
14594 2001-02-20  Juergen Vigna  <jug@sad.it>
14595
14596         * text2.C (ClearSelection): added BufferView param for inset_owner call
14597
14598         * lyxfunc.C (TEXT): added this function and use it instead of
14599         directly owner->view()-text of getLyXText().
14600
14601 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14602
14603         * src/layout_forms.C: out preamble
14604         * src/layout_forms.h: out preamble
14605         * src/lyx_cb.C: out preamble
14606         * src/lyx_cb.h: out preamble
14607         * src/lyx_gui.C: out preamble
14608         * src/lyx_gui_misc.C: out preamble
14609         * src/lyxfunc.C: connect with guii preamble
14610
14611 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14614
14615 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14616
14617         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14618         whether to run bibtex.
14619
14620 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14623
14624 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14625
14626         * Makefile.am (lyx_SOURCES): removed bibforms.h
14627
14628         * vspace.h: doxygen
14629
14630         * text.C (GetVisibleRow): make several local vars const
14631
14632         * tabular.C: small cleanup.
14633
14634         * lyxserver.C (callback): use compare instead of strncmp
14635
14636         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14637         inlines to after class or to paragraph.C
14638
14639         * lyxfont.h: remove friend operator!=
14640
14641         * converter.h: move friend bool operator< to non friend and after
14642         class def.
14643
14644         * combox.h: small cleanup
14645
14646         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14647         to inlines after class def.
14648
14649         * buffer.C (pop_tag): use string operations instead of strcmp
14650
14651         * bmtable.c: doxygen, small cleanup
14652
14653         * LaTeX.h: remove friend operator==
14654
14655 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14656
14657         * screen.C:
14658         * lyxrc.[Ch]:
14659         * lyxfunc.C:
14660         * lyxfont.[Ch]:
14661         * lyx_cb.C:
14662         * intl.[Ch]:
14663         * commandtags.h:
14664         * buffer.C:
14665         * WorkArea.[Ch]:
14666         * LyXAction.C:
14667         * BufferView_pimpl.C:
14668         * BufferView.[Ch]: remove cruft
14669
14670 2001-02-14  Juergen Vigna  <jug@sad.it>
14671
14672         * lyxfunc.C: removed #if 0 unused code
14673
14674         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14675
14676         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14677
14678         * text2.C (SetSelection): added a BufferView * parameter
14679
14680 2001-02-13  Juergen Vigna  <jug@sad.it>
14681
14682         * lyxfunc.C (Dispatch): fixed protected blank problem.
14683         * BufferView2.C (protectedBlank): added LyxText * parameter.
14684
14685         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14686         (AppendColumn): same as above for column_info.
14687
14688         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14689         (moveCursorUpdate): use a LyXText param for support of InsetText.
14690
14691         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14692         (tripleClick): ditto
14693
14694         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14695
14696         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14697
14698         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14699
14700         * text2.C (SetSelection): set correct update status if inset_owner
14701         (ToggleFree): ditto
14702
14703 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14704
14705         * tabular.C: remove some commented code.
14706
14707 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * BufferView_pimpl.C: call hideSplash()
14710
14711         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14712
14713         * include_form.h:
14714         * bibforms.h: remove
14715
14716         * lyxfunc.C:
14717         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14718           add LFUN_CHILD_CREATE
14719
14720         * counters.h: fix tiny typo
14721
14722         * lyx_cb.C:
14723         * lyx.h:
14724         * lyx_gui.C:
14725         * lyx.C: move splash to frontends/xforms/
14726
14727         * lyx_gui_misc.C: move Include and Bibform to frontends
14728
14729         * lyxvc.h: clarify comment
14730
14731         * vspace.C: tiny housekeeping
14732
14733 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14734
14735         * text.C (PrepareToPrint): RTL Fix.
14736
14737         * paragraph.C (GetUChar): New method.
14738         (String):  Use GetUChar.
14739
14740         * buffer.C (asciiParagraph): Use GetUChar.
14741
14742 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14743
14744         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14745
14746 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * buffer.h:
14749         * buffer.C: rename to getLogName(), handle
14750           build log / latex log nicely
14751
14752 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * MenuBackend.C:
14755         * MenuBackend.h: remove support for reference menuitem type.
14756
14757 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14758
14759         * BufferView_pimpl.C: housekeeping
14760         * BufferView_pimpl.h:
14761         * LyXView.h:
14762         * Makefile.am:
14763         * Timeout.C:
14764         * Timeout.h:
14765         * minibuffer.h: move Timeout GUI-I
14766
14767 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * lyxrc.C (read): Update converters data-structures.
14770
14771 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14772
14773         * LaTeX.h (operator!=): add operator != for Aux_Info
14774
14775 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14776
14777         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14778
14779         * LaTeXLog.C: deleted, useful code moved to Buffer
14780
14781         * buffer.h:
14782         * buffer.C: new function getLatexLogName()
14783
14784         * lyx_gui_misc.C:
14785         * lyx_gui.C:
14786         * lyxvc.C:
14787         * lyxvc.h:
14788         * lyxfunc.C: use frontends for LaTeX and VC logs
14789
14790 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * LaTeX.h: yet another std:: that Allan forgot.
14793
14794         * Variables.C (set): renamed from isset(), because this clashes
14795         with some HP-UX macros (grr).
14796
14797 2001-02-06  Allan Rae  <rae@lyx.org>
14798
14799         * LaTeX.h: Another bug fix.  Missing std:: this time.
14800
14801 2001-02-04  Allan Rae  <rae@lyx.org>
14802
14803         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14804         floats problem. I've left it commented out because it's not quite
14805         correct.  It should also test that the current object is a table or
14806         figure inset.  But I haven't gotten around to figuring out how to do
14807         that.  I *think* it'll be something like: "table" == inset.type()
14808
14809         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14810         bool.
14811
14812 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14815         all the citation/databases/styles in the auxilary file.
14816         (run): Rerun latex if there was a babel language error.
14817
14818 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * text.C (Backspace): Preserve the font when changing newline char
14821         with a space.
14822         (BreakParagraph): If the cursor is before a space, delete the space.
14823
14824         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14825
14826 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14827
14828         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14829         new argument (code).
14830         (ChangeCitationsIfUnique): New method.
14831
14832         * paragraph.C (GetPositionOfInset): Handle bibkey.
14833
14834 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14835
14836         * BufferView_pimpl.h: change type of Position::par_pos to
14837         LyXParagraph::size_type.
14838
14839 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14840
14841         * BufferView_pimpl.C (savePosition, restorePosition): Write
14842         messages to minibuffer.
14843
14844 2001-01-28  José Matos  <jamatos@fep.up.pt>
14845
14846         * buffer.C (makeDocBookFile): adds support for document language.
14847         A silly restriction on the name of LatexCommand types where removed.
14848         Added support for CDATA sections, allows to chars unescaped, used
14849         among others in code, to avoid escape < and >.
14850
14851 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14852
14853         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14854         saved positions instrad of a stack. Furthermore, a position is
14855         stored using paragraph id/paragraph position.
14856
14857         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14858         Remove LFUN_REF_BACK.
14859
14860 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14861
14862         * converter.C (dvipdfm_options): New method.
14863
14864 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14865
14866         * vspace.C (isValidLength): Fix for empty input string.
14867
14868 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14869
14870         * LyXAction.C (init): change description of LFUN_FIGURE to
14871         "Insert Graphics"
14872
14873 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * LaTeX.C: add using directive
14876
14877 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * MenuBackend.C (expand): Fix the sorting of the formats.
14880
14881 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14882
14883         * lyx_main.C: tiny error message fix
14884
14885 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14888         calling fl_initialize(). This fixes the problem with ',' as
14889         decimal separator in text files.
14890
14891 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * trans.C (process): Fix the keymap bug.
14894
14895 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * LaTeX.C (scanAuxFiles): New method. Provides support for
14898         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14899         (scanLogFile) Scan for "run BibTeX" messages.
14900
14901         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14902         OT1 font encoding. Also, load the aecompl package if the ae
14903         package is loaded.
14904
14905         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14906
14907 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * texrow.C (increasePos): turn two error messages into debug
14910         messages.
14911
14912 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14913
14914         * LaTeX.C (scanAux): Handle the \@input macro.
14915         (runBibTeX): Use scanAux().
14916
14917         * language.C (latex_options_): New field.
14918
14919         * LaTeXFeatures.C (getMacros): Add language macros.
14920
14921         * buffer.C (makeLaTeXFile): Small fix.
14922
14923 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14926
14927         * text2.C: add a using directive.
14928
14929 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14930
14931         * BufferView2.C:
14932         * lyx_gui_misc.h:
14933         * lyxfr1.C:
14934         * lyxfunc.C: kill LyXBell.
14935
14936 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14937
14938         * text.C (IsBoundary): Remove the error message
14939
14940         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14941
14942         * lyxrc.C (setDefaults): Correct initialization value for
14943         font_norm_type.
14944
14945 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14946
14947         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14948         gotoError().
14949
14950         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14951         and GotoNextNote().
14952
14953         * src/LyXAction.C: Added reference-next.
14954
14955         * text.C (InsertChar): Use contains instead of strchr.
14956
14957         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14958
14959 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14960
14961         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14962         alignment commands (when needed).
14963
14964         * text.C (InsertChar): Add ':' to number separator chars.