]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove a few rarely neede LyXTExt member functions
[lyx.git] / src / ChangeLog
1 2004-03-17  Angus Leeming  <leeming@lyx.org>
2
3         * lfuns.h:
4         * LyXAction.C (init): remove LFUN_FORKS_KILL.
5
6         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
7         dialog and to kill a forked process.
8
9 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * text2.C (setCursorFromCoordinates): fix font problem
12
13 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
16         bogus "rebuild cursor" code
17
18 2004-03-11  André Pönitz  <poenitz@gmx.net>
19
20         * buffer.[Ch]: use InsetText instead of LyXText as container for 
21         the main lyx text.
22
23         * dociterator.[Ch]: drop the BufferView * member which is not needed
24         anymore after the change to buffer.C
25
26         * paragraph_funcs.C:
27         * text.C:
28         * text2.C:
29         * BufferView.[Ch]:
30         * BufferView_pimpl.[Ch]:
31         * cursor.[Ch]:
32         * cursor_slice.[Ch]: adjust
33
34         * text3.C: fix bug in mathDispatch
35
36 2004-03-08  André Pönitz  <poenitz@gmx.net>
37
38         * undo.[Ch]: use 'StableDocumentIterator' as base for
39         the Undo struct.
40
41 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * LaTeXFeatures.C:
44         * bufferparams.[Ch]: add jurabib support and param.
45
46         * LaTeX.C: add FIXME/comment.
47
48 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
49
50         * buffer.C: increment file format to 230.
51
52 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
53
54         * cursor.C (dispatch): avoid infinite loops
55
56 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * rowpainter.C (paintSelection): fix x coordinates
59
60 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * text.C (rowBreakPoint): fix breaking before displayed insets
63
64 2004-03-01  André Pönitz  <poenitz@gmx.net>
65
66         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
67
68         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
69
70         * Makefile.am:
71         * BufferView.C:
72         * BufferView_pimpl.C:
73         * buffer.C:
74         * lyxfind.C:
75         * lyxfunc.C:
76         * text.C:
77         * text2.C:
78         * text3.C: adjust
79
80 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * lyxtext.h:
83         * text.C:
84         * text2.C:
85         * rowpainter.C:
86         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
87         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
88
89 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * Bidi.[Ch] (computeTables): const correctness
92         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
93         fill_hfill, fill_label_hfill and x from Row
94         * lyxtext.h: prepareToPrint returns a RowMetrics
95         * rowPainter.C: adjust
96         * text.C (prepareToPrint): use width, not textWidth. adjust
97         (redoParagraphInternal, cursorX): adjust
98         * text2.C (getColumnNearX): adjust
99         (init): put a default value to the top LyXText::width
100
101 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
104
105 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * lyxtext.h: add FontIterator class 
108
109         * text.C (FontIterator, operator*, operator->, operator++): add
110         (rowBreakPoint, setRowWidth): adjust (fixing a
111         rebreaking bug)
112
113 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * BufferView_pimpl.C (workAreaDispatch): allow also
116         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
117
118 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * text.C (rowBreakPoint): fix a bug showing with very large insets
121
122 2004-02-25  André Pönitz  <poenitz@gmx.net>
123
124         * text3.C:
125         * cursor.[Ch]: move some mathed specific code to mathed
126
127 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
128
129         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
130         use_tempdir in preferences
131         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
132         tempfile creation
133         * lyx_main.C: ensure that tempdir is valid
134         * lyxlex.h: correct typo
135         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
136         * paragraph.[Ch] (isMultiLingual): make const
137         * cursor.[Ch] (openable): make const
138
139 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
140
141         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
142
143 2004-02-20  André Pönitz  <poenitz@gmx.net>
144
145         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
146
147         * cursor.[Ch]: prepare for localized getStatus()
148
149         * lyxtext.h:
150         * tabular.C:
151         * text.C:
152         * text2.C:
153         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
154
155 2004-02-20  André Pönitz  <poenitz@gmx.net>
156
157         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
158
159 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
160
161         * text2.C (setCursorFromCoordinates): switch to absolute coords
162         (cursorUp): adjust
163         (cursorDown): adjust
164         * text3.C (dispatch): adjust
165
166 2004-02-16  André Pönitz  <poenitz@gmx.net>
167
168         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
169           insets/ChangeLog)
170
171         * cursor_slice.[Ch]: remove unneeded acessor function
172
173         * lyxtext.h: rename rtl() to isRTL()
174
175         * rowpainter.C:
176         * tabular.C:
177         * text.C:
178         * text2.C:
179         * text3.C: adjust
180
181 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
182
183         * rowpainter.C (paintSelection): coord fix
184
185 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
186
187         * Spacing.C: compile fix
188
189 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
190
191         * cursor.C (dispatch): restore current_ before returning
192
193 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
194
195         * text2.C (cursorUp, cursorDown): fix coords
196         (moveUp): fix crash
197
198 2004-02-12  André Pönitz  <poenitz@gmx.net>
199
200         * lyxtext.h:
201         * text.C:
202         * text2.C:
203         * text3.C: add LCursor & parameter to most cursor movement functions
204           remove usage of LyXText::cursorRow() and cursorPar()
205
206         * cursor.[Ch]: add textRow() needed members
207
208         * BufferView.C:
209         * BufferView_pimpl.C:
210         * paragraph.[Ch]:
211         * BufferView.C:
212         * BufferView_pimpl.C: adjust
213
214 2004-02-11  André Pönitz  <poenitz@gmx.net>
215
216         * lyxfunc.C:
217         * BufferView.[Ch]:
218         * BufferView_pimpl.C: shift undo/redo handling
219
220         * cursor.[Ch]: fix mathed crash
221
222         * lyxfind.C:
223         * lyxtext.h: move selectionAsText to LCursor
224
225         * output_latex.C:
226         * paragraph.C:
227         * text.C:
228         * text2.C:
229         * text3.C: adjust
230
231         * rowpainter.C: fix excessive drawing
232
233 2004-02-06  André Pönitz  <poenitz@gmx.net>
234
235         * BufferView.[Ch]:
236         * BufferView_pimpl.[Ch]:
237         * text3.C: move some text specific LFUN handling
238
239 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
240
241         * text3.C (checkInsetHit): adjust coords
242         * text2.C (getColumnNearX): adjust coords
243         (edit): adjust coords
244         * text.C (getRowNearY): add two asserts
245
246 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * converter.C:
249         * format.C: add using std::distance to compile on gcc 2.95/stlport
250
251 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
254
255 2004-02-04  André Pönitz  <poenitz@gmx.net>
256
257         * BufferView.[Ch] (insertInset):
258         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
259
260         * text2.C:
261         * text3.C: adjust
262
263 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
266         on the default clause of the switch
267         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
268         wasn't catched by LCursor::dispatch
269
270 2004-02-03  André Pönitz  <poenitz@gmx.net>
271
272         * BufferView.C:
273         * cursor.[Ch]: some additional asserts
274
275         * undo.[Ch]: remove LyXText dependency in interface
276
277         * lyxfunc.C: adjust
278
279         * lyxtext.h (firstPar, lastPar): remove dead functions 
280
281         * text.C:
282         * text2.C:
283         * text3.C:
284         * paragraph.[Ch]: adjust
285
286 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
287
288         * lyxfind.C (find): fix argument order in call to ::find
289
290 2004-02-02  André Pönitz  <poenitz@gmx.net>
291
292         * cursor.[Ch]: remove direct access to anchor
293
294         * text.C: remove findText() hack
295
296 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * iterators.[Ch] (lockPath): remove in favour of...
299         * BufferView.[Ch] (setCursor): this addition
300         * BufferView.C (putSelectionAt): adjust
301         * undo.C (performUndoOrRedo): adjust
302         * lyxfunc.C (dispatch): adjust
303
304 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * iterators.C (lockPath): add a missing slice
307         * undo.C (performUndoOrRedo): remove redundant positioning code
308
309 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * vc-backend.C (scanMaster): ";" -> ';'
312
313 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
314
315         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
316         std::binary_function
317
318         * lyxtextclass.C (compare_name): rename to...
319         (LayoutNamesEqual): ...this
320
321         * lyxlex_pimpl.C (compare_tags): inherit from
322         std::binary_function, put back into anon namespace
323
324         * lyxfind.C (MatchString): inherig from std::binary_function
325         (findChange): use empty() istead of !size()
326
327         * format.C (FormatNamesEqual): new functor
328         (getFormat): use it
329         (getNumber): use it
330         (add): use it
331         (erase): use it
332         (setViewer): use it
333
334         * converter.C (compare_Converter): rename to...
335         (ConverterEqual): ...this, and fixup a bit.
336         (getConverter): use it, and make function const
337         (getNumber): use it, and make function const
338         (add): use it
339         (erase): use it:
340
341         * bufferlist.C: add using boost::bind
342
343         * MenuBackend.C (MenuNamesEqual): new functor
344         (hasMenu): use it, and make function const
345         (hasSubmenu): use nested bind to get rid of compare_memfun.
346
347 2004-01-30  André Pönitz  <poenitz@gmx.net>
348
349         * BufferView_pimpl.C:
350         * cursor.C:
351         * cursor.h:
352         * cursor_slice.[Ch]:
353         * lyxfunc.C:
354         * lyxtext.h:
355         * paragraph_funcs.C:
356         * paragraph_funcs.h:
357         * rowpainter.C:
358         * text.C:
359         * text2.C:
360         * text3.C: move some of the edit(x,y) handling to the insets
361         some coordinate changes.
362
363 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
364
365         * text.C: add using statements for std::advance and std::distance
366
367         * paragraph.C: add using statement for std::distance
368
369         * lyxfind.C: add using statement for std::advance
370
371         * cursor.C (region): remove std:: from swap
372         (openable): use nucleus in stead of operator->
373
374         * BufferView.C: add using statements for std::distance and std::swap
375
376 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
377
378         * iterators.C: Remove the pimple, move the needed structures to
379         the header file. Create accessor for the positions stack.
380         (asPosIterator): remove function
381
382         * PosIterator.C (PosIterator): move constructors to top of file
383         (PosIterator): reimplement the constructor taking a ParIterator in
384         terms of setFrom.
385         (setFrom): new function
386         (operator!=): inline it
387
388 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
389
390         * lyxfind.C (replaceAll): use std::advance
391
392         * iterators.h: inherit from std::iterator.
393
394         * PosIterator.C (advance, distance): remove
395         * PosIterator.h: interit from std::iterator.
396
397 2004-01-26  André Pönitz  <poenitz@gmx.net>
398
399         * BufferView.[Ch]:
400         * BufferView_pimpl.[Ch]:
401         * InsetList.[Ch]:
402         * PosIterator.[Ch]:
403         * buffer.h:
404         * bufferview_funcs.C:
405         * cursor.[Ch]:
406         * cursor_slice.h:
407         * factory.[Ch]:
408         * iterators.[Ch]:
409         * lyxfind.C:
410         * lyxfunc.C:
411         * lyxtext.h:
412         * output_docbook.C:
413         * output_latex.C:
414         * output_linuxdoc.C:
415         * output_plaintext.C:
416         * paragraph.[Ch]:
417         * paragraph_funcs.[Ch]:
418         * paragraph_pimpl.[Ch]:
419         * rowpainter.C:
420         * tabular.C:
421         * tabular.h:
422         * text.C:
423         * text2.C:
424         * text3.C: more IU:  dumps most of the rest of the mathcursor
425     implementation into cursor.[Ch]; "globalize" a bit of it.
426
427 2004-01-25  Angus Leeming  <leeming@lyx.org>
428
429         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
430
431 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * LaTeXFeatures.h: add nice_ and nice() const
434         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
435
436 2004-01-20  André Pönitz  <poenitz@gmx.net>
437
438         * BufferView.[Ch]:
439         * BufferView_pimpl.C:
440         * PosIterator.C:
441         * bufferview_funcs.C:
442         * cursor.[Ch]:
443         * cursor_slice.[Ch]:
444         * factory.C:
445         * iterators.C:
446         * lyx_cb.C:
447         * lyxfind.C:
448         * lyxfunc.C:
449         * lyxtext.h:
450         * rowpainter.C:
451         * text.C:
452         * text2.C:
453         * text3.C:
454         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
455           LCursor and mathcursor parts to LCursor and InsetBase.
456
457 2004-01-15  André Pönitz  <poenitz@gmx.net>
458
459         * cursor_slice.[Ch]: add a few covienience functions
460
461         * funcrequest.[Ch]: remove BufferView * member
462
463         * BufferView_pimpl.C:
464         * cursor.C:
465         * factory.[Ch]:
466         * lyxfind.[Ch]:
467         * lyxfunc.C:
468         * lyxtext.h:
469         * text3.C:
470         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
471
472 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
475         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
476
477 2004-01-13  André Pönitz  <poenitz@gmx.net>
478
479         * textcursor.[Ch]:
480         * lyxtext.h: hide cursor and selection anchor behind accessor function
481
482         * BufferView.C:
483         * BufferView_pimpl.[Ch]:
484         * PosIterator.C:
485         * bufferview_funcs.C:
486         * cursor.h:
487         * lyxfind.C:
488         * lyxfunc.C:
489         * text.C:
490         * text2.C:
491         * text3.C:
492         * undo.C: adjust
493
494         * cursor.h:
495         * cursor_slice.[Ch]: some integer type changes for inset unification
496
497         * lyxcursor.[hC]: remove, it's CursorSlice now.
498
499         * Makefile.am:
500         * BufferView_pimpl.[Ch]:
501         * bufferview_funcs.C:
502         * cursor_slice.C:
503         * lyxtext.h:
504         * text.C:
505         * text2.C:
506         * text3.C:
507         * textcursor.[Ch]: adjust
508
509 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * text2.C (undoSpan): add and use
512         * text.C (breakParagraph): use undoSpan (fix bug 578)
513         * lyxtext.h: adjust
514
515 2004-01-08  Angus Leeming  <leeming@lyx.org>
516
517         * BufferView_pimpl.C (MenuInsertLyXFile):
518         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
519         * lyxfunc.C (menuNew, open, doImport):
520         FileFilterList change to the FileDialog open and save functions.
521
522 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
523
524         * ShareContainer.h: make isEqual and isUnique adaptable
525
526         * CutAndPaste.C: make resetOwnerAndChanges adaptable
527
528 2004-01-07  Angus Leeming  <leeming@lyx.org>
529
530         * LyXAction.C:
531         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
532
533         * BufferView_pimpl.C (dispatch): act on these LFUNs.
534
535         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
536         functions replacing find, replace and replaceAll.
537
538         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
539         LFUN_WORDFIND(FORWARD|BACKWARD).
540
541 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
542
543         * text.C (breakParagraph): remove an outdated #warning
544
545 2004-01-07  André Pönitz  <poenitz@gmx.net>
546
547         * lyxfind.C: somewhat clearer logic
548
549         * text.C: prevent crash in cursorX on unitialized row cache
550
551 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * lyxcursor.[Ch] (operator>): add
554         * textcursor.C (selStart, selEnd): use std::min and std::max
555
556 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * Chktex.C: include boost/format.hpp
559
560 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * InsetList.C: replace functor MathcIt with adaptable functor
563         InsetTablePosLess
564         (insetIterator): modify accordingly
565
566         * BranchList.h: move the BranchNamesEqual functor here from...
567         * BranchList.C: ... to here
568
569         * BranchList.C: new BranchListEqual fuctor, use it. Remove
570         SameName and match.
571         (add): replace a finding loop with std::find_if.
572
573 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * output_docbook.C: moving LatexParam functionality into
576         .layout files
577
578 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * buffer.C: increment format to 229.
581
582 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
583
584         * LaTeXFeatures.C:
585         * lyx_sty.[Ch]: remove minipageindent_def
586
587         * LyXAction.C:
588         * factory.C:
589         * lfuns.h:
590         * lyxfunc.C:
591         * text3.C: remove LFUN_INSET_MINIPAGE
592
593 2003-12-28  Angus Leeming  <leeming@lyx.org>
594
595         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
596
597 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * text2.C (setParagraph): fix off-by-one crash
600
601 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * output_docbook.C: header stuff for AGU
604
605 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
606
607         * text2.C (redoCursor): remove
608         * text.C:
609         * text3.C:
610         * BufferView_pimpl.C: remove calls to redoCursor and
611         setCursor(cursor.par(), cursor.pos()) all around
612
613 2003-12-15  Angus Leeming  <leeming@lyx.org>
614
615         * buffer.C: up the format to 228.
616
617 2003-12-15  André Pönitz  <poenitz@gmx.net>
618
619         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
620         slices
621
622         * Makefile.am:
623
624         * BufferView_pimpl.C:
625         * cursor.[Ch]:
626         * lyxcursor.[Ch]:
627         * rowpainter.[Ch]:
628         * lyxtext.h:
629         * text.C:
630         * text2.C:
631         * text3.C: adjust
632
633 2003-12-15  Angus Leeming  <leeming@lyx.org>
634
635         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
636         than getFromGUIName to manipulate the color.
637
638 2003-12-14  Angus Leeming  <leeming@lyx.org>
639
640         * BranchList.[Ch]: minimize the API.
641         (Branch::getBranch, getColor): now return a 'const &'.
642         (Branch::setSelected) now returns a bool set to true if the
643         selection status changes.
644         (BranchList::clear, size, getColor, setColor, setSelected,
645         allBranches, allSelected, separator): removed.
646         (BranchList::find): new functions, returning the Branch with
647         the given name.
648         (BranchList::add, remove): return a bool indicating that
649         the operation was successful.
650
651         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
652         new InsetBranch::isBranchSlected member function.
653
654         * LColor.[Ch]: mimimize the API.
655         (fill): renamed as addColor and made private.
656         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
657         versions of these functions taking a string arg have been removed.
658
659         * bufferparams.C (readToken):
660         * lyxfunc.C (dispatch):
661         * lyxrc.C (read): changes due to the altered BranchList and
662         LColor APIs.
663
664         * factory.C (createInset, readInset): changes due to altered
665         InsetBranch c-tor.
666
667 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
668
669         * factory.C:
670         * lyxfunc.C: remove insetminipage. "minipage-insert"
671         now produces a frameless minipage box inset.
672
673 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * textcursor.[Ch] (selStart,selEnd): add new methods
676         remove selection::start, end, use LyXCursor::operator<
677         * lyxcursor.[Ch] (operator<): add
678         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
679         * BufferView.[Ch] (unsetXSel): add
680         * text2.C (clearSelection): use unsetXSel,adjust
681         * text.C: adjust
682         * text3.C: adjust
683         * rowpainter.C: adjust
684         * bufferview_funcs.C (put_selection_at): adjust
685
686 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
687
688         * BufferView_pimpl.C: small coord. correction
689
690 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
693         dragging over the splash screen.
694
695 2003-12-11  Angus Leeming  <leeming@lyx.org>
696
697         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
698         as it is now handled in LyXText::dispatch.
699
700         * text3.C (doInsertInset): remove a level of nesting.
701
702 2003-12-11  Angus Leeming  <leeming@lyx.org>
703
704         * factory.C (createInset): changes due to the changed interface to
705         InsetCommandMailer::string2params.
706
707 2003-12-10  Angus Leeming  <leeming@lyx.org>
708
709         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
710         'dialog-show-new-inset <inset name>'
711
712 2003-12-10  Angus Leeming  <leeming@lyx.org>
713
714         * buffer.C: up the format to 227.
715
716         * factory.C: the box inset is now identified simply by 'Box'.
717
718 2003-12-10  Angus Leeming  <leeming@lyx.org>
719
720         * buffer.C: up the format to 226.
721
722         * factory.C: the note inset is now identified simply by 'Note'.
723
724 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
725
726         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
727         when a pit is enough. Standarize a couple of loops.
728
729 2003-12-05  Angus Leeming  <leeming@lyx.org>
730
731         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
732         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
733         data to the re-worked "log" dialog.
734
735 2003-12-03  André Pönitz  <poenitz@gmx.net>
736
737         * PosIterator.C:
738         * iterators.C:
739         * lyxtext.h:
740         * output_latex.C:
741         * paragraph_funcs.C:
742         * text.C:
743         * text2.C: use Inset::getText instead of Inset::getParagraph
744
745 2003-12-03  André Pönitz  <poenitz@gmx.net>
746
747         * buffer.[Ch]:
748         * lyxtext.h:
749         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
750         InsetText::read() as LyXText::read()
751
752 2003-12-02  Angus Leeming  <leeming@lyx.org>
753
754         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
755         type. Add a comment in the implementation that the function uses
756         the stream's bad() function rather than fail() as the std::streams
757         would do.
758
759 2003-12-02  André Pönitz  <poenitz@gmx.net>
760
761         * lyxlex.[Ch]: make interface more similar to std::stream
762
763         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
764
765 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
766
767         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
768
769 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
770
771         * vspace.[Ch]: remove VSpace::NONE
772
773 2003-12-01  André Pönitz  <poenitz@gmx.net>
774
775         * buffer.[Ch]:
776         * lyxtext.h: move ParagraphList member to LyXText
777         rename LyXText::ownerParagraphs to LyXText::paragraph
778
779         * CutAndPaste.C:
780         * bufferview_funcs.C:
781         * iterators.[Ch]:
782         * lyx_cb.C:
783         * paragraph.C:
784         * rowpainter.C:
785         * tabular.C:
786         * text.C:
787         * text2.C:
788         * text3.C: adjust
789
790         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
791
792         * undo.C: fix cursor positioning
793
794 2003-12-01  John Levon  <levon@movementarian.org>
795
796         * BufferView_pimpl.C: fix a crash on exit with
797         a buffer open
798
799 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * BranchList.C: fix setSelected() method.
802
803 2003-11-28  André Pönitz  <poenitz@gmx.net>
804
805         * ParagraphParameters.[Ch]:
806         * ParameterStruct.h: remove space above/below from Paragraph to
807          InsetVSpace
808
809         * BufferView_pimpl.C:
810         * factory.C:
811         * lyxfunc.C:
812         * lyxtext.h:
813         * output_latex.C:
814         * paragraph.C:
815         * paragraph_funcs.C:
816         * rowpainter.[Ch]:
817         * text.C:
818         * text2.C:
819         * text3.C: adjust
820
821 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
822
823         * factory.C: Syntax change for CharStyles
824
825 2003-11-28  André Pönitz  <poenitz@gmx.net>
826
827         * BufferView.[Ch]:
828         * BufferView.[Ch]:
829         * buffer.[Ch]:
830         * buffer.[Ch]: move LyXText member
831
832 2003-11-28  André Pönitz  <poenitz@gmx.net>
833
834         * BufferView.[Ch]: make LyXText * text a private member
835
836         * BufferView_pimpl.C:
837         * cursor.C:
838         * iterators.C:
839         * lyx_cb.C:
840         * lyxfind.C:
841         * lyxtext.h:
842         * rowpainter.[Ch]:
843         * text.C:
844         * text2.C:
845         * undo.C: adjust
846
847         * output_plaintext.C: cleanup
848
849 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * buffer.C:
852         * lyxtextclass.[Ch]: parametrize SGML document header
853
854 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * converter.[Ch]:
857         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
858         getFlavor().
859
860 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * text2.C (setFont): rework using PosIterator (no more recursive)
863         (setCharFont): no more needed
864         (setLayout): no more selection cursors fiddling (done by redoCursor)
865         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
866         destroy remaining ones)
867
868 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
871         * lyxtext.h: ditto
872         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
873         selection cursors
874         * lyxfunc.C: adjust
875         * text3.C: adjust + re-allow multi par depth changes
876         * textcursor.C: simplify a bit
877
878 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
879
880         * src/buffer.C:
881         * src/lyxlayout.C:
882         * src/lyxlayout.h:
883         * src/lyxtext.h:
884         * src/output_docbook.C:
885         * src/output_latex.C:
886         * src/paragraph.C:
887         * src/paragraph.h:
888         * src/sgml.C:
889         * src/sgml.h:
890         * src/text2.C: Introducing a number of tags parametrizing various
891         XML formats that we may want to support
892
893 2003-11-25  André Pönitz  <poenitz@gmx.net>
894
895         * InsetList.[Ch] (begein, end): inline as suggested by profiler
896
897         * lyxtext.h (leftMargin/rightMargin): simplify interface
898
899         * rowpainter.C:
900         * text.C:
901         * text2.C:
902         * text3.C: adjust
903
904 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * lyxfunc.C (dispatch): propogate the bibtex databases from the
907         master file to any child files. Fixes bug 546.
908
909 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
912
913 2003-11-24  André Pönitz  <poenitz@gmx.net>
914
915         * rowpainter.C: simplification
916
917         * text2.C (updateCounters): remove call to redoParagraph on
918         changed labels as this is far too expensive.
919
920 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * converter.C (convert): fix a crash: this function gets
923         called with buffer == 0 from importer code.
924
925 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
926
927         * text3.C (cursorPrevious): make sure that we do not compare
928         iterators form different containers.
929         (cursorNext): ditto
930
931         * rowpainter.C (paintSelection): make sure that we do not compare
932         iterators from different containers.
933
934         * text3.C (dispatch): [PRIOR] make sure that we do not compare
935         iterators from different ParagraphList containers.
936         [NEXT] ditto
937
938         * text2.C (LyXText): change order of initialization slightly
939         (operator=): new function. copy all variables except cache_par_
940         (moveUp): make sure that we do not compare iterators from
941         different ParagraphList constainers.
942         (moveDown): ditto
943
944         * text.C (firstPar): new function
945         (lastPar): new function
946         (endPar): new function
947
948         * lyxtext.h: move things around and group public functions, public
949         variables, private functions, private variables
950
951 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
952
953         * factory.C: change call to InsetERT constructor to avoid
954         additional invocation of method status
955         * text2.C (toggleInset): remove redundant update() call
956         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
957         instead of a Bufferview pointer
958
959 2003-11-21  André Pönitz  <poenitz@gmx.net>
960
961         * rowpainter.C: simplification
962
963 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * text3.C (dispatch): make possible to extend a word/row selection
966         with the mouse
967
968 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxtext.h: x0_,y0_ -> xo_,yo_
971         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
972         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
973         * rowpainter.C (paintRows): paint full paragraphs
974
975 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
978         screen coordinates)
979
980 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
981
982         * lyxtext.h: add x0_, y0_
983         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
984         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
985
986 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
987
988         * text2.C (setCursorIntern): move the x_target update here *
989         * text3.C: change some bv() to true/false in calls to
990         cursorUp/Down/Right/Left
991         * cursor.C: use helper function.
992
993 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
996         * paragraph_funcs.[Ch]: correct comment
997         * rowpainter.C: do not paint selections away from bv->cursor()
998         Fix a long standing selection painting bug.
999         * text3.C: generalize mouse-selection code to LyXTexts other that
1000         top one
1001         * textcursor.C: do not use y coords if we can use par offsets
1002
1003 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1006         cursor position after e.g. inset insert)
1007
1008 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * lyxfind.C (replace): adjust to locking removal + some
1011         code simplification
1012
1013 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1016         of the path
1017
1018 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * lyxlayout.[Ch]:
1021         * output_docbook.C: XML sanitation: new layout
1022         parameters InnerTag and CommandDepth
1023
1024 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * BufferView_pimpl.C:
1027         * factory.C:
1028         * text3.C: Fix the insertion and modification of button-style
1029         insets
1030
1031 2003-11-13  André Pönitz  <poenitz@gmx.net>
1032
1033         * InsetList.[Ch]: remove deleteLyXText
1034
1035         * paragraph.[Ch]: cache beginOfBody position
1036
1037         * Bidi.C:
1038         * text.C:
1039         * text2.C:
1040         * text3.C: remove superfluous update() calls
1041
1042         * vspace.C: cleanup
1043
1044 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1045
1046         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1047         * BufferView.C (fitLockedInsetCursor): remove
1048         * cursor.[Ch] (getDim): add
1049         * text.C (getRowNearY): add faster version
1050         * text3.C: remove some update calls
1051
1052 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1053
1054         * LaTeXFeatures.C:
1055         * LyXAction.C:
1056         * MenuBackend.C:
1057         * MenuBackend.h:
1058         * dispatchresult.h:
1059         * factory.C:
1060         * lfuns.h:
1061         * lyxfunc.C:
1062         * lyxtextclass.C:
1063         * lyxtextclass.h:
1064         * text3.C: The Character Style /XML short element patch.
1065
1066 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1067
1068         * text3.C:
1069         * factory.C: Small step to solving 'unable to insert some insets'
1070         problem
1071
1072 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * cursor.[Ch] (updatePos): new function for updating the y
1075         position of the tip inset
1076         * bufferview_funcs.C (put_selection_at):
1077         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1078
1079 2003-11-11  André Pönitz  <poenitz@gmx.net>
1080
1081         * text.C: remove big comment on invalid Paragraph pointers as it is
1082         not valid anymore
1083
1084 2003-11-11  André Pönitz  <poenitz@gmx.net>
1085
1086         * text_funcs.[Ch]: merge with ...
1087
1088         * text.C: ... this
1089
1090         * lyxtext.h:
1091         * text2.C:
1092         * text3.C: adjust
1093
1094         * Makefile.am: remove text_funcs.[Ch]
1095
1096 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1097
1098         * cursor.C (getPos): return absolute cached y coord
1099
1100         * BufferView_pimpl.C (fitCursor): new simplistic code
1101         (workAreaDispatch): add a fitCursor call
1102
1103 2003-11-10  André Pönitz  <poenitz@gmx.net>
1104
1105         * BufferView.[Ch]:
1106         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1107
1108 2003-11-10  André Pönitz  <poenitz@gmx.net>
1109
1110         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1111         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1112         indicate that the cursor needs to leave an inset
1113
1114         * lyxtext.h: remove inset locking
1115
1116         * cursor.[Ch]: re-implement functionality provided by inset locking
1117
1118         * BufferView.[Ch]:
1119         * BufferView_pimpl.[Ch]:
1120         * LyXAction.C:
1121         * bufferview_funcs.[Ch]:
1122         * factory.C:
1123         * funcrequest.[Ch]:
1124         * iterators.C:
1125         * lyx_cb.C:
1126         * lyxfind.C:
1127         * lyxfunc.C:
1128         * text.C:
1129         * text2.C:
1130         * text3.C:
1131         * undo.C: adjust
1132
1133 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1134
1135         * PosIterator.[Ch]: replace the stack with a vector, add inset
1136         accesor
1137         * iterators.[C]: adjust
1138
1139 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1140
1141         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1142         replaced
1143         * paragraph_funcs.C (readParToken): put the correct id in the
1144         error item, not the id of the top paragraph
1145
1146 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1149         * bufferview_funcs.C (put_selection_at): use the above
1150
1151 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1152
1153         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1154
1155 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * output_linuxdoc.h:
1158         * output_plaintext.h:
1159         * output.h:
1160         * output_docbook.h: add #include statements
1161
1162 2003-11-05  José Matos  <jamatos@lyx.org>
1163
1164         * output_docbook.[Ch]:
1165         * output_latex.[Ch]:
1166         * output_linuxdoc.[Ch]:
1167         * output_plaintext.[Ch]: New files for output formats.
1168         * output.[Ch]: New file for helper functions.
1169
1170         * buffer.[Ch]:
1171         * paragraph_funcs.[Ch]: output functions moved to new files.
1172
1173         * outputparams.h: rename of latexrunparams.h
1174
1175         * LaTeX.[Ch]:
1176         * buffer.[Ch]:
1177         * bufferlist.[Ch]:
1178         * converter.[Ch]:
1179         * exporter.C:
1180         * paragraph.[Ch]:
1181         * paragraph_funcs.[Ch]:
1182         * paragraph_pimpl.[Ch]:
1183         * tabular.[Ch]: rename ascii to plaintext
1184         and LatexRunParams to OutputParams.
1185
1186 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * iterators.[Ch] (text): require bv argument
1189         * undo.C (recordUndo):
1190         * lyxfunc.C (dispatch):
1191         * bufferview_funcs.C (put_selection_at): adjust
1192
1193 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1194
1195         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1196
1197 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1198
1199         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1200         nestings
1201
1202 2003-11-04  André Pönitz  <poenitz@gmx.net>
1203
1204         * cursor.[Ch]: restructure
1205
1206         * BufferView.[Ch]:
1207         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1208
1209         * iterators.[Ch] (asCursor): remove
1210
1211         * lfuns.h: remove LFUN_INSET_EDIT
1212
1213         * lyxfunc.C:
1214         * tabular.C:
1215         * text.C:
1216         * text2.C:
1217         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1218
1219 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1220
1221         * lyxfind.[Ch]: complete overhaul
1222         * BufferView_pimpl.C:
1223         * lyxfunc.C: adjust
1224         * paragraph.[Ch] (insert): add
1225
1226 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1227
1228         * BufferView.[Ch]:
1229         * lyxtext.h:
1230         * text.C: remove dead spellcheck code
1231
1232 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1233
1234         * dispatchresult.h: add a val setter
1235
1236         * cursor.C (dispatch): use a tempvar for data_[i]
1237
1238 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1239
1240         * PosIterator.[Ch]: compile fix
1241
1242 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1243
1244         * text.C (cursorPar): deactivate the cursor cache
1245
1246 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1247
1248         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1249
1250 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * text3.C (dispatch): adjust for new DisptchResult semantics.
1253
1254         * lyxfunc.C (dispatch): handle update when return from
1255         Cursor::dispatch, adjust for new DispatchResult semantics.
1256
1257         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1258         DispatchResult(true) mean to not update. Add class functions for
1259         setting dispatched and update, as well as reading.
1260
1261         * cursor.C (dispatch): don't handle update here
1262
1263 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1264
1265         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1266         * trans_mgr.C: adjust
1267
1268         * paragraph_funcs.C (readParToken): exception safety
1269
1270         * lyxvc.h: store the vcs pointer in a scoped_ptr
1271         * lyxvc.C: adjust
1272
1273         * lyxsocket.C (serverCallback): exception safety
1274
1275         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1276
1277         * ispell.C (clone): make it return a auto_ptr
1278
1279         * factory.C (createInset): exception safety
1280         (readInset): exception safety
1281
1282         * bufferlist.C (newBuffer): exception safety
1283
1284         * Thesaurus.C (Thesaurus): use initialization for aik_
1285
1286         * MenuBackend.C (expandToc): exception safety.
1287
1288 2003-11-03  André Pönitz  <poenitz@gmx.net>
1289
1290         * buffer.C:
1291         * buffer.h:
1292         * bufferview_funcs.C: remove getInsetFromId()
1293
1294         * lyxcursor.[Ch]:
1295         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1296
1297         * lyxfunc.C:
1298         * text2.C:
1299         * text3.C: adjust
1300
1301 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1302
1303         * PosIterator.C (distance, advance): new
1304         * bufferview_funcs.[Ch] (put_selection_at): new
1305         * iterators.[Ch] (lockPath): new
1306
1307 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1308
1309         * iterators.[Ch] (asPosIterator): added
1310         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1311         * PosIterator.[Ch]: added
1312
1313 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1314
1315         * text3.C:
1316         * lyxfunc.C:
1317         * cursor.C (dispatch):
1318         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1319
1320         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1321         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1322         contructor, add a class function dispatched. Remove operator>=
1323
1324 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1325
1326         * debug.C: only use the default constructor for debugstream
1327         (lyxerr) here.
1328
1329         * main.C (main): include debug.h and setup the lyxerr streambuf
1330         here.
1331
1332 2003-10-31  José Matos  <jamatos@lyx.org>
1333
1334         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1335
1336         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1337         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1338         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1339         * paragraph_pimpl.C (simpleTeXSpecialC):
1340         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1341         add LatexRunParams argument.
1342
1343         * exporter.C (Export): change call accordingly.
1344
1345         * latexrunparams.h: add new member to take care of the other backends.
1346 2003-10-30  José Matos  <jamatos@lyx.org>
1347
1348         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1349         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1350         factorise code for paragraph output.
1351         * buffer.[Ch]:
1352         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1353         move functions.
1354
1355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * text3.C (dispatch):
1358         * lyxfunc.C (dispatch):
1359         * cursor.C (dispatch):
1360         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1361
1362         * dispatchresult.h: make the dispatch_result_t ctor explicit
1363
1364 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * sgml.[Ch]:
1367         * buffer.C: small refactoring of docbook stuff
1368
1369 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1370
1371         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1372         meaning.
1373
1374 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1375
1376         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1377         operator dispatch_result_t, and operators for == != and >=
1378
1379         * cursor.C (dispatch): adjust for operator dispatch_result_t
1380         removal. comment out call to update
1381
1382         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1383
1384 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * text3.C:
1387         * text2.C:
1388         * text.C:
1389         * lyxtext.h:
1390         * lyxfunc.C:
1391         * cursor.C:
1392         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1393         (dispatch):
1394
1395         * dispatchresult.h: new file, DispatchResult broken out of
1396         insets/insetbase.h
1397
1398         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1399
1400 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1401
1402         * text.C (rowBreakPoint): put a hack inside #if 0
1403
1404 2003-10-28  André Pönitz  <poenitz@gmx.net>
1405
1406         * lyxtext.h:
1407         * metricsinfo.C:
1408         * paragraph_funcs.C:
1409         * rowpainter.C:
1410         * text.C:
1411         * text2.C: general cleanup (lots of small stuff)
1412
1413 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1414
1415         * text2.C (cursorEnd): simple fix to the "end key goes to one
1416         before the end on last row" bug
1417
1418 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1419
1420         * text.C (backspace): fix the "zombie characters"
1421
1422 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1425
1426 2003-10-27  André Pönitz  <poenitz@gmx.net>
1427
1428         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1429
1430         * factory.C: handle new InsetPagebreak, InsetLine
1431
1432         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1433         and move handling into new InsetPagebreak, InsetLine
1434
1435         * BufferView_pimpl.C:
1436         * LyXAction.C:
1437         * ParagraphParameters.C:
1438         * ParameterStruct.h:
1439         * lyxfunc.C:
1440         * lyxtext.h:
1441         * paragraph.C:
1442         * paragraph.h:
1443         * paragraph_funcs.C:
1444         * paragraph_pimpl.C:
1445         * rowpainter.C:
1446         * text.C:
1447         * text2.C:
1448         * text3.C: adjust
1449
1450 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1451
1452         * text.C:
1453         * lyxrow_funcs.[Ch]:
1454         * Bidi.C:
1455         * paragraph.C:
1456         * lyxtext.h:
1457         * rowpainter.C:
1458         * text2.C:
1459         * text3.C: remove lastPos uses in favour of Row::endpos
1460
1461 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1462
1463         * undo.C (performUndoOrRedo): fix two crashes by setting a
1464         cursor by hand and reordering some calls. Use bv->lockInset instead
1465         of inset->edit because the latter loses cursor information
1466
1467 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1468
1469         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1470         by Martin
1471         (rowBreakPoint): fix width. change point to point + 1.
1472         Add a missing check.
1473
1474 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1475
1476         * MenuBackend.C:
1477         * lyxfunc.C: fix (at least partly) the problems
1478         with the Nav menu and headers inside branch insets
1479         reported by Kayvan
1480
1481 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * paragraph.C (getChar): add strong asserts
1484
1485         * lyxrow_funcs.C (lastPos): remove hideous hack
1486
1487         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1488         (fill): adjust to that (avoid an infinite loop)
1489
1490 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1491
1492         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1493
1494 2003-10-23  André Pönitz  <poenitz@gmx.net>
1495
1496         * RowList_fwd.h: change list<> to vector<> to gain speed
1497         after suggestion from Alfredo
1498
1499 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1500
1501         * lyxtext.h: move the bidi stuff from here...
1502         * text.C: and here
1503         * text2.C: and here
1504         * Bidi.[Ch]: ... to here
1505
1506 2003-10-23  André Pönitz  <poenitz@gmx.net>
1507
1508         * lyxtext.h:
1509         * text.C (isLastRow, isFirstRow): new functions
1510
1511         * paragraph.h: new width cache member
1512
1513         * rowpainter.C: replace RowList::iterator with Row & where possible
1514
1515         * lyxfunc.C: replace several view()->text with a single call
1516
1517         * toc.C: fix 'unused' warning
1518
1519 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1520
1521         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1522         when woring with stream::pos_type
1523         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1524
1525 2003-10-22  André Pönitz  <poenitz@gmx.net>
1526
1527         * lyxtext.h:
1528         * text.C: use Row & instead of RowList::iterator
1529
1530         * lyxrow.h: rename end() to endpos()
1531
1532         * rowpainter.C:
1533         * text.C:
1534         * text2.C: adjust
1535
1536 2003-10-22  Angus Leeming  <leeming@lyx.org>
1537
1538         * buffer.[Ch] (fully_loaded): new member function, returning true
1539         only when the file has been loaded fully.
1540         Used to prevent the premature generation of previews and by the
1541         citation inset to prevent computation of the natbib-style label.
1542
1543         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1544         templates are all set up.
1545
1546         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1547
1548 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1549
1550         * text.C: fixed an "oops" in the "is a bit silly"
1551         bug fix
1552
1553 2003-10-21  André Pönitz  <poenitz@gmx.net>
1554
1555         * FuncStatus.[Ch]: small stuff, whitespace
1556
1557         * lyxfont.[Ch]: operator<<() for debug reasons
1558
1559         * lyxfunc.C:
1560         * lyxrow_funcs.C:
1561         * lyxtext.h: whitespace, spelling
1562
1563         * paragraph.C: naming of variables
1564
1565         * text.C:
1566         * text2.C: small stuff
1567
1568
1569 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1570
1571         * text.C: (1) finish off the inset display() work;
1572         (2) fix the "is a bit silly" bug (accessing char
1573         past end of par).
1574
1575 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1576
1577         * text.C: re-introduce display() for insets, fixing the
1578         various bugs (stretch of line above, math inset
1579         positioning, ...)
1580
1581 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1582
1583         * text.C (rightMargin): remove spurious semicolon
1584
1585         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1586         1415)
1587
1588 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * text3.C: fix one crash due to wrong cursor def
1591
1592 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * vc-backend.C (scanMaster): make the regex static
1595
1596         * LaTeX.C (scanAuxFile): make the regexs static
1597
1598         * text3.C (doInsertInset, dispatch, dispatch):
1599         * text2.C (cursorUp, cursorDown):
1600         * text.C (selectNextWordToSpellcheck):
1601         * BufferView_pimpl.C (dispatch):
1602         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1603
1604 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * lyxsocket.C: include <cerrno>
1607
1608 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * lyxfunc.C (dispatch): remove textcache stuff
1611
1612         * bufferlist.C (release): remove textcache stuff
1613         (closeAll): ditto
1614
1615         * TextCache.C: delete file
1616         * TextCache.h: delete file
1617
1618         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1619
1620         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1621         delete of the bv_->text.
1622         (resizeCurrentBuffer): remove texcache stuff
1623         (workAreaResize): ditto
1624
1625 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1626
1627         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1628         action.
1629
1630 2003-10-16  André Pönitz  <poenitz@gmx.net>
1631
1632         * lyxrow.[Ch]:
1633         * paragraph.h:
1634         * rowpainter.C:
1635         * text.C:
1636         * text2.C:
1637         * text3.C: speed up by storing y positions per paragraph plus per-row
1638         offset instead of having a 'full' y position in the row.
1639
1640 2003-10-15  André Pönitz  <poenitz@gmx.net>
1641
1642         * iterators.[Ch]:
1643         * iterators.[Ch]:
1644         * undo.[Ch]: make undo aware of inner insets
1645
1646 2003-10-14  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1649         static member functions LyX::ref() and LyX::cref.
1650         (lastfiles): new accessor functions for the new lastfiles_ member var.
1651         (addLyXView, views_): add a new LyXView to the list of views_.
1652         (updateInset): loop over all LyXViews to call their own updateInset
1653         member function, returning a pointer to the Buffer owning the inset.
1654
1655         * BufferView_pimpl.C (loadLyXFile):
1656         * MenuBackend.C (expandLastfiles):
1657         * bufferlist.C (MenuWrite, QuitLyX):
1658         lastfiles is no longer a global variable.
1659         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1660
1661         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1662         static function. Access through LyX::cref().emergencyCleanup().
1663
1664 2003-10-14  André Pönitz  <poenitz@gmx.net>
1665
1666         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1667
1668         * undo.[Ch]: restoring part of 'undo in insets'
1669
1670         * Makefile.am:
1671         * undo_funcs.[Ch]: merge with undo.[Ch]
1672
1673         * tabular.C: small cleansing stuff
1674
1675 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1676
1677         * paragraph_funcs.C (readParToken): report unknown insets as error
1678         boxes. Use the outer paragraph as location (also for unknown
1679         tokens).
1680
1681         * factory.C (readInset): do not abort on reading an unknown inset.
1682         Eat it and return 0.
1683
1684 2003-10-13  Angus Leeming  <leeming@lyx.org>
1685
1686         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1687
1688         * lyxrc.C: displayTranslator is now a function,
1689         declared in GraphicsTypes.h.
1690
1691 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1692
1693         * format.C: new placeholder $$a to pass the socket address.
1694
1695         * bufferlist.[Ch]: new function getBufferFromTmp.
1696
1697         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1698           files in the temporary dir.
1699
1700 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1701
1702         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1703
1704         * Makefile.am: add lyxsocket.[Ch].
1705
1706         * lyx_main.C (error_handler): handle SIGPIPE.
1707
1708 2003-10-13  André Pönitz  <poenitz@gmx.net>
1709
1710         * BufferView_pimpl.C:
1711         * lyxtext.h:
1712         * text.C:
1713         * text2.C:
1714         * text3.C:
1715         * undo_funcs.[Ch]: use paroffset_type instead of
1716           ParagraphList::iterators to prevent multiple conversion
1717           (and get a more robust interface)
1718
1719 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1722         * lyxtext.h: ditto
1723         * text3.C (dispatch): ditto
1724
1725 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1728         move the onlyfile, use onlyfile instead of foundfile in a couple
1729         of places.
1730
1731         * DepTable.C (update): flush the error stream a bit more
1732
1733 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1734
1735         * lyxserver.C (callback): adjust
1736
1737         * lyxfunc.C (getStatus): add a missing brace in commented code
1738         (ensureBufferClean): reindent
1739         (dispatch): delete version taking a string
1740
1741 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * LaTeX.C (deplog): move found file handlig from here...
1744         (handleFoundFile): .. to new function here.
1745         (deplog): make sure to discover several files mentioned on the
1746         same log line.
1747
1748 2003-10-10  André Pönitz  <poenitz@gmx.net>
1749
1750         * lyxfunc.C:
1751         * lyxtext.h:
1752         * tabular.C:
1753         * text.C:
1754         * text2.C:
1755         * text3.C: fix some of the tabular crashes
1756
1757 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1758
1759         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1760
1761         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1762
1763 2003-10-09  André Pönitz  <poenitz@gmx.net>
1764
1765         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1766
1767         * BufferView.C:
1768         * BufferView_pimpl.C:
1769         * bufferview_funcs.C:
1770         * lyx_cb.C:
1771         * lyxcursor.C:
1772         * lyxfind.C:
1773         * lyxfunc.C:
1774         * lyxtext.h:
1775         * text.C:
1776         * text2.C:
1777         * text3.C:
1778         * text_funcs.[Ch]:
1779         * textcursor.[Ch]:
1780         * undo_funcs.C: adjust
1781
1782 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1783
1784         * text2.C (incrementItemDepth): new function, use a backtracking
1785         algorithm to discover the correct item depth.
1786         (resetEnumCounterIfNeeded): new function, use a backtracking
1787         algorithm to discover if counter reset is needed.
1788         (setCounter): use them. Simplify a bit. Add different labels for
1789         different item depths for itemize.
1790
1791         * paragraph.C (Paragraph): remove initialization of enumdepth
1792         (operator=): ditto
1793
1794         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1795         enumerate and itemize. Change the type of itemdepth to signed char.
1796
1797 2003-10-08  André Pönitz  <poenitz@gmx.net>
1798
1799         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1800           thing assignable.
1801         * text.C:
1802         * text2.C: adjust
1803
1804         * tabular.[Ch]: fix crash after 'row-insert'
1805
1806 2003-10-08  Angus Leeming  <leeming@lyx.org>
1807
1808         Fix doxygen warnings.
1809
1810         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1811         Remove CutAndPaste:: prefix from header file declaration.
1812
1813         * LColor.h (fill): remove LColor:: prefix from declaration.
1814
1815         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1816         use lyx::depth_type rather than Paragraph::depth_type so that
1817         header file and .C file match.
1818
1819         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1820
1821         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1822         * aspell.C: \file aspell_local.C -> \file aspell.C
1823         * gettext.C: \file gettext.C -> \file src/gettext.C
1824         * gettext.h: \file gettext.h -> \file src/gettext.h
1825         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1826         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1827         * text.C: \file text.C -> \file src/text.C
1828
1829         * toc.C: move comment so that doxygen is not confused.
1830
1831 2003-10-07  Angus Leeming  <leeming@lyx.org>
1832
1833         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1834
1835 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1836
1837         * aspell.C:
1838         * aspell_local.h: add forgotten std::string's.
1839
1840 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1841
1842         * LaTeXFeatures.C:
1843         * LyXAction.C:
1844         * factory.C:
1845         * lfuns.h:
1846         * lyxfunc.C:
1847         * text3.C: The Box patch. Fancybox support, minipage, parbox
1848
1849 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1850
1851         * CutAndPaste.h:
1852         * DepTable.h:
1853         * FloatList.h:
1854         * LaTeXFeatures.h:
1855         * ParagraphParameters.h:
1856         * TextCache.h:
1857         * Thesaurus.h:
1858         * bufferlist.h:
1859         * exporter.h:
1860         * importer.h:
1861         * lastfiles.h:
1862         * lyxfind.h:
1863         * lyxfont.h:
1864         * lyxlex.h:
1865         * lyxtextclasslist.h:
1866         * messages.h:
1867         * paragraph.h:
1868         * paragraph_pimpl.C:
1869         * textcursor.h: add <string> and other small fixes to make Lars'
1870         std::string patch compile with STLport.
1871
1872 2003-10-06  Angus Leeming  <leeming@lyx.org>
1873
1874         * LColor.h: Add missing #include <string>.
1875
1876 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1877
1878         * All most all file in all subdirs: Make <string> be the prefered
1879         way of getting to std::string, add using declarations.
1880
1881 2003-10-06  André Pönitz  <poenitz@gmx.net>
1882
1883         * metricsinfo.C: initialize LyXFont before changing attribute.
1884         (fixes the 'math in \emph is upright' bug)
1885
1886 2003-10-06  André Pönitz  <poenitz@gmx.net>
1887
1888         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1889
1890 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1891
1892         * graph.C:
1893         * paragraph_pimpl.C: Small fixes to build using STLport
1894
1895 2003-10-02  André Pönitz  <poenitz@gmx.net>
1896
1897         * lyxfunc.C:
1898         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1899
1900 2003-10-01  André Pönitz  <poenitz@gmx.net>
1901
1902         * factory.C: assert early
1903
1904 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * lyx_main.C: remove the global debug object
1907
1908         * debug.h: adjust for new debugstream
1909
1910         * debug.C: adjust for new debugstream and keep the global debug
1911         object here.
1912
1913 2003-09-22  Angus Leeming  <leeming@lyx.org>
1914
1915         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1916         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1917         an incomplete class LyXFont.
1918
1919 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1920
1921         * factory.C: bug fix in branches
1922
1923 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * lyxfunc.C (processKeySym): adjust
1926         (dispatch): adjust
1927         (dispatch): change arg name from ev to func, adjust
1928         (sendDispatchMessage): ditto
1929
1930         * lyx_main.C (defaultKeyBindings): adjust keybindings
1931         (deadKeyBindings): ditto
1932
1933         * kbsequence.C (addkey): return a FuncRequest
1934
1935         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1936
1937         * kbmap.C (bind): take a FuncRequest as arg, adjust
1938         (read): adjust
1939         (lookup): adjust
1940         (defkey): change to take a FuncRequest as arg, adjust
1941         (findbinding): take a FuncRequest as arg, adjust.
1942
1943         * funcrequest.h (operator=): added
1944
1945         * funcrequest.C (FuncRequest): default kb_action changed from
1946         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1947
1948         * buffer.C (dispatch): simplify
1949         (dispatch): adjust to take a FuncRequest as arg, adjust
1950
1951         * boost.C (assertion_failed): change assertion message slightly
1952
1953         * ToolbarBackend.C (read): simplify
1954
1955         * MenuBackend.C (binding): adjust call to findbinding, add a
1956         message if no binding is found.
1957         (read): simplify
1958         (expandToc): correct by adding a empty FuncRequest
1959
1960         * LyXAction.C: include <boost/assert.hpp>
1961         (isPseudoAction): delete function
1962         (LookupFunc): change name to...
1963         (lookupFunc): this. change return type to FuncRequest.
1964         (getActionName): take kb_action as arg, simplify
1965         (funcHasFlag): add an assert, simplify.
1966
1967 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * toc.C (action): return a FuncRequest, simplify
1970
1971         * lyxfunc.C (processKeySym): adjust
1972         (getStatus): delete version that takes an int.
1973         (getStatus): adjust
1974         (dispatch): delete version that takes action as int
1975         (dispatch): adjust
1976         (sendDispatchMessage): simplify and adjust
1977
1978         * funcrequest.C (getArg): take unsigned int as arg
1979
1980         * ToolbarBackend.C (read): adjust
1981         (add): delete version that takes func as a string.
1982         (getIton): take a FuncRequest as arg
1983
1984         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1985         action.
1986
1987         * MenuBackend.C (MenuItem): add a new construct that only takes a
1988         Kind, simplify the constructor use for submenus.
1989         (add): adjust
1990         (expandLastfiles): adjust
1991         (expandDocuments): adjust
1992         (expandFormats): adjust
1993         (expandFloatListInsert): adjust
1994         (expandFloatInsert): adjust
1995         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1996
1997         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1998         Remove class variables lyx_pseudo_map and lyx_arg_map
1999
2000         * LyXAction.C (searchActionArg): delete function
2001         (getPseudoAction): delete function
2002         (retrieveActionArg): delete function
2003         (LookupFunc): make it return kb_action, simplify.
2004         (getActionName): simplify
2005
2006         * factory.C (createInset): fix new bug
2007
2008 2003-09-19  Angus Leeming  <leeming@lyx.org>
2009
2010         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2011         masterFilename_ parameter in the include inset.
2012
2013         * factory.C (createInset): changes due to the changes to InsetInclude.
2014
2015 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2016
2017         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2018
2019 2003-09-18  Angus Leeming  <leeming@lyx.org>
2020
2021         * buffer.C:
2022         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2023         Inset::fillWithBibKeys.
2024         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2025
2026 2003-09-18  Angus Leeming  <leeming@lyx.org>
2027
2028         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2029         variables.
2030         (ctor): pass and store a 'Buffer const &'
2031         (buffer): new member function.
2032
2033         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2034         '*this' to the LaTeXFeatures ctor.
2035
2036 2003-09-18  Angus Leeming  <leeming@lyx.org>
2037
2038         * LColor.h:
2039         * lyxfont.C:
2040         * lyxfont.h:
2041         * lyxtext.h:
2042         * text.C: rename EnumLColor as LColor_color.
2043
2044 2003-09-18  Angus Leeming  <leeming@lyx.org>
2045
2046         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2047         remove #include "insets/insetbase.h" from cursor.h.
2048
2049 2003-09-18  Angus Leeming  <leeming@lyx.org>
2050
2051         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2052         InsetOld_code to remove #include "inset.h".
2053
2054         * iterators.C: add #include "insets/inset.h"
2055
2056 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2057
2058         * BufferView.C: remove more locking stuff that apparently doesn't
2059         do anything sensible.
2060
2061 2003-09-16  André Pönitz  <poenitz@gmx.net>
2062
2063         * paragraph.[Ch]:
2064         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2065           performance boost.
2066
2067 2003-09-16  Angus Leeming  <leeming@lyx.org>
2068
2069         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2070
2071         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2072         arg/return type.
2073
2074         * paragraph.h: remove #include "lyxfont.h". Forward declare
2075         LyXFont_size.
2076
2077 2003-09-16  Angus Leeming  <leeming@lyx.org>
2078
2079         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2080         of support/textutils.h.
2081         (isWord): move the contents of support/textutils.h's IsWordChar here.
2082
2083         * buffer.C:
2084         * lyxfind.C:
2085         * rowpainter.C:
2086         * text.C:
2087         * text2.C: add #include "paragraph.h".
2088
2089         * rowpainter.C:
2090         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2091
2092 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2093
2094         * main.C:
2095         * lyx_main.C:
2096         * lyx_cb.C:
2097         * buffer.C:
2098         * LaTeX.C: use namespace alias for lyx::support::os
2099
2100 2003-09-16  Angus Leeming  <leeming@lyx.org>
2101
2102         * bufferparams.C:
2103         * bufferview_funcs.C:
2104         * factory.C:
2105         * lyxfunc.C:
2106         * paragraph_pimpl.C:
2107         * rowpainter.C:
2108         * text.C: add #include "LColor.h".
2109
2110 2003-09-16  Angus Leeming  <leeming@lyx.org>
2111
2112         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2113         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2114         return LyXFont &.
2115         Store the FontBits::color variable as an int rather than as an
2116         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2117         file.
2118
2119         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2120         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2121         string calls together.
2122
2123         * lyxrc.C: add #include "LColor.h".
2124
2125 2003-09-15  Angus Leeming  <leeming@lyx.org>
2126
2127         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2128         a cow_ptr.
2129
2130 2003-09-15  Angus Leeming  <leeming@lyx.org>
2131
2132         * LColor.h: add an EnumLColor wrapper for LColor::color.
2133
2134         * lyxfont.[Ch] (color, setColor, realColor):
2135         * lyxtext.h, text.C (backgroundColor):
2136         pass EnumLColor args to/from the functions, rather than LColor::color
2137         ones.
2138
2139         * lyxfont.h:
2140         * lyxtext.h: forward declare EnumLColor.
2141
2142         * lyx_main.C: add #include "LColor.h".
2143
2144 2003-09-15  Angus Leeming  <leeming@lyx.org>
2145
2146         * .cvsignore: add lyx-gtk.
2147
2148 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * Chktex.C
2151         * LaTeX.C
2152         * LaTeXFeatures.C
2153         * ParagraphParameters.C
2154         * Spacing.C
2155         * buffer.C
2156         * bufferparams.C
2157         * bufferview_funcs.C
2158         * chset.C
2159         * counters.C
2160         * funcrequest.C
2161         * lyxfont.C
2162         * lyxgluelength.C
2163         * lyxlength.C
2164         * paragraph.C
2165         * paragraph_funcs.C
2166         * text3.C
2167         * vc-backend.C: remove usage of STRCONV
2168
2169 2003-09-15  Angus Leeming  <leeming@lyx.org>
2170
2171         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2172         explicitly define the color passed to the painter.
2173
2174 2003-09-15  Angus Leeming  <leeming@lyx.org>
2175
2176         * bufferparams.C (BufferParams): reorder member initializers to avoid
2177         compiler warning.
2178
2179 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2182         * text.C (updateRowPositions): remove an unusual nop
2183
2184 2003-09-12  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView_pimpl.C:
2187         * Bullet.C:
2188         * layout.h:
2189         * lyxfunc.C:
2190         * lyxlayout.[Ch]:
2191         * lyxtextclass.C:
2192         * rowpainter.C:
2193         * text.C:
2194         * text2.C:
2195         * Counters.[Ch]: finish the 'automatic counters' job
2196
2197 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2198
2199         * aspell.C: include <boost/assert.cpp> (compile fix)
2200
2201 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2202
2203         * boost.C (assertion_failed): use lyx::support::abort instead of
2204         assert.
2205
2206 2003-09-10  Angus Leeming  <leeming@lyx.org>
2207
2208         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2209         with their _fwd progeny.
2210
2211 2003-09-09  Angus Leeming  <leeming@lyx.org>
2212
2213         134 files throughtout the source tree: replace 'using namespace abc;'
2214         directives with the appropriate 'using abc::xyz;' declarations.
2215
2216 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2217
2218         * boost.C (emergencyCleanup): moved here from LAssert.c
2219         (assertion_failed): new function, called by BOOST_ASSERT
2220
2221         * several files: change Assert to BOOST_ASSERT
2222
2223 2003-09-09  Angus Leeming  <leeming@lyx.org>
2224
2225         * buffer.[Ch]: Add an Impl class and move Buffer's member
2226         variables into it. As a result move several header files out of
2227         buffer.h.
2228
2229         Add header files to lots of .C files all over the tree as a result.
2230
2231 2003-09-09  Angus Leeming  <leeming@lyx.org>
2232
2233         * buffer.[Ch]: make Buffer's member variables private. Add
2234         accessor functions.
2235
2236         Lots of changes all over the tree as a result.
2237
2238 2003-09-08  Angus Leeming  <leeming@lyx.org>
2239
2240         * graph.C: #include <config.h>.
2241
2242 2003-09-08  Angus Leeming  <leeming@lyx.org>
2243
2244         * BranchList.C:
2245         * BufferView.C:
2246         * BufferView_pimpl.C:
2247         * CutAndPaste.C:
2248         * DepTable.C:
2249         * LaTeX.C:
2250         * LaTeXFeatures.C:
2251         * LyXAction.C:
2252         * MenuBackend.C:
2253         * TextCache.C:
2254         * aspell.C:
2255         * buffer.C:
2256         * bufferlist.C:
2257         * changes.C:
2258         * chset.C:
2259         * converter.C:
2260         * counters.C:
2261         * debug.C:
2262         * graph.C:
2263         * ispell.C:
2264         * lyx_cb.C:
2265         * lyxfind.C:
2266         * lyxfunc.C:
2267         * lyxlex_pimpl.C:
2268         * lyxrc.C:
2269         * lyxrow.C:
2270         * paragraph.C:
2271         * rowpainter.C:
2272         * texrow.C:
2273         * text.C:
2274         * text2.C:
2275         * toc.C: remove redundant using directives.
2276
2277 2003-09-07  Angus Leeming  <leeming@lyx.org>
2278
2279         * LaTeXFeatures.h: remove #include "support/types.h".
2280         * ToolbarBackend.h: remove #include <algorithm>.
2281         * changes.h: remove #include <ctime>.
2282         * debug.h: remove #include <iosfwd>.
2283         * graph.h: remove #include "support/std_string.h".
2284         * lyx_main.h: remove #include <csignal>.
2285         * lyxlex_pimpl.h: remove #include <fstream>.
2286         * sgml.h: remove #include <algorithm>, <utility>.
2287         * toc.h: remove #include "support/std_ostream.h".
2288         Add #include <iosfwd>.
2289
2290 2003-09-07  Angus Leeming  <leeming@lyx.org>
2291
2292         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2293
2294         * converter.h: forward declare LatexRunParams.
2295         * encoding.h: remove #include "lyxrc.h".
2296         * lyxtext.h: remove #include "LColor.h".
2297         * lyxtextclass.h: remove #include "support/types.h".
2298         * trans.h: remove #include "tex-accent.h".
2299         * trans_mgr.h: remove #include "tex-accent.h".
2300         * insets/inset.h: remove #include "support/types.h", <vector>.
2301         * insets/insetcollapsable.h: remove #include "LColor.h".
2302         * insets/insetinclude.h: remove #include "dimension.h".
2303         * insets/insetlatexaccent.h: remove #include "dimension.h".
2304         * insets/insetoptarg.h:: remove #include "insettext.h".
2305         * insets/insettext.h: remove #include "dimension.h",
2306         <boost/shared_ptr.hpp>
2307
2308         * insets/renderers.h: add #include "dimension.h".
2309         * insets/updatableinset.h: add #include "support/types.h".
2310
2311         * many .C files: Associated changes.
2312
2313 2003-09-06  Angus Leeming  <leeming@lyx.org>
2314
2315         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2316         one, inside testInvariant.
2317
2318         * PrinterParams.C: new file.
2319         * PrinterParams.[Ch]: move the function bodies out of line.
2320
2321 2003-09-06  Angus Leeming  <leeming@lyx.org>
2322
2323         * ParagraphParameters.h: forward declare ParameterStruct rather than
2324         including its header file.
2325         (depth): moved out-of-line.
2326
2327 2003-09-06  Angus Leeming  <leeming@lyx.org>
2328
2329         * BufferView_pimpl.h:
2330         * kbmap.h:
2331         * kbsequence.h:
2332         * lyxfunc.h: forward declare LyXKeySym rather than
2333         #include "frontends/LyXKeySym.h".
2334
2335         * BufferView_pimpl.C:
2336         * kbmap.C:
2337         * kbsequence.C:
2338         * lyxfunc.C: associated changes.
2339
2340 2003-09-06  Angus Leeming  <leeming@lyx.org>
2341
2342         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2343         As a result, can remove the #include "insets/inset.h" from BufferView.h
2344
2345 2003-09-06  Angus Leeming  <leeming@lyx.org>
2346
2347         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2348         As a result, can remove the #include "insets/inset.h" from BufferView.h
2349
2350 2003-09-06  Angus Leeming  <leeming@lyx.org>
2351
2352         * buffer_funcs.C:
2353         * buffer.h:
2354         * bufferlist.C:
2355         * BufferView.C:
2356         * bufferview_funcs.C:
2357         * BufferView_pimpl.C:
2358         * CutAndPaste.C:
2359         * lyx_cb.C:
2360         * lyxfunc.C:
2361         * paragraph.h:
2362         * ParagraphParameters.C:
2363         * tabular.C:
2364         * text3.C:
2365         * toc.C:
2366         * undo_funcs.C:
2367         * frontends/controllers/ControlDocument.C:
2368         * insets/insetcaption.C: rearrange the #includes into some sort of
2369         coherent order.
2370
2371         * buffer.h: remove #includes ErrorList.h, undo.h
2372
2373 2003-09-06  Angus Leeming  <leeming@lyx.org>
2374
2375         * support/types.h: add a 'depth_type' typedef, used to store the
2376         nesting depth of a paragraph.
2377
2378         * paragraph.h:
2379         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2380         defining explicitly.
2381
2382         * buffer.h:
2383         * paragraph_funcs.h:
2384         * ParagraphParameters.h:
2385         * sgml.h: use lyx::depth_type rather than Paragraph or
2386         ParameterStruct's depth_type.
2387
2388         * buffer.h
2389         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2390
2391         * BufferView.C:
2392         * BufferView_pimpl.C:
2393         * CutAndPaste.C:
2394         * ParagraphParameters.C:
2395         * buffer_funcs.C:
2396         * bufferlist.C:
2397         * bufferview_funcs.C:
2398         * lyx_cb.C:
2399         * lyxfunc.C:
2400         * tabular.C:
2401         * text3.C:
2402         * toc.C:
2403         * undo_funcs.C:
2404         * frontends/LyXView.C:
2405         * frontends/controllers/ControlDocument.C:
2406         * frontends/controllers/ControlErrorList.C:
2407         * insets/insetbibitem.C:
2408         * insets/insetbranch.C:
2409         * insets/insetcaption.C:
2410         * insets/insetcollapsable.C:
2411         * insets/insetenv.C:
2412         * insets/insetert.C:
2413         * insets/insetfloat.C:
2414         * insets/insetfoot.C:
2415         * insets/insetfootlike.C:
2416         * insets/insetnewline.C:
2417         * insets/insetquotes.C:
2418         * insets/insettabular.C:
2419         * insets/insettext.C:
2420         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2421
2422         * frontends/controllers/ControlChanges.C: #include "changes.h".
2423
2424 2003-09-06  Angus Leeming  <leeming@lyx.org>
2425
2426         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2427         than #including paragraph.h.
2428
2429         * ParagraphList.h:
2430         * RowList.h: deleted. Superfluous.
2431
2432         * CutAndPaste.h:
2433         * iterators.h:
2434         * lyxcursor.h:
2435         * lyxtext.h:
2436         * text_funcs.h:
2437         * undo.h:
2438         * undo_funcs.h:
2439         * insets/inset.h:
2440         * insets/insettext.h: use ParagraphList_fwd.h rather than
2441         ParagraphList.h.
2442
2443         * paragraph.h: don't forward declare ParagraphList.
2444
2445         * buffer.h:
2446         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2447         rather than ParagraphList.h. paragraph.h is still needed for the
2448         Paragraph::depth_type parameters.
2449
2450         * textcursor.h: enable it to compile stand-alone in light of the
2451         above changes.
2452
2453         * bufferview_funcs.C:
2454         * iterators.C:
2455         * lyxfunc.C:
2456         * lyxrow_funcs.C:
2457         * paragraph.C:
2458         * rowpainter.C:
2459         * text.C:
2460         * text2.C:
2461         * text3.C:
2462         * text_funcs.C:
2463         * textcursor.C:
2464         * undo.C:
2465         * frontends/controllers/ControlParagraph.C:
2466         * frontends/controllers/ControlTabular.C:
2467         * insets/insetmarginal.C:
2468         * insets/insetminipage.C:
2469         * insets/insetnote.C:
2470         * insets/insetoptarg.C: add header files needed to compile again.
2471
2472 2003-09-06  Angus Leeming  <leeming@lyx.org>
2473
2474         * RowList_fwd.h: new file, forward-declaring Row rather than
2475         #including lyxrow.h.
2476
2477         * lyxrow_funcs.h:
2478         * lyxtext.h:
2479         * paragraph.h:
2480         * insets/insettext.h: use it instead of RowList.h
2481
2482         * bufferview_funcs.C:
2483         * lyxfunc.C:
2484         * lyxrow_funcs.C:
2485         * paragraph.C:
2486         * rowpainter.C:
2487         * text.C:
2488         * text2.C:
2489         * text3.C: #include "RowList.h".
2490
2491 2003-09-05  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset):
2494         * vspace.C (c-tor): replace sscanf call with an istringstream.
2495         * ispell.C: re-add missing HP/UX headers.
2496         * lyxserver.C: re-add missing  os2 headers.
2497
2498 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2499
2500         * BranchList.C:
2501         * graph.C:
2502         * ispell.C:
2503         * lastfiles.C:
2504         * lyx_cb.C:
2505         * lyxserver.C:
2506         * texrow.C:
2507         * text3.C: re-add missing system headers, needed for 2.95.2.
2508
2509 2003-09-05  Angus Leeming  <leeming@lyx.org>
2510
2511         Changes most place everywhere due to the removal of using directives
2512         from support/std_sstream.h.
2513
2514 2003-09-05  Angus Leeming  <leeming@lyx.org>
2515
2516         Replace LString.h with support/std_string.h,
2517         Lsstream.h with support/std_sstream.h,
2518         support/LIstream.h with support/std_istream.h,
2519         support/LOstream.h with support/std_ostream.h.
2520
2521         Changes resulting throughout the tree.
2522
2523 2003-09-05  Angus Leeming  <leeming@lyx.org>
2524
2525         * sgml.h: ensure that the header file can be compiled stand-alone.
2526         * *.C: strip out redundant #includes. (320 in total.)
2527
2528 2003-09-04  Angus Leeming  <leeming@lyx.org>
2529
2530         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2531         here (from getPackages).
2532
2533         * debug.[Ch]: add a new EXTERNAL tag.
2534
2535 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2536
2537         * text2.C (cursorEnd): simplify
2538         (setCursor): adjust
2539         (getColumnNearX): adjust
2540
2541         * text.C (computeBidiTables): adjust
2542         (fill): adjust
2543
2544         * rowpainter.C (paintChars): adjust
2545         (paintSelection): adjust
2546         (paintChangeBar): adjust
2547         (paintText): adjust
2548
2549         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2550         lastPos instead.
2551         (numberOfSeparators): adjust
2552
2553 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * LyXAction.C:
2556         * box.[Ch]:
2557         * lfuns.h:
2558         * lyxfunc.C:
2559         * text3.C: Restricts the mouse click functionality
2560         of insets like bibtex, include, toc and floatlist to the visible
2561         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2562         up the dialogs. Cursor has to be in front of the inset (i.e.
2563         start of row) for this to function.
2564
2565 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2566
2567         * bufferview_funcs.C (currentState): output row information
2568
2569 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2570
2571         * bufferview_funcs.C (currentState): output paragraph position
2572
2573 2003-09-04  Angus Leeming  <leeming@lyx.org>
2574
2575         * FloatList.h: move out #include "Floating.h".
2576         * LaTeX.h: move out #include "DepTable.h".
2577         * LyXAction.h: move out #include "funcrequest.h".
2578         * buffer.h: move out #include "author.h", "iterators.h".
2579         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2580         * lyx_main.h: move out #include "errorlist.h".
2581         * lyxfunc.h: move out #include "FuncStatus.h".
2582         * lyxtext: move out #include "lyxcursor.h".
2583         * paragraph_pimpl.h: move out #include "counters.h".
2584
2585 2003-09-03  Angus Leeming  <leeming@lyx.org>
2586
2587         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2588         preamble_snippets list, enabling us to add snippets to the preamble
2589         only if the snippet was not there already.
2590
2591 2003-09-04  Angus Leeming  <leeming@lyx.org>
2592
2593         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2594
2595 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2598         update
2599
2600 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2601
2602         * BranchList.C: point fix, earlier forgotten
2603
2604 2003-09-02  Angus Leeming  <leeming@lyx.org>
2605
2606         * box.C (contains): renamed from 'contained' after a fantastic
2607         amount of hot air.
2608
2609 2003-09-02  John Levon  <levon@movementarian.org>
2610
2611         * BufferView.C:
2612         * lyxcursor.h:
2613         * lyxcursor.C:
2614         * lyxfunc.C:
2615         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2616
2617 2003-09-02  John Levon  <levon@movementarian.org>
2618
2619         * text2.C: simplification of cursorEnd(), including partial
2620         fix for bug 1376
2621
2622 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * buffer.C (readFile): add a space
2625
2626 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2627
2628         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2629
2630 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * buffer.C (readFile): new function, take a filename and a
2633         ParagraphList::iterator
2634         (readFile): adjust
2635         (readFile): adjust, make it private. don't use setStream, make
2636         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2637         always contain the filename.
2638
2639         * BufferView.C (insertLyXFile): simplify and make it work for
2640         gzipped files.
2641
2642 2003-08-30  John Levon  <levon@movementarian.org>
2643
2644         * Makefile.am: fix dist (from Kayvan)
2645
2646 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2647
2648         * most files: change to use const Buffer refs
2649
2650 2003-08-27  André Pönitz  <poenitz@gmx.net>
2651
2652         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2653         on top of ownerPar().
2654
2655 2003-08-27  John Levon  <levon@movementarian.org>
2656
2657         * funcrequest.C: properly initialise POD members
2658
2659 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * lyxtext.h (top_y): move top_y from here
2662         * text.C:
2663         * text2.C:
2664         * text3.C:
2665         * BufferView.[Ch]:
2666         * BufferView_pimpl.[Ch]: to here
2667         * frontends/screen.C:
2668         * insets/insettabular.C:
2669         * insets/insettext.C: adjust
2670         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2671
2672 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * BufferView.[Ch]:
2675         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2676
2677 2003-08-26  André Pönitz  <poenitz@gmx.net>
2678
2679         * paragraph_func.[Ch] (outerPar): new function
2680
2681         * paragraph.C:
2682         * paragraph_funcs.C:
2683         * paragraph_funcs.h:
2684         * paragraph_pimpl.C:
2685         * text2.C: remove Inset::par_owner
2686
2687 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2688
2689         * lyxrow_funcs.C:
2690         * lyxtext.h:
2691         * text.C:
2692         * text2.C: eliminates the needFullRow/display() stuff
2693         altogether, putting the logic in metrics/draw in the insets.
2694
2695 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2696
2697         * text2.C (redoParagraphInternal, redoParagraphs):
2698         * text.C (redoParagraph): add a call to updateRowPositions at the
2699         end of each 'metrics-like' call. Remove all others.
2700         (getRow): remove the 'y-computing' version.
2701         (getRowNearY): do not compute nor return the real y. Solve the
2702         'y < 0' problem and simplify.
2703
2704 2003-08-22  Angus Leeming  <leeming@lyx.org>
2705
2706         * *.[Ch]: clean-up of licence and author blurbs.
2707         Also move config.h out of a few .h files and into a few .C files.
2708
2709 2003-08-22  André Pönitz  <poenitz@gmx.net>
2710
2711         * lyxrow.[Ch]: add x_ and *fill_ members
2712
2713         * lyxtext.h:
2714         * text.C:
2715         * rowpainter.C:
2716         * text2.C: adjust/remove prepareToPrint() calls
2717
2718 2003-08-22  André Pönitz  <poenitz@gmx.net>
2719
2720         * lyxrow.[Ch]: add  end_ member
2721
2722         * lyxrow_funcs.C: use LyXRow::end_
2723
2724         * lyxtext.h (singleWidth): add LyXFont parameter
2725
2726         * rowpainter.C:
2727         * text2.C: adjust LyXText::singleWidth() calls
2728
2729         * text.C (redoParagraph): simplify row breaking logic
2730
2731
2732 2003-08-19  André Pönitz  <poenitz@gmx.net>
2733
2734         * funcrequest.C: initialize button_ member
2735
2736         * text3.C:
2737         * rowpainter.[Ch]: interface consolidation
2738
2739 2003-08-18  André Pönitz  <poenitz@gmx.net>
2740
2741         * BufferView.C:
2742         * BufferView_pimpl.C:
2743         * lyxfind.C:
2744         * paragraph_funcs.C:
2745         * rowpainter.C:
2746         * text3.C: remove LyXScreen::draw() and fitCursor calls
2747
2748         * BranchList.h: remove spurious semicolons
2749
2750         * MenuBackend.C: fix branchlist related crash
2751
2752 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2753
2754         * BranchList.[Ch]:
2755         * InsetList.[Ch]:
2756         * LColor.[Ch]:
2757         * LyXAction.C:
2758         * Makefile.am:
2759         * MenuBackend.[Ch]:
2760         * bufferparams.[Ch]:
2761         * factory.C:
2762         * lfuns.h:
2763         * lyxfunc.C:
2764         * text3.C: implements the 'branch inset'
2765         idea. This allows the output of various versions of a document
2766         from a single source version, selectively outputing or suppressing
2767         output of parts of the text.
2768         This implementation contains a 'branch list editor' in a separate
2769         tab of the document settings dialog. Branches are user definable
2770         and have a "display colour" to distinguish them on-screen.
2771
2772         ColorHandler was somewhat cleaned up.
2773         (1) make possible a dynamically growing LColor list by allowing
2774         the graphic context cache to grow along (vector);
2775         (2) eliminate an IMHO unnecessary step in colour allocation.
2776
2777 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2778
2779         * BufferView_pimpl.C: compile fix
2780
2781 2003-08-15  André Pönitz  <poenitz@gmx.net>
2782
2783         * rowpainter.C: remove extra metrics calls
2784
2785         * lyxtext.h: merge the two constructors into a single one,
2786           pass reference to owner's par list
2787
2788         * BufferView_pimpl.C:
2789         * text.C:
2790         * text2.C: adjust
2791
2792 2003-08-15  André Pönitz  <poenitz@gmx.net>
2793
2794         * lyxrow_funcs.[Ch]:
2795         * lyxtext.h:
2796         * paragraph.h:
2797         * paragraph_funcs.C:
2798         * rowpainter.C:
2799         * text.C:
2800         * text2.C:
2801         * text3.C:
2802         * text_funcs.C: split LyXText::rowlist_ into individual
2803         Paragraph::rows_ chunks
2804
2805         * BufferView.[Ch]:
2806         * BufferView_pimpl.[Ch]:
2807         * lyxfind.C:
2808         * lyxtext.h:
2809         * text3.C: remove toggleSelection()
2810
2811 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2812
2813         * bufferlist.C: beautify two alerts (shorter text of buttons)
2814         * buffer.C: Remove redundant ' ' from message
2815         * tabular.h:
2816         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2817         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2818         rename VALIGN_CENTER to VALIGN_MIDDLE
2819
2820 2003-08-11  André Pönitz  <poenitz@gmx.net>
2821
2822         * lyxtext.h (getPar):
2823         * text.C: new function
2824
2825 2003-08-11  André Pönitz  <poenitz@gmx.net>
2826
2827         * Makefile.am:
2828         * tracer.[Ch]: remove unneeded files
2829
2830         * InsetList.[Ch]: remove resizeInsetsLyXText()
2831
2832         * lyxtext.h:
2833         * text.C:
2834         * text2.C:
2835         * text3.C: merge insertParagraphs() and appendParagraph()
2836         remove breakAgain(), update()
2837
2838         * BufferView_pimpl.[Ch]:
2839         * bufferview_funcs.[Ch]:
2840         * lyxfunc.C:
2841         * paragraph.[Ch]:
2842         * rowpainter.C:
2843         * tabular.C: adjust after text & InsetList changes.
2844
2845 2003-08-08  André Pönitz  <poenitz@gmx.net>
2846
2847         * text.C (insertChar, backspace): replace rowlist fiddling
2848         with rebreak of full par
2849
2850         * lyxtext.h:
2851         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2852         checkParagraph, updateInset): removed
2853
2854 2003-08-07  André Pönitz  <poenitz@gmx.net>
2855
2856         * paragraph.C:
2857         * text3.C: merge some LFUN handlers, remove dead code
2858
2859 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2862
2863 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2864
2865         * text2.C (DEPM): fix part of bug 1255 and 1256
2866
2867 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2868
2869         * BufferView_pimpl.C (workAreaDispatch): change to use
2870         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2871         that are no mouse related.
2872
2873 2003-08-05  André Pönitz  <poenitz@gmx.net>
2874
2875         * BufferView.[Ch]:
2876         * BufferView_pimpl.[Ch]:
2877         * bufferview_funcs.C:
2878         * text2.C:
2879         * text3.C: rip out "deep update"
2880
2881         * textcursor.[Ch] (last_sel_cursor): remove unused member
2882
2883 2003-08-04  André Pönitz  <poenitz@gmx.net>
2884
2885         * BufferView.[Ch]:
2886         * BufferView_pimpl.[Ch]:
2887         * ParagraphParameters.C:
2888         * bufferview_funcs.C:
2889         * lyx_cb.C:
2890         * lyxfind.C:
2891         * lyxfunc.C:
2892         * text.C:
2893         * text2.C:
2894         * text3.C: replace "complicated" BufferView::update(...) calls with
2895         simpler ones.
2896
2897         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2898
2899 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2900
2901         * Makefile.am (lyx_SOURCES): add paper.h
2902
2903 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2904
2905         * Makefile.am: move things around so that both lyx-qt and
2906         lyx-xforms can be built (according to --with-frontend). Then lyx
2907         is a symbolic link to lyx-[firstfrontend]
2908
2909 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2910
2911         * Always use std::endl with lyxerr
2912
2913 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2914
2915         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2916
2917 2003-08-01  André Pönitz  <poenitz@gmx.net>
2918
2919         * BufferView.[Ch]:
2920         * BufferView_pimpl.[Ch]:
2921         * lyxfunc.C:
2922         * text3.C: merge BufferView::repaint() and BufferView::update()
2923
2924 2003-08-01  José Matos  <jamatos@lyx.org>
2925
2926         * buffer.[Ch]: file_format is no longer a buffer data element.
2927
2928 2003-08-01  André Pönitz  <poenitz@gmx.net>
2929
2930         * BufferView.C:
2931         * lyxtext.h:
2932         * text.C:
2933         * text2.C: make redoParagraph more independent of current cursor
2934
2935         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2936         * text.C:
2937         * text2.C: remove unneeded members
2938
2939 2003-07-30  André Pönitz  <poenitz@gmx.net>
2940
2941         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2942
2943         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2944           create a single function...
2945
2946         * paragraph_funcs.C (moveItem): ... here.
2947
2948         * text.C:
2949           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2950
2951 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2952
2953         * LColor.[Ch]: Add comment and greyedout logical colors.
2954
2955 2003-07-30  André Pönitz  <poenitz@gmx.net>
2956
2957         * tabular.C: don't use Assert too heavily. This crashes where it
2958           shouldn't
2959
2960 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2963         is disabled (bug 1232)
2964
2965 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2966
2967         * factory.C: limited 'arg' scope
2968
2969 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2970
2971         * factory.C: fixed Note submenu issues
2972
2973 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2974
2975         * factory.C: submenu for Note/Comment/Greyedout
2976
2977 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * lyx_main.C (LyX):
2980         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2981
2982 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2983
2984         * LaTeXFeatures.C:
2985         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2986         greyedout. Patch provided by Jürgen Spitzmüller.
2987
2988 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * kbmap.C (read): fix error message when reading bind files
2991
2992 2003-07-29  Angus Leeming  <leeming@lyx.org>
2993
2994         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2995         certainly does not do what it purports to do. I am doing it, and
2996         us, a favour by killing it.
2997
2998 2003-07-28  José Matos  <jamatos@lyx.org>
2999
3000         * buffer.C (readBody, do_writeFile):
3001         * paragraph.C(readParagraph): \end_document replaces \the_end.
3002
3003 2003-07-29  André Pönitz  <poenitz@gmx.net>
3004
3005         * BufferView.[Ch]:
3006         * BufferView_pimpl.[Ch]:
3007         * lyxfunc.C:
3008         * text2.C:
3009         * text3.C:
3010         * textcursor.[Ch]: remove toggleToggle & Co
3011
3012 2003-07-28  José Matos  <jamatos@fep.up.pt>
3013
3014         * buffer.C (readParagraph):
3015         * params_func (readParToken, readParagraph):
3016         * paragraph.C (write): \layout -> \begin_layout.
3017
3018 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * lyxlex_pimpl.C (setFile): clean up slightly.
3021
3022         * bufferparams.h: add compressed var
3023
3024         * buffer_funcs.C (readFile): adjust for LyXLex change
3025         (newFile): ditto + simplify
3026
3027         * buffer.C (writeFile): handle writing of compressed files
3028
3029         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3030         Check if the file is compressed and set a bufferparm if so.
3031
3032         * Makefile.am (lyx_LDADD): remove explicit -lz
3033
3034 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3035
3036         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3037         makeDocBookFile): put the real LyX version in the first line of
3038         the file
3039
3040         * version.h:
3041         * version.C.in: remove lyx_docversion
3042
3043         * tabular.C (write_attribute): add a template-based version to
3044         write enums properly
3045
3046 2003-07-28  André Pönitz  <poenitz@gmx.net>
3047
3048         * lyxtext.h:
3049         * text.C:
3050         * text2.C:
3051         * text3.C: use doubles again for x-coordinates. They are needed.
3052
3053 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * messages.C (getLocaleDir): use lyx_localedir()
3056
3057         * lyxlex_pimpl.C (setFile): compress stuff
3058
3059         * buffer.C (writeFile): add some compression stuff
3060         (do_writeFile): new func, dont call expliti close... will this
3061         breake anything?
3062
3063         * Makefile.am (lyx_LDADD): add -lz
3064
3065 2003-07-28  José Matos  <jamatos@fep.up.pt>
3066
3067         * buffer.C: increment file format.
3068         * paragraph_funcs (readParagraph, readParToken):
3069         * paragraph.C (readParagraph): add \end_layout.
3070
3071 2003-07-27  Angus Leeming  <leeming@lyx.org>
3072
3073         * Makefile.am: remove special casing for configure-time setting of
3074         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3075
3076         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3077         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3078
3079 2003-07-26  André Pönitz  <poenitz@gmx.net>
3080
3081         * paragraph_func.[Ch]:
3082         * paragraph.C (realizeFont): inline it whereever it is used
3083
3084         * rowpainter.C:
3085         * text.C:
3086         * text2.C:
3087         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3088
3089
3090 2003-07-26  André Pönitz  <poenitz@gmx.net>
3091
3092         *       lyxtext.h:
3093         * text.C:
3094         * text2.C: get rid of LyXText::need_break_row
3095
3096 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * toc.[Ch]: put namespace toc inside namespace lyx
3099
3100         * MenuBackend.C (expandToc2): adjust for lyx::toc
3101         (expandToc): ditto
3102
3103         * lyxfunc.C (dispatch): adjust for lyx::find
3104
3105         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3106         lyx::find instead. Reorganize a bit.
3107         (LyXReplace): rename to replace
3108         (LyXFind): rename to find
3109
3110         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3111         (dispatch): ditto
3112
3113 2003-07-26  André Pönitz  <poenitz@gmx.net>
3114
3115         * text.C (setHeightOfRow): restrict scope of temporary variable
3116
3117         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3118           code (never has been used?)
3119
3120 2003-07-27  Asger Alstrup  <alstrup@local>
3121
3122         * text.C (fill): Optimise algorithm to exploit that we can reuse
3123         the LyXFont for many characters.
3124         (setHeightOfRow): Same thing.
3125         (rowBreakPoint): Same thing.
3126
3127 2003-07-26  Asger Alstrup  <alstrup@local>
3128
3129         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3130
3131         * text.C (singleWidth): Spurious font copying in hot-spot
3132         singleWidth avoided. Reorder tests for arabic for efficiency.
3133
3134         * text.C (fill): handle empty paragraphs better.
3135
3136 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * ispell.C:
3139         * encoding.h: add includes
3140
3141         * lyxrc.C: remove reading of bind files
3142
3143         * lyx_main.C (init): setup bindings and menus only if we have a
3144         gui.
3145
3146         * kbmap.C (read): new method. Do the actual reading of bind
3147         files.
3148
3149         * converter.C (dvipdfm_options):
3150         * bufferparams.C:
3151         * lyxrc.C (read):
3152         (output): adapt PAPER_* enums.
3153
3154         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3155
3156         * bufferparams.h: remove paper-related enums from there
3157
3158         * paper.h: New file. A trivial header file to hold paper-related
3159         enums. It should later expand to contain many paper-related
3160         horrors access.
3161
3162         * lyxrc.C: declare extern displayTranslator
3163
3164 2003-07-27  José Matos  <jamatos@fep.up.pt>
3165
3166         * tabular.[Ch] (linuxdoc): add support for tables and figures
3167         (linuxdoc).
3168
3169 2003-07-27  José Matos  <jamatos@fep.up.pt>
3170
3171         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3172         consistency in both functions.
3173         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3174
3175 2003-07-26  Asger Alstrup  <alstrup@local>
3176
3177         * rowpainter.C (paintRows): Change algorithm to work directly on
3178         the insets rather than asking every character in the document
3179         whether its an inset.
3180
3181 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * buffer.C (openFileWrite): factorize some code
3184
3185 2003-07-26  Angus Leeming  <leeming@lyx.org>
3186
3187         * lyx_cb.C:
3188         * lyx_main.[Ch]: replace occurances of system_tempdir with
3189         os::getTmpDir().
3190
3191 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * rename Inset to InsetOld
3194
3195 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3196
3197         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3198         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3199         which I think is a bit clearer. EDIT is gone, since it was
3200         premature optimisation, and broken for mathed anyway.
3201         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3202         with cursor positioning in insets as well (math insets still do not
3203         work, but that's a different story anyway.) It mysteriously
3204         crashes sometimes with undo in the first paragraph, but I'm fairly
3205         confident that this is a compiler bug.
3206
3207 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * paragraph.C (Paragraph): adjust for new clone return type
3210         (operator==): ditto
3211         (copyIntoMinibuffer): ditto
3212
3213 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3214
3215         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3216         by not having a special case, and always doing a full rebreak of
3217         the document after undo.
3218
3219 2003-07-23  Angus Leeming  <leeming@lyx.org>
3220
3221         * factory.C (createInset): InsetExternal::setParams now takes a
3222         Buffer const * arg.
3223
3224 2003-07-23  Angus Leeming  <leeming@lyx.org>
3225
3226         * factory.C (createInset): changed interface to the external and
3227         graphics mailers' string2params functions.
3228
3229 2003-07-23  Angus Leeming  <leeming@lyx.org>
3230
3231         * factory.C (createInset): pass a
3232         Buffer const * parameter to InsetExternalMailer's string2params.
3233
3234 2003-07-22  John Levon  <levon@movementarian.org>
3235
3236         * Thesaurus.h: include the right aiksaurus header
3237
3238 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3239
3240         * MenuBackend.C (expand): check menu shortcuts unconditionally
3241
3242 2003-07-21  Angus Leeming  <leeming@lyx.org>
3243
3244         * factory.C (createInset): pass a
3245         buffer_path parameter to InsetGraphicsMailer's string2params.
3246
3247 2003-07-21  Angus Leeming  <leeming@lyx.org>
3248
3249         * BufferView_pimpl.C (buffer):
3250         * buffer.C (d-tor):
3251         * lyx_main.C (LyX):
3252         * lyxfunc.C (dispatch):
3253         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3254         rather than the grfx shortcut.
3255
3256 2003-07-21  André Pönitz  <poenitz@gmx.net>
3257
3258         * rowpainter.C: remove unused variables
3259
3260         * tabular_funcs.C:
3261         * tabular_funcs.h: move to tabular.C
3262         * Makefile.am: adjust
3263
3264         * tabular.[Ch]: basic optical cleaning
3265
3266         * author.h: pass references, not values
3267
3268 2003-07-18  André Pönitz  <poenitz@gmx.net>
3269
3270         * lyxtext.h:
3271         * metricsinfo.C:
3272         * metricsinfo.h:
3273         * rowpainter.C:
3274         * text.C:
3275         * text2.C:
3276         * text3.C: two-phase drawing for InsetText and InsetTabular
3277         some float -> int changes.
3278
3279 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * lyx_main.C: fix the fix
3282
3283 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * lyx_main.C: fix a crash in batch mode if no files specified
3286         * converter.C: ws
3287
3288 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * format.[Ch] (papersize): moved to BufferParams
3291         * converter.[Ch] (dvips_options): moved to BufferParams
3292         (dvipdfm_options): moved to anon namespace
3293         * bufferparams.[Ch]: added above functions.
3294
3295 2003-07-17  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxtext.h:
3298         * rowpainter.C:
3299         * text2.C: don't call inset->update() anymore
3300
3301         * metricsinfo.[Ch]: add convenience constructor
3302
3303 2003-07-16  André Pönitz  <poenitz@gmx.net>
3304
3305         * lyxcursor.[Ch]:
3306         * lyxfunc.[Ch]:
3307         * text.C:
3308         * text2.C: replace the LyXCursor::irow_ member with
3309          on-demand computation of the value
3310
3311 2003-07-16  John Levon  <levon@movementarian.org>
3312
3313         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3314
3315 2003-07-15  André Pönitz  <poenitz@gmx.net>
3316
3317         * text.C:
3318         * text2.C: remove no more needed refresh_row
3319
3320 2003-07-15  André Pönitz  <poenitz@gmx.net>
3321
3322         * lyxtext.h:
3323         * rowpainter.C:
3324         * text2.C:
3325         * text3.C: refresh_status tristate -> need_update bool
3326
3327 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * lyxtext.h (init): remove reinit argument (act as if always true)
3330         * text2.C: adjust to that
3331
3332 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3333
3334         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3335         * text3.C: use it to delete selections in some cases
3336         (bugs 441, 673, 702, 954).
3337
3338 2003-07-14  André Pönitz  <poenitz@gmx.net>
3339
3340         * rowpainter.[Ch]: reduce interface
3341
3342 2003-07-14  André Pönitz  <poenitz@gmx.net>
3343
3344         * BufferView_pimpl.C:
3345         * text2.C: adjust after removing unused BufferView * argument
3346
3347 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * text2.C (init): fix a crash fired on resize
3350
3351 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * buffer.[Ch]: added new closing signal
3354         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3355         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3356         BufferView::Pimpl via the closing the signal
3357
3358 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3359
3360         * buffer.[Ch]: take out all bv-related from buffer
3361         * BufferView.C:
3362         * BufferView_pimpl.[Ch]: connect to new signals
3363         * CutAndPaste.C: removed useless asserts
3364         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3365         * lyxvc.[Ch]:
3366         * vc-backend.[Ch]:
3367         * lyxfunc.C: moved view-related funciontality from vc here
3368         * paragraph.C: removed outdated comments
3369         * text.C: ws
3370
3371 2003-07-10  André Pönitz  <poenitz@gmx.net>
3372
3373         * BufferView_pimpl.C:
3374         * tabular.h:
3375         * tabular_funcs.C:
3376         * text.C:
3377         * text2.C: remove InsetText::InnerCache, clean up consequences
3378
3379 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3380
3381         * ispell.C: fix two typos in error messages
3382
3383 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3384
3385         * Extend Note inset to other forms of annotation like Comment
3386         and Greyedout. Right button click gives dialog.
3387
3388         Files modified or added (+):
3389
3390         * insetnote.[Ch]
3391         * FormNote.[Ch]      +
3392         * ControlNote.[Ch]   +
3393         * form_note.fd       +
3394         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3395         frontends/controllers
3396         * xforms/Dialogs.C
3397         * factory.C
3398
3399 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3400
3401         * aspell.C: add missing namespace lyx::support
3402
3403 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3404
3405         * BufferView.[Ch] (newFile): Add
3406         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3407         * LaTeX.[Ch] (message): added this signal and use it
3408         * buffer.[Ch] (busy, message): added these signals and use them
3409         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3410         * converter.C:
3411         * exporter.C:
3412         * format.C:
3413         * importer.C: use buffer signals instead of direct bv calling
3414         * lyx_cb.[Ch] (ShowMessage): removed
3415         * lyx_main.C:
3416         * lyxfunc.C:
3417         * paragraph_funcs.C:
3418         * text2.C: use buffer signals
3419
3420 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * introduce namespace lyx::graphics
3423
3424 2003-07-02  André Pönitz  <poenitz@gmx.net>
3425
3426         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3427
3428 2003-07-01  André Pönitz  <poenitz@gmx.net>
3429
3430         * text.C:
3431         * text2.C:
3432         * text3.C:
3433         * text_funcs.[Ch]:
3434         * textcursor.h:
3435         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3436           text*.C to text_func.C
3437
3438 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * introduce namespace lyx::support
3441
3442 2003-06-30  André Pönitz  <poenitz@gmx.net>
3443
3444         * Chktex.C:
3445         * funcrequest.C:
3446         * lyxtext.h:
3447         * text.C: re-enable --with-included-string
3448
3449 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * textcursor.C: add <config.h>
3452
3453         * text.C (getWord): remove const from word_location arg
3454
3455         * lyxvc.C (getLogFile): fix const type order
3456
3457         * lyxtext.h: remove const from word_location arg, add arg name
3458
3459         * lyxlayout.h: currect type on labeltype.
3460
3461         * importer.C: correct \file
3462
3463         * converter.C (intToFormat): use std:: on ret val, ws changes
3464
3465         * bufferlist.h: correct \file
3466
3467         * buffer.C (makeLinuxDocFile): fix const type order
3468         (makeDocBookFile): ditto
3469         (fillWithBibKeys): use std:: on stdlib args.
3470
3471         * CutAndPaste.C: fix authors.
3472         (availableSelections): use std:: on return vector
3473
3474 2003-06-27  André Pönitz  <poenitz@gmx.net>
3475
3476         * BufferView_pimpl.C:
3477         * bufferview_funcs.C:
3478         * lyxcursor.C:
3479         * lyxcursor.h:
3480         * lyxfunc.C:
3481         * lyxtext.h:
3482         * rowpainter.C:
3483         * text.C:
3484         * text2.C:
3485         * text3.C: remove LyXCursor::row_ member
3486
3487         * lyxtext.h:
3488         * text.C: rename fullRebreak() to partialRebreak() and implement
3489           a fullRebreak() that really bereks fully
3490
3491         * textcursor.h: new struct for cursor-related data
3492
3493 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * lyx_main.C (LyX): get full path of document loaded on the
3496         command line
3497
3498 2003-06-26  André Pönitz  <poenitz@gmx.net>
3499
3500         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3501           remove unused/broken operator>,<,>=.
3502
3503         *       text.C: remove only use of broken operator<= in an Assert().
3504
3505 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3506
3507         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3508         moved errorlist_.clear to showErrorList
3509
3510 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3511
3512         * converter.C (scanLog, runLaTeX):
3513         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3514         move the bv->showErrorList call to the callers
3515         * lyxfunc.C: i.e. here...
3516         * text2.C: and here
3517         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3518         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3519         namespace, the second to...
3520         * buffer_funcs (BufferFormat, parseErrors): added
3521         * errorlist.C (ErrorList(TeXErrors const &)): removed
3522
3523 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3524
3525         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3526
3527 2003-06-24  "Garst R. Reese" <reese@isn.net>
3528
3529         * debug.C: fix typo
3530
3531 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3532
3533         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3534
3535         * version.C.in: change docversion to 1.4
3536
3537 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3538
3539         * buffer.C: fix a bug just introduced
3540
3541 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3542
3543         * buffer.[Ch]: added the parseError signal and use it, removed
3544         sgmlError
3545         * BufferView.[Ch] (addError): moved to ...
3546         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3547         to the Buffer::parseError signal to catch (guess what) parse errors
3548         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3549
3550 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3553         ability to create a buffer and to return an existing one from
3554         the list. Moved these functions to...
3555         * buffer_funcs.[Ch]: added
3556         * BufferView.[Ch] (loadLyXFile): added
3557         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3558         job removed from bufferlist::loadLyXFile.
3559         * buffer.C (setReadOnly): make it work without view
3560         (i.e added an if (users))
3561
3562 2003-06-19  Angus Leeming  <leeming@lyx.org>
3563
3564         * lfuns.h:
3565         * LyXAction.C (init):
3566         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3567         with LFUN_DIALOG_SHOW <name> <data>.
3568
3569 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3570
3571         * CutAndPaste.C (availableSelections): small compilation fix for
3572         ancient (gcc 2.9x) compilers
3573
3574 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * text3.C (cursorNext): add tmp var
3577
3578         * text2.C (updateCounters): for function calling out of for clause
3579         (replaceSelectionWithString): ditto
3580         (insertStringAsParagraphs): ditto
3581         (getColumnNearX): add tmp var
3582         (setCursorFromCoordinates): add tmp var
3583         (cursorDownParagraph): add tmp var
3584         (deleteEmptyParagraphMechanism): add tmp var
3585
3586         * text.C (insertChar): add tmp var
3587
3588         * rowpainter.C (paintDepthBar): add tmp var
3589
3590         * CutAndPaste.C (availableSelections): potentially check all
3591         paragraphs in a cut to fill the shown strings.
3592
3593 2003-06-18  André Pönitz  <poenitz@gmx.net>
3594
3595         * kbmap.[Ch]: use vector<> instead of list<>
3596
3597 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3598
3599         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3600         pasteSelection with index
3601
3602         * text2.C (pasteSelection): modify, call pasteSelection with index
3603
3604         * paragraph.C (asString): reimplement version with no interval to
3605         call the one with interval.
3606
3607         * lyxtext.h: add index arg to pasteSelection
3608
3609         * MenuBackend.C (MenuItem): handle PasteRecent
3610         (Menu::read::Menutags): add md_pasterecent
3611         (read): handle it
3612         (expandPasteRecent): new function
3613         (expand): use it
3614
3615         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3616
3617         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3618         the limited stack
3619         (availableSelections): new function
3620
3621 2003-06-17  Angus Leeming  <leeming@lyx.org>
3622
3623         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3624
3625 2003-06-17  Angus Leeming  <leeming@lyx.org>
3626
3627         * lfuns.h:
3628         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3629
3630         * lyxfunc.C (dispatch): invoke it.
3631
3632 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3633
3634         * iterators.C (operator++, ParPosition): reintroduce some
3635         const_cast for the benefit of older compilers.
3636
3637 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3638
3639         * text3.C (dispatch): do not modify clipboard when doing
3640         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3641         LFUN_DELETE_SKIP on a selection selection
3642
3643 2003-06-16  André Pönitz  <poenitz@gmx.net>
3644
3645         * BufferView.C:
3646         * buffer.C:
3647         * buffer.h:
3648         * paragraph.C:
3649         * tabular.[Ch]: IU of clone() and getLabelList();
3650
3651 2003-06-13  André Pönitz  <poenitz@gmx.net>
3652
3653         * tabular.h: compactification
3654
3655 2003-06-12  André Pönitz  <poenitz@gmx.net>
3656
3657         * tabular.C:
3658         * tabular.h:
3659         * tabular_funcs.h: some renaming plus whitespace
3660
3661 2003-06-12  André Pönitz  <poenitz@gmx.net>
3662
3663         * BufferView.C:
3664         * BufferView_pimpl.C:
3665         * CutAndPaste.C:
3666         * buffer.C:
3667         * iterators.[Ch]:
3668         * lyxfunc.C:
3669         * text.C:
3670         * toc.C: Return a Paragraph & for ParIterator::operator*()
3671
3672 2003-06-11  John Levon  <levon@movementarian.org>
3673
3674         * lyx_main.C:
3675         * ToolbarBackend.h:
3676         * ToolbarBackend.C: add "Toolbars" section and
3677         put the flags there
3678
3679 2003-06-10  Angus Leeming  <leeming@lyx.org>
3680
3681         * lfuns.h:
3682         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3683
3684         * lyxfunc.C (dispatch): invoke it.
3685
3686 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * main.C: protect <ios> with HAVE_IOS
3689         (main): protect sync_with_stdio with HAVE_IOS
3690
3691 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3692
3693         * text2.C (cutSelection): adjust
3694         (pasteSelection): adjust
3695
3696         * messages.C: handle get of empty string
3697
3698         * main.C (main): use sync_with_stdio(false)
3699
3700         * lyxfunc.C (dispatch): adjust
3701
3702         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3703         (WriteAs): remove unneeded BufferView arg.
3704
3705         * bufferparams.h: use correct types on papersize, papersize2 and
3706         paperpackage.
3707
3708         * bufferparams.C (readToken): adjust for type
3709         (writeLaTeX): add missing cases to switch.
3710
3711         * bufferlist.C (quitWriteBuffer): adjust
3712         (close): adjust
3713
3714         * buffer.C (asciiParagraph): remove some commented code.
3715
3716         * CutAndPaste.C: remove current_view extern variable.
3717         (cutSelection): add BufferParams arg.
3718         (eraseSelection): add BufferParams arg.
3719         (pasteSelection): add Buffer const & arg
3720
3721 2003-06-07  John Levon  <levon@movementarian.org>
3722
3723         * buffer.C:
3724         * paragraph_funcs.C:
3725         * paragraph_pimpl.C:
3726         * text.C:
3727         * text2.C:
3728         * paragraph.h:
3729         * paragraph.C: allow InsetERT to freely space lines,
3730         and some consolidation of code
3731
3732 2003-06-06  José Matos  <jamatos@fep.up.pt>
3733
3734         * buffer.C (makeDocBookFile): fix bug #821
3735
3736 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3737
3738         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3739
3740 2003-06-04  Angus Leeming  <leeming@lyx.org>
3741
3742         * buffer.C: bump format to 224.
3743
3744 2003-06-05  André Pönitz  <poenitz@gmx.net>
3745
3746         * text2.C (redoParagraphs): remove two const_cast<>
3747
3748 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3749
3750         * ParagraphList.h: remove last remnants of NO_STD_LIST
3751
3752 2003-06-03  Angus Leeming  <leeming@lyx.org>
3753
3754         * factory.C (createInset): small change to the way InsetExternal's params
3755         are set.
3756
3757 2003-06-04  André Pönitz  <poenitz@gmx.net>
3758
3759         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3760
3761         * paragraph_pimpl.h:
3762         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3763
3764         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3765
3766         * undo_funcs.C: make some simple cases of undo work again
3767
3768 2003-06-03  John Levon  <levon@movementarian.org>
3769
3770         * ispell.C: HPUX doesn't have sys/select.h
3771         (from Albert Chin)
3772
3773 2003-06-03  John Levon  <levon@movementarian.org>
3774
3775         * CutAndPaste.C: update tabular and include inset
3776         buffer references
3777
3778         * buffer.h:
3779         * paragraph.h:
3780         * paragraph.C: remove owningBuffer(), don't pass Buffer
3781         to clone()
3782
3783         * factory.C: insetGraphicsParams changed
3784
3785 2003-06-02  John Levon  <levon@movementarian.org>
3786
3787         * LyXAction.C:
3788         * factory.C:
3789         * lfuns.h:
3790         * lyxfunc.C:
3791         * text3.C: remove insetparent
3792
3793 2003-06-02  John Levon  <levon@movementarian.org>
3794
3795         * buffer.h:
3796         * buffer.C: fix inset_iterator.end(), move out of line
3797         (bug 1149)
3798
3799 2003-06-01  John Levon  <levon@movementarian.org>
3800
3801         * text3.C: use a proper cut/paste when doing inset
3802         insert (from Jürgen Spitzmüller)
3803
3804 2003-06-01  John Levon  <levon@movementarian.org>
3805
3806         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3807
3808 2003-05-30  André Pönitz  <poenitz@gmx.net>
3809
3810         * rowpainter.C: unify second drawing phase
3811
3812 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * trans_mgr.C: remove one case of current_view
3815
3816         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3817
3818         * paragraph_funcs.h: remove paragraph.h include
3819
3820         * paragraph.h: delete NO_STD_LIST stuff
3821
3822         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3823
3824         * buffer.h: remove paragraph.h include
3825
3826         * ParagraphList.C: delete file
3827
3828         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3829
3830         * toc.C (getTocList): adjust
3831
3832         * paragraph_pimpl.C (validate): adjust
3833
3834         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3835
3836         * paragraph.C (Paragraph): adjust
3837         (getPositionOfInset): use const_iterator, adjust
3838         (bibitem): use const_iterator, adjust
3839         (setInsetOwner): adjust
3840
3841         * iterators.C (operator++): adjust
3842
3843         * InsetList.[Ch]: Replace selfmade iterator with standard
3844         vector::iterator also introduce const_iterator. Remove getPos,
3845         getInset and setInset from InsetTable. Adjust accordingly.
3846
3847         * BufferView.C (lockInset): adjust
3848         (ChangeInsets): adjust
3849
3850         * tabular.[Ch]: delete commented same_id functions
3851
3852 2003-05-28  John Levon  <levon@movementarian.org>
3853
3854         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3855
3856 2003-05-28  André Pönitz  <poenitz@gmx.net>
3857
3858         * metricsinfo.[Ch]: remove 'fullredraw' member
3859
3860 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3861
3862         * lyxtextclass.C (operator): remove caching.
3863
3864 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * text3.C: adjust
3867
3868         * text2.C (cursorBottom): adjust
3869         (setCounter): use ParagraphList::find, adjust
3870
3871         * text.C (workWidth): use ParagraphList::find, adjust
3872
3873         * lyxcursor.C (LyXCursor): adjust
3874
3875         * buffer.C (inset_iterator): adjust
3876
3877         * ParagraphList.h: make iterator(value_type) private, make
3878         ParagraphList a friend of iterator.
3879
3880         * ParagraphList.C (find): new function
3881
3882         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3883
3884 2003-05-27  André Pönitz  <poenitz@gmx.net>
3885
3886         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3887
3888 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3889
3890         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3891
3892 2003-05-26  John Levon  <levon@movementarian.org>
3893
3894         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3895
3896 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * remove same_id from function signatures, adjust.
3899
3900 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3903
3904         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3905
3906         * paragraph.C (Paragraph): get rid of same_ids parameter
3907
3908         * ParagraphList.C (insert): adjust
3909         (push_back): adjust
3910
3911 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * paragraph_funcs.C (breakParagraph): adjust
3914         (breakParagraphConservative): adjust
3915
3916         * buffer.C (readParagraph): adjust
3917
3918         * ParagraphList.C (insert): take a reference instead of a pointer
3919         (insert): adjust
3920
3921         * paragraph.[Ch] (id): new function
3922
3923         * bufferlist.C (newFile): adjust
3924
3925         * ParagraphList.C (ParagraphList): adjust
3926         (assign): adjust
3927         (push_back): take a reference instead of a pointer.
3928
3929         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3930
3931         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3932         instead.
3933
3934         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3935         set else use old code.
3936
3937         * ParagraphList.C: remove all NO_NEXT code and only compile this
3938         code of NO_STD_LIST is set.
3939
3940 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * BufferView_pimpl.C:
3943         * TextCache.C:
3944         * TextCache.h:
3945         * bufferlist.C:
3946         * errorlist.h:
3947         * format.C:
3948         * format.h:
3949         * graph.C:
3950         * lyxfunc.C:
3951         * lyxrc.C:
3952         * graphics/GraphicsConverter.C:
3953         * graphics/PreviewLoader.C: header adjustment
3954
3955 2003-05-23  Angus Leeming  <leeming@lyx.org>
3956
3957         * LaTeXFeatures.[Ch] (useBabel): new method.
3958         * bufferparams.C (writeLaTeX): use it.
3959
3960 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * ParagraphList.h (set): remove unused function.
3963
3964 2003-05-23  André Pönitz  <poenitz@gmx.net>
3965
3966         * BufferView.C:
3967         * BufferView_pimpl.C:
3968         * buffer.C:
3969         * buffer.h:
3970         * lyxfunc.C:
3971         * undo_funcs.C: setUndo reworked
3972
3973         * iterators.[Ch]: add access to topmost ParagraphList
3974
3975         * lyxtext.[Ch] (workWidth): add a const
3976
3977 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3978
3979         * texrow.[Ch] (increasePos): remove function
3980         * exporter.C (export): removed unused var and outdated comment
3981
3982 2003-05-23  Angus Leeming  <leeming@lyx.org>
3983
3984         * latexrunparams.h: rename fragile as moving_arg.
3985         * paragraph.C (simpleTeXOnePar): ditto.
3986         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3987
3988 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3991         (createUndo): ditto
3992         (textUndoOrRedo): comment out a currently unused var.
3993
3994         * paragraph.h (NO_NEXT): enable NO_NEXT
3995
3996         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3997
3998         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3999
4000         * exporter.C (Export): adjust for removeAutoInsets removal.
4001
4002         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4003
4004         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4005
4006         * BufferView.[Ch] (removeAutoInsets): delete function
4007
4008 2003-05-22  Angus Leeming  <leeming@lyx.org>
4009
4010         * latexrunparams.h: add a free_spacing variable.
4011
4012         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4013         to pass moving_arg, as the data is stored in runparams.fragile.
4014
4015         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4016         to Inset::latexOptional or to simpleTeXOnePar.
4017
4018         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4019         free_spacing arg to Inset::latexOptional.
4020
4021         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4022         free_spacing arg.
4023
4024 2003-05-22  Angus Leeming  <leeming@lyx.org>
4025
4026         * latexrunparams.h: add fragile and use_babel variables.
4027
4028         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4029         * buffer.C (makeLaTeXFile): store this returned value in
4030         runparams.use_babel, thus passing it to the inset::latex methods.
4031
4032         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4033         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4034
4035         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4036         longer has a fragile arg, as it is stored in runparams.fragile.
4037
4038         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4039         moving_arg parameter as the data is stored in runparams.fragile.
4040
4041         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4042         a fragile parameter as the data is stored in runparams.fragile.
4043
4044 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4047
4048 2003-05-22  Angus Leeming  <leeming@lyx.org>
4049
4050         * latexrunparams.h: add a 'bool nice' which defaults to false.
4051
4052         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4053         now encapsulated within runparams.
4054
4055         * bufferlist.C (updateIncludedTeXfiles):
4056         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4057
4058 2003-05-22  Angus Leeming  <leeming@lyx.org>
4059
4060         * latexrunparams.h: new file containing struct LatexRunParams.
4061         * Makefile.am: add new file.
4062
4063         * LaTeX.[Ch] (c-tor, run):
4064         * buffer.[Ch] (makeLaTeXFile):
4065         * bufferlist.[Ch] (updateIncludedTeXfiles):
4066         * converter.C (convert, scanLog):
4067         * converter.[Ch] (runLaTeX):
4068         * exporter.C (Export):
4069         * paragraph.[Ch] (simpleTeXOnePar):
4070         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4071         * paragraph_funcs.[Ch] (latexParagraphs):
4072         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4073         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4074         pass around a LatexRunParams parameter.
4075
4076 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * paragraph.[Ch]: remove unused constructor
4079
4080         * ParagraphList.C (erase): new function, taking two iterators
4081
4082 2003-05-22  André Pönitz  <poenitz@gmx.net>
4083
4084         * undo_funcs.C: remove duplicated code
4085
4086         * iterator.[Ch]: operator=
4087
4088 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * tabular.C (SetMultiColumn): ws changes
4091
4092         * rowpainter.C (paintFirst): get rid of a ->previous
4093
4094         * lyx_cb.C (getPossibleLabel): parlist simplification
4095
4096         * BufferView.C (ChangeInsets): simplify slightly.
4097
4098 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4099
4100         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4101         * lfuns.h: new LFUN_SPACE
4102         * lyxfunc.C: protected space has a new lfun
4103         * paragraph_funcs.C: read new space insets
4104         * text3.C:
4105         * factory.C: handle new space insets
4106
4107 2003-05-22  André Pönitz  <poenitz@gmx.net>
4108
4109         * BufferView.C:
4110         * BufferView_pimpl.C:
4111         * buffer.[Ch]:
4112         * lyxfunc.C:
4113         * undo_funcs.C: return a ParIterator from getParFromID.
4114
4115         * iterators.[Ch]: add two const's
4116
4117 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * toc.C (getTocList): adjust
4120
4121         * iterators.[Ch]: rework for parlist
4122
4123         * buffer.C (par_iterator_begin): adjust
4124         (par_iterator_end): adjust
4125
4126         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4127
4128         * BufferView.C (removeAutoInsets): adjust
4129         (ChangeInsets): adjust
4130
4131 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4132
4133         * text.C (top_y): fix bug 1110
4134
4135 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * errorlist.[Ch]: added
4138         * buffer.C:
4139         * BufferView.[Ch]:
4140         * BufferView_pimpl.C:
4141         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4142         instead
4143
4144 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * Makefile.am: ensure that lyx is relinked upon changes to the
4147         various "convenience" libs.
4148
4149 2003-05-20  Angus Leeming  <leeming@lyx.org>
4150
4151         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4152         files are compiled in alphabetical order again.
4153
4154         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4155
4156 2003-05-19  Angus Leeming  <leeming@lyx.org>
4157
4158         * gettext.[Ch]: remove "char const * _(char const *)".
4159
4160 2003-05-19  André Pönitz  <poenitz@gmx.net>
4161
4162         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4163
4164         * Makefile.am:
4165         * BufferView.C:
4166         * DepTable.h:
4167         * LaTeXFeatures.C:
4168         * buffer.C:
4169         * lyxfont.C:
4170         * lyxlex.h:
4171         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4172
4173 2003-05-19  André Pönitz  <poenitz@gmx.net>
4174
4175         * buffer.C:
4176         * lyxlayout.[Ch]:
4177         * lyxtextclass.[Ch]:
4178         * paragraph.C:
4179         * paragraph_funcs.[Ch]:
4180         * text2.C:
4181         * text3.C: more insetenv work
4182
4183 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * ParagraphParameters.C (params2string): small bug fixed
4186
4187 2003-05-16  André Pönitz  <poenitz@gmx.net>
4188
4189         * debug.C:
4190         * bufferview_funcs.C: patch from Kornel Benko to prevent
4191           crash when _(...) is called twice in a statement
4192
4193 2003-05-16  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView.C:
4196         * lyxfunc.C:
4197         * text.C:
4198         * text2.C:
4199         * text3.C:
4200         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4201
4202 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * lyx_main.C (init): remove spurious static_cast
4205
4206 2003-05-14  André Pönitz  <poenitz@gmx.net>
4207
4208         * BufferView.C: fix format string
4209
4210 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * BufferView.[Ch] (insertErrors): removed
4213         * BufferView.[Ch] (showErrorList): added
4214         * buffer.C (runChkTeX):
4215         * converter.C (scanLog): call showErrorList instead of inserterrors
4216
4217 2003-05-13  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView_pimpl.C:
4220         * buffer.C:
4221         * bufferview_func.C:
4222         * MenuBackend.C:
4223         * lyxfunc.C:
4224         * lyxrc.C:
4225         * tex-accent.C:
4226         * text3.C:
4227         * toc.C:
4228         * tabular_funcs.h: tostr() from its own header
4229
4230         * ParagraphParameters.C:
4231         * ToolbarBackend.C:
4232         * bufferparams.C:
4233         * format.C:
4234         * lyxlex_pimpl.C:
4235         * text3.C: STRCONV()
4236
4237 2003-05-12  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.C:
4240         * BufferView_pimpl.C:
4241         * CutAndPaste.C:
4242         * LaTeX.C:
4243         * LaTeXFeatures.C:
4244         * ParagraphParameters.C:
4245         * buffer.C:
4246         * bufferlist.C:
4247         * bufferparams.C:
4248         * bufferview_funcs.C:
4249         * converter.C:
4250         * counters.C:
4251         * debug.C:
4252         * exporter.C:
4253         * format.C:
4254         * importer.C:
4255         * lyx_cb.C:
4256         * lyx_main.C:
4257         * lyxfont.C:
4258         * lyxfunc.C:
4259         * lyxvc.C:
4260         * paragraph.C:
4261         * paragraph_funcs.C:
4262         * tabular.C:
4263         * tabular_funcs.C:
4264         * text2.C:
4265         * text3.C:  boost::format -> bformat  all over the place
4266
4267
4268 2003-05-09  André Pönitz  <poenitz@gmx.net>
4269
4270         * LColor.[Ch]: Pimpl the #include <map> away
4271
4272 2003-05-09  John Levon  <levon@movementarian.org>
4273
4274         * bufferlist.C: never remove emergency saves
4275
4276 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * Makefile.am: better lib building
4279
4280 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4283         instead.
4284         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4285         (simpleTeXSpecialChars): adjust
4286         (simpleTeXSpecialChars): adjust
4287         * paragraph.C (simpleTeXOnePar): adjust
4288         * buffer.C (makeLaTeXFile): adjust
4289
4290         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4291
4292         * text2.C (changeDepth): parlist cleanup
4293         (getColumnNearX): ditto
4294
4295         * rowpainter.C (getLabelFont): parlist cleanup
4296
4297         * bufferlist.C (newFile): parlist cleanup
4298
4299         * CutAndPaste.C (eraseSelection): parlist cleanup
4300
4301         * BufferView_pimpl.C (trackChanges): parlist cleanup
4302         (dispatch): ditto
4303
4304         * BufferView.C (lockInset): parlist cleanup.
4305         (ChangeInsets): ditto
4306
4307 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * CutAndPaste.h: Update file header.
4310
4311         * CutAndPaste.C: Update file header.
4312         Store the parts cut out of the Document in a limited_stack.
4313         (copySelection): adjust
4314         (pasteSelection): new function, takes the index in the limited stack.
4315         (nrOfParagraphs): adjust
4316         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4317         simplify error inset insertion.
4318         (checkPastePossible): adjust
4319
4320 2003-05-06  John Levon  <levon@movementarian.org>
4321
4322         * text2.C: don't cast wrap inset to float
4323
4324 2003-05-05  André Pönitz  <poenitz@gmx.net>
4325
4326         * iterator.C:
4327         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4328
4329         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4330           few naked Paragraph *.
4331
4332 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4333
4334         * bufferparams.C: Output warning if a document with missing
4335         TeX document class is loaded
4336         * exporter.C: Disable TeX exports if the document class is missing
4337         * lyxtextclass.C:
4338         * lyxtextclass.h:
4339         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4340         isTeXClassAvailable()
4341
4342 2003-05-03  John Levon  <levon@movementarian.org>
4343
4344         * BufferView.h:
4345         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4346         explicit cursor show/hide
4347
4348         * BufferView_pimpl.h:
4349         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4350         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4351
4352         * lyxfunc.C: hide cursor before dispatching.
4353
4354         * lyx_cb.C:
4355         * lyxfind.C:
4356         * text.C:
4357         * text3.C: remove explicit cursor hides
4358
4359 2003-05-02  André Pönitz  <poenitz@gmx.net>
4360
4361         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4362
4363         * undo_funcs.C:
4364         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4365           linked lists
4366
4367         * text2.C: tiny whitespace
4368
4369 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * undo_funcs.C: almost only ws changes.
4372
4373         * ParagraphList.C (splice): just return if pl is empty.
4374
4375 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * ParagraphList.C (splice): new function.
4378
4379         * CutAndPaste.C (pasteSelection): use it
4380
4381 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * CutAndPaste.C (pasteSelection): remove the last next and
4384         previous from this file.
4385
4386 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * CutAndPaste.C (pasteSelection): more clean up, user proper
4389         ParagraphList functions for pasteing.
4390
4391         * ParagraphList.C (insert): new function, three arg insert
4392
4393 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * ParagraphList.C (insert): new function, three arg insert
4396
4397         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4398         not on paragraphs.
4399
4400 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4403
4404 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4407
4408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4411         (copySelection): clean up a bit.
4412         (pasteSelection): use make_pair
4413
4414         * ParagraphList.C (ParagraphList): implement copy constructor
4415         (operator=): implement, base on copy constructor.
4416         (assign): new func
4417
4418         * paragraph.C (erase): return a bool
4419
4420         * paragraph_pimpl.C (erasePos): remove function, move contents...
4421         (erase): ... here. Return a bool.
4422         (erase): call erase instead of erasePos.
4423
4424 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4425
4426         * ParagraphList.h: define PitPosPair
4427         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4428         ParagraphList, fix a bug on pasting multiple pars
4429         * text2.C: change interface to C&P
4430
4431 2003-04-30  André Pönitz  <poenitz@gmx.net>
4432
4433         * undo_func.C: revert part of yesterday's patch 2
4434
4435 2003-04-30  John Levon  <levon@movementarian.org>
4436
4437         * LColor.C: s/tabular/table/
4438
4439 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * text3.C (dispatch): do not convert iterator -> pointer
4442         * undo_funcs.C (setCursorParUndo): ditto
4443         * text_funcs.C (transposeChars): ditto
4444
4445         * text2.C (setLayout): ws changes only
4446
4447         * text.C (breakParagraph): do not convert iterator -> pointer
4448         (insertChar): ditto
4449         (acceptChange): ditto
4450         (rejectChange): ditto
4451         (changeCase): ditto
4452         (Delete): ditto
4453         (backspace): ditto
4454
4455         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4456         pointer
4457
4458 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4459
4460         * text3.C (gotoInset): YABG (yet another bad getChar)
4461
4462 2003-04-29  André Pönitz  <poenitz@gmx.net>
4463
4464         * paragraph.h: make operator= private unimplemented as long as
4465           it is unusable
4466
4467         * ParagraphList.C: whitespace
4468
4469         * paragraph.[Ch]:
4470         * paragraph_pimpl.[Ch]:
4471         * paragraph_funcs.C:
4472         * CutAndPaste.C:
4473         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4474
4475         * text2.C:
4476           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4477
4478 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4481         * paragraph.[Ch] (erase):
4482         * paragraph_pimpl.[Ch] (erase): change return type and value
4483         * text2.C (cutSelection): some rework
4484
4485 2003-04-28  John Levon  <levon@movementarian.org>
4486
4487         * bufferlist.C: changes for unsaved changes dialog
4488
4489 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4490
4491         * bufferlist.C (newFile): set language (messages_) for new
4492         documents also.
4493
4494         * buffer.C (readFile): ws changes only.
4495
4496 2003-04-28  André Pönitz  <poenitz@gmx.net>
4497
4498         * undo_funcs.C:
4499         * lyxfunc.C:
4500         * buffer.[Ch]:
4501         * BufferView_pimpl.C:
4502         * BufferView.C: getParFromID related ParagraphList::iterator changes
4503
4504 2003-04-28  André Pönitz  <poenitz@gmx.net>
4505
4506         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4507           Changes
4508
4509 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * messages.C: remove one more localedir class variable.
4512
4513 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * messages.C (getLocaleDir): singleton generation function
4516         (Pimpl): use it.
4517         (Messages): add a default constructor.
4518
4519         * main.C (main): do not setup localedir here, do not call
4520         gettext_init.
4521
4522         * gettext.C (_): use it.
4523         (gettext_init): delete funciton
4524
4525 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * gettext.C (getLyXMessages): new singleton generating function.
4528
4529         * buffer.C (updateDocLang): adjust
4530
4531         * Makefile.am (messages.o): add target
4532         (main.o): remove target
4533
4534 2003-04-27  John Levon  <levon@movementarian.org>
4535
4536         * bufferlist.C:
4537         * lyx_cb.C:
4538         * lyxfunc.C:
4539         * lyxvc.C: specify cancel button in Alert::prompt
4540
4541 2003-04-26  John Levon  <levon@movementarian.org>
4542
4543         * text3.C:
4544         * lyxfunc.C:
4545         * lfuns.h:
4546         * LyXAction.C: add LFUN_INSET_SETTINGS
4547
4548         * lyxfunc.C: don't enable tabular-feature when there's
4549         just any locking inset
4550
4551 2003-04-26  John Levon  <levon@movementarian.org>
4552
4553         * bufferlist.C: re-add Cancel to buffer close question
4554
4555         * lyxfunc.C: fix import UI a bit
4556
4557 2003-04-25  John Levon  <levon@movementarian.org>
4558
4559         * gettext.C: remove the broken asserts for now
4560
4561 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * messages.C: make case where setlocale cannot comply work better.
4564
4565         * buffer.C (updateDocLang): new function
4566         (changeLanguage): use it
4567         (readFile): use it
4568
4569         * text2.C (setCounter): use B_ a bit.
4570
4571         * lyxlayout.C (Read): be sure to trim the label strings.
4572
4573         * messages.C (Messages): fix typo in comment
4574
4575         * buffer.C (readFile): set message_ after file is loaded.
4576         (makeDocBookFile): remove double return
4577         (changeLanguage): reset message_ upon language change.
4578         (B_): new func, use this to get translated buffer strings.
4579
4580         * main.C: add myself and Jean Marc as authors.
4581
4582 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * messages.[hC]: pimplify Messages, and three different pimpls to be
4585         used in different circumstances.
4586
4587         * gettext.[Ch]: change for use with new message code.
4588
4589 2003-04-24 André Pönitz <poenitz@gmx.net>
4590
4591         * factory.C: support for eqref
4592
4593 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * messages.[Ch]: add missing char
4596
4597         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4598
4599         * messages.[Ch]: New files
4600
4601 2003-04-18  John Levon  <levon@movementarian.org>
4602
4603         * BufferView.h:
4604         * BufferView.C:
4605         * BufferView_pimpl.C:
4606         * lfuns.h:
4607         * LyXAction.C:
4608         * lyxtext.h:
4609         * text2.C: remove layout-copy/paste (bug 778)
4610
4611 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4614
4615 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4618         if they succeed. Act accordingly.
4619
4620 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * text2.C (setCharFont): adjust
4623         (setCounter): adjust
4624         (insertStringAsLines): adjust
4625
4626         * text.C (leftMargin): adjust
4627         (setHeightOfRow): adjust
4628
4629         * rowpainter.C (paintFirst): adjust
4630         (paintLast): adjust
4631
4632         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4633         (outerHook): ditto
4634         (isFirstInSequence): ditto
4635         (getEndLabel): ditto
4636         (outerFont): adjust
4637
4638         * paragraph.C (getParLanguage): comment out some hard stuff.
4639
4640         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4641         (sgmlError): ditto
4642         (simpleDocBookOnePar): ditto
4643         (makeDocBookFile): use ParagraphList::iterator
4644
4645         * CutAndPaste.C (pasteSelection): adjust
4646
4647 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * text2.C (getFont): adjust
4650         (getLayoutFont): adjust
4651         (getLabelFont): adjust
4652
4653         * paragraph_funcs.C (TeXOnePar): adjust
4654
4655         * buffer.C (simpleLinuxDocOnePar): adjust
4656         (simpleDocBookOnePar): adjust
4657
4658         * CutAndPaste.C (pasteSelection): adjust
4659
4660         * BufferView.C (getEncoding): adjust
4661
4662         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4663
4664 2003-04-16  John Levon  <levon@movementarian.org>
4665
4666         * lyxfind.C: use parlist stuff for search/changes
4667
4668 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4671
4672         * text2.C (deleteEmptyParagraphMechanism): adjust
4673
4674         * text2.[Ch] (ownerParagraph): delete func (both of them
4675
4676 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4679
4680 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * ParagraphList.C: prepare for NO_NEXT
4683
4684 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * text2.C (getFont): adjust
4687         (getLayoutFont): adjust
4688         (getLabelFont): adjust
4689
4690         * paragraph.C (getFont): adjust
4691         (getLabelFont): adjust
4692         (getLayoutFont): adjust
4693
4694         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4695
4696 2003-04-15  John Levon  <levon@movementarian.org>
4697
4698         From Angus Leeming
4699
4700         * lyx_main.C: handle Include in .ui files
4701
4702 2003-04-15  John Levon  <levon@movementarian.org>
4703
4704         * MenuBackend.C: make the doc files length shorter
4705
4706         * ToolbarBackend.h:
4707         * ToolbarBackend.C: handle toolbar placement flags,
4708         Minibuffer
4709
4710 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4713         adjust
4714
4715         * paragraph_funcs.C (TeXOnePar): adjust
4716
4717         * paragraph.C (getLabelFont): add outerfont arg, adjust
4718         (getLayoutFont): ditto
4719         (simpleTeXOnePar): adjust
4720
4721         * paragraph_pimpl.C (realizeFont): delete func
4722
4723 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4726         row argument, constify cur argument.
4727
4728 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * text2.C (getFont): adjust
4731         (getLayoutFont): adjust
4732         (getLabelFont): adjust
4733
4734         * paragraph_funcs.C (TeXOnePar): adjust
4735         (outerFont): new func...
4736         (realizeFont): ...moved out from here, changed this to facilitate
4737         transition
4738
4739         * paragraph.C (getFont): take outerfont as arg, adjust
4740         (simpleTeXOnePar): add outerfont arg, adjust
4741
4742         * buffer.C (simpleLinuxDocOnePar): adjust
4743         (simpleDocBookOnePar): adjust
4744
4745         * CutAndPaste.C (pasteSelection): adjust
4746
4747         * BufferView.C (getEncoding): adjust
4748
4749 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * text2.C (setCharFont): adjust
4752         (setCounter): adjust
4753
4754         * text.C (leftMargin): adjust
4755         (setHeightOfRow): adjust
4756
4757         * rowpainter.C (paintFirst): adjust
4758         (paintLast): adjust
4759
4760         * paragraph_pimpl.C (realizeFont): adjust
4761
4762         * paragraph.C (isFirstInSequence): move from here...
4763         * paragraph_funcs.C (isFirstInSequence): ...to here
4764
4765         * paragraph.C (outerHook): move from here...
4766         * paragraph_funcs.C (outerHook): ...to here
4767
4768         * paragraph.C (depthHook): move from here...
4769         * paragraph_funcs.C (depthHook): ...to here
4770
4771         * paragraph.C (getEndLabel): move from here...
4772         * paragraph_funcs.C (getEndLabel): ...to here
4773
4774         * text2.C (realizeFont): move from here...
4775         * paragraph_funcs.C (realizeFont): ...to here
4776
4777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4780
4781 2003-04-14  Angus Leeming  <leeming@lyx.org>
4782
4783         * LColor.[Ch]: scrap LColor mathcursor.
4784
4785 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * lyxlex.[Ch] (text): delete function
4788         * trans.C (Load): adjust
4789         * paragraph_funcs.C (readParToken): adjust
4790
4791 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4792
4793         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4794         vector<char> instead of a char[].
4795
4796         * lyxlex_pimpl.C (getString): adjust
4797         (next): adjust
4798         (lex): use getString
4799         (eatLine): adjust
4800         (nextToken): adjust
4801
4802         * lyxlex.C (text): use pimpl_->getString()
4803         (getBool): ditto
4804         (findToken): ditto
4805
4806 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4809         (makeFontEntriesLayoutSpecific): temp var for par.size()
4810         (setLayout): temp var for ownerParagraphs().end()
4811         (fullRebreak): temp var for rows().end()
4812         (selectionAsString): temp var for boost::next(startpit), realize
4813         that the while really is a regular for loop.
4814         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4815         setCursor in one place.
4816         (setParagraph): temp vr for ownerParagraphs().end()
4817         (updateCounters): make the while loop a for loop
4818         (cutSelection): temp var for ownerParagraphs().end()
4819         (updateInset): make the do {} while() a regular for loop
4820         (getCursorX): use temp vars
4821         (setCurrentFont): use temp vars
4822         (getColumnNearX): use temp vars
4823
4824 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * text.C (transformChar): use temp var for getChar
4827         (computeBidiTables): use temp var for row->par()
4828         (fill): move temp vars for row->par() and pit->layout() earlier in
4829         the function.
4830         (labelFill): use temp var for row->par()
4831         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4832         asc and desc, realize that pit never changes and that firstpit is
4833         just a duplicate and not needed. Exchange rit->par() with pit in a
4834         lot of places.
4835         (breakAgain): use a temp var for boost::next(rit)
4836         (breakAgainOneRow): ditto
4837         (breakParagraph): use a temp var for rows().begin()
4838         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4839         (cursorRightOneWord): use temp var for cursor.par() and
4840         cursor.pos(), remove usage of tmpcursor.
4841         (cursorLeftOneWord): use temp var for cursor.par() and
4842         cursor.pos() only set cur at end of function.
4843
4844 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * text.C, text2.C: exchange all usage of Paragraph::next with
4847         boost::next(ParagraphList::iterator)
4848
4849         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4850
4851         * text2.C (cursorTop): simplify implementation
4852         (cursorBottom): ditto
4853         (setParagraph): use ParagraphList::iterator
4854         (setCurrentFont): adjust
4855         (getColumnNearX): adjust
4856         (cursorRight): adjust
4857         (cursorLeft): remove usage of Paragraph::previous
4858         (cursorUpParagraph): ditto
4859         (deleteEmptyParagraphMechanism): slight cleanup
4860
4861         * text.C (isBoundary): take a Paragraph const & instead of a
4862         pointer as arg.
4863         (addressBreakPoint): ditto
4864         (leftMargin): remove usage of Paragraph::previous.
4865         (setHeightOfRow): ditto
4866         (cursorLeftOneWord): ditto
4867         (selectNextWordToSpellcheck): ditto
4868         (Delete): ditto
4869         (backspace): ditto
4870         (breakParagraph): remove one usage of Paragraph::next
4871         (redoParagraph): ditto
4872         (acceptChange): ditto
4873         (insertChar): adjust
4874         (rowBreakPoint): adjust
4875
4876         * bufferview_funcs.C (toggleAndShow): adjust
4877
4878 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4881         methods to access it.
4882         * lyxtext.h:
4883         * text.C: Added updateRowPositions to compute all row positions.
4884         Make top_y and getRowNearY() to use the cached y position
4885
4886 2003-04-11  John Levon  <levon@movementarian.org>
4887
4888         * text.C (rowBreakPoint): reintroduce the labelEnd
4889         checks, code copied from the row fill stuff. Deep voodoo.
4890
4891         * text.C (fill): add a comment and debugging for the
4892         next poor soul.
4893
4894 2003-04-11  John Levon  <levon@movementarian.org>
4895
4896         * text.C: make sure fullrow insets get wrapped to the next line,
4897         even when they're in a manual label
4898
4899 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * text2.C (insertParagraph): make it take ParagraphList::iterator
4902         as arg.
4903         (setLayout): make it return ParagraphList::iterator
4904         (redoParagraphs): ditto
4905         (setCounter): ditto
4906         (checkParagraph): ditto
4907
4908         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4909
4910         * text2.C: adjust several funcs.
4911         (realizeFont): take a ParagraphList::iterator as arg.
4912         (getLayoutFont): ditto
4913         (getLabelFont): ditto
4914         (setCharFont): ditto
4915
4916         * text.C: adjust several funcs.
4917
4918 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * text.C (selectNextWordToSpellcheck): don't accidentally
4921         skip insets
4922
4923 2003-04-10  John Levon  <levon@movementarian.org>
4924
4925         * ToolbarBackend.C (getIcon): special handling for
4926         LFUN_MATH_DELIM
4927
4928 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4929
4930         * text2.C (cursorRight): a getChar assert fixed
4931
4932 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text2.C (getFont): change to take a ParagraphList::iterator
4935         instead of Paragraph*
4936         Adjust several functions.
4937
4938         * text.C (transformChar): change to take a ParagraphList::iterator
4939         instead of Paragraph*
4940         (singleWidth): ditto
4941         Adjust several functions.
4942
4943         * rowpainter.C: adjust several functions
4944         * rowpainter.h:store a ParagraphList::iterator and not a
4945         Paragraph&.
4946
4947
4948 2003-04-09  John Levon  <levon@movementarian.org>
4949
4950         * lyxfunc.C:
4951         * lfuns.h:
4952         * LyXAction.h:
4953         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4954         and the "help" bits as well
4955
4956 2003-04-09  John Levon  <levon@movementarian.org>
4957
4958         * ToolbarBackend.h:
4959         * ToolbarBackend.C: allow multiple toolbars
4960
4961 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * undo_funcs.C (setCursorParUndo): adjust
4964
4965         * text_funcs.C (transposeChars): adjust
4966
4967         * text3.C (gotoNextInset): adjust
4968         (dispatch): adjust
4969
4970         * text2.C (setLayout): adjust
4971         (changeDepth): adjust
4972         (setFont): adjust
4973         (redoParagraphs): adjust
4974         (selectionAsString): adjust
4975         (setParagraph): adjust
4976         (insertInset): adjust
4977         (cutSelection): adjust
4978         (copySelection): adjust
4979         (pasteSelection): adjust
4980         (insertStringAsLines): adjust
4981         (updateInset): adjust
4982         (setCursor): change to take a ParagraphList::iterator parameter
4983         (setCursorIntern): change to take a ParagraphList::iterator parameter
4984         (setCurrentFont): adjust
4985         (cursorLeft): adjust
4986         (cursorRight): adjust
4987         (deleteEmptyParagraphMechanism): adjust
4988
4989         * text.C (breakParagraph): adjust
4990         (insertChar): adjust
4991         (acceptChange): adjust
4992         (rejectChange): adjust
4993         (selectNextWordToSpellcheck): adjust
4994         (changeCase): adjust
4995         (Delete): adjust
4996         (backspace): adjust
4997
4998         * lyxfind.C (SearchForward): adjust
4999         (SearchBackward): adjust
5000         (nextChange): adjust
5001
5002         * lyxcursor.C (par): adjust
5003
5004         * lyxcursor.h: store a ParagraphList::iterator instead of a
5005         Paragraph*
5006
5007         * lyx_cb.C (getPossibleLabel): adjust
5008
5009         * bufferview_funcs.C (toggleAndShow): adjust
5010
5011         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5012         (dispatch): adjust
5013
5014         * BufferView.C (removeAutoInsets): adjust
5015         (lockedInsetStoreUndo): adjust
5016
5017 2003-04-09  John Levon  <levon@movementarian.org>
5018
5019         * ToolbarBackend.C: try icon without argument
5020         if with argument fails
5021
5022 2003-04-08  John Levon  <levon@movementarian.org>
5023
5024         * ToolbarBackend.h:
5025         * ToolbarBackend.C: add getIcon(), handle tooltip,
5026         and change from "Icon" to "Item".
5027
5028 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * BufferView.C (lockInset): another bad getchar crunched
5031
5032 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5035         again)
5036
5037 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * lyxfind.C (searchForward, searchBackwards): bug 782
5040
5041 2003-04-07  John Levon  <levon@movementarian.org>
5042
5043         * paragraph.C: remove dead comment
5044
5045         * text.C: remove troublesome depth-fiddling code
5046         in leftMargin() and rightMargin() (bug 1017)
5047
5048         * text.C: fix breaking of rows in nested lists
5049         (bug 1004)
5050
5051         * text2.C (updateCounters): fix up depth values
5052         (bug 1013)
5053
5054 2003-04-07  John Levon  <levon@movementarian.org>
5055
5056         * BufferView_pimpl.C: clear message when doc finishes resizing,
5057         and after a mouse event
5058
5059         * lyxfunc.C: clear message after exiting inset
5060
5061 2003-04-07  John Levon  <levon@movementarian.org>
5062
5063         * bufferview_funcs.C: show math status not outside
5064         status in the statusbar
5065
5066 2003-04-07  John Levon  <levon@movementarian.org>
5067
5068         * lyxfunc.C: note status changed after a depth change
5069
5070 2003-04-04  Angus Leeming  <leeming@lyx.org>
5071
5072         * LaTeX.h: move AuxInfo operator==, != out of line.
5073         Remove LaTeX virtual destructor; nothing derives from it.
5074         Move operator()() out of public area and rename it startscript().
5075         Change protected for private.
5076
5077 2003-04-04  Angus Leeming  <leeming@lyx.org>
5078
5079         * lyxfunc.C:
5080         * text2.C: remove unneeded #includes.
5081
5082 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * text2.C (dEPM): fix the heigth of the next row
5085
5086 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * text.C: squashed an invalid getChar requester + some ws changes
5089
5090 2003-04-03  John Levon  <levon@movementarian.org>
5091
5092         * bufferview_funcs.h:
5093         * bufferview_funcs.C:
5094         * lyxfunc.C:
5095         * lyxtext.h:
5096         * text2.C: make getStatus work for the env depth lfuns
5097
5098 2003-04-03  John Levon  <levon@movementarian.org>
5099
5100         * bufferview_funcs.h:
5101         * bufferview_funcs.C:
5102         * lyxfunc.C:
5103         * lyxtext.h:
5104         * text2.C: parlistize decDepth(), by merging it with incDepth()
5105
5106 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * lyxrow.h: store a ParagraphList::iterator instead of a
5109         Paragraph* and adjust other class functions to suit.
5110
5111         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5112         above.
5113
5114 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * text2.C (setCursor): do not anchor to cursor row for the time being
5117
5118 2003-04-02  John Levon  <levon@movementarian.org>
5119
5120         * LyXAction.C:
5121         * lfuns.h:
5122         * lyx_main.C:
5123         * lyxtext.h:
5124         * text.C:
5125         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5126
5127 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * paragraph.h: make ParagraphList and ParagraphList::iterator
5130         friends of Paragraph.
5131
5132         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5133
5134         * ParagraphList.C: Use the private next_ and previous_ from
5135         Paragraph.
5136
5137 2003-04-01  John Levon  <levon@movementarian.org>
5138
5139         * ToolbarBackend.h:
5140         * ToolbarBackend.C:
5141         * Makefile.am: rename, remove defaults gunk
5142
5143         * MenuBackend.h:
5144         * MenuBackend.C: remove defaults gunk
5145
5146         * Languages.h:
5147         * Languages.C: remove defaults gunk
5148
5149         * lyx_main.h:
5150         * lyx_main.C: error out if files couldn't be found.
5151
5152 2003-04-02  John Levon  <levon@movementarian.org>
5153
5154         * text2.C: make incDepth() use parlist
5155
5156 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * undo_funcs.C (firstUndoParagraph): adjust
5159
5160         * text3.C (gotoInset): adjust
5161         (dispatch): adjust, and rewrite loop.
5162
5163         * text2.C (init): adjust, and rewrite loop.
5164         (redoParagraphs): adjust
5165         (updateInset): adjust, and rewrite loop.
5166         (deleteEmptyParagraphMechanism): adjust
5167
5168         * tabular.C (LyXTabular): adjust
5169         (SetMultiColumn): adjust
5170         (TeXRow): adjust
5171
5172         * lyxtext.[Ch] (ownerParagraph): delete function
5173         (ownerParagraphs): new function returns a ParagraphList.
5174
5175         * BufferView.C (removeAutoInsets): adjust
5176         (insertErrors): adjust
5177         (setCursorFromRow): adjust
5178
5179 2003-04-01  Angus Leeming  <leeming@lyx.org>
5180
5181         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5182         in the frontends.
5183
5184 2003-04-02  John Levon  <levon@movementarian.org>
5185
5186         * lyxtext.h:
5187         * text.C:
5188         * Makefile.am:
5189         * text_funcs.h:
5190         * text_funcs.C: make transposeChars a free function
5191
5192         * lyxrow_funcs.C: remove wrong comment
5193
5194 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * lyxtext.h: adjust
5197         * rowpainter.C: adjust
5198         * text.C: adjust
5199         * text2.C: adjust
5200         * text3.C: adjust
5201
5202         * lyxrow_funcs. [Ch]: new files
5203
5204         * lyxrow.[Ch]: remove next and previous pointers
5205         (next,previous): remove accessor functions
5206         (isParEnd): move to lyxrow_funcs
5207         (lastPos): move to lyxrow_funcs
5208         (nextRowIsAllInset): move to lyxrow_funcs
5209         (lastPrintablePos): move to lyxrow_funcs
5210         (numberOfSeparators): move to lyxrow_funcs
5211         (numberOfHfills): move to lyxrow_funcs
5212         (numberOfLabelHfills): move to lyxrow_funcs
5213         (hfillExpansion): move to lyxrow_funcs
5214
5215         * lyxfunc.C: adjust
5216
5217         * bufferview_funcs.C (toggleAndShow): adjust
5218
5219         * RowList.h: Remove class RowList from file leave just a
5220         std::list<Row>.
5221
5222         * RowList.C: delete file
5223
5224         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5225         and lyxrow_funcs.h
5226
5227 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * text3.C (cursorPrevious): adjust
5230         (cursorNext): adjust
5231         (dispatch): adjust
5232
5233         * text2.C (redoHeightOfParagraph): adjust
5234         (redoDrawingOfParagraph): adjust
5235         (setCursor): adjust
5236
5237         * text.C (breakParagraph): adjust
5238         (insertChar): adjust
5239         (backspace): adjust
5240
5241         * rowpainter.C (RowPainter): adjust
5242         (leftMargin): simplify and adjust
5243         (most rowpainter functions): adjust.
5244
5245         * rowpainter.h: store the row as RowList::iterator not as Row*
5246
5247         * lyxcursor.C (row): taka RowList::iterator as arg
5248         (irow): ditto
5249
5250         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5251         of Row*.
5252
5253 2003-04-01  Angus Leeming  <leeming@lyx.org>
5254
5255         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5256         stuff like bool Bool.
5257
5258 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5261         rewrite a loop
5262
5263 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5266         RowList::iterator.
5267
5268         * lyxtext.h (rows): drop one version and leve a const variant that
5269         returns a RowList::iterator.
5270
5271 2003-03-31  Angus Leeming  <leeming@lyx.org>
5272
5273         * text.C (fill): ensure that the signature is the same as that in the
5274         header file.
5275
5276 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * text2.C (redoParagraphs): adjust
5279         (updateCounters): adjust
5280         (checkParagraph): adjust
5281         (getColumnNearX): adjust and reformat a bit.
5282
5283         * text.C (top_y): adjust
5284         (workWidth): adjust
5285         (leftMargin): adjust
5286         (prepareToPrint): adjust
5287         (getRow): adjust
5288         (getRowNearY): adjust
5289
5290         * lyxtext.h: make rowlist_ mutable.
5291
5292         * RowList.h: add const_iterator
5293         * RowList.C: adjust for RowList::const_iterator.
5294
5295         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5296         adjust.
5297
5298 2003-03-31  John Levon  <levon@movementarian.org>
5299
5300         * lyxrc.h:
5301         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5302
5303         * lyx_main.C: set default fonts from using lyx_gui funcs
5304
5305         * exporter.C: pdf_mode moved from lyxrc
5306
5307         * lyx_cb.C:
5308         * lyxfunc.C: changes from above
5309
5310 2003-03-31  John Levon  <levon@movementarian.org>
5311
5312         * lyx_main.C: fix to the last fix
5313
5314 2003-03-31  John Levon  <levon@movementarian.org>
5315
5316         * bufferlist.C: "Load original" -> "Load Original"
5317
5318         * converter.C:
5319         * exporter.C:
5320         * importer.C:
5321         * lyx_main.C:
5322         * format.C: more Alert cleanups
5323
5324 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * text2.C (removeParagraph): make it take a RowList::iterator as
5327         arg, adjust.
5328         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5329         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5330
5331         * text.C (anchor_row): make it take a RowList::iterator as arg,
5332         adjust.
5333         (computeBidiTables): make it take a const reference to Row instead
5334         of Row pointer, adjust.
5335         (leftMargin): make it take a RowList::iterator as arg, adjust.
5336         (rowBreakPoint): adjust
5337         (breakAgainOneRow): make it take a RowList::iterator as arg,
5338         adjust.
5339         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5340
5341         * bufferview_funcs.C (toggleAndShow): adjust
5342
5343 2003-03-30  John Levon  <levon@movementarian.org>
5344
5345         * Makefile.am:
5346         * BoostFormat.h:
5347         * boost-inst.C: moved to support
5348
5349         * several files: changes as a result
5350
5351 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * text2.C (LyXText): adjust.
5354         (init): adjust
5355         (removeRow): make it take a RowList::iterator as arg, adjust.
5356         (fullRebreak): adjust
5357         (deleteEmptyParagraphMechanism): adjust
5358         (clearPaint): adjust
5359         (postPaint): adjust
5360
5361         * text.C (top_y): adjust
5362         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5363         (breakAgain): make it take a RowList::iterator as arg, adjust.
5364         (breakParagraph): adjust
5365         (insertChar): adjust
5366         (backspace): adjust
5367
5368         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5369         need_break_row, and refresh_row.
5370
5371         * text3.C (dispatch): adjust
5372
5373         * text2.C (checkParagraph): adjust
5374         (setCursor): adjust
5375         (setCursorFromCoordinates): adjust
5376
5377         * text.C (top_y): adjust
5378         (workWidth): adjust
5379         (getRow): make it return a RowList::iterator, adjust
5380         (getRowNearY): make it return a RowList::iterator, adjust
5381
5382         * text2.C (init): adjust
5383         (insertRow): remove function
5384         (insertParagraph): adjust
5385         (redoParagraphs): adjust
5386         (fullRebreak): adjust
5387         (updateCounters): adjust
5388
5389         * text.C (top_y): rewrite to use RowList iterators.
5390         (top_y): adjust
5391         (setHeightOfRow): rewrite to sue RowList iterators.
5392         (appendParagraph): adjust
5393         (breakAgain): adjust
5394         (breakAgainOneRow): adjust
5395         (breakParagraph): adjust
5396         (getRow): adjust
5397         (getRowNearY): adjust, and remove commented code.
5398
5399         * lyxtext.h (firstRow): delete function
5400         (lastRow): delete function
5401         (rows): new function (const and non-const versions.)
5402         (insertRow): delete function
5403
5404         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5405
5406 2003-03-29  John Levon  <levon@movementarian.org>
5407
5408         * BufferView_pimpl.C: always update scrollbar top
5409         because pasting text when we're anchored could mean we
5410         miss an update altogether
5411
5412 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * text2.C (init): use rowlist_.end() and not 0.
5415         (insertRow): change to take a RowList::iterator as arg, adjust
5416         for this.
5417         (insertParagraph): change to take a RowList::iterator as arg,
5418         adjust for this.
5419         (redoParagraphs): remove some debug msgs.
5420
5421         * text.C (appendParagraph): change to take a RowList::iterator
5422         arg, adjust for this.
5423         (breakAgain): add an assert
5424         (breakAgainOneRow): ditto
5425
5426 2003-03-29  John Levon  <levon@movementarian.org>
5427
5428         * text2.C: do not clear selection after inc/decDepth
5429         (bug 550)
5430
5431 2003-03-29  John Levon  <levon@movementarian.org>
5432
5433         * BufferView.C:
5434         * buffer.C: fix broken strerrors according to Lars
5435
5436 2003-03-29  John Levon  <levon@movementarian.org>
5437
5438         * converters.C: more Alert cleanups
5439
5440 2003-03-29  John Levon  <levon@movementarian.org>
5441
5442         * bufferview_funcs.C: remove pointless Alert
5443
5444         * buffer.C: fix confusing error message when
5445         a template is chmoded 000
5446
5447 2003-03-29  John Levon  <levon@movementarian.org>
5448
5449         * BufferView.C:
5450         * BufferView.h:
5451         * BufferView_pimpl.C: Alert fixes
5452
5453         * Makefile.am:
5454         * tabular.C:
5455         * tabular-old.C: remove unused table compat reading
5456
5457 2003-03-29  John Levon  <levon@movementarian.org>
5458
5459         * BufferView.C:
5460         * buffer.C:
5461         * lyx_cb.h:
5462         * lyx_cb.C: more Alert cleanups
5463
5464         * lyxfunc.C: don't allow chktex if not latex document
5465
5466 2003-03-29  John Levon  <levon@movementarian.org>
5467
5468         * lyx_cb.C:
5469         * BufferView.C:
5470         * buffer.C: warnings pushed down from support/,
5471         kill err_alert
5472
5473 2003-03-29  John Levon  <levon@movementarian.org>
5474
5475         * lyxfunc.C: safety check for C-r (revert)
5476
5477 2003-03-29  John Levon  <levon@movementarian.org>
5478
5479         * bufferlist.h:
5480         * bufferlist.C: several UI fixes using Alert::prompt.
5481         Fix the pointless looping quit code. Fix stupid revert
5482         behaviour (bug 938)
5483
5484         * lyxvc.h:
5485         * lyxvc.C:
5486         * lyx_cb.C: use Alert::prompt
5487
5488         * lyx_main.C: remove a silly question
5489
5490         * lyxfunc.C: remove a couple of silly questions,
5491         use Alert::prompt
5492
5493 2003-03-28  John Levon  <levon@movementarian.org>
5494
5495         * text2.C: fix bug 974 (End on empty par)
5496
5497 2003-03-28  John Levon  <levon@movementarian.org>
5498
5499         * BufferView_pimpl.C:
5500         * LyXAction.C:
5501         * lfuns.h: remove do-nothing math greek lfuns
5502
5503 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * lyxgluelength.h (isValidGlueLength): add default arg on
5506         parameter 2. Remove default arg from friend in class.
5507
5508         * lyxlength.h (isValidLength): add default arg on parameter 2.
5509         Remove default arg from friend in class.
5510
5511         * text2.C (LyXText): adjust, initialize refresh_row.
5512         (init): adjust
5513         (removeRow): adjust
5514         (insertRow): adjust
5515         (insertParagraph): adjst
5516         (redoParagraphs): adjust
5517         (fullRebreak): adjust
5518         (updateCounters): adjust
5519         (deleteEmptyParagraphMechanism): first attempt at fixing a
5520         crashing bug.
5521
5522         * text.C (top_y): adjust
5523         (setHeightOfRow): adjust
5524         (getRow): adjust
5525         (getRowNearY): adjust
5526
5527         * lyxtext.h: include RowList.h
5528         (~LyXText): not needed anymore, deleted.
5529         (firstRow): modify for RowList
5530         (lastRow): new function
5531         Delete firstrow and lastrow class variables, add a Rowlist
5532         rowlist_ class variable.
5533
5534         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5535         paragraph is empty.
5536
5537         * RowList.C (insert): fix case where it == begin().
5538
5539 2003-03-26  Angus Leeming  <leeming@lyx.org>
5540
5541         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5542         the thesaurus dialog.
5543
5544 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5547
5548         * RowList.[Ch]: new files
5549
5550         * ParagraphList.C (erase): handle the case where it == begin
5551         correctly.
5552
5553 2003-03-25  John Levon  <levon@movementarian.org>
5554
5555         * Makefile.am:
5556         * aspell_local.h:
5557         * aspell.C: add new aspell support
5558
5559         * lyxrc.h:
5560         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5561         have it accessible.
5562
5563 2003-03-25  Angus Leeming  <leeming@lyx.org>
5564
5565         * lfuns.h:
5566         * LyXAction.C (init): new LFUN_INSET_INSERT.
5567
5568         * BufferView_pimpl.C (dispatch): split out part of the
5569         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5570
5571         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5572         LFUN_INSET_APPLY.
5573
5574 2003-03-25  Angus Leeming  <leeming@lyx.org>
5575
5576         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5577
5578 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * text2.C:
5581         * text3.C: remove useless row->height(0)
5582
5583 2003-03-25  John Levon  <levon@movementarian.org>
5584
5585         * lyxtext.h:
5586         * text2.C:
5587         * text3.C: rename the refreshing stuff to better names
5588
5589 2003-03-24  John Levon  <levon@movementarian.org>
5590
5591         * BufferView_pimpl.h:
5592         * BufferView_pimpl.C: update layout choice on a mouse
5593         press/release
5594
5595 2003-03-23  John Levon  <levon@movementarian.org>
5596
5597         * Makefile.am: fix commandtags.h reference
5598
5599 2003-03-22  John Levon  <levon@movementarian.org>
5600
5601         * BufferView_pimpl.C:
5602         * lyxtext.h:
5603         * rowpainter.C:
5604         * rowpainter.h:
5605         * text.C:
5606         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5607
5608 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * lyxtext.h:
5611         * text.C: take the rtl methods out of line
5612
5613 2003-03-21 André Pönitz <poenitz@gmx.net>
5614
5615         * metricsinfo.[Ch]: new files containing structures to be passed around
5616         during the two-phase-drawing...
5617
5618 2003-03-21 André Pönitz <poenitz@gmx.net>
5619
5620         * lyxtextclass.C: read 'environment' tag.
5621
5622 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5623
5624         * text2.C (removeRow): fix bug 964
5625
5626 2003-03-20  John Levon  <levon@movementarian.org>
5627
5628         * rowpainter.C:
5629         * text.C:
5630         * text2.C: paint cleanups. Inset::update() dropped font
5631         parameter
5632
5633 2003-03-19  John Levon  <levon@movementarian.org>
5634
5635         * lyxfunc.C: only fitcursor/markDirty if available()
5636
5637 2003-03-19  John Levon  <levon@movementarian.org>
5638
5639         * commandtags.h: rename to ...
5640
5641         * lfuns.h: ... this, and renumber / cleanup
5642
5643 2003-03-19  John Levon  <levon@movementarian.org>
5644
5645         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5646         fit the cursor after an lfun
5647
5648         * BufferView.h:
5649         * BufferView.C:
5650         * BufferView_pimpl.h:
5651         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5652
5653         * LyXAction.C: layout-character should have ReadOnly
5654
5655         * ParagraphParameters.C:
5656         * buffer.C:
5657         * bufferview_funcs.C:
5658         * lyx_cb.C:
5659         * lyxfind.C:
5660         * lyxtext.h:
5661         * text.C:
5662         * text2.C:
5663         * text3.C:
5664         * undo_funcs.C: changes from above
5665
5666 2003-03-18  John Levon  <levon@movementarian.org>
5667
5668         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5669         remove it from update()
5670
5671         * lyxfunc.C: update layout choice after an lfun
5672
5673         * text3.C: remove extra updateLayoutChoice()s
5674
5675 2003-03-18  John Levon  <levon@movementarian.org>
5676
5677         * text.C: top_y change means full repaint, fix
5678         a drawing bug with cursor movement
5679
5680 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5681
5682         * lyxtext.h:
5683         * text.C:
5684         * text2.C: anchor row on setCursor
5685
5686 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * lyxtext.h: remove almost all mutable keywords
5689         * text.C:
5690         * text2.C:
5691         * text3.C: remove const keywords accordingly
5692
5693 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5696         anon namespace
5697         (TeXEnvironment): ditto
5698         (TeXOnePar): ditto
5699
5700 2003-03-17  John Levon  <levon@movementarian.org>
5701
5702         * text.C (rowBreakPoint): remove attempt to fix displayed
5703         math insets inside a manual label
5704
5705 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * lyxtext.h: remove BufferView* as first arg from almost all class
5708         functions.
5709         * other files: adjust.
5710
5711 2003-03-17  John Levon  <levon@movementarian.org>
5712
5713         * lyxtext.h:
5714         * undo_funcs.C:
5715         * text2.C: more paint cleanups
5716
5717         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5718
5719         * rowpainter.h:
5720         * rowpainter.C: remove "smart" background painting code
5721
5722 2003-03-16  John Levon  <levon@movementarian.org>
5723
5724         * lyxtext.h:
5725         * text.C:
5726         * text2.C:
5727         * text3.C: add helper functions for setting refresh_row/y
5728
5729 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5730
5731         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5732         newline inset which *can* get inserted in the pass_thru layouts.
5733         This is primarily for literate documents.
5734
5735 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5736
5737         * buffer.C: increment LYX_FORMAT to 223
5738
5739 2003-03-14 André Pönitz <poenitz@gmx.net>
5740
5741         * textclass.h: prepare for environment handling, ws changes
5742         * lyxlayout.C: read latexheader and latexfooter tags
5743
5744 2003-03-14  John Levon  <levon@movementarian.org>
5745
5746         * text2.C: rewrite ::status() a bit
5747
5748 2003-03-13  John Levon  <levon@movementarian.org>
5749
5750         * lyxtext.h: add some docs
5751
5752 2003-03-13  John Levon  <levon@movementarian.org>
5753
5754         * lyxtext.h:
5755         * text.C:
5756         * text2.C:
5757         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5758
5759 2003-03-13  John Levon  <levon@movementarian.org>
5760
5761         * text3.C: fix appendix redrawing
5762
5763 2003-03-13  John Levon  <levon@movementarian.org>
5764
5765         * text.C (setHeightOfRow):
5766         * rowpainter.h:
5767         * rowpainter.C: make appendix mark have the text
5768           "Appendix" so the user knows what it is
5769
5770         * LColor.h:
5771         * LColor.C: s/appendixline/appendix/ from above
5772
5773 2003-03-13  John Levon  <levon@movementarian.org>
5774
5775         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5776
5777         * text.C: fix a getChar(pos) bug properly
5778
5779 2003-03-13  Angus Leeming  <leeming@lyx.org>
5780
5781         * commandtags.h:
5782         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5783         Probably only temporary. Let's see how things pan out.
5784
5785         * BufferView.C (unlockInset):
5786         * BufferView_pimpl.C (fitCursor):
5787         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5788
5789         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5790         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5791
5792         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5793         new functions that convert ParagraphParameters to and from a string.
5794
5795         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5796         BufferView::Pimpl's dispatch.
5797         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5798
5799 2003-03-13 André Pönitz <poenitz@gmx.net>
5800
5801         * lyxfunc.C:
5802         * text3.C:
5803         * factory.C: make it aware of InsetEnv
5804
5805 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * text2.C (setCursor): never ask for one past last
5808         (setCursor): add some debugging messages.
5809
5810         * text.C (singleWidth): never ask for one past last
5811         (singleWidth): ditto
5812         (leftMargin): ditto
5813         (rightMargin): ditto
5814         (rowBreakPoint): ditto
5815         (setHeightOfRow): ditto
5816         (prepareToPrint): ditto
5817
5818         * rowpainter.C (paintBackground): never ask for one past last
5819         (paintText): never ask for one past last
5820
5821         * paragraph_pimpl.C (getChar): make the assert stricter, never
5822         allow the one past last pos to be taken
5823
5824         * paragraph.C (getChar): ws changes only
5825
5826         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5827         (numberOfSeparators): ditto
5828         (numberOfHfills): ditto
5829
5830 2003-03-12  John Levon  <levon@movementarian.org>
5831
5832         * author.h:
5833         * author.C:
5834         * bufferparams.h:
5835         * bufferparams.C:
5836         * paragraph_funcs.C: fix per-buffer authorlists
5837
5838 2003-03-12  John Levon  <levon@movementarian.org>
5839
5840         * text.C: fix newline in right address
5841
5842 2003-03-12  Angus Leeming  <leeming@lyx.org>
5843
5844         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5845         duplicate those in LyXFunc::dispatch.
5846
5847         * commandtags.h:
5848         * LyXAction.C:
5849         * ToolbarDefaults.C:
5850         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5851         Add LFUN_FONTFREE_UPDATE.
5852
5853         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5854         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5855
5856         * bufferview_func.[Ch]: several new functions to facilliate
5857         transfer of data to and from the character dialog.
5858
5859 2003-03-12  John Levon  <levon@movementarian.org>
5860
5861         * buffer.C:
5862         * paragraph.h:
5863         * paragraph.C:
5864         * paragraph_funcs.C:
5865         * paragraph_pimpl.C:
5866         * sgml.C:
5867         * tabular.C:
5868         * text.C:
5869         * text3.C: remove META_NEWLINE in favour of an inset
5870
5871         * rowpainter.h:
5872         * rowpainter.C: remove paintNewline (done by inset)
5873
5874 2003-03-12  John Levon  <levon@movementarian.org>
5875
5876         * paragraph_pimpl.C: complain about bad getChar()s
5877         for a while at least
5878
5879 2003-03-12  John Levon  <levon@movementarian.org>
5880
5881         * buffer.h:
5882         * buffer.C: move paragraph read into a separate function,
5883         a little renaming to reflect that.
5884
5885         * bufferparams.h:
5886         * bufferparams.C: remove the author_ids map, not necessary now
5887
5888         * factory.h:
5889         * factory.C: moved Buffer::readInset to here
5890
5891         * paragraph_funcs.h:
5892         * paragraph_funcs.C: readParagraph free function moved from
5893         buffer.C
5894
5895         * tabular.C: name change
5896
5897 2003-03-12  John Levon  <levon@movementarian.org>
5898
5899         * buffer.C:
5900         * ParagraphParameters.C: move par params input to
5901         a read() method
5902
5903         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5904         behave like a normal read from the stream wrt reading
5905         a line vs. a \\token
5906
5907 2003-03-12  John Levon  <levon@movementarian.org>
5908
5909         * paragraph.C:
5910         * ParagraphParameters.h:
5911         * ParagraphParameters.C: move output code to a
5912         ::write() method
5913
5914 2003-03-12  John Levon  <levon@movementarian.org>
5915
5916         * BufferView.C (insertLyXFile):
5917         * buffer.h:
5918         * buffer.C:
5919         * tabular.C: use a parlist iterator for creating the
5920           document.
5921
5922 2003-03-12  John Levon  <levon@movementarian.org>
5923
5924         * buffer.C: make current_change static local not
5925           static file-scope
5926
5927 2003-03-12  John Levon  <levon@movementarian.org>
5928
5929         * buffer.C: fix insertStringAsLines for change tracking
5930
5931 2003-03-12  John Levon  <levon@movementarian.org>
5932
5933         * BufferView.C:
5934         * tabular.C:
5935         * buffer.h:
5936         * buffer.C:
5937         * bufferparams.h:
5938         * bufferparams.C: move author list into params. Rename some
5939           functions. Move the header reading into a separate token
5940           loop. Move the header token reading into BufferParams.
5941
5942 2003-03-12  John Levon  <levon@movementarian.org>
5943
5944         * changes.C: put debug inside lyxerr.debugging() checks
5945
5946 2003-03-11 André Pönitz <poenitz@gmx.net>
5947
5948         * factory.C: make it aware of InsetHFill
5949
5950 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5951
5952         * buffer.C (latexParagraphs): move function from here...
5953         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5954         args.
5955
5956 2003-03-10  Angus Leeming  <leeming@lyx.org>
5957
5958         * LyXAction.C (init): fix bug in poplating array with multiple entries
5959         with the same LFUN (spotted by JMarc).
5960
5961 2003-03-10  John Levon  <levon@movementarian.org>
5962
5963         * text.C:
5964         * text2.C: move getColumnNearX() near its
5965         only call site
5966
5967 2003-03-10  John Levon  <levon@movementarian.org>
5968
5969         * text.C: fix break before a minipage
5970
5971 2003-03-10  John Levon  <levon@movementarian.org>
5972
5973         * text.C: fix the last commit
5974
5975 2003-03-09  John Levon  <levon@movementarian.org>
5976
5977         * lyxtext.h:
5978         * text.C:
5979         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5980         bug 365 (don't break before insets unless needed). Don't
5981         return a value > last under any circumstances.
5982
5983 2003-03-09  Angus Leeming  <leeming@lyx.org>
5984
5985         * BufferView_pimpl.C (trackChanges, dispatch): call
5986         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5987
5988 2003-03-09  Angus Leeming  <leeming@lyx.org>
5989
5990         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5991         than Dialogs::showAboutlyx().
5992
5993 2003-03-09  Angus Leeming  <leeming@lyx.org>
5994
5995         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5996         than Dialogs::showTabularCreate().
5997
5998 2003-03-09  John Levon  <levon@movementarian.org>
5999
6000         * lyxtext.h:
6001         * text.C:
6002         * text2.C: 3rd arg to nextBreakPoint was always the same.
6003           Use references.
6004
6005 2003-03-08  John Levon  <levon@movementarian.org>
6006
6007         * lyxrow.C:
6008         * paragraph.C:
6009         * paragraph.h:
6010         * rowpainter.C:
6011         * text.C:
6012         * text2.C: Remove the "main" bit from the "main body"
6013           notion.
6014
6015 2003-03-08  John Levon  <levon@movementarian.org>
6016
6017         * text.C (leftMargin): The left margin of an empty
6018         manual label paragraph should not include the label width
6019         string length.
6020
6021         * text.C (prepareToPrint): don't attempt to measure hfills
6022         for empty manual label paragraphs - the answer should be 0
6023
6024 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * CutAndPaste.C: remove commented code and reindent.
6027
6028 2003-03-08  John Levon  <levon@movementarian.org>
6029
6030         * lyxfunc.h:
6031         * lyxfunc.C: move reloadBuffer()
6032
6033         * BufferView.h:
6034         * BufferView.C: to here
6035
6036         * lyxvc.C: add comment
6037
6038         * vc-backend.h:
6039         * vc-backend.C: call bv->reload() to avoid
6040           getStatus() check on MENURELOAD
6041
6042 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6043
6044         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6045         to an old format .dep file.
6046
6047 2003-03-07  Angus Leeming  <leeming@lyx.org>
6048
6049         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6050         when the LFUN_MOUSE_RELEASE should have been handled by
6051         inset->localDispatch.
6052
6053 2003-03-07  Angus Leeming  <leeming@lyx.org>
6054
6055         * BufferView_pimpl.C (dispatch):
6056         * LyXAction.C (init):
6057         * ToolbarDefaults.C (init):
6058         * commandtags.h:
6059         * lyxfunc.C (getStatus):
6060         remove LFUN_INSET_GRAPHICS.
6061
6062         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6063
6064 2003-03-07  Angus Leeming  <leeming@lyx.org>
6065
6066         * commandtags.h:
6067         * LyXAction.C (init):
6068         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6069
6070         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6071
6072         * commandtags.h:
6073         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6074
6075         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6076         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6077
6078 2003-03-07  Angus Leeming  <leeming@lyx.org>
6079
6080         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6081         remove "ert".
6082
6083 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * ParagraphList.C (front): new function
6086         (back): implement
6087
6088 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6089
6090         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6091         and top_row_offset_. removed var first_y.
6092         * text.C (top_y):
6093         * text2.C (LyXText, removeRow):
6094         * text3.C:
6095         * BufferView_pimpl.C:
6096         use these methods instead of using first_y
6097
6098 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * text2.C (pasteSelection): adjust for checkPastePossible
6101
6102         * CutAndPaste.C: remove Paragraph * buf and replace with
6103         ParagraphList paragraphs.
6104         (DeleteBuffer): delete
6105         (cutSelection): change the tc type to textclass_type
6106         (copySelection): change the tc type to textclass_type
6107         (copySelection): adjust for ParagraphList
6108         (pasteSelection): change the tc type to textclass_type
6109         (pasteSelection): adjust for Paragraphlist
6110         (nrOfParagraphs): simplify for ParagraphList
6111         (checkPastePossible): simplify for ParagraphList
6112         (checkPastePossible): remove unused arg
6113
6114         * ParagraphList.C (insert): handle the case where there are no
6115         paragraphs yet.
6116
6117         * CutAndPaste.h: make CutAndPaste a namespace.
6118
6119         * text3.C (dispatch): adjust
6120
6121         * text.C (breakParagraph): add a ParagraphList as arg
6122
6123         * paragraph_funcs.C (breakParagraph): change to take a
6124         BufferParams and a ParagraphList as args.
6125         (breakParagraphConservative): ditto
6126         (mergeParagraph): ditto
6127         (TeXDeeper): add a ParagraphList arg
6128         (TeXEnvironment): ditto
6129         (TeXOnePar): ditto
6130
6131         * buffer.C (readLyXformat2): adjust
6132         (insertStringAsLines): adjust
6133         (latexParagraphs): adjust
6134
6135         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6136         (cutSelection): adjust
6137         (pasteSelection): adjust
6138
6139         * BufferView_pimpl.C (insertInset): adjust
6140
6141 2003-03-05  Angus Leeming  <leeming@lyx.org>
6142
6143         * commandtags.h:
6144         * LyXAction.C (init):
6145         * BufferView_pimpl.C (dispatch):
6146         * lyxfunc.C (getStatus):
6147         remove LFUN_CHILD_INSERT.
6148
6149         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6150
6151 2003-03-05  Angus Leeming  <leeming@lyx.org>
6152
6153         * commandtags.h:
6154         * LyXAction.C (init):
6155         * src/factory.C (createInset):
6156         * lyxfunc.C (getStatus):
6157         * text3.C (dispatch):
6158         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6159
6160         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6161
6162 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * ParagraphList.C (insert): handle insert right before end()
6165         (erase): fix cases where it can be first or last paragraph.
6166
6167 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6170         Paragraph::next and Paragraph::previous
6171         (TeXOnePar): ditto
6172
6173         * text.C (breakParagraph): adjust
6174
6175         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6176         BufferParams& as arg.
6177         (breakParagraph): use ParagraphList::insert
6178         (breakParagraphConservative): take a Buffer* instead of a
6179         BufferParams& as arg.
6180         (breakParagraphConservative): use ParagraphList::insert.
6181
6182         * buffer.C (insertStringAsLines): un-const it
6183         (insertStringAsLines): adjust
6184
6185         * ParagraphList.C (insert): new function
6186
6187         * CutAndPaste.C (pasteSelection): adjust
6188
6189         * text.C (backspace): adjust
6190
6191         * tabular.C (SetMultiColumn): adjust
6192
6193         * CutAndPaste.C (cutSelection): adjust
6194         (pasteSelection): adjust
6195
6196         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6197         Buffer const * as arg
6198
6199         * ParagraphList.C (erase): new function
6200         * paragraph_funcs.C (mergeParagraph): use it
6201         (mergeParagraph): make it take a Buffer* instead of a
6202         BufferParams* as arg
6203
6204         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6205         as arg
6206         (breakParagraphConservative): ditto
6207
6208         * paragraph.h: remove the breakParagraph friend
6209
6210         * paragraph.C (eraseIntern): new function
6211         (setChange): new function
6212
6213         * paragraph_funcs.C (mergeParagraph): make it take a
6214         ParagraphList::iterator instead of a Paragraph *, adjust
6215         accordingly.
6216
6217         * paragraph.h: move an #endif so that the change tracking stuff
6218         also works in the NO_NEXT case.
6219
6220 2003-03-04  Angus Leeming  <leeming@lyx.org>
6221
6222         * commandtags.h:
6223         * LyXAction.C: new LFUN_INSET_MODIFY.
6224
6225         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6226         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6227
6228 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * several files: ws changes only
6231
6232         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6233         (TeXEnvironment): ditto
6234         (TeXDeeper): ditto
6235
6236         * buffer.C (makeLaTeXFile): adjust
6237         (latexParagraphs): make it take ParagraphList::iterator as args
6238
6239 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * buffer.C (latexParagraphs): adjust
6242
6243         * paragraph.C (TeXOnePar): move function...
6244         (optArgInset): move function...
6245         (TeXEnvironment): move function...
6246         * paragraph_pimpl.C (TeXDeeper): move function...
6247         * paragraph_funcs.C: ...here
6248
6249         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6250
6251 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * buffer.C (readInset): remove compability code for old Figure and
6254         InsetInfo insets
6255
6256 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * buffer.C: ws changes
6259         (readInset):
6260
6261         * BufferView_pimpl.C: ditto
6262         * author.C: ditto
6263         * buffer.h: ditto
6264         * bufferlist.h: ditto
6265         * changes.h: ditto
6266         * lyxfunc.C: ditto
6267
6268 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6269
6270         * converter.[Ch]: split into itself +
6271         * graph.[Ch]
6272         * format.[Ch]
6273         * Makefile.am: += graph.[Ch] + format.[Ch]
6274         * MenuBackend.C
6275         * buffer.C
6276         * exporter.C
6277         * importer.C
6278         * lyx_main.C
6279         * lyxfunc.C
6280         * lyxrc.C: added #include "format.h"
6281
6282 2003-02-27  Angus Leeming  <leeming@lyx.org>
6283
6284         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6285           a label.
6286
6287         * factory.C (createInset): add "label" to the factory.
6288
6289         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6290           string and do no more.
6291
6292 2003-02-27  Angus Leeming  <leeming@lyx.org>
6293
6294         * commandtags.h:
6295         * LyXAction.C (init):
6296         * factory.C (createInset):
6297         * BufferView_pimpl.C (dispatch):
6298           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6299
6300         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6301
6302         * lyxfunc.C (dispatch):
6303         * text3.C (dispatch): pass name to params2string.
6304
6305 2003-02-26  Angus Leeming  <leeming@lyx.org>
6306
6307         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6308           blocks together.
6309           Rearrange the ~includes. Strip out the unnecessary ones.
6310
6311         * factory.C (createInset): reformat.
6312           create new insets for the various LFUN_XYZ_APPLY lfuns.
6313
6314 2003-02-26  John Levon  <levon@movementarian.org>
6315
6316         * lyxrow.h:
6317         * lyxrow.C: add isParStart,isParEnd helpers
6318
6319         * paragraph.h: make isInserted/DeletedText take refs
6320
6321         * paragraph_funcs.h:
6322         * paragraph_funcs.C: remove #if 0'd code
6323
6324         * lyxtext.h:
6325         * text3.C:
6326         * text2.C:
6327         * text.C: use lyxrow helpers above.
6328           Move draw and paint routines to RowPainter.
6329           Make several methods use refs not pointers.
6330           Make backgroundColor() const.
6331           Add markChangeInDraw(), isInInset().
6332           Merge changeRegionCase into changeCase.
6333           Make workWidth() shouldn't-happen code into an Assert.
6334
6335         * rowpainter.h:
6336         * rowpainter.C: new class for painting a row.
6337
6338         * vspace.h:
6339         * vspace.C: make inPixels take a ref
6340
6341 2003-02-26  Angus Leeming  <leeming@lyx.org>
6342
6343         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6344         LFUN_REF_APPLY.
6345
6346 2003-02-25  John Levon  <levon@movementarian.org>
6347
6348         * ispell.C: give the forked command a more accurate name
6349
6350 2003-02-22  John Levon  <levon@movementarian.org>
6351
6352         * toc.h:
6353         * toc.C: make TocItem store an id not a Paragraph *
6354           (bug #913)
6355
6356 2003-02-21  Angus Leeming  <leeming@lyx.org>
6357
6358         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6359           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6360           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6361           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6362           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6363           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6364
6365         * BufferView_pimpl.C (dispatch):
6366         * LyXAction.C (init):
6367         * factory.C (createInset):
6368         * lyxfunc.C (getStatus, dispatch):
6369         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6370
6371 2003-02-21  Angus Leeming  <leeming@lyx.org>
6372
6373         * BufferView_pimpl.C (MenuInsertLyXFile):
6374         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6375         * lyxfunc.C (menuNew, open, doImport):
6376           no longer pass a LyXView & to fileDlg.
6377
6378 2003-02-21  Angus Leeming  <leeming@lyx.org>
6379
6380         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6381         * LyXAction.C: change, BIBKEY to BIBITEM.
6382         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6383         Change InsetBibKey to InsetBibitem.
6384         Change BIBKEY_CODE to BIBITEM_CODE.
6385         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6386         * factory.C: replace insetbib.h with insetbibitem.h.
6387         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6388         * paragraph.C: replace insetbib.h with insetbibitem.h.
6389         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6390         Change bibkey() to bibitem().
6391         * text.C: remove insetbib.h.
6392         * text2.C: replace insetbib.h with insetbibitem.h.
6393         change bibkey() to bibitem().
6394         * text3.C: remove insetbib.h.
6395         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6396
6397 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6398
6399         * lyxrc.C (output): enclose user email in quotes (in case there are
6400         several words)
6401
6402 2003-02-18  John Levon  <levon@movementarian.org>
6403
6404         * buffer.h: add std::
6405
6406 2003-02-17  John Levon  <levon@movementarian.org>
6407
6408         * SpellBase.h:
6409         * ispell.h:
6410         * ispell.C:
6411         * pspell.h:
6412         * pspell.C: reworking. Especially in ispell, a large
6413           number of clean ups and bug fixes.
6414
6415         * lyxfunc.C: fix revert to behave sensibly
6416
6417 2003-02-17 André Pönitz <poenitz@gmx.net>
6418
6419         * LyXAction.C:
6420         * commandtags.h: new LFUN_INSERT_BIBKEY
6421
6422         * layout.h:
6423         * lyxlayout.C:
6424         * buffer.C:
6425         * factory.C:
6426         * text.C:
6427         * text2.C:
6428         * text3.C:
6429         * paragraph.[Ch]:
6430         * paragraph_func.C: remove special bibkey handling
6431
6432 2003-02-17  John Levon  <levon@movementarian.org>
6433
6434         * text.C (Delete): fix case where delete at the end of
6435           the very first paragraph would not merge the pars
6436
6437 2003-02-17  John Levon  <levon@movementarian.org>
6438
6439         * lyxrow.C: fix lastPrintablePos()
6440
6441 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6442
6443         * bufferparams.C (writeLaTeX): add a std:here
6444
6445         * buffer.C: and remove a using directive there
6446
6447 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6448
6449         * buffer.C (makeLaTeXFile): move the code that generates the
6450           preamble...
6451
6452         * bufferparams.C (writeLaTeX): ... in this new method
6453
6454         * LaTeXFeatures.C (getEncodingSet): make const
6455           (getLanguages): make const
6456
6457         * MenuBackend.C (binding): returns the binding associated to this
6458           action
6459           (add): sets the status of each item by calling getStatus. Adds
6460           some intelligence.
6461           (read): add support for OptSubMenu
6462           (expand): remove extra separator at the end of expanded menu
6463
6464 2003-02-15  John Levon  <levon@movementarian.org>
6465
6466         * BufferView.C:
6467         * BufferView_pimpl.C:
6468         * bufferlist.h:
6469         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6470           inset code that had no actual effect. Remove unneeded status
6471           code.
6472
6473 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6474
6475         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6476           in preamble
6477
6478 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6479
6480         * text.C (drawLengthMarker): also draw an arrow marker for
6481           symbolic lengths (medskip...)
6482
6483 2003-02-14  John Levon  <levon@movementarian.org>
6484
6485         * tabular.h:
6486         * tabular.C: better method names
6487
6488 2003-02-14  John Levon  <levon@movementarian.org>
6489
6490         * BufferView_pimpl.C:
6491         * bufferlist.C:
6492         * buffer.C:
6493         * converter.C:
6494         * lyx_cb.C:
6495         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6496           it's a more accurate name. Remove some pointless uses.
6497
6498 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6499
6500         * text2.C (LyXText): change order of initilizers to shut off
6501           warnings
6502
6503 2003-02-14  John Levon  <levon@movementarian.org>
6504
6505         * buffer.C: use ParIterator for getParFromID()
6506
6507         * paragraph.h:
6508         * paragraph.C:
6509         * paragraph_pimpl.h:
6510         * paragraph_pimpl.C: remove unused getParFromID()
6511
6512 2003-02-14  John Levon  <levon@movementarian.org>
6513
6514         * buffer.C: remove some very old #if 0'd parse code
6515
6516 2003-02-13  John Levon  <levon@movementarian.org>
6517
6518         * text.h:
6519         * text.C:
6520         * text2.C: move hfillExpansion(), numberOfSeparators(),
6521           rowLast(), rowLastPrintable(), numberofHfills(),
6522           numberOfLabelHfills() ...
6523
6524         * lyxrow.h:
6525         * lyxrow.C: ... to member functions here.
6526
6527         * paragraph.h:
6528         * paragraph.C:
6529         * lyxtext.h:
6530         * text.C: remove LyXText::beginningOfMainBody(), and call
6531           p->beginningOfMainBody() directly. Move the check for
6532           LABEL_MANUAL into the latter.
6533
6534         * text.h:
6535         * text.C:
6536         * text2.C:
6537         * vspace.C:
6538         * BufferView.h:
6539         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6540
6541         * text.h:
6542         * text.C:
6543         * text2.C:
6544         * text3.C:
6545         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6546           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6547
6548 2003-02-13  John Levon  <levon@movementarian.org>
6549
6550         * CutAndPaste.C: remove debug
6551
6552 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6553
6554         * paragraph.C (asString): remove two unused variables
6555
6556         * lyxtextclass.C (readTitleType):
6557           (Read):
6558           (LyXTextClass): handle new members titletype_ and titlename_
6559
6560         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6561
6562 2003-02-09  John Levon  <levon@movementarian.org>
6563
6564         * buffer.h:
6565         * buffer.C: replace hand-coded list with a map for the dep clean
6566
6567 2003-02-08  John Levon  <levon@movementarian.org>
6568
6569         * LaTeX.C: consolidate code into showRunMessage() helper
6570
6571 2003-02-08  John Levon  <levon@movementarian.org>
6572
6573         * lyxfind.C:
6574         * lyxtext.h:
6575         * text2.C:
6576         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6577           and pass the size in explicitly
6578
6579         * BufferView_pimpl.h:
6580         * BufferView_pimpl.C:
6581         * BufferView.h:
6582         * BufferView.C: add getCurrentChange()
6583
6584         * BufferView_pimpl.h:
6585         * BufferView_pimpl.C: handle change lfuns
6586
6587         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6588           for changes. Mark pasted paragraphs as new.
6589
6590         * support/lyxtime.h:
6591         * support/lyxtime.C:
6592         * DepTable.C: abstract time_t as lyx::time_type
6593
6594         * LColor.h:
6595         * LColor.C: add colours for new text, deleted text, changebars
6596
6597         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6598           package use "usenames" option.
6599
6600         * commandtags.h:
6601         * lyxfunc.C:
6602         * LyXAction.C: add change lfuns
6603
6604         * Makefile.am:
6605         * author.h:
6606         * author.C: author handling
6607
6608         * buffer.h:
6609         * buffer.C: add a per-buffer author list, with first entry as
6610           current author. Handle new .lyx tokens for change tracking. Output
6611           author list to .lyx file. Output dvipost stuff to .tex preamble.
6612           Bump lyx format to 222.
6613
6614         * bufferlist.h:
6615         * bufferlist.C: add setCurrentAuthor() to reset current author details
6616           in all buffers.
6617
6618         * bufferparams.h:
6619         * bufferparams.C: add param for tracking
6620
6621         * bufferview_funcs.C: output change info in minibuffer
6622
6623         * Makefile.am:
6624         * changes.h:
6625         * changes.C: add change-tracking structure
6626
6627         * debug.h:
6628         * debug.C: add CHANGES debug flag
6629
6630         * lyxfind.h:
6631         * lyxfind.C: add code for finding the next change piece
6632
6633         * lyxrc.h:
6634         * lyxrc.C: add user_name and user_email
6635
6636         * lyxrow.h:
6637         * lyxrow.C: add a metric for the top of the text line
6638
6639         * lyxtext.h:
6640         * text.C: implement accept/rejectChange()
6641
6642         * lyxtext.h:
6643         * text.C: paint changebars. Paint new/deleted text in the chosen
6644         colours. Strike through deleted text.
6645
6646         * paragraph.h:
6647         * paragraph.C:
6648         * paragraph_pimpl.h:
6649         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6650           in the current change to the insert functions. Rework erase to
6651           mark text as deleted, adding an eraseIntern() and a range-based
6652           erase(). Implement per-paragraph change lookup and
6653           accept/reject.
6654
6655         * paragraph_funcs.C: Fixup paste for change tracking.
6656
6657         * tabular.C: mark added row/columns as new.
6658
6659         * text.C: fix rowLast() to never return -1. Don't allow
6660           spellchecking of deleted text. Track transpose changes. Don't
6661           allow paragraph break or merge where appropriate.
6662
6663         * text2.C: leave cursor at end of selection after a cut.
6664
6665 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6666
6667         * text.C (getLengthMarkerHeight):
6668         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6669         visible on screen too.
6670
6671 2003-02-07  John Levon  <levon@movementarian.org>
6672
6673         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6674
6675 2003-02-05  Angus Leeming  <leeming@lyx.org>
6676
6677         * lyxserver.C (read_ready): revert my patch of 11 September last year
6678         as it sends PC cpu through the roof. Presumably this means that
6679         the lyxserver will no longer run on an Alpha...
6680
6681 2003-01-30  Angus Leeming  <leeming@lyx.org>
6682
6683         * factory.C (createInset): create an InsetCommandParam of type "index"
6684         and use it to 'do the right thing'.
6685
6686         * text2.C (getStringToIndex): ensure that cursor position is always
6687         reset to the reset_cursor position.
6688
6689 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6690
6691         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6692         disabled.
6693
6694 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6695
6696         * bufferview.C:
6697         * lyxcb.C:
6698         * lyxfunc.C: Output messages with identical spelling, punctuation,
6699         and spaces
6700
6701 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6702
6703         * MenuBackend.C (expandFormats): List only viewable export formats
6704         in "View" menu
6705
6706         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6707         message
6708
6709         * lyxfunc.C (getStatus): Make sure that formats other than
6710         "fax" can also be disabled
6711
6712 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6713
6714         * text3.C (dispatch): put the lfuns that insert insets in 3
6715         groups, and call doInsertInset with appropriate arguments.
6716         (doInsertInset): new function, that creates an inset and inserts
6717         it according to some boolean parameters.
6718
6719 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * buffer.C (readFile): remember to pass on 'par' when calling
6722         readFile recursively.
6723
6724 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6725
6726         * MenuBackend.C (expandFormats): add "..." to import formats.
6727
6728 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6729
6730         * paragraph.C (asString): Remove XForms RTL hacks.
6731
6732 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6733         * buffer.C: fix typo
6734
6735 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * Makefile.am (LIBS): delete var
6738         (lyx_LDADD): add @LIBS@ here instead.
6739
6740 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6741
6742         * Clarify the meaning of "wheel mouse jump"
6743
6744 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6745
6746         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6747         tabular in a float
6748
6749 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6750
6751         * importer.C (Loaders): do not preallocate 3 elements in the
6752         vector, since one ends up with 6 elements otherwise
6753
6754 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6755
6756         * DepTable.C (write): write the file name as last element of the
6757         .dep file (because it may contain spaces)
6758         (read): read info in the right order
6759
6760 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6761
6762         * paragraph_pimpl.C (simpleTeXBlanks):
6763         (simpleTeXSpecialChars):
6764         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6765
6766         * tabular.C (latex): add some missing case statements. Reindent.
6767
6768         * MenuBackend.C (expandToc): remove unused variable.
6769
6770 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6771
6772         * LColor.C:
6773         * LaTeX.C:
6774         * LyXAction.C:
6775         * MenuBackend.C:
6776         * buffer.C:
6777         * exporter.C:
6778         * lyxfunc.C:
6779         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6780         and the like.
6781
6782 2003-01-05  John Levon  <levon@movementarian.org>
6783
6784         * BufferView.h:
6785         * BufferView.C: add getEncoding()
6786
6787         * kbsequence.h:
6788         * kbsequence.C: do not store last keypress
6789
6790         * lyxfunc.h:
6791         * lyxfunc.C: store last keypress here instead. Pass encoding
6792           to getISOEncoded()
6793
6794 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6795
6796         * lyx_main.C (init): remove annoying error message when following
6797         symbolic links (bug #780)
6798
6799 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6800
6801         * text.C (insertChar):
6802         * lyxrc.C (getDescription): remove extra spaces
6803
6804 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6805
6806         * lyxrc.C (getDescription): remove extra spaces
6807
6808 2002-12-20  John Levon  <levon@movementarian.org>
6809
6810         * text3.C: hack fix for page up/down across tall rows
6811
6812 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6813
6814         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6815         not been invoked
6816
6817 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6818
6819         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6820         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6821         thesaurus is not compiled in
6822
6823 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6824
6825         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6826
6827 2002-12-16  Angus Leeming  <leeming@lyx.org>
6828
6829         * lyxrc.[Ch]:
6830         * lyx_main.C (init): remove override_x_deadkeys stuff.
6831
6832 2002-12-12  John Levon  <levon@movementarian.org>
6833
6834         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6835           insert. Only remove shift modifier under strict
6836           circumstances.
6837
6838 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * MenuBackend.C (expandToc): fix crash.
6841
6842 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * MenuBackend.C (expandToc): gettext on float names.
6845
6846 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6847
6848         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6849         implement bool empty() [bug 490]
6850
6851 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6854
6855 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * several files: ws changes
6858
6859 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * text2.C (setCounter): clean up a bit, use boost.format.
6862         (updateCounters): initialize par upon declaration.
6863
6864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6865         if the layout exists. We do not just store the layout any more.
6866         (SwitchLayoutsBetweenClasses): use boost.format
6867
6868 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6869
6870         * converter.C (convert): if from and to files are the same, use a
6871         temporary files as intermediary
6872
6873 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6874
6875         * commandtags.h:
6876         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6877
6878 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6881
6882 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * tabular.C (asciiPrintCell): use string(size, char) instead of
6885         explicit loop.
6886
6887         * sgml.C (openTag): fix order of arguments to string constructor
6888         (closeTag): ditto
6889
6890         * lyxfunc.C (dispatch): use boost.format
6891
6892         * lots of files: change "c" -> 'c'
6893
6894 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6895
6896         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6897
6898 2002-11-25  Angus Leeming  <leeming@lyx.org>
6899
6900         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6901
6902         * lyx_main.C (init): compile fix.
6903
6904 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * lyx_cb.C (start): boost.formatify
6907         do not include <iostream>
6908
6909         * lengthcommon.C: ws only
6910
6911         * boost-inst.C,BoostFormat.h: add more explict instantations
6912
6913 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * lots of files: handle USE_BOOST_FORMAT
6916
6917 2002-11-21  John Levon  <levon@movementarian.org>
6918
6919         * pspell.C: fix compile
6920
6921 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6922
6923         * lyxfunc.C (dispatch): use boost::format
6924         (open): ditto
6925         (doImport): ditto
6926
6927         * lyxfont.C (stateText): use boost::format
6928
6929         * lyx_main.C (LyX): use boost::format
6930         (init): ditto
6931         (queryUserLyXDir): ditto
6932         (readRcFile): ditto
6933         (parse_dbg): ditto
6934         (typedef boost::function): use the recommened syntax.
6935
6936         * importer.C (Import): use boost::format
6937
6938         * debug.C (showLevel): use boost::format
6939
6940         * converter.C (view): use boost::format
6941         (convert): ditto
6942         (move): ditto
6943         (scanLog): ditto
6944
6945         * bufferview_funcs.C (currentState): use boost::format
6946
6947         * bufferlist.C (emergencyWrite): use boost::format
6948
6949         * buffer.C (readLyXformat2): use boost::format
6950         (parseSingleLyXformat2Token): ditto
6951
6952         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6953
6954         * LaTeX.C (run): use boost::format
6955
6956         * Chktex.C (scanLogFile): use boost::format
6957
6958         * BufferView_pimpl.C (savePosition): use boost::format
6959         (restorePosition): ditto
6960         (MenuInsertLyXFile): ditto
6961
6962         * BoostFormat.h: help file for explicit instation.
6963
6964 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6965
6966         * tabular.C (latex): Support for block alignment in fixed width
6967         columns.
6968
6969 2002-11-17  John Levon  <levon@movementarian.org>
6970
6971         * BufferView_pimpl.C:
6972         * lyx_cb.C:
6973         * lyxfunc.C: split filedialog into open/save
6974
6975 2002-11-08  Juergen Vigna  <jug@sad.it>
6976
6977         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6978         by my last patch (hopefully).
6979
6980 2002-11-08  John Levon  <levon@movementarian.org>
6981
6982         * iterators.h:
6983         * iterators.C:
6984         * buffer.h:
6985         * buffer.C:
6986         * paragraph.h:
6987         * paragraph.C:
6988         * toc.h:
6989         * toc.C: ParConstIterator, and use it (from Lars)
6990
6991 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6992
6993         * lyxtextclass.[Ch]: revise and add doxygen comments
6994
6995 2002-11-07  John Levon  <levon@movementarian.org>
6996
6997         * text.C: fix progress value for spellchecker
6998
6999         * toc.C: fix navigate menu for insetwrap inside minipage
7000
7001         * paragraph_funcs.C: added FIXME for suspect code
7002
7003 2002-11-07  John Levon  <levon@movementarian.org>
7004
7005         * BufferView_pimpl.C: fix redrawing of insets
7006           on buffer switch
7007
7008 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7009
7010         * text2.C (updateCounters): fix bug 668
7011
7012 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7013
7014         * text3.C (dispatch): Do not make the buffer dirty when moving the
7015         cursor.
7016
7017 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * vc-backend.C: STRCONV
7020         (scanMaster): ditto
7021
7022         * text2.C (setCounter): STRCONV
7023
7024         * paragraph.C (asString): STRCONV
7025
7026         * lyxlength.C (asString): STRCONV
7027         (asLatexString): ditto
7028
7029         * lyxgluelength.C (asString): STRCONV
7030         (asLatexString): ditto
7031
7032         * lyxfunc.C (dispatch): STRCONV
7033         (open): ditto
7034
7035         * lyxfont.C (stateText): STRCONV
7036
7037         * importer.C (Import): STRCONV
7038
7039         * counters.C (labelItem): STRCONV
7040         (numberLabel): ditto
7041         (numberLabel): remove unused ostringstream o
7042
7043         * chset.C: STRCONV
7044         (loadFile): ditto
7045
7046         * bufferview_funcs.C (currentState): STRCONV
7047
7048         * buffer.C (readFile): STRCONV
7049         (asciiParagraph): ditto
7050         (makeLaTeXFile): ditto
7051
7052         * Spacing.C (writeEnvirBegin): STRCONV
7053
7054         * LaTeXFeatures.C (getLanguages): STRCONV
7055         (getPackages): ditto
7056         (getMacros): ditto
7057         (getBabelOptions): ditto
7058         (getTClassPreamble): ditto
7059         (getLyXSGMLEntities): ditto
7060         (getIncludedFiles): ditto
7061
7062         * LaTeX.C: STRCONV
7063         (run): ditto
7064         (scanAuxFile): ditto
7065         (deplog): ditto
7066
7067         * LString.h: add the STRCONV macros
7068
7069         * BufferView_pimpl.C (savePosition): STRCONV
7070         (restorePosition): ditto
7071         (MenuInsertLyXFile): ditto
7072
7073         * vc-backend.C (scanMaster): change from submatch[...] to
7074         submatch.str(...)
7075
7076         * funcrequest.C: include config.h
7077
7078         * factory.C: include config.h
7079
7080         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7081
7082         * box.C: include config.h
7083
7084         * LaTeX.C (scanAuxFile): change from submatch[...] to
7085         submatch.str(...)
7086         (deplog): ditto
7087
7088 2002-10-25  Angus Leeming  <leeming@lyx.org>
7089
7090         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7091
7092         * ispell.[Ch] (setError): new method.
7093         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7094         Use setError() insetead of goto END.
7095
7096         * lyx_cb.C (AutoSave): move out child process into new class
7097         AutoSaveBuffer.
7098
7099 2002-10-30  John Levon  <levon@movementarian.org>
7100
7101         * text3.C: make start appendix undoable
7102
7103 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7104
7105         * lyxlength.C (inPixels): Fix returned value.
7106
7107         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7108         environment.
7109
7110 2002-10-24  Angus Leeming  <leeming@lyx.org>
7111
7112         * lyxgluelength.h: no need to forward declare BufferParams
7113         or BufferView, so don't.
7114
7115 2002-10-21  John Levon  <levon@movementarian.org>
7116
7117         * BufferView.C: menuUndo ->undo, redo
7118
7119         * BufferView.h: document, remove dead, make some methods private
7120
7121         * paragraph_funcs.h:
7122         * paragraph_funcs.C:
7123         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7124
7125         * buffer.h:
7126         * buffer.C:
7127         * sgml.h:
7128         * sgml.C: move sgml open/close tag into sgml.C
7129
7130         * bufferview_funcs.h: unused prototype
7131
7132         * lyxfunc.h:
7133         * lyxfunc.C: remove unused
7134
7135         * lyxtext.h:
7136         * text.C: remove unused
7137
7138 2002-10-21  John Levon  <levon@movementarian.org>
7139
7140         * BufferView.h:
7141         * BufferView.C:
7142         * BufferView_pimpl.h:
7143         * BufferView_pimpl.C: fix mouse wheel handling based on
7144           patch from Darren Freeman
7145
7146 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7147
7148         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7149
7150 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7151
7152         * lyxlength.C (inPixels): Fix hanfling of negative length.
7153         Fix LyXLength::MU case.
7154
7155 2002-10-16  John Levon  <levon@movementarian.org>
7156
7157         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7158
7159 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7160
7161         * converter.C (view): add support for $$i (file name) and $$p
7162         (file path) for the viewer command. If $$i is not specified, then
7163         it is appended to the command (for compatibility with old syntax)
7164
7165 2002-10-14  Juergen Vigna  <jug@sad.it>
7166
7167         * undo_funcs.C (textHandleUndo): alter the order in which the
7168         new undopar is added to the LyXText, as we have to set first
7169         the right prev/next and then add it as otherwise the rebuild of
7170         LyXText is not correct. Also reset the cursor to the right paragraph,
7171         with this IMO we could remove the hack in "redoParagraphs()".
7172
7173 2002-10-09  Angus Leeming  <leeming@lyx.org>
7174
7175         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7176         to turn off an optimisation if a new inset is to be inserted.
7177
7178 2002-10-11 André Pönitz <poenitz@gmx.net>
7179
7180         * lyxtext.h: make some functions public to allow access
7181         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7182
7183 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7184
7185         * text3.C (dispatch): when changing layout, avoid an infinite loop
7186         [bug #652]
7187
7188 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7189
7190         * lyxrc.C (read): treat a viewer or converter command of "none" as
7191         if it were empty.
7192
7193         * MenuBackend.C (expandFormats): for an update, also allow the
7194         formats that are not viewable
7195
7196         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7197         script if it is newer than the lyxrc.defaults in user directory
7198
7199 2002-10-07 André Pönitz <poenitz@gmx.net>
7200
7201         * text.C: Vitaly Lipatov's small i18n fix
7202
7203 2002-09-25  Angus Leeming  <leeming@lyx.org>
7204
7205         * ispell.h: doxygen fix.
7206
7207 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7208
7209         * buffer.h (readFile): Add a new argument to the method, to allow
7210         reading of old-format templates.
7211
7212 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7213
7214         * toc.C (getTocList): Get TOC from InsetWrap.
7215
7216 2002-09-16  John Levon  <levon@movementarian.org>
7217
7218         * lyxfunc.C: check tabular for cut/copy too
7219
7220 2002-09-12  John Levon  <levon@movementarian.org>
7221
7222         * LyXAction.C: tidy
7223
7224         * factory.h:
7225         * factory.C: add header
7226
7227         * paragraph_funcs.h:
7228         * paragraph_funcs.C: cleanup
7229
7230 2002-09-11  John Levon  <levon@movementarian.org>
7231
7232         * PrinterParams.h: odd/even default to true
7233
7234 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7235
7236         * PrinterParams.h: update printer parameters for new xforms dialog
7237
7238 2002-09-11  Angus Leeming  <leeming@lyx.org>
7239
7240         * lyxserver.C (read_ready): re-write to make it more transparent
7241         and to make it work in coherent fashion under Tru64 Unix.
7242
7243 2002-09-11  André Pönitz <poenitz@gmx.net>
7244
7245         * commandtags.h:
7246         * LyXAction.C:
7247         * text3.C: implement LFUN_WORDSEL
7248
7249 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7252         make floatlist_ a boost::shared_ptr<FloatList>
7253
7254         * lyxtextclass.C: include FloatList.h
7255         (LyXTextClass): initialize floatlist_
7256         (TextClassTags): add TC_NOFLOAT
7257         (Read): match "nofloat" to TC_NOFLOAT and use it.
7258         (readFloat): modify call to floatlist_
7259         (floats): ditto
7260         (floats): ditto
7261
7262         * FloatList.[Ch] (FloatList): remove commented out float
7263         initialization.
7264         (erase): new function
7265
7266 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7267
7268         * MenuBackend.C (expandToc): fix crash when there is no document
7269         open
7270
7271 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7272
7273         * many files: Add insetwrap.
7274
7275 2002-09-09  John Levon  <levon@movementarian.org>
7276
7277         * text2.C: remove confusing and awkward depth wraparound
7278
7279 2002-09-09  John Levon  <levon@movementarian.org>
7280
7281         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7282
7283         * buffer.h:
7284         * buffer.C: remove getIncludeonlyList()
7285
7286         * paragraph.C:
7287         * lyxfunc.C: remove headers
7288
7289 2002-09-09  Juergen Vigna  <jug@sad.it>
7290
7291         * text.C (getColumnNearX): fix form Michael this is most
7292         probably a cut&paste bug.
7293
7294 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7297
7298         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7299         references, ws changes.
7300
7301         * text2.C (init): update counters after init
7302         (insertParagraph): no need to set counter on idividual paragraphs.
7303         (setCounter): access the counters object in the textclass object
7304         on in the buffer object.
7305         (updateCounters): ditto
7306
7307         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7308         shared_ptr<Counters> to avoid loading counters.h in all
7309         compilation units.
7310         (LyXTextClass): initialize ctrs_
7311         (TextClassTags): add TC_COUNTER, and ...
7312         (Read): use it here.
7313         (CounterTags): new tags
7314         (readCounter): new function
7315         (counters): new funtion
7316         (defaultLayoutName): return a const reference
7317
7318         * counters.C (Counters): remove contructor
7319         (newCounter): remove a couple of unneeded statements.
7320         (newCounter): simplify a bit.
7321         (numberLabel): some small formatting changes.
7322
7323         * buffer.[Ch]: remove all traces of counters, move the Counters
7324         object to the LyXTextClass.
7325
7326 2002-09-06  Alain Castera  <castera@in2p3.fr>
7327
7328         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7329         package to set the horizontal alignment on fixed width columns.
7330
7331         * lyx_sty.C:
7332         * lyx_sty.h: added tabularnewline macro def.
7333
7334         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7335
7336 2002-09-06  John Levon  <levon@movementarian.org>
7337
7338         * LyXAction.C: tooltips for sub/superscript
7339
7340         * MenuBackend.C: a bit more verbose
7341
7342         * lyxfunc.C: tiny clean
7343
7344         * undo_funcs.C: document undo_frozen
7345
7346 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * counters.C (Counters): add missing algorithm counter.
7349
7350         * text2.C (setCounter): lookup the counter with layouts latexname
7351         instead of by section number.
7352         (setCounter): use a hackish way to lookup the correct enum
7353         counter.
7354         a float name->type change
7355         reset enum couners with counter name directly instead of depth value.
7356
7357         * counters.C (Counters): remove the push_backs, change to use the
7358         float type not the float name.
7359         (labelItem): remove unused string, float name->type change
7360
7361         * counters.h: don't include vector, loose the enums and sects vectors
7362
7363 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7366         (Read): add float->TC_FLOAT to textclassTags
7367         (Read): and handle it in the switch
7368         (readFloat): new function
7369
7370         * FloatList.C (FloatList): comment out the hardcoded float
7371         definitions.
7372
7373         * lyxlayout.h: ws change.
7374
7375 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7376
7377         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7378
7379 2002-09-03  Angus Leeming  <leeming@lyx.org>
7380
7381         * BufferView_pimpl.h: qualified name is not allowed in member
7382         declaration: WorkArea & Pimpl::workarea() const;
7383
7384         * factory.C: added using std::endl directive.
7385
7386         * text3.C: added using std::find and std::vector directives.
7387
7388 2002-08-29  André Pönitz <poenitz@gmx.net>
7389
7390         * lyxtext.h:
7391         * text2.C: remove unused member number_of_rows
7392
7393         * Makefile.am:
7394         * BufferView2.C: remove file, move contents to...
7395         * BufferView.C: ... here
7396
7397         * BufferView_pimpl.C:
7398         * factory.C: move more inset creation to factory
7399
7400         * vspace.C: avoid direct usage of LyXText, ws changes
7401
7402         * BufferView.[Ch]:
7403                 don't provide direct access to WorkArea, use two simple
7404                 acessors haveSelction() and workHeight() instead
7405
7406
7407 2002-08-29  John Levon  <levon@movementarian.org>
7408
7409         * BufferView_pimpl.C (dispatch): do not continue when
7410           no buffer
7411
7412 2002-08-28  André Pönitz <poenitz@gmx.net>
7413
7414         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7415
7416         * BufferView.h:
7417         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7418
7419 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7420
7421         * buffer.C: increment LYX_FORMAT to 221
7422
7423         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7424         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7425
7426         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7427
7428         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7429
7430 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * factory.C (createInset): use LyXTextClass::floats
7433
7434         * MenuBackend.C (expandFloatListInsert):
7435         (expandFloatInsert):
7436         (expandToc):
7437
7438         * text2.C (setCounter):
7439
7440         * LaTeXFeatures.C (useFloat):
7441         (getFloatDefinitions):
7442
7443         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7444
7445         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7446         floatlist_, with accessor floats().
7447
7448         * FloatList.h: remove global FloatList
7449
7450 2002-08-26  André Pönitz <poenitz@gmx.net>
7451
7452         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7453
7454         * BufferView.h:
7455         * BufferView2.C:
7456         * BufferView_pimpl.C:
7457         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7458
7459 2002-08-25  John Levon  <levon@movementarian.org>
7460
7461         * LyXAction.C: fix margin note description
7462
7463 2002-08-24  John Levon  <levon@movementarian.org>
7464
7465         * buffer.C:
7466         * bufferlist.C:
7467         * bufferview_funcs.C:
7468         * lyxfont.C:
7469         * undo_funcs.C: cleanups
7470
7471         * lyxfunc.C: disable CUT/COPY when no selection
7472
7473 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7474
7475         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7476         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7477
7478         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7479         Add backward compatibility to "mono", "gray" and "no".
7480
7481 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7482
7483         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7484         (and file_format >= 200).
7485
7486 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7487
7488         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7489
7490 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7491
7492         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7493
7494 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7495
7496         * BufferView_pimpl.C:
7497         * LyXAction.C:
7498         * buffer.C:
7499         * commandtags.h:
7500         * lyxfunc.C:
7501         * paragraph.[Ch]:
7502         * text2.C:
7503         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7504         inset and code to make it  work with the paragraph code. The inset
7505         can be anywhere in the paragraph, but will only do the expected
7506         thing in LaTeX if the layout file contains the parameter line
7507                         OptionalArgs    1
7508         (or more generally, a nonzero value) for that layout.
7509
7510 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * paragraph.h: remove the declaration of undefined counters class
7513         function.
7514
7515 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7516
7517         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7518         Dr. Richard Hawkins.
7519
7520 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7521
7522         * paragraph_funcs.h: remove some unneeded includes
7523
7524         * text.C (backspace): pasteParagraph now in global scipe
7525
7526         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7527         (pasteSelection): ditto
7528
7529         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7530         * paragraph_funcs.C (pasteParagraph): ... here
7531
7532 2002-08-20  André Pönitz <poenitz@gmx.net>
7533
7534         * commandtags.h: new LFUNs for swapping/copying table row/colums
7535
7536         * LyXAction.C:
7537         * lyxfunc.C: support for new lfuns
7538
7539 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * tabular.C:
7542         * buffer.[Ch]: remove NO_COMPABILITY stuff
7543
7544 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * boost.C (throw_exception): new file, with helper function for
7547         boost compiled without exceptions.
7548
7549         * paragraph.h:
7550         * lyxlength.C:
7551         * buffer.C:
7552         * ParameterStruct.h:
7553         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7554
7555         * bufferlist.C (emergencyWriteAll): use boost bind
7556
7557         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7558
7559         * text.C: include paragraph_funcs.h
7560         (breakParagraph): breakParagraph is now in global scope
7561
7562         * paragraph_funcs.[Ch]: new files
7563
7564         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7565         global scope
7566
7567         * buffer.C: include paragraph_funcs.h
7568         (insertStringAsLines): breakParagraph is now in global scope
7569
7570         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7571         paragraph_funcs.C
7572
7573         * CutAndPaste.C: include paragraph_funcs.h
7574         (cutSelection): breakParagraphConservative is now in global scope
7575         (pasteSelection): ditto
7576
7577         * buffer.h: declare oprator== and operator!= for
7578         Buffer::inset_iterator
7579
7580         * bufferlist.C (emergencyWrite): don't use fmt(...)
7581
7582         * text3.C: add using std::endl
7583
7584         * BufferView.C (moveCursorUpdate): remove default arg
7585
7586 2002-08-20  André Pönitz <poenitz@gmx.net>
7587
7588         * buffer.[Ch]: move inline functions to .C
7589
7590         * BufferView2.C:
7591         * BufferView_pimpl.C:
7592         * text.C:
7593         * buffer.[Ch]: use improved inset_iterator
7594
7595         * buffer.C:
7596         * paragraph.[Ch]: write one paragraph at a time
7597
7598 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7599
7600         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7601         style if style is not specified.
7602
7603 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7604
7605         * text2.C (setCounter): when searching for right label for a
7606         caption, make sure to recurse to parent insets (so that a caption
7607         in a minipage in a figure float works) (bug #568)
7608
7609 2002-08-20  André Pönitz <poenitz@gmx.net>
7610
7611         * text3.C: new file for LyXText::dispatch() and helpers
7612
7613         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7614
7615         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7616
7617 2002-08-19  André Pönitz <poenitz@gmx.net>
7618
7619         * lyxtext.h:
7620         * text.C: new LyXText::dispatch()
7621
7622         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7623
7624 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7627
7628         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7629         Hebrew text.
7630
7631 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7632
7633         * Makefile.am: use $(variables) instead of @substitutions@
7634
7635 2002-08-15  André Pönitz <poenitz@gmx.net>
7636
7637         * lyxfunc.C:
7638         * BufferView_pimpl.C: streamlining mathed <-> outer world
7639         interaction
7640
7641         * commandtags.h:
7642         * LyXAction.C: remove unused LFUN_MATH
7643
7644 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7647
7648 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * paragraph.C (Paragraph): reformat a bit
7651         (cutIntoMinibuffer): use builtin InsetList function instad of
7652         doing it manually.
7653         (getInset): ditto
7654
7655         * buffer.C: include boost/bind.hpp, add using std::for_each
7656         (writeFileAscii): use ParagraphList iterators
7657         (validate): use for_each for validate traversal of paragraphs
7658         (getBibkeyList): use ParagraphList iterators
7659         (resizeInsets): use for_each to resizeInsetsLyXText for all
7660         paragraphs.
7661         (getParFromID): use ParagraphList iterators
7662
7663         * BufferView2.C (lockInset): use paragraph list and iterators
7664
7665 2002-08-14  John Levon  <levon@movementarian.org>
7666
7667         * lyxserver.C: remove spurious xforms include
7668
7669 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7670
7671         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7672
7673 2002-08-13  André Pönitz <poenitz@gmx.net>
7674
7675         * LyXAction.[Ch]:
7676         * lyxfunc.C: further cleaning
7677
7678 2002-08-13  André Pönitz <poenitz@gmx.net>
7679
7680         * funcrequest.h: new constructor
7681
7682         * funcrequest.C: move stuff here from .h
7683
7684         * Makefile.am:
7685         * BufferView_pimpl.C:
7686         * LyXAction.C:
7687         * toc.C:
7688         * lyxfunc.C: subsequent changes
7689
7690         * lyxfunc.h: new view() member function
7691
7692         * lyxfunc.C: subsequent changes
7693
7694 2002-08-13  Angus Leeming  <leeming@lyx.org>
7695
7696         * BufferView2.C:
7697         * BufferView_pimpl.C:
7698         * buffer.C:
7699         * converter.C:
7700         * importer.C:
7701         * lyxfunc.C:
7702         * lyxvc.C:
7703         * toc.C:
7704         * vc-backend.C:
7705         changes due to the changed LyXView interface that now returns references
7706         to member variables not pointers.
7707
7708 2002-08-13  Angus Leeming  <leeming@lyx.org>
7709
7710         * WordLangTuple (word, lang_code): return references to strings,
7711         not strings.
7712
7713         * BufferView.h:
7714         * SpellBase.h:
7715         * lyxtext.h: forward-declare WordLangTuple.
7716
7717         * BufferView2.C:
7718         * ispell.C:
7719         * pspell.C:
7720         * text.C: #include "WordLangTuple.h".
7721
7722         * lyxtext.h:
7723         * text.C: (selectNextWordToSpellcheck): constify return type.
7724
7725 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7726
7727         * buffer.C:
7728         * buffer.h:
7729         * lyxtext.h:
7730         * paragraph.C:
7731         * paragraph_pimpl.h:
7732         * text.C:
7733         * text2.C:
7734         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7735         suggested by Angus.
7736         Made updateCounter always count from start of buffer, and removed
7737         second argument (par).
7738         Reverted floats number display to '#'. Perhaps I'll try again when the
7739         code base is sanitized a bit.
7740
7741 2002-08-12  Angus Leeming  <leeming@lyx.org>
7742
7743         * buffer.[Ch] (getLabelList): constify.
7744
7745 2002-08-07  André Pönitz <poenitz@gmx.net>
7746
7747         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7748
7749         * funcrequest.h: extension to keep mouse (x,y) position
7750
7751 2002-08-12  Juergen Vigna  <jug@sad.it>
7752
7753         * BufferView2.C (insertErrors): forbid undo when inserting error
7754         insets.
7755
7756         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7757
7758 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7759
7760         * ParagraphList.[Ch]: new files
7761
7762         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7763
7764         * BufferView2.C (lockInset): ParagraphList changes
7765         * toc.C: ditto
7766         * text2.C: ditto
7767         * bufferlist.C: ditto
7768         * buffer.h: ditto
7769         * buffer.C: ditto
7770
7771 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7774         unused class variable counter_,
7775
7776         * paragraph.[Ch] (getFirstCounter): delete unused function
7777
7778         * counters.C: include LAssert.h
7779         (reset): add a new function with no arg, change other version to
7780         not have def. arg and to not allow empty arg.
7781
7782         * text2.C (setCounter): remove empty arg from call to Counters::reset
7783
7784 2002-08-11  John Levon  <levon@movementarian.org>
7785
7786         * Makefile.am: add WordLangTuple.h
7787
7788 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7791         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7792
7793         * insets/insettext.C: InsetList changes
7794
7795         * graphics/GraphicsSupport.C (operator()): InsetList changes
7796
7797         * toc.C (getTocList): InsetList changes
7798
7799         * paragraph_pimpl.[Ch]: InsetList changes
7800
7801         * paragraph.[Ch]: InsetList changes
7802
7803         * buffer.C (inset_iterator): InsetList changes
7804         (setParagraph): ditto
7805         * buffer.h (inset_iterator): ditto
7806         * iterators.C (operator++): ditto
7807         * iterators.h: ditto
7808
7809         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7810
7811         * InsetList.[Ch]: new files, most InsetList handling moved out of
7812         paragraph.C.
7813
7814         * BufferView2.C (removeAutoInsets): InsetList changes
7815         (lockInset): ditto
7816         (ChangeInsets): ditto
7817
7818 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * paragraph_pimpl.h (empty): new function
7821
7822         * paragraph.[Ch] (empty): new function
7823
7824         * other files: use the new Paragraph::empty function
7825
7826 2002-08-09  John Levon  <levon@movementarian.org>
7827
7828         * lyxtext.h: remove unused refresh_height
7829
7830 2002-08-09  John Levon  <levon@movementarian.org>
7831
7832         * Makefile.am:
7833         * sgml.h:
7834         * sgml.C:
7835         * buffer.C:
7836         * paragraph.h:
7837         * paragraph.C: move sgml char escaping out of paragraph
7838
7839         * paragraph.h:
7840         * paragraph.C: remove id setter
7841
7842         * buffer.C:
7843         * paragraph.C:
7844         * paragraph_pimpl.C: remove dead tex_code_break_column
7845
7846         * bufferview_funcs.C: small cleanup
7847
7848         * lyxfunc.C: remove dead proto
7849
7850         * lyxtext.h: make some stuff private. Remove some dead stuff.
7851
7852         * lyxgluelength.C: make as[LyX]String() readable
7853
7854 2002-08-08  John Levon  <levon@movementarian.org>
7855
7856         * LyXAction.h:
7857         * LyXAction.C:
7858         * MenuBackend.C:
7859         * ToolbarDefaults.C:
7860         * lyxfunc.C:
7861         * lyxrc.C:
7862         * toc.C: lyxaction cleanup
7863
7864 2002-08-08  John Levon  <levon@movementarian.org>
7865
7866         * BufferView2.C: small cleanup
7867
7868         * lyxfind.h:
7869         * lyxfind.C: move unnecessary header into the .C
7870
7871 2002-08-08  John Levon  <levon@movementarian.org>
7872
7873         * funcrequest.h: just tedious nonsense
7874
7875         * lyx_main.h:
7876         * lyx_main.C: cleanups
7877
7878         * buffer.C:
7879         * vspace.C: remove dead header lyx_main.h
7880
7881 2002-08-07  Angus Leeming  <leeming@lyx.org>
7882
7883         * Paragraph.[Ch]:
7884         * paragraph_pimpl.h:
7885         Forward declare class Counters in paragraph.h by moving the ctrs member
7886         variable into Paragraph::Pimpl.
7887         (counters): new method, returning a reference to pimpl_->ctrs.
7888
7889         * text2.C: ensuing changes.
7890
7891 2002-08-07  John Levon  <levon@movementarian.org>
7892
7893         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7894
7895         * BufferView_pimpl.C: announce X selection on double/triple
7896           click
7897
7898         * lyx_main.C: use correct bool in batch dispatch
7899
7900         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7901
7902 2002-08-07  André Pönitz <poenitz@gmx.net>
7903
7904         * funcrequest.h: new class to wrap a kb_action and its argument
7905
7906         * BufferView.[Ch]:
7907         * BufferView_pimpl[Ch]:
7908         * LaTeX.C:
7909         * LyXAction.[Ch]:
7910         * lyxfunc.[Ch]:
7911         * lyxrc.C: subsequent changes
7912
7913
7914 2002-08-07  John Levon  <levon@movementarian.org>
7915
7916         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7917           document options change.
7918
7919 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7920
7921         * counters.[Ch]
7922         * text2.C
7923         * paragraph.[Ch]
7924         * makefile.am: move counters functionality over from
7925         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7926
7927 2002-08-06  John Levon  <levon@movementarian.org>
7928
7929         * WordLangTuple.h: new file for word + language code tuple
7930
7931         * SpellBase.h:
7932         * pspell.h:
7933         * pspell.C:
7934         * ispell.h:
7935         * ispell.C:
7936         * lyxtext.h:
7937         * text.C:
7938         * text2.C:
7939         * BufferView.h:
7940         * BufferView2.C: use WordLangTuple
7941
7942         * layout.h:
7943         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7944
7945 2002-08-06  John Levon  <levon@movementarian.org>
7946
7947         * lyx_main.C: fix cmdline batch handling
7948
7949 2002-08-06  André Pönitz <poenitz@gmx.net>
7950
7951         * lyxrc.C: set default for show_banner to true
7952
7953 2002-08-06  John Levon  <levon@movementarian.org>
7954
7955         * pspell.C: fix a crash, and allow new aspell to work
7956
7957 2002-08-06  John Levon  <levon@movementarian.org>
7958
7959         * lyxfunc.C:
7960         * kbmap.C: small cleanup
7961
7962         * vspace.h:
7963         * vspace.C: add const
7964
7965 2002-08-05  John Levon  <levon@movementarian.org>
7966
7967         * LyXAction.C: back to tabular-insert
7968
7969 2002-08-04  John Levon  <levon@movementarian.org>
7970
7971         * BufferView.h:
7972         * BufferView.C: cosmetic change
7973
7974         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7975
7976         * bufferlist.C:
7977         * buffer.h:
7978         * buffer.C:
7979         * lyxcb.h:
7980         * lyxcb.C:
7981         * lyxserver.C:
7982         * lyxvc.C:
7983         * vc-backend.C:
7984         * BufferView2.C: purge all "Lyx" not "LyX" strings
7985
7986         * lyxcursor.h:
7987         * lyxcursor.C: attempt to add some documentation
7988
7989         * lyxfunc.C:
7990         * commandtags.h:
7991         * LyXAction.C:
7992         * ToolbarDefaults.C:
7993         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7994           merge with LFUN_TABULAR_INSERT
7995
7996         * Makefile.am:
7997         * SpellBase.h:
7998         * ispell.h:
7999         * ispell.C:
8000         * pspell.h:
8001         * pspell.C: split up i/pspell implementations into separate
8002           files, many cleanups
8003
8004         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8005
8006         * text2.C: some cleanup
8007
8008         * lyxfunc.C: don't check for isp_command == "none" any more, it
8009           didn't make any sense
8010
8011 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8012
8013         * counters.[Ch]
8014         * text2.C
8015         * paragraph.[Ch]
8016         * makefile.am: move counters functionality over
8017         from text2.C/paragraph.[Ch] to counters.[Ch], and
8018         make proper C++.
8019 2002-08-02  John Levon  <levon@movementarian.org>
8020
8021         * buffer.C: s/lyxconvert/lyx2lyx/
8022
8023 2002-08-02  Angus Leeming  <leeming@lyx.org>
8024
8025         * lyxlex.C: revert John's change as it breaks reading of the user
8026         preamble.
8027
8028 2002-08-02  Angus Leeming  <leeming@lyx.org>
8029
8030         * importer.C (Import):
8031         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8032         changes due to LyXView::view() now returning a boost::shared_ptr.
8033
8034 2002-08-02  John Levon  <levon@movementarian.org>
8035
8036         * lyxlex.C: small cleanup
8037
8038 2002-08-02  John Levon  <levon@movementarian.org>
8039
8040         * text2.C (status): small cleanup, no logic change
8041
8042 2002-08-01  John Levon  <levon@movementarian.org>
8043
8044         * buffer.h:
8045         * buffer.C (writeFile): don't output alerts, caller
8046           handles this
8047
8048         * bufferlist.C:
8049         * lyx_cb.C: from above
8050
8051         * lyxfunc.C: allow to open non-existent files
8052
8053 2002-07-31  John Levon  <levon@movementarian.org>
8054
8055         * lyxserver.C: don't let incidental errors get
8056           in the way (errno)
8057
8058 2002-07-30  John Levon  <levon@movementarian.org>
8059
8060         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8061
8062 2002-07-30  John Levon  <levon@movementarian.org>
8063
8064         * lyxserver.h:
8065         * lyxserver.C: remove I/O callback too
8066
8067 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8068
8069         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8070         log.
8071
8072 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * many files: strip,frontStrip -> trim,ltrim,rtrim
8075
8076 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * PrinterParams.h: remove extern containsOnly, and include
8079         support/lstrings.h instead.
8080
8081         * LaTeX.C (scanAuxFile): modify because of strip changes
8082         (deplog): ditto
8083         * buffer.C (makeLaTeXFile): ditto
8084         * bufferparams.C (writeFile): ditt
8085         * lyxfont.C (stateText): ditto
8086         * lyxserver.C (read_ready): ditto
8087         * vc-backend.C (scanMaster): ditto
8088
8089         * BufferView_pimpl.h: ws changes
8090
8091         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8092
8093 2002-07-26  André Pönitz <poenitz@gmx.net>
8094
8095         * kb_sequence.C: remove unnedred usings
8096
8097 2002-07-26  Juergen Vigna  <jug@sad.it>
8098
8099         * lyxfind.C (LyXReplace): we have to check better if the returned
8100         text is not of theLockingInset()->getLockingInset().
8101
8102 2002-07-25  Juergen Vigna  <jug@sad.it>
8103
8104         * lyxfind.C (LyXReplace): don't replace if we don't get the
8105         right LyXText.
8106
8107         * undo_funcs.C (createUndo): remove debugging code.
8108
8109 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8110
8111         * buffer.C (parseSingleLyXformat2Token): Use default placement
8112         when reading old floats.
8113
8114         * FloatList.C (FloatList): Change the default placement of figure
8115         and tables to "tbp".
8116
8117 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * MenuBackend.C: using std::max
8120
8121 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * MenuBackend.C (expandToc):
8124         (expandToc2): code moved from xforms menu frontend. It is now
8125         generic and TOCs are transparent to menu frontends.
8126
8127 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8128
8129         * toc.C (getTocList): protect against buf=0
8130
8131         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8132         Menu as first parameter. Now, this calls itself recursively to
8133         expand a whole tree (this will be useful for TOC handling)
8134         (expandFloatInsert): remove 'wide' version of floats
8135
8136         * MenuBackend.h (submenuname): returns the name of the submenu.
8137         (submenu): returns the submenu itself, provided it has been
8138         created by MenuBackend::expand
8139
8140 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8141
8142         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8143         insets which have noFontChange == true. (bug #172)
8144
8145 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8146
8147         * BufferView_pimpl.C: add connection objects and use them...
8148         (Pimpl): here.
8149
8150 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8151
8152         * MenuBackend.C (expandLastfiles):
8153         (expandDocuments):
8154         (expandFormats):
8155         (expandFloatListInsert):
8156         (expandFloatInsert):
8157         (expand): split expand in parts
8158
8159 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8160
8161         * lyx_gui.C: use lyx_gui::exit()
8162
8163 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * LyXAction.C: show the failing pseudo action
8166
8167 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8168
8169         * buffer.C (readFile): Run the lyxconvert script in order to read
8170         old files.
8171
8172 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * LyXAction.C:
8175         * commandtags.h:
8176         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8177
8178 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * LyXAction.C:
8181         * commandtags.h:
8182         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8183
8184 2002-07-22  Herbert Voss  <voss@lyx.org>
8185
8186         * lengthcommon.C:
8187         * lyxlength.[Ch]: add support for the vertical lengths
8188
8189 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8190
8191         * toc.[Ch]: std:: fixes
8192
8193 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8194
8195         * lyxrc.C: do not include lyx_main.h
8196
8197         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8198         for layouts
8199
8200         * lyxrc.C:
8201         * encoding.C:
8202         * bufferlist.C:
8203         * BufferView2.C: include "lyxlex.h"
8204
8205         * tabular.h:
8206         * bufferparams.h: do not #include "lyxlex.h"
8207
8208         * lyxtextclasslist.C (Add): remove method
8209         (classlist): renamed to classlist_
8210
8211         * paragraph_pimpl.C:
8212         * paragraph.C:
8213         * text2.C:
8214         * CutAndPaste.C:
8215         * bufferview_funcs.C:
8216         * bufferlist.C:
8217         * text.C:
8218         * LaTeXFeatures.C:
8219         * buffer.C:
8220         * toc.C (getTocList): use BufferParams::getLyXTextClass
8221
8222         * toc.C (getTocList): use InsetFloat::addToToc
8223
8224         * toc.[Ch]: new files, containing helper functions to handle table
8225         of contents
8226
8227         * lyxfunc.C (dispatch): no need to remove spaces around command
8228         given as a string
8229         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8230         first command of the sequence; it is not very clever, but I do not
8231         have a better idea, actually
8232
8233         * LyXAction.C (LookupFunc): make sure to remove space at the
8234         beginning and end of the command
8235
8236 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8237
8238         * MenuBackend.C (getMenubar): new method: return the menubar of
8239         this menu set
8240         (read): treat differently reading of menu and menubar (in
8241         particular, the menubar has no name now)
8242         (Menu::menubar): remove
8243
8244         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8245         saving is finished
8246
8247 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8248
8249         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8250         a bibitem inset in a RTL paragraph.
8251
8252 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * paragraph_pimpl.C: constify
8255
8256         * BufferView_pimpl.C:
8257         * LaTeX.C:
8258         * lyxfunc.C: fix dispatch in a nicer way
8259
8260 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * lyxfunc.C (dispatch):
8263         * BufferView_pimpl.C:
8264         * BufferView_pimpl.h:
8265         * BufferView.C:
8266         * BufferView.h: rename Dispatch() to dispatch()
8267
8268         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8269
8270         * lyxlayout.C (Read): honor DependsOn tag
8271
8272         * lyxlayout.[Ch] (depends_on): new method
8273
8274         * version.C.in: update lyx_docversion
8275
8276         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8277
8278         * paragraph.C (validate): remove from here...
8279         * paragraph_pimpl.C (validate): ... and move here
8280         (isTextAt): make it const
8281
8282         * buffer.C (getLists): ws cleanup
8283
8284 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * language.C (read): Use iso8859-1 encoding in latex_lang
8287         (this prevents LyX from crashing when using iso10646-1 encoding).
8288
8289 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8290
8291         * text2.C (toggleInset): if cursor is inside an inset, close the
8292         inset and leave cursor _after_ it
8293
8294 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8295
8296         * lyxfunc.C: move minibuffer completion handling out of here
8297
8298 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * BufferView_pimpl.C:
8301         * LaTeX.C: fix dispatch calls
8302
8303 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8304
8305         * text.C (drawChars): Fix Arabic text rendering.
8306
8307 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8308
8309         * LyXAction.C:
8310         * commandtags.h:
8311         * lyxfunc.C: remove message-push/pop
8312
8313         * lyxserver.C:
8314         * lyxfunc.h:
8315         * lyxfunc.C: rationalise some code by removing verboseDispatch
8316           in favour of a bool argument to dispatch()
8317
8318 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8319
8320         * lyx_main.C (init): make sure to read symlinks as absolute paths
8321
8322 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * lyxfunc.h:
8325         * lyxfunc.C: no need for commandshortcut to be a member
8326
8327 2002-07-15  André Pönitz <poenitz@gmx.net>
8328
8329         * converter.C: add support for $$s (scripts from lib/scripts dir)
8330         * lyx_main.C: white space
8331
8332 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * bufferlist.C:
8335         * lyxrc.h:
8336         * lyxrc.C: remove second exit confirmation
8337
8338 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * BufferView.h:
8341         * BufferView.C:
8342         * BufferView2.C:
8343         * BufferView_pimpl.h:
8344         * BufferView_pimpl.C:
8345         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8346
8347 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8348
8349         * MenuBackend.C (expand): add numeric shortcuts to document menu
8350
8351         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8352
8353 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8354
8355         * lyxfont.C (setLyXFamily):
8356         (setLyXSeries):
8357         (setLyXShape):
8358         (setLyXSize):
8359         (setLyXMisc):
8360         (lyxRead):
8361         * debug.C (value):
8362         * buffer.C (asciiParagraph): use ascii_lowercase
8363
8364 2002-07-15  Mike Fabian  <mfabian@suse.de>
8365
8366         * lyxlex_pimpl.C (search_kw):
8367         * lyxlex.C (getLongString):
8368         * converter.h (operator<):
8369         * converter.C (operator<):
8370         * buffer.C (parseSingleLyXformat2Token):
8371         (asciiParagraph):
8372         * ToolbarDefaults.C (read):
8373         * MenuBackend.C (checkShortcuts):
8374         (read):
8375         * LColor.C (getFromGUIName):
8376         (getFromLyXName): use the compare_ascii_no_case instead of
8377         compare_no_case, because in turkish, 'i' is not the lowercase
8378         version of 'I', and thus turkish locale breaks parsing of tags.
8379
8380 2002-07-16  Angus Leeming  <leeming@lyx.org>
8381
8382         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8383         now takes a Buffer const & argument.
8384
8385 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8386
8387         * BufferView.C (resize): check there's a buffer to resize
8388
8389 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * lyxfunc.C: remove dead code
8392
8393         * lyxserver.h:
8394         * lyxserver.C: use lyx_guii::set_read_callback
8395
8396 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8399         an inset in a RTL paragraph.
8400
8401 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * lyxfunc.C: repaint after a font size update
8404
8405 2002-07-15  André Pönitz <poenitz@gmx.net>
8406
8407         * lyxlength.C: inBP should be able to return negative values
8408
8409 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * lyxfunc.C: use lyx_gui::update_fonts()
8412
8413 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * lyxfunc.C: use lyx_gui::update_color()
8416
8417 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8418
8419         * bufferlist.C:
8420         * lyxfunc.h:
8421         * lyxfunc.C:
8422         * lyxrc.h:
8423         * lyxrc.C: remove file->new asks for name option, and let
8424           buffer-new take an argument
8425
8426 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * BufferView_pimpl.C: remove unneeded extra repaint()
8429
8430 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * LyXAction.C: allow command-sequence with NoBuffer
8433
8434         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8435
8436 2002-07-10  Angus Leeming  <leeming@lyx.org>
8437
8438         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8439
8440 2002-07-09  Angus Leeming  <leeming@lyx.org>
8441
8442         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8443
8444 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8445
8446         * lengthcommon.h: whitespace
8447
8448         * lyxfunc.C: update scrollbar after goto paragraph
8449
8450         * lyxtext.h: factor out page break drawing, and fix it so
8451           page break/added space paints as selected nicely
8452
8453 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8454
8455         * BufferView_pimpl.C: add FIXMEs, clean up a little
8456
8457 2002-07-09  André Pönitz <poenitz@gmx.net>
8458
8459         * lyxfont.[Ch]: support for wasy symbols
8460
8461 2002-07-08  André Pönitz <poenitz@gmx.net>
8462
8463         * BufferView_pimpl.C: apply John's patch for #93.
8464
8465 2002-07-05  Angus Leeming  <leeming@lyx.org>
8466
8467         * BufferView_pimpl.C (buffer): generate previews if desired.
8468
8469         * LColor.h: add "preview" to the color enum.
8470
8471         * LColor.C (LColor): add a corresponding entry to the items array.
8472
8473         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8474         with this buffer.
8475
8476 2002-07-05  Angus Leeming  <leeming@lyx.org>
8477
8478         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8479         The body of the code is now in the method that is passed an ostream &
8480         rather than a file name.
8481         Pass an additional only_preamble parameter, useful for the forthcoming
8482         preview stuff.
8483
8484 2002-07-03  André Pönitz <poenitz@gmx.net>
8485
8486         * lyxfunc.C: simplify getStatus() a bit for math stuff
8487
8488 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8489
8490         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8491
8492 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8493
8494         * text.C (changeRegionCase): do not change case of all the
8495         document when region ends at paragraph end (bug #461)
8496
8497 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8498
8499         * paragraph.C (startTeXParParams):
8500         (endTeXParParams): add \protect when necessary
8501
8502 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8503
8504         * BufferView_pimpl.C (workAreaExpose): remove warning
8505
8506 2002-06-27  Angus Leeming  <leeming@lyx.org>
8507
8508         * Makefile.am: add lyxlayout_ptr_fwd.h.
8509
8510 2002-06-26  André Pönitz <poenitz@gmx.net>
8511
8512         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8513
8514 2002-06-25  Angus Leeming  <leeming@lyx.org>
8515
8516         * lyxfunc.C (dispatch): Comment out the call to
8517         grfx::GCache::changeDisplay. The method no longer exists now that the
8518         pixmap generation part of the graphics loader has been moved into
8519         InsetGraphics.
8520
8521 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8522
8523         * text2.C: layout as layout
8524
8525         * text.C: layout as layout
8526
8527         * tabular.C (OldFormatRead): layout as layout
8528
8529         * paragraph_pimpl.C (TeXDeeper): layout as layout
8530         (realizeFont): layout as layout
8531
8532         * paragraph.C (writeFile): layout as layout
8533         (validate): layout as layout
8534         (getFont): layout as layout
8535         (getLabelFont): layout as layout
8536         (getLayoutFont): layout as layout
8537         (breakParagraph): layout as layout
8538         (stripLeadingSpaces): layout as layout
8539         (getEndLabel): layout as layout
8540         (getMaxDepthAfter): layout as layout
8541         (applyLayout): layout as layout
8542         (TeXOnePar): layout as layout
8543         (simpleTeXOnePar): layout as layout
8544         (TeXEnvironment): layout as layout
8545         (layout): layout as layout
8546         (layout): layout as layout
8547
8548         * lyxtextclass.C (compare_name): new functor to work with
8549         shared_ptr, layout as layout
8550         (Read): layout as layout
8551         (hasLayout): layout as layout
8552         (operator): layout as layout
8553         (delete_layout): layout as layout
8554         (defaultLayout): layout as layout
8555
8556         * lyxlayout_ptr_fwd.h: new file
8557
8558         * lyxlayout.C (Read): layout as layout
8559
8560         * lyx_cb.C (MenuInsertLabel): layout as layout
8561
8562         * bufferlist.C (newFile): layout as layout
8563
8564         * buffer.C (readLyXformat2): layout as layout
8565         (parseSingleLyXformat2Token): layout as layout
8566         (insertStringAsLines): layout as layout
8567         (asciiParagraph): layout as layout
8568         (latexParagraphs): layout as layout
8569         (makeLinuxDocFile): layout as layout
8570         (simpleLinuxDocOnePar): layout as layout
8571         (makeDocBookFile): layout as layout
8572         (simpleDocBookOnePar): layout as layout
8573         (getLists): layout as layout
8574
8575         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8576
8577         * CutAndPaste.C (cutSelection): layout as layout
8578         (pasteSelection): layout as layout
8579         (SwitchLayoutsBetweenClasses): layout as layout
8580
8581         * BufferView_pimpl.C (Dispatch): layout as layout
8582         (smartQuote): layout as layout
8583
8584         * BufferView2.C (unlockInset): layout as layout
8585
8586 2002-06-24  André Pönitz <poenitz@gmx.net>
8587
8588         * lyxfunc.C: fix #487
8589
8590 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8591
8592         * lyxrc.h:
8593         * lyxrc.C:
8594         * lyxfunc.C: remove display_shortcuts, show_banner
8595
8596 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * Buffer_pimpl.C: oops, update on resize
8599
8600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * buffer.C:
8603         * converter.C:
8604         * exporter.C:
8605         * lyxfunc.C:
8606         * BufferView.h:
8607         * BufferView.C: use repaint()
8608
8609         * BufferView_pimpl.h:
8610         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8611           as it's a clearer description. Remove superfluous
8612           redraws.
8613
8614 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * text.C: fix bug 488. Not ideal, but getting
8617           getWord() to work properly for the insets that
8618           matter is more difficult ...
8619
8620 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * BufferView_pimpl.C:
8623         * LyXAction.C:
8624         * commandtags.h:
8625         * lyxfunc.C: remove the six million index lyxfuncs to just
8626           one, and DTRT (bug 458)
8627
8628 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * BufferView.h:
8631         * BufferView.C:
8632         * BufferView_pimpl.h:
8633         * BufferView_pimpl.C: clean up resize() stuff,
8634           and unnecessary updateScreen()s
8635
8636 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * BufferView.h:
8639         * BufferView.C:
8640         * BufferView_pimpl.h:
8641         * BufferView_pimpl.C:
8642         * lyxfind.h:
8643         * lyxfind.C:
8644         * minibuffer.C: remove focus management of workarea,
8645           not needed. Use screen's greyOut()
8646
8647 2002-06-17  Herbert Voss  <voss@lyx.org>
8648
8649         * converter.C: (convert) do not post a message, when converting
8650         fails, let the calling function decide what to do in this case
8651
8652 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * lyxfunc.C: tidy up a little
8655
8656 2002-06-16    <alstrup@diku.dk>
8657
8658         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8659         Got rid of FORMS_H_LOCATION include. Now we are
8660         GUII.
8661
8662 2002-06-15  LyX Development team  <lyx@rilke>
8663
8664         * buffer.[Ch] (sgmlOpenTag):
8665         (sgmlCloseTag): Added support for avoiding pernicious mixed
8666         content. Return number of lines written.
8667
8668         (makeLinuxDocFile):
8669         (makeDocBookFile): Fixed calls to sgml*Tag.
8670         Simple white space clean.
8671
8672         (simpleDocBookOnePar): Simple white space clean.
8673
8674         * tabular.[Ch] (docBook): Renamed to docbook and got another
8675         argument to related with the pernicious mixed content.
8676
8677         (docbookRow): Fixed calls for docbook inset method.
8678
8679 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8680
8681         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8682         so it's X11 independent.
8683
8684         * kb*.[Ch]: ditto.
8685
8686         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8687
8688 2002-06-15  Lyx Development team  <lyx@electronia>
8689
8690         * intl.h: Renamed getTrans to getTransManager.
8691
8692 2002-06-14  Angus Leeming  <leeming@lyx.org>
8693
8694         * Makefile.am: nuke forgotten stl_string_fwd.h.
8695
8696 2002-06-12  Angus Leeming  <leeming@lyx.org>
8697
8698         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8699
8700 2002-06-13  Angus Leeming  <leeming@lyx.org>
8701
8702         * LaTeX.C:
8703         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8704
8705 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8706
8707         * kbmap.C (getiso): add support for cyrillic and greek
8708
8709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * BufferView.h:
8712         * BufferView.C:
8713         * BufferView_pimpl.h:
8714         * BufferView_pimpl.C: move bogus scrolling logic
8715           to xforms
8716
8717 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8718
8719         * lyxfunc.C:
8720         * BufferView_pimpl.C: view->resize() change
8721
8722 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8723
8724         * BufferView_pimpl.C: topCursorVisible
8725           prototype change
8726
8727 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8728
8729         * Makefile.am:
8730         * lyx_gui.h:
8731         * lyx_gui.C: move to frontends/
8732
8733         * main.C:
8734         * lyx_main.h:
8735         * lyx_main.C: changes from above
8736
8737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8738
8739         * intl.C:
8740         * intl.h:
8741         * kbmap.C:
8742         * kbsequence.C:
8743         * lyx_cb.C:
8744         * lyx_main.C: minor tidy
8745
8746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8747
8748         * BufferView_pimpl.h:
8749         * BufferView_pimpl.C:
8750         * BufferView.h:
8751         * BufferView.C: make painter() const,
8752           remove dead code
8753
8754         * BufferView2.C: use screen() accessor
8755
8756         * lyx_main.h:
8757         * lyx_main.C: some minor cleanup
8758
8759 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8760
8761         * BufferView_pimpl.h:
8762         * BufferView_pimpl.C: remove enter/leaveView,
8763           use workHeight()
8764
8765 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView.h:
8768         * BufferView.C:
8769         * BufferView2.C:
8770         * BufferView_pimpl.h:
8771         * BufferView_pimpl.C: only construct screen once,
8772           rename
8773
8774         * lyxrc.C: remove pointless comment
8775
8776 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8777
8778         * BufferView.h:
8779         * BufferView.C: remove active() and belowMouse()
8780
8781         * BufferView_pimpl.h:
8782         * BufferView_pimpl.C: use workarea() not workarea_,
8783           and make it use a scoped_ptr instead
8784
8785 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8786
8787         * lyx_gui.C: add debug message on BadWindow
8788
8789 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8790
8791         * sp_spell.C: fdopen is not part of the C++ standard.
8792
8793         * paragraph.C (InsetIterator): use >= instead of ==
8794
8795 2002-06-07  Angus Leeming  <leeming@lyx.org>
8796
8797         Fixes needed to compile with Compaq cxx 6.5.
8798         * BufferView_pimpl.C:
8799         * DepTable.C:
8800         * buffer.C:
8801         * converter.C:
8802         * encoding.C:
8803         * lyx_gui.C:
8804         * lyx_main.C:
8805         * lyxtextclasslist.C:
8806         * minibuffer.C:
8807         * sp_spell.C:
8808         * tabular_funcs.C:
8809         * vc-backend.C:
8810         all c-library variables have been moved into namespace std. Wrap
8811         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8812
8813         * lyxlength.C:
8814         * tabular-old.C:
8815         * tabular.C:
8816         Add a using std::abs declaration.
8817
8818         * kbmap.h (modifier_pair):
8819         * paragraph.h (InsetTable, InsetList):
8820         * lyxfont.h (FontBits):
8821         type definition made public.
8822
8823         * bufferlist.C (emergencyWriteAll): the compiler complains that
8824         there is more than one possible lyx::class_fun template to choose from.
8825         I re-named the void specialisation as lyx::void_class_fun.
8826
8827         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8828
8829         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8830         the compiler is is unable to find tostr in write_attribute.
8831
8832 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * buffer.C (sgmlError): hide #warning
8835
8836 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * xtl/*: get rid of xtl, which is not in use anyway
8839
8840         * LyXAction.C (init):
8841         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8842         were unimplemented xtl experimentation
8843
8844 2002-06-04  André Pönitz <poenitz@gmx.net>
8845
8846         * lyxfunc.C: disable array operation on simple formulae
8847
8848 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8849
8850         * converter.C: constify a bit
8851
8852 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * lyx_gui.C: check xforms version correctly
8855
8856 2002-04-30  Herbert Voss  <voss@lyx.org>
8857
8858         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8859         "keep" option
8860
8861 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8864           attempt to register it with a VCS)
8865
8866 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8867
8868         * lyx_main.C (init): honor variables LYX_DIR_13x and
8869         LYX_USERDIR_13x
8870
8871 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * buffer.h:
8874         * buffer.C:
8875         * lyx_main.C: fix a crash on bad command line,
8876           and give a useful exit status on error
8877
8878         * lyxfunc.C (doImport): allow -i lyx to work
8879
8880 2002-03-30  André Pönitz <poenitz@gmx.net>
8881
8882         * lyxfunc.C: mathed font changes
8883
8884 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * LaTeX.C:
8887         * importer.h:
8888         * importer.C:
8889         * lyx_sty.h:
8890         * lyx_sty.C:
8891         * lyxlex.C:
8892         * lyxrow.h:
8893         * lyxtext.h:
8894         * paragraph.h:
8895         * paragraph.C:
8896         * texrow.h:
8897         * texrow.C:
8898         * text.C:
8899         * trans_mgr.h: srcdocs, and some minor cleanups
8900
8901 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8904         call getFont all the time)
8905
8906 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * switch from SigC signals to boost::signals
8909
8910 2002-05-29  André Pönitz <poenitz@gmx.net>
8911
8912         * paragraph_pimpl.C (getChar): don't call size() too often...
8913
8914 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * paragraph_pimpl.C (insertChar): do not try to update tables when
8917         appending (pos == size())
8918
8919         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8920         in order to reduce drastically the number of comparisons needed to
8921         parse a large document
8922
8923 2002-05-29  André Pönitz <poenitz@gmx.net>
8924
8925         * text.C:
8926         * text2.C:
8927         * lyxtextclass.C:
8928         * sp_pspell.h:
8929         * textclasslist.[Ch]:
8930         * sp_ispell.h: whitespace change
8931
8932 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8935         lyxaction directly now.
8936
8937 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * trans.C:
8940         * lyxfont.C:
8941         * lyxvc.C: remove unused headers
8942
8943 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * Makefile.am:
8946         * buffer.h:
8947         * undostack.h:
8948         * undostack.C:
8949         * undo_funcs.h:
8950         * undo_funcs.C: some cleanups. Use shared_ptr
8951           and a template for the undo stacks.
8952
8953 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8954
8955         * BufferView_pimpl.h:
8956         * BufferView_pimpl.C:
8957         * kbmap.h:
8958         * kbmap.C:
8959         * kbsequence.h:
8960         * kbsequence.C:
8961         * lyxfunc.h:
8962         * lyxfunc.C:
8963         * text2.C: use key_state/mouse_state
8964
8965 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8966
8967         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8968         and LSubstring
8969
8970         * chset.C: change include order
8971         (loadFile): use boost regex and get rid of LRegex and LSubstring
8972
8973         * Makefile.am (BOOST_LIBS): new variable
8974         (lyx_LDADD): use it
8975
8976         * LaTeX.C: change include order.
8977         (scanAuxFile): use boost regex and get rid of LRegex and
8978         LSubstring
8979         (deplog): ditto
8980
8981 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * ColorHandler.h:
8984         * ColorHandler.C:
8985         * FontInfo.h:
8986         * FontInfo.C: moved to frontends/xforms/
8987
8988         * FontLoader.h:
8989         * FontLoader.C: moved into frontends for GUIIzation
8990
8991         * Makefile.am:
8992         * lyx_gui.C:
8993         * lyxfont.C:
8994         * lyxfunc.C: changes from above
8995
8996 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * LColor.C: remove spurious X include
8999
9000         * BufferView_pimpl.C:
9001         * Makefile.am:
9002         * font.h:
9003         * font.C:
9004         * text.C:
9005         * text2.C: move font metrics to frontends/
9006
9007 2002-05-24  Juergen Vigna  <jug@sad.it>
9008
9009         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9010         setting the undo_cursor.
9011
9012         * ParagraphParameters.h: include local includes first.
9013
9014 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * BufferView_pimpl.C:
9017         * BufferView_pimpl.h:
9018         * Makefile.am:
9019         * WorkArea.h:
9020         * WorkArea.C:
9021         * screen.C: move WorkArea into frontends/
9022
9023         * lyxscreen.h:
9024         * screen.C:
9025         * text.C:
9026         * BufferView.C:
9027         * BufferView2.C: move LyXScreen into frontends/
9028
9029         * lyxlookup.h:
9030         * lyxlookup.C:
9031         * lyx_gui.C: move lyxlookup into frontends/xforms/
9032
9033 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * BufferView2.C:
9036         * BufferView_pimpl.C:
9037         * FontLoader.C:
9038         * LyXView.h:
9039         * LyXView.C:
9040         * Makefile.am:
9041         * WorkArea.C:
9042         * XFormsView.h:
9043         * XFormsView.C:
9044         * buffer.C:
9045         * bufferlist.C:
9046         * bufferview_funcs.C:
9047         * converter.C:
9048         * importer.C:
9049         * lyx_cb.C:
9050         * lyx_gui.C:
9051         * lyx_main.C:
9052         * lyx_find.C:
9053         * lyxfunc.C:
9054         * lyxvc.C:
9055         * minibuffer.C:
9056         * text.C:
9057         * text2.C:
9058         * trans.C:
9059         * vc-backend.C: move LyX/XFormsView into frontends/
9060
9061 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * Makefile.am:
9064         * PainterBase.C:
9065         * PainterBase.h:
9066         * Painter.C:
9067         * Painter.h:
9068         * WorkArea.C:
9069         * WorkArea.h:
9070         * screen.C:
9071         * tabular.C:
9072         * text.C:
9073         * text2.C: move Painter to frontends/
9074
9075 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * buffer.C: comment out some some code that depend upon lyx_format
9078         < 220
9079
9080         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9081         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9082
9083         * buffer.h (NO_COMPABILITY): turn off compability
9084
9085         * ColorHandler.C: include scoped_array.hpp
9086
9087         * font.C: Use more specific smart_ptr header.
9088         * Painter.C: ditto
9089         * gettext.C: ditto
9090         * ShareContainer.h: ditto
9091         * lyx_main.h: ditto
9092         * kbmap.h: ditto
9093         * FontInfo.h: ditto
9094         * BufferView_pimpl.h: ditto
9095         * ColorHandler.h: ditto
9096
9097         * kbmap.C (defkey): change call to shared_ptr::reset
9098
9099 2002-05-21  Juergen Vigna  <jug@sad.it>
9100
9101         * buffer.C (insertErtContents): fix to insert ert asis if it is
9102         non empty. Skip it completely if it contains only whitespaces.
9103
9104 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * BufferView_pimpl.C:
9107         * BufferView2.C: clear selection on paste (bug 393)
9108
9109 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * DepTable.C: include ctime
9112
9113 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9114
9115         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9116
9117 2002-05-14  Juergen Vigna  <jug@sad.it>
9118
9119         * text.C (breakParagraph): fixed function to honor the keepempty
9120         layout in the right maner and also to permit the right breaking
9121         algorithm on empty or non empyt keepempty paragraphs.
9122
9123         * paragraph.C (breakParagraph): we have to check also if the par
9124         is really empty (!size()) for isempty otherwise we do the wrong
9125         paragraph break.
9126
9127 2002-05-10  Juergen Vigna  <jug@sad.it>
9128
9129         * buffer.[Ch] : The following are only changes to the ert
9130         compatibility read reading old LaTeX layout and font stuff and
9131         convert it to ERTInsets.
9132
9133         * buffer.h: added isErtInset().
9134
9135         * buffer.C (struct ErtComp): add a fromlayout bool to check
9136         if we're inside a LaTeX layout.
9137         (isErtInset): new helper function.
9138         (insertErtContents): look for other ert insets before this one
9139         and insert the contents there, so that we don't have subsequent
9140         ERT insets with nothing between them. This way we create only one
9141         inset with multiple paragraphs. Also check if we don't insert only
9142         spaces ' ' as they are ignored anyway afterwards in the .tex file
9143         so if we have only spaces we will ignore this latex part in the
9144         new file.
9145         (parseSingleLyXformat2Token \\layout): better compatibility when
9146         reading layout-latex stuff.
9147         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9148         language tag.
9149         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9150         stuff after reading the inset only get the information back from
9151         the stack.
9152
9153 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9154
9155         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9156
9157         * LaTeXFeatures.C (getBabelOptions): New method.
9158
9159 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9160
9161         * BufferView_pimpl.C (Dispatch): work around missing argument for
9162         'layout'
9163
9164 2002-05-08  Juergen Vigna  <jug@sad.it>
9165
9166         * text.C (leftMargin): handle paragraph leftindent.
9167
9168         * paragraph.C (writeFile): write the new \\leftindent tag.
9169         (validate): handle leftindent code.
9170         (TeXEnvironment): handle paragraphleftindent code again.
9171
9172         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9173
9174         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9175         for paragrap_extra indent code and new token \\leftindent.
9176         (latexParagraphs): handle the leftindent as environment.
9177
9178         * ParameterStruct.h: added leftindent support.
9179
9180         * ParagraphParameters.C (leftIndent): added support functions for
9181         the paragraph left indent.
9182
9183         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9184         more appropriate.
9185
9186 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9187
9188         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9189         inside insetERT.
9190
9191         * text.C (computeBidiTables): No bidi in insetERT.
9192
9193         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9194         in RTL documents.
9195
9196 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9197
9198         * version.C.in: pre 5
9199
9200 2002-05-02  José Matos  <jamatos@fep.up.pt>
9201         * buffer.C (makeDocBookFile): white space changes, add newline to
9202         command styles.
9203         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9204
9205         * tabular.C (docBook): fix typo.
9206
9207 2002-05-03  Juergen Vigna  <jug@sad.it>
9208
9209         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9210         change in LyXText as we can not be sure it was not freed.
9211         (drawOneRow): remove unused code.
9212
9213         * text.C (drawInset): redo the calculation of the need_break_row as
9214         it could have a row which was already freed.
9215         (draw): look at the return value of drawInset and return false if
9216         it also returned false.
9217         (paintRowText): look at the return value of draw and return false if
9218         it also returned false.
9219
9220         * lyxtext.h: added bool return type to drawInset() and draw() so that
9221         if we have a change in the row so that the rowbreak has to be redone
9222         we abort drawing as it will be called again.
9223
9224 2002-05-02  Juergen Vigna  <jug@sad.it>
9225
9226         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9227         a change in the maintext also if we're inside an inset.
9228         (Dispatch): set the cursor again after a break line and after the
9229         screen has been updated as it could be we're in a different row.
9230
9231         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9232         to set the cursor behind the pargraph with > size().
9233         (setCursor): check also for the same paragraph when checking where
9234         to put the cursor if we have a NFR inset.
9235
9236         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9237         parts of layout read further up as it still was in the wrong
9238         position.
9239
9240 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9241
9242         * screen.C (drawFromTo): change sine fullRebreak always return
9243         true.
9244
9245         * buffer.C (parseSingleLyXformat2Token): reindent some
9246
9247         * BufferView_pimpl.C (update): change since fullRebreak always
9248         return true.
9249         (Dispatch): git rid of the last hardcoded "Standard"s.
9250
9251 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9252
9253         * text2.[Ch] (fullRebreak): make it return void now that we always
9254         returned true.
9255
9256 2002-04-30  Juergen Vigna  <jug@sad.it>
9257
9258         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9259         ert compatibility check for "latex" layout.
9260
9261 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9262
9263         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9264         minipages: use col% instead of p%, and also use the current font.
9265         (makeLaTeXFile): Fix use babel condition.
9266         (parseSingleLyXformat2Token): Correct font when reading old floats.
9267
9268 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9269
9270         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9271         inserting list of floats.
9272
9273 2002-04-25  Herbert Voss  <voss@lyx.org>
9274
9275         * MenuBackend.C (expand): don't add the graphics extensions to the
9276         export menu
9277
9278 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9279
9280         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9281         non-existing layout, do not complain if it was the default layout
9282         of the original class (bug #342)
9283
9284 2002-04-24  Juergen Vigna  <jug@sad.it>
9285
9286         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9287         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9288
9289 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9290
9291         * buffer.C (getBibkeyList): If using \bibliography, return the
9292         option field with the reference itself. Enables us to provide natbib
9293         support when using \bibliography.
9294
9295 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9296
9297         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9298
9299         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9300         natbib is provided by the LaTeX class.
9301
9302 2002-04-23  Juergen Vigna  <jug@sad.it>
9303
9304         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9305         Wakeup functions.
9306
9307         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9308
9309 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9312
9313         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9314         ensuremath around textordmasculine, textordfeminine and
9315         textdegree.
9316
9317 2002-04-19  Juergen Vigna  <jug@sad.it>
9318
9319         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9320         reinitializing the buffer otherwise row-dimensions may be wrong.
9321         (update): reset also the selection cursors if they do exits otherwise
9322         their x/y positions may be wrong.
9323
9324         * text2.C (cursorDown): don't enter the inset if we came from a row
9325         above and are one row over the inset.
9326
9327         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9328         really leaving an inset.
9329
9330 2002-04-18  Juergen Vigna  <jug@sad.it>
9331
9332         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9333         of the selected paragraph does not have the selected layout also if
9334         the last one had!
9335
9336         * text2.C (setLayout): fixed bug which did not change last selected
9337         paragraph.
9338
9339         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9340         changed the read and substituted \\end_float with \\end_inset!
9341
9342         * BufferView_pimpl.C (cursorPrevious):
9343         (cursorNext): fixed to make it work with rows heigher than the work
9344         area without moving the cursor only the draw of the row.
9345         (workAreaMotionNotify): fix jumping over high rows.
9346
9347 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9350         Ressler.
9351
9352 2002-04-16  Juergen Vigna  <jug@sad.it>
9353
9354         * text2.C (setCursor): set also the irow().
9355         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9356         (cursorUp):
9357         (cursorDown): support for locking an inset if the x_fix value goes
9358         inside it. That way I can transverse insets too with cursor up/down.
9359
9360         * lyxrow.h: added irow helper function same as other (i) functions.
9361
9362         * BufferView_pimpl.C (cursorPrevious):
9363         (cursorNext): fixed for insets!
9364
9365 2002-04-15  Juergen Vigna  <jug@sad.it>
9366
9367         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9368         position otherwise it is wrong in some cases.
9369
9370         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9371         inside the inset before the call.
9372
9373 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9374
9375         * buffer.[Ch] (getBibkeyList): make it const.
9376
9377 2002-04-12  Juergen Vigna  <jug@sad.it>
9378
9379         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9380
9381         * text2.C (getCursorX): new helper function
9382         (setCursor): compute also ix_
9383         (setCursorFromCoordinates): set also ix.
9384
9385         * lyxcursor.h: added ix_ and helper functions.
9386
9387         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9388
9389         * buffer.C (insertStringAsLines): dont break paragraph if the this
9390         paragraph is inside an inset which does not permit it!
9391
9392         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9393         also with no chars on this paragraph.
9394         (paintRowText): only paint stuff if it's inside the workarea!
9395
9396         * paragraph.C (breakParagraph): honor keepempty flag and break the
9397         paragraph always below not above.
9398
9399         * BufferView2.C (unlockInset): update the paragraph layout on inset
9400         unlock as we changed paragraph in such a case.
9401
9402         * lyxfind.C (LyXFind): clear the former selection if not found!
9403
9404         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9405         again called in insertChar().
9406
9407         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9408         an inset which uses the whole row!
9409         (rightMargin): ditto.
9410         (insertChar): force a rebreak if we inserted an inset!
9411
9412 2002-03-28  Herbert Voss  <voss@lyx.org>
9413
9414         * lyxlength.[Ch]: add inBP() to get the right PS-point
9415         units (BigPoint). With inPixels we have rounding errors
9416
9417 2002-04-11  Juergen Vigna  <jug@sad.it>
9418
9419         * text2.C (setCursorFromCoordinates): set iy to the right value.
9420         (setCursor): add check if row->previous exists!
9421
9422         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9423         an old float_type as this was the case in the old code!
9424
9425         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9426
9427         * BufferView2.C (showLockedInsetCursor): use iy
9428         (fitLockedInsetCursor): ditto
9429
9430         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9431         locked insets as there we have the right value now.
9432
9433         * lyxcursor.C: added iy_ variable and iy functions to set to the
9434         baseline of cursor-y of the locked inset.
9435
9436         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9437         (setCursor): fixed for insets which need a full row.
9438
9439         * text.C (rowLastPrintable): don't ignore the last space when before
9440         an inset which needs a full row.
9441         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9442         as last character of a row when before a inset which needs a full row.
9443
9444 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * version.C.in: update date
9447
9448         * text2.C (fullRebreak): try to always return true and see what
9449         happens...
9450
9451 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9452
9453         * MenuBackend.C (expand): use Floating::listName
9454
9455         * FloatList.C (FloatList): add listName argument to the built-in
9456         floats
9457
9458         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9459         text associated with the float.
9460
9461 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9464
9465 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9466
9467         * ShareContainer.h: add a couple of missing typenames.
9468
9469 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9470
9471         * lyxrc.C (getDescription): use _() correctly rather than N_().
9472
9473 2002-03-28  Herbert Voss  <voss@lyx.org>
9474
9475         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9476         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9477
9478 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9481         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9482
9483 2002-03-29  Juergen Vigna  <jug@sad.it>
9484
9485         * lyxfunc.C (dispatch): add a missing fitCursor call.
9486
9487         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9488         it was scrolled by a cursor move, so return the bool status.
9489
9490         * BufferView.C (fitCursor): return the bool flag also to the outside
9491         world as this is needed.
9492
9493         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9494
9495         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9496         call the edit() as it is not needed (and wrong) IMO.
9497         (workAreaButtonPress): set the screen_first variable before evt.
9498         unlock the inset as this may change screen_first and then we have
9499         a wrong y position for the click!
9500
9501 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * MenuBackend.C (expand): another translation that I missed
9504
9505 2002-03-28  Juergen Vigna  <jug@sad.it>
9506
9507         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9508
9509         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9510
9511 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9512
9513         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9514
9515         * MenuBackend.C (expand): fix export/view/update when there is no
9516         document open.
9517
9518 2002-03-27  Herbert Voss  <voss@lyx.org>
9519
9520         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9521         and text%
9522
9523 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * bufferview_funcs.C (currentState): only show paragraph number
9526         for is DEVEL_VERSION is set.
9527
9528         * lyxfunc.C (dispatch): put warning in INFO channel
9529
9530         * MenuBackend.C (expand): translate the name of floats
9531
9532         * FloatList.C (FloatList): mark the float names for translation
9533
9534         * converter.C (convert): use LibScriptSearch
9535
9536 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * MenuBackend.C (defaults): fix default menu (we might as well get
9539         rid of it...)
9540
9541 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9542
9543         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9544         directory.
9545
9546 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9547
9548         * lyxvc.C: reorder includes.
9549
9550 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9553           properly
9554
9555 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * CutAndPaste.C: change layouts earlier on paste
9558           to avoid crashing when calling getFont()
9559
9560 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9563         irritating #error.
9564
9565 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * WorkArea.C: remove 'Pending' debug message.
9568
9569         * most files: ws cleanup
9570
9571         * buffer.[Ch]: ws changes
9572
9573         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9574
9575 2002-03-21  Juergen Vigna  <jug@sad.it>
9576
9577         * tabular.C (SetMultiColumn): collapse also the contents of the
9578         cells and set the last border right. Added a Buffer const * param.
9579
9580 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9583         linking or not.
9584
9585 2002-03-19  Juergen Vigna  <jug@sad.it>
9586
9587         * text2.C (clearSelection): reset also xsel_cache.
9588
9589         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9590         where it needs to be called (John tells us to do so too :)
9591         (selectionLost): reset sel_cache.
9592
9593         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9594
9595 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * text2.C (setCursorIntern): put debuging code in INSETS channel
9598
9599 2002-03-19  André Pönitz <poenitz@gmx.net>
9600
9601         * lyxfunc.C: tiny whitespace change
9602
9603 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * ToolbarDefaults.C (init):
9606         * LyXAction.C (init):
9607         * commandtags.h:
9608         * BufferView_pimpl.C (Dispatch):
9609         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9610
9611 2002-03-19  Allan Rae  <rae@lyx.org>
9612
9613         * exporter.C (Export): removeAutoInsets before doing anything else.
9614         While I've just introduced a dependency on BufferView this really is
9615         the best place to clean the buffer otherwise you need to cleanup in
9616         a dozen places before calling export or cleanup in a dozen functions
9617         that export calls.
9618
9619         * converter.C (runLaTeX):
9620         (scanLog): Better handling of removeAutoInsets and screen updates.
9621
9622         * lyxfunc.C (dispatch): small whitespace changes
9623
9624 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9625
9626         * WorkArea.C (C_WorkAreaEvent): return a value.
9627         (event_cb): return 1 if we handled the event, 0 otherwise.
9628
9629         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9630
9631 2002-03-18  Juergen Vigna  <jug@sad.it>
9632
9633         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9634         (GetAdditionalWidth): ditto.
9635         (RightLine): ditto.
9636         (LeftLine): ditto.
9637
9638         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9639         inset if we're there actually (probably not used right now but this
9640         is the direction to go for unifying code).
9641         (paste): disable code to clear the selection.
9642
9643         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9644         inside an InsetText and move the check further up as it is in the
9645         wrong place.
9646
9647         * text2.C (pasteSelection): set a selection over the pasted text.
9648
9649 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9650
9651         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9652         and libgraphics to build on Cygwin.
9653
9654 2002-03-15  Juergen Vigna  <jug@sad.it>
9655
9656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9657         inserting an Inset into the paragraph. I know this is not the best
9658         fix but we already use current_view in CutAndPaste so we will remove
9659         all of it's using at the same time.
9660
9661         * buffer.C (sgmlError): deactivated function till it is rewritten in
9662         the right mode, now it can create problems.
9663
9664         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9665         before accessing it.
9666
9667 2002-03-14  Juergen Vigna  <jug@sad.it>
9668
9669         * undo_funcs.C (textHandleUndo): do the right thing when updating
9670         the inset after the undo/redo.
9671
9672         * text2.C (setCursor): just some testcode for #44 not ready yet.
9673
9674         * undo_funcs.C (textHandleUndo): set the next() and previous()
9675         pointers of the paragraph to 0 before deleting otherwise we have
9676         problems with the Paragraph::[destructor].
9677
9678         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9679         on a paragraph insertion.
9680
9681 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9682
9683         * buffer.C (asciiParagraph): use += operator for char append to
9684         string.
9685
9686         * paragraph.C (getFontSettings): compare >= not just >
9687         (highestFontInRange): ditto
9688         (setFont): ditto
9689
9690 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * paragraph.C: change several algorithm to be more appripriate for
9693         the problem domain. This is lookip in FontList and in the InsetList.
9694
9695 2002-03-13  André Pönitz <poenitz@gmx.net>
9696
9697         * commandtags.h:
9698         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9699
9700 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * commandtags.h:
9703         * LyXAction.C:
9704         * lyxfunc.C:
9705         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9706
9707 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9708
9709         * Painter.C (display): anon helper function, adjust code for this
9710         change.
9711         (pixmap): remove function.
9712
9713         * Painter.h: remove private display variable.
9714
9715         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9716
9717 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9718
9719         * WorkArea.[Ch]: remove figinset_canvas cruft.
9720
9721 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * lyxtextclass.C (operator): add one item cache optimization.
9724
9725         * bufferlist.h: doxy changes
9726
9727         * bufferlist.C: ws changes
9728
9729         * DepTable.[Ch] (ext_exist): place const in the right spot.
9730
9731         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9732         call resizeInsets.
9733         (workAreaExpose): call resizeInsets when the with BufferView changes.
9734         (Dispatch): adjust for protectedBlank removal
9735         (specialChar): call updateInset if the insert went ok.
9736
9737         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9738         specialChar instead.
9739
9740         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9741
9742         * BufferView.h: doxy change
9743
9744         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9745
9746         * lyxtextclass.C (operator[]): remove non-const version
9747         (defaultLayout): remove non-const version
9748
9749 2002-03-12  Juergen Vigna  <jug@sad.it>
9750
9751         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9752         did resize the LyXText too.
9753
9754         * buffer.C (readLyXformat2): set layout information on newly allocated
9755         paragraphs.
9756
9757         * tabular.C (OldFormatRead): set layout information on the paragraph.
9758
9759 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9760
9761         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9762
9763 2002-03-11  Juergen Vigna  <jug@sad.it>
9764
9765         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9766         plainly wrong.
9767         (resizeCurrentBuffer): force also the insets to resize themselfes.
9768         (moveCursorUpdate): fixed up for InsetText.
9769
9770 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9771
9772         * commandtags.h:
9773         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9774         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9775         value of Dialogs::tooltipsEnabled().
9776         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9777
9778 2002-03-08  Juergen Vigna  <jug@sad.it>
9779
9780         * BufferView_pimpl.C (updateInset): update inset inside inset also
9781         if it isn't inside theLockingInset().
9782
9783 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * buffer.C (asciiParagraph): redo some of the word and line length
9786         handling.
9787         (getLists): look for Caption instead of caption.
9788
9789 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * buffer.C (Buffer): initialize niceFile to true
9792         (makeLaTeXFile):
9793         (makeLinuxDocFile):
9794         (makeDocBookFile): make sure niceFile is true on exit
9795
9796 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9799
9800 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9801
9802         * LyXSendto.C: remove.
9803         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9804         * lyx_gui.C: remove now-redundant comment.
9805         * ColorHandler.h: remove forward declaration of class WorkArea.
9806         * lyxfunc.C: remove #include "WorkArea.h".
9807
9808 2002-03-07  Juergen Vigna  <jug@sad.it>
9809
9810         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9811         got moved away with the DEPM and also set the inset_owner always
9812         right which before could have been omitted.
9813
9814 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9817         wanted layout is not found.
9818
9819 2002-03-07  Juergen Vigna  <jug@sad.it>
9820
9821         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9822
9823 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9824
9825         * paragraph.C (breakParagraph): use default layout not layout of
9826         prev paragraph.
9827         (Paragraph): clear ParagraphParameters.
9828
9829 2002-03-06  Juergen Vigna  <jug@sad.it>
9830
9831         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9832         otherwise it would not be a valid lenght. Fixed a special case in
9833         the minipage compatibility read where we end the document with a
9834         minipage.
9835
9836         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9837         was set as it could be 0 for InsetTexts first entry.
9838
9839 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9840
9841         * paragraph.C (writeFile): if layout is empty write out
9842         defaultLayoutName().
9843
9844         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9845         file without named layout we set layout to defaultLayoutName().
9846
9847 2002-03-06  Juergen Vigna  <jug@sad.it>
9848
9849         * CutAndPaste.C (copySelection): set layout for new paragraph.
9850
9851         * text.C (prepareToPrint): leave ERT inset left aligned
9852         (leftMargin): don't indent paragraphs inside ERT insets
9853
9854 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9855
9856         * paragraph.C (breakParagraph): dont call clear do the work manually
9857
9858         * paragraph.[Ch] (clear): remove function
9859
9860 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * paragraph.C (Paragraph): dont call clear, the work has already
9863         been done.
9864
9865         * lyxtextclass.C (operator): assert if n is empty
9866
9867         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9868         work manually instead.
9869
9870 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * BufferView_pimpl.C: protect selectionLost against text == 0
9873
9874 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9875
9876         * text.C (breakParagraph): fix a setting layout to '0' problem.
9877
9878 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9879
9880         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9881         final location of file, for the included files, and graphics.
9882
9883 2002-03-05  Juergen Vigna  <jug@sad.it>
9884
9885         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9886
9887 2002-03-04  Juergen Vigna  <jug@sad.it>
9888
9889         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9890
9891         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9892         last column of multicolumn cells.
9893         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9894
9895 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9896
9897         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9898         file if it doesn't go to a temporary file.
9899
9900         * buffer.C (sgmlOpenTag):
9901         (sgmlCloseTag):  remove extra newline insertion.
9902
9903 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9904
9905         * text.C (getRowNearY): comment out debug msg
9906
9907 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * text2.C: first -> first_y
9910
9911         * text.C (getRowNearY): add some attemts at a possible
9912         optimization, not working.
9913
9914         * tabular.[Ch]: add BufferParams to several function so that newly
9915         created paragraph can be initialized to he default layotu for the
9916         buffers textclass.
9917
9918         * tabular-old.C (ReadOld): add buf->params to call of Init
9919
9920         * screen.C: rename text->first to text->first_y
9921
9922         * paragraph.C (breakParagraph): always set layout in the broken
9923         paragraph
9924
9925         * lyxtextclass.C (Read): remove lowercase
9926         (hasLayout): ditto
9927         (operator): ditto
9928         (delete_layout): ditto
9929
9930         * lyxtext.h: rename first -> first_y
9931
9932         * lyxlayout.C (Read): remove lowercase
9933         (name): ditto
9934         (setName): ditto
9935         (obsoleted_by): ditto
9936
9937         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9938
9939         * buffer.C (insertErtContents): add params are to InsetERT
9940         (parseSingleLyXformat2Token): add code to check if a paragraphs
9941         layout really exist.
9942         (parseSingleLyXformat2Token): add params to several inset
9943         constructors
9944         (asciiParagraph): remove lowercase, do the layout comparisons with
9945         no_case
9946
9947         * BufferView_pimpl.C (cursorNext): first -> first_y
9948         (resizeCurrentBuffer): first -> first_y
9949         (updateScrollbar): first -> first_y
9950         (scrollCB): first -> first_y
9951         (workAreaMotionNotify): first -> first_y
9952         (workAreaButtonPress): first -> first_y
9953         (checkInsetHit): first -> first_y
9954         (cursorPrevious): first -> first_y
9955         (cursorNext): first -> first_y
9956         (Dispatch): add buffer_->params to severl inset contructors
9957
9958 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * lyxlayout.C (Read): remove some debug info that I forgot.
9961
9962         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9963         clean up the code slightly.
9964         (makeLinuxDocFile): ditto
9965         (makeDocBookFile): ditto
9966
9967         * text2.C: layout as string
9968
9969         * text.C: layout as string
9970
9971         * paragraph_pimpl.C: layout as string
9972
9973         * paragraph.[Ch]: layout as string
9974
9975         * lyxtextclasslist.[Ch]: layout as string
9976
9977         * lyxtextclass.[Ch]: layout as string
9978
9979         * lyxtext.h: layout as string
9980
9981         * lyxlayout.[Ch]: layout as string
9982
9983         * lyx_cb.C: layout as string
9984
9985         * bufferview_funcs.C: layout as string
9986
9987         * bufferparams.C: layout as string
9988
9989         * buffer.C: layout as string
9990
9991         * LyXView.[Ch]: layout as string
9992
9993         * LaTeXFeatures.[Ch]: layout as string
9994
9995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9996
9997         * BufferView_pimpl.C: change current_layout to string, remove
9998         lyx::layout_type.
9999         (Dispatch):
10000         (smartQuote):
10001         (insertInset):
10002         (workAreaButtonRelease): layout as string
10003
10004         * BufferView2.C (unlockInset): adjust
10005
10006         * vspace.C (asLatexCommand): use an explict temp variable.
10007
10008 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * Makefile.am: use FRONTEND_*
10011
10012 2002-03-01  Juergen Vigna  <jug@sad.it>
10013
10014         * tabular.C (SetWidthOfMulticolCell): changed to something better
10015         I hope but still work in progress.
10016         (recalculateMulticolumnsOfColumn): renamed function from
10017         recalculateMulticolCells as it is more appropriate now.
10018         (SetWidthOfCell): calculate multicols better.
10019
10020 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10023
10024         * lyxfunc.C (processKeySym): print sequence also if it is
10025         `deleted' (complete)
10026
10027         * kbsequence.C (print): print sequence even if it is deleted
10028         (complete would be a better word, actually).
10029
10030         * lyxfunc.C (dispatch): print complete options after a prefix key
10031
10032         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10033
10034 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10035
10036         * text2.C (setCharFont): eliminate setCharFont code duplication.
10037
10038 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10041         LFUN_TABULAR_FEATURE (bug #177)
10042
10043 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10044
10045         * Makefile.am: remove figure.h
10046
10047 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * Bufferview_pimpl.C:
10050         * CutAndPasteC:
10051         * LaTeX.C:
10052         * LyXSendto.C:
10053         * buffer.C:
10054         * bufferlist.C:
10055         * converter.C:
10056         * language.C:
10057         * lyxfunc.C:
10058         * lyxvc.C:
10059         * paragraph.C:
10060         * text.C:
10061         * text2.C: remove #include "lyx_gui_misc.h".
10062
10063         * LaTeX.C: added #include <cstdio>
10064
10065 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10068         that the paragraph following this one can have.
10069
10070         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10071
10072         * vspace.C (asLatexCommand): fix bogus gcc warning
10073
10074         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10075
10076 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10077
10078         * text2.C (setLayout): get rid of redundant code
10079
10080 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10081
10082         * text2.C (incDepth): make sure depth cannot be increased beyond
10083         reasonable values.
10084
10085 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10088         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10089
10090         * PainterBase.h (image):
10091         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10092         a LyXImage const *.
10093
10094 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * BufferView.C:
10097         * BufferView.h:
10098         * BufferView_pimpl.C:
10099         * BufferView_pimpl.h:
10100         * LaTeXFeatures.C:
10101         * LyXAction.C:
10102         * LyXView.C:
10103         * Makefile.am:
10104         * UpdateList.h:
10105         * UpdateList.C:
10106         * buffer.C:
10107         * figure.h:
10108         * figureForm.C:
10109         * figureForm.h:
10110         * figure_form.C:
10111         * figure_form.h:
10112         * lyx_cb.C:
10113         * lyx_gui.C:
10114         * lyx_gui_misc.C:
10115         * lyxfunc.C:
10116         * sp_base.h:
10117         * sp_ispell.h:
10118         * sp_pspell.h:
10119         * sp_spell.C: remove fig inset, and the crap house of
10120           cards that follows it
10121
10122 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * Makefile.am:
10125         * lyxserver.C:
10126         * os2_defines.h:
10127         * os2_errortable.h:
10128         * nt_defines.h: move .h into support/
10129
10130         * vms_defines.h: remove
10131
10132         * WorkArea.C: add space in debug output
10133
10134         * text2.C:
10135         * paragraph.C:
10136         * buffer.C: add WITH_WARNINGS
10137
10138         * vc-backend.h:
10139         * vc-backend.C:
10140         * bufferlist.C: s/retrive/retrieve/, add docs
10141
10142         * vspace.h:
10143         * vspace.C:
10144         * kbmap.h:
10145         * lyxlength.h:
10146         * lyxgluelength.h:
10147         * length_common.h:
10148         * chset.h:
10149         * chset.C: add docs
10150
10151         * lyxgui.C: add ID to X error handler
10152
10153         * lyxtestclass.c: fix typo
10154
10155 2002-02-26  Juergen Vigna  <jug@sad.it>
10156
10157         * tabular_funcs.C (write_attribute): changed so that some default
10158         attributes are not written at all.
10159         (getTokenValue): set default values before trying to read the
10160         value so we have the return value always set as default if we don't
10161         find the token we search for.
10162
10163         * tabular.C (Write): write bools as bools not as strings!
10164
10165 2002-02-22  Juergen Vigna  <jug@sad.it>
10166
10167         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10168         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10169
10170         * text.C (leftMargin): don't add an indent for paragraphs inside
10171         tabular cells (fix #208).
10172
10173 2002-02-21  José Matos  <jamatos@fep.up.pt>
10174
10175         * tabular.C (docBook): fixed support for long tables.
10176
10177 2002-02-20  Juergen Vigna  <jug@sad.it>
10178
10179         * text2.C (getFont): get the drawing font of the Inset if this
10180         paragraph is inside an inset (only important for InsetERT for now).
10181
10182         * buffer.C (insertErtContents): use new lanugage params in ERT
10183         constructor.
10184
10185         * CutAndPaste.C: commenting out seemingly uneeded code.
10186
10187 2002-02-19  Allan Rae  <rae@lyx.org>
10188
10189         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10190         Iterators might be simple to use but they also get invalidated.
10191         (removeAutoInsets): renamed saved cursor tracking variables and added
10192         some comments to clarify what everything does.
10193
10194 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10195
10196         * Chktex.C:
10197         * LaTeX.C:
10198         * LyXSendto.C:
10199         * converter.C:
10200         * lyx_cb.C:
10201         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10202         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10203
10204         * lyxfunc.C:
10205         * vc-backend.h: remove #include "support/syscall.h"
10206
10207         * LaTeX.C:
10208         * LyXSendto.C:
10209         * converter.C: rearrange #includes in Lars' approved fashion.
10210
10211         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10212         forward declare class Timeout in the header file.
10213
10214         * XFormsView.C: changes due to the above.
10215
10216         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10217         similar to LyXView.
10218
10219         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10220         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10221
10222 2002-02-18  José Matos  <jamatos@fep.up.pt>
10223
10224         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10225         insets contents.
10226
10227 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10228
10229         * a lot of small ws changes
10230         * add a lot of using std::XXX
10231         * use std construcs some places where approp.
10232         * use some exisint stuff from lyxfunctional where approp.
10233         * Make file changes to use partial linking (lets test this now...)
10234
10235 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10236
10237         * Chktex.C:
10238         * buffer.C:
10239         remove #include "support/syscontr.h" as it's redundant. Always has been.
10240
10241         * Chktex.C:
10242         * LaTeX.C:
10243         * LyXSendto.C:
10244         * converter.C:
10245         * lyx_cb.C:
10246         * vc-backend.C:
10247         change Systemcalls::System to Systemcalls::Wait and
10248         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10249         No change of functionality, just reflects the stripped down Systemcalls
10250         class.
10251
10252 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10253
10254         * debug.[Ch]: add a GRAPHICS type to the enum.
10255
10256 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10259
10260         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10261         there is an inset.
10262
10263 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10266         match the changes below.
10267
10268         * text2.C (toggleInset): if there is not editable inset at cursor
10269         position, try to see if cursor is _inside_ a collapsable inset
10270         and close it.
10271
10272 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10275         document menu has a nice checkbox
10276
10277 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * lyxlength.C (asLatexString): change PW to output as percent of
10280         \textwidth.
10281
10282         * lengthcommon.C: change '%' to 't%'
10283
10284         * lyxfunc.C (dispatch): a few comments from Martin
10285
10286 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * WorkArea.h:
10289         * WorkArea.C:
10290         * BufferView_pimpl.h:
10291         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10292           the X selection.
10293
10294 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10295
10296         * vspace.C (inPixels): fix compiler warning
10297
10298 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10299
10300         * lyxfunc.C (getStatus): fix status message for disabled commands.
10301
10302 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10303
10304         * BufferView_pimpl.C: fix crash on close buffer
10305         during selection (#227)
10306
10307 2002-01-27  Herbert Voss  <voss@lyx.org>
10308
10309         * buffer.C: link old Figure to new graphic inset
10310
10311 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10312
10313         * FontLoader.C (getFontinfo): Change the latex font names in order
10314         to match the names of type1inst.
10315
10316 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10319
10320         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10321         (extchanged): ditto
10322         (ext_exist): ditto
10323         (remove_files_with_extension): ditto
10324         (remove_file): ditto
10325         (write): ditto
10326
10327         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10328         document is smaller than the work area height. Do not initialize
10329         static variables to 0.
10330
10331 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10334
10335         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10336         LFUN_LAYOUT_PARAGRAPHS.
10337
10338         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10339         tabular. It is possible to provide a possible cell, which will
10340         typically be the actcell from the corresponding insettabular
10341
10342         * lyxfunc.C (getStatus): small cleanup; disable
10343         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10344         true
10345
10346 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10349
10350         * paragraph.C (startTeXParParams):
10351         (endTeXParParams): new methods. The LaTeX code to
10352         start/end paragraph formatting
10353         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10354         empty (fixes bug #200)
10355
10356         * vspace.C (inPixels): adapt to the change below
10357         (inPixels): [later] more cleanups (remove unused variables)
10358
10359         * lyxlength.C (inPixels): change to use a width and a height as
10360         parameter.
10361
10362 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10365         Replaced with \paperwidth
10366
10367         * DepTable.C (insert): add std:: qualifier
10368
10369 2002-01-18  Allan Rae  <rae@lyx.org>
10370
10371         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10372         updated also?
10373
10374         * text.C (drawInset): Turned out I didn't know enough about how
10375         rebreaking worked.  This fixes most of the redraw problems.  I see
10376         an occasional cursor trail when a line is broken now and the cursor
10377         placement can seem out by a few pixels also after a rebreak.
10378
10379 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * buffer.C (parseSingleLyXformat2Token): update because minipage
10382         width is now a LyXLength
10383
10384         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10385
10386         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10387         math insets
10388
10389 2002-01-17  Juergen Vigna  <jug@sad.it>
10390
10391         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10392
10393         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10394         is set correctly and the inset is updated correctly.
10395
10396 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10399         the beginning of the loop.
10400
10401 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * lyxrc.C: improve help for use_scalable_fonts
10404
10405 2002-01-17  Allan Rae  <rae@lyx.org>
10406
10407         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10408
10409 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10412         make sure to set their inset_owner to the right value (bug #171)
10413
10414 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10415
10416         * DepTable.h
10417         * DepTable.C: Implement mtime checking to reduce time spent doing
10418         CRCs.
10419
10420 2002-01-16  Juergen Vigna  <jug@sad.it>
10421
10422         * tabular.C (GetAdditionalHeight): one of error fixed.
10423
10424         * lyxrc.C (output): small fix in writing use_pspell.
10425
10426 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10427
10428         * sp_base.h: #include LString.h
10429
10430 2002-01-16  Allan Rae  <rae@lyx.org>
10431
10432         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10433         Can someone check this please?
10434
10435         * text.C (drawInset): It was possible that p.row would be removed by
10436         breakAgainOneRow upsetting a few other settings.  There may be another
10437         small tweak possible by setting need_break_row = 0 when p.row has been
10438         removed but I don't know enough about the logic here.
10439
10440 2002-01-15  Allan Rae  <rae@lyx.org>
10441
10442         * text.C (insertChar): removed conditional truism.
10443
10444         * BufferView2.C (removeAutoInsets): More tweaks.
10445         cur_par_prev could be a stray pointer.  Check for trailing empty line
10446         in case last line was cur_par and only had an error inset on it.
10447
10448 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10451         absolute
10452
10453         * vc-backend.C (most methods):
10454         * exporter.C (Export):
10455         * converter.C (convert):
10456         (runLaTeX):
10457         * LyXSendto.C (SendtoApplyCB):
10458         * lyxfunc.C (dispatch):
10459         (menuNew):
10460         (open):
10461         (doImport):
10462         * lyx_cb.C (AutoSave):
10463         (InsertAsciiFile):
10464         * BufferView_pimpl.C (MenuInsertLyXFile):
10465         * buffer.C (runChktex): use Buffer::filePath().
10466
10467         * buffer.h: rename filename to filename_; rename filepath to
10468         filepath_ and make it private
10469         (filePath): new method
10470
10471         * buffer.C (writeFile): use fileName()
10472         (getLatexName):
10473
10474         * lyx_main.C (init): fix starting  of LyX when the binary is a
10475         link from so,ewhere else.
10476
10477         * minibuffer.C: include <cctype> for isprint
10478
10479 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10480
10481         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10482         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10483         name clash with InsetCollapsable's width function.
10484
10485 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * lastfiles.C: include <iterator>
10488
10489 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10492         std::count.
10493
10494         * buffer.C (makeLaTeXFile): ditto.
10495         Also make loop operation more transparent.
10496
10497 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10498
10499         * ToolbarDefaults.C: remove trailing comma closing namespace.
10500
10501         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10502
10503         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10504         as in WorkArea.
10505
10506         * trans.C (Load): comment out unused variable, allowed.
10507
10508 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10509
10510         * minibuffer.[Ch] (append_char): new method to recieve input from the
10511         drop-down completion browser. If a key was pressed, then recieve this
10512         char and append it to the existing string.
10513         (peek_event): modify the positioning data passed to the completion
10514         browser so that it can be placed above the minibuffer rather than below.
10515 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10516
10517         * LyXAction.C (init): alloe error-next for readonly documents.
10518
10519         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10520         count.
10521
10522 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * bufferlist.C (readFile): create the buffer _after_ checking that
10525         the file exists.
10526
10527         * lyxfunc.C (verboseDispatch): fix handling of arguments
10528
10529         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10530
10531         * lyxrc.C: use string::erase() instead of initializing to "".
10532
10533
10534 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView_pimpl.h:
10537         * BufferView_pimpl.C:
10538         * WorkArea.h:
10539         * WorkArea.C:
10540         * text2.C: tell X when we have made a selection for copying
10541
10542 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * BufferView_pimpl.C (MenuInsertLyXFile):
10545         * lyxfunc.C (menuNew):
10546         (open):
10547         (doImport): add shortcuts to directory buttons
10548
10549         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10550         open a float)
10551
10552         * lyxfunc.C (setStatusMessage):
10553         (getStatusMessage): new methods
10554         (getStatus):use setStatusMessage instead of setErrorMessage
10555         (dispatch): when function is disabled, set error message here
10556         [instead of in getStatus previously]
10557
10558         * BufferView_pimpl.C (workAreaButtonRelease): update
10559         toolbar/menubar here too.
10560
10561 2002-01-13  Allan Rae  <rae@lyx.org>
10562
10563         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10564         Now seems indestructible.  Remaining task is to audit all other
10565         code affected by deleteEmptyParagraphMechanism.  One small quirk
10566         left is that an empty document with an error in the preamble can
10567         be made to report an error but no error box appears.  I don't know
10568         where it goes.
10569         (removeAutoInsets): Improved comments.
10570
10571 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * Thesaurus.h:
10574         * Thesaurus.C: update for Aiksaurus 0.14
10575
10576 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * text2.C (firstParagraph): removed member function, all uses
10579         replaces with ownerParagraph
10580         (redoParagraphs): here
10581         (updateInset): here
10582         (toggleAppendix): here
10583         * BufferView2.C (insertErrors): here
10584         (setCursorFromRow): here
10585
10586 2002-01-13  Allan Rae  <rae@lyx.org>
10587
10588         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10589         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10590         There is still a way to segfault this although you may have to do this
10591         multiple times: Have an InsetERT with an unknown command in it.
10592         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10593         <down-arrow>, <Enter> again, View->DVI, BANG!
10594
10595         * text2.C (setCursor):
10596         (deleteEmptyParagraphMechanism):
10597         * lyxtext.h (setCursor):
10598         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10599         Making use of the return value may help fix other bugs.
10600
10601 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10604
10605         * LyXView.C (updateMenubar): call MenuBar::update here
10606         (updateToolbar): but not here
10607         (showState): do not update toolbar/menubar
10608
10609         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10610         should need to care about that.
10611
10612         * lyxfunc.C (verboseDispatch): simplify a bit
10613         (getStatus): have a version which takes a pseudoaction, and
10614         another which requires a (kb_action,string).
10615
10616         * LyXAction.C (retrieveActionArg): make it work also when action
10617         is not a pseudo-action.
10618         (getActionName): simplify a bit
10619         (helpText):
10620
10621 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * lyxfunc.C (verboseDispatch): new families of methods with
10624         several ways to specify a command and a bool to indicate whether
10625         the command name and shortcut should be displayed in minibuffer
10626         (eventually, we could extend that to a finer bitmask like
10627         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10628         (dispatch): the pristine dispatch command which just, well,
10629         dispatchs! Note it still sets its result to minibuffer; I'm not
10630         sure we want that.
10631
10632         * lyxfunc.h: remove setHintMessage
10633
10634         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10635
10636 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * BufferView_pimpl.C (specialChar): delete new inset if we have
10639         not been able to insert it.
10640
10641         * kbmap.C: revert to using int instead of kb_action, since all we
10642         are dealing with is pseudo-actions.
10643
10644         * LyXAction.C (searchActionArg): change to return int instead of
10645         kb_action, since the result is a pseudoaction.
10646
10647 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10648
10649         * buffer.C (insertErtContents): Fix (partially) the font bug.
10650
10651 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10652
10653         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10654         as the other one is broken on my machine!
10655
10656 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10657
10658         * commandtags.h:
10659         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10660
10661 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10662
10663         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10664         reflect their actual use. Provide compatibility code for older lyxrc
10665         files.
10666
10667         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10668         FL_NORMAL_STYLE.
10669         change names of popup font variables in line with the changes to lyxrc.C
10670
10671 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * buffer.C (asciiParagraph): avoid outputing a word twice after
10674         an inset.
10675
10676         * lyxrc.C (getDescription): document that document_path and
10677         template_path can be empty.
10678
10679 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * LaTeXFeatures.C (getMacros):
10682         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10683
10684         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10685
10686         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10687         getPackages.
10688         (getPackages): rename feature "floats" to "float". Use an array to
10689         iterate over 'simple' features (i.e. just a \usepackage). Add
10690         handling of "amsmath" (renamed from "amsstyle").
10691
10692 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10693
10694         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10695         features list.
10696
10697 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10698
10699         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10700         FuncStaus::FuncStatus & FuncStaus::some_method().
10701
10702 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10703
10704         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10705         of the func_satus stuff. Edited and massaged in various ways by
10706         JMarc.
10707
10708         * lyxfunc.C (getStatus): use FuncStatus
10709
10710 2002-01-08  Juergen Vigna  <jug@sad.it>
10711
10712         * text.C (nextBreakPoint): use function Inset::isChar().
10713
10714         * paragraph.C (TeXOnePar): use function
10715         Inset::forceDefaultParagraphs.
10716
10717         * buffer.C (latexParagraphs): use function
10718         Inset::forceDefaultParagraphs.
10719
10720 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * lyx_gui.C (init): set the style of the menu popups to
10723         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10724
10725 2002-01-07  Juergen Vigna  <jug@sad.it>
10726
10727         * text.C (setHeightOfRow): small fix
10728         (prepareToPrint): don't look at alignment if we don't have the place
10729         for doing it.
10730
10731 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * box.C: New file. Move the Box methods and functions out of box.h,
10734         following Lars' suggestion.
10735
10736 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10737
10738         * box.h: #include "support/LOstream.h", needed for inlined function.
10739
10740         * lyxtextclass.C:
10741         * lyxtextclasslist.C: added some using std declarations.
10742
10743 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * box.h: make signed dimensions to allow insets wider than
10746           the screen (bug #162)
10747
10748         * BufferView_pimpl.C: add some insetHit debug
10749
10750 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * vc-backend.C: add FIXME
10753
10754 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * lyxfunc.C (getStatus): enable code for showing math font status
10757         in toolbar/menu.
10758
10759 2002-01-07  Juergen Vigna  <jug@sad.it>
10760
10761         * text.C (nextBreakPoint): removed debug output not needed anymore.
10762
10763 2002-01-06  Juergen Vigna  <jug@sad.it>
10764
10765         * text.C (nextBreakPoint): fixed up this function we had this bug
10766         since ever but now hopefully we break row better.
10767         (insertChar): we have to check if an inset is the next char as it
10768         could now happen that a large inset is causing a break.
10769
10770 2002-01-05  Juergen Vigna  <jug@sad.it>
10771
10772         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10773         if it doesn't like to be drawed.
10774
10775 2002-01-04  Juergen Vigna  <jug@sad.it>
10776
10777         * BufferView2.C (lockInset): forgot to set a cursor.
10778
10779         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10780
10781 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10782
10783         * FormMathsPanel.C:
10784         * FormMathsPanel.h
10785         * MathsSymbols.C:
10786         * form_maths_panel.C:
10787         * form_maths_panel.h:
10788         * form_maths_panel.fd: implemented sub- and super- buttons in math
10789         panel.
10790
10791         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10792         (or ^ space) to be used as in TeX (req'd by André).
10793
10794         * lyxfunc.C: Allow ^ and _ again to be used both as
10795         super/subscript (mathed) and as themselves (in text).
10796
10797 2002-01-03  Allan Rae  <rae@lyx.org>
10798
10799         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10800         "LyX" or the filename of the current buffer if it has one.  This is a
10801         modified form of John Levon's patch.
10802
10803         * XFormsView.C (setWindowTitle): also set icon title.
10804
10805         * LyXView.h (setWindowTitle): signature changed.
10806         * XFormsView.h (setWindowTitle): ditto.
10807
10808 2002-01-02  Juergen Vigna  <jug@sad.it>
10809
10810         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10811
10812 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10813
10814         * screen.C (topCursorVisible): introduce a temp var for
10815         text->cursor.row(), handle the case where this row is null. (kindo
10816         hachish)
10817
10818         * text2.C (setCursor): add a couple of asserts.
10819
10820         * paragraph.h (inset_iterator): add -> operator
10821
10822         * paragraph.[Ch] (autoDeleteInsets): remove member function
10823
10824         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10825         cursor pos correctly and handle inset deletion by itself.
10826         (insertErrors): move iterator declaration out of for expression
10827
10828         * lyxtextclass.C: add <algorithm>
10829
10830         * Makefile.am: added the new files to sources, removed layout.C
10831
10832         * layout.C: removed file
10833
10834         * layout.h: remove LYX_DUMMY_LAYOUT
10835
10836         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10837         layout.
10838
10839         * lyxlayout.[Ch]:
10840         * lyxtextclass.[Ch]:
10841         * lyxtextclasslist.[Ch]: new files
10842
10843         * include order changes to a lot of files, also changes because of
10844         the six new files.
10845
10846 2001-12-27  Juergen Vigna  <jug@sad.it>
10847
10848         * buffer.C (asciiParagraph): more fixes.
10849
10850         * tabular.C (ascii): make ascii export support export of only the
10851         data separated by a column-delimiter.
10852         (ascii): better support for ascii export.
10853
10854         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10855
10856 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10857
10858         * tabular_funcs.C: use a "using std::getline" instead of the
10859         previous fix from Angus (necessary for cxx + lyxstring)
10860
10861 2001-12-24  Juergen Vigna  <jug@sad.it>
10862
10863         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10864
10865         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10866         problems. First check a minipage also if we have some ert-contents
10867         (not only on par->size(), second set the right depth of the paragraph
10868         on the relink to the root-paragraph-list!
10869
10870         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10871         which then did not anymore update the main paragraphs on undo/redo!
10872
10873 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10876         code. Support all font-changing funcs (even those which are not in
10877         menu currently). Support for reporting font settings in
10878         mathed (disabled until Andre provides a function on mathed's side).
10879
10880         * func_status.h (toggle): small helper function to set toggle
10881         state on a flag.
10882
10883 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * tabular_funcs.C: getline -> std::getline
10886
10887 2001-12-21  Juergen Vigna  <jug@sad.it>
10888
10889         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10890         accessed and could be 0 (I couldn't generate this but it seems
10891         Michael could!).
10892
10893 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10896         * tabular_funcs.h: here and include iosfwd
10897
10898 2001-12-20  Juergen Vigna  <jug@sad.it>
10899
10900         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10901         inside inset but undo_par was.
10902
10903 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * Thesaurus.C: always include <config.h> in sources.
10906
10907         * Painter.h:
10908         * lyxlookup.h:
10909         * box.h: do not include <config.h> in header files
10910
10911         * text.C (paintLastRow): remove unused variable
10912
10913         * text.C (transformChar):
10914         (insertChar):
10915         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10916
10917         * Painter.C (text):
10918         * font.C (width): rewrite to use uppercase() instead of
10919         islower/toupper.
10920
10921         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10922
10923 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * lyxfind.C: clean up of find failure position change
10926
10927 2001-12-20  Juergen Vigna  <jug@sad.it>
10928
10929         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10930
10931         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10932         (TeXRow): added to LaTeX a single tabular row.
10933         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10934         (Latex): simplified and finally good LT-h/f support.
10935         (various_functions): just small adaptions for LT-h/f support.
10936
10937         * tabular_funcs.[hC]: added and moved here all not classfunctions
10938         of LyXTabular.
10939
10940 2001-12-19  Juergen Vigna  <jug@sad.it>
10941
10942         * tabular.[Ch]: better support for longtabular options (not finished
10943         yet!)
10944
10945 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10946
10947         * text.C (paintLastRow): use the label font instead of the font of
10948         the last character to compute the size of *_BOX. This makes more
10949         sense and avoids a crash with empty paragraphs.
10950         Use Painter::rectangle to draw EMPTY_BOX.
10951
10952 2001-12-19  Juergen Vigna  <jug@sad.it>
10953
10954         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10955         the paragraphs if the replaced paragraph is not the first one!
10956         Tried to delete not used paragraphs but does not work yet so for
10957         now it's inside #ifdef's and by default off!
10958
10959 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10960
10961         * MenuBackend.C: include "lyx_main.h" instead of declaring
10962         lastfiles (actually was declared as LastFiles* instead of a
10963         scoped_ptr).
10964
10965 2001-12-17  Juergen Vigna  <jug@sad.it>
10966
10967         * tabular.C (AppendColumn): applied John's fix
10968
10969 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView.h:
10972         * BufferView.C:
10973         * BufferView_pimpl.h:
10974         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10975
10976         * Makefile.am:
10977         * box.h: new start of class for above
10978
10979         * lyxfunc.C: ignore space-only minibuffer dispatches.
10980           Show the command name when it doesn't exist
10981
10982         * minibuffer.C: don't add empty lines to the history
10983
10984         * minibuffer.C: add a space on dropdown completion
10985
10986 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10987
10988         * text.C: fix line above/below drawing in insets
10989
10990 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10991
10992         * lyxlength.C (LyXLength): Initialize private variables.
10993
10994 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10995
10996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10997         when inserting error insets.
10998
10999 2001-12-13  Juergen Vigna  <jug@sad.it>
11000
11001         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11002         actually sometimes the before-paragraph.
11003         (setUndo): don't clear the redostack if we're not actually undoing!
11004
11005 2001-12-06  Juergen Vigna  <jug@sad.it>
11006
11007         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11008         and fixed redoing of main paragraph, so we can use it now ;)
11009
11010         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11011
11012 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11015         Juergen's request
11016
11017 2001-12-13  André Pönitz <poenitz@gmx.net>
11018
11019         * undostack.[Ch]:
11020         * undo_func.C: minor cleanup
11021
11022 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11025         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11026         font in urw-fonts package which is marked as -urw-fontspecific and
11027         does not work (incidentally, changing the encoding in the
11028         fonts.dir of this package to -adobe-fontspecific fixes the
11029         problem).
11030
11031         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11032         is a crash when undoing first paragraph (Juergen, please take a
11033         look). THis does not mean the undo fix is wrong, just that it
11034         uncovers problems.
11035
11036         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11037         the (Paragraph*) version when needed instead of duplicating the
11038         code.
11039
11040         * text.C (workWidth): use Inset::parOwner to find out where the
11041         inset has been inserted. This is a huge performance gain for large
11042         documents with lots of insets. If Inset::parOwner is not set, fall
11043         back on the brute force method
11044
11045         * paragraph_pimpl.C (insertInset):
11046         * paragraph.C (Paragraph):
11047         (cutIntoMinibuffer): set parOwner of insets when
11048         inserting/removing them
11049
11050         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11051
11052 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11053
11054         * commandtags.h:
11055         * LyXAction.C:
11056         * lyx_main.C:
11057         * lyxfunc.C:
11058         * mathed/formulabase.C:
11059         * mathed/math_cursor.[Ch]:
11060         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11061
11062
11063 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11064
11065         * lyxlength.[Ch] (operator!=): new function
11066
11067 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * text.C (workWidth): use Inset::parOwner to find out where the
11070         inset has been inserted. This is a huge performance gain for large
11071         documents with lots of insets. If Inset::parOwner is not set, fall
11072         back on the brute force method
11073
11074         * paragraph_pimpl.C (insertInset):
11075         * paragraph.C (Paragraph):
11076         (cutIntoMinibuffer): set parOwner of insets when
11077         inserting/removing them
11078
11079         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11080
11081 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * tabular-old.C (getTokenValue):
11084         * tabular.C (getTokenValue):
11085         (write_attribute): new versions for LyXLength
11086         (everywhere): adjust the use of widths
11087
11088         * tabular.h: change the type of widths from string to LyXLength
11089
11090 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11091
11092         * paragraph.C: fixed missing line number count when exporting
11093         Environments to LaTeX file
11094
11095         * buffer.C: added informational message for checking line numbers.
11096
11097 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11098
11099         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11100         paragraph, do the 'double space' part, but not the 'empty
11101         paragraph' one.
11102
11103         * text.C (workWidth): small optimization
11104         (getLengthMarkerHeight): use minimal size for negative lengths.
11105
11106 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11107
11108         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11109
11110         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11111
11112 2001-12-11  André Pönitz <poenitz@gmx.net>
11113
11114         * FontLoader.C:
11115         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11116
11117 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * text2.C: keep selection on a setFont()
11120
11121 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lyx_cb.C: another bv->text misuse, from insert label
11124
11125 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * kbsequence.h:
11128         * kbsequence.C: re-instate nmodifier mask
11129
11130 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11131
11132         * lyx_main.h: make lyxGUI private.
11133
11134 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11135
11136         * lyxfind.C: place the cursor correctly on failed search
11137
11138 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * text.C (getLengthMarkerHeight): for small heights, the arrows
11141         are not always on top/bottom of the text
11142         (drawLengthMarker): smaller arrows; take the left margin in
11143         account; draw also vfills.
11144         (paintFirstRow):
11145         (paintLastRow): remove special code for vfill and standard spaces,
11146         since everything is handled in drawLengthMarker now.
11147
11148 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11149
11150         * buffer.C (insertErtContents): try to handle font and language
11151         interaction a bit better.g
11152
11153         * ColorHandler.C (updateColor): change the hash to cover the whole
11154         LColor enum, ws cleanup
11155         (getGCLinepars): ditto
11156         (getGCLinepars): only lookup in the linecache once.
11157
11158 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11159
11160         * iterators.C (operator++): Make the iterator more robust
11161
11162         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11163         (John's patch)
11164         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11165
11166 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * lyxtext.h:
11169         * text.C: better added space drawing
11170
11171 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * LyXView.C:
11174         * BufferView2.C: fix layout combo update on inset unlock
11175
11176 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * Makefile.am: don't compile unused files
11179
11180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * lyxfunc.C:
11183         * commandtags.h:
11184         * LyXAction.C: remove old LFUN_LAYOUTNO
11185
11186 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * paragraph_pimpl.h:
11189         * paragraph_pimpl.C: isTextAt() doesn't need font param
11190
11191 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * lyxlex.h:
11194         * lyxlex.C: little cleanup
11195
11196 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView_pimpl.C: fix insertAscii for insets
11199
11200 2001-12-05  Juergen Vigna  <jug@sad.it>
11201
11202         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11203         set the right font on the "multi" paragraph paste!
11204
11205 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * trans_decl.h:
11208         * trans_mgr.[Ch]:
11209         * trans.[Ch]:
11210         * lyxgluelength.C:
11211         * lyxlength.C: remove out-commented code.
11212
11213         * BufferView_pimpl:
11214         * CutAndPaste.C:
11215         * DepTable.C:
11216         * buffer.C:
11217         * chset.C:
11218         * lastfiles.C:
11219         * lyxlex.C:
11220         * lyxlex_pimpl.C:
11221         * lyxserver.C:
11222         * screen.C:
11223         * tabular-old.C:
11224         * tabular.C:
11225         * text.C:
11226         * trans_mgr.C:
11227         * vc-backend.C: change "while(" to "while ("
11228
11229         * lyxlength.[Ch]: add zero function to check if length is zero or
11230         not
11231         * lyxgluelength.C: use it
11232
11233 2001-12-05  Allan Rae  <rae@lyx.org>
11234
11235         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11236         Works for 2.95.3, from what I understand of Garst's reports this should
11237         work for other g++ versions.  We're screwed if the abs(int) definition
11238         changed between bugfix releases of gcc.
11239
11240 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * text.C: fix chapter label offset !
11243
11244 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * lyxtext.h:
11247         * text.C: fix hfill at end of line, clean up
11248
11249 2001-12-04  Juergen Vigna  <jug@sad.it>
11250
11251         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11252         that we force an update of the inset and it's owners if neccessary.
11253
11254 2001-12-03  Juergen Vigna  <jug@sad.it>
11255
11256         * text.C (rowLast): simplified code
11257
11258 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyxfunc.C: fix show options on timeout
11261
11262 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * screen.C (topCursorVisible): scroll half a page when the cursor
11265         reached top of bottom of screen
11266
11267 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * minibuffer.C: deactivate on loss of focus
11270
11271 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * vspace.[Ch] (operator!=): add operator.
11274
11275 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * BufferView_pimpl.C: refuse to open an inset when
11278         there's a selection.
11279
11280 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * BufferView_pimpl.C: allow to click on RHS of full row insets
11283
11284 2001-11-30  Juergen Vigna  <jug@sad.it>
11285
11286         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11287         insets for undo reasons.
11288
11289 2001-11-28  André Pönitz <poenitz@gmx.net>
11290
11291         * vspace.[Ch]: cosmetical changes
11292
11293 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * LyXAction.h:
11296         * LyXAction.C:
11297         * lyxfunc.h:
11298         * lyxfunc.C:
11299         * kbmap.h:
11300         * kbmap.C:
11301         * lyxrc.C:
11302         * kbsequence.h:
11303         * kbsequence.C: part re-write of old kb code
11304
11305         * Painter.C:
11306         * WorkArea.C: remove Lgb_bug_find_hack
11307
11308 2001-11-30  José Matos <jamatos@fep.up.pt>
11309
11310         * buffer.C (makeDocBookFile): add a comment to point a hack.
11311         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11312         Fixed a double write of labels.
11313
11314 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11315
11316         * LaTeX.C:
11317         * LaTeX.h Fixed bug in LaTeX class where it would not
11318         re-run latex if no depfiles were changed, but the .dvi was removed.
11319
11320 2001-11-28  André Pönitz <poenitz@gmx.net>
11321
11322         * all the files from the change on 2001/11/26:
11323         use lyx::layout_type instead of LyXTextClass::size_type
11324         use lyx::textclass_type instead of LyXTextClassList::size_type
11325
11326 2001-11-29  Juergen Vigna  <jug@sad.it>
11327
11328         * text.C: added support for paragraph::isFreeSpacing()
11329
11330         * buffer.C: same as above
11331
11332         * paragraph.h: inserted isFreeSpacing() function to enable
11333         FreeSpacing inside InsetERT.
11334
11335         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11336         of the paragraph's in the cut/copy buffer to 0!
11337
11338         * text2.C (removeRow): remove the assert as it can!
11339
11340         * lyxtext.h: added helper function firstRow returning firstrow and
11341         made firstrow private again.
11342
11343         * BufferView2.C (lockInset): don't relock if we're already locked!
11344
11345         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11346         the only paragraph.
11347         (removeRow): added Assert::(firstrow)
11348
11349         * debug.C: forgot to add INSETTEXT here.
11350
11351 2001-11-28  Juergen Vigna  <jug@sad.it>
11352
11353         * sp_spell.C (initialize): changed error text to more general
11354         spellchecker command use (not only ispell!)
11355
11356         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11357
11358         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11359
11360 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * vspace.C: initialise lyxgluelength on failure
11363
11364 2001-11-28  Allan Rae  <rae@lyx.org>
11365
11366         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11367         declaration & definition that looks like a function declaration.
11368
11369 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11370
11371         * BufferView2.C (copy):
11372         (copyEnvironment): do not clear the selection when doing a copy.
11373
11374         * text.C (paintFirstRow): compilation fix
11375
11376 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11377
11378         * tabular.C (Latex): correct line count when writing latex.
11379
11380 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * paragraph_pimpl.h:
11383         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11384           bug a bit
11385
11386 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * text.C:
11389         * LColor.h:
11390         * LColor.C: change vfillline->added_space
11391
11392         * text.C: add markers and text for added space
11393
11394         * vspace.C: fix comment
11395
11396 2001-11-28  André Pönitz <poenitz@gmx.net>
11397
11398         * paragraph.C: whitespace changes
11399         * all the other files from the change on 2001/11/26:
11400         change *::pos_type into lyx::pos_type
11401
11402 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11405         language of the document when inserting error insets.
11406
11407 2001-11-26  André Pönitz <poenitz@gmx.net>
11408
11409         * BufferView_pimpl.[Ch]:
11410         *       CutAndPaste.C:
11411         * buffer.[Ch]:
11412         * lyxcursor.[Ch]:
11413         * lyxfind.C:
11414         * lyxfunc.C:
11415         * lyxrow.[Ch]:
11416         * paragraph.[Ch]:
11417         * paragraph_pimpl.[Ch]:
11418         * sp_spell.C:
11419         * text.C:
11420         * text2.C: reduce header dependencies, introduce type for positions
11421
11422 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * <various>: change to use Alert.h
11425
11426 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11429         when encountering an unknown token.
11430         (readLyXformat2): Show an error message if there were unknown tokens.
11431
11432 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView2.C:
11435         * BufferView_pimpl.C:
11436         * buffer.C:
11437         * paragraph.h:
11438         * text.C:
11439         * text2.C: use par->isInset()
11440
11441 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * paragraph_pimpl.h:
11444         * paragraph_pimpl.C: cleanup
11445
11446 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11447
11448         * text2.C (removeRow):
11449         * text.C (setHeightOfRow): remove useless (and costly) call to
11450         getRow.
11451
11452 2001-11-20  Allan Rae  <rae@lyx.org>
11453
11454         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11455         Now need Inset*::checkInsertChar() to return true for appropriate
11456         cases so that the characters in the minibuffer will actually be
11457         inserted.
11458
11459 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * text.C: change the order of the includes.
11462         (workWidth): initialize it at once.
11463         (workWidth): make maxw unsigned
11464         (setHeightOfRow): remove unused variable (inset)
11465         (selectSelectedWord): remove unused variable (inset)
11466         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11467
11468 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11469
11470         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11471         server is not running.
11472         (openConnection):
11473         (closeConnection): add debug info when server is disabled.
11474
11475         * ColorHandler.C (getGCForeground): send debug message to GUI
11476         channel.
11477
11478         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11479
11480         * kbmap.C (bind): modify because return conventions of
11481         kb_sequence::parse have changed.
11482
11483         * kbsequence.C (parse): only ignore spaces and not any stupid
11484         control character. This avoids tests like s[i] <= ' ', which are
11485         guaranteed to fail with 8bit characters and signed chars.
11486         Change return code to string::npos when there have been no error
11487         (0 was a bad idea when error is at first character)
11488
11489 2001-11-14  José Matos  <jamatos@fep.up.pt>
11490
11491         * buffer.h:
11492         * buffer.C (simpleDocBookOnePar): removed unused argument.
11493
11494 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11497         insets which are part of a word. Paragraph::isLetter takes care of
11498         that now. Use Paragraph::isInset to identify insets.
11499         (selectSelectedWord): do not test for hyphenation break.
11500
11501         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11502         that protected spaces are considered as spaces.
11503
11504         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11505         Inset::isLetter.
11506
11507 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyxserver.h:
11510         * lyxserver.C: fix it. and small cleanup.
11511
11512 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * BufferView_pimpl.C: use inline helpers
11515
11516         * LaTeXFeatures.h:
11517         * LaTeXFeatures.C: fix typos
11518
11519         * Spacing.h:
11520         * Spacing.C: move spacing_string into class
11521
11522         * ToolbarDefaults.C: move stuff into namespace anon
11523
11524         * layout.h: update enum
11525
11526         * lyxfunc.C: use better debug
11527
11528         * minibuffer.h: fix typo
11529
11530         * debug.h:
11531         * debug.C:
11532         * WorkArea.C: add and use Debug::WORKAREA
11533
11534         * lyxtext.h:
11535         * text.C:
11536         * text2.C: code re-organisation, inline helpers
11537
11538 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11539
11540         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11541         std::vector.empty().
11542
11543 2001-11-09  Allan Rae  <rae@lyx.org>
11544
11545         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11546         '\n's after tables.  Tabular and ERT inset work now makes this no
11547         longer necessary.
11548
11549 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * minibuffer.h:
11552         * minibuffer.C: fix crash, improve drop-down completion
11553
11554 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * lyxserver.h:
11557         * lyxserver.C: invalidate fd's when doing endPipe()
11558
11559 2001-11-08  José Matos  <jamatos@fep.up.pt>
11560
11561         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11562         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11563
11564         * paragraph.h:
11565         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11566
11567 2001-11-07  José Matos  <jamatos@fep.up.pt>
11568
11569         * buffer.h:
11570         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11571         const qualifier.
11572
11573         * buffer.C (sgmlOpenTag):
11574         * buffer.C (sgmlCloseTag): removed debug info.
11575
11576         * buffer.h (sgmlOpenTag):
11577         * buffer.h (sgmlCloseTag): made public.
11578
11579 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * buffer.C (saveParamsAsDefaults):
11582         * lyx_cb.C (MenuLayoutSave): remove
11583
11584         * LyXAction.C (init):
11585         * commandtags.h:
11586         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11587
11588 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11589
11590         * buffer.C (setPaperStuff): removed from here...
11591
11592         * bufferparams.C (setPaperStuff): ... and moved there.
11593
11594 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * minibuffer.h:
11597         * minibuffer.C:
11598         * XFormsView.C: add support for drop-down completion
11599
11600 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11601
11602         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11603         commands.
11604
11605 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11608         disabled.
11609
11610 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * lyx_main.C: change ref to known bugs
11613
11614 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11615
11616         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11617         to work around older babel problems.
11618
11619 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11620
11621         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11622
11623 2001-10-24  Juergen Vigna  <jug@sad.it>
11624
11625         * tabular-old.C (ReadOld): below variable changes reflected.
11626
11627         * tabular.[Ch]: added ltType struct for longtable header/footer
11628         defines and changed all instances where they are used. Added
11629         future support for double top/bottom rows.
11630
11631 2001-10-24  José Matos  <jamatos@fep.up.pt>
11632
11633         * buffer.h (docbookHandleCaption):
11634         * buffer.C (docbookHandleCaption): removed unused function.
11635         (makeDocBookFile): moved docbook supported version to v4.1.
11636
11637 2001-10-24  José Matos  <jamatos@fep.up.pt>
11638
11639         * tabular.h:
11640         * tabular.C (docbookRow): new function to export docbook code of a row.
11641         (DocBook): now honors the longtable flags.
11642
11643 2001-10-23  José Matos  <jamatos@fep.up.pt>
11644
11645         * LaTeXFeatures.h:
11646         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11647         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11648
11649         * buffer.C (makeLinuxDocFile):
11650         (makeDocBookFile): reworked the preamble, more clean, and with
11651         support for lyx defined entities. Changed the document declaration
11652         to be more XML friendly.
11653
11654         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11655         if we need to output XML that should be done with a filter.
11656
11657 2001-10-22  Juergen Vigna  <jug@sad.it>
11658
11659         * sp_pspell.h (class PSpell): add alive function needed in the
11660         controller to see if the spellchecker could be started.
11661
11662 2001-10-22  Juergen Vigna  <jug@sad.it>
11663
11664         * buffer.C (insertStringAsLines): modify the font for inserting
11665         chars in certain conditions by calling checkInsertChar(font).
11666
11667 2001-10-19  Juergen Vigna  <jug@sad.it>
11668
11669         * text.C (workWidth): use getRow instead of wrong algorithm.
11670         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11671
11672 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * lyxserver.h:
11675         * lyxserver.C:
11676         * lyx_main.h:
11677         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11678
11679 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11680
11681         * text.C (workWidth): do not search for the exact row when
11682         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11683         optimization for big documents.
11684
11685 2001-10-18  Juergen Vigna  <jug@sad.it>
11686
11687         * text.C (workWidth): new function with added Inset * parameter.
11688
11689 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11692
11693         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11694         change return type of getColumnNearX.
11695
11696
11697         * text.C (changeRegionCase): use uppercase/lowercase instead of
11698         toupper/tolower.
11699         (leftMargin):
11700         (rightMargin): simplify code by factoring out the uses of
11701         textclasslist.
11702         (labelFill):
11703         (numberOfHfills):
11704         (setHeightOfRow):
11705         (appendParagraph): use Paragraph::size_type
11706
11707 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11708
11709         * vspace.C (asLatexString): add a missing break
11710
11711 2001-10-15  Herbert Voss  <voss@perce.de>
11712
11713         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11714
11715 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11716
11717         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11718         is not available.
11719
11720 2001-10-10  André Pönitz <poenitz@gmx.net>
11721
11722         * lyxfunc.C: removed greek_kb_flag.
11723
11724 2001-10-10  Herbert Voss  <voss@perce.de>
11725
11726         * lyx_main.C: delete global string help_lyxdir.
11727
11728 2001-10-09  Herbert Voss  <voss@perce.de>
11729
11730         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11731
11732         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11733
11734         * lyx_main.C: added global string help_lyxdir.
11735
11736         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11737
11738 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11739
11740         * lyxrc.C (set_font_norm_type): support iso8859-4
11741
11742 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11743
11744         * LaTeX.C (deplog): add another regex for MikTeX
11745
11746 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11747
11748         * lyxrc.C (set_font_norm_type): support iso8859-3
11749
11750 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11753
11754         * LaTeXFeatures.C: remove special case of french and index
11755
11756         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11757         before \begin{document}). This solves several incompatibilities.
11758
11759 2001-10-03  Garst Reese  <reese@isn.net>
11760
11761         * lyx_cb.C: change CheckTex error msg.
11762
11763 2001-10-03  José Matos  <jamatos@fep.up.pt>
11764
11765         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11766
11767 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11768
11769         * .cvsignore: update
11770
11771         * lyx_main.C (commandLineVersionInfo): use new style version info.
11772
11773         * buffer.C (writeFile):
11774         (makeLaTeXFile):
11775         (makeLinuxDocFile):
11776         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11777
11778         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11779
11780         * version.h: update to use stuff in version.C
11781
11782         * version.C.in: new file. Contains version information determined
11783         at compile time. This is a merging of version.h and
11784         version_info.h.in.
11785
11786 2001-10-03  Juergen Vigna  <jug@sad.it>
11787
11788         * BufferView_pimpl.C (update): don't change "dirty" status in
11789         updateInset call.
11790
11791 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11792
11793         * WorkArea.C (c-tor): re-position version string slightly.
11794
11795 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11798         revert to previous code.
11799
11800         WorkArea.[Ch]: (show, destroySplash): methods removed.
11801
11802         WorkArea.C: rework code so that it's an amalgam of the codes before and
11803         after the splash screen was moved to WorkArea.
11804
11805 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * lyxrc.C (read):
11808         * vspace.C (inPixels):
11809         (lyx_advance):
11810         * kbmap.C (bind):
11811         * buffer.C (insertStringAsLines):
11812         (asciiParagraph): fix types to be large enough
11813
11814         * lyxlex_pimpl.h: change member status from short to int
11815
11816         * layout.h: fix type of endlabeltype
11817
11818         * kbmap.C (bind):
11819         * kbsequence.C (parse): change return type to string::size_type
11820
11821         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11822         variable
11823
11824         * Bullet.C (bulletSize):
11825         (bulletEntry): do not use short ints as parameters
11826
11827         * BufferView2.C (insertLyXFile): change a char to an int.
11828
11829         * WorkArea.C (WorkArea): remove unneeded floats in computation
11830
11831 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11832
11833         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11834
11835         * paragraph.C (asString): Do not ignore newline/hfill chars when
11836         copying to the clipboard.
11837
11838 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11841         after a multi-line inset.
11842
11843 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11844
11845         * paragraph.C (validate): Set NeedLyXFootnoteCode
11846
11847 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11848
11849         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11850         and decrease-error to decrease.
11851
11852 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11853
11854         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11855         it more readable (should be equivalent)
11856
11857 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11858
11859         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11860
11861 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11862
11863         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11864         of a cursor (row, etc.) after a character has been deleted
11865         (deleteEmptyParagraphMechanism): call the method above on _all_
11866         cursors held by the LyXText when a double space has been
11867         detected/deleted.
11868
11869 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11872         pixmap.
11873         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11874
11875         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11876         background. Use greyOut() and the new show() methods to toggle between
11877         the foreground and background. Add code to remove the splash after
11878         its initial showing.
11879
11880         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11881         (create_forms): no longer call Dialogs::showSplash.
11882
11883 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * .cvsignore: add version_info.h
11886
11887 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * version_info.h.in: new file
11890
11891         * Makefile.am: add version_info.h.in
11892
11893         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11894         version_info.h instead of VERSION_INFO
11895
11896 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11897
11898         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11899         The ERT inset now returns string().
11900
11901 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11902
11903         * lyxtext.h, text.C (selectNextWord): renamed as
11904         selectNextWordToSpellcheck.
11905
11906         * text.C (selectNextWordToSpellcheck): Modified to not select
11907         words inside an ERT inset.
11908
11909 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11910
11911         * lyx_cb.C (MenuLayoutSave): change a bit the question
11912
11913         * sp_base.h: include <sys/types.h>
11914
11915 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11916
11917         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11918
11919 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11920
11921         * several files: fix typos in user-visible strings
11922
11923 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11924
11925         * text2.C (pasteSelection): do not set the selection, since it
11926         will be cleared later. Actually, the intent was to fix the way the
11927         selection was set, but I figured rmoving the code was just as good.
11928
11929 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * FontLoader.C (available): Check if font is available without
11932         loading the font.
11933
11934 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11935
11936         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11937
11938 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11939
11940         * lyxrc.[Ch]: added display_graphics variable and associated code.
11941
11942 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11943
11944         * bufferparams.C (hasClassDefaults): new method. Returns true if
11945         the buffer parameters correspond to known class defaults
11946
11947 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11948
11949         * XFormsView.C (show): set minimum size to the main window.
11950
11951 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11952
11953         * text2.C (copySelection):
11954         (cutSelection):
11955         * lyxfind.C (LyXReplace):
11956         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11957         LyXText::selectionAsString.
11958
11959         * paragraph.C (asString): add "label" argument to the second form
11960
11961         * text2.C (selectionAsString): add "label" argument and pass it to
11962         Paragraph::asString.
11963
11964 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11965
11966         * lyx_main.C (commandLineHelp): remove version information
11967
11968 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11969
11970         * lyx_main.C: add -version commandline option
11971
11972 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * paragraph.h: make the optional constructor arg required instead.
11975         some modifications to other files because of this.
11976
11977         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11978
11979         * lyxserver.C (C_LyXComm_callback): make it static
11980
11981         * lyx_main.C (error_handler): make it static
11982
11983         * lyx_gui.C (LyX_XErrHandler): make it static
11984
11985         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11986
11987         * WorkArea.C: make the extern "C" methods static.
11988
11989         * Makefile.am (lyx_LDADD): simplify
11990
11991 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11992
11993         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11994         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11995
11996         * LyXAction.C (init):
11997         * lyxfunc.C (dispatch): associated code removal.
11998
11999 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * lyxfont.h (isSymbolFont): shut off warning
12002
12003         * text.C (setHeightOfRow):
12004         (getVisibleRow): fix crash with empty paragraphs which have a
12005         bottom line
12006
12007 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12008
12009         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12010         code.
12011
12012 2001-09-04  José Matos  <jamatos@fep.up.pt>
12013         * buffer.C
12014         * buffer.h
12015         * tabular.C (docbook): rename docBook method to docbook.
12016
12017 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * Makefile.am: add dependencies to main.o.
12020
12021 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12022
12023         * FontLoader.C (available): Return false if !lyxrc.use_gui
12024
12025 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12026
12027         * FontInfo.C (query):
12028         * converter.C (view):
12029         * importer.C (Import):
12030         * exporter.C (Export): Can not -> cannot.
12031
12032 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * BufferView_pimpl.C: allow to create index inset even if
12035           string is empty
12036
12037 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12038
12039         * buffer.C (getLists): replace boost::tie code with an explicit pair
12040         as boost::tie can break some compilers.
12041
12042         * iterators.h: Added a std:: declaration to the return type of
12043         ParIterator::size.
12044
12045 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12048           case.
12049
12050 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12051
12052         * iterators.[Ch]: New files. Provide paragraph iterators.
12053
12054         * buffer.C (changeLanguage): Use paragraph iterators.
12055         (isMultiLingual): ditto
12056
12057         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12058
12059 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12060
12061         * FontLoader.C: Support for cmr font.
12062
12063 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12066         (available): New method.
12067
12068         * FontInfo.C (getFontname): Use scalable fonts even when
12069         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12070         found.
12071
12072 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * converter.C (Formats::view): reverted! Incorrect fix.
12075
12076 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * converter.C (Formats::view): only output the -paper option
12079         if the dvi viewer is xdvi, thereby fixing bug #233429.
12080
12081 2001-08-23  Herbert Voss  <voss@perce>
12082
12083         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12084
12085 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12086
12087         * Spacing.h (Spacing): Set space to Default on in the default
12088         constructor.
12089
12090 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12091
12092         * vc-backend.h (RCS::versionString): add RCS to version
12093         (CVS::versionString): add CVS to version
12094
12095         * vc-backend.C (scanMaster): do not add CVS to version.
12096         (scanMaster): do not add RCS to version
12097
12098         * lyxvc.C (versionString): new method
12099
12100         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12101
12102 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * Spacing.C (set): initialize fval
12105
12106 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12107
12108         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12109         " or \.
12110
12111 2001-08-16  Juergen Vigna  <jug@sad.it>
12112
12113         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12114
12115 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * BufferView_pimpl.C:
12118         * figureForm.C:
12119         * lyxtext.h:
12120         * text2.C: setParagraph takes linespacing now
12121
12122 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * LyxAction.C: add internal LFUN_CITATION_INSERT
12125
12126         * LyXView.C: actually apply fix
12127
12128         * bufferlist.C: fix open non-existent file
12129
12130         * lyxfind.C: fix indentation
12131
12132         * lyxfunc.C: remove unneeded assert, fix typo
12133
12134 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * MenuBackend.C: use "Floatname List"
12137
12138 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12139
12140         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12141         when converting LaTeX layout to insetERT.
12142         Generate a non-collapsed float when reading old float
12143
12144 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12145
12146         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12147         ERT insets.
12148
12149 2001-08-13  Juergen Vigna  <jug@sad.it>
12150
12151         * text.C (fill): return 0 instead of 20 as this seems to be the more
12152         correct value.
12153
12154 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12155
12156         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12157         lyxrc.font_norm.
12158
12159 2001-08-13  Juergen Vigna  <jug@sad.it>
12160
12161         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12162         casesensitive off.
12163         (SearchBackward): comment out the unlocking of the inset_owner this
12164         should not be needed!
12165
12166 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12167
12168         * Many files: Remove inherit_language, and add latex_language
12169
12170         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12171         collapsible insets.
12172
12173 2001-08-10  Juergen Vigna  <jug@sad.it>
12174
12175         * text.C (prepareToPrint): fixed hfill-width in draw!
12176
12177         * BufferView2.C (selectLastWord): save the selection cursor as this
12178         now is cleared in the function LyXText::clearSelection!
12179
12180 2001-08-08  Juergen Vigna  <jug@sad.it>
12181
12182         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12183         BACKSPACE type functions.
12184
12185         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12186         is only cutted from the document but not put in the cut-buffer, where
12187         still the old stuff should be.
12188
12189         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12190
12191         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12192
12193         * tabular.C (SetWidthOfCell): fixed special case where the width
12194         was not updated!
12195         (LeftLine): handle '|' in align_special.
12196         (RightLine): ditto
12197         (LeftAlreadyDrawed): ditto
12198         (SetWidthOfCell): ditto
12199
12200 2001-08-07  Juergen Vigna  <jug@sad.it>
12201
12202         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12203
12204 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12207         * lyxlex.[hC]: ditto
12208
12209 2001-08-06  Juergen Vigna  <jug@sad.it>
12210
12211         * text.C (getVisibleRow): fix up row clearing a bit.
12212
12213 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * minibuffer.C: make sure the X server sees the changes in the input.
12216
12217 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * paragraph.C (getFont): split into...
12220         (getLabelFont): this
12221         (getLayoutFont): and this
12222         * paragraph_pimpl.C (realizeFont): calling this
12223
12224         * text2.C (getFont): split into...
12225         (getLayoutFont): this
12226         (getLabelFont): and this
12227         (realizeFont): all three calling this
12228
12229         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12230         files where used.
12231
12232 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12233
12234         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12235
12236 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12237
12238         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12239         layouts from the Quote inset insertion.
12240
12241 2001-08-03  Juergen Vigna  <jug@sad.it>
12242
12243         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12244
12245         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12246         only if status not is already CHANGED_IN_DRAW (second level).
12247
12248         * text.C (draw): don't set the need_break_row when inside an
12249         InsetText LyXText.
12250
12251 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * buffer.C (parseSingleLyXformat2Token): handle more latex
12254         conversion cases.
12255
12256         * bufferview_funcs.[hC]: change function names to
12257         begin with small char, adjust other files.
12258
12259 2001-08-02  André Pönitz <poenitz@gmx.net>
12260
12261         * lyxfunc.C:
12262         BufferView_pimpl.C: remove broken special code for math-greek
12263
12264 2001-08-02  Juergen Vigna  <jug@sad.it>
12265
12266         * BufferView_pimpl.C (update): redone this function so that we
12267         update the text again if there was a CHANGE_IN_DRAW.
12268
12269         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12270         (drawFromTo): added a new internal bool which is used by draw() and
12271         redraw() function.
12272         (general): some cursor drawing problems fixed.
12273
12274 2001-08-01  Juergen Vigna  <jug@sad.it>
12275
12276         * lyxfind.C (LyXFind): fixed
12277         (SearchForward): ditto
12278         (SearchBackward): ditto
12279
12280         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12281         spurius drawing of the cursor in the main area.
12282
12283         * text2.C (status): small fix which could lead to a segfault!
12284         (clearSelection): remove unneeded BufferView param.
12285
12286 2001-08-01  André Pönitz <poenitz@gmx.net>
12287
12288         * lyxfunc.C: small change due to changed mathed interface
12289
12290 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12293
12294 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * lyxfunc.c: fail gracefully if file doesn't exist
12297
12298         * LyXSendto.C:
12299         * buffer.C:
12300         * lyxfunc.C:
12301         * BufferView_pimpl.C: IsDirWriteable() proto changed
12302
12303         * LyXView.C: fix updateWindowTitle() to store the last title
12304
12305 2001-07-31  Juergen Vigna  <jug@sad.it>
12306
12307         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12308         the font (wrong since using of Paragraph::highestFontInRange).
12309
12310         * paragraph.C (highestFontInRange): added a default_size parameter.
12311
12312         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12313         (setHeightOfRow): reformat
12314
12315 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * converter.[hC] + affected files: move to (inital-char)lowercase
12318         function names.
12319
12320         * ParagraphParameters.C (ParagraphParameters): remove commented code
12321
12322         * PainterBase.[Ch]: remove commented code
12323
12324         * LaTeXFeatures.h: add "bool floats" for float.sty
12325
12326         * LaTeXFeatures.C (LaTeXFeatures): init floats
12327         (require): handle float
12328         (getPackages): do it with floats
12329
12330 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12331
12332         * BufferView_pimpl.C (Dispatch): improve handling of
12333         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12334
12335         * commandtags.h: #include lyxfont.h here temporarily to avoid
12336         keybinding bug.
12337
12338         * bufferlist.h: include LString.h here.
12339
12340 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * text2.C (getStringToIndex): new method.
12343
12344 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12345
12346         * *: Reduced header file dependencies all over.
12347
12348 2001-07-30  Baruch Even  <baruch@lyx.org>
12349
12350         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12351
12352 2001-07-29  Baruch Even  <baruch@lyx.org>
12353
12354         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12355
12356 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * ParameterStruct.h (endif): add a default constructor to make
12359         sure that all variables is initialized.
12360
12361         * ParagraphParameters.C (ParagraphParameters): adjust
12362
12363 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12366         index; also, check that there is something to index, and that it
12367         does not span over several paragraphs.
12368         (doubleClick): use WHOLE_WORD_STRICT for double click.
12369
12370         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12371
12372         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12373         scheme.
12374
12375 2001-07-26  Baruch Even  <baruch@lyx.org>
12376
12377         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12378         an InsetFig figure, backwards compatible reading of old figure code.
12379
12380 2001-07-27  Juergen Vigna  <jug@sad.it>
12381
12382         * text2.C: font.realize function adaption.
12383
12384         * text.C (draw): add a warnings lyxerr text if needed.
12385
12386         * layout.C: font.realize function adaption.
12387
12388         * language.C: add inherit_language and implement it's handlings
12389
12390         * bufferview_funcs.C (StyleReset): remove language parameter from
12391         font creation (should be language_inherit now).
12392
12393         * bufferparams.C (writeFile): handle ignore_language.
12394
12395         * paragraph.C (getFontSettings): the language has to be resolved
12396         otherwise we have problems in LyXFont!
12397
12398         * lyxfont.C (lyxWriteChanges): added document_language parameter
12399         (update): removed unneeded language parameter
12400
12401         * paragraph.C (validate): fixed wrong output of color-package when
12402         using interface colors for certain fonts in certain environments,
12403         which should not seen as that on the final output.
12404
12405 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView_pimpl.C:
12408         * Thesaurus.h:
12409         * Thesaurus.C:
12410         * Makefile.am:
12411         * commandtags.h:
12412         * LyXAction.C: add thesaurus support
12413
12414         * lyxfind.h:
12415         * lyxfind.C: add "once" parameter, for thesaurus, to not
12416           move to the next match
12417
12418 2001-07-26  Juergen Vigna  <jug@sad.it>
12419
12420         * lyxfont.C (realize): honor ignore_language too!
12421         (resolved): ditto.
12422
12423         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12424
12425         * text.C (draw): one place more for ignore_language to not draw
12426         itself!
12427
12428 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12431
12432 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12435         the minipage conversion problem.
12436
12437 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12440         insert an inset.
12441
12442 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * BufferView.h: don't forward declare WorkArea
12445
12446         * BufferView.C: don't include WorkArea.h
12447
12448 2001-07-25  André Pönitz <poenitz@gmx.net>
12449
12450         * commandtags.h:
12451         * LyXAction.C:
12452         * lyxfunc.C:  new LFUN 'math-space'
12453
12454         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12455
12456 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * text2.C (toggleInset): call open/close
12459
12460 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * lyxfunc.C (dispatch): add debug for the disabled case
12463
12464         * font.C (buttonText): make similar to rectText
12465
12466         * buffer.C (readInset): comment out parsing of insetlist and
12467         insttheorem
12468
12469         * PainterBase.C (rectText): small correction
12470
12471         * BufferView_pimpl.C: comment out insettheorem and insetlist
12472         * LyXAction.C: ditto
12473         * commandtags.h: ditto
12474
12475 2001-07-24  Juergen Vigna  <jug@sad.it>
12476
12477         * text.C (draw): honor the ignore_language.
12478
12479         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12480
12481 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12484         char inset.
12485
12486 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12487
12488         * lyxtext.h: remove unused (and unimplemented) methods
12489
12490 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12491
12492         * text.C (getVisibleRow): honor background color
12493
12494         * PainterBase.h:
12495         * Painter.h: remove default color argument for fillRectangle
12496
12497         * text.C (backgroundColor): new method
12498
12499 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * text.C (getVisibleRow): adjust
12502
12503         * font.[Ch] (rectText): new method, metrics
12504         (buttonText): new method, metrics
12505
12506         * PainterBase.[hC]: make rectText and buttonText always draw and take
12507         fewer paramteres.
12508
12509 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12510
12511         * ToolbarDefaults.C (read):
12512         * MenuBackend.C (read): allow escaping in all strings
12513
12514         * BufferView_pimpl.C (insertAndEditInset): new method.
12515         (Dispatch): use insertAndEditInset whenever appropriate.
12516
12517         * BufferView_pimpl.C (insertNote): removed
12518
12519         * BufferView_pimpl.C (smartQuote): new method, moved from
12520         BufferView; if an insetquote cannot be inserted, insert a '"'
12521         character instead.
12522
12523         * BufferView2.C: remove insertCorrectQuote();
12524
12525         * lyxfunc.C (getStatus): Add support for all remaingin
12526         inset-insert lfuns.
12527
12528         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12529
12530         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12531         command (necessary to pass " as parameter of self-insert.
12532
12533         * text.C (selectWordWhenUnderCursor):
12534         (selectWord): add word_location parameter
12535         (selectWordWhenUnderCursor): same + remove special code for word
12536         boundary.
12537         (selectNextWord): use kind() to guess type of insetspecialchar,
12538         not latex().
12539
12540         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12541         (insertErtContents): create ert insets as collapsed.
12542         (readInset): better compatibility code for Info inset.
12543
12544 2001-07-20  Juergen Vigna  <jug@sad.it>
12545
12546         * lyxfunc.C (dispatch): use always LyXFind now!
12547
12548         * text2.C (init): add a reinit flag so that the LyXText can be
12549         reinited instead of deleted and reallocated (used in InsetText).
12550
12551         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12552
12553         * text.C: ditto
12554
12555         * text2.C: ditto
12556
12557 2001-07-18  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (selectNextWord): handle insets inside inset by calling
12560         always the bv->text functions so that we can go up the_locking_inset!
12561
12562         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12563         in strange locations when inside an inset!
12564
12565         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12566         handling to include insets.
12567
12568         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12569
12570 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * LyXAction.C (init):
12573         * commandtags.h:
12574         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12575         LIGATURE_BREAK, since the name is so stupid.
12576
12577 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12578
12579         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12580         InsetInfos.
12581
12582         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12583
12584         * sp_form.[Ch]: remove.
12585
12586         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12587
12588         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12589         InsetInfo.
12590
12591         * src/buffer.C (readInset): ditto.
12592
12593 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12594
12595         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12596         menuSeparator(), endOfSentenceDot(), ldots() and
12597         hyphenationPoint(), which are therefore removed.
12598         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12599
12600         * LyXAction.C (init):
12601         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12602
12603         * paragraph.C (getWord): removed.
12604
12605         * BufferView_pimpl.C (Dispatch): use last word or selection for
12606         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12607
12608         * lyx_main.C (queryUserLyXDir): do not ask before creating
12609         user_dir, except if it has been named explicitely.
12610
12611 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12614         a document of zero size.
12615
12616 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12617
12618         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12619         approriately in the c-tor and in require().
12620         (getPackages): output the appropriate LaTeX for natbib support.
12621
12622         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12623         variables "use_natbib" and "use_numerical_citations" when reading the
12624         LyX file.
12625         (readInset): read the various natbib cite commands.
12626         (validate): white-space change.
12627
12628         * bufferparams.[Ch]: new variables "bool use_natbib" and
12629         "bool use_numerical_citations".
12630         (writeFile): output them in the LyX file.
12631
12632 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12633
12634         * lyxfunc.C (getStatus): add support for all the inset insertion
12635         commands.
12636
12637         * text2.C (insertInset):
12638         * paragraph.C (insetAllowed):
12639         * BufferView_pimpl.C (insertInset): update to take in account the
12640         renaming of insertInsetAllowed
12641
12642         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12643
12644         * text2.C (getInset): new method. returns inset at cursor position.
12645
12646         * BufferView_pimpl.C (Dispatch): changes because of this.
12647
12648         * LyXAction.C (init): rename open-stuff to inset-toggle.
12649
12650         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12651
12652         * text2.C (toggleInset): renamed from openStuff; use
12653         Inset::open().
12654
12655 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12656
12657         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12658
12659         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12660
12661 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12662
12663         * buffer.C (readLyXformat2): Add filename to the error dialog
12664
12665 2001-07-18  Juergen Vigna  <jug@sad.it>
12666
12667         * tabular.C (GetCellNumber): put an assert here instead of the check!
12668
12669 2001-07-17  Juergen Vigna  <jug@sad.it>
12670
12671         * BufferView_pimpl.C (toggleSelection): adapted too.
12672
12673         * text.C (selectNextWord): adapted for use with insets.
12674         (selectSelectedWord): ditto
12675
12676 2001-07-17  Juergen Vigna  <jug@sad.it>
12677
12678         * sp_spell.C (PSpell): fix initialitation order.
12679
12680 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12681
12682         * paragraph.C: spacing
12683
12684 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12685
12686         * sp_spell.C: repair language selection for pspell
12687
12688 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12689
12690         * lyxfunc.h: change more methods to begin with lower char.
12691
12692 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12693
12694         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12695         for unknown layouts.
12696
12697 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12698
12699         * buffer.C (readLyXformat2): Generate an error dialog if there are
12700         unknown layouts.
12701
12702 2001-07-16  Juergen Vigna  <jug@sad.it>
12703
12704         * sp_spell.C: always compile ISpell part.
12705
12706         * lyxrc.C: added use_pspell entry and it's handling.
12707
12708 2001-07-13  Juergen Vigna  <jug@sad.it>
12709
12710         * sp_spell.C: removed double includes.
12711
12712 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         Consistent use of Lsstream.h:
12715         * Lsstream.h: added using std::stringstream for consistencies sake.
12716
12717         * buffer.C: removed using std::stringstream
12718
12719         * lyxfont.C (stateText):
12720         * paragraph.C (asString):
12721         * text.C (selectNextWord, selectSelectedWord):
12722         * text2.C (setCounter):
12723         * vspace.C (asString, asLatexString):
12724         std::ostringstream -> ostringstream.
12725
12726 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12727
12728         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12729         * commandtags.h: add LFUN_HELP_ABOUTLYX
12730         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12731
12732 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12733
12734         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12735         cursorToggle()
12736         * lyx_gui_misc.C: remove spellchecker
12737         * lyxfunc.C: showSpellchecker
12738         * sp_base.h: added
12739         * sp_ispell.h: added
12740         * sp_pspell.h: added
12741         * sp_spell.C: added
12742         * sp_form.[Ch]: removed
12743         * spellchecker.[Ch]: removed
12744
12745 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12746
12747         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12748         is set.
12749         (simpleTeXSpecialChars): Simply print the input character without
12750         any special translation if pass_thru is set.
12751
12752         * layout.h: Added bool pass_thru to layout class for being able to
12753         implement pass through of a paragraph for Literate Programming.
12754
12755         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12756         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12757         * layout.C (Read): add "passthru" to list of layout tags and add
12758         code to set the pass_thru boolean when it is read.
12759
12760 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * trans_decl.h: remove allowed from KmodInfo
12763
12764         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12765         remove allowed code
12766         (Load): adjust
12767
12768         * paragraph_pimpl.C (erase): use boost::prior
12769
12770         * Painter.C (text): use data() instead of c_str() when length is
12771         also provided.
12772         * WorkArea.C (putClipboard): ditto
12773         * font.h (width): ditto
12774
12775         * BufferView2.C: use it-> instead of (*it). for iterators
12776         * texrow.C: ditto
12777         * paragraph_pimpl.C: ditto
12778         * paragraph.C: ditto
12779         * minibuffer.C: ditto
12780         * language.C: ditto
12781         * kbmap.C: ditto
12782         * encoding.C: ditto
12783         * counters.C: ditto
12784         * converter.C: ditto
12785         * chset.C: ditto
12786         * Variables.C: ditto
12787         * TextCache.C: ditto
12788         * MenuBackend.C: ditto
12789         * LyXAction.C: ditto
12790         * LColor.C: ditto
12791         * FloatList.C: ditto
12792         * DepTable.C: ditto
12793         * ColorHandler.C (LyXColorHandler): ditto
12794
12795 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12798
12799         * text2.C (openStuff): reintroduce this method (which had been
12800         nuked in NEW_INSETS frenzy).
12801
12802         * lyxfunc.C (Dispatch): when an action has not been handled, use
12803         its name in the error message, not its number.
12804
12805         * paragraph.C (inInset): change method name to begin with lowercase.
12806
12807         * undo_funcs.C:
12808         * text2.C: updates because of this.
12809
12810 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12811
12812         * ToolbarDefaults.C (add): add spaces in error message
12813
12814 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12817         (readLyXformat2): rename return_par to first_par, use lyxlex's
12818         pushToken and remove the manual push handling.
12819         (parseSingleLyXformat2Token): add another ert comp. variable:
12820         in_tabular, rename return_par to first_par. handle newlines better
12821
12822 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12823
12824         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12825
12826 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * text2.C (getParFromID): removed
12829
12830         * buffer.C (getParFromID): new method moved form lyxtext.
12831         * BufferView2.C (insertErrors): adjust
12832         (setCursorFromRow): adjust
12833         * BufferView_pimpl.C (restorePosition): adjust
12834         * lyxfunc.C (Dispatch): adjust
12835         * undo_funcs.C (textUndo): adjust
12836         (textRedo): adjust
12837         (textHandleUndo): adjust
12838         (textHandleUndo): adjust
12839
12840 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * buffer.C: up' the LYX_FORMAT
12843
12844         * lyxfont.h: turn NO_LATEX on as default
12845
12846         * buffer.C (insertErtContents): new methods of tex style compability.
12847         (parseSingleLyXformat2Token): use it several places.
12848         * tabular.C (OldFormatRead): and here
12849
12850 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * text2.C: remove some commented code.
12853         reindent file.
12854
12855         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12856         * trans.C: changes because of the above.
12857
12858 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * text2.C (setCounter): Fix counters bug with bibliography layout.
12861
12862 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12865         own member functions
12866         (simpleTeXSpecialChars): ditto
12867
12868 2001-07-06  Juergen Vigna  <jug@sad.it>
12869
12870         * a lot of files: changed the access to LyXText::status and the
12871         call of undo-functions.
12872
12873         * undo.[Ch]: added a inset_id to the undo informations.
12874
12875         * undo_funcs.[Ch]: added and moved here all undo functions.
12876
12877         * lyxtext.h: give the status enum a weight, made status_ a private
12878         variable and made accessor functions for it, removed the whole bunch
12879         of undo-functions as they are now in their own file, make some
12880         functions publically available. Added function ownerParagraph with
12881         int parameter.
12882
12883         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12884         made InInset() a const function, added getParFromID() function.
12885
12886         * buffer.[Ch]: added const version for inset_iterator functions,
12887         added getInsetFromID() function.
12888
12889         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12890         changed undo functions for new version.
12891
12892 2001-07-05  Juergen Vigna  <jug@sad.it>
12893
12894         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12895         unknow mechanism does not call the proper constructor but only this
12896         one also if I request the other!?
12897
12898 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12899
12900         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12901
12902         * text2.C (LyXText): use initialization lists.
12903
12904         * lyxtext.h (Selection): initialize set_ and mark_
12905         (init): remove method
12906
12907 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12908
12909         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12910
12911 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * screen.[Ch]: change method names to begin with lowercase
12914
12915         * BufferView_pimpl.C (updateScrollbar): simplify further and
12916         hopefully make it a bit faster.
12917
12918 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12919
12920         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12921         calling directly xforms functions.
12922
12923         * Painter.C (Painter):
12924         * lyx_cb.C (MenuWrite):
12925         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12926         fl_display.
12927
12928         * lyx_gui.C: remove bogus guiruntime extern declaration.
12929
12930 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12933         in NEW_INSETS
12934         (redoDrawingOfParagraph): ditto
12935         (redoParagraphs): ditto
12936         (cutSelection): don't create a object for CutAndPaste use the
12937         static method directly
12938         (pasteSelection): ditto
12939
12940         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12941         LyXview (+ rename)
12942
12943 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * modifications to some other files because of this.
12946
12947         * Makefile.am (lyx_SOURCES): add XFormsView
12948
12949         * XFormsView.[Ch]: new files
12950
12951         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12952         the main window. Move the gui dependent stuff to XFormsView
12953
12954 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12955
12956         * tabular.C (GetCellInset): update cur_cell also in the row/col
12957         version of this function.
12958
12959         * lyxfunc.C: no need to include figure_form.h here.
12960
12961         * FontLoader.h:
12962         * lyxfunc.h:
12963         * lyxscreen.h:
12964         * text2.C:
12965         * lyxvc.C: no need to include forms.h here.
12966
12967 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12968
12969         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12970
12971         * lyxfunc.C (Dispatch):
12972         * Spacing.C (set):
12973         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12974         constructor argument.
12975
12976 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * paragraph.C (Paragraph): dont't clear, and just set layout.
12979         (makeSameLayout): use params's copy contructor.
12980
12981         * ParagraphParameters.[Ch] (makeSame): delete method
12982
12983 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * Variables.[Ch]: fix indentation, rename set to isSet
12986
12987 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * lyxfunc.C (Dispatch): fix typo
12990
12991 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12994         upper_bound.
12995
12996         * bufferlist.C: include assert.h for emergencyWrite().
12997
12998 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13001           give up at last (bug #425202) !
13002
13003 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * lyx_gui_misc.C:
13006         * sp_form.h:
13007         * sp_form.C:
13008         * spellchecker.h:
13009         * spellchecker.C: strip spellchecker options and bring up
13010           preferences tab instead
13011
13012 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13015         the istringstream constructor
13016
13017 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * paragraph.C (getLayout): fix return value
13020
13021         * paragraph.h: do not declare getLayout as inline.
13022
13023         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13024
13025 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * lyxcursor.h (operator<): new func
13028         (operator>): new func
13029         (operator>=): new func
13030         (operator<=): new func
13031
13032         * text.C (changeCase): use selection.start and selection.end
13033         (changeRegionCase): require from to be <= to. Require par to be a
13034         valid paragraph.
13035
13036         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13037
13038 2001-06-27  Juergen Vigna  <jug@sad.it>
13039
13040         * text.C (cursorLeftOneWord): changed to return the cursor and added
13041         overlay with BufferView * parameter which calls this one.
13042         (getWord): added
13043         (selectWord): use new getWord function.
13044         (changeCase): renamed from changeWordCase as and extended to work
13045         also on selections.
13046
13047         * lyxtext.h: added enum word_location
13048
13049         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13050         changeCase as this operates now also on selections.
13051
13052 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13053
13054         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13055
13056         * many files: send debug output to Debug::INFO instead of
13057         Debug::ANY.
13058
13059         * converter.C (View):
13060         (Convert):
13061         (Move): send debug output to Debug::FILES instead of console.
13062
13063 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13064
13065         * lyxfunc.C (getStatus): use func_status
13066
13067         * func_status.h: new header, describing the results of
13068         LyXFunc::getStatus;
13069
13070         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13071         LFUN_MATH_HALIGN.
13072
13073 2001-06-25  The LyX Project  <jug@sad.it>
13074
13075         * buffer.C (sgmlOpenTag):
13076         (sgmlCloseTag):
13077         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13078
13079 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * text2.C: remove some dead code
13082
13083         * tabular.C (GetCellInset): store the last cell checked (gotten)
13084
13085         * tabular.h: add the helper for the speedup
13086
13087         * lyxtext.h: remove some dead code
13088
13089 2001-06-26  The LyX Project  <Asger>
13090
13091         * paragraph.C: Change export to LaTeX of alignment to
13092         \begin{center} and family for better roundtrip work with reLyX.
13093
13094         * Tune the math drawing a bit.
13095
13096 2001-06-25  The LyX Project  <Asger>
13097
13098         * LColor.C (LColor): New color for math background. New color
13099         for buttons.
13100
13101 2001-06-25  The LyX Project  <jug@sad.it>
13102
13103         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13104
13105         * lyxfunc.C (Open):
13106         * bufferlist.C (newFile): do not restrict to files ending with
13107         .lyx
13108
13109         * BufferView_pimpl.C (MenuInsertLyXFile):
13110
13111 2001-06-24  The LyX Project  <jug@sad.it>
13112
13113         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13114         of compare_no_case
13115
13116 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * lyxtext.h: rename most methods to begin with a small char.
13119         Lots of changes because of this.
13120
13121         * paragraph.C (Paragraph): do not call fitToSize
13122         (erase): call Pimpl::erase
13123         (insertChar): call Pimpl::insertChar
13124         (insertInset): call Pipl::insertInset
13125         (breakParagraph): do not call fitToSize
13126         (breakParagraphConservative): do not call fitToSize
13127         (fitToSize): remove method
13128
13129         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13130
13131 2001-06-24  The LyX Project  <Asger>
13132
13133         * Fix Qt compilation^2
13134
13135 2001-06-24  The LyX Project  <jug@sad.it>
13136
13137         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13138         depthHook(getDepth()-1).
13139
13140         * paragraph.h:
13141         * ParagraphParameters.h:
13142         * ParameterStruct.h: change type of depth to unsigned int ==
13143         depth_type. Many adaptations to other files before of that.
13144
13145 2001-06-24  The LyX Project  <Asger>
13146
13147         * Fix Qt compilation.
13148
13149 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * paragraph.h: renamed several methods to begin with small letter.
13152         several changes to many parts of the code because of this.
13153
13154 2001-06-23  The LyX Project  <jug@sad.it>
13155
13156         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13157         rewritten to discard all double spaces when KeepEmpty is off
13158         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13159         to only handle newlines but not fiddle with spaces and friends.
13160
13161         * lyxfunc.C (MenuNew): when doing 'new from template', use
13162         template_path as default directory
13163
13164 2001-06-23  The LyX Project  <Asger>
13165
13166         * Clean-up of header file includes all over
13167         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13168
13169 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13170
13171         * paragraph.h: renamed from lyxparagraph.h
13172
13173 2001-06-23  Asger  <lyx@violet.home.sad.it>
13174
13175         * Buffer.h: Removed Buffer::resize
13176         * BufferList.h: Removed BufferList::resize
13177         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13178         the document lazily when we change the width, or the font settings.
13179
13180 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13183
13184 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13185
13186         * buffer.h: remove out of date comment
13187
13188 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * lyxscreen.h:
13191         * screen.C: fix "theoretical" GC leak
13192
13193 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * LaTeX.C (scanAuxFile):
13196         (deplog): remove trailing \r when reading stream (useful under
13197         win32)
13198
13199 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13202         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13203         and BufferView::theLockingInset(Inset*), so should use them and not
13204         access bv_->text->the_locking_inset directly.
13205
13206         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13207
13208 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * Makefile.am:
13211         * tex-defs.h: remove old unused file
13212
13213 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * BufferView_pimpl.C: fix typo, remove minibuffer message
13216           when buffer has loaded
13217
13218 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * lyxfunc.C (Dispatch): use stringstream
13221         (MenuNew): use stringstream
13222         (Open): use stringstream
13223
13224         * importer.C (Import): use stringstream
13225
13226         * bufferview_funcs.C (CurrentState): use stringstream
13227
13228         * LaTeX.C (run): use stringstream
13229
13230         * BufferView_pimpl.C (savePosition): use stringstream
13231         (restorePosition): use stringstream
13232         (MenuInsertLyXFile): use stringstream
13233
13234 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13235
13236         * BufferView.C:
13237         * Bullet.C:
13238         * ColorHandler.C:
13239         * FontInfo.C:
13240         * FontLoader.C:
13241         * LColor.C:
13242         * LaTeXFeatures.C:
13243         * Painter.C:
13244         * gettext.C:
13245         * lyx_gui_misc.C:
13246         * lyxserver.C:
13247         * vspace.C: removed // -*- C++ -*- as first line.
13248
13249         * lyxfind.h:
13250         * version.h: added // -*- C++ -*- as first line.
13251
13252 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13255
13256         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13257         of string
13258
13259 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13262         of floats.
13263
13264 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13265
13266         * gettext.C: include LString.h even when --disable-nls is on.
13267
13268 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * converter.h (Get): changed argument type from int to
13271         FormatList::size_type to avoid unnecessary conversion.
13272
13273         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13274         before using it.
13275
13276 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * gettext.h: include LString.h even when --disable-nls is on.
13279
13280 2001-06-07  Juergen Vigna  <jug@sad.it>
13281
13282         * text.C (BreakAgain): subst spaces with tabs.
13283
13284         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13285         (resizeInsetsLyXText): set force on resizeLyXText.
13286
13287 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * gettext.h (gettext_init):
13290         (locale_init): use a real definition instead of a macro
13291
13292 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13293
13294         * Bufferview_pimpl.C:
13295         * LColor.h:
13296         * LColor.C: further lcolor tidies
13297
13298 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * BufferView_pimpl.C (updateScrollbar): simplify.
13301
13302         * BufferView2.C: don't include insets/insetinfo.h, change
13303         prototype for insertInset and call the Pimpl version. let
13304         updateInset call Pimpl version.
13305
13306         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13307         gotoInset to BufferView::Pimpl
13308
13309 2001-06-01  Juergen Vigna  <jug@sad.it>
13310
13311         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13312         inside a LockingInset (is the update needed at all?).
13313
13314 2001-05-31  Juergen Vigna  <jug@sad.it>
13315
13316         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13317         here not the old one otherwise how should we compare it afterwards
13318         if it's the same!
13319
13320 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * lyxfont.C:
13323         * tabular.C:
13324         * tabular-old.C:
13325         * FontInfo.C: bring C functions into global namespace when
13326         necessary
13327
13328 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13329
13330         * LString.h: make sure config.h has been loaded before LString.h.
13331
13332         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13333         (one for each char read by EatLine!).
13334
13335         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13336         variables.
13337
13338 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13341         to the same as the par we break from
13342
13343 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13346
13347         * MenuBackend.C (expand): also create menu entries for wide
13348         versions of the floats.
13349
13350         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13351
13352         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13353
13354         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13355         frontends/Makefile.am
13356
13357         * text2.C: adjust
13358         * text.C: adjust
13359
13360
13361         * tabular.C (getTokenValue): add std::
13362
13363         * tabular-old.C (getTokenValue): add std::
13364         (getTokenValue): ditto
13365         (getTokenValue): ditto
13366
13367         * screen.C (ToggleSelection): adjust
13368
13369         * lyxtext.h: put selection cursors inside a Selection struct.
13370
13371         * lyxfunc.C (moveCursorUpdate): adjust
13372
13373         * lyxfont.C (latexWriteStartChanges): add std::
13374
13375         * lyxfind.C: adjust
13376
13377         * font.h: delete with(char const *, LyXFont const &)
13378
13379         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13380
13381         * FontInfo.C (getFontname): add std::
13382
13383         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13384         (workAreaButtonPress): adjust
13385         (tripleClick): adjust
13386         (update): adjust
13387         (moveCursorUpdate): adjust
13388         (Dispatch): adjust
13389
13390         * BufferView2.C (gotoInset): adjust
13391
13392 2001-05-30  Juergen Vigna  <jug@sad.it>
13393
13394         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13395         to check pspell I add this as default as I now have new pspell
13396         libraries and they seem to use this.
13397
13398 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * text2.C (CutSelection): make the cursor valid before the call to
13401         ClearSelection.
13402
13403 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13406         relied on 0 terminated strings and other horrors. Bug found due to
13407         the new assert in lyxstring!
13408
13409         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13410         KP_ keys.
13411
13412 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13415         to latinkeys.bind.
13416
13417         * lyxfunc.C (processKeySym): change method of getting to the
13418         self-insert char.
13419
13420         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13421         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13422         * BufferView_pimpl.[Ch]: here as private methods.
13423
13424 2001-05-28  Juergen Vigna  <jug@sad.it>
13425
13426         * text.C (SetHeightOfRow): added the update() call again as it is
13427         needed to initialize inset dimensions!
13428
13429 2001-05-16  Juergen Vigna  <jug@sad.it>
13430
13431         * text2.C (SetCharFont): Add new function with BufferView * and
13432         bool toggleall parameters for setting insets internal fonts.
13433         (SetFont): Freeze the undo as we may change fonts in Insets and
13434         all this change should be inside only one Undo!
13435
13436         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13437         setting font's in insets as for them we have the SetFont function!
13438
13439 2001-05-15  Juergen Vigna  <jug@sad.it>
13440
13441         * text2.C (ClearSelection): to be sure we REALLY don't have any
13442         selection anymore!
13443
13444         * tabular.C (TeXCellPreamble): fixed the left border problem for
13445         multicolumn cells.
13446
13447 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13448
13449         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13450         dependancy file
13451
13452 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13455         LFUN_BREAKPARAGRAPH.
13456
13457         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13458         help test to "internal only", similar for LFUN_INSERT_URL
13459
13460         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13461         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13462         auto_region_delete and deadkeys.
13463
13464 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * LColor.h:
13467         * LColor.C: remove some dead entries, tidy a little
13468
13469 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13472         commented code.
13473         (Dispatch): implement LFUN_ESCAPE
13474
13475         * commandtags.h: add LFUN_ESCAPE
13476
13477         * LyXAction.C (init): add entry for LFUN_ESCAPE
13478
13479         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13480         Remove commented code.
13481         (insertNote): moved here
13482         (open_new_inset): moved here
13483
13484         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13485         BufferView_pimpl
13486
13487 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * kbmap.C (findbinding): clean it up and make it work correctly.
13490
13491         * lyx_main.C (init): do not pass argc and argv as parameters
13492
13493 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13494
13495         * buffer.C: fix path for OS/2 & Win32
13496
13497         * lyx_gui.C:
13498         * lyx_main:
13499         * lyx_main.C: Added os:: class.
13500
13501         * os2_defines.h: update
13502
13503 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13506         better by trying again with reduced state.
13507
13508 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * lyxrc.C (read): print error about invalid key sequence only when
13511         debugging (because not all latinX keysyms are known to some X
13512         servers)
13513
13514         * kbsequence.C (getiso): add a few std:: qualifiers
13515         (getiso): comment out extra return statement.
13516
13517 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13518
13519         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13520         handling.
13521         (Dispatch): enhance the accent inset a bit. (not perfect)
13522
13523 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13526
13527 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * bufferlist.C (emergencyWrite): fix assert() call
13530
13531 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13532
13533         * text.C (InsertChar): Added trivial patch to only send the "you
13534         can not do multiple spaces this way" message once during a
13535         session.
13536
13537 2001-05-08  Baruch Even  <baruch@lyx.org>
13538
13539         * Makefile.am: Changed order of libraries to get LyX to link properly
13540         with the gnome frontend.
13541
13542 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13543
13544         * LaTeXFeatures.h: add a std:: qualifier
13545
13546 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * paragraph.C (String): use stringstream
13549
13550 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * paragraph.C (writeFile): remove footflag arg
13553
13554         * buffer.C (makeLaTeXFile): use stringstream
13555         (latexParagraphs): remove footnot gurba
13556
13557         * LaTeXFeatures.C (getPackages): use stringstream
13558         (getMacros): likewise
13559         (getTClassPreamble): likewise
13560         (getFloatDefinitions): new method
13561
13562         * paragraph.C (writeFile): reindent
13563         (Erase): reindent
13564
13565         * WorkArea.h: revert the xpos + etc changes.
13566
13567         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13568
13569         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13570
13571         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13572         (pasteSelection): likewise
13573         * text2.C (CreateUndo): likewise
13574
13575 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * minibuffer.C (peek_event): temporarily reduce the functionality
13578         of the minibuffer (to allow args on lfuns)
13579
13580         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13581         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13582
13583         * buffer.C (readInset): add compability reading of old float
13584         lists, add reading of new style float list.
13585         (readInset): avoid reevaluation of inscmd.getCmdName()
13586         (getLists): reindent
13587
13588         * MenuBackend.C (MenuItem): implement parsing of
13589         md_floatlistinsert and md_floatinsert.
13590         (expand::LastFiles): move initalizaton of iterators out of loop,
13591         avoid reevaluation.
13592         (expand::Documents): introduce typdedef vector<string> Strings,
13593         and use it.
13594         (expand::ExportFormats): introduce typedef vector<Format const *>
13595         Formats, and use it.
13596         (expand): implement FloatListInsert and FloatInsert.
13597
13598         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13599         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13600         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13601
13602         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13603         handling.
13604         (Dispatch::LFUN_FLOAT_LIST): implement
13605
13606 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13607
13608         * LaTeX.C (run): Fix problem with --export code.
13609
13610 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * BufferView.[Ch] (workarea): removed.
13613         (getClipboard) new method; wrapper for workarea()->getClipboard()
13614
13615         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13616         bug.
13617
13618         * WorkArea.h (width, height, xpos, ypos): These methods all
13619         returned the dimensions of the work_area sub-area of WorkArea,
13620         resulting in a position error if the WorkArea were resized. Now
13621         return the dimensions of the entire WorkArea.
13622
13623         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13624
13625 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13626
13627         * LaTeX.C (deplog): correct the syntax of regex reg1
13628
13629 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * undo.C: remove !NEW_INSETS cruft
13632
13633 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * text2.C: remove !NEW_INSETS cruft
13636
13637         * text.C: remove !NEW_INSETS cruft
13638
13639         * tabular.C: remove !NEW_INSETS cruft
13640
13641         * spellchecker.C: remove !NEW_INSETS cruft
13642
13643         * lyxtext.h: remove !NEW_INSETS cruft
13644
13645         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13646
13647         * lyxfunc.C: remove !NEW_INSETS cruft
13648
13649         * lyxfind.C: remove !NEW_INSETS cruft
13650
13651         * lyx_cb.C: remove !NEW_INSETS cruft
13652
13653         * figureForm.C: remove  !NEW_INSETS cruft
13654
13655         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13656
13657         * buffer.[Ch]: remove !NEW_INSETS cruft
13658
13659         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13660
13661         * CutAndPaste.C: remove !NEW_INSETS cruft
13662
13663         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13664
13665         * BufferView2.C: remove !NEW_INSETS cruft
13666
13667         * BufferView.h: remove !NEW_INSETS cruft
13668
13669 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * Lsstream.h: include LString.h before the sstream headers to
13672         fix problem with gcc 2.95.3 and lyxstring
13673
13674 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * lyx_main.C: add using directives when needed for C functions
13677         declared in std:: namespace.
13678
13679 2001-04-27  Juergen Vigna  <jug@sad.it>
13680
13681         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13682         (SetHeightOfRow): comment out the update call should not be needed!
13683
13684 2001-04-13  Juergen Vigna  <jug@sad.it>
13685
13686         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13687         (LyXTabular): tried to minimize operator= operations (and realized
13688         hopfully Lars wish).
13689
13690 2001-04-27  Juergen Vigna  <jug@sad.it>
13691
13692         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13693
13694 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13697
13698         * buffer.C (readInset): hack to make listof algorithm work
13699
13700         * BufferView_pimpl.C: hack to make listof algorithm work
13701
13702 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * LyXAction.C: removed all !NEW_INSETS cruft
13705         (init): moved lfun_item in method
13706
13707         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13708
13709 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * BufferView2.C (theLockingInset): white space.
13712
13713 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * minibuffer.C: include <iostream>
13716
13717         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13718
13719         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13720
13721         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13722
13723         * text.[Ch] (TransposeChars): new method
13724
13725 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * call message directly through LyXView instead of through LyXFunc
13728         * BufferView2.C: adjust
13729         * BufferView_pimpl.C: adjust
13730         * FontLoader.C: adjust
13731         * buffer.C: adjust
13732         * bufferview_funcs.C: adjust
13733         * converter.C: adjust
13734         * figureForm.C: adjust
13735         * importer.C: adjust
13736         * lyx_cb.C: adjust
13737         * lyx_gui_misc.C: adjust
13738         * lyxfunc.C: adjust
13739         * lyxvc.C: adjust
13740         * text2.C: adjust
13741         + more files in subdirs
13742
13743         * lyxparagraph.h (size): move up int file
13744         (GetLayout): ditto
13745
13746         * adjust all uses of Assert to lyx::Assert.
13747
13748         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13749         lyxfunctional in namespace lyx
13750         * layout.C (hasLayout): ditto
13751         (GetLayout): ditto
13752         (GetLayout): ditto
13753         (delete_layout): ditto
13754         (NumberOfClass): ditto
13755         * converter.C (GetFormat): ditto
13756         (GetNumber): ditto
13757         (Add): ditto
13758         (Delete): ditto
13759         (SetViewer): ditto
13760         * bufferlist.C (getFileNames): ditto
13761         (emergencyWriteAll): ditto
13762         (exists): ditto
13763         (getBuffer): ditto
13764         * MenuBackend.C (hasSubmenu): ditto
13765         (hasMenu): ditto
13766         (getMenu): ditto
13767         * BufferView_pimpl.C (getInsetByCode): ditto
13768
13769 2001-04-18  Juergen Vigna  <jug@sad.it>
13770
13771         * vspace.C (asLatexString): fixed the 100% problem.
13772
13773 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * lyxfunc.C (Dispatch):
13776         * minibuffer.C:
13777         * minibuffer.h: add a few std:: qualifiers
13778
13779 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * minibuffer.[Ch]: reimplement so that commands is initiated and
13782         run from lyxfunc, simplified som handling, and made the completion
13783         and history code for complete. wip.
13784
13785         * lyxfunc.C (processKeySym): call message
13786         (miniDispatch): new temporary method
13787         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13788         (LFUN_MESSAGE): implement
13789         (LFUN_MESSAGE_PUSH): implement
13790         (LFUN_MESSAGE_POP): implement
13791         (initMiniBuffer): the initial/defualt minibuffer message.
13792
13793         * lyxfont.[Ch]: inline some more getters
13794
13795         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13796
13797         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13798
13799         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13800         (AutoSave): use LFUN_MESSAGE
13801         (Reconfigure): ditto
13802
13803         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13804
13805         * figureForm.C: use LFUN_MESSAGE
13806
13807         * converter.C (runLaTeX): use LFUN_MESSAGE
13808
13809         * bufferview_funcs.C: use LFUN_MESSAGE
13810         (Melt): ditto
13811         (changeDepth): ditto
13812
13813         * bufferparams.h: use boost::
13814
13815         * bufferlist.h: inherit privately from noncopyable
13816
13817         * bufferlist.C (loadLyXFile): remove some commented code.
13818
13819         * buffer.C (runChktex): use LFUN_MESSAGE
13820
13821         * ShareContainer.h: inherit privately from noncopyable
13822
13823         * ParagraphParameters.[hC] (depth): inline it.
13824
13825         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13826         methods.
13827         (message): new method
13828         (messagePush): ditto
13829         (messagePop): ditto
13830         (show): init minibuffer
13831         (showState): direct call
13832
13833         * LaTeX.[Ch]: inherit privately from noncopyable
13834         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13835         instead of WriteStatus.
13836
13837         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13838
13839         * BufferView_pimpl.C (buffer): don't init minibuffer
13840         (workAreaButtonPress): use LFUN_MESSAGE
13841         (workAreaButtonRelease): ditto
13842         (savePosition): ditto
13843         (restorePosition): ditto
13844         (MenuInsertLyXFile): ditto
13845         (workAreaExpose): don't init minibuffer
13846         (update): remove commented code, simplify
13847
13848         * BufferView2.C (openStuff): use LFUN_MESSAGE
13849         (toggleFloat): ditto
13850         (menuUndo): ditto
13851         (menuRedo): ditto
13852         (copyEnvironment): ditto
13853         (pasteEnvironment): ditto
13854         (copy): ditto
13855         (cut): ditto
13856         (paste): ditto
13857         (gotoInset): ditto
13858         (updateInset): remove some commented code
13859
13860         * lastfiles.h: inherit privately from noncopyable
13861         * layout.h: ditto
13862         * lyx_gui.h: ditto
13863         * lyx_main.h: ditto
13864         * lyxlex.h: ditto
13865         * lyxlex_pimpl.h: ditto
13866
13867         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13868         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13869         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13870
13871         * LyXAction.h: inherit privately from noncopyable, add methods
13872         func_begin, func_end, returning iterators to the func map.
13873
13874         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13875         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13876         (func_begin): new method
13877         (func_end): new method
13878
13879         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13880         and not)
13881         (copySelection): ditto
13882         (pasteSelection): ditto
13883
13884         * BufferView.C: whitespace change
13885         * BufferView.h: inherit privately from noncopyable
13886
13887 2001-04-16  Allan Rae  <rae@lyx.org>
13888
13889         * tabular-old.C (l_getline):
13890         * spellchecker.C (sc_check_word):
13891         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13892         an unrecognised preprocessor directive.  So ensure they're wrapped.
13893
13894 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * src/exporter.C (Export): Give an error message when path to file
13897         contains spaces.
13898
13899 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13900
13901         * LaTeX.C (deplog): Always check that foundfile exists.
13902
13903 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13904
13905         * lyx_main.h:
13906         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13907
13908 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * tabular.[Ch] (getLabelList): implement new method
13911
13912         * minibuffer.h: comment ouf setTiimer
13913
13914         * minibuffer.C (ExecutingCB): constify res
13915         (peek_event): constify s
13916         (Set): constify ntext
13917         (Init): constify nicename
13918
13919         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13920
13921         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13922         (savePosition): use two params to Minibuffer::Set
13923         (restorePosition): ditto
13924
13925 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * lyx_main.C: include language.h
13928
13929         * Makefile.am (lyx_main.o): add language.h
13930
13931 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * exporter.C:
13934         * paragraph.C:
13935         * screen.C:
13936         * tabular.C:
13937         * CutAndPaste.C: include gettext.h
13938
13939         * lyxfont.h: remove old hack with ON and OFF.
13940
13941         * lyxparagraph.h:
13942         * lyxfont.h: do not include language.h...
13943
13944         * BufferView2.C:
13945         * LaTeXFeatures.C:
13946         * Painter.C:
13947         * bufferview_funcs.C:
13948         * font.C:
13949         * lyxfont.C:
13950         * text.C:
13951         * text2.C:
13952         * trans_mgr.C:
13953         * paragraph.C: ... but do it here instead
13954
13955 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13958
13959         * tabular.C: small reformat
13960
13961         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13962         NEW_INSETS version
13963         (GetChar): ditto
13964         (BreakParagraph): ditto
13965         (SetOnlyLayout): ditto
13966         (SetLayout): ditto
13967
13968         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13969         with one arg less.
13970
13971         * lastfiles.C: removed most using decl, add std:: where needed
13972
13973         * buffer.C: ws changes
13974
13975         * MenuBackend.C (class compare_format): put into anon namespace
13976         (expand): constify label, names, action, action2
13977         (expand):
13978
13979         * text.C (SingleWidth): constify font
13980         (IsBoundary): constify rtl2
13981         (GetVisibleRow): constify ww
13982
13983         * LaTeX.C (deplog): constify logfile
13984
13985         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13986         start_x, end_x
13987         (workAreaExpose): constify widthChange, heightChange
13988
13989         * lyxrow.C (par): moved
13990         (height): moved
13991         (next): moved
13992         * lyxrow.h: as inlines here
13993
13994         * lyxfont.h (shape): moved from lyxfont.C
13995         (emph): moved from lyxfont.C
13996
13997         * lyxfont.C (LyXFont): use initialization list for all
13998         constructors
13999         (shape): move to lyxfont.h as inline
14000         (emph): move to lyxfont.h as inline
14001
14002
14003 2001-04-04  Juergen Vigna  <jug@sad.it>
14004
14005         * vspace.C: had to include stdio.h for use of sscanf
14006
14007 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * BufferView.h:
14010         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14011         independent of xforms.
14012
14013 2001-04-02  Juergen Vigna  <jug@sad.it>
14014
14015         * spellchecker.C: fixed namespace placing!
14016
14017 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14018
14019         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14020         the LyXParagraph * is 0.
14021
14022 2001-03-29  Juergen Vigna  <jug@sad.it>
14023
14024         * vspace.C: added support for %, c%, p%, l%.
14025         (stringFromUnit): added helper function.
14026         (asLatexString): changed to give right results for the %-values.
14027
14028         * buffer.C: convert the widthp in a width%.
14029
14030 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14031
14032         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14033         figureForm.[Ch].
14034
14035         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14036         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14037
14038         * lyx_cb.[Ch]: see above.
14039
14040         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14041         form1.[Ch].
14042
14043         * form1.[Ch]:
14044         * lyx.[Ch]: replaced by figure_form.[Ch].
14045
14046         * lyx_gui.C:
14047         * lyx_gui_misc.C:
14048         * lyxfunc.C: changed headers associated with above changes.
14049
14050 2001-03-27  Juergen Vigna  <jug@sad.it>
14051
14052         * BufferView_pimpl.C: set the temporary cursor right!
14053
14054 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14055
14056         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14057
14058 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14059
14060         * LString.h: removed "using std::getline"!
14061
14062         * BufferView_pimpl.C (Dispatch): changes due to changes in
14063         InsetInclude::Params.
14064
14065         * buffer.C (tag_name): removed redundant break statements as they were
14066         producing lots of warnings with my compiler.
14067
14068 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * LString.h: add "using std::getline" when using the real <string>.
14071
14072 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14073
14074         * buffer.C: removed bitset usage.
14075         PAR_TAG moved to an anonymous name space.
14076         (tag_name): new funtion, also in the anonymous namespace.
14077         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14078         (makeDocBookFile): clean code. Completed transition from string arrays
14079         to string vectors.
14080         (SimpleDocBookOnePar): code clean.
14081
14082 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14083
14084         * tabular.C: add some comments.
14085
14086 2001-03-22  Juergen Vigna  <jug@sad.it>
14087
14088         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14089         compatibility read a bit and fixed bug with minipage in different
14090         depth.
14091
14092 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14093
14094         * buffer.C (pop_tag): removed.
14095         (push_tag): removed.
14096         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14097         array replaced with vector. Added support for CDATA sections.
14098         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14099         at any nest level.
14100         (makeDocBookFile): XML conformant declaration of CDATA section,
14101         fixed bug related to <emphasis> in the first paragraph char.
14102         (sgmlOpenTag): exclude empty tags.
14103         (sgmlCloseTag): ditto.
14104
14105         * buffer.h (pop_tag): removed.
14106         (push_tag): removed.
14107
14108 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * language.h (Languages): added size_type and size().
14111
14112 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14113
14114         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14115         response on compability reading of minipages. One probliem is that
14116         the old usage of minipages was «flertydig»
14117
14118         * several files here and in subdirs: don't use static at file
14119         scope use anon namespaces instead.
14120
14121 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14122
14123         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14124         LaTeX output. This is necessary for Literate document
14125         processing.
14126
14127 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14128
14129         * buffer.C: insert hfill when needed.
14130
14131         * tabular.C (l_getline): use string::erase, small whitespace change.
14132
14133         * BufferView_pimpl.C: try the anon namespace.
14134         * WorkArea.C: ditto
14135
14136 2001-03-16  Juergen Vigna  <jug@sad.it>
14137
14138         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14139         otherwise it won't open options-dialogs.
14140
14141         * buffer.C: honor pextraWidth(p) on converting minipages.
14142
14143         * tabular.C (l_getline): changed the functions to strip trailing \r.
14144
14145 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14146
14147         * BufferView_pimpl.C:
14148         * minibuffer..C: added "using SigC::slot" declaration.
14149
14150 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14151
14152         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14153
14154         * text2.C: ditto
14155
14156         * text.C: ditto
14157
14158         * paragraph.C: ditto
14159
14160         * lyxtext.h: NO_PEXTRA
14161
14162         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14163
14164         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14165         * ParameterStruct.h: ditto
14166         * ParagraphParameters.h: ditto
14167         * lyxparagraph.h: ditto
14168
14169 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14170
14171         * buffer.C: add compability for minipage alignment.
14172         (latexParagraphs): remove unwanted pextra check.
14173
14174         * several files: remove CXX_WORKING_NAMESPACES
14175
14176         * buffer.C (pop_tag): tie is in namespace boost
14177
14178         * BufferView.h: noncopyable is in namespace boost
14179         * lyxlex.h: ditto
14180         * lyx_main.h: ditto
14181         * lyx_gui.h: ditto
14182         * layout.h: ditto
14183         * lastfiles.h: ditto
14184         * bufferlist.h: ditto
14185         * ShareContainer.h: ditto
14186         * LyXView.h: ditto
14187         * LyXAction.h: ditto
14188         * LaTeX.h: ditto
14189
14190 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * Merging changes from BRANCH_MVC back into HEAD.
14193
14194         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14195
14196 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14197
14198         * BufferView_pimpl.C: change from intl.C
14199
14200         * combox.h:
14201         * combox.C:
14202         * Makefile.am: move combox.*
14203
14204         * form1.h:
14205         * form1.C:
14206         * lyx_gui.C:
14207         * intl.h:
14208         * intl.C: remove dialog (covered by prefs)
14209
14210 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * lyxfunc.C (Dispatch): removed redundant break statement.
14213
14214 2001-03-14  Juergen Vigna  <jug@sad.it>
14215
14216         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14217
14218 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14219
14220         * buffer.C: add hack to fix compability reading of minipages.
14221
14222 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14223
14224         * buffer.C (getLists): Cleanup.
14225
14226 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * lyxfont.C (update): don't honor toggleall on font size.
14229
14230 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * bmtable.c:
14233         * bmtable.h:
14234         * Makefile.am: moved to frontends/xforms/
14235
14236         * lyx_gui_misc.C:
14237         * lyxfunc.C:
14238         * BufferView_pimpl.C: changes for moved mathpanel
14239
14240 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * gettext.h: fix gettext_init() in --disable-nls
14243
14244 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14245
14246         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14247
14248 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * lyx.C:
14251         * lyx.h: strip external form
14252
14253 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * BufferView_pimpl.C: add comment, destroySplash()
14256
14257 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * BufferView_pimpl.C:
14260         * LyXAction.C:
14261         * buffer.C:
14262         * commandtags.h:
14263         * lyxfunc.C: use re-worked insetinclude
14264
14265 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14266
14267         * buffer.C: add using std::stringstream.
14268
14269         * lyx_cb.C: readd using std::ios.
14270
14271         * buffer.C: add using std::map.
14272
14273         * BufferView_pimpl.C: add using std::vector.
14274
14275         * ShareContainer.h: add std:: to swap.
14276
14277         * buffer.h: add some typedefs
14278         * buffer.C (getLists): use them
14279         (getLists): renamed from getTocList.
14280         add a counter for the different float types and use it in the
14281         generated string.
14282         (getLists): use the same counter for the NEW_INSETS and the "non"
14283         NEW_INSETS
14284
14285         * lyx_cb.h: remove unused items, includes, using etc.
14286
14287         * ShareContainer.h: remove some commented code, add more comments
14288         and "documentation".
14289
14290 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14291
14292         * buffer.C (getTocList): make the list also when NEW_INSETS is
14293         defined.
14294
14295         * buffer.h: remove TocType
14296
14297         * buffer.C (getTocList): change to return a map<string,
14298         vector<TocItem> >, implement for dynamic number of list.
14299
14300         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14301         * text2.C (PasteSelection): adjust
14302         * CutAndPaste.C (pasteSelection): adjust
14303
14304         * FloatList.C (FloatList): update from the new_insets branch.
14305         * Floating.[Ch]: ditto
14306         * LaTeXFeatures.C: ditto
14307         * buffer.C: ditto
14308         * lyxlex_pimpl.C: ditto
14309
14310         * paragraph.C (Last): remove when NEW_INSETS is defined.
14311
14312         * other file: changes because of the above.
14313
14314 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14315
14316         * lyxparagraph.h: rename next to next_, previous to previous_,
14317         make them private for NEW_INSETS. Rename Next() to next(),
14318         Previous() to previous().
14319
14320         * other files: changes because of the above.
14321
14322 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14323
14324         * BufferView.h:
14325         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14326         problem.
14327
14328 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * main.C (main): pass lyx_localedir to gettext_init().
14331
14332         * gettext.h: remove locale_init and gettext_init macros
14333
14334         * gettext.C (locale_init): new function
14335         (gettext_init): new function
14336
14337         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14338         setlocale().
14339
14340 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14341
14342         * Moved credits to frontends:
14343         * credits.[Ch]: removed
14344         * credits_form.[Ch]: removed
14345         * lyx_gui_misc.C: remove credits stuff
14346         * Makefile.am:
14347
14348 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14349
14350         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14351
14352         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14353         unneeded destructor.
14354
14355         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14356         a standalone pointer again.
14357
14358         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14359
14360 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * Makefile.am:
14363         * filedlg.h:
14364         * filedlg.C:
14365         * LyXAction.C:
14366         * ToolbarDefaults.C:
14367         * bufferlist.C:
14368         * commandtags.h:
14369         * form1.C:
14370         * form1.h:
14371         * lyx_cb.C:
14372         * lyx_cb.h:
14373         * lyxfunc.h:
14374         * lyxfunc.C:
14375         * BufferView_pimpl.C: use new file dialog in GUII
14376
14377         * lyx_cb.h:
14378         * lyx_cb.C: remove LayoutsCB to Toolbar
14379
14380 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14381
14382         * ShareContainer.h (get): add std:: qualifier
14383
14384 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * ShareContainer.h: define a proper ShareContainer::value_type
14387         type (and use typename to please compaq cxx)
14388
14389 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14390
14391         * lyxparagraph.h: move serveral local vars to
14392         ParameterStruct/ParagraphParameters., use ShareContainer in
14393         FontTable., make vars in FontTable private and add getter and
14394         setter.
14395
14396         * paragraph.C: changes because of the above.
14397
14398         * lyxfont.h: remove copy constructor and copy assignment. (the
14399         default ones is ok), move number inside FontBits. move inlines to
14400         lyxfont.C
14401
14402         * lyxfont.C: add number to initializaton of statics, move several
14403         inlines here. constify several local vars. some whitespace
14404         cleanup. Dont hide outerscope variables.
14405
14406         * Spacing.h: add two new constructors to match the set methods.
14407
14408         * ShareContainer.h: new file, will perhaps be moved to support
14409
14410         * ParameterStruct.h: new file
14411
14412         * ParagraphParameters.h: new file
14413
14414         * ParagraphParameters.C: new file
14415
14416         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14417         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14418
14419         * BufferView_pimpl.C: ParagraphParameter changes.
14420         * buffer.C: Likewise.
14421         * bufferview_funcs.C: Likewise.
14422         * text.C: Likewise.
14423         * text2.C: Likewise.
14424
14425 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14426
14427         * lyxfind.C (LyXReplace): do not redefine default argument in
14428         implementation.
14429         (IsStringInText): ditto
14430         (SearchForward): ditto
14431         (SearchBackward): ditto
14432
14433 2001-03-06  Juergen Vigna  <jug@sad.it>
14434
14435         * lyxfind.C (IsStringInText): put parentes around expressions.
14436
14437 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14438
14439         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14440
14441 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14444
14445         * stl_string_fwd.h: add comment
14446
14447         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14448
14449         * tabular.h:
14450         * tabular.C: remove unused DocBook methods
14451
14452         * intl.C:
14453         * language.C:
14454         * paragraph.C:
14455         * buffer.C:
14456         killed DO_USE_DEFAULT_LANGUAGE
14457
14458 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * lyx_gui.C: do not include language.h.
14461
14462         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14463         arguments in function implementation.
14464
14465 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14466
14467         * BufferView_pimpl.C: add <ctime>
14468
14469 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14470
14471         * BufferView_pimpl.C: add using std::find_if
14472
14473 2001-02-27  José Matos  <jamatos@fep.up.pt>
14474
14475         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14476         by OnlyPath.
14477
14478 2001-02-11  José Matos  <jamatos@fep.up.pt>
14479
14480         * buffer.C (makeDocBookFile): command styles now have a parameter as
14481         "title" by default.
14482
14483 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14484
14485         * layout_forms.[Ch]: removed
14486         * lyx_cb.[Ch]: out character
14487         * lyx_gui.C: out character
14488         * lyx_gui_misc.C: out character
14489         * bufferview_funcs.C: : out character,
14490         added toggleall as parameter in ToggleAndShow
14491
14492 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14495
14496         * text2.C (SetCurrentFont): Disable number property at boundary.
14497
14498 2001-02-26  Juergen Vigna  <jug@sad.it>
14499
14500         * lyxfunc.C (getStatus): added a string argument override function so
14501         that this is correctly called from LyXFunc::Dispatch if it contains a
14502         do_not_use_argument which is used!
14503         (Dispatch): added check for "custom" export and call appropriate func.
14504
14505 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * lyxrc.C: Add language_command_local, language_use_babel and
14508         language_global_options.
14509
14510         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14511
14512         * buffer.C (makeLaTeXFile): Use language_use_babel and
14513         language_global_options.
14514
14515 2001-02-23  Juergen Vigna  <jug@sad.it>
14516
14517         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14518         which works with LyXText and putted it inside BufferView. Here now we
14519         only call for that part the BufferView::Dispatch() function.
14520
14521         * BufferView.C (Dispatch): added.
14522
14523         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14524         functions which needs to use a LyXText over from LyXFunc.
14525         (MenuInsertLyXFile): added
14526         (getInsetByCode): added
14527         (moveCursorUpdate): added
14528         (static TEXT): added
14529
14530 2001-02-22  Juergen Vigna  <jug@sad.it>
14531
14532         * BufferView_pimpl.C (update): call a status update to see if LyXText
14533         needs it.
14534
14535 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14536
14537         * vc-backend.C (revert): implement for CVS
14538         (getLog): implement for CVS
14539
14540 2001-02-20  Juergen Vigna  <jug@sad.it>
14541
14542         * text2.C (ClearSelection): added BufferView param for inset_owner call
14543
14544         * lyxfunc.C (TEXT): added this function and use it instead of
14545         directly owner->view()-text of getLyXText().
14546
14547 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14548
14549         * src/layout_forms.C: out preamble
14550         * src/layout_forms.h: out preamble
14551         * src/lyx_cb.C: out preamble
14552         * src/lyx_cb.h: out preamble
14553         * src/lyx_gui.C: out preamble
14554         * src/lyx_gui_misc.C: out preamble
14555         * src/lyxfunc.C: connect with guii preamble
14556
14557 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14560
14561 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14564         whether to run bibtex.
14565
14566 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14567
14568         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14569
14570 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14571
14572         * Makefile.am (lyx_SOURCES): removed bibforms.h
14573
14574         * vspace.h: doxygen
14575
14576         * text.C (GetVisibleRow): make several local vars const
14577
14578         * tabular.C: small cleanup.
14579
14580         * lyxserver.C (callback): use compare instead of strncmp
14581
14582         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14583         inlines to after class or to paragraph.C
14584
14585         * lyxfont.h: remove friend operator!=
14586
14587         * converter.h: move friend bool operator< to non friend and after
14588         class def.
14589
14590         * combox.h: small cleanup
14591
14592         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14593         to inlines after class def.
14594
14595         * buffer.C (pop_tag): use string operations instead of strcmp
14596
14597         * bmtable.c: doxygen, small cleanup
14598
14599         * LaTeX.h: remove friend operator==
14600
14601 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14602
14603         * screen.C:
14604         * lyxrc.[Ch]:
14605         * lyxfunc.C:
14606         * lyxfont.[Ch]:
14607         * lyx_cb.C:
14608         * intl.[Ch]:
14609         * commandtags.h:
14610         * buffer.C:
14611         * WorkArea.[Ch]:
14612         * LyXAction.C:
14613         * BufferView_pimpl.C:
14614         * BufferView.[Ch]: remove cruft
14615
14616 2001-02-14  Juergen Vigna  <jug@sad.it>
14617
14618         * lyxfunc.C: removed #if 0 unused code
14619
14620         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14621
14622         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14623
14624         * text2.C (SetSelection): added a BufferView * parameter
14625
14626 2001-02-13  Juergen Vigna  <jug@sad.it>
14627
14628         * lyxfunc.C (Dispatch): fixed protected blank problem.
14629         * BufferView2.C (protectedBlank): added LyxText * parameter.
14630
14631         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14632         (AppendColumn): same as above for column_info.
14633
14634         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14635         (moveCursorUpdate): use a LyXText param for support of InsetText.
14636
14637         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14638         (tripleClick): ditto
14639
14640         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14641
14642         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14643
14644         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14645
14646         * text2.C (SetSelection): set correct update status if inset_owner
14647         (ToggleFree): ditto
14648
14649 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14650
14651         * tabular.C: remove some commented code.
14652
14653 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * BufferView_pimpl.C: call hideSplash()
14656
14657         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14658
14659         * include_form.h:
14660         * bibforms.h: remove
14661
14662         * lyxfunc.C:
14663         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14664           add LFUN_CHILD_CREATE
14665
14666         * counters.h: fix tiny typo
14667
14668         * lyx_cb.C:
14669         * lyx.h:
14670         * lyx_gui.C:
14671         * lyx.C: move splash to frontends/xforms/
14672
14673         * lyx_gui_misc.C: move Include and Bibform to frontends
14674
14675         * lyxvc.h: clarify comment
14676
14677         * vspace.C: tiny housekeeping
14678
14679 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * text.C (PrepareToPrint): RTL Fix.
14682
14683         * paragraph.C (GetUChar): New method.
14684         (String):  Use GetUChar.
14685
14686         * buffer.C (asciiParagraph): Use GetUChar.
14687
14688 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14689
14690         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14691
14692 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * buffer.h:
14695         * buffer.C: rename to getLogName(), handle
14696           build log / latex log nicely
14697
14698 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14699
14700         * MenuBackend.C:
14701         * MenuBackend.h: remove support for reference menuitem type.
14702
14703 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * BufferView_pimpl.C: housekeeping
14706         * BufferView_pimpl.h:
14707         * LyXView.h:
14708         * Makefile.am:
14709         * Timeout.C:
14710         * Timeout.h:
14711         * minibuffer.h: move Timeout GUI-I
14712
14713 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * lyxrc.C (read): Update converters data-structures.
14716
14717 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14718
14719         * LaTeX.h (operator!=): add operator != for Aux_Info
14720
14721 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14724
14725         * LaTeXLog.C: deleted, useful code moved to Buffer
14726
14727         * buffer.h:
14728         * buffer.C: new function getLatexLogName()
14729
14730         * lyx_gui_misc.C:
14731         * lyx_gui.C:
14732         * lyxvc.C:
14733         * lyxvc.h:
14734         * lyxfunc.C: use frontends for LaTeX and VC logs
14735
14736 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14737
14738         * LaTeX.h: yet another std:: that Allan forgot.
14739
14740         * Variables.C (set): renamed from isset(), because this clashes
14741         with some HP-UX macros (grr).
14742
14743 2001-02-06  Allan Rae  <rae@lyx.org>
14744
14745         * LaTeX.h: Another bug fix.  Missing std:: this time.
14746
14747 2001-02-04  Allan Rae  <rae@lyx.org>
14748
14749         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14750         floats problem. I've left it commented out because it's not quite
14751         correct.  It should also test that the current object is a table or
14752         figure inset.  But I haven't gotten around to figuring out how to do
14753         that.  I *think* it'll be something like: "table" == inset.type()
14754
14755         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14756         bool.
14757
14758 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14759
14760         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14761         all the citation/databases/styles in the auxilary file.
14762         (run): Rerun latex if there was a babel language error.
14763
14764 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * text.C (Backspace): Preserve the font when changing newline char
14767         with a space.
14768         (BreakParagraph): If the cursor is before a space, delete the space.
14769
14770         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14771
14772 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14773
14774         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14775         new argument (code).
14776         (ChangeCitationsIfUnique): New method.
14777
14778         * paragraph.C (GetPositionOfInset): Handle bibkey.
14779
14780 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * BufferView_pimpl.h: change type of Position::par_pos to
14783         LyXParagraph::size_type.
14784
14785 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14786
14787         * BufferView_pimpl.C (savePosition, restorePosition): Write
14788         messages to minibuffer.
14789
14790 2001-01-28  José Matos  <jamatos@fep.up.pt>
14791
14792         * buffer.C (makeDocBookFile): adds support for document language.
14793         A silly restriction on the name of LatexCommand types where removed.
14794         Added support for CDATA sections, allows to chars unescaped, used
14795         among others in code, to avoid escape < and >.
14796
14797 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14798
14799         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14800         saved positions instrad of a stack. Furthermore, a position is
14801         stored using paragraph id/paragraph position.
14802
14803         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14804         Remove LFUN_REF_BACK.
14805
14806 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * converter.C (dvipdfm_options): New method.
14809
14810 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * vspace.C (isValidLength): Fix for empty input string.
14813
14814 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14815
14816         * LyXAction.C (init): change description of LFUN_FIGURE to
14817         "Insert Graphics"
14818
14819 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * LaTeX.C: add using directive
14822
14823 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14824
14825         * MenuBackend.C (expand): Fix the sorting of the formats.
14826
14827 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * lyx_main.C: tiny error message fix
14830
14831 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14834         calling fl_initialize(). This fixes the problem with ',' as
14835         decimal separator in text files.
14836
14837 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * trans.C (process): Fix the keymap bug.
14840
14841 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14842
14843         * LaTeX.C (scanAuxFiles): New method. Provides support for
14844         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14845         (scanLogFile) Scan for "run BibTeX" messages.
14846
14847         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14848         OT1 font encoding. Also, load the aecompl package if the ae
14849         package is loaded.
14850
14851         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14852
14853 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * texrow.C (increasePos): turn two error messages into debug
14856         messages.
14857
14858 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14859
14860         * LaTeX.C (scanAux): Handle the \@input macro.
14861         (runBibTeX): Use scanAux().
14862
14863         * language.C (latex_options_): New field.
14864
14865         * LaTeXFeatures.C (getMacros): Add language macros.
14866
14867         * buffer.C (makeLaTeXFile): Small fix.
14868
14869 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14872
14873         * text2.C: add a using directive.
14874
14875 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14876
14877         * BufferView2.C:
14878         * lyx_gui_misc.h:
14879         * lyxfr1.C:
14880         * lyxfunc.C: kill LyXBell.
14881
14882 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * text.C (IsBoundary): Remove the error message
14885
14886         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14887
14888         * lyxrc.C (setDefaults): Correct initialization value for
14889         font_norm_type.
14890
14891 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14894         gotoError().
14895
14896         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14897         and GotoNextNote().
14898
14899         * src/LyXAction.C: Added reference-next.
14900
14901         * text.C (InsertChar): Use contains instead of strchr.
14902
14903         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14904
14905 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14908         alignment commands (when needed).
14909
14910         * text.C (InsertChar): Add ':' to number separator chars.