]> git.lyx.org Git - features.git/blob - src/ChangeLog
Output useful info on receipt of LFUN_GETLAYOUT.
[features.git] / src / ChangeLog
1 2003-12-28  Angus Leeming  <leeming@lyx.org>
2
3         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4
5 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text2.C (setParagraph): fix off-by-one crash
8
9 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
10
11         * output_docbook.C: header stuff for AGU
12
13 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * text2.C (redoCursor): remove
16         * text.C:
17         * text3.C:
18         * BufferView_pimpl.C: remove calls to redoCursor and
19         setCursor(cursor.par(), cursor.pos()) all around
20
21 2003-12-15  Angus Leeming  <leeming@lyx.org>
22
23         * buffer.C: up the format to 228.
24
25 2003-12-15  André Pönitz  <poenitz@gmx.net>
26
27         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
28         slices
29
30         * Makefile.am:
31
32         * BufferView_pimpl.C:
33         * cursor.[Ch]:
34         * lyxcursor.[Ch]:
35         * rowpainter.[Ch]:
36         * lyxtext.h:
37         * text.C:
38         * text2.C:
39         * text3.C: adjust
40
41 2003-12-15  Angus Leeming  <leeming@lyx.org>
42
43         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
44         than getFromGUIName to manipulate the color.
45
46 2003-12-14  Angus Leeming  <leeming@lyx.org>
47
48         * BranchList.[Ch]: minimize the API.
49         (Branch::getBranch, getColor): now return a 'const &'.
50         (Branch::setSelected) now returns a bool set to true if the
51         selection status changes.
52         (BranchList::clear, size, getColor, setColor, setSelected,
53         allBranches, allSelected, separator): removed.
54         (BranchList::find): new functions, returning the Branch with
55         the given name.
56         (BranchList::add, remove): return a bool indicating that
57         the operation was successful.
58
59         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
60         new InsetBranch::isBranchSlected member function.
61
62         * LColor.[Ch]: mimimize the API.
63         (fill): renamed as addColor and made private.
64         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
65         versions of these functions taking a string arg have been removed.
66
67         * bufferparams.C (readToken):
68         * lyxfunc.C (dispatch):
69         * lyxrc.C (read): changes due to the altered BranchList and
70         LColor APIs.
71
72         * factory.C (createInset, readInset): changes due to altered
73         InsetBranch c-tor.
74
75 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
76
77         * factory.C: 
78         * lyxfunc.C: remove insetminipage. "minipage-insert"
79         now produces a frameless minipage box inset.
80
81 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * textcursor.[Ch] (selStart,selEnd): add new methods 
84         remove selection::start, end, use LyXCursor::operator<
85         * lyxcursor.[Ch] (operator<): add
86         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
87         * BufferView.[Ch] (unsetXSel): add
88         * text2.C (clearSelection): use unsetXSel,adjust
89         * text.C: adjust
90         * text3.C: adjust
91         * rowpainter.C: adjust
92         * bufferview_funcs.C (put_selection_at): adjust
93
94 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
95
96         * BufferView_pimpl.C: small coord. correction
97
98 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
99
100         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
101         dragging over the splash screen.
102
103 2003-12-11  Angus Leeming  <leeming@lyx.org>
104
105         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
106         as it is now handled in LyXText::dispatch.
107
108         * text3.C (doInsertInset): remove a level of nesting.
109
110 2003-12-11  Angus Leeming  <leeming@lyx.org>
111
112         * factory.C (createInset): changes due to the changed interface to
113         InsetCommandMailer::string2params.
114
115 2003-12-10  Angus Leeming  <leeming@lyx.org>
116
117         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
118         'dialog-show-new-inset <inset name>'
119
120 2003-12-10  Angus Leeming  <leeming@lyx.org>
121
122         * buffer.C: up the format to 227.
123
124         * factory.C: the box inset is now identified simply by 'Box'.
125
126 2003-12-10  Angus Leeming  <leeming@lyx.org>
127
128         * buffer.C: up the format to 226.
129
130         * factory.C: the note inset is now identified simply by 'Note'.
131
132 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
133
134         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
135         when a pit is enough. Standarize a couple of loops. 
136
137 2003-12-05  Angus Leeming  <leeming@lyx.org>
138
139         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
140         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
141         data to the re-worked "log" dialog.
142
143 2003-12-03  André Pönitz  <poenitz@gmx.net>
144
145         * PosIterator.C:
146         * iterators.C:
147         * lyxtext.h:
148         * output_latex.C:
149         * paragraph_funcs.C:
150         * text.C:
151         * text2.C: use Inset::getText instead of Inset::getParagraph
152
153 2003-12-03  André Pönitz  <poenitz@gmx.net>
154
155         * buffer.[Ch]:
156         * lyxtext.h:
157         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
158         InsetText::read() as LyXText::read()
159         
160 2003-12-02  Angus Leeming  <leeming@lyx.org>
161
162         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
163         type. Add a comment in the implementation that the function uses
164         the stream's bad() function rather than fail() as the std::streams
165         would do.
166
167 2003-12-02  André Pönitz  <poenitz@gmx.net>
168
169         * lyxlex.[Ch]: make interface more similar to std::stream
170
171         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
172
173 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
176
177 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
178
179         * vspace.[Ch]: remove VSpace::NONE
180
181 2003-12-01  André Pönitz  <poenitz@gmx.net>
182
183         * buffer.[Ch]:
184         * lyxtext.h: move ParagraphList member to LyXText
185         rename LyXText::ownerParagraphs to LyXText::paragraph
186
187         * CutAndPaste.C:
188         * bufferview_funcs.C:
189         * iterators.[Ch]:
190         * lyx_cb.C:
191         * paragraph.C:
192         * rowpainter.C:
193         * tabular.C:
194         * text.C:
195         * text2.C:
196         * text3.C: adjust
197
198         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
199
200         * undo.C: fix cursor positioning 
201
202 2003-12-01  John Levon  <levon@movementarian.org>
203
204         * BufferView_pimpl.C: fix a crash on exit with
205         a buffer open
206
207 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * BranchList.C: fix setSelected() method.
210
211 2003-11-28  André Pönitz  <poenitz@gmx.net>
212
213         * ParagraphParameters.[Ch]:
214         * ParameterStruct.h: remove space above/below from Paragraph to
215          InsetVSpace
216
217         * BufferView_pimpl.C:
218         * factory.C:
219         * lyxfunc.C:
220         * lyxtext.h:
221         * output_latex.C:
222         * paragraph.C:
223         * paragraph_funcs.C:
224         * rowpainter.[Ch]:
225         * text.C:
226         * text2.C:
227         * text3.C: adjust
228
229 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
230
231         * factory.C: Syntax change for CharStyles
232
233 2003-11-28  André Pönitz  <poenitz@gmx.net>
234
235         * BufferView.[Ch]:
236         * BufferView.[Ch]:
237         * buffer.[Ch]:
238         * buffer.[Ch]: move LyXText member
239
240 2003-11-28  André Pönitz  <poenitz@gmx.net>
241
242         * BufferView.[Ch]: make LyXText * text a private member
243
244         * BufferView_pimpl.C:
245         * cursor.C:
246         * iterators.C:
247         * lyx_cb.C:
248         * lyxfind.C:
249         * lyxtext.h:
250         * rowpainter.[Ch]:
251         * text.C:
252         * text2.C:
253         * undo.C: adjust
254
255         * output_plaintext.C: cleanup
256
257 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
258
259         * buffer.C: 
260         * lyxtextclass.[Ch]: parametrize SGML document header
261
262 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * converter.[Ch]:
265         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
266         getFlavor().
267
268 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
269
270         * text2.C (setFont): rework using PosIterator (no more recursive)
271         (setCharFont): no more needed 
272         (setLayout): no more selection cursors fiddling (done by redoCursor)
273         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
274         destroy remaining ones)
275
276 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
279         * lyxtext.h: ditto
280         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
281         selection cursors
282         * lyxfunc.C: adjust
283         * text3.C: adjust + re-allow multi par depth changes
284         * textcursor.C: simplify a bit
285
286 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * src/buffer.C:
289         * src/lyxlayout.C:
290         * src/lyxlayout.h:
291         * src/lyxtext.h:
292         * src/output_docbook.C:
293         * src/output_latex.C:
294         * src/paragraph.C:
295         * src/paragraph.h:
296         * src/sgml.C:
297         * src/sgml.h:
298         * src/text2.C: Introducing a number of tags parametrizing various
299         XML formats that we may want to support
300
301 2003-11-25  André Pönitz  <poenitz@gmx.net>
302
303         * InsetList.[Ch] (begein, end): inline as suggested by profiler
304
305         * lyxtext.h (leftMargin/rightMargin): simplify interface
306
307         * rowpainter.C:
308         * text.C:
309         * text2.C:
310         * text3.C: adjust
311
312 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
313
314         * lyxfunc.C (dispatch): propogate the bibtex databases from the
315         master file to any child files. Fixes bug 546.
316
317 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
318
319         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
320
321 2003-11-24  André Pönitz  <poenitz@gmx.net>
322
323         * rowpainter.C: simplification
324
325         * text2.C (updateCounters): remove call to redoParagraph on 
326         changed labels as this is far too expensive.
327
328 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * converter.C (convert): fix a crash: this function gets
331         called with buffer == 0 from importer code.
332
333 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * text3.C (cursorPrevious): make sure that we do not compare
336         iterators form different containers.
337         (cursorNext): ditto
338
339         * rowpainter.C (paintSelection): make sure that we do not compare
340         iterators from different containers.
341
342         * text3.C (dispatch): [PRIOR] make sure that we do not compare
343         iterators from different ParagraphList containers.
344         [NEXT] ditto
345
346         * text2.C (LyXText): change order of initialization slightly
347         (operator=): new function. copy all variables except cache_par_
348         (moveUp): make sure that we do not compare iterators from
349         different ParagraphList constainers.
350         (moveDown): ditto
351
352         * text.C (firstPar): new function
353         (lastPar): new function
354         (endPar): new function
355
356         * lyxtext.h: move things around and group public functions, public
357         variables, private functions, private variables
358
359 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
360
361         * factory.C: change call to InsetERT constructor to avoid
362         additional invocation of method status
363         * text2.C (toggleInset): remove redundant update() call
364         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
365         instead of a Bufferview pointer
366
367 2003-11-21  André Pönitz  <poenitz@gmx.net>
368
369         * rowpainter.C: simplification
370
371 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * text3.C (dispatch): make possible to extend a word/row selection
374         with the mouse
375
376 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * lyxtext.h: x0_,y0_ -> xo_,yo_
379         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
380         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
381         * rowpainter.C (paintRows): paint full paragraphs
382
383 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
386         screen coordinates)
387
388 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * lyxtext.h: add x0_, y0_
391         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
392         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
393
394 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
395
396         * text2.C (setCursorIntern): move the x_target update here *
397         * text3.C: change some bv() to true/false in calls to
398         cursorUp/Down/Right/Left
399         * cursor.C: use helper function.
400
401 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
404         * paragraph_funcs.[Ch]: correct comment
405         * rowpainter.C: do not paint selections away from bv->cursor()
406         Fix a long standing selection painting bug.
407         * text3.C: generalize mouse-selection code to LyXTexts other that
408         top one
409         * textcursor.C: do not use y coords if we can use par offsets
410
411 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
414         cursor position after e.g. inset insert)
415
416 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * lyxfind.C (replace): adjust to locking removal + some
419         code simplification
420
421 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
424         of the path
425
426 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
427
428         * lyxlayout.[Ch]:
429         * output_docbook.C: XML sanitation: new layout
430         parameters InnerTag and CommandDepth
431
432 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
433
434         * BufferView_pimpl.C:
435         * factory.C:
436         * text3.C: Fix the insertion and modification of button-style
437         insets
438
439 2003-11-13  André Pönitz  <poenitz@gmx.net>
440
441         * InsetList.[Ch]: remove deleteLyXText
442
443         * paragraph.[Ch]: cache beginOfBody position
444
445         * Bidi.C:
446         * text.C:
447         * text2.C:
448         * text3.C: remove superfluous update() calls
449
450         * vspace.C: cleanup
451
452 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
455         * BufferView.C (fitLockedInsetCursor): remove
456         * cursor.[Ch] (getDim): add
457         * text.C (getRowNearY): add faster version
458         * text3.C: remove some update calls
459
460 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
461
462         * LaTeXFeatures.C:
463         * LyXAction.C:
464         * MenuBackend.C:
465         * MenuBackend.h:
466         * dispatchresult.h:
467         * factory.C:
468         * lfuns.h:
469         * lyxfunc.C:
470         * lyxtextclass.C:
471         * lyxtextclass.h:
472         * text3.C: The Character Style /XML short element patch.
473
474 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * text3.C:
477         * factory.C: Small step to solving 'unable to insert some insets'
478         problem
479
480 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
481
482         * cursor.[Ch] (updatePos): new function for updating the y
483         position of the tip inset
484         * bufferview_funcs.C (put_selection_at):
485         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
486
487 2003-11-11  André Pönitz  <poenitz@gmx.net>
488
489         * text.C: remove big comment on invalid Paragraph pointers as it is
490         not valid anymore
491
492 2003-11-11  André Pönitz  <poenitz@gmx.net>
493
494         * text_funcs.[Ch]: merge with ...
495
496         * text.C: ... this
497
498         * lyxtext.h:
499         * text2.C:
500         * text3.C: adjust
501
502         * Makefile.am: remove text_funcs.[Ch]
503
504 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
505
506         * cursor.C (getPos): return absolute cached y coord
507
508         * BufferView_pimpl.C (fitCursor): new simplistic code
509         (workAreaDispatch): add a fitCursor call
510
511 2003-11-10  André Pönitz  <poenitz@gmx.net>
512
513         * BufferView.[Ch]:
514         * BufferView_pimpl.[Ch]: merge update() and updateInset()
515
516 2003-11-10  André Pönitz  <poenitz@gmx.net>
517
518         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
519         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
520         indicate that the cursor needs to leave an inset
521
522         * lyxtext.h: remove inset locking
523
524         * cursor.[Ch]: re-implement functionality provided by inset locking
525
526         * BufferView.[Ch]:
527         * BufferView_pimpl.[Ch]:
528         * LyXAction.C:
529         * bufferview_funcs.[Ch]:
530         * factory.C:
531         * funcrequest.[Ch]:
532         * iterators.C:
533         * lyx_cb.C:
534         * lyxfind.C:
535         * lyxfunc.C:
536         * text.C:
537         * text2.C:
538         * text3.C:
539         * undo.C: adjust
540
541 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
542
543         * PosIterator.[Ch]: replace the stack with a vector, add inset
544         accesor
545         * iterators.[C]: adjust
546
547 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
548
549         * lyxfind.C (replaceAll): mark the buffer dirty if something was
550         replaced
551         * paragraph_funcs.C (readParToken): put the correct id in the
552         error item, not the id of the top paragraph
553
554 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
555
556         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
557         * bufferview_funcs.C (put_selection_at): use the above
558
559 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
560
561         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
562
563 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * output_linuxdoc.h:
566         * output_plaintext.h:
567         * output.h:
568         * output_docbook.h: add #include statements
569
570 2003-11-05  José Matos  <jamatos@lyx.org>
571
572         * output_docbook.[Ch]:
573         * output_latex.[Ch]:
574         * output_linuxdoc.[Ch]:
575         * output_plaintext.[Ch]: New files for output formats.
576         * output.[Ch]: New file for helper functions.
577
578         * buffer.[Ch]:
579         * paragraph_funcs.[Ch]: output functions moved to new files.
580
581         * outputparams.h: rename of latexrunparams.h
582
583         * LaTeX.[Ch]:
584         * buffer.[Ch]:
585         * bufferlist.[Ch]:
586         * converter.[Ch]:
587         * exporter.C:
588         * paragraph.[Ch]:
589         * paragraph_funcs.[Ch]:
590         * paragraph_pimpl.[Ch]:
591         * tabular.[Ch]: rename ascii to plaintext
592         and LatexRunParams to OutputParams.
593
594 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
595
596         * iterators.[Ch] (text): require bv argument
597         * undo.C (recordUndo):
598         * lyxfunc.C (dispatch):
599         * bufferview_funcs.C (put_selection_at): adjust
600
601 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
602
603         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
604
605 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
606
607         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
608         nestings
609
610 2003-11-04  André Pönitz  <poenitz@gmx.net>
611
612         * cursor.[Ch]: restructure
613
614         * BufferView.[Ch]:
615         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
616
617         * iterators.[Ch] (asCursor): remove
618
619         * lfuns.h: remove LFUN_INSET_EDIT
620
621         * lyxfunc.C:
622         * tabular.C:
623         * text.C:
624         * text2.C:
625         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
626
627 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
628
629         * lyxfind.[Ch]: complete overhaul
630         * BufferView_pimpl.C:
631         * lyxfunc.C: adjust
632         * paragraph.[Ch] (insert): add
633
634 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
635
636         * BufferView.[Ch]:
637         * lyxtext.h:
638         * text.C: remove dead spellcheck code
639
640 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
641
642         * dispatchresult.h: add a val setter
643
644         * cursor.C (dispatch): use a tempvar for data_[i]
645
646 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
647
648         * PosIterator.[Ch]: compile fix
649
650 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
651
652         * text.C (cursorPar): deactivate the cursor cache
653
654 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
655
656         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
657
658 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
659
660         * text3.C (dispatch): adjust for new DisptchResult semantics.
661
662         * lyxfunc.C (dispatch): handle update when return from
663         Cursor::dispatch, adjust for new DispatchResult semantics.
664
665         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
666         DispatchResult(true) mean to not update. Add class functions for
667         setting dispatched and update, as well as reading.
668
669         * cursor.C (dispatch): don't handle update here
670
671 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
672
673         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
674         * trans_mgr.C: adjust
675
676         * paragraph_funcs.C (readParToken): exception safety
677
678         * lyxvc.h: store the vcs pointer in a scoped_ptr
679         * lyxvc.C: adjust
680
681         * lyxsocket.C (serverCallback): exception safety
682
683         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
684
685         * ispell.C (clone): make it return a auto_ptr
686
687         * factory.C (createInset): exception safety
688         (readInset): exception safety
689
690         * bufferlist.C (newBuffer): exception safety
691
692         * Thesaurus.C (Thesaurus): use initialization for aik_
693
694         * MenuBackend.C (expandToc): exception safety.
695
696 2003-11-03  André Pönitz  <poenitz@gmx.net>
697
698         * buffer.C:
699         * buffer.h:
700         * bufferview_funcs.C: remove getInsetFromId()
701
702         * lyxcursor.[Ch]:
703         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
704
705         * lyxfunc.C:
706         * text2.C:
707         * text3.C: adjust
708
709 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
710
711         * PosIterator.C (distance, advance): new
712         * bufferview_funcs.[Ch] (put_selection_at): new
713         * iterators.[Ch] (lockPath): new
714
715 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
716
717         * iterators.[Ch] (asPosIterator): added
718         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
719         * PosIterator.[Ch]: added
720
721 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
722
723         * text3.C:
724         * lyxfunc.C:
725         * cursor.C (dispatch):
726         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
727
728         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
729         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
730         contructor, add a class function dispatched. Remove operator>=
731
732 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
733
734         * debug.C: only use the default constructor for debugstream
735         (lyxerr) here.
736
737         * main.C (main): include debug.h and setup the lyxerr streambuf
738         here.
739
740 2003-10-31  José Matos  <jamatos@lyx.org>
741
742         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
743
744         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
745         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
746         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
747         * paragraph_pimpl.C (simpleTeXSpecialC):
748         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
749         add LatexRunParams argument.
750
751         * exporter.C (Export): change call accordingly.
752
753         * latexrunparams.h: add new member to take care of the other backends.
754 2003-10-30  José Matos  <jamatos@lyx.org>
755
756         * buffer.C (makeLinuxDocFile, makeDocBookFile):
757         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
758         factorise code for paragraph output.
759         * buffer.[Ch]:
760         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
761         move functions.
762
763 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
764
765         * text3.C (dispatch):
766         * lyxfunc.C (dispatch):
767         * cursor.C (dispatch):
768         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
769
770         * dispatchresult.h: make the dispatch_result_t ctor explicit
771
772 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
773
774         * sgml.[Ch]:
775         * buffer.C: small refactoring of docbook stuff
776
777 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
778
779         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
780         meaning.
781
782 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
783
784         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
785         operator dispatch_result_t, and operators for == != and >=
786
787         * cursor.C (dispatch): adjust for operator dispatch_result_t
788         removal. comment out call to update
789
790         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
791
792 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * text3.C:
795         * text2.C:
796         * text.C:
797         * lyxtext.h:
798         * lyxfunc.C:
799         * cursor.C:
800         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
801         (dispatch):
802
803         * dispatchresult.h: new file, DispatchResult broken out of
804         insets/insetbase.h
805
806         * Makefile.am (lyx_SOURCES): add dispatchresult.h
807
808 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
809
810         * text.C (rowBreakPoint): put a hack inside #if 0
811
812 2003-10-28  André Pönitz  <poenitz@gmx.net>
813
814         * lyxtext.h:
815         * metricsinfo.C:
816         * paragraph_funcs.C:
817         * rowpainter.C:
818         * text.C:
819         * text2.C: general cleanup (lots of small stuff)
820
821 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
822
823         * text2.C (cursorEnd): simple fix to the "end key goes to one
824         before the end on last row" bug
825
826 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
827
828         * text.C (backspace): fix the "zombie characters"
829
830 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
831
832         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
833
834 2003-10-27  André Pönitz  <poenitz@gmx.net>
835
836         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
837
838         * factory.C: handle new InsetPagebreak, InsetLine
839
840         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
841         and move handling into new InsetPagebreak, InsetLine
842
843         * BufferView_pimpl.C:
844         * LyXAction.C:
845         * ParagraphParameters.C:
846         * ParameterStruct.h:
847         * lyxfunc.C:
848         * lyxtext.h:
849         * paragraph.C:
850         * paragraph.h:
851         * paragraph_funcs.C:
852         * paragraph_pimpl.C:
853         * rowpainter.C:
854         * text.C:
855         * text2.C:
856         * text3.C: adjust
857
858 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
859
860         * text.C:
861         * lyxrow_funcs.[Ch]:
862         * Bidi.C:
863         * paragraph.C:
864         * lyxtext.h:
865         * rowpainter.C:
866         * text2.C:
867         * text3.C: remove lastPos uses in favour of Row::endpos
868
869 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
870
871         * undo.C (performUndoOrRedo): fix two crashes by setting a
872         cursor by hand and reordering some calls. Use bv->lockInset instead
873         of inset->edit because the latter loses cursor information
874
875 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
876
877         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
878         by Martin
879         (rowBreakPoint): fix width. change point to point + 1.
880         Add a missing check.
881
882 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * MenuBackend.C:
885         * lyxfunc.C: fix (at least partly) the problems
886         with the Nav menu and headers inside branch insets
887         reported by Kayvan
888
889 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
890
891         * paragraph.C (getChar): add strong asserts
892
893         * lyxrow_funcs.C (lastPos): remove hideous hack
894
895         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
896         (fill): adjust to that (avoid an infinite loop)
897
898 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
899
900         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
901
902 2003-10-23  André Pönitz  <poenitz@gmx.net>
903
904         * RowList_fwd.h: change list<> to vector<> to gain speed
905         after suggestion from Alfredo
906
907 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
908
909         * lyxtext.h: move the bidi stuff from here...
910         * text.C: and here
911         * text2.C: and here
912         * Bidi.[Ch]: ... to here
913
914 2003-10-23  André Pönitz  <poenitz@gmx.net>
915
916         * lyxtext.h:
917         * text.C (isLastRow, isFirstRow): new functions
918
919         * paragraph.h: new width cache member
920
921         * rowpainter.C: replace RowList::iterator with Row & where possible
922
923         * lyxfunc.C: replace several view()->text with a single call
924
925         * toc.C: fix 'unused' warning
926
927 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
928
929         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
930         when woring with stream::pos_type
931         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
932
933 2003-10-22  André Pönitz  <poenitz@gmx.net>
934
935         * lyxtext.h:
936         * text.C: use Row & instead of RowList::iterator
937
938         * lyxrow.h: rename end() to endpos()
939
940         * rowpainter.C:
941         * text.C:
942         * text2.C: adjust
943
944 2003-10-22  Angus Leeming  <leeming@lyx.org>
945
946         * buffer.[Ch] (fully_loaded): new member function, returning true
947         only when the file has been loaded fully.
948         Used to prevent the premature generation of previews and by the
949         citation inset to prevent computation of the natbib-style label.
950
951         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
952         templates are all set up.
953
954         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
955
956 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
957
958         * text.C: fixed an "oops" in the "is a bit silly"
959         bug fix
960
961 2003-10-21  André Pönitz  <poenitz@gmx.net>
962
963         * FuncStatus.[Ch]: small stuff, whitespace
964
965         * lyxfont.[Ch]: operator<<() for debug reasons
966
967         * lyxfunc.C:
968         * lyxrow_funcs.C:
969         * lyxtext.h: whitespace, spelling
970
971         * paragraph.C: naming of variables
972
973         * text.C:
974         * text2.C: small stuff
975
976
977 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
978
979         * text.C: (1) finish off the inset display() work;
980         (2) fix the "is a bit silly" bug (accessing char
981         past end of par).
982
983 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
984
985         * text.C: re-introduce display() for insets, fixing the
986         various bugs (stretch of line above, math inset
987         positioning, ...)
988
989 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * text.C (rightMargin): remove spurious semicolon
992
993         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
994         1415)
995
996 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
997
998         * text3.C: fix one crash due to wrong cursor def
999
1000 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1001
1002         * vc-backend.C (scanMaster): make the regex static
1003
1004         * LaTeX.C (scanAuxFile): make the regexs static
1005
1006         * text3.C (doInsertInset, dispatch, dispatch):
1007         * text2.C (cursorUp, cursorDown):
1008         * text.C (selectNextWordToSpellcheck):
1009         * BufferView_pimpl.C (dispatch):
1010         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1011
1012 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * lyxsocket.C: include <cerrno>
1015
1016 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1017
1018         * lyxfunc.C (dispatch): remove textcache stuff
1019
1020         * bufferlist.C (release): remove textcache stuff
1021         (closeAll): ditto
1022
1023         * TextCache.C: delete file
1024         * TextCache.h: delete file
1025
1026         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1027
1028         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1029         delete of the bv_->text.
1030         (resizeCurrentBuffer): remove texcache stuff
1031         (workAreaResize): ditto
1032
1033 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1034
1035         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1036         action.
1037
1038 2003-10-16  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxrow.[Ch]:
1041         * paragraph.h:
1042         * rowpainter.C:
1043         * text.C:
1044         * text2.C:
1045         * text3.C: speed up by storing y positions per paragraph plus per-row
1046         offset instead of having a 'full' y position in the row.
1047
1048 2003-10-15  André Pönitz  <poenitz@gmx.net>
1049
1050         * iterators.[Ch]:
1051         * iterators.[Ch]:
1052         * undo.[Ch]: make undo aware of inner insets
1053
1054 2003-10-14  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1057         static member functions LyX::ref() and LyX::cref.
1058         (lastfiles): new accessor functions for the new lastfiles_ member var.
1059         (addLyXView, views_): add a new LyXView to the list of views_.
1060         (updateInset): loop over all LyXViews to call their own updateInset
1061         member function, returning a pointer to the Buffer owning the inset.
1062
1063         * BufferView_pimpl.C (loadLyXFile):
1064         * MenuBackend.C (expandLastfiles):
1065         * bufferlist.C (MenuWrite, QuitLyX):
1066         lastfiles is no longer a global variable.
1067         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1068
1069         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1070         static function. Access through LyX::cref().emergencyCleanup().
1071
1072 2003-10-14  André Pönitz  <poenitz@gmx.net>
1073
1074         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1075
1076         * undo.[Ch]: restoring part of 'undo in insets'
1077
1078         * Makefile.am:
1079         * undo_funcs.[Ch]: merge with undo.[Ch]
1080
1081         * tabular.C: small cleansing stuff
1082
1083 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1084
1085         * paragraph_funcs.C (readParToken): report unknown insets as error
1086         boxes. Use the outer paragraph as location (also for unknown
1087         tokens).
1088
1089         * factory.C (readInset): do not abort on reading an unknown inset.
1090         Eat it and return 0.
1091
1092 2003-10-13  Angus Leeming  <leeming@lyx.org>
1093
1094         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1095
1096         * lyxrc.C: displayTranslator is now a function,
1097         declared in GraphicsTypes.h.
1098
1099 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1100
1101         * format.C: new placeholder $$a to pass the socket address.
1102
1103         * bufferlist.[Ch]: new function getBufferFromTmp.
1104
1105         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1106           files in the temporary dir.
1107
1108 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1109
1110         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1111
1112         * Makefile.am: add lyxsocket.[Ch].
1113
1114         * lyx_main.C (error_handler): handle SIGPIPE.
1115
1116 2003-10-13  André Pönitz  <poenitz@gmx.net>
1117
1118         * BufferView_pimpl.C:
1119         * lyxtext.h:
1120         * text.C:
1121         * text2.C:
1122         * text3.C:
1123         * undo_funcs.[Ch]: use paroffset_type instead of
1124           ParagraphList::iterators to prevent multiple conversion
1125           (and get a more robust interface)
1126
1127 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1128
1129         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1130         * lyxtext.h: ditto
1131         * text3.C (dispatch): ditto
1132
1133 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1134
1135         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1136         move the onlyfile, use onlyfile instead of foundfile in a couple
1137         of places.
1138
1139         * DepTable.C (update): flush the error stream a bit more
1140
1141 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1142
1143         * lyxserver.C (callback): adjust
1144
1145         * lyxfunc.C (getStatus): add a missing brace in commented code
1146         (ensureBufferClean): reindent
1147         (dispatch): delete version taking a string
1148
1149 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1150
1151         * LaTeX.C (deplog): move found file handlig from here...
1152         (handleFoundFile): .. to new function here.
1153         (deplog): make sure to discover several files mentioned on the
1154         same log line.
1155
1156 2003-10-10  André Pönitz  <poenitz@gmx.net>
1157
1158         * lyxfunc.C:
1159         * lyxtext.h:
1160         * tabular.C:
1161         * text.C:
1162         * text2.C:
1163         * text3.C: fix some of the tabular crashes
1164
1165 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1166
1167         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1168
1169         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1170
1171 2003-10-09  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1174
1175         * BufferView.C:
1176         * BufferView_pimpl.C:
1177         * bufferview_funcs.C:
1178         * lyx_cb.C:
1179         * lyxcursor.C:
1180         * lyxfind.C:
1181         * lyxfunc.C:
1182         * lyxtext.h:
1183         * text.C:
1184         * text2.C:
1185         * text3.C:
1186         * text_funcs.[Ch]:
1187         * textcursor.[Ch]:
1188         * undo_funcs.C: adjust
1189
1190 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * text2.C (incrementItemDepth): new function, use a backtracking
1193         algorithm to discover the correct item depth.
1194         (resetEnumCounterIfNeeded): new function, use a backtracking
1195         algorithm to discover if counter reset is needed.
1196         (setCounter): use them. Simplify a bit. Add different labels for
1197         different item depths for itemize.
1198
1199         * paragraph.C (Paragraph): remove initialization of enumdepth
1200         (operator=): ditto
1201
1202         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1203         enumerate and itemize. Change the type of itemdepth to signed char.
1204
1205 2003-10-08  André Pönitz  <poenitz@gmx.net>
1206
1207         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1208           thing assignable.
1209         * text.C:
1210         * text2.C: adjust
1211
1212         * tabular.[Ch]: fix crash after 'row-insert'
1213
1214 2003-10-08  Angus Leeming  <leeming@lyx.org>
1215
1216         Fix doxygen warnings.
1217
1218         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1219         Remove CutAndPaste:: prefix from header file declaration.
1220
1221         * LColor.h (fill): remove LColor:: prefix from declaration.
1222
1223         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1224         use lyx::depth_type rather than Paragraph::depth_type so that
1225         header file and .C file match.
1226
1227         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1228
1229         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1230         * aspell.C: \file aspell_local.C -> \file aspell.C
1231         * gettext.C: \file gettext.C -> \file src/gettext.C
1232         * gettext.h: \file gettext.h -> \file src/gettext.h
1233         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1234         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1235         * text.C: \file text.C -> \file src/text.C
1236
1237         * toc.C: move comment so that doxygen is not confused.
1238
1239 2003-10-07  Angus Leeming  <leeming@lyx.org>
1240
1241         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1242
1243 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1244
1245         * aspell.C:
1246         * aspell_local.h: add forgotten std::string's.
1247
1248 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1249
1250         * LaTeXFeatures.C:
1251         * LyXAction.C:
1252         * factory.C:
1253         * lfuns.h:
1254         * lyxfunc.C:
1255         * text3.C: The Box patch. Fancybox support, minipage, parbox
1256
1257 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1258
1259         * CutAndPaste.h:
1260         * DepTable.h:
1261         * FloatList.h:
1262         * LaTeXFeatures.h:
1263         * ParagraphParameters.h:
1264         * TextCache.h:
1265         * Thesaurus.h:
1266         * bufferlist.h:
1267         * exporter.h:
1268         * importer.h:
1269         * lastfiles.h:
1270         * lyxfind.h:
1271         * lyxfont.h:
1272         * lyxlex.h:
1273         * lyxtextclasslist.h:
1274         * messages.h:
1275         * paragraph.h:
1276         * paragraph_pimpl.C:
1277         * textcursor.h: add <string> and other small fixes to make Lars'
1278         std::string patch compile with STLport.
1279
1280 2003-10-06  Angus Leeming  <leeming@lyx.org>
1281
1282         * LColor.h: Add missing #include <string>.
1283
1284 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * All most all file in all subdirs: Make <string> be the prefered
1287         way of getting to std::string, add using declarations.
1288
1289 2003-10-06  André Pönitz  <poenitz@gmx.net>
1290
1291         * metricsinfo.C: initialize LyXFont before changing attribute.
1292         (fixes the 'math in \emph is upright' bug)
1293
1294 2003-10-06  André Pönitz  <poenitz@gmx.net>
1295
1296         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1297
1298 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1299
1300         * graph.C:
1301         * paragraph_pimpl.C: Small fixes to build using STLport
1302
1303 2003-10-02  André Pönitz  <poenitz@gmx.net>
1304
1305         * lyxfunc.C:
1306         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1307
1308 2003-10-01  André Pönitz  <poenitz@gmx.net>
1309
1310         * factory.C: assert early
1311
1312 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1313
1314         * lyx_main.C: remove the global debug object
1315
1316         * debug.h: adjust for new debugstream
1317
1318         * debug.C: adjust for new debugstream and keep the global debug
1319         object here.
1320
1321 2003-09-22  Angus Leeming  <leeming@lyx.org>
1322
1323         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1324         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1325         an incomplete class LyXFont.
1326
1327 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * factory.C: bug fix in branches
1330
1331 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1332
1333         * lyxfunc.C (processKeySym): adjust
1334         (dispatch): adjust
1335         (dispatch): change arg name from ev to func, adjust
1336         (sendDispatchMessage): ditto
1337
1338         * lyx_main.C (defaultKeyBindings): adjust keybindings
1339         (deadKeyBindings): ditto
1340
1341         * kbsequence.C (addkey): return a FuncRequest
1342
1343         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1344
1345         * kbmap.C (bind): take a FuncRequest as arg, adjust
1346         (read): adjust
1347         (lookup): adjust
1348         (defkey): change to take a FuncRequest as arg, adjust
1349         (findbinding): take a FuncRequest as arg, adjust.
1350
1351         * funcrequest.h (operator=): added
1352
1353         * funcrequest.C (FuncRequest): default kb_action changed from
1354         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1355
1356         * buffer.C (dispatch): simplify
1357         (dispatch): adjust to take a FuncRequest as arg, adjust
1358
1359         * boost.C (assertion_failed): change assertion message slightly
1360
1361         * ToolbarBackend.C (read): simplify
1362
1363         * MenuBackend.C (binding): adjust call to findbinding, add a
1364         message if no binding is found.
1365         (read): simplify
1366         (expandToc): correct by adding a empty FuncRequest
1367
1368         * LyXAction.C: include <boost/assert.hpp>
1369         (isPseudoAction): delete function
1370         (LookupFunc): change name to...
1371         (lookupFunc): this. change return type to FuncRequest.
1372         (getActionName): take kb_action as arg, simplify
1373         (funcHasFlag): add an assert, simplify.
1374
1375 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1376
1377         * toc.C (action): return a FuncRequest, simplify
1378
1379         * lyxfunc.C (processKeySym): adjust
1380         (getStatus): delete version that takes an int.
1381         (getStatus): adjust
1382         (dispatch): delete version that takes action as int
1383         (dispatch): adjust
1384         (sendDispatchMessage): simplify and adjust
1385
1386         * funcrequest.C (getArg): take unsigned int as arg
1387
1388         * ToolbarBackend.C (read): adjust
1389         (add): delete version that takes func as a string.
1390         (getIton): take a FuncRequest as arg
1391
1392         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1393         action.
1394
1395         * MenuBackend.C (MenuItem): add a new construct that only takes a
1396         Kind, simplify the constructor use for submenus.
1397         (add): adjust
1398         (expandLastfiles): adjust
1399         (expandDocuments): adjust
1400         (expandFormats): adjust
1401         (expandFloatListInsert): adjust
1402         (expandFloatInsert): adjust
1403         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1404
1405         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1406         Remove class variables lyx_pseudo_map and lyx_arg_map
1407
1408         * LyXAction.C (searchActionArg): delete function
1409         (getPseudoAction): delete function
1410         (retrieveActionArg): delete function
1411         (LookupFunc): make it return kb_action, simplify.
1412         (getActionName): simplify
1413
1414         * factory.C (createInset): fix new bug
1415
1416 2003-09-19  Angus Leeming  <leeming@lyx.org>
1417
1418         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1419         masterFilename_ parameter in the include inset.
1420
1421         * factory.C (createInset): changes due to the changes to InsetInclude.
1422
1423 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1424
1425         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1426
1427 2003-09-18  Angus Leeming  <leeming@lyx.org>
1428
1429         * buffer.C:
1430         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1431         Inset::fillWithBibKeys.
1432         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1433
1434 2003-09-18  Angus Leeming  <leeming@lyx.org>
1435
1436         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1437         variables.
1438         (ctor): pass and store a 'Buffer const &'
1439         (buffer): new member function.
1440
1441         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1442         '*this' to the LaTeXFeatures ctor.
1443
1444 2003-09-18  Angus Leeming  <leeming@lyx.org>
1445
1446         * LColor.h:
1447         * lyxfont.C:
1448         * lyxfont.h:
1449         * lyxtext.h:
1450         * text.C: rename EnumLColor as LColor_color.
1451
1452 2003-09-18  Angus Leeming  <leeming@lyx.org>
1453
1454         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1455         remove #include "insets/insetbase.h" from cursor.h.
1456
1457 2003-09-18  Angus Leeming  <leeming@lyx.org>
1458
1459         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1460         InsetOld_code to remove #include "inset.h".
1461
1462         * iterators.C: add #include "insets/inset.h"
1463
1464 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * BufferView.C: remove more locking stuff that apparently doesn't
1467         do anything sensible.
1468
1469 2003-09-16  André Pönitz  <poenitz@gmx.net>
1470
1471         * paragraph.[Ch]:
1472         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1473           performance boost.
1474
1475 2003-09-16  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1478
1479         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1480         arg/return type.
1481
1482         * paragraph.h: remove #include "lyxfont.h". Forward declare
1483         LyXFont_size.
1484
1485 2003-09-16  Angus Leeming  <leeming@lyx.org>
1486
1487         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1488         of support/textutils.h.
1489         (isWord): move the contents of support/textutils.h's IsWordChar here.
1490
1491         * buffer.C:
1492         * lyxfind.C:
1493         * rowpainter.C:
1494         * text.C:
1495         * text2.C: add #include "paragraph.h".
1496
1497         * rowpainter.C:
1498         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1499
1500 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * main.C:
1503         * lyx_main.C:
1504         * lyx_cb.C:
1505         * buffer.C:
1506         * LaTeX.C: use namespace alias for lyx::support::os
1507
1508 2003-09-16  Angus Leeming  <leeming@lyx.org>
1509
1510         * bufferparams.C:
1511         * bufferview_funcs.C:
1512         * factory.C:
1513         * lyxfunc.C:
1514         * paragraph_pimpl.C:
1515         * rowpainter.C:
1516         * text.C: add #include "LColor.h".
1517
1518 2003-09-16  Angus Leeming  <leeming@lyx.org>
1519
1520         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1521         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1522         return LyXFont &.
1523         Store the FontBits::color variable as an int rather than as an
1524         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1525         file.
1526
1527         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1528         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1529         string calls together.
1530
1531         * lyxrc.C: add #include "LColor.h".
1532
1533 2003-09-15  Angus Leeming  <leeming@lyx.org>
1534
1535         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1536         a cow_ptr.
1537
1538 2003-09-15  Angus Leeming  <leeming@lyx.org>
1539
1540         * LColor.h: add an EnumLColor wrapper for LColor::color.
1541
1542         * lyxfont.[Ch] (color, setColor, realColor):
1543         * lyxtext.h, text.C (backgroundColor):
1544         pass EnumLColor args to/from the functions, rather than LColor::color
1545         ones.
1546
1547         * lyxfont.h:
1548         * lyxtext.h: forward declare EnumLColor.
1549
1550         * lyx_main.C: add #include "LColor.h".
1551
1552 2003-09-15  Angus Leeming  <leeming@lyx.org>
1553
1554         * .cvsignore: add lyx-gtk.
1555
1556 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1557
1558         * Chktex.C
1559         * LaTeX.C
1560         * LaTeXFeatures.C
1561         * ParagraphParameters.C
1562         * Spacing.C
1563         * buffer.C
1564         * bufferparams.C
1565         * bufferview_funcs.C
1566         * chset.C
1567         * counters.C
1568         * funcrequest.C
1569         * lyxfont.C
1570         * lyxgluelength.C
1571         * lyxlength.C
1572         * paragraph.C
1573         * paragraph_funcs.C
1574         * text3.C
1575         * vc-backend.C: remove usage of STRCONV
1576
1577 2003-09-15  Angus Leeming  <leeming@lyx.org>
1578
1579         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1580         explicitly define the color passed to the painter.
1581
1582 2003-09-15  Angus Leeming  <leeming@lyx.org>
1583
1584         * bufferparams.C (BufferParams): reorder member initializers to avoid
1585         compiler warning.
1586
1587 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1588
1589         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1590         * text.C (updateRowPositions): remove an unusual nop
1591
1592 2003-09-12  André Pönitz  <poenitz@gmx.net>
1593
1594         * BufferView_pimpl.C:
1595         * Bullet.C:
1596         * layout.h:
1597         * lyxfunc.C:
1598         * lyxlayout.[Ch]:
1599         * lyxtextclass.C:
1600         * rowpainter.C:
1601         * text.C:
1602         * text2.C:
1603         * Counters.[Ch]: finish the 'automatic counters' job
1604
1605 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1606
1607         * aspell.C: include <boost/assert.cpp> (compile fix)
1608
1609 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1610
1611         * boost.C (assertion_failed): use lyx::support::abort instead of
1612         assert.
1613
1614 2003-09-10  Angus Leeming  <leeming@lyx.org>
1615
1616         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1617         with their _fwd progeny.
1618
1619 2003-09-09  Angus Leeming  <leeming@lyx.org>
1620
1621         134 files throughtout the source tree: replace 'using namespace abc;'
1622         directives with the appropriate 'using abc::xyz;' declarations.
1623
1624 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1625
1626         * boost.C (emergencyCleanup): moved here from LAssert.c
1627         (assertion_failed): new function, called by BOOST_ASSERT
1628
1629         * several files: change Assert to BOOST_ASSERT
1630
1631 2003-09-09  Angus Leeming  <leeming@lyx.org>
1632
1633         * buffer.[Ch]: Add an Impl class and move Buffer's member
1634         variables into it. As a result move several header files out of
1635         buffer.h.
1636
1637         Add header files to lots of .C files all over the tree as a result.
1638
1639 2003-09-09  Angus Leeming  <leeming@lyx.org>
1640
1641         * buffer.[Ch]: make Buffer's member variables private. Add
1642         accessor functions.
1643
1644         Lots of changes all over the tree as a result.
1645
1646 2003-09-08  Angus Leeming  <leeming@lyx.org>
1647
1648         * graph.C: #include <config.h>.
1649
1650 2003-09-08  Angus Leeming  <leeming@lyx.org>
1651
1652         * BranchList.C:
1653         * BufferView.C:
1654         * BufferView_pimpl.C:
1655         * CutAndPaste.C:
1656         * DepTable.C:
1657         * LaTeX.C:
1658         * LaTeXFeatures.C:
1659         * LyXAction.C:
1660         * MenuBackend.C:
1661         * TextCache.C:
1662         * aspell.C:
1663         * buffer.C:
1664         * bufferlist.C:
1665         * changes.C:
1666         * chset.C:
1667         * converter.C:
1668         * counters.C:
1669         * debug.C:
1670         * graph.C:
1671         * ispell.C:
1672         * lyx_cb.C:
1673         * lyxfind.C:
1674         * lyxfunc.C:
1675         * lyxlex_pimpl.C:
1676         * lyxrc.C:
1677         * lyxrow.C:
1678         * paragraph.C:
1679         * rowpainter.C:
1680         * texrow.C:
1681         * text.C:
1682         * text2.C:
1683         * toc.C: remove redundant using directives.
1684
1685 2003-09-07  Angus Leeming  <leeming@lyx.org>
1686
1687         * LaTeXFeatures.h: remove #include "support/types.h".
1688         * ToolbarBackend.h: remove #include <algorithm>.
1689         * changes.h: remove #include <ctime>.
1690         * debug.h: remove #include <iosfwd>.
1691         * graph.h: remove #include "support/std_string.h".
1692         * lyx_main.h: remove #include <csignal>.
1693         * lyxlex_pimpl.h: remove #include <fstream>.
1694         * sgml.h: remove #include <algorithm>, <utility>.
1695         * toc.h: remove #include "support/std_ostream.h".
1696         Add #include <iosfwd>.
1697
1698 2003-09-07  Angus Leeming  <leeming@lyx.org>
1699
1700         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1701
1702         * converter.h: forward declare LatexRunParams.
1703         * encoding.h: remove #include "lyxrc.h".
1704         * lyxtext.h: remove #include "LColor.h".
1705         * lyxtextclass.h: remove #include "support/types.h".
1706         * trans.h: remove #include "tex-accent.h".
1707         * trans_mgr.h: remove #include "tex-accent.h".
1708         * insets/inset.h: remove #include "support/types.h", <vector>.
1709         * insets/insetcollapsable.h: remove #include "LColor.h".
1710         * insets/insetinclude.h: remove #include "dimension.h".
1711         * insets/insetlatexaccent.h: remove #include "dimension.h".
1712         * insets/insetoptarg.h:: remove #include "insettext.h".
1713         * insets/insettext.h: remove #include "dimension.h",
1714         <boost/shared_ptr.hpp>
1715
1716         * insets/renderers.h: add #include "dimension.h".
1717         * insets/updatableinset.h: add #include "support/types.h".
1718
1719         * many .C files: Associated changes.
1720
1721 2003-09-06  Angus Leeming  <leeming@lyx.org>
1722
1723         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1724         one, inside testInvariant.
1725
1726         * PrinterParams.C: new file.
1727         * PrinterParams.[Ch]: move the function bodies out of line.
1728
1729 2003-09-06  Angus Leeming  <leeming@lyx.org>
1730
1731         * ParagraphParameters.h: forward declare ParameterStruct rather than
1732         including its header file.
1733         (depth): moved out-of-line.
1734
1735 2003-09-06  Angus Leeming  <leeming@lyx.org>
1736
1737         * BufferView_pimpl.h:
1738         * kbmap.h:
1739         * kbsequence.h:
1740         * lyxfunc.h: forward declare LyXKeySym rather than
1741         #include "frontends/LyXKeySym.h".
1742
1743         * BufferView_pimpl.C:
1744         * kbmap.C:
1745         * kbsequence.C:
1746         * lyxfunc.C: associated changes.
1747
1748 2003-09-06  Angus Leeming  <leeming@lyx.org>
1749
1750         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1751         As a result, can remove the #include "insets/inset.h" from BufferView.h
1752
1753 2003-09-06  Angus Leeming  <leeming@lyx.org>
1754
1755         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1756         As a result, can remove the #include "insets/inset.h" from BufferView.h
1757
1758 2003-09-06  Angus Leeming  <leeming@lyx.org>
1759
1760         * buffer_funcs.C:
1761         * buffer.h:
1762         * bufferlist.C:
1763         * BufferView.C:
1764         * bufferview_funcs.C:
1765         * BufferView_pimpl.C:
1766         * CutAndPaste.C:
1767         * lyx_cb.C:
1768         * lyxfunc.C:
1769         * paragraph.h:
1770         * ParagraphParameters.C:
1771         * tabular.C:
1772         * text3.C:
1773         * toc.C:
1774         * undo_funcs.C:
1775         * frontends/controllers/ControlDocument.C:
1776         * insets/insetcaption.C: rearrange the #includes into some sort of
1777         coherent order.
1778
1779         * buffer.h: remove #includes ErrorList.h, undo.h
1780
1781 2003-09-06  Angus Leeming  <leeming@lyx.org>
1782
1783         * support/types.h: add a 'depth_type' typedef, used to store the
1784         nesting depth of a paragraph.
1785
1786         * paragraph.h:
1787         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1788         defining explicitly.
1789
1790         * buffer.h:
1791         * paragraph_funcs.h:
1792         * ParagraphParameters.h:
1793         * sgml.h: use lyx::depth_type rather than Paragraph or
1794         ParameterStruct's depth_type.
1795
1796         * buffer.h
1797         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1798
1799         * BufferView.C:
1800         * BufferView_pimpl.C:
1801         * CutAndPaste.C:
1802         * ParagraphParameters.C:
1803         * buffer_funcs.C:
1804         * bufferlist.C:
1805         * bufferview_funcs.C:
1806         * lyx_cb.C:
1807         * lyxfunc.C:
1808         * tabular.C:
1809         * text3.C:
1810         * toc.C:
1811         * undo_funcs.C:
1812         * frontends/LyXView.C:
1813         * frontends/controllers/ControlDocument.C:
1814         * frontends/controllers/ControlErrorList.C:
1815         * insets/insetbibitem.C:
1816         * insets/insetbranch.C:
1817         * insets/insetcaption.C:
1818         * insets/insetcollapsable.C:
1819         * insets/insetenv.C:
1820         * insets/insetert.C:
1821         * insets/insetfloat.C:
1822         * insets/insetfoot.C:
1823         * insets/insetfootlike.C:
1824         * insets/insetnewline.C:
1825         * insets/insetquotes.C:
1826         * insets/insettabular.C:
1827         * insets/insettext.C:
1828         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1829
1830         * frontends/controllers/ControlChanges.C: #include "changes.h".
1831
1832 2003-09-06  Angus Leeming  <leeming@lyx.org>
1833
1834         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1835         than #including paragraph.h.
1836
1837         * ParagraphList.h:
1838         * RowList.h: deleted. Superfluous.
1839
1840         * CutAndPaste.h:
1841         * iterators.h:
1842         * lyxcursor.h:
1843         * lyxtext.h:
1844         * text_funcs.h:
1845         * undo.h:
1846         * undo_funcs.h:
1847         * insets/inset.h:
1848         * insets/insettext.h: use ParagraphList_fwd.h rather than
1849         ParagraphList.h.
1850
1851         * paragraph.h: don't forward declare ParagraphList.
1852
1853         * buffer.h:
1854         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1855         rather than ParagraphList.h. paragraph.h is still needed for the
1856         Paragraph::depth_type parameters.
1857
1858         * textcursor.h: enable it to compile stand-alone in light of the
1859         above changes.
1860
1861         * bufferview_funcs.C:
1862         * iterators.C:
1863         * lyxfunc.C:
1864         * lyxrow_funcs.C:
1865         * paragraph.C:
1866         * rowpainter.C:
1867         * text.C:
1868         * text2.C:
1869         * text3.C:
1870         * text_funcs.C:
1871         * textcursor.C:
1872         * undo.C:
1873         * frontends/controllers/ControlParagraph.C:
1874         * frontends/controllers/ControlTabular.C:
1875         * insets/insetmarginal.C:
1876         * insets/insetminipage.C:
1877         * insets/insetnote.C:
1878         * insets/insetoptarg.C: add header files needed to compile again.
1879
1880 2003-09-06  Angus Leeming  <leeming@lyx.org>
1881
1882         * RowList_fwd.h: new file, forward-declaring Row rather than
1883         #including lyxrow.h.
1884
1885         * lyxrow_funcs.h:
1886         * lyxtext.h:
1887         * paragraph.h:
1888         * insets/insettext.h: use it instead of RowList.h
1889
1890         * bufferview_funcs.C:
1891         * lyxfunc.C:
1892         * lyxrow_funcs.C:
1893         * paragraph.C:
1894         * rowpainter.C:
1895         * text.C:
1896         * text2.C:
1897         * text3.C: #include "RowList.h".
1898
1899 2003-09-05  Angus Leeming  <leeming@lyx.org>
1900
1901         * factory.C (createInset):
1902         * vspace.C (c-tor): replace sscanf call with an istringstream.
1903         * ispell.C: re-add missing HP/UX headers.
1904         * lyxserver.C: re-add missing  os2 headers.
1905
1906 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1907
1908         * BranchList.C:
1909         * graph.C:
1910         * ispell.C:
1911         * lastfiles.C:
1912         * lyx_cb.C:
1913         * lyxserver.C:
1914         * texrow.C:
1915         * text3.C: re-add missing system headers, needed for 2.95.2.
1916
1917 2003-09-05  Angus Leeming  <leeming@lyx.org>
1918
1919         Changes most place everywhere due to the removal of using directives
1920         from support/std_sstream.h.
1921
1922 2003-09-05  Angus Leeming  <leeming@lyx.org>
1923
1924         Replace LString.h with support/std_string.h,
1925         Lsstream.h with support/std_sstream.h,
1926         support/LIstream.h with support/std_istream.h,
1927         support/LOstream.h with support/std_ostream.h.
1928
1929         Changes resulting throughout the tree.
1930
1931 2003-09-05  Angus Leeming  <leeming@lyx.org>
1932
1933         * sgml.h: ensure that the header file can be compiled stand-alone.
1934         * *.C: strip out redundant #includes. (320 in total.)
1935
1936 2003-09-04  Angus Leeming  <leeming@lyx.org>
1937
1938         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1939         here (from getPackages).
1940
1941         * debug.[Ch]: add a new EXTERNAL tag.
1942
1943 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1944
1945         * text2.C (cursorEnd): simplify
1946         (setCursor): adjust
1947         (getColumnNearX): adjust
1948
1949         * text.C (computeBidiTables): adjust
1950         (fill): adjust
1951
1952         * rowpainter.C (paintChars): adjust
1953         (paintSelection): adjust
1954         (paintChangeBar): adjust
1955         (paintText): adjust
1956
1957         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1958         lastPos instead.
1959         (numberOfSeparators): adjust
1960
1961 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1962
1963         * LyXAction.C:
1964         * box.[Ch]:
1965         * lfuns.h:
1966         * lyxfunc.C:
1967         * text3.C: Restricts the mouse click functionality
1968         of insets like bibtex, include, toc and floatlist to the visible
1969         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1970         up the dialogs. Cursor has to be in front of the inset (i.e.
1971         start of row) for this to function.
1972
1973 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1974
1975         * bufferview_funcs.C (currentState): output row information
1976
1977 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1978
1979         * bufferview_funcs.C (currentState): output paragraph position
1980
1981 2003-09-04  Angus Leeming  <leeming@lyx.org>
1982
1983         * FloatList.h: move out #include "Floating.h".
1984         * LaTeX.h: move out #include "DepTable.h".
1985         * LyXAction.h: move out #include "funcrequest.h".
1986         * buffer.h: move out #include "author.h", "iterators.h".
1987         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1988         * lyx_main.h: move out #include "errorlist.h".
1989         * lyxfunc.h: move out #include "FuncStatus.h".
1990         * lyxtext: move out #include "lyxcursor.h".
1991         * paragraph_pimpl.h: move out #include "counters.h".
1992
1993 2003-09-03  Angus Leeming  <leeming@lyx.org>
1994
1995         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1996         preamble_snippets list, enabling us to add snippets to the preamble
1997         only if the snippet was not there already.
1998
1999 2003-09-04  Angus Leeming  <leeming@lyx.org>
2000
2001         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2002
2003 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2006         update
2007
2008 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2009
2010         * BranchList.C: point fix, earlier forgotten
2011
2012 2003-09-02  Angus Leeming  <leeming@lyx.org>
2013
2014         * box.C (contains): renamed from 'contained' after a fantastic
2015         amount of hot air.
2016
2017 2003-09-02  John Levon  <levon@movementarian.org>
2018
2019         * BufferView.C:
2020         * lyxcursor.h:
2021         * lyxcursor.C:
2022         * lyxfunc.C:
2023         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2024
2025 2003-09-02  John Levon  <levon@movementarian.org>
2026
2027         * text2.C: simplification of cursorEnd(), including partial
2028         fix for bug 1376
2029
2030 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * buffer.C (readFile): add a space
2033
2034 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2035
2036         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2037
2038 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * buffer.C (readFile): new function, take a filename and a
2041         ParagraphList::iterator
2042         (readFile): adjust
2043         (readFile): adjust, make it private. don't use setStream, make
2044         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2045         always contain the filename.
2046
2047         * BufferView.C (insertLyXFile): simplify and make it work for
2048         gzipped files.
2049
2050 2003-08-30  John Levon  <levon@movementarian.org>
2051
2052         * Makefile.am: fix dist (from Kayvan)
2053
2054 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * most files: change to use const Buffer refs
2057
2058 2003-08-27  André Pönitz  <poenitz@gmx.net>
2059
2060         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2061         on top of ownerPar().
2062
2063 2003-08-27  John Levon  <levon@movementarian.org>
2064
2065         * funcrequest.C: properly initialise POD members
2066
2067 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2068
2069         * lyxtext.h (top_y): move top_y from here
2070         * text.C:
2071         * text2.C:
2072         * text3.C:
2073         * BufferView.[Ch]:
2074         * BufferView_pimpl.[Ch]: to here
2075         * frontends/screen.C:
2076         * insets/insettabular.C:
2077         * insets/insettext.C: adjust
2078         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2079
2080 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * BufferView.[Ch]:
2083         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2084
2085 2003-08-26  André Pönitz  <poenitz@gmx.net>
2086
2087         * paragraph_func.[Ch] (outerPar): new function
2088
2089         * paragraph.C:
2090         * paragraph_funcs.C:
2091         * paragraph_funcs.h:
2092         * paragraph_pimpl.C:
2093         * text2.C: remove Inset::par_owner
2094
2095 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2096
2097         * lyxrow_funcs.C:
2098         * lyxtext.h:
2099         * text.C:
2100         * text2.C: eliminates the needFullRow/display() stuff
2101         altogether, putting the logic in metrics/draw in the insets.
2102
2103 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2104
2105         * text2.C (redoParagraphInternal, redoParagraphs):
2106         * text.C (redoParagraph): add a call to updateRowPositions at the
2107         end of each 'metrics-like' call. Remove all others.
2108         (getRow): remove the 'y-computing' version.
2109         (getRowNearY): do not compute nor return the real y. Solve the
2110         'y < 0' problem and simplify.
2111
2112 2003-08-22  Angus Leeming  <leeming@lyx.org>
2113
2114         * *.[Ch]: clean-up of licence and author blurbs.
2115         Also move config.h out of a few .h files and into a few .C files.
2116
2117 2003-08-22  André Pönitz  <poenitz@gmx.net>
2118
2119         * lyxrow.[Ch]: add x_ and *fill_ members
2120
2121         * lyxtext.h:
2122         * text.C:
2123         * rowpainter.C:
2124         * text2.C: adjust/remove prepareToPrint() calls
2125
2126 2003-08-22  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxrow.[Ch]: add  end_ member
2129
2130         * lyxrow_funcs.C: use LyXRow::end_
2131
2132         * lyxtext.h (singleWidth): add LyXFont parameter
2133
2134         * rowpainter.C:
2135         * text2.C: adjust LyXText::singleWidth() calls
2136
2137         * text.C (redoParagraph): simplify row breaking logic
2138
2139
2140 2003-08-19  André Pönitz  <poenitz@gmx.net>
2141
2142         * funcrequest.C: initialize button_ member
2143
2144         * text3.C:
2145         * rowpainter.[Ch]: interface consolidation
2146
2147 2003-08-18  André Pönitz  <poenitz@gmx.net>
2148
2149         * BufferView.C:
2150         * BufferView_pimpl.C:
2151         * lyxfind.C:
2152         * paragraph_funcs.C:
2153         * rowpainter.C:
2154         * text3.C: remove LyXScreen::draw() and fitCursor calls
2155
2156         * BranchList.h: remove spurious semicolons
2157
2158         * MenuBackend.C: fix branchlist related crash
2159
2160 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2161
2162         * BranchList.[Ch]:
2163         * InsetList.[Ch]:
2164         * LColor.[Ch]:
2165         * LyXAction.C:
2166         * Makefile.am:
2167         * MenuBackend.[Ch]:
2168         * bufferparams.[Ch]:
2169         * factory.C:
2170         * lfuns.h:
2171         * lyxfunc.C:
2172         * text3.C: implements the 'branch inset'
2173         idea. This allows the output of various versions of a document
2174         from a single source version, selectively outputing or suppressing
2175         output of parts of the text.
2176         This implementation contains a 'branch list editor' in a separate
2177         tab of the document settings dialog. Branches are user definable
2178         and have a "display colour" to distinguish them on-screen.
2179
2180         ColorHandler was somewhat cleaned up.
2181         (1) make possible a dynamically growing LColor list by allowing
2182         the graphic context cache to grow along (vector);
2183         (2) eliminate an IMHO unnecessary step in colour allocation.
2184
2185 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2186
2187         * BufferView_pimpl.C: compile fix
2188
2189 2003-08-15  André Pönitz  <poenitz@gmx.net>
2190
2191         * rowpainter.C: remove extra metrics calls
2192
2193         * lyxtext.h: merge the two constructors into a single one,
2194           pass reference to owner's par list
2195
2196         * BufferView_pimpl.C:
2197         * text.C:
2198         * text2.C: adjust
2199
2200 2003-08-15  André Pönitz  <poenitz@gmx.net>
2201
2202         * lyxrow_funcs.[Ch]:
2203         * lyxtext.h:
2204         * paragraph.h:
2205         * paragraph_funcs.C:
2206         * rowpainter.C:
2207         * text.C:
2208         * text2.C:
2209         * text3.C:
2210         * text_funcs.C: split LyXText::rowlist_ into individual
2211         Paragraph::rows_ chunks
2212
2213         * BufferView.[Ch]:
2214         * BufferView_pimpl.[Ch]:
2215         * lyxfind.C:
2216         * lyxtext.h:
2217         * text3.C: remove toggleSelection()
2218
2219 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2220
2221         * bufferlist.C: beautify two alerts (shorter text of buttons)
2222         * buffer.C: Remove redundant ' ' from message
2223         * tabular.h:
2224         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2225         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2226         rename VALIGN_CENTER to VALIGN_MIDDLE
2227
2228 2003-08-11  André Pönitz  <poenitz@gmx.net>
2229
2230         * lyxtext.h (getPar):
2231         * text.C: new function
2232
2233 2003-08-11  André Pönitz  <poenitz@gmx.net>
2234
2235         * Makefile.am:
2236         * tracer.[Ch]: remove unneeded files
2237
2238         * InsetList.[Ch]: remove resizeInsetsLyXText()
2239
2240         * lyxtext.h:
2241         * text.C:
2242         * text2.C:
2243         * text3.C: merge insertParagraphs() and appendParagraph()
2244         remove breakAgain(), update()
2245
2246         * BufferView_pimpl.[Ch]:
2247         * bufferview_funcs.[Ch]:
2248         * lyxfunc.C:
2249         * paragraph.[Ch]:
2250         * rowpainter.C:
2251         * tabular.C: adjust after text & InsetList changes.
2252
2253 2003-08-08  André Pönitz  <poenitz@gmx.net>
2254
2255         * text.C (insertChar, backspace): replace rowlist fiddling
2256         with rebreak of full par
2257
2258         * lyxtext.h:
2259         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2260         checkParagraph, updateInset): removed
2261
2262 2003-08-07  André Pönitz  <poenitz@gmx.net>
2263
2264         * paragraph.C:
2265         * text3.C: merge some LFUN handlers, remove dead code
2266
2267 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2270
2271 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * text2.C (DEPM): fix part of bug 1255 and 1256
2274
2275 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * BufferView_pimpl.C (workAreaDispatch): change to use
2278         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2279         that are no mouse related.
2280
2281 2003-08-05  André Pönitz  <poenitz@gmx.net>
2282
2283         * BufferView.[Ch]:
2284         * BufferView_pimpl.[Ch]:
2285         * bufferview_funcs.C:
2286         * text2.C:
2287         * text3.C: rip out "deep update"
2288
2289         * textcursor.[Ch] (last_sel_cursor): remove unused member
2290
2291 2003-08-04  André Pönitz  <poenitz@gmx.net>
2292
2293         * BufferView.[Ch]:
2294         * BufferView_pimpl.[Ch]:
2295         * ParagraphParameters.C:
2296         * bufferview_funcs.C:
2297         * lyx_cb.C:
2298         * lyxfind.C:
2299         * lyxfunc.C:
2300         * text.C:
2301         * text2.C:
2302         * text3.C: replace "complicated" BufferView::update(...) calls with
2303         simpler ones.
2304
2305         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2306
2307 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2308
2309         * Makefile.am (lyx_SOURCES): add paper.h
2310
2311 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2312
2313         * Makefile.am: move things around so that both lyx-qt and
2314         lyx-xforms can be built (according to --with-frontend). Then lyx
2315         is a symbolic link to lyx-[firstfrontend]
2316
2317 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2318
2319         * Always use std::endl with lyxerr
2320
2321 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2322
2323         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2324
2325 2003-08-01  André Pönitz  <poenitz@gmx.net>
2326
2327         * BufferView.[Ch]:
2328         * BufferView_pimpl.[Ch]:
2329         * lyxfunc.C:
2330         * text3.C: merge BufferView::repaint() and BufferView::update()
2331
2332 2003-08-01  José Matos  <jamatos@lyx.org>
2333
2334         * buffer.[Ch]: file_format is no longer a buffer data element.
2335
2336 2003-08-01  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView.C:
2339         * lyxtext.h:
2340         * text.C:
2341         * text2.C: make redoParagraph more independent of current cursor
2342
2343         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2344         * text.C:
2345         * text2.C: remove unneeded members
2346
2347 2003-07-30  André Pönitz  <poenitz@gmx.net>
2348
2349         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2350
2351         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2352           create a single function...
2353
2354         * paragraph_funcs.C (moveItem): ... here.
2355
2356         * text.C:
2357           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2358
2359 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2360
2361         * LColor.[Ch]: Add comment and greyedout logical colors.
2362
2363 2003-07-30  André Pönitz  <poenitz@gmx.net>
2364
2365         * tabular.C: don't use Assert too heavily. This crashes where it
2366           shouldn't
2367
2368 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2369
2370         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2371         is disabled (bug 1232)
2372
2373 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2374
2375         * factory.C: limited 'arg' scope
2376
2377 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2378
2379         * factory.C: fixed Note submenu issues
2380
2381 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2382
2383         * factory.C: submenu for Note/Comment/Greyedout
2384
2385 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * lyx_main.C (LyX):
2388         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2389
2390 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2391
2392         * LaTeXFeatures.C:
2393         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2394         greyedout. Patch provided by Jürgen Spitzmüller.
2395
2396 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * kbmap.C (read): fix error message when reading bind files
2399
2400 2003-07-29  Angus Leeming  <leeming@lyx.org>
2401
2402         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2403         certainly does not do what it purports to do. I am doing it, and
2404         us, a favour by killing it.
2405
2406 2003-07-28  José Matos  <jamatos@lyx.org>
2407
2408         * buffer.C (readBody, do_writeFile):
2409         * paragraph.C(readParagraph): \end_document replaces \the_end.
2410
2411 2003-07-29  André Pönitz  <poenitz@gmx.net>
2412
2413         * BufferView.[Ch]:
2414         * BufferView_pimpl.[Ch]:
2415         * lyxfunc.C:
2416         * text2.C:
2417         * text3.C:
2418         * textcursor.[Ch]: remove toggleToggle & Co
2419
2420 2003-07-28  José Matos  <jamatos@fep.up.pt>
2421
2422         * buffer.C (readParagraph):
2423         * params_func (readParToken, readParagraph):
2424         * paragraph.C (write): \layout -> \begin_layout.
2425
2426 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2427
2428         * lyxlex_pimpl.C (setFile): clean up slightly.
2429
2430         * bufferparams.h: add compressed var
2431
2432         * buffer_funcs.C (readFile): adjust for LyXLex change
2433         (newFile): ditto + simplify
2434
2435         * buffer.C (writeFile): handle writing of compressed files
2436
2437         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2438         Check if the file is compressed and set a bufferparm if so.
2439
2440         * Makefile.am (lyx_LDADD): remove explicit -lz
2441
2442 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2443
2444         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2445         makeDocBookFile): put the real LyX version in the first line of
2446         the file
2447
2448         * version.h:
2449         * version.C.in: remove lyx_docversion
2450
2451         * tabular.C (write_attribute): add a template-based version to
2452         write enums properly
2453
2454 2003-07-28  André Pönitz  <poenitz@gmx.net>
2455
2456         * lyxtext.h:
2457         * text.C:
2458         * text2.C:
2459         * text3.C: use doubles again for x-coordinates. They are needed.
2460
2461 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2462
2463         * messages.C (getLocaleDir): use lyx_localedir()
2464
2465         * lyxlex_pimpl.C (setFile): compress stuff
2466
2467         * buffer.C (writeFile): add some compression stuff
2468         (do_writeFile): new func, dont call expliti close... will this
2469         breake anything?
2470
2471         * Makefile.am (lyx_LDADD): add -lz
2472
2473 2003-07-28  José Matos  <jamatos@fep.up.pt>
2474
2475         * buffer.C: increment file format.
2476         * paragraph_funcs (readParagraph, readParToken):
2477         * paragraph.C (readParagraph): add \end_layout.
2478
2479 2003-07-27  Angus Leeming  <leeming@lyx.org>
2480
2481         * Makefile.am: remove special casing for configure-time setting of
2482         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2483
2484         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2485         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2486
2487 2003-07-26  André Pönitz  <poenitz@gmx.net>
2488
2489         * paragraph_func.[Ch]:
2490         * paragraph.C (realizeFont): inline it whereever it is used
2491
2492         * rowpainter.C:
2493         * text.C:
2494         * text2.C:
2495         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2496
2497
2498 2003-07-26  André Pönitz  <poenitz@gmx.net>
2499
2500         *       lyxtext.h:
2501         * text.C:
2502         * text2.C: get rid of LyXText::need_break_row
2503
2504 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * toc.[Ch]: put namespace toc inside namespace lyx
2507
2508         * MenuBackend.C (expandToc2): adjust for lyx::toc
2509         (expandToc): ditto
2510
2511         * lyxfunc.C (dispatch): adjust for lyx::find
2512
2513         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2514         lyx::find instead. Reorganize a bit.
2515         (LyXReplace): rename to replace
2516         (LyXFind): rename to find
2517
2518         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2519         (dispatch): ditto
2520
2521 2003-07-26  André Pönitz  <poenitz@gmx.net>
2522
2523         * text.C (setHeightOfRow): restrict scope of temporary variable
2524
2525         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2526           code (never has been used?)
2527
2528 2003-07-27  Asger Alstrup  <alstrup@local>
2529
2530         * text.C (fill): Optimise algorithm to exploit that we can reuse
2531         the LyXFont for many characters.
2532         (setHeightOfRow): Same thing.
2533         (rowBreakPoint): Same thing.
2534
2535 2003-07-26  Asger Alstrup  <alstrup@local>
2536
2537         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2538
2539         * text.C (singleWidth): Spurious font copying in hot-spot
2540         singleWidth avoided. Reorder tests for arabic for efficiency.
2541
2542         * text.C (fill): handle empty paragraphs better.
2543
2544 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * ispell.C:
2547         * encoding.h: add includes
2548
2549         * lyxrc.C: remove reading of bind files
2550
2551         * lyx_main.C (init): setup bindings and menus only if we have a
2552         gui.
2553
2554         * kbmap.C (read): new method. Do the actual reading of bind
2555         files.
2556
2557         * converter.C (dvipdfm_options):
2558         * bufferparams.C:
2559         * lyxrc.C (read):
2560         (output): adapt PAPER_* enums.
2561
2562         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2563
2564         * bufferparams.h: remove paper-related enums from there
2565
2566         * paper.h: New file. A trivial header file to hold paper-related
2567         enums. It should later expand to contain many paper-related
2568         horrors access.
2569
2570         * lyxrc.C: declare extern displayTranslator
2571
2572 2003-07-27  José Matos  <jamatos@fep.up.pt>
2573
2574         * tabular.[Ch] (linuxdoc): add support for tables and figures
2575         (linuxdoc).
2576
2577 2003-07-27  José Matos  <jamatos@fep.up.pt>
2578
2579         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2580         consistency in both functions.
2581         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2582
2583 2003-07-26  Asger Alstrup  <alstrup@local>
2584
2585         * rowpainter.C (paintRows): Change algorithm to work directly on
2586         the insets rather than asking every character in the document
2587         whether its an inset.
2588
2589 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2590
2591         * buffer.C (openFileWrite): factorize some code
2592
2593 2003-07-26  Angus Leeming  <leeming@lyx.org>
2594
2595         * lyx_cb.C:
2596         * lyx_main.[Ch]: replace occurances of system_tempdir with
2597         os::getTmpDir().
2598
2599 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * rename Inset to InsetOld
2602
2603 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2604
2605         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2606         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2607         which I think is a bit clearer. EDIT is gone, since it was
2608         premature optimisation, and broken for mathed anyway.
2609         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2610         with cursor positioning in insets as well (math insets still do not
2611         work, but that's a different story anyway.) It mysteriously
2612         crashes sometimes with undo in the first paragraph, but I'm fairly
2613         confident that this is a compiler bug.
2614
2615 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * paragraph.C (Paragraph): adjust for new clone return type
2618         (operator==): ditto
2619         (copyIntoMinibuffer): ditto
2620
2621 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2622
2623         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2624         by not having a special case, and always doing a full rebreak of
2625         the document after undo.
2626
2627 2003-07-23  Angus Leeming  <leeming@lyx.org>
2628
2629         * factory.C (createInset): InsetExternal::setParams now takes a
2630         Buffer const * arg.
2631
2632 2003-07-23  Angus Leeming  <leeming@lyx.org>
2633
2634         * factory.C (createInset): changed interface to the external and
2635         graphics mailers' string2params functions.
2636
2637 2003-07-23  Angus Leeming  <leeming@lyx.org>
2638
2639         * factory.C (createInset): pass a
2640         Buffer const * parameter to InsetExternalMailer's string2params.
2641
2642 2003-07-22  John Levon  <levon@movementarian.org>
2643
2644         * Thesaurus.h: include the right aiksaurus header
2645
2646 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2647
2648         * MenuBackend.C (expand): check menu shortcuts unconditionally
2649
2650 2003-07-21  Angus Leeming  <leeming@lyx.org>
2651
2652         * factory.C (createInset): pass a
2653         buffer_path parameter to InsetGraphicsMailer's string2params.
2654
2655 2003-07-21  Angus Leeming  <leeming@lyx.org>
2656
2657         * BufferView_pimpl.C (buffer):
2658         * buffer.C (d-tor):
2659         * lyx_main.C (LyX):
2660         * lyxfunc.C (dispatch):
2661         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2662         rather than the grfx shortcut.
2663
2664 2003-07-21  André Pönitz  <poenitz@gmx.net>
2665
2666         * rowpainter.C: remove unused variables
2667
2668         * tabular_funcs.C:
2669         * tabular_funcs.h: move to tabular.C
2670         * Makefile.am: adjust
2671
2672         * tabular.[Ch]: basic optical cleaning
2673
2674         * author.h: pass references, not values
2675
2676 2003-07-18  André Pönitz  <poenitz@gmx.net>
2677
2678         * lyxtext.h:
2679         * metricsinfo.C:
2680         * metricsinfo.h:
2681         * rowpainter.C:
2682         * text.C:
2683         * text2.C:
2684         * text3.C: two-phase drawing for InsetText and InsetTabular
2685         some float -> int changes.
2686
2687 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * lyx_main.C: fix the fix
2690
2691 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2692
2693         * lyx_main.C: fix a crash in batch mode if no files specified
2694         * converter.C: ws
2695
2696 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2697
2698         * format.[Ch] (papersize): moved to BufferParams
2699         * converter.[Ch] (dvips_options): moved to BufferParams
2700         (dvipdfm_options): moved to anon namespace
2701         * bufferparams.[Ch]: added above functions.
2702
2703 2003-07-17  André Pönitz  <poenitz@gmx.net>
2704
2705         * lyxtext.h:
2706         * rowpainter.C:
2707         * text2.C: don't call inset->update() anymore
2708
2709         * metricsinfo.[Ch]: add convenience constructor
2710
2711 2003-07-16  André Pönitz  <poenitz@gmx.net>
2712
2713         * lyxcursor.[Ch]:
2714         * lyxfunc.[Ch]:
2715         * text.C:
2716         * text2.C: replace the LyXCursor::irow_ member with
2717          on-demand computation of the value
2718
2719 2003-07-16  John Levon  <levon@movementarian.org>
2720
2721         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2722
2723 2003-07-15  André Pönitz  <poenitz@gmx.net>
2724
2725         * text.C:
2726         * text2.C: remove no more needed refresh_row
2727
2728 2003-07-15  André Pönitz  <poenitz@gmx.net>
2729
2730         * lyxtext.h:
2731         * rowpainter.C:
2732         * text2.C:
2733         * text3.C: refresh_status tristate -> need_update bool
2734
2735 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * lyxtext.h (init): remove reinit argument (act as if always true)
2738         * text2.C: adjust to that
2739
2740 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2741
2742         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2743         * text3.C: use it to delete selections in some cases
2744         (bugs 441, 673, 702, 954).
2745
2746 2003-07-14  André Pönitz  <poenitz@gmx.net>
2747
2748         * rowpainter.[Ch]: reduce interface
2749
2750 2003-07-14  André Pönitz  <poenitz@gmx.net>
2751
2752         * BufferView_pimpl.C:
2753         * text2.C: adjust after removing unused BufferView * argument
2754
2755 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * text2.C (init): fix a crash fired on resize
2758
2759 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * buffer.[Ch]: added new closing signal
2762         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2763         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2764         BufferView::Pimpl via the closing the signal
2765
2766 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * buffer.[Ch]: take out all bv-related from buffer
2769         * BufferView.C:
2770         * BufferView_pimpl.[Ch]: connect to new signals
2771         * CutAndPaste.C: removed useless asserts
2772         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2773         * lyxvc.[Ch]:
2774         * vc-backend.[Ch]:
2775         * lyxfunc.C: moved view-related funciontality from vc here
2776         * paragraph.C: removed outdated comments
2777         * text.C: ws
2778
2779 2003-07-10  André Pönitz  <poenitz@gmx.net>
2780
2781         * BufferView_pimpl.C:
2782         * tabular.h:
2783         * tabular_funcs.C:
2784         * text.C:
2785         * text2.C: remove InsetText::InnerCache, clean up consequences
2786
2787 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2788
2789         * ispell.C: fix two typos in error messages
2790
2791 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2792
2793         * Extend Note inset to other forms of annotation like Comment
2794         and Greyedout. Right button click gives dialog.
2795
2796         Files modified or added (+):
2797
2798         * insetnote.[Ch]
2799         * FormNote.[Ch]      +
2800         * ControlNote.[Ch]   +
2801         * form_note.fd       +
2802         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2803         frontends/controllers
2804         * xforms/Dialogs.C
2805         * factory.C
2806
2807 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2808
2809         * aspell.C: add missing namespace lyx::support
2810
2811 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * BufferView.[Ch] (newFile): Add
2814         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2815         * LaTeX.[Ch] (message): added this signal and use it
2816         * buffer.[Ch] (busy, message): added these signals and use them
2817         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2818         * converter.C:
2819         * exporter.C:
2820         * format.C:
2821         * importer.C: use buffer signals instead of direct bv calling
2822         * lyx_cb.[Ch] (ShowMessage): removed
2823         * lyx_main.C:
2824         * lyxfunc.C:
2825         * paragraph_funcs.C:
2826         * text2.C: use buffer signals
2827
2828 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * introduce namespace lyx::graphics
2831
2832 2003-07-02  André Pönitz  <poenitz@gmx.net>
2833
2834         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2835
2836 2003-07-01  André Pönitz  <poenitz@gmx.net>
2837
2838         * text.C:
2839         * text2.C:
2840         * text3.C:
2841         * text_funcs.[Ch]:
2842         * textcursor.h:
2843         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2844           text*.C to text_func.C
2845
2846 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * introduce namespace lyx::support
2849
2850 2003-06-30  André Pönitz  <poenitz@gmx.net>
2851
2852         * Chktex.C:
2853         * funcrequest.C:
2854         * lyxtext.h:
2855         * text.C: re-enable --with-included-string
2856
2857 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * textcursor.C: add <config.h>
2860
2861         * text.C (getWord): remove const from word_location arg
2862
2863         * lyxvc.C (getLogFile): fix const type order
2864
2865         * lyxtext.h: remove const from word_location arg, add arg name
2866
2867         * lyxlayout.h: currect type on labeltype.
2868
2869         * importer.C: correct \file
2870
2871         * converter.C (intToFormat): use std:: on ret val, ws changes
2872
2873         * bufferlist.h: correct \file
2874
2875         * buffer.C (makeLinuxDocFile): fix const type order
2876         (makeDocBookFile): ditto
2877         (fillWithBibKeys): use std:: on stdlib args.
2878
2879         * CutAndPaste.C: fix authors.
2880         (availableSelections): use std:: on return vector
2881
2882 2003-06-27  André Pönitz  <poenitz@gmx.net>
2883
2884         * BufferView_pimpl.C:
2885         * bufferview_funcs.C:
2886         * lyxcursor.C:
2887         * lyxcursor.h:
2888         * lyxfunc.C:
2889         * lyxtext.h:
2890         * rowpainter.C:
2891         * text.C:
2892         * text2.C:
2893         * text3.C: remove LyXCursor::row_ member
2894
2895         * lyxtext.h:
2896         * text.C: rename fullRebreak() to partialRebreak() and implement
2897           a fullRebreak() that really bereks fully
2898
2899         * textcursor.h: new struct for cursor-related data
2900
2901 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2902
2903         * lyx_main.C (LyX): get full path of document loaded on the
2904         command line
2905
2906 2003-06-26  André Pönitz  <poenitz@gmx.net>
2907
2908         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2909           remove unused/broken operator>,<,>=.
2910
2911         *       text.C: remove only use of broken operator<= in an Assert().
2912
2913 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2916         moved errorlist_.clear to showErrorList
2917
2918 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * converter.C (scanLog, runLaTeX):
2921         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2922         move the bv->showErrorList call to the callers
2923         * lyxfunc.C: i.e. here...
2924         * text2.C: and here
2925         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2926         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2927         namespace, the second to...
2928         * buffer_funcs (BufferFormat, parseErrors): added
2929         * errorlist.C (ErrorList(TeXErrors const &)): removed
2930
2931 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2934
2935 2003-06-24  "Garst R. Reese" <reese@isn.net>
2936
2937         * debug.C: fix typo
2938
2939 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2942
2943         * version.C.in: change docversion to 1.4
2944
2945 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2946
2947         * buffer.C: fix a bug just introduced
2948
2949 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * buffer.[Ch]: added the parseError signal and use it, removed
2952         sgmlError
2953         * BufferView.[Ch] (addError): moved to ...
2954         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2955         to the Buffer::parseError signal to catch (guess what) parse errors
2956         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2957
2958 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2959
2960         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2961         ability to create a buffer and to return an existing one from
2962         the list. Moved these functions to...
2963         * buffer_funcs.[Ch]: added
2964         * BufferView.[Ch] (loadLyXFile): added
2965         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2966         job removed from bufferlist::loadLyXFile.
2967         * buffer.C (setReadOnly): make it work without view
2968         (i.e added an if (users))
2969
2970 2003-06-19  Angus Leeming  <leeming@lyx.org>
2971
2972         * lfuns.h:
2973         * LyXAction.C (init):
2974         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2975         with LFUN_DIALOG_SHOW <name> <data>.
2976
2977 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2978
2979         * CutAndPaste.C (availableSelections): small compilation fix for
2980         ancient (gcc 2.9x) compilers
2981
2982 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * text3.C (cursorNext): add tmp var
2985
2986         * text2.C (updateCounters): for function calling out of for clause
2987         (replaceSelectionWithString): ditto
2988         (insertStringAsParagraphs): ditto
2989         (getColumnNearX): add tmp var
2990         (setCursorFromCoordinates): add tmp var
2991         (cursorDownParagraph): add tmp var
2992         (deleteEmptyParagraphMechanism): add tmp var
2993
2994         * text.C (insertChar): add tmp var
2995
2996         * rowpainter.C (paintDepthBar): add tmp var
2997
2998         * CutAndPaste.C (availableSelections): potentially check all
2999         paragraphs in a cut to fill the shown strings.
3000
3001 2003-06-18  André Pönitz  <poenitz@gmx.net>
3002
3003         * kbmap.[Ch]: use vector<> instead of list<>
3004
3005 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3006
3007         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3008         pasteSelection with index
3009
3010         * text2.C (pasteSelection): modify, call pasteSelection with index
3011
3012         * paragraph.C (asString): reimplement version with no interval to
3013         call the one with interval.
3014
3015         * lyxtext.h: add index arg to pasteSelection
3016
3017         * MenuBackend.C (MenuItem): handle PasteRecent
3018         (Menu::read::Menutags): add md_pasterecent
3019         (read): handle it
3020         (expandPasteRecent): new function
3021         (expand): use it
3022
3023         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3024
3025         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3026         the limited stack
3027         (availableSelections): new function
3028
3029 2003-06-17  Angus Leeming  <leeming@lyx.org>
3030
3031         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3032
3033 2003-06-17  Angus Leeming  <leeming@lyx.org>
3034
3035         * lfuns.h:
3036         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3037
3038         * lyxfunc.C (dispatch): invoke it.
3039
3040 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3041
3042         * iterators.C (operator++, ParPosition): reintroduce some
3043         const_cast for the benefit of older compilers.
3044
3045 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3046
3047         * text3.C (dispatch): do not modify clipboard when doing
3048         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3049         LFUN_DELETE_SKIP on a selection selection
3050
3051 2003-06-16  André Pönitz  <poenitz@gmx.net>
3052
3053         * BufferView.C:
3054         * buffer.C:
3055         * buffer.h:
3056         * paragraph.C:
3057         * tabular.[Ch]: IU of clone() and getLabelList();
3058
3059 2003-06-13  André Pönitz  <poenitz@gmx.net>
3060
3061         * tabular.h: compactification
3062
3063 2003-06-12  André Pönitz  <poenitz@gmx.net>
3064
3065         * tabular.C:
3066         * tabular.h:
3067         * tabular_funcs.h: some renaming plus whitespace
3068
3069 2003-06-12  André Pönitz  <poenitz@gmx.net>
3070
3071         * BufferView.C:
3072         * BufferView_pimpl.C:
3073         * CutAndPaste.C:
3074         * buffer.C:
3075         * iterators.[Ch]:
3076         * lyxfunc.C:
3077         * text.C:
3078         * toc.C: Return a Paragraph & for ParIterator::operator*()
3079
3080 2003-06-11  John Levon  <levon@movementarian.org>
3081
3082         * lyx_main.C:
3083         * ToolbarBackend.h:
3084         * ToolbarBackend.C: add "Toolbars" section and
3085         put the flags there
3086
3087 2003-06-10  Angus Leeming  <leeming@lyx.org>
3088
3089         * lfuns.h:
3090         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3091
3092         * lyxfunc.C (dispatch): invoke it.
3093
3094 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * main.C: protect <ios> with HAVE_IOS
3097         (main): protect sync_with_stdio with HAVE_IOS
3098
3099 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3100
3101         * text2.C (cutSelection): adjust
3102         (pasteSelection): adjust
3103
3104         * messages.C: handle get of empty string
3105
3106         * main.C (main): use sync_with_stdio(false)
3107
3108         * lyxfunc.C (dispatch): adjust
3109
3110         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3111         (WriteAs): remove unneeded BufferView arg.
3112
3113         * bufferparams.h: use correct types on papersize, papersize2 and
3114         paperpackage.
3115
3116         * bufferparams.C (readToken): adjust for type
3117         (writeLaTeX): add missing cases to switch.
3118
3119         * bufferlist.C (quitWriteBuffer): adjust
3120         (close): adjust
3121
3122         * buffer.C (asciiParagraph): remove some commented code.
3123
3124         * CutAndPaste.C: remove current_view extern variable.
3125         (cutSelection): add BufferParams arg.
3126         (eraseSelection): add BufferParams arg.
3127         (pasteSelection): add Buffer const & arg
3128
3129 2003-06-07  John Levon  <levon@movementarian.org>
3130
3131         * buffer.C:
3132         * paragraph_funcs.C:
3133         * paragraph_pimpl.C:
3134         * text.C:
3135         * text2.C:
3136         * paragraph.h:
3137         * paragraph.C: allow InsetERT to freely space lines,
3138         and some consolidation of code
3139
3140 2003-06-06  José Matos  <jamatos@fep.up.pt>
3141
3142         * buffer.C (makeDocBookFile): fix bug #821
3143
3144 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3145
3146         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3147
3148 2003-06-04  Angus Leeming  <leeming@lyx.org>
3149
3150         * buffer.C: bump format to 224.
3151
3152 2003-06-05  André Pönitz  <poenitz@gmx.net>
3153
3154         * text2.C (redoParagraphs): remove two const_cast<>
3155
3156 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3157
3158         * ParagraphList.h: remove last remnants of NO_STD_LIST
3159
3160 2003-06-03  Angus Leeming  <leeming@lyx.org>
3161
3162         * factory.C (createInset): small change to the way InsetExternal's params
3163         are set.
3164
3165 2003-06-04  André Pönitz  <poenitz@gmx.net>
3166
3167         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3168
3169         * paragraph_pimpl.h:
3170         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3171
3172         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3173
3174         * undo_funcs.C: make some simple cases of undo work again
3175
3176 2003-06-03  John Levon  <levon@movementarian.org>
3177
3178         * ispell.C: HPUX doesn't have sys/select.h
3179         (from Albert Chin)
3180
3181 2003-06-03  John Levon  <levon@movementarian.org>
3182
3183         * CutAndPaste.C: update tabular and include inset
3184         buffer references
3185
3186         * buffer.h:
3187         * paragraph.h:
3188         * paragraph.C: remove owningBuffer(), don't pass Buffer
3189         to clone()
3190
3191         * factory.C: insetGraphicsParams changed
3192
3193 2003-06-02  John Levon  <levon@movementarian.org>
3194
3195         * LyXAction.C:
3196         * factory.C:
3197         * lfuns.h:
3198         * lyxfunc.C:
3199         * text3.C: remove insetparent
3200
3201 2003-06-02  John Levon  <levon@movementarian.org>
3202
3203         * buffer.h:
3204         * buffer.C: fix inset_iterator.end(), move out of line
3205         (bug 1149)
3206
3207 2003-06-01  John Levon  <levon@movementarian.org>
3208
3209         * text3.C: use a proper cut/paste when doing inset
3210         insert (from Jürgen Spitzmüller)
3211
3212 2003-06-01  John Levon  <levon@movementarian.org>
3213
3214         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3215
3216 2003-05-30  André Pönitz  <poenitz@gmx.net>
3217
3218         * rowpainter.C: unify second drawing phase
3219
3220 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * trans_mgr.C: remove one case of current_view
3223
3224         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3225
3226         * paragraph_funcs.h: remove paragraph.h include
3227
3228         * paragraph.h: delete NO_STD_LIST stuff
3229
3230         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3231
3232         * buffer.h: remove paragraph.h include
3233
3234         * ParagraphList.C: delete file
3235
3236         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3237
3238         * toc.C (getTocList): adjust
3239
3240         * paragraph_pimpl.C (validate): adjust
3241
3242         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3243
3244         * paragraph.C (Paragraph): adjust
3245         (getPositionOfInset): use const_iterator, adjust
3246         (bibitem): use const_iterator, adjust
3247         (setInsetOwner): adjust
3248
3249         * iterators.C (operator++): adjust
3250
3251         * InsetList.[Ch]: Replace selfmade iterator with standard
3252         vector::iterator also introduce const_iterator. Remove getPos,
3253         getInset and setInset from InsetTable. Adjust accordingly.
3254
3255         * BufferView.C (lockInset): adjust
3256         (ChangeInsets): adjust
3257
3258         * tabular.[Ch]: delete commented same_id functions
3259
3260 2003-05-28  John Levon  <levon@movementarian.org>
3261
3262         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3263
3264 2003-05-28  André Pönitz  <poenitz@gmx.net>
3265
3266         * metricsinfo.[Ch]: remove 'fullredraw' member
3267
3268 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3269
3270         * lyxtextclass.C (operator): remove caching.
3271
3272 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * text3.C: adjust
3275
3276         * text2.C (cursorBottom): adjust
3277         (setCounter): use ParagraphList::find, adjust
3278
3279         * text.C (workWidth): use ParagraphList::find, adjust
3280
3281         * lyxcursor.C (LyXCursor): adjust
3282
3283         * buffer.C (inset_iterator): adjust
3284
3285         * ParagraphList.h: make iterator(value_type) private, make
3286         ParagraphList a friend of iterator.
3287
3288         * ParagraphList.C (find): new function
3289
3290         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3291
3292 2003-05-27  André Pönitz  <poenitz@gmx.net>
3293
3294         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3295
3296 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3297
3298         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3299
3300 2003-05-26  John Levon  <levon@movementarian.org>
3301
3302         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3303
3304 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * remove same_id from function signatures, adjust.
3307
3308 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3311
3312         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3313
3314         * paragraph.C (Paragraph): get rid of same_ids parameter
3315
3316         * ParagraphList.C (insert): adjust
3317         (push_back): adjust
3318
3319 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * paragraph_funcs.C (breakParagraph): adjust
3322         (breakParagraphConservative): adjust
3323
3324         * buffer.C (readParagraph): adjust
3325
3326         * ParagraphList.C (insert): take a reference instead of a pointer
3327         (insert): adjust
3328
3329         * paragraph.[Ch] (id): new function
3330
3331         * bufferlist.C (newFile): adjust
3332
3333         * ParagraphList.C (ParagraphList): adjust
3334         (assign): adjust
3335         (push_back): take a reference instead of a pointer.
3336
3337         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3338
3339         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3340         instead.
3341
3342         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3343         set else use old code.
3344
3345         * ParagraphList.C: remove all NO_NEXT code and only compile this
3346         code of NO_STD_LIST is set.
3347
3348 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3349
3350         * BufferView_pimpl.C:
3351         * TextCache.C:
3352         * TextCache.h:
3353         * bufferlist.C:
3354         * errorlist.h:
3355         * format.C:
3356         * format.h:
3357         * graph.C:
3358         * lyxfunc.C:
3359         * lyxrc.C:
3360         * graphics/GraphicsConverter.C:
3361         * graphics/PreviewLoader.C: header adjustment
3362
3363 2003-05-23  Angus Leeming  <leeming@lyx.org>
3364
3365         * LaTeXFeatures.[Ch] (useBabel): new method.
3366         * bufferparams.C (writeLaTeX): use it.
3367
3368 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * ParagraphList.h (set): remove unused function.
3371
3372 2003-05-23  André Pönitz  <poenitz@gmx.net>
3373
3374         * BufferView.C:
3375         * BufferView_pimpl.C:
3376         * buffer.C:
3377         * buffer.h:
3378         * lyxfunc.C:
3379         * undo_funcs.C: setUndo reworked
3380
3381         * iterators.[Ch]: add access to topmost ParagraphList
3382
3383         * lyxtext.[Ch] (workWidth): add a const
3384
3385 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * texrow.[Ch] (increasePos): remove function
3388         * exporter.C (export): removed unused var and outdated comment
3389
3390 2003-05-23  Angus Leeming  <leeming@lyx.org>
3391
3392         * latexrunparams.h: rename fragile as moving_arg.
3393         * paragraph.C (simpleTeXOnePar): ditto.
3394         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3395
3396 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3399         (createUndo): ditto
3400         (textUndoOrRedo): comment out a currently unused var.
3401
3402         * paragraph.h (NO_NEXT): enable NO_NEXT
3403
3404         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3405
3406         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3407
3408         * exporter.C (Export): adjust for removeAutoInsets removal.
3409
3410         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3411
3412         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3413
3414         * BufferView.[Ch] (removeAutoInsets): delete function
3415
3416 2003-05-22  Angus Leeming  <leeming@lyx.org>
3417
3418         * latexrunparams.h: add a free_spacing variable.
3419
3420         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3421         to pass moving_arg, as the data is stored in runparams.fragile.
3422
3423         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3424         to Inset::latexOptional or to simpleTeXOnePar.
3425
3426         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3427         free_spacing arg to Inset::latexOptional.
3428
3429         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3430         free_spacing arg.
3431
3432 2003-05-22  Angus Leeming  <leeming@lyx.org>
3433
3434         * latexrunparams.h: add fragile and use_babel variables.
3435
3436         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3437         * buffer.C (makeLaTeXFile): store this returned value in
3438         runparams.use_babel, thus passing it to the inset::latex methods.
3439
3440         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3441         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3442
3443         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3444         longer has a fragile arg, as it is stored in runparams.fragile.
3445
3446         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3447         moving_arg parameter as the data is stored in runparams.fragile.
3448
3449         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3450         a fragile parameter as the data is stored in runparams.fragile.
3451
3452 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3455
3456 2003-05-22  Angus Leeming  <leeming@lyx.org>
3457
3458         * latexrunparams.h: add a 'bool nice' which defaults to false.
3459
3460         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3461         now encapsulated within runparams.
3462
3463         * bufferlist.C (updateIncludedTeXfiles):
3464         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3465
3466 2003-05-22  Angus Leeming  <leeming@lyx.org>
3467
3468         * latexrunparams.h: new file containing struct LatexRunParams.
3469         * Makefile.am: add new file.
3470
3471         * LaTeX.[Ch] (c-tor, run):
3472         * buffer.[Ch] (makeLaTeXFile):
3473         * bufferlist.[Ch] (updateIncludedTeXfiles):
3474         * converter.C (convert, scanLog):
3475         * converter.[Ch] (runLaTeX):
3476         * exporter.C (Export):
3477         * paragraph.[Ch] (simpleTeXOnePar):
3478         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3479         * paragraph_funcs.[Ch] (latexParagraphs):
3480         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3481         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3482         pass around a LatexRunParams parameter.
3483
3484 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * paragraph.[Ch]: remove unused constructor
3487
3488         * ParagraphList.C (erase): new function, taking two iterators
3489
3490 2003-05-22  André Pönitz  <poenitz@gmx.net>
3491
3492         * undo_funcs.C: remove duplicated code
3493
3494         * iterator.[Ch]: operator=
3495
3496 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3497
3498         * tabular.C (SetMultiColumn): ws changes
3499
3500         * rowpainter.C (paintFirst): get rid of a ->previous
3501
3502         * lyx_cb.C (getPossibleLabel): parlist simplification
3503
3504         * BufferView.C (ChangeInsets): simplify slightly.
3505
3506 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3507
3508         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3509         * lfuns.h: new LFUN_SPACE
3510         * lyxfunc.C: protected space has a new lfun
3511         * paragraph_funcs.C: read new space insets
3512         * text3.C:
3513         * factory.C: handle new space insets
3514
3515 2003-05-22  André Pönitz  <poenitz@gmx.net>
3516
3517         * BufferView.C:
3518         * BufferView_pimpl.C:
3519         * buffer.[Ch]:
3520         * lyxfunc.C:
3521         * undo_funcs.C: return a ParIterator from getParFromID.
3522
3523         * iterators.[Ch]: add two const's
3524
3525 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * toc.C (getTocList): adjust
3528
3529         * iterators.[Ch]: rework for parlist
3530
3531         * buffer.C (par_iterator_begin): adjust
3532         (par_iterator_end): adjust
3533
3534         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3535
3536         * BufferView.C (removeAutoInsets): adjust
3537         (ChangeInsets): adjust
3538
3539 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * text.C (top_y): fix bug 1110
3542
3543 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * errorlist.[Ch]: added
3546         * buffer.C:
3547         * BufferView.[Ch]:
3548         * BufferView_pimpl.C:
3549         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3550         instead
3551
3552 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * Makefile.am: ensure that lyx is relinked upon changes to the
3555         various "convenience" libs.
3556
3557 2003-05-20  Angus Leeming  <leeming@lyx.org>
3558
3559         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3560         files are compiled in alphabetical order again.
3561
3562         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3563
3564 2003-05-19  Angus Leeming  <leeming@lyx.org>
3565
3566         * gettext.[Ch]: remove "char const * _(char const *)".
3567
3568 2003-05-19  André Pönitz  <poenitz@gmx.net>
3569
3570         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3571
3572         * Makefile.am:
3573         * BufferView.C:
3574         * DepTable.h:
3575         * LaTeXFeatures.C:
3576         * buffer.C:
3577         * lyxfont.C:
3578         * lyxlex.h:
3579         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3580
3581 2003-05-19  André Pönitz  <poenitz@gmx.net>
3582
3583         * buffer.C:
3584         * lyxlayout.[Ch]:
3585         * lyxtextclass.[Ch]:
3586         * paragraph.C:
3587         * paragraph_funcs.[Ch]:
3588         * text2.C:
3589         * text3.C: more insetenv work
3590
3591 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * ParagraphParameters.C (params2string): small bug fixed
3594
3595 2003-05-16  André Pönitz  <poenitz@gmx.net>
3596
3597         * debug.C:
3598         * bufferview_funcs.C: patch from Kornel Benko to prevent
3599           crash when _(...) is called twice in a statement
3600
3601 2003-05-16  André Pönitz  <poenitz@gmx.net>
3602
3603         * BufferView.C:
3604         * lyxfunc.C:
3605         * text.C:
3606         * text2.C:
3607         * text3.C:
3608         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3609
3610 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * lyx_main.C (init): remove spurious static_cast
3613
3614 2003-05-14  André Pönitz  <poenitz@gmx.net>
3615
3616         * BufferView.C: fix format string
3617
3618 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * BufferView.[Ch] (insertErrors): removed
3621         * BufferView.[Ch] (showErrorList): added
3622         * buffer.C (runChkTeX):
3623         * converter.C (scanLog): call showErrorList instead of inserterrors
3624
3625 2003-05-13  André Pönitz  <poenitz@gmx.net>
3626
3627         * BufferView_pimpl.C:
3628         * buffer.C:
3629         * bufferview_func.C:
3630         * MenuBackend.C:
3631         * lyxfunc.C:
3632         * lyxrc.C:
3633         * tex-accent.C:
3634         * text3.C:
3635         * toc.C:
3636         * tabular_funcs.h: tostr() from its own header
3637
3638         * ParagraphParameters.C:
3639         * ToolbarBackend.C:
3640         * bufferparams.C:
3641         * format.C:
3642         * lyxlex_pimpl.C:
3643         * text3.C: STRCONV()
3644
3645 2003-05-12  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView.C:
3648         * BufferView_pimpl.C:
3649         * CutAndPaste.C:
3650         * LaTeX.C:
3651         * LaTeXFeatures.C:
3652         * ParagraphParameters.C:
3653         * buffer.C:
3654         * bufferlist.C:
3655         * bufferparams.C:
3656         * bufferview_funcs.C:
3657         * converter.C:
3658         * counters.C:
3659         * debug.C:
3660         * exporter.C:
3661         * format.C:
3662         * importer.C:
3663         * lyx_cb.C:
3664         * lyx_main.C:
3665         * lyxfont.C:
3666         * lyxfunc.C:
3667         * lyxvc.C:
3668         * paragraph.C:
3669         * paragraph_funcs.C:
3670         * tabular.C:
3671         * tabular_funcs.C:
3672         * text2.C:
3673         * text3.C:  boost::format -> bformat  all over the place
3674
3675
3676 2003-05-09  André Pönitz  <poenitz@gmx.net>
3677
3678         * LColor.[Ch]: Pimpl the #include <map> away
3679
3680 2003-05-09  John Levon  <levon@movementarian.org>
3681
3682         * bufferlist.C: never remove emergency saves
3683
3684 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * Makefile.am: better lib building
3687
3688 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3691         instead.
3692         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3693         (simpleTeXSpecialChars): adjust
3694         (simpleTeXSpecialChars): adjust
3695         * paragraph.C (simpleTeXOnePar): adjust
3696         * buffer.C (makeLaTeXFile): adjust
3697
3698         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3699
3700         * text2.C (changeDepth): parlist cleanup
3701         (getColumnNearX): ditto
3702
3703         * rowpainter.C (getLabelFont): parlist cleanup
3704
3705         * bufferlist.C (newFile): parlist cleanup
3706
3707         * CutAndPaste.C (eraseSelection): parlist cleanup
3708
3709         * BufferView_pimpl.C (trackChanges): parlist cleanup
3710         (dispatch): ditto
3711
3712         * BufferView.C (lockInset): parlist cleanup.
3713         (ChangeInsets): ditto
3714
3715 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * CutAndPaste.h: Update file header.
3718
3719         * CutAndPaste.C: Update file header.
3720         Store the parts cut out of the Document in a limited_stack.
3721         (copySelection): adjust
3722         (pasteSelection): new function, takes the index in the limited stack.
3723         (nrOfParagraphs): adjust
3724         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3725         simplify error inset insertion.
3726         (checkPastePossible): adjust
3727
3728 2003-05-06  John Levon  <levon@movementarian.org>
3729
3730         * text2.C: don't cast wrap inset to float
3731
3732 2003-05-05  André Pönitz  <poenitz@gmx.net>
3733
3734         * iterator.C:
3735         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3736
3737         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3738           few naked Paragraph *.
3739
3740 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3741
3742         * bufferparams.C: Output warning if a document with missing
3743         TeX document class is loaded
3744         * exporter.C: Disable TeX exports if the document class is missing
3745         * lyxtextclass.C:
3746         * lyxtextclass.h:
3747         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3748         isTeXClassAvailable()
3749
3750 2003-05-03  John Levon  <levon@movementarian.org>
3751
3752         * BufferView.h:
3753         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3754         explicit cursor show/hide
3755
3756         * BufferView_pimpl.h:
3757         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3758         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3759
3760         * lyxfunc.C: hide cursor before dispatching.
3761
3762         * lyx_cb.C:
3763         * lyxfind.C:
3764         * text.C:
3765         * text3.C: remove explicit cursor hides
3766
3767 2003-05-02  André Pönitz  <poenitz@gmx.net>
3768
3769         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3770
3771         * undo_funcs.C:
3772         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3773           linked lists
3774
3775         * text2.C: tiny whitespace
3776
3777 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * undo_funcs.C: almost only ws changes.
3780
3781         * ParagraphList.C (splice): just return if pl is empty.
3782
3783 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * ParagraphList.C (splice): new function.
3786
3787         * CutAndPaste.C (pasteSelection): use it
3788
3789 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * CutAndPaste.C (pasteSelection): remove the last next and
3792         previous from this file.
3793
3794 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * CutAndPaste.C (pasteSelection): more clean up, user proper
3797         ParagraphList functions for pasteing.
3798
3799         * ParagraphList.C (insert): new function, three arg insert
3800
3801 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * ParagraphList.C (insert): new function, three arg insert
3804
3805         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3806         not on paragraphs.
3807
3808 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3811
3812 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3815
3816 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3819         (copySelection): clean up a bit.
3820         (pasteSelection): use make_pair
3821
3822         * ParagraphList.C (ParagraphList): implement copy constructor
3823         (operator=): implement, base on copy constructor.
3824         (assign): new func
3825
3826         * paragraph.C (erase): return a bool
3827
3828         * paragraph_pimpl.C (erasePos): remove function, move contents...
3829         (erase): ... here. Return a bool.
3830         (erase): call erase instead of erasePos.
3831
3832 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * ParagraphList.h: define PitPosPair
3835         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3836         ParagraphList, fix a bug on pasting multiple pars
3837         * text2.C: change interface to C&P
3838
3839 2003-04-30  André Pönitz  <poenitz@gmx.net>
3840
3841         * undo_func.C: revert part of yesterday's patch 2
3842
3843 2003-04-30  John Levon  <levon@movementarian.org>
3844
3845         * LColor.C: s/tabular/table/
3846
3847 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * text3.C (dispatch): do not convert iterator -> pointer
3850         * undo_funcs.C (setCursorParUndo): ditto
3851         * text_funcs.C (transposeChars): ditto
3852
3853         * text2.C (setLayout): ws changes only
3854
3855         * text.C (breakParagraph): do not convert iterator -> pointer
3856         (insertChar): ditto
3857         (acceptChange): ditto
3858         (rejectChange): ditto
3859         (changeCase): ditto
3860         (Delete): ditto
3861         (backspace): ditto
3862
3863         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3864         pointer
3865
3866 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3867
3868         * text3.C (gotoInset): YABG (yet another bad getChar)
3869
3870 2003-04-29  André Pönitz  <poenitz@gmx.net>
3871
3872         * paragraph.h: make operator= private unimplemented as long as
3873           it is unusable
3874
3875         * ParagraphList.C: whitespace
3876
3877         * paragraph.[Ch]:
3878         * paragraph_pimpl.[Ch]:
3879         * paragraph_funcs.C:
3880         * CutAndPaste.C:
3881         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3882
3883         * text2.C:
3884           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3885
3886 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3889         * paragraph.[Ch] (erase):
3890         * paragraph_pimpl.[Ch] (erase): change return type and value
3891         * text2.C (cutSelection): some rework
3892
3893 2003-04-28  John Levon  <levon@movementarian.org>
3894
3895         * bufferlist.C: changes for unsaved changes dialog
3896
3897 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * bufferlist.C (newFile): set language (messages_) for new
3900         documents also.
3901
3902         * buffer.C (readFile): ws changes only.
3903
3904 2003-04-28  André Pönitz  <poenitz@gmx.net>
3905
3906         * undo_funcs.C:
3907         * lyxfunc.C:
3908         * buffer.[Ch]:
3909         * BufferView_pimpl.C:
3910         * BufferView.C: getParFromID related ParagraphList::iterator changes
3911
3912 2003-04-28  André Pönitz  <poenitz@gmx.net>
3913
3914         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3915           Changes
3916
3917 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * messages.C: remove one more localedir class variable.
3920
3921 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * messages.C (getLocaleDir): singleton generation function
3924         (Pimpl): use it.
3925         (Messages): add a default constructor.
3926
3927         * main.C (main): do not setup localedir here, do not call
3928         gettext_init.
3929
3930         * gettext.C (_): use it.
3931         (gettext_init): delete funciton
3932
3933 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * gettext.C (getLyXMessages): new singleton generating function.
3936
3937         * buffer.C (updateDocLang): adjust
3938
3939         * Makefile.am (messages.o): add target
3940         (main.o): remove target
3941
3942 2003-04-27  John Levon  <levon@movementarian.org>
3943
3944         * bufferlist.C:
3945         * lyx_cb.C:
3946         * lyxfunc.C:
3947         * lyxvc.C: specify cancel button in Alert::prompt
3948
3949 2003-04-26  John Levon  <levon@movementarian.org>
3950
3951         * text3.C:
3952         * lyxfunc.C:
3953         * lfuns.h:
3954         * LyXAction.C: add LFUN_INSET_SETTINGS
3955
3956         * lyxfunc.C: don't enable tabular-feature when there's
3957         just any locking inset
3958
3959 2003-04-26  John Levon  <levon@movementarian.org>
3960
3961         * bufferlist.C: re-add Cancel to buffer close question
3962
3963         * lyxfunc.C: fix import UI a bit
3964
3965 2003-04-25  John Levon  <levon@movementarian.org>
3966
3967         * gettext.C: remove the broken asserts for now
3968
3969 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * messages.C: make case where setlocale cannot comply work better.
3972
3973         * buffer.C (updateDocLang): new function
3974         (changeLanguage): use it
3975         (readFile): use it
3976
3977         * text2.C (setCounter): use B_ a bit.
3978
3979         * lyxlayout.C (Read): be sure to trim the label strings.
3980
3981         * messages.C (Messages): fix typo in comment
3982
3983         * buffer.C (readFile): set message_ after file is loaded.
3984         (makeDocBookFile): remove double return
3985         (changeLanguage): reset message_ upon language change.
3986         (B_): new func, use this to get translated buffer strings.
3987
3988         * main.C: add myself and Jean Marc as authors.
3989
3990 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * messages.[hC]: pimplify Messages, and three different pimpls to be
3993         used in different circumstances.
3994
3995         * gettext.[Ch]: change for use with new message code.
3996
3997 2003-04-24 André Pönitz <poenitz@gmx.net>
3998
3999         * factory.C: support for eqref
4000
4001 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * messages.[Ch]: add missing char
4004
4005         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4006
4007         * messages.[Ch]: New files
4008
4009 2003-04-18  John Levon  <levon@movementarian.org>
4010
4011         * BufferView.h:
4012         * BufferView.C:
4013         * BufferView_pimpl.C:
4014         * lfuns.h:
4015         * LyXAction.C:
4016         * lyxtext.h:
4017         * text2.C: remove layout-copy/paste (bug 778)
4018
4019 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4020
4021         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4022
4023 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4024
4025         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4026         if they succeed. Act accordingly.
4027
4028 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * text2.C (setCharFont): adjust
4031         (setCounter): adjust
4032         (insertStringAsLines): adjust
4033
4034         * text.C (leftMargin): adjust
4035         (setHeightOfRow): adjust
4036
4037         * rowpainter.C (paintFirst): adjust
4038         (paintLast): adjust
4039
4040         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4041         (outerHook): ditto
4042         (isFirstInSequence): ditto
4043         (getEndLabel): ditto
4044         (outerFont): adjust
4045
4046         * paragraph.C (getParLanguage): comment out some hard stuff.
4047
4048         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4049         (sgmlError): ditto
4050         (simpleDocBookOnePar): ditto
4051         (makeDocBookFile): use ParagraphList::iterator
4052
4053         * CutAndPaste.C (pasteSelection): adjust
4054
4055 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * text2.C (getFont): adjust
4058         (getLayoutFont): adjust
4059         (getLabelFont): adjust
4060
4061         * paragraph_funcs.C (TeXOnePar): adjust
4062
4063         * buffer.C (simpleLinuxDocOnePar): adjust
4064         (simpleDocBookOnePar): adjust
4065
4066         * CutAndPaste.C (pasteSelection): adjust
4067
4068         * BufferView.C (getEncoding): adjust
4069
4070         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4071
4072 2003-04-16  John Levon  <levon@movementarian.org>
4073
4074         * lyxfind.C: use parlist stuff for search/changes
4075
4076 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4079
4080         * text2.C (deleteEmptyParagraphMechanism): adjust
4081
4082         * text2.[Ch] (ownerParagraph): delete func (both of them
4083
4084 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4087
4088 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * ParagraphList.C: prepare for NO_NEXT
4091
4092 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * text2.C (getFont): adjust
4095         (getLayoutFont): adjust
4096         (getLabelFont): adjust
4097
4098         * paragraph.C (getFont): adjust
4099         (getLabelFont): adjust
4100         (getLayoutFont): adjust
4101
4102         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4103
4104 2003-04-15  John Levon  <levon@movementarian.org>
4105
4106         From Angus Leeming
4107
4108         * lyx_main.C: handle Include in .ui files
4109
4110 2003-04-15  John Levon  <levon@movementarian.org>
4111
4112         * MenuBackend.C: make the doc files length shorter
4113
4114         * ToolbarBackend.h:
4115         * ToolbarBackend.C: handle toolbar placement flags,
4116         Minibuffer
4117
4118 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4121         adjust
4122
4123         * paragraph_funcs.C (TeXOnePar): adjust
4124
4125         * paragraph.C (getLabelFont): add outerfont arg, adjust
4126         (getLayoutFont): ditto
4127         (simpleTeXOnePar): adjust
4128
4129         * paragraph_pimpl.C (realizeFont): delete func
4130
4131 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4132
4133         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4134         row argument, constify cur argument.
4135
4136 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * text2.C (getFont): adjust
4139         (getLayoutFont): adjust
4140         (getLabelFont): adjust
4141
4142         * paragraph_funcs.C (TeXOnePar): adjust
4143         (outerFont): new func...
4144         (realizeFont): ...moved out from here, changed this to facilitate
4145         transition
4146
4147         * paragraph.C (getFont): take outerfont as arg, adjust
4148         (simpleTeXOnePar): add outerfont arg, adjust
4149
4150         * buffer.C (simpleLinuxDocOnePar): adjust
4151         (simpleDocBookOnePar): adjust
4152
4153         * CutAndPaste.C (pasteSelection): adjust
4154
4155         * BufferView.C (getEncoding): adjust
4156
4157 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * text2.C (setCharFont): adjust
4160         (setCounter): adjust
4161
4162         * text.C (leftMargin): adjust
4163         (setHeightOfRow): adjust
4164
4165         * rowpainter.C (paintFirst): adjust
4166         (paintLast): adjust
4167
4168         * paragraph_pimpl.C (realizeFont): adjust
4169
4170         * paragraph.C (isFirstInSequence): move from here...
4171         * paragraph_funcs.C (isFirstInSequence): ...to here
4172
4173         * paragraph.C (outerHook): move from here...
4174         * paragraph_funcs.C (outerHook): ...to here
4175
4176         * paragraph.C (depthHook): move from here...
4177         * paragraph_funcs.C (depthHook): ...to here
4178
4179         * paragraph.C (getEndLabel): move from here...
4180         * paragraph_funcs.C (getEndLabel): ...to here
4181
4182         * text2.C (realizeFont): move from here...
4183         * paragraph_funcs.C (realizeFont): ...to here
4184
4185 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4188
4189 2003-04-14  Angus Leeming  <leeming@lyx.org>
4190
4191         * LColor.[Ch]: scrap LColor mathcursor.
4192
4193 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * lyxlex.[Ch] (text): delete function
4196         * trans.C (Load): adjust
4197         * paragraph_funcs.C (readParToken): adjust
4198
4199 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4202         vector<char> instead of a char[].
4203
4204         * lyxlex_pimpl.C (getString): adjust
4205         (next): adjust
4206         (lex): use getString
4207         (eatLine): adjust
4208         (nextToken): adjust
4209
4210         * lyxlex.C (text): use pimpl_->getString()
4211         (getBool): ditto
4212         (findToken): ditto
4213
4214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4217         (makeFontEntriesLayoutSpecific): temp var for par.size()
4218         (setLayout): temp var for ownerParagraphs().end()
4219         (fullRebreak): temp var for rows().end()
4220         (selectionAsString): temp var for boost::next(startpit), realize
4221         that the while really is a regular for loop.
4222         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4223         setCursor in one place.
4224         (setParagraph): temp vr for ownerParagraphs().end()
4225         (updateCounters): make the while loop a for loop
4226         (cutSelection): temp var for ownerParagraphs().end()
4227         (updateInset): make the do {} while() a regular for loop
4228         (getCursorX): use temp vars
4229         (setCurrentFont): use temp vars
4230         (getColumnNearX): use temp vars
4231
4232 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * text.C (transformChar): use temp var for getChar
4235         (computeBidiTables): use temp var for row->par()
4236         (fill): move temp vars for row->par() and pit->layout() earlier in
4237         the function.
4238         (labelFill): use temp var for row->par()
4239         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4240         asc and desc, realize that pit never changes and that firstpit is
4241         just a duplicate and not needed. Exchange rit->par() with pit in a
4242         lot of places.
4243         (breakAgain): use a temp var for boost::next(rit)
4244         (breakAgainOneRow): ditto
4245         (breakParagraph): use a temp var for rows().begin()
4246         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4247         (cursorRightOneWord): use temp var for cursor.par() and
4248         cursor.pos(), remove usage of tmpcursor.
4249         (cursorLeftOneWord): use temp var for cursor.par() and
4250         cursor.pos() only set cur at end of function.
4251
4252 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * text.C, text2.C: exchange all usage of Paragraph::next with
4255         boost::next(ParagraphList::iterator)
4256
4257         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4258
4259         * text2.C (cursorTop): simplify implementation
4260         (cursorBottom): ditto
4261         (setParagraph): use ParagraphList::iterator
4262         (setCurrentFont): adjust
4263         (getColumnNearX): adjust
4264         (cursorRight): adjust
4265         (cursorLeft): remove usage of Paragraph::previous
4266         (cursorUpParagraph): ditto
4267         (deleteEmptyParagraphMechanism): slight cleanup
4268
4269         * text.C (isBoundary): take a Paragraph const & instead of a
4270         pointer as arg.
4271         (addressBreakPoint): ditto
4272         (leftMargin): remove usage of Paragraph::previous.
4273         (setHeightOfRow): ditto
4274         (cursorLeftOneWord): ditto
4275         (selectNextWordToSpellcheck): ditto
4276         (Delete): ditto
4277         (backspace): ditto
4278         (breakParagraph): remove one usage of Paragraph::next
4279         (redoParagraph): ditto
4280         (acceptChange): ditto
4281         (insertChar): adjust
4282         (rowBreakPoint): adjust
4283
4284         * bufferview_funcs.C (toggleAndShow): adjust
4285
4286 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4287
4288         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4289         methods to access it.
4290         * lyxtext.h:
4291         * text.C: Added updateRowPositions to compute all row positions.
4292         Make top_y and getRowNearY() to use the cached y position
4293
4294 2003-04-11  John Levon  <levon@movementarian.org>
4295
4296         * text.C (rowBreakPoint): reintroduce the labelEnd
4297         checks, code copied from the row fill stuff. Deep voodoo.
4298
4299         * text.C (fill): add a comment and debugging for the
4300         next poor soul.
4301
4302 2003-04-11  John Levon  <levon@movementarian.org>
4303
4304         * text.C: make sure fullrow insets get wrapped to the next line,
4305         even when they're in a manual label
4306
4307 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * text2.C (insertParagraph): make it take ParagraphList::iterator
4310         as arg.
4311         (setLayout): make it return ParagraphList::iterator
4312         (redoParagraphs): ditto
4313         (setCounter): ditto
4314         (checkParagraph): ditto
4315
4316         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4317
4318         * text2.C: adjust several funcs.
4319         (realizeFont): take a ParagraphList::iterator as arg.
4320         (getLayoutFont): ditto
4321         (getLabelFont): ditto
4322         (setCharFont): ditto
4323
4324         * text.C: adjust several funcs.
4325
4326 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * text.C (selectNextWordToSpellcheck): don't accidentally
4329         skip insets
4330
4331 2003-04-10  John Levon  <levon@movementarian.org>
4332
4333         * ToolbarBackend.C (getIcon): special handling for
4334         LFUN_MATH_DELIM
4335
4336 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * text2.C (cursorRight): a getChar assert fixed
4339
4340 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * text2.C (getFont): change to take a ParagraphList::iterator
4343         instead of Paragraph*
4344         Adjust several functions.
4345
4346         * text.C (transformChar): change to take a ParagraphList::iterator
4347         instead of Paragraph*
4348         (singleWidth): ditto
4349         Adjust several functions.
4350
4351         * rowpainter.C: adjust several functions
4352         * rowpainter.h:store a ParagraphList::iterator and not a
4353         Paragraph&.
4354
4355
4356 2003-04-09  John Levon  <levon@movementarian.org>
4357
4358         * lyxfunc.C:
4359         * lfuns.h:
4360         * LyXAction.h:
4361         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4362         and the "help" bits as well
4363
4364 2003-04-09  John Levon  <levon@movementarian.org>
4365
4366         * ToolbarBackend.h:
4367         * ToolbarBackend.C: allow multiple toolbars
4368
4369 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * undo_funcs.C (setCursorParUndo): adjust
4372
4373         * text_funcs.C (transposeChars): adjust
4374
4375         * text3.C (gotoNextInset): adjust
4376         (dispatch): adjust
4377
4378         * text2.C (setLayout): adjust
4379         (changeDepth): adjust
4380         (setFont): adjust
4381         (redoParagraphs): adjust
4382         (selectionAsString): adjust
4383         (setParagraph): adjust
4384         (insertInset): adjust
4385         (cutSelection): adjust
4386         (copySelection): adjust
4387         (pasteSelection): adjust
4388         (insertStringAsLines): adjust
4389         (updateInset): adjust
4390         (setCursor): change to take a ParagraphList::iterator parameter
4391         (setCursorIntern): change to take a ParagraphList::iterator parameter
4392         (setCurrentFont): adjust
4393         (cursorLeft): adjust
4394         (cursorRight): adjust
4395         (deleteEmptyParagraphMechanism): adjust
4396
4397         * text.C (breakParagraph): adjust
4398         (insertChar): adjust
4399         (acceptChange): adjust
4400         (rejectChange): adjust
4401         (selectNextWordToSpellcheck): adjust
4402         (changeCase): adjust
4403         (Delete): adjust
4404         (backspace): adjust
4405
4406         * lyxfind.C (SearchForward): adjust
4407         (SearchBackward): adjust
4408         (nextChange): adjust
4409
4410         * lyxcursor.C (par): adjust
4411
4412         * lyxcursor.h: store a ParagraphList::iterator instead of a
4413         Paragraph*
4414
4415         * lyx_cb.C (getPossibleLabel): adjust
4416
4417         * bufferview_funcs.C (toggleAndShow): adjust
4418
4419         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4420         (dispatch): adjust
4421
4422         * BufferView.C (removeAutoInsets): adjust
4423         (lockedInsetStoreUndo): adjust
4424
4425 2003-04-09  John Levon  <levon@movementarian.org>
4426
4427         * ToolbarBackend.C: try icon without argument
4428         if with argument fails
4429
4430 2003-04-08  John Levon  <levon@movementarian.org>
4431
4432         * ToolbarBackend.h:
4433         * ToolbarBackend.C: add getIcon(), handle tooltip,
4434         and change from "Icon" to "Item".
4435
4436 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * BufferView.C (lockInset): another bad getchar crunched
4439
4440 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4441
4442         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4443         again)
4444
4445 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * lyxfind.C (searchForward, searchBackwards): bug 782
4448
4449 2003-04-07  John Levon  <levon@movementarian.org>
4450
4451         * paragraph.C: remove dead comment
4452
4453         * text.C: remove troublesome depth-fiddling code
4454         in leftMargin() and rightMargin() (bug 1017)
4455
4456         * text.C: fix breaking of rows in nested lists
4457         (bug 1004)
4458
4459         * text2.C (updateCounters): fix up depth values
4460         (bug 1013)
4461
4462 2003-04-07  John Levon  <levon@movementarian.org>
4463
4464         * BufferView_pimpl.C: clear message when doc finishes resizing,
4465         and after a mouse event
4466
4467         * lyxfunc.C: clear message after exiting inset
4468
4469 2003-04-07  John Levon  <levon@movementarian.org>
4470
4471         * bufferview_funcs.C: show math status not outside
4472         status in the statusbar
4473
4474 2003-04-07  John Levon  <levon@movementarian.org>
4475
4476         * lyxfunc.C: note status changed after a depth change
4477
4478 2003-04-04  Angus Leeming  <leeming@lyx.org>
4479
4480         * LaTeX.h: move AuxInfo operator==, != out of line.
4481         Remove LaTeX virtual destructor; nothing derives from it.
4482         Move operator()() out of public area and rename it startscript().
4483         Change protected for private.
4484
4485 2003-04-04  Angus Leeming  <leeming@lyx.org>
4486
4487         * lyxfunc.C:
4488         * text2.C: remove unneeded #includes.
4489
4490 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * text2.C (dEPM): fix the heigth of the next row
4493
4494 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * text.C: squashed an invalid getChar requester + some ws changes
4497
4498 2003-04-03  John Levon  <levon@movementarian.org>
4499
4500         * bufferview_funcs.h:
4501         * bufferview_funcs.C:
4502         * lyxfunc.C:
4503         * lyxtext.h:
4504         * text2.C: make getStatus work for the env depth lfuns
4505
4506 2003-04-03  John Levon  <levon@movementarian.org>
4507
4508         * bufferview_funcs.h:
4509         * bufferview_funcs.C:
4510         * lyxfunc.C:
4511         * lyxtext.h:
4512         * text2.C: parlistize decDepth(), by merging it with incDepth()
4513
4514 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * lyxrow.h: store a ParagraphList::iterator instead of a
4517         Paragraph* and adjust other class functions to suit.
4518
4519         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4520         above.
4521
4522 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4523
4524         * text2.C (setCursor): do not anchor to cursor row for the time being
4525
4526 2003-04-02  John Levon  <levon@movementarian.org>
4527
4528         * LyXAction.C:
4529         * lfuns.h:
4530         * lyx_main.C:
4531         * lyxtext.h:
4532         * text.C:
4533         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4534
4535 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * paragraph.h: make ParagraphList and ParagraphList::iterator
4538         friends of Paragraph.
4539
4540         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4541
4542         * ParagraphList.C: Use the private next_ and previous_ from
4543         Paragraph.
4544
4545 2003-04-01  John Levon  <levon@movementarian.org>
4546
4547         * ToolbarBackend.h:
4548         * ToolbarBackend.C:
4549         * Makefile.am: rename, remove defaults gunk
4550
4551         * MenuBackend.h:
4552         * MenuBackend.C: remove defaults gunk
4553
4554         * Languages.h:
4555         * Languages.C: remove defaults gunk
4556
4557         * lyx_main.h:
4558         * lyx_main.C: error out if files couldn't be found.
4559
4560 2003-04-02  John Levon  <levon@movementarian.org>
4561
4562         * text2.C: make incDepth() use parlist
4563
4564 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * undo_funcs.C (firstUndoParagraph): adjust
4567
4568         * text3.C (gotoInset): adjust
4569         (dispatch): adjust, and rewrite loop.
4570
4571         * text2.C (init): adjust, and rewrite loop.
4572         (redoParagraphs): adjust
4573         (updateInset): adjust, and rewrite loop.
4574         (deleteEmptyParagraphMechanism): adjust
4575
4576         * tabular.C (LyXTabular): adjust
4577         (SetMultiColumn): adjust
4578         (TeXRow): adjust
4579
4580         * lyxtext.[Ch] (ownerParagraph): delete function
4581         (ownerParagraphs): new function returns a ParagraphList.
4582
4583         * BufferView.C (removeAutoInsets): adjust
4584         (insertErrors): adjust
4585         (setCursorFromRow): adjust
4586
4587 2003-04-01  Angus Leeming  <leeming@lyx.org>
4588
4589         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4590         in the frontends.
4591
4592 2003-04-02  John Levon  <levon@movementarian.org>
4593
4594         * lyxtext.h:
4595         * text.C:
4596         * Makefile.am:
4597         * text_funcs.h:
4598         * text_funcs.C: make transposeChars a free function
4599
4600         * lyxrow_funcs.C: remove wrong comment
4601
4602 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * lyxtext.h: adjust
4605         * rowpainter.C: adjust
4606         * text.C: adjust
4607         * text2.C: adjust
4608         * text3.C: adjust
4609
4610         * lyxrow_funcs. [Ch]: new files
4611
4612         * lyxrow.[Ch]: remove next and previous pointers
4613         (next,previous): remove accessor functions
4614         (isParEnd): move to lyxrow_funcs
4615         (lastPos): move to lyxrow_funcs
4616         (nextRowIsAllInset): move to lyxrow_funcs
4617         (lastPrintablePos): move to lyxrow_funcs
4618         (numberOfSeparators): move to lyxrow_funcs
4619         (numberOfHfills): move to lyxrow_funcs
4620         (numberOfLabelHfills): move to lyxrow_funcs
4621         (hfillExpansion): move to lyxrow_funcs
4622
4623         * lyxfunc.C: adjust
4624
4625         * bufferview_funcs.C (toggleAndShow): adjust
4626
4627         * RowList.h: Remove class RowList from file leave just a
4628         std::list<Row>.
4629
4630         * RowList.C: delete file
4631
4632         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4633         and lyxrow_funcs.h
4634
4635 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * text3.C (cursorPrevious): adjust
4638         (cursorNext): adjust
4639         (dispatch): adjust
4640
4641         * text2.C (redoHeightOfParagraph): adjust
4642         (redoDrawingOfParagraph): adjust
4643         (setCursor): adjust
4644
4645         * text.C (breakParagraph): adjust
4646         (insertChar): adjust
4647         (backspace): adjust
4648
4649         * rowpainter.C (RowPainter): adjust
4650         (leftMargin): simplify and adjust
4651         (most rowpainter functions): adjust.
4652
4653         * rowpainter.h: store the row as RowList::iterator not as Row*
4654
4655         * lyxcursor.C (row): taka RowList::iterator as arg
4656         (irow): ditto
4657
4658         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4659         of Row*.
4660
4661 2003-04-01  Angus Leeming  <leeming@lyx.org>
4662
4663         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4664         stuff like bool Bool.
4665
4666 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4669         rewrite a loop
4670
4671 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4674         RowList::iterator.
4675
4676         * lyxtext.h (rows): drop one version and leve a const variant that
4677         returns a RowList::iterator.
4678
4679 2003-03-31  Angus Leeming  <leeming@lyx.org>
4680
4681         * text.C (fill): ensure that the signature is the same as that in the
4682         header file.
4683
4684 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * text2.C (redoParagraphs): adjust
4687         (updateCounters): adjust
4688         (checkParagraph): adjust
4689         (getColumnNearX): adjust and reformat a bit.
4690
4691         * text.C (top_y): adjust
4692         (workWidth): adjust
4693         (leftMargin): adjust
4694         (prepareToPrint): adjust
4695         (getRow): adjust
4696         (getRowNearY): adjust
4697
4698         * lyxtext.h: make rowlist_ mutable.
4699
4700         * RowList.h: add const_iterator
4701         * RowList.C: adjust for RowList::const_iterator.
4702
4703         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4704         adjust.
4705
4706 2003-03-31  John Levon  <levon@movementarian.org>
4707
4708         * lyxrc.h:
4709         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4710
4711         * lyx_main.C: set default fonts from using lyx_gui funcs
4712
4713         * exporter.C: pdf_mode moved from lyxrc
4714
4715         * lyx_cb.C:
4716         * lyxfunc.C: changes from above
4717
4718 2003-03-31  John Levon  <levon@movementarian.org>
4719
4720         * lyx_main.C: fix to the last fix
4721
4722 2003-03-31  John Levon  <levon@movementarian.org>
4723
4724         * bufferlist.C: "Load original" -> "Load Original"
4725
4726         * converter.C:
4727         * exporter.C:
4728         * importer.C:
4729         * lyx_main.C:
4730         * format.C: more Alert cleanups
4731
4732 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * text2.C (removeParagraph): make it take a RowList::iterator as
4735         arg, adjust.
4736         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4737         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4738
4739         * text.C (anchor_row): make it take a RowList::iterator as arg,
4740         adjust.
4741         (computeBidiTables): make it take a const reference to Row instead
4742         of Row pointer, adjust.
4743         (leftMargin): make it take a RowList::iterator as arg, adjust.
4744         (rowBreakPoint): adjust
4745         (breakAgainOneRow): make it take a RowList::iterator as arg,
4746         adjust.
4747         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4748
4749         * bufferview_funcs.C (toggleAndShow): adjust
4750
4751 2003-03-30  John Levon  <levon@movementarian.org>
4752
4753         * Makefile.am:
4754         * BoostFormat.h:
4755         * boost-inst.C: moved to support
4756
4757         * several files: changes as a result
4758
4759 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * text2.C (LyXText): adjust.
4762         (init): adjust
4763         (removeRow): make it take a RowList::iterator as arg, adjust.
4764         (fullRebreak): adjust
4765         (deleteEmptyParagraphMechanism): adjust
4766         (clearPaint): adjust
4767         (postPaint): adjust
4768
4769         * text.C (top_y): adjust
4770         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4771         (breakAgain): make it take a RowList::iterator as arg, adjust.
4772         (breakParagraph): adjust
4773         (insertChar): adjust
4774         (backspace): adjust
4775
4776         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4777         need_break_row, and refresh_row.
4778
4779         * text3.C (dispatch): adjust
4780
4781         * text2.C (checkParagraph): adjust
4782         (setCursor): adjust
4783         (setCursorFromCoordinates): adjust
4784
4785         * text.C (top_y): adjust
4786         (workWidth): adjust
4787         (getRow): make it return a RowList::iterator, adjust
4788         (getRowNearY): make it return a RowList::iterator, adjust
4789
4790         * text2.C (init): adjust
4791         (insertRow): remove function
4792         (insertParagraph): adjust
4793         (redoParagraphs): adjust
4794         (fullRebreak): adjust
4795         (updateCounters): adjust
4796
4797         * text.C (top_y): rewrite to use RowList iterators.
4798         (top_y): adjust
4799         (setHeightOfRow): rewrite to sue RowList iterators.
4800         (appendParagraph): adjust
4801         (breakAgain): adjust
4802         (breakAgainOneRow): adjust
4803         (breakParagraph): adjust
4804         (getRow): adjust
4805         (getRowNearY): adjust, and remove commented code.
4806
4807         * lyxtext.h (firstRow): delete function
4808         (lastRow): delete function
4809         (rows): new function (const and non-const versions.)
4810         (insertRow): delete function
4811
4812         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4813
4814 2003-03-29  John Levon  <levon@movementarian.org>
4815
4816         * BufferView_pimpl.C: always update scrollbar top
4817         because pasting text when we're anchored could mean we
4818         miss an update altogether
4819
4820 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * text2.C (init): use rowlist_.end() and not 0.
4823         (insertRow): change to take a RowList::iterator as arg, adjust
4824         for this.
4825         (insertParagraph): change to take a RowList::iterator as arg,
4826         adjust for this.
4827         (redoParagraphs): remove some debug msgs.
4828
4829         * text.C (appendParagraph): change to take a RowList::iterator
4830         arg, adjust for this.
4831         (breakAgain): add an assert
4832         (breakAgainOneRow): ditto
4833
4834 2003-03-29  John Levon  <levon@movementarian.org>
4835
4836         * text2.C: do not clear selection after inc/decDepth
4837         (bug 550)
4838
4839 2003-03-29  John Levon  <levon@movementarian.org>
4840
4841         * BufferView.C:
4842         * buffer.C: fix broken strerrors according to Lars
4843
4844 2003-03-29  John Levon  <levon@movementarian.org>
4845
4846         * converters.C: more Alert cleanups
4847
4848 2003-03-29  John Levon  <levon@movementarian.org>
4849
4850         * bufferview_funcs.C: remove pointless Alert
4851
4852         * buffer.C: fix confusing error message when
4853         a template is chmoded 000
4854
4855 2003-03-29  John Levon  <levon@movementarian.org>
4856
4857         * BufferView.C:
4858         * BufferView.h:
4859         * BufferView_pimpl.C: Alert fixes
4860
4861         * Makefile.am:
4862         * tabular.C:
4863         * tabular-old.C: remove unused table compat reading
4864
4865 2003-03-29  John Levon  <levon@movementarian.org>
4866
4867         * BufferView.C:
4868         * buffer.C:
4869         * lyx_cb.h:
4870         * lyx_cb.C: more Alert cleanups
4871
4872         * lyxfunc.C: don't allow chktex if not latex document
4873
4874 2003-03-29  John Levon  <levon@movementarian.org>
4875
4876         * lyx_cb.C:
4877         * BufferView.C:
4878         * buffer.C: warnings pushed down from support/,
4879         kill err_alert
4880
4881 2003-03-29  John Levon  <levon@movementarian.org>
4882
4883         * lyxfunc.C: safety check for C-r (revert)
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * bufferlist.h:
4888         * bufferlist.C: several UI fixes using Alert::prompt.
4889         Fix the pointless looping quit code. Fix stupid revert
4890         behaviour (bug 938)
4891
4892         * lyxvc.h:
4893         * lyxvc.C:
4894         * lyx_cb.C: use Alert::prompt
4895
4896         * lyx_main.C: remove a silly question
4897
4898         * lyxfunc.C: remove a couple of silly questions,
4899         use Alert::prompt
4900
4901 2003-03-28  John Levon  <levon@movementarian.org>
4902
4903         * text2.C: fix bug 974 (End on empty par)
4904
4905 2003-03-28  John Levon  <levon@movementarian.org>
4906
4907         * BufferView_pimpl.C:
4908         * LyXAction.C:
4909         * lfuns.h: remove do-nothing math greek lfuns
4910
4911 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * lyxgluelength.h (isValidGlueLength): add default arg on
4914         parameter 2. Remove default arg from friend in class.
4915
4916         * lyxlength.h (isValidLength): add default arg on parameter 2.
4917         Remove default arg from friend in class.
4918
4919         * text2.C (LyXText): adjust, initialize refresh_row.
4920         (init): adjust
4921         (removeRow): adjust
4922         (insertRow): adjust
4923         (insertParagraph): adjst
4924         (redoParagraphs): adjust
4925         (fullRebreak): adjust
4926         (updateCounters): adjust
4927         (deleteEmptyParagraphMechanism): first attempt at fixing a
4928         crashing bug.
4929
4930         * text.C (top_y): adjust
4931         (setHeightOfRow): adjust
4932         (getRow): adjust
4933         (getRowNearY): adjust
4934
4935         * lyxtext.h: include RowList.h
4936         (~LyXText): not needed anymore, deleted.
4937         (firstRow): modify for RowList
4938         (lastRow): new function
4939         Delete firstrow and lastrow class variables, add a Rowlist
4940         rowlist_ class variable.
4941
4942         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4943         paragraph is empty.
4944
4945         * RowList.C (insert): fix case where it == begin().
4946
4947 2003-03-26  Angus Leeming  <leeming@lyx.org>
4948
4949         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4950         the thesaurus dialog.
4951
4952 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4955
4956         * RowList.[Ch]: new files
4957
4958         * ParagraphList.C (erase): handle the case where it == begin
4959         correctly.
4960
4961 2003-03-25  John Levon  <levon@movementarian.org>
4962
4963         * Makefile.am:
4964         * aspell_local.h:
4965         * aspell.C: add new aspell support
4966
4967         * lyxrc.h:
4968         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4969         have it accessible.
4970
4971 2003-03-25  Angus Leeming  <leeming@lyx.org>
4972
4973         * lfuns.h:
4974         * LyXAction.C (init): new LFUN_INSET_INSERT.
4975
4976         * BufferView_pimpl.C (dispatch): split out part of the
4977         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4978
4979         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4980         LFUN_INSET_APPLY.
4981
4982 2003-03-25  Angus Leeming  <leeming@lyx.org>
4983
4984         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4985
4986 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * text2.C:
4989         * text3.C: remove useless row->height(0)
4990
4991 2003-03-25  John Levon  <levon@movementarian.org>
4992
4993         * lyxtext.h:
4994         * text2.C:
4995         * text3.C: rename the refreshing stuff to better names
4996
4997 2003-03-24  John Levon  <levon@movementarian.org>
4998
4999         * BufferView_pimpl.h:
5000         * BufferView_pimpl.C: update layout choice on a mouse
5001         press/release
5002
5003 2003-03-23  John Levon  <levon@movementarian.org>
5004
5005         * Makefile.am: fix commandtags.h reference
5006
5007 2003-03-22  John Levon  <levon@movementarian.org>
5008
5009         * BufferView_pimpl.C:
5010         * lyxtext.h:
5011         * rowpainter.C:
5012         * rowpainter.h:
5013         * text.C:
5014         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5015
5016 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * lyxtext.h:
5019         * text.C: take the rtl methods out of line
5020
5021 2003-03-21 André Pönitz <poenitz@gmx.net>
5022
5023         * metricsinfo.[Ch]: new files containing structures to be passed around
5024         during the two-phase-drawing...
5025
5026 2003-03-21 André Pönitz <poenitz@gmx.net>
5027
5028         * lyxtextclass.C: read 'environment' tag.
5029
5030 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * text2.C (removeRow): fix bug 964
5033
5034 2003-03-20  John Levon  <levon@movementarian.org>
5035
5036         * rowpainter.C:
5037         * text.C:
5038         * text2.C: paint cleanups. Inset::update() dropped font
5039         parameter
5040
5041 2003-03-19  John Levon  <levon@movementarian.org>
5042
5043         * lyxfunc.C: only fitcursor/markDirty if available()
5044
5045 2003-03-19  John Levon  <levon@movementarian.org>
5046
5047         * commandtags.h: rename to ...
5048
5049         * lfuns.h: ... this, and renumber / cleanup
5050
5051 2003-03-19  John Levon  <levon@movementarian.org>
5052
5053         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5054         fit the cursor after an lfun
5055
5056         * BufferView.h:
5057         * BufferView.C:
5058         * BufferView_pimpl.h:
5059         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5060
5061         * LyXAction.C: layout-character should have ReadOnly
5062
5063         * ParagraphParameters.C:
5064         * buffer.C:
5065         * bufferview_funcs.C:
5066         * lyx_cb.C:
5067         * lyxfind.C:
5068         * lyxtext.h:
5069         * text.C:
5070         * text2.C:
5071         * text3.C:
5072         * undo_funcs.C: changes from above
5073
5074 2003-03-18  John Levon  <levon@movementarian.org>
5075
5076         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5077         remove it from update()
5078
5079         * lyxfunc.C: update layout choice after an lfun
5080
5081         * text3.C: remove extra updateLayoutChoice()s
5082
5083 2003-03-18  John Levon  <levon@movementarian.org>
5084
5085         * text.C: top_y change means full repaint, fix
5086         a drawing bug with cursor movement
5087
5088 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5089
5090         * lyxtext.h:
5091         * text.C:
5092         * text2.C: anchor row on setCursor
5093
5094 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * lyxtext.h: remove almost all mutable keywords
5097         * text.C:
5098         * text2.C:
5099         * text3.C: remove const keywords accordingly
5100
5101 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5104         anon namespace
5105         (TeXEnvironment): ditto
5106         (TeXOnePar): ditto
5107
5108 2003-03-17  John Levon  <levon@movementarian.org>
5109
5110         * text.C (rowBreakPoint): remove attempt to fix displayed
5111         math insets inside a manual label
5112
5113 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * lyxtext.h: remove BufferView* as first arg from almost all class
5116         functions.
5117         * other files: adjust.
5118
5119 2003-03-17  John Levon  <levon@movementarian.org>
5120
5121         * lyxtext.h:
5122         * undo_funcs.C:
5123         * text2.C: more paint cleanups
5124
5125         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5126
5127         * rowpainter.h:
5128         * rowpainter.C: remove "smart" background painting code
5129
5130 2003-03-16  John Levon  <levon@movementarian.org>
5131
5132         * lyxtext.h:
5133         * text.C:
5134         * text2.C:
5135         * text3.C: add helper functions for setting refresh_row/y
5136
5137 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5138
5139         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5140         newline inset which *can* get inserted in the pass_thru layouts.
5141         This is primarily for literate documents.
5142
5143 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5144
5145         * buffer.C: increment LYX_FORMAT to 223
5146
5147 2003-03-14 André Pönitz <poenitz@gmx.net>
5148
5149         * textclass.h: prepare for environment handling, ws changes
5150         * lyxlayout.C: read latexheader and latexfooter tags
5151
5152 2003-03-14  John Levon  <levon@movementarian.org>
5153
5154         * text2.C: rewrite ::status() a bit
5155
5156 2003-03-13  John Levon  <levon@movementarian.org>
5157
5158         * lyxtext.h: add some docs
5159
5160 2003-03-13  John Levon  <levon@movementarian.org>
5161
5162         * lyxtext.h:
5163         * text.C:
5164         * text2.C:
5165         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5166
5167 2003-03-13  John Levon  <levon@movementarian.org>
5168
5169         * text3.C: fix appendix redrawing
5170
5171 2003-03-13  John Levon  <levon@movementarian.org>
5172
5173         * text.C (setHeightOfRow):
5174         * rowpainter.h:
5175         * rowpainter.C: make appendix mark have the text
5176           "Appendix" so the user knows what it is
5177
5178         * LColor.h:
5179         * LColor.C: s/appendixline/appendix/ from above
5180
5181 2003-03-13  John Levon  <levon@movementarian.org>
5182
5183         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5184
5185         * text.C: fix a getChar(pos) bug properly
5186
5187 2003-03-13  Angus Leeming  <leeming@lyx.org>
5188
5189         * commandtags.h:
5190         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5191         Probably only temporary. Let's see how things pan out.
5192
5193         * BufferView.C (unlockInset):
5194         * BufferView_pimpl.C (fitCursor):
5195         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5196
5197         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5198         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5199
5200         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5201         new functions that convert ParagraphParameters to and from a string.
5202
5203         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5204         BufferView::Pimpl's dispatch.
5205         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5206
5207 2003-03-13 André Pönitz <poenitz@gmx.net>
5208
5209         * lyxfunc.C:
5210         * text3.C:
5211         * factory.C: make it aware of InsetEnv
5212
5213 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * text2.C (setCursor): never ask for one past last
5216         (setCursor): add some debugging messages.
5217
5218         * text.C (singleWidth): never ask for one past last
5219         (singleWidth): ditto
5220         (leftMargin): ditto
5221         (rightMargin): ditto
5222         (rowBreakPoint): ditto
5223         (setHeightOfRow): ditto
5224         (prepareToPrint): ditto
5225
5226         * rowpainter.C (paintBackground): never ask for one past last
5227         (paintText): never ask for one past last
5228
5229         * paragraph_pimpl.C (getChar): make the assert stricter, never
5230         allow the one past last pos to be taken
5231
5232         * paragraph.C (getChar): ws changes only
5233
5234         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5235         (numberOfSeparators): ditto
5236         (numberOfHfills): ditto
5237
5238 2003-03-12  John Levon  <levon@movementarian.org>
5239
5240         * author.h:
5241         * author.C:
5242         * bufferparams.h:
5243         * bufferparams.C:
5244         * paragraph_funcs.C: fix per-buffer authorlists
5245
5246 2003-03-12  John Levon  <levon@movementarian.org>
5247
5248         * text.C: fix newline in right address
5249
5250 2003-03-12  Angus Leeming  <leeming@lyx.org>
5251
5252         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5253         duplicate those in LyXFunc::dispatch.
5254
5255         * commandtags.h:
5256         * LyXAction.C:
5257         * ToolbarDefaults.C:
5258         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5259         Add LFUN_FONTFREE_UPDATE.
5260
5261         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5262         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5263
5264         * bufferview_func.[Ch]: several new functions to facilliate
5265         transfer of data to and from the character dialog.
5266
5267 2003-03-12  John Levon  <levon@movementarian.org>
5268
5269         * buffer.C:
5270         * paragraph.h:
5271         * paragraph.C:
5272         * paragraph_funcs.C:
5273         * paragraph_pimpl.C:
5274         * sgml.C:
5275         * tabular.C:
5276         * text.C:
5277         * text3.C: remove META_NEWLINE in favour of an inset
5278
5279         * rowpainter.h:
5280         * rowpainter.C: remove paintNewline (done by inset)
5281
5282 2003-03-12  John Levon  <levon@movementarian.org>
5283
5284         * paragraph_pimpl.C: complain about bad getChar()s
5285         for a while at least
5286
5287 2003-03-12  John Levon  <levon@movementarian.org>
5288
5289         * buffer.h:
5290         * buffer.C: move paragraph read into a separate function,
5291         a little renaming to reflect that.
5292
5293         * bufferparams.h:
5294         * bufferparams.C: remove the author_ids map, not necessary now
5295
5296         * factory.h:
5297         * factory.C: moved Buffer::readInset to here
5298
5299         * paragraph_funcs.h:
5300         * paragraph_funcs.C: readParagraph free function moved from
5301         buffer.C
5302
5303         * tabular.C: name change
5304
5305 2003-03-12  John Levon  <levon@movementarian.org>
5306
5307         * buffer.C:
5308         * ParagraphParameters.C: move par params input to
5309         a read() method
5310
5311         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5312         behave like a normal read from the stream wrt reading
5313         a line vs. a \\token
5314
5315 2003-03-12  John Levon  <levon@movementarian.org>
5316
5317         * paragraph.C:
5318         * ParagraphParameters.h:
5319         * ParagraphParameters.C: move output code to a
5320         ::write() method
5321
5322 2003-03-12  John Levon  <levon@movementarian.org>
5323
5324         * BufferView.C (insertLyXFile):
5325         * buffer.h:
5326         * buffer.C:
5327         * tabular.C: use a parlist iterator for creating the
5328           document.
5329
5330 2003-03-12  John Levon  <levon@movementarian.org>
5331
5332         * buffer.C: make current_change static local not
5333           static file-scope
5334
5335 2003-03-12  John Levon  <levon@movementarian.org>
5336
5337         * buffer.C: fix insertStringAsLines for change tracking
5338
5339 2003-03-12  John Levon  <levon@movementarian.org>
5340
5341         * BufferView.C:
5342         * tabular.C:
5343         * buffer.h:
5344         * buffer.C:
5345         * bufferparams.h:
5346         * bufferparams.C: move author list into params. Rename some
5347           functions. Move the header reading into a separate token
5348           loop. Move the header token reading into BufferParams.
5349
5350 2003-03-12  John Levon  <levon@movementarian.org>
5351
5352         * changes.C: put debug inside lyxerr.debugging() checks
5353
5354 2003-03-11 André Pönitz <poenitz@gmx.net>
5355
5356         * factory.C: make it aware of InsetHFill
5357
5358 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5359
5360         * buffer.C (latexParagraphs): move function from here...
5361         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5362         args.
5363
5364 2003-03-10  Angus Leeming  <leeming@lyx.org>
5365
5366         * LyXAction.C (init): fix bug in poplating array with multiple entries
5367         with the same LFUN (spotted by JMarc).
5368
5369 2003-03-10  John Levon  <levon@movementarian.org>
5370
5371         * text.C:
5372         * text2.C: move getColumnNearX() near its
5373         only call site
5374
5375 2003-03-10  John Levon  <levon@movementarian.org>
5376
5377         * text.C: fix break before a minipage
5378
5379 2003-03-10  John Levon  <levon@movementarian.org>
5380
5381         * text.C: fix the last commit
5382
5383 2003-03-09  John Levon  <levon@movementarian.org>
5384
5385         * lyxtext.h:
5386         * text.C:
5387         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5388         bug 365 (don't break before insets unless needed). Don't
5389         return a value > last under any circumstances.
5390
5391 2003-03-09  Angus Leeming  <leeming@lyx.org>
5392
5393         * BufferView_pimpl.C (trackChanges, dispatch): call
5394         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5395
5396 2003-03-09  Angus Leeming  <leeming@lyx.org>
5397
5398         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5399         than Dialogs::showAboutlyx().
5400
5401 2003-03-09  Angus Leeming  <leeming@lyx.org>
5402
5403         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5404         than Dialogs::showTabularCreate().
5405
5406 2003-03-09  John Levon  <levon@movementarian.org>
5407
5408         * lyxtext.h:
5409         * text.C:
5410         * text2.C: 3rd arg to nextBreakPoint was always the same.
5411           Use references.
5412
5413 2003-03-08  John Levon  <levon@movementarian.org>
5414
5415         * lyxrow.C:
5416         * paragraph.C:
5417         * paragraph.h:
5418         * rowpainter.C:
5419         * text.C:
5420         * text2.C: Remove the "main" bit from the "main body"
5421           notion.
5422
5423 2003-03-08  John Levon  <levon@movementarian.org>
5424
5425         * text.C (leftMargin): The left margin of an empty
5426         manual label paragraph should not include the label width
5427         string length.
5428
5429         * text.C (prepareToPrint): don't attempt to measure hfills
5430         for empty manual label paragraphs - the answer should be 0
5431
5432 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * CutAndPaste.C: remove commented code and reindent.
5435
5436 2003-03-08  John Levon  <levon@movementarian.org>
5437
5438         * lyxfunc.h:
5439         * lyxfunc.C: move reloadBuffer()
5440
5441         * BufferView.h:
5442         * BufferView.C: to here
5443
5444         * lyxvc.C: add comment
5445
5446         * vc-backend.h:
5447         * vc-backend.C: call bv->reload() to avoid
5448           getStatus() check on MENURELOAD
5449
5450 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5451
5452         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5453         to an old format .dep file.
5454
5455 2003-03-07  Angus Leeming  <leeming@lyx.org>
5456
5457         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5458         when the LFUN_MOUSE_RELEASE should have been handled by
5459         inset->localDispatch.
5460
5461 2003-03-07  Angus Leeming  <leeming@lyx.org>
5462
5463         * BufferView_pimpl.C (dispatch):
5464         * LyXAction.C (init):
5465         * ToolbarDefaults.C (init):
5466         * commandtags.h:
5467         * lyxfunc.C (getStatus):
5468         remove LFUN_INSET_GRAPHICS.
5469
5470         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5471
5472 2003-03-07  Angus Leeming  <leeming@lyx.org>
5473
5474         * commandtags.h:
5475         * LyXAction.C (init):
5476         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5477
5478         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5479
5480         * commandtags.h:
5481         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5482
5483         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5484         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5485
5486 2003-03-07  Angus Leeming  <leeming@lyx.org>
5487
5488         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5489         remove "ert".
5490
5491 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * ParagraphList.C (front): new function
5494         (back): implement
5495
5496 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5497
5498         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5499         and top_row_offset_. removed var first_y.
5500         * text.C (top_y):
5501         * text2.C (LyXText, removeRow):
5502         * text3.C:
5503         * BufferView_pimpl.C:
5504         use these methods instead of using first_y
5505
5506 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text2.C (pasteSelection): adjust for checkPastePossible
5509
5510         * CutAndPaste.C: remove Paragraph * buf and replace with
5511         ParagraphList paragraphs.
5512         (DeleteBuffer): delete
5513         (cutSelection): change the tc type to textclass_type
5514         (copySelection): change the tc type to textclass_type
5515         (copySelection): adjust for ParagraphList
5516         (pasteSelection): change the tc type to textclass_type
5517         (pasteSelection): adjust for Paragraphlist
5518         (nrOfParagraphs): simplify for ParagraphList
5519         (checkPastePossible): simplify for ParagraphList
5520         (checkPastePossible): remove unused arg
5521
5522         * ParagraphList.C (insert): handle the case where there are no
5523         paragraphs yet.
5524
5525         * CutAndPaste.h: make CutAndPaste a namespace.
5526
5527         * text3.C (dispatch): adjust
5528
5529         * text.C (breakParagraph): add a ParagraphList as arg
5530
5531         * paragraph_funcs.C (breakParagraph): change to take a
5532         BufferParams and a ParagraphList as args.
5533         (breakParagraphConservative): ditto
5534         (mergeParagraph): ditto
5535         (TeXDeeper): add a ParagraphList arg
5536         (TeXEnvironment): ditto
5537         (TeXOnePar): ditto
5538
5539         * buffer.C (readLyXformat2): adjust
5540         (insertStringAsLines): adjust
5541         (latexParagraphs): adjust
5542
5543         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5544         (cutSelection): adjust
5545         (pasteSelection): adjust
5546
5547         * BufferView_pimpl.C (insertInset): adjust
5548
5549 2003-03-05  Angus Leeming  <leeming@lyx.org>
5550
5551         * commandtags.h:
5552         * LyXAction.C (init):
5553         * BufferView_pimpl.C (dispatch):
5554         * lyxfunc.C (getStatus):
5555         remove LFUN_CHILD_INSERT.
5556
5557         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5558
5559 2003-03-05  Angus Leeming  <leeming@lyx.org>
5560
5561         * commandtags.h:
5562         * LyXAction.C (init):
5563         * src/factory.C (createInset):
5564         * lyxfunc.C (getStatus):
5565         * text3.C (dispatch):
5566         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5567
5568         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5569
5570 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * ParagraphList.C (insert): handle insert right before end()
5573         (erase): fix cases where it can be first or last paragraph.
5574
5575 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5578         Paragraph::next and Paragraph::previous
5579         (TeXOnePar): ditto
5580
5581         * text.C (breakParagraph): adjust
5582
5583         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5584         BufferParams& as arg.
5585         (breakParagraph): use ParagraphList::insert
5586         (breakParagraphConservative): take a Buffer* instead of a
5587         BufferParams& as arg.
5588         (breakParagraphConservative): use ParagraphList::insert.
5589
5590         * buffer.C (insertStringAsLines): un-const it
5591         (insertStringAsLines): adjust
5592
5593         * ParagraphList.C (insert): new function
5594
5595         * CutAndPaste.C (pasteSelection): adjust
5596
5597         * text.C (backspace): adjust
5598
5599         * tabular.C (SetMultiColumn): adjust
5600
5601         * CutAndPaste.C (cutSelection): adjust
5602         (pasteSelection): adjust
5603
5604         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5605         Buffer const * as arg
5606
5607         * ParagraphList.C (erase): new function
5608         * paragraph_funcs.C (mergeParagraph): use it
5609         (mergeParagraph): make it take a Buffer* instead of a
5610         BufferParams* as arg
5611
5612         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5613         as arg
5614         (breakParagraphConservative): ditto
5615
5616         * paragraph.h: remove the breakParagraph friend
5617
5618         * paragraph.C (eraseIntern): new function
5619         (setChange): new function
5620
5621         * paragraph_funcs.C (mergeParagraph): make it take a
5622         ParagraphList::iterator instead of a Paragraph *, adjust
5623         accordingly.
5624
5625         * paragraph.h: move an #endif so that the change tracking stuff
5626         also works in the NO_NEXT case.
5627
5628 2003-03-04  Angus Leeming  <leeming@lyx.org>
5629
5630         * commandtags.h:
5631         * LyXAction.C: new LFUN_INSET_MODIFY.
5632
5633         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5634         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5635
5636 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * several files: ws changes only
5639
5640         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5641         (TeXEnvironment): ditto
5642         (TeXDeeper): ditto
5643
5644         * buffer.C (makeLaTeXFile): adjust
5645         (latexParagraphs): make it take ParagraphList::iterator as args
5646
5647 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * buffer.C (latexParagraphs): adjust
5650
5651         * paragraph.C (TeXOnePar): move function...
5652         (optArgInset): move function...
5653         (TeXEnvironment): move function...
5654         * paragraph_pimpl.C (TeXDeeper): move function...
5655         * paragraph_funcs.C: ...here
5656
5657         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5658
5659 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * buffer.C (readInset): remove compability code for old Figure and
5662         InsetInfo insets
5663
5664 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * buffer.C: ws changes
5667         (readInset):
5668
5669         * BufferView_pimpl.C: ditto
5670         * author.C: ditto
5671         * buffer.h: ditto
5672         * bufferlist.h: ditto
5673         * changes.h: ditto
5674         * lyxfunc.C: ditto
5675
5676 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5677
5678         * converter.[Ch]: split into itself +
5679         * graph.[Ch]
5680         * format.[Ch]
5681         * Makefile.am: += graph.[Ch] + format.[Ch]
5682         * MenuBackend.C
5683         * buffer.C
5684         * exporter.C
5685         * importer.C
5686         * lyx_main.C
5687         * lyxfunc.C
5688         * lyxrc.C: added #include "format.h"
5689
5690 2003-02-27  Angus Leeming  <leeming@lyx.org>
5691
5692         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5693           a label.
5694
5695         * factory.C (createInset): add "label" to the factory.
5696
5697         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5698           string and do no more.
5699
5700 2003-02-27  Angus Leeming  <leeming@lyx.org>
5701
5702         * commandtags.h:
5703         * LyXAction.C (init):
5704         * factory.C (createInset):
5705         * BufferView_pimpl.C (dispatch):
5706           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5707
5708         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5709
5710         * lyxfunc.C (dispatch):
5711         * text3.C (dispatch): pass name to params2string.
5712
5713 2003-02-26  Angus Leeming  <leeming@lyx.org>
5714
5715         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5716           blocks together.
5717           Rearrange the ~includes. Strip out the unnecessary ones.
5718
5719         * factory.C (createInset): reformat.
5720           create new insets for the various LFUN_XYZ_APPLY lfuns.
5721
5722 2003-02-26  John Levon  <levon@movementarian.org>
5723
5724         * lyxrow.h:
5725         * lyxrow.C: add isParStart,isParEnd helpers
5726
5727         * paragraph.h: make isInserted/DeletedText take refs
5728
5729         * paragraph_funcs.h:
5730         * paragraph_funcs.C: remove #if 0'd code
5731
5732         * lyxtext.h:
5733         * text3.C:
5734         * text2.C:
5735         * text.C: use lyxrow helpers above.
5736           Move draw and paint routines to RowPainter.
5737           Make several methods use refs not pointers.
5738           Make backgroundColor() const.
5739           Add markChangeInDraw(), isInInset().
5740           Merge changeRegionCase into changeCase.
5741           Make workWidth() shouldn't-happen code into an Assert.
5742
5743         * rowpainter.h:
5744         * rowpainter.C: new class for painting a row.
5745
5746         * vspace.h:
5747         * vspace.C: make inPixels take a ref
5748
5749 2003-02-26  Angus Leeming  <leeming@lyx.org>
5750
5751         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5752         LFUN_REF_APPLY.
5753
5754 2003-02-25  John Levon  <levon@movementarian.org>
5755
5756         * ispell.C: give the forked command a more accurate name
5757
5758 2003-02-22  John Levon  <levon@movementarian.org>
5759
5760         * toc.h:
5761         * toc.C: make TocItem store an id not a Paragraph *
5762           (bug #913)
5763
5764 2003-02-21  Angus Leeming  <leeming@lyx.org>
5765
5766         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5767           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5768           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5769           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5770           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5771           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5772
5773         * BufferView_pimpl.C (dispatch):
5774         * LyXAction.C (init):
5775         * factory.C (createInset):
5776         * lyxfunc.C (getStatus, dispatch):
5777         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5778
5779 2003-02-21  Angus Leeming  <leeming@lyx.org>
5780
5781         * BufferView_pimpl.C (MenuInsertLyXFile):
5782         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5783         * lyxfunc.C (menuNew, open, doImport):
5784           no longer pass a LyXView & to fileDlg.
5785
5786 2003-02-21  Angus Leeming  <leeming@lyx.org>
5787
5788         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5789         * LyXAction.C: change, BIBKEY to BIBITEM.
5790         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5791         Change InsetBibKey to InsetBibitem.
5792         Change BIBKEY_CODE to BIBITEM_CODE.
5793         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5794         * factory.C: replace insetbib.h with insetbibitem.h.
5795         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5796         * paragraph.C: replace insetbib.h with insetbibitem.h.
5797         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5798         Change bibkey() to bibitem().
5799         * text.C: remove insetbib.h.
5800         * text2.C: replace insetbib.h with insetbibitem.h.
5801         change bibkey() to bibitem().
5802         * text3.C: remove insetbib.h.
5803         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5804
5805 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5806
5807         * lyxrc.C (output): enclose user email in quotes (in case there are
5808         several words)
5809
5810 2003-02-18  John Levon  <levon@movementarian.org>
5811
5812         * buffer.h: add std::
5813
5814 2003-02-17  John Levon  <levon@movementarian.org>
5815
5816         * SpellBase.h:
5817         * ispell.h:
5818         * ispell.C:
5819         * pspell.h:
5820         * pspell.C: reworking. Especially in ispell, a large
5821           number of clean ups and bug fixes.
5822
5823         * lyxfunc.C: fix revert to behave sensibly
5824
5825 2003-02-17 André Pönitz <poenitz@gmx.net>
5826
5827         * LyXAction.C:
5828         * commandtags.h: new LFUN_INSERT_BIBKEY
5829
5830         * layout.h:
5831         * lyxlayout.C:
5832         * buffer.C:
5833         * factory.C:
5834         * text.C:
5835         * text2.C:
5836         * text3.C:
5837         * paragraph.[Ch]:
5838         * paragraph_func.C: remove special bibkey handling
5839
5840 2003-02-17  John Levon  <levon@movementarian.org>
5841
5842         * text.C (Delete): fix case where delete at the end of
5843           the very first paragraph would not merge the pars
5844
5845 2003-02-17  John Levon  <levon@movementarian.org>
5846
5847         * lyxrow.C: fix lastPrintablePos()
5848
5849 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5850
5851         * bufferparams.C (writeLaTeX): add a std:here
5852
5853         * buffer.C: and remove a using directive there
5854
5855 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5856
5857         * buffer.C (makeLaTeXFile): move the code that generates the
5858           preamble...
5859
5860         * bufferparams.C (writeLaTeX): ... in this new method
5861
5862         * LaTeXFeatures.C (getEncodingSet): make const
5863           (getLanguages): make const
5864
5865         * MenuBackend.C (binding): returns the binding associated to this
5866           action
5867           (add): sets the status of each item by calling getStatus. Adds
5868           some intelligence.
5869           (read): add support for OptSubMenu
5870           (expand): remove extra separator at the end of expanded menu
5871
5872 2003-02-15  John Levon  <levon@movementarian.org>
5873
5874         * BufferView.C:
5875         * BufferView_pimpl.C:
5876         * bufferlist.h:
5877         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5878           inset code that had no actual effect. Remove unneeded status
5879           code.
5880
5881 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5882
5883         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5884           in preamble
5885
5886 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5887
5888         * text.C (drawLengthMarker): also draw an arrow marker for
5889           symbolic lengths (medskip...)
5890
5891 2003-02-14  John Levon  <levon@movementarian.org>
5892
5893         * tabular.h:
5894         * tabular.C: better method names
5895
5896 2003-02-14  John Levon  <levon@movementarian.org>
5897
5898         * BufferView_pimpl.C:
5899         * bufferlist.C:
5900         * buffer.C:
5901         * converter.C:
5902         * lyx_cb.C:
5903         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5904           it's a more accurate name. Remove some pointless uses.
5905
5906 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5907
5908         * text2.C (LyXText): change order of initilizers to shut off
5909           warnings
5910
5911 2003-02-14  John Levon  <levon@movementarian.org>
5912
5913         * buffer.C: use ParIterator for getParFromID()
5914
5915         * paragraph.h:
5916         * paragraph.C:
5917         * paragraph_pimpl.h:
5918         * paragraph_pimpl.C: remove unused getParFromID()
5919
5920 2003-02-14  John Levon  <levon@movementarian.org>
5921
5922         * buffer.C: remove some very old #if 0'd parse code
5923
5924 2003-02-13  John Levon  <levon@movementarian.org>
5925
5926         * text.h:
5927         * text.C:
5928         * text2.C: move hfillExpansion(), numberOfSeparators(),
5929           rowLast(), rowLastPrintable(), numberofHfills(),
5930           numberOfLabelHfills() ...
5931
5932         * lyxrow.h:
5933         * lyxrow.C: ... to member functions here.
5934
5935         * paragraph.h:
5936         * paragraph.C:
5937         * lyxtext.h:
5938         * text.C: remove LyXText::beginningOfMainBody(), and call
5939           p->beginningOfMainBody() directly. Move the check for
5940           LABEL_MANUAL into the latter.
5941
5942         * text.h:
5943         * text.C:
5944         * text2.C:
5945         * vspace.C:
5946         * BufferView.h:
5947         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5948
5949         * text.h:
5950         * text.C:
5951         * text2.C:
5952         * text3.C:
5953         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5954           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5955
5956 2003-02-13  John Levon  <levon@movementarian.org>
5957
5958         * CutAndPaste.C: remove debug
5959
5960 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5961
5962         * paragraph.C (asString): remove two unused variables
5963
5964         * lyxtextclass.C (readTitleType):
5965           (Read):
5966           (LyXTextClass): handle new members titletype_ and titlename_
5967
5968         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5969
5970 2003-02-09  John Levon  <levon@movementarian.org>
5971
5972         * buffer.h:
5973         * buffer.C: replace hand-coded list with a map for the dep clean
5974
5975 2003-02-08  John Levon  <levon@movementarian.org>
5976
5977         * LaTeX.C: consolidate code into showRunMessage() helper
5978
5979 2003-02-08  John Levon  <levon@movementarian.org>
5980
5981         * lyxfind.C:
5982         * lyxtext.h:
5983         * text2.C:
5984         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5985           and pass the size in explicitly
5986
5987         * BufferView_pimpl.h:
5988         * BufferView_pimpl.C:
5989         * BufferView.h:
5990         * BufferView.C: add getCurrentChange()
5991
5992         * BufferView_pimpl.h:
5993         * BufferView_pimpl.C: handle change lfuns
5994
5995         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5996           for changes. Mark pasted paragraphs as new.
5997
5998         * support/lyxtime.h:
5999         * support/lyxtime.C:
6000         * DepTable.C: abstract time_t as lyx::time_type
6001
6002         * LColor.h:
6003         * LColor.C: add colours for new text, deleted text, changebars
6004
6005         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6006           package use "usenames" option.
6007
6008         * commandtags.h:
6009         * lyxfunc.C:
6010         * LyXAction.C: add change lfuns
6011
6012         * Makefile.am:
6013         * author.h:
6014         * author.C: author handling
6015
6016         * buffer.h:
6017         * buffer.C: add a per-buffer author list, with first entry as
6018           current author. Handle new .lyx tokens for change tracking. Output
6019           author list to .lyx file. Output dvipost stuff to .tex preamble.
6020           Bump lyx format to 222.
6021
6022         * bufferlist.h:
6023         * bufferlist.C: add setCurrentAuthor() to reset current author details
6024           in all buffers.
6025
6026         * bufferparams.h:
6027         * bufferparams.C: add param for tracking
6028
6029         * bufferview_funcs.C: output change info in minibuffer
6030
6031         * Makefile.am:
6032         * changes.h:
6033         * changes.C: add change-tracking structure
6034
6035         * debug.h:
6036         * debug.C: add CHANGES debug flag
6037
6038         * lyxfind.h:
6039         * lyxfind.C: add code for finding the next change piece
6040
6041         * lyxrc.h:
6042         * lyxrc.C: add user_name and user_email
6043
6044         * lyxrow.h:
6045         * lyxrow.C: add a metric for the top of the text line
6046
6047         * lyxtext.h:
6048         * text.C: implement accept/rejectChange()
6049
6050         * lyxtext.h:
6051         * text.C: paint changebars. Paint new/deleted text in the chosen
6052         colours. Strike through deleted text.
6053
6054         * paragraph.h:
6055         * paragraph.C:
6056         * paragraph_pimpl.h:
6057         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6058           in the current change to the insert functions. Rework erase to
6059           mark text as deleted, adding an eraseIntern() and a range-based
6060           erase(). Implement per-paragraph change lookup and
6061           accept/reject.
6062
6063         * paragraph_funcs.C: Fixup paste for change tracking.
6064
6065         * tabular.C: mark added row/columns as new.
6066
6067         * text.C: fix rowLast() to never return -1. Don't allow
6068           spellchecking of deleted text. Track transpose changes. Don't
6069           allow paragraph break or merge where appropriate.
6070
6071         * text2.C: leave cursor at end of selection after a cut.
6072
6073 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6074
6075         * text.C (getLengthMarkerHeight):
6076         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6077         visible on screen too.
6078
6079 2003-02-07  John Levon  <levon@movementarian.org>
6080
6081         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6082
6083 2003-02-05  Angus Leeming  <leeming@lyx.org>
6084
6085         * lyxserver.C (read_ready): revert my patch of 11 September last year
6086         as it sends PC cpu through the roof. Presumably this means that
6087         the lyxserver will no longer run on an Alpha...
6088
6089 2003-01-30  Angus Leeming  <leeming@lyx.org>
6090
6091         * factory.C (createInset): create an InsetCommandParam of type "index"
6092         and use it to 'do the right thing'.
6093
6094         * text2.C (getStringToIndex): ensure that cursor position is always
6095         reset to the reset_cursor position.
6096
6097 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6098
6099         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6100         disabled.
6101
6102 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6103
6104         * bufferview.C:
6105         * lyxcb.C:
6106         * lyxfunc.C: Output messages with identical spelling, punctuation,
6107         and spaces
6108
6109 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6110
6111         * MenuBackend.C (expandFormats): List only viewable export formats
6112         in "View" menu
6113
6114         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6115         message
6116
6117         * lyxfunc.C (getStatus): Make sure that formats other than
6118         "fax" can also be disabled
6119
6120 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6121
6122         * text3.C (dispatch): put the lfuns that insert insets in 3
6123         groups, and call doInsertInset with appropriate arguments.
6124         (doInsertInset): new function, that creates an inset and inserts
6125         it according to some boolean parameters.
6126
6127 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * buffer.C (readFile): remember to pass on 'par' when calling
6130         readFile recursively.
6131
6132 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6133
6134         * MenuBackend.C (expandFormats): add "..." to import formats.
6135
6136 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6137
6138         * paragraph.C (asString): Remove XForms RTL hacks.
6139
6140 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6141         * buffer.C: fix typo
6142
6143 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * Makefile.am (LIBS): delete var
6146         (lyx_LDADD): add @LIBS@ here instead.
6147
6148 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6149
6150         * Clarify the meaning of "wheel mouse jump"
6151
6152 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6153
6154         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6155         tabular in a float
6156
6157 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * importer.C (Loaders): do not preallocate 3 elements in the
6160         vector, since one ends up with 6 elements otherwise
6161
6162 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * DepTable.C (write): write the file name as last element of the
6165         .dep file (because it may contain spaces)
6166         (read): read info in the right order
6167
6168 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6169
6170         * paragraph_pimpl.C (simpleTeXBlanks):
6171         (simpleTeXSpecialChars):
6172         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6173
6174         * tabular.C (latex): add some missing case statements. Reindent.
6175
6176         * MenuBackend.C (expandToc): remove unused variable.
6177
6178 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6179
6180         * LColor.C:
6181         * LaTeX.C:
6182         * LyXAction.C:
6183         * MenuBackend.C:
6184         * buffer.C:
6185         * exporter.C:
6186         * lyxfunc.C:
6187         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6188         and the like.
6189
6190 2003-01-05  John Levon  <levon@movementarian.org>
6191
6192         * BufferView.h:
6193         * BufferView.C: add getEncoding()
6194
6195         * kbsequence.h:
6196         * kbsequence.C: do not store last keypress
6197
6198         * lyxfunc.h:
6199         * lyxfunc.C: store last keypress here instead. Pass encoding
6200           to getISOEncoded()
6201
6202 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6203
6204         * lyx_main.C (init): remove annoying error message when following
6205         symbolic links (bug #780)
6206
6207 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6208
6209         * text.C (insertChar):
6210         * lyxrc.C (getDescription): remove extra spaces
6211
6212 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6213
6214         * lyxrc.C (getDescription): remove extra spaces
6215
6216 2002-12-20  John Levon  <levon@movementarian.org>
6217
6218         * text3.C: hack fix for page up/down across tall rows
6219
6220 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6221
6222         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6223         not been invoked
6224
6225 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6226
6227         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6228         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6229         thesaurus is not compiled in
6230
6231 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6232
6233         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6234
6235 2002-12-16  Angus Leeming  <leeming@lyx.org>
6236
6237         * lyxrc.[Ch]:
6238         * lyx_main.C (init): remove override_x_deadkeys stuff.
6239
6240 2002-12-12  John Levon  <levon@movementarian.org>
6241
6242         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6243           insert. Only remove shift modifier under strict
6244           circumstances.
6245
6246 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * MenuBackend.C (expandToc): fix crash.
6249
6250 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * MenuBackend.C (expandToc): gettext on float names.
6253
6254 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6255
6256         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6257         implement bool empty() [bug 490]
6258
6259 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6262
6263 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * several files: ws changes
6266
6267 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * text2.C (setCounter): clean up a bit, use boost.format.
6270         (updateCounters): initialize par upon declaration.
6271
6272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6273         if the layout exists. We do not just store the layout any more.
6274         (SwitchLayoutsBetweenClasses): use boost.format
6275
6276 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6277
6278         * converter.C (convert): if from and to files are the same, use a
6279         temporary files as intermediary
6280
6281 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6282
6283         * commandtags.h:
6284         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6285
6286 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6287
6288         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6289
6290 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * tabular.C (asciiPrintCell): use string(size, char) instead of
6293         explicit loop.
6294
6295         * sgml.C (openTag): fix order of arguments to string constructor
6296         (closeTag): ditto
6297
6298         * lyxfunc.C (dispatch): use boost.format
6299
6300         * lots of files: change "c" -> 'c'
6301
6302 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6303
6304         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6305
6306 2002-11-25  Angus Leeming  <leeming@lyx.org>
6307
6308         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6309
6310         * lyx_main.C (init): compile fix.
6311
6312 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * lyx_cb.C (start): boost.formatify
6315         do not include <iostream>
6316
6317         * lengthcommon.C: ws only
6318
6319         * boost-inst.C,BoostFormat.h: add more explict instantations
6320
6321 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * lots of files: handle USE_BOOST_FORMAT
6324
6325 2002-11-21  John Levon  <levon@movementarian.org>
6326
6327         * pspell.C: fix compile
6328
6329 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6330
6331         * lyxfunc.C (dispatch): use boost::format
6332         (open): ditto
6333         (doImport): ditto
6334
6335         * lyxfont.C (stateText): use boost::format
6336
6337         * lyx_main.C (LyX): use boost::format
6338         (init): ditto
6339         (queryUserLyXDir): ditto
6340         (readRcFile): ditto
6341         (parse_dbg): ditto
6342         (typedef boost::function): use the recommened syntax.
6343
6344         * importer.C (Import): use boost::format
6345
6346         * debug.C (showLevel): use boost::format
6347
6348         * converter.C (view): use boost::format
6349         (convert): ditto
6350         (move): ditto
6351         (scanLog): ditto
6352
6353         * bufferview_funcs.C (currentState): use boost::format
6354
6355         * bufferlist.C (emergencyWrite): use boost::format
6356
6357         * buffer.C (readLyXformat2): use boost::format
6358         (parseSingleLyXformat2Token): ditto
6359
6360         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6361
6362         * LaTeX.C (run): use boost::format
6363
6364         * Chktex.C (scanLogFile): use boost::format
6365
6366         * BufferView_pimpl.C (savePosition): use boost::format
6367         (restorePosition): ditto
6368         (MenuInsertLyXFile): ditto
6369
6370         * BoostFormat.h: help file for explicit instation.
6371
6372 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6373
6374         * tabular.C (latex): Support for block alignment in fixed width
6375         columns.
6376
6377 2002-11-17  John Levon  <levon@movementarian.org>
6378
6379         * BufferView_pimpl.C:
6380         * lyx_cb.C:
6381         * lyxfunc.C: split filedialog into open/save
6382
6383 2002-11-08  Juergen Vigna  <jug@sad.it>
6384
6385         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6386         by my last patch (hopefully).
6387
6388 2002-11-08  John Levon  <levon@movementarian.org>
6389
6390         * iterators.h:
6391         * iterators.C:
6392         * buffer.h:
6393         * buffer.C:
6394         * paragraph.h:
6395         * paragraph.C:
6396         * toc.h:
6397         * toc.C: ParConstIterator, and use it (from Lars)
6398
6399 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6400
6401         * lyxtextclass.[Ch]: revise and add doxygen comments
6402
6403 2002-11-07  John Levon  <levon@movementarian.org>
6404
6405         * text.C: fix progress value for spellchecker
6406
6407         * toc.C: fix navigate menu for insetwrap inside minipage
6408
6409         * paragraph_funcs.C: added FIXME for suspect code
6410
6411 2002-11-07  John Levon  <levon@movementarian.org>
6412
6413         * BufferView_pimpl.C: fix redrawing of insets
6414           on buffer switch
6415
6416 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6417
6418         * text2.C (updateCounters): fix bug 668
6419
6420 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6421
6422         * text3.C (dispatch): Do not make the buffer dirty when moving the
6423         cursor.
6424
6425 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * vc-backend.C: STRCONV
6428         (scanMaster): ditto
6429
6430         * text2.C (setCounter): STRCONV
6431
6432         * paragraph.C (asString): STRCONV
6433
6434         * lyxlength.C (asString): STRCONV
6435         (asLatexString): ditto
6436
6437         * lyxgluelength.C (asString): STRCONV
6438         (asLatexString): ditto
6439
6440         * lyxfunc.C (dispatch): STRCONV
6441         (open): ditto
6442
6443         * lyxfont.C (stateText): STRCONV
6444
6445         * importer.C (Import): STRCONV
6446
6447         * counters.C (labelItem): STRCONV
6448         (numberLabel): ditto
6449         (numberLabel): remove unused ostringstream o
6450
6451         * chset.C: STRCONV
6452         (loadFile): ditto
6453
6454         * bufferview_funcs.C (currentState): STRCONV
6455
6456         * buffer.C (readFile): STRCONV
6457         (asciiParagraph): ditto
6458         (makeLaTeXFile): ditto
6459
6460         * Spacing.C (writeEnvirBegin): STRCONV
6461
6462         * LaTeXFeatures.C (getLanguages): STRCONV
6463         (getPackages): ditto
6464         (getMacros): ditto
6465         (getBabelOptions): ditto
6466         (getTClassPreamble): ditto
6467         (getLyXSGMLEntities): ditto
6468         (getIncludedFiles): ditto
6469
6470         * LaTeX.C: STRCONV
6471         (run): ditto
6472         (scanAuxFile): ditto
6473         (deplog): ditto
6474
6475         * LString.h: add the STRCONV macros
6476
6477         * BufferView_pimpl.C (savePosition): STRCONV
6478         (restorePosition): ditto
6479         (MenuInsertLyXFile): ditto
6480
6481         * vc-backend.C (scanMaster): change from submatch[...] to
6482         submatch.str(...)
6483
6484         * funcrequest.C: include config.h
6485
6486         * factory.C: include config.h
6487
6488         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6489
6490         * box.C: include config.h
6491
6492         * LaTeX.C (scanAuxFile): change from submatch[...] to
6493         submatch.str(...)
6494         (deplog): ditto
6495
6496 2002-10-25  Angus Leeming  <leeming@lyx.org>
6497
6498         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6499
6500         * ispell.[Ch] (setError): new method.
6501         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6502         Use setError() insetead of goto END.
6503
6504         * lyx_cb.C (AutoSave): move out child process into new class
6505         AutoSaveBuffer.
6506
6507 2002-10-30  John Levon  <levon@movementarian.org>
6508
6509         * text3.C: make start appendix undoable
6510
6511 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6512
6513         * lyxlength.C (inPixels): Fix returned value.
6514
6515         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6516         environment.
6517
6518 2002-10-24  Angus Leeming  <leeming@lyx.org>
6519
6520         * lyxgluelength.h: no need to forward declare BufferParams
6521         or BufferView, so don't.
6522
6523 2002-10-21  John Levon  <levon@movementarian.org>
6524
6525         * BufferView.C: menuUndo ->undo, redo
6526
6527         * BufferView.h: document, remove dead, make some methods private
6528
6529         * paragraph_funcs.h:
6530         * paragraph_funcs.C:
6531         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6532
6533         * buffer.h:
6534         * buffer.C:
6535         * sgml.h:
6536         * sgml.C: move sgml open/close tag into sgml.C
6537
6538         * bufferview_funcs.h: unused prototype
6539
6540         * lyxfunc.h:
6541         * lyxfunc.C: remove unused
6542
6543         * lyxtext.h:
6544         * text.C: remove unused
6545
6546 2002-10-21  John Levon  <levon@movementarian.org>
6547
6548         * BufferView.h:
6549         * BufferView.C:
6550         * BufferView_pimpl.h:
6551         * BufferView_pimpl.C: fix mouse wheel handling based on
6552           patch from Darren Freeman
6553
6554 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6555
6556         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6557
6558 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6559
6560         * lyxlength.C (inPixels): Fix hanfling of negative length.
6561         Fix LyXLength::MU case.
6562
6563 2002-10-16  John Levon  <levon@movementarian.org>
6564
6565         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6566
6567 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6568
6569         * converter.C (view): add support for $$i (file name) and $$p
6570         (file path) for the viewer command. If $$i is not specified, then
6571         it is appended to the command (for compatibility with old syntax)
6572
6573 2002-10-14  Juergen Vigna  <jug@sad.it>
6574
6575         * undo_funcs.C (textHandleUndo): alter the order in which the
6576         new undopar is added to the LyXText, as we have to set first
6577         the right prev/next and then add it as otherwise the rebuild of
6578         LyXText is not correct. Also reset the cursor to the right paragraph,
6579         with this IMO we could remove the hack in "redoParagraphs()".
6580
6581 2002-10-09  Angus Leeming  <leeming@lyx.org>
6582
6583         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6584         to turn off an optimisation if a new inset is to be inserted.
6585
6586 2002-10-11 André Pönitz <poenitz@gmx.net>
6587
6588         * lyxtext.h: make some functions public to allow access
6589         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6590
6591 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6592
6593         * text3.C (dispatch): when changing layout, avoid an infinite loop
6594         [bug #652]
6595
6596 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6597
6598         * lyxrc.C (read): treat a viewer or converter command of "none" as
6599         if it were empty.
6600
6601         * MenuBackend.C (expandFormats): for an update, also allow the
6602         formats that are not viewable
6603
6604         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6605         script if it is newer than the lyxrc.defaults in user directory
6606
6607 2002-10-07 André Pönitz <poenitz@gmx.net>
6608
6609         * text.C: Vitaly Lipatov's small i18n fix
6610
6611 2002-09-25  Angus Leeming  <leeming@lyx.org>
6612
6613         * ispell.h: doxygen fix.
6614
6615 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6616
6617         * buffer.h (readFile): Add a new argument to the method, to allow
6618         reading of old-format templates.
6619
6620 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6621
6622         * toc.C (getTocList): Get TOC from InsetWrap.
6623
6624 2002-09-16  John Levon  <levon@movementarian.org>
6625
6626         * lyxfunc.C: check tabular for cut/copy too
6627
6628 2002-09-12  John Levon  <levon@movementarian.org>
6629
6630         * LyXAction.C: tidy
6631
6632         * factory.h:
6633         * factory.C: add header
6634
6635         * paragraph_funcs.h:
6636         * paragraph_funcs.C: cleanup
6637
6638 2002-09-11  John Levon  <levon@movementarian.org>
6639
6640         * PrinterParams.h: odd/even default to true
6641
6642 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6643
6644         * PrinterParams.h: update printer parameters for new xforms dialog
6645
6646 2002-09-11  Angus Leeming  <leeming@lyx.org>
6647
6648         * lyxserver.C (read_ready): re-write to make it more transparent
6649         and to make it work in coherent fashion under Tru64 Unix.
6650
6651 2002-09-11  André Pönitz <poenitz@gmx.net>
6652
6653         * commandtags.h:
6654         * LyXAction.C:
6655         * text3.C: implement LFUN_WORDSEL
6656
6657 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6660         make floatlist_ a boost::shared_ptr<FloatList>
6661
6662         * lyxtextclass.C: include FloatList.h
6663         (LyXTextClass): initialize floatlist_
6664         (TextClassTags): add TC_NOFLOAT
6665         (Read): match "nofloat" to TC_NOFLOAT and use it.
6666         (readFloat): modify call to floatlist_
6667         (floats): ditto
6668         (floats): ditto
6669
6670         * FloatList.[Ch] (FloatList): remove commented out float
6671         initialization.
6672         (erase): new function
6673
6674 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6675
6676         * MenuBackend.C (expandToc): fix crash when there is no document
6677         open
6678
6679 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * many files: Add insetwrap.
6682
6683 2002-09-09  John Levon  <levon@movementarian.org>
6684
6685         * text2.C: remove confusing and awkward depth wraparound
6686
6687 2002-09-09  John Levon  <levon@movementarian.org>
6688
6689         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6690
6691         * buffer.h:
6692         * buffer.C: remove getIncludeonlyList()
6693
6694         * paragraph.C:
6695         * lyxfunc.C: remove headers
6696
6697 2002-09-09  Juergen Vigna  <jug@sad.it>
6698
6699         * text.C (getColumnNearX): fix form Michael this is most
6700         probably a cut&paste bug.
6701
6702 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6703
6704         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6705
6706         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6707         references, ws changes.
6708
6709         * text2.C (init): update counters after init
6710         (insertParagraph): no need to set counter on idividual paragraphs.
6711         (setCounter): access the counters object in the textclass object
6712         on in the buffer object.
6713         (updateCounters): ditto
6714
6715         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6716         shared_ptr<Counters> to avoid loading counters.h in all
6717         compilation units.
6718         (LyXTextClass): initialize ctrs_
6719         (TextClassTags): add TC_COUNTER, and ...
6720         (Read): use it here.
6721         (CounterTags): new tags
6722         (readCounter): new function
6723         (counters): new funtion
6724         (defaultLayoutName): return a const reference
6725
6726         * counters.C (Counters): remove contructor
6727         (newCounter): remove a couple of unneeded statements.
6728         (newCounter): simplify a bit.
6729         (numberLabel): some small formatting changes.
6730
6731         * buffer.[Ch]: remove all traces of counters, move the Counters
6732         object to the LyXTextClass.
6733
6734 2002-09-06  Alain Castera  <castera@in2p3.fr>
6735
6736         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6737         package to set the horizontal alignment on fixed width columns.
6738
6739         * lyx_sty.C:
6740         * lyx_sty.h: added tabularnewline macro def.
6741
6742         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6743
6744 2002-09-06  John Levon  <levon@movementarian.org>
6745
6746         * LyXAction.C: tooltips for sub/superscript
6747
6748         * MenuBackend.C: a bit more verbose
6749
6750         * lyxfunc.C: tiny clean
6751
6752         * undo_funcs.C: document undo_frozen
6753
6754 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * counters.C (Counters): add missing algorithm counter.
6757
6758         * text2.C (setCounter): lookup the counter with layouts latexname
6759         instead of by section number.
6760         (setCounter): use a hackish way to lookup the correct enum
6761         counter.
6762         a float name->type change
6763         reset enum couners with counter name directly instead of depth value.
6764
6765         * counters.C (Counters): remove the push_backs, change to use the
6766         float type not the float name.
6767         (labelItem): remove unused string, float name->type change
6768
6769         * counters.h: don't include vector, loose the enums and sects vectors
6770
6771 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6774         (Read): add float->TC_FLOAT to textclassTags
6775         (Read): and handle it in the switch
6776         (readFloat): new function
6777
6778         * FloatList.C (FloatList): comment out the hardcoded float
6779         definitions.
6780
6781         * lyxlayout.h: ws change.
6782
6783 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6784
6785         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6786
6787 2002-09-03  Angus Leeming  <leeming@lyx.org>
6788
6789         * BufferView_pimpl.h: qualified name is not allowed in member
6790         declaration: WorkArea & Pimpl::workarea() const;
6791
6792         * factory.C: added using std::endl directive.
6793
6794         * text3.C: added using std::find and std::vector directives.
6795
6796 2002-08-29  André Pönitz <poenitz@gmx.net>
6797
6798         * lyxtext.h:
6799         * text2.C: remove unused member number_of_rows
6800
6801         * Makefile.am:
6802         * BufferView2.C: remove file, move contents to...
6803         * BufferView.C: ... here
6804
6805         * BufferView_pimpl.C:
6806         * factory.C: move more inset creation to factory
6807
6808         * vspace.C: avoid direct usage of LyXText, ws changes
6809
6810         * BufferView.[Ch]:
6811                 don't provide direct access to WorkArea, use two simple
6812                 acessors haveSelction() and workHeight() instead
6813
6814
6815 2002-08-29  John Levon  <levon@movementarian.org>
6816
6817         * BufferView_pimpl.C (dispatch): do not continue when
6818           no buffer
6819
6820 2002-08-28  André Pönitz <poenitz@gmx.net>
6821
6822         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6823
6824         * BufferView.h:
6825         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6826
6827 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6828
6829         * buffer.C: increment LYX_FORMAT to 221
6830
6831         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6832         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6833
6834         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6835
6836         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6837
6838 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6839
6840         * factory.C (createInset): use LyXTextClass::floats
6841
6842         * MenuBackend.C (expandFloatListInsert):
6843         (expandFloatInsert):
6844         (expandToc):
6845
6846         * text2.C (setCounter):
6847
6848         * LaTeXFeatures.C (useFloat):
6849         (getFloatDefinitions):
6850
6851         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6852
6853         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6854         floatlist_, with accessor floats().
6855
6856         * FloatList.h: remove global FloatList
6857
6858 2002-08-26  André Pönitz <poenitz@gmx.net>
6859
6860         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6861
6862         * BufferView.h:
6863         * BufferView2.C:
6864         * BufferView_pimpl.C:
6865         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6866
6867 2002-08-25  John Levon  <levon@movementarian.org>
6868
6869         * LyXAction.C: fix margin note description
6870
6871 2002-08-24  John Levon  <levon@movementarian.org>
6872
6873         * buffer.C:
6874         * bufferlist.C:
6875         * bufferview_funcs.C:
6876         * lyxfont.C:
6877         * undo_funcs.C: cleanups
6878
6879         * lyxfunc.C: disable CUT/COPY when no selection
6880
6881 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6882
6883         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6884         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6885
6886         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6887         Add backward compatibility to "mono", "gray" and "no".
6888
6889 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6890
6891         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6892         (and file_format >= 200).
6893
6894 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6895
6896         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6897
6898 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6899
6900         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6901
6902 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6903
6904         * BufferView_pimpl.C:
6905         * LyXAction.C:
6906         * buffer.C:
6907         * commandtags.h:
6908         * lyxfunc.C:
6909         * paragraph.[Ch]:
6910         * text2.C:
6911         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6912         inset and code to make it  work with the paragraph code. The inset
6913         can be anywhere in the paragraph, but will only do the expected
6914         thing in LaTeX if the layout file contains the parameter line
6915                         OptionalArgs    1
6916         (or more generally, a nonzero value) for that layout.
6917
6918 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * paragraph.h: remove the declaration of undefined counters class
6921         function.
6922
6923 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6924
6925         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6926         Dr. Richard Hawkins.
6927
6928 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6929
6930         * paragraph_funcs.h: remove some unneeded includes
6931
6932         * text.C (backspace): pasteParagraph now in global scipe
6933
6934         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6935         (pasteSelection): ditto
6936
6937         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6938         * paragraph_funcs.C (pasteParagraph): ... here
6939
6940 2002-08-20  André Pönitz <poenitz@gmx.net>
6941
6942         * commandtags.h: new LFUNs for swapping/copying table row/colums
6943
6944         * LyXAction.C:
6945         * lyxfunc.C: support for new lfuns
6946
6947 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * tabular.C:
6950         * buffer.[Ch]: remove NO_COMPABILITY stuff
6951
6952 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * boost.C (throw_exception): new file, with helper function for
6955         boost compiled without exceptions.
6956
6957         * paragraph.h:
6958         * lyxlength.C:
6959         * buffer.C:
6960         * ParameterStruct.h:
6961         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6962
6963         * bufferlist.C (emergencyWriteAll): use boost bind
6964
6965         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6966
6967         * text.C: include paragraph_funcs.h
6968         (breakParagraph): breakParagraph is now in global scope
6969
6970         * paragraph_funcs.[Ch]: new files
6971
6972         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6973         global scope
6974
6975         * buffer.C: include paragraph_funcs.h
6976         (insertStringAsLines): breakParagraph is now in global scope
6977
6978         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6979         paragraph_funcs.C
6980
6981         * CutAndPaste.C: include paragraph_funcs.h
6982         (cutSelection): breakParagraphConservative is now in global scope
6983         (pasteSelection): ditto
6984
6985         * buffer.h: declare oprator== and operator!= for
6986         Buffer::inset_iterator
6987
6988         * bufferlist.C (emergencyWrite): don't use fmt(...)
6989
6990         * text3.C: add using std::endl
6991
6992         * BufferView.C (moveCursorUpdate): remove default arg
6993
6994 2002-08-20  André Pönitz <poenitz@gmx.net>
6995
6996         * buffer.[Ch]: move inline functions to .C
6997
6998         * BufferView2.C:
6999         * BufferView_pimpl.C:
7000         * text.C:
7001         * buffer.[Ch]: use improved inset_iterator
7002
7003         * buffer.C:
7004         * paragraph.[Ch]: write one paragraph at a time
7005
7006 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7007
7008         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7009         style if style is not specified.
7010
7011 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7012
7013         * text2.C (setCounter): when searching for right label for a
7014         caption, make sure to recurse to parent insets (so that a caption
7015         in a minipage in a figure float works) (bug #568)
7016
7017 2002-08-20  André Pönitz <poenitz@gmx.net>
7018
7019         * text3.C: new file for LyXText::dispatch() and helpers
7020
7021         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7022
7023         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7024
7025 2002-08-19  André Pönitz <poenitz@gmx.net>
7026
7027         * lyxtext.h:
7028         * text.C: new LyXText::dispatch()
7029
7030         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7031
7032 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7033
7034         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7035
7036         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7037         Hebrew text.
7038
7039 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7040
7041         * Makefile.am: use $(variables) instead of @substitutions@
7042
7043 2002-08-15  André Pönitz <poenitz@gmx.net>
7044
7045         * lyxfunc.C:
7046         * BufferView_pimpl.C: streamlining mathed <-> outer world
7047         interaction
7048
7049         * commandtags.h:
7050         * LyXAction.C: remove unused LFUN_MATH
7051
7052 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7055
7056 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * paragraph.C (Paragraph): reformat a bit
7059         (cutIntoMinibuffer): use builtin InsetList function instad of
7060         doing it manually.
7061         (getInset): ditto
7062
7063         * buffer.C: include boost/bind.hpp, add using std::for_each
7064         (writeFileAscii): use ParagraphList iterators
7065         (validate): use for_each for validate traversal of paragraphs
7066         (getBibkeyList): use ParagraphList iterators
7067         (resizeInsets): use for_each to resizeInsetsLyXText for all
7068         paragraphs.
7069         (getParFromID): use ParagraphList iterators
7070
7071         * BufferView2.C (lockInset): use paragraph list and iterators
7072
7073 2002-08-14  John Levon  <levon@movementarian.org>
7074
7075         * lyxserver.C: remove spurious xforms include
7076
7077 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7078
7079         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7080
7081 2002-08-13  André Pönitz <poenitz@gmx.net>
7082
7083         * LyXAction.[Ch]:
7084         * lyxfunc.C: further cleaning
7085
7086 2002-08-13  André Pönitz <poenitz@gmx.net>
7087
7088         * funcrequest.h: new constructor
7089
7090         * funcrequest.C: move stuff here from .h
7091
7092         * Makefile.am:
7093         * BufferView_pimpl.C:
7094         * LyXAction.C:
7095         * toc.C:
7096         * lyxfunc.C: subsequent changes
7097
7098         * lyxfunc.h: new view() member function
7099
7100         * lyxfunc.C: subsequent changes
7101
7102 2002-08-13  Angus Leeming  <leeming@lyx.org>
7103
7104         * BufferView2.C:
7105         * BufferView_pimpl.C:
7106         * buffer.C:
7107         * converter.C:
7108         * importer.C:
7109         * lyxfunc.C:
7110         * lyxvc.C:
7111         * toc.C:
7112         * vc-backend.C:
7113         changes due to the changed LyXView interface that now returns references
7114         to member variables not pointers.
7115
7116 2002-08-13  Angus Leeming  <leeming@lyx.org>
7117
7118         * WordLangTuple (word, lang_code): return references to strings,
7119         not strings.
7120
7121         * BufferView.h:
7122         * SpellBase.h:
7123         * lyxtext.h: forward-declare WordLangTuple.
7124
7125         * BufferView2.C:
7126         * ispell.C:
7127         * pspell.C:
7128         * text.C: #include "WordLangTuple.h".
7129
7130         * lyxtext.h:
7131         * text.C: (selectNextWordToSpellcheck): constify return type.
7132
7133 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7134
7135         * buffer.C:
7136         * buffer.h:
7137         * lyxtext.h:
7138         * paragraph.C:
7139         * paragraph_pimpl.h:
7140         * text.C:
7141         * text2.C:
7142         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7143         suggested by Angus.
7144         Made updateCounter always count from start of buffer, and removed
7145         second argument (par).
7146         Reverted floats number display to '#'. Perhaps I'll try again when the
7147         code base is sanitized a bit.
7148
7149 2002-08-12  Angus Leeming  <leeming@lyx.org>
7150
7151         * buffer.[Ch] (getLabelList): constify.
7152
7153 2002-08-07  André Pönitz <poenitz@gmx.net>
7154
7155         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7156
7157         * funcrequest.h: extension to keep mouse (x,y) position
7158
7159 2002-08-12  Juergen Vigna  <jug@sad.it>
7160
7161         * BufferView2.C (insertErrors): forbid undo when inserting error
7162         insets.
7163
7164         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7165
7166 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * ParagraphList.[Ch]: new files
7169
7170         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7171
7172         * BufferView2.C (lockInset): ParagraphList changes
7173         * toc.C: ditto
7174         * text2.C: ditto
7175         * bufferlist.C: ditto
7176         * buffer.h: ditto
7177         * buffer.C: ditto
7178
7179 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7180
7181         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7182         unused class variable counter_,
7183
7184         * paragraph.[Ch] (getFirstCounter): delete unused function
7185
7186         * counters.C: include LAssert.h
7187         (reset): add a new function with no arg, change other version to
7188         not have def. arg and to not allow empty arg.
7189
7190         * text2.C (setCounter): remove empty arg from call to Counters::reset
7191
7192 2002-08-11  John Levon  <levon@movementarian.org>
7193
7194         * Makefile.am: add WordLangTuple.h
7195
7196 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7199         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7200
7201         * insets/insettext.C: InsetList changes
7202
7203         * graphics/GraphicsSupport.C (operator()): InsetList changes
7204
7205         * toc.C (getTocList): InsetList changes
7206
7207         * paragraph_pimpl.[Ch]: InsetList changes
7208
7209         * paragraph.[Ch]: InsetList changes
7210
7211         * buffer.C (inset_iterator): InsetList changes
7212         (setParagraph): ditto
7213         * buffer.h (inset_iterator): ditto
7214         * iterators.C (operator++): ditto
7215         * iterators.h: ditto
7216
7217         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7218
7219         * InsetList.[Ch]: new files, most InsetList handling moved out of
7220         paragraph.C.
7221
7222         * BufferView2.C (removeAutoInsets): InsetList changes
7223         (lockInset): ditto
7224         (ChangeInsets): ditto
7225
7226 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * paragraph_pimpl.h (empty): new function
7229
7230         * paragraph.[Ch] (empty): new function
7231
7232         * other files: use the new Paragraph::empty function
7233
7234 2002-08-09  John Levon  <levon@movementarian.org>
7235
7236         * lyxtext.h: remove unused refresh_height
7237
7238 2002-08-09  John Levon  <levon@movementarian.org>
7239
7240         * Makefile.am:
7241         * sgml.h:
7242         * sgml.C:
7243         * buffer.C:
7244         * paragraph.h:
7245         * paragraph.C: move sgml char escaping out of paragraph
7246
7247         * paragraph.h:
7248         * paragraph.C: remove id setter
7249
7250         * buffer.C:
7251         * paragraph.C:
7252         * paragraph_pimpl.C: remove dead tex_code_break_column
7253
7254         * bufferview_funcs.C: small cleanup
7255
7256         * lyxfunc.C: remove dead proto
7257
7258         * lyxtext.h: make some stuff private. Remove some dead stuff.
7259
7260         * lyxgluelength.C: make as[LyX]String() readable
7261
7262 2002-08-08  John Levon  <levon@movementarian.org>
7263
7264         * LyXAction.h:
7265         * LyXAction.C:
7266         * MenuBackend.C:
7267         * ToolbarDefaults.C:
7268         * lyxfunc.C:
7269         * lyxrc.C:
7270         * toc.C: lyxaction cleanup
7271
7272 2002-08-08  John Levon  <levon@movementarian.org>
7273
7274         * BufferView2.C: small cleanup
7275
7276         * lyxfind.h:
7277         * lyxfind.C: move unnecessary header into the .C
7278
7279 2002-08-08  John Levon  <levon@movementarian.org>
7280
7281         * funcrequest.h: just tedious nonsense
7282
7283         * lyx_main.h:
7284         * lyx_main.C: cleanups
7285
7286         * buffer.C:
7287         * vspace.C: remove dead header lyx_main.h
7288
7289 2002-08-07  Angus Leeming  <leeming@lyx.org>
7290
7291         * Paragraph.[Ch]:
7292         * paragraph_pimpl.h:
7293         Forward declare class Counters in paragraph.h by moving the ctrs member
7294         variable into Paragraph::Pimpl.
7295         (counters): new method, returning a reference to pimpl_->ctrs.
7296
7297         * text2.C: ensuing changes.
7298
7299 2002-08-07  John Levon  <levon@movementarian.org>
7300
7301         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7302
7303         * BufferView_pimpl.C: announce X selection on double/triple
7304           click
7305
7306         * lyx_main.C: use correct bool in batch dispatch
7307
7308         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7309
7310 2002-08-07  André Pönitz <poenitz@gmx.net>
7311
7312         * funcrequest.h: new class to wrap a kb_action and its argument
7313
7314         * BufferView.[Ch]:
7315         * BufferView_pimpl[Ch]:
7316         * LaTeX.C:
7317         * LyXAction.[Ch]:
7318         * lyxfunc.[Ch]:
7319         * lyxrc.C: subsequent changes
7320
7321
7322 2002-08-07  John Levon  <levon@movementarian.org>
7323
7324         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7325           document options change.
7326
7327 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7328
7329         * counters.[Ch]
7330         * text2.C
7331         * paragraph.[Ch]
7332         * makefile.am: move counters functionality over from
7333         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7334
7335 2002-08-06  John Levon  <levon@movementarian.org>
7336
7337         * WordLangTuple.h: new file for word + language code tuple
7338
7339         * SpellBase.h:
7340         * pspell.h:
7341         * pspell.C:
7342         * ispell.h:
7343         * ispell.C:
7344         * lyxtext.h:
7345         * text.C:
7346         * text2.C:
7347         * BufferView.h:
7348         * BufferView2.C: use WordLangTuple
7349
7350         * layout.h:
7351         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7352
7353 2002-08-06  John Levon  <levon@movementarian.org>
7354
7355         * lyx_main.C: fix cmdline batch handling
7356
7357 2002-08-06  André Pönitz <poenitz@gmx.net>
7358
7359         * lyxrc.C: set default for show_banner to true
7360
7361 2002-08-06  John Levon  <levon@movementarian.org>
7362
7363         * pspell.C: fix a crash, and allow new aspell to work
7364
7365 2002-08-06  John Levon  <levon@movementarian.org>
7366
7367         * lyxfunc.C:
7368         * kbmap.C: small cleanup
7369
7370         * vspace.h:
7371         * vspace.C: add const
7372
7373 2002-08-05  John Levon  <levon@movementarian.org>
7374
7375         * LyXAction.C: back to tabular-insert
7376
7377 2002-08-04  John Levon  <levon@movementarian.org>
7378
7379         * BufferView.h:
7380         * BufferView.C: cosmetic change
7381
7382         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7383
7384         * bufferlist.C:
7385         * buffer.h:
7386         * buffer.C:
7387         * lyxcb.h:
7388         * lyxcb.C:
7389         * lyxserver.C:
7390         * lyxvc.C:
7391         * vc-backend.C:
7392         * BufferView2.C: purge all "Lyx" not "LyX" strings
7393
7394         * lyxcursor.h:
7395         * lyxcursor.C: attempt to add some documentation
7396
7397         * lyxfunc.C:
7398         * commandtags.h:
7399         * LyXAction.C:
7400         * ToolbarDefaults.C:
7401         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7402           merge with LFUN_TABULAR_INSERT
7403
7404         * Makefile.am:
7405         * SpellBase.h:
7406         * ispell.h:
7407         * ispell.C:
7408         * pspell.h:
7409         * pspell.C: split up i/pspell implementations into separate
7410           files, many cleanups
7411
7412         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7413
7414         * text2.C: some cleanup
7415
7416         * lyxfunc.C: don't check for isp_command == "none" any more, it
7417           didn't make any sense
7418
7419 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7420
7421         * counters.[Ch]
7422         * text2.C
7423         * paragraph.[Ch]
7424         * makefile.am: move counters functionality over
7425         from text2.C/paragraph.[Ch] to counters.[Ch], and
7426         make proper C++.
7427 2002-08-02  John Levon  <levon@movementarian.org>
7428
7429         * buffer.C: s/lyxconvert/lyx2lyx/
7430
7431 2002-08-02  Angus Leeming  <leeming@lyx.org>
7432
7433         * lyxlex.C: revert John's change as it breaks reading of the user
7434         preamble.
7435
7436 2002-08-02  Angus Leeming  <leeming@lyx.org>
7437
7438         * importer.C (Import):
7439         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7440         changes due to LyXView::view() now returning a boost::shared_ptr.
7441
7442 2002-08-02  John Levon  <levon@movementarian.org>
7443
7444         * lyxlex.C: small cleanup
7445
7446 2002-08-02  John Levon  <levon@movementarian.org>
7447
7448         * text2.C (status): small cleanup, no logic change
7449
7450 2002-08-01  John Levon  <levon@movementarian.org>
7451
7452         * buffer.h:
7453         * buffer.C (writeFile): don't output alerts, caller
7454           handles this
7455
7456         * bufferlist.C:
7457         * lyx_cb.C: from above
7458
7459         * lyxfunc.C: allow to open non-existent files
7460
7461 2002-07-31  John Levon  <levon@movementarian.org>
7462
7463         * lyxserver.C: don't let incidental errors get
7464           in the way (errno)
7465
7466 2002-07-30  John Levon  <levon@movementarian.org>
7467
7468         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7469
7470 2002-07-30  John Levon  <levon@movementarian.org>
7471
7472         * lyxserver.h:
7473         * lyxserver.C: remove I/O callback too
7474
7475 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7476
7477         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7478         log.
7479
7480 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * many files: strip,frontStrip -> trim,ltrim,rtrim
7483
7484 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * PrinterParams.h: remove extern containsOnly, and include
7487         support/lstrings.h instead.
7488
7489         * LaTeX.C (scanAuxFile): modify because of strip changes
7490         (deplog): ditto
7491         * buffer.C (makeLaTeXFile): ditto
7492         * bufferparams.C (writeFile): ditt
7493         * lyxfont.C (stateText): ditto
7494         * lyxserver.C (read_ready): ditto
7495         * vc-backend.C (scanMaster): ditto
7496
7497         * BufferView_pimpl.h: ws changes
7498
7499         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7500
7501 2002-07-26  André Pönitz <poenitz@gmx.net>
7502
7503         * kb_sequence.C: remove unnedred usings
7504
7505 2002-07-26  Juergen Vigna  <jug@sad.it>
7506
7507         * lyxfind.C (LyXReplace): we have to check better if the returned
7508         text is not of theLockingInset()->getLockingInset().
7509
7510 2002-07-25  Juergen Vigna  <jug@sad.it>
7511
7512         * lyxfind.C (LyXReplace): don't replace if we don't get the
7513         right LyXText.
7514
7515         * undo_funcs.C (createUndo): remove debugging code.
7516
7517 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7518
7519         * buffer.C (parseSingleLyXformat2Token): Use default placement
7520         when reading old floats.
7521
7522         * FloatList.C (FloatList): Change the default placement of figure
7523         and tables to "tbp".
7524
7525 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7526
7527         * MenuBackend.C: using std::max
7528
7529 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7530
7531         * MenuBackend.C (expandToc):
7532         (expandToc2): code moved from xforms menu frontend. It is now
7533         generic and TOCs are transparent to menu frontends.
7534
7535 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7536
7537         * toc.C (getTocList): protect against buf=0
7538
7539         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7540         Menu as first parameter. Now, this calls itself recursively to
7541         expand a whole tree (this will be useful for TOC handling)
7542         (expandFloatInsert): remove 'wide' version of floats
7543
7544         * MenuBackend.h (submenuname): returns the name of the submenu.
7545         (submenu): returns the submenu itself, provided it has been
7546         created by MenuBackend::expand
7547
7548 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7549
7550         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7551         insets which have noFontChange == true. (bug #172)
7552
7553 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7554
7555         * BufferView_pimpl.C: add connection objects and use them...
7556         (Pimpl): here.
7557
7558 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7559
7560         * MenuBackend.C (expandLastfiles):
7561         (expandDocuments):
7562         (expandFormats):
7563         (expandFloatListInsert):
7564         (expandFloatInsert):
7565         (expand): split expand in parts
7566
7567 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7568
7569         * lyx_gui.C: use lyx_gui::exit()
7570
7571 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * LyXAction.C: show the failing pseudo action
7574
7575 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7576
7577         * buffer.C (readFile): Run the lyxconvert script in order to read
7578         old files.
7579
7580 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7581
7582         * LyXAction.C:
7583         * commandtags.h:
7584         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7585
7586 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7587
7588         * LyXAction.C:
7589         * commandtags.h:
7590         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7591
7592 2002-07-22  Herbert Voss  <voss@lyx.org>
7593
7594         * lengthcommon.C:
7595         * lyxlength.[Ch]: add support for the vertical lengths
7596
7597 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * toc.[Ch]: std:: fixes
7600
7601 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * lyxrc.C: do not include lyx_main.h
7604
7605         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7606         for layouts
7607
7608         * lyxrc.C:
7609         * encoding.C:
7610         * bufferlist.C:
7611         * BufferView2.C: include "lyxlex.h"
7612
7613         * tabular.h:
7614         * bufferparams.h: do not #include "lyxlex.h"
7615
7616         * lyxtextclasslist.C (Add): remove method
7617         (classlist): renamed to classlist_
7618
7619         * paragraph_pimpl.C:
7620         * paragraph.C:
7621         * text2.C:
7622         * CutAndPaste.C:
7623         * bufferview_funcs.C:
7624         * bufferlist.C:
7625         * text.C:
7626         * LaTeXFeatures.C:
7627         * buffer.C:
7628         * toc.C (getTocList): use BufferParams::getLyXTextClass
7629
7630         * toc.C (getTocList): use InsetFloat::addToToc
7631
7632         * toc.[Ch]: new files, containing helper functions to handle table
7633         of contents
7634
7635         * lyxfunc.C (dispatch): no need to remove spaces around command
7636         given as a string
7637         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7638         first command of the sequence; it is not very clever, but I do not
7639         have a better idea, actually
7640
7641         * LyXAction.C (LookupFunc): make sure to remove space at the
7642         beginning and end of the command
7643
7644 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7645
7646         * MenuBackend.C (getMenubar): new method: return the menubar of
7647         this menu set
7648         (read): treat differently reading of menu and menubar (in
7649         particular, the menubar has no name now)
7650         (Menu::menubar): remove
7651
7652         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7653         saving is finished
7654
7655 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7656
7657         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7658         a bibitem inset in a RTL paragraph.
7659
7660 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * paragraph_pimpl.C: constify
7663
7664         * BufferView_pimpl.C:
7665         * LaTeX.C:
7666         * lyxfunc.C: fix dispatch in a nicer way
7667
7668 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7669
7670         * lyxfunc.C (dispatch):
7671         * BufferView_pimpl.C:
7672         * BufferView_pimpl.h:
7673         * BufferView.C:
7674         * BufferView.h: rename Dispatch() to dispatch()
7675
7676         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7677
7678         * lyxlayout.C (Read): honor DependsOn tag
7679
7680         * lyxlayout.[Ch] (depends_on): new method
7681
7682         * version.C.in: update lyx_docversion
7683
7684         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7685
7686         * paragraph.C (validate): remove from here...
7687         * paragraph_pimpl.C (validate): ... and move here
7688         (isTextAt): make it const
7689
7690         * buffer.C (getLists): ws cleanup
7691
7692 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7693
7694         * language.C (read): Use iso8859-1 encoding in latex_lang
7695         (this prevents LyX from crashing when using iso10646-1 encoding).
7696
7697 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7698
7699         * text2.C (toggleInset): if cursor is inside an inset, close the
7700         inset and leave cursor _after_ it
7701
7702 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * lyxfunc.C: move minibuffer completion handling out of here
7705
7706 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * BufferView_pimpl.C:
7709         * LaTeX.C: fix dispatch calls
7710
7711 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7712
7713         * text.C (drawChars): Fix Arabic text rendering.
7714
7715 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7716
7717         * LyXAction.C:
7718         * commandtags.h:
7719         * lyxfunc.C: remove message-push/pop
7720
7721         * lyxserver.C:
7722         * lyxfunc.h:
7723         * lyxfunc.C: rationalise some code by removing verboseDispatch
7724           in favour of a bool argument to dispatch()
7725
7726 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7727
7728         * lyx_main.C (init): make sure to read symlinks as absolute paths
7729
7730 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7731
7732         * lyxfunc.h:
7733         * lyxfunc.C: no need for commandshortcut to be a member
7734
7735 2002-07-15  André Pönitz <poenitz@gmx.net>
7736
7737         * converter.C: add support for $$s (scripts from lib/scripts dir)
7738         * lyx_main.C: white space
7739
7740 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7741
7742         * bufferlist.C:
7743         * lyxrc.h:
7744         * lyxrc.C: remove second exit confirmation
7745
7746 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7747
7748         * BufferView.h:
7749         * BufferView.C:
7750         * BufferView2.C:
7751         * BufferView_pimpl.h:
7752         * BufferView_pimpl.C:
7753         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7754
7755 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * MenuBackend.C (expand): add numeric shortcuts to document menu
7758
7759         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7760
7761 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7762
7763         * lyxfont.C (setLyXFamily):
7764         (setLyXSeries):
7765         (setLyXShape):
7766         (setLyXSize):
7767         (setLyXMisc):
7768         (lyxRead):
7769         * debug.C (value):
7770         * buffer.C (asciiParagraph): use ascii_lowercase
7771
7772 2002-07-15  Mike Fabian  <mfabian@suse.de>
7773
7774         * lyxlex_pimpl.C (search_kw):
7775         * lyxlex.C (getLongString):
7776         * converter.h (operator<):
7777         * converter.C (operator<):
7778         * buffer.C (parseSingleLyXformat2Token):
7779         (asciiParagraph):
7780         * ToolbarDefaults.C (read):
7781         * MenuBackend.C (checkShortcuts):
7782         (read):
7783         * LColor.C (getFromGUIName):
7784         (getFromLyXName): use the compare_ascii_no_case instead of
7785         compare_no_case, because in turkish, 'i' is not the lowercase
7786         version of 'I', and thus turkish locale breaks parsing of tags.
7787
7788 2002-07-16  Angus Leeming  <leeming@lyx.org>
7789
7790         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7791         now takes a Buffer const & argument.
7792
7793 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7794
7795         * BufferView.C (resize): check there's a buffer to resize
7796
7797 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * lyxfunc.C: remove dead code
7800
7801         * lyxserver.h:
7802         * lyxserver.C: use lyx_guii::set_read_callback
7803
7804 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7805
7806         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7807         an inset in a RTL paragraph.
7808
7809 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * lyxfunc.C: repaint after a font size update
7812
7813 2002-07-15  André Pönitz <poenitz@gmx.net>
7814
7815         * lyxlength.C: inBP should be able to return negative values
7816
7817 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * lyxfunc.C: use lyx_gui::update_fonts()
7820
7821 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7822
7823         * lyxfunc.C: use lyx_gui::update_color()
7824
7825 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7826
7827         * bufferlist.C:
7828         * lyxfunc.h:
7829         * lyxfunc.C:
7830         * lyxrc.h:
7831         * lyxrc.C: remove file->new asks for name option, and let
7832           buffer-new take an argument
7833
7834 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7835
7836         * BufferView_pimpl.C: remove unneeded extra repaint()
7837
7838 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7839
7840         * LyXAction.C: allow command-sequence with NoBuffer
7841
7842         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7843
7844 2002-07-10  Angus Leeming  <leeming@lyx.org>
7845
7846         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7847
7848 2002-07-09  Angus Leeming  <leeming@lyx.org>
7849
7850         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7851
7852 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * lengthcommon.h: whitespace
7855
7856         * lyxfunc.C: update scrollbar after goto paragraph
7857
7858         * lyxtext.h: factor out page break drawing, and fix it so
7859           page break/added space paints as selected nicely
7860
7861 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * BufferView_pimpl.C: add FIXMEs, clean up a little
7864
7865 2002-07-09  André Pönitz <poenitz@gmx.net>
7866
7867         * lyxfont.[Ch]: support for wasy symbols
7868
7869 2002-07-08  André Pönitz <poenitz@gmx.net>
7870
7871         * BufferView_pimpl.C: apply John's patch for #93.
7872
7873 2002-07-05  Angus Leeming  <leeming@lyx.org>
7874
7875         * BufferView_pimpl.C (buffer): generate previews if desired.
7876
7877         * LColor.h: add "preview" to the color enum.
7878
7879         * LColor.C (LColor): add a corresponding entry to the items array.
7880
7881         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7882         with this buffer.
7883
7884 2002-07-05  Angus Leeming  <leeming@lyx.org>
7885
7886         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7887         The body of the code is now in the method that is passed an ostream &
7888         rather than a file name.
7889         Pass an additional only_preamble parameter, useful for the forthcoming
7890         preview stuff.
7891
7892 2002-07-03  André Pönitz <poenitz@gmx.net>
7893
7894         * lyxfunc.C: simplify getStatus() a bit for math stuff
7895
7896 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7897
7898         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7899
7900 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7901
7902         * text.C (changeRegionCase): do not change case of all the
7903         document when region ends at paragraph end (bug #461)
7904
7905 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7906
7907         * paragraph.C (startTeXParParams):
7908         (endTeXParParams): add \protect when necessary
7909
7910 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * BufferView_pimpl.C (workAreaExpose): remove warning
7913
7914 2002-06-27  Angus Leeming  <leeming@lyx.org>
7915
7916         * Makefile.am: add lyxlayout_ptr_fwd.h.
7917
7918 2002-06-26  André Pönitz <poenitz@gmx.net>
7919
7920         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7921
7922 2002-06-25  Angus Leeming  <leeming@lyx.org>
7923
7924         * lyxfunc.C (dispatch): Comment out the call to
7925         grfx::GCache::changeDisplay. The method no longer exists now that the
7926         pixmap generation part of the graphics loader has been moved into
7927         InsetGraphics.
7928
7929 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7930
7931         * text2.C: layout as layout
7932
7933         * text.C: layout as layout
7934
7935         * tabular.C (OldFormatRead): layout as layout
7936
7937         * paragraph_pimpl.C (TeXDeeper): layout as layout
7938         (realizeFont): layout as layout
7939
7940         * paragraph.C (writeFile): layout as layout
7941         (validate): layout as layout
7942         (getFont): layout as layout
7943         (getLabelFont): layout as layout
7944         (getLayoutFont): layout as layout
7945         (breakParagraph): layout as layout
7946         (stripLeadingSpaces): layout as layout
7947         (getEndLabel): layout as layout
7948         (getMaxDepthAfter): layout as layout
7949         (applyLayout): layout as layout
7950         (TeXOnePar): layout as layout
7951         (simpleTeXOnePar): layout as layout
7952         (TeXEnvironment): layout as layout
7953         (layout): layout as layout
7954         (layout): layout as layout
7955
7956         * lyxtextclass.C (compare_name): new functor to work with
7957         shared_ptr, layout as layout
7958         (Read): layout as layout
7959         (hasLayout): layout as layout
7960         (operator): layout as layout
7961         (delete_layout): layout as layout
7962         (defaultLayout): layout as layout
7963
7964         * lyxlayout_ptr_fwd.h: new file
7965
7966         * lyxlayout.C (Read): layout as layout
7967
7968         * lyx_cb.C (MenuInsertLabel): layout as layout
7969
7970         * bufferlist.C (newFile): layout as layout
7971
7972         * buffer.C (readLyXformat2): layout as layout
7973         (parseSingleLyXformat2Token): layout as layout
7974         (insertStringAsLines): layout as layout
7975         (asciiParagraph): layout as layout
7976         (latexParagraphs): layout as layout
7977         (makeLinuxDocFile): layout as layout
7978         (simpleLinuxDocOnePar): layout as layout
7979         (makeDocBookFile): layout as layout
7980         (simpleDocBookOnePar): layout as layout
7981         (getLists): layout as layout
7982
7983         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7984
7985         * CutAndPaste.C (cutSelection): layout as layout
7986         (pasteSelection): layout as layout
7987         (SwitchLayoutsBetweenClasses): layout as layout
7988
7989         * BufferView_pimpl.C (Dispatch): layout as layout
7990         (smartQuote): layout as layout
7991
7992         * BufferView2.C (unlockInset): layout as layout
7993
7994 2002-06-24  André Pönitz <poenitz@gmx.net>
7995
7996         * lyxfunc.C: fix #487
7997
7998 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7999
8000         * lyxrc.h:
8001         * lyxrc.C:
8002         * lyxfunc.C: remove display_shortcuts, show_banner
8003
8004 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * Buffer_pimpl.C: oops, update on resize
8007
8008 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * buffer.C:
8011         * converter.C:
8012         * exporter.C:
8013         * lyxfunc.C:
8014         * BufferView.h:
8015         * BufferView.C: use repaint()
8016
8017         * BufferView_pimpl.h:
8018         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8019           as it's a clearer description. Remove superfluous
8020           redraws.
8021
8022 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8023
8024         * text.C: fix bug 488. Not ideal, but getting
8025           getWord() to work properly for the insets that
8026           matter is more difficult ...
8027
8028 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * BufferView_pimpl.C:
8031         * LyXAction.C:
8032         * commandtags.h:
8033         * lyxfunc.C: remove the six million index lyxfuncs to just
8034           one, and DTRT (bug 458)
8035
8036 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8037
8038         * BufferView.h:
8039         * BufferView.C:
8040         * BufferView_pimpl.h:
8041         * BufferView_pimpl.C: clean up resize() stuff,
8042           and unnecessary updateScreen()s
8043
8044 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8045
8046         * BufferView.h:
8047         * BufferView.C:
8048         * BufferView_pimpl.h:
8049         * BufferView_pimpl.C:
8050         * lyxfind.h:
8051         * lyxfind.C:
8052         * minibuffer.C: remove focus management of workarea,
8053           not needed. Use screen's greyOut()
8054
8055 2002-06-17  Herbert Voss  <voss@lyx.org>
8056
8057         * converter.C: (convert) do not post a message, when converting
8058         fails, let the calling function decide what to do in this case
8059
8060 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * lyxfunc.C: tidy up a little
8063
8064 2002-06-16    <alstrup@diku.dk>
8065
8066         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8067         Got rid of FORMS_H_LOCATION include. Now we are
8068         GUII.
8069
8070 2002-06-15  LyX Development team  <lyx@rilke>
8071
8072         * buffer.[Ch] (sgmlOpenTag):
8073         (sgmlCloseTag): Added support for avoiding pernicious mixed
8074         content. Return number of lines written.
8075
8076         (makeLinuxDocFile):
8077         (makeDocBookFile): Fixed calls to sgml*Tag.
8078         Simple white space clean.
8079
8080         (simpleDocBookOnePar): Simple white space clean.
8081
8082         * tabular.[Ch] (docBook): Renamed to docbook and got another
8083         argument to related with the pernicious mixed content.
8084
8085         (docbookRow): Fixed calls for docbook inset method.
8086
8087 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8088
8089         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8090         so it's X11 independent.
8091
8092         * kb*.[Ch]: ditto.
8093
8094         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8095
8096 2002-06-15  Lyx Development team  <lyx@electronia>
8097
8098         * intl.h: Renamed getTrans to getTransManager.
8099
8100 2002-06-14  Angus Leeming  <leeming@lyx.org>
8101
8102         * Makefile.am: nuke forgotten stl_string_fwd.h.
8103
8104 2002-06-12  Angus Leeming  <leeming@lyx.org>
8105
8106         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8107
8108 2002-06-13  Angus Leeming  <leeming@lyx.org>
8109
8110         * LaTeX.C:
8111         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8112
8113 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8114
8115         * kbmap.C (getiso): add support for cyrillic and greek
8116
8117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * BufferView.h:
8120         * BufferView.C:
8121         * BufferView_pimpl.h:
8122         * BufferView_pimpl.C: move bogus scrolling logic
8123           to xforms
8124
8125 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * lyxfunc.C:
8128         * BufferView_pimpl.C: view->resize() change
8129
8130 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * BufferView_pimpl.C: topCursorVisible
8133           prototype change
8134
8135 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8136
8137         * Makefile.am:
8138         * lyx_gui.h:
8139         * lyx_gui.C: move to frontends/
8140
8141         * main.C:
8142         * lyx_main.h:
8143         * lyx_main.C: changes from above
8144
8145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * intl.C:
8148         * intl.h:
8149         * kbmap.C:
8150         * kbsequence.C:
8151         * lyx_cb.C:
8152         * lyx_main.C: minor tidy
8153
8154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * BufferView_pimpl.h:
8157         * BufferView_pimpl.C:
8158         * BufferView.h:
8159         * BufferView.C: make painter() const,
8160           remove dead code
8161
8162         * BufferView2.C: use screen() accessor
8163
8164         * lyx_main.h:
8165         * lyx_main.C: some minor cleanup
8166
8167 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * BufferView_pimpl.h:
8170         * BufferView_pimpl.C: remove enter/leaveView,
8171           use workHeight()
8172
8173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * BufferView.h:
8176         * BufferView.C:
8177         * BufferView2.C:
8178         * BufferView_pimpl.h:
8179         * BufferView_pimpl.C: only construct screen once,
8180           rename
8181
8182         * lyxrc.C: remove pointless comment
8183
8184 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8185
8186         * BufferView.h:
8187         * BufferView.C: remove active() and belowMouse()
8188
8189         * BufferView_pimpl.h:
8190         * BufferView_pimpl.C: use workarea() not workarea_,
8191           and make it use a scoped_ptr instead
8192
8193 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * lyx_gui.C: add debug message on BadWindow
8196
8197 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8198
8199         * sp_spell.C: fdopen is not part of the C++ standard.
8200
8201         * paragraph.C (InsetIterator): use >= instead of ==
8202
8203 2002-06-07  Angus Leeming  <leeming@lyx.org>
8204
8205         Fixes needed to compile with Compaq cxx 6.5.
8206         * BufferView_pimpl.C:
8207         * DepTable.C:
8208         * buffer.C:
8209         * converter.C:
8210         * encoding.C:
8211         * lyx_gui.C:
8212         * lyx_main.C:
8213         * lyxtextclasslist.C:
8214         * minibuffer.C:
8215         * sp_spell.C:
8216         * tabular_funcs.C:
8217         * vc-backend.C:
8218         all c-library variables have been moved into namespace std. Wrap
8219         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8220
8221         * lyxlength.C:
8222         * tabular-old.C:
8223         * tabular.C:
8224         Add a using std::abs declaration.
8225
8226         * kbmap.h (modifier_pair):
8227         * paragraph.h (InsetTable, InsetList):
8228         * lyxfont.h (FontBits):
8229         type definition made public.
8230
8231         * bufferlist.C (emergencyWriteAll): the compiler complains that
8232         there is more than one possible lyx::class_fun template to choose from.
8233         I re-named the void specialisation as lyx::void_class_fun.
8234
8235         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8236
8237         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8238         the compiler is is unable to find tostr in write_attribute.
8239
8240 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * buffer.C (sgmlError): hide #warning
8243
8244 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8245
8246         * xtl/*: get rid of xtl, which is not in use anyway
8247
8248         * LyXAction.C (init):
8249         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8250         were unimplemented xtl experimentation
8251
8252 2002-06-04  André Pönitz <poenitz@gmx.net>
8253
8254         * lyxfunc.C: disable array operation on simple formulae
8255
8256 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * converter.C: constify a bit
8259
8260 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8261
8262         * lyx_gui.C: check xforms version correctly
8263
8264 2002-04-30  Herbert Voss  <voss@lyx.org>
8265
8266         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8267         "keep" option
8268
8269 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8270
8271         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8272           attempt to register it with a VCS)
8273
8274 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * lyx_main.C (init): honor variables LYX_DIR_13x and
8277         LYX_USERDIR_13x
8278
8279 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8280
8281         * buffer.h:
8282         * buffer.C:
8283         * lyx_main.C: fix a crash on bad command line,
8284           and give a useful exit status on error
8285
8286         * lyxfunc.C (doImport): allow -i lyx to work
8287
8288 2002-03-30  André Pönitz <poenitz@gmx.net>
8289
8290         * lyxfunc.C: mathed font changes
8291
8292 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8293
8294         * LaTeX.C:
8295         * importer.h:
8296         * importer.C:
8297         * lyx_sty.h:
8298         * lyx_sty.C:
8299         * lyxlex.C:
8300         * lyxrow.h:
8301         * lyxtext.h:
8302         * paragraph.h:
8303         * paragraph.C:
8304         * texrow.h:
8305         * texrow.C:
8306         * text.C:
8307         * trans_mgr.h: srcdocs, and some minor cleanups
8308
8309 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8310
8311         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8312         call getFont all the time)
8313
8314 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8315
8316         * switch from SigC signals to boost::signals
8317
8318 2002-05-29  André Pönitz <poenitz@gmx.net>
8319
8320         * paragraph_pimpl.C (getChar): don't call size() too often...
8321
8322 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8323
8324         * paragraph_pimpl.C (insertChar): do not try to update tables when
8325         appending (pos == size())
8326
8327         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8328         in order to reduce drastically the number of comparisons needed to
8329         parse a large document
8330
8331 2002-05-29  André Pönitz <poenitz@gmx.net>
8332
8333         * text.C:
8334         * text2.C:
8335         * lyxtextclass.C:
8336         * sp_pspell.h:
8337         * textclasslist.[Ch]:
8338         * sp_ispell.h: whitespace change
8339
8340 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8343         lyxaction directly now.
8344
8345 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8346
8347         * trans.C:
8348         * lyxfont.C:
8349         * lyxvc.C: remove unused headers
8350
8351 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8352
8353         * Makefile.am:
8354         * buffer.h:
8355         * undostack.h:
8356         * undostack.C:
8357         * undo_funcs.h:
8358         * undo_funcs.C: some cleanups. Use shared_ptr
8359           and a template for the undo stacks.
8360
8361 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8362
8363         * BufferView_pimpl.h:
8364         * BufferView_pimpl.C:
8365         * kbmap.h:
8366         * kbmap.C:
8367         * kbsequence.h:
8368         * kbsequence.C:
8369         * lyxfunc.h:
8370         * lyxfunc.C:
8371         * text2.C: use key_state/mouse_state
8372
8373 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8376         and LSubstring
8377
8378         * chset.C: change include order
8379         (loadFile): use boost regex and get rid of LRegex and LSubstring
8380
8381         * Makefile.am (BOOST_LIBS): new variable
8382         (lyx_LDADD): use it
8383
8384         * LaTeX.C: change include order.
8385         (scanAuxFile): use boost regex and get rid of LRegex and
8386         LSubstring
8387         (deplog): ditto
8388
8389 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * ColorHandler.h:
8392         * ColorHandler.C:
8393         * FontInfo.h:
8394         * FontInfo.C: moved to frontends/xforms/
8395
8396         * FontLoader.h:
8397         * FontLoader.C: moved into frontends for GUIIzation
8398
8399         * Makefile.am:
8400         * lyx_gui.C:
8401         * lyxfont.C:
8402         * lyxfunc.C: changes from above
8403
8404 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * LColor.C: remove spurious X include
8407
8408         * BufferView_pimpl.C:
8409         * Makefile.am:
8410         * font.h:
8411         * font.C:
8412         * text.C:
8413         * text2.C: move font metrics to frontends/
8414
8415 2002-05-24  Juergen Vigna  <jug@sad.it>
8416
8417         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8418         setting the undo_cursor.
8419
8420         * ParagraphParameters.h: include local includes first.
8421
8422 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8423
8424         * BufferView_pimpl.C:
8425         * BufferView_pimpl.h:
8426         * Makefile.am:
8427         * WorkArea.h:
8428         * WorkArea.C:
8429         * screen.C: move WorkArea into frontends/
8430
8431         * lyxscreen.h:
8432         * screen.C:
8433         * text.C:
8434         * BufferView.C:
8435         * BufferView2.C: move LyXScreen into frontends/
8436
8437         * lyxlookup.h:
8438         * lyxlookup.C:
8439         * lyx_gui.C: move lyxlookup into frontends/xforms/
8440
8441 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * BufferView2.C:
8444         * BufferView_pimpl.C:
8445         * FontLoader.C:
8446         * LyXView.h:
8447         * LyXView.C:
8448         * Makefile.am:
8449         * WorkArea.C:
8450         * XFormsView.h:
8451         * XFormsView.C:
8452         * buffer.C:
8453         * bufferlist.C:
8454         * bufferview_funcs.C:
8455         * converter.C:
8456         * importer.C:
8457         * lyx_cb.C:
8458         * lyx_gui.C:
8459         * lyx_main.C:
8460         * lyx_find.C:
8461         * lyxfunc.C:
8462         * lyxvc.C:
8463         * minibuffer.C:
8464         * text.C:
8465         * text2.C:
8466         * trans.C:
8467         * vc-backend.C: move LyX/XFormsView into frontends/
8468
8469 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8470
8471         * Makefile.am:
8472         * PainterBase.C:
8473         * PainterBase.h:
8474         * Painter.C:
8475         * Painter.h:
8476         * WorkArea.C:
8477         * WorkArea.h:
8478         * screen.C:
8479         * tabular.C:
8480         * text.C:
8481         * text2.C: move Painter to frontends/
8482
8483 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8484
8485         * buffer.C: comment out some some code that depend upon lyx_format
8486         < 220
8487
8488         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8489         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8490
8491         * buffer.h (NO_COMPABILITY): turn off compability
8492
8493         * ColorHandler.C: include scoped_array.hpp
8494
8495         * font.C: Use more specific smart_ptr header.
8496         * Painter.C: ditto
8497         * gettext.C: ditto
8498         * ShareContainer.h: ditto
8499         * lyx_main.h: ditto
8500         * kbmap.h: ditto
8501         * FontInfo.h: ditto
8502         * BufferView_pimpl.h: ditto
8503         * ColorHandler.h: ditto
8504
8505         * kbmap.C (defkey): change call to shared_ptr::reset
8506
8507 2002-05-21  Juergen Vigna  <jug@sad.it>
8508
8509         * buffer.C (insertErtContents): fix to insert ert asis if it is
8510         non empty. Skip it completely if it contains only whitespaces.
8511
8512 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8513
8514         * BufferView_pimpl.C:
8515         * BufferView2.C: clear selection on paste (bug 393)
8516
8517 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8518
8519         * DepTable.C: include ctime
8520
8521 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8522
8523         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8524
8525 2002-05-14  Juergen Vigna  <jug@sad.it>
8526
8527         * text.C (breakParagraph): fixed function to honor the keepempty
8528         layout in the right maner and also to permit the right breaking
8529         algorithm on empty or non empyt keepempty paragraphs.
8530
8531         * paragraph.C (breakParagraph): we have to check also if the par
8532         is really empty (!size()) for isempty otherwise we do the wrong
8533         paragraph break.
8534
8535 2002-05-10  Juergen Vigna  <jug@sad.it>
8536
8537         * buffer.[Ch] : The following are only changes to the ert
8538         compatibility read reading old LaTeX layout and font stuff and
8539         convert it to ERTInsets.
8540
8541         * buffer.h: added isErtInset().
8542
8543         * buffer.C (struct ErtComp): add a fromlayout bool to check
8544         if we're inside a LaTeX layout.
8545         (isErtInset): new helper function.
8546         (insertErtContents): look for other ert insets before this one
8547         and insert the contents there, so that we don't have subsequent
8548         ERT insets with nothing between them. This way we create only one
8549         inset with multiple paragraphs. Also check if we don't insert only
8550         spaces ' ' as they are ignored anyway afterwards in the .tex file
8551         so if we have only spaces we will ignore this latex part in the
8552         new file.
8553         (parseSingleLyXformat2Token \\layout): better compatibility when
8554         reading layout-latex stuff.
8555         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8556         language tag.
8557         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8558         stuff after reading the inset only get the information back from
8559         the stack.
8560
8561 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8562
8563         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8564
8565         * LaTeXFeatures.C (getBabelOptions): New method.
8566
8567 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8568
8569         * BufferView_pimpl.C (Dispatch): work around missing argument for
8570         'layout'
8571
8572 2002-05-08  Juergen Vigna  <jug@sad.it>
8573
8574         * text.C (leftMargin): handle paragraph leftindent.
8575
8576         * paragraph.C (writeFile): write the new \\leftindent tag.
8577         (validate): handle leftindent code.
8578         (TeXEnvironment): handle paragraphleftindent code again.
8579
8580         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8581
8582         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8583         for paragrap_extra indent code and new token \\leftindent.
8584         (latexParagraphs): handle the leftindent as environment.
8585
8586         * ParameterStruct.h: added leftindent support.
8587
8588         * ParagraphParameters.C (leftIndent): added support functions for
8589         the paragraph left indent.
8590
8591         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8592         more appropriate.
8593
8594 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8595
8596         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8597         inside insetERT.
8598
8599         * text.C (computeBidiTables): No bidi in insetERT.
8600
8601         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8602         in RTL documents.
8603
8604 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * version.C.in: pre 5
8607
8608 2002-05-02  José Matos  <jamatos@fep.up.pt>
8609         * buffer.C (makeDocBookFile): white space changes, add newline to
8610         command styles.
8611         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8612
8613         * tabular.C (docBook): fix typo.
8614
8615 2002-05-03  Juergen Vigna  <jug@sad.it>
8616
8617         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8618         change in LyXText as we can not be sure it was not freed.
8619         (drawOneRow): remove unused code.
8620
8621         * text.C (drawInset): redo the calculation of the need_break_row as
8622         it could have a row which was already freed.
8623         (draw): look at the return value of drawInset and return false if
8624         it also returned false.
8625         (paintRowText): look at the return value of draw and return false if
8626         it also returned false.
8627
8628         * lyxtext.h: added bool return type to drawInset() and draw() so that
8629         if we have a change in the row so that the rowbreak has to be redone
8630         we abort drawing as it will be called again.
8631
8632 2002-05-02  Juergen Vigna  <jug@sad.it>
8633
8634         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8635         a change in the maintext also if we're inside an inset.
8636         (Dispatch): set the cursor again after a break line and after the
8637         screen has been updated as it could be we're in a different row.
8638
8639         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8640         to set the cursor behind the pargraph with > size().
8641         (setCursor): check also for the same paragraph when checking where
8642         to put the cursor if we have a NFR inset.
8643
8644         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8645         parts of layout read further up as it still was in the wrong
8646         position.
8647
8648 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8649
8650         * screen.C (drawFromTo): change sine fullRebreak always return
8651         true.
8652
8653         * buffer.C (parseSingleLyXformat2Token): reindent some
8654
8655         * BufferView_pimpl.C (update): change since fullRebreak always
8656         return true.
8657         (Dispatch): git rid of the last hardcoded "Standard"s.
8658
8659 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8660
8661         * text2.[Ch] (fullRebreak): make it return void now that we always
8662         returned true.
8663
8664 2002-04-30  Juergen Vigna  <jug@sad.it>
8665
8666         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8667         ert compatibility check for "latex" layout.
8668
8669 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8670
8671         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8672         minipages: use col% instead of p%, and also use the current font.
8673         (makeLaTeXFile): Fix use babel condition.
8674         (parseSingleLyXformat2Token): Correct font when reading old floats.
8675
8676 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8677
8678         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8679         inserting list of floats.
8680
8681 2002-04-25  Herbert Voss  <voss@lyx.org>
8682
8683         * MenuBackend.C (expand): don't add the graphics extensions to the
8684         export menu
8685
8686 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8687
8688         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8689         non-existing layout, do not complain if it was the default layout
8690         of the original class (bug #342)
8691
8692 2002-04-24  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8695         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8696
8697 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8698
8699         * buffer.C (getBibkeyList): If using \bibliography, return the
8700         option field with the reference itself. Enables us to provide natbib
8701         support when using \bibliography.
8702
8703 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8704
8705         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8706
8707         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8708         natbib is provided by the LaTeX class.
8709
8710 2002-04-23  Juergen Vigna  <jug@sad.it>
8711
8712         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8713         Wakeup functions.
8714
8715         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8716
8717 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8718
8719         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8720
8721         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8722         ensuremath around textordmasculine, textordfeminine and
8723         textdegree.
8724
8725 2002-04-19  Juergen Vigna  <jug@sad.it>
8726
8727         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8728         reinitializing the buffer otherwise row-dimensions may be wrong.
8729         (update): reset also the selection cursors if they do exits otherwise
8730         their x/y positions may be wrong.
8731
8732         * text2.C (cursorDown): don't enter the inset if we came from a row
8733         above and are one row over the inset.
8734
8735         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8736         really leaving an inset.
8737
8738 2002-04-18  Juergen Vigna  <jug@sad.it>
8739
8740         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8741         of the selected paragraph does not have the selected layout also if
8742         the last one had!
8743
8744         * text2.C (setLayout): fixed bug which did not change last selected
8745         paragraph.
8746
8747         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8748         changed the read and substituted \\end_float with \\end_inset!
8749
8750         * BufferView_pimpl.C (cursorPrevious):
8751         (cursorNext): fixed to make it work with rows heigher than the work
8752         area without moving the cursor only the draw of the row.
8753         (workAreaMotionNotify): fix jumping over high rows.
8754
8755 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8756
8757         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8758         Ressler.
8759
8760 2002-04-16  Juergen Vigna  <jug@sad.it>
8761
8762         * text2.C (setCursor): set also the irow().
8763         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8764         (cursorUp):
8765         (cursorDown): support for locking an inset if the x_fix value goes
8766         inside it. That way I can transverse insets too with cursor up/down.
8767
8768         * lyxrow.h: added irow helper function same as other (i) functions.
8769
8770         * BufferView_pimpl.C (cursorPrevious):
8771         (cursorNext): fixed for insets!
8772
8773 2002-04-15  Juergen Vigna  <jug@sad.it>
8774
8775         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8776         position otherwise it is wrong in some cases.
8777
8778         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8779         inside the inset before the call.
8780
8781 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8782
8783         * buffer.[Ch] (getBibkeyList): make it const.
8784
8785 2002-04-12  Juergen Vigna  <jug@sad.it>
8786
8787         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8788
8789         * text2.C (getCursorX): new helper function
8790         (setCursor): compute also ix_
8791         (setCursorFromCoordinates): set also ix.
8792
8793         * lyxcursor.h: added ix_ and helper functions.
8794
8795         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8796
8797         * buffer.C (insertStringAsLines): dont break paragraph if the this
8798         paragraph is inside an inset which does not permit it!
8799
8800         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8801         also with no chars on this paragraph.
8802         (paintRowText): only paint stuff if it's inside the workarea!
8803
8804         * paragraph.C (breakParagraph): honor keepempty flag and break the
8805         paragraph always below not above.
8806
8807         * BufferView2.C (unlockInset): update the paragraph layout on inset
8808         unlock as we changed paragraph in such a case.
8809
8810         * lyxfind.C (LyXFind): clear the former selection if not found!
8811
8812         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8813         again called in insertChar().
8814
8815         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8816         an inset which uses the whole row!
8817         (rightMargin): ditto.
8818         (insertChar): force a rebreak if we inserted an inset!
8819
8820 2002-03-28  Herbert Voss  <voss@lyx.org>
8821
8822         * lyxlength.[Ch]: add inBP() to get the right PS-point
8823         units (BigPoint). With inPixels we have rounding errors
8824
8825 2002-04-11  Juergen Vigna  <jug@sad.it>
8826
8827         * text2.C (setCursorFromCoordinates): set iy to the right value.
8828         (setCursor): add check if row->previous exists!
8829
8830         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8831         an old float_type as this was the case in the old code!
8832
8833         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8834
8835         * BufferView2.C (showLockedInsetCursor): use iy
8836         (fitLockedInsetCursor): ditto
8837
8838         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8839         locked insets as there we have the right value now.
8840
8841         * lyxcursor.C: added iy_ variable and iy functions to set to the
8842         baseline of cursor-y of the locked inset.
8843
8844         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8845         (setCursor): fixed for insets which need a full row.
8846
8847         * text.C (rowLastPrintable): don't ignore the last space when before
8848         an inset which needs a full row.
8849         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8850         as last character of a row when before a inset which needs a full row.
8851
8852 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8853
8854         * version.C.in: update date
8855
8856         * text2.C (fullRebreak): try to always return true and see what
8857         happens...
8858
8859 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * MenuBackend.C (expand): use Floating::listName
8862
8863         * FloatList.C (FloatList): add listName argument to the built-in
8864         floats
8865
8866         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8867         text associated with the float.
8868
8869 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8872
8873 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8874
8875         * ShareContainer.h: add a couple of missing typenames.
8876
8877 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8878
8879         * lyxrc.C (getDescription): use _() correctly rather than N_().
8880
8881 2002-03-28  Herbert Voss  <voss@lyx.org>
8882
8883         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8884         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8885
8886 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8889         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8890
8891 2002-03-29  Juergen Vigna  <jug@sad.it>
8892
8893         * lyxfunc.C (dispatch): add a missing fitCursor call.
8894
8895         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8896         it was scrolled by a cursor move, so return the bool status.
8897
8898         * BufferView.C (fitCursor): return the bool flag also to the outside
8899         world as this is needed.
8900
8901         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8902
8903         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8904         call the edit() as it is not needed (and wrong) IMO.
8905         (workAreaButtonPress): set the screen_first variable before evt.
8906         unlock the inset as this may change screen_first and then we have
8907         a wrong y position for the click!
8908
8909 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * MenuBackend.C (expand): another translation that I missed
8912
8913 2002-03-28  Juergen Vigna  <jug@sad.it>
8914
8915         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8916
8917         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8918
8919 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8922
8923         * MenuBackend.C (expand): fix export/view/update when there is no
8924         document open.
8925
8926 2002-03-27  Herbert Voss  <voss@lyx.org>
8927
8928         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8929         and text%
8930
8931 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * bufferview_funcs.C (currentState): only show paragraph number
8934         for is DEVEL_VERSION is set.
8935
8936         * lyxfunc.C (dispatch): put warning in INFO channel
8937
8938         * MenuBackend.C (expand): translate the name of floats
8939
8940         * FloatList.C (FloatList): mark the float names for translation
8941
8942         * converter.C (convert): use LibScriptSearch
8943
8944 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8945
8946         * MenuBackend.C (defaults): fix default menu (we might as well get
8947         rid of it...)
8948
8949 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8952         directory.
8953
8954 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8955
8956         * lyxvc.C: reorder includes.
8957
8958 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8961           properly
8962
8963 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * CutAndPaste.C: change layouts earlier on paste
8966           to avoid crashing when calling getFont()
8967
8968 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8969
8970         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8971         irritating #error.
8972
8973 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8974
8975         * WorkArea.C: remove 'Pending' debug message.
8976
8977         * most files: ws cleanup
8978
8979         * buffer.[Ch]: ws changes
8980
8981         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8982
8983 2002-03-21  Juergen Vigna  <jug@sad.it>
8984
8985         * tabular.C (SetMultiColumn): collapse also the contents of the
8986         cells and set the last border right. Added a Buffer const * param.
8987
8988 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8991         linking or not.
8992
8993 2002-03-19  Juergen Vigna  <jug@sad.it>
8994
8995         * text2.C (clearSelection): reset also xsel_cache.
8996
8997         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8998         where it needs to be called (John tells us to do so too :)
8999         (selectionLost): reset sel_cache.
9000
9001         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9002
9003 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * text2.C (setCursorIntern): put debuging code in INSETS channel
9006
9007 2002-03-19  André Pönitz <poenitz@gmx.net>
9008
9009         * lyxfunc.C: tiny whitespace change
9010
9011 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * ToolbarDefaults.C (init):
9014         * LyXAction.C (init):
9015         * commandtags.h:
9016         * BufferView_pimpl.C (Dispatch):
9017         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9018
9019 2002-03-19  Allan Rae  <rae@lyx.org>
9020
9021         * exporter.C (Export): removeAutoInsets before doing anything else.
9022         While I've just introduced a dependency on BufferView this really is
9023         the best place to clean the buffer otherwise you need to cleanup in
9024         a dozen places before calling export or cleanup in a dozen functions
9025         that export calls.
9026
9027         * converter.C (runLaTeX):
9028         (scanLog): Better handling of removeAutoInsets and screen updates.
9029
9030         * lyxfunc.C (dispatch): small whitespace changes
9031
9032 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9033
9034         * WorkArea.C (C_WorkAreaEvent): return a value.
9035         (event_cb): return 1 if we handled the event, 0 otherwise.
9036
9037         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9038
9039 2002-03-18  Juergen Vigna  <jug@sad.it>
9040
9041         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9042         (GetAdditionalWidth): ditto.
9043         (RightLine): ditto.
9044         (LeftLine): ditto.
9045
9046         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9047         inset if we're there actually (probably not used right now but this
9048         is the direction to go for unifying code).
9049         (paste): disable code to clear the selection.
9050
9051         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9052         inside an InsetText and move the check further up as it is in the
9053         wrong place.
9054
9055         * text2.C (pasteSelection): set a selection over the pasted text.
9056
9057 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9058
9059         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9060         and libgraphics to build on Cygwin.
9061
9062 2002-03-15  Juergen Vigna  <jug@sad.it>
9063
9064         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9065         inserting an Inset into the paragraph. I know this is not the best
9066         fix but we already use current_view in CutAndPaste so we will remove
9067         all of it's using at the same time.
9068
9069         * buffer.C (sgmlError): deactivated function till it is rewritten in
9070         the right mode, now it can create problems.
9071
9072         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9073         before accessing it.
9074
9075 2002-03-14  Juergen Vigna  <jug@sad.it>
9076
9077         * undo_funcs.C (textHandleUndo): do the right thing when updating
9078         the inset after the undo/redo.
9079
9080         * text2.C (setCursor): just some testcode for #44 not ready yet.
9081
9082         * undo_funcs.C (textHandleUndo): set the next() and previous()
9083         pointers of the paragraph to 0 before deleting otherwise we have
9084         problems with the Paragraph::[destructor].
9085
9086         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9087         on a paragraph insertion.
9088
9089 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9090
9091         * buffer.C (asciiParagraph): use += operator for char append to
9092         string.
9093
9094         * paragraph.C (getFontSettings): compare >= not just >
9095         (highestFontInRange): ditto
9096         (setFont): ditto
9097
9098 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9099
9100         * paragraph.C: change several algorithm to be more appripriate for
9101         the problem domain. This is lookip in FontList and in the InsetList.
9102
9103 2002-03-13  André Pönitz <poenitz@gmx.net>
9104
9105         * commandtags.h:
9106         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9107
9108 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * commandtags.h:
9111         * LyXAction.C:
9112         * lyxfunc.C:
9113         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9114
9115 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * Painter.C (display): anon helper function, adjust code for this
9118         change.
9119         (pixmap): remove function.
9120
9121         * Painter.h: remove private display variable.
9122
9123         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9124
9125 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9126
9127         * WorkArea.[Ch]: remove figinset_canvas cruft.
9128
9129 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * lyxtextclass.C (operator): add one item cache optimization.
9132
9133         * bufferlist.h: doxy changes
9134
9135         * bufferlist.C: ws changes
9136
9137         * DepTable.[Ch] (ext_exist): place const in the right spot.
9138
9139         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9140         call resizeInsets.
9141         (workAreaExpose): call resizeInsets when the with BufferView changes.
9142         (Dispatch): adjust for protectedBlank removal
9143         (specialChar): call updateInset if the insert went ok.
9144
9145         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9146         specialChar instead.
9147
9148         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9149
9150         * BufferView.h: doxy change
9151
9152         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9153
9154         * lyxtextclass.C (operator[]): remove non-const version
9155         (defaultLayout): remove non-const version
9156
9157 2002-03-12  Juergen Vigna  <jug@sad.it>
9158
9159         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9160         did resize the LyXText too.
9161
9162         * buffer.C (readLyXformat2): set layout information on newly allocated
9163         paragraphs.
9164
9165         * tabular.C (OldFormatRead): set layout information on the paragraph.
9166
9167 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9168
9169         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9170
9171 2002-03-11  Juergen Vigna  <jug@sad.it>
9172
9173         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9174         plainly wrong.
9175         (resizeCurrentBuffer): force also the insets to resize themselfes.
9176         (moveCursorUpdate): fixed up for InsetText.
9177
9178 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9179
9180         * commandtags.h:
9181         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9182         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9183         value of Dialogs::tooltipsEnabled().
9184         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9185
9186 2002-03-08  Juergen Vigna  <jug@sad.it>
9187
9188         * BufferView_pimpl.C (updateInset): update inset inside inset also
9189         if it isn't inside theLockingInset().
9190
9191 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9192
9193         * buffer.C (asciiParagraph): redo some of the word and line length
9194         handling.
9195         (getLists): look for Caption instead of caption.
9196
9197 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * buffer.C (Buffer): initialize niceFile to true
9200         (makeLaTeXFile):
9201         (makeLinuxDocFile):
9202         (makeDocBookFile): make sure niceFile is true on exit
9203
9204 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9207
9208 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9209
9210         * LyXSendto.C: remove.
9211         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9212         * lyx_gui.C: remove now-redundant comment.
9213         * ColorHandler.h: remove forward declaration of class WorkArea.
9214         * lyxfunc.C: remove #include "WorkArea.h".
9215
9216 2002-03-07  Juergen Vigna  <jug@sad.it>
9217
9218         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9219         got moved away with the DEPM and also set the inset_owner always
9220         right which before could have been omitted.
9221
9222 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9223
9224         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9225         wanted layout is not found.
9226
9227 2002-03-07  Juergen Vigna  <jug@sad.it>
9228
9229         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9230
9231 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9232
9233         * paragraph.C (breakParagraph): use default layout not layout of
9234         prev paragraph.
9235         (Paragraph): clear ParagraphParameters.
9236
9237 2002-03-06  Juergen Vigna  <jug@sad.it>
9238
9239         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9240         otherwise it would not be a valid lenght. Fixed a special case in
9241         the minipage compatibility read where we end the document with a
9242         minipage.
9243
9244         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9245         was set as it could be 0 for InsetTexts first entry.
9246
9247 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * paragraph.C (writeFile): if layout is empty write out
9250         defaultLayoutName().
9251
9252         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9253         file without named layout we set layout to defaultLayoutName().
9254
9255 2002-03-06  Juergen Vigna  <jug@sad.it>
9256
9257         * CutAndPaste.C (copySelection): set layout for new paragraph.
9258
9259         * text.C (prepareToPrint): leave ERT inset left aligned
9260         (leftMargin): don't indent paragraphs inside ERT insets
9261
9262 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * paragraph.C (breakParagraph): dont call clear do the work manually
9265
9266         * paragraph.[Ch] (clear): remove function
9267
9268 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9269
9270         * paragraph.C (Paragraph): dont call clear, the work has already
9271         been done.
9272
9273         * lyxtextclass.C (operator): assert if n is empty
9274
9275         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9276         work manually instead.
9277
9278 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9279
9280         * BufferView_pimpl.C: protect selectionLost against text == 0
9281
9282 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9283
9284         * text.C (breakParagraph): fix a setting layout to '0' problem.
9285
9286 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9287
9288         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9289         final location of file, for the included files, and graphics.
9290
9291 2002-03-05  Juergen Vigna  <jug@sad.it>
9292
9293         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9294
9295 2002-03-04  Juergen Vigna  <jug@sad.it>
9296
9297         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9298
9299         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9300         last column of multicolumn cells.
9301         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9302
9303 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9304
9305         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9306         file if it doesn't go to a temporary file.
9307
9308         * buffer.C (sgmlOpenTag):
9309         (sgmlCloseTag):  remove extra newline insertion.
9310
9311 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9312
9313         * text.C (getRowNearY): comment out debug msg
9314
9315 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * text2.C: first -> first_y
9318
9319         * text.C (getRowNearY): add some attemts at a possible
9320         optimization, not working.
9321
9322         * tabular.[Ch]: add BufferParams to several function so that newly
9323         created paragraph can be initialized to he default layotu for the
9324         buffers textclass.
9325
9326         * tabular-old.C (ReadOld): add buf->params to call of Init
9327
9328         * screen.C: rename text->first to text->first_y
9329
9330         * paragraph.C (breakParagraph): always set layout in the broken
9331         paragraph
9332
9333         * lyxtextclass.C (Read): remove lowercase
9334         (hasLayout): ditto
9335         (operator): ditto
9336         (delete_layout): ditto
9337
9338         * lyxtext.h: rename first -> first_y
9339
9340         * lyxlayout.C (Read): remove lowercase
9341         (name): ditto
9342         (setName): ditto
9343         (obsoleted_by): ditto
9344
9345         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9346
9347         * buffer.C (insertErtContents): add params are to InsetERT
9348         (parseSingleLyXformat2Token): add code to check if a paragraphs
9349         layout really exist.
9350         (parseSingleLyXformat2Token): add params to several inset
9351         constructors
9352         (asciiParagraph): remove lowercase, do the layout comparisons with
9353         no_case
9354
9355         * BufferView_pimpl.C (cursorNext): first -> first_y
9356         (resizeCurrentBuffer): first -> first_y
9357         (updateScrollbar): first -> first_y
9358         (scrollCB): first -> first_y
9359         (workAreaMotionNotify): first -> first_y
9360         (workAreaButtonPress): first -> first_y
9361         (checkInsetHit): first -> first_y
9362         (cursorPrevious): first -> first_y
9363         (cursorNext): first -> first_y
9364         (Dispatch): add buffer_->params to severl inset contructors
9365
9366 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9367
9368         * lyxlayout.C (Read): remove some debug info that I forgot.
9369
9370         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9371         clean up the code slightly.
9372         (makeLinuxDocFile): ditto
9373         (makeDocBookFile): ditto
9374
9375         * text2.C: layout as string
9376
9377         * text.C: layout as string
9378
9379         * paragraph_pimpl.C: layout as string
9380
9381         * paragraph.[Ch]: layout as string
9382
9383         * lyxtextclasslist.[Ch]: layout as string
9384
9385         * lyxtextclass.[Ch]: layout as string
9386
9387         * lyxtext.h: layout as string
9388
9389         * lyxlayout.[Ch]: layout as string
9390
9391         * lyx_cb.C: layout as string
9392
9393         * bufferview_funcs.C: layout as string
9394
9395         * bufferparams.C: layout as string
9396
9397         * buffer.C: layout as string
9398
9399         * LyXView.[Ch]: layout as string
9400
9401         * LaTeXFeatures.[Ch]: layout as string
9402
9403         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9404
9405         * BufferView_pimpl.C: change current_layout to string, remove
9406         lyx::layout_type.
9407         (Dispatch):
9408         (smartQuote):
9409         (insertInset):
9410         (workAreaButtonRelease): layout as string
9411
9412         * BufferView2.C (unlockInset): adjust
9413
9414         * vspace.C (asLatexCommand): use an explict temp variable.
9415
9416 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * Makefile.am: use FRONTEND_*
9419
9420 2002-03-01  Juergen Vigna  <jug@sad.it>
9421
9422         * tabular.C (SetWidthOfMulticolCell): changed to something better
9423         I hope but still work in progress.
9424         (recalculateMulticolumnsOfColumn): renamed function from
9425         recalculateMulticolCells as it is more appropriate now.
9426         (SetWidthOfCell): calculate multicols better.
9427
9428 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9431
9432         * lyxfunc.C (processKeySym): print sequence also if it is
9433         `deleted' (complete)
9434
9435         * kbsequence.C (print): print sequence even if it is deleted
9436         (complete would be a better word, actually).
9437
9438         * lyxfunc.C (dispatch): print complete options after a prefix key
9439
9440         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9441
9442 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9443
9444         * text2.C (setCharFont): eliminate setCharFont code duplication.
9445
9446 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9449         LFUN_TABULAR_FEATURE (bug #177)
9450
9451 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9452
9453         * Makefile.am: remove figure.h
9454
9455 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9456
9457         * Bufferview_pimpl.C:
9458         * CutAndPasteC:
9459         * LaTeX.C:
9460         * LyXSendto.C:
9461         * buffer.C:
9462         * bufferlist.C:
9463         * converter.C:
9464         * language.C:
9465         * lyxfunc.C:
9466         * lyxvc.C:
9467         * paragraph.C:
9468         * text.C:
9469         * text2.C: remove #include "lyx_gui_misc.h".
9470
9471         * LaTeX.C: added #include <cstdio>
9472
9473 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9474
9475         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9476         that the paragraph following this one can have.
9477
9478         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9479
9480         * vspace.C (asLatexCommand): fix bogus gcc warning
9481
9482         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9483
9484 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9485
9486         * text2.C (setLayout): get rid of redundant code
9487
9488 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9489
9490         * text2.C (incDepth): make sure depth cannot be increased beyond
9491         reasonable values.
9492
9493 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9494
9495         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9496         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9497
9498         * PainterBase.h (image):
9499         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9500         a LyXImage const *.
9501
9502 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * BufferView.C:
9505         * BufferView.h:
9506         * BufferView_pimpl.C:
9507         * BufferView_pimpl.h:
9508         * LaTeXFeatures.C:
9509         * LyXAction.C:
9510         * LyXView.C:
9511         * Makefile.am:
9512         * UpdateList.h:
9513         * UpdateList.C:
9514         * buffer.C:
9515         * figure.h:
9516         * figureForm.C:
9517         * figureForm.h:
9518         * figure_form.C:
9519         * figure_form.h:
9520         * lyx_cb.C:
9521         * lyx_gui.C:
9522         * lyx_gui_misc.C:
9523         * lyxfunc.C:
9524         * sp_base.h:
9525         * sp_ispell.h:
9526         * sp_pspell.h:
9527         * sp_spell.C: remove fig inset, and the crap house of
9528           cards that follows it
9529
9530 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * Makefile.am:
9533         * lyxserver.C:
9534         * os2_defines.h:
9535         * os2_errortable.h:
9536         * nt_defines.h: move .h into support/
9537
9538         * vms_defines.h: remove
9539
9540         * WorkArea.C: add space in debug output
9541
9542         * text2.C:
9543         * paragraph.C:
9544         * buffer.C: add WITH_WARNINGS
9545
9546         * vc-backend.h:
9547         * vc-backend.C:
9548         * bufferlist.C: s/retrive/retrieve/, add docs
9549
9550         * vspace.h:
9551         * vspace.C:
9552         * kbmap.h:
9553         * lyxlength.h:
9554         * lyxgluelength.h:
9555         * length_common.h:
9556         * chset.h:
9557         * chset.C: add docs
9558
9559         * lyxgui.C: add ID to X error handler
9560
9561         * lyxtestclass.c: fix typo
9562
9563 2002-02-26  Juergen Vigna  <jug@sad.it>
9564
9565         * tabular_funcs.C (write_attribute): changed so that some default
9566         attributes are not written at all.
9567         (getTokenValue): set default values before trying to read the
9568         value so we have the return value always set as default if we don't
9569         find the token we search for.
9570
9571         * tabular.C (Write): write bools as bools not as strings!
9572
9573 2002-02-22  Juergen Vigna  <jug@sad.it>
9574
9575         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9576         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9577
9578         * text.C (leftMargin): don't add an indent for paragraphs inside
9579         tabular cells (fix #208).
9580
9581 2002-02-21  José Matos  <jamatos@fep.up.pt>
9582
9583         * tabular.C (docBook): fixed support for long tables.
9584
9585 2002-02-20  Juergen Vigna  <jug@sad.it>
9586
9587         * text2.C (getFont): get the drawing font of the Inset if this
9588         paragraph is inside an inset (only important for InsetERT for now).
9589
9590         * buffer.C (insertErtContents): use new lanugage params in ERT
9591         constructor.
9592
9593         * CutAndPaste.C: commenting out seemingly uneeded code.
9594
9595 2002-02-19  Allan Rae  <rae@lyx.org>
9596
9597         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9598         Iterators might be simple to use but they also get invalidated.
9599         (removeAutoInsets): renamed saved cursor tracking variables and added
9600         some comments to clarify what everything does.
9601
9602 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9603
9604         * Chktex.C:
9605         * LaTeX.C:
9606         * LyXSendto.C:
9607         * converter.C:
9608         * lyx_cb.C:
9609         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9610         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9611
9612         * lyxfunc.C:
9613         * vc-backend.h: remove #include "support/syscall.h"
9614
9615         * LaTeX.C:
9616         * LyXSendto.C:
9617         * converter.C: rearrange #includes in Lars' approved fashion.
9618
9619         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9620         forward declare class Timeout in the header file.
9621
9622         * XFormsView.C: changes due to the above.
9623
9624         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9625         similar to LyXView.
9626
9627         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9628         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9629
9630 2002-02-18  José Matos  <jamatos@fep.up.pt>
9631
9632         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9633         insets contents.
9634
9635 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9636
9637         * a lot of small ws changes
9638         * add a lot of using std::XXX
9639         * use std construcs some places where approp.
9640         * use some exisint stuff from lyxfunctional where approp.
9641         * Make file changes to use partial linking (lets test this now...)
9642
9643 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9644
9645         * Chktex.C:
9646         * buffer.C:
9647         remove #include "support/syscontr.h" as it's redundant. Always has been.
9648
9649         * Chktex.C:
9650         * LaTeX.C:
9651         * LyXSendto.C:
9652         * converter.C:
9653         * lyx_cb.C:
9654         * vc-backend.C:
9655         change Systemcalls::System to Systemcalls::Wait and
9656         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9657         No change of functionality, just reflects the stripped down Systemcalls
9658         class.
9659
9660 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9661
9662         * debug.[Ch]: add a GRAPHICS type to the enum.
9663
9664 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9665
9666         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9667
9668         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9669         there is an inset.
9670
9671 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9674         match the changes below.
9675
9676         * text2.C (toggleInset): if there is not editable inset at cursor
9677         position, try to see if cursor is _inside_ a collapsable inset
9678         and close it.
9679
9680 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9683         document menu has a nice checkbox
9684
9685 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * lyxlength.C (asLatexString): change PW to output as percent of
9688         \textwidth.
9689
9690         * lengthcommon.C: change '%' to 't%'
9691
9692         * lyxfunc.C (dispatch): a few comments from Martin
9693
9694 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9695
9696         * WorkArea.h:
9697         * WorkArea.C:
9698         * BufferView_pimpl.h:
9699         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9700           the X selection.
9701
9702 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * vspace.C (inPixels): fix compiler warning
9705
9706 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyxfunc.C (getStatus): fix status message for disabled commands.
9709
9710 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9711
9712         * BufferView_pimpl.C: fix crash on close buffer
9713         during selection (#227)
9714
9715 2002-01-27  Herbert Voss  <voss@lyx.org>
9716
9717         * buffer.C: link old Figure to new graphic inset
9718
9719 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9720
9721         * FontLoader.C (getFontinfo): Change the latex font names in order
9722         to match the names of type1inst.
9723
9724 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9727
9728         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9729         (extchanged): ditto
9730         (ext_exist): ditto
9731         (remove_files_with_extension): ditto
9732         (remove_file): ditto
9733         (write): ditto
9734
9735         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9736         document is smaller than the work area height. Do not initialize
9737         static variables to 0.
9738
9739 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9740
9741         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9742
9743         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9744         LFUN_LAYOUT_PARAGRAPHS.
9745
9746         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9747         tabular. It is possible to provide a possible cell, which will
9748         typically be the actcell from the corresponding insettabular
9749
9750         * lyxfunc.C (getStatus): small cleanup; disable
9751         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9752         true
9753
9754 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9757
9758         * paragraph.C (startTeXParParams):
9759         (endTeXParParams): new methods. The LaTeX code to
9760         start/end paragraph formatting
9761         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9762         empty (fixes bug #200)
9763
9764         * vspace.C (inPixels): adapt to the change below
9765         (inPixels): [later] more cleanups (remove unused variables)
9766
9767         * lyxlength.C (inPixels): change to use a width and a height as
9768         parameter.
9769
9770 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9771
9772         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9773         Replaced with \paperwidth
9774
9775         * DepTable.C (insert): add std:: qualifier
9776
9777 2002-01-18  Allan Rae  <rae@lyx.org>
9778
9779         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9780         updated also?
9781
9782         * text.C (drawInset): Turned out I didn't know enough about how
9783         rebreaking worked.  This fixes most of the redraw problems.  I see
9784         an occasional cursor trail when a line is broken now and the cursor
9785         placement can seem out by a few pixels also after a rebreak.
9786
9787 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9788
9789         * buffer.C (parseSingleLyXformat2Token): update because minipage
9790         width is now a LyXLength
9791
9792         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9793
9794         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9795         math insets
9796
9797 2002-01-17  Juergen Vigna  <jug@sad.it>
9798
9799         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9800
9801         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9802         is set correctly and the inset is updated correctly.
9803
9804 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9807         the beginning of the loop.
9808
9809 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * lyxrc.C: improve help for use_scalable_fonts
9812
9813 2002-01-17  Allan Rae  <rae@lyx.org>
9814
9815         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9816
9817 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9818
9819         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9820         make sure to set their inset_owner to the right value (bug #171)
9821
9822 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9823
9824         * DepTable.h
9825         * DepTable.C: Implement mtime checking to reduce time spent doing
9826         CRCs.
9827
9828 2002-01-16  Juergen Vigna  <jug@sad.it>
9829
9830         * tabular.C (GetAdditionalHeight): one of error fixed.
9831
9832         * lyxrc.C (output): small fix in writing use_pspell.
9833
9834 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9835
9836         * sp_base.h: #include LString.h
9837
9838 2002-01-16  Allan Rae  <rae@lyx.org>
9839
9840         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9841         Can someone check this please?
9842
9843         * text.C (drawInset): It was possible that p.row would be removed by
9844         breakAgainOneRow upsetting a few other settings.  There may be another
9845         small tweak possible by setting need_break_row = 0 when p.row has been
9846         removed but I don't know enough about the logic here.
9847
9848 2002-01-15  Allan Rae  <rae@lyx.org>
9849
9850         * text.C (insertChar): removed conditional truism.
9851
9852         * BufferView2.C (removeAutoInsets): More tweaks.
9853         cur_par_prev could be a stray pointer.  Check for trailing empty line
9854         in case last line was cur_par and only had an error inset on it.
9855
9856 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9857
9858         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9859         absolute
9860
9861         * vc-backend.C (most methods):
9862         * exporter.C (Export):
9863         * converter.C (convert):
9864         (runLaTeX):
9865         * LyXSendto.C (SendtoApplyCB):
9866         * lyxfunc.C (dispatch):
9867         (menuNew):
9868         (open):
9869         (doImport):
9870         * lyx_cb.C (AutoSave):
9871         (InsertAsciiFile):
9872         * BufferView_pimpl.C (MenuInsertLyXFile):
9873         * buffer.C (runChktex): use Buffer::filePath().
9874
9875         * buffer.h: rename filename to filename_; rename filepath to
9876         filepath_ and make it private
9877         (filePath): new method
9878
9879         * buffer.C (writeFile): use fileName()
9880         (getLatexName):
9881
9882         * lyx_main.C (init): fix starting  of LyX when the binary is a
9883         link from so,ewhere else.
9884
9885         * minibuffer.C: include <cctype> for isprint
9886
9887 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9888
9889         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9890         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9891         name clash with InsetCollapsable's width function.
9892
9893 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * lastfiles.C: include <iterator>
9896
9897 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9898
9899         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9900         std::count.
9901
9902         * buffer.C (makeLaTeXFile): ditto.
9903         Also make loop operation more transparent.
9904
9905 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9906
9907         * ToolbarDefaults.C: remove trailing comma closing namespace.
9908
9909         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9910
9911         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9912         as in WorkArea.
9913
9914         * trans.C (Load): comment out unused variable, allowed.
9915
9916 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9917
9918         * minibuffer.[Ch] (append_char): new method to recieve input from the
9919         drop-down completion browser. If a key was pressed, then recieve this
9920         char and append it to the existing string.
9921         (peek_event): modify the positioning data passed to the completion
9922         browser so that it can be placed above the minibuffer rather than below.
9923 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9924
9925         * LyXAction.C (init): alloe error-next for readonly documents.
9926
9927         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9928         count.
9929
9930 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9931
9932         * bufferlist.C (readFile): create the buffer _after_ checking that
9933         the file exists.
9934
9935         * lyxfunc.C (verboseDispatch): fix handling of arguments
9936
9937         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9938
9939         * lyxrc.C: use string::erase() instead of initializing to "".
9940
9941
9942 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * BufferView_pimpl.h:
9945         * BufferView_pimpl.C:
9946         * WorkArea.h:
9947         * WorkArea.C:
9948         * text2.C: tell X when we have made a selection for copying
9949
9950 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * BufferView_pimpl.C (MenuInsertLyXFile):
9953         * lyxfunc.C (menuNew):
9954         (open):
9955         (doImport): add shortcuts to directory buttons
9956
9957         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9958         open a float)
9959
9960         * lyxfunc.C (setStatusMessage):
9961         (getStatusMessage): new methods
9962         (getStatus):use setStatusMessage instead of setErrorMessage
9963         (dispatch): when function is disabled, set error message here
9964         [instead of in getStatus previously]
9965
9966         * BufferView_pimpl.C (workAreaButtonRelease): update
9967         toolbar/menubar here too.
9968
9969 2002-01-13  Allan Rae  <rae@lyx.org>
9970
9971         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9972         Now seems indestructible.  Remaining task is to audit all other
9973         code affected by deleteEmptyParagraphMechanism.  One small quirk
9974         left is that an empty document with an error in the preamble can
9975         be made to report an error but no error box appears.  I don't know
9976         where it goes.
9977         (removeAutoInsets): Improved comments.
9978
9979 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * Thesaurus.h:
9982         * Thesaurus.C: update for Aiksaurus 0.14
9983
9984 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * text2.C (firstParagraph): removed member function, all uses
9987         replaces with ownerParagraph
9988         (redoParagraphs): here
9989         (updateInset): here
9990         (toggleAppendix): here
9991         * BufferView2.C (insertErrors): here
9992         (setCursorFromRow): here
9993
9994 2002-01-13  Allan Rae  <rae@lyx.org>
9995
9996         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9997         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9998         There is still a way to segfault this although you may have to do this
9999         multiple times: Have an InsetERT with an unknown command in it.
10000         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10001         <down-arrow>, <Enter> again, View->DVI, BANG!
10002
10003         * text2.C (setCursor):
10004         (deleteEmptyParagraphMechanism):
10005         * lyxtext.h (setCursor):
10006         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10007         Making use of the return value may help fix other bugs.
10008
10009 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10012
10013         * LyXView.C (updateMenubar): call MenuBar::update here
10014         (updateToolbar): but not here
10015         (showState): do not update toolbar/menubar
10016
10017         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10018         should need to care about that.
10019
10020         * lyxfunc.C (verboseDispatch): simplify a bit
10021         (getStatus): have a version which takes a pseudoaction, and
10022         another which requires a (kb_action,string).
10023
10024         * LyXAction.C (retrieveActionArg): make it work also when action
10025         is not a pseudo-action.
10026         (getActionName): simplify a bit
10027         (helpText):
10028
10029 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * lyxfunc.C (verboseDispatch): new families of methods with
10032         several ways to specify a command and a bool to indicate whether
10033         the command name and shortcut should be displayed in minibuffer
10034         (eventually, we could extend that to a finer bitmask like
10035         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10036         (dispatch): the pristine dispatch command which just, well,
10037         dispatchs! Note it still sets its result to minibuffer; I'm not
10038         sure we want that.
10039
10040         * lyxfunc.h: remove setHintMessage
10041
10042         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10043
10044 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * BufferView_pimpl.C (specialChar): delete new inset if we have
10047         not been able to insert it.
10048
10049         * kbmap.C: revert to using int instead of kb_action, since all we
10050         are dealing with is pseudo-actions.
10051
10052         * LyXAction.C (searchActionArg): change to return int instead of
10053         kb_action, since the result is a pseudoaction.
10054
10055 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10056
10057         * buffer.C (insertErtContents): Fix (partially) the font bug.
10058
10059 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10060
10061         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10062         as the other one is broken on my machine!
10063
10064 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10065
10066         * commandtags.h:
10067         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10068
10069 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10070
10071         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10072         reflect their actual use. Provide compatibility code for older lyxrc
10073         files.
10074
10075         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10076         FL_NORMAL_STYLE.
10077         change names of popup font variables in line with the changes to lyxrc.C
10078
10079 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10080
10081         * buffer.C (asciiParagraph): avoid outputing a word twice after
10082         an inset.
10083
10084         * lyxrc.C (getDescription): document that document_path and
10085         template_path can be empty.
10086
10087 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * LaTeXFeatures.C (getMacros):
10090         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10091
10092         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10093
10094         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10095         getPackages.
10096         (getPackages): rename feature "floats" to "float". Use an array to
10097         iterate over 'simple' features (i.e. just a \usepackage). Add
10098         handling of "amsmath" (renamed from "amsstyle").
10099
10100 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10101
10102         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10103         features list.
10104
10105 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10106
10107         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10108         FuncStaus::FuncStatus & FuncStaus::some_method().
10109
10110 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10111
10112         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10113         of the func_satus stuff. Edited and massaged in various ways by
10114         JMarc.
10115
10116         * lyxfunc.C (getStatus): use FuncStatus
10117
10118 2002-01-08  Juergen Vigna  <jug@sad.it>
10119
10120         * text.C (nextBreakPoint): use function Inset::isChar().
10121
10122         * paragraph.C (TeXOnePar): use function
10123         Inset::forceDefaultParagraphs.
10124
10125         * buffer.C (latexParagraphs): use function
10126         Inset::forceDefaultParagraphs.
10127
10128 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10129
10130         * lyx_gui.C (init): set the style of the menu popups to
10131         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10132
10133 2002-01-07  Juergen Vigna  <jug@sad.it>
10134
10135         * text.C (setHeightOfRow): small fix
10136         (prepareToPrint): don't look at alignment if we don't have the place
10137         for doing it.
10138
10139 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10140
10141         * box.C: New file. Move the Box methods and functions out of box.h,
10142         following Lars' suggestion.
10143
10144 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10145
10146         * box.h: #include "support/LOstream.h", needed for inlined function.
10147
10148         * lyxtextclass.C:
10149         * lyxtextclasslist.C: added some using std declarations.
10150
10151 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * box.h: make signed dimensions to allow insets wider than
10154           the screen (bug #162)
10155
10156         * BufferView_pimpl.C: add some insetHit debug
10157
10158 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * vc-backend.C: add FIXME
10161
10162 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * lyxfunc.C (getStatus): enable code for showing math font status
10165         in toolbar/menu.
10166
10167 2002-01-07  Juergen Vigna  <jug@sad.it>
10168
10169         * text.C (nextBreakPoint): removed debug output not needed anymore.
10170
10171 2002-01-06  Juergen Vigna  <jug@sad.it>
10172
10173         * text.C (nextBreakPoint): fixed up this function we had this bug
10174         since ever but now hopefully we break row better.
10175         (insertChar): we have to check if an inset is the next char as it
10176         could now happen that a large inset is causing a break.
10177
10178 2002-01-05  Juergen Vigna  <jug@sad.it>
10179
10180         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10181         if it doesn't like to be drawed.
10182
10183 2002-01-04  Juergen Vigna  <jug@sad.it>
10184
10185         * BufferView2.C (lockInset): forgot to set a cursor.
10186
10187         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10188
10189 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10190
10191         * FormMathsPanel.C:
10192         * FormMathsPanel.h
10193         * MathsSymbols.C:
10194         * form_maths_panel.C:
10195         * form_maths_panel.h:
10196         * form_maths_panel.fd: implemented sub- and super- buttons in math
10197         panel.
10198
10199         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10200         (or ^ space) to be used as in TeX (req'd by André).
10201
10202         * lyxfunc.C: Allow ^ and _ again to be used both as
10203         super/subscript (mathed) and as themselves (in text).
10204
10205 2002-01-03  Allan Rae  <rae@lyx.org>
10206
10207         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10208         "LyX" or the filename of the current buffer if it has one.  This is a
10209         modified form of John Levon's patch.
10210
10211         * XFormsView.C (setWindowTitle): also set icon title.
10212
10213         * LyXView.h (setWindowTitle): signature changed.
10214         * XFormsView.h (setWindowTitle): ditto.
10215
10216 2002-01-02  Juergen Vigna  <jug@sad.it>
10217
10218         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10219
10220 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * screen.C (topCursorVisible): introduce a temp var for
10223         text->cursor.row(), handle the case where this row is null. (kindo
10224         hachish)
10225
10226         * text2.C (setCursor): add a couple of asserts.
10227
10228         * paragraph.h (inset_iterator): add -> operator
10229
10230         * paragraph.[Ch] (autoDeleteInsets): remove member function
10231
10232         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10233         cursor pos correctly and handle inset deletion by itself.
10234         (insertErrors): move iterator declaration out of for expression
10235
10236         * lyxtextclass.C: add <algorithm>
10237
10238         * Makefile.am: added the new files to sources, removed layout.C
10239
10240         * layout.C: removed file
10241
10242         * layout.h: remove LYX_DUMMY_LAYOUT
10243
10244         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10245         layout.
10246
10247         * lyxlayout.[Ch]:
10248         * lyxtextclass.[Ch]:
10249         * lyxtextclasslist.[Ch]: new files
10250
10251         * include order changes to a lot of files, also changes because of
10252         the six new files.
10253
10254 2001-12-27  Juergen Vigna  <jug@sad.it>
10255
10256         * buffer.C (asciiParagraph): more fixes.
10257
10258         * tabular.C (ascii): make ascii export support export of only the
10259         data separated by a column-delimiter.
10260         (ascii): better support for ascii export.
10261
10262         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10263
10264 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10265
10266         * tabular_funcs.C: use a "using std::getline" instead of the
10267         previous fix from Angus (necessary for cxx + lyxstring)
10268
10269 2001-12-24  Juergen Vigna  <jug@sad.it>
10270
10271         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10272
10273         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10274         problems. First check a minipage also if we have some ert-contents
10275         (not only on par->size(), second set the right depth of the paragraph
10276         on the relink to the root-paragraph-list!
10277
10278         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10279         which then did not anymore update the main paragraphs on undo/redo!
10280
10281 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10284         code. Support all font-changing funcs (even those which are not in
10285         menu currently). Support for reporting font settings in
10286         mathed (disabled until Andre provides a function on mathed's side).
10287
10288         * func_status.h (toggle): small helper function to set toggle
10289         state on a flag.
10290
10291 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * tabular_funcs.C: getline -> std::getline
10294
10295 2001-12-21  Juergen Vigna  <jug@sad.it>
10296
10297         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10298         accessed and could be 0 (I couldn't generate this but it seems
10299         Michael could!).
10300
10301 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10304         * tabular_funcs.h: here and include iosfwd
10305
10306 2001-12-20  Juergen Vigna  <jug@sad.it>
10307
10308         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10309         inside inset but undo_par was.
10310
10311 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * Thesaurus.C: always include <config.h> in sources.
10314
10315         * Painter.h:
10316         * lyxlookup.h:
10317         * box.h: do not include <config.h> in header files
10318
10319         * text.C (paintLastRow): remove unused variable
10320
10321         * text.C (transformChar):
10322         (insertChar):
10323         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10324
10325         * Painter.C (text):
10326         * font.C (width): rewrite to use uppercase() instead of
10327         islower/toupper.
10328
10329         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10330
10331 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * lyxfind.C: clean up of find failure position change
10334
10335 2001-12-20  Juergen Vigna  <jug@sad.it>
10336
10337         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10338
10339         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10340         (TeXRow): added to LaTeX a single tabular row.
10341         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10342         (Latex): simplified and finally good LT-h/f support.
10343         (various_functions): just small adaptions for LT-h/f support.
10344
10345         * tabular_funcs.[hC]: added and moved here all not classfunctions
10346         of LyXTabular.
10347
10348 2001-12-19  Juergen Vigna  <jug@sad.it>
10349
10350         * tabular.[Ch]: better support for longtabular options (not finished
10351         yet!)
10352
10353 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * text.C (paintLastRow): use the label font instead of the font of
10356         the last character to compute the size of *_BOX. This makes more
10357         sense and avoids a crash with empty paragraphs.
10358         Use Painter::rectangle to draw EMPTY_BOX.
10359
10360 2001-12-19  Juergen Vigna  <jug@sad.it>
10361
10362         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10363         the paragraphs if the replaced paragraph is not the first one!
10364         Tried to delete not used paragraphs but does not work yet so for
10365         now it's inside #ifdef's and by default off!
10366
10367 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * MenuBackend.C: include "lyx_main.h" instead of declaring
10370         lastfiles (actually was declared as LastFiles* instead of a
10371         scoped_ptr).
10372
10373 2001-12-17  Juergen Vigna  <jug@sad.it>
10374
10375         * tabular.C (AppendColumn): applied John's fix
10376
10377 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * BufferView.h:
10380         * BufferView.C:
10381         * BufferView_pimpl.h:
10382         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10383
10384         * Makefile.am:
10385         * box.h: new start of class for above
10386
10387         * lyxfunc.C: ignore space-only minibuffer dispatches.
10388           Show the command name when it doesn't exist
10389
10390         * minibuffer.C: don't add empty lines to the history
10391
10392         * minibuffer.C: add a space on dropdown completion
10393
10394 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * text.C: fix line above/below drawing in insets
10397
10398 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10399
10400         * lyxlength.C (LyXLength): Initialize private variables.
10401
10402 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10403
10404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10405         when inserting error insets.
10406
10407 2001-12-13  Juergen Vigna  <jug@sad.it>
10408
10409         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10410         actually sometimes the before-paragraph.
10411         (setUndo): don't clear the redostack if we're not actually undoing!
10412
10413 2001-12-06  Juergen Vigna  <jug@sad.it>
10414
10415         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10416         and fixed redoing of main paragraph, so we can use it now ;)
10417
10418         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10419
10420 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10423         Juergen's request
10424
10425 2001-12-13  André Pönitz <poenitz@gmx.net>
10426
10427         * undostack.[Ch]:
10428         * undo_func.C: minor cleanup
10429
10430 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10433         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10434         font in urw-fonts package which is marked as -urw-fontspecific and
10435         does not work (incidentally, changing the encoding in the
10436         fonts.dir of this package to -adobe-fontspecific fixes the
10437         problem).
10438
10439         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10440         is a crash when undoing first paragraph (Juergen, please take a
10441         look). THis does not mean the undo fix is wrong, just that it
10442         uncovers problems.
10443
10444         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10445         the (Paragraph*) version when needed instead of duplicating the
10446         code.
10447
10448         * text.C (workWidth): use Inset::parOwner to find out where the
10449         inset has been inserted. This is a huge performance gain for large
10450         documents with lots of insets. If Inset::parOwner is not set, fall
10451         back on the brute force method
10452
10453         * paragraph_pimpl.C (insertInset):
10454         * paragraph.C (Paragraph):
10455         (cutIntoMinibuffer): set parOwner of insets when
10456         inserting/removing them
10457
10458         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10459
10460 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10461
10462         * commandtags.h:
10463         * LyXAction.C:
10464         * lyx_main.C:
10465         * lyxfunc.C:
10466         * mathed/formulabase.C:
10467         * mathed/math_cursor.[Ch]:
10468         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10469
10470
10471 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10472
10473         * lyxlength.[Ch] (operator!=): new function
10474
10475 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10476
10477         * text.C (workWidth): use Inset::parOwner to find out where the
10478         inset has been inserted. This is a huge performance gain for large
10479         documents with lots of insets. If Inset::parOwner is not set, fall
10480         back on the brute force method
10481
10482         * paragraph_pimpl.C (insertInset):
10483         * paragraph.C (Paragraph):
10484         (cutIntoMinibuffer): set parOwner of insets when
10485         inserting/removing them
10486
10487         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10488
10489 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * tabular-old.C (getTokenValue):
10492         * tabular.C (getTokenValue):
10493         (write_attribute): new versions for LyXLength
10494         (everywhere): adjust the use of widths
10495
10496         * tabular.h: change the type of widths from string to LyXLength
10497
10498 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10499
10500         * paragraph.C: fixed missing line number count when exporting
10501         Environments to LaTeX file
10502
10503         * buffer.C: added informational message for checking line numbers.
10504
10505 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10508         paragraph, do the 'double space' part, but not the 'empty
10509         paragraph' one.
10510
10511         * text.C (workWidth): small optimization
10512         (getLengthMarkerHeight): use minimal size for negative lengths.
10513
10514 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10515
10516         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10517
10518         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10519
10520 2001-12-11  André Pönitz <poenitz@gmx.net>
10521
10522         * FontLoader.C:
10523         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10524
10525 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * text2.C: keep selection on a setFont()
10528
10529 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * lyx_cb.C: another bv->text misuse, from insert label
10532
10533 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * kbsequence.h:
10536         * kbsequence.C: re-instate nmodifier mask
10537
10538 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10539
10540         * lyx_main.h: make lyxGUI private.
10541
10542 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * lyxfind.C: place the cursor correctly on failed search
10545
10546 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * text.C (getLengthMarkerHeight): for small heights, the arrows
10549         are not always on top/bottom of the text
10550         (drawLengthMarker): smaller arrows; take the left margin in
10551         account; draw also vfills.
10552         (paintFirstRow):
10553         (paintLastRow): remove special code for vfill and standard spaces,
10554         since everything is handled in drawLengthMarker now.
10555
10556 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * buffer.C (insertErtContents): try to handle font and language
10559         interaction a bit better.g
10560
10561         * ColorHandler.C (updateColor): change the hash to cover the whole
10562         LColor enum, ws cleanup
10563         (getGCLinepars): ditto
10564         (getGCLinepars): only lookup in the linecache once.
10565
10566 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * iterators.C (operator++): Make the iterator more robust
10569
10570         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10571         (John's patch)
10572         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10573
10574 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * lyxtext.h:
10577         * text.C: better added space drawing
10578
10579 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * LyXView.C:
10582         * BufferView2.C: fix layout combo update on inset unlock
10583
10584 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * Makefile.am: don't compile unused files
10587
10588 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyxfunc.C:
10591         * commandtags.h:
10592         * LyXAction.C: remove old LFUN_LAYOUTNO
10593
10594 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * paragraph_pimpl.h:
10597         * paragraph_pimpl.C: isTextAt() doesn't need font param
10598
10599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * lyxlex.h:
10602         * lyxlex.C: little cleanup
10603
10604 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * BufferView_pimpl.C: fix insertAscii for insets
10607
10608 2001-12-05  Juergen Vigna  <jug@sad.it>
10609
10610         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10611         set the right font on the "multi" paragraph paste!
10612
10613 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * trans_decl.h:
10616         * trans_mgr.[Ch]:
10617         * trans.[Ch]:
10618         * lyxgluelength.C:
10619         * lyxlength.C: remove out-commented code.
10620
10621         * BufferView_pimpl:
10622         * CutAndPaste.C:
10623         * DepTable.C:
10624         * buffer.C:
10625         * chset.C:
10626         * lastfiles.C:
10627         * lyxlex.C:
10628         * lyxlex_pimpl.C:
10629         * lyxserver.C:
10630         * screen.C:
10631         * tabular-old.C:
10632         * tabular.C:
10633         * text.C:
10634         * trans_mgr.C:
10635         * vc-backend.C: change "while(" to "while ("
10636
10637         * lyxlength.[Ch]: add zero function to check if length is zero or
10638         not
10639         * lyxgluelength.C: use it
10640
10641 2001-12-05  Allan Rae  <rae@lyx.org>
10642
10643         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10644         Works for 2.95.3, from what I understand of Garst's reports this should
10645         work for other g++ versions.  We're screwed if the abs(int) definition
10646         changed between bugfix releases of gcc.
10647
10648 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * text.C: fix chapter label offset !
10651
10652 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * lyxtext.h:
10655         * text.C: fix hfill at end of line, clean up
10656
10657 2001-12-04  Juergen Vigna  <jug@sad.it>
10658
10659         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10660         that we force an update of the inset and it's owners if neccessary.
10661
10662 2001-12-03  Juergen Vigna  <jug@sad.it>
10663
10664         * text.C (rowLast): simplified code
10665
10666 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * lyxfunc.C: fix show options on timeout
10669
10670 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * screen.C (topCursorVisible): scroll half a page when the cursor
10673         reached top of bottom of screen
10674
10675 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * minibuffer.C: deactivate on loss of focus
10678
10679 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10680
10681         * vspace.[Ch] (operator!=): add operator.
10682
10683 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * BufferView_pimpl.C: refuse to open an inset when
10686         there's a selection.
10687
10688 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * BufferView_pimpl.C: allow to click on RHS of full row insets
10691
10692 2001-11-30  Juergen Vigna  <jug@sad.it>
10693
10694         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10695         insets for undo reasons.
10696
10697 2001-11-28  André Pönitz <poenitz@gmx.net>
10698
10699         * vspace.[Ch]: cosmetical changes
10700
10701 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * LyXAction.h:
10704         * LyXAction.C:
10705         * lyxfunc.h:
10706         * lyxfunc.C:
10707         * kbmap.h:
10708         * kbmap.C:
10709         * lyxrc.C:
10710         * kbsequence.h:
10711         * kbsequence.C: part re-write of old kb code
10712
10713         * Painter.C:
10714         * WorkArea.C: remove Lgb_bug_find_hack
10715
10716 2001-11-30  José Matos <jamatos@fep.up.pt>
10717
10718         * buffer.C (makeDocBookFile): add a comment to point a hack.
10719         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10720         Fixed a double write of labels.
10721
10722 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10723
10724         * LaTeX.C:
10725         * LaTeX.h Fixed bug in LaTeX class where it would not
10726         re-run latex if no depfiles were changed, but the .dvi was removed.
10727
10728 2001-11-28  André Pönitz <poenitz@gmx.net>
10729
10730         * all the files from the change on 2001/11/26:
10731         use lyx::layout_type instead of LyXTextClass::size_type
10732         use lyx::textclass_type instead of LyXTextClassList::size_type
10733
10734 2001-11-29  Juergen Vigna  <jug@sad.it>
10735
10736         * text.C: added support for paragraph::isFreeSpacing()
10737
10738         * buffer.C: same as above
10739
10740         * paragraph.h: inserted isFreeSpacing() function to enable
10741         FreeSpacing inside InsetERT.
10742
10743         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10744         of the paragraph's in the cut/copy buffer to 0!
10745
10746         * text2.C (removeRow): remove the assert as it can!
10747
10748         * lyxtext.h: added helper function firstRow returning firstrow and
10749         made firstrow private again.
10750
10751         * BufferView2.C (lockInset): don't relock if we're already locked!
10752
10753         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10754         the only paragraph.
10755         (removeRow): added Assert::(firstrow)
10756
10757         * debug.C: forgot to add INSETTEXT here.
10758
10759 2001-11-28  Juergen Vigna  <jug@sad.it>
10760
10761         * sp_spell.C (initialize): changed error text to more general
10762         spellchecker command use (not only ispell!)
10763
10764         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10765
10766         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10767
10768 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * vspace.C: initialise lyxgluelength on failure
10771
10772 2001-11-28  Allan Rae  <rae@lyx.org>
10773
10774         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10775         declaration & definition that looks like a function declaration.
10776
10777 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * BufferView2.C (copy):
10780         (copyEnvironment): do not clear the selection when doing a copy.
10781
10782         * text.C (paintFirstRow): compilation fix
10783
10784 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10785
10786         * tabular.C (Latex): correct line count when writing latex.
10787
10788 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * paragraph_pimpl.h:
10791         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10792           bug a bit
10793
10794 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * text.C:
10797         * LColor.h:
10798         * LColor.C: change vfillline->added_space
10799
10800         * text.C: add markers and text for added space
10801
10802         * vspace.C: fix comment
10803
10804 2001-11-28  André Pönitz <poenitz@gmx.net>
10805
10806         * paragraph.C: whitespace changes
10807         * all the other files from the change on 2001/11/26:
10808         change *::pos_type into lyx::pos_type
10809
10810 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10811
10812         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10813         language of the document when inserting error insets.
10814
10815 2001-11-26  André Pönitz <poenitz@gmx.net>
10816
10817         * BufferView_pimpl.[Ch]:
10818         *       CutAndPaste.C:
10819         * buffer.[Ch]:
10820         * lyxcursor.[Ch]:
10821         * lyxfind.C:
10822         * lyxfunc.C:
10823         * lyxrow.[Ch]:
10824         * paragraph.[Ch]:
10825         * paragraph_pimpl.[Ch]:
10826         * sp_spell.C:
10827         * text.C:
10828         * text2.C: reduce header dependencies, introduce type for positions
10829
10830 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * <various>: change to use Alert.h
10833
10834 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10835
10836         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10837         when encountering an unknown token.
10838         (readLyXformat2): Show an error message if there were unknown tokens.
10839
10840 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView2.C:
10843         * BufferView_pimpl.C:
10844         * buffer.C:
10845         * paragraph.h:
10846         * text.C:
10847         * text2.C: use par->isInset()
10848
10849 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * paragraph_pimpl.h:
10852         * paragraph_pimpl.C: cleanup
10853
10854 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10855
10856         * text2.C (removeRow):
10857         * text.C (setHeightOfRow): remove useless (and costly) call to
10858         getRow.
10859
10860 2001-11-20  Allan Rae  <rae@lyx.org>
10861
10862         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10863         Now need Inset*::checkInsertChar() to return true for appropriate
10864         cases so that the characters in the minibuffer will actually be
10865         inserted.
10866
10867 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10868
10869         * text.C: change the order of the includes.
10870         (workWidth): initialize it at once.
10871         (workWidth): make maxw unsigned
10872         (setHeightOfRow): remove unused variable (inset)
10873         (selectSelectedWord): remove unused variable (inset)
10874         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10875
10876 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10877
10878         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10879         server is not running.
10880         (openConnection):
10881         (closeConnection): add debug info when server is disabled.
10882
10883         * ColorHandler.C (getGCForeground): send debug message to GUI
10884         channel.
10885
10886         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10887
10888         * kbmap.C (bind): modify because return conventions of
10889         kb_sequence::parse have changed.
10890
10891         * kbsequence.C (parse): only ignore spaces and not any stupid
10892         control character. This avoids tests like s[i] <= ' ', which are
10893         guaranteed to fail with 8bit characters and signed chars.
10894         Change return code to string::npos when there have been no error
10895         (0 was a bad idea when error is at first character)
10896
10897 2001-11-14  José Matos  <jamatos@fep.up.pt>
10898
10899         * buffer.h:
10900         * buffer.C (simpleDocBookOnePar): removed unused argument.
10901
10902 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10903
10904         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10905         insets which are part of a word. Paragraph::isLetter takes care of
10906         that now. Use Paragraph::isInset to identify insets.
10907         (selectSelectedWord): do not test for hyphenation break.
10908
10909         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10910         that protected spaces are considered as spaces.
10911
10912         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10913         Inset::isLetter.
10914
10915 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * lyxserver.h:
10918         * lyxserver.C: fix it. and small cleanup.
10919
10920 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * BufferView_pimpl.C: use inline helpers
10923
10924         * LaTeXFeatures.h:
10925         * LaTeXFeatures.C: fix typos
10926
10927         * Spacing.h:
10928         * Spacing.C: move spacing_string into class
10929
10930         * ToolbarDefaults.C: move stuff into namespace anon
10931
10932         * layout.h: update enum
10933
10934         * lyxfunc.C: use better debug
10935
10936         * minibuffer.h: fix typo
10937
10938         * debug.h:
10939         * debug.C:
10940         * WorkArea.C: add and use Debug::WORKAREA
10941
10942         * lyxtext.h:
10943         * text.C:
10944         * text2.C: code re-organisation, inline helpers
10945
10946 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10947
10948         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10949         std::vector.empty().
10950
10951 2001-11-09  Allan Rae  <rae@lyx.org>
10952
10953         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10954         '\n's after tables.  Tabular and ERT inset work now makes this no
10955         longer necessary.
10956
10957 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * minibuffer.h:
10960         * minibuffer.C: fix crash, improve drop-down completion
10961
10962 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * lyxserver.h:
10965         * lyxserver.C: invalidate fd's when doing endPipe()
10966
10967 2001-11-08  José Matos  <jamatos@fep.up.pt>
10968
10969         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10970         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10971
10972         * paragraph.h:
10973         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10974
10975 2001-11-07  José Matos  <jamatos@fep.up.pt>
10976
10977         * buffer.h:
10978         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10979         const qualifier.
10980
10981         * buffer.C (sgmlOpenTag):
10982         * buffer.C (sgmlCloseTag): removed debug info.
10983
10984         * buffer.h (sgmlOpenTag):
10985         * buffer.h (sgmlCloseTag): made public.
10986
10987 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10988
10989         * buffer.C (saveParamsAsDefaults):
10990         * lyx_cb.C (MenuLayoutSave): remove
10991
10992         * LyXAction.C (init):
10993         * commandtags.h:
10994         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10995
10996 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10997
10998         * buffer.C (setPaperStuff): removed from here...
10999
11000         * bufferparams.C (setPaperStuff): ... and moved there.
11001
11002 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * minibuffer.h:
11005         * minibuffer.C:
11006         * XFormsView.C: add support for drop-down completion
11007
11008 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11011         commands.
11012
11013 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11016         disabled.
11017
11018 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * lyx_main.C: change ref to known bugs
11021
11022 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11023
11024         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11025         to work around older babel problems.
11026
11027 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11028
11029         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11030
11031 2001-10-24  Juergen Vigna  <jug@sad.it>
11032
11033         * tabular-old.C (ReadOld): below variable changes reflected.
11034
11035         * tabular.[Ch]: added ltType struct for longtable header/footer
11036         defines and changed all instances where they are used. Added
11037         future support for double top/bottom rows.
11038
11039 2001-10-24  José Matos  <jamatos@fep.up.pt>
11040
11041         * buffer.h (docbookHandleCaption):
11042         * buffer.C (docbookHandleCaption): removed unused function.
11043         (makeDocBookFile): moved docbook supported version to v4.1.
11044
11045 2001-10-24  José Matos  <jamatos@fep.up.pt>
11046
11047         * tabular.h:
11048         * tabular.C (docbookRow): new function to export docbook code of a row.
11049         (DocBook): now honors the longtable flags.
11050
11051 2001-10-23  José Matos  <jamatos@fep.up.pt>
11052
11053         * LaTeXFeatures.h:
11054         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11055         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11056
11057         * buffer.C (makeLinuxDocFile):
11058         (makeDocBookFile): reworked the preamble, more clean, and with
11059         support for lyx defined entities. Changed the document declaration
11060         to be more XML friendly.
11061
11062         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11063         if we need to output XML that should be done with a filter.
11064
11065 2001-10-22  Juergen Vigna  <jug@sad.it>
11066
11067         * sp_pspell.h (class PSpell): add alive function needed in the
11068         controller to see if the spellchecker could be started.
11069
11070 2001-10-22  Juergen Vigna  <jug@sad.it>
11071
11072         * buffer.C (insertStringAsLines): modify the font for inserting
11073         chars in certain conditions by calling checkInsertChar(font).
11074
11075 2001-10-19  Juergen Vigna  <jug@sad.it>
11076
11077         * text.C (workWidth): use getRow instead of wrong algorithm.
11078         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11079
11080 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * lyxserver.h:
11083         * lyxserver.C:
11084         * lyx_main.h:
11085         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11086
11087 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11088
11089         * text.C (workWidth): do not search for the exact row when
11090         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11091         optimization for big documents.
11092
11093 2001-10-18  Juergen Vigna  <jug@sad.it>
11094
11095         * text.C (workWidth): new function with added Inset * parameter.
11096
11097 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11100
11101         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11102         change return type of getColumnNearX.
11103
11104
11105         * text.C (changeRegionCase): use uppercase/lowercase instead of
11106         toupper/tolower.
11107         (leftMargin):
11108         (rightMargin): simplify code by factoring out the uses of
11109         textclasslist.
11110         (labelFill):
11111         (numberOfHfills):
11112         (setHeightOfRow):
11113         (appendParagraph): use Paragraph::size_type
11114
11115 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * vspace.C (asLatexString): add a missing break
11118
11119 2001-10-15  Herbert Voss  <voss@perce.de>
11120
11121         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11122
11123 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11126         is not available.
11127
11128 2001-10-10  André Pönitz <poenitz@gmx.net>
11129
11130         * lyxfunc.C: removed greek_kb_flag.
11131
11132 2001-10-10  Herbert Voss  <voss@perce.de>
11133
11134         * lyx_main.C: delete global string help_lyxdir.
11135
11136 2001-10-09  Herbert Voss  <voss@perce.de>
11137
11138         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11139
11140         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11141
11142         * lyx_main.C: added global string help_lyxdir.
11143
11144         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11145
11146 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11147
11148         * lyxrc.C (set_font_norm_type): support iso8859-4
11149
11150 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11151
11152         * LaTeX.C (deplog): add another regex for MikTeX
11153
11154 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11155
11156         * lyxrc.C (set_font_norm_type): support iso8859-3
11157
11158 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11161
11162         * LaTeXFeatures.C: remove special case of french and index
11163
11164         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11165         before \begin{document}). This solves several incompatibilities.
11166
11167 2001-10-03  Garst Reese  <reese@isn.net>
11168
11169         * lyx_cb.C: change CheckTex error msg.
11170
11171 2001-10-03  José Matos  <jamatos@fep.up.pt>
11172
11173         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11174
11175 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11176
11177         * .cvsignore: update
11178
11179         * lyx_main.C (commandLineVersionInfo): use new style version info.
11180
11181         * buffer.C (writeFile):
11182         (makeLaTeXFile):
11183         (makeLinuxDocFile):
11184         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11185
11186         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11187
11188         * version.h: update to use stuff in version.C
11189
11190         * version.C.in: new file. Contains version information determined
11191         at compile time. This is a merging of version.h and
11192         version_info.h.in.
11193
11194 2001-10-03  Juergen Vigna  <jug@sad.it>
11195
11196         * BufferView_pimpl.C (update): don't change "dirty" status in
11197         updateInset call.
11198
11199 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11200
11201         * WorkArea.C (c-tor): re-position version string slightly.
11202
11203 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11204
11205         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11206         revert to previous code.
11207
11208         WorkArea.[Ch]: (show, destroySplash): methods removed.
11209
11210         WorkArea.C: rework code so that it's an amalgam of the codes before and
11211         after the splash screen was moved to WorkArea.
11212
11213 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11214
11215         * lyxrc.C (read):
11216         * vspace.C (inPixels):
11217         (lyx_advance):
11218         * kbmap.C (bind):
11219         * buffer.C (insertStringAsLines):
11220         (asciiParagraph): fix types to be large enough
11221
11222         * lyxlex_pimpl.h: change member status from short to int
11223
11224         * layout.h: fix type of endlabeltype
11225
11226         * kbmap.C (bind):
11227         * kbsequence.C (parse): change return type to string::size_type
11228
11229         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11230         variable
11231
11232         * Bullet.C (bulletSize):
11233         (bulletEntry): do not use short ints as parameters
11234
11235         * BufferView2.C (insertLyXFile): change a char to an int.
11236
11237         * WorkArea.C (WorkArea): remove unneeded floats in computation
11238
11239 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11240
11241         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11242
11243         * paragraph.C (asString): Do not ignore newline/hfill chars when
11244         copying to the clipboard.
11245
11246 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11247
11248         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11249         after a multi-line inset.
11250
11251 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11252
11253         * paragraph.C (validate): Set NeedLyXFootnoteCode
11254
11255 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11256
11257         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11258         and decrease-error to decrease.
11259
11260 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11261
11262         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11263         it more readable (should be equivalent)
11264
11265 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11266
11267         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11268
11269 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11270
11271         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11272         of a cursor (row, etc.) after a character has been deleted
11273         (deleteEmptyParagraphMechanism): call the method above on _all_
11274         cursors held by the LyXText when a double space has been
11275         detected/deleted.
11276
11277 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11278
11279         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11280         pixmap.
11281         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11282
11283         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11284         background. Use greyOut() and the new show() methods to toggle between
11285         the foreground and background. Add code to remove the splash after
11286         its initial showing.
11287
11288         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11289         (create_forms): no longer call Dialogs::showSplash.
11290
11291 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11292
11293         * .cvsignore: add version_info.h
11294
11295 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11296
11297         * version_info.h.in: new file
11298
11299         * Makefile.am: add version_info.h.in
11300
11301         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11302         version_info.h instead of VERSION_INFO
11303
11304 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11307         The ERT inset now returns string().
11308
11309 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11310
11311         * lyxtext.h, text.C (selectNextWord): renamed as
11312         selectNextWordToSpellcheck.
11313
11314         * text.C (selectNextWordToSpellcheck): Modified to not select
11315         words inside an ERT inset.
11316
11317 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11318
11319         * lyx_cb.C (MenuLayoutSave): change a bit the question
11320
11321         * sp_base.h: include <sys/types.h>
11322
11323 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11326
11327 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11328
11329         * several files: fix typos in user-visible strings
11330
11331 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11332
11333         * text2.C (pasteSelection): do not set the selection, since it
11334         will be cleared later. Actually, the intent was to fix the way the
11335         selection was set, but I figured rmoving the code was just as good.
11336
11337 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * FontLoader.C (available): Check if font is available without
11340         loading the font.
11341
11342 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11343
11344         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11345
11346 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * lyxrc.[Ch]: added display_graphics variable and associated code.
11349
11350 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * bufferparams.C (hasClassDefaults): new method. Returns true if
11353         the buffer parameters correspond to known class defaults
11354
11355 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * XFormsView.C (show): set minimum size to the main window.
11358
11359 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11360
11361         * text2.C (copySelection):
11362         (cutSelection):
11363         * lyxfind.C (LyXReplace):
11364         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11365         LyXText::selectionAsString.
11366
11367         * paragraph.C (asString): add "label" argument to the second form
11368
11369         * text2.C (selectionAsString): add "label" argument and pass it to
11370         Paragraph::asString.
11371
11372 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11373
11374         * lyx_main.C (commandLineHelp): remove version information
11375
11376 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11377
11378         * lyx_main.C: add -version commandline option
11379
11380 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * paragraph.h: make the optional constructor arg required instead.
11383         some modifications to other files because of this.
11384
11385         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11386
11387         * lyxserver.C (C_LyXComm_callback): make it static
11388
11389         * lyx_main.C (error_handler): make it static
11390
11391         * lyx_gui.C (LyX_XErrHandler): make it static
11392
11393         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11394
11395         * WorkArea.C: make the extern "C" methods static.
11396
11397         * Makefile.am (lyx_LDADD): simplify
11398
11399 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11400
11401         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11402         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11403
11404         * LyXAction.C (init):
11405         * lyxfunc.C (dispatch): associated code removal.
11406
11407 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11408
11409         * lyxfont.h (isSymbolFont): shut off warning
11410
11411         * text.C (setHeightOfRow):
11412         (getVisibleRow): fix crash with empty paragraphs which have a
11413         bottom line
11414
11415 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11416
11417         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11418         code.
11419
11420 2001-09-04  José Matos  <jamatos@fep.up.pt>
11421         * buffer.C
11422         * buffer.h
11423         * tabular.C (docbook): rename docBook method to docbook.
11424
11425 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * Makefile.am: add dependencies to main.o.
11428
11429 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11430
11431         * FontLoader.C (available): Return false if !lyxrc.use_gui
11432
11433 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11434
11435         * FontInfo.C (query):
11436         * converter.C (view):
11437         * importer.C (Import):
11438         * exporter.C (Export): Can not -> cannot.
11439
11440 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * BufferView_pimpl.C: allow to create index inset even if
11443           string is empty
11444
11445 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * buffer.C (getLists): replace boost::tie code with an explicit pair
11448         as boost::tie can break some compilers.
11449
11450         * iterators.h: Added a std:: declaration to the return type of
11451         ParIterator::size.
11452
11453 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11456           case.
11457
11458 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * iterators.[Ch]: New files. Provide paragraph iterators.
11461
11462         * buffer.C (changeLanguage): Use paragraph iterators.
11463         (isMultiLingual): ditto
11464
11465         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11466
11467 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11468
11469         * FontLoader.C: Support for cmr font.
11470
11471 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11472
11473         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11474         (available): New method.
11475
11476         * FontInfo.C (getFontname): Use scalable fonts even when
11477         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11478         found.
11479
11480 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11481
11482         * converter.C (Formats::view): reverted! Incorrect fix.
11483
11484 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11485
11486         * converter.C (Formats::view): only output the -paper option
11487         if the dvi viewer is xdvi, thereby fixing bug #233429.
11488
11489 2001-08-23  Herbert Voss  <voss@perce>
11490
11491         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11492
11493 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11494
11495         * Spacing.h (Spacing): Set space to Default on in the default
11496         constructor.
11497
11498 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * vc-backend.h (RCS::versionString): add RCS to version
11501         (CVS::versionString): add CVS to version
11502
11503         * vc-backend.C (scanMaster): do not add CVS to version.
11504         (scanMaster): do not add RCS to version
11505
11506         * lyxvc.C (versionString): new method
11507
11508         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11509
11510 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * Spacing.C (set): initialize fval
11513
11514 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11515
11516         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11517         " or \.
11518
11519 2001-08-16  Juergen Vigna  <jug@sad.it>
11520
11521         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11522
11523 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * BufferView_pimpl.C:
11526         * figureForm.C:
11527         * lyxtext.h:
11528         * text2.C: setParagraph takes linespacing now
11529
11530 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * LyxAction.C: add internal LFUN_CITATION_INSERT
11533
11534         * LyXView.C: actually apply fix
11535
11536         * bufferlist.C: fix open non-existent file
11537
11538         * lyxfind.C: fix indentation
11539
11540         * lyxfunc.C: remove unneeded assert, fix typo
11541
11542 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * MenuBackend.C: use "Floatname List"
11545
11546 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11547
11548         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11549         when converting LaTeX layout to insetERT.
11550         Generate a non-collapsed float when reading old float
11551
11552 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11553
11554         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11555         ERT insets.
11556
11557 2001-08-13  Juergen Vigna  <jug@sad.it>
11558
11559         * text.C (fill): return 0 instead of 20 as this seems to be the more
11560         correct value.
11561
11562 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11565         lyxrc.font_norm.
11566
11567 2001-08-13  Juergen Vigna  <jug@sad.it>
11568
11569         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11570         casesensitive off.
11571         (SearchBackward): comment out the unlocking of the inset_owner this
11572         should not be needed!
11573
11574 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11575
11576         * Many files: Remove inherit_language, and add latex_language
11577
11578         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11579         collapsible insets.
11580
11581 2001-08-10  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C (prepareToPrint): fixed hfill-width in draw!
11584
11585         * BufferView2.C (selectLastWord): save the selection cursor as this
11586         now is cleared in the function LyXText::clearSelection!
11587
11588 2001-08-08  Juergen Vigna  <jug@sad.it>
11589
11590         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11591         BACKSPACE type functions.
11592
11593         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11594         is only cutted from the document but not put in the cut-buffer, where
11595         still the old stuff should be.
11596
11597         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11598
11599         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11600
11601         * tabular.C (SetWidthOfCell): fixed special case where the width
11602         was not updated!
11603         (LeftLine): handle '|' in align_special.
11604         (RightLine): ditto
11605         (LeftAlreadyDrawed): ditto
11606         (SetWidthOfCell): ditto
11607
11608 2001-08-07  Juergen Vigna  <jug@sad.it>
11609
11610         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11611
11612 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11615         * lyxlex.[hC]: ditto
11616
11617 2001-08-06  Juergen Vigna  <jug@sad.it>
11618
11619         * text.C (getVisibleRow): fix up row clearing a bit.
11620
11621 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11622
11623         * minibuffer.C: make sure the X server sees the changes in the input.
11624
11625 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11626
11627         * paragraph.C (getFont): split into...
11628         (getLabelFont): this
11629         (getLayoutFont): and this
11630         * paragraph_pimpl.C (realizeFont): calling this
11631
11632         * text2.C (getFont): split into...
11633         (getLayoutFont): this
11634         (getLabelFont): and this
11635         (realizeFont): all three calling this
11636
11637         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11638         files where used.
11639
11640 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11641
11642         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11643
11644 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11645
11646         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11647         layouts from the Quote inset insertion.
11648
11649 2001-08-03  Juergen Vigna  <jug@sad.it>
11650
11651         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11652
11653         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11654         only if status not is already CHANGED_IN_DRAW (second level).
11655
11656         * text.C (draw): don't set the need_break_row when inside an
11657         InsetText LyXText.
11658
11659 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * buffer.C (parseSingleLyXformat2Token): handle more latex
11662         conversion cases.
11663
11664         * bufferview_funcs.[hC]: change function names to
11665         begin with small char, adjust other files.
11666
11667 2001-08-02  André Pönitz <poenitz@gmx.net>
11668
11669         * lyxfunc.C:
11670         BufferView_pimpl.C: remove broken special code for math-greek
11671
11672 2001-08-02  Juergen Vigna  <jug@sad.it>
11673
11674         * BufferView_pimpl.C (update): redone this function so that we
11675         update the text again if there was a CHANGE_IN_DRAW.
11676
11677         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11678         (drawFromTo): added a new internal bool which is used by draw() and
11679         redraw() function.
11680         (general): some cursor drawing problems fixed.
11681
11682 2001-08-01  Juergen Vigna  <jug@sad.it>
11683
11684         * lyxfind.C (LyXFind): fixed
11685         (SearchForward): ditto
11686         (SearchBackward): ditto
11687
11688         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11689         spurius drawing of the cursor in the main area.
11690
11691         * text2.C (status): small fix which could lead to a segfault!
11692         (clearSelection): remove unneeded BufferView param.
11693
11694 2001-08-01  André Pönitz <poenitz@gmx.net>
11695
11696         * lyxfunc.C: small change due to changed mathed interface
11697
11698 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11699
11700         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11701
11702 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * lyxfunc.c: fail gracefully if file doesn't exist
11705
11706         * LyXSendto.C:
11707         * buffer.C:
11708         * lyxfunc.C:
11709         * BufferView_pimpl.C: IsDirWriteable() proto changed
11710
11711         * LyXView.C: fix updateWindowTitle() to store the last title
11712
11713 2001-07-31  Juergen Vigna  <jug@sad.it>
11714
11715         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11716         the font (wrong since using of Paragraph::highestFontInRange).
11717
11718         * paragraph.C (highestFontInRange): added a default_size parameter.
11719
11720         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11721         (setHeightOfRow): reformat
11722
11723 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * converter.[hC] + affected files: move to (inital-char)lowercase
11726         function names.
11727
11728         * ParagraphParameters.C (ParagraphParameters): remove commented code
11729
11730         * PainterBase.[Ch]: remove commented code
11731
11732         * LaTeXFeatures.h: add "bool floats" for float.sty
11733
11734         * LaTeXFeatures.C (LaTeXFeatures): init floats
11735         (require): handle float
11736         (getPackages): do it with floats
11737
11738 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11739
11740         * BufferView_pimpl.C (Dispatch): improve handling of
11741         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11742
11743         * commandtags.h: #include lyxfont.h here temporarily to avoid
11744         keybinding bug.
11745
11746         * bufferlist.h: include LString.h here.
11747
11748 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11749
11750         * text2.C (getStringToIndex): new method.
11751
11752 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11753
11754         * *: Reduced header file dependencies all over.
11755
11756 2001-07-30  Baruch Even  <baruch@lyx.org>
11757
11758         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11759
11760 2001-07-29  Baruch Even  <baruch@lyx.org>
11761
11762         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11763
11764 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11765
11766         * ParameterStruct.h (endif): add a default constructor to make
11767         sure that all variables is initialized.
11768
11769         * ParagraphParameters.C (ParagraphParameters): adjust
11770
11771 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11774         index; also, check that there is something to index, and that it
11775         does not span over several paragraphs.
11776         (doubleClick): use WHOLE_WORD_STRICT for double click.
11777
11778         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11779
11780         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11781         scheme.
11782
11783 2001-07-26  Baruch Even  <baruch@lyx.org>
11784
11785         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11786         an InsetFig figure, backwards compatible reading of old figure code.
11787
11788 2001-07-27  Juergen Vigna  <jug@sad.it>
11789
11790         * text2.C: font.realize function adaption.
11791
11792         * text.C (draw): add a warnings lyxerr text if needed.
11793
11794         * layout.C: font.realize function adaption.
11795
11796         * language.C: add inherit_language and implement it's handlings
11797
11798         * bufferview_funcs.C (StyleReset): remove language parameter from
11799         font creation (should be language_inherit now).
11800
11801         * bufferparams.C (writeFile): handle ignore_language.
11802
11803         * paragraph.C (getFontSettings): the language has to be resolved
11804         otherwise we have problems in LyXFont!
11805
11806         * lyxfont.C (lyxWriteChanges): added document_language parameter
11807         (update): removed unneeded language parameter
11808
11809         * paragraph.C (validate): fixed wrong output of color-package when
11810         using interface colors for certain fonts in certain environments,
11811         which should not seen as that on the final output.
11812
11813 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * BufferView_pimpl.C:
11816         * Thesaurus.h:
11817         * Thesaurus.C:
11818         * Makefile.am:
11819         * commandtags.h:
11820         * LyXAction.C: add thesaurus support
11821
11822         * lyxfind.h:
11823         * lyxfind.C: add "once" parameter, for thesaurus, to not
11824           move to the next match
11825
11826 2001-07-26  Juergen Vigna  <jug@sad.it>
11827
11828         * lyxfont.C (realize): honor ignore_language too!
11829         (resolved): ditto.
11830
11831         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11832
11833         * text.C (draw): one place more for ignore_language to not draw
11834         itself!
11835
11836 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11839
11840 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11843         the minipage conversion problem.
11844
11845 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11848         insert an inset.
11849
11850 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * BufferView.h: don't forward declare WorkArea
11853
11854         * BufferView.C: don't include WorkArea.h
11855
11856 2001-07-25  André Pönitz <poenitz@gmx.net>
11857
11858         * commandtags.h:
11859         * LyXAction.C:
11860         * lyxfunc.C:  new LFUN 'math-space'
11861
11862         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11863
11864 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * text2.C (toggleInset): call open/close
11867
11868 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11869
11870         * lyxfunc.C (dispatch): add debug for the disabled case
11871
11872         * font.C (buttonText): make similar to rectText
11873
11874         * buffer.C (readInset): comment out parsing of insetlist and
11875         insttheorem
11876
11877         * PainterBase.C (rectText): small correction
11878
11879         * BufferView_pimpl.C: comment out insettheorem and insetlist
11880         * LyXAction.C: ditto
11881         * commandtags.h: ditto
11882
11883 2001-07-24  Juergen Vigna  <jug@sad.it>
11884
11885         * text.C (draw): honor the ignore_language.
11886
11887         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11888
11889 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11892         char inset.
11893
11894 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11895
11896         * lyxtext.h: remove unused (and unimplemented) methods
11897
11898 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11899
11900         * text.C (getVisibleRow): honor background color
11901
11902         * PainterBase.h:
11903         * Painter.h: remove default color argument for fillRectangle
11904
11905         * text.C (backgroundColor): new method
11906
11907 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * text.C (getVisibleRow): adjust
11910
11911         * font.[Ch] (rectText): new method, metrics
11912         (buttonText): new method, metrics
11913
11914         * PainterBase.[hC]: make rectText and buttonText always draw and take
11915         fewer paramteres.
11916
11917 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11918
11919         * ToolbarDefaults.C (read):
11920         * MenuBackend.C (read): allow escaping in all strings
11921
11922         * BufferView_pimpl.C (insertAndEditInset): new method.
11923         (Dispatch): use insertAndEditInset whenever appropriate.
11924
11925         * BufferView_pimpl.C (insertNote): removed
11926
11927         * BufferView_pimpl.C (smartQuote): new method, moved from
11928         BufferView; if an insetquote cannot be inserted, insert a '"'
11929         character instead.
11930
11931         * BufferView2.C: remove insertCorrectQuote();
11932
11933         * lyxfunc.C (getStatus): Add support for all remaingin
11934         inset-insert lfuns.
11935
11936         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11937
11938         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11939         command (necessary to pass " as parameter of self-insert.
11940
11941         * text.C (selectWordWhenUnderCursor):
11942         (selectWord): add word_location parameter
11943         (selectWordWhenUnderCursor): same + remove special code for word
11944         boundary.
11945         (selectNextWord): use kind() to guess type of insetspecialchar,
11946         not latex().
11947
11948         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11949         (insertErtContents): create ert insets as collapsed.
11950         (readInset): better compatibility code for Info inset.
11951
11952 2001-07-20  Juergen Vigna  <jug@sad.it>
11953
11954         * lyxfunc.C (dispatch): use always LyXFind now!
11955
11956         * text2.C (init): add a reinit flag so that the LyXText can be
11957         reinited instead of deleted and reallocated (used in InsetText).
11958
11959         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11960
11961         * text.C: ditto
11962
11963         * text2.C: ditto
11964
11965 2001-07-18  Juergen Vigna  <jug@sad.it>
11966
11967         * text.C (selectNextWord): handle insets inside inset by calling
11968         always the bv->text functions so that we can go up the_locking_inset!
11969
11970         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11971         in strange locations when inside an inset!
11972
11973         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11974         handling to include insets.
11975
11976         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11977
11978 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11979
11980         * LyXAction.C (init):
11981         * commandtags.h:
11982         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11983         LIGATURE_BREAK, since the name is so stupid.
11984
11985 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11986
11987         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11988         InsetInfos.
11989
11990         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11991
11992         * sp_form.[Ch]: remove.
11993
11994         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11995
11996         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11997         InsetInfo.
11998
11999         * src/buffer.C (readInset): ditto.
12000
12001 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12002
12003         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12004         menuSeparator(), endOfSentenceDot(), ldots() and
12005         hyphenationPoint(), which are therefore removed.
12006         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12007
12008         * LyXAction.C (init):
12009         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12010
12011         * paragraph.C (getWord): removed.
12012
12013         * BufferView_pimpl.C (Dispatch): use last word or selection for
12014         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12015
12016         * lyx_main.C (queryUserLyXDir): do not ask before creating
12017         user_dir, except if it has been named explicitely.
12018
12019 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12022         a document of zero size.
12023
12024 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12025
12026         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12027         approriately in the c-tor and in require().
12028         (getPackages): output the appropriate LaTeX for natbib support.
12029
12030         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12031         variables "use_natbib" and "use_numerical_citations" when reading the
12032         LyX file.
12033         (readInset): read the various natbib cite commands.
12034         (validate): white-space change.
12035
12036         * bufferparams.[Ch]: new variables "bool use_natbib" and
12037         "bool use_numerical_citations".
12038         (writeFile): output them in the LyX file.
12039
12040 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12041
12042         * lyxfunc.C (getStatus): add support for all the inset insertion
12043         commands.
12044
12045         * text2.C (insertInset):
12046         * paragraph.C (insetAllowed):
12047         * BufferView_pimpl.C (insertInset): update to take in account the
12048         renaming of insertInsetAllowed
12049
12050         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12051
12052         * text2.C (getInset): new method. returns inset at cursor position.
12053
12054         * BufferView_pimpl.C (Dispatch): changes because of this.
12055
12056         * LyXAction.C (init): rename open-stuff to inset-toggle.
12057
12058         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12059
12060         * text2.C (toggleInset): renamed from openStuff; use
12061         Inset::open().
12062
12063 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12064
12065         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12066
12067         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12068
12069 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12070
12071         * buffer.C (readLyXformat2): Add filename to the error dialog
12072
12073 2001-07-18  Juergen Vigna  <jug@sad.it>
12074
12075         * tabular.C (GetCellNumber): put an assert here instead of the check!
12076
12077 2001-07-17  Juergen Vigna  <jug@sad.it>
12078
12079         * BufferView_pimpl.C (toggleSelection): adapted too.
12080
12081         * text.C (selectNextWord): adapted for use with insets.
12082         (selectSelectedWord): ditto
12083
12084 2001-07-17  Juergen Vigna  <jug@sad.it>
12085
12086         * sp_spell.C (PSpell): fix initialitation order.
12087
12088 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * paragraph.C: spacing
12091
12092 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12093
12094         * sp_spell.C: repair language selection for pspell
12095
12096 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * lyxfunc.h: change more methods to begin with lower char.
12099
12100 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12101
12102         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12103         for unknown layouts.
12104
12105 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12106
12107         * buffer.C (readLyXformat2): Generate an error dialog if there are
12108         unknown layouts.
12109
12110 2001-07-16  Juergen Vigna  <jug@sad.it>
12111
12112         * sp_spell.C: always compile ISpell part.
12113
12114         * lyxrc.C: added use_pspell entry and it's handling.
12115
12116 2001-07-13  Juergen Vigna  <jug@sad.it>
12117
12118         * sp_spell.C: removed double includes.
12119
12120 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12121
12122         Consistent use of Lsstream.h:
12123         * Lsstream.h: added using std::stringstream for consistencies sake.
12124
12125         * buffer.C: removed using std::stringstream
12126
12127         * lyxfont.C (stateText):
12128         * paragraph.C (asString):
12129         * text.C (selectNextWord, selectSelectedWord):
12130         * text2.C (setCounter):
12131         * vspace.C (asString, asLatexString):
12132         std::ostringstream -> ostringstream.
12133
12134 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12135
12136         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12137         * commandtags.h: add LFUN_HELP_ABOUTLYX
12138         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12139
12140 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12141
12142         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12143         cursorToggle()
12144         * lyx_gui_misc.C: remove spellchecker
12145         * lyxfunc.C: showSpellchecker
12146         * sp_base.h: added
12147         * sp_ispell.h: added
12148         * sp_pspell.h: added
12149         * sp_spell.C: added
12150         * sp_form.[Ch]: removed
12151         * spellchecker.[Ch]: removed
12152
12153 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12154
12155         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12156         is set.
12157         (simpleTeXSpecialChars): Simply print the input character without
12158         any special translation if pass_thru is set.
12159
12160         * layout.h: Added bool pass_thru to layout class for being able to
12161         implement pass through of a paragraph for Literate Programming.
12162
12163         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12164         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12165         * layout.C (Read): add "passthru" to list of layout tags and add
12166         code to set the pass_thru boolean when it is read.
12167
12168 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * trans_decl.h: remove allowed from KmodInfo
12171
12172         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12173         remove allowed code
12174         (Load): adjust
12175
12176         * paragraph_pimpl.C (erase): use boost::prior
12177
12178         * Painter.C (text): use data() instead of c_str() when length is
12179         also provided.
12180         * WorkArea.C (putClipboard): ditto
12181         * font.h (width): ditto
12182
12183         * BufferView2.C: use it-> instead of (*it). for iterators
12184         * texrow.C: ditto
12185         * paragraph_pimpl.C: ditto
12186         * paragraph.C: ditto
12187         * minibuffer.C: ditto
12188         * language.C: ditto
12189         * kbmap.C: ditto
12190         * encoding.C: ditto
12191         * counters.C: ditto
12192         * converter.C: ditto
12193         * chset.C: ditto
12194         * Variables.C: ditto
12195         * TextCache.C: ditto
12196         * MenuBackend.C: ditto
12197         * LyXAction.C: ditto
12198         * LColor.C: ditto
12199         * FloatList.C: ditto
12200         * DepTable.C: ditto
12201         * ColorHandler.C (LyXColorHandler): ditto
12202
12203 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12204
12205         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12206
12207         * text2.C (openStuff): reintroduce this method (which had been
12208         nuked in NEW_INSETS frenzy).
12209
12210         * lyxfunc.C (Dispatch): when an action has not been handled, use
12211         its name in the error message, not its number.
12212
12213         * paragraph.C (inInset): change method name to begin with lowercase.
12214
12215         * undo_funcs.C:
12216         * text2.C: updates because of this.
12217
12218 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * ToolbarDefaults.C (add): add spaces in error message
12221
12222 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12225         (readLyXformat2): rename return_par to first_par, use lyxlex's
12226         pushToken and remove the manual push handling.
12227         (parseSingleLyXformat2Token): add another ert comp. variable:
12228         in_tabular, rename return_par to first_par. handle newlines better
12229
12230 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12233
12234 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * text2.C (getParFromID): removed
12237
12238         * buffer.C (getParFromID): new method moved form lyxtext.
12239         * BufferView2.C (insertErrors): adjust
12240         (setCursorFromRow): adjust
12241         * BufferView_pimpl.C (restorePosition): adjust
12242         * lyxfunc.C (Dispatch): adjust
12243         * undo_funcs.C (textUndo): adjust
12244         (textRedo): adjust
12245         (textHandleUndo): adjust
12246         (textHandleUndo): adjust
12247
12248 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * buffer.C: up' the LYX_FORMAT
12251
12252         * lyxfont.h: turn NO_LATEX on as default
12253
12254         * buffer.C (insertErtContents): new methods of tex style compability.
12255         (parseSingleLyXformat2Token): use it several places.
12256         * tabular.C (OldFormatRead): and here
12257
12258 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * text2.C: remove some commented code.
12261         reindent file.
12262
12263         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12264         * trans.C: changes because of the above.
12265
12266 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * text2.C (setCounter): Fix counters bug with bibliography layout.
12269
12270 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12273         own member functions
12274         (simpleTeXSpecialChars): ditto
12275
12276 2001-07-06  Juergen Vigna  <jug@sad.it>
12277
12278         * a lot of files: changed the access to LyXText::status and the
12279         call of undo-functions.
12280
12281         * undo.[Ch]: added a inset_id to the undo informations.
12282
12283         * undo_funcs.[Ch]: added and moved here all undo functions.
12284
12285         * lyxtext.h: give the status enum a weight, made status_ a private
12286         variable and made accessor functions for it, removed the whole bunch
12287         of undo-functions as they are now in their own file, make some
12288         functions publically available. Added function ownerParagraph with
12289         int parameter.
12290
12291         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12292         made InInset() a const function, added getParFromID() function.
12293
12294         * buffer.[Ch]: added const version for inset_iterator functions,
12295         added getInsetFromID() function.
12296
12297         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12298         changed undo functions for new version.
12299
12300 2001-07-05  Juergen Vigna  <jug@sad.it>
12301
12302         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12303         unknow mechanism does not call the proper constructor but only this
12304         one also if I request the other!?
12305
12306 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12309
12310         * text2.C (LyXText): use initialization lists.
12311
12312         * lyxtext.h (Selection): initialize set_ and mark_
12313         (init): remove method
12314
12315 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12318
12319 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * screen.[Ch]: change method names to begin with lowercase
12322
12323         * BufferView_pimpl.C (updateScrollbar): simplify further and
12324         hopefully make it a bit faster.
12325
12326 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12329         calling directly xforms functions.
12330
12331         * Painter.C (Painter):
12332         * lyx_cb.C (MenuWrite):
12333         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12334         fl_display.
12335
12336         * lyx_gui.C: remove bogus guiruntime extern declaration.
12337
12338 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12341         in NEW_INSETS
12342         (redoDrawingOfParagraph): ditto
12343         (redoParagraphs): ditto
12344         (cutSelection): don't create a object for CutAndPaste use the
12345         static method directly
12346         (pasteSelection): ditto
12347
12348         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12349         LyXview (+ rename)
12350
12351 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * modifications to some other files because of this.
12354
12355         * Makefile.am (lyx_SOURCES): add XFormsView
12356
12357         * XFormsView.[Ch]: new files
12358
12359         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12360         the main window. Move the gui dependent stuff to XFormsView
12361
12362 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12363
12364         * tabular.C (GetCellInset): update cur_cell also in the row/col
12365         version of this function.
12366
12367         * lyxfunc.C: no need to include figure_form.h here.
12368
12369         * FontLoader.h:
12370         * lyxfunc.h:
12371         * lyxscreen.h:
12372         * text2.C:
12373         * lyxvc.C: no need to include forms.h here.
12374
12375 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12378
12379         * lyxfunc.C (Dispatch):
12380         * Spacing.C (set):
12381         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12382         constructor argument.
12383
12384 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * paragraph.C (Paragraph): dont't clear, and just set layout.
12387         (makeSameLayout): use params's copy contructor.
12388
12389         * ParagraphParameters.[Ch] (makeSame): delete method
12390
12391 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * Variables.[Ch]: fix indentation, rename set to isSet
12394
12395 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * lyxfunc.C (Dispatch): fix typo
12398
12399 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12400
12401         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12402         upper_bound.
12403
12404         * bufferlist.C: include assert.h for emergencyWrite().
12405
12406 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12409           give up at last (bug #425202) !
12410
12411 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * lyx_gui_misc.C:
12414         * sp_form.h:
12415         * sp_form.C:
12416         * spellchecker.h:
12417         * spellchecker.C: strip spellchecker options and bring up
12418           preferences tab instead
12419
12420 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12421
12422         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12423         the istringstream constructor
12424
12425 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * paragraph.C (getLayout): fix return value
12428
12429         * paragraph.h: do not declare getLayout as inline.
12430
12431         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12432
12433 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12434
12435         * lyxcursor.h (operator<): new func
12436         (operator>): new func
12437         (operator>=): new func
12438         (operator<=): new func
12439
12440         * text.C (changeCase): use selection.start and selection.end
12441         (changeRegionCase): require from to be <= to. Require par to be a
12442         valid paragraph.
12443
12444         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12445
12446 2001-06-27  Juergen Vigna  <jug@sad.it>
12447
12448         * text.C (cursorLeftOneWord): changed to return the cursor and added
12449         overlay with BufferView * parameter which calls this one.
12450         (getWord): added
12451         (selectWord): use new getWord function.
12452         (changeCase): renamed from changeWordCase as and extended to work
12453         also on selections.
12454
12455         * lyxtext.h: added enum word_location
12456
12457         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12458         changeCase as this operates now also on selections.
12459
12460 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12461
12462         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12463
12464         * many files: send debug output to Debug::INFO instead of
12465         Debug::ANY.
12466
12467         * converter.C (View):
12468         (Convert):
12469         (Move): send debug output to Debug::FILES instead of console.
12470
12471 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12472
12473         * lyxfunc.C (getStatus): use func_status
12474
12475         * func_status.h: new header, describing the results of
12476         LyXFunc::getStatus;
12477
12478         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12479         LFUN_MATH_HALIGN.
12480
12481 2001-06-25  The LyX Project  <jug@sad.it>
12482
12483         * buffer.C (sgmlOpenTag):
12484         (sgmlCloseTag):
12485         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12486
12487 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * text2.C: remove some dead code
12490
12491         * tabular.C (GetCellInset): store the last cell checked (gotten)
12492
12493         * tabular.h: add the helper for the speedup
12494
12495         * lyxtext.h: remove some dead code
12496
12497 2001-06-26  The LyX Project  <Asger>
12498
12499         * paragraph.C: Change export to LaTeX of alignment to
12500         \begin{center} and family for better roundtrip work with reLyX.
12501
12502         * Tune the math drawing a bit.
12503
12504 2001-06-25  The LyX Project  <Asger>
12505
12506         * LColor.C (LColor): New color for math background. New color
12507         for buttons.
12508
12509 2001-06-25  The LyX Project  <jug@sad.it>
12510
12511         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12512
12513         * lyxfunc.C (Open):
12514         * bufferlist.C (newFile): do not restrict to files ending with
12515         .lyx
12516
12517         * BufferView_pimpl.C (MenuInsertLyXFile):
12518
12519 2001-06-24  The LyX Project  <jug@sad.it>
12520
12521         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12522         of compare_no_case
12523
12524 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * lyxtext.h: rename most methods to begin with a small char.
12527         Lots of changes because of this.
12528
12529         * paragraph.C (Paragraph): do not call fitToSize
12530         (erase): call Pimpl::erase
12531         (insertChar): call Pimpl::insertChar
12532         (insertInset): call Pipl::insertInset
12533         (breakParagraph): do not call fitToSize
12534         (breakParagraphConservative): do not call fitToSize
12535         (fitToSize): remove method
12536
12537         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12538
12539 2001-06-24  The LyX Project  <Asger>
12540
12541         * Fix Qt compilation^2
12542
12543 2001-06-24  The LyX Project  <jug@sad.it>
12544
12545         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12546         depthHook(getDepth()-1).
12547
12548         * paragraph.h:
12549         * ParagraphParameters.h:
12550         * ParameterStruct.h: change type of depth to unsigned int ==
12551         depth_type. Many adaptations to other files before of that.
12552
12553 2001-06-24  The LyX Project  <Asger>
12554
12555         * Fix Qt compilation.
12556
12557 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * paragraph.h: renamed several methods to begin with small letter.
12560         several changes to many parts of the code because of this.
12561
12562 2001-06-23  The LyX Project  <jug@sad.it>
12563
12564         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12565         rewritten to discard all double spaces when KeepEmpty is off
12566         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12567         to only handle newlines but not fiddle with spaces and friends.
12568
12569         * lyxfunc.C (MenuNew): when doing 'new from template', use
12570         template_path as default directory
12571
12572 2001-06-23  The LyX Project  <Asger>
12573
12574         * Clean-up of header file includes all over
12575         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12576
12577 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * paragraph.h: renamed from lyxparagraph.h
12580
12581 2001-06-23  Asger  <lyx@violet.home.sad.it>
12582
12583         * Buffer.h: Removed Buffer::resize
12584         * BufferList.h: Removed BufferList::resize
12585         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12586         the document lazily when we change the width, or the font settings.
12587
12588 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12591
12592 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * buffer.h: remove out of date comment
12595
12596 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * lyxscreen.h:
12599         * screen.C: fix "theoretical" GC leak
12600
12601 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12602
12603         * LaTeX.C (scanAuxFile):
12604         (deplog): remove trailing \r when reading stream (useful under
12605         win32)
12606
12607 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12610         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12611         and BufferView::theLockingInset(Inset*), so should use them and not
12612         access bv_->text->the_locking_inset directly.
12613
12614         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12615
12616 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * Makefile.am:
12619         * tex-defs.h: remove old unused file
12620
12621 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * BufferView_pimpl.C: fix typo, remove minibuffer message
12624           when buffer has loaded
12625
12626 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * lyxfunc.C (Dispatch): use stringstream
12629         (MenuNew): use stringstream
12630         (Open): use stringstream
12631
12632         * importer.C (Import): use stringstream
12633
12634         * bufferview_funcs.C (CurrentState): use stringstream
12635
12636         * LaTeX.C (run): use stringstream
12637
12638         * BufferView_pimpl.C (savePosition): use stringstream
12639         (restorePosition): use stringstream
12640         (MenuInsertLyXFile): use stringstream
12641
12642 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * BufferView.C:
12645         * Bullet.C:
12646         * ColorHandler.C:
12647         * FontInfo.C:
12648         * FontLoader.C:
12649         * LColor.C:
12650         * LaTeXFeatures.C:
12651         * Painter.C:
12652         * gettext.C:
12653         * lyx_gui_misc.C:
12654         * lyxserver.C:
12655         * vspace.C: removed // -*- C++ -*- as first line.
12656
12657         * lyxfind.h:
12658         * version.h: added // -*- C++ -*- as first line.
12659
12660 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12663
12664         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12665         of string
12666
12667 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12670         of floats.
12671
12672 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * gettext.C: include LString.h even when --disable-nls is on.
12675
12676 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12677
12678         * converter.h (Get): changed argument type from int to
12679         FormatList::size_type to avoid unnecessary conversion.
12680
12681         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12682         before using it.
12683
12684 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * gettext.h: include LString.h even when --disable-nls is on.
12687
12688 2001-06-07  Juergen Vigna  <jug@sad.it>
12689
12690         * text.C (BreakAgain): subst spaces with tabs.
12691
12692         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12693         (resizeInsetsLyXText): set force on resizeLyXText.
12694
12695 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12696
12697         * gettext.h (gettext_init):
12698         (locale_init): use a real definition instead of a macro
12699
12700 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * Bufferview_pimpl.C:
12703         * LColor.h:
12704         * LColor.C: further lcolor tidies
12705
12706 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * BufferView_pimpl.C (updateScrollbar): simplify.
12709
12710         * BufferView2.C: don't include insets/insetinfo.h, change
12711         prototype for insertInset and call the Pimpl version. let
12712         updateInset call Pimpl version.
12713
12714         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12715         gotoInset to BufferView::Pimpl
12716
12717 2001-06-01  Juergen Vigna  <jug@sad.it>
12718
12719         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12720         inside a LockingInset (is the update needed at all?).
12721
12722 2001-05-31  Juergen Vigna  <jug@sad.it>
12723
12724         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12725         here not the old one otherwise how should we compare it afterwards
12726         if it's the same!
12727
12728 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12729
12730         * lyxfont.C:
12731         * tabular.C:
12732         * tabular-old.C:
12733         * FontInfo.C: bring C functions into global namespace when
12734         necessary
12735
12736 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * LString.h: make sure config.h has been loaded before LString.h.
12739
12740         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12741         (one for each char read by EatLine!).
12742
12743         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12744         variables.
12745
12746 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12749         to the same as the par we break from
12750
12751 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12752
12753         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12754
12755         * MenuBackend.C (expand): also create menu entries for wide
12756         versions of the floats.
12757
12758         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12759
12760         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12761
12762         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12763         frontends/Makefile.am
12764
12765         * text2.C: adjust
12766         * text.C: adjust
12767
12768
12769         * tabular.C (getTokenValue): add std::
12770
12771         * tabular-old.C (getTokenValue): add std::
12772         (getTokenValue): ditto
12773         (getTokenValue): ditto
12774
12775         * screen.C (ToggleSelection): adjust
12776
12777         * lyxtext.h: put selection cursors inside a Selection struct.
12778
12779         * lyxfunc.C (moveCursorUpdate): adjust
12780
12781         * lyxfont.C (latexWriteStartChanges): add std::
12782
12783         * lyxfind.C: adjust
12784
12785         * font.h: delete with(char const *, LyXFont const &)
12786
12787         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12788
12789         * FontInfo.C (getFontname): add std::
12790
12791         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12792         (workAreaButtonPress): adjust
12793         (tripleClick): adjust
12794         (update): adjust
12795         (moveCursorUpdate): adjust
12796         (Dispatch): adjust
12797
12798         * BufferView2.C (gotoInset): adjust
12799
12800 2001-05-30  Juergen Vigna  <jug@sad.it>
12801
12802         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12803         to check pspell I add this as default as I now have new pspell
12804         libraries and they seem to use this.
12805
12806 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * text2.C (CutSelection): make the cursor valid before the call to
12809         ClearSelection.
12810
12811 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12814         relied on 0 terminated strings and other horrors. Bug found due to
12815         the new assert in lyxstring!
12816
12817         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12818         KP_ keys.
12819
12820 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12823         to latinkeys.bind.
12824
12825         * lyxfunc.C (processKeySym): change method of getting to the
12826         self-insert char.
12827
12828         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12829         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12830         * BufferView_pimpl.[Ch]: here as private methods.
12831
12832 2001-05-28  Juergen Vigna  <jug@sad.it>
12833
12834         * text.C (SetHeightOfRow): added the update() call again as it is
12835         needed to initialize inset dimensions!
12836
12837 2001-05-16  Juergen Vigna  <jug@sad.it>
12838
12839         * text2.C (SetCharFont): Add new function with BufferView * and
12840         bool toggleall parameters for setting insets internal fonts.
12841         (SetFont): Freeze the undo as we may change fonts in Insets and
12842         all this change should be inside only one Undo!
12843
12844         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12845         setting font's in insets as for them we have the SetFont function!
12846
12847 2001-05-15  Juergen Vigna  <jug@sad.it>
12848
12849         * text2.C (ClearSelection): to be sure we REALLY don't have any
12850         selection anymore!
12851
12852         * tabular.C (TeXCellPreamble): fixed the left border problem for
12853         multicolumn cells.
12854
12855 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12856
12857         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12858         dependancy file
12859
12860 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12863         LFUN_BREAKPARAGRAPH.
12864
12865         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12866         help test to "internal only", similar for LFUN_INSERT_URL
12867
12868         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12869         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12870         auto_region_delete and deadkeys.
12871
12872 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * LColor.h:
12875         * LColor.C: remove some dead entries, tidy a little
12876
12877 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12880         commented code.
12881         (Dispatch): implement LFUN_ESCAPE
12882
12883         * commandtags.h: add LFUN_ESCAPE
12884
12885         * LyXAction.C (init): add entry for LFUN_ESCAPE
12886
12887         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12888         Remove commented code.
12889         (insertNote): moved here
12890         (open_new_inset): moved here
12891
12892         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12893         BufferView_pimpl
12894
12895 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * kbmap.C (findbinding): clean it up and make it work correctly.
12898
12899         * lyx_main.C (init): do not pass argc and argv as parameters
12900
12901 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12902
12903         * buffer.C: fix path for OS/2 & Win32
12904
12905         * lyx_gui.C:
12906         * lyx_main:
12907         * lyx_main.C: Added os:: class.
12908
12909         * os2_defines.h: update
12910
12911 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12914         better by trying again with reduced state.
12915
12916 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * lyxrc.C (read): print error about invalid key sequence only when
12919         debugging (because not all latinX keysyms are known to some X
12920         servers)
12921
12922         * kbsequence.C (getiso): add a few std:: qualifiers
12923         (getiso): comment out extra return statement.
12924
12925 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12928         handling.
12929         (Dispatch): enhance the accent inset a bit. (not perfect)
12930
12931 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12934
12935 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12936
12937         * bufferlist.C (emergencyWrite): fix assert() call
12938
12939 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12940
12941         * text.C (InsertChar): Added trivial patch to only send the "you
12942         can not do multiple spaces this way" message once during a
12943         session.
12944
12945 2001-05-08  Baruch Even  <baruch@lyx.org>
12946
12947         * Makefile.am: Changed order of libraries to get LyX to link properly
12948         with the gnome frontend.
12949
12950 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * LaTeXFeatures.h: add a std:: qualifier
12953
12954 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * paragraph.C (String): use stringstream
12957
12958 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * paragraph.C (writeFile): remove footflag arg
12961
12962         * buffer.C (makeLaTeXFile): use stringstream
12963         (latexParagraphs): remove footnot gurba
12964
12965         * LaTeXFeatures.C (getPackages): use stringstream
12966         (getMacros): likewise
12967         (getTClassPreamble): likewise
12968         (getFloatDefinitions): new method
12969
12970         * paragraph.C (writeFile): reindent
12971         (Erase): reindent
12972
12973         * WorkArea.h: revert the xpos + etc changes.
12974
12975         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12976
12977         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12978
12979         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12980         (pasteSelection): likewise
12981         * text2.C (CreateUndo): likewise
12982
12983 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * minibuffer.C (peek_event): temporarily reduce the functionality
12986         of the minibuffer (to allow args on lfuns)
12987
12988         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12989         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12990
12991         * buffer.C (readInset): add compability reading of old float
12992         lists, add reading of new style float list.
12993         (readInset): avoid reevaluation of inscmd.getCmdName()
12994         (getLists): reindent
12995
12996         * MenuBackend.C (MenuItem): implement parsing of
12997         md_floatlistinsert and md_floatinsert.
12998         (expand::LastFiles): move initalizaton of iterators out of loop,
12999         avoid reevaluation.
13000         (expand::Documents): introduce typdedef vector<string> Strings,
13001         and use it.
13002         (expand::ExportFormats): introduce typedef vector<Format const *>
13003         Formats, and use it.
13004         (expand): implement FloatListInsert and FloatInsert.
13005
13006         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13007         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13008         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13009
13010         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13011         handling.
13012         (Dispatch::LFUN_FLOAT_LIST): implement
13013
13014 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13015
13016         * LaTeX.C (run): Fix problem with --export code.
13017
13018 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13019
13020         * BufferView.[Ch] (workarea): removed.
13021         (getClipboard) new method; wrapper for workarea()->getClipboard()
13022
13023         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13024         bug.
13025
13026         * WorkArea.h (width, height, xpos, ypos): These methods all
13027         returned the dimensions of the work_area sub-area of WorkArea,
13028         resulting in a position error if the WorkArea were resized. Now
13029         return the dimensions of the entire WorkArea.
13030
13031         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13032
13033 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13034
13035         * LaTeX.C (deplog): correct the syntax of regex reg1
13036
13037 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * undo.C: remove !NEW_INSETS cruft
13040
13041 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * text2.C: remove !NEW_INSETS cruft
13044
13045         * text.C: remove !NEW_INSETS cruft
13046
13047         * tabular.C: remove !NEW_INSETS cruft
13048
13049         * spellchecker.C: remove !NEW_INSETS cruft
13050
13051         * lyxtext.h: remove !NEW_INSETS cruft
13052
13053         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13054
13055         * lyxfunc.C: remove !NEW_INSETS cruft
13056
13057         * lyxfind.C: remove !NEW_INSETS cruft
13058
13059         * lyx_cb.C: remove !NEW_INSETS cruft
13060
13061         * figureForm.C: remove  !NEW_INSETS cruft
13062
13063         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13064
13065         * buffer.[Ch]: remove !NEW_INSETS cruft
13066
13067         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13068
13069         * CutAndPaste.C: remove !NEW_INSETS cruft
13070
13071         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13072
13073         * BufferView2.C: remove !NEW_INSETS cruft
13074
13075         * BufferView.h: remove !NEW_INSETS cruft
13076
13077 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * Lsstream.h: include LString.h before the sstream headers to
13080         fix problem with gcc 2.95.3 and lyxstring
13081
13082 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13083
13084         * lyx_main.C: add using directives when needed for C functions
13085         declared in std:: namespace.
13086
13087 2001-04-27  Juergen Vigna  <jug@sad.it>
13088
13089         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13090         (SetHeightOfRow): comment out the update call should not be needed!
13091
13092 2001-04-13  Juergen Vigna  <jug@sad.it>
13093
13094         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13095         (LyXTabular): tried to minimize operator= operations (and realized
13096         hopfully Lars wish).
13097
13098 2001-04-27  Juergen Vigna  <jug@sad.it>
13099
13100         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13101
13102 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13105
13106         * buffer.C (readInset): hack to make listof algorithm work
13107
13108         * BufferView_pimpl.C: hack to make listof algorithm work
13109
13110 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * LyXAction.C: removed all !NEW_INSETS cruft
13113         (init): moved lfun_item in method
13114
13115         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13116
13117 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13118
13119         * BufferView2.C (theLockingInset): white space.
13120
13121 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * minibuffer.C: include <iostream>
13124
13125         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13126
13127         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13128
13129         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13130
13131         * text.[Ch] (TransposeChars): new method
13132
13133 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * call message directly through LyXView instead of through LyXFunc
13136         * BufferView2.C: adjust
13137         * BufferView_pimpl.C: adjust
13138         * FontLoader.C: adjust
13139         * buffer.C: adjust
13140         * bufferview_funcs.C: adjust
13141         * converter.C: adjust
13142         * figureForm.C: adjust
13143         * importer.C: adjust
13144         * lyx_cb.C: adjust
13145         * lyx_gui_misc.C: adjust
13146         * lyxfunc.C: adjust
13147         * lyxvc.C: adjust
13148         * text2.C: adjust
13149         + more files in subdirs
13150
13151         * lyxparagraph.h (size): move up int file
13152         (GetLayout): ditto
13153
13154         * adjust all uses of Assert to lyx::Assert.
13155
13156         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13157         lyxfunctional in namespace lyx
13158         * layout.C (hasLayout): ditto
13159         (GetLayout): ditto
13160         (GetLayout): ditto
13161         (delete_layout): ditto
13162         (NumberOfClass): ditto
13163         * converter.C (GetFormat): ditto
13164         (GetNumber): ditto
13165         (Add): ditto
13166         (Delete): ditto
13167         (SetViewer): ditto
13168         * bufferlist.C (getFileNames): ditto
13169         (emergencyWriteAll): ditto
13170         (exists): ditto
13171         (getBuffer): ditto
13172         * MenuBackend.C (hasSubmenu): ditto
13173         (hasMenu): ditto
13174         (getMenu): ditto
13175         * BufferView_pimpl.C (getInsetByCode): ditto
13176
13177 2001-04-18  Juergen Vigna  <jug@sad.it>
13178
13179         * vspace.C (asLatexString): fixed the 100% problem.
13180
13181 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * lyxfunc.C (Dispatch):
13184         * minibuffer.C:
13185         * minibuffer.h: add a few std:: qualifiers
13186
13187 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * minibuffer.[Ch]: reimplement so that commands is initiated and
13190         run from lyxfunc, simplified som handling, and made the completion
13191         and history code for complete. wip.
13192
13193         * lyxfunc.C (processKeySym): call message
13194         (miniDispatch): new temporary method
13195         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13196         (LFUN_MESSAGE): implement
13197         (LFUN_MESSAGE_PUSH): implement
13198         (LFUN_MESSAGE_POP): implement
13199         (initMiniBuffer): the initial/defualt minibuffer message.
13200
13201         * lyxfont.[Ch]: inline some more getters
13202
13203         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13204
13205         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13206
13207         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13208         (AutoSave): use LFUN_MESSAGE
13209         (Reconfigure): ditto
13210
13211         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13212
13213         * figureForm.C: use LFUN_MESSAGE
13214
13215         * converter.C (runLaTeX): use LFUN_MESSAGE
13216
13217         * bufferview_funcs.C: use LFUN_MESSAGE
13218         (Melt): ditto
13219         (changeDepth): ditto
13220
13221         * bufferparams.h: use boost::
13222
13223         * bufferlist.h: inherit privately from noncopyable
13224
13225         * bufferlist.C (loadLyXFile): remove some commented code.
13226
13227         * buffer.C (runChktex): use LFUN_MESSAGE
13228
13229         * ShareContainer.h: inherit privately from noncopyable
13230
13231         * ParagraphParameters.[hC] (depth): inline it.
13232
13233         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13234         methods.
13235         (message): new method
13236         (messagePush): ditto
13237         (messagePop): ditto
13238         (show): init minibuffer
13239         (showState): direct call
13240
13241         * LaTeX.[Ch]: inherit privately from noncopyable
13242         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13243         instead of WriteStatus.
13244
13245         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13246
13247         * BufferView_pimpl.C (buffer): don't init minibuffer
13248         (workAreaButtonPress): use LFUN_MESSAGE
13249         (workAreaButtonRelease): ditto
13250         (savePosition): ditto
13251         (restorePosition): ditto
13252         (MenuInsertLyXFile): ditto
13253         (workAreaExpose): don't init minibuffer
13254         (update): remove commented code, simplify
13255
13256         * BufferView2.C (openStuff): use LFUN_MESSAGE
13257         (toggleFloat): ditto
13258         (menuUndo): ditto
13259         (menuRedo): ditto
13260         (copyEnvironment): ditto
13261         (pasteEnvironment): ditto
13262         (copy): ditto
13263         (cut): ditto
13264         (paste): ditto
13265         (gotoInset): ditto
13266         (updateInset): remove some commented code
13267
13268         * lastfiles.h: inherit privately from noncopyable
13269         * layout.h: ditto
13270         * lyx_gui.h: ditto
13271         * lyx_main.h: ditto
13272         * lyxlex.h: ditto
13273         * lyxlex_pimpl.h: ditto
13274
13275         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13276         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13277         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13278
13279         * LyXAction.h: inherit privately from noncopyable, add methods
13280         func_begin, func_end, returning iterators to the func map.
13281
13282         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13283         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13284         (func_begin): new method
13285         (func_end): new method
13286
13287         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13288         and not)
13289         (copySelection): ditto
13290         (pasteSelection): ditto
13291
13292         * BufferView.C: whitespace change
13293         * BufferView.h: inherit privately from noncopyable
13294
13295 2001-04-16  Allan Rae  <rae@lyx.org>
13296
13297         * tabular-old.C (l_getline):
13298         * spellchecker.C (sc_check_word):
13299         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13300         an unrecognised preprocessor directive.  So ensure they're wrapped.
13301
13302 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13303
13304         * src/exporter.C (Export): Give an error message when path to file
13305         contains spaces.
13306
13307 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13308
13309         * LaTeX.C (deplog): Always check that foundfile exists.
13310
13311 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * lyx_main.h:
13314         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13315
13316 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * tabular.[Ch] (getLabelList): implement new method
13319
13320         * minibuffer.h: comment ouf setTiimer
13321
13322         * minibuffer.C (ExecutingCB): constify res
13323         (peek_event): constify s
13324         (Set): constify ntext
13325         (Init): constify nicename
13326
13327         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13328
13329         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13330         (savePosition): use two params to Minibuffer::Set
13331         (restorePosition): ditto
13332
13333 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * lyx_main.C: include language.h
13336
13337         * Makefile.am (lyx_main.o): add language.h
13338
13339 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * exporter.C:
13342         * paragraph.C:
13343         * screen.C:
13344         * tabular.C:
13345         * CutAndPaste.C: include gettext.h
13346
13347         * lyxfont.h: remove old hack with ON and OFF.
13348
13349         * lyxparagraph.h:
13350         * lyxfont.h: do not include language.h...
13351
13352         * BufferView2.C:
13353         * LaTeXFeatures.C:
13354         * Painter.C:
13355         * bufferview_funcs.C:
13356         * font.C:
13357         * lyxfont.C:
13358         * text.C:
13359         * text2.C:
13360         * trans_mgr.C:
13361         * paragraph.C: ... but do it here instead
13362
13363 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13366
13367         * tabular.C: small reformat
13368
13369         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13370         NEW_INSETS version
13371         (GetChar): ditto
13372         (BreakParagraph): ditto
13373         (SetOnlyLayout): ditto
13374         (SetLayout): ditto
13375
13376         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13377         with one arg less.
13378
13379         * lastfiles.C: removed most using decl, add std:: where needed
13380
13381         * buffer.C: ws changes
13382
13383         * MenuBackend.C (class compare_format): put into anon namespace
13384         (expand): constify label, names, action, action2
13385         (expand):
13386
13387         * text.C (SingleWidth): constify font
13388         (IsBoundary): constify rtl2
13389         (GetVisibleRow): constify ww
13390
13391         * LaTeX.C (deplog): constify logfile
13392
13393         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13394         start_x, end_x
13395         (workAreaExpose): constify widthChange, heightChange
13396
13397         * lyxrow.C (par): moved
13398         (height): moved
13399         (next): moved
13400         * lyxrow.h: as inlines here
13401
13402         * lyxfont.h (shape): moved from lyxfont.C
13403         (emph): moved from lyxfont.C
13404
13405         * lyxfont.C (LyXFont): use initialization list for all
13406         constructors
13407         (shape): move to lyxfont.h as inline
13408         (emph): move to lyxfont.h as inline
13409
13410
13411 2001-04-04  Juergen Vigna  <jug@sad.it>
13412
13413         * vspace.C: had to include stdio.h for use of sscanf
13414
13415 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13416
13417         * BufferView.h:
13418         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13419         independent of xforms.
13420
13421 2001-04-02  Juergen Vigna  <jug@sad.it>
13422
13423         * spellchecker.C: fixed namespace placing!
13424
13425 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13426
13427         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13428         the LyXParagraph * is 0.
13429
13430 2001-03-29  Juergen Vigna  <jug@sad.it>
13431
13432         * vspace.C: added support for %, c%, p%, l%.
13433         (stringFromUnit): added helper function.
13434         (asLatexString): changed to give right results for the %-values.
13435
13436         * buffer.C: convert the widthp in a width%.
13437
13438 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13441         figureForm.[Ch].
13442
13443         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13444         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13445
13446         * lyx_cb.[Ch]: see above.
13447
13448         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13449         form1.[Ch].
13450
13451         * form1.[Ch]:
13452         * lyx.[Ch]: replaced by figure_form.[Ch].
13453
13454         * lyx_gui.C:
13455         * lyx_gui_misc.C:
13456         * lyxfunc.C: changed headers associated with above changes.
13457
13458 2001-03-27  Juergen Vigna  <jug@sad.it>
13459
13460         * BufferView_pimpl.C: set the temporary cursor right!
13461
13462 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13463
13464         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13465
13466 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * LString.h: removed "using std::getline"!
13469
13470         * BufferView_pimpl.C (Dispatch): changes due to changes in
13471         InsetInclude::Params.
13472
13473         * buffer.C (tag_name): removed redundant break statements as they were
13474         producing lots of warnings with my compiler.
13475
13476 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * LString.h: add "using std::getline" when using the real <string>.
13479
13480 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13481
13482         * buffer.C: removed bitset usage.
13483         PAR_TAG moved to an anonymous name space.
13484         (tag_name): new funtion, also in the anonymous namespace.
13485         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13486         (makeDocBookFile): clean code. Completed transition from string arrays
13487         to string vectors.
13488         (SimpleDocBookOnePar): code clean.
13489
13490 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13491
13492         * tabular.C: add some comments.
13493
13494 2001-03-22  Juergen Vigna  <jug@sad.it>
13495
13496         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13497         compatibility read a bit and fixed bug with minipage in different
13498         depth.
13499
13500 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13501
13502         * buffer.C (pop_tag): removed.
13503         (push_tag): removed.
13504         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13505         array replaced with vector. Added support for CDATA sections.
13506         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13507         at any nest level.
13508         (makeDocBookFile): XML conformant declaration of CDATA section,
13509         fixed bug related to <emphasis> in the first paragraph char.
13510         (sgmlOpenTag): exclude empty tags.
13511         (sgmlCloseTag): ditto.
13512
13513         * buffer.h (pop_tag): removed.
13514         (push_tag): removed.
13515
13516 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13517
13518         * language.h (Languages): added size_type and size().
13519
13520 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13521
13522         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13523         response on compability reading of minipages. One probliem is that
13524         the old usage of minipages was «flertydig»
13525
13526         * several files here and in subdirs: don't use static at file
13527         scope use anon namespaces instead.
13528
13529 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13530
13531         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13532         LaTeX output. This is necessary for Literate document
13533         processing.
13534
13535 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13536
13537         * buffer.C: insert hfill when needed.
13538
13539         * tabular.C (l_getline): use string::erase, small whitespace change.
13540
13541         * BufferView_pimpl.C: try the anon namespace.
13542         * WorkArea.C: ditto
13543
13544 2001-03-16  Juergen Vigna  <jug@sad.it>
13545
13546         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13547         otherwise it won't open options-dialogs.
13548
13549         * buffer.C: honor pextraWidth(p) on converting minipages.
13550
13551         * tabular.C (l_getline): changed the functions to strip trailing \r.
13552
13553 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13554
13555         * BufferView_pimpl.C:
13556         * minibuffer..C: added "using SigC::slot" declaration.
13557
13558 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13559
13560         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13561
13562         * text2.C: ditto
13563
13564         * text.C: ditto
13565
13566         * paragraph.C: ditto
13567
13568         * lyxtext.h: NO_PEXTRA
13569
13570         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13571
13572         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13573         * ParameterStruct.h: ditto
13574         * ParagraphParameters.h: ditto
13575         * lyxparagraph.h: ditto
13576
13577 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13578
13579         * buffer.C: add compability for minipage alignment.
13580         (latexParagraphs): remove unwanted pextra check.
13581
13582         * several files: remove CXX_WORKING_NAMESPACES
13583
13584         * buffer.C (pop_tag): tie is in namespace boost
13585
13586         * BufferView.h: noncopyable is in namespace boost
13587         * lyxlex.h: ditto
13588         * lyx_main.h: ditto
13589         * lyx_gui.h: ditto
13590         * layout.h: ditto
13591         * lastfiles.h: ditto
13592         * bufferlist.h: ditto
13593         * ShareContainer.h: ditto
13594         * LyXView.h: ditto
13595         * LyXAction.h: ditto
13596         * LaTeX.h: ditto
13597
13598 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * Merging changes from BRANCH_MVC back into HEAD.
13601
13602         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13603
13604 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * BufferView_pimpl.C: change from intl.C
13607
13608         * combox.h:
13609         * combox.C:
13610         * Makefile.am: move combox.*
13611
13612         * form1.h:
13613         * form1.C:
13614         * lyx_gui.C:
13615         * intl.h:
13616         * intl.C: remove dialog (covered by prefs)
13617
13618 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13619
13620         * lyxfunc.C (Dispatch): removed redundant break statement.
13621
13622 2001-03-14  Juergen Vigna  <jug@sad.it>
13623
13624         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13625
13626 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13627
13628         * buffer.C: add hack to fix compability reading of minipages.
13629
13630 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13631
13632         * buffer.C (getLists): Cleanup.
13633
13634 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * lyxfont.C (update): don't honor toggleall on font size.
13637
13638 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * bmtable.c:
13641         * bmtable.h:
13642         * Makefile.am: moved to frontends/xforms/
13643
13644         * lyx_gui_misc.C:
13645         * lyxfunc.C:
13646         * BufferView_pimpl.C: changes for moved mathpanel
13647
13648 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * gettext.h: fix gettext_init() in --disable-nls
13651
13652 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13655
13656 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13657
13658         * lyx.C:
13659         * lyx.h: strip external form
13660
13661 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * BufferView_pimpl.C: add comment, destroySplash()
13664
13665 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * BufferView_pimpl.C:
13668         * LyXAction.C:
13669         * buffer.C:
13670         * commandtags.h:
13671         * lyxfunc.C: use re-worked insetinclude
13672
13673 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13674
13675         * buffer.C: add using std::stringstream.
13676
13677         * lyx_cb.C: readd using std::ios.
13678
13679         * buffer.C: add using std::map.
13680
13681         * BufferView_pimpl.C: add using std::vector.
13682
13683         * ShareContainer.h: add std:: to swap.
13684
13685         * buffer.h: add some typedefs
13686         * buffer.C (getLists): use them
13687         (getLists): renamed from getTocList.
13688         add a counter for the different float types and use it in the
13689         generated string.
13690         (getLists): use the same counter for the NEW_INSETS and the "non"
13691         NEW_INSETS
13692
13693         * lyx_cb.h: remove unused items, includes, using etc.
13694
13695         * ShareContainer.h: remove some commented code, add more comments
13696         and "documentation".
13697
13698 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13699
13700         * buffer.C (getTocList): make the list also when NEW_INSETS is
13701         defined.
13702
13703         * buffer.h: remove TocType
13704
13705         * buffer.C (getTocList): change to return a map<string,
13706         vector<TocItem> >, implement for dynamic number of list.
13707
13708         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13709         * text2.C (PasteSelection): adjust
13710         * CutAndPaste.C (pasteSelection): adjust
13711
13712         * FloatList.C (FloatList): update from the new_insets branch.
13713         * Floating.[Ch]: ditto
13714         * LaTeXFeatures.C: ditto
13715         * buffer.C: ditto
13716         * lyxlex_pimpl.C: ditto
13717
13718         * paragraph.C (Last): remove when NEW_INSETS is defined.
13719
13720         * other file: changes because of the above.
13721
13722 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13723
13724         * lyxparagraph.h: rename next to next_, previous to previous_,
13725         make them private for NEW_INSETS. Rename Next() to next(),
13726         Previous() to previous().
13727
13728         * other files: changes because of the above.
13729
13730 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13731
13732         * BufferView.h:
13733         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13734         problem.
13735
13736 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * main.C (main): pass lyx_localedir to gettext_init().
13739
13740         * gettext.h: remove locale_init and gettext_init macros
13741
13742         * gettext.C (locale_init): new function
13743         (gettext_init): new function
13744
13745         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13746         setlocale().
13747
13748 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13749
13750         * Moved credits to frontends:
13751         * credits.[Ch]: removed
13752         * credits_form.[Ch]: removed
13753         * lyx_gui_misc.C: remove credits stuff
13754         * Makefile.am:
13755
13756 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13757
13758         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13759
13760         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13761         unneeded destructor.
13762
13763         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13764         a standalone pointer again.
13765
13766         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13767
13768 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * Makefile.am:
13771         * filedlg.h:
13772         * filedlg.C:
13773         * LyXAction.C:
13774         * ToolbarDefaults.C:
13775         * bufferlist.C:
13776         * commandtags.h:
13777         * form1.C:
13778         * form1.h:
13779         * lyx_cb.C:
13780         * lyx_cb.h:
13781         * lyxfunc.h:
13782         * lyxfunc.C:
13783         * BufferView_pimpl.C: use new file dialog in GUII
13784
13785         * lyx_cb.h:
13786         * lyx_cb.C: remove LayoutsCB to Toolbar
13787
13788 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * ShareContainer.h (get): add std:: qualifier
13791
13792 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * ShareContainer.h: define a proper ShareContainer::value_type
13795         type (and use typename to please compaq cxx)
13796
13797 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13798
13799         * lyxparagraph.h: move serveral local vars to
13800         ParameterStruct/ParagraphParameters., use ShareContainer in
13801         FontTable., make vars in FontTable private and add getter and
13802         setter.
13803
13804         * paragraph.C: changes because of the above.
13805
13806         * lyxfont.h: remove copy constructor and copy assignment. (the
13807         default ones is ok), move number inside FontBits. move inlines to
13808         lyxfont.C
13809
13810         * lyxfont.C: add number to initializaton of statics, move several
13811         inlines here. constify several local vars. some whitespace
13812         cleanup. Dont hide outerscope variables.
13813
13814         * Spacing.h: add two new constructors to match the set methods.
13815
13816         * ShareContainer.h: new file, will perhaps be moved to support
13817
13818         * ParameterStruct.h: new file
13819
13820         * ParagraphParameters.h: new file
13821
13822         * ParagraphParameters.C: new file
13823
13824         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13825         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13826
13827         * BufferView_pimpl.C: ParagraphParameter changes.
13828         * buffer.C: Likewise.
13829         * bufferview_funcs.C: Likewise.
13830         * text.C: Likewise.
13831         * text2.C: Likewise.
13832
13833 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * lyxfind.C (LyXReplace): do not redefine default argument in
13836         implementation.
13837         (IsStringInText): ditto
13838         (SearchForward): ditto
13839         (SearchBackward): ditto
13840
13841 2001-03-06  Juergen Vigna  <jug@sad.it>
13842
13843         * lyxfind.C (IsStringInText): put parentes around expressions.
13844
13845 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13846
13847         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13848
13849 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13852
13853         * stl_string_fwd.h: add comment
13854
13855         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13856
13857         * tabular.h:
13858         * tabular.C: remove unused DocBook methods
13859
13860         * intl.C:
13861         * language.C:
13862         * paragraph.C:
13863         * buffer.C:
13864         killed DO_USE_DEFAULT_LANGUAGE
13865
13866 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * lyx_gui.C: do not include language.h.
13869
13870         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13871         arguments in function implementation.
13872
13873 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13874
13875         * BufferView_pimpl.C: add <ctime>
13876
13877 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13878
13879         * BufferView_pimpl.C: add using std::find_if
13880
13881 2001-02-27  José Matos  <jamatos@fep.up.pt>
13882
13883         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13884         by OnlyPath.
13885
13886 2001-02-11  José Matos  <jamatos@fep.up.pt>
13887
13888         * buffer.C (makeDocBookFile): command styles now have a parameter as
13889         "title" by default.
13890
13891 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13892
13893         * layout_forms.[Ch]: removed
13894         * lyx_cb.[Ch]: out character
13895         * lyx_gui.C: out character
13896         * lyx_gui_misc.C: out character
13897         * bufferview_funcs.C: : out character,
13898         added toggleall as parameter in ToggleAndShow
13899
13900 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13903
13904         * text2.C (SetCurrentFont): Disable number property at boundary.
13905
13906 2001-02-26  Juergen Vigna  <jug@sad.it>
13907
13908         * lyxfunc.C (getStatus): added a string argument override function so
13909         that this is correctly called from LyXFunc::Dispatch if it contains a
13910         do_not_use_argument which is used!
13911         (Dispatch): added check for "custom" export and call appropriate func.
13912
13913 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13914
13915         * lyxrc.C: Add language_command_local, language_use_babel and
13916         language_global_options.
13917
13918         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13919
13920         * buffer.C (makeLaTeXFile): Use language_use_babel and
13921         language_global_options.
13922
13923 2001-02-23  Juergen Vigna  <jug@sad.it>
13924
13925         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13926         which works with LyXText and putted it inside BufferView. Here now we
13927         only call for that part the BufferView::Dispatch() function.
13928
13929         * BufferView.C (Dispatch): added.
13930
13931         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13932         functions which needs to use a LyXText over from LyXFunc.
13933         (MenuInsertLyXFile): added
13934         (getInsetByCode): added
13935         (moveCursorUpdate): added
13936         (static TEXT): added
13937
13938 2001-02-22  Juergen Vigna  <jug@sad.it>
13939
13940         * BufferView_pimpl.C (update): call a status update to see if LyXText
13941         needs it.
13942
13943 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13944
13945         * vc-backend.C (revert): implement for CVS
13946         (getLog): implement for CVS
13947
13948 2001-02-20  Juergen Vigna  <jug@sad.it>
13949
13950         * text2.C (ClearSelection): added BufferView param for inset_owner call
13951
13952         * lyxfunc.C (TEXT): added this function and use it instead of
13953         directly owner->view()-text of getLyXText().
13954
13955 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13956
13957         * src/layout_forms.C: out preamble
13958         * src/layout_forms.h: out preamble
13959         * src/lyx_cb.C: out preamble
13960         * src/lyx_cb.h: out preamble
13961         * src/lyx_gui.C: out preamble
13962         * src/lyx_gui_misc.C: out preamble
13963         * src/lyxfunc.C: connect with guii preamble
13964
13965 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13966
13967         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13968
13969 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13970
13971         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13972         whether to run bibtex.
13973
13974 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13977
13978 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13979
13980         * Makefile.am (lyx_SOURCES): removed bibforms.h
13981
13982         * vspace.h: doxygen
13983
13984         * text.C (GetVisibleRow): make several local vars const
13985
13986         * tabular.C: small cleanup.
13987
13988         * lyxserver.C (callback): use compare instead of strncmp
13989
13990         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13991         inlines to after class or to paragraph.C
13992
13993         * lyxfont.h: remove friend operator!=
13994
13995         * converter.h: move friend bool operator< to non friend and after
13996         class def.
13997
13998         * combox.h: small cleanup
13999
14000         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14001         to inlines after class def.
14002
14003         * buffer.C (pop_tag): use string operations instead of strcmp
14004
14005         * bmtable.c: doxygen, small cleanup
14006
14007         * LaTeX.h: remove friend operator==
14008
14009 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14010
14011         * screen.C:
14012         * lyxrc.[Ch]:
14013         * lyxfunc.C:
14014         * lyxfont.[Ch]:
14015         * lyx_cb.C:
14016         * intl.[Ch]:
14017         * commandtags.h:
14018         * buffer.C:
14019         * WorkArea.[Ch]:
14020         * LyXAction.C:
14021         * BufferView_pimpl.C:
14022         * BufferView.[Ch]: remove cruft
14023
14024 2001-02-14  Juergen Vigna  <jug@sad.it>
14025
14026         * lyxfunc.C: removed #if 0 unused code
14027
14028         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14029
14030         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14031
14032         * text2.C (SetSelection): added a BufferView * parameter
14033
14034 2001-02-13  Juergen Vigna  <jug@sad.it>
14035
14036         * lyxfunc.C (Dispatch): fixed protected blank problem.
14037         * BufferView2.C (protectedBlank): added LyxText * parameter.
14038
14039         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14040         (AppendColumn): same as above for column_info.
14041
14042         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14043         (moveCursorUpdate): use a LyXText param for support of InsetText.
14044
14045         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14046         (tripleClick): ditto
14047
14048         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14049
14050         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14051
14052         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14053
14054         * text2.C (SetSelection): set correct update status if inset_owner
14055         (ToggleFree): ditto
14056
14057 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14058
14059         * tabular.C: remove some commented code.
14060
14061 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * BufferView_pimpl.C: call hideSplash()
14064
14065         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14066
14067         * include_form.h:
14068         * bibforms.h: remove
14069
14070         * lyxfunc.C:
14071         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14072           add LFUN_CHILD_CREATE
14073
14074         * counters.h: fix tiny typo
14075
14076         * lyx_cb.C:
14077         * lyx.h:
14078         * lyx_gui.C:
14079         * lyx.C: move splash to frontends/xforms/
14080
14081         * lyx_gui_misc.C: move Include and Bibform to frontends
14082
14083         * lyxvc.h: clarify comment
14084
14085         * vspace.C: tiny housekeeping
14086
14087 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * text.C (PrepareToPrint): RTL Fix.
14090
14091         * paragraph.C (GetUChar): New method.
14092         (String):  Use GetUChar.
14093
14094         * buffer.C (asciiParagraph): Use GetUChar.
14095
14096 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14097
14098         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14099
14100 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * buffer.h:
14103         * buffer.C: rename to getLogName(), handle
14104           build log / latex log nicely
14105
14106 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14107
14108         * MenuBackend.C:
14109         * MenuBackend.h: remove support for reference menuitem type.
14110
14111 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * BufferView_pimpl.C: housekeeping
14114         * BufferView_pimpl.h:
14115         * LyXView.h:
14116         * Makefile.am:
14117         * Timeout.C:
14118         * Timeout.h:
14119         * minibuffer.h: move Timeout GUI-I
14120
14121 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * lyxrc.C (read): Update converters data-structures.
14124
14125 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14126
14127         * LaTeX.h (operator!=): add operator != for Aux_Info
14128
14129 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14132
14133         * LaTeXLog.C: deleted, useful code moved to Buffer
14134
14135         * buffer.h:
14136         * buffer.C: new function getLatexLogName()
14137
14138         * lyx_gui_misc.C:
14139         * lyx_gui.C:
14140         * lyxvc.C:
14141         * lyxvc.h:
14142         * lyxfunc.C: use frontends for LaTeX and VC logs
14143
14144 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14145
14146         * LaTeX.h: yet another std:: that Allan forgot.
14147
14148         * Variables.C (set): renamed from isset(), because this clashes
14149         with some HP-UX macros (grr).
14150
14151 2001-02-06  Allan Rae  <rae@lyx.org>
14152
14153         * LaTeX.h: Another bug fix.  Missing std:: this time.
14154
14155 2001-02-04  Allan Rae  <rae@lyx.org>
14156
14157         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14158         floats problem. I've left it commented out because it's not quite
14159         correct.  It should also test that the current object is a table or
14160         figure inset.  But I haven't gotten around to figuring out how to do
14161         that.  I *think* it'll be something like: "table" == inset.type()
14162
14163         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14164         bool.
14165
14166 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14169         all the citation/databases/styles in the auxilary file.
14170         (run): Rerun latex if there was a babel language error.
14171
14172 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * text.C (Backspace): Preserve the font when changing newline char
14175         with a space.
14176         (BreakParagraph): If the cursor is before a space, delete the space.
14177
14178         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14179
14180 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14181
14182         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14183         new argument (code).
14184         (ChangeCitationsIfUnique): New method.
14185
14186         * paragraph.C (GetPositionOfInset): Handle bibkey.
14187
14188 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14189
14190         * BufferView_pimpl.h: change type of Position::par_pos to
14191         LyXParagraph::size_type.
14192
14193 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * BufferView_pimpl.C (savePosition, restorePosition): Write
14196         messages to minibuffer.
14197
14198 2001-01-28  José Matos  <jamatos@fep.up.pt>
14199
14200         * buffer.C (makeDocBookFile): adds support for document language.
14201         A silly restriction on the name of LatexCommand types where removed.
14202         Added support for CDATA sections, allows to chars unescaped, used
14203         among others in code, to avoid escape < and >.
14204
14205 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14208         saved positions instrad of a stack. Furthermore, a position is
14209         stored using paragraph id/paragraph position.
14210
14211         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14212         Remove LFUN_REF_BACK.
14213
14214 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14215
14216         * converter.C (dvipdfm_options): New method.
14217
14218 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * vspace.C (isValidLength): Fix for empty input string.
14221
14222 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14223
14224         * LyXAction.C (init): change description of LFUN_FIGURE to
14225         "Insert Graphics"
14226
14227 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * LaTeX.C: add using directive
14230
14231 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * MenuBackend.C (expand): Fix the sorting of the formats.
14234
14235 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * lyx_main.C: tiny error message fix
14238
14239 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14242         calling fl_initialize(). This fixes the problem with ',' as
14243         decimal separator in text files.
14244
14245 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * trans.C (process): Fix the keymap bug.
14248
14249 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14250
14251         * LaTeX.C (scanAuxFiles): New method. Provides support for
14252         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14253         (scanLogFile) Scan for "run BibTeX" messages.
14254
14255         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14256         OT1 font encoding. Also, load the aecompl package if the ae
14257         package is loaded.
14258
14259         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14260
14261 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * texrow.C (increasePos): turn two error messages into debug
14264         messages.
14265
14266 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * LaTeX.C (scanAux): Handle the \@input macro.
14269         (runBibTeX): Use scanAux().
14270
14271         * language.C (latex_options_): New field.
14272
14273         * LaTeXFeatures.C (getMacros): Add language macros.
14274
14275         * buffer.C (makeLaTeXFile): Small fix.
14276
14277 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14278
14279         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14280
14281         * text2.C: add a using directive.
14282
14283 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14284
14285         * BufferView2.C:
14286         * lyx_gui_misc.h:
14287         * lyxfr1.C:
14288         * lyxfunc.C: kill LyXBell.
14289
14290 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14291
14292         * text.C (IsBoundary): Remove the error message
14293
14294         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14295
14296         * lyxrc.C (setDefaults): Correct initialization value for
14297         font_norm_type.
14298
14299 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14300
14301         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14302         gotoError().
14303
14304         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14305         and GotoNextNote().
14306
14307         * src/LyXAction.C: Added reference-next.
14308
14309         * text.C (InsertChar): Use contains instead of strchr.
14310
14311         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14312
14313 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14314
14315         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14316         alignment commands (when needed).
14317
14318         * text.C (InsertChar): Add ':' to number separator chars.