]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
a bit nicer functor usage
[lyx.git] / src / ChangeLog
1 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * InsetList.C: replace functor MathcIt with adaptable functor
4         InsetTablePosLess
5         (insetIterator): modify accordingly
6
7         * BranchList.h: move the BranchNamesEqual functor here from...
8         * BranchList.C: ... to here
9
10         * BranchList.C: new BranchListEqual fuctor, use it. Remove
11         SameName and match.
12         (add): replace a finding loop with std::find_if.
13
14 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * output_docbook.C: moving LatexParam functionality into
17         .layout files
18
19 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
20
21         * buffer.C: increment format to 229.
22
23 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
24
25         * LaTeXFeatures.C:
26         * lyx_sty.[Ch]: remove minipageindent_def
27
28         * LyXAction.C:
29         * factory.C:
30         * lfuns.h:
31         * lyxfunc.C:
32         * text3.C: remove LFUN_INSET_MINIPAGE
33
34 2003-12-28  Angus Leeming  <leeming@lyx.org>
35
36         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
37
38 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * text2.C (setParagraph): fix off-by-one crash
41
42 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * output_docbook.C: header stuff for AGU
45
46 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * text2.C (redoCursor): remove
49         * text.C:
50         * text3.C:
51         * BufferView_pimpl.C: remove calls to redoCursor and
52         setCursor(cursor.par(), cursor.pos()) all around
53
54 2003-12-15  Angus Leeming  <leeming@lyx.org>
55
56         * buffer.C: up the format to 228.
57
58 2003-12-15  André Pönitz  <poenitz@gmx.net>
59
60         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
61         slices
62
63         * Makefile.am:
64
65         * BufferView_pimpl.C:
66         * cursor.[Ch]:
67         * lyxcursor.[Ch]:
68         * rowpainter.[Ch]:
69         * lyxtext.h:
70         * text.C:
71         * text2.C:
72         * text3.C: adjust
73
74 2003-12-15  Angus Leeming  <leeming@lyx.org>
75
76         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
77         than getFromGUIName to manipulate the color.
78
79 2003-12-14  Angus Leeming  <leeming@lyx.org>
80
81         * BranchList.[Ch]: minimize the API.
82         (Branch::getBranch, getColor): now return a 'const &'.
83         (Branch::setSelected) now returns a bool set to true if the
84         selection status changes.
85         (BranchList::clear, size, getColor, setColor, setSelected,
86         allBranches, allSelected, separator): removed.
87         (BranchList::find): new functions, returning the Branch with
88         the given name.
89         (BranchList::add, remove): return a bool indicating that
90         the operation was successful.
91
92         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
93         new InsetBranch::isBranchSlected member function.
94
95         * LColor.[Ch]: mimimize the API.
96         (fill): renamed as addColor and made private.
97         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
98         versions of these functions taking a string arg have been removed.
99
100         * bufferparams.C (readToken):
101         * lyxfunc.C (dispatch):
102         * lyxrc.C (read): changes due to the altered BranchList and
103         LColor APIs.
104
105         * factory.C (createInset, readInset): changes due to altered
106         InsetBranch c-tor.
107
108 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * factory.C:
111         * lyxfunc.C: remove insetminipage. "minipage-insert"
112         now produces a frameless minipage box inset.
113
114 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * textcursor.[Ch] (selStart,selEnd): add new methods
117         remove selection::start, end, use LyXCursor::operator<
118         * lyxcursor.[Ch] (operator<): add
119         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
120         * BufferView.[Ch] (unsetXSel): add
121         * text2.C (clearSelection): use unsetXSel,adjust
122         * text.C: adjust
123         * text3.C: adjust
124         * rowpainter.C: adjust
125         * bufferview_funcs.C (put_selection_at): adjust
126
127 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * BufferView_pimpl.C: small coord. correction
130
131 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
132
133         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
134         dragging over the splash screen.
135
136 2003-12-11  Angus Leeming  <leeming@lyx.org>
137
138         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
139         as it is now handled in LyXText::dispatch.
140
141         * text3.C (doInsertInset): remove a level of nesting.
142
143 2003-12-11  Angus Leeming  <leeming@lyx.org>
144
145         * factory.C (createInset): changes due to the changed interface to
146         InsetCommandMailer::string2params.
147
148 2003-12-10  Angus Leeming  <leeming@lyx.org>
149
150         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
151         'dialog-show-new-inset <inset name>'
152
153 2003-12-10  Angus Leeming  <leeming@lyx.org>
154
155         * buffer.C: up the format to 227.
156
157         * factory.C: the box inset is now identified simply by 'Box'.
158
159 2003-12-10  Angus Leeming  <leeming@lyx.org>
160
161         * buffer.C: up the format to 226.
162
163         * factory.C: the note inset is now identified simply by 'Note'.
164
165 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
166
167         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
168         when a pit is enough. Standarize a couple of loops.
169
170 2003-12-05  Angus Leeming  <leeming@lyx.org>
171
172         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
173         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
174         data to the re-worked "log" dialog.
175
176 2003-12-03  André Pönitz  <poenitz@gmx.net>
177
178         * PosIterator.C:
179         * iterators.C:
180         * lyxtext.h:
181         * output_latex.C:
182         * paragraph_funcs.C:
183         * text.C:
184         * text2.C: use Inset::getText instead of Inset::getParagraph
185
186 2003-12-03  André Pönitz  <poenitz@gmx.net>
187
188         * buffer.[Ch]:
189         * lyxtext.h:
190         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
191         InsetText::read() as LyXText::read()
192
193 2003-12-02  Angus Leeming  <leeming@lyx.org>
194
195         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
196         type. Add a comment in the implementation that the function uses
197         the stream's bad() function rather than fail() as the std::streams
198         would do.
199
200 2003-12-02  André Pönitz  <poenitz@gmx.net>
201
202         * lyxlex.[Ch]: make interface more similar to std::stream
203
204         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
205
206 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
209
210 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
211
212         * vspace.[Ch]: remove VSpace::NONE
213
214 2003-12-01  André Pönitz  <poenitz@gmx.net>
215
216         * buffer.[Ch]:
217         * lyxtext.h: move ParagraphList member to LyXText
218         rename LyXText::ownerParagraphs to LyXText::paragraph
219
220         * CutAndPaste.C:
221         * bufferview_funcs.C:
222         * iterators.[Ch]:
223         * lyx_cb.C:
224         * paragraph.C:
225         * rowpainter.C:
226         * tabular.C:
227         * text.C:
228         * text2.C:
229         * text3.C: adjust
230
231         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
232
233         * undo.C: fix cursor positioning
234
235 2003-12-01  John Levon  <levon@movementarian.org>
236
237         * BufferView_pimpl.C: fix a crash on exit with
238         a buffer open
239
240 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * BranchList.C: fix setSelected() method.
243
244 2003-11-28  André Pönitz  <poenitz@gmx.net>
245
246         * ParagraphParameters.[Ch]:
247         * ParameterStruct.h: remove space above/below from Paragraph to
248          InsetVSpace
249
250         * BufferView_pimpl.C:
251         * factory.C:
252         * lyxfunc.C:
253         * lyxtext.h:
254         * output_latex.C:
255         * paragraph.C:
256         * paragraph_funcs.C:
257         * rowpainter.[Ch]:
258         * text.C:
259         * text2.C:
260         * text3.C: adjust
261
262 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * factory.C: Syntax change for CharStyles
265
266 2003-11-28  André Pönitz  <poenitz@gmx.net>
267
268         * BufferView.[Ch]:
269         * BufferView.[Ch]:
270         * buffer.[Ch]:
271         * buffer.[Ch]: move LyXText member
272
273 2003-11-28  André Pönitz  <poenitz@gmx.net>
274
275         * BufferView.[Ch]: make LyXText * text a private member
276
277         * BufferView_pimpl.C:
278         * cursor.C:
279         * iterators.C:
280         * lyx_cb.C:
281         * lyxfind.C:
282         * lyxtext.h:
283         * rowpainter.[Ch]:
284         * text.C:
285         * text2.C:
286         * undo.C: adjust
287
288         * output_plaintext.C: cleanup
289
290 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
291
292         * buffer.C:
293         * lyxtextclass.[Ch]: parametrize SGML document header
294
295 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * converter.[Ch]:
298         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
299         getFlavor().
300
301 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * text2.C (setFont): rework using PosIterator (no more recursive)
304         (setCharFont): no more needed
305         (setLayout): no more selection cursors fiddling (done by redoCursor)
306         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
307         destroy remaining ones)
308
309 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
310
311         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
312         * lyxtext.h: ditto
313         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
314         selection cursors
315         * lyxfunc.C: adjust
316         * text3.C: adjust + re-allow multi par depth changes
317         * textcursor.C: simplify a bit
318
319 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * src/buffer.C:
322         * src/lyxlayout.C:
323         * src/lyxlayout.h:
324         * src/lyxtext.h:
325         * src/output_docbook.C:
326         * src/output_latex.C:
327         * src/paragraph.C:
328         * src/paragraph.h:
329         * src/sgml.C:
330         * src/sgml.h:
331         * src/text2.C: Introducing a number of tags parametrizing various
332         XML formats that we may want to support
333
334 2003-11-25  André Pönitz  <poenitz@gmx.net>
335
336         * InsetList.[Ch] (begein, end): inline as suggested by profiler
337
338         * lyxtext.h (leftMargin/rightMargin): simplify interface
339
340         * rowpainter.C:
341         * text.C:
342         * text2.C:
343         * text3.C: adjust
344
345 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
346
347         * lyxfunc.C (dispatch): propogate the bibtex databases from the
348         master file to any child files. Fixes bug 546.
349
350 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
353
354 2003-11-24  André Pönitz  <poenitz@gmx.net>
355
356         * rowpainter.C: simplification
357
358         * text2.C (updateCounters): remove call to redoParagraph on
359         changed labels as this is far too expensive.
360
361 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
362
363         * converter.C (convert): fix a crash: this function gets
364         called with buffer == 0 from importer code.
365
366 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * text3.C (cursorPrevious): make sure that we do not compare
369         iterators form different containers.
370         (cursorNext): ditto
371
372         * rowpainter.C (paintSelection): make sure that we do not compare
373         iterators from different containers.
374
375         * text3.C (dispatch): [PRIOR] make sure that we do not compare
376         iterators from different ParagraphList containers.
377         [NEXT] ditto
378
379         * text2.C (LyXText): change order of initialization slightly
380         (operator=): new function. copy all variables except cache_par_
381         (moveUp): make sure that we do not compare iterators from
382         different ParagraphList constainers.
383         (moveDown): ditto
384
385         * text.C (firstPar): new function
386         (lastPar): new function
387         (endPar): new function
388
389         * lyxtext.h: move things around and group public functions, public
390         variables, private functions, private variables
391
392 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
393
394         * factory.C: change call to InsetERT constructor to avoid
395         additional invocation of method status
396         * text2.C (toggleInset): remove redundant update() call
397         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
398         instead of a Bufferview pointer
399
400 2003-11-21  André Pönitz  <poenitz@gmx.net>
401
402         * rowpainter.C: simplification
403
404 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * text3.C (dispatch): make possible to extend a word/row selection
407         with the mouse
408
409 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * lyxtext.h: x0_,y0_ -> xo_,yo_
412         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
413         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
414         * rowpainter.C (paintRows): paint full paragraphs
415
416 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
419         screen coordinates)
420
421 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * lyxtext.h: add x0_, y0_
424         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
425         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
426
427 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
428
429         * text2.C (setCursorIntern): move the x_target update here *
430         * text3.C: change some bv() to true/false in calls to
431         cursorUp/Down/Right/Left
432         * cursor.C: use helper function.
433
434 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
437         * paragraph_funcs.[Ch]: correct comment
438         * rowpainter.C: do not paint selections away from bv->cursor()
439         Fix a long standing selection painting bug.
440         * text3.C: generalize mouse-selection code to LyXTexts other that
441         top one
442         * textcursor.C: do not use y coords if we can use par offsets
443
444 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
445
446         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
447         cursor position after e.g. inset insert)
448
449 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
450
451         * lyxfind.C (replace): adjust to locking removal + some
452         code simplification
453
454 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
457         of the path
458
459 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * lyxlayout.[Ch]:
462         * output_docbook.C: XML sanitation: new layout
463         parameters InnerTag and CommandDepth
464
465 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * BufferView_pimpl.C:
468         * factory.C:
469         * text3.C: Fix the insertion and modification of button-style
470         insets
471
472 2003-11-13  André Pönitz  <poenitz@gmx.net>
473
474         * InsetList.[Ch]: remove deleteLyXText
475
476         * paragraph.[Ch]: cache beginOfBody position
477
478         * Bidi.C:
479         * text.C:
480         * text2.C:
481         * text3.C: remove superfluous update() calls
482
483         * vspace.C: cleanup
484
485 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
488         * BufferView.C (fitLockedInsetCursor): remove
489         * cursor.[Ch] (getDim): add
490         * text.C (getRowNearY): add faster version
491         * text3.C: remove some update calls
492
493 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * LaTeXFeatures.C:
496         * LyXAction.C:
497         * MenuBackend.C:
498         * MenuBackend.h:
499         * dispatchresult.h:
500         * factory.C:
501         * lfuns.h:
502         * lyxfunc.C:
503         * lyxtextclass.C:
504         * lyxtextclass.h:
505         * text3.C: The Character Style /XML short element patch.
506
507 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
508
509         * text3.C:
510         * factory.C: Small step to solving 'unable to insert some insets'
511         problem
512
513 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * cursor.[Ch] (updatePos): new function for updating the y
516         position of the tip inset
517         * bufferview_funcs.C (put_selection_at):
518         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
519
520 2003-11-11  André Pönitz  <poenitz@gmx.net>
521
522         * text.C: remove big comment on invalid Paragraph pointers as it is
523         not valid anymore
524
525 2003-11-11  André Pönitz  <poenitz@gmx.net>
526
527         * text_funcs.[Ch]: merge with ...
528
529         * text.C: ... this
530
531         * lyxtext.h:
532         * text2.C:
533         * text3.C: adjust
534
535         * Makefile.am: remove text_funcs.[Ch]
536
537 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
538
539         * cursor.C (getPos): return absolute cached y coord
540
541         * BufferView_pimpl.C (fitCursor): new simplistic code
542         (workAreaDispatch): add a fitCursor call
543
544 2003-11-10  André Pönitz  <poenitz@gmx.net>
545
546         * BufferView.[Ch]:
547         * BufferView_pimpl.[Ch]: merge update() and updateInset()
548
549 2003-11-10  André Pönitz  <poenitz@gmx.net>
550
551         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
552         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
553         indicate that the cursor needs to leave an inset
554
555         * lyxtext.h: remove inset locking
556
557         * cursor.[Ch]: re-implement functionality provided by inset locking
558
559         * BufferView.[Ch]:
560         * BufferView_pimpl.[Ch]:
561         * LyXAction.C:
562         * bufferview_funcs.[Ch]:
563         * factory.C:
564         * funcrequest.[Ch]:
565         * iterators.C:
566         * lyx_cb.C:
567         * lyxfind.C:
568         * lyxfunc.C:
569         * text.C:
570         * text2.C:
571         * text3.C:
572         * undo.C: adjust
573
574 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
575
576         * PosIterator.[Ch]: replace the stack with a vector, add inset
577         accesor
578         * iterators.[C]: adjust
579
580 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
581
582         * lyxfind.C (replaceAll): mark the buffer dirty if something was
583         replaced
584         * paragraph_funcs.C (readParToken): put the correct id in the
585         error item, not the id of the top paragraph
586
587 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
588
589         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
590         * bufferview_funcs.C (put_selection_at): use the above
591
592 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
593
594         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
595
596 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * output_linuxdoc.h:
599         * output_plaintext.h:
600         * output.h:
601         * output_docbook.h: add #include statements
602
603 2003-11-05  José Matos  <jamatos@lyx.org>
604
605         * output_docbook.[Ch]:
606         * output_latex.[Ch]:
607         * output_linuxdoc.[Ch]:
608         * output_plaintext.[Ch]: New files for output formats.
609         * output.[Ch]: New file for helper functions.
610
611         * buffer.[Ch]:
612         * paragraph_funcs.[Ch]: output functions moved to new files.
613
614         * outputparams.h: rename of latexrunparams.h
615
616         * LaTeX.[Ch]:
617         * buffer.[Ch]:
618         * bufferlist.[Ch]:
619         * converter.[Ch]:
620         * exporter.C:
621         * paragraph.[Ch]:
622         * paragraph_funcs.[Ch]:
623         * paragraph_pimpl.[Ch]:
624         * tabular.[Ch]: rename ascii to plaintext
625         and LatexRunParams to OutputParams.
626
627 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
628
629         * iterators.[Ch] (text): require bv argument
630         * undo.C (recordUndo):
631         * lyxfunc.C (dispatch):
632         * bufferview_funcs.C (put_selection_at): adjust
633
634 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
635
636         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
637
638 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
639
640         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
641         nestings
642
643 2003-11-04  André Pönitz  <poenitz@gmx.net>
644
645         * cursor.[Ch]: restructure
646
647         * BufferView.[Ch]:
648         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
649
650         * iterators.[Ch] (asCursor): remove
651
652         * lfuns.h: remove LFUN_INSET_EDIT
653
654         * lyxfunc.C:
655         * tabular.C:
656         * text.C:
657         * text2.C:
658         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
659
660 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
661
662         * lyxfind.[Ch]: complete overhaul
663         * BufferView_pimpl.C:
664         * lyxfunc.C: adjust
665         * paragraph.[Ch] (insert): add
666
667 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
668
669         * BufferView.[Ch]:
670         * lyxtext.h:
671         * text.C: remove dead spellcheck code
672
673 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * dispatchresult.h: add a val setter
676
677         * cursor.C (dispatch): use a tempvar for data_[i]
678
679 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
680
681         * PosIterator.[Ch]: compile fix
682
683 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
684
685         * text.C (cursorPar): deactivate the cursor cache
686
687 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
688
689         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
690
691 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
692
693         * text3.C (dispatch): adjust for new DisptchResult semantics.
694
695         * lyxfunc.C (dispatch): handle update when return from
696         Cursor::dispatch, adjust for new DispatchResult semantics.
697
698         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
699         DispatchResult(true) mean to not update. Add class functions for
700         setting dispatched and update, as well as reading.
701
702         * cursor.C (dispatch): don't handle update here
703
704 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
705
706         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
707         * trans_mgr.C: adjust
708
709         * paragraph_funcs.C (readParToken): exception safety
710
711         * lyxvc.h: store the vcs pointer in a scoped_ptr
712         * lyxvc.C: adjust
713
714         * lyxsocket.C (serverCallback): exception safety
715
716         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
717
718         * ispell.C (clone): make it return a auto_ptr
719
720         * factory.C (createInset): exception safety
721         (readInset): exception safety
722
723         * bufferlist.C (newBuffer): exception safety
724
725         * Thesaurus.C (Thesaurus): use initialization for aik_
726
727         * MenuBackend.C (expandToc): exception safety.
728
729 2003-11-03  André Pönitz  <poenitz@gmx.net>
730
731         * buffer.C:
732         * buffer.h:
733         * bufferview_funcs.C: remove getInsetFromId()
734
735         * lyxcursor.[Ch]:
736         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
737
738         * lyxfunc.C:
739         * text2.C:
740         * text3.C: adjust
741
742 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
743
744         * PosIterator.C (distance, advance): new
745         * bufferview_funcs.[Ch] (put_selection_at): new
746         * iterators.[Ch] (lockPath): new
747
748 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
749
750         * iterators.[Ch] (asPosIterator): added
751         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
752         * PosIterator.[Ch]: added
753
754 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
755
756         * text3.C:
757         * lyxfunc.C:
758         * cursor.C (dispatch):
759         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
760
761         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
762         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
763         contructor, add a class function dispatched. Remove operator>=
764
765 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
766
767         * debug.C: only use the default constructor for debugstream
768         (lyxerr) here.
769
770         * main.C (main): include debug.h and setup the lyxerr streambuf
771         here.
772
773 2003-10-31  José Matos  <jamatos@lyx.org>
774
775         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
776
777         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
778         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
779         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
780         * paragraph_pimpl.C (simpleTeXSpecialC):
781         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
782         add LatexRunParams argument.
783
784         * exporter.C (Export): change call accordingly.
785
786         * latexrunparams.h: add new member to take care of the other backends.
787 2003-10-30  José Matos  <jamatos@lyx.org>
788
789         * buffer.C (makeLinuxDocFile, makeDocBookFile):
790         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
791         factorise code for paragraph output.
792         * buffer.[Ch]:
793         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
794         move functions.
795
796 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
797
798         * text3.C (dispatch):
799         * lyxfunc.C (dispatch):
800         * cursor.C (dispatch):
801         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
802
803         * dispatchresult.h: make the dispatch_result_t ctor explicit
804
805 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * sgml.[Ch]:
808         * buffer.C: small refactoring of docbook stuff
809
810 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
811
812         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
813         meaning.
814
815 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
818         operator dispatch_result_t, and operators for == != and >=
819
820         * cursor.C (dispatch): adjust for operator dispatch_result_t
821         removal. comment out call to update
822
823         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
824
825 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * text3.C:
828         * text2.C:
829         * text.C:
830         * lyxtext.h:
831         * lyxfunc.C:
832         * cursor.C:
833         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
834         (dispatch):
835
836         * dispatchresult.h: new file, DispatchResult broken out of
837         insets/insetbase.h
838
839         * Makefile.am (lyx_SOURCES): add dispatchresult.h
840
841 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
842
843         * text.C (rowBreakPoint): put a hack inside #if 0
844
845 2003-10-28  André Pönitz  <poenitz@gmx.net>
846
847         * lyxtext.h:
848         * metricsinfo.C:
849         * paragraph_funcs.C:
850         * rowpainter.C:
851         * text.C:
852         * text2.C: general cleanup (lots of small stuff)
853
854 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
855
856         * text2.C (cursorEnd): simple fix to the "end key goes to one
857         before the end on last row" bug
858
859 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
860
861         * text.C (backspace): fix the "zombie characters"
862
863 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
864
865         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
866
867 2003-10-27  André Pönitz  <poenitz@gmx.net>
868
869         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
870
871         * factory.C: handle new InsetPagebreak, InsetLine
872
873         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
874         and move handling into new InsetPagebreak, InsetLine
875
876         * BufferView_pimpl.C:
877         * LyXAction.C:
878         * ParagraphParameters.C:
879         * ParameterStruct.h:
880         * lyxfunc.C:
881         * lyxtext.h:
882         * paragraph.C:
883         * paragraph.h:
884         * paragraph_funcs.C:
885         * paragraph_pimpl.C:
886         * rowpainter.C:
887         * text.C:
888         * text2.C:
889         * text3.C: adjust
890
891 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
892
893         * text.C:
894         * lyxrow_funcs.[Ch]:
895         * Bidi.C:
896         * paragraph.C:
897         * lyxtext.h:
898         * rowpainter.C:
899         * text2.C:
900         * text3.C: remove lastPos uses in favour of Row::endpos
901
902 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
903
904         * undo.C (performUndoOrRedo): fix two crashes by setting a
905         cursor by hand and reordering some calls. Use bv->lockInset instead
906         of inset->edit because the latter loses cursor information
907
908 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
909
910         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
911         by Martin
912         (rowBreakPoint): fix width. change point to point + 1.
913         Add a missing check.
914
915 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * MenuBackend.C:
918         * lyxfunc.C: fix (at least partly) the problems
919         with the Nav menu and headers inside branch insets
920         reported by Kayvan
921
922 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
923
924         * paragraph.C (getChar): add strong asserts
925
926         * lyxrow_funcs.C (lastPos): remove hideous hack
927
928         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
929         (fill): adjust to that (avoid an infinite loop)
930
931 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
932
933         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
934
935 2003-10-23  André Pönitz  <poenitz@gmx.net>
936
937         * RowList_fwd.h: change list<> to vector<> to gain speed
938         after suggestion from Alfredo
939
940 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
941
942         * lyxtext.h: move the bidi stuff from here...
943         * text.C: and here
944         * text2.C: and here
945         * Bidi.[Ch]: ... to here
946
947 2003-10-23  André Pönitz  <poenitz@gmx.net>
948
949         * lyxtext.h:
950         * text.C (isLastRow, isFirstRow): new functions
951
952         * paragraph.h: new width cache member
953
954         * rowpainter.C: replace RowList::iterator with Row & where possible
955
956         * lyxfunc.C: replace several view()->text with a single call
957
958         * toc.C: fix 'unused' warning
959
960 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
961
962         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
963         when woring with stream::pos_type
964         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
965
966 2003-10-22  André Pönitz  <poenitz@gmx.net>
967
968         * lyxtext.h:
969         * text.C: use Row & instead of RowList::iterator
970
971         * lyxrow.h: rename end() to endpos()
972
973         * rowpainter.C:
974         * text.C:
975         * text2.C: adjust
976
977 2003-10-22  Angus Leeming  <leeming@lyx.org>
978
979         * buffer.[Ch] (fully_loaded): new member function, returning true
980         only when the file has been loaded fully.
981         Used to prevent the premature generation of previews and by the
982         citation inset to prevent computation of the natbib-style label.
983
984         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
985         templates are all set up.
986
987         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
988
989 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
990
991         * text.C: fixed an "oops" in the "is a bit silly"
992         bug fix
993
994 2003-10-21  André Pönitz  <poenitz@gmx.net>
995
996         * FuncStatus.[Ch]: small stuff, whitespace
997
998         * lyxfont.[Ch]: operator<<() for debug reasons
999
1000         * lyxfunc.C:
1001         * lyxrow_funcs.C:
1002         * lyxtext.h: whitespace, spelling
1003
1004         * paragraph.C: naming of variables
1005
1006         * text.C:
1007         * text2.C: small stuff
1008
1009
1010 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * text.C: (1) finish off the inset display() work;
1013         (2) fix the "is a bit silly" bug (accessing char
1014         past end of par).
1015
1016 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * text.C: re-introduce display() for insets, fixing the
1019         various bugs (stretch of line above, math inset
1020         positioning, ...)
1021
1022 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * text.C (rightMargin): remove spurious semicolon
1025
1026         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1027         1415)
1028
1029 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * text3.C: fix one crash due to wrong cursor def
1032
1033 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1034
1035         * vc-backend.C (scanMaster): make the regex static
1036
1037         * LaTeX.C (scanAuxFile): make the regexs static
1038
1039         * text3.C (doInsertInset, dispatch, dispatch):
1040         * text2.C (cursorUp, cursorDown):
1041         * text.C (selectNextWordToSpellcheck):
1042         * BufferView_pimpl.C (dispatch):
1043         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1044
1045 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * lyxsocket.C: include <cerrno>
1048
1049 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1050
1051         * lyxfunc.C (dispatch): remove textcache stuff
1052
1053         * bufferlist.C (release): remove textcache stuff
1054         (closeAll): ditto
1055
1056         * TextCache.C: delete file
1057         * TextCache.h: delete file
1058
1059         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1060
1061         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1062         delete of the bv_->text.
1063         (resizeCurrentBuffer): remove texcache stuff
1064         (workAreaResize): ditto
1065
1066 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1067
1068         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1069         action.
1070
1071 2003-10-16  André Pönitz  <poenitz@gmx.net>
1072
1073         * lyxrow.[Ch]:
1074         * paragraph.h:
1075         * rowpainter.C:
1076         * text.C:
1077         * text2.C:
1078         * text3.C: speed up by storing y positions per paragraph plus per-row
1079         offset instead of having a 'full' y position in the row.
1080
1081 2003-10-15  André Pönitz  <poenitz@gmx.net>
1082
1083         * iterators.[Ch]:
1084         * iterators.[Ch]:
1085         * undo.[Ch]: make undo aware of inner insets
1086
1087 2003-10-14  Angus Leeming  <leeming@lyx.org>
1088
1089         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1090         static member functions LyX::ref() and LyX::cref.
1091         (lastfiles): new accessor functions for the new lastfiles_ member var.
1092         (addLyXView, views_): add a new LyXView to the list of views_.
1093         (updateInset): loop over all LyXViews to call their own updateInset
1094         member function, returning a pointer to the Buffer owning the inset.
1095
1096         * BufferView_pimpl.C (loadLyXFile):
1097         * MenuBackend.C (expandLastfiles):
1098         * bufferlist.C (MenuWrite, QuitLyX):
1099         lastfiles is no longer a global variable.
1100         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1101
1102         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1103         static function. Access through LyX::cref().emergencyCleanup().
1104
1105 2003-10-14  André Pönitz  <poenitz@gmx.net>
1106
1107         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1108
1109         * undo.[Ch]: restoring part of 'undo in insets'
1110
1111         * Makefile.am:
1112         * undo_funcs.[Ch]: merge with undo.[Ch]
1113
1114         * tabular.C: small cleansing stuff
1115
1116 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1117
1118         * paragraph_funcs.C (readParToken): report unknown insets as error
1119         boxes. Use the outer paragraph as location (also for unknown
1120         tokens).
1121
1122         * factory.C (readInset): do not abort on reading an unknown inset.
1123         Eat it and return 0.
1124
1125 2003-10-13  Angus Leeming  <leeming@lyx.org>
1126
1127         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1128
1129         * lyxrc.C: displayTranslator is now a function,
1130         declared in GraphicsTypes.h.
1131
1132 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1133
1134         * format.C: new placeholder $$a to pass the socket address.
1135
1136         * bufferlist.[Ch]: new function getBufferFromTmp.
1137
1138         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1139           files in the temporary dir.
1140
1141 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1142
1143         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1144
1145         * Makefile.am: add lyxsocket.[Ch].
1146
1147         * lyx_main.C (error_handler): handle SIGPIPE.
1148
1149 2003-10-13  André Pönitz  <poenitz@gmx.net>
1150
1151         * BufferView_pimpl.C:
1152         * lyxtext.h:
1153         * text.C:
1154         * text2.C:
1155         * text3.C:
1156         * undo_funcs.[Ch]: use paroffset_type instead of
1157           ParagraphList::iterators to prevent multiple conversion
1158           (and get a more robust interface)
1159
1160 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1161
1162         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1163         * lyxtext.h: ditto
1164         * text3.C (dispatch): ditto
1165
1166 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1169         move the onlyfile, use onlyfile instead of foundfile in a couple
1170         of places.
1171
1172         * DepTable.C (update): flush the error stream a bit more
1173
1174 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1175
1176         * lyxserver.C (callback): adjust
1177
1178         * lyxfunc.C (getStatus): add a missing brace in commented code
1179         (ensureBufferClean): reindent
1180         (dispatch): delete version taking a string
1181
1182 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1183
1184         * LaTeX.C (deplog): move found file handlig from here...
1185         (handleFoundFile): .. to new function here.
1186         (deplog): make sure to discover several files mentioned on the
1187         same log line.
1188
1189 2003-10-10  André Pönitz  <poenitz@gmx.net>
1190
1191         * lyxfunc.C:
1192         * lyxtext.h:
1193         * tabular.C:
1194         * text.C:
1195         * text2.C:
1196         * text3.C: fix some of the tabular crashes
1197
1198 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1199
1200         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1201
1202         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1203
1204 2003-10-09  André Pönitz  <poenitz@gmx.net>
1205
1206         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1207
1208         * BufferView.C:
1209         * BufferView_pimpl.C:
1210         * bufferview_funcs.C:
1211         * lyx_cb.C:
1212         * lyxcursor.C:
1213         * lyxfind.C:
1214         * lyxfunc.C:
1215         * lyxtext.h:
1216         * text.C:
1217         * text2.C:
1218         * text3.C:
1219         * text_funcs.[Ch]:
1220         * textcursor.[Ch]:
1221         * undo_funcs.C: adjust
1222
1223 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * text2.C (incrementItemDepth): new function, use a backtracking
1226         algorithm to discover the correct item depth.
1227         (resetEnumCounterIfNeeded): new function, use a backtracking
1228         algorithm to discover if counter reset is needed.
1229         (setCounter): use them. Simplify a bit. Add different labels for
1230         different item depths for itemize.
1231
1232         * paragraph.C (Paragraph): remove initialization of enumdepth
1233         (operator=): ditto
1234
1235         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1236         enumerate and itemize. Change the type of itemdepth to signed char.
1237
1238 2003-10-08  André Pönitz  <poenitz@gmx.net>
1239
1240         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1241           thing assignable.
1242         * text.C:
1243         * text2.C: adjust
1244
1245         * tabular.[Ch]: fix crash after 'row-insert'
1246
1247 2003-10-08  Angus Leeming  <leeming@lyx.org>
1248
1249         Fix doxygen warnings.
1250
1251         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1252         Remove CutAndPaste:: prefix from header file declaration.
1253
1254         * LColor.h (fill): remove LColor:: prefix from declaration.
1255
1256         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1257         use lyx::depth_type rather than Paragraph::depth_type so that
1258         header file and .C file match.
1259
1260         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1261
1262         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1263         * aspell.C: \file aspell_local.C -> \file aspell.C
1264         * gettext.C: \file gettext.C -> \file src/gettext.C
1265         * gettext.h: \file gettext.h -> \file src/gettext.h
1266         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1267         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1268         * text.C: \file text.C -> \file src/text.C
1269
1270         * toc.C: move comment so that doxygen is not confused.
1271
1272 2003-10-07  Angus Leeming  <leeming@lyx.org>
1273
1274         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1275
1276 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1277
1278         * aspell.C:
1279         * aspell_local.h: add forgotten std::string's.
1280
1281 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1282
1283         * LaTeXFeatures.C:
1284         * LyXAction.C:
1285         * factory.C:
1286         * lfuns.h:
1287         * lyxfunc.C:
1288         * text3.C: The Box patch. Fancybox support, minipage, parbox
1289
1290 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1291
1292         * CutAndPaste.h:
1293         * DepTable.h:
1294         * FloatList.h:
1295         * LaTeXFeatures.h:
1296         * ParagraphParameters.h:
1297         * TextCache.h:
1298         * Thesaurus.h:
1299         * bufferlist.h:
1300         * exporter.h:
1301         * importer.h:
1302         * lastfiles.h:
1303         * lyxfind.h:
1304         * lyxfont.h:
1305         * lyxlex.h:
1306         * lyxtextclasslist.h:
1307         * messages.h:
1308         * paragraph.h:
1309         * paragraph_pimpl.C:
1310         * textcursor.h: add <string> and other small fixes to make Lars'
1311         std::string patch compile with STLport.
1312
1313 2003-10-06  Angus Leeming  <leeming@lyx.org>
1314
1315         * LColor.h: Add missing #include <string>.
1316
1317 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1318
1319         * All most all file in all subdirs: Make <string> be the prefered
1320         way of getting to std::string, add using declarations.
1321
1322 2003-10-06  André Pönitz  <poenitz@gmx.net>
1323
1324         * metricsinfo.C: initialize LyXFont before changing attribute.
1325         (fixes the 'math in \emph is upright' bug)
1326
1327 2003-10-06  André Pönitz  <poenitz@gmx.net>
1328
1329         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1330
1331 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1332
1333         * graph.C:
1334         * paragraph_pimpl.C: Small fixes to build using STLport
1335
1336 2003-10-02  André Pönitz  <poenitz@gmx.net>
1337
1338         * lyxfunc.C:
1339         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1340
1341 2003-10-01  André Pönitz  <poenitz@gmx.net>
1342
1343         * factory.C: assert early
1344
1345 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1346
1347         * lyx_main.C: remove the global debug object
1348
1349         * debug.h: adjust for new debugstream
1350
1351         * debug.C: adjust for new debugstream and keep the global debug
1352         object here.
1353
1354 2003-09-22  Angus Leeming  <leeming@lyx.org>
1355
1356         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1357         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1358         an incomplete class LyXFont.
1359
1360 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1361
1362         * factory.C: bug fix in branches
1363
1364 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * lyxfunc.C (processKeySym): adjust
1367         (dispatch): adjust
1368         (dispatch): change arg name from ev to func, adjust
1369         (sendDispatchMessage): ditto
1370
1371         * lyx_main.C (defaultKeyBindings): adjust keybindings
1372         (deadKeyBindings): ditto
1373
1374         * kbsequence.C (addkey): return a FuncRequest
1375
1376         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1377
1378         * kbmap.C (bind): take a FuncRequest as arg, adjust
1379         (read): adjust
1380         (lookup): adjust
1381         (defkey): change to take a FuncRequest as arg, adjust
1382         (findbinding): take a FuncRequest as arg, adjust.
1383
1384         * funcrequest.h (operator=): added
1385
1386         * funcrequest.C (FuncRequest): default kb_action changed from
1387         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1388
1389         * buffer.C (dispatch): simplify
1390         (dispatch): adjust to take a FuncRequest as arg, adjust
1391
1392         * boost.C (assertion_failed): change assertion message slightly
1393
1394         * ToolbarBackend.C (read): simplify
1395
1396         * MenuBackend.C (binding): adjust call to findbinding, add a
1397         message if no binding is found.
1398         (read): simplify
1399         (expandToc): correct by adding a empty FuncRequest
1400
1401         * LyXAction.C: include <boost/assert.hpp>
1402         (isPseudoAction): delete function
1403         (LookupFunc): change name to...
1404         (lookupFunc): this. change return type to FuncRequest.
1405         (getActionName): take kb_action as arg, simplify
1406         (funcHasFlag): add an assert, simplify.
1407
1408 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1409
1410         * toc.C (action): return a FuncRequest, simplify
1411
1412         * lyxfunc.C (processKeySym): adjust
1413         (getStatus): delete version that takes an int.
1414         (getStatus): adjust
1415         (dispatch): delete version that takes action as int
1416         (dispatch): adjust
1417         (sendDispatchMessage): simplify and adjust
1418
1419         * funcrequest.C (getArg): take unsigned int as arg
1420
1421         * ToolbarBackend.C (read): adjust
1422         (add): delete version that takes func as a string.
1423         (getIton): take a FuncRequest as arg
1424
1425         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1426         action.
1427
1428         * MenuBackend.C (MenuItem): add a new construct that only takes a
1429         Kind, simplify the constructor use for submenus.
1430         (add): adjust
1431         (expandLastfiles): adjust
1432         (expandDocuments): adjust
1433         (expandFormats): adjust
1434         (expandFloatListInsert): adjust
1435         (expandFloatInsert): adjust
1436         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1437
1438         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1439         Remove class variables lyx_pseudo_map and lyx_arg_map
1440
1441         * LyXAction.C (searchActionArg): delete function
1442         (getPseudoAction): delete function
1443         (retrieveActionArg): delete function
1444         (LookupFunc): make it return kb_action, simplify.
1445         (getActionName): simplify
1446
1447         * factory.C (createInset): fix new bug
1448
1449 2003-09-19  Angus Leeming  <leeming@lyx.org>
1450
1451         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1452         masterFilename_ parameter in the include inset.
1453
1454         * factory.C (createInset): changes due to the changes to InsetInclude.
1455
1456 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1457
1458         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1459
1460 2003-09-18  Angus Leeming  <leeming@lyx.org>
1461
1462         * buffer.C:
1463         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1464         Inset::fillWithBibKeys.
1465         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1466
1467 2003-09-18  Angus Leeming  <leeming@lyx.org>
1468
1469         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1470         variables.
1471         (ctor): pass and store a 'Buffer const &'
1472         (buffer): new member function.
1473
1474         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1475         '*this' to the LaTeXFeatures ctor.
1476
1477 2003-09-18  Angus Leeming  <leeming@lyx.org>
1478
1479         * LColor.h:
1480         * lyxfont.C:
1481         * lyxfont.h:
1482         * lyxtext.h:
1483         * text.C: rename EnumLColor as LColor_color.
1484
1485 2003-09-18  Angus Leeming  <leeming@lyx.org>
1486
1487         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1488         remove #include "insets/insetbase.h" from cursor.h.
1489
1490 2003-09-18  Angus Leeming  <leeming@lyx.org>
1491
1492         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1493         InsetOld_code to remove #include "inset.h".
1494
1495         * iterators.C: add #include "insets/inset.h"
1496
1497 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1498
1499         * BufferView.C: remove more locking stuff that apparently doesn't
1500         do anything sensible.
1501
1502 2003-09-16  André Pönitz  <poenitz@gmx.net>
1503
1504         * paragraph.[Ch]:
1505         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1506           performance boost.
1507
1508 2003-09-16  Angus Leeming  <leeming@lyx.org>
1509
1510         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1511
1512         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1513         arg/return type.
1514
1515         * paragraph.h: remove #include "lyxfont.h". Forward declare
1516         LyXFont_size.
1517
1518 2003-09-16  Angus Leeming  <leeming@lyx.org>
1519
1520         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1521         of support/textutils.h.
1522         (isWord): move the contents of support/textutils.h's IsWordChar here.
1523
1524         * buffer.C:
1525         * lyxfind.C:
1526         * rowpainter.C:
1527         * text.C:
1528         * text2.C: add #include "paragraph.h".
1529
1530         * rowpainter.C:
1531         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1532
1533 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * main.C:
1536         * lyx_main.C:
1537         * lyx_cb.C:
1538         * buffer.C:
1539         * LaTeX.C: use namespace alias for lyx::support::os
1540
1541 2003-09-16  Angus Leeming  <leeming@lyx.org>
1542
1543         * bufferparams.C:
1544         * bufferview_funcs.C:
1545         * factory.C:
1546         * lyxfunc.C:
1547         * paragraph_pimpl.C:
1548         * rowpainter.C:
1549         * text.C: add #include "LColor.h".
1550
1551 2003-09-16  Angus Leeming  <leeming@lyx.org>
1552
1553         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1554         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1555         return LyXFont &.
1556         Store the FontBits::color variable as an int rather than as an
1557         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1558         file.
1559
1560         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1561         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1562         string calls together.
1563
1564         * lyxrc.C: add #include "LColor.h".
1565
1566 2003-09-15  Angus Leeming  <leeming@lyx.org>
1567
1568         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1569         a cow_ptr.
1570
1571 2003-09-15  Angus Leeming  <leeming@lyx.org>
1572
1573         * LColor.h: add an EnumLColor wrapper for LColor::color.
1574
1575         * lyxfont.[Ch] (color, setColor, realColor):
1576         * lyxtext.h, text.C (backgroundColor):
1577         pass EnumLColor args to/from the functions, rather than LColor::color
1578         ones.
1579
1580         * lyxfont.h:
1581         * lyxtext.h: forward declare EnumLColor.
1582
1583         * lyx_main.C: add #include "LColor.h".
1584
1585 2003-09-15  Angus Leeming  <leeming@lyx.org>
1586
1587         * .cvsignore: add lyx-gtk.
1588
1589 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1590
1591         * Chktex.C
1592         * LaTeX.C
1593         * LaTeXFeatures.C
1594         * ParagraphParameters.C
1595         * Spacing.C
1596         * buffer.C
1597         * bufferparams.C
1598         * bufferview_funcs.C
1599         * chset.C
1600         * counters.C
1601         * funcrequest.C
1602         * lyxfont.C
1603         * lyxgluelength.C
1604         * lyxlength.C
1605         * paragraph.C
1606         * paragraph_funcs.C
1607         * text3.C
1608         * vc-backend.C: remove usage of STRCONV
1609
1610 2003-09-15  Angus Leeming  <leeming@lyx.org>
1611
1612         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1613         explicitly define the color passed to the painter.
1614
1615 2003-09-15  Angus Leeming  <leeming@lyx.org>
1616
1617         * bufferparams.C (BufferParams): reorder member initializers to avoid
1618         compiler warning.
1619
1620 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1621
1622         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1623         * text.C (updateRowPositions): remove an unusual nop
1624
1625 2003-09-12  André Pönitz  <poenitz@gmx.net>
1626
1627         * BufferView_pimpl.C:
1628         * Bullet.C:
1629         * layout.h:
1630         * lyxfunc.C:
1631         * lyxlayout.[Ch]:
1632         * lyxtextclass.C:
1633         * rowpainter.C:
1634         * text.C:
1635         * text2.C:
1636         * Counters.[Ch]: finish the 'automatic counters' job
1637
1638 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1639
1640         * aspell.C: include <boost/assert.cpp> (compile fix)
1641
1642 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1643
1644         * boost.C (assertion_failed): use lyx::support::abort instead of
1645         assert.
1646
1647 2003-09-10  Angus Leeming  <leeming@lyx.org>
1648
1649         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1650         with their _fwd progeny.
1651
1652 2003-09-09  Angus Leeming  <leeming@lyx.org>
1653
1654         134 files throughtout the source tree: replace 'using namespace abc;'
1655         directives with the appropriate 'using abc::xyz;' declarations.
1656
1657 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1658
1659         * boost.C (emergencyCleanup): moved here from LAssert.c
1660         (assertion_failed): new function, called by BOOST_ASSERT
1661
1662         * several files: change Assert to BOOST_ASSERT
1663
1664 2003-09-09  Angus Leeming  <leeming@lyx.org>
1665
1666         * buffer.[Ch]: Add an Impl class and move Buffer's member
1667         variables into it. As a result move several header files out of
1668         buffer.h.
1669
1670         Add header files to lots of .C files all over the tree as a result.
1671
1672 2003-09-09  Angus Leeming  <leeming@lyx.org>
1673
1674         * buffer.[Ch]: make Buffer's member variables private. Add
1675         accessor functions.
1676
1677         Lots of changes all over the tree as a result.
1678
1679 2003-09-08  Angus Leeming  <leeming@lyx.org>
1680
1681         * graph.C: #include <config.h>.
1682
1683 2003-09-08  Angus Leeming  <leeming@lyx.org>
1684
1685         * BranchList.C:
1686         * BufferView.C:
1687         * BufferView_pimpl.C:
1688         * CutAndPaste.C:
1689         * DepTable.C:
1690         * LaTeX.C:
1691         * LaTeXFeatures.C:
1692         * LyXAction.C:
1693         * MenuBackend.C:
1694         * TextCache.C:
1695         * aspell.C:
1696         * buffer.C:
1697         * bufferlist.C:
1698         * changes.C:
1699         * chset.C:
1700         * converter.C:
1701         * counters.C:
1702         * debug.C:
1703         * graph.C:
1704         * ispell.C:
1705         * lyx_cb.C:
1706         * lyxfind.C:
1707         * lyxfunc.C:
1708         * lyxlex_pimpl.C:
1709         * lyxrc.C:
1710         * lyxrow.C:
1711         * paragraph.C:
1712         * rowpainter.C:
1713         * texrow.C:
1714         * text.C:
1715         * text2.C:
1716         * toc.C: remove redundant using directives.
1717
1718 2003-09-07  Angus Leeming  <leeming@lyx.org>
1719
1720         * LaTeXFeatures.h: remove #include "support/types.h".
1721         * ToolbarBackend.h: remove #include <algorithm>.
1722         * changes.h: remove #include <ctime>.
1723         * debug.h: remove #include <iosfwd>.
1724         * graph.h: remove #include "support/std_string.h".
1725         * lyx_main.h: remove #include <csignal>.
1726         * lyxlex_pimpl.h: remove #include <fstream>.
1727         * sgml.h: remove #include <algorithm>, <utility>.
1728         * toc.h: remove #include "support/std_ostream.h".
1729         Add #include <iosfwd>.
1730
1731 2003-09-07  Angus Leeming  <leeming@lyx.org>
1732
1733         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1734
1735         * converter.h: forward declare LatexRunParams.
1736         * encoding.h: remove #include "lyxrc.h".
1737         * lyxtext.h: remove #include "LColor.h".
1738         * lyxtextclass.h: remove #include "support/types.h".
1739         * trans.h: remove #include "tex-accent.h".
1740         * trans_mgr.h: remove #include "tex-accent.h".
1741         * insets/inset.h: remove #include "support/types.h", <vector>.
1742         * insets/insetcollapsable.h: remove #include "LColor.h".
1743         * insets/insetinclude.h: remove #include "dimension.h".
1744         * insets/insetlatexaccent.h: remove #include "dimension.h".
1745         * insets/insetoptarg.h:: remove #include "insettext.h".
1746         * insets/insettext.h: remove #include "dimension.h",
1747         <boost/shared_ptr.hpp>
1748
1749         * insets/renderers.h: add #include "dimension.h".
1750         * insets/updatableinset.h: add #include "support/types.h".
1751
1752         * many .C files: Associated changes.
1753
1754 2003-09-06  Angus Leeming  <leeming@lyx.org>
1755
1756         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1757         one, inside testInvariant.
1758
1759         * PrinterParams.C: new file.
1760         * PrinterParams.[Ch]: move the function bodies out of line.
1761
1762 2003-09-06  Angus Leeming  <leeming@lyx.org>
1763
1764         * ParagraphParameters.h: forward declare ParameterStruct rather than
1765         including its header file.
1766         (depth): moved out-of-line.
1767
1768 2003-09-06  Angus Leeming  <leeming@lyx.org>
1769
1770         * BufferView_pimpl.h:
1771         * kbmap.h:
1772         * kbsequence.h:
1773         * lyxfunc.h: forward declare LyXKeySym rather than
1774         #include "frontends/LyXKeySym.h".
1775
1776         * BufferView_pimpl.C:
1777         * kbmap.C:
1778         * kbsequence.C:
1779         * lyxfunc.C: associated changes.
1780
1781 2003-09-06  Angus Leeming  <leeming@lyx.org>
1782
1783         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1784         As a result, can remove the #include "insets/inset.h" from BufferView.h
1785
1786 2003-09-06  Angus Leeming  <leeming@lyx.org>
1787
1788         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1789         As a result, can remove the #include "insets/inset.h" from BufferView.h
1790
1791 2003-09-06  Angus Leeming  <leeming@lyx.org>
1792
1793         * buffer_funcs.C:
1794         * buffer.h:
1795         * bufferlist.C:
1796         * BufferView.C:
1797         * bufferview_funcs.C:
1798         * BufferView_pimpl.C:
1799         * CutAndPaste.C:
1800         * lyx_cb.C:
1801         * lyxfunc.C:
1802         * paragraph.h:
1803         * ParagraphParameters.C:
1804         * tabular.C:
1805         * text3.C:
1806         * toc.C:
1807         * undo_funcs.C:
1808         * frontends/controllers/ControlDocument.C:
1809         * insets/insetcaption.C: rearrange the #includes into some sort of
1810         coherent order.
1811
1812         * buffer.h: remove #includes ErrorList.h, undo.h
1813
1814 2003-09-06  Angus Leeming  <leeming@lyx.org>
1815
1816         * support/types.h: add a 'depth_type' typedef, used to store the
1817         nesting depth of a paragraph.
1818
1819         * paragraph.h:
1820         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1821         defining explicitly.
1822
1823         * buffer.h:
1824         * paragraph_funcs.h:
1825         * ParagraphParameters.h:
1826         * sgml.h: use lyx::depth_type rather than Paragraph or
1827         ParameterStruct's depth_type.
1828
1829         * buffer.h
1830         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1831
1832         * BufferView.C:
1833         * BufferView_pimpl.C:
1834         * CutAndPaste.C:
1835         * ParagraphParameters.C:
1836         * buffer_funcs.C:
1837         * bufferlist.C:
1838         * bufferview_funcs.C:
1839         * lyx_cb.C:
1840         * lyxfunc.C:
1841         * tabular.C:
1842         * text3.C:
1843         * toc.C:
1844         * undo_funcs.C:
1845         * frontends/LyXView.C:
1846         * frontends/controllers/ControlDocument.C:
1847         * frontends/controllers/ControlErrorList.C:
1848         * insets/insetbibitem.C:
1849         * insets/insetbranch.C:
1850         * insets/insetcaption.C:
1851         * insets/insetcollapsable.C:
1852         * insets/insetenv.C:
1853         * insets/insetert.C:
1854         * insets/insetfloat.C:
1855         * insets/insetfoot.C:
1856         * insets/insetfootlike.C:
1857         * insets/insetnewline.C:
1858         * insets/insetquotes.C:
1859         * insets/insettabular.C:
1860         * insets/insettext.C:
1861         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1862
1863         * frontends/controllers/ControlChanges.C: #include "changes.h".
1864
1865 2003-09-06  Angus Leeming  <leeming@lyx.org>
1866
1867         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1868         than #including paragraph.h.
1869
1870         * ParagraphList.h:
1871         * RowList.h: deleted. Superfluous.
1872
1873         * CutAndPaste.h:
1874         * iterators.h:
1875         * lyxcursor.h:
1876         * lyxtext.h:
1877         * text_funcs.h:
1878         * undo.h:
1879         * undo_funcs.h:
1880         * insets/inset.h:
1881         * insets/insettext.h: use ParagraphList_fwd.h rather than
1882         ParagraphList.h.
1883
1884         * paragraph.h: don't forward declare ParagraphList.
1885
1886         * buffer.h:
1887         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1888         rather than ParagraphList.h. paragraph.h is still needed for the
1889         Paragraph::depth_type parameters.
1890
1891         * textcursor.h: enable it to compile stand-alone in light of the
1892         above changes.
1893
1894         * bufferview_funcs.C:
1895         * iterators.C:
1896         * lyxfunc.C:
1897         * lyxrow_funcs.C:
1898         * paragraph.C:
1899         * rowpainter.C:
1900         * text.C:
1901         * text2.C:
1902         * text3.C:
1903         * text_funcs.C:
1904         * textcursor.C:
1905         * undo.C:
1906         * frontends/controllers/ControlParagraph.C:
1907         * frontends/controllers/ControlTabular.C:
1908         * insets/insetmarginal.C:
1909         * insets/insetminipage.C:
1910         * insets/insetnote.C:
1911         * insets/insetoptarg.C: add header files needed to compile again.
1912
1913 2003-09-06  Angus Leeming  <leeming@lyx.org>
1914
1915         * RowList_fwd.h: new file, forward-declaring Row rather than
1916         #including lyxrow.h.
1917
1918         * lyxrow_funcs.h:
1919         * lyxtext.h:
1920         * paragraph.h:
1921         * insets/insettext.h: use it instead of RowList.h
1922
1923         * bufferview_funcs.C:
1924         * lyxfunc.C:
1925         * lyxrow_funcs.C:
1926         * paragraph.C:
1927         * rowpainter.C:
1928         * text.C:
1929         * text2.C:
1930         * text3.C: #include "RowList.h".
1931
1932 2003-09-05  Angus Leeming  <leeming@lyx.org>
1933
1934         * factory.C (createInset):
1935         * vspace.C (c-tor): replace sscanf call with an istringstream.
1936         * ispell.C: re-add missing HP/UX headers.
1937         * lyxserver.C: re-add missing  os2 headers.
1938
1939 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1940
1941         * BranchList.C:
1942         * graph.C:
1943         * ispell.C:
1944         * lastfiles.C:
1945         * lyx_cb.C:
1946         * lyxserver.C:
1947         * texrow.C:
1948         * text3.C: re-add missing system headers, needed for 2.95.2.
1949
1950 2003-09-05  Angus Leeming  <leeming@lyx.org>
1951
1952         Changes most place everywhere due to the removal of using directives
1953         from support/std_sstream.h.
1954
1955 2003-09-05  Angus Leeming  <leeming@lyx.org>
1956
1957         Replace LString.h with support/std_string.h,
1958         Lsstream.h with support/std_sstream.h,
1959         support/LIstream.h with support/std_istream.h,
1960         support/LOstream.h with support/std_ostream.h.
1961
1962         Changes resulting throughout the tree.
1963
1964 2003-09-05  Angus Leeming  <leeming@lyx.org>
1965
1966         * sgml.h: ensure that the header file can be compiled stand-alone.
1967         * *.C: strip out redundant #includes. (320 in total.)
1968
1969 2003-09-04  Angus Leeming  <leeming@lyx.org>
1970
1971         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1972         here (from getPackages).
1973
1974         * debug.[Ch]: add a new EXTERNAL tag.
1975
1976 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1977
1978         * text2.C (cursorEnd): simplify
1979         (setCursor): adjust
1980         (getColumnNearX): adjust
1981
1982         * text.C (computeBidiTables): adjust
1983         (fill): adjust
1984
1985         * rowpainter.C (paintChars): adjust
1986         (paintSelection): adjust
1987         (paintChangeBar): adjust
1988         (paintText): adjust
1989
1990         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1991         lastPos instead.
1992         (numberOfSeparators): adjust
1993
1994 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1995
1996         * LyXAction.C:
1997         * box.[Ch]:
1998         * lfuns.h:
1999         * lyxfunc.C:
2000         * text3.C: Restricts the mouse click functionality
2001         of insets like bibtex, include, toc and floatlist to the visible
2002         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2003         up the dialogs. Cursor has to be in front of the inset (i.e.
2004         start of row) for this to function.
2005
2006 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2007
2008         * bufferview_funcs.C (currentState): output row information
2009
2010 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2011
2012         * bufferview_funcs.C (currentState): output paragraph position
2013
2014 2003-09-04  Angus Leeming  <leeming@lyx.org>
2015
2016         * FloatList.h: move out #include "Floating.h".
2017         * LaTeX.h: move out #include "DepTable.h".
2018         * LyXAction.h: move out #include "funcrequest.h".
2019         * buffer.h: move out #include "author.h", "iterators.h".
2020         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2021         * lyx_main.h: move out #include "errorlist.h".
2022         * lyxfunc.h: move out #include "FuncStatus.h".
2023         * lyxtext: move out #include "lyxcursor.h".
2024         * paragraph_pimpl.h: move out #include "counters.h".
2025
2026 2003-09-03  Angus Leeming  <leeming@lyx.org>
2027
2028         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2029         preamble_snippets list, enabling us to add snippets to the preamble
2030         only if the snippet was not there already.
2031
2032 2003-09-04  Angus Leeming  <leeming@lyx.org>
2033
2034         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2035
2036 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2039         update
2040
2041 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * BranchList.C: point fix, earlier forgotten
2044
2045 2003-09-02  Angus Leeming  <leeming@lyx.org>
2046
2047         * box.C (contains): renamed from 'contained' after a fantastic
2048         amount of hot air.
2049
2050 2003-09-02  John Levon  <levon@movementarian.org>
2051
2052         * BufferView.C:
2053         * lyxcursor.h:
2054         * lyxcursor.C:
2055         * lyxfunc.C:
2056         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2057
2058 2003-09-02  John Levon  <levon@movementarian.org>
2059
2060         * text2.C: simplification of cursorEnd(), including partial
2061         fix for bug 1376
2062
2063 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * buffer.C (readFile): add a space
2066
2067 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2068
2069         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2070
2071 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2072
2073         * buffer.C (readFile): new function, take a filename and a
2074         ParagraphList::iterator
2075         (readFile): adjust
2076         (readFile): adjust, make it private. don't use setStream, make
2077         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2078         always contain the filename.
2079
2080         * BufferView.C (insertLyXFile): simplify and make it work for
2081         gzipped files.
2082
2083 2003-08-30  John Levon  <levon@movementarian.org>
2084
2085         * Makefile.am: fix dist (from Kayvan)
2086
2087 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * most files: change to use const Buffer refs
2090
2091 2003-08-27  André Pönitz  <poenitz@gmx.net>
2092
2093         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2094         on top of ownerPar().
2095
2096 2003-08-27  John Levon  <levon@movementarian.org>
2097
2098         * funcrequest.C: properly initialise POD members
2099
2100 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * lyxtext.h (top_y): move top_y from here
2103         * text.C:
2104         * text2.C:
2105         * text3.C:
2106         * BufferView.[Ch]:
2107         * BufferView_pimpl.[Ch]: to here
2108         * frontends/screen.C:
2109         * insets/insettabular.C:
2110         * insets/insettext.C: adjust
2111         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2112
2113 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2114
2115         * BufferView.[Ch]:
2116         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2117
2118 2003-08-26  André Pönitz  <poenitz@gmx.net>
2119
2120         * paragraph_func.[Ch] (outerPar): new function
2121
2122         * paragraph.C:
2123         * paragraph_funcs.C:
2124         * paragraph_funcs.h:
2125         * paragraph_pimpl.C:
2126         * text2.C: remove Inset::par_owner
2127
2128 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2129
2130         * lyxrow_funcs.C:
2131         * lyxtext.h:
2132         * text.C:
2133         * text2.C: eliminates the needFullRow/display() stuff
2134         altogether, putting the logic in metrics/draw in the insets.
2135
2136 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2137
2138         * text2.C (redoParagraphInternal, redoParagraphs):
2139         * text.C (redoParagraph): add a call to updateRowPositions at the
2140         end of each 'metrics-like' call. Remove all others.
2141         (getRow): remove the 'y-computing' version.
2142         (getRowNearY): do not compute nor return the real y. Solve the
2143         'y < 0' problem and simplify.
2144
2145 2003-08-22  Angus Leeming  <leeming@lyx.org>
2146
2147         * *.[Ch]: clean-up of licence and author blurbs.
2148         Also move config.h out of a few .h files and into a few .C files.
2149
2150 2003-08-22  André Pönitz  <poenitz@gmx.net>
2151
2152         * lyxrow.[Ch]: add x_ and *fill_ members
2153
2154         * lyxtext.h:
2155         * text.C:
2156         * rowpainter.C:
2157         * text2.C: adjust/remove prepareToPrint() calls
2158
2159 2003-08-22  André Pönitz  <poenitz@gmx.net>
2160
2161         * lyxrow.[Ch]: add  end_ member
2162
2163         * lyxrow_funcs.C: use LyXRow::end_
2164
2165         * lyxtext.h (singleWidth): add LyXFont parameter
2166
2167         * rowpainter.C:
2168         * text2.C: adjust LyXText::singleWidth() calls
2169
2170         * text.C (redoParagraph): simplify row breaking logic
2171
2172
2173 2003-08-19  André Pönitz  <poenitz@gmx.net>
2174
2175         * funcrequest.C: initialize button_ member
2176
2177         * text3.C:
2178         * rowpainter.[Ch]: interface consolidation
2179
2180 2003-08-18  André Pönitz  <poenitz@gmx.net>
2181
2182         * BufferView.C:
2183         * BufferView_pimpl.C:
2184         * lyxfind.C:
2185         * paragraph_funcs.C:
2186         * rowpainter.C:
2187         * text3.C: remove LyXScreen::draw() and fitCursor calls
2188
2189         * BranchList.h: remove spurious semicolons
2190
2191         * MenuBackend.C: fix branchlist related crash
2192
2193 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2194
2195         * BranchList.[Ch]:
2196         * InsetList.[Ch]:
2197         * LColor.[Ch]:
2198         * LyXAction.C:
2199         * Makefile.am:
2200         * MenuBackend.[Ch]:
2201         * bufferparams.[Ch]:
2202         * factory.C:
2203         * lfuns.h:
2204         * lyxfunc.C:
2205         * text3.C: implements the 'branch inset'
2206         idea. This allows the output of various versions of a document
2207         from a single source version, selectively outputing or suppressing
2208         output of parts of the text.
2209         This implementation contains a 'branch list editor' in a separate
2210         tab of the document settings dialog. Branches are user definable
2211         and have a "display colour" to distinguish them on-screen.
2212
2213         ColorHandler was somewhat cleaned up.
2214         (1) make possible a dynamically growing LColor list by allowing
2215         the graphic context cache to grow along (vector);
2216         (2) eliminate an IMHO unnecessary step in colour allocation.
2217
2218 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2219
2220         * BufferView_pimpl.C: compile fix
2221
2222 2003-08-15  André Pönitz  <poenitz@gmx.net>
2223
2224         * rowpainter.C: remove extra metrics calls
2225
2226         * lyxtext.h: merge the two constructors into a single one,
2227           pass reference to owner's par list
2228
2229         * BufferView_pimpl.C:
2230         * text.C:
2231         * text2.C: adjust
2232
2233 2003-08-15  André Pönitz  <poenitz@gmx.net>
2234
2235         * lyxrow_funcs.[Ch]:
2236         * lyxtext.h:
2237         * paragraph.h:
2238         * paragraph_funcs.C:
2239         * rowpainter.C:
2240         * text.C:
2241         * text2.C:
2242         * text3.C:
2243         * text_funcs.C: split LyXText::rowlist_ into individual
2244         Paragraph::rows_ chunks
2245
2246         * BufferView.[Ch]:
2247         * BufferView_pimpl.[Ch]:
2248         * lyxfind.C:
2249         * lyxtext.h:
2250         * text3.C: remove toggleSelection()
2251
2252 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2253
2254         * bufferlist.C: beautify two alerts (shorter text of buttons)
2255         * buffer.C: Remove redundant ' ' from message
2256         * tabular.h:
2257         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2258         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2259         rename VALIGN_CENTER to VALIGN_MIDDLE
2260
2261 2003-08-11  André Pönitz  <poenitz@gmx.net>
2262
2263         * lyxtext.h (getPar):
2264         * text.C: new function
2265
2266 2003-08-11  André Pönitz  <poenitz@gmx.net>
2267
2268         * Makefile.am:
2269         * tracer.[Ch]: remove unneeded files
2270
2271         * InsetList.[Ch]: remove resizeInsetsLyXText()
2272
2273         * lyxtext.h:
2274         * text.C:
2275         * text2.C:
2276         * text3.C: merge insertParagraphs() and appendParagraph()
2277         remove breakAgain(), update()
2278
2279         * BufferView_pimpl.[Ch]:
2280         * bufferview_funcs.[Ch]:
2281         * lyxfunc.C:
2282         * paragraph.[Ch]:
2283         * rowpainter.C:
2284         * tabular.C: adjust after text & InsetList changes.
2285
2286 2003-08-08  André Pönitz  <poenitz@gmx.net>
2287
2288         * text.C (insertChar, backspace): replace rowlist fiddling
2289         with rebreak of full par
2290
2291         * lyxtext.h:
2292         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2293         checkParagraph, updateInset): removed
2294
2295 2003-08-07  André Pönitz  <poenitz@gmx.net>
2296
2297         * paragraph.C:
2298         * text3.C: merge some LFUN handlers, remove dead code
2299
2300 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2303
2304 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2305
2306         * text2.C (DEPM): fix part of bug 1255 and 1256
2307
2308 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309
2310         * BufferView_pimpl.C (workAreaDispatch): change to use
2311         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2312         that are no mouse related.
2313
2314 2003-08-05  André Pönitz  <poenitz@gmx.net>
2315
2316         * BufferView.[Ch]:
2317         * BufferView_pimpl.[Ch]:
2318         * bufferview_funcs.C:
2319         * text2.C:
2320         * text3.C: rip out "deep update"
2321
2322         * textcursor.[Ch] (last_sel_cursor): remove unused member
2323
2324 2003-08-04  André Pönitz  <poenitz@gmx.net>
2325
2326         * BufferView.[Ch]:
2327         * BufferView_pimpl.[Ch]:
2328         * ParagraphParameters.C:
2329         * bufferview_funcs.C:
2330         * lyx_cb.C:
2331         * lyxfind.C:
2332         * lyxfunc.C:
2333         * text.C:
2334         * text2.C:
2335         * text3.C: replace "complicated" BufferView::update(...) calls with
2336         simpler ones.
2337
2338         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2339
2340 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2341
2342         * Makefile.am (lyx_SOURCES): add paper.h
2343
2344 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2345
2346         * Makefile.am: move things around so that both lyx-qt and
2347         lyx-xforms can be built (according to --with-frontend). Then lyx
2348         is a symbolic link to lyx-[firstfrontend]
2349
2350 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2351
2352         * Always use std::endl with lyxerr
2353
2354 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2355
2356         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2357
2358 2003-08-01  André Pönitz  <poenitz@gmx.net>
2359
2360         * BufferView.[Ch]:
2361         * BufferView_pimpl.[Ch]:
2362         * lyxfunc.C:
2363         * text3.C: merge BufferView::repaint() and BufferView::update()
2364
2365 2003-08-01  José Matos  <jamatos@lyx.org>
2366
2367         * buffer.[Ch]: file_format is no longer a buffer data element.
2368
2369 2003-08-01  André Pönitz  <poenitz@gmx.net>
2370
2371         * BufferView.C:
2372         * lyxtext.h:
2373         * text.C:
2374         * text2.C: make redoParagraph more independent of current cursor
2375
2376         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2377         * text.C:
2378         * text2.C: remove unneeded members
2379
2380 2003-07-30  André Pönitz  <poenitz@gmx.net>
2381
2382         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2383
2384         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2385           create a single function...
2386
2387         * paragraph_funcs.C (moveItem): ... here.
2388
2389         * text.C:
2390           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2391
2392 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * LColor.[Ch]: Add comment and greyedout logical colors.
2395
2396 2003-07-30  André Pönitz  <poenitz@gmx.net>
2397
2398         * tabular.C: don't use Assert too heavily. This crashes where it
2399           shouldn't
2400
2401 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2402
2403         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2404         is disabled (bug 1232)
2405
2406 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2407
2408         * factory.C: limited 'arg' scope
2409
2410 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * factory.C: fixed Note submenu issues
2413
2414 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2415
2416         * factory.C: submenu for Note/Comment/Greyedout
2417
2418 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2419
2420         * lyx_main.C (LyX):
2421         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2422
2423 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * LaTeXFeatures.C:
2426         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2427         greyedout. Patch provided by Jürgen Spitzmüller.
2428
2429 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * kbmap.C (read): fix error message when reading bind files
2432
2433 2003-07-29  Angus Leeming  <leeming@lyx.org>
2434
2435         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2436         certainly does not do what it purports to do. I am doing it, and
2437         us, a favour by killing it.
2438
2439 2003-07-28  José Matos  <jamatos@lyx.org>
2440
2441         * buffer.C (readBody, do_writeFile):
2442         * paragraph.C(readParagraph): \end_document replaces \the_end.
2443
2444 2003-07-29  André Pönitz  <poenitz@gmx.net>
2445
2446         * BufferView.[Ch]:
2447         * BufferView_pimpl.[Ch]:
2448         * lyxfunc.C:
2449         * text2.C:
2450         * text3.C:
2451         * textcursor.[Ch]: remove toggleToggle & Co
2452
2453 2003-07-28  José Matos  <jamatos@fep.up.pt>
2454
2455         * buffer.C (readParagraph):
2456         * params_func (readParToken, readParagraph):
2457         * paragraph.C (write): \layout -> \begin_layout.
2458
2459 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * lyxlex_pimpl.C (setFile): clean up slightly.
2462
2463         * bufferparams.h: add compressed var
2464
2465         * buffer_funcs.C (readFile): adjust for LyXLex change
2466         (newFile): ditto + simplify
2467
2468         * buffer.C (writeFile): handle writing of compressed files
2469
2470         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2471         Check if the file is compressed and set a bufferparm if so.
2472
2473         * Makefile.am (lyx_LDADD): remove explicit -lz
2474
2475 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2478         makeDocBookFile): put the real LyX version in the first line of
2479         the file
2480
2481         * version.h:
2482         * version.C.in: remove lyx_docversion
2483
2484         * tabular.C (write_attribute): add a template-based version to
2485         write enums properly
2486
2487 2003-07-28  André Pönitz  <poenitz@gmx.net>
2488
2489         * lyxtext.h:
2490         * text.C:
2491         * text2.C:
2492         * text3.C: use doubles again for x-coordinates. They are needed.
2493
2494 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * messages.C (getLocaleDir): use lyx_localedir()
2497
2498         * lyxlex_pimpl.C (setFile): compress stuff
2499
2500         * buffer.C (writeFile): add some compression stuff
2501         (do_writeFile): new func, dont call expliti close... will this
2502         breake anything?
2503
2504         * Makefile.am (lyx_LDADD): add -lz
2505
2506 2003-07-28  José Matos  <jamatos@fep.up.pt>
2507
2508         * buffer.C: increment file format.
2509         * paragraph_funcs (readParagraph, readParToken):
2510         * paragraph.C (readParagraph): add \end_layout.
2511
2512 2003-07-27  Angus Leeming  <leeming@lyx.org>
2513
2514         * Makefile.am: remove special casing for configure-time setting of
2515         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2516
2517         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2518         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2519
2520 2003-07-26  André Pönitz  <poenitz@gmx.net>
2521
2522         * paragraph_func.[Ch]:
2523         * paragraph.C (realizeFont): inline it whereever it is used
2524
2525         * rowpainter.C:
2526         * text.C:
2527         * text2.C:
2528         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2529
2530
2531 2003-07-26  André Pönitz  <poenitz@gmx.net>
2532
2533         *       lyxtext.h:
2534         * text.C:
2535         * text2.C: get rid of LyXText::need_break_row
2536
2537 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * toc.[Ch]: put namespace toc inside namespace lyx
2540
2541         * MenuBackend.C (expandToc2): adjust for lyx::toc
2542         (expandToc): ditto
2543
2544         * lyxfunc.C (dispatch): adjust for lyx::find
2545
2546         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2547         lyx::find instead. Reorganize a bit.
2548         (LyXReplace): rename to replace
2549         (LyXFind): rename to find
2550
2551         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2552         (dispatch): ditto
2553
2554 2003-07-26  André Pönitz  <poenitz@gmx.net>
2555
2556         * text.C (setHeightOfRow): restrict scope of temporary variable
2557
2558         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2559           code (never has been used?)
2560
2561 2003-07-27  Asger Alstrup  <alstrup@local>
2562
2563         * text.C (fill): Optimise algorithm to exploit that we can reuse
2564         the LyXFont for many characters.
2565         (setHeightOfRow): Same thing.
2566         (rowBreakPoint): Same thing.
2567
2568 2003-07-26  Asger Alstrup  <alstrup@local>
2569
2570         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2571
2572         * text.C (singleWidth): Spurious font copying in hot-spot
2573         singleWidth avoided. Reorder tests for arabic for efficiency.
2574
2575         * text.C (fill): handle empty paragraphs better.
2576
2577 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * ispell.C:
2580         * encoding.h: add includes
2581
2582         * lyxrc.C: remove reading of bind files
2583
2584         * lyx_main.C (init): setup bindings and menus only if we have a
2585         gui.
2586
2587         * kbmap.C (read): new method. Do the actual reading of bind
2588         files.
2589
2590         * converter.C (dvipdfm_options):
2591         * bufferparams.C:
2592         * lyxrc.C (read):
2593         (output): adapt PAPER_* enums.
2594
2595         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2596
2597         * bufferparams.h: remove paper-related enums from there
2598
2599         * paper.h: New file. A trivial header file to hold paper-related
2600         enums. It should later expand to contain many paper-related
2601         horrors access.
2602
2603         * lyxrc.C: declare extern displayTranslator
2604
2605 2003-07-27  José Matos  <jamatos@fep.up.pt>
2606
2607         * tabular.[Ch] (linuxdoc): add support for tables and figures
2608         (linuxdoc).
2609
2610 2003-07-27  José Matos  <jamatos@fep.up.pt>
2611
2612         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2613         consistency in both functions.
2614         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2615
2616 2003-07-26  Asger Alstrup  <alstrup@local>
2617
2618         * rowpainter.C (paintRows): Change algorithm to work directly on
2619         the insets rather than asking every character in the document
2620         whether its an inset.
2621
2622 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2623
2624         * buffer.C (openFileWrite): factorize some code
2625
2626 2003-07-26  Angus Leeming  <leeming@lyx.org>
2627
2628         * lyx_cb.C:
2629         * lyx_main.[Ch]: replace occurances of system_tempdir with
2630         os::getTmpDir().
2631
2632 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2633
2634         * rename Inset to InsetOld
2635
2636 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2637
2638         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2639         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2640         which I think is a bit clearer. EDIT is gone, since it was
2641         premature optimisation, and broken for mathed anyway.
2642         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2643         with cursor positioning in insets as well (math insets still do not
2644         work, but that's a different story anyway.) It mysteriously
2645         crashes sometimes with undo in the first paragraph, but I'm fairly
2646         confident that this is a compiler bug.
2647
2648 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * paragraph.C (Paragraph): adjust for new clone return type
2651         (operator==): ditto
2652         (copyIntoMinibuffer): ditto
2653
2654 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2655
2656         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2657         by not having a special case, and always doing a full rebreak of
2658         the document after undo.
2659
2660 2003-07-23  Angus Leeming  <leeming@lyx.org>
2661
2662         * factory.C (createInset): InsetExternal::setParams now takes a
2663         Buffer const * arg.
2664
2665 2003-07-23  Angus Leeming  <leeming@lyx.org>
2666
2667         * factory.C (createInset): changed interface to the external and
2668         graphics mailers' string2params functions.
2669
2670 2003-07-23  Angus Leeming  <leeming@lyx.org>
2671
2672         * factory.C (createInset): pass a
2673         Buffer const * parameter to InsetExternalMailer's string2params.
2674
2675 2003-07-22  John Levon  <levon@movementarian.org>
2676
2677         * Thesaurus.h: include the right aiksaurus header
2678
2679 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * MenuBackend.C (expand): check menu shortcuts unconditionally
2682
2683 2003-07-21  Angus Leeming  <leeming@lyx.org>
2684
2685         * factory.C (createInset): pass a
2686         buffer_path parameter to InsetGraphicsMailer's string2params.
2687
2688 2003-07-21  Angus Leeming  <leeming@lyx.org>
2689
2690         * BufferView_pimpl.C (buffer):
2691         * buffer.C (d-tor):
2692         * lyx_main.C (LyX):
2693         * lyxfunc.C (dispatch):
2694         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2695         rather than the grfx shortcut.
2696
2697 2003-07-21  André Pönitz  <poenitz@gmx.net>
2698
2699         * rowpainter.C: remove unused variables
2700
2701         * tabular_funcs.C:
2702         * tabular_funcs.h: move to tabular.C
2703         * Makefile.am: adjust
2704
2705         * tabular.[Ch]: basic optical cleaning
2706
2707         * author.h: pass references, not values
2708
2709 2003-07-18  André Pönitz  <poenitz@gmx.net>
2710
2711         * lyxtext.h:
2712         * metricsinfo.C:
2713         * metricsinfo.h:
2714         * rowpainter.C:
2715         * text.C:
2716         * text2.C:
2717         * text3.C: two-phase drawing for InsetText and InsetTabular
2718         some float -> int changes.
2719
2720 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * lyx_main.C: fix the fix
2723
2724 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2725
2726         * lyx_main.C: fix a crash in batch mode if no files specified
2727         * converter.C: ws
2728
2729 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2730
2731         * format.[Ch] (papersize): moved to BufferParams
2732         * converter.[Ch] (dvips_options): moved to BufferParams
2733         (dvipdfm_options): moved to anon namespace
2734         * bufferparams.[Ch]: added above functions.
2735
2736 2003-07-17  André Pönitz  <poenitz@gmx.net>
2737
2738         * lyxtext.h:
2739         * rowpainter.C:
2740         * text2.C: don't call inset->update() anymore
2741
2742         * metricsinfo.[Ch]: add convenience constructor
2743
2744 2003-07-16  André Pönitz  <poenitz@gmx.net>
2745
2746         * lyxcursor.[Ch]:
2747         * lyxfunc.[Ch]:
2748         * text.C:
2749         * text2.C: replace the LyXCursor::irow_ member with
2750          on-demand computation of the value
2751
2752 2003-07-16  John Levon  <levon@movementarian.org>
2753
2754         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2755
2756 2003-07-15  André Pönitz  <poenitz@gmx.net>
2757
2758         * text.C:
2759         * text2.C: remove no more needed refresh_row
2760
2761 2003-07-15  André Pönitz  <poenitz@gmx.net>
2762
2763         * lyxtext.h:
2764         * rowpainter.C:
2765         * text2.C:
2766         * text3.C: refresh_status tristate -> need_update bool
2767
2768 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2769
2770         * lyxtext.h (init): remove reinit argument (act as if always true)
2771         * text2.C: adjust to that
2772
2773 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2774
2775         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2776         * text3.C: use it to delete selections in some cases
2777         (bugs 441, 673, 702, 954).
2778
2779 2003-07-14  André Pönitz  <poenitz@gmx.net>
2780
2781         * rowpainter.[Ch]: reduce interface
2782
2783 2003-07-14  André Pönitz  <poenitz@gmx.net>
2784
2785         * BufferView_pimpl.C:
2786         * text2.C: adjust after removing unused BufferView * argument
2787
2788 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2789
2790         * text2.C (init): fix a crash fired on resize
2791
2792 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * buffer.[Ch]: added new closing signal
2795         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2796         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2797         BufferView::Pimpl via the closing the signal
2798
2799 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * buffer.[Ch]: take out all bv-related from buffer
2802         * BufferView.C:
2803         * BufferView_pimpl.[Ch]: connect to new signals
2804         * CutAndPaste.C: removed useless asserts
2805         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2806         * lyxvc.[Ch]:
2807         * vc-backend.[Ch]:
2808         * lyxfunc.C: moved view-related funciontality from vc here
2809         * paragraph.C: removed outdated comments
2810         * text.C: ws
2811
2812 2003-07-10  André Pönitz  <poenitz@gmx.net>
2813
2814         * BufferView_pimpl.C:
2815         * tabular.h:
2816         * tabular_funcs.C:
2817         * text.C:
2818         * text2.C: remove InsetText::InnerCache, clean up consequences
2819
2820 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2821
2822         * ispell.C: fix two typos in error messages
2823
2824 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2825
2826         * Extend Note inset to other forms of annotation like Comment
2827         and Greyedout. Right button click gives dialog.
2828
2829         Files modified or added (+):
2830
2831         * insetnote.[Ch]
2832         * FormNote.[Ch]      +
2833         * ControlNote.[Ch]   +
2834         * form_note.fd       +
2835         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2836         frontends/controllers
2837         * xforms/Dialogs.C
2838         * factory.C
2839
2840 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2841
2842         * aspell.C: add missing namespace lyx::support
2843
2844 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2845
2846         * BufferView.[Ch] (newFile): Add
2847         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2848         * LaTeX.[Ch] (message): added this signal and use it
2849         * buffer.[Ch] (busy, message): added these signals and use them
2850         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2851         * converter.C:
2852         * exporter.C:
2853         * format.C:
2854         * importer.C: use buffer signals instead of direct bv calling
2855         * lyx_cb.[Ch] (ShowMessage): removed
2856         * lyx_main.C:
2857         * lyxfunc.C:
2858         * paragraph_funcs.C:
2859         * text2.C: use buffer signals
2860
2861 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * introduce namespace lyx::graphics
2864
2865 2003-07-02  André Pönitz  <poenitz@gmx.net>
2866
2867         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2868
2869 2003-07-01  André Pönitz  <poenitz@gmx.net>
2870
2871         * text.C:
2872         * text2.C:
2873         * text3.C:
2874         * text_funcs.[Ch]:
2875         * textcursor.h:
2876         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2877           text*.C to text_func.C
2878
2879 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * introduce namespace lyx::support
2882
2883 2003-06-30  André Pönitz  <poenitz@gmx.net>
2884
2885         * Chktex.C:
2886         * funcrequest.C:
2887         * lyxtext.h:
2888         * text.C: re-enable --with-included-string
2889
2890 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * textcursor.C: add <config.h>
2893
2894         * text.C (getWord): remove const from word_location arg
2895
2896         * lyxvc.C (getLogFile): fix const type order
2897
2898         * lyxtext.h: remove const from word_location arg, add arg name
2899
2900         * lyxlayout.h: currect type on labeltype.
2901
2902         * importer.C: correct \file
2903
2904         * converter.C (intToFormat): use std:: on ret val, ws changes
2905
2906         * bufferlist.h: correct \file
2907
2908         * buffer.C (makeLinuxDocFile): fix const type order
2909         (makeDocBookFile): ditto
2910         (fillWithBibKeys): use std:: on stdlib args.
2911
2912         * CutAndPaste.C: fix authors.
2913         (availableSelections): use std:: on return vector
2914
2915 2003-06-27  André Pönitz  <poenitz@gmx.net>
2916
2917         * BufferView_pimpl.C:
2918         * bufferview_funcs.C:
2919         * lyxcursor.C:
2920         * lyxcursor.h:
2921         * lyxfunc.C:
2922         * lyxtext.h:
2923         * rowpainter.C:
2924         * text.C:
2925         * text2.C:
2926         * text3.C: remove LyXCursor::row_ member
2927
2928         * lyxtext.h:
2929         * text.C: rename fullRebreak() to partialRebreak() and implement
2930           a fullRebreak() that really bereks fully
2931
2932         * textcursor.h: new struct for cursor-related data
2933
2934 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * lyx_main.C (LyX): get full path of document loaded on the
2937         command line
2938
2939 2003-06-26  André Pönitz  <poenitz@gmx.net>
2940
2941         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2942           remove unused/broken operator>,<,>=.
2943
2944         *       text.C: remove only use of broken operator<= in an Assert().
2945
2946 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2949         moved errorlist_.clear to showErrorList
2950
2951 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * converter.C (scanLog, runLaTeX):
2954         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2955         move the bv->showErrorList call to the callers
2956         * lyxfunc.C: i.e. here...
2957         * text2.C: and here
2958         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2959         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2960         namespace, the second to...
2961         * buffer_funcs (BufferFormat, parseErrors): added
2962         * errorlist.C (ErrorList(TeXErrors const &)): removed
2963
2964 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2967
2968 2003-06-24  "Garst R. Reese" <reese@isn.net>
2969
2970         * debug.C: fix typo
2971
2972 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2973
2974         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2975
2976         * version.C.in: change docversion to 1.4
2977
2978 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * buffer.C: fix a bug just introduced
2981
2982 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * buffer.[Ch]: added the parseError signal and use it, removed
2985         sgmlError
2986         * BufferView.[Ch] (addError): moved to ...
2987         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2988         to the Buffer::parseError signal to catch (guess what) parse errors
2989         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2990
2991 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2994         ability to create a buffer and to return an existing one from
2995         the list. Moved these functions to...
2996         * buffer_funcs.[Ch]: added
2997         * BufferView.[Ch] (loadLyXFile): added
2998         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2999         job removed from bufferlist::loadLyXFile.
3000         * buffer.C (setReadOnly): make it work without view
3001         (i.e added an if (users))
3002
3003 2003-06-19  Angus Leeming  <leeming@lyx.org>
3004
3005         * lfuns.h:
3006         * LyXAction.C (init):
3007         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3008         with LFUN_DIALOG_SHOW <name> <data>.
3009
3010 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3011
3012         * CutAndPaste.C (availableSelections): small compilation fix for
3013         ancient (gcc 2.9x) compilers
3014
3015 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * text3.C (cursorNext): add tmp var
3018
3019         * text2.C (updateCounters): for function calling out of for clause
3020         (replaceSelectionWithString): ditto
3021         (insertStringAsParagraphs): ditto
3022         (getColumnNearX): add tmp var
3023         (setCursorFromCoordinates): add tmp var
3024         (cursorDownParagraph): add tmp var
3025         (deleteEmptyParagraphMechanism): add tmp var
3026
3027         * text.C (insertChar): add tmp var
3028
3029         * rowpainter.C (paintDepthBar): add tmp var
3030
3031         * CutAndPaste.C (availableSelections): potentially check all
3032         paragraphs in a cut to fill the shown strings.
3033
3034 2003-06-18  André Pönitz  <poenitz@gmx.net>
3035
3036         * kbmap.[Ch]: use vector<> instead of list<>
3037
3038 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3039
3040         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3041         pasteSelection with index
3042
3043         * text2.C (pasteSelection): modify, call pasteSelection with index
3044
3045         * paragraph.C (asString): reimplement version with no interval to
3046         call the one with interval.
3047
3048         * lyxtext.h: add index arg to pasteSelection
3049
3050         * MenuBackend.C (MenuItem): handle PasteRecent
3051         (Menu::read::Menutags): add md_pasterecent
3052         (read): handle it
3053         (expandPasteRecent): new function
3054         (expand): use it
3055
3056         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3057
3058         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3059         the limited stack
3060         (availableSelections): new function
3061
3062 2003-06-17  Angus Leeming  <leeming@lyx.org>
3063
3064         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3065
3066 2003-06-17  Angus Leeming  <leeming@lyx.org>
3067
3068         * lfuns.h:
3069         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3070
3071         * lyxfunc.C (dispatch): invoke it.
3072
3073 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * iterators.C (operator++, ParPosition): reintroduce some
3076         const_cast for the benefit of older compilers.
3077
3078 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3079
3080         * text3.C (dispatch): do not modify clipboard when doing
3081         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3082         LFUN_DELETE_SKIP on a selection selection
3083
3084 2003-06-16  André Pönitz  <poenitz@gmx.net>
3085
3086         * BufferView.C:
3087         * buffer.C:
3088         * buffer.h:
3089         * paragraph.C:
3090         * tabular.[Ch]: IU of clone() and getLabelList();
3091
3092 2003-06-13  André Pönitz  <poenitz@gmx.net>
3093
3094         * tabular.h: compactification
3095
3096 2003-06-12  André Pönitz  <poenitz@gmx.net>
3097
3098         * tabular.C:
3099         * tabular.h:
3100         * tabular_funcs.h: some renaming plus whitespace
3101
3102 2003-06-12  André Pönitz  <poenitz@gmx.net>
3103
3104         * BufferView.C:
3105         * BufferView_pimpl.C:
3106         * CutAndPaste.C:
3107         * buffer.C:
3108         * iterators.[Ch]:
3109         * lyxfunc.C:
3110         * text.C:
3111         * toc.C: Return a Paragraph & for ParIterator::operator*()
3112
3113 2003-06-11  John Levon  <levon@movementarian.org>
3114
3115         * lyx_main.C:
3116         * ToolbarBackend.h:
3117         * ToolbarBackend.C: add "Toolbars" section and
3118         put the flags there
3119
3120 2003-06-10  Angus Leeming  <leeming@lyx.org>
3121
3122         * lfuns.h:
3123         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3124
3125         * lyxfunc.C (dispatch): invoke it.
3126
3127 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * main.C: protect <ios> with HAVE_IOS
3130         (main): protect sync_with_stdio with HAVE_IOS
3131
3132 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3133
3134         * text2.C (cutSelection): adjust
3135         (pasteSelection): adjust
3136
3137         * messages.C: handle get of empty string
3138
3139         * main.C (main): use sync_with_stdio(false)
3140
3141         * lyxfunc.C (dispatch): adjust
3142
3143         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3144         (WriteAs): remove unneeded BufferView arg.
3145
3146         * bufferparams.h: use correct types on papersize, papersize2 and
3147         paperpackage.
3148
3149         * bufferparams.C (readToken): adjust for type
3150         (writeLaTeX): add missing cases to switch.
3151
3152         * bufferlist.C (quitWriteBuffer): adjust
3153         (close): adjust
3154
3155         * buffer.C (asciiParagraph): remove some commented code.
3156
3157         * CutAndPaste.C: remove current_view extern variable.
3158         (cutSelection): add BufferParams arg.
3159         (eraseSelection): add BufferParams arg.
3160         (pasteSelection): add Buffer const & arg
3161
3162 2003-06-07  John Levon  <levon@movementarian.org>
3163
3164         * buffer.C:
3165         * paragraph_funcs.C:
3166         * paragraph_pimpl.C:
3167         * text.C:
3168         * text2.C:
3169         * paragraph.h:
3170         * paragraph.C: allow InsetERT to freely space lines,
3171         and some consolidation of code
3172
3173 2003-06-06  José Matos  <jamatos@fep.up.pt>
3174
3175         * buffer.C (makeDocBookFile): fix bug #821
3176
3177 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3178
3179         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3180
3181 2003-06-04  Angus Leeming  <leeming@lyx.org>
3182
3183         * buffer.C: bump format to 224.
3184
3185 2003-06-05  André Pönitz  <poenitz@gmx.net>
3186
3187         * text2.C (redoParagraphs): remove two const_cast<>
3188
3189 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3190
3191         * ParagraphList.h: remove last remnants of NO_STD_LIST
3192
3193 2003-06-03  Angus Leeming  <leeming@lyx.org>
3194
3195         * factory.C (createInset): small change to the way InsetExternal's params
3196         are set.
3197
3198 2003-06-04  André Pönitz  <poenitz@gmx.net>
3199
3200         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3201
3202         * paragraph_pimpl.h:
3203         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3204
3205         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3206
3207         * undo_funcs.C: make some simple cases of undo work again
3208
3209 2003-06-03  John Levon  <levon@movementarian.org>
3210
3211         * ispell.C: HPUX doesn't have sys/select.h
3212         (from Albert Chin)
3213
3214 2003-06-03  John Levon  <levon@movementarian.org>
3215
3216         * CutAndPaste.C: update tabular and include inset
3217         buffer references
3218
3219         * buffer.h:
3220         * paragraph.h:
3221         * paragraph.C: remove owningBuffer(), don't pass Buffer
3222         to clone()
3223
3224         * factory.C: insetGraphicsParams changed
3225
3226 2003-06-02  John Levon  <levon@movementarian.org>
3227
3228         * LyXAction.C:
3229         * factory.C:
3230         * lfuns.h:
3231         * lyxfunc.C:
3232         * text3.C: remove insetparent
3233
3234 2003-06-02  John Levon  <levon@movementarian.org>
3235
3236         * buffer.h:
3237         * buffer.C: fix inset_iterator.end(), move out of line
3238         (bug 1149)
3239
3240 2003-06-01  John Levon  <levon@movementarian.org>
3241
3242         * text3.C: use a proper cut/paste when doing inset
3243         insert (from Jürgen Spitzmüller)
3244
3245 2003-06-01  John Levon  <levon@movementarian.org>
3246
3247         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3248
3249 2003-05-30  André Pönitz  <poenitz@gmx.net>
3250
3251         * rowpainter.C: unify second drawing phase
3252
3253 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * trans_mgr.C: remove one case of current_view
3256
3257         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3258
3259         * paragraph_funcs.h: remove paragraph.h include
3260
3261         * paragraph.h: delete NO_STD_LIST stuff
3262
3263         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3264
3265         * buffer.h: remove paragraph.h include
3266
3267         * ParagraphList.C: delete file
3268
3269         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3270
3271         * toc.C (getTocList): adjust
3272
3273         * paragraph_pimpl.C (validate): adjust
3274
3275         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3276
3277         * paragraph.C (Paragraph): adjust
3278         (getPositionOfInset): use const_iterator, adjust
3279         (bibitem): use const_iterator, adjust
3280         (setInsetOwner): adjust
3281
3282         * iterators.C (operator++): adjust
3283
3284         * InsetList.[Ch]: Replace selfmade iterator with standard
3285         vector::iterator also introduce const_iterator. Remove getPos,
3286         getInset and setInset from InsetTable. Adjust accordingly.
3287
3288         * BufferView.C (lockInset): adjust
3289         (ChangeInsets): adjust
3290
3291         * tabular.[Ch]: delete commented same_id functions
3292
3293 2003-05-28  John Levon  <levon@movementarian.org>
3294
3295         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3296
3297 2003-05-28  André Pönitz  <poenitz@gmx.net>
3298
3299         * metricsinfo.[Ch]: remove 'fullredraw' member
3300
3301 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3302
3303         * lyxtextclass.C (operator): remove caching.
3304
3305 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * text3.C: adjust
3308
3309         * text2.C (cursorBottom): adjust
3310         (setCounter): use ParagraphList::find, adjust
3311
3312         * text.C (workWidth): use ParagraphList::find, adjust
3313
3314         * lyxcursor.C (LyXCursor): adjust
3315
3316         * buffer.C (inset_iterator): adjust
3317
3318         * ParagraphList.h: make iterator(value_type) private, make
3319         ParagraphList a friend of iterator.
3320
3321         * ParagraphList.C (find): new function
3322
3323         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3324
3325 2003-05-27  André Pönitz  <poenitz@gmx.net>
3326
3327         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3328
3329 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3330
3331         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3332
3333 2003-05-26  John Levon  <levon@movementarian.org>
3334
3335         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3336
3337 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * remove same_id from function signatures, adjust.
3340
3341 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3344
3345         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3346
3347         * paragraph.C (Paragraph): get rid of same_ids parameter
3348
3349         * ParagraphList.C (insert): adjust
3350         (push_back): adjust
3351
3352 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * paragraph_funcs.C (breakParagraph): adjust
3355         (breakParagraphConservative): adjust
3356
3357         * buffer.C (readParagraph): adjust
3358
3359         * ParagraphList.C (insert): take a reference instead of a pointer
3360         (insert): adjust
3361
3362         * paragraph.[Ch] (id): new function
3363
3364         * bufferlist.C (newFile): adjust
3365
3366         * ParagraphList.C (ParagraphList): adjust
3367         (assign): adjust
3368         (push_back): take a reference instead of a pointer.
3369
3370         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3371
3372         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3373         instead.
3374
3375         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3376         set else use old code.
3377
3378         * ParagraphList.C: remove all NO_NEXT code and only compile this
3379         code of NO_STD_LIST is set.
3380
3381 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * BufferView_pimpl.C:
3384         * TextCache.C:
3385         * TextCache.h:
3386         * bufferlist.C:
3387         * errorlist.h:
3388         * format.C:
3389         * format.h:
3390         * graph.C:
3391         * lyxfunc.C:
3392         * lyxrc.C:
3393         * graphics/GraphicsConverter.C:
3394         * graphics/PreviewLoader.C: header adjustment
3395
3396 2003-05-23  Angus Leeming  <leeming@lyx.org>
3397
3398         * LaTeXFeatures.[Ch] (useBabel): new method.
3399         * bufferparams.C (writeLaTeX): use it.
3400
3401 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * ParagraphList.h (set): remove unused function.
3404
3405 2003-05-23  André Pönitz  <poenitz@gmx.net>
3406
3407         * BufferView.C:
3408         * BufferView_pimpl.C:
3409         * buffer.C:
3410         * buffer.h:
3411         * lyxfunc.C:
3412         * undo_funcs.C: setUndo reworked
3413
3414         * iterators.[Ch]: add access to topmost ParagraphList
3415
3416         * lyxtext.[Ch] (workWidth): add a const
3417
3418 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * texrow.[Ch] (increasePos): remove function
3421         * exporter.C (export): removed unused var and outdated comment
3422
3423 2003-05-23  Angus Leeming  <leeming@lyx.org>
3424
3425         * latexrunparams.h: rename fragile as moving_arg.
3426         * paragraph.C (simpleTeXOnePar): ditto.
3427         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3428
3429 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3432         (createUndo): ditto
3433         (textUndoOrRedo): comment out a currently unused var.
3434
3435         * paragraph.h (NO_NEXT): enable NO_NEXT
3436
3437         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3438
3439         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3440
3441         * exporter.C (Export): adjust for removeAutoInsets removal.
3442
3443         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3444
3445         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3446
3447         * BufferView.[Ch] (removeAutoInsets): delete function
3448
3449 2003-05-22  Angus Leeming  <leeming@lyx.org>
3450
3451         * latexrunparams.h: add a free_spacing variable.
3452
3453         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3454         to pass moving_arg, as the data is stored in runparams.fragile.
3455
3456         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3457         to Inset::latexOptional or to simpleTeXOnePar.
3458
3459         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3460         free_spacing arg to Inset::latexOptional.
3461
3462         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3463         free_spacing arg.
3464
3465 2003-05-22  Angus Leeming  <leeming@lyx.org>
3466
3467         * latexrunparams.h: add fragile and use_babel variables.
3468
3469         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3470         * buffer.C (makeLaTeXFile): store this returned value in
3471         runparams.use_babel, thus passing it to the inset::latex methods.
3472
3473         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3474         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3475
3476         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3477         longer has a fragile arg, as it is stored in runparams.fragile.
3478
3479         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3480         moving_arg parameter as the data is stored in runparams.fragile.
3481
3482         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3483         a fragile parameter as the data is stored in runparams.fragile.
3484
3485 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3488
3489 2003-05-22  Angus Leeming  <leeming@lyx.org>
3490
3491         * latexrunparams.h: add a 'bool nice' which defaults to false.
3492
3493         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3494         now encapsulated within runparams.
3495
3496         * bufferlist.C (updateIncludedTeXfiles):
3497         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3498
3499 2003-05-22  Angus Leeming  <leeming@lyx.org>
3500
3501         * latexrunparams.h: new file containing struct LatexRunParams.
3502         * Makefile.am: add new file.
3503
3504         * LaTeX.[Ch] (c-tor, run):
3505         * buffer.[Ch] (makeLaTeXFile):
3506         * bufferlist.[Ch] (updateIncludedTeXfiles):
3507         * converter.C (convert, scanLog):
3508         * converter.[Ch] (runLaTeX):
3509         * exporter.C (Export):
3510         * paragraph.[Ch] (simpleTeXOnePar):
3511         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3512         * paragraph_funcs.[Ch] (latexParagraphs):
3513         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3514         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3515         pass around a LatexRunParams parameter.
3516
3517 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * paragraph.[Ch]: remove unused constructor
3520
3521         * ParagraphList.C (erase): new function, taking two iterators
3522
3523 2003-05-22  André Pönitz  <poenitz@gmx.net>
3524
3525         * undo_funcs.C: remove duplicated code
3526
3527         * iterator.[Ch]: operator=
3528
3529 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * tabular.C (SetMultiColumn): ws changes
3532
3533         * rowpainter.C (paintFirst): get rid of a ->previous
3534
3535         * lyx_cb.C (getPossibleLabel): parlist simplification
3536
3537         * BufferView.C (ChangeInsets): simplify slightly.
3538
3539 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3540
3541         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3542         * lfuns.h: new LFUN_SPACE
3543         * lyxfunc.C: protected space has a new lfun
3544         * paragraph_funcs.C: read new space insets
3545         * text3.C:
3546         * factory.C: handle new space insets
3547
3548 2003-05-22  André Pönitz  <poenitz@gmx.net>
3549
3550         * BufferView.C:
3551         * BufferView_pimpl.C:
3552         * buffer.[Ch]:
3553         * lyxfunc.C:
3554         * undo_funcs.C: return a ParIterator from getParFromID.
3555
3556         * iterators.[Ch]: add two const's
3557
3558 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * toc.C (getTocList): adjust
3561
3562         * iterators.[Ch]: rework for parlist
3563
3564         * buffer.C (par_iterator_begin): adjust
3565         (par_iterator_end): adjust
3566
3567         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3568
3569         * BufferView.C (removeAutoInsets): adjust
3570         (ChangeInsets): adjust
3571
3572 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * text.C (top_y): fix bug 1110
3575
3576 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * errorlist.[Ch]: added
3579         * buffer.C:
3580         * BufferView.[Ch]:
3581         * BufferView_pimpl.C:
3582         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3583         instead
3584
3585 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * Makefile.am: ensure that lyx is relinked upon changes to the
3588         various "convenience" libs.
3589
3590 2003-05-20  Angus Leeming  <leeming@lyx.org>
3591
3592         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3593         files are compiled in alphabetical order again.
3594
3595         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3596
3597 2003-05-19  Angus Leeming  <leeming@lyx.org>
3598
3599         * gettext.[Ch]: remove "char const * _(char const *)".
3600
3601 2003-05-19  André Pönitz  <poenitz@gmx.net>
3602
3603         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3604
3605         * Makefile.am:
3606         * BufferView.C:
3607         * DepTable.h:
3608         * LaTeXFeatures.C:
3609         * buffer.C:
3610         * lyxfont.C:
3611         * lyxlex.h:
3612         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3613
3614 2003-05-19  André Pönitz  <poenitz@gmx.net>
3615
3616         * buffer.C:
3617         * lyxlayout.[Ch]:
3618         * lyxtextclass.[Ch]:
3619         * paragraph.C:
3620         * paragraph_funcs.[Ch]:
3621         * text2.C:
3622         * text3.C: more insetenv work
3623
3624 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3625
3626         * ParagraphParameters.C (params2string): small bug fixed
3627
3628 2003-05-16  André Pönitz  <poenitz@gmx.net>
3629
3630         * debug.C:
3631         * bufferview_funcs.C: patch from Kornel Benko to prevent
3632           crash when _(...) is called twice in a statement
3633
3634 2003-05-16  André Pönitz  <poenitz@gmx.net>
3635
3636         * BufferView.C:
3637         * lyxfunc.C:
3638         * text.C:
3639         * text2.C:
3640         * text3.C:
3641         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3642
3643 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3644
3645         * lyx_main.C (init): remove spurious static_cast
3646
3647 2003-05-14  André Pönitz  <poenitz@gmx.net>
3648
3649         * BufferView.C: fix format string
3650
3651 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3652
3653         * BufferView.[Ch] (insertErrors): removed
3654         * BufferView.[Ch] (showErrorList): added
3655         * buffer.C (runChkTeX):
3656         * converter.C (scanLog): call showErrorList instead of inserterrors
3657
3658 2003-05-13  André Pönitz  <poenitz@gmx.net>
3659
3660         * BufferView_pimpl.C:
3661         * buffer.C:
3662         * bufferview_func.C:
3663         * MenuBackend.C:
3664         * lyxfunc.C:
3665         * lyxrc.C:
3666         * tex-accent.C:
3667         * text3.C:
3668         * toc.C:
3669         * tabular_funcs.h: tostr() from its own header
3670
3671         * ParagraphParameters.C:
3672         * ToolbarBackend.C:
3673         * bufferparams.C:
3674         * format.C:
3675         * lyxlex_pimpl.C:
3676         * text3.C: STRCONV()
3677
3678 2003-05-12  André Pönitz  <poenitz@gmx.net>
3679
3680         * BufferView.C:
3681         * BufferView_pimpl.C:
3682         * CutAndPaste.C:
3683         * LaTeX.C:
3684         * LaTeXFeatures.C:
3685         * ParagraphParameters.C:
3686         * buffer.C:
3687         * bufferlist.C:
3688         * bufferparams.C:
3689         * bufferview_funcs.C:
3690         * converter.C:
3691         * counters.C:
3692         * debug.C:
3693         * exporter.C:
3694         * format.C:
3695         * importer.C:
3696         * lyx_cb.C:
3697         * lyx_main.C:
3698         * lyxfont.C:
3699         * lyxfunc.C:
3700         * lyxvc.C:
3701         * paragraph.C:
3702         * paragraph_funcs.C:
3703         * tabular.C:
3704         * tabular_funcs.C:
3705         * text2.C:
3706         * text3.C:  boost::format -> bformat  all over the place
3707
3708
3709 2003-05-09  André Pönitz  <poenitz@gmx.net>
3710
3711         * LColor.[Ch]: Pimpl the #include <map> away
3712
3713 2003-05-09  John Levon  <levon@movementarian.org>
3714
3715         * bufferlist.C: never remove emergency saves
3716
3717 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * Makefile.am: better lib building
3720
3721 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3724         instead.
3725         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3726         (simpleTeXSpecialChars): adjust
3727         (simpleTeXSpecialChars): adjust
3728         * paragraph.C (simpleTeXOnePar): adjust
3729         * buffer.C (makeLaTeXFile): adjust
3730
3731         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3732
3733         * text2.C (changeDepth): parlist cleanup
3734         (getColumnNearX): ditto
3735
3736         * rowpainter.C (getLabelFont): parlist cleanup
3737
3738         * bufferlist.C (newFile): parlist cleanup
3739
3740         * CutAndPaste.C (eraseSelection): parlist cleanup
3741
3742         * BufferView_pimpl.C (trackChanges): parlist cleanup
3743         (dispatch): ditto
3744
3745         * BufferView.C (lockInset): parlist cleanup.
3746         (ChangeInsets): ditto
3747
3748 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * CutAndPaste.h: Update file header.
3751
3752         * CutAndPaste.C: Update file header.
3753         Store the parts cut out of the Document in a limited_stack.
3754         (copySelection): adjust
3755         (pasteSelection): new function, takes the index in the limited stack.
3756         (nrOfParagraphs): adjust
3757         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3758         simplify error inset insertion.
3759         (checkPastePossible): adjust
3760
3761 2003-05-06  John Levon  <levon@movementarian.org>
3762
3763         * text2.C: don't cast wrap inset to float
3764
3765 2003-05-05  André Pönitz  <poenitz@gmx.net>
3766
3767         * iterator.C:
3768         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3769
3770         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3771           few naked Paragraph *.
3772
3773 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3774
3775         * bufferparams.C: Output warning if a document with missing
3776         TeX document class is loaded
3777         * exporter.C: Disable TeX exports if the document class is missing
3778         * lyxtextclass.C:
3779         * lyxtextclass.h:
3780         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3781         isTeXClassAvailable()
3782
3783 2003-05-03  John Levon  <levon@movementarian.org>
3784
3785         * BufferView.h:
3786         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3787         explicit cursor show/hide
3788
3789         * BufferView_pimpl.h:
3790         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3791         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3792
3793         * lyxfunc.C: hide cursor before dispatching.
3794
3795         * lyx_cb.C:
3796         * lyxfind.C:
3797         * text.C:
3798         * text3.C: remove explicit cursor hides
3799
3800 2003-05-02  André Pönitz  <poenitz@gmx.net>
3801
3802         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3803
3804         * undo_funcs.C:
3805         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3806           linked lists
3807
3808         * text2.C: tiny whitespace
3809
3810 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * undo_funcs.C: almost only ws changes.
3813
3814         * ParagraphList.C (splice): just return if pl is empty.
3815
3816 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * ParagraphList.C (splice): new function.
3819
3820         * CutAndPaste.C (pasteSelection): use it
3821
3822 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * CutAndPaste.C (pasteSelection): remove the last next and
3825         previous from this file.
3826
3827 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * CutAndPaste.C (pasteSelection): more clean up, user proper
3830         ParagraphList functions for pasteing.
3831
3832         * ParagraphList.C (insert): new function, three arg insert
3833
3834 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * ParagraphList.C (insert): new function, three arg insert
3837
3838         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3839         not on paragraphs.
3840
3841 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3844
3845 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3848
3849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3852         (copySelection): clean up a bit.
3853         (pasteSelection): use make_pair
3854
3855         * ParagraphList.C (ParagraphList): implement copy constructor
3856         (operator=): implement, base on copy constructor.
3857         (assign): new func
3858
3859         * paragraph.C (erase): return a bool
3860
3861         * paragraph_pimpl.C (erasePos): remove function, move contents...
3862         (erase): ... here. Return a bool.
3863         (erase): call erase instead of erasePos.
3864
3865 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * ParagraphList.h: define PitPosPair
3868         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3869         ParagraphList, fix a bug on pasting multiple pars
3870         * text2.C: change interface to C&P
3871
3872 2003-04-30  André Pönitz  <poenitz@gmx.net>
3873
3874         * undo_func.C: revert part of yesterday's patch 2
3875
3876 2003-04-30  John Levon  <levon@movementarian.org>
3877
3878         * LColor.C: s/tabular/table/
3879
3880 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * text3.C (dispatch): do not convert iterator -> pointer
3883         * undo_funcs.C (setCursorParUndo): ditto
3884         * text_funcs.C (transposeChars): ditto
3885
3886         * text2.C (setLayout): ws changes only
3887
3888         * text.C (breakParagraph): do not convert iterator -> pointer
3889         (insertChar): ditto
3890         (acceptChange): ditto
3891         (rejectChange): ditto
3892         (changeCase): ditto
3893         (Delete): ditto
3894         (backspace): ditto
3895
3896         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3897         pointer
3898
3899 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * text3.C (gotoInset): YABG (yet another bad getChar)
3902
3903 2003-04-29  André Pönitz  <poenitz@gmx.net>
3904
3905         * paragraph.h: make operator= private unimplemented as long as
3906           it is unusable
3907
3908         * ParagraphList.C: whitespace
3909
3910         * paragraph.[Ch]:
3911         * paragraph_pimpl.[Ch]:
3912         * paragraph_funcs.C:
3913         * CutAndPaste.C:
3914         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3915
3916         * text2.C:
3917           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3918
3919 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3922         * paragraph.[Ch] (erase):
3923         * paragraph_pimpl.[Ch] (erase): change return type and value
3924         * text2.C (cutSelection): some rework
3925
3926 2003-04-28  John Levon  <levon@movementarian.org>
3927
3928         * bufferlist.C: changes for unsaved changes dialog
3929
3930 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * bufferlist.C (newFile): set language (messages_) for new
3933         documents also.
3934
3935         * buffer.C (readFile): ws changes only.
3936
3937 2003-04-28  André Pönitz  <poenitz@gmx.net>
3938
3939         * undo_funcs.C:
3940         * lyxfunc.C:
3941         * buffer.[Ch]:
3942         * BufferView_pimpl.C:
3943         * BufferView.C: getParFromID related ParagraphList::iterator changes
3944
3945 2003-04-28  André Pönitz  <poenitz@gmx.net>
3946
3947         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3948           Changes
3949
3950 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * messages.C: remove one more localedir class variable.
3953
3954 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * messages.C (getLocaleDir): singleton generation function
3957         (Pimpl): use it.
3958         (Messages): add a default constructor.
3959
3960         * main.C (main): do not setup localedir here, do not call
3961         gettext_init.
3962
3963         * gettext.C (_): use it.
3964         (gettext_init): delete funciton
3965
3966 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * gettext.C (getLyXMessages): new singleton generating function.
3969
3970         * buffer.C (updateDocLang): adjust
3971
3972         * Makefile.am (messages.o): add target
3973         (main.o): remove target
3974
3975 2003-04-27  John Levon  <levon@movementarian.org>
3976
3977         * bufferlist.C:
3978         * lyx_cb.C:
3979         * lyxfunc.C:
3980         * lyxvc.C: specify cancel button in Alert::prompt
3981
3982 2003-04-26  John Levon  <levon@movementarian.org>
3983
3984         * text3.C:
3985         * lyxfunc.C:
3986         * lfuns.h:
3987         * LyXAction.C: add LFUN_INSET_SETTINGS
3988
3989         * lyxfunc.C: don't enable tabular-feature when there's
3990         just any locking inset
3991
3992 2003-04-26  John Levon  <levon@movementarian.org>
3993
3994         * bufferlist.C: re-add Cancel to buffer close question
3995
3996         * lyxfunc.C: fix import UI a bit
3997
3998 2003-04-25  John Levon  <levon@movementarian.org>
3999
4000         * gettext.C: remove the broken asserts for now
4001
4002 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4003
4004         * messages.C: make case where setlocale cannot comply work better.
4005
4006         * buffer.C (updateDocLang): new function
4007         (changeLanguage): use it
4008         (readFile): use it
4009
4010         * text2.C (setCounter): use B_ a bit.
4011
4012         * lyxlayout.C (Read): be sure to trim the label strings.
4013
4014         * messages.C (Messages): fix typo in comment
4015
4016         * buffer.C (readFile): set message_ after file is loaded.
4017         (makeDocBookFile): remove double return
4018         (changeLanguage): reset message_ upon language change.
4019         (B_): new func, use this to get translated buffer strings.
4020
4021         * main.C: add myself and Jean Marc as authors.
4022
4023 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * messages.[hC]: pimplify Messages, and three different pimpls to be
4026         used in different circumstances.
4027
4028         * gettext.[Ch]: change for use with new message code.
4029
4030 2003-04-24 André Pönitz <poenitz@gmx.net>
4031
4032         * factory.C: support for eqref
4033
4034 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * messages.[Ch]: add missing char
4037
4038         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4039
4040         * messages.[Ch]: New files
4041
4042 2003-04-18  John Levon  <levon@movementarian.org>
4043
4044         * BufferView.h:
4045         * BufferView.C:
4046         * BufferView_pimpl.C:
4047         * lfuns.h:
4048         * LyXAction.C:
4049         * lyxtext.h:
4050         * text2.C: remove layout-copy/paste (bug 778)
4051
4052 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4055
4056 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4059         if they succeed. Act accordingly.
4060
4061 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * text2.C (setCharFont): adjust
4064         (setCounter): adjust
4065         (insertStringAsLines): adjust
4066
4067         * text.C (leftMargin): adjust
4068         (setHeightOfRow): adjust
4069
4070         * rowpainter.C (paintFirst): adjust
4071         (paintLast): adjust
4072
4073         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4074         (outerHook): ditto
4075         (isFirstInSequence): ditto
4076         (getEndLabel): ditto
4077         (outerFont): adjust
4078
4079         * paragraph.C (getParLanguage): comment out some hard stuff.
4080
4081         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4082         (sgmlError): ditto
4083         (simpleDocBookOnePar): ditto
4084         (makeDocBookFile): use ParagraphList::iterator
4085
4086         * CutAndPaste.C (pasteSelection): adjust
4087
4088 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * text2.C (getFont): adjust
4091         (getLayoutFont): adjust
4092         (getLabelFont): adjust
4093
4094         * paragraph_funcs.C (TeXOnePar): adjust
4095
4096         * buffer.C (simpleLinuxDocOnePar): adjust
4097         (simpleDocBookOnePar): adjust
4098
4099         * CutAndPaste.C (pasteSelection): adjust
4100
4101         * BufferView.C (getEncoding): adjust
4102
4103         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4104
4105 2003-04-16  John Levon  <levon@movementarian.org>
4106
4107         * lyxfind.C: use parlist stuff for search/changes
4108
4109 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4110
4111         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4112
4113         * text2.C (deleteEmptyParagraphMechanism): adjust
4114
4115         * text2.[Ch] (ownerParagraph): delete func (both of them
4116
4117 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4120
4121 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * ParagraphList.C: prepare for NO_NEXT
4124
4125 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * text2.C (getFont): adjust
4128         (getLayoutFont): adjust
4129         (getLabelFont): adjust
4130
4131         * paragraph.C (getFont): adjust
4132         (getLabelFont): adjust
4133         (getLayoutFont): adjust
4134
4135         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4136
4137 2003-04-15  John Levon  <levon@movementarian.org>
4138
4139         From Angus Leeming
4140
4141         * lyx_main.C: handle Include in .ui files
4142
4143 2003-04-15  John Levon  <levon@movementarian.org>
4144
4145         * MenuBackend.C: make the doc files length shorter
4146
4147         * ToolbarBackend.h:
4148         * ToolbarBackend.C: handle toolbar placement flags,
4149         Minibuffer
4150
4151 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4154         adjust
4155
4156         * paragraph_funcs.C (TeXOnePar): adjust
4157
4158         * paragraph.C (getLabelFont): add outerfont arg, adjust
4159         (getLayoutFont): ditto
4160         (simpleTeXOnePar): adjust
4161
4162         * paragraph_pimpl.C (realizeFont): delete func
4163
4164 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4167         row argument, constify cur argument.
4168
4169 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * text2.C (getFont): adjust
4172         (getLayoutFont): adjust
4173         (getLabelFont): adjust
4174
4175         * paragraph_funcs.C (TeXOnePar): adjust
4176         (outerFont): new func...
4177         (realizeFont): ...moved out from here, changed this to facilitate
4178         transition
4179
4180         * paragraph.C (getFont): take outerfont as arg, adjust
4181         (simpleTeXOnePar): add outerfont arg, adjust
4182
4183         * buffer.C (simpleLinuxDocOnePar): adjust
4184         (simpleDocBookOnePar): adjust
4185
4186         * CutAndPaste.C (pasteSelection): adjust
4187
4188         * BufferView.C (getEncoding): adjust
4189
4190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * text2.C (setCharFont): adjust
4193         (setCounter): adjust
4194
4195         * text.C (leftMargin): adjust
4196         (setHeightOfRow): adjust
4197
4198         * rowpainter.C (paintFirst): adjust
4199         (paintLast): adjust
4200
4201         * paragraph_pimpl.C (realizeFont): adjust
4202
4203         * paragraph.C (isFirstInSequence): move from here...
4204         * paragraph_funcs.C (isFirstInSequence): ...to here
4205
4206         * paragraph.C (outerHook): move from here...
4207         * paragraph_funcs.C (outerHook): ...to here
4208
4209         * paragraph.C (depthHook): move from here...
4210         * paragraph_funcs.C (depthHook): ...to here
4211
4212         * paragraph.C (getEndLabel): move from here...
4213         * paragraph_funcs.C (getEndLabel): ...to here
4214
4215         * text2.C (realizeFont): move from here...
4216         * paragraph_funcs.C (realizeFont): ...to here
4217
4218 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4221
4222 2003-04-14  Angus Leeming  <leeming@lyx.org>
4223
4224         * LColor.[Ch]: scrap LColor mathcursor.
4225
4226 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * lyxlex.[Ch] (text): delete function
4229         * trans.C (Load): adjust
4230         * paragraph_funcs.C (readParToken): adjust
4231
4232 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4235         vector<char> instead of a char[].
4236
4237         * lyxlex_pimpl.C (getString): adjust
4238         (next): adjust
4239         (lex): use getString
4240         (eatLine): adjust
4241         (nextToken): adjust
4242
4243         * lyxlex.C (text): use pimpl_->getString()
4244         (getBool): ditto
4245         (findToken): ditto
4246
4247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4250         (makeFontEntriesLayoutSpecific): temp var for par.size()
4251         (setLayout): temp var for ownerParagraphs().end()
4252         (fullRebreak): temp var for rows().end()
4253         (selectionAsString): temp var for boost::next(startpit), realize
4254         that the while really is a regular for loop.
4255         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4256         setCursor in one place.
4257         (setParagraph): temp vr for ownerParagraphs().end()
4258         (updateCounters): make the while loop a for loop
4259         (cutSelection): temp var for ownerParagraphs().end()
4260         (updateInset): make the do {} while() a regular for loop
4261         (getCursorX): use temp vars
4262         (setCurrentFont): use temp vars
4263         (getColumnNearX): use temp vars
4264
4265 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * text.C (transformChar): use temp var for getChar
4268         (computeBidiTables): use temp var for row->par()
4269         (fill): move temp vars for row->par() and pit->layout() earlier in
4270         the function.
4271         (labelFill): use temp var for row->par()
4272         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4273         asc and desc, realize that pit never changes and that firstpit is
4274         just a duplicate and not needed. Exchange rit->par() with pit in a
4275         lot of places.
4276         (breakAgain): use a temp var for boost::next(rit)
4277         (breakAgainOneRow): ditto
4278         (breakParagraph): use a temp var for rows().begin()
4279         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4280         (cursorRightOneWord): use temp var for cursor.par() and
4281         cursor.pos(), remove usage of tmpcursor.
4282         (cursorLeftOneWord): use temp var for cursor.par() and
4283         cursor.pos() only set cur at end of function.
4284
4285 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * text.C, text2.C: exchange all usage of Paragraph::next with
4288         boost::next(ParagraphList::iterator)
4289
4290         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4291
4292         * text2.C (cursorTop): simplify implementation
4293         (cursorBottom): ditto
4294         (setParagraph): use ParagraphList::iterator
4295         (setCurrentFont): adjust
4296         (getColumnNearX): adjust
4297         (cursorRight): adjust
4298         (cursorLeft): remove usage of Paragraph::previous
4299         (cursorUpParagraph): ditto
4300         (deleteEmptyParagraphMechanism): slight cleanup
4301
4302         * text.C (isBoundary): take a Paragraph const & instead of a
4303         pointer as arg.
4304         (addressBreakPoint): ditto
4305         (leftMargin): remove usage of Paragraph::previous.
4306         (setHeightOfRow): ditto
4307         (cursorLeftOneWord): ditto
4308         (selectNextWordToSpellcheck): ditto
4309         (Delete): ditto
4310         (backspace): ditto
4311         (breakParagraph): remove one usage of Paragraph::next
4312         (redoParagraph): ditto
4313         (acceptChange): ditto
4314         (insertChar): adjust
4315         (rowBreakPoint): adjust
4316
4317         * bufferview_funcs.C (toggleAndShow): adjust
4318
4319 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4322         methods to access it.
4323         * lyxtext.h:
4324         * text.C: Added updateRowPositions to compute all row positions.
4325         Make top_y and getRowNearY() to use the cached y position
4326
4327 2003-04-11  John Levon  <levon@movementarian.org>
4328
4329         * text.C (rowBreakPoint): reintroduce the labelEnd
4330         checks, code copied from the row fill stuff. Deep voodoo.
4331
4332         * text.C (fill): add a comment and debugging for the
4333         next poor soul.
4334
4335 2003-04-11  John Levon  <levon@movementarian.org>
4336
4337         * text.C: make sure fullrow insets get wrapped to the next line,
4338         even when they're in a manual label
4339
4340 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * text2.C (insertParagraph): make it take ParagraphList::iterator
4343         as arg.
4344         (setLayout): make it return ParagraphList::iterator
4345         (redoParagraphs): ditto
4346         (setCounter): ditto
4347         (checkParagraph): ditto
4348
4349         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4350
4351         * text2.C: adjust several funcs.
4352         (realizeFont): take a ParagraphList::iterator as arg.
4353         (getLayoutFont): ditto
4354         (getLabelFont): ditto
4355         (setCharFont): ditto
4356
4357         * text.C: adjust several funcs.
4358
4359 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * text.C (selectNextWordToSpellcheck): don't accidentally
4362         skip insets
4363
4364 2003-04-10  John Levon  <levon@movementarian.org>
4365
4366         * ToolbarBackend.C (getIcon): special handling for
4367         LFUN_MATH_DELIM
4368
4369 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * text2.C (cursorRight): a getChar assert fixed
4372
4373 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * text2.C (getFont): change to take a ParagraphList::iterator
4376         instead of Paragraph*
4377         Adjust several functions.
4378
4379         * text.C (transformChar): change to take a ParagraphList::iterator
4380         instead of Paragraph*
4381         (singleWidth): ditto
4382         Adjust several functions.
4383
4384         * rowpainter.C: adjust several functions
4385         * rowpainter.h:store a ParagraphList::iterator and not a
4386         Paragraph&.
4387
4388
4389 2003-04-09  John Levon  <levon@movementarian.org>
4390
4391         * lyxfunc.C:
4392         * lfuns.h:
4393         * LyXAction.h:
4394         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4395         and the "help" bits as well
4396
4397 2003-04-09  John Levon  <levon@movementarian.org>
4398
4399         * ToolbarBackend.h:
4400         * ToolbarBackend.C: allow multiple toolbars
4401
4402 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * undo_funcs.C (setCursorParUndo): adjust
4405
4406         * text_funcs.C (transposeChars): adjust
4407
4408         * text3.C (gotoNextInset): adjust
4409         (dispatch): adjust
4410
4411         * text2.C (setLayout): adjust
4412         (changeDepth): adjust
4413         (setFont): adjust
4414         (redoParagraphs): adjust
4415         (selectionAsString): adjust
4416         (setParagraph): adjust
4417         (insertInset): adjust
4418         (cutSelection): adjust
4419         (copySelection): adjust
4420         (pasteSelection): adjust
4421         (insertStringAsLines): adjust
4422         (updateInset): adjust
4423         (setCursor): change to take a ParagraphList::iterator parameter
4424         (setCursorIntern): change to take a ParagraphList::iterator parameter
4425         (setCurrentFont): adjust
4426         (cursorLeft): adjust
4427         (cursorRight): adjust
4428         (deleteEmptyParagraphMechanism): adjust
4429
4430         * text.C (breakParagraph): adjust
4431         (insertChar): adjust
4432         (acceptChange): adjust
4433         (rejectChange): adjust
4434         (selectNextWordToSpellcheck): adjust
4435         (changeCase): adjust
4436         (Delete): adjust
4437         (backspace): adjust
4438
4439         * lyxfind.C (SearchForward): adjust
4440         (SearchBackward): adjust
4441         (nextChange): adjust
4442
4443         * lyxcursor.C (par): adjust
4444
4445         * lyxcursor.h: store a ParagraphList::iterator instead of a
4446         Paragraph*
4447
4448         * lyx_cb.C (getPossibleLabel): adjust
4449
4450         * bufferview_funcs.C (toggleAndShow): adjust
4451
4452         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4453         (dispatch): adjust
4454
4455         * BufferView.C (removeAutoInsets): adjust
4456         (lockedInsetStoreUndo): adjust
4457
4458 2003-04-09  John Levon  <levon@movementarian.org>
4459
4460         * ToolbarBackend.C: try icon without argument
4461         if with argument fails
4462
4463 2003-04-08  John Levon  <levon@movementarian.org>
4464
4465         * ToolbarBackend.h:
4466         * ToolbarBackend.C: add getIcon(), handle tooltip,
4467         and change from "Icon" to "Item".
4468
4469 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * BufferView.C (lockInset): another bad getchar crunched
4472
4473 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4476         again)
4477
4478 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * lyxfind.C (searchForward, searchBackwards): bug 782
4481
4482 2003-04-07  John Levon  <levon@movementarian.org>
4483
4484         * paragraph.C: remove dead comment
4485
4486         * text.C: remove troublesome depth-fiddling code
4487         in leftMargin() and rightMargin() (bug 1017)
4488
4489         * text.C: fix breaking of rows in nested lists
4490         (bug 1004)
4491
4492         * text2.C (updateCounters): fix up depth values
4493         (bug 1013)
4494
4495 2003-04-07  John Levon  <levon@movementarian.org>
4496
4497         * BufferView_pimpl.C: clear message when doc finishes resizing,
4498         and after a mouse event
4499
4500         * lyxfunc.C: clear message after exiting inset
4501
4502 2003-04-07  John Levon  <levon@movementarian.org>
4503
4504         * bufferview_funcs.C: show math status not outside
4505         status in the statusbar
4506
4507 2003-04-07  John Levon  <levon@movementarian.org>
4508
4509         * lyxfunc.C: note status changed after a depth change
4510
4511 2003-04-04  Angus Leeming  <leeming@lyx.org>
4512
4513         * LaTeX.h: move AuxInfo operator==, != out of line.
4514         Remove LaTeX virtual destructor; nothing derives from it.
4515         Move operator()() out of public area and rename it startscript().
4516         Change protected for private.
4517
4518 2003-04-04  Angus Leeming  <leeming@lyx.org>
4519
4520         * lyxfunc.C:
4521         * text2.C: remove unneeded #includes.
4522
4523 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * text2.C (dEPM): fix the heigth of the next row
4526
4527 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * text.C: squashed an invalid getChar requester + some ws changes
4530
4531 2003-04-03  John Levon  <levon@movementarian.org>
4532
4533         * bufferview_funcs.h:
4534         * bufferview_funcs.C:
4535         * lyxfunc.C:
4536         * lyxtext.h:
4537         * text2.C: make getStatus work for the env depth lfuns
4538
4539 2003-04-03  John Levon  <levon@movementarian.org>
4540
4541         * bufferview_funcs.h:
4542         * bufferview_funcs.C:
4543         * lyxfunc.C:
4544         * lyxtext.h:
4545         * text2.C: parlistize decDepth(), by merging it with incDepth()
4546
4547 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * lyxrow.h: store a ParagraphList::iterator instead of a
4550         Paragraph* and adjust other class functions to suit.
4551
4552         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4553         above.
4554
4555 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * text2.C (setCursor): do not anchor to cursor row for the time being
4558
4559 2003-04-02  John Levon  <levon@movementarian.org>
4560
4561         * LyXAction.C:
4562         * lfuns.h:
4563         * lyx_main.C:
4564         * lyxtext.h:
4565         * text.C:
4566         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4567
4568 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * paragraph.h: make ParagraphList and ParagraphList::iterator
4571         friends of Paragraph.
4572
4573         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4574
4575         * ParagraphList.C: Use the private next_ and previous_ from
4576         Paragraph.
4577
4578 2003-04-01  John Levon  <levon@movementarian.org>
4579
4580         * ToolbarBackend.h:
4581         * ToolbarBackend.C:
4582         * Makefile.am: rename, remove defaults gunk
4583
4584         * MenuBackend.h:
4585         * MenuBackend.C: remove defaults gunk
4586
4587         * Languages.h:
4588         * Languages.C: remove defaults gunk
4589
4590         * lyx_main.h:
4591         * lyx_main.C: error out if files couldn't be found.
4592
4593 2003-04-02  John Levon  <levon@movementarian.org>
4594
4595         * text2.C: make incDepth() use parlist
4596
4597 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * undo_funcs.C (firstUndoParagraph): adjust
4600
4601         * text3.C (gotoInset): adjust
4602         (dispatch): adjust, and rewrite loop.
4603
4604         * text2.C (init): adjust, and rewrite loop.
4605         (redoParagraphs): adjust
4606         (updateInset): adjust, and rewrite loop.
4607         (deleteEmptyParagraphMechanism): adjust
4608
4609         * tabular.C (LyXTabular): adjust
4610         (SetMultiColumn): adjust
4611         (TeXRow): adjust
4612
4613         * lyxtext.[Ch] (ownerParagraph): delete function
4614         (ownerParagraphs): new function returns a ParagraphList.
4615
4616         * BufferView.C (removeAutoInsets): adjust
4617         (insertErrors): adjust
4618         (setCursorFromRow): adjust
4619
4620 2003-04-01  Angus Leeming  <leeming@lyx.org>
4621
4622         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4623         in the frontends.
4624
4625 2003-04-02  John Levon  <levon@movementarian.org>
4626
4627         * lyxtext.h:
4628         * text.C:
4629         * Makefile.am:
4630         * text_funcs.h:
4631         * text_funcs.C: make transposeChars a free function
4632
4633         * lyxrow_funcs.C: remove wrong comment
4634
4635 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * lyxtext.h: adjust
4638         * rowpainter.C: adjust
4639         * text.C: adjust
4640         * text2.C: adjust
4641         * text3.C: adjust
4642
4643         * lyxrow_funcs. [Ch]: new files
4644
4645         * lyxrow.[Ch]: remove next and previous pointers
4646         (next,previous): remove accessor functions
4647         (isParEnd): move to lyxrow_funcs
4648         (lastPos): move to lyxrow_funcs
4649         (nextRowIsAllInset): move to lyxrow_funcs
4650         (lastPrintablePos): move to lyxrow_funcs
4651         (numberOfSeparators): move to lyxrow_funcs
4652         (numberOfHfills): move to lyxrow_funcs
4653         (numberOfLabelHfills): move to lyxrow_funcs
4654         (hfillExpansion): move to lyxrow_funcs
4655
4656         * lyxfunc.C: adjust
4657
4658         * bufferview_funcs.C (toggleAndShow): adjust
4659
4660         * RowList.h: Remove class RowList from file leave just a
4661         std::list<Row>.
4662
4663         * RowList.C: delete file
4664
4665         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4666         and lyxrow_funcs.h
4667
4668 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * text3.C (cursorPrevious): adjust
4671         (cursorNext): adjust
4672         (dispatch): adjust
4673
4674         * text2.C (redoHeightOfParagraph): adjust
4675         (redoDrawingOfParagraph): adjust
4676         (setCursor): adjust
4677
4678         * text.C (breakParagraph): adjust
4679         (insertChar): adjust
4680         (backspace): adjust
4681
4682         * rowpainter.C (RowPainter): adjust
4683         (leftMargin): simplify and adjust
4684         (most rowpainter functions): adjust.
4685
4686         * rowpainter.h: store the row as RowList::iterator not as Row*
4687
4688         * lyxcursor.C (row): taka RowList::iterator as arg
4689         (irow): ditto
4690
4691         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4692         of Row*.
4693
4694 2003-04-01  Angus Leeming  <leeming@lyx.org>
4695
4696         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4697         stuff like bool Bool.
4698
4699 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4700
4701         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4702         rewrite a loop
4703
4704 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4707         RowList::iterator.
4708
4709         * lyxtext.h (rows): drop one version and leve a const variant that
4710         returns a RowList::iterator.
4711
4712 2003-03-31  Angus Leeming  <leeming@lyx.org>
4713
4714         * text.C (fill): ensure that the signature is the same as that in the
4715         header file.
4716
4717 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * text2.C (redoParagraphs): adjust
4720         (updateCounters): adjust
4721         (checkParagraph): adjust
4722         (getColumnNearX): adjust and reformat a bit.
4723
4724         * text.C (top_y): adjust
4725         (workWidth): adjust
4726         (leftMargin): adjust
4727         (prepareToPrint): adjust
4728         (getRow): adjust
4729         (getRowNearY): adjust
4730
4731         * lyxtext.h: make rowlist_ mutable.
4732
4733         * RowList.h: add const_iterator
4734         * RowList.C: adjust for RowList::const_iterator.
4735
4736         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4737         adjust.
4738
4739 2003-03-31  John Levon  <levon@movementarian.org>
4740
4741         * lyxrc.h:
4742         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4743
4744         * lyx_main.C: set default fonts from using lyx_gui funcs
4745
4746         * exporter.C: pdf_mode moved from lyxrc
4747
4748         * lyx_cb.C:
4749         * lyxfunc.C: changes from above
4750
4751 2003-03-31  John Levon  <levon@movementarian.org>
4752
4753         * lyx_main.C: fix to the last fix
4754
4755 2003-03-31  John Levon  <levon@movementarian.org>
4756
4757         * bufferlist.C: "Load original" -> "Load Original"
4758
4759         * converter.C:
4760         * exporter.C:
4761         * importer.C:
4762         * lyx_main.C:
4763         * format.C: more Alert cleanups
4764
4765 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * text2.C (removeParagraph): make it take a RowList::iterator as
4768         arg, adjust.
4769         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4770         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4771
4772         * text.C (anchor_row): make it take a RowList::iterator as arg,
4773         adjust.
4774         (computeBidiTables): make it take a const reference to Row instead
4775         of Row pointer, adjust.
4776         (leftMargin): make it take a RowList::iterator as arg, adjust.
4777         (rowBreakPoint): adjust
4778         (breakAgainOneRow): make it take a RowList::iterator as arg,
4779         adjust.
4780         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4781
4782         * bufferview_funcs.C (toggleAndShow): adjust
4783
4784 2003-03-30  John Levon  <levon@movementarian.org>
4785
4786         * Makefile.am:
4787         * BoostFormat.h:
4788         * boost-inst.C: moved to support
4789
4790         * several files: changes as a result
4791
4792 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text2.C (LyXText): adjust.
4795         (init): adjust
4796         (removeRow): make it take a RowList::iterator as arg, adjust.
4797         (fullRebreak): adjust
4798         (deleteEmptyParagraphMechanism): adjust
4799         (clearPaint): adjust
4800         (postPaint): adjust
4801
4802         * text.C (top_y): adjust
4803         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4804         (breakAgain): make it take a RowList::iterator as arg, adjust.
4805         (breakParagraph): adjust
4806         (insertChar): adjust
4807         (backspace): adjust
4808
4809         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4810         need_break_row, and refresh_row.
4811
4812         * text3.C (dispatch): adjust
4813
4814         * text2.C (checkParagraph): adjust
4815         (setCursor): adjust
4816         (setCursorFromCoordinates): adjust
4817
4818         * text.C (top_y): adjust
4819         (workWidth): adjust
4820         (getRow): make it return a RowList::iterator, adjust
4821         (getRowNearY): make it return a RowList::iterator, adjust
4822
4823         * text2.C (init): adjust
4824         (insertRow): remove function
4825         (insertParagraph): adjust
4826         (redoParagraphs): adjust
4827         (fullRebreak): adjust
4828         (updateCounters): adjust
4829
4830         * text.C (top_y): rewrite to use RowList iterators.
4831         (top_y): adjust
4832         (setHeightOfRow): rewrite to sue RowList iterators.
4833         (appendParagraph): adjust
4834         (breakAgain): adjust
4835         (breakAgainOneRow): adjust
4836         (breakParagraph): adjust
4837         (getRow): adjust
4838         (getRowNearY): adjust, and remove commented code.
4839
4840         * lyxtext.h (firstRow): delete function
4841         (lastRow): delete function
4842         (rows): new function (const and non-const versions.)
4843         (insertRow): delete function
4844
4845         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4846
4847 2003-03-29  John Levon  <levon@movementarian.org>
4848
4849         * BufferView_pimpl.C: always update scrollbar top
4850         because pasting text when we're anchored could mean we
4851         miss an update altogether
4852
4853 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * text2.C (init): use rowlist_.end() and not 0.
4856         (insertRow): change to take a RowList::iterator as arg, adjust
4857         for this.
4858         (insertParagraph): change to take a RowList::iterator as arg,
4859         adjust for this.
4860         (redoParagraphs): remove some debug msgs.
4861
4862         * text.C (appendParagraph): change to take a RowList::iterator
4863         arg, adjust for this.
4864         (breakAgain): add an assert
4865         (breakAgainOneRow): ditto
4866
4867 2003-03-29  John Levon  <levon@movementarian.org>
4868
4869         * text2.C: do not clear selection after inc/decDepth
4870         (bug 550)
4871
4872 2003-03-29  John Levon  <levon@movementarian.org>
4873
4874         * BufferView.C:
4875         * buffer.C: fix broken strerrors according to Lars
4876
4877 2003-03-29  John Levon  <levon@movementarian.org>
4878
4879         * converters.C: more Alert cleanups
4880
4881 2003-03-29  John Levon  <levon@movementarian.org>
4882
4883         * bufferview_funcs.C: remove pointless Alert
4884
4885         * buffer.C: fix confusing error message when
4886         a template is chmoded 000
4887
4888 2003-03-29  John Levon  <levon@movementarian.org>
4889
4890         * BufferView.C:
4891         * BufferView.h:
4892         * BufferView_pimpl.C: Alert fixes
4893
4894         * Makefile.am:
4895         * tabular.C:
4896         * tabular-old.C: remove unused table compat reading
4897
4898 2003-03-29  John Levon  <levon@movementarian.org>
4899
4900         * BufferView.C:
4901         * buffer.C:
4902         * lyx_cb.h:
4903         * lyx_cb.C: more Alert cleanups
4904
4905         * lyxfunc.C: don't allow chktex if not latex document
4906
4907 2003-03-29  John Levon  <levon@movementarian.org>
4908
4909         * lyx_cb.C:
4910         * BufferView.C:
4911         * buffer.C: warnings pushed down from support/,
4912         kill err_alert
4913
4914 2003-03-29  John Levon  <levon@movementarian.org>
4915
4916         * lyxfunc.C: safety check for C-r (revert)
4917
4918 2003-03-29  John Levon  <levon@movementarian.org>
4919
4920         * bufferlist.h:
4921         * bufferlist.C: several UI fixes using Alert::prompt.
4922         Fix the pointless looping quit code. Fix stupid revert
4923         behaviour (bug 938)
4924
4925         * lyxvc.h:
4926         * lyxvc.C:
4927         * lyx_cb.C: use Alert::prompt
4928
4929         * lyx_main.C: remove a silly question
4930
4931         * lyxfunc.C: remove a couple of silly questions,
4932         use Alert::prompt
4933
4934 2003-03-28  John Levon  <levon@movementarian.org>
4935
4936         * text2.C: fix bug 974 (End on empty par)
4937
4938 2003-03-28  John Levon  <levon@movementarian.org>
4939
4940         * BufferView_pimpl.C:
4941         * LyXAction.C:
4942         * lfuns.h: remove do-nothing math greek lfuns
4943
4944 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * lyxgluelength.h (isValidGlueLength): add default arg on
4947         parameter 2. Remove default arg from friend in class.
4948
4949         * lyxlength.h (isValidLength): add default arg on parameter 2.
4950         Remove default arg from friend in class.
4951
4952         * text2.C (LyXText): adjust, initialize refresh_row.
4953         (init): adjust
4954         (removeRow): adjust
4955         (insertRow): adjust
4956         (insertParagraph): adjst
4957         (redoParagraphs): adjust
4958         (fullRebreak): adjust
4959         (updateCounters): adjust
4960         (deleteEmptyParagraphMechanism): first attempt at fixing a
4961         crashing bug.
4962
4963         * text.C (top_y): adjust
4964         (setHeightOfRow): adjust
4965         (getRow): adjust
4966         (getRowNearY): adjust
4967
4968         * lyxtext.h: include RowList.h
4969         (~LyXText): not needed anymore, deleted.
4970         (firstRow): modify for RowList
4971         (lastRow): new function
4972         Delete firstrow and lastrow class variables, add a Rowlist
4973         rowlist_ class variable.
4974
4975         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4976         paragraph is empty.
4977
4978         * RowList.C (insert): fix case where it == begin().
4979
4980 2003-03-26  Angus Leeming  <leeming@lyx.org>
4981
4982         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4983         the thesaurus dialog.
4984
4985 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4988
4989         * RowList.[Ch]: new files
4990
4991         * ParagraphList.C (erase): handle the case where it == begin
4992         correctly.
4993
4994 2003-03-25  John Levon  <levon@movementarian.org>
4995
4996         * Makefile.am:
4997         * aspell_local.h:
4998         * aspell.C: add new aspell support
4999
5000         * lyxrc.h:
5001         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5002         have it accessible.
5003
5004 2003-03-25  Angus Leeming  <leeming@lyx.org>
5005
5006         * lfuns.h:
5007         * LyXAction.C (init): new LFUN_INSET_INSERT.
5008
5009         * BufferView_pimpl.C (dispatch): split out part of the
5010         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5011
5012         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5013         LFUN_INSET_APPLY.
5014
5015 2003-03-25  Angus Leeming  <leeming@lyx.org>
5016
5017         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5018
5019 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * text2.C:
5022         * text3.C: remove useless row->height(0)
5023
5024 2003-03-25  John Levon  <levon@movementarian.org>
5025
5026         * lyxtext.h:
5027         * text2.C:
5028         * text3.C: rename the refreshing stuff to better names
5029
5030 2003-03-24  John Levon  <levon@movementarian.org>
5031
5032         * BufferView_pimpl.h:
5033         * BufferView_pimpl.C: update layout choice on a mouse
5034         press/release
5035
5036 2003-03-23  John Levon  <levon@movementarian.org>
5037
5038         * Makefile.am: fix commandtags.h reference
5039
5040 2003-03-22  John Levon  <levon@movementarian.org>
5041
5042         * BufferView_pimpl.C:
5043         * lyxtext.h:
5044         * rowpainter.C:
5045         * rowpainter.h:
5046         * text.C:
5047         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5048
5049 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5050
5051         * lyxtext.h:
5052         * text.C: take the rtl methods out of line
5053
5054 2003-03-21 André Pönitz <poenitz@gmx.net>
5055
5056         * metricsinfo.[Ch]: new files containing structures to be passed around
5057         during the two-phase-drawing...
5058
5059 2003-03-21 André Pönitz <poenitz@gmx.net>
5060
5061         * lyxtextclass.C: read 'environment' tag.
5062
5063 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text2.C (removeRow): fix bug 964
5066
5067 2003-03-20  John Levon  <levon@movementarian.org>
5068
5069         * rowpainter.C:
5070         * text.C:
5071         * text2.C: paint cleanups. Inset::update() dropped font
5072         parameter
5073
5074 2003-03-19  John Levon  <levon@movementarian.org>
5075
5076         * lyxfunc.C: only fitcursor/markDirty if available()
5077
5078 2003-03-19  John Levon  <levon@movementarian.org>
5079
5080         * commandtags.h: rename to ...
5081
5082         * lfuns.h: ... this, and renumber / cleanup
5083
5084 2003-03-19  John Levon  <levon@movementarian.org>
5085
5086         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5087         fit the cursor after an lfun
5088
5089         * BufferView.h:
5090         * BufferView.C:
5091         * BufferView_pimpl.h:
5092         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5093
5094         * LyXAction.C: layout-character should have ReadOnly
5095
5096         * ParagraphParameters.C:
5097         * buffer.C:
5098         * bufferview_funcs.C:
5099         * lyx_cb.C:
5100         * lyxfind.C:
5101         * lyxtext.h:
5102         * text.C:
5103         * text2.C:
5104         * text3.C:
5105         * undo_funcs.C: changes from above
5106
5107 2003-03-18  John Levon  <levon@movementarian.org>
5108
5109         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5110         remove it from update()
5111
5112         * lyxfunc.C: update layout choice after an lfun
5113
5114         * text3.C: remove extra updateLayoutChoice()s
5115
5116 2003-03-18  John Levon  <levon@movementarian.org>
5117
5118         * text.C: top_y change means full repaint, fix
5119         a drawing bug with cursor movement
5120
5121 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * lyxtext.h:
5124         * text.C:
5125         * text2.C: anchor row on setCursor
5126
5127 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * lyxtext.h: remove almost all mutable keywords
5130         * text.C:
5131         * text2.C:
5132         * text3.C: remove const keywords accordingly
5133
5134 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5137         anon namespace
5138         (TeXEnvironment): ditto
5139         (TeXOnePar): ditto
5140
5141 2003-03-17  John Levon  <levon@movementarian.org>
5142
5143         * text.C (rowBreakPoint): remove attempt to fix displayed
5144         math insets inside a manual label
5145
5146 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * lyxtext.h: remove BufferView* as first arg from almost all class
5149         functions.
5150         * other files: adjust.
5151
5152 2003-03-17  John Levon  <levon@movementarian.org>
5153
5154         * lyxtext.h:
5155         * undo_funcs.C:
5156         * text2.C: more paint cleanups
5157
5158         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5159
5160         * rowpainter.h:
5161         * rowpainter.C: remove "smart" background painting code
5162
5163 2003-03-16  John Levon  <levon@movementarian.org>
5164
5165         * lyxtext.h:
5166         * text.C:
5167         * text2.C:
5168         * text3.C: add helper functions for setting refresh_row/y
5169
5170 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5171
5172         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5173         newline inset which *can* get inserted in the pass_thru layouts.
5174         This is primarily for literate documents.
5175
5176 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5177
5178         * buffer.C: increment LYX_FORMAT to 223
5179
5180 2003-03-14 André Pönitz <poenitz@gmx.net>
5181
5182         * textclass.h: prepare for environment handling, ws changes
5183         * lyxlayout.C: read latexheader and latexfooter tags
5184
5185 2003-03-14  John Levon  <levon@movementarian.org>
5186
5187         * text2.C: rewrite ::status() a bit
5188
5189 2003-03-13  John Levon  <levon@movementarian.org>
5190
5191         * lyxtext.h: add some docs
5192
5193 2003-03-13  John Levon  <levon@movementarian.org>
5194
5195         * lyxtext.h:
5196         * text.C:
5197         * text2.C:
5198         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5199
5200 2003-03-13  John Levon  <levon@movementarian.org>
5201
5202         * text3.C: fix appendix redrawing
5203
5204 2003-03-13  John Levon  <levon@movementarian.org>
5205
5206         * text.C (setHeightOfRow):
5207         * rowpainter.h:
5208         * rowpainter.C: make appendix mark have the text
5209           "Appendix" so the user knows what it is
5210
5211         * LColor.h:
5212         * LColor.C: s/appendixline/appendix/ from above
5213
5214 2003-03-13  John Levon  <levon@movementarian.org>
5215
5216         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5217
5218         * text.C: fix a getChar(pos) bug properly
5219
5220 2003-03-13  Angus Leeming  <leeming@lyx.org>
5221
5222         * commandtags.h:
5223         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5224         Probably only temporary. Let's see how things pan out.
5225
5226         * BufferView.C (unlockInset):
5227         * BufferView_pimpl.C (fitCursor):
5228         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5229
5230         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5231         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5232
5233         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5234         new functions that convert ParagraphParameters to and from a string.
5235
5236         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5237         BufferView::Pimpl's dispatch.
5238         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5239
5240 2003-03-13 André Pönitz <poenitz@gmx.net>
5241
5242         * lyxfunc.C:
5243         * text3.C:
5244         * factory.C: make it aware of InsetEnv
5245
5246 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * text2.C (setCursor): never ask for one past last
5249         (setCursor): add some debugging messages.
5250
5251         * text.C (singleWidth): never ask for one past last
5252         (singleWidth): ditto
5253         (leftMargin): ditto
5254         (rightMargin): ditto
5255         (rowBreakPoint): ditto
5256         (setHeightOfRow): ditto
5257         (prepareToPrint): ditto
5258
5259         * rowpainter.C (paintBackground): never ask for one past last
5260         (paintText): never ask for one past last
5261
5262         * paragraph_pimpl.C (getChar): make the assert stricter, never
5263         allow the one past last pos to be taken
5264
5265         * paragraph.C (getChar): ws changes only
5266
5267         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5268         (numberOfSeparators): ditto
5269         (numberOfHfills): ditto
5270
5271 2003-03-12  John Levon  <levon@movementarian.org>
5272
5273         * author.h:
5274         * author.C:
5275         * bufferparams.h:
5276         * bufferparams.C:
5277         * paragraph_funcs.C: fix per-buffer authorlists
5278
5279 2003-03-12  John Levon  <levon@movementarian.org>
5280
5281         * text.C: fix newline in right address
5282
5283 2003-03-12  Angus Leeming  <leeming@lyx.org>
5284
5285         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5286         duplicate those in LyXFunc::dispatch.
5287
5288         * commandtags.h:
5289         * LyXAction.C:
5290         * ToolbarDefaults.C:
5291         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5292         Add LFUN_FONTFREE_UPDATE.
5293
5294         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5295         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5296
5297         * bufferview_func.[Ch]: several new functions to facilliate
5298         transfer of data to and from the character dialog.
5299
5300 2003-03-12  John Levon  <levon@movementarian.org>
5301
5302         * buffer.C:
5303         * paragraph.h:
5304         * paragraph.C:
5305         * paragraph_funcs.C:
5306         * paragraph_pimpl.C:
5307         * sgml.C:
5308         * tabular.C:
5309         * text.C:
5310         * text3.C: remove META_NEWLINE in favour of an inset
5311
5312         * rowpainter.h:
5313         * rowpainter.C: remove paintNewline (done by inset)
5314
5315 2003-03-12  John Levon  <levon@movementarian.org>
5316
5317         * paragraph_pimpl.C: complain about bad getChar()s
5318         for a while at least
5319
5320 2003-03-12  John Levon  <levon@movementarian.org>
5321
5322         * buffer.h:
5323         * buffer.C: move paragraph read into a separate function,
5324         a little renaming to reflect that.
5325
5326         * bufferparams.h:
5327         * bufferparams.C: remove the author_ids map, not necessary now
5328
5329         * factory.h:
5330         * factory.C: moved Buffer::readInset to here
5331
5332         * paragraph_funcs.h:
5333         * paragraph_funcs.C: readParagraph free function moved from
5334         buffer.C
5335
5336         * tabular.C: name change
5337
5338 2003-03-12  John Levon  <levon@movementarian.org>
5339
5340         * buffer.C:
5341         * ParagraphParameters.C: move par params input to
5342         a read() method
5343
5344         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5345         behave like a normal read from the stream wrt reading
5346         a line vs. a \\token
5347
5348 2003-03-12  John Levon  <levon@movementarian.org>
5349
5350         * paragraph.C:
5351         * ParagraphParameters.h:
5352         * ParagraphParameters.C: move output code to a
5353         ::write() method
5354
5355 2003-03-12  John Levon  <levon@movementarian.org>
5356
5357         * BufferView.C (insertLyXFile):
5358         * buffer.h:
5359         * buffer.C:
5360         * tabular.C: use a parlist iterator for creating the
5361           document.
5362
5363 2003-03-12  John Levon  <levon@movementarian.org>
5364
5365         * buffer.C: make current_change static local not
5366           static file-scope
5367
5368 2003-03-12  John Levon  <levon@movementarian.org>
5369
5370         * buffer.C: fix insertStringAsLines for change tracking
5371
5372 2003-03-12  John Levon  <levon@movementarian.org>
5373
5374         * BufferView.C:
5375         * tabular.C:
5376         * buffer.h:
5377         * buffer.C:
5378         * bufferparams.h:
5379         * bufferparams.C: move author list into params. Rename some
5380           functions. Move the header reading into a separate token
5381           loop. Move the header token reading into BufferParams.
5382
5383 2003-03-12  John Levon  <levon@movementarian.org>
5384
5385         * changes.C: put debug inside lyxerr.debugging() checks
5386
5387 2003-03-11 André Pönitz <poenitz@gmx.net>
5388
5389         * factory.C: make it aware of InsetHFill
5390
5391 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5392
5393         * buffer.C (latexParagraphs): move function from here...
5394         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5395         args.
5396
5397 2003-03-10  Angus Leeming  <leeming@lyx.org>
5398
5399         * LyXAction.C (init): fix bug in poplating array with multiple entries
5400         with the same LFUN (spotted by JMarc).
5401
5402 2003-03-10  John Levon  <levon@movementarian.org>
5403
5404         * text.C:
5405         * text2.C: move getColumnNearX() near its
5406         only call site
5407
5408 2003-03-10  John Levon  <levon@movementarian.org>
5409
5410         * text.C: fix break before a minipage
5411
5412 2003-03-10  John Levon  <levon@movementarian.org>
5413
5414         * text.C: fix the last commit
5415
5416 2003-03-09  John Levon  <levon@movementarian.org>
5417
5418         * lyxtext.h:
5419         * text.C:
5420         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5421         bug 365 (don't break before insets unless needed). Don't
5422         return a value > last under any circumstances.
5423
5424 2003-03-09  Angus Leeming  <leeming@lyx.org>
5425
5426         * BufferView_pimpl.C (trackChanges, dispatch): call
5427         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5428
5429 2003-03-09  Angus Leeming  <leeming@lyx.org>
5430
5431         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5432         than Dialogs::showAboutlyx().
5433
5434 2003-03-09  Angus Leeming  <leeming@lyx.org>
5435
5436         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5437         than Dialogs::showTabularCreate().
5438
5439 2003-03-09  John Levon  <levon@movementarian.org>
5440
5441         * lyxtext.h:
5442         * text.C:
5443         * text2.C: 3rd arg to nextBreakPoint was always the same.
5444           Use references.
5445
5446 2003-03-08  John Levon  <levon@movementarian.org>
5447
5448         * lyxrow.C:
5449         * paragraph.C:
5450         * paragraph.h:
5451         * rowpainter.C:
5452         * text.C:
5453         * text2.C: Remove the "main" bit from the "main body"
5454           notion.
5455
5456 2003-03-08  John Levon  <levon@movementarian.org>
5457
5458         * text.C (leftMargin): The left margin of an empty
5459         manual label paragraph should not include the label width
5460         string length.
5461
5462         * text.C (prepareToPrint): don't attempt to measure hfills
5463         for empty manual label paragraphs - the answer should be 0
5464
5465 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * CutAndPaste.C: remove commented code and reindent.
5468
5469 2003-03-08  John Levon  <levon@movementarian.org>
5470
5471         * lyxfunc.h:
5472         * lyxfunc.C: move reloadBuffer()
5473
5474         * BufferView.h:
5475         * BufferView.C: to here
5476
5477         * lyxvc.C: add comment
5478
5479         * vc-backend.h:
5480         * vc-backend.C: call bv->reload() to avoid
5481           getStatus() check on MENURELOAD
5482
5483 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5484
5485         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5486         to an old format .dep file.
5487
5488 2003-03-07  Angus Leeming  <leeming@lyx.org>
5489
5490         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5491         when the LFUN_MOUSE_RELEASE should have been handled by
5492         inset->localDispatch.
5493
5494 2003-03-07  Angus Leeming  <leeming@lyx.org>
5495
5496         * BufferView_pimpl.C (dispatch):
5497         * LyXAction.C (init):
5498         * ToolbarDefaults.C (init):
5499         * commandtags.h:
5500         * lyxfunc.C (getStatus):
5501         remove LFUN_INSET_GRAPHICS.
5502
5503         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5504
5505 2003-03-07  Angus Leeming  <leeming@lyx.org>
5506
5507         * commandtags.h:
5508         * LyXAction.C (init):
5509         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5510
5511         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5512
5513         * commandtags.h:
5514         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5515
5516         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5517         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5518
5519 2003-03-07  Angus Leeming  <leeming@lyx.org>
5520
5521         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5522         remove "ert".
5523
5524 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * ParagraphList.C (front): new function
5527         (back): implement
5528
5529 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5530
5531         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5532         and top_row_offset_. removed var first_y.
5533         * text.C (top_y):
5534         * text2.C (LyXText, removeRow):
5535         * text3.C:
5536         * BufferView_pimpl.C:
5537         use these methods instead of using first_y
5538
5539 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * text2.C (pasteSelection): adjust for checkPastePossible
5542
5543         * CutAndPaste.C: remove Paragraph * buf and replace with
5544         ParagraphList paragraphs.
5545         (DeleteBuffer): delete
5546         (cutSelection): change the tc type to textclass_type
5547         (copySelection): change the tc type to textclass_type
5548         (copySelection): adjust for ParagraphList
5549         (pasteSelection): change the tc type to textclass_type
5550         (pasteSelection): adjust for Paragraphlist
5551         (nrOfParagraphs): simplify for ParagraphList
5552         (checkPastePossible): simplify for ParagraphList
5553         (checkPastePossible): remove unused arg
5554
5555         * ParagraphList.C (insert): handle the case where there are no
5556         paragraphs yet.
5557
5558         * CutAndPaste.h: make CutAndPaste a namespace.
5559
5560         * text3.C (dispatch): adjust
5561
5562         * text.C (breakParagraph): add a ParagraphList as arg
5563
5564         * paragraph_funcs.C (breakParagraph): change to take a
5565         BufferParams and a ParagraphList as args.
5566         (breakParagraphConservative): ditto
5567         (mergeParagraph): ditto
5568         (TeXDeeper): add a ParagraphList arg
5569         (TeXEnvironment): ditto
5570         (TeXOnePar): ditto
5571
5572         * buffer.C (readLyXformat2): adjust
5573         (insertStringAsLines): adjust
5574         (latexParagraphs): adjust
5575
5576         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5577         (cutSelection): adjust
5578         (pasteSelection): adjust
5579
5580         * BufferView_pimpl.C (insertInset): adjust
5581
5582 2003-03-05  Angus Leeming  <leeming@lyx.org>
5583
5584         * commandtags.h:
5585         * LyXAction.C (init):
5586         * BufferView_pimpl.C (dispatch):
5587         * lyxfunc.C (getStatus):
5588         remove LFUN_CHILD_INSERT.
5589
5590         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5591
5592 2003-03-05  Angus Leeming  <leeming@lyx.org>
5593
5594         * commandtags.h:
5595         * LyXAction.C (init):
5596         * src/factory.C (createInset):
5597         * lyxfunc.C (getStatus):
5598         * text3.C (dispatch):
5599         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5600
5601         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5602
5603 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * ParagraphList.C (insert): handle insert right before end()
5606         (erase): fix cases where it can be first or last paragraph.
5607
5608 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5609
5610         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5611         Paragraph::next and Paragraph::previous
5612         (TeXOnePar): ditto
5613
5614         * text.C (breakParagraph): adjust
5615
5616         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5617         BufferParams& as arg.
5618         (breakParagraph): use ParagraphList::insert
5619         (breakParagraphConservative): take a Buffer* instead of a
5620         BufferParams& as arg.
5621         (breakParagraphConservative): use ParagraphList::insert.
5622
5623         * buffer.C (insertStringAsLines): un-const it
5624         (insertStringAsLines): adjust
5625
5626         * ParagraphList.C (insert): new function
5627
5628         * CutAndPaste.C (pasteSelection): adjust
5629
5630         * text.C (backspace): adjust
5631
5632         * tabular.C (SetMultiColumn): adjust
5633
5634         * CutAndPaste.C (cutSelection): adjust
5635         (pasteSelection): adjust
5636
5637         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5638         Buffer const * as arg
5639
5640         * ParagraphList.C (erase): new function
5641         * paragraph_funcs.C (mergeParagraph): use it
5642         (mergeParagraph): make it take a Buffer* instead of a
5643         BufferParams* as arg
5644
5645         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5646         as arg
5647         (breakParagraphConservative): ditto
5648
5649         * paragraph.h: remove the breakParagraph friend
5650
5651         * paragraph.C (eraseIntern): new function
5652         (setChange): new function
5653
5654         * paragraph_funcs.C (mergeParagraph): make it take a
5655         ParagraphList::iterator instead of a Paragraph *, adjust
5656         accordingly.
5657
5658         * paragraph.h: move an #endif so that the change tracking stuff
5659         also works in the NO_NEXT case.
5660
5661 2003-03-04  Angus Leeming  <leeming@lyx.org>
5662
5663         * commandtags.h:
5664         * LyXAction.C: new LFUN_INSET_MODIFY.
5665
5666         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5667         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5668
5669 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * several files: ws changes only
5672
5673         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5674         (TeXEnvironment): ditto
5675         (TeXDeeper): ditto
5676
5677         * buffer.C (makeLaTeXFile): adjust
5678         (latexParagraphs): make it take ParagraphList::iterator as args
5679
5680 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * buffer.C (latexParagraphs): adjust
5683
5684         * paragraph.C (TeXOnePar): move function...
5685         (optArgInset): move function...
5686         (TeXEnvironment): move function...
5687         * paragraph_pimpl.C (TeXDeeper): move function...
5688         * paragraph_funcs.C: ...here
5689
5690         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5691
5692 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * buffer.C (readInset): remove compability code for old Figure and
5695         InsetInfo insets
5696
5697 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * buffer.C: ws changes
5700         (readInset):
5701
5702         * BufferView_pimpl.C: ditto
5703         * author.C: ditto
5704         * buffer.h: ditto
5705         * bufferlist.h: ditto
5706         * changes.h: ditto
5707         * lyxfunc.C: ditto
5708
5709 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5710
5711         * converter.[Ch]: split into itself +
5712         * graph.[Ch]
5713         * format.[Ch]
5714         * Makefile.am: += graph.[Ch] + format.[Ch]
5715         * MenuBackend.C
5716         * buffer.C
5717         * exporter.C
5718         * importer.C
5719         * lyx_main.C
5720         * lyxfunc.C
5721         * lyxrc.C: added #include "format.h"
5722
5723 2003-02-27  Angus Leeming  <leeming@lyx.org>
5724
5725         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5726           a label.
5727
5728         * factory.C (createInset): add "label" to the factory.
5729
5730         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5731           string and do no more.
5732
5733 2003-02-27  Angus Leeming  <leeming@lyx.org>
5734
5735         * commandtags.h:
5736         * LyXAction.C (init):
5737         * factory.C (createInset):
5738         * BufferView_pimpl.C (dispatch):
5739           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5740
5741         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5742
5743         * lyxfunc.C (dispatch):
5744         * text3.C (dispatch): pass name to params2string.
5745
5746 2003-02-26  Angus Leeming  <leeming@lyx.org>
5747
5748         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5749           blocks together.
5750           Rearrange the ~includes. Strip out the unnecessary ones.
5751
5752         * factory.C (createInset): reformat.
5753           create new insets for the various LFUN_XYZ_APPLY lfuns.
5754
5755 2003-02-26  John Levon  <levon@movementarian.org>
5756
5757         * lyxrow.h:
5758         * lyxrow.C: add isParStart,isParEnd helpers
5759
5760         * paragraph.h: make isInserted/DeletedText take refs
5761
5762         * paragraph_funcs.h:
5763         * paragraph_funcs.C: remove #if 0'd code
5764
5765         * lyxtext.h:
5766         * text3.C:
5767         * text2.C:
5768         * text.C: use lyxrow helpers above.
5769           Move draw and paint routines to RowPainter.
5770           Make several methods use refs not pointers.
5771           Make backgroundColor() const.
5772           Add markChangeInDraw(), isInInset().
5773           Merge changeRegionCase into changeCase.
5774           Make workWidth() shouldn't-happen code into an Assert.
5775
5776         * rowpainter.h:
5777         * rowpainter.C: new class for painting a row.
5778
5779         * vspace.h:
5780         * vspace.C: make inPixels take a ref
5781
5782 2003-02-26  Angus Leeming  <leeming@lyx.org>
5783
5784         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5785         LFUN_REF_APPLY.
5786
5787 2003-02-25  John Levon  <levon@movementarian.org>
5788
5789         * ispell.C: give the forked command a more accurate name
5790
5791 2003-02-22  John Levon  <levon@movementarian.org>
5792
5793         * toc.h:
5794         * toc.C: make TocItem store an id not a Paragraph *
5795           (bug #913)
5796
5797 2003-02-21  Angus Leeming  <leeming@lyx.org>
5798
5799         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5800           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5801           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5802           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5803           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5804           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5805
5806         * BufferView_pimpl.C (dispatch):
5807         * LyXAction.C (init):
5808         * factory.C (createInset):
5809         * lyxfunc.C (getStatus, dispatch):
5810         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5811
5812 2003-02-21  Angus Leeming  <leeming@lyx.org>
5813
5814         * BufferView_pimpl.C (MenuInsertLyXFile):
5815         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5816         * lyxfunc.C (menuNew, open, doImport):
5817           no longer pass a LyXView & to fileDlg.
5818
5819 2003-02-21  Angus Leeming  <leeming@lyx.org>
5820
5821         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5822         * LyXAction.C: change, BIBKEY to BIBITEM.
5823         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5824         Change InsetBibKey to InsetBibitem.
5825         Change BIBKEY_CODE to BIBITEM_CODE.
5826         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5827         * factory.C: replace insetbib.h with insetbibitem.h.
5828         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5829         * paragraph.C: replace insetbib.h with insetbibitem.h.
5830         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5831         Change bibkey() to bibitem().
5832         * text.C: remove insetbib.h.
5833         * text2.C: replace insetbib.h with insetbibitem.h.
5834         change bibkey() to bibitem().
5835         * text3.C: remove insetbib.h.
5836         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5837
5838 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5839
5840         * lyxrc.C (output): enclose user email in quotes (in case there are
5841         several words)
5842
5843 2003-02-18  John Levon  <levon@movementarian.org>
5844
5845         * buffer.h: add std::
5846
5847 2003-02-17  John Levon  <levon@movementarian.org>
5848
5849         * SpellBase.h:
5850         * ispell.h:
5851         * ispell.C:
5852         * pspell.h:
5853         * pspell.C: reworking. Especially in ispell, a large
5854           number of clean ups and bug fixes.
5855
5856         * lyxfunc.C: fix revert to behave sensibly
5857
5858 2003-02-17 André Pönitz <poenitz@gmx.net>
5859
5860         * LyXAction.C:
5861         * commandtags.h: new LFUN_INSERT_BIBKEY
5862
5863         * layout.h:
5864         * lyxlayout.C:
5865         * buffer.C:
5866         * factory.C:
5867         * text.C:
5868         * text2.C:
5869         * text3.C:
5870         * paragraph.[Ch]:
5871         * paragraph_func.C: remove special bibkey handling
5872
5873 2003-02-17  John Levon  <levon@movementarian.org>
5874
5875         * text.C (Delete): fix case where delete at the end of
5876           the very first paragraph would not merge the pars
5877
5878 2003-02-17  John Levon  <levon@movementarian.org>
5879
5880         * lyxrow.C: fix lastPrintablePos()
5881
5882 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5883
5884         * bufferparams.C (writeLaTeX): add a std:here
5885
5886         * buffer.C: and remove a using directive there
5887
5888 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5889
5890         * buffer.C (makeLaTeXFile): move the code that generates the
5891           preamble...
5892
5893         * bufferparams.C (writeLaTeX): ... in this new method
5894
5895         * LaTeXFeatures.C (getEncodingSet): make const
5896           (getLanguages): make const
5897
5898         * MenuBackend.C (binding): returns the binding associated to this
5899           action
5900           (add): sets the status of each item by calling getStatus. Adds
5901           some intelligence.
5902           (read): add support for OptSubMenu
5903           (expand): remove extra separator at the end of expanded menu
5904
5905 2003-02-15  John Levon  <levon@movementarian.org>
5906
5907         * BufferView.C:
5908         * BufferView_pimpl.C:
5909         * bufferlist.h:
5910         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5911           inset code that had no actual effect. Remove unneeded status
5912           code.
5913
5914 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5915
5916         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5917           in preamble
5918
5919 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5920
5921         * text.C (drawLengthMarker): also draw an arrow marker for
5922           symbolic lengths (medskip...)
5923
5924 2003-02-14  John Levon  <levon@movementarian.org>
5925
5926         * tabular.h:
5927         * tabular.C: better method names
5928
5929 2003-02-14  John Levon  <levon@movementarian.org>
5930
5931         * BufferView_pimpl.C:
5932         * bufferlist.C:
5933         * buffer.C:
5934         * converter.C:
5935         * lyx_cb.C:
5936         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5937           it's a more accurate name. Remove some pointless uses.
5938
5939 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5940
5941         * text2.C (LyXText): change order of initilizers to shut off
5942           warnings
5943
5944 2003-02-14  John Levon  <levon@movementarian.org>
5945
5946         * buffer.C: use ParIterator for getParFromID()
5947
5948         * paragraph.h:
5949         * paragraph.C:
5950         * paragraph_pimpl.h:
5951         * paragraph_pimpl.C: remove unused getParFromID()
5952
5953 2003-02-14  John Levon  <levon@movementarian.org>
5954
5955         * buffer.C: remove some very old #if 0'd parse code
5956
5957 2003-02-13  John Levon  <levon@movementarian.org>
5958
5959         * text.h:
5960         * text.C:
5961         * text2.C: move hfillExpansion(), numberOfSeparators(),
5962           rowLast(), rowLastPrintable(), numberofHfills(),
5963           numberOfLabelHfills() ...
5964
5965         * lyxrow.h:
5966         * lyxrow.C: ... to member functions here.
5967
5968         * paragraph.h:
5969         * paragraph.C:
5970         * lyxtext.h:
5971         * text.C: remove LyXText::beginningOfMainBody(), and call
5972           p->beginningOfMainBody() directly. Move the check for
5973           LABEL_MANUAL into the latter.
5974
5975         * text.h:
5976         * text.C:
5977         * text2.C:
5978         * vspace.C:
5979         * BufferView.h:
5980         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5981
5982         * text.h:
5983         * text.C:
5984         * text2.C:
5985         * text3.C:
5986         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5987           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5988
5989 2003-02-13  John Levon  <levon@movementarian.org>
5990
5991         * CutAndPaste.C: remove debug
5992
5993 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5994
5995         * paragraph.C (asString): remove two unused variables
5996
5997         * lyxtextclass.C (readTitleType):
5998           (Read):
5999           (LyXTextClass): handle new members titletype_ and titlename_
6000
6001         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6002
6003 2003-02-09  John Levon  <levon@movementarian.org>
6004
6005         * buffer.h:
6006         * buffer.C: replace hand-coded list with a map for the dep clean
6007
6008 2003-02-08  John Levon  <levon@movementarian.org>
6009
6010         * LaTeX.C: consolidate code into showRunMessage() helper
6011
6012 2003-02-08  John Levon  <levon@movementarian.org>
6013
6014         * lyxfind.C:
6015         * lyxtext.h:
6016         * text2.C:
6017         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6018           and pass the size in explicitly
6019
6020         * BufferView_pimpl.h:
6021         * BufferView_pimpl.C:
6022         * BufferView.h:
6023         * BufferView.C: add getCurrentChange()
6024
6025         * BufferView_pimpl.h:
6026         * BufferView_pimpl.C: handle change lfuns
6027
6028         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6029           for changes. Mark pasted paragraphs as new.
6030
6031         * support/lyxtime.h:
6032         * support/lyxtime.C:
6033         * DepTable.C: abstract time_t as lyx::time_type
6034
6035         * LColor.h:
6036         * LColor.C: add colours for new text, deleted text, changebars
6037
6038         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6039           package use "usenames" option.
6040
6041         * commandtags.h:
6042         * lyxfunc.C:
6043         * LyXAction.C: add change lfuns
6044
6045         * Makefile.am:
6046         * author.h:
6047         * author.C: author handling
6048
6049         * buffer.h:
6050         * buffer.C: add a per-buffer author list, with first entry as
6051           current author. Handle new .lyx tokens for change tracking. Output
6052           author list to .lyx file. Output dvipost stuff to .tex preamble.
6053           Bump lyx format to 222.
6054
6055         * bufferlist.h:
6056         * bufferlist.C: add setCurrentAuthor() to reset current author details
6057           in all buffers.
6058
6059         * bufferparams.h:
6060         * bufferparams.C: add param for tracking
6061
6062         * bufferview_funcs.C: output change info in minibuffer
6063
6064         * Makefile.am:
6065         * changes.h:
6066         * changes.C: add change-tracking structure
6067
6068         * debug.h:
6069         * debug.C: add CHANGES debug flag
6070
6071         * lyxfind.h:
6072         * lyxfind.C: add code for finding the next change piece
6073
6074         * lyxrc.h:
6075         * lyxrc.C: add user_name and user_email
6076
6077         * lyxrow.h:
6078         * lyxrow.C: add a metric for the top of the text line
6079
6080         * lyxtext.h:
6081         * text.C: implement accept/rejectChange()
6082
6083         * lyxtext.h:
6084         * text.C: paint changebars. Paint new/deleted text in the chosen
6085         colours. Strike through deleted text.
6086
6087         * paragraph.h:
6088         * paragraph.C:
6089         * paragraph_pimpl.h:
6090         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6091           in the current change to the insert functions. Rework erase to
6092           mark text as deleted, adding an eraseIntern() and a range-based
6093           erase(). Implement per-paragraph change lookup and
6094           accept/reject.
6095
6096         * paragraph_funcs.C: Fixup paste for change tracking.
6097
6098         * tabular.C: mark added row/columns as new.
6099
6100         * text.C: fix rowLast() to never return -1. Don't allow
6101           spellchecking of deleted text. Track transpose changes. Don't
6102           allow paragraph break or merge where appropriate.
6103
6104         * text2.C: leave cursor at end of selection after a cut.
6105
6106 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6107
6108         * text.C (getLengthMarkerHeight):
6109         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6110         visible on screen too.
6111
6112 2003-02-07  John Levon  <levon@movementarian.org>
6113
6114         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6115
6116 2003-02-05  Angus Leeming  <leeming@lyx.org>
6117
6118         * lyxserver.C (read_ready): revert my patch of 11 September last year
6119         as it sends PC cpu through the roof. Presumably this means that
6120         the lyxserver will no longer run on an Alpha...
6121
6122 2003-01-30  Angus Leeming  <leeming@lyx.org>
6123
6124         * factory.C (createInset): create an InsetCommandParam of type "index"
6125         and use it to 'do the right thing'.
6126
6127         * text2.C (getStringToIndex): ensure that cursor position is always
6128         reset to the reset_cursor position.
6129
6130 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6131
6132         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6133         disabled.
6134
6135 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6136
6137         * bufferview.C:
6138         * lyxcb.C:
6139         * lyxfunc.C: Output messages with identical spelling, punctuation,
6140         and spaces
6141
6142 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6143
6144         * MenuBackend.C (expandFormats): List only viewable export formats
6145         in "View" menu
6146
6147         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6148         message
6149
6150         * lyxfunc.C (getStatus): Make sure that formats other than
6151         "fax" can also be disabled
6152
6153 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6154
6155         * text3.C (dispatch): put the lfuns that insert insets in 3
6156         groups, and call doInsertInset with appropriate arguments.
6157         (doInsertInset): new function, that creates an inset and inserts
6158         it according to some boolean parameters.
6159
6160 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * buffer.C (readFile): remember to pass on 'par' when calling
6163         readFile recursively.
6164
6165 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6166
6167         * MenuBackend.C (expandFormats): add "..." to import formats.
6168
6169 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6170
6171         * paragraph.C (asString): Remove XForms RTL hacks.
6172
6173 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6174         * buffer.C: fix typo
6175
6176 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * Makefile.am (LIBS): delete var
6179         (lyx_LDADD): add @LIBS@ here instead.
6180
6181 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6182
6183         * Clarify the meaning of "wheel mouse jump"
6184
6185 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6186
6187         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6188         tabular in a float
6189
6190 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6191
6192         * importer.C (Loaders): do not preallocate 3 elements in the
6193         vector, since one ends up with 6 elements otherwise
6194
6195 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6196
6197         * DepTable.C (write): write the file name as last element of the
6198         .dep file (because it may contain spaces)
6199         (read): read info in the right order
6200
6201 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6202
6203         * paragraph_pimpl.C (simpleTeXBlanks):
6204         (simpleTeXSpecialChars):
6205         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6206
6207         * tabular.C (latex): add some missing case statements. Reindent.
6208
6209         * MenuBackend.C (expandToc): remove unused variable.
6210
6211 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6212
6213         * LColor.C:
6214         * LaTeX.C:
6215         * LyXAction.C:
6216         * MenuBackend.C:
6217         * buffer.C:
6218         * exporter.C:
6219         * lyxfunc.C:
6220         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6221         and the like.
6222
6223 2003-01-05  John Levon  <levon@movementarian.org>
6224
6225         * BufferView.h:
6226         * BufferView.C: add getEncoding()
6227
6228         * kbsequence.h:
6229         * kbsequence.C: do not store last keypress
6230
6231         * lyxfunc.h:
6232         * lyxfunc.C: store last keypress here instead. Pass encoding
6233           to getISOEncoded()
6234
6235 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6236
6237         * lyx_main.C (init): remove annoying error message when following
6238         symbolic links (bug #780)
6239
6240 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * text.C (insertChar):
6243         * lyxrc.C (getDescription): remove extra spaces
6244
6245 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6246
6247         * lyxrc.C (getDescription): remove extra spaces
6248
6249 2002-12-20  John Levon  <levon@movementarian.org>
6250
6251         * text3.C: hack fix for page up/down across tall rows
6252
6253 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6254
6255         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6256         not been invoked
6257
6258 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6259
6260         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6261         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6262         thesaurus is not compiled in
6263
6264 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6265
6266         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6267
6268 2002-12-16  Angus Leeming  <leeming@lyx.org>
6269
6270         * lyxrc.[Ch]:
6271         * lyx_main.C (init): remove override_x_deadkeys stuff.
6272
6273 2002-12-12  John Levon  <levon@movementarian.org>
6274
6275         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6276           insert. Only remove shift modifier under strict
6277           circumstances.
6278
6279 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * MenuBackend.C (expandToc): fix crash.
6282
6283 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * MenuBackend.C (expandToc): gettext on float names.
6286
6287 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6288
6289         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6290         implement bool empty() [bug 490]
6291
6292 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6295
6296 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * several files: ws changes
6299
6300 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * text2.C (setCounter): clean up a bit, use boost.format.
6303         (updateCounters): initialize par upon declaration.
6304
6305         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6306         if the layout exists. We do not just store the layout any more.
6307         (SwitchLayoutsBetweenClasses): use boost.format
6308
6309 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6310
6311         * converter.C (convert): if from and to files are the same, use a
6312         temporary files as intermediary
6313
6314 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6315
6316         * commandtags.h:
6317         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6318
6319 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6320
6321         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6322
6323 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * tabular.C (asciiPrintCell): use string(size, char) instead of
6326         explicit loop.
6327
6328         * sgml.C (openTag): fix order of arguments to string constructor
6329         (closeTag): ditto
6330
6331         * lyxfunc.C (dispatch): use boost.format
6332
6333         * lots of files: change "c" -> 'c'
6334
6335 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6336
6337         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6338
6339 2002-11-25  Angus Leeming  <leeming@lyx.org>
6340
6341         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6342
6343         * lyx_main.C (init): compile fix.
6344
6345 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * lyx_cb.C (start): boost.formatify
6348         do not include <iostream>
6349
6350         * lengthcommon.C: ws only
6351
6352         * boost-inst.C,BoostFormat.h: add more explict instantations
6353
6354 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * lots of files: handle USE_BOOST_FORMAT
6357
6358 2002-11-21  John Levon  <levon@movementarian.org>
6359
6360         * pspell.C: fix compile
6361
6362 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6363
6364         * lyxfunc.C (dispatch): use boost::format
6365         (open): ditto
6366         (doImport): ditto
6367
6368         * lyxfont.C (stateText): use boost::format
6369
6370         * lyx_main.C (LyX): use boost::format
6371         (init): ditto
6372         (queryUserLyXDir): ditto
6373         (readRcFile): ditto
6374         (parse_dbg): ditto
6375         (typedef boost::function): use the recommened syntax.
6376
6377         * importer.C (Import): use boost::format
6378
6379         * debug.C (showLevel): use boost::format
6380
6381         * converter.C (view): use boost::format
6382         (convert): ditto
6383         (move): ditto
6384         (scanLog): ditto
6385
6386         * bufferview_funcs.C (currentState): use boost::format
6387
6388         * bufferlist.C (emergencyWrite): use boost::format
6389
6390         * buffer.C (readLyXformat2): use boost::format
6391         (parseSingleLyXformat2Token): ditto
6392
6393         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6394
6395         * LaTeX.C (run): use boost::format
6396
6397         * Chktex.C (scanLogFile): use boost::format
6398
6399         * BufferView_pimpl.C (savePosition): use boost::format
6400         (restorePosition): ditto
6401         (MenuInsertLyXFile): ditto
6402
6403         * BoostFormat.h: help file for explicit instation.
6404
6405 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6406
6407         * tabular.C (latex): Support for block alignment in fixed width
6408         columns.
6409
6410 2002-11-17  John Levon  <levon@movementarian.org>
6411
6412         * BufferView_pimpl.C:
6413         * lyx_cb.C:
6414         * lyxfunc.C: split filedialog into open/save
6415
6416 2002-11-08  Juergen Vigna  <jug@sad.it>
6417
6418         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6419         by my last patch (hopefully).
6420
6421 2002-11-08  John Levon  <levon@movementarian.org>
6422
6423         * iterators.h:
6424         * iterators.C:
6425         * buffer.h:
6426         * buffer.C:
6427         * paragraph.h:
6428         * paragraph.C:
6429         * toc.h:
6430         * toc.C: ParConstIterator, and use it (from Lars)
6431
6432 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6433
6434         * lyxtextclass.[Ch]: revise and add doxygen comments
6435
6436 2002-11-07  John Levon  <levon@movementarian.org>
6437
6438         * text.C: fix progress value for spellchecker
6439
6440         * toc.C: fix navigate menu for insetwrap inside minipage
6441
6442         * paragraph_funcs.C: added FIXME for suspect code
6443
6444 2002-11-07  John Levon  <levon@movementarian.org>
6445
6446         * BufferView_pimpl.C: fix redrawing of insets
6447           on buffer switch
6448
6449 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6450
6451         * text2.C (updateCounters): fix bug 668
6452
6453 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6454
6455         * text3.C (dispatch): Do not make the buffer dirty when moving the
6456         cursor.
6457
6458 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * vc-backend.C: STRCONV
6461         (scanMaster): ditto
6462
6463         * text2.C (setCounter): STRCONV
6464
6465         * paragraph.C (asString): STRCONV
6466
6467         * lyxlength.C (asString): STRCONV
6468         (asLatexString): ditto
6469
6470         * lyxgluelength.C (asString): STRCONV
6471         (asLatexString): ditto
6472
6473         * lyxfunc.C (dispatch): STRCONV
6474         (open): ditto
6475
6476         * lyxfont.C (stateText): STRCONV
6477
6478         * importer.C (Import): STRCONV
6479
6480         * counters.C (labelItem): STRCONV
6481         (numberLabel): ditto
6482         (numberLabel): remove unused ostringstream o
6483
6484         * chset.C: STRCONV
6485         (loadFile): ditto
6486
6487         * bufferview_funcs.C (currentState): STRCONV
6488
6489         * buffer.C (readFile): STRCONV
6490         (asciiParagraph): ditto
6491         (makeLaTeXFile): ditto
6492
6493         * Spacing.C (writeEnvirBegin): STRCONV
6494
6495         * LaTeXFeatures.C (getLanguages): STRCONV
6496         (getPackages): ditto
6497         (getMacros): ditto
6498         (getBabelOptions): ditto
6499         (getTClassPreamble): ditto
6500         (getLyXSGMLEntities): ditto
6501         (getIncludedFiles): ditto
6502
6503         * LaTeX.C: STRCONV
6504         (run): ditto
6505         (scanAuxFile): ditto
6506         (deplog): ditto
6507
6508         * LString.h: add the STRCONV macros
6509
6510         * BufferView_pimpl.C (savePosition): STRCONV
6511         (restorePosition): ditto
6512         (MenuInsertLyXFile): ditto
6513
6514         * vc-backend.C (scanMaster): change from submatch[...] to
6515         submatch.str(...)
6516
6517         * funcrequest.C: include config.h
6518
6519         * factory.C: include config.h
6520
6521         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6522
6523         * box.C: include config.h
6524
6525         * LaTeX.C (scanAuxFile): change from submatch[...] to
6526         submatch.str(...)
6527         (deplog): ditto
6528
6529 2002-10-25  Angus Leeming  <leeming@lyx.org>
6530
6531         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6532
6533         * ispell.[Ch] (setError): new method.
6534         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6535         Use setError() insetead of goto END.
6536
6537         * lyx_cb.C (AutoSave): move out child process into new class
6538         AutoSaveBuffer.
6539
6540 2002-10-30  John Levon  <levon@movementarian.org>
6541
6542         * text3.C: make start appendix undoable
6543
6544 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6545
6546         * lyxlength.C (inPixels): Fix returned value.
6547
6548         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6549         environment.
6550
6551 2002-10-24  Angus Leeming  <leeming@lyx.org>
6552
6553         * lyxgluelength.h: no need to forward declare BufferParams
6554         or BufferView, so don't.
6555
6556 2002-10-21  John Levon  <levon@movementarian.org>
6557
6558         * BufferView.C: menuUndo ->undo, redo
6559
6560         * BufferView.h: document, remove dead, make some methods private
6561
6562         * paragraph_funcs.h:
6563         * paragraph_funcs.C:
6564         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6565
6566         * buffer.h:
6567         * buffer.C:
6568         * sgml.h:
6569         * sgml.C: move sgml open/close tag into sgml.C
6570
6571         * bufferview_funcs.h: unused prototype
6572
6573         * lyxfunc.h:
6574         * lyxfunc.C: remove unused
6575
6576         * lyxtext.h:
6577         * text.C: remove unused
6578
6579 2002-10-21  John Levon  <levon@movementarian.org>
6580
6581         * BufferView.h:
6582         * BufferView.C:
6583         * BufferView_pimpl.h:
6584         * BufferView_pimpl.C: fix mouse wheel handling based on
6585           patch from Darren Freeman
6586
6587 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6588
6589         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6590
6591 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * lyxlength.C (inPixels): Fix hanfling of negative length.
6594         Fix LyXLength::MU case.
6595
6596 2002-10-16  John Levon  <levon@movementarian.org>
6597
6598         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6599
6600 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6601
6602         * converter.C (view): add support for $$i (file name) and $$p
6603         (file path) for the viewer command. If $$i is not specified, then
6604         it is appended to the command (for compatibility with old syntax)
6605
6606 2002-10-14  Juergen Vigna  <jug@sad.it>
6607
6608         * undo_funcs.C (textHandleUndo): alter the order in which the
6609         new undopar is added to the LyXText, as we have to set first
6610         the right prev/next and then add it as otherwise the rebuild of
6611         LyXText is not correct. Also reset the cursor to the right paragraph,
6612         with this IMO we could remove the hack in "redoParagraphs()".
6613
6614 2002-10-09  Angus Leeming  <leeming@lyx.org>
6615
6616         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6617         to turn off an optimisation if a new inset is to be inserted.
6618
6619 2002-10-11 André Pönitz <poenitz@gmx.net>
6620
6621         * lyxtext.h: make some functions public to allow access
6622         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6623
6624 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6625
6626         * text3.C (dispatch): when changing layout, avoid an infinite loop
6627         [bug #652]
6628
6629 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6630
6631         * lyxrc.C (read): treat a viewer or converter command of "none" as
6632         if it were empty.
6633
6634         * MenuBackend.C (expandFormats): for an update, also allow the
6635         formats that are not viewable
6636
6637         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6638         script if it is newer than the lyxrc.defaults in user directory
6639
6640 2002-10-07 André Pönitz <poenitz@gmx.net>
6641
6642         * text.C: Vitaly Lipatov's small i18n fix
6643
6644 2002-09-25  Angus Leeming  <leeming@lyx.org>
6645
6646         * ispell.h: doxygen fix.
6647
6648 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6649
6650         * buffer.h (readFile): Add a new argument to the method, to allow
6651         reading of old-format templates.
6652
6653 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6654
6655         * toc.C (getTocList): Get TOC from InsetWrap.
6656
6657 2002-09-16  John Levon  <levon@movementarian.org>
6658
6659         * lyxfunc.C: check tabular for cut/copy too
6660
6661 2002-09-12  John Levon  <levon@movementarian.org>
6662
6663         * LyXAction.C: tidy
6664
6665         * factory.h:
6666         * factory.C: add header
6667
6668         * paragraph_funcs.h:
6669         * paragraph_funcs.C: cleanup
6670
6671 2002-09-11  John Levon  <levon@movementarian.org>
6672
6673         * PrinterParams.h: odd/even default to true
6674
6675 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6676
6677         * PrinterParams.h: update printer parameters for new xforms dialog
6678
6679 2002-09-11  Angus Leeming  <leeming@lyx.org>
6680
6681         * lyxserver.C (read_ready): re-write to make it more transparent
6682         and to make it work in coherent fashion under Tru64 Unix.
6683
6684 2002-09-11  André Pönitz <poenitz@gmx.net>
6685
6686         * commandtags.h:
6687         * LyXAction.C:
6688         * text3.C: implement LFUN_WORDSEL
6689
6690 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6693         make floatlist_ a boost::shared_ptr<FloatList>
6694
6695         * lyxtextclass.C: include FloatList.h
6696         (LyXTextClass): initialize floatlist_
6697         (TextClassTags): add TC_NOFLOAT
6698         (Read): match "nofloat" to TC_NOFLOAT and use it.
6699         (readFloat): modify call to floatlist_
6700         (floats): ditto
6701         (floats): ditto
6702
6703         * FloatList.[Ch] (FloatList): remove commented out float
6704         initialization.
6705         (erase): new function
6706
6707 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6708
6709         * MenuBackend.C (expandToc): fix crash when there is no document
6710         open
6711
6712 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6713
6714         * many files: Add insetwrap.
6715
6716 2002-09-09  John Levon  <levon@movementarian.org>
6717
6718         * text2.C: remove confusing and awkward depth wraparound
6719
6720 2002-09-09  John Levon  <levon@movementarian.org>
6721
6722         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6723
6724         * buffer.h:
6725         * buffer.C: remove getIncludeonlyList()
6726
6727         * paragraph.C:
6728         * lyxfunc.C: remove headers
6729
6730 2002-09-09  Juergen Vigna  <jug@sad.it>
6731
6732         * text.C (getColumnNearX): fix form Michael this is most
6733         probably a cut&paste bug.
6734
6735 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6738
6739         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6740         references, ws changes.
6741
6742         * text2.C (init): update counters after init
6743         (insertParagraph): no need to set counter on idividual paragraphs.
6744         (setCounter): access the counters object in the textclass object
6745         on in the buffer object.
6746         (updateCounters): ditto
6747
6748         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6749         shared_ptr<Counters> to avoid loading counters.h in all
6750         compilation units.
6751         (LyXTextClass): initialize ctrs_
6752         (TextClassTags): add TC_COUNTER, and ...
6753         (Read): use it here.
6754         (CounterTags): new tags
6755         (readCounter): new function
6756         (counters): new funtion
6757         (defaultLayoutName): return a const reference
6758
6759         * counters.C (Counters): remove contructor
6760         (newCounter): remove a couple of unneeded statements.
6761         (newCounter): simplify a bit.
6762         (numberLabel): some small formatting changes.
6763
6764         * buffer.[Ch]: remove all traces of counters, move the Counters
6765         object to the LyXTextClass.
6766
6767 2002-09-06  Alain Castera  <castera@in2p3.fr>
6768
6769         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6770         package to set the horizontal alignment on fixed width columns.
6771
6772         * lyx_sty.C:
6773         * lyx_sty.h: added tabularnewline macro def.
6774
6775         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6776
6777 2002-09-06  John Levon  <levon@movementarian.org>
6778
6779         * LyXAction.C: tooltips for sub/superscript
6780
6781         * MenuBackend.C: a bit more verbose
6782
6783         * lyxfunc.C: tiny clean
6784
6785         * undo_funcs.C: document undo_frozen
6786
6787 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * counters.C (Counters): add missing algorithm counter.
6790
6791         * text2.C (setCounter): lookup the counter with layouts latexname
6792         instead of by section number.
6793         (setCounter): use a hackish way to lookup the correct enum
6794         counter.
6795         a float name->type change
6796         reset enum couners with counter name directly instead of depth value.
6797
6798         * counters.C (Counters): remove the push_backs, change to use the
6799         float type not the float name.
6800         (labelItem): remove unused string, float name->type change
6801
6802         * counters.h: don't include vector, loose the enums and sects vectors
6803
6804 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6807         (Read): add float->TC_FLOAT to textclassTags
6808         (Read): and handle it in the switch
6809         (readFloat): new function
6810
6811         * FloatList.C (FloatList): comment out the hardcoded float
6812         definitions.
6813
6814         * lyxlayout.h: ws change.
6815
6816 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6817
6818         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6819
6820 2002-09-03  Angus Leeming  <leeming@lyx.org>
6821
6822         * BufferView_pimpl.h: qualified name is not allowed in member
6823         declaration: WorkArea & Pimpl::workarea() const;
6824
6825         * factory.C: added using std::endl directive.
6826
6827         * text3.C: added using std::find and std::vector directives.
6828
6829 2002-08-29  André Pönitz <poenitz@gmx.net>
6830
6831         * lyxtext.h:
6832         * text2.C: remove unused member number_of_rows
6833
6834         * Makefile.am:
6835         * BufferView2.C: remove file, move contents to...
6836         * BufferView.C: ... here
6837
6838         * BufferView_pimpl.C:
6839         * factory.C: move more inset creation to factory
6840
6841         * vspace.C: avoid direct usage of LyXText, ws changes
6842
6843         * BufferView.[Ch]:
6844                 don't provide direct access to WorkArea, use two simple
6845                 acessors haveSelction() and workHeight() instead
6846
6847
6848 2002-08-29  John Levon  <levon@movementarian.org>
6849
6850         * BufferView_pimpl.C (dispatch): do not continue when
6851           no buffer
6852
6853 2002-08-28  André Pönitz <poenitz@gmx.net>
6854
6855         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6856
6857         * BufferView.h:
6858         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6859
6860 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6861
6862         * buffer.C: increment LYX_FORMAT to 221
6863
6864         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6865         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6866
6867         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6868
6869         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6870
6871 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6872
6873         * factory.C (createInset): use LyXTextClass::floats
6874
6875         * MenuBackend.C (expandFloatListInsert):
6876         (expandFloatInsert):
6877         (expandToc):
6878
6879         * text2.C (setCounter):
6880
6881         * LaTeXFeatures.C (useFloat):
6882         (getFloatDefinitions):
6883
6884         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6885
6886         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6887         floatlist_, with accessor floats().
6888
6889         * FloatList.h: remove global FloatList
6890
6891 2002-08-26  André Pönitz <poenitz@gmx.net>
6892
6893         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6894
6895         * BufferView.h:
6896         * BufferView2.C:
6897         * BufferView_pimpl.C:
6898         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6899
6900 2002-08-25  John Levon  <levon@movementarian.org>
6901
6902         * LyXAction.C: fix margin note description
6903
6904 2002-08-24  John Levon  <levon@movementarian.org>
6905
6906         * buffer.C:
6907         * bufferlist.C:
6908         * bufferview_funcs.C:
6909         * lyxfont.C:
6910         * undo_funcs.C: cleanups
6911
6912         * lyxfunc.C: disable CUT/COPY when no selection
6913
6914 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6915
6916         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6917         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6918
6919         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6920         Add backward compatibility to "mono", "gray" and "no".
6921
6922 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6923
6924         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6925         (and file_format >= 200).
6926
6927 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6928
6929         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6930
6931 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6932
6933         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6934
6935 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6936
6937         * BufferView_pimpl.C:
6938         * LyXAction.C:
6939         * buffer.C:
6940         * commandtags.h:
6941         * lyxfunc.C:
6942         * paragraph.[Ch]:
6943         * text2.C:
6944         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6945         inset and code to make it  work with the paragraph code. The inset
6946         can be anywhere in the paragraph, but will only do the expected
6947         thing in LaTeX if the layout file contains the parameter line
6948                         OptionalArgs    1
6949         (or more generally, a nonzero value) for that layout.
6950
6951 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * paragraph.h: remove the declaration of undefined counters class
6954         function.
6955
6956 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6957
6958         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6959         Dr. Richard Hawkins.
6960
6961 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6962
6963         * paragraph_funcs.h: remove some unneeded includes
6964
6965         * text.C (backspace): pasteParagraph now in global scipe
6966
6967         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6968         (pasteSelection): ditto
6969
6970         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6971         * paragraph_funcs.C (pasteParagraph): ... here
6972
6973 2002-08-20  André Pönitz <poenitz@gmx.net>
6974
6975         * commandtags.h: new LFUNs for swapping/copying table row/colums
6976
6977         * LyXAction.C:
6978         * lyxfunc.C: support for new lfuns
6979
6980 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * tabular.C:
6983         * buffer.[Ch]: remove NO_COMPABILITY stuff
6984
6985 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * boost.C (throw_exception): new file, with helper function for
6988         boost compiled without exceptions.
6989
6990         * paragraph.h:
6991         * lyxlength.C:
6992         * buffer.C:
6993         * ParameterStruct.h:
6994         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6995
6996         * bufferlist.C (emergencyWriteAll): use boost bind
6997
6998         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6999
7000         * text.C: include paragraph_funcs.h
7001         (breakParagraph): breakParagraph is now in global scope
7002
7003         * paragraph_funcs.[Ch]: new files
7004
7005         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7006         global scope
7007
7008         * buffer.C: include paragraph_funcs.h
7009         (insertStringAsLines): breakParagraph is now in global scope
7010
7011         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7012         paragraph_funcs.C
7013
7014         * CutAndPaste.C: include paragraph_funcs.h
7015         (cutSelection): breakParagraphConservative is now in global scope
7016         (pasteSelection): ditto
7017
7018         * buffer.h: declare oprator== and operator!= for
7019         Buffer::inset_iterator
7020
7021         * bufferlist.C (emergencyWrite): don't use fmt(...)
7022
7023         * text3.C: add using std::endl
7024
7025         * BufferView.C (moveCursorUpdate): remove default arg
7026
7027 2002-08-20  André Pönitz <poenitz@gmx.net>
7028
7029         * buffer.[Ch]: move inline functions to .C
7030
7031         * BufferView2.C:
7032         * BufferView_pimpl.C:
7033         * text.C:
7034         * buffer.[Ch]: use improved inset_iterator
7035
7036         * buffer.C:
7037         * paragraph.[Ch]: write one paragraph at a time
7038
7039 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7040
7041         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7042         style if style is not specified.
7043
7044 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7045
7046         * text2.C (setCounter): when searching for right label for a
7047         caption, make sure to recurse to parent insets (so that a caption
7048         in a minipage in a figure float works) (bug #568)
7049
7050 2002-08-20  André Pönitz <poenitz@gmx.net>
7051
7052         * text3.C: new file for LyXText::dispatch() and helpers
7053
7054         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7055
7056         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7057
7058 2002-08-19  André Pönitz <poenitz@gmx.net>
7059
7060         * lyxtext.h:
7061         * text.C: new LyXText::dispatch()
7062
7063         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7064
7065 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7066
7067         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7068
7069         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7070         Hebrew text.
7071
7072 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7073
7074         * Makefile.am: use $(variables) instead of @substitutions@
7075
7076 2002-08-15  André Pönitz <poenitz@gmx.net>
7077
7078         * lyxfunc.C:
7079         * BufferView_pimpl.C: streamlining mathed <-> outer world
7080         interaction
7081
7082         * commandtags.h:
7083         * LyXAction.C: remove unused LFUN_MATH
7084
7085 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7088
7089 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * paragraph.C (Paragraph): reformat a bit
7092         (cutIntoMinibuffer): use builtin InsetList function instad of
7093         doing it manually.
7094         (getInset): ditto
7095
7096         * buffer.C: include boost/bind.hpp, add using std::for_each
7097         (writeFileAscii): use ParagraphList iterators
7098         (validate): use for_each for validate traversal of paragraphs
7099         (getBibkeyList): use ParagraphList iterators
7100         (resizeInsets): use for_each to resizeInsetsLyXText for all
7101         paragraphs.
7102         (getParFromID): use ParagraphList iterators
7103
7104         * BufferView2.C (lockInset): use paragraph list and iterators
7105
7106 2002-08-14  John Levon  <levon@movementarian.org>
7107
7108         * lyxserver.C: remove spurious xforms include
7109
7110 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7111
7112         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7113
7114 2002-08-13  André Pönitz <poenitz@gmx.net>
7115
7116         * LyXAction.[Ch]:
7117         * lyxfunc.C: further cleaning
7118
7119 2002-08-13  André Pönitz <poenitz@gmx.net>
7120
7121         * funcrequest.h: new constructor
7122
7123         * funcrequest.C: move stuff here from .h
7124
7125         * Makefile.am:
7126         * BufferView_pimpl.C:
7127         * LyXAction.C:
7128         * toc.C:
7129         * lyxfunc.C: subsequent changes
7130
7131         * lyxfunc.h: new view() member function
7132
7133         * lyxfunc.C: subsequent changes
7134
7135 2002-08-13  Angus Leeming  <leeming@lyx.org>
7136
7137         * BufferView2.C:
7138         * BufferView_pimpl.C:
7139         * buffer.C:
7140         * converter.C:
7141         * importer.C:
7142         * lyxfunc.C:
7143         * lyxvc.C:
7144         * toc.C:
7145         * vc-backend.C:
7146         changes due to the changed LyXView interface that now returns references
7147         to member variables not pointers.
7148
7149 2002-08-13  Angus Leeming  <leeming@lyx.org>
7150
7151         * WordLangTuple (word, lang_code): return references to strings,
7152         not strings.
7153
7154         * BufferView.h:
7155         * SpellBase.h:
7156         * lyxtext.h: forward-declare WordLangTuple.
7157
7158         * BufferView2.C:
7159         * ispell.C:
7160         * pspell.C:
7161         * text.C: #include "WordLangTuple.h".
7162
7163         * lyxtext.h:
7164         * text.C: (selectNextWordToSpellcheck): constify return type.
7165
7166 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7167
7168         * buffer.C:
7169         * buffer.h:
7170         * lyxtext.h:
7171         * paragraph.C:
7172         * paragraph_pimpl.h:
7173         * text.C:
7174         * text2.C:
7175         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7176         suggested by Angus.
7177         Made updateCounter always count from start of buffer, and removed
7178         second argument (par).
7179         Reverted floats number display to '#'. Perhaps I'll try again when the
7180         code base is sanitized a bit.
7181
7182 2002-08-12  Angus Leeming  <leeming@lyx.org>
7183
7184         * buffer.[Ch] (getLabelList): constify.
7185
7186 2002-08-07  André Pönitz <poenitz@gmx.net>
7187
7188         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7189
7190         * funcrequest.h: extension to keep mouse (x,y) position
7191
7192 2002-08-12  Juergen Vigna  <jug@sad.it>
7193
7194         * BufferView2.C (insertErrors): forbid undo when inserting error
7195         insets.
7196
7197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7198
7199 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * ParagraphList.[Ch]: new files
7202
7203         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7204
7205         * BufferView2.C (lockInset): ParagraphList changes
7206         * toc.C: ditto
7207         * text2.C: ditto
7208         * bufferlist.C: ditto
7209         * buffer.h: ditto
7210         * buffer.C: ditto
7211
7212 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7215         unused class variable counter_,
7216
7217         * paragraph.[Ch] (getFirstCounter): delete unused function
7218
7219         * counters.C: include LAssert.h
7220         (reset): add a new function with no arg, change other version to
7221         not have def. arg and to not allow empty arg.
7222
7223         * text2.C (setCounter): remove empty arg from call to Counters::reset
7224
7225 2002-08-11  John Levon  <levon@movementarian.org>
7226
7227         * Makefile.am: add WordLangTuple.h
7228
7229 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7232         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7233
7234         * insets/insettext.C: InsetList changes
7235
7236         * graphics/GraphicsSupport.C (operator()): InsetList changes
7237
7238         * toc.C (getTocList): InsetList changes
7239
7240         * paragraph_pimpl.[Ch]: InsetList changes
7241
7242         * paragraph.[Ch]: InsetList changes
7243
7244         * buffer.C (inset_iterator): InsetList changes
7245         (setParagraph): ditto
7246         * buffer.h (inset_iterator): ditto
7247         * iterators.C (operator++): ditto
7248         * iterators.h: ditto
7249
7250         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7251
7252         * InsetList.[Ch]: new files, most InsetList handling moved out of
7253         paragraph.C.
7254
7255         * BufferView2.C (removeAutoInsets): InsetList changes
7256         (lockInset): ditto
7257         (ChangeInsets): ditto
7258
7259 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * paragraph_pimpl.h (empty): new function
7262
7263         * paragraph.[Ch] (empty): new function
7264
7265         * other files: use the new Paragraph::empty function
7266
7267 2002-08-09  John Levon  <levon@movementarian.org>
7268
7269         * lyxtext.h: remove unused refresh_height
7270
7271 2002-08-09  John Levon  <levon@movementarian.org>
7272
7273         * Makefile.am:
7274         * sgml.h:
7275         * sgml.C:
7276         * buffer.C:
7277         * paragraph.h:
7278         * paragraph.C: move sgml char escaping out of paragraph
7279
7280         * paragraph.h:
7281         * paragraph.C: remove id setter
7282
7283         * buffer.C:
7284         * paragraph.C:
7285         * paragraph_pimpl.C: remove dead tex_code_break_column
7286
7287         * bufferview_funcs.C: small cleanup
7288
7289         * lyxfunc.C: remove dead proto
7290
7291         * lyxtext.h: make some stuff private. Remove some dead stuff.
7292
7293         * lyxgluelength.C: make as[LyX]String() readable
7294
7295 2002-08-08  John Levon  <levon@movementarian.org>
7296
7297         * LyXAction.h:
7298         * LyXAction.C:
7299         * MenuBackend.C:
7300         * ToolbarDefaults.C:
7301         * lyxfunc.C:
7302         * lyxrc.C:
7303         * toc.C: lyxaction cleanup
7304
7305 2002-08-08  John Levon  <levon@movementarian.org>
7306
7307         * BufferView2.C: small cleanup
7308
7309         * lyxfind.h:
7310         * lyxfind.C: move unnecessary header into the .C
7311
7312 2002-08-08  John Levon  <levon@movementarian.org>
7313
7314         * funcrequest.h: just tedious nonsense
7315
7316         * lyx_main.h:
7317         * lyx_main.C: cleanups
7318
7319         * buffer.C:
7320         * vspace.C: remove dead header lyx_main.h
7321
7322 2002-08-07  Angus Leeming  <leeming@lyx.org>
7323
7324         * Paragraph.[Ch]:
7325         * paragraph_pimpl.h:
7326         Forward declare class Counters in paragraph.h by moving the ctrs member
7327         variable into Paragraph::Pimpl.
7328         (counters): new method, returning a reference to pimpl_->ctrs.
7329
7330         * text2.C: ensuing changes.
7331
7332 2002-08-07  John Levon  <levon@movementarian.org>
7333
7334         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7335
7336         * BufferView_pimpl.C: announce X selection on double/triple
7337           click
7338
7339         * lyx_main.C: use correct bool in batch dispatch
7340
7341         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7342
7343 2002-08-07  André Pönitz <poenitz@gmx.net>
7344
7345         * funcrequest.h: new class to wrap a kb_action and its argument
7346
7347         * BufferView.[Ch]:
7348         * BufferView_pimpl[Ch]:
7349         * LaTeX.C:
7350         * LyXAction.[Ch]:
7351         * lyxfunc.[Ch]:
7352         * lyxrc.C: subsequent changes
7353
7354
7355 2002-08-07  John Levon  <levon@movementarian.org>
7356
7357         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7358           document options change.
7359
7360 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7361
7362         * counters.[Ch]
7363         * text2.C
7364         * paragraph.[Ch]
7365         * makefile.am: move counters functionality over from
7366         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7367
7368 2002-08-06  John Levon  <levon@movementarian.org>
7369
7370         * WordLangTuple.h: new file for word + language code tuple
7371
7372         * SpellBase.h:
7373         * pspell.h:
7374         * pspell.C:
7375         * ispell.h:
7376         * ispell.C:
7377         * lyxtext.h:
7378         * text.C:
7379         * text2.C:
7380         * BufferView.h:
7381         * BufferView2.C: use WordLangTuple
7382
7383         * layout.h:
7384         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7385
7386 2002-08-06  John Levon  <levon@movementarian.org>
7387
7388         * lyx_main.C: fix cmdline batch handling
7389
7390 2002-08-06  André Pönitz <poenitz@gmx.net>
7391
7392         * lyxrc.C: set default for show_banner to true
7393
7394 2002-08-06  John Levon  <levon@movementarian.org>
7395
7396         * pspell.C: fix a crash, and allow new aspell to work
7397
7398 2002-08-06  John Levon  <levon@movementarian.org>
7399
7400         * lyxfunc.C:
7401         * kbmap.C: small cleanup
7402
7403         * vspace.h:
7404         * vspace.C: add const
7405
7406 2002-08-05  John Levon  <levon@movementarian.org>
7407
7408         * LyXAction.C: back to tabular-insert
7409
7410 2002-08-04  John Levon  <levon@movementarian.org>
7411
7412         * BufferView.h:
7413         * BufferView.C: cosmetic change
7414
7415         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7416
7417         * bufferlist.C:
7418         * buffer.h:
7419         * buffer.C:
7420         * lyxcb.h:
7421         * lyxcb.C:
7422         * lyxserver.C:
7423         * lyxvc.C:
7424         * vc-backend.C:
7425         * BufferView2.C: purge all "Lyx" not "LyX" strings
7426
7427         * lyxcursor.h:
7428         * lyxcursor.C: attempt to add some documentation
7429
7430         * lyxfunc.C:
7431         * commandtags.h:
7432         * LyXAction.C:
7433         * ToolbarDefaults.C:
7434         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7435           merge with LFUN_TABULAR_INSERT
7436
7437         * Makefile.am:
7438         * SpellBase.h:
7439         * ispell.h:
7440         * ispell.C:
7441         * pspell.h:
7442         * pspell.C: split up i/pspell implementations into separate
7443           files, many cleanups
7444
7445         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7446
7447         * text2.C: some cleanup
7448
7449         * lyxfunc.C: don't check for isp_command == "none" any more, it
7450           didn't make any sense
7451
7452 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7453
7454         * counters.[Ch]
7455         * text2.C
7456         * paragraph.[Ch]
7457         * makefile.am: move counters functionality over
7458         from text2.C/paragraph.[Ch] to counters.[Ch], and
7459         make proper C++.
7460 2002-08-02  John Levon  <levon@movementarian.org>
7461
7462         * buffer.C: s/lyxconvert/lyx2lyx/
7463
7464 2002-08-02  Angus Leeming  <leeming@lyx.org>
7465
7466         * lyxlex.C: revert John's change as it breaks reading of the user
7467         preamble.
7468
7469 2002-08-02  Angus Leeming  <leeming@lyx.org>
7470
7471         * importer.C (Import):
7472         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7473         changes due to LyXView::view() now returning a boost::shared_ptr.
7474
7475 2002-08-02  John Levon  <levon@movementarian.org>
7476
7477         * lyxlex.C: small cleanup
7478
7479 2002-08-02  John Levon  <levon@movementarian.org>
7480
7481         * text2.C (status): small cleanup, no logic change
7482
7483 2002-08-01  John Levon  <levon@movementarian.org>
7484
7485         * buffer.h:
7486         * buffer.C (writeFile): don't output alerts, caller
7487           handles this
7488
7489         * bufferlist.C:
7490         * lyx_cb.C: from above
7491
7492         * lyxfunc.C: allow to open non-existent files
7493
7494 2002-07-31  John Levon  <levon@movementarian.org>
7495
7496         * lyxserver.C: don't let incidental errors get
7497           in the way (errno)
7498
7499 2002-07-30  John Levon  <levon@movementarian.org>
7500
7501         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7502
7503 2002-07-30  John Levon  <levon@movementarian.org>
7504
7505         * lyxserver.h:
7506         * lyxserver.C: remove I/O callback too
7507
7508 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7509
7510         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7511         log.
7512
7513 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * many files: strip,frontStrip -> trim,ltrim,rtrim
7516
7517 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * PrinterParams.h: remove extern containsOnly, and include
7520         support/lstrings.h instead.
7521
7522         * LaTeX.C (scanAuxFile): modify because of strip changes
7523         (deplog): ditto
7524         * buffer.C (makeLaTeXFile): ditto
7525         * bufferparams.C (writeFile): ditt
7526         * lyxfont.C (stateText): ditto
7527         * lyxserver.C (read_ready): ditto
7528         * vc-backend.C (scanMaster): ditto
7529
7530         * BufferView_pimpl.h: ws changes
7531
7532         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7533
7534 2002-07-26  André Pönitz <poenitz@gmx.net>
7535
7536         * kb_sequence.C: remove unnedred usings
7537
7538 2002-07-26  Juergen Vigna  <jug@sad.it>
7539
7540         * lyxfind.C (LyXReplace): we have to check better if the returned
7541         text is not of theLockingInset()->getLockingInset().
7542
7543 2002-07-25  Juergen Vigna  <jug@sad.it>
7544
7545         * lyxfind.C (LyXReplace): don't replace if we don't get the
7546         right LyXText.
7547
7548         * undo_funcs.C (createUndo): remove debugging code.
7549
7550 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7551
7552         * buffer.C (parseSingleLyXformat2Token): Use default placement
7553         when reading old floats.
7554
7555         * FloatList.C (FloatList): Change the default placement of figure
7556         and tables to "tbp".
7557
7558 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7559
7560         * MenuBackend.C: using std::max
7561
7562 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7563
7564         * MenuBackend.C (expandToc):
7565         (expandToc2): code moved from xforms menu frontend. It is now
7566         generic and TOCs are transparent to menu frontends.
7567
7568 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7569
7570         * toc.C (getTocList): protect against buf=0
7571
7572         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7573         Menu as first parameter. Now, this calls itself recursively to
7574         expand a whole tree (this will be useful for TOC handling)
7575         (expandFloatInsert): remove 'wide' version of floats
7576
7577         * MenuBackend.h (submenuname): returns the name of the submenu.
7578         (submenu): returns the submenu itself, provided it has been
7579         created by MenuBackend::expand
7580
7581 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7582
7583         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7584         insets which have noFontChange == true. (bug #172)
7585
7586 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7587
7588         * BufferView_pimpl.C: add connection objects and use them...
7589         (Pimpl): here.
7590
7591 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * MenuBackend.C (expandLastfiles):
7594         (expandDocuments):
7595         (expandFormats):
7596         (expandFloatListInsert):
7597         (expandFloatInsert):
7598         (expand): split expand in parts
7599
7600 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * lyx_gui.C: use lyx_gui::exit()
7603
7604 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * LyXAction.C: show the failing pseudo action
7607
7608 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7609
7610         * buffer.C (readFile): Run the lyxconvert script in order to read
7611         old files.
7612
7613 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7614
7615         * LyXAction.C:
7616         * commandtags.h:
7617         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7618
7619 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7620
7621         * LyXAction.C:
7622         * commandtags.h:
7623         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7624
7625 2002-07-22  Herbert Voss  <voss@lyx.org>
7626
7627         * lengthcommon.C:
7628         * lyxlength.[Ch]: add support for the vertical lengths
7629
7630 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * toc.[Ch]: std:: fixes
7633
7634 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7635
7636         * lyxrc.C: do not include lyx_main.h
7637
7638         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7639         for layouts
7640
7641         * lyxrc.C:
7642         * encoding.C:
7643         * bufferlist.C:
7644         * BufferView2.C: include "lyxlex.h"
7645
7646         * tabular.h:
7647         * bufferparams.h: do not #include "lyxlex.h"
7648
7649         * lyxtextclasslist.C (Add): remove method
7650         (classlist): renamed to classlist_
7651
7652         * paragraph_pimpl.C:
7653         * paragraph.C:
7654         * text2.C:
7655         * CutAndPaste.C:
7656         * bufferview_funcs.C:
7657         * bufferlist.C:
7658         * text.C:
7659         * LaTeXFeatures.C:
7660         * buffer.C:
7661         * toc.C (getTocList): use BufferParams::getLyXTextClass
7662
7663         * toc.C (getTocList): use InsetFloat::addToToc
7664
7665         * toc.[Ch]: new files, containing helper functions to handle table
7666         of contents
7667
7668         * lyxfunc.C (dispatch): no need to remove spaces around command
7669         given as a string
7670         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7671         first command of the sequence; it is not very clever, but I do not
7672         have a better idea, actually
7673
7674         * LyXAction.C (LookupFunc): make sure to remove space at the
7675         beginning and end of the command
7676
7677 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7678
7679         * MenuBackend.C (getMenubar): new method: return the menubar of
7680         this menu set
7681         (read): treat differently reading of menu and menubar (in
7682         particular, the menubar has no name now)
7683         (Menu::menubar): remove
7684
7685         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7686         saving is finished
7687
7688 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7689
7690         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7691         a bibitem inset in a RTL paragraph.
7692
7693 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7694
7695         * paragraph_pimpl.C: constify
7696
7697         * BufferView_pimpl.C:
7698         * LaTeX.C:
7699         * lyxfunc.C: fix dispatch in a nicer way
7700
7701 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * lyxfunc.C (dispatch):
7704         * BufferView_pimpl.C:
7705         * BufferView_pimpl.h:
7706         * BufferView.C:
7707         * BufferView.h: rename Dispatch() to dispatch()
7708
7709         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7710
7711         * lyxlayout.C (Read): honor DependsOn tag
7712
7713         * lyxlayout.[Ch] (depends_on): new method
7714
7715         * version.C.in: update lyx_docversion
7716
7717         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7718
7719         * paragraph.C (validate): remove from here...
7720         * paragraph_pimpl.C (validate): ... and move here
7721         (isTextAt): make it const
7722
7723         * buffer.C (getLists): ws cleanup
7724
7725 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7726
7727         * language.C (read): Use iso8859-1 encoding in latex_lang
7728         (this prevents LyX from crashing when using iso10646-1 encoding).
7729
7730 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7731
7732         * text2.C (toggleInset): if cursor is inside an inset, close the
7733         inset and leave cursor _after_ it
7734
7735 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7736
7737         * lyxfunc.C: move minibuffer completion handling out of here
7738
7739 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7740
7741         * BufferView_pimpl.C:
7742         * LaTeX.C: fix dispatch calls
7743
7744 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7745
7746         * text.C (drawChars): Fix Arabic text rendering.
7747
7748 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7749
7750         * LyXAction.C:
7751         * commandtags.h:
7752         * lyxfunc.C: remove message-push/pop
7753
7754         * lyxserver.C:
7755         * lyxfunc.h:
7756         * lyxfunc.C: rationalise some code by removing verboseDispatch
7757           in favour of a bool argument to dispatch()
7758
7759 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * lyx_main.C (init): make sure to read symlinks as absolute paths
7762
7763 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7764
7765         * lyxfunc.h:
7766         * lyxfunc.C: no need for commandshortcut to be a member
7767
7768 2002-07-15  André Pönitz <poenitz@gmx.net>
7769
7770         * converter.C: add support for $$s (scripts from lib/scripts dir)
7771         * lyx_main.C: white space
7772
7773 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * bufferlist.C:
7776         * lyxrc.h:
7777         * lyxrc.C: remove second exit confirmation
7778
7779 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7780
7781         * BufferView.h:
7782         * BufferView.C:
7783         * BufferView2.C:
7784         * BufferView_pimpl.h:
7785         * BufferView_pimpl.C:
7786         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7787
7788 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7789
7790         * MenuBackend.C (expand): add numeric shortcuts to document menu
7791
7792         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7793
7794 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7795
7796         * lyxfont.C (setLyXFamily):
7797         (setLyXSeries):
7798         (setLyXShape):
7799         (setLyXSize):
7800         (setLyXMisc):
7801         (lyxRead):
7802         * debug.C (value):
7803         * buffer.C (asciiParagraph): use ascii_lowercase
7804
7805 2002-07-15  Mike Fabian  <mfabian@suse.de>
7806
7807         * lyxlex_pimpl.C (search_kw):
7808         * lyxlex.C (getLongString):
7809         * converter.h (operator<):
7810         * converter.C (operator<):
7811         * buffer.C (parseSingleLyXformat2Token):
7812         (asciiParagraph):
7813         * ToolbarDefaults.C (read):
7814         * MenuBackend.C (checkShortcuts):
7815         (read):
7816         * LColor.C (getFromGUIName):
7817         (getFromLyXName): use the compare_ascii_no_case instead of
7818         compare_no_case, because in turkish, 'i' is not the lowercase
7819         version of 'I', and thus turkish locale breaks parsing of tags.
7820
7821 2002-07-16  Angus Leeming  <leeming@lyx.org>
7822
7823         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7824         now takes a Buffer const & argument.
7825
7826 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * BufferView.C (resize): check there's a buffer to resize
7829
7830 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * lyxfunc.C: remove dead code
7833
7834         * lyxserver.h:
7835         * lyxserver.C: use lyx_guii::set_read_callback
7836
7837 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7838
7839         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7840         an inset in a RTL paragraph.
7841
7842 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * lyxfunc.C: repaint after a font size update
7845
7846 2002-07-15  André Pönitz <poenitz@gmx.net>
7847
7848         * lyxlength.C: inBP should be able to return negative values
7849
7850 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * lyxfunc.C: use lyx_gui::update_fonts()
7853
7854 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * lyxfunc.C: use lyx_gui::update_color()
7857
7858 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * bufferlist.C:
7861         * lyxfunc.h:
7862         * lyxfunc.C:
7863         * lyxrc.h:
7864         * lyxrc.C: remove file->new asks for name option, and let
7865           buffer-new take an argument
7866
7867 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * BufferView_pimpl.C: remove unneeded extra repaint()
7870
7871 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7872
7873         * LyXAction.C: allow command-sequence with NoBuffer
7874
7875         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7876
7877 2002-07-10  Angus Leeming  <leeming@lyx.org>
7878
7879         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7880
7881 2002-07-09  Angus Leeming  <leeming@lyx.org>
7882
7883         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7884
7885 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * lengthcommon.h: whitespace
7888
7889         * lyxfunc.C: update scrollbar after goto paragraph
7890
7891         * lyxtext.h: factor out page break drawing, and fix it so
7892           page break/added space paints as selected nicely
7893
7894 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7895
7896         * BufferView_pimpl.C: add FIXMEs, clean up a little
7897
7898 2002-07-09  André Pönitz <poenitz@gmx.net>
7899
7900         * lyxfont.[Ch]: support for wasy symbols
7901
7902 2002-07-08  André Pönitz <poenitz@gmx.net>
7903
7904         * BufferView_pimpl.C: apply John's patch for #93.
7905
7906 2002-07-05  Angus Leeming  <leeming@lyx.org>
7907
7908         * BufferView_pimpl.C (buffer): generate previews if desired.
7909
7910         * LColor.h: add "preview" to the color enum.
7911
7912         * LColor.C (LColor): add a corresponding entry to the items array.
7913
7914         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7915         with this buffer.
7916
7917 2002-07-05  Angus Leeming  <leeming@lyx.org>
7918
7919         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7920         The body of the code is now in the method that is passed an ostream &
7921         rather than a file name.
7922         Pass an additional only_preamble parameter, useful for the forthcoming
7923         preview stuff.
7924
7925 2002-07-03  André Pönitz <poenitz@gmx.net>
7926
7927         * lyxfunc.C: simplify getStatus() a bit for math stuff
7928
7929 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7930
7931         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7932
7933 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * text.C (changeRegionCase): do not change case of all the
7936         document when region ends at paragraph end (bug #461)
7937
7938 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7939
7940         * paragraph.C (startTeXParParams):
7941         (endTeXParParams): add \protect when necessary
7942
7943 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * BufferView_pimpl.C (workAreaExpose): remove warning
7946
7947 2002-06-27  Angus Leeming  <leeming@lyx.org>
7948
7949         * Makefile.am: add lyxlayout_ptr_fwd.h.
7950
7951 2002-06-26  André Pönitz <poenitz@gmx.net>
7952
7953         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7954
7955 2002-06-25  Angus Leeming  <leeming@lyx.org>
7956
7957         * lyxfunc.C (dispatch): Comment out the call to
7958         grfx::GCache::changeDisplay. The method no longer exists now that the
7959         pixmap generation part of the graphics loader has been moved into
7960         InsetGraphics.
7961
7962 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7963
7964         * text2.C: layout as layout
7965
7966         * text.C: layout as layout
7967
7968         * tabular.C (OldFormatRead): layout as layout
7969
7970         * paragraph_pimpl.C (TeXDeeper): layout as layout
7971         (realizeFont): layout as layout
7972
7973         * paragraph.C (writeFile): layout as layout
7974         (validate): layout as layout
7975         (getFont): layout as layout
7976         (getLabelFont): layout as layout
7977         (getLayoutFont): layout as layout
7978         (breakParagraph): layout as layout
7979         (stripLeadingSpaces): layout as layout
7980         (getEndLabel): layout as layout
7981         (getMaxDepthAfter): layout as layout
7982         (applyLayout): layout as layout
7983         (TeXOnePar): layout as layout
7984         (simpleTeXOnePar): layout as layout
7985         (TeXEnvironment): layout as layout
7986         (layout): layout as layout
7987         (layout): layout as layout
7988
7989         * lyxtextclass.C (compare_name): new functor to work with
7990         shared_ptr, layout as layout
7991         (Read): layout as layout
7992         (hasLayout): layout as layout
7993         (operator): layout as layout
7994         (delete_layout): layout as layout
7995         (defaultLayout): layout as layout
7996
7997         * lyxlayout_ptr_fwd.h: new file
7998
7999         * lyxlayout.C (Read): layout as layout
8000
8001         * lyx_cb.C (MenuInsertLabel): layout as layout
8002
8003         * bufferlist.C (newFile): layout as layout
8004
8005         * buffer.C (readLyXformat2): layout as layout
8006         (parseSingleLyXformat2Token): layout as layout
8007         (insertStringAsLines): layout as layout
8008         (asciiParagraph): layout as layout
8009         (latexParagraphs): layout as layout
8010         (makeLinuxDocFile): layout as layout
8011         (simpleLinuxDocOnePar): layout as layout
8012         (makeDocBookFile): layout as layout
8013         (simpleDocBookOnePar): layout as layout
8014         (getLists): layout as layout
8015
8016         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8017
8018         * CutAndPaste.C (cutSelection): layout as layout
8019         (pasteSelection): layout as layout
8020         (SwitchLayoutsBetweenClasses): layout as layout
8021
8022         * BufferView_pimpl.C (Dispatch): layout as layout
8023         (smartQuote): layout as layout
8024
8025         * BufferView2.C (unlockInset): layout as layout
8026
8027 2002-06-24  André Pönitz <poenitz@gmx.net>
8028
8029         * lyxfunc.C: fix #487
8030
8031 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8032
8033         * lyxrc.h:
8034         * lyxrc.C:
8035         * lyxfunc.C: remove display_shortcuts, show_banner
8036
8037 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * Buffer_pimpl.C: oops, update on resize
8040
8041 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * buffer.C:
8044         * converter.C:
8045         * exporter.C:
8046         * lyxfunc.C:
8047         * BufferView.h:
8048         * BufferView.C: use repaint()
8049
8050         * BufferView_pimpl.h:
8051         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8052           as it's a clearer description. Remove superfluous
8053           redraws.
8054
8055 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * text.C: fix bug 488. Not ideal, but getting
8058           getWord() to work properly for the insets that
8059           matter is more difficult ...
8060
8061 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8062
8063         * BufferView_pimpl.C:
8064         * LyXAction.C:
8065         * commandtags.h:
8066         * lyxfunc.C: remove the six million index lyxfuncs to just
8067           one, and DTRT (bug 458)
8068
8069 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * BufferView.h:
8072         * BufferView.C:
8073         * BufferView_pimpl.h:
8074         * BufferView_pimpl.C: clean up resize() stuff,
8075           and unnecessary updateScreen()s
8076
8077 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * BufferView.h:
8080         * BufferView.C:
8081         * BufferView_pimpl.h:
8082         * BufferView_pimpl.C:
8083         * lyxfind.h:
8084         * lyxfind.C:
8085         * minibuffer.C: remove focus management of workarea,
8086           not needed. Use screen's greyOut()
8087
8088 2002-06-17  Herbert Voss  <voss@lyx.org>
8089
8090         * converter.C: (convert) do not post a message, when converting
8091         fails, let the calling function decide what to do in this case
8092
8093 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * lyxfunc.C: tidy up a little
8096
8097 2002-06-16    <alstrup@diku.dk>
8098
8099         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8100         Got rid of FORMS_H_LOCATION include. Now we are
8101         GUII.
8102
8103 2002-06-15  LyX Development team  <lyx@rilke>
8104
8105         * buffer.[Ch] (sgmlOpenTag):
8106         (sgmlCloseTag): Added support for avoiding pernicious mixed
8107         content. Return number of lines written.
8108
8109         (makeLinuxDocFile):
8110         (makeDocBookFile): Fixed calls to sgml*Tag.
8111         Simple white space clean.
8112
8113         (simpleDocBookOnePar): Simple white space clean.
8114
8115         * tabular.[Ch] (docBook): Renamed to docbook and got another
8116         argument to related with the pernicious mixed content.
8117
8118         (docbookRow): Fixed calls for docbook inset method.
8119
8120 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8121
8122         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8123         so it's X11 independent.
8124
8125         * kb*.[Ch]: ditto.
8126
8127         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8128
8129 2002-06-15  Lyx Development team  <lyx@electronia>
8130
8131         * intl.h: Renamed getTrans to getTransManager.
8132
8133 2002-06-14  Angus Leeming  <leeming@lyx.org>
8134
8135         * Makefile.am: nuke forgotten stl_string_fwd.h.
8136
8137 2002-06-12  Angus Leeming  <leeming@lyx.org>
8138
8139         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8140
8141 2002-06-13  Angus Leeming  <leeming@lyx.org>
8142
8143         * LaTeX.C:
8144         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8145
8146 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8147
8148         * kbmap.C (getiso): add support for cyrillic and greek
8149
8150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * BufferView.h:
8153         * BufferView.C:
8154         * BufferView_pimpl.h:
8155         * BufferView_pimpl.C: move bogus scrolling logic
8156           to xforms
8157
8158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8159
8160         * lyxfunc.C:
8161         * BufferView_pimpl.C: view->resize() change
8162
8163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * BufferView_pimpl.C: topCursorVisible
8166           prototype change
8167
8168 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8169
8170         * Makefile.am:
8171         * lyx_gui.h:
8172         * lyx_gui.C: move to frontends/
8173
8174         * main.C:
8175         * lyx_main.h:
8176         * lyx_main.C: changes from above
8177
8178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * intl.C:
8181         * intl.h:
8182         * kbmap.C:
8183         * kbsequence.C:
8184         * lyx_cb.C:
8185         * lyx_main.C: minor tidy
8186
8187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * BufferView_pimpl.h:
8190         * BufferView_pimpl.C:
8191         * BufferView.h:
8192         * BufferView.C: make painter() const,
8193           remove dead code
8194
8195         * BufferView2.C: use screen() accessor
8196
8197         * lyx_main.h:
8198         * lyx_main.C: some minor cleanup
8199
8200 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * BufferView_pimpl.h:
8203         * BufferView_pimpl.C: remove enter/leaveView,
8204           use workHeight()
8205
8206 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * BufferView.h:
8209         * BufferView.C:
8210         * BufferView2.C:
8211         * BufferView_pimpl.h:
8212         * BufferView_pimpl.C: only construct screen once,
8213           rename
8214
8215         * lyxrc.C: remove pointless comment
8216
8217 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8218
8219         * BufferView.h:
8220         * BufferView.C: remove active() and belowMouse()
8221
8222         * BufferView_pimpl.h:
8223         * BufferView_pimpl.C: use workarea() not workarea_,
8224           and make it use a scoped_ptr instead
8225
8226 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * lyx_gui.C: add debug message on BadWindow
8229
8230 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8231
8232         * sp_spell.C: fdopen is not part of the C++ standard.
8233
8234         * paragraph.C (InsetIterator): use >= instead of ==
8235
8236 2002-06-07  Angus Leeming  <leeming@lyx.org>
8237
8238         Fixes needed to compile with Compaq cxx 6.5.
8239         * BufferView_pimpl.C:
8240         * DepTable.C:
8241         * buffer.C:
8242         * converter.C:
8243         * encoding.C:
8244         * lyx_gui.C:
8245         * lyx_main.C:
8246         * lyxtextclasslist.C:
8247         * minibuffer.C:
8248         * sp_spell.C:
8249         * tabular_funcs.C:
8250         * vc-backend.C:
8251         all c-library variables have been moved into namespace std. Wrap
8252         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8253
8254         * lyxlength.C:
8255         * tabular-old.C:
8256         * tabular.C:
8257         Add a using std::abs declaration.
8258
8259         * kbmap.h (modifier_pair):
8260         * paragraph.h (InsetTable, InsetList):
8261         * lyxfont.h (FontBits):
8262         type definition made public.
8263
8264         * bufferlist.C (emergencyWriteAll): the compiler complains that
8265         there is more than one possible lyx::class_fun template to choose from.
8266         I re-named the void specialisation as lyx::void_class_fun.
8267
8268         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8269
8270         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8271         the compiler is is unable to find tostr in write_attribute.
8272
8273 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * buffer.C (sgmlError): hide #warning
8276
8277 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8278
8279         * xtl/*: get rid of xtl, which is not in use anyway
8280
8281         * LyXAction.C (init):
8282         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8283         were unimplemented xtl experimentation
8284
8285 2002-06-04  André Pönitz <poenitz@gmx.net>
8286
8287         * lyxfunc.C: disable array operation on simple formulae
8288
8289 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * converter.C: constify a bit
8292
8293 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8294
8295         * lyx_gui.C: check xforms version correctly
8296
8297 2002-04-30  Herbert Voss  <voss@lyx.org>
8298
8299         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8300         "keep" option
8301
8302 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8305           attempt to register it with a VCS)
8306
8307 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8308
8309         * lyx_main.C (init): honor variables LYX_DIR_13x and
8310         LYX_USERDIR_13x
8311
8312 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * buffer.h:
8315         * buffer.C:
8316         * lyx_main.C: fix a crash on bad command line,
8317           and give a useful exit status on error
8318
8319         * lyxfunc.C (doImport): allow -i lyx to work
8320
8321 2002-03-30  André Pönitz <poenitz@gmx.net>
8322
8323         * lyxfunc.C: mathed font changes
8324
8325 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * LaTeX.C:
8328         * importer.h:
8329         * importer.C:
8330         * lyx_sty.h:
8331         * lyx_sty.C:
8332         * lyxlex.C:
8333         * lyxrow.h:
8334         * lyxtext.h:
8335         * paragraph.h:
8336         * paragraph.C:
8337         * texrow.h:
8338         * texrow.C:
8339         * text.C:
8340         * trans_mgr.h: srcdocs, and some minor cleanups
8341
8342 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8345         call getFont all the time)
8346
8347 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8348
8349         * switch from SigC signals to boost::signals
8350
8351 2002-05-29  André Pönitz <poenitz@gmx.net>
8352
8353         * paragraph_pimpl.C (getChar): don't call size() too often...
8354
8355 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8356
8357         * paragraph_pimpl.C (insertChar): do not try to update tables when
8358         appending (pos == size())
8359
8360         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8361         in order to reduce drastically the number of comparisons needed to
8362         parse a large document
8363
8364 2002-05-29  André Pönitz <poenitz@gmx.net>
8365
8366         * text.C:
8367         * text2.C:
8368         * lyxtextclass.C:
8369         * sp_pspell.h:
8370         * textclasslist.[Ch]:
8371         * sp_ispell.h: whitespace change
8372
8373 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8374
8375         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8376         lyxaction directly now.
8377
8378 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * trans.C:
8381         * lyxfont.C:
8382         * lyxvc.C: remove unused headers
8383
8384 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * Makefile.am:
8387         * buffer.h:
8388         * undostack.h:
8389         * undostack.C:
8390         * undo_funcs.h:
8391         * undo_funcs.C: some cleanups. Use shared_ptr
8392           and a template for the undo stacks.
8393
8394 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8395
8396         * BufferView_pimpl.h:
8397         * BufferView_pimpl.C:
8398         * kbmap.h:
8399         * kbmap.C:
8400         * kbsequence.h:
8401         * kbsequence.C:
8402         * lyxfunc.h:
8403         * lyxfunc.C:
8404         * text2.C: use key_state/mouse_state
8405
8406 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8407
8408         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8409         and LSubstring
8410
8411         * chset.C: change include order
8412         (loadFile): use boost regex and get rid of LRegex and LSubstring
8413
8414         * Makefile.am (BOOST_LIBS): new variable
8415         (lyx_LDADD): use it
8416
8417         * LaTeX.C: change include order.
8418         (scanAuxFile): use boost regex and get rid of LRegex and
8419         LSubstring
8420         (deplog): ditto
8421
8422 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * ColorHandler.h:
8425         * ColorHandler.C:
8426         * FontInfo.h:
8427         * FontInfo.C: moved to frontends/xforms/
8428
8429         * FontLoader.h:
8430         * FontLoader.C: moved into frontends for GUIIzation
8431
8432         * Makefile.am:
8433         * lyx_gui.C:
8434         * lyxfont.C:
8435         * lyxfunc.C: changes from above
8436
8437 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * LColor.C: remove spurious X include
8440
8441         * BufferView_pimpl.C:
8442         * Makefile.am:
8443         * font.h:
8444         * font.C:
8445         * text.C:
8446         * text2.C: move font metrics to frontends/
8447
8448 2002-05-24  Juergen Vigna  <jug@sad.it>
8449
8450         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8451         setting the undo_cursor.
8452
8453         * ParagraphParameters.h: include local includes first.
8454
8455 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8456
8457         * BufferView_pimpl.C:
8458         * BufferView_pimpl.h:
8459         * Makefile.am:
8460         * WorkArea.h:
8461         * WorkArea.C:
8462         * screen.C: move WorkArea into frontends/
8463
8464         * lyxscreen.h:
8465         * screen.C:
8466         * text.C:
8467         * BufferView.C:
8468         * BufferView2.C: move LyXScreen into frontends/
8469
8470         * lyxlookup.h:
8471         * lyxlookup.C:
8472         * lyx_gui.C: move lyxlookup into frontends/xforms/
8473
8474 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8475
8476         * BufferView2.C:
8477         * BufferView_pimpl.C:
8478         * FontLoader.C:
8479         * LyXView.h:
8480         * LyXView.C:
8481         * Makefile.am:
8482         * WorkArea.C:
8483         * XFormsView.h:
8484         * XFormsView.C:
8485         * buffer.C:
8486         * bufferlist.C:
8487         * bufferview_funcs.C:
8488         * converter.C:
8489         * importer.C:
8490         * lyx_cb.C:
8491         * lyx_gui.C:
8492         * lyx_main.C:
8493         * lyx_find.C:
8494         * lyxfunc.C:
8495         * lyxvc.C:
8496         * minibuffer.C:
8497         * text.C:
8498         * text2.C:
8499         * trans.C:
8500         * vc-backend.C: move LyX/XFormsView into frontends/
8501
8502 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8503
8504         * Makefile.am:
8505         * PainterBase.C:
8506         * PainterBase.h:
8507         * Painter.C:
8508         * Painter.h:
8509         * WorkArea.C:
8510         * WorkArea.h:
8511         * screen.C:
8512         * tabular.C:
8513         * text.C:
8514         * text2.C: move Painter to frontends/
8515
8516 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8517
8518         * buffer.C: comment out some some code that depend upon lyx_format
8519         < 220
8520
8521         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8522         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8523
8524         * buffer.h (NO_COMPABILITY): turn off compability
8525
8526         * ColorHandler.C: include scoped_array.hpp
8527
8528         * font.C: Use more specific smart_ptr header.
8529         * Painter.C: ditto
8530         * gettext.C: ditto
8531         * ShareContainer.h: ditto
8532         * lyx_main.h: ditto
8533         * kbmap.h: ditto
8534         * FontInfo.h: ditto
8535         * BufferView_pimpl.h: ditto
8536         * ColorHandler.h: ditto
8537
8538         * kbmap.C (defkey): change call to shared_ptr::reset
8539
8540 2002-05-21  Juergen Vigna  <jug@sad.it>
8541
8542         * buffer.C (insertErtContents): fix to insert ert asis if it is
8543         non empty. Skip it completely if it contains only whitespaces.
8544
8545 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * BufferView_pimpl.C:
8548         * BufferView2.C: clear selection on paste (bug 393)
8549
8550 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8551
8552         * DepTable.C: include ctime
8553
8554 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8555
8556         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8557
8558 2002-05-14  Juergen Vigna  <jug@sad.it>
8559
8560         * text.C (breakParagraph): fixed function to honor the keepempty
8561         layout in the right maner and also to permit the right breaking
8562         algorithm on empty or non empyt keepempty paragraphs.
8563
8564         * paragraph.C (breakParagraph): we have to check also if the par
8565         is really empty (!size()) for isempty otherwise we do the wrong
8566         paragraph break.
8567
8568 2002-05-10  Juergen Vigna  <jug@sad.it>
8569
8570         * buffer.[Ch] : The following are only changes to the ert
8571         compatibility read reading old LaTeX layout and font stuff and
8572         convert it to ERTInsets.
8573
8574         * buffer.h: added isErtInset().
8575
8576         * buffer.C (struct ErtComp): add a fromlayout bool to check
8577         if we're inside a LaTeX layout.
8578         (isErtInset): new helper function.
8579         (insertErtContents): look for other ert insets before this one
8580         and insert the contents there, so that we don't have subsequent
8581         ERT insets with nothing between them. This way we create only one
8582         inset with multiple paragraphs. Also check if we don't insert only
8583         spaces ' ' as they are ignored anyway afterwards in the .tex file
8584         so if we have only spaces we will ignore this latex part in the
8585         new file.
8586         (parseSingleLyXformat2Token \\layout): better compatibility when
8587         reading layout-latex stuff.
8588         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8589         language tag.
8590         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8591         stuff after reading the inset only get the information back from
8592         the stack.
8593
8594 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8595
8596         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8597
8598         * LaTeXFeatures.C (getBabelOptions): New method.
8599
8600 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8601
8602         * BufferView_pimpl.C (Dispatch): work around missing argument for
8603         'layout'
8604
8605 2002-05-08  Juergen Vigna  <jug@sad.it>
8606
8607         * text.C (leftMargin): handle paragraph leftindent.
8608
8609         * paragraph.C (writeFile): write the new \\leftindent tag.
8610         (validate): handle leftindent code.
8611         (TeXEnvironment): handle paragraphleftindent code again.
8612
8613         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8614
8615         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8616         for paragrap_extra indent code and new token \\leftindent.
8617         (latexParagraphs): handle the leftindent as environment.
8618
8619         * ParameterStruct.h: added leftindent support.
8620
8621         * ParagraphParameters.C (leftIndent): added support functions for
8622         the paragraph left indent.
8623
8624         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8625         more appropriate.
8626
8627 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8628
8629         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8630         inside insetERT.
8631
8632         * text.C (computeBidiTables): No bidi in insetERT.
8633
8634         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8635         in RTL documents.
8636
8637 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8638
8639         * version.C.in: pre 5
8640
8641 2002-05-02  José Matos  <jamatos@fep.up.pt>
8642         * buffer.C (makeDocBookFile): white space changes, add newline to
8643         command styles.
8644         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8645
8646         * tabular.C (docBook): fix typo.
8647
8648 2002-05-03  Juergen Vigna  <jug@sad.it>
8649
8650         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8651         change in LyXText as we can not be sure it was not freed.
8652         (drawOneRow): remove unused code.
8653
8654         * text.C (drawInset): redo the calculation of the need_break_row as
8655         it could have a row which was already freed.
8656         (draw): look at the return value of drawInset and return false if
8657         it also returned false.
8658         (paintRowText): look at the return value of draw and return false if
8659         it also returned false.
8660
8661         * lyxtext.h: added bool return type to drawInset() and draw() so that
8662         if we have a change in the row so that the rowbreak has to be redone
8663         we abort drawing as it will be called again.
8664
8665 2002-05-02  Juergen Vigna  <jug@sad.it>
8666
8667         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8668         a change in the maintext also if we're inside an inset.
8669         (Dispatch): set the cursor again after a break line and after the
8670         screen has been updated as it could be we're in a different row.
8671
8672         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8673         to set the cursor behind the pargraph with > size().
8674         (setCursor): check also for the same paragraph when checking where
8675         to put the cursor if we have a NFR inset.
8676
8677         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8678         parts of layout read further up as it still was in the wrong
8679         position.
8680
8681 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8682
8683         * screen.C (drawFromTo): change sine fullRebreak always return
8684         true.
8685
8686         * buffer.C (parseSingleLyXformat2Token): reindent some
8687
8688         * BufferView_pimpl.C (update): change since fullRebreak always
8689         return true.
8690         (Dispatch): git rid of the last hardcoded "Standard"s.
8691
8692 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8693
8694         * text2.[Ch] (fullRebreak): make it return void now that we always
8695         returned true.
8696
8697 2002-04-30  Juergen Vigna  <jug@sad.it>
8698
8699         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8700         ert compatibility check for "latex" layout.
8701
8702 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8703
8704         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8705         minipages: use col% instead of p%, and also use the current font.
8706         (makeLaTeXFile): Fix use babel condition.
8707         (parseSingleLyXformat2Token): Correct font when reading old floats.
8708
8709 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8710
8711         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8712         inserting list of floats.
8713
8714 2002-04-25  Herbert Voss  <voss@lyx.org>
8715
8716         * MenuBackend.C (expand): don't add the graphics extensions to the
8717         export menu
8718
8719 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8720
8721         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8722         non-existing layout, do not complain if it was the default layout
8723         of the original class (bug #342)
8724
8725 2002-04-24  Juergen Vigna  <jug@sad.it>
8726
8727         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8728         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8729
8730 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8731
8732         * buffer.C (getBibkeyList): If using \bibliography, return the
8733         option field with the reference itself. Enables us to provide natbib
8734         support when using \bibliography.
8735
8736 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8737
8738         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8739
8740         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8741         natbib is provided by the LaTeX class.
8742
8743 2002-04-23  Juergen Vigna  <jug@sad.it>
8744
8745         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8746         Wakeup functions.
8747
8748         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8749
8750 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8753
8754         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8755         ensuremath around textordmasculine, textordfeminine and
8756         textdegree.
8757
8758 2002-04-19  Juergen Vigna  <jug@sad.it>
8759
8760         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8761         reinitializing the buffer otherwise row-dimensions may be wrong.
8762         (update): reset also the selection cursors if they do exits otherwise
8763         their x/y positions may be wrong.
8764
8765         * text2.C (cursorDown): don't enter the inset if we came from a row
8766         above and are one row over the inset.
8767
8768         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8769         really leaving an inset.
8770
8771 2002-04-18  Juergen Vigna  <jug@sad.it>
8772
8773         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8774         of the selected paragraph does not have the selected layout also if
8775         the last one had!
8776
8777         * text2.C (setLayout): fixed bug which did not change last selected
8778         paragraph.
8779
8780         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8781         changed the read and substituted \\end_float with \\end_inset!
8782
8783         * BufferView_pimpl.C (cursorPrevious):
8784         (cursorNext): fixed to make it work with rows heigher than the work
8785         area without moving the cursor only the draw of the row.
8786         (workAreaMotionNotify): fix jumping over high rows.
8787
8788 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8789
8790         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8791         Ressler.
8792
8793 2002-04-16  Juergen Vigna  <jug@sad.it>
8794
8795         * text2.C (setCursor): set also the irow().
8796         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8797         (cursorUp):
8798         (cursorDown): support for locking an inset if the x_fix value goes
8799         inside it. That way I can transverse insets too with cursor up/down.
8800
8801         * lyxrow.h: added irow helper function same as other (i) functions.
8802
8803         * BufferView_pimpl.C (cursorPrevious):
8804         (cursorNext): fixed for insets!
8805
8806 2002-04-15  Juergen Vigna  <jug@sad.it>
8807
8808         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8809         position otherwise it is wrong in some cases.
8810
8811         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8812         inside the inset before the call.
8813
8814 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8815
8816         * buffer.[Ch] (getBibkeyList): make it const.
8817
8818 2002-04-12  Juergen Vigna  <jug@sad.it>
8819
8820         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8821
8822         * text2.C (getCursorX): new helper function
8823         (setCursor): compute also ix_
8824         (setCursorFromCoordinates): set also ix.
8825
8826         * lyxcursor.h: added ix_ and helper functions.
8827
8828         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8829
8830         * buffer.C (insertStringAsLines): dont break paragraph if the this
8831         paragraph is inside an inset which does not permit it!
8832
8833         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8834         also with no chars on this paragraph.
8835         (paintRowText): only paint stuff if it's inside the workarea!
8836
8837         * paragraph.C (breakParagraph): honor keepempty flag and break the
8838         paragraph always below not above.
8839
8840         * BufferView2.C (unlockInset): update the paragraph layout on inset
8841         unlock as we changed paragraph in such a case.
8842
8843         * lyxfind.C (LyXFind): clear the former selection if not found!
8844
8845         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8846         again called in insertChar().
8847
8848         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8849         an inset which uses the whole row!
8850         (rightMargin): ditto.
8851         (insertChar): force a rebreak if we inserted an inset!
8852
8853 2002-03-28  Herbert Voss  <voss@lyx.org>
8854
8855         * lyxlength.[Ch]: add inBP() to get the right PS-point
8856         units (BigPoint). With inPixels we have rounding errors
8857
8858 2002-04-11  Juergen Vigna  <jug@sad.it>
8859
8860         * text2.C (setCursorFromCoordinates): set iy to the right value.
8861         (setCursor): add check if row->previous exists!
8862
8863         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8864         an old float_type as this was the case in the old code!
8865
8866         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8867
8868         * BufferView2.C (showLockedInsetCursor): use iy
8869         (fitLockedInsetCursor): ditto
8870
8871         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8872         locked insets as there we have the right value now.
8873
8874         * lyxcursor.C: added iy_ variable and iy functions to set to the
8875         baseline of cursor-y of the locked inset.
8876
8877         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8878         (setCursor): fixed for insets which need a full row.
8879
8880         * text.C (rowLastPrintable): don't ignore the last space when before
8881         an inset which needs a full row.
8882         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8883         as last character of a row when before a inset which needs a full row.
8884
8885 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8886
8887         * version.C.in: update date
8888
8889         * text2.C (fullRebreak): try to always return true and see what
8890         happens...
8891
8892 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * MenuBackend.C (expand): use Floating::listName
8895
8896         * FloatList.C (FloatList): add listName argument to the built-in
8897         floats
8898
8899         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8900         text associated with the float.
8901
8902 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8905
8906 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * ShareContainer.h: add a couple of missing typenames.
8909
8910 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8911
8912         * lyxrc.C (getDescription): use _() correctly rather than N_().
8913
8914 2002-03-28  Herbert Voss  <voss@lyx.org>
8915
8916         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8917         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8918
8919 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8922         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8923
8924 2002-03-29  Juergen Vigna  <jug@sad.it>
8925
8926         * lyxfunc.C (dispatch): add a missing fitCursor call.
8927
8928         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8929         it was scrolled by a cursor move, so return the bool status.
8930
8931         * BufferView.C (fitCursor): return the bool flag also to the outside
8932         world as this is needed.
8933
8934         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8935
8936         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8937         call the edit() as it is not needed (and wrong) IMO.
8938         (workAreaButtonPress): set the screen_first variable before evt.
8939         unlock the inset as this may change screen_first and then we have
8940         a wrong y position for the click!
8941
8942 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * MenuBackend.C (expand): another translation that I missed
8945
8946 2002-03-28  Juergen Vigna  <jug@sad.it>
8947
8948         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8949
8950         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8951
8952 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8953
8954         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8955
8956         * MenuBackend.C (expand): fix export/view/update when there is no
8957         document open.
8958
8959 2002-03-27  Herbert Voss  <voss@lyx.org>
8960
8961         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8962         and text%
8963
8964 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * bufferview_funcs.C (currentState): only show paragraph number
8967         for is DEVEL_VERSION is set.
8968
8969         * lyxfunc.C (dispatch): put warning in INFO channel
8970
8971         * MenuBackend.C (expand): translate the name of floats
8972
8973         * FloatList.C (FloatList): mark the float names for translation
8974
8975         * converter.C (convert): use LibScriptSearch
8976
8977 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * MenuBackend.C (defaults): fix default menu (we might as well get
8980         rid of it...)
8981
8982 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8983
8984         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8985         directory.
8986
8987 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * lyxvc.C: reorder includes.
8990
8991 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8994           properly
8995
8996 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * CutAndPaste.C: change layouts earlier on paste
8999           to avoid crashing when calling getFont()
9000
9001 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9002
9003         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9004         irritating #error.
9005
9006 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9007
9008         * WorkArea.C: remove 'Pending' debug message.
9009
9010         * most files: ws cleanup
9011
9012         * buffer.[Ch]: ws changes
9013
9014         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9015
9016 2002-03-21  Juergen Vigna  <jug@sad.it>
9017
9018         * tabular.C (SetMultiColumn): collapse also the contents of the
9019         cells and set the last border right. Added a Buffer const * param.
9020
9021 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9022
9023         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9024         linking or not.
9025
9026 2002-03-19  Juergen Vigna  <jug@sad.it>
9027
9028         * text2.C (clearSelection): reset also xsel_cache.
9029
9030         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9031         where it needs to be called (John tells us to do so too :)
9032         (selectionLost): reset sel_cache.
9033
9034         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9035
9036 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * text2.C (setCursorIntern): put debuging code in INSETS channel
9039
9040 2002-03-19  André Pönitz <poenitz@gmx.net>
9041
9042         * lyxfunc.C: tiny whitespace change
9043
9044 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9045
9046         * ToolbarDefaults.C (init):
9047         * LyXAction.C (init):
9048         * commandtags.h:
9049         * BufferView_pimpl.C (Dispatch):
9050         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9051
9052 2002-03-19  Allan Rae  <rae@lyx.org>
9053
9054         * exporter.C (Export): removeAutoInsets before doing anything else.
9055         While I've just introduced a dependency on BufferView this really is
9056         the best place to clean the buffer otherwise you need to cleanup in
9057         a dozen places before calling export or cleanup in a dozen functions
9058         that export calls.
9059
9060         * converter.C (runLaTeX):
9061         (scanLog): Better handling of removeAutoInsets and screen updates.
9062
9063         * lyxfunc.C (dispatch): small whitespace changes
9064
9065 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9066
9067         * WorkArea.C (C_WorkAreaEvent): return a value.
9068         (event_cb): return 1 if we handled the event, 0 otherwise.
9069
9070         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9071
9072 2002-03-18  Juergen Vigna  <jug@sad.it>
9073
9074         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9075         (GetAdditionalWidth): ditto.
9076         (RightLine): ditto.
9077         (LeftLine): ditto.
9078
9079         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9080         inset if we're there actually (probably not used right now but this
9081         is the direction to go for unifying code).
9082         (paste): disable code to clear the selection.
9083
9084         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9085         inside an InsetText and move the check further up as it is in the
9086         wrong place.
9087
9088         * text2.C (pasteSelection): set a selection over the pasted text.
9089
9090 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9091
9092         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9093         and libgraphics to build on Cygwin.
9094
9095 2002-03-15  Juergen Vigna  <jug@sad.it>
9096
9097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9098         inserting an Inset into the paragraph. I know this is not the best
9099         fix but we already use current_view in CutAndPaste so we will remove
9100         all of it's using at the same time.
9101
9102         * buffer.C (sgmlError): deactivated function till it is rewritten in
9103         the right mode, now it can create problems.
9104
9105         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9106         before accessing it.
9107
9108 2002-03-14  Juergen Vigna  <jug@sad.it>
9109
9110         * undo_funcs.C (textHandleUndo): do the right thing when updating
9111         the inset after the undo/redo.
9112
9113         * text2.C (setCursor): just some testcode for #44 not ready yet.
9114
9115         * undo_funcs.C (textHandleUndo): set the next() and previous()
9116         pointers of the paragraph to 0 before deleting otherwise we have
9117         problems with the Paragraph::[destructor].
9118
9119         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9120         on a paragraph insertion.
9121
9122 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * buffer.C (asciiParagraph): use += operator for char append to
9125         string.
9126
9127         * paragraph.C (getFontSettings): compare >= not just >
9128         (highestFontInRange): ditto
9129         (setFont): ditto
9130
9131 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * paragraph.C: change several algorithm to be more appripriate for
9134         the problem domain. This is lookip in FontList and in the InsetList.
9135
9136 2002-03-13  André Pönitz <poenitz@gmx.net>
9137
9138         * commandtags.h:
9139         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9140
9141 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9142
9143         * commandtags.h:
9144         * LyXAction.C:
9145         * lyxfunc.C:
9146         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9147
9148 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * Painter.C (display): anon helper function, adjust code for this
9151         change.
9152         (pixmap): remove function.
9153
9154         * Painter.h: remove private display variable.
9155
9156         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9157
9158 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9159
9160         * WorkArea.[Ch]: remove figinset_canvas cruft.
9161
9162 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9163
9164         * lyxtextclass.C (operator): add one item cache optimization.
9165
9166         * bufferlist.h: doxy changes
9167
9168         * bufferlist.C: ws changes
9169
9170         * DepTable.[Ch] (ext_exist): place const in the right spot.
9171
9172         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9173         call resizeInsets.
9174         (workAreaExpose): call resizeInsets when the with BufferView changes.
9175         (Dispatch): adjust for protectedBlank removal
9176         (specialChar): call updateInset if the insert went ok.
9177
9178         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9179         specialChar instead.
9180
9181         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9182
9183         * BufferView.h: doxy change
9184
9185         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9186
9187         * lyxtextclass.C (operator[]): remove non-const version
9188         (defaultLayout): remove non-const version
9189
9190 2002-03-12  Juergen Vigna  <jug@sad.it>
9191
9192         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9193         did resize the LyXText too.
9194
9195         * buffer.C (readLyXformat2): set layout information on newly allocated
9196         paragraphs.
9197
9198         * tabular.C (OldFormatRead): set layout information on the paragraph.
9199
9200 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9201
9202         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9203
9204 2002-03-11  Juergen Vigna  <jug@sad.it>
9205
9206         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9207         plainly wrong.
9208         (resizeCurrentBuffer): force also the insets to resize themselfes.
9209         (moveCursorUpdate): fixed up for InsetText.
9210
9211 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9212
9213         * commandtags.h:
9214         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9215         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9216         value of Dialogs::tooltipsEnabled().
9217         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9218
9219 2002-03-08  Juergen Vigna  <jug@sad.it>
9220
9221         * BufferView_pimpl.C (updateInset): update inset inside inset also
9222         if it isn't inside theLockingInset().
9223
9224 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * buffer.C (asciiParagraph): redo some of the word and line length
9227         handling.
9228         (getLists): look for Caption instead of caption.
9229
9230 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * buffer.C (Buffer): initialize niceFile to true
9233         (makeLaTeXFile):
9234         (makeLinuxDocFile):
9235         (makeDocBookFile): make sure niceFile is true on exit
9236
9237 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9238
9239         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9240
9241 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9242
9243         * LyXSendto.C: remove.
9244         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9245         * lyx_gui.C: remove now-redundant comment.
9246         * ColorHandler.h: remove forward declaration of class WorkArea.
9247         * lyxfunc.C: remove #include "WorkArea.h".
9248
9249 2002-03-07  Juergen Vigna  <jug@sad.it>
9250
9251         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9252         got moved away with the DEPM and also set the inset_owner always
9253         right which before could have been omitted.
9254
9255 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9258         wanted layout is not found.
9259
9260 2002-03-07  Juergen Vigna  <jug@sad.it>
9261
9262         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9263
9264 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * paragraph.C (breakParagraph): use default layout not layout of
9267         prev paragraph.
9268         (Paragraph): clear ParagraphParameters.
9269
9270 2002-03-06  Juergen Vigna  <jug@sad.it>
9271
9272         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9273         otherwise it would not be a valid lenght. Fixed a special case in
9274         the minipage compatibility read where we end the document with a
9275         minipage.
9276
9277         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9278         was set as it could be 0 for InsetTexts first entry.
9279
9280 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * paragraph.C (writeFile): if layout is empty write out
9283         defaultLayoutName().
9284
9285         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9286         file without named layout we set layout to defaultLayoutName().
9287
9288 2002-03-06  Juergen Vigna  <jug@sad.it>
9289
9290         * CutAndPaste.C (copySelection): set layout for new paragraph.
9291
9292         * text.C (prepareToPrint): leave ERT inset left aligned
9293         (leftMargin): don't indent paragraphs inside ERT insets
9294
9295 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9296
9297         * paragraph.C (breakParagraph): dont call clear do the work manually
9298
9299         * paragraph.[Ch] (clear): remove function
9300
9301 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9302
9303         * paragraph.C (Paragraph): dont call clear, the work has already
9304         been done.
9305
9306         * lyxtextclass.C (operator): assert if n is empty
9307
9308         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9309         work manually instead.
9310
9311 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * BufferView_pimpl.C: protect selectionLost against text == 0
9314
9315 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * text.C (breakParagraph): fix a setting layout to '0' problem.
9318
9319 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9320
9321         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9322         final location of file, for the included files, and graphics.
9323
9324 2002-03-05  Juergen Vigna  <jug@sad.it>
9325
9326         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9327
9328 2002-03-04  Juergen Vigna  <jug@sad.it>
9329
9330         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9331
9332         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9333         last column of multicolumn cells.
9334         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9335
9336 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9337
9338         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9339         file if it doesn't go to a temporary file.
9340
9341         * buffer.C (sgmlOpenTag):
9342         (sgmlCloseTag):  remove extra newline insertion.
9343
9344 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9345
9346         * text.C (getRowNearY): comment out debug msg
9347
9348 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9349
9350         * text2.C: first -> first_y
9351
9352         * text.C (getRowNearY): add some attemts at a possible
9353         optimization, not working.
9354
9355         * tabular.[Ch]: add BufferParams to several function so that newly
9356         created paragraph can be initialized to he default layotu for the
9357         buffers textclass.
9358
9359         * tabular-old.C (ReadOld): add buf->params to call of Init
9360
9361         * screen.C: rename text->first to text->first_y
9362
9363         * paragraph.C (breakParagraph): always set layout in the broken
9364         paragraph
9365
9366         * lyxtextclass.C (Read): remove lowercase
9367         (hasLayout): ditto
9368         (operator): ditto
9369         (delete_layout): ditto
9370
9371         * lyxtext.h: rename first -> first_y
9372
9373         * lyxlayout.C (Read): remove lowercase
9374         (name): ditto
9375         (setName): ditto
9376         (obsoleted_by): ditto
9377
9378         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9379
9380         * buffer.C (insertErtContents): add params are to InsetERT
9381         (parseSingleLyXformat2Token): add code to check if a paragraphs
9382         layout really exist.
9383         (parseSingleLyXformat2Token): add params to several inset
9384         constructors
9385         (asciiParagraph): remove lowercase, do the layout comparisons with
9386         no_case
9387
9388         * BufferView_pimpl.C (cursorNext): first -> first_y
9389         (resizeCurrentBuffer): first -> first_y
9390         (updateScrollbar): first -> first_y
9391         (scrollCB): first -> first_y
9392         (workAreaMotionNotify): first -> first_y
9393         (workAreaButtonPress): first -> first_y
9394         (checkInsetHit): first -> first_y
9395         (cursorPrevious): first -> first_y
9396         (cursorNext): first -> first_y
9397         (Dispatch): add buffer_->params to severl inset contructors
9398
9399 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * lyxlayout.C (Read): remove some debug info that I forgot.
9402
9403         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9404         clean up the code slightly.
9405         (makeLinuxDocFile): ditto
9406         (makeDocBookFile): ditto
9407
9408         * text2.C: layout as string
9409
9410         * text.C: layout as string
9411
9412         * paragraph_pimpl.C: layout as string
9413
9414         * paragraph.[Ch]: layout as string
9415
9416         * lyxtextclasslist.[Ch]: layout as string
9417
9418         * lyxtextclass.[Ch]: layout as string
9419
9420         * lyxtext.h: layout as string
9421
9422         * lyxlayout.[Ch]: layout as string
9423
9424         * lyx_cb.C: layout as string
9425
9426         * bufferview_funcs.C: layout as string
9427
9428         * bufferparams.C: layout as string
9429
9430         * buffer.C: layout as string
9431
9432         * LyXView.[Ch]: layout as string
9433
9434         * LaTeXFeatures.[Ch]: layout as string
9435
9436         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9437
9438         * BufferView_pimpl.C: change current_layout to string, remove
9439         lyx::layout_type.
9440         (Dispatch):
9441         (smartQuote):
9442         (insertInset):
9443         (workAreaButtonRelease): layout as string
9444
9445         * BufferView2.C (unlockInset): adjust
9446
9447         * vspace.C (asLatexCommand): use an explict temp variable.
9448
9449 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9450
9451         * Makefile.am: use FRONTEND_*
9452
9453 2002-03-01  Juergen Vigna  <jug@sad.it>
9454
9455         * tabular.C (SetWidthOfMulticolCell): changed to something better
9456         I hope but still work in progress.
9457         (recalculateMulticolumnsOfColumn): renamed function from
9458         recalculateMulticolCells as it is more appropriate now.
9459         (SetWidthOfCell): calculate multicols better.
9460
9461 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9464
9465         * lyxfunc.C (processKeySym): print sequence also if it is
9466         `deleted' (complete)
9467
9468         * kbsequence.C (print): print sequence even if it is deleted
9469         (complete would be a better word, actually).
9470
9471         * lyxfunc.C (dispatch): print complete options after a prefix key
9472
9473         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9474
9475 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9476
9477         * text2.C (setCharFont): eliminate setCharFont code duplication.
9478
9479 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9482         LFUN_TABULAR_FEATURE (bug #177)
9483
9484 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * Makefile.am: remove figure.h
9487
9488 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9489
9490         * Bufferview_pimpl.C:
9491         * CutAndPasteC:
9492         * LaTeX.C:
9493         * LyXSendto.C:
9494         * buffer.C:
9495         * bufferlist.C:
9496         * converter.C:
9497         * language.C:
9498         * lyxfunc.C:
9499         * lyxvc.C:
9500         * paragraph.C:
9501         * text.C:
9502         * text2.C: remove #include "lyx_gui_misc.h".
9503
9504         * LaTeX.C: added #include <cstdio>
9505
9506 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9509         that the paragraph following this one can have.
9510
9511         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9512
9513         * vspace.C (asLatexCommand): fix bogus gcc warning
9514
9515         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9516
9517 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9518
9519         * text2.C (setLayout): get rid of redundant code
9520
9521 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9522
9523         * text2.C (incDepth): make sure depth cannot be increased beyond
9524         reasonable values.
9525
9526 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9527
9528         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9529         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9530
9531         * PainterBase.h (image):
9532         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9533         a LyXImage const *.
9534
9535 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * BufferView.C:
9538         * BufferView.h:
9539         * BufferView_pimpl.C:
9540         * BufferView_pimpl.h:
9541         * LaTeXFeatures.C:
9542         * LyXAction.C:
9543         * LyXView.C:
9544         * Makefile.am:
9545         * UpdateList.h:
9546         * UpdateList.C:
9547         * buffer.C:
9548         * figure.h:
9549         * figureForm.C:
9550         * figureForm.h:
9551         * figure_form.C:
9552         * figure_form.h:
9553         * lyx_cb.C:
9554         * lyx_gui.C:
9555         * lyx_gui_misc.C:
9556         * lyxfunc.C:
9557         * sp_base.h:
9558         * sp_ispell.h:
9559         * sp_pspell.h:
9560         * sp_spell.C: remove fig inset, and the crap house of
9561           cards that follows it
9562
9563 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9564
9565         * Makefile.am:
9566         * lyxserver.C:
9567         * os2_defines.h:
9568         * os2_errortable.h:
9569         * nt_defines.h: move .h into support/
9570
9571         * vms_defines.h: remove
9572
9573         * WorkArea.C: add space in debug output
9574
9575         * text2.C:
9576         * paragraph.C:
9577         * buffer.C: add WITH_WARNINGS
9578
9579         * vc-backend.h:
9580         * vc-backend.C:
9581         * bufferlist.C: s/retrive/retrieve/, add docs
9582
9583         * vspace.h:
9584         * vspace.C:
9585         * kbmap.h:
9586         * lyxlength.h:
9587         * lyxgluelength.h:
9588         * length_common.h:
9589         * chset.h:
9590         * chset.C: add docs
9591
9592         * lyxgui.C: add ID to X error handler
9593
9594         * lyxtestclass.c: fix typo
9595
9596 2002-02-26  Juergen Vigna  <jug@sad.it>
9597
9598         * tabular_funcs.C (write_attribute): changed so that some default
9599         attributes are not written at all.
9600         (getTokenValue): set default values before trying to read the
9601         value so we have the return value always set as default if we don't
9602         find the token we search for.
9603
9604         * tabular.C (Write): write bools as bools not as strings!
9605
9606 2002-02-22  Juergen Vigna  <jug@sad.it>
9607
9608         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9609         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9610
9611         * text.C (leftMargin): don't add an indent for paragraphs inside
9612         tabular cells (fix #208).
9613
9614 2002-02-21  José Matos  <jamatos@fep.up.pt>
9615
9616         * tabular.C (docBook): fixed support for long tables.
9617
9618 2002-02-20  Juergen Vigna  <jug@sad.it>
9619
9620         * text2.C (getFont): get the drawing font of the Inset if this
9621         paragraph is inside an inset (only important for InsetERT for now).
9622
9623         * buffer.C (insertErtContents): use new lanugage params in ERT
9624         constructor.
9625
9626         * CutAndPaste.C: commenting out seemingly uneeded code.
9627
9628 2002-02-19  Allan Rae  <rae@lyx.org>
9629
9630         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9631         Iterators might be simple to use but they also get invalidated.
9632         (removeAutoInsets): renamed saved cursor tracking variables and added
9633         some comments to clarify what everything does.
9634
9635 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9636
9637         * Chktex.C:
9638         * LaTeX.C:
9639         * LyXSendto.C:
9640         * converter.C:
9641         * lyx_cb.C:
9642         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9643         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9644
9645         * lyxfunc.C:
9646         * vc-backend.h: remove #include "support/syscall.h"
9647
9648         * LaTeX.C:
9649         * LyXSendto.C:
9650         * converter.C: rearrange #includes in Lars' approved fashion.
9651
9652         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9653         forward declare class Timeout in the header file.
9654
9655         * XFormsView.C: changes due to the above.
9656
9657         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9658         similar to LyXView.
9659
9660         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9661         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9662
9663 2002-02-18  José Matos  <jamatos@fep.up.pt>
9664
9665         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9666         insets contents.
9667
9668 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9669
9670         * a lot of small ws changes
9671         * add a lot of using std::XXX
9672         * use std construcs some places where approp.
9673         * use some exisint stuff from lyxfunctional where approp.
9674         * Make file changes to use partial linking (lets test this now...)
9675
9676 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9677
9678         * Chktex.C:
9679         * buffer.C:
9680         remove #include "support/syscontr.h" as it's redundant. Always has been.
9681
9682         * Chktex.C:
9683         * LaTeX.C:
9684         * LyXSendto.C:
9685         * converter.C:
9686         * lyx_cb.C:
9687         * vc-backend.C:
9688         change Systemcalls::System to Systemcalls::Wait and
9689         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9690         No change of functionality, just reflects the stripped down Systemcalls
9691         class.
9692
9693 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * debug.[Ch]: add a GRAPHICS type to the enum.
9696
9697 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9700
9701         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9702         there is an inset.
9703
9704 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9707         match the changes below.
9708
9709         * text2.C (toggleInset): if there is not editable inset at cursor
9710         position, try to see if cursor is _inside_ a collapsable inset
9711         and close it.
9712
9713 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9716         document menu has a nice checkbox
9717
9718 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * lyxlength.C (asLatexString): change PW to output as percent of
9721         \textwidth.
9722
9723         * lengthcommon.C: change '%' to 't%'
9724
9725         * lyxfunc.C (dispatch): a few comments from Martin
9726
9727 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * WorkArea.h:
9730         * WorkArea.C:
9731         * BufferView_pimpl.h:
9732         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9733           the X selection.
9734
9735 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9736
9737         * vspace.C (inPixels): fix compiler warning
9738
9739 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9740
9741         * lyxfunc.C (getStatus): fix status message for disabled commands.
9742
9743 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * BufferView_pimpl.C: fix crash on close buffer
9746         during selection (#227)
9747
9748 2002-01-27  Herbert Voss  <voss@lyx.org>
9749
9750         * buffer.C: link old Figure to new graphic inset
9751
9752 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9753
9754         * FontLoader.C (getFontinfo): Change the latex font names in order
9755         to match the names of type1inst.
9756
9757 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9760
9761         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9762         (extchanged): ditto
9763         (ext_exist): ditto
9764         (remove_files_with_extension): ditto
9765         (remove_file): ditto
9766         (write): ditto
9767
9768         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9769         document is smaller than the work area height. Do not initialize
9770         static variables to 0.
9771
9772 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9775
9776         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9777         LFUN_LAYOUT_PARAGRAPHS.
9778
9779         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9780         tabular. It is possible to provide a possible cell, which will
9781         typically be the actcell from the corresponding insettabular
9782
9783         * lyxfunc.C (getStatus): small cleanup; disable
9784         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9785         true
9786
9787 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9788
9789         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9790
9791         * paragraph.C (startTeXParParams):
9792         (endTeXParParams): new methods. The LaTeX code to
9793         start/end paragraph formatting
9794         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9795         empty (fixes bug #200)
9796
9797         * vspace.C (inPixels): adapt to the change below
9798         (inPixels): [later] more cleanups (remove unused variables)
9799
9800         * lyxlength.C (inPixels): change to use a width and a height as
9801         parameter.
9802
9803 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9804
9805         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9806         Replaced with \paperwidth
9807
9808         * DepTable.C (insert): add std:: qualifier
9809
9810 2002-01-18  Allan Rae  <rae@lyx.org>
9811
9812         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9813         updated also?
9814
9815         * text.C (drawInset): Turned out I didn't know enough about how
9816         rebreaking worked.  This fixes most of the redraw problems.  I see
9817         an occasional cursor trail when a line is broken now and the cursor
9818         placement can seem out by a few pixels also after a rebreak.
9819
9820 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * buffer.C (parseSingleLyXformat2Token): update because minipage
9823         width is now a LyXLength
9824
9825         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9826
9827         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9828         math insets
9829
9830 2002-01-17  Juergen Vigna  <jug@sad.it>
9831
9832         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9833
9834         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9835         is set correctly and the inset is updated correctly.
9836
9837 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9840         the beginning of the loop.
9841
9842 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxrc.C: improve help for use_scalable_fonts
9845
9846 2002-01-17  Allan Rae  <rae@lyx.org>
9847
9848         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9849
9850 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9853         make sure to set their inset_owner to the right value (bug #171)
9854
9855 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9856
9857         * DepTable.h
9858         * DepTable.C: Implement mtime checking to reduce time spent doing
9859         CRCs.
9860
9861 2002-01-16  Juergen Vigna  <jug@sad.it>
9862
9863         * tabular.C (GetAdditionalHeight): one of error fixed.
9864
9865         * lyxrc.C (output): small fix in writing use_pspell.
9866
9867 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9868
9869         * sp_base.h: #include LString.h
9870
9871 2002-01-16  Allan Rae  <rae@lyx.org>
9872
9873         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9874         Can someone check this please?
9875
9876         * text.C (drawInset): It was possible that p.row would be removed by
9877         breakAgainOneRow upsetting a few other settings.  There may be another
9878         small tweak possible by setting need_break_row = 0 when p.row has been
9879         removed but I don't know enough about the logic here.
9880
9881 2002-01-15  Allan Rae  <rae@lyx.org>
9882
9883         * text.C (insertChar): removed conditional truism.
9884
9885         * BufferView2.C (removeAutoInsets): More tweaks.
9886         cur_par_prev could be a stray pointer.  Check for trailing empty line
9887         in case last line was cur_par and only had an error inset on it.
9888
9889 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9890
9891         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9892         absolute
9893
9894         * vc-backend.C (most methods):
9895         * exporter.C (Export):
9896         * converter.C (convert):
9897         (runLaTeX):
9898         * LyXSendto.C (SendtoApplyCB):
9899         * lyxfunc.C (dispatch):
9900         (menuNew):
9901         (open):
9902         (doImport):
9903         * lyx_cb.C (AutoSave):
9904         (InsertAsciiFile):
9905         * BufferView_pimpl.C (MenuInsertLyXFile):
9906         * buffer.C (runChktex): use Buffer::filePath().
9907
9908         * buffer.h: rename filename to filename_; rename filepath to
9909         filepath_ and make it private
9910         (filePath): new method
9911
9912         * buffer.C (writeFile): use fileName()
9913         (getLatexName):
9914
9915         * lyx_main.C (init): fix starting  of LyX when the binary is a
9916         link from so,ewhere else.
9917
9918         * minibuffer.C: include <cctype> for isprint
9919
9920 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9921
9922         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9923         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9924         name clash with InsetCollapsable's width function.
9925
9926 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9927
9928         * lastfiles.C: include <iterator>
9929
9930 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9931
9932         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9933         std::count.
9934
9935         * buffer.C (makeLaTeXFile): ditto.
9936         Also make loop operation more transparent.
9937
9938 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9939
9940         * ToolbarDefaults.C: remove trailing comma closing namespace.
9941
9942         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9943
9944         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9945         as in WorkArea.
9946
9947         * trans.C (Load): comment out unused variable, allowed.
9948
9949 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * minibuffer.[Ch] (append_char): new method to recieve input from the
9952         drop-down completion browser. If a key was pressed, then recieve this
9953         char and append it to the existing string.
9954         (peek_event): modify the positioning data passed to the completion
9955         browser so that it can be placed above the minibuffer rather than below.
9956 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9957
9958         * LyXAction.C (init): alloe error-next for readonly documents.
9959
9960         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9961         count.
9962
9963 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9964
9965         * bufferlist.C (readFile): create the buffer _after_ checking that
9966         the file exists.
9967
9968         * lyxfunc.C (verboseDispatch): fix handling of arguments
9969
9970         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9971
9972         * lyxrc.C: use string::erase() instead of initializing to "".
9973
9974
9975 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * BufferView_pimpl.h:
9978         * BufferView_pimpl.C:
9979         * WorkArea.h:
9980         * WorkArea.C:
9981         * text2.C: tell X when we have made a selection for copying
9982
9983 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * BufferView_pimpl.C (MenuInsertLyXFile):
9986         * lyxfunc.C (menuNew):
9987         (open):
9988         (doImport): add shortcuts to directory buttons
9989
9990         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9991         open a float)
9992
9993         * lyxfunc.C (setStatusMessage):
9994         (getStatusMessage): new methods
9995         (getStatus):use setStatusMessage instead of setErrorMessage
9996         (dispatch): when function is disabled, set error message here
9997         [instead of in getStatus previously]
9998
9999         * BufferView_pimpl.C (workAreaButtonRelease): update
10000         toolbar/menubar here too.
10001
10002 2002-01-13  Allan Rae  <rae@lyx.org>
10003
10004         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10005         Now seems indestructible.  Remaining task is to audit all other
10006         code affected by deleteEmptyParagraphMechanism.  One small quirk
10007         left is that an empty document with an error in the preamble can
10008         be made to report an error but no error box appears.  I don't know
10009         where it goes.
10010         (removeAutoInsets): Improved comments.
10011
10012 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * Thesaurus.h:
10015         * Thesaurus.C: update for Aiksaurus 0.14
10016
10017 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10018
10019         * text2.C (firstParagraph): removed member function, all uses
10020         replaces with ownerParagraph
10021         (redoParagraphs): here
10022         (updateInset): here
10023         (toggleAppendix): here
10024         * BufferView2.C (insertErrors): here
10025         (setCursorFromRow): here
10026
10027 2002-01-13  Allan Rae  <rae@lyx.org>
10028
10029         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10030         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10031         There is still a way to segfault this although you may have to do this
10032         multiple times: Have an InsetERT with an unknown command in it.
10033         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10034         <down-arrow>, <Enter> again, View->DVI, BANG!
10035
10036         * text2.C (setCursor):
10037         (deleteEmptyParagraphMechanism):
10038         * lyxtext.h (setCursor):
10039         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10040         Making use of the return value may help fix other bugs.
10041
10042 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10045
10046         * LyXView.C (updateMenubar): call MenuBar::update here
10047         (updateToolbar): but not here
10048         (showState): do not update toolbar/menubar
10049
10050         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10051         should need to care about that.
10052
10053         * lyxfunc.C (verboseDispatch): simplify a bit
10054         (getStatus): have a version which takes a pseudoaction, and
10055         another which requires a (kb_action,string).
10056
10057         * LyXAction.C (retrieveActionArg): make it work also when action
10058         is not a pseudo-action.
10059         (getActionName): simplify a bit
10060         (helpText):
10061
10062 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063
10064         * lyxfunc.C (verboseDispatch): new families of methods with
10065         several ways to specify a command and a bool to indicate whether
10066         the command name and shortcut should be displayed in minibuffer
10067         (eventually, we could extend that to a finer bitmask like
10068         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10069         (dispatch): the pristine dispatch command which just, well,
10070         dispatchs! Note it still sets its result to minibuffer; I'm not
10071         sure we want that.
10072
10073         * lyxfunc.h: remove setHintMessage
10074
10075         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10076
10077 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * BufferView_pimpl.C (specialChar): delete new inset if we have
10080         not been able to insert it.
10081
10082         * kbmap.C: revert to using int instead of kb_action, since all we
10083         are dealing with is pseudo-actions.
10084
10085         * LyXAction.C (searchActionArg): change to return int instead of
10086         kb_action, since the result is a pseudoaction.
10087
10088 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * buffer.C (insertErtContents): Fix (partially) the font bug.
10091
10092 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10093
10094         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10095         as the other one is broken on my machine!
10096
10097 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10098
10099         * commandtags.h:
10100         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10101
10102 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10103
10104         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10105         reflect their actual use. Provide compatibility code for older lyxrc
10106         files.
10107
10108         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10109         FL_NORMAL_STYLE.
10110         change names of popup font variables in line with the changes to lyxrc.C
10111
10112 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * buffer.C (asciiParagraph): avoid outputing a word twice after
10115         an inset.
10116
10117         * lyxrc.C (getDescription): document that document_path and
10118         template_path can be empty.
10119
10120 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10121
10122         * LaTeXFeatures.C (getMacros):
10123         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10124
10125         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10126
10127         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10128         getPackages.
10129         (getPackages): rename feature "floats" to "float". Use an array to
10130         iterate over 'simple' features (i.e. just a \usepackage). Add
10131         handling of "amsmath" (renamed from "amsstyle").
10132
10133 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10134
10135         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10136         features list.
10137
10138 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10139
10140         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10141         FuncStaus::FuncStatus & FuncStaus::some_method().
10142
10143 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10144
10145         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10146         of the func_satus stuff. Edited and massaged in various ways by
10147         JMarc.
10148
10149         * lyxfunc.C (getStatus): use FuncStatus
10150
10151 2002-01-08  Juergen Vigna  <jug@sad.it>
10152
10153         * text.C (nextBreakPoint): use function Inset::isChar().
10154
10155         * paragraph.C (TeXOnePar): use function
10156         Inset::forceDefaultParagraphs.
10157
10158         * buffer.C (latexParagraphs): use function
10159         Inset::forceDefaultParagraphs.
10160
10161 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10162
10163         * lyx_gui.C (init): set the style of the menu popups to
10164         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10165
10166 2002-01-07  Juergen Vigna  <jug@sad.it>
10167
10168         * text.C (setHeightOfRow): small fix
10169         (prepareToPrint): don't look at alignment if we don't have the place
10170         for doing it.
10171
10172 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10173
10174         * box.C: New file. Move the Box methods and functions out of box.h,
10175         following Lars' suggestion.
10176
10177 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10178
10179         * box.h: #include "support/LOstream.h", needed for inlined function.
10180
10181         * lyxtextclass.C:
10182         * lyxtextclasslist.C: added some using std declarations.
10183
10184 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * box.h: make signed dimensions to allow insets wider than
10187           the screen (bug #162)
10188
10189         * BufferView_pimpl.C: add some insetHit debug
10190
10191 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * vc-backend.C: add FIXME
10194
10195 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * lyxfunc.C (getStatus): enable code for showing math font status
10198         in toolbar/menu.
10199
10200 2002-01-07  Juergen Vigna  <jug@sad.it>
10201
10202         * text.C (nextBreakPoint): removed debug output not needed anymore.
10203
10204 2002-01-06  Juergen Vigna  <jug@sad.it>
10205
10206         * text.C (nextBreakPoint): fixed up this function we had this bug
10207         since ever but now hopefully we break row better.
10208         (insertChar): we have to check if an inset is the next char as it
10209         could now happen that a large inset is causing a break.
10210
10211 2002-01-05  Juergen Vigna  <jug@sad.it>
10212
10213         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10214         if it doesn't like to be drawed.
10215
10216 2002-01-04  Juergen Vigna  <jug@sad.it>
10217
10218         * BufferView2.C (lockInset): forgot to set a cursor.
10219
10220         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10221
10222 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10223
10224         * FormMathsPanel.C:
10225         * FormMathsPanel.h
10226         * MathsSymbols.C:
10227         * form_maths_panel.C:
10228         * form_maths_panel.h:
10229         * form_maths_panel.fd: implemented sub- and super- buttons in math
10230         panel.
10231
10232         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10233         (or ^ space) to be used as in TeX (req'd by André).
10234
10235         * lyxfunc.C: Allow ^ and _ again to be used both as
10236         super/subscript (mathed) and as themselves (in text).
10237
10238 2002-01-03  Allan Rae  <rae@lyx.org>
10239
10240         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10241         "LyX" or the filename of the current buffer if it has one.  This is a
10242         modified form of John Levon's patch.
10243
10244         * XFormsView.C (setWindowTitle): also set icon title.
10245
10246         * LyXView.h (setWindowTitle): signature changed.
10247         * XFormsView.h (setWindowTitle): ditto.
10248
10249 2002-01-02  Juergen Vigna  <jug@sad.it>
10250
10251         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10252
10253 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10254
10255         * screen.C (topCursorVisible): introduce a temp var for
10256         text->cursor.row(), handle the case where this row is null. (kindo
10257         hachish)
10258
10259         * text2.C (setCursor): add a couple of asserts.
10260
10261         * paragraph.h (inset_iterator): add -> operator
10262
10263         * paragraph.[Ch] (autoDeleteInsets): remove member function
10264
10265         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10266         cursor pos correctly and handle inset deletion by itself.
10267         (insertErrors): move iterator declaration out of for expression
10268
10269         * lyxtextclass.C: add <algorithm>
10270
10271         * Makefile.am: added the new files to sources, removed layout.C
10272
10273         * layout.C: removed file
10274
10275         * layout.h: remove LYX_DUMMY_LAYOUT
10276
10277         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10278         layout.
10279
10280         * lyxlayout.[Ch]:
10281         * lyxtextclass.[Ch]:
10282         * lyxtextclasslist.[Ch]: new files
10283
10284         * include order changes to a lot of files, also changes because of
10285         the six new files.
10286
10287 2001-12-27  Juergen Vigna  <jug@sad.it>
10288
10289         * buffer.C (asciiParagraph): more fixes.
10290
10291         * tabular.C (ascii): make ascii export support export of only the
10292         data separated by a column-delimiter.
10293         (ascii): better support for ascii export.
10294
10295         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10296
10297 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10298
10299         * tabular_funcs.C: use a "using std::getline" instead of the
10300         previous fix from Angus (necessary for cxx + lyxstring)
10301
10302 2001-12-24  Juergen Vigna  <jug@sad.it>
10303
10304         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10305
10306         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10307         problems. First check a minipage also if we have some ert-contents
10308         (not only on par->size(), second set the right depth of the paragraph
10309         on the relink to the root-paragraph-list!
10310
10311         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10312         which then did not anymore update the main paragraphs on undo/redo!
10313
10314 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10317         code. Support all font-changing funcs (even those which are not in
10318         menu currently). Support for reporting font settings in
10319         mathed (disabled until Andre provides a function on mathed's side).
10320
10321         * func_status.h (toggle): small helper function to set toggle
10322         state on a flag.
10323
10324 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10325
10326         * tabular_funcs.C: getline -> std::getline
10327
10328 2001-12-21  Juergen Vigna  <jug@sad.it>
10329
10330         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10331         accessed and could be 0 (I couldn't generate this but it seems
10332         Michael could!).
10333
10334 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10335
10336         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10337         * tabular_funcs.h: here and include iosfwd
10338
10339 2001-12-20  Juergen Vigna  <jug@sad.it>
10340
10341         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10342         inside inset but undo_par was.
10343
10344 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * Thesaurus.C: always include <config.h> in sources.
10347
10348         * Painter.h:
10349         * lyxlookup.h:
10350         * box.h: do not include <config.h> in header files
10351
10352         * text.C (paintLastRow): remove unused variable
10353
10354         * text.C (transformChar):
10355         (insertChar):
10356         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10357
10358         * Painter.C (text):
10359         * font.C (width): rewrite to use uppercase() instead of
10360         islower/toupper.
10361
10362         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10363
10364 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * lyxfind.C: clean up of find failure position change
10367
10368 2001-12-20  Juergen Vigna  <jug@sad.it>
10369
10370         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10371
10372         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10373         (TeXRow): added to LaTeX a single tabular row.
10374         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10375         (Latex): simplified and finally good LT-h/f support.
10376         (various_functions): just small adaptions for LT-h/f support.
10377
10378         * tabular_funcs.[hC]: added and moved here all not classfunctions
10379         of LyXTabular.
10380
10381 2001-12-19  Juergen Vigna  <jug@sad.it>
10382
10383         * tabular.[Ch]: better support for longtabular options (not finished
10384         yet!)
10385
10386 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * text.C (paintLastRow): use the label font instead of the font of
10389         the last character to compute the size of *_BOX. This makes more
10390         sense and avoids a crash with empty paragraphs.
10391         Use Painter::rectangle to draw EMPTY_BOX.
10392
10393 2001-12-19  Juergen Vigna  <jug@sad.it>
10394
10395         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10396         the paragraphs if the replaced paragraph is not the first one!
10397         Tried to delete not used paragraphs but does not work yet so for
10398         now it's inside #ifdef's and by default off!
10399
10400 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * MenuBackend.C: include "lyx_main.h" instead of declaring
10403         lastfiles (actually was declared as LastFiles* instead of a
10404         scoped_ptr).
10405
10406 2001-12-17  Juergen Vigna  <jug@sad.it>
10407
10408         * tabular.C (AppendColumn): applied John's fix
10409
10410 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * BufferView.h:
10413         * BufferView.C:
10414         * BufferView_pimpl.h:
10415         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10416
10417         * Makefile.am:
10418         * box.h: new start of class for above
10419
10420         * lyxfunc.C: ignore space-only minibuffer dispatches.
10421           Show the command name when it doesn't exist
10422
10423         * minibuffer.C: don't add empty lines to the history
10424
10425         * minibuffer.C: add a space on dropdown completion
10426
10427 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * text.C: fix line above/below drawing in insets
10430
10431 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * lyxlength.C (LyXLength): Initialize private variables.
10434
10435 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10438         when inserting error insets.
10439
10440 2001-12-13  Juergen Vigna  <jug@sad.it>
10441
10442         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10443         actually sometimes the before-paragraph.
10444         (setUndo): don't clear the redostack if we're not actually undoing!
10445
10446 2001-12-06  Juergen Vigna  <jug@sad.it>
10447
10448         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10449         and fixed redoing of main paragraph, so we can use it now ;)
10450
10451         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10452
10453 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10454
10455         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10456         Juergen's request
10457
10458 2001-12-13  André Pönitz <poenitz@gmx.net>
10459
10460         * undostack.[Ch]:
10461         * undo_func.C: minor cleanup
10462
10463 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10466         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10467         font in urw-fonts package which is marked as -urw-fontspecific and
10468         does not work (incidentally, changing the encoding in the
10469         fonts.dir of this package to -adobe-fontspecific fixes the
10470         problem).
10471
10472         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10473         is a crash when undoing first paragraph (Juergen, please take a
10474         look). THis does not mean the undo fix is wrong, just that it
10475         uncovers problems.
10476
10477         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10478         the (Paragraph*) version when needed instead of duplicating the
10479         code.
10480
10481         * text.C (workWidth): use Inset::parOwner to find out where the
10482         inset has been inserted. This is a huge performance gain for large
10483         documents with lots of insets. If Inset::parOwner is not set, fall
10484         back on the brute force method
10485
10486         * paragraph_pimpl.C (insertInset):
10487         * paragraph.C (Paragraph):
10488         (cutIntoMinibuffer): set parOwner of insets when
10489         inserting/removing them
10490
10491         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10492
10493 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10494
10495         * commandtags.h:
10496         * LyXAction.C:
10497         * lyx_main.C:
10498         * lyxfunc.C:
10499         * mathed/formulabase.C:
10500         * mathed/math_cursor.[Ch]:
10501         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10502
10503
10504 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * lyxlength.[Ch] (operator!=): new function
10507
10508 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * text.C (workWidth): use Inset::parOwner to find out where the
10511         inset has been inserted. This is a huge performance gain for large
10512         documents with lots of insets. If Inset::parOwner is not set, fall
10513         back on the brute force method
10514
10515         * paragraph_pimpl.C (insertInset):
10516         * paragraph.C (Paragraph):
10517         (cutIntoMinibuffer): set parOwner of insets when
10518         inserting/removing them
10519
10520         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10521
10522 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * tabular-old.C (getTokenValue):
10525         * tabular.C (getTokenValue):
10526         (write_attribute): new versions for LyXLength
10527         (everywhere): adjust the use of widths
10528
10529         * tabular.h: change the type of widths from string to LyXLength
10530
10531 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10532
10533         * paragraph.C: fixed missing line number count when exporting
10534         Environments to LaTeX file
10535
10536         * buffer.C: added informational message for checking line numbers.
10537
10538 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10539
10540         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10541         paragraph, do the 'double space' part, but not the 'empty
10542         paragraph' one.
10543
10544         * text.C (workWidth): small optimization
10545         (getLengthMarkerHeight): use minimal size for negative lengths.
10546
10547 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10548
10549         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10550
10551         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10552
10553 2001-12-11  André Pönitz <poenitz@gmx.net>
10554
10555         * FontLoader.C:
10556         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10557
10558 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * text2.C: keep selection on a setFont()
10561
10562 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * lyx_cb.C: another bv->text misuse, from insert label
10565
10566 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * kbsequence.h:
10569         * kbsequence.C: re-instate nmodifier mask
10570
10571 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10572
10573         * lyx_main.h: make lyxGUI private.
10574
10575 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * lyxfind.C: place the cursor correctly on failed search
10578
10579 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10580
10581         * text.C (getLengthMarkerHeight): for small heights, the arrows
10582         are not always on top/bottom of the text
10583         (drawLengthMarker): smaller arrows; take the left margin in
10584         account; draw also vfills.
10585         (paintFirstRow):
10586         (paintLastRow): remove special code for vfill and standard spaces,
10587         since everything is handled in drawLengthMarker now.
10588
10589 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * buffer.C (insertErtContents): try to handle font and language
10592         interaction a bit better.g
10593
10594         * ColorHandler.C (updateColor): change the hash to cover the whole
10595         LColor enum, ws cleanup
10596         (getGCLinepars): ditto
10597         (getGCLinepars): only lookup in the linecache once.
10598
10599 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10600
10601         * iterators.C (operator++): Make the iterator more robust
10602
10603         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10604         (John's patch)
10605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10606
10607 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxtext.h:
10610         * text.C: better added space drawing
10611
10612 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * LyXView.C:
10615         * BufferView2.C: fix layout combo update on inset unlock
10616
10617 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * Makefile.am: don't compile unused files
10620
10621 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfunc.C:
10624         * commandtags.h:
10625         * LyXAction.C: remove old LFUN_LAYOUTNO
10626
10627 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * paragraph_pimpl.h:
10630         * paragraph_pimpl.C: isTextAt() doesn't need font param
10631
10632 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * lyxlex.h:
10635         * lyxlex.C: little cleanup
10636
10637 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * BufferView_pimpl.C: fix insertAscii for insets
10640
10641 2001-12-05  Juergen Vigna  <jug@sad.it>
10642
10643         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10644         set the right font on the "multi" paragraph paste!
10645
10646 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * trans_decl.h:
10649         * trans_mgr.[Ch]:
10650         * trans.[Ch]:
10651         * lyxgluelength.C:
10652         * lyxlength.C: remove out-commented code.
10653
10654         * BufferView_pimpl:
10655         * CutAndPaste.C:
10656         * DepTable.C:
10657         * buffer.C:
10658         * chset.C:
10659         * lastfiles.C:
10660         * lyxlex.C:
10661         * lyxlex_pimpl.C:
10662         * lyxserver.C:
10663         * screen.C:
10664         * tabular-old.C:
10665         * tabular.C:
10666         * text.C:
10667         * trans_mgr.C:
10668         * vc-backend.C: change "while(" to "while ("
10669
10670         * lyxlength.[Ch]: add zero function to check if length is zero or
10671         not
10672         * lyxgluelength.C: use it
10673
10674 2001-12-05  Allan Rae  <rae@lyx.org>
10675
10676         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10677         Works for 2.95.3, from what I understand of Garst's reports this should
10678         work for other g++ versions.  We're screwed if the abs(int) definition
10679         changed between bugfix releases of gcc.
10680
10681 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * text.C: fix chapter label offset !
10684
10685 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * lyxtext.h:
10688         * text.C: fix hfill at end of line, clean up
10689
10690 2001-12-04  Juergen Vigna  <jug@sad.it>
10691
10692         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10693         that we force an update of the inset and it's owners if neccessary.
10694
10695 2001-12-03  Juergen Vigna  <jug@sad.it>
10696
10697         * text.C (rowLast): simplified code
10698
10699 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * lyxfunc.C: fix show options on timeout
10702
10703 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10704
10705         * screen.C (topCursorVisible): scroll half a page when the cursor
10706         reached top of bottom of screen
10707
10708 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * minibuffer.C: deactivate on loss of focus
10711
10712 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10713
10714         * vspace.[Ch] (operator!=): add operator.
10715
10716 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * BufferView_pimpl.C: refuse to open an inset when
10719         there's a selection.
10720
10721 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * BufferView_pimpl.C: allow to click on RHS of full row insets
10724
10725 2001-11-30  Juergen Vigna  <jug@sad.it>
10726
10727         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10728         insets for undo reasons.
10729
10730 2001-11-28  André Pönitz <poenitz@gmx.net>
10731
10732         * vspace.[Ch]: cosmetical changes
10733
10734 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * LyXAction.h:
10737         * LyXAction.C:
10738         * lyxfunc.h:
10739         * lyxfunc.C:
10740         * kbmap.h:
10741         * kbmap.C:
10742         * lyxrc.C:
10743         * kbsequence.h:
10744         * kbsequence.C: part re-write of old kb code
10745
10746         * Painter.C:
10747         * WorkArea.C: remove Lgb_bug_find_hack
10748
10749 2001-11-30  José Matos <jamatos@fep.up.pt>
10750
10751         * buffer.C (makeDocBookFile): add a comment to point a hack.
10752         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10753         Fixed a double write of labels.
10754
10755 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10756
10757         * LaTeX.C:
10758         * LaTeX.h Fixed bug in LaTeX class where it would not
10759         re-run latex if no depfiles were changed, but the .dvi was removed.
10760
10761 2001-11-28  André Pönitz <poenitz@gmx.net>
10762
10763         * all the files from the change on 2001/11/26:
10764         use lyx::layout_type instead of LyXTextClass::size_type
10765         use lyx::textclass_type instead of LyXTextClassList::size_type
10766
10767 2001-11-29  Juergen Vigna  <jug@sad.it>
10768
10769         * text.C: added support for paragraph::isFreeSpacing()
10770
10771         * buffer.C: same as above
10772
10773         * paragraph.h: inserted isFreeSpacing() function to enable
10774         FreeSpacing inside InsetERT.
10775
10776         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10777         of the paragraph's in the cut/copy buffer to 0!
10778
10779         * text2.C (removeRow): remove the assert as it can!
10780
10781         * lyxtext.h: added helper function firstRow returning firstrow and
10782         made firstrow private again.
10783
10784         * BufferView2.C (lockInset): don't relock if we're already locked!
10785
10786         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10787         the only paragraph.
10788         (removeRow): added Assert::(firstrow)
10789
10790         * debug.C: forgot to add INSETTEXT here.
10791
10792 2001-11-28  Juergen Vigna  <jug@sad.it>
10793
10794         * sp_spell.C (initialize): changed error text to more general
10795         spellchecker command use (not only ispell!)
10796
10797         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10798
10799         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10800
10801 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * vspace.C: initialise lyxgluelength on failure
10804
10805 2001-11-28  Allan Rae  <rae@lyx.org>
10806
10807         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10808         declaration & definition that looks like a function declaration.
10809
10810 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10811
10812         * BufferView2.C (copy):
10813         (copyEnvironment): do not clear the selection when doing a copy.
10814
10815         * text.C (paintFirstRow): compilation fix
10816
10817 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10818
10819         * tabular.C (Latex): correct line count when writing latex.
10820
10821 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * paragraph_pimpl.h:
10824         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10825           bug a bit
10826
10827 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * text.C:
10830         * LColor.h:
10831         * LColor.C: change vfillline->added_space
10832
10833         * text.C: add markers and text for added space
10834
10835         * vspace.C: fix comment
10836
10837 2001-11-28  André Pönitz <poenitz@gmx.net>
10838
10839         * paragraph.C: whitespace changes
10840         * all the other files from the change on 2001/11/26:
10841         change *::pos_type into lyx::pos_type
10842
10843 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10844
10845         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10846         language of the document when inserting error insets.
10847
10848 2001-11-26  André Pönitz <poenitz@gmx.net>
10849
10850         * BufferView_pimpl.[Ch]:
10851         *       CutAndPaste.C:
10852         * buffer.[Ch]:
10853         * lyxcursor.[Ch]:
10854         * lyxfind.C:
10855         * lyxfunc.C:
10856         * lyxrow.[Ch]:
10857         * paragraph.[Ch]:
10858         * paragraph_pimpl.[Ch]:
10859         * sp_spell.C:
10860         * text.C:
10861         * text2.C: reduce header dependencies, introduce type for positions
10862
10863 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * <various>: change to use Alert.h
10866
10867 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10870         when encountering an unknown token.
10871         (readLyXformat2): Show an error message if there were unknown tokens.
10872
10873 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * BufferView2.C:
10876         * BufferView_pimpl.C:
10877         * buffer.C:
10878         * paragraph.h:
10879         * text.C:
10880         * text2.C: use par->isInset()
10881
10882 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * paragraph_pimpl.h:
10885         * paragraph_pimpl.C: cleanup
10886
10887 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * text2.C (removeRow):
10890         * text.C (setHeightOfRow): remove useless (and costly) call to
10891         getRow.
10892
10893 2001-11-20  Allan Rae  <rae@lyx.org>
10894
10895         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10896         Now need Inset*::checkInsertChar() to return true for appropriate
10897         cases so that the characters in the minibuffer will actually be
10898         inserted.
10899
10900 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10901
10902         * text.C: change the order of the includes.
10903         (workWidth): initialize it at once.
10904         (workWidth): make maxw unsigned
10905         (setHeightOfRow): remove unused variable (inset)
10906         (selectSelectedWord): remove unused variable (inset)
10907         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10908
10909 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10910
10911         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10912         server is not running.
10913         (openConnection):
10914         (closeConnection): add debug info when server is disabled.
10915
10916         * ColorHandler.C (getGCForeground): send debug message to GUI
10917         channel.
10918
10919         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10920
10921         * kbmap.C (bind): modify because return conventions of
10922         kb_sequence::parse have changed.
10923
10924         * kbsequence.C (parse): only ignore spaces and not any stupid
10925         control character. This avoids tests like s[i] <= ' ', which are
10926         guaranteed to fail with 8bit characters and signed chars.
10927         Change return code to string::npos when there have been no error
10928         (0 was a bad idea when error is at first character)
10929
10930 2001-11-14  José Matos  <jamatos@fep.up.pt>
10931
10932         * buffer.h:
10933         * buffer.C (simpleDocBookOnePar): removed unused argument.
10934
10935 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10936
10937         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10938         insets which are part of a word. Paragraph::isLetter takes care of
10939         that now. Use Paragraph::isInset to identify insets.
10940         (selectSelectedWord): do not test for hyphenation break.
10941
10942         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10943         that protected spaces are considered as spaces.
10944
10945         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10946         Inset::isLetter.
10947
10948 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * lyxserver.h:
10951         * lyxserver.C: fix it. and small cleanup.
10952
10953 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView_pimpl.C: use inline helpers
10956
10957         * LaTeXFeatures.h:
10958         * LaTeXFeatures.C: fix typos
10959
10960         * Spacing.h:
10961         * Spacing.C: move spacing_string into class
10962
10963         * ToolbarDefaults.C: move stuff into namespace anon
10964
10965         * layout.h: update enum
10966
10967         * lyxfunc.C: use better debug
10968
10969         * minibuffer.h: fix typo
10970
10971         * debug.h:
10972         * debug.C:
10973         * WorkArea.C: add and use Debug::WORKAREA
10974
10975         * lyxtext.h:
10976         * text.C:
10977         * text2.C: code re-organisation, inline helpers
10978
10979 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10980
10981         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10982         std::vector.empty().
10983
10984 2001-11-09  Allan Rae  <rae@lyx.org>
10985
10986         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10987         '\n's after tables.  Tabular and ERT inset work now makes this no
10988         longer necessary.
10989
10990 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * minibuffer.h:
10993         * minibuffer.C: fix crash, improve drop-down completion
10994
10995 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * lyxserver.h:
10998         * lyxserver.C: invalidate fd's when doing endPipe()
10999
11000 2001-11-08  José Matos  <jamatos@fep.up.pt>
11001
11002         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11003         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11004
11005         * paragraph.h:
11006         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11007
11008 2001-11-07  José Matos  <jamatos@fep.up.pt>
11009
11010         * buffer.h:
11011         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11012         const qualifier.
11013
11014         * buffer.C (sgmlOpenTag):
11015         * buffer.C (sgmlCloseTag): removed debug info.
11016
11017         * buffer.h (sgmlOpenTag):
11018         * buffer.h (sgmlCloseTag): made public.
11019
11020 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11021
11022         * buffer.C (saveParamsAsDefaults):
11023         * lyx_cb.C (MenuLayoutSave): remove
11024
11025         * LyXAction.C (init):
11026         * commandtags.h:
11027         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11028
11029 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11030
11031         * buffer.C (setPaperStuff): removed from here...
11032
11033         * bufferparams.C (setPaperStuff): ... and moved there.
11034
11035 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * minibuffer.h:
11038         * minibuffer.C:
11039         * XFormsView.C: add support for drop-down completion
11040
11041 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11042
11043         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11044         commands.
11045
11046 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11047
11048         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11049         disabled.
11050
11051 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * lyx_main.C: change ref to known bugs
11054
11055 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11056
11057         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11058         to work around older babel problems.
11059
11060 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11061
11062         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11063
11064 2001-10-24  Juergen Vigna  <jug@sad.it>
11065
11066         * tabular-old.C (ReadOld): below variable changes reflected.
11067
11068         * tabular.[Ch]: added ltType struct for longtable header/footer
11069         defines and changed all instances where they are used. Added
11070         future support for double top/bottom rows.
11071
11072 2001-10-24  José Matos  <jamatos@fep.up.pt>
11073
11074         * buffer.h (docbookHandleCaption):
11075         * buffer.C (docbookHandleCaption): removed unused function.
11076         (makeDocBookFile): moved docbook supported version to v4.1.
11077
11078 2001-10-24  José Matos  <jamatos@fep.up.pt>
11079
11080         * tabular.h:
11081         * tabular.C (docbookRow): new function to export docbook code of a row.
11082         (DocBook): now honors the longtable flags.
11083
11084 2001-10-23  José Matos  <jamatos@fep.up.pt>
11085
11086         * LaTeXFeatures.h:
11087         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11088         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11089
11090         * buffer.C (makeLinuxDocFile):
11091         (makeDocBookFile): reworked the preamble, more clean, and with
11092         support for lyx defined entities. Changed the document declaration
11093         to be more XML friendly.
11094
11095         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11096         if we need to output XML that should be done with a filter.
11097
11098 2001-10-22  Juergen Vigna  <jug@sad.it>
11099
11100         * sp_pspell.h (class PSpell): add alive function needed in the
11101         controller to see if the spellchecker could be started.
11102
11103 2001-10-22  Juergen Vigna  <jug@sad.it>
11104
11105         * buffer.C (insertStringAsLines): modify the font for inserting
11106         chars in certain conditions by calling checkInsertChar(font).
11107
11108 2001-10-19  Juergen Vigna  <jug@sad.it>
11109
11110         * text.C (workWidth): use getRow instead of wrong algorithm.
11111         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11112
11113 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxserver.h:
11116         * lyxserver.C:
11117         * lyx_main.h:
11118         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11119
11120 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11121
11122         * text.C (workWidth): do not search for the exact row when
11123         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11124         optimization for big documents.
11125
11126 2001-10-18  Juergen Vigna  <jug@sad.it>
11127
11128         * text.C (workWidth): new function with added Inset * parameter.
11129
11130 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11133
11134         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11135         change return type of getColumnNearX.
11136
11137
11138         * text.C (changeRegionCase): use uppercase/lowercase instead of
11139         toupper/tolower.
11140         (leftMargin):
11141         (rightMargin): simplify code by factoring out the uses of
11142         textclasslist.
11143         (labelFill):
11144         (numberOfHfills):
11145         (setHeightOfRow):
11146         (appendParagraph): use Paragraph::size_type
11147
11148 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11149
11150         * vspace.C (asLatexString): add a missing break
11151
11152 2001-10-15  Herbert Voss  <voss@perce.de>
11153
11154         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11155
11156 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11157
11158         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11159         is not available.
11160
11161 2001-10-10  André Pönitz <poenitz@gmx.net>
11162
11163         * lyxfunc.C: removed greek_kb_flag.
11164
11165 2001-10-10  Herbert Voss  <voss@perce.de>
11166
11167         * lyx_main.C: delete global string help_lyxdir.
11168
11169 2001-10-09  Herbert Voss  <voss@perce.de>
11170
11171         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11172
11173         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11174
11175         * lyx_main.C: added global string help_lyxdir.
11176
11177         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11178
11179 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11180
11181         * lyxrc.C (set_font_norm_type): support iso8859-4
11182
11183 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11184
11185         * LaTeX.C (deplog): add another regex for MikTeX
11186
11187 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11188
11189         * lyxrc.C (set_font_norm_type): support iso8859-3
11190
11191 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11192
11193         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11194
11195         * LaTeXFeatures.C: remove special case of french and index
11196
11197         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11198         before \begin{document}). This solves several incompatibilities.
11199
11200 2001-10-03  Garst Reese  <reese@isn.net>
11201
11202         * lyx_cb.C: change CheckTex error msg.
11203
11204 2001-10-03  José Matos  <jamatos@fep.up.pt>
11205
11206         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11207
11208 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * .cvsignore: update
11211
11212         * lyx_main.C (commandLineVersionInfo): use new style version info.
11213
11214         * buffer.C (writeFile):
11215         (makeLaTeXFile):
11216         (makeLinuxDocFile):
11217         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11218
11219         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11220
11221         * version.h: update to use stuff in version.C
11222
11223         * version.C.in: new file. Contains version information determined
11224         at compile time. This is a merging of version.h and
11225         version_info.h.in.
11226
11227 2001-10-03  Juergen Vigna  <jug@sad.it>
11228
11229         * BufferView_pimpl.C (update): don't change "dirty" status in
11230         updateInset call.
11231
11232 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * WorkArea.C (c-tor): re-position version string slightly.
11235
11236 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11239         revert to previous code.
11240
11241         WorkArea.[Ch]: (show, destroySplash): methods removed.
11242
11243         WorkArea.C: rework code so that it's an amalgam of the codes before and
11244         after the splash screen was moved to WorkArea.
11245
11246 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11247
11248         * lyxrc.C (read):
11249         * vspace.C (inPixels):
11250         (lyx_advance):
11251         * kbmap.C (bind):
11252         * buffer.C (insertStringAsLines):
11253         (asciiParagraph): fix types to be large enough
11254
11255         * lyxlex_pimpl.h: change member status from short to int
11256
11257         * layout.h: fix type of endlabeltype
11258
11259         * kbmap.C (bind):
11260         * kbsequence.C (parse): change return type to string::size_type
11261
11262         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11263         variable
11264
11265         * Bullet.C (bulletSize):
11266         (bulletEntry): do not use short ints as parameters
11267
11268         * BufferView2.C (insertLyXFile): change a char to an int.
11269
11270         * WorkArea.C (WorkArea): remove unneeded floats in computation
11271
11272 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11273
11274         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11275
11276         * paragraph.C (asString): Do not ignore newline/hfill chars when
11277         copying to the clipboard.
11278
11279 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11280
11281         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11282         after a multi-line inset.
11283
11284 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11285
11286         * paragraph.C (validate): Set NeedLyXFootnoteCode
11287
11288 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11289
11290         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11291         and decrease-error to decrease.
11292
11293 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11294
11295         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11296         it more readable (should be equivalent)
11297
11298 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11299
11300         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11301
11302 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11303
11304         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11305         of a cursor (row, etc.) after a character has been deleted
11306         (deleteEmptyParagraphMechanism): call the method above on _all_
11307         cursors held by the LyXText when a double space has been
11308         detected/deleted.
11309
11310 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11311
11312         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11313         pixmap.
11314         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11315
11316         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11317         background. Use greyOut() and the new show() methods to toggle between
11318         the foreground and background. Add code to remove the splash after
11319         its initial showing.
11320
11321         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11322         (create_forms): no longer call Dialogs::showSplash.
11323
11324 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * .cvsignore: add version_info.h
11327
11328 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * version_info.h.in: new file
11331
11332         * Makefile.am: add version_info.h.in
11333
11334         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11335         version_info.h instead of VERSION_INFO
11336
11337 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11338
11339         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11340         The ERT inset now returns string().
11341
11342 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11343
11344         * lyxtext.h, text.C (selectNextWord): renamed as
11345         selectNextWordToSpellcheck.
11346
11347         * text.C (selectNextWordToSpellcheck): Modified to not select
11348         words inside an ERT inset.
11349
11350 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * lyx_cb.C (MenuLayoutSave): change a bit the question
11353
11354         * sp_base.h: include <sys/types.h>
11355
11356 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11359
11360 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11361
11362         * several files: fix typos in user-visible strings
11363
11364 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11365
11366         * text2.C (pasteSelection): do not set the selection, since it
11367         will be cleared later. Actually, the intent was to fix the way the
11368         selection was set, but I figured rmoving the code was just as good.
11369
11370 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11371
11372         * FontLoader.C (available): Check if font is available without
11373         loading the font.
11374
11375 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11376
11377         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11378
11379 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11380
11381         * lyxrc.[Ch]: added display_graphics variable and associated code.
11382
11383 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11384
11385         * bufferparams.C (hasClassDefaults): new method. Returns true if
11386         the buffer parameters correspond to known class defaults
11387
11388 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11389
11390         * XFormsView.C (show): set minimum size to the main window.
11391
11392 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11393
11394         * text2.C (copySelection):
11395         (cutSelection):
11396         * lyxfind.C (LyXReplace):
11397         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11398         LyXText::selectionAsString.
11399
11400         * paragraph.C (asString): add "label" argument to the second form
11401
11402         * text2.C (selectionAsString): add "label" argument and pass it to
11403         Paragraph::asString.
11404
11405 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11406
11407         * lyx_main.C (commandLineHelp): remove version information
11408
11409 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11410
11411         * lyx_main.C: add -version commandline option
11412
11413 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * paragraph.h: make the optional constructor arg required instead.
11416         some modifications to other files because of this.
11417
11418         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11419
11420         * lyxserver.C (C_LyXComm_callback): make it static
11421
11422         * lyx_main.C (error_handler): make it static
11423
11424         * lyx_gui.C (LyX_XErrHandler): make it static
11425
11426         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11427
11428         * WorkArea.C: make the extern "C" methods static.
11429
11430         * Makefile.am (lyx_LDADD): simplify
11431
11432 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11433
11434         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11435         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11436
11437         * LyXAction.C (init):
11438         * lyxfunc.C (dispatch): associated code removal.
11439
11440 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11441
11442         * lyxfont.h (isSymbolFont): shut off warning
11443
11444         * text.C (setHeightOfRow):
11445         (getVisibleRow): fix crash with empty paragraphs which have a
11446         bottom line
11447
11448 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11449
11450         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11451         code.
11452
11453 2001-09-04  José Matos  <jamatos@fep.up.pt>
11454         * buffer.C
11455         * buffer.h
11456         * tabular.C (docbook): rename docBook method to docbook.
11457
11458 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11459
11460         * Makefile.am: add dependencies to main.o.
11461
11462 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11463
11464         * FontLoader.C (available): Return false if !lyxrc.use_gui
11465
11466 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11467
11468         * FontInfo.C (query):
11469         * converter.C (view):
11470         * importer.C (Import):
11471         * exporter.C (Export): Can not -> cannot.
11472
11473 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * BufferView_pimpl.C: allow to create index inset even if
11476           string is empty
11477
11478 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11479
11480         * buffer.C (getLists): replace boost::tie code with an explicit pair
11481         as boost::tie can break some compilers.
11482
11483         * iterators.h: Added a std:: declaration to the return type of
11484         ParIterator::size.
11485
11486 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11489           case.
11490
11491 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11492
11493         * iterators.[Ch]: New files. Provide paragraph iterators.
11494
11495         * buffer.C (changeLanguage): Use paragraph iterators.
11496         (isMultiLingual): ditto
11497
11498         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11499
11500 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * FontLoader.C: Support for cmr font.
11503
11504 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11505
11506         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11507         (available): New method.
11508
11509         * FontInfo.C (getFontname): Use scalable fonts even when
11510         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11511         found.
11512
11513 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11514
11515         * converter.C (Formats::view): reverted! Incorrect fix.
11516
11517 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11518
11519         * converter.C (Formats::view): only output the -paper option
11520         if the dvi viewer is xdvi, thereby fixing bug #233429.
11521
11522 2001-08-23  Herbert Voss  <voss@perce>
11523
11524         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11525
11526 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11527
11528         * Spacing.h (Spacing): Set space to Default on in the default
11529         constructor.
11530
11531 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11532
11533         * vc-backend.h (RCS::versionString): add RCS to version
11534         (CVS::versionString): add CVS to version
11535
11536         * vc-backend.C (scanMaster): do not add CVS to version.
11537         (scanMaster): do not add RCS to version
11538
11539         * lyxvc.C (versionString): new method
11540
11541         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11542
11543 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11544
11545         * Spacing.C (set): initialize fval
11546
11547 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11548
11549         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11550         " or \.
11551
11552 2001-08-16  Juergen Vigna  <jug@sad.it>
11553
11554         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11555
11556 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * BufferView_pimpl.C:
11559         * figureForm.C:
11560         * lyxtext.h:
11561         * text2.C: setParagraph takes linespacing now
11562
11563 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * LyxAction.C: add internal LFUN_CITATION_INSERT
11566
11567         * LyXView.C: actually apply fix
11568
11569         * bufferlist.C: fix open non-existent file
11570
11571         * lyxfind.C: fix indentation
11572
11573         * lyxfunc.C: remove unneeded assert, fix typo
11574
11575 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * MenuBackend.C: use "Floatname List"
11578
11579 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11582         when converting LaTeX layout to insetERT.
11583         Generate a non-collapsed float when reading old float
11584
11585 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11588         ERT insets.
11589
11590 2001-08-13  Juergen Vigna  <jug@sad.it>
11591
11592         * text.C (fill): return 0 instead of 20 as this seems to be the more
11593         correct value.
11594
11595 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11598         lyxrc.font_norm.
11599
11600 2001-08-13  Juergen Vigna  <jug@sad.it>
11601
11602         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11603         casesensitive off.
11604         (SearchBackward): comment out the unlocking of the inset_owner this
11605         should not be needed!
11606
11607 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11608
11609         * Many files: Remove inherit_language, and add latex_language
11610
11611         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11612         collapsible insets.
11613
11614 2001-08-10  Juergen Vigna  <jug@sad.it>
11615
11616         * text.C (prepareToPrint): fixed hfill-width in draw!
11617
11618         * BufferView2.C (selectLastWord): save the selection cursor as this
11619         now is cleared in the function LyXText::clearSelection!
11620
11621 2001-08-08  Juergen Vigna  <jug@sad.it>
11622
11623         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11624         BACKSPACE type functions.
11625
11626         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11627         is only cutted from the document but not put in the cut-buffer, where
11628         still the old stuff should be.
11629
11630         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11631
11632         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11633
11634         * tabular.C (SetWidthOfCell): fixed special case where the width
11635         was not updated!
11636         (LeftLine): handle '|' in align_special.
11637         (RightLine): ditto
11638         (LeftAlreadyDrawed): ditto
11639         (SetWidthOfCell): ditto
11640
11641 2001-08-07  Juergen Vigna  <jug@sad.it>
11642
11643         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11644
11645 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11648         * lyxlex.[hC]: ditto
11649
11650 2001-08-06  Juergen Vigna  <jug@sad.it>
11651
11652         * text.C (getVisibleRow): fix up row clearing a bit.
11653
11654 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * minibuffer.C: make sure the X server sees the changes in the input.
11657
11658 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * paragraph.C (getFont): split into...
11661         (getLabelFont): this
11662         (getLayoutFont): and this
11663         * paragraph_pimpl.C (realizeFont): calling this
11664
11665         * text2.C (getFont): split into...
11666         (getLayoutFont): this
11667         (getLabelFont): and this
11668         (realizeFont): all three calling this
11669
11670         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11671         files where used.
11672
11673 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11674
11675         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11676
11677 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11678
11679         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11680         layouts from the Quote inset insertion.
11681
11682 2001-08-03  Juergen Vigna  <jug@sad.it>
11683
11684         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11685
11686         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11687         only if status not is already CHANGED_IN_DRAW (second level).
11688
11689         * text.C (draw): don't set the need_break_row when inside an
11690         InsetText LyXText.
11691
11692 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * buffer.C (parseSingleLyXformat2Token): handle more latex
11695         conversion cases.
11696
11697         * bufferview_funcs.[hC]: change function names to
11698         begin with small char, adjust other files.
11699
11700 2001-08-02  André Pönitz <poenitz@gmx.net>
11701
11702         * lyxfunc.C:
11703         BufferView_pimpl.C: remove broken special code for math-greek
11704
11705 2001-08-02  Juergen Vigna  <jug@sad.it>
11706
11707         * BufferView_pimpl.C (update): redone this function so that we
11708         update the text again if there was a CHANGE_IN_DRAW.
11709
11710         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11711         (drawFromTo): added a new internal bool which is used by draw() and
11712         redraw() function.
11713         (general): some cursor drawing problems fixed.
11714
11715 2001-08-01  Juergen Vigna  <jug@sad.it>
11716
11717         * lyxfind.C (LyXFind): fixed
11718         (SearchForward): ditto
11719         (SearchBackward): ditto
11720
11721         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11722         spurius drawing of the cursor in the main area.
11723
11724         * text2.C (status): small fix which could lead to a segfault!
11725         (clearSelection): remove unneeded BufferView param.
11726
11727 2001-08-01  André Pönitz <poenitz@gmx.net>
11728
11729         * lyxfunc.C: small change due to changed mathed interface
11730
11731 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11734
11735 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * lyxfunc.c: fail gracefully if file doesn't exist
11738
11739         * LyXSendto.C:
11740         * buffer.C:
11741         * lyxfunc.C:
11742         * BufferView_pimpl.C: IsDirWriteable() proto changed
11743
11744         * LyXView.C: fix updateWindowTitle() to store the last title
11745
11746 2001-07-31  Juergen Vigna  <jug@sad.it>
11747
11748         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11749         the font (wrong since using of Paragraph::highestFontInRange).
11750
11751         * paragraph.C (highestFontInRange): added a default_size parameter.
11752
11753         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11754         (setHeightOfRow): reformat
11755
11756 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11757
11758         * converter.[hC] + affected files: move to (inital-char)lowercase
11759         function names.
11760
11761         * ParagraphParameters.C (ParagraphParameters): remove commented code
11762
11763         * PainterBase.[Ch]: remove commented code
11764
11765         * LaTeXFeatures.h: add "bool floats" for float.sty
11766
11767         * LaTeXFeatures.C (LaTeXFeatures): init floats
11768         (require): handle float
11769         (getPackages): do it with floats
11770
11771 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * BufferView_pimpl.C (Dispatch): improve handling of
11774         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11775
11776         * commandtags.h: #include lyxfont.h here temporarily to avoid
11777         keybinding bug.
11778
11779         * bufferlist.h: include LString.h here.
11780
11781 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * text2.C (getStringToIndex): new method.
11784
11785 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11786
11787         * *: Reduced header file dependencies all over.
11788
11789 2001-07-30  Baruch Even  <baruch@lyx.org>
11790
11791         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11792
11793 2001-07-29  Baruch Even  <baruch@lyx.org>
11794
11795         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11796
11797 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * ParameterStruct.h (endif): add a default constructor to make
11800         sure that all variables is initialized.
11801
11802         * ParagraphParameters.C (ParagraphParameters): adjust
11803
11804 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11805
11806         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11807         index; also, check that there is something to index, and that it
11808         does not span over several paragraphs.
11809         (doubleClick): use WHOLE_WORD_STRICT for double click.
11810
11811         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11812
11813         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11814         scheme.
11815
11816 2001-07-26  Baruch Even  <baruch@lyx.org>
11817
11818         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11819         an InsetFig figure, backwards compatible reading of old figure code.
11820
11821 2001-07-27  Juergen Vigna  <jug@sad.it>
11822
11823         * text2.C: font.realize function adaption.
11824
11825         * text.C (draw): add a warnings lyxerr text if needed.
11826
11827         * layout.C: font.realize function adaption.
11828
11829         * language.C: add inherit_language and implement it's handlings
11830
11831         * bufferview_funcs.C (StyleReset): remove language parameter from
11832         font creation (should be language_inherit now).
11833
11834         * bufferparams.C (writeFile): handle ignore_language.
11835
11836         * paragraph.C (getFontSettings): the language has to be resolved
11837         otherwise we have problems in LyXFont!
11838
11839         * lyxfont.C (lyxWriteChanges): added document_language parameter
11840         (update): removed unneeded language parameter
11841
11842         * paragraph.C (validate): fixed wrong output of color-package when
11843         using interface colors for certain fonts in certain environments,
11844         which should not seen as that on the final output.
11845
11846 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * BufferView_pimpl.C:
11849         * Thesaurus.h:
11850         * Thesaurus.C:
11851         * Makefile.am:
11852         * commandtags.h:
11853         * LyXAction.C: add thesaurus support
11854
11855         * lyxfind.h:
11856         * lyxfind.C: add "once" parameter, for thesaurus, to not
11857           move to the next match
11858
11859 2001-07-26  Juergen Vigna  <jug@sad.it>
11860
11861         * lyxfont.C (realize): honor ignore_language too!
11862         (resolved): ditto.
11863
11864         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11865
11866         * text.C (draw): one place more for ignore_language to not draw
11867         itself!
11868
11869 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11872
11873 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11876         the minipage conversion problem.
11877
11878 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11881         insert an inset.
11882
11883 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * BufferView.h: don't forward declare WorkArea
11886
11887         * BufferView.C: don't include WorkArea.h
11888
11889 2001-07-25  André Pönitz <poenitz@gmx.net>
11890
11891         * commandtags.h:
11892         * LyXAction.C:
11893         * lyxfunc.C:  new LFUN 'math-space'
11894
11895         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11896
11897 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * text2.C (toggleInset): call open/close
11900
11901 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * lyxfunc.C (dispatch): add debug for the disabled case
11904
11905         * font.C (buttonText): make similar to rectText
11906
11907         * buffer.C (readInset): comment out parsing of insetlist and
11908         insttheorem
11909
11910         * PainterBase.C (rectText): small correction
11911
11912         * BufferView_pimpl.C: comment out insettheorem and insetlist
11913         * LyXAction.C: ditto
11914         * commandtags.h: ditto
11915
11916 2001-07-24  Juergen Vigna  <jug@sad.it>
11917
11918         * text.C (draw): honor the ignore_language.
11919
11920         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11921
11922 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11923
11924         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11925         char inset.
11926
11927 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11928
11929         * lyxtext.h: remove unused (and unimplemented) methods
11930
11931 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11932
11933         * text.C (getVisibleRow): honor background color
11934
11935         * PainterBase.h:
11936         * Painter.h: remove default color argument for fillRectangle
11937
11938         * text.C (backgroundColor): new method
11939
11940 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11941
11942         * text.C (getVisibleRow): adjust
11943
11944         * font.[Ch] (rectText): new method, metrics
11945         (buttonText): new method, metrics
11946
11947         * PainterBase.[hC]: make rectText and buttonText always draw and take
11948         fewer paramteres.
11949
11950 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11951
11952         * ToolbarDefaults.C (read):
11953         * MenuBackend.C (read): allow escaping in all strings
11954
11955         * BufferView_pimpl.C (insertAndEditInset): new method.
11956         (Dispatch): use insertAndEditInset whenever appropriate.
11957
11958         * BufferView_pimpl.C (insertNote): removed
11959
11960         * BufferView_pimpl.C (smartQuote): new method, moved from
11961         BufferView; if an insetquote cannot be inserted, insert a '"'
11962         character instead.
11963
11964         * BufferView2.C: remove insertCorrectQuote();
11965
11966         * lyxfunc.C (getStatus): Add support for all remaingin
11967         inset-insert lfuns.
11968
11969         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11970
11971         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11972         command (necessary to pass " as parameter of self-insert.
11973
11974         * text.C (selectWordWhenUnderCursor):
11975         (selectWord): add word_location parameter
11976         (selectWordWhenUnderCursor): same + remove special code for word
11977         boundary.
11978         (selectNextWord): use kind() to guess type of insetspecialchar,
11979         not latex().
11980
11981         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11982         (insertErtContents): create ert insets as collapsed.
11983         (readInset): better compatibility code for Info inset.
11984
11985 2001-07-20  Juergen Vigna  <jug@sad.it>
11986
11987         * lyxfunc.C (dispatch): use always LyXFind now!
11988
11989         * text2.C (init): add a reinit flag so that the LyXText can be
11990         reinited instead of deleted and reallocated (used in InsetText).
11991
11992         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11993
11994         * text.C: ditto
11995
11996         * text2.C: ditto
11997
11998 2001-07-18  Juergen Vigna  <jug@sad.it>
11999
12000         * text.C (selectNextWord): handle insets inside inset by calling
12001         always the bv->text functions so that we can go up the_locking_inset!
12002
12003         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12004         in strange locations when inside an inset!
12005
12006         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12007         handling to include insets.
12008
12009         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12010
12011 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12012
12013         * LyXAction.C (init):
12014         * commandtags.h:
12015         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12016         LIGATURE_BREAK, since the name is so stupid.
12017
12018 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12021         InsetInfos.
12022
12023         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12024
12025         * sp_form.[Ch]: remove.
12026
12027         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12028
12029         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12030         InsetInfo.
12031
12032         * src/buffer.C (readInset): ditto.
12033
12034 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12035
12036         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12037         menuSeparator(), endOfSentenceDot(), ldots() and
12038         hyphenationPoint(), which are therefore removed.
12039         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12040
12041         * LyXAction.C (init):
12042         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12043
12044         * paragraph.C (getWord): removed.
12045
12046         * BufferView_pimpl.C (Dispatch): use last word or selection for
12047         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12048
12049         * lyx_main.C (queryUserLyXDir): do not ask before creating
12050         user_dir, except if it has been named explicitely.
12051
12052 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12055         a document of zero size.
12056
12057 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12060         approriately in the c-tor and in require().
12061         (getPackages): output the appropriate LaTeX for natbib support.
12062
12063         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12064         variables "use_natbib" and "use_numerical_citations" when reading the
12065         LyX file.
12066         (readInset): read the various natbib cite commands.
12067         (validate): white-space change.
12068
12069         * bufferparams.[Ch]: new variables "bool use_natbib" and
12070         "bool use_numerical_citations".
12071         (writeFile): output them in the LyX file.
12072
12073 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12074
12075         * lyxfunc.C (getStatus): add support for all the inset insertion
12076         commands.
12077
12078         * text2.C (insertInset):
12079         * paragraph.C (insetAllowed):
12080         * BufferView_pimpl.C (insertInset): update to take in account the
12081         renaming of insertInsetAllowed
12082
12083         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12084
12085         * text2.C (getInset): new method. returns inset at cursor position.
12086
12087         * BufferView_pimpl.C (Dispatch): changes because of this.
12088
12089         * LyXAction.C (init): rename open-stuff to inset-toggle.
12090
12091         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12092
12093         * text2.C (toggleInset): renamed from openStuff; use
12094         Inset::open().
12095
12096 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12097
12098         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12099
12100         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12101
12102 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12103
12104         * buffer.C (readLyXformat2): Add filename to the error dialog
12105
12106 2001-07-18  Juergen Vigna  <jug@sad.it>
12107
12108         * tabular.C (GetCellNumber): put an assert here instead of the check!
12109
12110 2001-07-17  Juergen Vigna  <jug@sad.it>
12111
12112         * BufferView_pimpl.C (toggleSelection): adapted too.
12113
12114         * text.C (selectNextWord): adapted for use with insets.
12115         (selectSelectedWord): ditto
12116
12117 2001-07-17  Juergen Vigna  <jug@sad.it>
12118
12119         * sp_spell.C (PSpell): fix initialitation order.
12120
12121 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * paragraph.C: spacing
12124
12125 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12126
12127         * sp_spell.C: repair language selection for pspell
12128
12129 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * lyxfunc.h: change more methods to begin with lower char.
12132
12133 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12136         for unknown layouts.
12137
12138 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12139
12140         * buffer.C (readLyXformat2): Generate an error dialog if there are
12141         unknown layouts.
12142
12143 2001-07-16  Juergen Vigna  <jug@sad.it>
12144
12145         * sp_spell.C: always compile ISpell part.
12146
12147         * lyxrc.C: added use_pspell entry and it's handling.
12148
12149 2001-07-13  Juergen Vigna  <jug@sad.it>
12150
12151         * sp_spell.C: removed double includes.
12152
12153 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         Consistent use of Lsstream.h:
12156         * Lsstream.h: added using std::stringstream for consistencies sake.
12157
12158         * buffer.C: removed using std::stringstream
12159
12160         * lyxfont.C (stateText):
12161         * paragraph.C (asString):
12162         * text.C (selectNextWord, selectSelectedWord):
12163         * text2.C (setCounter):
12164         * vspace.C (asString, asLatexString):
12165         std::ostringstream -> ostringstream.
12166
12167 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12168
12169         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12170         * commandtags.h: add LFUN_HELP_ABOUTLYX
12171         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12172
12173 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12174
12175         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12176         cursorToggle()
12177         * lyx_gui_misc.C: remove spellchecker
12178         * lyxfunc.C: showSpellchecker
12179         * sp_base.h: added
12180         * sp_ispell.h: added
12181         * sp_pspell.h: added
12182         * sp_spell.C: added
12183         * sp_form.[Ch]: removed
12184         * spellchecker.[Ch]: removed
12185
12186 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12187
12188         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12189         is set.
12190         (simpleTeXSpecialChars): Simply print the input character without
12191         any special translation if pass_thru is set.
12192
12193         * layout.h: Added bool pass_thru to layout class for being able to
12194         implement pass through of a paragraph for Literate Programming.
12195
12196         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12197         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12198         * layout.C (Read): add "passthru" to list of layout tags and add
12199         code to set the pass_thru boolean when it is read.
12200
12201 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * trans_decl.h: remove allowed from KmodInfo
12204
12205         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12206         remove allowed code
12207         (Load): adjust
12208
12209         * paragraph_pimpl.C (erase): use boost::prior
12210
12211         * Painter.C (text): use data() instead of c_str() when length is
12212         also provided.
12213         * WorkArea.C (putClipboard): ditto
12214         * font.h (width): ditto
12215
12216         * BufferView2.C: use it-> instead of (*it). for iterators
12217         * texrow.C: ditto
12218         * paragraph_pimpl.C: ditto
12219         * paragraph.C: ditto
12220         * minibuffer.C: ditto
12221         * language.C: ditto
12222         * kbmap.C: ditto
12223         * encoding.C: ditto
12224         * counters.C: ditto
12225         * converter.C: ditto
12226         * chset.C: ditto
12227         * Variables.C: ditto
12228         * TextCache.C: ditto
12229         * MenuBackend.C: ditto
12230         * LyXAction.C: ditto
12231         * LColor.C: ditto
12232         * FloatList.C: ditto
12233         * DepTable.C: ditto
12234         * ColorHandler.C (LyXColorHandler): ditto
12235
12236 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12237
12238         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12239
12240         * text2.C (openStuff): reintroduce this method (which had been
12241         nuked in NEW_INSETS frenzy).
12242
12243         * lyxfunc.C (Dispatch): when an action has not been handled, use
12244         its name in the error message, not its number.
12245
12246         * paragraph.C (inInset): change method name to begin with lowercase.
12247
12248         * undo_funcs.C:
12249         * text2.C: updates because of this.
12250
12251 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * ToolbarDefaults.C (add): add spaces in error message
12254
12255 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12256
12257         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12258         (readLyXformat2): rename return_par to first_par, use lyxlex's
12259         pushToken and remove the manual push handling.
12260         (parseSingleLyXformat2Token): add another ert comp. variable:
12261         in_tabular, rename return_par to first_par. handle newlines better
12262
12263 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12266
12267 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * text2.C (getParFromID): removed
12270
12271         * buffer.C (getParFromID): new method moved form lyxtext.
12272         * BufferView2.C (insertErrors): adjust
12273         (setCursorFromRow): adjust
12274         * BufferView_pimpl.C (restorePosition): adjust
12275         * lyxfunc.C (Dispatch): adjust
12276         * undo_funcs.C (textUndo): adjust
12277         (textRedo): adjust
12278         (textHandleUndo): adjust
12279         (textHandleUndo): adjust
12280
12281 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * buffer.C: up' the LYX_FORMAT
12284
12285         * lyxfont.h: turn NO_LATEX on as default
12286
12287         * buffer.C (insertErtContents): new methods of tex style compability.
12288         (parseSingleLyXformat2Token): use it several places.
12289         * tabular.C (OldFormatRead): and here
12290
12291 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * text2.C: remove some commented code.
12294         reindent file.
12295
12296         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12297         * trans.C: changes because of the above.
12298
12299 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12300
12301         * text2.C (setCounter): Fix counters bug with bibliography layout.
12302
12303 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12306         own member functions
12307         (simpleTeXSpecialChars): ditto
12308
12309 2001-07-06  Juergen Vigna  <jug@sad.it>
12310
12311         * a lot of files: changed the access to LyXText::status and the
12312         call of undo-functions.
12313
12314         * undo.[Ch]: added a inset_id to the undo informations.
12315
12316         * undo_funcs.[Ch]: added and moved here all undo functions.
12317
12318         * lyxtext.h: give the status enum a weight, made status_ a private
12319         variable and made accessor functions for it, removed the whole bunch
12320         of undo-functions as they are now in their own file, make some
12321         functions publically available. Added function ownerParagraph with
12322         int parameter.
12323
12324         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12325         made InInset() a const function, added getParFromID() function.
12326
12327         * buffer.[Ch]: added const version for inset_iterator functions,
12328         added getInsetFromID() function.
12329
12330         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12331         changed undo functions for new version.
12332
12333 2001-07-05  Juergen Vigna  <jug@sad.it>
12334
12335         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12336         unknow mechanism does not call the proper constructor but only this
12337         one also if I request the other!?
12338
12339 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12342
12343         * text2.C (LyXText): use initialization lists.
12344
12345         * lyxtext.h (Selection): initialize set_ and mark_
12346         (init): remove method
12347
12348 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12351
12352 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * screen.[Ch]: change method names to begin with lowercase
12355
12356         * BufferView_pimpl.C (updateScrollbar): simplify further and
12357         hopefully make it a bit faster.
12358
12359 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12360
12361         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12362         calling directly xforms functions.
12363
12364         * Painter.C (Painter):
12365         * lyx_cb.C (MenuWrite):
12366         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12367         fl_display.
12368
12369         * lyx_gui.C: remove bogus guiruntime extern declaration.
12370
12371 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12374         in NEW_INSETS
12375         (redoDrawingOfParagraph): ditto
12376         (redoParagraphs): ditto
12377         (cutSelection): don't create a object for CutAndPaste use the
12378         static method directly
12379         (pasteSelection): ditto
12380
12381         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12382         LyXview (+ rename)
12383
12384 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * modifications to some other files because of this.
12387
12388         * Makefile.am (lyx_SOURCES): add XFormsView
12389
12390         * XFormsView.[Ch]: new files
12391
12392         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12393         the main window. Move the gui dependent stuff to XFormsView
12394
12395 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12396
12397         * tabular.C (GetCellInset): update cur_cell also in the row/col
12398         version of this function.
12399
12400         * lyxfunc.C: no need to include figure_form.h here.
12401
12402         * FontLoader.h:
12403         * lyxfunc.h:
12404         * lyxscreen.h:
12405         * text2.C:
12406         * lyxvc.C: no need to include forms.h here.
12407
12408 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12409
12410         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12411
12412         * lyxfunc.C (Dispatch):
12413         * Spacing.C (set):
12414         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12415         constructor argument.
12416
12417 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * paragraph.C (Paragraph): dont't clear, and just set layout.
12420         (makeSameLayout): use params's copy contructor.
12421
12422         * ParagraphParameters.[Ch] (makeSame): delete method
12423
12424 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * Variables.[Ch]: fix indentation, rename set to isSet
12427
12428 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12429
12430         * lyxfunc.C (Dispatch): fix typo
12431
12432 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12435         upper_bound.
12436
12437         * bufferlist.C: include assert.h for emergencyWrite().
12438
12439 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12442           give up at last (bug #425202) !
12443
12444 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * lyx_gui_misc.C:
12447         * sp_form.h:
12448         * sp_form.C:
12449         * spellchecker.h:
12450         * spellchecker.C: strip spellchecker options and bring up
12451           preferences tab instead
12452
12453 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12454
12455         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12456         the istringstream constructor
12457
12458 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * paragraph.C (getLayout): fix return value
12461
12462         * paragraph.h: do not declare getLayout as inline.
12463
12464         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12465
12466 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * lyxcursor.h (operator<): new func
12469         (operator>): new func
12470         (operator>=): new func
12471         (operator<=): new func
12472
12473         * text.C (changeCase): use selection.start and selection.end
12474         (changeRegionCase): require from to be <= to. Require par to be a
12475         valid paragraph.
12476
12477         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12478
12479 2001-06-27  Juergen Vigna  <jug@sad.it>
12480
12481         * text.C (cursorLeftOneWord): changed to return the cursor and added
12482         overlay with BufferView * parameter which calls this one.
12483         (getWord): added
12484         (selectWord): use new getWord function.
12485         (changeCase): renamed from changeWordCase as and extended to work
12486         also on selections.
12487
12488         * lyxtext.h: added enum word_location
12489
12490         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12491         changeCase as this operates now also on selections.
12492
12493 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12494
12495         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12496
12497         * many files: send debug output to Debug::INFO instead of
12498         Debug::ANY.
12499
12500         * converter.C (View):
12501         (Convert):
12502         (Move): send debug output to Debug::FILES instead of console.
12503
12504 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12505
12506         * lyxfunc.C (getStatus): use func_status
12507
12508         * func_status.h: new header, describing the results of
12509         LyXFunc::getStatus;
12510
12511         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12512         LFUN_MATH_HALIGN.
12513
12514 2001-06-25  The LyX Project  <jug@sad.it>
12515
12516         * buffer.C (sgmlOpenTag):
12517         (sgmlCloseTag):
12518         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12519
12520 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * text2.C: remove some dead code
12523
12524         * tabular.C (GetCellInset): store the last cell checked (gotten)
12525
12526         * tabular.h: add the helper for the speedup
12527
12528         * lyxtext.h: remove some dead code
12529
12530 2001-06-26  The LyX Project  <Asger>
12531
12532         * paragraph.C: Change export to LaTeX of alignment to
12533         \begin{center} and family for better roundtrip work with reLyX.
12534
12535         * Tune the math drawing a bit.
12536
12537 2001-06-25  The LyX Project  <Asger>
12538
12539         * LColor.C (LColor): New color for math background. New color
12540         for buttons.
12541
12542 2001-06-25  The LyX Project  <jug@sad.it>
12543
12544         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12545
12546         * lyxfunc.C (Open):
12547         * bufferlist.C (newFile): do not restrict to files ending with
12548         .lyx
12549
12550         * BufferView_pimpl.C (MenuInsertLyXFile):
12551
12552 2001-06-24  The LyX Project  <jug@sad.it>
12553
12554         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12555         of compare_no_case
12556
12557 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * lyxtext.h: rename most methods to begin with a small char.
12560         Lots of changes because of this.
12561
12562         * paragraph.C (Paragraph): do not call fitToSize
12563         (erase): call Pimpl::erase
12564         (insertChar): call Pimpl::insertChar
12565         (insertInset): call Pipl::insertInset
12566         (breakParagraph): do not call fitToSize
12567         (breakParagraphConservative): do not call fitToSize
12568         (fitToSize): remove method
12569
12570         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12571
12572 2001-06-24  The LyX Project  <Asger>
12573
12574         * Fix Qt compilation^2
12575
12576 2001-06-24  The LyX Project  <jug@sad.it>
12577
12578         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12579         depthHook(getDepth()-1).
12580
12581         * paragraph.h:
12582         * ParagraphParameters.h:
12583         * ParameterStruct.h: change type of depth to unsigned int ==
12584         depth_type. Many adaptations to other files before of that.
12585
12586 2001-06-24  The LyX Project  <Asger>
12587
12588         * Fix Qt compilation.
12589
12590 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * paragraph.h: renamed several methods to begin with small letter.
12593         several changes to many parts of the code because of this.
12594
12595 2001-06-23  The LyX Project  <jug@sad.it>
12596
12597         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12598         rewritten to discard all double spaces when KeepEmpty is off
12599         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12600         to only handle newlines but not fiddle with spaces and friends.
12601
12602         * lyxfunc.C (MenuNew): when doing 'new from template', use
12603         template_path as default directory
12604
12605 2001-06-23  The LyX Project  <Asger>
12606
12607         * Clean-up of header file includes all over
12608         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12609
12610 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * paragraph.h: renamed from lyxparagraph.h
12613
12614 2001-06-23  Asger  <lyx@violet.home.sad.it>
12615
12616         * Buffer.h: Removed Buffer::resize
12617         * BufferList.h: Removed BufferList::resize
12618         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12619         the document lazily when we change the width, or the font settings.
12620
12621 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12624
12625 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * buffer.h: remove out of date comment
12628
12629 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * lyxscreen.h:
12632         * screen.C: fix "theoretical" GC leak
12633
12634 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * LaTeX.C (scanAuxFile):
12637         (deplog): remove trailing \r when reading stream (useful under
12638         win32)
12639
12640 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12643         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12644         and BufferView::theLockingInset(Inset*), so should use them and not
12645         access bv_->text->the_locking_inset directly.
12646
12647         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12648
12649 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * Makefile.am:
12652         * tex-defs.h: remove old unused file
12653
12654 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * BufferView_pimpl.C: fix typo, remove minibuffer message
12657           when buffer has loaded
12658
12659 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * lyxfunc.C (Dispatch): use stringstream
12662         (MenuNew): use stringstream
12663         (Open): use stringstream
12664
12665         * importer.C (Import): use stringstream
12666
12667         * bufferview_funcs.C (CurrentState): use stringstream
12668
12669         * LaTeX.C (run): use stringstream
12670
12671         * BufferView_pimpl.C (savePosition): use stringstream
12672         (restorePosition): use stringstream
12673         (MenuInsertLyXFile): use stringstream
12674
12675 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * BufferView.C:
12678         * Bullet.C:
12679         * ColorHandler.C:
12680         * FontInfo.C:
12681         * FontLoader.C:
12682         * LColor.C:
12683         * LaTeXFeatures.C:
12684         * Painter.C:
12685         * gettext.C:
12686         * lyx_gui_misc.C:
12687         * lyxserver.C:
12688         * vspace.C: removed // -*- C++ -*- as first line.
12689
12690         * lyxfind.h:
12691         * version.h: added // -*- C++ -*- as first line.
12692
12693 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12696
12697         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12698         of string
12699
12700 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12703         of floats.
12704
12705 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * gettext.C: include LString.h even when --disable-nls is on.
12708
12709 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * converter.h (Get): changed argument type from int to
12712         FormatList::size_type to avoid unnecessary conversion.
12713
12714         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12715         before using it.
12716
12717 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * gettext.h: include LString.h even when --disable-nls is on.
12720
12721 2001-06-07  Juergen Vigna  <jug@sad.it>
12722
12723         * text.C (BreakAgain): subst spaces with tabs.
12724
12725         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12726         (resizeInsetsLyXText): set force on resizeLyXText.
12727
12728 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12729
12730         * gettext.h (gettext_init):
12731         (locale_init): use a real definition instead of a macro
12732
12733 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * Bufferview_pimpl.C:
12736         * LColor.h:
12737         * LColor.C: further lcolor tidies
12738
12739 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * BufferView_pimpl.C (updateScrollbar): simplify.
12742
12743         * BufferView2.C: don't include insets/insetinfo.h, change
12744         prototype for insertInset and call the Pimpl version. let
12745         updateInset call Pimpl version.
12746
12747         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12748         gotoInset to BufferView::Pimpl
12749
12750 2001-06-01  Juergen Vigna  <jug@sad.it>
12751
12752         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12753         inside a LockingInset (is the update needed at all?).
12754
12755 2001-05-31  Juergen Vigna  <jug@sad.it>
12756
12757         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12758         here not the old one otherwise how should we compare it afterwards
12759         if it's the same!
12760
12761 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12762
12763         * lyxfont.C:
12764         * tabular.C:
12765         * tabular-old.C:
12766         * FontInfo.C: bring C functions into global namespace when
12767         necessary
12768
12769 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * LString.h: make sure config.h has been loaded before LString.h.
12772
12773         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12774         (one for each char read by EatLine!).
12775
12776         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12777         variables.
12778
12779 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12782         to the same as the par we break from
12783
12784 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12787
12788         * MenuBackend.C (expand): also create menu entries for wide
12789         versions of the floats.
12790
12791         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12792
12793         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12794
12795         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12796         frontends/Makefile.am
12797
12798         * text2.C: adjust
12799         * text.C: adjust
12800
12801
12802         * tabular.C (getTokenValue): add std::
12803
12804         * tabular-old.C (getTokenValue): add std::
12805         (getTokenValue): ditto
12806         (getTokenValue): ditto
12807
12808         * screen.C (ToggleSelection): adjust
12809
12810         * lyxtext.h: put selection cursors inside a Selection struct.
12811
12812         * lyxfunc.C (moveCursorUpdate): adjust
12813
12814         * lyxfont.C (latexWriteStartChanges): add std::
12815
12816         * lyxfind.C: adjust
12817
12818         * font.h: delete with(char const *, LyXFont const &)
12819
12820         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12821
12822         * FontInfo.C (getFontname): add std::
12823
12824         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12825         (workAreaButtonPress): adjust
12826         (tripleClick): adjust
12827         (update): adjust
12828         (moveCursorUpdate): adjust
12829         (Dispatch): adjust
12830
12831         * BufferView2.C (gotoInset): adjust
12832
12833 2001-05-30  Juergen Vigna  <jug@sad.it>
12834
12835         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12836         to check pspell I add this as default as I now have new pspell
12837         libraries and they seem to use this.
12838
12839 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * text2.C (CutSelection): make the cursor valid before the call to
12842         ClearSelection.
12843
12844 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12845
12846         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12847         relied on 0 terminated strings and other horrors. Bug found due to
12848         the new assert in lyxstring!
12849
12850         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12851         KP_ keys.
12852
12853 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12856         to latinkeys.bind.
12857
12858         * lyxfunc.C (processKeySym): change method of getting to the
12859         self-insert char.
12860
12861         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12862         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12863         * BufferView_pimpl.[Ch]: here as private methods.
12864
12865 2001-05-28  Juergen Vigna  <jug@sad.it>
12866
12867         * text.C (SetHeightOfRow): added the update() call again as it is
12868         needed to initialize inset dimensions!
12869
12870 2001-05-16  Juergen Vigna  <jug@sad.it>
12871
12872         * text2.C (SetCharFont): Add new function with BufferView * and
12873         bool toggleall parameters for setting insets internal fonts.
12874         (SetFont): Freeze the undo as we may change fonts in Insets and
12875         all this change should be inside only one Undo!
12876
12877         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12878         setting font's in insets as for them we have the SetFont function!
12879
12880 2001-05-15  Juergen Vigna  <jug@sad.it>
12881
12882         * text2.C (ClearSelection): to be sure we REALLY don't have any
12883         selection anymore!
12884
12885         * tabular.C (TeXCellPreamble): fixed the left border problem for
12886         multicolumn cells.
12887
12888 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12889
12890         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12891         dependancy file
12892
12893 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12896         LFUN_BREAKPARAGRAPH.
12897
12898         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12899         help test to "internal only", similar for LFUN_INSERT_URL
12900
12901         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12902         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12903         auto_region_delete and deadkeys.
12904
12905 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * LColor.h:
12908         * LColor.C: remove some dead entries, tidy a little
12909
12910 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12913         commented code.
12914         (Dispatch): implement LFUN_ESCAPE
12915
12916         * commandtags.h: add LFUN_ESCAPE
12917
12918         * LyXAction.C (init): add entry for LFUN_ESCAPE
12919
12920         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12921         Remove commented code.
12922         (insertNote): moved here
12923         (open_new_inset): moved here
12924
12925         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12926         BufferView_pimpl
12927
12928 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12929
12930         * kbmap.C (findbinding): clean it up and make it work correctly.
12931
12932         * lyx_main.C (init): do not pass argc and argv as parameters
12933
12934 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12935
12936         * buffer.C: fix path for OS/2 & Win32
12937
12938         * lyx_gui.C:
12939         * lyx_main:
12940         * lyx_main.C: Added os:: class.
12941
12942         * os2_defines.h: update
12943
12944 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12947         better by trying again with reduced state.
12948
12949 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12950
12951         * lyxrc.C (read): print error about invalid key sequence only when
12952         debugging (because not all latinX keysyms are known to some X
12953         servers)
12954
12955         * kbsequence.C (getiso): add a few std:: qualifiers
12956         (getiso): comment out extra return statement.
12957
12958 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12961         handling.
12962         (Dispatch): enhance the accent inset a bit. (not perfect)
12963
12964 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12967
12968 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * bufferlist.C (emergencyWrite): fix assert() call
12971
12972 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12973
12974         * text.C (InsertChar): Added trivial patch to only send the "you
12975         can not do multiple spaces this way" message once during a
12976         session.
12977
12978 2001-05-08  Baruch Even  <baruch@lyx.org>
12979
12980         * Makefile.am: Changed order of libraries to get LyX to link properly
12981         with the gnome frontend.
12982
12983 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * LaTeXFeatures.h: add a std:: qualifier
12986
12987 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * paragraph.C (String): use stringstream
12990
12991 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * paragraph.C (writeFile): remove footflag arg
12994
12995         * buffer.C (makeLaTeXFile): use stringstream
12996         (latexParagraphs): remove footnot gurba
12997
12998         * LaTeXFeatures.C (getPackages): use stringstream
12999         (getMacros): likewise
13000         (getTClassPreamble): likewise
13001         (getFloatDefinitions): new method
13002
13003         * paragraph.C (writeFile): reindent
13004         (Erase): reindent
13005
13006         * WorkArea.h: revert the xpos + etc changes.
13007
13008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13009
13010         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13011
13012         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13013         (pasteSelection): likewise
13014         * text2.C (CreateUndo): likewise
13015
13016 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * minibuffer.C (peek_event): temporarily reduce the functionality
13019         of the minibuffer (to allow args on lfuns)
13020
13021         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13022         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13023
13024         * buffer.C (readInset): add compability reading of old float
13025         lists, add reading of new style float list.
13026         (readInset): avoid reevaluation of inscmd.getCmdName()
13027         (getLists): reindent
13028
13029         * MenuBackend.C (MenuItem): implement parsing of
13030         md_floatlistinsert and md_floatinsert.
13031         (expand::LastFiles): move initalizaton of iterators out of loop,
13032         avoid reevaluation.
13033         (expand::Documents): introduce typdedef vector<string> Strings,
13034         and use it.
13035         (expand::ExportFormats): introduce typedef vector<Format const *>
13036         Formats, and use it.
13037         (expand): implement FloatListInsert and FloatInsert.
13038
13039         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13040         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13041         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13042
13043         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13044         handling.
13045         (Dispatch::LFUN_FLOAT_LIST): implement
13046
13047 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13048
13049         * LaTeX.C (run): Fix problem with --export code.
13050
13051 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13052
13053         * BufferView.[Ch] (workarea): removed.
13054         (getClipboard) new method; wrapper for workarea()->getClipboard()
13055
13056         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13057         bug.
13058
13059         * WorkArea.h (width, height, xpos, ypos): These methods all
13060         returned the dimensions of the work_area sub-area of WorkArea,
13061         resulting in a position error if the WorkArea were resized. Now
13062         return the dimensions of the entire WorkArea.
13063
13064         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13065
13066 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * LaTeX.C (deplog): correct the syntax of regex reg1
13069
13070 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * undo.C: remove !NEW_INSETS cruft
13073
13074 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * text2.C: remove !NEW_INSETS cruft
13077
13078         * text.C: remove !NEW_INSETS cruft
13079
13080         * tabular.C: remove !NEW_INSETS cruft
13081
13082         * spellchecker.C: remove !NEW_INSETS cruft
13083
13084         * lyxtext.h: remove !NEW_INSETS cruft
13085
13086         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13087
13088         * lyxfunc.C: remove !NEW_INSETS cruft
13089
13090         * lyxfind.C: remove !NEW_INSETS cruft
13091
13092         * lyx_cb.C: remove !NEW_INSETS cruft
13093
13094         * figureForm.C: remove  !NEW_INSETS cruft
13095
13096         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13097
13098         * buffer.[Ch]: remove !NEW_INSETS cruft
13099
13100         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13101
13102         * CutAndPaste.C: remove !NEW_INSETS cruft
13103
13104         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13105
13106         * BufferView2.C: remove !NEW_INSETS cruft
13107
13108         * BufferView.h: remove !NEW_INSETS cruft
13109
13110 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13111
13112         * Lsstream.h: include LString.h before the sstream headers to
13113         fix problem with gcc 2.95.3 and lyxstring
13114
13115 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13116
13117         * lyx_main.C: add using directives when needed for C functions
13118         declared in std:: namespace.
13119
13120 2001-04-27  Juergen Vigna  <jug@sad.it>
13121
13122         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13123         (SetHeightOfRow): comment out the update call should not be needed!
13124
13125 2001-04-13  Juergen Vigna  <jug@sad.it>
13126
13127         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13128         (LyXTabular): tried to minimize operator= operations (and realized
13129         hopfully Lars wish).
13130
13131 2001-04-27  Juergen Vigna  <jug@sad.it>
13132
13133         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13134
13135 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13136
13137         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13138
13139         * buffer.C (readInset): hack to make listof algorithm work
13140
13141         * BufferView_pimpl.C: hack to make listof algorithm work
13142
13143 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13144
13145         * LyXAction.C: removed all !NEW_INSETS cruft
13146         (init): moved lfun_item in method
13147
13148         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13149
13150 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * BufferView2.C (theLockingInset): white space.
13153
13154 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * minibuffer.C: include <iostream>
13157
13158         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13159
13160         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13161
13162         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13163
13164         * text.[Ch] (TransposeChars): new method
13165
13166 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * call message directly through LyXView instead of through LyXFunc
13169         * BufferView2.C: adjust
13170         * BufferView_pimpl.C: adjust
13171         * FontLoader.C: adjust
13172         * buffer.C: adjust
13173         * bufferview_funcs.C: adjust
13174         * converter.C: adjust
13175         * figureForm.C: adjust
13176         * importer.C: adjust
13177         * lyx_cb.C: adjust
13178         * lyx_gui_misc.C: adjust
13179         * lyxfunc.C: adjust
13180         * lyxvc.C: adjust
13181         * text2.C: adjust
13182         + more files in subdirs
13183
13184         * lyxparagraph.h (size): move up int file
13185         (GetLayout): ditto
13186
13187         * adjust all uses of Assert to lyx::Assert.
13188
13189         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13190         lyxfunctional in namespace lyx
13191         * layout.C (hasLayout): ditto
13192         (GetLayout): ditto
13193         (GetLayout): ditto
13194         (delete_layout): ditto
13195         (NumberOfClass): ditto
13196         * converter.C (GetFormat): ditto
13197         (GetNumber): ditto
13198         (Add): ditto
13199         (Delete): ditto
13200         (SetViewer): ditto
13201         * bufferlist.C (getFileNames): ditto
13202         (emergencyWriteAll): ditto
13203         (exists): ditto
13204         (getBuffer): ditto
13205         * MenuBackend.C (hasSubmenu): ditto
13206         (hasMenu): ditto
13207         (getMenu): ditto
13208         * BufferView_pimpl.C (getInsetByCode): ditto
13209
13210 2001-04-18  Juergen Vigna  <jug@sad.it>
13211
13212         * vspace.C (asLatexString): fixed the 100% problem.
13213
13214 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * lyxfunc.C (Dispatch):
13217         * minibuffer.C:
13218         * minibuffer.h: add a few std:: qualifiers
13219
13220 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * minibuffer.[Ch]: reimplement so that commands is initiated and
13223         run from lyxfunc, simplified som handling, and made the completion
13224         and history code for complete. wip.
13225
13226         * lyxfunc.C (processKeySym): call message
13227         (miniDispatch): new temporary method
13228         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13229         (LFUN_MESSAGE): implement
13230         (LFUN_MESSAGE_PUSH): implement
13231         (LFUN_MESSAGE_POP): implement
13232         (initMiniBuffer): the initial/defualt minibuffer message.
13233
13234         * lyxfont.[Ch]: inline some more getters
13235
13236         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13237
13238         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13239
13240         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13241         (AutoSave): use LFUN_MESSAGE
13242         (Reconfigure): ditto
13243
13244         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13245
13246         * figureForm.C: use LFUN_MESSAGE
13247
13248         * converter.C (runLaTeX): use LFUN_MESSAGE
13249
13250         * bufferview_funcs.C: use LFUN_MESSAGE
13251         (Melt): ditto
13252         (changeDepth): ditto
13253
13254         * bufferparams.h: use boost::
13255
13256         * bufferlist.h: inherit privately from noncopyable
13257
13258         * bufferlist.C (loadLyXFile): remove some commented code.
13259
13260         * buffer.C (runChktex): use LFUN_MESSAGE
13261
13262         * ShareContainer.h: inherit privately from noncopyable
13263
13264         * ParagraphParameters.[hC] (depth): inline it.
13265
13266         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13267         methods.
13268         (message): new method
13269         (messagePush): ditto
13270         (messagePop): ditto
13271         (show): init minibuffer
13272         (showState): direct call
13273
13274         * LaTeX.[Ch]: inherit privately from noncopyable
13275         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13276         instead of WriteStatus.
13277
13278         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13279
13280         * BufferView_pimpl.C (buffer): don't init minibuffer
13281         (workAreaButtonPress): use LFUN_MESSAGE
13282         (workAreaButtonRelease): ditto
13283         (savePosition): ditto
13284         (restorePosition): ditto
13285         (MenuInsertLyXFile): ditto
13286         (workAreaExpose): don't init minibuffer
13287         (update): remove commented code, simplify
13288
13289         * BufferView2.C (openStuff): use LFUN_MESSAGE
13290         (toggleFloat): ditto
13291         (menuUndo): ditto
13292         (menuRedo): ditto
13293         (copyEnvironment): ditto
13294         (pasteEnvironment): ditto
13295         (copy): ditto
13296         (cut): ditto
13297         (paste): ditto
13298         (gotoInset): ditto
13299         (updateInset): remove some commented code
13300
13301         * lastfiles.h: inherit privately from noncopyable
13302         * layout.h: ditto
13303         * lyx_gui.h: ditto
13304         * lyx_main.h: ditto
13305         * lyxlex.h: ditto
13306         * lyxlex_pimpl.h: ditto
13307
13308         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13309         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13310         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13311
13312         * LyXAction.h: inherit privately from noncopyable, add methods
13313         func_begin, func_end, returning iterators to the func map.
13314
13315         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13316         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13317         (func_begin): new method
13318         (func_end): new method
13319
13320         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13321         and not)
13322         (copySelection): ditto
13323         (pasteSelection): ditto
13324
13325         * BufferView.C: whitespace change
13326         * BufferView.h: inherit privately from noncopyable
13327
13328 2001-04-16  Allan Rae  <rae@lyx.org>
13329
13330         * tabular-old.C (l_getline):
13331         * spellchecker.C (sc_check_word):
13332         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13333         an unrecognised preprocessor directive.  So ensure they're wrapped.
13334
13335 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * src/exporter.C (Export): Give an error message when path to file
13338         contains spaces.
13339
13340 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * LaTeX.C (deplog): Always check that foundfile exists.
13343
13344 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyx_main.h:
13347         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13348
13349 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * tabular.[Ch] (getLabelList): implement new method
13352
13353         * minibuffer.h: comment ouf setTiimer
13354
13355         * minibuffer.C (ExecutingCB): constify res
13356         (peek_event): constify s
13357         (Set): constify ntext
13358         (Init): constify nicename
13359
13360         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13361
13362         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13363         (savePosition): use two params to Minibuffer::Set
13364         (restorePosition): ditto
13365
13366 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13367
13368         * lyx_main.C: include language.h
13369
13370         * Makefile.am (lyx_main.o): add language.h
13371
13372 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * exporter.C:
13375         * paragraph.C:
13376         * screen.C:
13377         * tabular.C:
13378         * CutAndPaste.C: include gettext.h
13379
13380         * lyxfont.h: remove old hack with ON and OFF.
13381
13382         * lyxparagraph.h:
13383         * lyxfont.h: do not include language.h...
13384
13385         * BufferView2.C:
13386         * LaTeXFeatures.C:
13387         * Painter.C:
13388         * bufferview_funcs.C:
13389         * font.C:
13390         * lyxfont.C:
13391         * text.C:
13392         * text2.C:
13393         * trans_mgr.C:
13394         * paragraph.C: ... but do it here instead
13395
13396 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13399
13400         * tabular.C: small reformat
13401
13402         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13403         NEW_INSETS version
13404         (GetChar): ditto
13405         (BreakParagraph): ditto
13406         (SetOnlyLayout): ditto
13407         (SetLayout): ditto
13408
13409         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13410         with one arg less.
13411
13412         * lastfiles.C: removed most using decl, add std:: where needed
13413
13414         * buffer.C: ws changes
13415
13416         * MenuBackend.C (class compare_format): put into anon namespace
13417         (expand): constify label, names, action, action2
13418         (expand):
13419
13420         * text.C (SingleWidth): constify font
13421         (IsBoundary): constify rtl2
13422         (GetVisibleRow): constify ww
13423
13424         * LaTeX.C (deplog): constify logfile
13425
13426         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13427         start_x, end_x
13428         (workAreaExpose): constify widthChange, heightChange
13429
13430         * lyxrow.C (par): moved
13431         (height): moved
13432         (next): moved
13433         * lyxrow.h: as inlines here
13434
13435         * lyxfont.h (shape): moved from lyxfont.C
13436         (emph): moved from lyxfont.C
13437
13438         * lyxfont.C (LyXFont): use initialization list for all
13439         constructors
13440         (shape): move to lyxfont.h as inline
13441         (emph): move to lyxfont.h as inline
13442
13443
13444 2001-04-04  Juergen Vigna  <jug@sad.it>
13445
13446         * vspace.C: had to include stdio.h for use of sscanf
13447
13448 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13449
13450         * BufferView.h:
13451         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13452         independent of xforms.
13453
13454 2001-04-02  Juergen Vigna  <jug@sad.it>
13455
13456         * spellchecker.C: fixed namespace placing!
13457
13458 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13461         the LyXParagraph * is 0.
13462
13463 2001-03-29  Juergen Vigna  <jug@sad.it>
13464
13465         * vspace.C: added support for %, c%, p%, l%.
13466         (stringFromUnit): added helper function.
13467         (asLatexString): changed to give right results for the %-values.
13468
13469         * buffer.C: convert the widthp in a width%.
13470
13471 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13474         figureForm.[Ch].
13475
13476         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13477         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13478
13479         * lyx_cb.[Ch]: see above.
13480
13481         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13482         form1.[Ch].
13483
13484         * form1.[Ch]:
13485         * lyx.[Ch]: replaced by figure_form.[Ch].
13486
13487         * lyx_gui.C:
13488         * lyx_gui_misc.C:
13489         * lyxfunc.C: changed headers associated with above changes.
13490
13491 2001-03-27  Juergen Vigna  <jug@sad.it>
13492
13493         * BufferView_pimpl.C: set the temporary cursor right!
13494
13495 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13498
13499 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * LString.h: removed "using std::getline"!
13502
13503         * BufferView_pimpl.C (Dispatch): changes due to changes in
13504         InsetInclude::Params.
13505
13506         * buffer.C (tag_name): removed redundant break statements as they were
13507         producing lots of warnings with my compiler.
13508
13509 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * LString.h: add "using std::getline" when using the real <string>.
13512
13513 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13514
13515         * buffer.C: removed bitset usage.
13516         PAR_TAG moved to an anonymous name space.
13517         (tag_name): new funtion, also in the anonymous namespace.
13518         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13519         (makeDocBookFile): clean code. Completed transition from string arrays
13520         to string vectors.
13521         (SimpleDocBookOnePar): code clean.
13522
13523 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13524
13525         * tabular.C: add some comments.
13526
13527 2001-03-22  Juergen Vigna  <jug@sad.it>
13528
13529         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13530         compatibility read a bit and fixed bug with minipage in different
13531         depth.
13532
13533 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13534
13535         * buffer.C (pop_tag): removed.
13536         (push_tag): removed.
13537         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13538         array replaced with vector. Added support for CDATA sections.
13539         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13540         at any nest level.
13541         (makeDocBookFile): XML conformant declaration of CDATA section,
13542         fixed bug related to <emphasis> in the first paragraph char.
13543         (sgmlOpenTag): exclude empty tags.
13544         (sgmlCloseTag): ditto.
13545
13546         * buffer.h (pop_tag): removed.
13547         (push_tag): removed.
13548
13549 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13550
13551         * language.h (Languages): added size_type and size().
13552
13553 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13554
13555         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13556         response on compability reading of minipages. One probliem is that
13557         the old usage of minipages was «flertydig»
13558
13559         * several files here and in subdirs: don't use static at file
13560         scope use anon namespaces instead.
13561
13562 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13563
13564         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13565         LaTeX output. This is necessary for Literate document
13566         processing.
13567
13568 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13569
13570         * buffer.C: insert hfill when needed.
13571
13572         * tabular.C (l_getline): use string::erase, small whitespace change.
13573
13574         * BufferView_pimpl.C: try the anon namespace.
13575         * WorkArea.C: ditto
13576
13577 2001-03-16  Juergen Vigna  <jug@sad.it>
13578
13579         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13580         otherwise it won't open options-dialogs.
13581
13582         * buffer.C: honor pextraWidth(p) on converting minipages.
13583
13584         * tabular.C (l_getline): changed the functions to strip trailing \r.
13585
13586 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13587
13588         * BufferView_pimpl.C:
13589         * minibuffer..C: added "using SigC::slot" declaration.
13590
13591 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13592
13593         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13594
13595         * text2.C: ditto
13596
13597         * text.C: ditto
13598
13599         * paragraph.C: ditto
13600
13601         * lyxtext.h: NO_PEXTRA
13602
13603         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13604
13605         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13606         * ParameterStruct.h: ditto
13607         * ParagraphParameters.h: ditto
13608         * lyxparagraph.h: ditto
13609
13610 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13611
13612         * buffer.C: add compability for minipage alignment.
13613         (latexParagraphs): remove unwanted pextra check.
13614
13615         * several files: remove CXX_WORKING_NAMESPACES
13616
13617         * buffer.C (pop_tag): tie is in namespace boost
13618
13619         * BufferView.h: noncopyable is in namespace boost
13620         * lyxlex.h: ditto
13621         * lyx_main.h: ditto
13622         * lyx_gui.h: ditto
13623         * layout.h: ditto
13624         * lastfiles.h: ditto
13625         * bufferlist.h: ditto
13626         * ShareContainer.h: ditto
13627         * LyXView.h: ditto
13628         * LyXAction.h: ditto
13629         * LaTeX.h: ditto
13630
13631 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13632
13633         * Merging changes from BRANCH_MVC back into HEAD.
13634
13635         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13636
13637 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13638
13639         * BufferView_pimpl.C: change from intl.C
13640
13641         * combox.h:
13642         * combox.C:
13643         * Makefile.am: move combox.*
13644
13645         * form1.h:
13646         * form1.C:
13647         * lyx_gui.C:
13648         * intl.h:
13649         * intl.C: remove dialog (covered by prefs)
13650
13651 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * lyxfunc.C (Dispatch): removed redundant break statement.
13654
13655 2001-03-14  Juergen Vigna  <jug@sad.it>
13656
13657         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13658
13659 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13660
13661         * buffer.C: add hack to fix compability reading of minipages.
13662
13663 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * buffer.C (getLists): Cleanup.
13666
13667 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * lyxfont.C (update): don't honor toggleall on font size.
13670
13671 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * bmtable.c:
13674         * bmtable.h:
13675         * Makefile.am: moved to frontends/xforms/
13676
13677         * lyx_gui_misc.C:
13678         * lyxfunc.C:
13679         * BufferView_pimpl.C: changes for moved mathpanel
13680
13681 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * gettext.h: fix gettext_init() in --disable-nls
13684
13685 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13686
13687         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13688
13689 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * lyx.C:
13692         * lyx.h: strip external form
13693
13694 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * BufferView_pimpl.C: add comment, destroySplash()
13697
13698 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * BufferView_pimpl.C:
13701         * LyXAction.C:
13702         * buffer.C:
13703         * commandtags.h:
13704         * lyxfunc.C: use re-worked insetinclude
13705
13706 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13707
13708         * buffer.C: add using std::stringstream.
13709
13710         * lyx_cb.C: readd using std::ios.
13711
13712         * buffer.C: add using std::map.
13713
13714         * BufferView_pimpl.C: add using std::vector.
13715
13716         * ShareContainer.h: add std:: to swap.
13717
13718         * buffer.h: add some typedefs
13719         * buffer.C (getLists): use them
13720         (getLists): renamed from getTocList.
13721         add a counter for the different float types and use it in the
13722         generated string.
13723         (getLists): use the same counter for the NEW_INSETS and the "non"
13724         NEW_INSETS
13725
13726         * lyx_cb.h: remove unused items, includes, using etc.
13727
13728         * ShareContainer.h: remove some commented code, add more comments
13729         and "documentation".
13730
13731 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13732
13733         * buffer.C (getTocList): make the list also when NEW_INSETS is
13734         defined.
13735
13736         * buffer.h: remove TocType
13737
13738         * buffer.C (getTocList): change to return a map<string,
13739         vector<TocItem> >, implement for dynamic number of list.
13740
13741         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13742         * text2.C (PasteSelection): adjust
13743         * CutAndPaste.C (pasteSelection): adjust
13744
13745         * FloatList.C (FloatList): update from the new_insets branch.
13746         * Floating.[Ch]: ditto
13747         * LaTeXFeatures.C: ditto
13748         * buffer.C: ditto
13749         * lyxlex_pimpl.C: ditto
13750
13751         * paragraph.C (Last): remove when NEW_INSETS is defined.
13752
13753         * other file: changes because of the above.
13754
13755 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13756
13757         * lyxparagraph.h: rename next to next_, previous to previous_,
13758         make them private for NEW_INSETS. Rename Next() to next(),
13759         Previous() to previous().
13760
13761         * other files: changes because of the above.
13762
13763 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * BufferView.h:
13766         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13767         problem.
13768
13769 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * main.C (main): pass lyx_localedir to gettext_init().
13772
13773         * gettext.h: remove locale_init and gettext_init macros
13774
13775         * gettext.C (locale_init): new function
13776         (gettext_init): new function
13777
13778         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13779         setlocale().
13780
13781 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13782
13783         * Moved credits to frontends:
13784         * credits.[Ch]: removed
13785         * credits_form.[Ch]: removed
13786         * lyx_gui_misc.C: remove credits stuff
13787         * Makefile.am:
13788
13789 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13790
13791         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13792
13793         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13794         unneeded destructor.
13795
13796         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13797         a standalone pointer again.
13798
13799         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13800
13801 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * Makefile.am:
13804         * filedlg.h:
13805         * filedlg.C:
13806         * LyXAction.C:
13807         * ToolbarDefaults.C:
13808         * bufferlist.C:
13809         * commandtags.h:
13810         * form1.C:
13811         * form1.h:
13812         * lyx_cb.C:
13813         * lyx_cb.h:
13814         * lyxfunc.h:
13815         * lyxfunc.C:
13816         * BufferView_pimpl.C: use new file dialog in GUII
13817
13818         * lyx_cb.h:
13819         * lyx_cb.C: remove LayoutsCB to Toolbar
13820
13821 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * ShareContainer.h (get): add std:: qualifier
13824
13825 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * ShareContainer.h: define a proper ShareContainer::value_type
13828         type (and use typename to please compaq cxx)
13829
13830 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13831
13832         * lyxparagraph.h: move serveral local vars to
13833         ParameterStruct/ParagraphParameters., use ShareContainer in
13834         FontTable., make vars in FontTable private and add getter and
13835         setter.
13836
13837         * paragraph.C: changes because of the above.
13838
13839         * lyxfont.h: remove copy constructor and copy assignment. (the
13840         default ones is ok), move number inside FontBits. move inlines to
13841         lyxfont.C
13842
13843         * lyxfont.C: add number to initializaton of statics, move several
13844         inlines here. constify several local vars. some whitespace
13845         cleanup. Dont hide outerscope variables.
13846
13847         * Spacing.h: add two new constructors to match the set methods.
13848
13849         * ShareContainer.h: new file, will perhaps be moved to support
13850
13851         * ParameterStruct.h: new file
13852
13853         * ParagraphParameters.h: new file
13854
13855         * ParagraphParameters.C: new file
13856
13857         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13858         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13859
13860         * BufferView_pimpl.C: ParagraphParameter changes.
13861         * buffer.C: Likewise.
13862         * bufferview_funcs.C: Likewise.
13863         * text.C: Likewise.
13864         * text2.C: Likewise.
13865
13866 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * lyxfind.C (LyXReplace): do not redefine default argument in
13869         implementation.
13870         (IsStringInText): ditto
13871         (SearchForward): ditto
13872         (SearchBackward): ditto
13873
13874 2001-03-06  Juergen Vigna  <jug@sad.it>
13875
13876         * lyxfind.C (IsStringInText): put parentes around expressions.
13877
13878 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13879
13880         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13881
13882 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13885
13886         * stl_string_fwd.h: add comment
13887
13888         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13889
13890         * tabular.h:
13891         * tabular.C: remove unused DocBook methods
13892
13893         * intl.C:
13894         * language.C:
13895         * paragraph.C:
13896         * buffer.C:
13897         killed DO_USE_DEFAULT_LANGUAGE
13898
13899 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * lyx_gui.C: do not include language.h.
13902
13903         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13904         arguments in function implementation.
13905
13906 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13907
13908         * BufferView_pimpl.C: add <ctime>
13909
13910 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13911
13912         * BufferView_pimpl.C: add using std::find_if
13913
13914 2001-02-27  José Matos  <jamatos@fep.up.pt>
13915
13916         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13917         by OnlyPath.
13918
13919 2001-02-11  José Matos  <jamatos@fep.up.pt>
13920
13921         * buffer.C (makeDocBookFile): command styles now have a parameter as
13922         "title" by default.
13923
13924 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13925
13926         * layout_forms.[Ch]: removed
13927         * lyx_cb.[Ch]: out character
13928         * lyx_gui.C: out character
13929         * lyx_gui_misc.C: out character
13930         * bufferview_funcs.C: : out character,
13931         added toggleall as parameter in ToggleAndShow
13932
13933 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13936
13937         * text2.C (SetCurrentFont): Disable number property at boundary.
13938
13939 2001-02-26  Juergen Vigna  <jug@sad.it>
13940
13941         * lyxfunc.C (getStatus): added a string argument override function so
13942         that this is correctly called from LyXFunc::Dispatch if it contains a
13943         do_not_use_argument which is used!
13944         (Dispatch): added check for "custom" export and call appropriate func.
13945
13946 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * lyxrc.C: Add language_command_local, language_use_babel and
13949         language_global_options.
13950
13951         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13952
13953         * buffer.C (makeLaTeXFile): Use language_use_babel and
13954         language_global_options.
13955
13956 2001-02-23  Juergen Vigna  <jug@sad.it>
13957
13958         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13959         which works with LyXText and putted it inside BufferView. Here now we
13960         only call for that part the BufferView::Dispatch() function.
13961
13962         * BufferView.C (Dispatch): added.
13963
13964         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13965         functions which needs to use a LyXText over from LyXFunc.
13966         (MenuInsertLyXFile): added
13967         (getInsetByCode): added
13968         (moveCursorUpdate): added
13969         (static TEXT): added
13970
13971 2001-02-22  Juergen Vigna  <jug@sad.it>
13972
13973         * BufferView_pimpl.C (update): call a status update to see if LyXText
13974         needs it.
13975
13976 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13977
13978         * vc-backend.C (revert): implement for CVS
13979         (getLog): implement for CVS
13980
13981 2001-02-20  Juergen Vigna  <jug@sad.it>
13982
13983         * text2.C (ClearSelection): added BufferView param for inset_owner call
13984
13985         * lyxfunc.C (TEXT): added this function and use it instead of
13986         directly owner->view()-text of getLyXText().
13987
13988 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13989
13990         * src/layout_forms.C: out preamble
13991         * src/layout_forms.h: out preamble
13992         * src/lyx_cb.C: out preamble
13993         * src/lyx_cb.h: out preamble
13994         * src/lyx_gui.C: out preamble
13995         * src/lyx_gui_misc.C: out preamble
13996         * src/lyxfunc.C: connect with guii preamble
13997
13998 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13999
14000         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14001
14002 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14003
14004         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14005         whether to run bibtex.
14006
14007 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14010
14011 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14012
14013         * Makefile.am (lyx_SOURCES): removed bibforms.h
14014
14015         * vspace.h: doxygen
14016
14017         * text.C (GetVisibleRow): make several local vars const
14018
14019         * tabular.C: small cleanup.
14020
14021         * lyxserver.C (callback): use compare instead of strncmp
14022
14023         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14024         inlines to after class or to paragraph.C
14025
14026         * lyxfont.h: remove friend operator!=
14027
14028         * converter.h: move friend bool operator< to non friend and after
14029         class def.
14030
14031         * combox.h: small cleanup
14032
14033         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14034         to inlines after class def.
14035
14036         * buffer.C (pop_tag): use string operations instead of strcmp
14037
14038         * bmtable.c: doxygen, small cleanup
14039
14040         * LaTeX.h: remove friend operator==
14041
14042 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14043
14044         * screen.C:
14045         * lyxrc.[Ch]:
14046         * lyxfunc.C:
14047         * lyxfont.[Ch]:
14048         * lyx_cb.C:
14049         * intl.[Ch]:
14050         * commandtags.h:
14051         * buffer.C:
14052         * WorkArea.[Ch]:
14053         * LyXAction.C:
14054         * BufferView_pimpl.C:
14055         * BufferView.[Ch]: remove cruft
14056
14057 2001-02-14  Juergen Vigna  <jug@sad.it>
14058
14059         * lyxfunc.C: removed #if 0 unused code
14060
14061         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14062
14063         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14064
14065         * text2.C (SetSelection): added a BufferView * parameter
14066
14067 2001-02-13  Juergen Vigna  <jug@sad.it>
14068
14069         * lyxfunc.C (Dispatch): fixed protected blank problem.
14070         * BufferView2.C (protectedBlank): added LyxText * parameter.
14071
14072         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14073         (AppendColumn): same as above for column_info.
14074
14075         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14076         (moveCursorUpdate): use a LyXText param for support of InsetText.
14077
14078         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14079         (tripleClick): ditto
14080
14081         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14082
14083         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14084
14085         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14086
14087         * text2.C (SetSelection): set correct update status if inset_owner
14088         (ToggleFree): ditto
14089
14090 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14091
14092         * tabular.C: remove some commented code.
14093
14094 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14095
14096         * BufferView_pimpl.C: call hideSplash()
14097
14098         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14099
14100         * include_form.h:
14101         * bibforms.h: remove
14102
14103         * lyxfunc.C:
14104         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14105           add LFUN_CHILD_CREATE
14106
14107         * counters.h: fix tiny typo
14108
14109         * lyx_cb.C:
14110         * lyx.h:
14111         * lyx_gui.C:
14112         * lyx.C: move splash to frontends/xforms/
14113
14114         * lyx_gui_misc.C: move Include and Bibform to frontends
14115
14116         * lyxvc.h: clarify comment
14117
14118         * vspace.C: tiny housekeeping
14119
14120 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14121
14122         * text.C (PrepareToPrint): RTL Fix.
14123
14124         * paragraph.C (GetUChar): New method.
14125         (String):  Use GetUChar.
14126
14127         * buffer.C (asciiParagraph): Use GetUChar.
14128
14129 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14130
14131         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14132
14133 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * buffer.h:
14136         * buffer.C: rename to getLogName(), handle
14137           build log / latex log nicely
14138
14139 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14140
14141         * MenuBackend.C:
14142         * MenuBackend.h: remove support for reference menuitem type.
14143
14144 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * BufferView_pimpl.C: housekeeping
14147         * BufferView_pimpl.h:
14148         * LyXView.h:
14149         * Makefile.am:
14150         * Timeout.C:
14151         * Timeout.h:
14152         * minibuffer.h: move Timeout GUI-I
14153
14154 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * lyxrc.C (read): Update converters data-structures.
14157
14158 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14159
14160         * LaTeX.h (operator!=): add operator != for Aux_Info
14161
14162 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14165
14166         * LaTeXLog.C: deleted, useful code moved to Buffer
14167
14168         * buffer.h:
14169         * buffer.C: new function getLatexLogName()
14170
14171         * lyx_gui_misc.C:
14172         * lyx_gui.C:
14173         * lyxvc.C:
14174         * lyxvc.h:
14175         * lyxfunc.C: use frontends for LaTeX and VC logs
14176
14177 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * LaTeX.h: yet another std:: that Allan forgot.
14180
14181         * Variables.C (set): renamed from isset(), because this clashes
14182         with some HP-UX macros (grr).
14183
14184 2001-02-06  Allan Rae  <rae@lyx.org>
14185
14186         * LaTeX.h: Another bug fix.  Missing std:: this time.
14187
14188 2001-02-04  Allan Rae  <rae@lyx.org>
14189
14190         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14191         floats problem. I've left it commented out because it's not quite
14192         correct.  It should also test that the current object is a table or
14193         figure inset.  But I haven't gotten around to figuring out how to do
14194         that.  I *think* it'll be something like: "table" == inset.type()
14195
14196         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14197         bool.
14198
14199 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14200
14201         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14202         all the citation/databases/styles in the auxilary file.
14203         (run): Rerun latex if there was a babel language error.
14204
14205 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * text.C (Backspace): Preserve the font when changing newline char
14208         with a space.
14209         (BreakParagraph): If the cursor is before a space, delete the space.
14210
14211         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14212
14213 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14216         new argument (code).
14217         (ChangeCitationsIfUnique): New method.
14218
14219         * paragraph.C (GetPositionOfInset): Handle bibkey.
14220
14221 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * BufferView_pimpl.h: change type of Position::par_pos to
14224         LyXParagraph::size_type.
14225
14226 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14227
14228         * BufferView_pimpl.C (savePosition, restorePosition): Write
14229         messages to minibuffer.
14230
14231 2001-01-28  José Matos  <jamatos@fep.up.pt>
14232
14233         * buffer.C (makeDocBookFile): adds support for document language.
14234         A silly restriction on the name of LatexCommand types where removed.
14235         Added support for CDATA sections, allows to chars unescaped, used
14236         among others in code, to avoid escape < and >.
14237
14238 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14239
14240         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14241         saved positions instrad of a stack. Furthermore, a position is
14242         stored using paragraph id/paragraph position.
14243
14244         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14245         Remove LFUN_REF_BACK.
14246
14247 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * converter.C (dvipdfm_options): New method.
14250
14251 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * vspace.C (isValidLength): Fix for empty input string.
14254
14255 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * LyXAction.C (init): change description of LFUN_FIGURE to
14258         "Insert Graphics"
14259
14260 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14261
14262         * LaTeX.C: add using directive
14263
14264 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * MenuBackend.C (expand): Fix the sorting of the formats.
14267
14268 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * lyx_main.C: tiny error message fix
14271
14272 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14275         calling fl_initialize(). This fixes the problem with ',' as
14276         decimal separator in text files.
14277
14278 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14279
14280         * trans.C (process): Fix the keymap bug.
14281
14282 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * LaTeX.C (scanAuxFiles): New method. Provides support for
14285         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14286         (scanLogFile) Scan for "run BibTeX" messages.
14287
14288         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14289         OT1 font encoding. Also, load the aecompl package if the ae
14290         package is loaded.
14291
14292         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14293
14294 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * texrow.C (increasePos): turn two error messages into debug
14297         messages.
14298
14299 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14300
14301         * LaTeX.C (scanAux): Handle the \@input macro.
14302         (runBibTeX): Use scanAux().
14303
14304         * language.C (latex_options_): New field.
14305
14306         * LaTeXFeatures.C (getMacros): Add language macros.
14307
14308         * buffer.C (makeLaTeXFile): Small fix.
14309
14310 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14313
14314         * text2.C: add a using directive.
14315
14316 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * BufferView2.C:
14319         * lyx_gui_misc.h:
14320         * lyxfr1.C:
14321         * lyxfunc.C: kill LyXBell.
14322
14323 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * text.C (IsBoundary): Remove the error message
14326
14327         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14328
14329         * lyxrc.C (setDefaults): Correct initialization value for
14330         font_norm_type.
14331
14332 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14333
14334         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14335         gotoError().
14336
14337         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14338         and GotoNextNote().
14339
14340         * src/LyXAction.C: Added reference-next.
14341
14342         * text.C (InsertChar): Use contains instead of strchr.
14343
14344         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14345
14346 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14349         alignment commands (when needed).
14350
14351         * text.C (InsertChar): Add ':' to number separator chars.