]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3eaee3c7085056fe2518d8037b921af634c04fc8
[lyx.git] / src / ChangeLog
1 2004-03-26  Angus Leeming  <leeming@lyx.org>
2
3         * ispell.C (LaunchIspell::start):
4         * lyx_cb.C (AutoSaveBuffer::start):
5         invoke run(DontWait) rather than runNonBlocking().
6
7 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
10
11 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * kbsequence.C (print): adjust
14
15         * kbmap.C (printKeySym): rename and change signature
16         (printKey): use LyXKeySym::print()
17
18 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * undo.C: add using std::advance to compile for stlport
21
22 2004-03-24  Angus Leeming  <leeming@lyx.org>
23
24         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
25         it leads to a crash when no buffer is present.
26
27 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28             Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * lyxfunc.C (dispatch): 
31         * bufferparams.C (readToken): use the new LColor::setColor 
32
33         * LColor.[Ch] (setColor): new version that takes two strings as
34         argument and creates a new color entry if necessary
35
36 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
37
38         * buffer.C (makeLaTeXFile): if the main latex file that is
39         processed is usually a subdocument of some master, then pretend
40         for a while that it is actually the master
41
42 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
43
44         * buffer.C (getLabelList):
45         (getBibkeyList): use getMasterBuffer()
46         (getMasterBuffer): new method. Returns the main document in the
47         case where one is using included documents.
48
49 2004-03-25  André Pönitz  <poenitz@gmx.net>
50
51         * Makefile.am:
52         * iterators.[Ch]:
53         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
54
55         * ParagraphList_fwd.h: change ParagraphList to a std::vector
56
57         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
58         text*.C over here. Rename namespace CutAndPaste to lyx::cap
59
60         * ParameterStruct.h: merge with ParagraphParameters
61
62         * lyxtext.h: remove LyXText::parOffset() and getPar()
63
64         * text3.C: Remove all 'manual' update calls. We do now one per user
65         interaction which is completely sufficient.
66
67         * Bidi.C:
68         * BufferView.[Ch]:
69         * BufferView_pimpl.C:
70         * FontIterator.[Ch]:
71         * MenuBackend.C:
72         * ParagraphParameters.[Ch]:
73         * buffer.C:
74         * buffer.h:
75         * bufferlist.C:
76         * cursor.[Ch]:
77         * cursor_slice.[Ch]:
78         * dociterator.[Ch]:
79         * errorlist.[Ch]:
80         * factory.C:
81         * lfuns.h:
82         * lyxfind.C:
83         * lyxfunc.C:
84         * output_docbook.[Ch]:
85         * output_latex.[Ch]:
86         * output_linuxdoc.[Ch]:
87         * output_plaintext.[Ch]:
88         * paragraph.[Ch]:
89         * paragraph_funcs.[Ch]:
90         * paragraph_pimpl.[Ch]:
91         * rowpainter.C:
92         * tabular.[Ch]:
93         * text.C:
94         * text2.C:
95         * toc.C:
96         * undo.[Ch]: adjust
97
98         * frontends/controllers/ControlDocument.C:
99         * frontends/controllers/ControlErrorList.C:
100         * frontends/controllers/ControlSpellchecker.C:
101         * insets/inset.C:
102         * insets/inset.h:
103         * insets/insetbase.h:
104         * insets/insetbibitem.C:
105         * insets/insetbox.C:
106         * insets/insetbranch.C:
107         * insets/insetcaption.C:
108         * insets/insetcharstyle.C:
109         * insets/insetcharstyle.h:
110         * insets/insetcollapsable.C:
111         * insets/insetcollapsable.h:
112         * insets/insetert.C:
113         * insets/insetfloat.C:
114         * insets/insetfoot.C:
115         * insets/insetmarginal.C:
116         * insets/insetnote.C:
117         * insets/insetoptarg.C:
118         * insets/insettabular.C:
119         * insets/insettext.C:
120         * insets/insettext.h:
121         * insets/insetwrap.C:
122         * mathed/math_mboxinset.C:
123         * mathed/math_nestinset.C:
124         * mathed/math_scriptinset.C:
125         * mathed/math_scriptinset.h:
126         * support/types.h:
127
128 2004-03-24  Angus Leeming  <leeming@lyx.org>
129
130         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
131         deal with any child processes that have finished but are waiting to
132         communicate this fact to the rest of LyX.
133
134 2004-03-24  Angus Leeming  <leeming@lyx.org>
135
136         64-bit compile fixes.
137
138         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
139         (c-tor): pass lyx::pos_types rather than ints.
140
141         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
142         lyx::pos_type.
143
144         * text.C (Delete): compile fix.
145         (getPar): ensure that function declaration is the same as that in
146         the header file.
147
148 2004-03-23  Angus Leeming  <leeming@lyx.org>
149
150         * ispell.C (LaunchIspell):
151         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
152         a boost::shred_ptr rather than a std::auto_ptr.
153
154 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxfunc.C (getStatus): handle read-only buffers correctly;
157         handle LFUN_FILE_INSERT_*
158
159         * lyxrc.C (setDefaults, getDescription, output, read):
160         * lyxrc.h: remove ps_command
161
162 2004-03-22  Angus Leeming  <leeming@lyx.org>
163
164         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
165         Ensure that error_handler is processed once only and that all data
166         is saved before attempting to output any warning messages.
167
168         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
169
170 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * tabular.C (TeXRow): crash fix (from Kayvan and André)
173
174 2004-03-19  André Pönitz  <poenitz@gmx.net>
175
176         * cursor.[Ch] (reset): take main text inset as argument
177
178         * BufferView: adjust
179         * BufferView_pimpl.C: adjust
180
181         * paragraph.[Ch]: fix completely broken operator=()
182
183 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * LColor.C (getFromLyXName): make sure that the color name is used
186         as lowercase.
187
188 2004-03-17  Angus Leeming  <leeming@lyx.org>
189
190         * lfuns.h:
191         * LyXAction.C (init): remove LFUN_FORKS_KILL.
192
193         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
194         dialog and to kill a forked process.
195
196 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * text2.C (setCursorFromCoordinates): fix font problem
199
200 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
201
202         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
203         bogus "rebuild cursor" code
204
205 2004-03-11  André Pönitz  <poenitz@gmx.net>
206
207         * buffer.[Ch]: use InsetText instead of LyXText as container for
208         the main lyx text.
209
210         * dociterator.[Ch]: drop the BufferView * member which is not needed
211         anymore after the change to buffer.C
212
213         * paragraph_funcs.C:
214         * text.C:
215         * text2.C:
216         * BufferView.[Ch]:
217         * BufferView_pimpl.[Ch]:
218         * cursor.[Ch]:
219         * cursor_slice.[Ch]: adjust
220
221         * text3.C: fix bug in mathDispatch
222
223 2004-03-08  André Pönitz  <poenitz@gmx.net>
224
225         * undo.[Ch]: use 'StableDocumentIterator' as base for
226         the Undo struct.
227
228 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
229
230         * LaTeXFeatures.C:
231         * bufferparams.[Ch]: add jurabib support and param.
232
233         * LaTeX.C: add FIXME/comment.
234
235 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * buffer.C: increment file format to 230.
238
239 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
240
241         * cursor.C (dispatch): avoid infinite loops
242
243 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * rowpainter.C (paintSelection): fix x coordinates
246
247 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * text.C (rowBreakPoint): fix breaking before displayed insets
250
251 2004-03-01  André Pönitz  <poenitz@gmx.net>
252
253         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
254
255         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
256
257         * Makefile.am:
258         * BufferView.C:
259         * BufferView_pimpl.C:
260         * buffer.C:
261         * lyxfind.C:
262         * lyxfunc.C:
263         * text.C:
264         * text2.C:
265         * text3.C: adjust
266
267 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
268
269         * lyxtext.h:
270         * text.C:
271         * text2.C:
272         * rowpainter.C:
273         * BufferView_pimpl.C: rename textwidth -> maxwidth,
274         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
275
276 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * Bidi.[Ch] (computeTables): const correctness
279         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
280         fill_hfill, fill_label_hfill and x from Row
281         * lyxtext.h: prepareToPrint returns a RowMetrics
282         * rowPainter.C: adjust
283         * text.C (prepareToPrint): use width, not textWidth. adjust
284         (redoParagraphInternal, cursorX): adjust
285         * text2.C (getColumnNearX): adjust
286         (init): put a default value to the top LyXText::width
287
288 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
291
292 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * lyxtext.h: add FontIterator class
295
296         * text.C (FontIterator, operator*, operator->, operator++): add
297         (rowBreakPoint, setRowWidth): adjust (fixing a
298         rebreaking bug)
299
300 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * BufferView_pimpl.C (workAreaDispatch): allow also
303         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
304
305 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * text.C (rowBreakPoint): fix a bug showing with very large insets
308
309 2004-02-25  André Pönitz  <poenitz@gmx.net>
310
311         * text3.C:
312         * cursor.[Ch]: move some mathed specific code to mathed
313
314 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
315
316         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
317         use_tempdir in preferences
318         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
319         tempfile creation
320         * lyx_main.C: ensure that tempdir is valid
321         * lyxlex.h: correct typo
322         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
323         * paragraph.[Ch] (isMultiLingual): make const
324         * cursor.[Ch] (openable): make const
325
326 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
329
330 2004-02-20  André Pönitz  <poenitz@gmx.net>
331
332         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
333
334         * cursor.[Ch]: prepare for localized getStatus()
335
336         * lyxtext.h:
337         * tabular.C:
338         * text.C:
339         * text2.C:
340         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
341
342 2004-02-20  André Pönitz  <poenitz@gmx.net>
343
344         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
345
346 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * text2.C (setCursorFromCoordinates): switch to absolute coords
349         (cursorUp): adjust
350         (cursorDown): adjust
351         * text3.C (dispatch): adjust
352
353 2004-02-16  André Pönitz  <poenitz@gmx.net>
354
355         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
356           insets/ChangeLog)
357
358         * cursor_slice.[Ch]: remove unneeded acessor function
359
360         * lyxtext.h: rename rtl() to isRTL()
361
362         * rowpainter.C:
363         * tabular.C:
364         * text.C:
365         * text2.C:
366         * text3.C: adjust
367
368 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * rowpainter.C (paintSelection): coord fix
371
372 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
373
374         * Spacing.C: compile fix
375
376 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * cursor.C (dispatch): restore current_ before returning
379
380 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * text2.C (cursorUp, cursorDown): fix coords
383         (moveUp): fix crash
384
385 2004-02-12  André Pönitz  <poenitz@gmx.net>
386
387         * lyxtext.h:
388         * text.C:
389         * text2.C:
390         * text3.C: add LCursor & parameter to most cursor movement functions
391           remove usage of LyXText::cursorRow() and cursorPar()
392
393         * cursor.[Ch]: add textRow() needed members
394
395         * BufferView.C:
396         * BufferView_pimpl.C:
397         * paragraph.[Ch]:
398         * BufferView.C:
399         * BufferView_pimpl.C: adjust
400
401 2004-02-11  André Pönitz  <poenitz@gmx.net>
402
403         * lyxfunc.C:
404         * BufferView.[Ch]:
405         * BufferView_pimpl.C: shift undo/redo handling
406
407         * cursor.[Ch]: fix mathed crash
408
409         * lyxfind.C:
410         * lyxtext.h: move selectionAsText to LCursor
411
412         * output_latex.C:
413         * paragraph.C:
414         * text.C:
415         * text2.C:
416         * text3.C: adjust
417
418         * rowpainter.C: fix excessive drawing
419
420 2004-02-06  André Pönitz  <poenitz@gmx.net>
421
422         * BufferView.[Ch]:
423         * BufferView_pimpl.[Ch]:
424         * text3.C: move some text specific LFUN handling
425
426 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * text3.C (checkInsetHit): adjust coords
429         * text2.C (getColumnNearX): adjust coords
430         (edit): adjust coords
431         * text.C (getRowNearY): add two asserts
432
433 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
434
435         * converter.C:
436         * format.C: add using std::distance to compile on gcc 2.95/stlport
437
438 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
439
440         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
441
442 2004-02-04  André Pönitz  <poenitz@gmx.net>
443
444         * BufferView.[Ch] (insertInset):
445         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
446
447         * text2.C:
448         * text3.C: adjust
449
450 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
453         on the default clause of the switch
454         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
455         wasn't catched by LCursor::dispatch
456
457 2004-02-03  André Pönitz  <poenitz@gmx.net>
458
459         * BufferView.C:
460         * cursor.[Ch]: some additional asserts
461
462         * undo.[Ch]: remove LyXText dependency in interface
463
464         * lyxfunc.C: adjust
465
466         * lyxtext.h (firstPar, lastPar): remove dead functions
467
468         * text.C:
469         * text2.C:
470         * text3.C:
471         * paragraph.[Ch]: adjust
472
473 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * lyxfind.C (find): fix argument order in call to ::find
476
477 2004-02-02  André Pönitz  <poenitz@gmx.net>
478
479         * cursor.[Ch]: remove direct access to anchor
480
481         * text.C: remove findText() hack
482
483 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
484
485         * iterators.[Ch] (lockPath): remove in favour of...
486         * BufferView.[Ch] (setCursor): this addition
487         * BufferView.C (putSelectionAt): adjust
488         * undo.C (performUndoOrRedo): adjust
489         * lyxfunc.C (dispatch): adjust
490
491 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * iterators.C (lockPath): add a missing slice
494         * undo.C (performUndoOrRedo): remove redundant positioning code
495
496 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
497
498         * vc-backend.C (scanMaster): ";" -> ';'
499
500 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
501
502         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
503         std::binary_function
504
505         * lyxtextclass.C (compare_name): rename to...
506         (LayoutNamesEqual): ...this
507
508         * lyxlex_pimpl.C (compare_tags): inherit from
509         std::binary_function, put back into anon namespace
510
511         * lyxfind.C (MatchString): inherig from std::binary_function
512         (findChange): use empty() istead of !size()
513
514         * format.C (FormatNamesEqual): new functor
515         (getFormat): use it
516         (getNumber): use it
517         (add): use it
518         (erase): use it
519         (setViewer): use it
520
521         * converter.C (compare_Converter): rename to...
522         (ConverterEqual): ...this, and fixup a bit.
523         (getConverter): use it, and make function const
524         (getNumber): use it, and make function const
525         (add): use it
526         (erase): use it:
527
528         * bufferlist.C: add using boost::bind
529
530         * MenuBackend.C (MenuNamesEqual): new functor
531         (hasMenu): use it, and make function const
532         (hasSubmenu): use nested bind to get rid of compare_memfun.
533
534 2004-01-30  André Pönitz  <poenitz@gmx.net>
535
536         * BufferView_pimpl.C:
537         * cursor.C:
538         * cursor.h:
539         * cursor_slice.[Ch]:
540         * lyxfunc.C:
541         * lyxtext.h:
542         * paragraph_funcs.C:
543         * paragraph_funcs.h:
544         * rowpainter.C:
545         * text.C:
546         * text2.C:
547         * text3.C: move some of the edit(x,y) handling to the insets
548         some coordinate changes.
549
550 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * text.C: add using statements for std::advance and std::distance
553
554         * paragraph.C: add using statement for std::distance
555
556         * lyxfind.C: add using statement for std::advance
557
558         * cursor.C (region): remove std:: from swap
559         (openable): use nucleus in stead of operator->
560
561         * BufferView.C: add using statements for std::distance and std::swap
562
563 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
564
565         * iterators.C: Remove the pimple, move the needed structures to
566         the header file. Create accessor for the positions stack.
567         (asPosIterator): remove function
568
569         * PosIterator.C (PosIterator): move constructors to top of file
570         (PosIterator): reimplement the constructor taking a ParIterator in
571         terms of setFrom.
572         (setFrom): new function
573         (operator!=): inline it
574
575 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
576
577         * lyxfind.C (replaceAll): use std::advance
578
579         * iterators.h: inherit from std::iterator.
580
581         * PosIterator.C (advance, distance): remove
582         * PosIterator.h: interit from std::iterator.
583
584 2004-01-26  André Pönitz  <poenitz@gmx.net>
585
586         * BufferView.[Ch]:
587         * BufferView_pimpl.[Ch]:
588         * InsetList.[Ch]:
589         * PosIterator.[Ch]:
590         * buffer.h:
591         * bufferview_funcs.C:
592         * cursor.[Ch]:
593         * cursor_slice.h:
594         * factory.[Ch]:
595         * iterators.[Ch]:
596         * lyxfind.C:
597         * lyxfunc.C:
598         * lyxtext.h:
599         * output_docbook.C:
600         * output_latex.C:
601         * output_linuxdoc.C:
602         * output_plaintext.C:
603         * paragraph.[Ch]:
604         * paragraph_funcs.[Ch]:
605         * paragraph_pimpl.[Ch]:
606         * rowpainter.C:
607         * tabular.C:
608         * tabular.h:
609         * text.C:
610         * text2.C:
611         * text3.C: more IU:  dumps most of the rest of the mathcursor
612     implementation into cursor.[Ch]; "globalize" a bit of it.
613
614 2004-01-25  Angus Leeming  <leeming@lyx.org>
615
616         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
617
618 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * LaTeXFeatures.h: add nice_ and nice() const
621         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
622
623 2004-01-20  André Pönitz  <poenitz@gmx.net>
624
625         * BufferView.[Ch]:
626         * BufferView_pimpl.C:
627         * PosIterator.C:
628         * bufferview_funcs.C:
629         * cursor.[Ch]:
630         * cursor_slice.[Ch]:
631         * factory.C:
632         * iterators.C:
633         * lyx_cb.C:
634         * lyxfind.C:
635         * lyxfunc.C:
636         * lyxtext.h:
637         * rowpainter.C:
638         * text.C:
639         * text2.C:
640         * text3.C:
641         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
642           LCursor and mathcursor parts to LCursor and InsetBase.
643
644 2004-01-15  André Pönitz  <poenitz@gmx.net>
645
646         * cursor_slice.[Ch]: add a few covienience functions
647
648         * funcrequest.[Ch]: remove BufferView * member
649
650         * BufferView_pimpl.C:
651         * cursor.C:
652         * factory.[Ch]:
653         * lyxfind.[Ch]:
654         * lyxfunc.C:
655         * lyxtext.h:
656         * text3.C:
657         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
658
659 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
660
661         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
662         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
663
664 2004-01-13  André Pönitz  <poenitz@gmx.net>
665
666         * textcursor.[Ch]:
667         * lyxtext.h: hide cursor and selection anchor behind accessor function
668
669         * BufferView.C:
670         * BufferView_pimpl.[Ch]:
671         * PosIterator.C:
672         * bufferview_funcs.C:
673         * cursor.h:
674         * lyxfind.C:
675         * lyxfunc.C:
676         * text.C:
677         * text2.C:
678         * text3.C:
679         * undo.C: adjust
680
681         * cursor.h:
682         * cursor_slice.[Ch]: some integer type changes for inset unification
683
684         * lyxcursor.[hC]: remove, it's CursorSlice now.
685
686         * Makefile.am:
687         * BufferView_pimpl.[Ch]:
688         * bufferview_funcs.C:
689         * cursor_slice.C:
690         * lyxtext.h:
691         * text.C:
692         * text2.C:
693         * text3.C:
694         * textcursor.[Ch]: adjust
695
696 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
697
698         * text2.C (undoSpan): add and use
699         * text.C (breakParagraph): use undoSpan (fix bug 578)
700         * lyxtext.h: adjust
701
702 2004-01-08  Angus Leeming  <leeming@lyx.org>
703
704         * BufferView_pimpl.C (MenuInsertLyXFile):
705         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
706         * lyxfunc.C (menuNew, open, doImport):
707         FileFilterList change to the FileDialog open and save functions.
708
709 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
710
711         * ShareContainer.h: make isEqual and isUnique adaptable
712
713         * CutAndPaste.C: make resetOwnerAndChanges adaptable
714
715 2004-01-07  Angus Leeming  <leeming@lyx.org>
716
717         * LyXAction.C:
718         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
719
720         * BufferView_pimpl.C (dispatch): act on these LFUNs.
721
722         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
723         functions replacing find, replace and replaceAll.
724
725         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
726         LFUN_WORDFIND(FORWARD|BACKWARD).
727
728 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
729
730         * text.C (breakParagraph): remove an outdated #warning
731
732 2004-01-07  André Pönitz  <poenitz@gmx.net>
733
734         * lyxfind.C: somewhat clearer logic
735
736         * text.C: prevent crash in cursorX on unitialized row cache
737
738 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
739
740         * lyxcursor.[Ch] (operator>): add
741         * textcursor.C (selStart, selEnd): use std::min and std::max
742
743 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
744
745         * Chktex.C: include boost/format.hpp
746
747 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
748
749         * InsetList.C: replace functor MathcIt with adaptable functor
750         InsetTablePosLess
751         (insetIterator): modify accordingly
752
753         * BranchList.h: move the BranchNamesEqual functor here from...
754         * BranchList.C: ... to here
755
756         * BranchList.C: new BranchListEqual fuctor, use it. Remove
757         SameName and match.
758         (add): replace a finding loop with std::find_if.
759
760 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * output_docbook.C: moving LatexParam functionality into
763         .layout files
764
765 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
766
767         * buffer.C: increment format to 229.
768
769 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
770
771         * LaTeXFeatures.C:
772         * lyx_sty.[Ch]: remove minipageindent_def
773
774         * LyXAction.C:
775         * factory.C:
776         * lfuns.h:
777         * lyxfunc.C:
778         * text3.C: remove LFUN_INSET_MINIPAGE
779
780 2003-12-28  Angus Leeming  <leeming@lyx.org>
781
782         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
783
784 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
785
786         * text2.C (setParagraph): fix off-by-one crash
787
788 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * output_docbook.C: header stuff for AGU
791
792 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * text2.C (redoCursor): remove
795         * text.C:
796         * text3.C:
797         * BufferView_pimpl.C: remove calls to redoCursor and
798         setCursor(cursor.par(), cursor.pos()) all around
799
800 2003-12-15  Angus Leeming  <leeming@lyx.org>
801
802         * buffer.C: up the format to 228.
803
804 2003-12-15  André Pönitz  <poenitz@gmx.net>
805
806         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
807         slices
808
809         * Makefile.am:
810
811         * BufferView_pimpl.C:
812         * cursor.[Ch]:
813         * lyxcursor.[Ch]:
814         * rowpainter.[Ch]:
815         * lyxtext.h:
816         * text.C:
817         * text2.C:
818         * text3.C: adjust
819
820 2003-12-15  Angus Leeming  <leeming@lyx.org>
821
822         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
823         than getFromGUIName to manipulate the color.
824
825 2003-12-14  Angus Leeming  <leeming@lyx.org>
826
827         * BranchList.[Ch]: minimize the API.
828         (Branch::getBranch, getColor): now return a 'const &'.
829         (Branch::setSelected) now returns a bool set to true if the
830         selection status changes.
831         (BranchList::clear, size, getColor, setColor, setSelected,
832         allBranches, allSelected, separator): removed.
833         (BranchList::find): new functions, returning the Branch with
834         the given name.
835         (BranchList::add, remove): return a bool indicating that
836         the operation was successful.
837
838         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
839         new InsetBranch::isBranchSlected member function.
840
841         * LColor.[Ch]: mimimize the API.
842         (fill): renamed as addColor and made private.
843         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
844         versions of these functions taking a string arg have been removed.
845
846         * bufferparams.C (readToken):
847         * lyxfunc.C (dispatch):
848         * lyxrc.C (read): changes due to the altered BranchList and
849         LColor APIs.
850
851         * factory.C (createInset, readInset): changes due to altered
852         InsetBranch c-tor.
853
854 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * factory.C:
857         * lyxfunc.C: remove insetminipage. "minipage-insert"
858         now produces a frameless minipage box inset.
859
860 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * textcursor.[Ch] (selStart,selEnd): add new methods
863         remove selection::start, end, use LyXCursor::operator<
864         * lyxcursor.[Ch] (operator<): add
865         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
866         * BufferView.[Ch] (unsetXSel): add
867         * text2.C (clearSelection): use unsetXSel,adjust
868         * text.C: adjust
869         * text3.C: adjust
870         * rowpainter.C: adjust
871         * bufferview_funcs.C (put_selection_at): adjust
872
873 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * BufferView_pimpl.C: small coord. correction
876
877 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
880         dragging over the splash screen.
881
882 2003-12-11  Angus Leeming  <leeming@lyx.org>
883
884         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
885         as it is now handled in LyXText::dispatch.
886
887         * text3.C (doInsertInset): remove a level of nesting.
888
889 2003-12-11  Angus Leeming  <leeming@lyx.org>
890
891         * factory.C (createInset): changes due to the changed interface to
892         InsetCommandMailer::string2params.
893
894 2003-12-10  Angus Leeming  <leeming@lyx.org>
895
896         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
897         'dialog-show-new-inset <inset name>'
898
899 2003-12-10  Angus Leeming  <leeming@lyx.org>
900
901         * buffer.C: up the format to 227.
902
903         * factory.C: the box inset is now identified simply by 'Box'.
904
905 2003-12-10  Angus Leeming  <leeming@lyx.org>
906
907         * buffer.C: up the format to 226.
908
909         * factory.C: the note inset is now identified simply by 'Note'.
910
911 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
912
913         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
914         when a pit is enough. Standarize a couple of loops.
915
916 2003-12-05  Angus Leeming  <leeming@lyx.org>
917
918         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
919         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
920         data to the re-worked "log" dialog.
921
922 2003-12-03  André Pönitz  <poenitz@gmx.net>
923
924         * PosIterator.C:
925         * iterators.C:
926         * lyxtext.h:
927         * output_latex.C:
928         * paragraph_funcs.C:
929         * text.C:
930         * text2.C: use Inset::getText instead of Inset::getParagraph
931
932 2003-12-03  André Pönitz  <poenitz@gmx.net>
933
934         * buffer.[Ch]:
935         * lyxtext.h:
936         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
937         InsetText::read() as LyXText::read()
938
939 2003-12-02  Angus Leeming  <leeming@lyx.org>
940
941         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
942         type. Add a comment in the implementation that the function uses
943         the stream's bad() function rather than fail() as the std::streams
944         would do.
945
946 2003-12-02  André Pönitz  <poenitz@gmx.net>
947
948         * lyxlex.[Ch]: make interface more similar to std::stream
949
950         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
951
952 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
955
956 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
957
958         * vspace.[Ch]: remove VSpace::NONE
959
960 2003-12-01  André Pönitz  <poenitz@gmx.net>
961
962         * buffer.[Ch]:
963         * lyxtext.h: move ParagraphList member to LyXText
964         rename LyXText::ownerParagraphs to LyXText::paragraph
965
966         * CutAndPaste.C:
967         * bufferview_funcs.C:
968         * iterators.[Ch]:
969         * lyx_cb.C:
970         * paragraph.C:
971         * rowpainter.C:
972         * tabular.C:
973         * text.C:
974         * text2.C:
975         * text3.C: adjust
976
977         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
978
979         * undo.C: fix cursor positioning
980
981 2003-12-01  John Levon  <levon@movementarian.org>
982
983         * BufferView_pimpl.C: fix a crash on exit with
984         a buffer open
985
986 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
987
988         * BranchList.C: fix setSelected() method.
989
990 2003-11-28  André Pönitz  <poenitz@gmx.net>
991
992         * ParagraphParameters.[Ch]:
993         * ParameterStruct.h: remove space above/below from Paragraph to
994          InsetVSpace
995
996         * BufferView_pimpl.C:
997         * factory.C:
998         * lyxfunc.C:
999         * lyxtext.h:
1000         * output_latex.C:
1001         * paragraph.C:
1002         * paragraph_funcs.C:
1003         * rowpainter.[Ch]:
1004         * text.C:
1005         * text2.C:
1006         * text3.C: adjust
1007
1008 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * factory.C: Syntax change for CharStyles
1011
1012 2003-11-28  André Pönitz  <poenitz@gmx.net>
1013
1014         * BufferView.[Ch]:
1015         * BufferView.[Ch]:
1016         * buffer.[Ch]:
1017         * buffer.[Ch]: move LyXText member
1018
1019 2003-11-28  André Pönitz  <poenitz@gmx.net>
1020
1021         * BufferView.[Ch]: make LyXText * text a private member
1022
1023         * BufferView_pimpl.C:
1024         * cursor.C:
1025         * iterators.C:
1026         * lyx_cb.C:
1027         * lyxfind.C:
1028         * lyxtext.h:
1029         * rowpainter.[Ch]:
1030         * text.C:
1031         * text2.C:
1032         * undo.C: adjust
1033
1034         * output_plaintext.C: cleanup
1035
1036 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1037
1038         * buffer.C:
1039         * lyxtextclass.[Ch]: parametrize SGML document header
1040
1041 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1042
1043         * converter.[Ch]:
1044         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1045         getFlavor().
1046
1047 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1048
1049         * text2.C (setFont): rework using PosIterator (no more recursive)
1050         (setCharFont): no more needed
1051         (setLayout): no more selection cursors fiddling (done by redoCursor)
1052         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1053         destroy remaining ones)
1054
1055 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1056
1057         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1058         * lyxtext.h: ditto
1059         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1060         selection cursors
1061         * lyxfunc.C: adjust
1062         * text3.C: adjust + re-allow multi par depth changes
1063         * textcursor.C: simplify a bit
1064
1065 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1066
1067         * src/buffer.C:
1068         * src/lyxlayout.C:
1069         * src/lyxlayout.h:
1070         * src/lyxtext.h:
1071         * src/output_docbook.C:
1072         * src/output_latex.C:
1073         * src/paragraph.C:
1074         * src/paragraph.h:
1075         * src/sgml.C:
1076         * src/sgml.h:
1077         * src/text2.C: Introducing a number of tags parametrizing various
1078         XML formats that we may want to support
1079
1080 2003-11-25  André Pönitz  <poenitz@gmx.net>
1081
1082         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1083
1084         * lyxtext.h (leftMargin/rightMargin): simplify interface
1085
1086         * rowpainter.C:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: adjust
1090
1091 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1094         master file to any child files. Fixes bug 546.
1095
1096 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1097
1098         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1099
1100 2003-11-24  André Pönitz  <poenitz@gmx.net>
1101
1102         * rowpainter.C: simplification
1103
1104         * text2.C (updateCounters): remove call to redoParagraph on
1105         changed labels as this is far too expensive.
1106
1107 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1108
1109         * converter.C (convert): fix a crash: this function gets
1110         called with buffer == 0 from importer code.
1111
1112 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1113
1114         * text3.C (cursorPrevious): make sure that we do not compare
1115         iterators form different containers.
1116         (cursorNext): ditto
1117
1118         * rowpainter.C (paintSelection): make sure that we do not compare
1119         iterators from different containers.
1120
1121         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1122         iterators from different ParagraphList containers.
1123         [NEXT] ditto
1124
1125         * text2.C (LyXText): change order of initialization slightly
1126         (operator=): new function. copy all variables except cache_par_
1127         (moveUp): make sure that we do not compare iterators from
1128         different ParagraphList constainers.
1129         (moveDown): ditto
1130
1131         * text.C (firstPar): new function
1132         (lastPar): new function
1133         (endPar): new function
1134
1135         * lyxtext.h: move things around and group public functions, public
1136         variables, private functions, private variables
1137
1138 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1139
1140         * factory.C: change call to InsetERT constructor to avoid
1141         additional invocation of method status
1142         * text2.C (toggleInset): remove redundant update() call
1143         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1144         instead of a Bufferview pointer
1145
1146 2003-11-21  André Pönitz  <poenitz@gmx.net>
1147
1148         * rowpainter.C: simplification
1149
1150 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * text3.C (dispatch): make possible to extend a word/row selection
1153         with the mouse
1154
1155 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * lyxtext.h: x0_,y0_ -> xo_,yo_
1158         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1159         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1160         * rowpainter.C (paintRows): paint full paragraphs
1161
1162 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1163
1164         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1165         screen coordinates)
1166
1167 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * lyxtext.h: add x0_, y0_
1170         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1171         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1172
1173 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * text2.C (setCursorIntern): move the x_target update here *
1176         * text3.C: change some bv() to true/false in calls to
1177         cursorUp/Down/Right/Left
1178         * cursor.C: use helper function.
1179
1180 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1183         * paragraph_funcs.[Ch]: correct comment
1184         * rowpainter.C: do not paint selections away from bv->cursor()
1185         Fix a long standing selection painting bug.
1186         * text3.C: generalize mouse-selection code to LyXTexts other that
1187         top one
1188         * textcursor.C: do not use y coords if we can use par offsets
1189
1190 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1193         cursor position after e.g. inset insert)
1194
1195 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * lyxfind.C (replace): adjust to locking removal + some
1198         code simplification
1199
1200 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1203         of the path
1204
1205 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1206
1207         * lyxlayout.[Ch]:
1208         * output_docbook.C: XML sanitation: new layout
1209         parameters InnerTag and CommandDepth
1210
1211 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1212
1213         * BufferView_pimpl.C:
1214         * factory.C:
1215         * text3.C: Fix the insertion and modification of button-style
1216         insets
1217
1218 2003-11-13  André Pönitz  <poenitz@gmx.net>
1219
1220         * InsetList.[Ch]: remove deleteLyXText
1221
1222         * paragraph.[Ch]: cache beginOfBody position
1223
1224         * Bidi.C:
1225         * text.C:
1226         * text2.C:
1227         * text3.C: remove superfluous update() calls
1228
1229         * vspace.C: cleanup
1230
1231 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1234         * BufferView.C (fitLockedInsetCursor): remove
1235         * cursor.[Ch] (getDim): add
1236         * text.C (getRowNearY): add faster version
1237         * text3.C: remove some update calls
1238
1239 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1240
1241         * LaTeXFeatures.C:
1242         * LyXAction.C:
1243         * MenuBackend.C:
1244         * MenuBackend.h:
1245         * dispatchresult.h:
1246         * factory.C:
1247         * lfuns.h:
1248         * lyxfunc.C:
1249         * lyxtextclass.C:
1250         * lyxtextclass.h:
1251         * text3.C: The Character Style /XML short element patch.
1252
1253 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * text3.C:
1256         * factory.C: Small step to solving 'unable to insert some insets'
1257         problem
1258
1259 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * cursor.[Ch] (updatePos): new function for updating the y
1262         position of the tip inset
1263         * bufferview_funcs.C (put_selection_at):
1264         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1265
1266 2003-11-11  André Pönitz  <poenitz@gmx.net>
1267
1268         * text.C: remove big comment on invalid Paragraph pointers as it is
1269         not valid anymore
1270
1271 2003-11-11  André Pönitz  <poenitz@gmx.net>
1272
1273         * text_funcs.[Ch]: merge with ...
1274
1275         * text.C: ... this
1276
1277         * lyxtext.h:
1278         * text2.C:
1279         * text3.C: adjust
1280
1281         * Makefile.am: remove text_funcs.[Ch]
1282
1283 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1284
1285         * cursor.C (getPos): return absolute cached y coord
1286
1287         * BufferView_pimpl.C (fitCursor): new simplistic code
1288         (workAreaDispatch): add a fitCursor call
1289
1290 2003-11-10  André Pönitz  <poenitz@gmx.net>
1291
1292         * BufferView.[Ch]:
1293         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1294
1295 2003-11-10  André Pönitz  <poenitz@gmx.net>
1296
1297         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1298         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1299         indicate that the cursor needs to leave an inset
1300
1301         * lyxtext.h: remove inset locking
1302
1303         * cursor.[Ch]: re-implement functionality provided by inset locking
1304
1305         * BufferView.[Ch]:
1306         * BufferView_pimpl.[Ch]:
1307         * LyXAction.C:
1308         * bufferview_funcs.[Ch]:
1309         * factory.C:
1310         * funcrequest.[Ch]:
1311         * iterators.C:
1312         * lyx_cb.C:
1313         * lyxfind.C:
1314         * lyxfunc.C:
1315         * text.C:
1316         * text2.C:
1317         * text3.C:
1318         * undo.C: adjust
1319
1320 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1321
1322         * PosIterator.[Ch]: replace the stack with a vector, add inset
1323         accesor
1324         * iterators.[C]: adjust
1325
1326 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1327
1328         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1329         replaced
1330         * paragraph_funcs.C (readParToken): put the correct id in the
1331         error item, not the id of the top paragraph
1332
1333 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1334
1335         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1336         * bufferview_funcs.C (put_selection_at): use the above
1337
1338 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1341
1342 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * output_linuxdoc.h:
1345         * output_plaintext.h:
1346         * output.h:
1347         * output_docbook.h: add #include statements
1348
1349 2003-11-05  José Matos  <jamatos@lyx.org>
1350
1351         * output_docbook.[Ch]:
1352         * output_latex.[Ch]:
1353         * output_linuxdoc.[Ch]:
1354         * output_plaintext.[Ch]: New files for output formats.
1355         * output.[Ch]: New file for helper functions.
1356
1357         * buffer.[Ch]:
1358         * paragraph_funcs.[Ch]: output functions moved to new files.
1359
1360         * outputparams.h: rename of latexrunparams.h
1361
1362         * LaTeX.[Ch]:
1363         * buffer.[Ch]:
1364         * bufferlist.[Ch]:
1365         * converter.[Ch]:
1366         * exporter.C:
1367         * paragraph.[Ch]:
1368         * paragraph_funcs.[Ch]:
1369         * paragraph_pimpl.[Ch]:
1370         * tabular.[Ch]: rename ascii to plaintext
1371         and LatexRunParams to OutputParams.
1372
1373 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1374
1375         * iterators.[Ch] (text): require bv argument
1376         * undo.C (recordUndo):
1377         * lyxfunc.C (dispatch):
1378         * bufferview_funcs.C (put_selection_at): adjust
1379
1380 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1381
1382         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1383
1384 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1385
1386         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1387         nestings
1388
1389 2003-11-04  André Pönitz  <poenitz@gmx.net>
1390
1391         * cursor.[Ch]: restructure
1392
1393         * BufferView.[Ch]:
1394         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1395
1396         * iterators.[Ch] (asCursor): remove
1397
1398         * lfuns.h: remove LFUN_INSET_EDIT
1399
1400         * lyxfunc.C:
1401         * tabular.C:
1402         * text.C:
1403         * text2.C:
1404         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1405
1406 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1407
1408         * lyxfind.[Ch]: complete overhaul
1409         * BufferView_pimpl.C:
1410         * lyxfunc.C: adjust
1411         * paragraph.[Ch] (insert): add
1412
1413 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1414
1415         * BufferView.[Ch]:
1416         * lyxtext.h:
1417         * text.C: remove dead spellcheck code
1418
1419 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1420
1421         * dispatchresult.h: add a val setter
1422
1423         * cursor.C (dispatch): use a tempvar for data_[i]
1424
1425 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1426
1427         * PosIterator.[Ch]: compile fix
1428
1429 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1430
1431         * text.C (cursorPar): deactivate the cursor cache
1432
1433 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1434
1435         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1436
1437 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * text3.C (dispatch): adjust for new DisptchResult semantics.
1440
1441         * lyxfunc.C (dispatch): handle update when return from
1442         Cursor::dispatch, adjust for new DispatchResult semantics.
1443
1444         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1445         DispatchResult(true) mean to not update. Add class functions for
1446         setting dispatched and update, as well as reading.
1447
1448         * cursor.C (dispatch): don't handle update here
1449
1450 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1451
1452         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1453         * trans_mgr.C: adjust
1454
1455         * paragraph_funcs.C (readParToken): exception safety
1456
1457         * lyxvc.h: store the vcs pointer in a scoped_ptr
1458         * lyxvc.C: adjust
1459
1460         * lyxsocket.C (serverCallback): exception safety
1461
1462         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1463
1464         * ispell.C (clone): make it return a auto_ptr
1465
1466         * factory.C (createInset): exception safety
1467         (readInset): exception safety
1468
1469         * bufferlist.C (newBuffer): exception safety
1470
1471         * Thesaurus.C (Thesaurus): use initialization for aik_
1472
1473         * MenuBackend.C (expandToc): exception safety.
1474
1475 2003-11-03  André Pönitz  <poenitz@gmx.net>
1476
1477         * buffer.C:
1478         * buffer.h:
1479         * bufferview_funcs.C: remove getInsetFromId()
1480
1481         * lyxcursor.[Ch]:
1482         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1483
1484         * lyxfunc.C:
1485         * text2.C:
1486         * text3.C: adjust
1487
1488 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1489
1490         * PosIterator.C (distance, advance): new
1491         * bufferview_funcs.[Ch] (put_selection_at): new
1492         * iterators.[Ch] (lockPath): new
1493
1494 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * iterators.[Ch] (asPosIterator): added
1497         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1498         * PosIterator.[Ch]: added
1499
1500 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * text3.C:
1503         * lyxfunc.C:
1504         * cursor.C (dispatch):
1505         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1506
1507         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1508         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1509         contructor, add a class function dispatched. Remove operator>=
1510
1511 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * debug.C: only use the default constructor for debugstream
1514         (lyxerr) here.
1515
1516         * main.C (main): include debug.h and setup the lyxerr streambuf
1517         here.
1518
1519 2003-10-31  José Matos  <jamatos@lyx.org>
1520
1521         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1522
1523         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1524         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1525         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1526         * paragraph_pimpl.C (simpleTeXSpecialC):
1527         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1528         add LatexRunParams argument.
1529
1530         * exporter.C (Export): change call accordingly.
1531
1532         * latexrunparams.h: add new member to take care of the other backends.
1533 2003-10-30  José Matos  <jamatos@lyx.org>
1534
1535         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1536         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1537         factorise code for paragraph output.
1538         * buffer.[Ch]:
1539         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1540         move functions.
1541
1542 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1543
1544         * text3.C (dispatch):
1545         * lyxfunc.C (dispatch):
1546         * cursor.C (dispatch):
1547         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1548
1549         * dispatchresult.h: make the dispatch_result_t ctor explicit
1550
1551 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1552
1553         * sgml.[Ch]:
1554         * buffer.C: small refactoring of docbook stuff
1555
1556 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1557
1558         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1559         meaning.
1560
1561 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1564         operator dispatch_result_t, and operators for == != and >=
1565
1566         * cursor.C (dispatch): adjust for operator dispatch_result_t
1567         removal. comment out call to update
1568
1569         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1570
1571 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1572
1573         * text3.C:
1574         * text2.C:
1575         * text.C:
1576         * lyxtext.h:
1577         * lyxfunc.C:
1578         * cursor.C:
1579         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1580         (dispatch):
1581
1582         * dispatchresult.h: new file, DispatchResult broken out of
1583         insets/insetbase.h
1584
1585         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1586
1587 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1588
1589         * text.C (rowBreakPoint): put a hack inside #if 0
1590
1591 2003-10-28  André Pönitz  <poenitz@gmx.net>
1592
1593         * lyxtext.h:
1594         * metricsinfo.C:
1595         * paragraph_funcs.C:
1596         * rowpainter.C:
1597         * text.C:
1598         * text2.C: general cleanup (lots of small stuff)
1599
1600 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1601
1602         * text2.C (cursorEnd): simple fix to the "end key goes to one
1603         before the end on last row" bug
1604
1605 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1606
1607         * text.C (backspace): fix the "zombie characters"
1608
1609 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1612
1613 2003-10-27  André Pönitz  <poenitz@gmx.net>
1614
1615         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1616
1617         * factory.C: handle new InsetPagebreak, InsetLine
1618
1619         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1620         and move handling into new InsetPagebreak, InsetLine
1621
1622         * BufferView_pimpl.C:
1623         * LyXAction.C:
1624         * ParagraphParameters.C:
1625         * ParameterStruct.h:
1626         * lyxfunc.C:
1627         * lyxtext.h:
1628         * paragraph.C:
1629         * paragraph.h:
1630         * paragraph_funcs.C:
1631         * paragraph_pimpl.C:
1632         * rowpainter.C:
1633         * text.C:
1634         * text2.C:
1635         * text3.C: adjust
1636
1637 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1638
1639         * text.C:
1640         * lyxrow_funcs.[Ch]:
1641         * Bidi.C:
1642         * paragraph.C:
1643         * lyxtext.h:
1644         * rowpainter.C:
1645         * text2.C:
1646         * text3.C: remove lastPos uses in favour of Row::endpos
1647
1648 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1649
1650         * undo.C (performUndoOrRedo): fix two crashes by setting a
1651         cursor by hand and reordering some calls. Use bv->lockInset instead
1652         of inset->edit because the latter loses cursor information
1653
1654 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1655
1656         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1657         by Martin
1658         (rowBreakPoint): fix width. change point to point + 1.
1659         Add a missing check.
1660
1661 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1662
1663         * MenuBackend.C:
1664         * lyxfunc.C: fix (at least partly) the problems
1665         with the Nav menu and headers inside branch insets
1666         reported by Kayvan
1667
1668 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1669
1670         * paragraph.C (getChar): add strong asserts
1671
1672         * lyxrow_funcs.C (lastPos): remove hideous hack
1673
1674         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1675         (fill): adjust to that (avoid an infinite loop)
1676
1677 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1680
1681 2003-10-23  André Pönitz  <poenitz@gmx.net>
1682
1683         * RowList_fwd.h: change list<> to vector<> to gain speed
1684         after suggestion from Alfredo
1685
1686 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1687
1688         * lyxtext.h: move the bidi stuff from here...
1689         * text.C: and here
1690         * text2.C: and here
1691         * Bidi.[Ch]: ... to here
1692
1693 2003-10-23  André Pönitz  <poenitz@gmx.net>
1694
1695         * lyxtext.h:
1696         * text.C (isLastRow, isFirstRow): new functions
1697
1698         * paragraph.h: new width cache member
1699
1700         * rowpainter.C: replace RowList::iterator with Row & where possible
1701
1702         * lyxfunc.C: replace several view()->text with a single call
1703
1704         * toc.C: fix 'unused' warning
1705
1706 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1707
1708         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1709         when woring with stream::pos_type
1710         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1711
1712 2003-10-22  André Pönitz  <poenitz@gmx.net>
1713
1714         * lyxtext.h:
1715         * text.C: use Row & instead of RowList::iterator
1716
1717         * lyxrow.h: rename end() to endpos()
1718
1719         * rowpainter.C:
1720         * text.C:
1721         * text2.C: adjust
1722
1723 2003-10-22  Angus Leeming  <leeming@lyx.org>
1724
1725         * buffer.[Ch] (fully_loaded): new member function, returning true
1726         only when the file has been loaded fully.
1727         Used to prevent the premature generation of previews and by the
1728         citation inset to prevent computation of the natbib-style label.
1729
1730         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1731         templates are all set up.
1732
1733         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1734
1735 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1736
1737         * text.C: fixed an "oops" in the "is a bit silly"
1738         bug fix
1739
1740 2003-10-21  André Pönitz  <poenitz@gmx.net>
1741
1742         * FuncStatus.[Ch]: small stuff, whitespace
1743
1744         * lyxfont.[Ch]: operator<<() for debug reasons
1745
1746         * lyxfunc.C:
1747         * lyxrow_funcs.C:
1748         * lyxtext.h: whitespace, spelling
1749
1750         * paragraph.C: naming of variables
1751
1752         * text.C:
1753         * text2.C: small stuff
1754
1755
1756 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1757
1758         * text.C: (1) finish off the inset display() work;
1759         (2) fix the "is a bit silly" bug (accessing char
1760         past end of par).
1761
1762 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1763
1764         * text.C: re-introduce display() for insets, fixing the
1765         various bugs (stretch of line above, math inset
1766         positioning, ...)
1767
1768 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * text.C (rightMargin): remove spurious semicolon
1771
1772         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1773         1415)
1774
1775 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1776
1777         * text3.C: fix one crash due to wrong cursor def
1778
1779 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * vc-backend.C (scanMaster): make the regex static
1782
1783         * LaTeX.C (scanAuxFile): make the regexs static
1784
1785         * text3.C (doInsertInset, dispatch, dispatch):
1786         * text2.C (cursorUp, cursorDown):
1787         * text.C (selectNextWordToSpellcheck):
1788         * BufferView_pimpl.C (dispatch):
1789         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1790
1791 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * lyxsocket.C: include <cerrno>
1794
1795 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1796
1797         * lyxfunc.C (dispatch): remove textcache stuff
1798
1799         * bufferlist.C (release): remove textcache stuff
1800         (closeAll): ditto
1801
1802         * TextCache.C: delete file
1803         * TextCache.h: delete file
1804
1805         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1806
1807         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1808         delete of the bv_->text.
1809         (resizeCurrentBuffer): remove texcache stuff
1810         (workAreaResize): ditto
1811
1812 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1813
1814         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1815         action.
1816
1817 2003-10-16  André Pönitz  <poenitz@gmx.net>
1818
1819         * lyxrow.[Ch]:
1820         * paragraph.h:
1821         * rowpainter.C:
1822         * text.C:
1823         * text2.C:
1824         * text3.C: speed up by storing y positions per paragraph plus per-row
1825         offset instead of having a 'full' y position in the row.
1826
1827 2003-10-15  André Pönitz  <poenitz@gmx.net>
1828
1829         * iterators.[Ch]:
1830         * iterators.[Ch]:
1831         * undo.[Ch]: make undo aware of inner insets
1832
1833 2003-10-14  Angus Leeming  <leeming@lyx.org>
1834
1835         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1836         static member functions LyX::ref() and LyX::cref.
1837         (lastfiles): new accessor functions for the new lastfiles_ member var.
1838         (addLyXView, views_): add a new LyXView to the list of views_.
1839         (updateInset): loop over all LyXViews to call their own updateInset
1840         member function, returning a pointer to the Buffer owning the inset.
1841
1842         * BufferView_pimpl.C (loadLyXFile):
1843         * MenuBackend.C (expandLastfiles):
1844         * bufferlist.C (MenuWrite, QuitLyX):
1845         lastfiles is no longer a global variable.
1846         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1847
1848         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1849         static function. Access through LyX::cref().emergencyCleanup().
1850
1851 2003-10-14  André Pönitz  <poenitz@gmx.net>
1852
1853         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1854
1855         * undo.[Ch]: restoring part of 'undo in insets'
1856
1857         * Makefile.am:
1858         * undo_funcs.[Ch]: merge with undo.[Ch]
1859
1860         * tabular.C: small cleansing stuff
1861
1862 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1863
1864         * paragraph_funcs.C (readParToken): report unknown insets as error
1865         boxes. Use the outer paragraph as location (also for unknown
1866         tokens).
1867
1868         * factory.C (readInset): do not abort on reading an unknown inset.
1869         Eat it and return 0.
1870
1871 2003-10-13  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1874
1875         * lyxrc.C: displayTranslator is now a function,
1876         declared in GraphicsTypes.h.
1877
1878 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1879
1880         * format.C: new placeholder $$a to pass the socket address.
1881
1882         * bufferlist.[Ch]: new function getBufferFromTmp.
1883
1884         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1885           files in the temporary dir.
1886
1887 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1888
1889         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1890
1891         * Makefile.am: add lyxsocket.[Ch].
1892
1893         * lyx_main.C (error_handler): handle SIGPIPE.
1894
1895 2003-10-13  André Pönitz  <poenitz@gmx.net>
1896
1897         * BufferView_pimpl.C:
1898         * lyxtext.h:
1899         * text.C:
1900         * text2.C:
1901         * text3.C:
1902         * undo_funcs.[Ch]: use paroffset_type instead of
1903           ParagraphList::iterators to prevent multiple conversion
1904           (and get a more robust interface)
1905
1906 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1907
1908         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1909         * lyxtext.h: ditto
1910         * text3.C (dispatch): ditto
1911
1912 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1915         move the onlyfile, use onlyfile instead of foundfile in a couple
1916         of places.
1917
1918         * DepTable.C (update): flush the error stream a bit more
1919
1920 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * lyxserver.C (callback): adjust
1923
1924         * lyxfunc.C (getStatus): add a missing brace in commented code
1925         (ensureBufferClean): reindent
1926         (dispatch): delete version taking a string
1927
1928 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * LaTeX.C (deplog): move found file handlig from here...
1931         (handleFoundFile): .. to new function here.
1932         (deplog): make sure to discover several files mentioned on the
1933         same log line.
1934
1935 2003-10-10  André Pönitz  <poenitz@gmx.net>
1936
1937         * lyxfunc.C:
1938         * lyxtext.h:
1939         * tabular.C:
1940         * text.C:
1941         * text2.C:
1942         * text3.C: fix some of the tabular crashes
1943
1944 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1945
1946         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1947
1948         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1949
1950 2003-10-09  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1953
1954         * BufferView.C:
1955         * BufferView_pimpl.C:
1956         * bufferview_funcs.C:
1957         * lyx_cb.C:
1958         * lyxcursor.C:
1959         * lyxfind.C:
1960         * lyxfunc.C:
1961         * lyxtext.h:
1962         * text.C:
1963         * text2.C:
1964         * text3.C:
1965         * text_funcs.[Ch]:
1966         * textcursor.[Ch]:
1967         * undo_funcs.C: adjust
1968
1969 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1970
1971         * text2.C (incrementItemDepth): new function, use a backtracking
1972         algorithm to discover the correct item depth.
1973         (resetEnumCounterIfNeeded): new function, use a backtracking
1974         algorithm to discover if counter reset is needed.
1975         (setCounter): use them. Simplify a bit. Add different labels for
1976         different item depths for itemize.
1977
1978         * paragraph.C (Paragraph): remove initialization of enumdepth
1979         (operator=): ditto
1980
1981         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1982         enumerate and itemize. Change the type of itemdepth to signed char.
1983
1984 2003-10-08  André Pönitz  <poenitz@gmx.net>
1985
1986         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1987           thing assignable.
1988         * text.C:
1989         * text2.C: adjust
1990
1991         * tabular.[Ch]: fix crash after 'row-insert'
1992
1993 2003-10-08  Angus Leeming  <leeming@lyx.org>
1994
1995         Fix doxygen warnings.
1996
1997         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1998         Remove CutAndPaste:: prefix from header file declaration.
1999
2000         * LColor.h (fill): remove LColor:: prefix from declaration.
2001
2002         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2003         use lyx::depth_type rather than Paragraph::depth_type so that
2004         header file and .C file match.
2005
2006         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2007
2008         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2009         * aspell.C: \file aspell_local.C -> \file aspell.C
2010         * gettext.C: \file gettext.C -> \file src/gettext.C
2011         * gettext.h: \file gettext.h -> \file src/gettext.h
2012         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2013         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2014         * text.C: \file text.C -> \file src/text.C
2015
2016         * toc.C: move comment so that doxygen is not confused.
2017
2018 2003-10-07  Angus Leeming  <leeming@lyx.org>
2019
2020         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2021
2022 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2023
2024         * aspell.C:
2025         * aspell_local.h: add forgotten std::string's.
2026
2027 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2028
2029         * LaTeXFeatures.C:
2030         * LyXAction.C:
2031         * factory.C:
2032         * lfuns.h:
2033         * lyxfunc.C:
2034         * text3.C: The Box patch. Fancybox support, minipage, parbox
2035
2036 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2037
2038         * CutAndPaste.h:
2039         * DepTable.h:
2040         * FloatList.h:
2041         * LaTeXFeatures.h:
2042         * ParagraphParameters.h:
2043         * TextCache.h:
2044         * Thesaurus.h:
2045         * bufferlist.h:
2046         * exporter.h:
2047         * importer.h:
2048         * lastfiles.h:
2049         * lyxfind.h:
2050         * lyxfont.h:
2051         * lyxlex.h:
2052         * lyxtextclasslist.h:
2053         * messages.h:
2054         * paragraph.h:
2055         * paragraph_pimpl.C:
2056         * textcursor.h: add <string> and other small fixes to make Lars'
2057         std::string patch compile with STLport.
2058
2059 2003-10-06  Angus Leeming  <leeming@lyx.org>
2060
2061         * LColor.h: Add missing #include <string>.
2062
2063 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * All most all file in all subdirs: Make <string> be the prefered
2066         way of getting to std::string, add using declarations.
2067
2068 2003-10-06  André Pönitz  <poenitz@gmx.net>
2069
2070         * metricsinfo.C: initialize LyXFont before changing attribute.
2071         (fixes the 'math in \emph is upright' bug)
2072
2073 2003-10-06  André Pönitz  <poenitz@gmx.net>
2074
2075         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2076
2077 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2078
2079         * graph.C:
2080         * paragraph_pimpl.C: Small fixes to build using STLport
2081
2082 2003-10-02  André Pönitz  <poenitz@gmx.net>
2083
2084         * lyxfunc.C:
2085         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2086
2087 2003-10-01  André Pönitz  <poenitz@gmx.net>
2088
2089         * factory.C: assert early
2090
2091 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * lyx_main.C: remove the global debug object
2094
2095         * debug.h: adjust for new debugstream
2096
2097         * debug.C: adjust for new debugstream and keep the global debug
2098         object here.
2099
2100 2003-09-22  Angus Leeming  <leeming@lyx.org>
2101
2102         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2103         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2104         an incomplete class LyXFont.
2105
2106 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2107
2108         * factory.C: bug fix in branches
2109
2110 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * lyxfunc.C (processKeySym): adjust
2113         (dispatch): adjust
2114         (dispatch): change arg name from ev to func, adjust
2115         (sendDispatchMessage): ditto
2116
2117         * lyx_main.C (defaultKeyBindings): adjust keybindings
2118         (deadKeyBindings): ditto
2119
2120         * kbsequence.C (addkey): return a FuncRequest
2121
2122         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2123
2124         * kbmap.C (bind): take a FuncRequest as arg, adjust
2125         (read): adjust
2126         (lookup): adjust
2127         (defkey): change to take a FuncRequest as arg, adjust
2128         (findbinding): take a FuncRequest as arg, adjust.
2129
2130         * funcrequest.h (operator=): added
2131
2132         * funcrequest.C (FuncRequest): default kb_action changed from
2133         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2134
2135         * buffer.C (dispatch): simplify
2136         (dispatch): adjust to take a FuncRequest as arg, adjust
2137
2138         * boost.C (assertion_failed): change assertion message slightly
2139
2140         * ToolbarBackend.C (read): simplify
2141
2142         * MenuBackend.C (binding): adjust call to findbinding, add a
2143         message if no binding is found.
2144         (read): simplify
2145         (expandToc): correct by adding a empty FuncRequest
2146
2147         * LyXAction.C: include <boost/assert.hpp>
2148         (isPseudoAction): delete function
2149         (LookupFunc): change name to...
2150         (lookupFunc): this. change return type to FuncRequest.
2151         (getActionName): take kb_action as arg, simplify
2152         (funcHasFlag): add an assert, simplify.
2153
2154 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * toc.C (action): return a FuncRequest, simplify
2157
2158         * lyxfunc.C (processKeySym): adjust
2159         (getStatus): delete version that takes an int.
2160         (getStatus): adjust
2161         (dispatch): delete version that takes action as int
2162         (dispatch): adjust
2163         (sendDispatchMessage): simplify and adjust
2164
2165         * funcrequest.C (getArg): take unsigned int as arg
2166
2167         * ToolbarBackend.C (read): adjust
2168         (add): delete version that takes func as a string.
2169         (getIton): take a FuncRequest as arg
2170
2171         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2172         action.
2173
2174         * MenuBackend.C (MenuItem): add a new construct that only takes a
2175         Kind, simplify the constructor use for submenus.
2176         (add): adjust
2177         (expandLastfiles): adjust
2178         (expandDocuments): adjust
2179         (expandFormats): adjust
2180         (expandFloatListInsert): adjust
2181         (expandFloatInsert): adjust
2182         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2183
2184         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2185         Remove class variables lyx_pseudo_map and lyx_arg_map
2186
2187         * LyXAction.C (searchActionArg): delete function
2188         (getPseudoAction): delete function
2189         (retrieveActionArg): delete function
2190         (LookupFunc): make it return kb_action, simplify.
2191         (getActionName): simplify
2192
2193         * factory.C (createInset): fix new bug
2194
2195 2003-09-19  Angus Leeming  <leeming@lyx.org>
2196
2197         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2198         masterFilename_ parameter in the include inset.
2199
2200         * factory.C (createInset): changes due to the changes to InsetInclude.
2201
2202 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2203
2204         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2205
2206 2003-09-18  Angus Leeming  <leeming@lyx.org>
2207
2208         * buffer.C:
2209         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2210         Inset::fillWithBibKeys.
2211         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2212
2213 2003-09-18  Angus Leeming  <leeming@lyx.org>
2214
2215         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2216         variables.
2217         (ctor): pass and store a 'Buffer const &'
2218         (buffer): new member function.
2219
2220         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2221         '*this' to the LaTeXFeatures ctor.
2222
2223 2003-09-18  Angus Leeming  <leeming@lyx.org>
2224
2225         * LColor.h:
2226         * lyxfont.C:
2227         * lyxfont.h:
2228         * lyxtext.h:
2229         * text.C: rename EnumLColor as LColor_color.
2230
2231 2003-09-18  Angus Leeming  <leeming@lyx.org>
2232
2233         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2234         remove #include "insets/insetbase.h" from cursor.h.
2235
2236 2003-09-18  Angus Leeming  <leeming@lyx.org>
2237
2238         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2239         InsetOld_code to remove #include "inset.h".
2240
2241         * iterators.C: add #include "insets/inset.h"
2242
2243 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2244
2245         * BufferView.C: remove more locking stuff that apparently doesn't
2246         do anything sensible.
2247
2248 2003-09-16  André Pönitz  <poenitz@gmx.net>
2249
2250         * paragraph.[Ch]:
2251         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2252           performance boost.
2253
2254 2003-09-16  Angus Leeming  <leeming@lyx.org>
2255
2256         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2257
2258         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2259         arg/return type.
2260
2261         * paragraph.h: remove #include "lyxfont.h". Forward declare
2262         LyXFont_size.
2263
2264 2003-09-16  Angus Leeming  <leeming@lyx.org>
2265
2266         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2267         of support/textutils.h.
2268         (isWord): move the contents of support/textutils.h's IsWordChar here.
2269
2270         * buffer.C:
2271         * lyxfind.C:
2272         * rowpainter.C:
2273         * text.C:
2274         * text2.C: add #include "paragraph.h".
2275
2276         * rowpainter.C:
2277         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2278
2279 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * main.C:
2282         * lyx_main.C:
2283         * lyx_cb.C:
2284         * buffer.C:
2285         * LaTeX.C: use namespace alias for lyx::support::os
2286
2287 2003-09-16  Angus Leeming  <leeming@lyx.org>
2288
2289         * bufferparams.C:
2290         * bufferview_funcs.C:
2291         * factory.C:
2292         * lyxfunc.C:
2293         * paragraph_pimpl.C:
2294         * rowpainter.C:
2295         * text.C: add #include "LColor.h".
2296
2297 2003-09-16  Angus Leeming  <leeming@lyx.org>
2298
2299         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2300         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2301         return LyXFont &.
2302         Store the FontBits::color variable as an int rather than as an
2303         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2304         file.
2305
2306         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2307         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2308         string calls together.
2309
2310         * lyxrc.C: add #include "LColor.h".
2311
2312 2003-09-15  Angus Leeming  <leeming@lyx.org>
2313
2314         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2315         a cow_ptr.
2316
2317 2003-09-15  Angus Leeming  <leeming@lyx.org>
2318
2319         * LColor.h: add an EnumLColor wrapper for LColor::color.
2320
2321         * lyxfont.[Ch] (color, setColor, realColor):
2322         * lyxtext.h, text.C (backgroundColor):
2323         pass EnumLColor args to/from the functions, rather than LColor::color
2324         ones.
2325
2326         * lyxfont.h:
2327         * lyxtext.h: forward declare EnumLColor.
2328
2329         * lyx_main.C: add #include "LColor.h".
2330
2331 2003-09-15  Angus Leeming  <leeming@lyx.org>
2332
2333         * .cvsignore: add lyx-gtk.
2334
2335 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2336
2337         * Chktex.C
2338         * LaTeX.C
2339         * LaTeXFeatures.C
2340         * ParagraphParameters.C
2341         * Spacing.C
2342         * buffer.C
2343         * bufferparams.C
2344         * bufferview_funcs.C
2345         * chset.C
2346         * counters.C
2347         * funcrequest.C
2348         * lyxfont.C
2349         * lyxgluelength.C
2350         * lyxlength.C
2351         * paragraph.C
2352         * paragraph_funcs.C
2353         * text3.C
2354         * vc-backend.C: remove usage of STRCONV
2355
2356 2003-09-15  Angus Leeming  <leeming@lyx.org>
2357
2358         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2359         explicitly define the color passed to the painter.
2360
2361 2003-09-15  Angus Leeming  <leeming@lyx.org>
2362
2363         * bufferparams.C (BufferParams): reorder member initializers to avoid
2364         compiler warning.
2365
2366 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2367
2368         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2369         * text.C (updateRowPositions): remove an unusual nop
2370
2371 2003-09-12  André Pönitz  <poenitz@gmx.net>
2372
2373         * BufferView_pimpl.C:
2374         * Bullet.C:
2375         * layout.h:
2376         * lyxfunc.C:
2377         * lyxlayout.[Ch]:
2378         * lyxtextclass.C:
2379         * rowpainter.C:
2380         * text.C:
2381         * text2.C:
2382         * Counters.[Ch]: finish the 'automatic counters' job
2383
2384 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2385
2386         * aspell.C: include <boost/assert.cpp> (compile fix)
2387
2388 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2389
2390         * boost.C (assertion_failed): use lyx::support::abort instead of
2391         assert.
2392
2393 2003-09-10  Angus Leeming  <leeming@lyx.org>
2394
2395         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2396         with their _fwd progeny.
2397
2398 2003-09-09  Angus Leeming  <leeming@lyx.org>
2399
2400         134 files throughtout the source tree: replace 'using namespace abc;'
2401         directives with the appropriate 'using abc::xyz;' declarations.
2402
2403 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2404
2405         * boost.C (emergencyCleanup): moved here from LAssert.c
2406         (assertion_failed): new function, called by BOOST_ASSERT
2407
2408         * several files: change Assert to BOOST_ASSERT
2409
2410 2003-09-09  Angus Leeming  <leeming@lyx.org>
2411
2412         * buffer.[Ch]: Add an Impl class and move Buffer's member
2413         variables into it. As a result move several header files out of
2414         buffer.h.
2415
2416         Add header files to lots of .C files all over the tree as a result.
2417
2418 2003-09-09  Angus Leeming  <leeming@lyx.org>
2419
2420         * buffer.[Ch]: make Buffer's member variables private. Add
2421         accessor functions.
2422
2423         Lots of changes all over the tree as a result.
2424
2425 2003-09-08  Angus Leeming  <leeming@lyx.org>
2426
2427         * graph.C: #include <config.h>.
2428
2429 2003-09-08  Angus Leeming  <leeming@lyx.org>
2430
2431         * BranchList.C:
2432         * BufferView.C:
2433         * BufferView_pimpl.C:
2434         * CutAndPaste.C:
2435         * DepTable.C:
2436         * LaTeX.C:
2437         * LaTeXFeatures.C:
2438         * LyXAction.C:
2439         * MenuBackend.C:
2440         * TextCache.C:
2441         * aspell.C:
2442         * buffer.C:
2443         * bufferlist.C:
2444         * changes.C:
2445         * chset.C:
2446         * converter.C:
2447         * counters.C:
2448         * debug.C:
2449         * graph.C:
2450         * ispell.C:
2451         * lyx_cb.C:
2452         * lyxfind.C:
2453         * lyxfunc.C:
2454         * lyxlex_pimpl.C:
2455         * lyxrc.C:
2456         * lyxrow.C:
2457         * paragraph.C:
2458         * rowpainter.C:
2459         * texrow.C:
2460         * text.C:
2461         * text2.C:
2462         * toc.C: remove redundant using directives.
2463
2464 2003-09-07  Angus Leeming  <leeming@lyx.org>
2465
2466         * LaTeXFeatures.h: remove #include "support/types.h".
2467         * ToolbarBackend.h: remove #include <algorithm>.
2468         * changes.h: remove #include <ctime>.
2469         * debug.h: remove #include <iosfwd>.
2470         * graph.h: remove #include "support/std_string.h".
2471         * lyx_main.h: remove #include <csignal>.
2472         * lyxlex_pimpl.h: remove #include <fstream>.
2473         * sgml.h: remove #include <algorithm>, <utility>.
2474         * toc.h: remove #include "support/std_ostream.h".
2475         Add #include <iosfwd>.
2476
2477 2003-09-07  Angus Leeming  <leeming@lyx.org>
2478
2479         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2480
2481         * converter.h: forward declare LatexRunParams.
2482         * encoding.h: remove #include "lyxrc.h".
2483         * lyxtext.h: remove #include "LColor.h".
2484         * lyxtextclass.h: remove #include "support/types.h".
2485         * trans.h: remove #include "tex-accent.h".
2486         * trans_mgr.h: remove #include "tex-accent.h".
2487         * insets/inset.h: remove #include "support/types.h", <vector>.
2488         * insets/insetcollapsable.h: remove #include "LColor.h".
2489         * insets/insetinclude.h: remove #include "dimension.h".
2490         * insets/insetlatexaccent.h: remove #include "dimension.h".
2491         * insets/insetoptarg.h:: remove #include "insettext.h".
2492         * insets/insettext.h: remove #include "dimension.h",
2493         <boost/shared_ptr.hpp>
2494
2495         * insets/renderers.h: add #include "dimension.h".
2496         * insets/updatableinset.h: add #include "support/types.h".
2497
2498         * many .C files: Associated changes.
2499
2500 2003-09-06  Angus Leeming  <leeming@lyx.org>
2501
2502         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2503         one, inside testInvariant.
2504
2505         * PrinterParams.C: new file.
2506         * PrinterParams.[Ch]: move the function bodies out of line.
2507
2508 2003-09-06  Angus Leeming  <leeming@lyx.org>
2509
2510         * ParagraphParameters.h: forward declare ParameterStruct rather than
2511         including its header file.
2512         (depth): moved out-of-line.
2513
2514 2003-09-06  Angus Leeming  <leeming@lyx.org>
2515
2516         * BufferView_pimpl.h:
2517         * kbmap.h:
2518         * kbsequence.h:
2519         * lyxfunc.h: forward declare LyXKeySym rather than
2520         #include "frontends/LyXKeySym.h".
2521
2522         * BufferView_pimpl.C:
2523         * kbmap.C:
2524         * kbsequence.C:
2525         * lyxfunc.C: associated changes.
2526
2527 2003-09-06  Angus Leeming  <leeming@lyx.org>
2528
2529         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2530         As a result, can remove the #include "insets/inset.h" from BufferView.h
2531
2532 2003-09-06  Angus Leeming  <leeming@lyx.org>
2533
2534         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2535         As a result, can remove the #include "insets/inset.h" from BufferView.h
2536
2537 2003-09-06  Angus Leeming  <leeming@lyx.org>
2538
2539         * buffer_funcs.C:
2540         * buffer.h:
2541         * bufferlist.C:
2542         * BufferView.C:
2543         * bufferview_funcs.C:
2544         * BufferView_pimpl.C:
2545         * CutAndPaste.C:
2546         * lyx_cb.C:
2547         * lyxfunc.C:
2548         * paragraph.h:
2549         * ParagraphParameters.C:
2550         * tabular.C:
2551         * text3.C:
2552         * toc.C:
2553         * undo_funcs.C:
2554         * frontends/controllers/ControlDocument.C:
2555         * insets/insetcaption.C: rearrange the #includes into some sort of
2556         coherent order.
2557
2558         * buffer.h: remove #includes ErrorList.h, undo.h
2559
2560 2003-09-06  Angus Leeming  <leeming@lyx.org>
2561
2562         * support/types.h: add a 'depth_type' typedef, used to store the
2563         nesting depth of a paragraph.
2564
2565         * paragraph.h:
2566         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2567         defining explicitly.
2568
2569         * buffer.h:
2570         * paragraph_funcs.h:
2571         * ParagraphParameters.h:
2572         * sgml.h: use lyx::depth_type rather than Paragraph or
2573         ParameterStruct's depth_type.
2574
2575         * buffer.h
2576         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2577
2578         * BufferView.C:
2579         * BufferView_pimpl.C:
2580         * CutAndPaste.C:
2581         * ParagraphParameters.C:
2582         * buffer_funcs.C:
2583         * bufferlist.C:
2584         * bufferview_funcs.C:
2585         * lyx_cb.C:
2586         * lyxfunc.C:
2587         * tabular.C:
2588         * text3.C:
2589         * toc.C:
2590         * undo_funcs.C:
2591         * frontends/LyXView.C:
2592         * frontends/controllers/ControlDocument.C:
2593         * frontends/controllers/ControlErrorList.C:
2594         * insets/insetbibitem.C:
2595         * insets/insetbranch.C:
2596         * insets/insetcaption.C:
2597         * insets/insetcollapsable.C:
2598         * insets/insetenv.C:
2599         * insets/insetert.C:
2600         * insets/insetfloat.C:
2601         * insets/insetfoot.C:
2602         * insets/insetfootlike.C:
2603         * insets/insetnewline.C:
2604         * insets/insetquotes.C:
2605         * insets/insettabular.C:
2606         * insets/insettext.C:
2607         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2608
2609         * frontends/controllers/ControlChanges.C: #include "changes.h".
2610
2611 2003-09-06  Angus Leeming  <leeming@lyx.org>
2612
2613         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2614         than #including paragraph.h.
2615
2616         * ParagraphList.h:
2617         * RowList.h: deleted. Superfluous.
2618
2619         * CutAndPaste.h:
2620         * iterators.h:
2621         * lyxcursor.h:
2622         * lyxtext.h:
2623         * text_funcs.h:
2624         * undo.h:
2625         * undo_funcs.h:
2626         * insets/inset.h:
2627         * insets/insettext.h: use ParagraphList_fwd.h rather than
2628         ParagraphList.h.
2629
2630         * paragraph.h: don't forward declare ParagraphList.
2631
2632         * buffer.h:
2633         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2634         rather than ParagraphList.h. paragraph.h is still needed for the
2635         Paragraph::depth_type parameters.
2636
2637         * textcursor.h: enable it to compile stand-alone in light of the
2638         above changes.
2639
2640         * bufferview_funcs.C:
2641         * iterators.C:
2642         * lyxfunc.C:
2643         * lyxrow_funcs.C:
2644         * paragraph.C:
2645         * rowpainter.C:
2646         * text.C:
2647         * text2.C:
2648         * text3.C:
2649         * text_funcs.C:
2650         * textcursor.C:
2651         * undo.C:
2652         * frontends/controllers/ControlParagraph.C:
2653         * frontends/controllers/ControlTabular.C:
2654         * insets/insetmarginal.C:
2655         * insets/insetminipage.C:
2656         * insets/insetnote.C:
2657         * insets/insetoptarg.C: add header files needed to compile again.
2658
2659 2003-09-06  Angus Leeming  <leeming@lyx.org>
2660
2661         * RowList_fwd.h: new file, forward-declaring Row rather than
2662         #including lyxrow.h.
2663
2664         * lyxrow_funcs.h:
2665         * lyxtext.h:
2666         * paragraph.h:
2667         * insets/insettext.h: use it instead of RowList.h
2668
2669         * bufferview_funcs.C:
2670         * lyxfunc.C:
2671         * lyxrow_funcs.C:
2672         * paragraph.C:
2673         * rowpainter.C:
2674         * text.C:
2675         * text2.C:
2676         * text3.C: #include "RowList.h".
2677
2678 2003-09-05  Angus Leeming  <leeming@lyx.org>
2679
2680         * factory.C (createInset):
2681         * vspace.C (c-tor): replace sscanf call with an istringstream.
2682         * ispell.C: re-add missing HP/UX headers.
2683         * lyxserver.C: re-add missing  os2 headers.
2684
2685 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2686
2687         * BranchList.C:
2688         * graph.C:
2689         * ispell.C:
2690         * lastfiles.C:
2691         * lyx_cb.C:
2692         * lyxserver.C:
2693         * texrow.C:
2694         * text3.C: re-add missing system headers, needed for 2.95.2.
2695
2696 2003-09-05  Angus Leeming  <leeming@lyx.org>
2697
2698         Changes most place everywhere due to the removal of using directives
2699         from support/std_sstream.h.
2700
2701 2003-09-05  Angus Leeming  <leeming@lyx.org>
2702
2703         Replace LString.h with support/std_string.h,
2704         Lsstream.h with support/std_sstream.h,
2705         support/LIstream.h with support/std_istream.h,
2706         support/LOstream.h with support/std_ostream.h.
2707
2708         Changes resulting throughout the tree.
2709
2710 2003-09-05  Angus Leeming  <leeming@lyx.org>
2711
2712         * sgml.h: ensure that the header file can be compiled stand-alone.
2713         * *.C: strip out redundant #includes. (320 in total.)
2714
2715 2003-09-04  Angus Leeming  <leeming@lyx.org>
2716
2717         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2718         here (from getPackages).
2719
2720         * debug.[Ch]: add a new EXTERNAL tag.
2721
2722 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2723
2724         * text2.C (cursorEnd): simplify
2725         (setCursor): adjust
2726         (getColumnNearX): adjust
2727
2728         * text.C (computeBidiTables): adjust
2729         (fill): adjust
2730
2731         * rowpainter.C (paintChars): adjust
2732         (paintSelection): adjust
2733         (paintChangeBar): adjust
2734         (paintText): adjust
2735
2736         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2737         lastPos instead.
2738         (numberOfSeparators): adjust
2739
2740 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2741
2742         * LyXAction.C:
2743         * box.[Ch]:
2744         * lfuns.h:
2745         * lyxfunc.C:
2746         * text3.C: Restricts the mouse click functionality
2747         of insets like bibtex, include, toc and floatlist to the visible
2748         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2749         up the dialogs. Cursor has to be in front of the inset (i.e.
2750         start of row) for this to function.
2751
2752 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2753
2754         * bufferview_funcs.C (currentState): output row information
2755
2756 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2757
2758         * bufferview_funcs.C (currentState): output paragraph position
2759
2760 2003-09-04  Angus Leeming  <leeming@lyx.org>
2761
2762         * FloatList.h: move out #include "Floating.h".
2763         * LaTeX.h: move out #include "DepTable.h".
2764         * LyXAction.h: move out #include "funcrequest.h".
2765         * buffer.h: move out #include "author.h", "iterators.h".
2766         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2767         * lyx_main.h: move out #include "errorlist.h".
2768         * lyxfunc.h: move out #include "FuncStatus.h".
2769         * lyxtext: move out #include "lyxcursor.h".
2770         * paragraph_pimpl.h: move out #include "counters.h".
2771
2772 2003-09-03  Angus Leeming  <leeming@lyx.org>
2773
2774         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2775         preamble_snippets list, enabling us to add snippets to the preamble
2776         only if the snippet was not there already.
2777
2778 2003-09-04  Angus Leeming  <leeming@lyx.org>
2779
2780         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2781
2782 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2785         update
2786
2787 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * BranchList.C: point fix, earlier forgotten
2790
2791 2003-09-02  Angus Leeming  <leeming@lyx.org>
2792
2793         * box.C (contains): renamed from 'contained' after a fantastic
2794         amount of hot air.
2795
2796 2003-09-02  John Levon  <levon@movementarian.org>
2797
2798         * BufferView.C:
2799         * lyxcursor.h:
2800         * lyxcursor.C:
2801         * lyxfunc.C:
2802         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2803
2804 2003-09-02  John Levon  <levon@movementarian.org>
2805
2806         * text2.C: simplification of cursorEnd(), including partial
2807         fix for bug 1376
2808
2809 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * buffer.C (readFile): add a space
2812
2813 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2816
2817 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * buffer.C (readFile): new function, take a filename and a
2820         ParagraphList::iterator
2821         (readFile): adjust
2822         (readFile): adjust, make it private. don't use setStream, make
2823         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2824         always contain the filename.
2825
2826         * BufferView.C (insertLyXFile): simplify and make it work for
2827         gzipped files.
2828
2829 2003-08-30  John Levon  <levon@movementarian.org>
2830
2831         * Makefile.am: fix dist (from Kayvan)
2832
2833 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * most files: change to use const Buffer refs
2836
2837 2003-08-27  André Pönitz  <poenitz@gmx.net>
2838
2839         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2840         on top of ownerPar().
2841
2842 2003-08-27  John Levon  <levon@movementarian.org>
2843
2844         * funcrequest.C: properly initialise POD members
2845
2846 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2847
2848         * lyxtext.h (top_y): move top_y from here
2849         * text.C:
2850         * text2.C:
2851         * text3.C:
2852         * BufferView.[Ch]:
2853         * BufferView_pimpl.[Ch]: to here
2854         * frontends/screen.C:
2855         * insets/insettabular.C:
2856         * insets/insettext.C: adjust
2857         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2858
2859 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2860
2861         * BufferView.[Ch]:
2862         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2863
2864 2003-08-26  André Pönitz  <poenitz@gmx.net>
2865
2866         * paragraph_func.[Ch] (outerPar): new function
2867
2868         * paragraph.C:
2869         * paragraph_funcs.C:
2870         * paragraph_funcs.h:
2871         * paragraph_pimpl.C:
2872         * text2.C: remove Inset::par_owner
2873
2874 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * lyxrow_funcs.C:
2877         * lyxtext.h:
2878         * text.C:
2879         * text2.C: eliminates the needFullRow/display() stuff
2880         altogether, putting the logic in metrics/draw in the insets.
2881
2882 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2883
2884         * text2.C (redoParagraphInternal, redoParagraphs):
2885         * text.C (redoParagraph): add a call to updateRowPositions at the
2886         end of each 'metrics-like' call. Remove all others.
2887         (getRow): remove the 'y-computing' version.
2888         (getRowNearY): do not compute nor return the real y. Solve the
2889         'y < 0' problem and simplify.
2890
2891 2003-08-22  Angus Leeming  <leeming@lyx.org>
2892
2893         * *.[Ch]: clean-up of licence and author blurbs.
2894         Also move config.h out of a few .h files and into a few .C files.
2895
2896 2003-08-22  André Pönitz  <poenitz@gmx.net>
2897
2898         * lyxrow.[Ch]: add x_ and *fill_ members
2899
2900         * lyxtext.h:
2901         * text.C:
2902         * rowpainter.C:
2903         * text2.C: adjust/remove prepareToPrint() calls
2904
2905 2003-08-22  André Pönitz  <poenitz@gmx.net>
2906
2907         * lyxrow.[Ch]: add  end_ member
2908
2909         * lyxrow_funcs.C: use LyXRow::end_
2910
2911         * lyxtext.h (singleWidth): add LyXFont parameter
2912
2913         * rowpainter.C:
2914         * text2.C: adjust LyXText::singleWidth() calls
2915
2916         * text.C (redoParagraph): simplify row breaking logic
2917
2918
2919 2003-08-19  André Pönitz  <poenitz@gmx.net>
2920
2921         * funcrequest.C: initialize button_ member
2922
2923         * text3.C:
2924         * rowpainter.[Ch]: interface consolidation
2925
2926 2003-08-18  André Pönitz  <poenitz@gmx.net>
2927
2928         * BufferView.C:
2929         * BufferView_pimpl.C:
2930         * lyxfind.C:
2931         * paragraph_funcs.C:
2932         * rowpainter.C:
2933         * text3.C: remove LyXScreen::draw() and fitCursor calls
2934
2935         * BranchList.h: remove spurious semicolons
2936
2937         * MenuBackend.C: fix branchlist related crash
2938
2939 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2940
2941         * BranchList.[Ch]:
2942         * InsetList.[Ch]:
2943         * LColor.[Ch]:
2944         * LyXAction.C:
2945         * Makefile.am:
2946         * MenuBackend.[Ch]:
2947         * bufferparams.[Ch]:
2948         * factory.C:
2949         * lfuns.h:
2950         * lyxfunc.C:
2951         * text3.C: implements the 'branch inset'
2952         idea. This allows the output of various versions of a document
2953         from a single source version, selectively outputing or suppressing
2954         output of parts of the text.
2955         This implementation contains a 'branch list editor' in a separate
2956         tab of the document settings dialog. Branches are user definable
2957         and have a "display colour" to distinguish them on-screen.
2958
2959         ColorHandler was somewhat cleaned up.
2960         (1) make possible a dynamically growing LColor list by allowing
2961         the graphic context cache to grow along (vector);
2962         (2) eliminate an IMHO unnecessary step in colour allocation.
2963
2964 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2965
2966         * BufferView_pimpl.C: compile fix
2967
2968 2003-08-15  André Pönitz  <poenitz@gmx.net>
2969
2970         * rowpainter.C: remove extra metrics calls
2971
2972         * lyxtext.h: merge the two constructors into a single one,
2973           pass reference to owner's par list
2974
2975         * BufferView_pimpl.C:
2976         * text.C:
2977         * text2.C: adjust
2978
2979 2003-08-15  André Pönitz  <poenitz@gmx.net>
2980
2981         * lyxrow_funcs.[Ch]:
2982         * lyxtext.h:
2983         * paragraph.h:
2984         * paragraph_funcs.C:
2985         * rowpainter.C:
2986         * text.C:
2987         * text2.C:
2988         * text3.C:
2989         * text_funcs.C: split LyXText::rowlist_ into individual
2990         Paragraph::rows_ chunks
2991
2992         * BufferView.[Ch]:
2993         * BufferView_pimpl.[Ch]:
2994         * lyxfind.C:
2995         * lyxtext.h:
2996         * text3.C: remove toggleSelection()
2997
2998 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2999
3000         * bufferlist.C: beautify two alerts (shorter text of buttons)
3001         * buffer.C: Remove redundant ' ' from message
3002         * tabular.h:
3003         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3004         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3005         rename VALIGN_CENTER to VALIGN_MIDDLE
3006
3007 2003-08-11  André Pönitz  <poenitz@gmx.net>
3008
3009         * lyxtext.h (getPar):
3010         * text.C: new function
3011
3012 2003-08-11  André Pönitz  <poenitz@gmx.net>
3013
3014         * Makefile.am:
3015         * tracer.[Ch]: remove unneeded files
3016
3017         * InsetList.[Ch]: remove resizeInsetsLyXText()
3018
3019         * lyxtext.h:
3020         * text.C:
3021         * text2.C:
3022         * text3.C: merge insertParagraphs() and appendParagraph()
3023         remove breakAgain(), update()
3024
3025         * BufferView_pimpl.[Ch]:
3026         * bufferview_funcs.[Ch]:
3027         * lyxfunc.C:
3028         * paragraph.[Ch]:
3029         * rowpainter.C:
3030         * tabular.C: adjust after text & InsetList changes.
3031
3032 2003-08-08  André Pönitz  <poenitz@gmx.net>
3033
3034         * text.C (insertChar, backspace): replace rowlist fiddling
3035         with rebreak of full par
3036
3037         * lyxtext.h:
3038         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3039         checkParagraph, updateInset): removed
3040
3041 2003-08-07  André Pönitz  <poenitz@gmx.net>
3042
3043         * paragraph.C:
3044         * text3.C: merge some LFUN handlers, remove dead code
3045
3046 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3047
3048         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3049
3050 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * text2.C (DEPM): fix part of bug 1255 and 1256
3053
3054 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * BufferView_pimpl.C (workAreaDispatch): change to use
3057         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3058         that are no mouse related.
3059
3060 2003-08-05  André Pönitz  <poenitz@gmx.net>
3061
3062         * BufferView.[Ch]:
3063         * BufferView_pimpl.[Ch]:
3064         * bufferview_funcs.C:
3065         * text2.C:
3066         * text3.C: rip out "deep update"
3067
3068         * textcursor.[Ch] (last_sel_cursor): remove unused member
3069
3070 2003-08-04  André Pönitz  <poenitz@gmx.net>
3071
3072         * BufferView.[Ch]:
3073         * BufferView_pimpl.[Ch]:
3074         * ParagraphParameters.C:
3075         * bufferview_funcs.C:
3076         * lyx_cb.C:
3077         * lyxfind.C:
3078         * lyxfunc.C:
3079         * text.C:
3080         * text2.C:
3081         * text3.C: replace "complicated" BufferView::update(...) calls with
3082         simpler ones.
3083
3084         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3085
3086 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3087
3088         * Makefile.am (lyx_SOURCES): add paper.h
3089
3090 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3091
3092         * Makefile.am: move things around so that both lyx-qt and
3093         lyx-xforms can be built (according to --with-frontend). Then lyx
3094         is a symbolic link to lyx-[firstfrontend]
3095
3096 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3097
3098         * Always use std::endl with lyxerr
3099
3100 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3101
3102         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3103
3104 2003-08-01  André Pönitz  <poenitz@gmx.net>
3105
3106         * BufferView.[Ch]:
3107         * BufferView_pimpl.[Ch]:
3108         * lyxfunc.C:
3109         * text3.C: merge BufferView::repaint() and BufferView::update()
3110
3111 2003-08-01  José Matos  <jamatos@lyx.org>
3112
3113         * buffer.[Ch]: file_format is no longer a buffer data element.
3114
3115 2003-08-01  André Pönitz  <poenitz@gmx.net>
3116
3117         * BufferView.C:
3118         * lyxtext.h:
3119         * text.C:
3120         * text2.C: make redoParagraph more independent of current cursor
3121
3122         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3123         * text.C:
3124         * text2.C: remove unneeded members
3125
3126 2003-07-30  André Pönitz  <poenitz@gmx.net>
3127
3128         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3129
3130         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3131           create a single function...
3132
3133         * paragraph_funcs.C (moveItem): ... here.
3134
3135         * text.C:
3136           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3137
3138 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3139
3140         * LColor.[Ch]: Add comment and greyedout logical colors.
3141
3142 2003-07-30  André Pönitz  <poenitz@gmx.net>
3143
3144         * tabular.C: don't use Assert too heavily. This crashes where it
3145           shouldn't
3146
3147 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3150         is disabled (bug 1232)
3151
3152 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3153
3154         * factory.C: limited 'arg' scope
3155
3156 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3157
3158         * factory.C: fixed Note submenu issues
3159
3160 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3161
3162         * factory.C: submenu for Note/Comment/Greyedout
3163
3164 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * lyx_main.C (LyX):
3167         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3168
3169 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3170
3171         * LaTeXFeatures.C:
3172         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3173         greyedout. Patch provided by Jürgen Spitzmüller.
3174
3175 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3176
3177         * kbmap.C (read): fix error message when reading bind files
3178
3179 2003-07-29  Angus Leeming  <leeming@lyx.org>
3180
3181         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3182         certainly does not do what it purports to do. I am doing it, and
3183         us, a favour by killing it.
3184
3185 2003-07-28  José Matos  <jamatos@lyx.org>
3186
3187         * buffer.C (readBody, do_writeFile):
3188         * paragraph.C(readParagraph): \end_document replaces \the_end.
3189
3190 2003-07-29  André Pönitz  <poenitz@gmx.net>
3191
3192         * BufferView.[Ch]:
3193         * BufferView_pimpl.[Ch]:
3194         * lyxfunc.C:
3195         * text2.C:
3196         * text3.C:
3197         * textcursor.[Ch]: remove toggleToggle & Co
3198
3199 2003-07-28  José Matos  <jamatos@fep.up.pt>
3200
3201         * buffer.C (readParagraph):
3202         * params_func (readParToken, readParagraph):
3203         * paragraph.C (write): \layout -> \begin_layout.
3204
3205 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * lyxlex_pimpl.C (setFile): clean up slightly.
3208
3209         * bufferparams.h: add compressed var
3210
3211         * buffer_funcs.C (readFile): adjust for LyXLex change
3212         (newFile): ditto + simplify
3213
3214         * buffer.C (writeFile): handle writing of compressed files
3215
3216         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3217         Check if the file is compressed and set a bufferparm if so.
3218
3219         * Makefile.am (lyx_LDADD): remove explicit -lz
3220
3221 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3222
3223         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3224         makeDocBookFile): put the real LyX version in the first line of
3225         the file
3226
3227         * version.h:
3228         * version.C.in: remove lyx_docversion
3229
3230         * tabular.C (write_attribute): add a template-based version to
3231         write enums properly
3232
3233 2003-07-28  André Pönitz  <poenitz@gmx.net>
3234
3235         * lyxtext.h:
3236         * text.C:
3237         * text2.C:
3238         * text3.C: use doubles again for x-coordinates. They are needed.
3239
3240 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * messages.C (getLocaleDir): use lyx_localedir()
3243
3244         * lyxlex_pimpl.C (setFile): compress stuff
3245
3246         * buffer.C (writeFile): add some compression stuff
3247         (do_writeFile): new func, dont call expliti close... will this
3248         breake anything?
3249
3250         * Makefile.am (lyx_LDADD): add -lz
3251
3252 2003-07-28  José Matos  <jamatos@fep.up.pt>
3253
3254         * buffer.C: increment file format.
3255         * paragraph_funcs (readParagraph, readParToken):
3256         * paragraph.C (readParagraph): add \end_layout.
3257
3258 2003-07-27  Angus Leeming  <leeming@lyx.org>
3259
3260         * Makefile.am: remove special casing for configure-time setting of
3261         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3262
3263         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3264         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3265
3266 2003-07-26  André Pönitz  <poenitz@gmx.net>
3267
3268         * paragraph_func.[Ch]:
3269         * paragraph.C (realizeFont): inline it whereever it is used
3270
3271         * rowpainter.C:
3272         * text.C:
3273         * text2.C:
3274         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3275
3276
3277 2003-07-26  André Pönitz  <poenitz@gmx.net>
3278
3279         *       lyxtext.h:
3280         * text.C:
3281         * text2.C: get rid of LyXText::need_break_row
3282
3283 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * toc.[Ch]: put namespace toc inside namespace lyx
3286
3287         * MenuBackend.C (expandToc2): adjust for lyx::toc
3288         (expandToc): ditto
3289
3290         * lyxfunc.C (dispatch): adjust for lyx::find
3291
3292         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3293         lyx::find instead. Reorganize a bit.
3294         (LyXReplace): rename to replace
3295         (LyXFind): rename to find
3296
3297         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3298         (dispatch): ditto
3299
3300 2003-07-26  André Pönitz  <poenitz@gmx.net>
3301
3302         * text.C (setHeightOfRow): restrict scope of temporary variable
3303
3304         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3305           code (never has been used?)
3306
3307 2003-07-27  Asger Alstrup  <alstrup@local>
3308
3309         * text.C (fill): Optimise algorithm to exploit that we can reuse
3310         the LyXFont for many characters.
3311         (setHeightOfRow): Same thing.
3312         (rowBreakPoint): Same thing.
3313
3314 2003-07-26  Asger Alstrup  <alstrup@local>
3315
3316         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3317
3318         * text.C (singleWidth): Spurious font copying in hot-spot
3319         singleWidth avoided. Reorder tests for arabic for efficiency.
3320
3321         * text.C (fill): handle empty paragraphs better.
3322
3323 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3324
3325         * ispell.C:
3326         * encoding.h: add includes
3327
3328         * lyxrc.C: remove reading of bind files
3329
3330         * lyx_main.C (init): setup bindings and menus only if we have a
3331         gui.
3332
3333         * kbmap.C (read): new method. Do the actual reading of bind
3334         files.
3335
3336         * converter.C (dvipdfm_options):
3337         * bufferparams.C:
3338         * lyxrc.C (read):
3339         (output): adapt PAPER_* enums.
3340
3341         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3342
3343         * bufferparams.h: remove paper-related enums from there
3344
3345         * paper.h: New file. A trivial header file to hold paper-related
3346         enums. It should later expand to contain many paper-related
3347         horrors access.
3348
3349         * lyxrc.C: declare extern displayTranslator
3350
3351 2003-07-27  José Matos  <jamatos@fep.up.pt>
3352
3353         * tabular.[Ch] (linuxdoc): add support for tables and figures
3354         (linuxdoc).
3355
3356 2003-07-27  José Matos  <jamatos@fep.up.pt>
3357
3358         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3359         consistency in both functions.
3360         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3361
3362 2003-07-26  Asger Alstrup  <alstrup@local>
3363
3364         * rowpainter.C (paintRows): Change algorithm to work directly on
3365         the insets rather than asking every character in the document
3366         whether its an inset.
3367
3368 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * buffer.C (openFileWrite): factorize some code
3371
3372 2003-07-26  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyx_cb.C:
3375         * lyx_main.[Ch]: replace occurances of system_tempdir with
3376         os::getTmpDir().
3377
3378 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * rename Inset to InsetOld
3381
3382 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3383
3384         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3385         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3386         which I think is a bit clearer. EDIT is gone, since it was
3387         premature optimisation, and broken for mathed anyway.
3388         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3389         with cursor positioning in insets as well (math insets still do not
3390         work, but that's a different story anyway.) It mysteriously
3391         crashes sometimes with undo in the first paragraph, but I'm fairly
3392         confident that this is a compiler bug.
3393
3394 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * paragraph.C (Paragraph): adjust for new clone return type
3397         (operator==): ditto
3398         (copyIntoMinibuffer): ditto
3399
3400 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3401
3402         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3403         by not having a special case, and always doing a full rebreak of
3404         the document after undo.
3405
3406 2003-07-23  Angus Leeming  <leeming@lyx.org>
3407
3408         * factory.C (createInset): InsetExternal::setParams now takes a
3409         Buffer const * arg.
3410
3411 2003-07-23  Angus Leeming  <leeming@lyx.org>
3412
3413         * factory.C (createInset): changed interface to the external and
3414         graphics mailers' string2params functions.
3415
3416 2003-07-23  Angus Leeming  <leeming@lyx.org>
3417
3418         * factory.C (createInset): pass a
3419         Buffer const * parameter to InsetExternalMailer's string2params.
3420
3421 2003-07-22  John Levon  <levon@movementarian.org>
3422
3423         * Thesaurus.h: include the right aiksaurus header
3424
3425 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3426
3427         * MenuBackend.C (expand): check menu shortcuts unconditionally
3428
3429 2003-07-21  Angus Leeming  <leeming@lyx.org>
3430
3431         * factory.C (createInset): pass a
3432         buffer_path parameter to InsetGraphicsMailer's string2params.
3433
3434 2003-07-21  Angus Leeming  <leeming@lyx.org>
3435
3436         * BufferView_pimpl.C (buffer):
3437         * buffer.C (d-tor):
3438         * lyx_main.C (LyX):
3439         * lyxfunc.C (dispatch):
3440         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3441         rather than the grfx shortcut.
3442
3443 2003-07-21  André Pönitz  <poenitz@gmx.net>
3444
3445         * rowpainter.C: remove unused variables
3446
3447         * tabular_funcs.C:
3448         * tabular_funcs.h: move to tabular.C
3449         * Makefile.am: adjust
3450
3451         * tabular.[Ch]: basic optical cleaning
3452
3453         * author.h: pass references, not values
3454
3455 2003-07-18  André Pönitz  <poenitz@gmx.net>
3456
3457         * lyxtext.h:
3458         * metricsinfo.C:
3459         * metricsinfo.h:
3460         * rowpainter.C:
3461         * text.C:
3462         * text2.C:
3463         * text3.C: two-phase drawing for InsetText and InsetTabular
3464         some float -> int changes.
3465
3466 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * lyx_main.C: fix the fix
3469
3470 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * lyx_main.C: fix a crash in batch mode if no files specified
3473         * converter.C: ws
3474
3475 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3476
3477         * format.[Ch] (papersize): moved to BufferParams
3478         * converter.[Ch] (dvips_options): moved to BufferParams
3479         (dvipdfm_options): moved to anon namespace
3480         * bufferparams.[Ch]: added above functions.
3481
3482 2003-07-17  André Pönitz  <poenitz@gmx.net>
3483
3484         * lyxtext.h:
3485         * rowpainter.C:
3486         * text2.C: don't call inset->update() anymore
3487
3488         * metricsinfo.[Ch]: add convenience constructor
3489
3490 2003-07-16  André Pönitz  <poenitz@gmx.net>
3491
3492         * lyxcursor.[Ch]:
3493         * lyxfunc.[Ch]:
3494         * text.C:
3495         * text2.C: replace the LyXCursor::irow_ member with
3496          on-demand computation of the value
3497
3498 2003-07-16  John Levon  <levon@movementarian.org>
3499
3500         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3501
3502 2003-07-15  André Pönitz  <poenitz@gmx.net>
3503
3504         * text.C:
3505         * text2.C: remove no more needed refresh_row
3506
3507 2003-07-15  André Pönitz  <poenitz@gmx.net>
3508
3509         * lyxtext.h:
3510         * rowpainter.C:
3511         * text2.C:
3512         * text3.C: refresh_status tristate -> need_update bool
3513
3514 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * lyxtext.h (init): remove reinit argument (act as if always true)
3517         * text2.C: adjust to that
3518
3519 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3520
3521         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3522         * text3.C: use it to delete selections in some cases
3523         (bugs 441, 673, 702, 954).
3524
3525 2003-07-14  André Pönitz  <poenitz@gmx.net>
3526
3527         * rowpainter.[Ch]: reduce interface
3528
3529 2003-07-14  André Pönitz  <poenitz@gmx.net>
3530
3531         * BufferView_pimpl.C:
3532         * text2.C: adjust after removing unused BufferView * argument
3533
3534 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text2.C (init): fix a crash fired on resize
3537
3538 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * buffer.[Ch]: added new closing signal
3541         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3542         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3543         BufferView::Pimpl via the closing the signal
3544
3545 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * buffer.[Ch]: take out all bv-related from buffer
3548         * BufferView.C:
3549         * BufferView_pimpl.[Ch]: connect to new signals
3550         * CutAndPaste.C: removed useless asserts
3551         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3552         * lyxvc.[Ch]:
3553         * vc-backend.[Ch]:
3554         * lyxfunc.C: moved view-related funciontality from vc here
3555         * paragraph.C: removed outdated comments
3556         * text.C: ws
3557
3558 2003-07-10  André Pönitz  <poenitz@gmx.net>
3559
3560         * BufferView_pimpl.C:
3561         * tabular.h:
3562         * tabular_funcs.C:
3563         * text.C:
3564         * text2.C: remove InsetText::InnerCache, clean up consequences
3565
3566 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3567
3568         * ispell.C: fix two typos in error messages
3569
3570 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3571
3572         * Extend Note inset to other forms of annotation like Comment
3573         and Greyedout. Right button click gives dialog.
3574
3575         Files modified or added (+):
3576
3577         * insetnote.[Ch]
3578         * FormNote.[Ch]      +
3579         * ControlNote.[Ch]   +
3580         * form_note.fd       +
3581         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3582         frontends/controllers
3583         * xforms/Dialogs.C
3584         * factory.C
3585
3586 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3587
3588         * aspell.C: add missing namespace lyx::support
3589
3590 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * BufferView.[Ch] (newFile): Add
3593         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3594         * LaTeX.[Ch] (message): added this signal and use it
3595         * buffer.[Ch] (busy, message): added these signals and use them
3596         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3597         * converter.C:
3598         * exporter.C:
3599         * format.C:
3600         * importer.C: use buffer signals instead of direct bv calling
3601         * lyx_cb.[Ch] (ShowMessage): removed
3602         * lyx_main.C:
3603         * lyxfunc.C:
3604         * paragraph_funcs.C:
3605         * text2.C: use buffer signals
3606
3607 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * introduce namespace lyx::graphics
3610
3611 2003-07-02  André Pönitz  <poenitz@gmx.net>
3612
3613         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3614
3615 2003-07-01  André Pönitz  <poenitz@gmx.net>
3616
3617         * text.C:
3618         * text2.C:
3619         * text3.C:
3620         * text_funcs.[Ch]:
3621         * textcursor.h:
3622         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3623           text*.C to text_func.C
3624
3625 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * introduce namespace lyx::support
3628
3629 2003-06-30  André Pönitz  <poenitz@gmx.net>
3630
3631         * Chktex.C:
3632         * funcrequest.C:
3633         * lyxtext.h:
3634         * text.C: re-enable --with-included-string
3635
3636 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * textcursor.C: add <config.h>
3639
3640         * text.C (getWord): remove const from word_location arg
3641
3642         * lyxvc.C (getLogFile): fix const type order
3643
3644         * lyxtext.h: remove const from word_location arg, add arg name
3645
3646         * lyxlayout.h: currect type on labeltype.
3647
3648         * importer.C: correct \file
3649
3650         * converter.C (intToFormat): use std:: on ret val, ws changes
3651
3652         * bufferlist.h: correct \file
3653
3654         * buffer.C (makeLinuxDocFile): fix const type order
3655         (makeDocBookFile): ditto
3656         (fillWithBibKeys): use std:: on stdlib args.
3657
3658         * CutAndPaste.C: fix authors.
3659         (availableSelections): use std:: on return vector
3660
3661 2003-06-27  André Pönitz  <poenitz@gmx.net>
3662
3663         * BufferView_pimpl.C:
3664         * bufferview_funcs.C:
3665         * lyxcursor.C:
3666         * lyxcursor.h:
3667         * lyxfunc.C:
3668         * lyxtext.h:
3669         * rowpainter.C:
3670         * text.C:
3671         * text2.C:
3672         * text3.C: remove LyXCursor::row_ member
3673
3674         * lyxtext.h:
3675         * text.C: rename fullRebreak() to partialRebreak() and implement
3676           a fullRebreak() that really bereks fully
3677
3678         * textcursor.h: new struct for cursor-related data
3679
3680 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * lyx_main.C (LyX): get full path of document loaded on the
3683         command line
3684
3685 2003-06-26  André Pönitz  <poenitz@gmx.net>
3686
3687         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3688           remove unused/broken operator>,<,>=.
3689
3690         *       text.C: remove only use of broken operator<= in an Assert().
3691
3692 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3695         moved errorlist_.clear to showErrorList
3696
3697 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3698
3699         * converter.C (scanLog, runLaTeX):
3700         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3701         move the bv->showErrorList call to the callers
3702         * lyxfunc.C: i.e. here...
3703         * text2.C: and here
3704         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3705         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3706         namespace, the second to...
3707         * buffer_funcs (BufferFormat, parseErrors): added
3708         * errorlist.C (ErrorList(TeXErrors const &)): removed
3709
3710 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3711
3712         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3713
3714 2003-06-24  "Garst R. Reese" <reese@isn.net>
3715
3716         * debug.C: fix typo
3717
3718 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3719
3720         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3721
3722         * version.C.in: change docversion to 1.4
3723
3724 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3725
3726         * buffer.C: fix a bug just introduced
3727
3728 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * buffer.[Ch]: added the parseError signal and use it, removed
3731         sgmlError
3732         * BufferView.[Ch] (addError): moved to ...
3733         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3734         to the Buffer::parseError signal to catch (guess what) parse errors
3735         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3736
3737 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3740         ability to create a buffer and to return an existing one from
3741         the list. Moved these functions to...
3742         * buffer_funcs.[Ch]: added
3743         * BufferView.[Ch] (loadLyXFile): added
3744         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3745         job removed from bufferlist::loadLyXFile.
3746         * buffer.C (setReadOnly): make it work without view
3747         (i.e added an if (users))
3748
3749 2003-06-19  Angus Leeming  <leeming@lyx.org>
3750
3751         * lfuns.h:
3752         * LyXAction.C (init):
3753         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3754         with LFUN_DIALOG_SHOW <name> <data>.
3755
3756 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3757
3758         * CutAndPaste.C (availableSelections): small compilation fix for
3759         ancient (gcc 2.9x) compilers
3760
3761 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * text3.C (cursorNext): add tmp var
3764
3765         * text2.C (updateCounters): for function calling out of for clause
3766         (replaceSelectionWithString): ditto
3767         (insertStringAsParagraphs): ditto
3768         (getColumnNearX): add tmp var
3769         (setCursorFromCoordinates): add tmp var
3770         (cursorDownParagraph): add tmp var
3771         (deleteEmptyParagraphMechanism): add tmp var
3772
3773         * text.C (insertChar): add tmp var
3774
3775         * rowpainter.C (paintDepthBar): add tmp var
3776
3777         * CutAndPaste.C (availableSelections): potentially check all
3778         paragraphs in a cut to fill the shown strings.
3779
3780 2003-06-18  André Pönitz  <poenitz@gmx.net>
3781
3782         * kbmap.[Ch]: use vector<> instead of list<>
3783
3784 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3785
3786         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3787         pasteSelection with index
3788
3789         * text2.C (pasteSelection): modify, call pasteSelection with index
3790
3791         * paragraph.C (asString): reimplement version with no interval to
3792         call the one with interval.
3793
3794         * lyxtext.h: add index arg to pasteSelection
3795
3796         * MenuBackend.C (MenuItem): handle PasteRecent
3797         (Menu::read::Menutags): add md_pasterecent
3798         (read): handle it
3799         (expandPasteRecent): new function
3800         (expand): use it
3801
3802         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3803
3804         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3805         the limited stack
3806         (availableSelections): new function
3807
3808 2003-06-17  Angus Leeming  <leeming@lyx.org>
3809
3810         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3811
3812 2003-06-17  Angus Leeming  <leeming@lyx.org>
3813
3814         * lfuns.h:
3815         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3816
3817         * lyxfunc.C (dispatch): invoke it.
3818
3819 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3820
3821         * iterators.C (operator++, ParPosition): reintroduce some
3822         const_cast for the benefit of older compilers.
3823
3824 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3825
3826         * text3.C (dispatch): do not modify clipboard when doing
3827         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3828         LFUN_DELETE_SKIP on a selection selection
3829
3830 2003-06-16  André Pönitz  <poenitz@gmx.net>
3831
3832         * BufferView.C:
3833         * buffer.C:
3834         * buffer.h:
3835         * paragraph.C:
3836         * tabular.[Ch]: IU of clone() and getLabelList();
3837
3838 2003-06-13  André Pönitz  <poenitz@gmx.net>
3839
3840         * tabular.h: compactification
3841
3842 2003-06-12  André Pönitz  <poenitz@gmx.net>
3843
3844         * tabular.C:
3845         * tabular.h:
3846         * tabular_funcs.h: some renaming plus whitespace
3847
3848 2003-06-12  André Pönitz  <poenitz@gmx.net>
3849
3850         * BufferView.C:
3851         * BufferView_pimpl.C:
3852         * CutAndPaste.C:
3853         * buffer.C:
3854         * iterators.[Ch]:
3855         * lyxfunc.C:
3856         * text.C:
3857         * toc.C: Return a Paragraph & for ParIterator::operator*()
3858
3859 2003-06-11  John Levon  <levon@movementarian.org>
3860
3861         * lyx_main.C:
3862         * ToolbarBackend.h:
3863         * ToolbarBackend.C: add "Toolbars" section and
3864         put the flags there
3865
3866 2003-06-10  Angus Leeming  <leeming@lyx.org>
3867
3868         * lfuns.h:
3869         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3870
3871         * lyxfunc.C (dispatch): invoke it.
3872
3873 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * main.C: protect <ios> with HAVE_IOS
3876         (main): protect sync_with_stdio with HAVE_IOS
3877
3878 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3879
3880         * text2.C (cutSelection): adjust
3881         (pasteSelection): adjust
3882
3883         * messages.C: handle get of empty string
3884
3885         * main.C (main): use sync_with_stdio(false)
3886
3887         * lyxfunc.C (dispatch): adjust
3888
3889         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3890         (WriteAs): remove unneeded BufferView arg.
3891
3892         * bufferparams.h: use correct types on papersize, papersize2 and
3893         paperpackage.
3894
3895         * bufferparams.C (readToken): adjust for type
3896         (writeLaTeX): add missing cases to switch.
3897
3898         * bufferlist.C (quitWriteBuffer): adjust
3899         (close): adjust
3900
3901         * buffer.C (asciiParagraph): remove some commented code.
3902
3903         * CutAndPaste.C: remove current_view extern variable.
3904         (cutSelection): add BufferParams arg.
3905         (eraseSelection): add BufferParams arg.
3906         (pasteSelection): add Buffer const & arg
3907
3908 2003-06-07  John Levon  <levon@movementarian.org>
3909
3910         * buffer.C:
3911         * paragraph_funcs.C:
3912         * paragraph_pimpl.C:
3913         * text.C:
3914         * text2.C:
3915         * paragraph.h:
3916         * paragraph.C: allow InsetERT to freely space lines,
3917         and some consolidation of code
3918
3919 2003-06-06  José Matos  <jamatos@fep.up.pt>
3920
3921         * buffer.C (makeDocBookFile): fix bug #821
3922
3923 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3926
3927 2003-06-04  Angus Leeming  <leeming@lyx.org>
3928
3929         * buffer.C: bump format to 224.
3930
3931 2003-06-05  André Pönitz  <poenitz@gmx.net>
3932
3933         * text2.C (redoParagraphs): remove two const_cast<>
3934
3935 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3936
3937         * ParagraphList.h: remove last remnants of NO_STD_LIST
3938
3939 2003-06-03  Angus Leeming  <leeming@lyx.org>
3940
3941         * factory.C (createInset): small change to the way InsetExternal's params
3942         are set.
3943
3944 2003-06-04  André Pönitz  <poenitz@gmx.net>
3945
3946         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3947
3948         * paragraph_pimpl.h:
3949         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3950
3951         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3952
3953         * undo_funcs.C: make some simple cases of undo work again
3954
3955 2003-06-03  John Levon  <levon@movementarian.org>
3956
3957         * ispell.C: HPUX doesn't have sys/select.h
3958         (from Albert Chin)
3959
3960 2003-06-03  John Levon  <levon@movementarian.org>
3961
3962         * CutAndPaste.C: update tabular and include inset
3963         buffer references
3964
3965         * buffer.h:
3966         * paragraph.h:
3967         * paragraph.C: remove owningBuffer(), don't pass Buffer
3968         to clone()
3969
3970         * factory.C: insetGraphicsParams changed
3971
3972 2003-06-02  John Levon  <levon@movementarian.org>
3973
3974         * LyXAction.C:
3975         * factory.C:
3976         * lfuns.h:
3977         * lyxfunc.C:
3978         * text3.C: remove insetparent
3979
3980 2003-06-02  John Levon  <levon@movementarian.org>
3981
3982         * buffer.h:
3983         * buffer.C: fix inset_iterator.end(), move out of line
3984         (bug 1149)
3985
3986 2003-06-01  John Levon  <levon@movementarian.org>
3987
3988         * text3.C: use a proper cut/paste when doing inset
3989         insert (from Jürgen Spitzmüller)
3990
3991 2003-06-01  John Levon  <levon@movementarian.org>
3992
3993         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3994
3995 2003-05-30  André Pönitz  <poenitz@gmx.net>
3996
3997         * rowpainter.C: unify second drawing phase
3998
3999 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * trans_mgr.C: remove one case of current_view
4002
4003         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4004
4005         * paragraph_funcs.h: remove paragraph.h include
4006
4007         * paragraph.h: delete NO_STD_LIST stuff
4008
4009         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4010
4011         * buffer.h: remove paragraph.h include
4012
4013         * ParagraphList.C: delete file
4014
4015         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4016
4017         * toc.C (getTocList): adjust
4018
4019         * paragraph_pimpl.C (validate): adjust
4020
4021         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4022
4023         * paragraph.C (Paragraph): adjust
4024         (getPositionOfInset): use const_iterator, adjust
4025         (bibitem): use const_iterator, adjust
4026         (setInsetOwner): adjust
4027
4028         * iterators.C (operator++): adjust
4029
4030         * InsetList.[Ch]: Replace selfmade iterator with standard
4031         vector::iterator also introduce const_iterator. Remove getPos,
4032         getInset and setInset from InsetTable. Adjust accordingly.
4033
4034         * BufferView.C (lockInset): adjust
4035         (ChangeInsets): adjust
4036
4037         * tabular.[Ch]: delete commented same_id functions
4038
4039 2003-05-28  John Levon  <levon@movementarian.org>
4040
4041         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4042
4043 2003-05-28  André Pönitz  <poenitz@gmx.net>
4044
4045         * metricsinfo.[Ch]: remove 'fullredraw' member
4046
4047 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4048
4049         * lyxtextclass.C (operator): remove caching.
4050
4051 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * text3.C: adjust
4054
4055         * text2.C (cursorBottom): adjust
4056         (setCounter): use ParagraphList::find, adjust
4057
4058         * text.C (workWidth): use ParagraphList::find, adjust
4059
4060         * lyxcursor.C (LyXCursor): adjust
4061
4062         * buffer.C (inset_iterator): adjust
4063
4064         * ParagraphList.h: make iterator(value_type) private, make
4065         ParagraphList a friend of iterator.
4066
4067         * ParagraphList.C (find): new function
4068
4069         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4070
4071 2003-05-27  André Pönitz  <poenitz@gmx.net>
4072
4073         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4074
4075 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4076
4077         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4078
4079 2003-05-26  John Levon  <levon@movementarian.org>
4080
4081         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4082
4083 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * remove same_id from function signatures, adjust.
4086
4087 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4090
4091         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4092
4093         * paragraph.C (Paragraph): get rid of same_ids parameter
4094
4095         * ParagraphList.C (insert): adjust
4096         (push_back): adjust
4097
4098 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * paragraph_funcs.C (breakParagraph): adjust
4101         (breakParagraphConservative): adjust
4102
4103         * buffer.C (readParagraph): adjust
4104
4105         * ParagraphList.C (insert): take a reference instead of a pointer
4106         (insert): adjust
4107
4108         * paragraph.[Ch] (id): new function
4109
4110         * bufferlist.C (newFile): adjust
4111
4112         * ParagraphList.C (ParagraphList): adjust
4113         (assign): adjust
4114         (push_back): take a reference instead of a pointer.
4115
4116         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4117
4118         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4119         instead.
4120
4121         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4122         set else use old code.
4123
4124         * ParagraphList.C: remove all NO_NEXT code and only compile this
4125         code of NO_STD_LIST is set.
4126
4127 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * BufferView_pimpl.C:
4130         * TextCache.C:
4131         * TextCache.h:
4132         * bufferlist.C:
4133         * errorlist.h:
4134         * format.C:
4135         * format.h:
4136         * graph.C:
4137         * lyxfunc.C:
4138         * lyxrc.C:
4139         * graphics/GraphicsConverter.C:
4140         * graphics/PreviewLoader.C: header adjustment
4141
4142 2003-05-23  Angus Leeming  <leeming@lyx.org>
4143
4144         * LaTeXFeatures.[Ch] (useBabel): new method.
4145         * bufferparams.C (writeLaTeX): use it.
4146
4147 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * ParagraphList.h (set): remove unused function.
4150
4151 2003-05-23  André Pönitz  <poenitz@gmx.net>
4152
4153         * BufferView.C:
4154         * BufferView_pimpl.C:
4155         * buffer.C:
4156         * buffer.h:
4157         * lyxfunc.C:
4158         * undo_funcs.C: setUndo reworked
4159
4160         * iterators.[Ch]: add access to topmost ParagraphList
4161
4162         * lyxtext.[Ch] (workWidth): add a const
4163
4164 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4165
4166         * texrow.[Ch] (increasePos): remove function
4167         * exporter.C (export): removed unused var and outdated comment
4168
4169 2003-05-23  Angus Leeming  <leeming@lyx.org>
4170
4171         * latexrunparams.h: rename fragile as moving_arg.
4172         * paragraph.C (simpleTeXOnePar): ditto.
4173         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4174
4175 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4178         (createUndo): ditto
4179         (textUndoOrRedo): comment out a currently unused var.
4180
4181         * paragraph.h (NO_NEXT): enable NO_NEXT
4182
4183         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4184
4185         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4186
4187         * exporter.C (Export): adjust for removeAutoInsets removal.
4188
4189         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4190
4191         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4192
4193         * BufferView.[Ch] (removeAutoInsets): delete function
4194
4195 2003-05-22  Angus Leeming  <leeming@lyx.org>
4196
4197         * latexrunparams.h: add a free_spacing variable.
4198
4199         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4200         to pass moving_arg, as the data is stored in runparams.fragile.
4201
4202         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4203         to Inset::latexOptional or to simpleTeXOnePar.
4204
4205         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4206         free_spacing arg to Inset::latexOptional.
4207
4208         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4209         free_spacing arg.
4210
4211 2003-05-22  Angus Leeming  <leeming@lyx.org>
4212
4213         * latexrunparams.h: add fragile and use_babel variables.
4214
4215         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4216         * buffer.C (makeLaTeXFile): store this returned value in
4217         runparams.use_babel, thus passing it to the inset::latex methods.
4218
4219         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4220         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4221
4222         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4223         longer has a fragile arg, as it is stored in runparams.fragile.
4224
4225         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4226         moving_arg parameter as the data is stored in runparams.fragile.
4227
4228         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4229         a fragile parameter as the data is stored in runparams.fragile.
4230
4231 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4234
4235 2003-05-22  Angus Leeming  <leeming@lyx.org>
4236
4237         * latexrunparams.h: add a 'bool nice' which defaults to false.
4238
4239         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4240         now encapsulated within runparams.
4241
4242         * bufferlist.C (updateIncludedTeXfiles):
4243         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4244
4245 2003-05-22  Angus Leeming  <leeming@lyx.org>
4246
4247         * latexrunparams.h: new file containing struct LatexRunParams.
4248         * Makefile.am: add new file.
4249
4250         * LaTeX.[Ch] (c-tor, run):
4251         * buffer.[Ch] (makeLaTeXFile):
4252         * bufferlist.[Ch] (updateIncludedTeXfiles):
4253         * converter.C (convert, scanLog):
4254         * converter.[Ch] (runLaTeX):
4255         * exporter.C (Export):
4256         * paragraph.[Ch] (simpleTeXOnePar):
4257         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4258         * paragraph_funcs.[Ch] (latexParagraphs):
4259         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4260         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4261         pass around a LatexRunParams parameter.
4262
4263 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * paragraph.[Ch]: remove unused constructor
4266
4267         * ParagraphList.C (erase): new function, taking two iterators
4268
4269 2003-05-22  André Pönitz  <poenitz@gmx.net>
4270
4271         * undo_funcs.C: remove duplicated code
4272
4273         * iterator.[Ch]: operator=
4274
4275 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * tabular.C (SetMultiColumn): ws changes
4278
4279         * rowpainter.C (paintFirst): get rid of a ->previous
4280
4281         * lyx_cb.C (getPossibleLabel): parlist simplification
4282
4283         * BufferView.C (ChangeInsets): simplify slightly.
4284
4285 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4286
4287         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4288         * lfuns.h: new LFUN_SPACE
4289         * lyxfunc.C: protected space has a new lfun
4290         * paragraph_funcs.C: read new space insets
4291         * text3.C:
4292         * factory.C: handle new space insets
4293
4294 2003-05-22  André Pönitz  <poenitz@gmx.net>
4295
4296         * BufferView.C:
4297         * BufferView_pimpl.C:
4298         * buffer.[Ch]:
4299         * lyxfunc.C:
4300         * undo_funcs.C: return a ParIterator from getParFromID.
4301
4302         * iterators.[Ch]: add two const's
4303
4304 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * toc.C (getTocList): adjust
4307
4308         * iterators.[Ch]: rework for parlist
4309
4310         * buffer.C (par_iterator_begin): adjust
4311         (par_iterator_end): adjust
4312
4313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4314
4315         * BufferView.C (removeAutoInsets): adjust
4316         (ChangeInsets): adjust
4317
4318 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * text.C (top_y): fix bug 1110
4321
4322 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4323
4324         * errorlist.[Ch]: added
4325         * buffer.C:
4326         * BufferView.[Ch]:
4327         * BufferView_pimpl.C:
4328         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4329         instead
4330
4331 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * Makefile.am: ensure that lyx is relinked upon changes to the
4334         various "convenience" libs.
4335
4336 2003-05-20  Angus Leeming  <leeming@lyx.org>
4337
4338         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4339         files are compiled in alphabetical order again.
4340
4341         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4342
4343 2003-05-19  Angus Leeming  <leeming@lyx.org>
4344
4345         * gettext.[Ch]: remove "char const * _(char const *)".
4346
4347 2003-05-19  André Pönitz  <poenitz@gmx.net>
4348
4349         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4350
4351         * Makefile.am:
4352         * BufferView.C:
4353         * DepTable.h:
4354         * LaTeXFeatures.C:
4355         * buffer.C:
4356         * lyxfont.C:
4357         * lyxlex.h:
4358         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4359
4360 2003-05-19  André Pönitz  <poenitz@gmx.net>
4361
4362         * buffer.C:
4363         * lyxlayout.[Ch]:
4364         * lyxtextclass.[Ch]:
4365         * paragraph.C:
4366         * paragraph_funcs.[Ch]:
4367         * text2.C:
4368         * text3.C: more insetenv work
4369
4370 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4371
4372         * ParagraphParameters.C (params2string): small bug fixed
4373
4374 2003-05-16  André Pönitz  <poenitz@gmx.net>
4375
4376         * debug.C:
4377         * bufferview_funcs.C: patch from Kornel Benko to prevent
4378           crash when _(...) is called twice in a statement
4379
4380 2003-05-16  André Pönitz  <poenitz@gmx.net>
4381
4382         * BufferView.C:
4383         * lyxfunc.C:
4384         * text.C:
4385         * text2.C:
4386         * text3.C:
4387         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4388
4389 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * lyx_main.C (init): remove spurious static_cast
4392
4393 2003-05-14  André Pönitz  <poenitz@gmx.net>
4394
4395         * BufferView.C: fix format string
4396
4397 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * BufferView.[Ch] (insertErrors): removed
4400         * BufferView.[Ch] (showErrorList): added
4401         * buffer.C (runChkTeX):
4402         * converter.C (scanLog): call showErrorList instead of inserterrors
4403
4404 2003-05-13  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView_pimpl.C:
4407         * buffer.C:
4408         * bufferview_func.C:
4409         * MenuBackend.C:
4410         * lyxfunc.C:
4411         * lyxrc.C:
4412         * tex-accent.C:
4413         * text3.C:
4414         * toc.C:
4415         * tabular_funcs.h: tostr() from its own header
4416
4417         * ParagraphParameters.C:
4418         * ToolbarBackend.C:
4419         * bufferparams.C:
4420         * format.C:
4421         * lyxlex_pimpl.C:
4422         * text3.C: STRCONV()
4423
4424 2003-05-12  André Pönitz  <poenitz@gmx.net>
4425
4426         * BufferView.C:
4427         * BufferView_pimpl.C:
4428         * CutAndPaste.C:
4429         * LaTeX.C:
4430         * LaTeXFeatures.C:
4431         * ParagraphParameters.C:
4432         * buffer.C:
4433         * bufferlist.C:
4434         * bufferparams.C:
4435         * bufferview_funcs.C:
4436         * converter.C:
4437         * counters.C:
4438         * debug.C:
4439         * exporter.C:
4440         * format.C:
4441         * importer.C:
4442         * lyx_cb.C:
4443         * lyx_main.C:
4444         * lyxfont.C:
4445         * lyxfunc.C:
4446         * lyxvc.C:
4447         * paragraph.C:
4448         * paragraph_funcs.C:
4449         * tabular.C:
4450         * tabular_funcs.C:
4451         * text2.C:
4452         * text3.C:  boost::format -> bformat  all over the place
4453
4454
4455 2003-05-09  André Pönitz  <poenitz@gmx.net>
4456
4457         * LColor.[Ch]: Pimpl the #include <map> away
4458
4459 2003-05-09  John Levon  <levon@movementarian.org>
4460
4461         * bufferlist.C: never remove emergency saves
4462
4463 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * Makefile.am: better lib building
4466
4467 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4470         instead.
4471         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4472         (simpleTeXSpecialChars): adjust
4473         (simpleTeXSpecialChars): adjust
4474         * paragraph.C (simpleTeXOnePar): adjust
4475         * buffer.C (makeLaTeXFile): adjust
4476
4477         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4478
4479         * text2.C (changeDepth): parlist cleanup
4480         (getColumnNearX): ditto
4481
4482         * rowpainter.C (getLabelFont): parlist cleanup
4483
4484         * bufferlist.C (newFile): parlist cleanup
4485
4486         * CutAndPaste.C (eraseSelection): parlist cleanup
4487
4488         * BufferView_pimpl.C (trackChanges): parlist cleanup
4489         (dispatch): ditto
4490
4491         * BufferView.C (lockInset): parlist cleanup.
4492         (ChangeInsets): ditto
4493
4494 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * CutAndPaste.h: Update file header.
4497
4498         * CutAndPaste.C: Update file header.
4499         Store the parts cut out of the Document in a limited_stack.
4500         (copySelection): adjust
4501         (pasteSelection): new function, takes the index in the limited stack.
4502         (nrOfParagraphs): adjust
4503         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4504         simplify error inset insertion.
4505         (checkPastePossible): adjust
4506
4507 2003-05-06  John Levon  <levon@movementarian.org>
4508
4509         * text2.C: don't cast wrap inset to float
4510
4511 2003-05-05  André Pönitz  <poenitz@gmx.net>
4512
4513         * iterator.C:
4514         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4515
4516         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4517           few naked Paragraph *.
4518
4519 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4520
4521         * bufferparams.C: Output warning if a document with missing
4522         TeX document class is loaded
4523         * exporter.C: Disable TeX exports if the document class is missing
4524         * lyxtextclass.C:
4525         * lyxtextclass.h:
4526         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4527         isTeXClassAvailable()
4528
4529 2003-05-03  John Levon  <levon@movementarian.org>
4530
4531         * BufferView.h:
4532         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4533         explicit cursor show/hide
4534
4535         * BufferView_pimpl.h:
4536         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4537         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4538
4539         * lyxfunc.C: hide cursor before dispatching.
4540
4541         * lyx_cb.C:
4542         * lyxfind.C:
4543         * text.C:
4544         * text3.C: remove explicit cursor hides
4545
4546 2003-05-02  André Pönitz  <poenitz@gmx.net>
4547
4548         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4549
4550         * undo_funcs.C:
4551         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4552           linked lists
4553
4554         * text2.C: tiny whitespace
4555
4556 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * undo_funcs.C: almost only ws changes.
4559
4560         * ParagraphList.C (splice): just return if pl is empty.
4561
4562 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * ParagraphList.C (splice): new function.
4565
4566         * CutAndPaste.C (pasteSelection): use it
4567
4568 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * CutAndPaste.C (pasteSelection): remove the last next and
4571         previous from this file.
4572
4573 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * CutAndPaste.C (pasteSelection): more clean up, user proper
4576         ParagraphList functions for pasteing.
4577
4578         * ParagraphList.C (insert): new function, three arg insert
4579
4580 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * ParagraphList.C (insert): new function, three arg insert
4583
4584         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4585         not on paragraphs.
4586
4587 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4590
4591 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4594
4595 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4598         (copySelection): clean up a bit.
4599         (pasteSelection): use make_pair
4600
4601         * ParagraphList.C (ParagraphList): implement copy constructor
4602         (operator=): implement, base on copy constructor.
4603         (assign): new func
4604
4605         * paragraph.C (erase): return a bool
4606
4607         * paragraph_pimpl.C (erasePos): remove function, move contents...
4608         (erase): ... here. Return a bool.
4609         (erase): call erase instead of erasePos.
4610
4611 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * ParagraphList.h: define PitPosPair
4614         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4615         ParagraphList, fix a bug on pasting multiple pars
4616         * text2.C: change interface to C&P
4617
4618 2003-04-30  André Pönitz  <poenitz@gmx.net>
4619
4620         * undo_func.C: revert part of yesterday's patch 2
4621
4622 2003-04-30  John Levon  <levon@movementarian.org>
4623
4624         * LColor.C: s/tabular/table/
4625
4626 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4627
4628         * text3.C (dispatch): do not convert iterator -> pointer
4629         * undo_funcs.C (setCursorParUndo): ditto
4630         * text_funcs.C (transposeChars): ditto
4631
4632         * text2.C (setLayout): ws changes only
4633
4634         * text.C (breakParagraph): do not convert iterator -> pointer
4635         (insertChar): ditto
4636         (acceptChange): ditto
4637         (rejectChange): ditto
4638         (changeCase): ditto
4639         (Delete): ditto
4640         (backspace): ditto
4641
4642         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4643         pointer
4644
4645 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4646
4647         * text3.C (gotoInset): YABG (yet another bad getChar)
4648
4649 2003-04-29  André Pönitz  <poenitz@gmx.net>
4650
4651         * paragraph.h: make operator= private unimplemented as long as
4652           it is unusable
4653
4654         * ParagraphList.C: whitespace
4655
4656         * paragraph.[Ch]:
4657         * paragraph_pimpl.[Ch]:
4658         * paragraph_funcs.C:
4659         * CutAndPaste.C:
4660         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4661
4662         * text2.C:
4663           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4664
4665 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4668         * paragraph.[Ch] (erase):
4669         * paragraph_pimpl.[Ch] (erase): change return type and value
4670         * text2.C (cutSelection): some rework
4671
4672 2003-04-28  John Levon  <levon@movementarian.org>
4673
4674         * bufferlist.C: changes for unsaved changes dialog
4675
4676 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * bufferlist.C (newFile): set language (messages_) for new
4679         documents also.
4680
4681         * buffer.C (readFile): ws changes only.
4682
4683 2003-04-28  André Pönitz  <poenitz@gmx.net>
4684
4685         * undo_funcs.C:
4686         * lyxfunc.C:
4687         * buffer.[Ch]:
4688         * BufferView_pimpl.C:
4689         * BufferView.C: getParFromID related ParagraphList::iterator changes
4690
4691 2003-04-28  André Pönitz  <poenitz@gmx.net>
4692
4693         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4694           Changes
4695
4696 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * messages.C: remove one more localedir class variable.
4699
4700 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * messages.C (getLocaleDir): singleton generation function
4703         (Pimpl): use it.
4704         (Messages): add a default constructor.
4705
4706         * main.C (main): do not setup localedir here, do not call
4707         gettext_init.
4708
4709         * gettext.C (_): use it.
4710         (gettext_init): delete funciton
4711
4712 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * gettext.C (getLyXMessages): new singleton generating function.
4715
4716         * buffer.C (updateDocLang): adjust
4717
4718         * Makefile.am (messages.o): add target
4719         (main.o): remove target
4720
4721 2003-04-27  John Levon  <levon@movementarian.org>
4722
4723         * bufferlist.C:
4724         * lyx_cb.C:
4725         * lyxfunc.C:
4726         * lyxvc.C: specify cancel button in Alert::prompt
4727
4728 2003-04-26  John Levon  <levon@movementarian.org>
4729
4730         * text3.C:
4731         * lyxfunc.C:
4732         * lfuns.h:
4733         * LyXAction.C: add LFUN_INSET_SETTINGS
4734
4735         * lyxfunc.C: don't enable tabular-feature when there's
4736         just any locking inset
4737
4738 2003-04-26  John Levon  <levon@movementarian.org>
4739
4740         * bufferlist.C: re-add Cancel to buffer close question
4741
4742         * lyxfunc.C: fix import UI a bit
4743
4744 2003-04-25  John Levon  <levon@movementarian.org>
4745
4746         * gettext.C: remove the broken asserts for now
4747
4748 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * messages.C: make case where setlocale cannot comply work better.
4751
4752         * buffer.C (updateDocLang): new function
4753         (changeLanguage): use it
4754         (readFile): use it
4755
4756         * text2.C (setCounter): use B_ a bit.
4757
4758         * lyxlayout.C (Read): be sure to trim the label strings.
4759
4760         * messages.C (Messages): fix typo in comment
4761
4762         * buffer.C (readFile): set message_ after file is loaded.
4763         (makeDocBookFile): remove double return
4764         (changeLanguage): reset message_ upon language change.
4765         (B_): new func, use this to get translated buffer strings.
4766
4767         * main.C: add myself and Jean Marc as authors.
4768
4769 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * messages.[hC]: pimplify Messages, and three different pimpls to be
4772         used in different circumstances.
4773
4774         * gettext.[Ch]: change for use with new message code.
4775
4776 2003-04-24 André Pönitz <poenitz@gmx.net>
4777
4778         * factory.C: support for eqref
4779
4780 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * messages.[Ch]: add missing char
4783
4784         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4785
4786         * messages.[Ch]: New files
4787
4788 2003-04-18  John Levon  <levon@movementarian.org>
4789
4790         * BufferView.h:
4791         * BufferView.C:
4792         * BufferView_pimpl.C:
4793         * lfuns.h:
4794         * LyXAction.C:
4795         * lyxtext.h:
4796         * text2.C: remove layout-copy/paste (bug 778)
4797
4798 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4801
4802 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4805         if they succeed. Act accordingly.
4806
4807 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * text2.C (setCharFont): adjust
4810         (setCounter): adjust
4811         (insertStringAsLines): adjust
4812
4813         * text.C (leftMargin): adjust
4814         (setHeightOfRow): adjust
4815
4816         * rowpainter.C (paintFirst): adjust
4817         (paintLast): adjust
4818
4819         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4820         (outerHook): ditto
4821         (isFirstInSequence): ditto
4822         (getEndLabel): ditto
4823         (outerFont): adjust
4824
4825         * paragraph.C (getParLanguage): comment out some hard stuff.
4826
4827         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4828         (sgmlError): ditto
4829         (simpleDocBookOnePar): ditto
4830         (makeDocBookFile): use ParagraphList::iterator
4831
4832         * CutAndPaste.C (pasteSelection): adjust
4833
4834 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * text2.C (getFont): adjust
4837         (getLayoutFont): adjust
4838         (getLabelFont): adjust
4839
4840         * paragraph_funcs.C (TeXOnePar): adjust
4841
4842         * buffer.C (simpleLinuxDocOnePar): adjust
4843         (simpleDocBookOnePar): adjust
4844
4845         * CutAndPaste.C (pasteSelection): adjust
4846
4847         * BufferView.C (getEncoding): adjust
4848
4849         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4850
4851 2003-04-16  John Levon  <levon@movementarian.org>
4852
4853         * lyxfind.C: use parlist stuff for search/changes
4854
4855 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4858
4859         * text2.C (deleteEmptyParagraphMechanism): adjust
4860
4861         * text2.[Ch] (ownerParagraph): delete func (both of them
4862
4863 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4866
4867 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * ParagraphList.C: prepare for NO_NEXT
4870
4871 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * text2.C (getFont): adjust
4874         (getLayoutFont): adjust
4875         (getLabelFont): adjust
4876
4877         * paragraph.C (getFont): adjust
4878         (getLabelFont): adjust
4879         (getLayoutFont): adjust
4880
4881         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4882
4883 2003-04-15  John Levon  <levon@movementarian.org>
4884
4885         From Angus Leeming
4886
4887         * lyx_main.C: handle Include in .ui files
4888
4889 2003-04-15  John Levon  <levon@movementarian.org>
4890
4891         * MenuBackend.C: make the doc files length shorter
4892
4893         * ToolbarBackend.h:
4894         * ToolbarBackend.C: handle toolbar placement flags,
4895         Minibuffer
4896
4897 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4900         adjust
4901
4902         * paragraph_funcs.C (TeXOnePar): adjust
4903
4904         * paragraph.C (getLabelFont): add outerfont arg, adjust
4905         (getLayoutFont): ditto
4906         (simpleTeXOnePar): adjust
4907
4908         * paragraph_pimpl.C (realizeFont): delete func
4909
4910 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4913         row argument, constify cur argument.
4914
4915 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * text2.C (getFont): adjust
4918         (getLayoutFont): adjust
4919         (getLabelFont): adjust
4920
4921         * paragraph_funcs.C (TeXOnePar): adjust
4922         (outerFont): new func...
4923         (realizeFont): ...moved out from here, changed this to facilitate
4924         transition
4925
4926         * paragraph.C (getFont): take outerfont as arg, adjust
4927         (simpleTeXOnePar): add outerfont arg, adjust
4928
4929         * buffer.C (simpleLinuxDocOnePar): adjust
4930         (simpleDocBookOnePar): adjust
4931
4932         * CutAndPaste.C (pasteSelection): adjust
4933
4934         * BufferView.C (getEncoding): adjust
4935
4936 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * text2.C (setCharFont): adjust
4939         (setCounter): adjust
4940
4941         * text.C (leftMargin): adjust
4942         (setHeightOfRow): adjust
4943
4944         * rowpainter.C (paintFirst): adjust
4945         (paintLast): adjust
4946
4947         * paragraph_pimpl.C (realizeFont): adjust
4948
4949         * paragraph.C (isFirstInSequence): move from here...
4950         * paragraph_funcs.C (isFirstInSequence): ...to here
4951
4952         * paragraph.C (outerHook): move from here...
4953         * paragraph_funcs.C (outerHook): ...to here
4954
4955         * paragraph.C (depthHook): move from here...
4956         * paragraph_funcs.C (depthHook): ...to here
4957
4958         * paragraph.C (getEndLabel): move from here...
4959         * paragraph_funcs.C (getEndLabel): ...to here
4960
4961         * text2.C (realizeFont): move from here...
4962         * paragraph_funcs.C (realizeFont): ...to here
4963
4964 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4967
4968 2003-04-14  Angus Leeming  <leeming@lyx.org>
4969
4970         * LColor.[Ch]: scrap LColor mathcursor.
4971
4972 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * lyxlex.[Ch] (text): delete function
4975         * trans.C (Load): adjust
4976         * paragraph_funcs.C (readParToken): adjust
4977
4978 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4981         vector<char> instead of a char[].
4982
4983         * lyxlex_pimpl.C (getString): adjust
4984         (next): adjust
4985         (lex): use getString
4986         (eatLine): adjust
4987         (nextToken): adjust
4988
4989         * lyxlex.C (text): use pimpl_->getString()
4990         (getBool): ditto
4991         (findToken): ditto
4992
4993 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4996         (makeFontEntriesLayoutSpecific): temp var for par.size()
4997         (setLayout): temp var for ownerParagraphs().end()
4998         (fullRebreak): temp var for rows().end()
4999         (selectionAsString): temp var for boost::next(startpit), realize
5000         that the while really is a regular for loop.
5001         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5002         setCursor in one place.
5003         (setParagraph): temp vr for ownerParagraphs().end()
5004         (updateCounters): make the while loop a for loop
5005         (cutSelection): temp var for ownerParagraphs().end()
5006         (updateInset): make the do {} while() a regular for loop
5007         (getCursorX): use temp vars
5008         (setCurrentFont): use temp vars
5009         (getColumnNearX): use temp vars
5010
5011 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * text.C (transformChar): use temp var for getChar
5014         (computeBidiTables): use temp var for row->par()
5015         (fill): move temp vars for row->par() and pit->layout() earlier in
5016         the function.
5017         (labelFill): use temp var for row->par()
5018         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5019         asc and desc, realize that pit never changes and that firstpit is
5020         just a duplicate and not needed. Exchange rit->par() with pit in a
5021         lot of places.
5022         (breakAgain): use a temp var for boost::next(rit)
5023         (breakAgainOneRow): ditto
5024         (breakParagraph): use a temp var for rows().begin()
5025         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5026         (cursorRightOneWord): use temp var for cursor.par() and
5027         cursor.pos(), remove usage of tmpcursor.
5028         (cursorLeftOneWord): use temp var for cursor.par() and
5029         cursor.pos() only set cur at end of function.
5030
5031 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * text.C, text2.C: exchange all usage of Paragraph::next with
5034         boost::next(ParagraphList::iterator)
5035
5036         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5037
5038         * text2.C (cursorTop): simplify implementation
5039         (cursorBottom): ditto
5040         (setParagraph): use ParagraphList::iterator
5041         (setCurrentFont): adjust
5042         (getColumnNearX): adjust
5043         (cursorRight): adjust
5044         (cursorLeft): remove usage of Paragraph::previous
5045         (cursorUpParagraph): ditto
5046         (deleteEmptyParagraphMechanism): slight cleanup
5047
5048         * text.C (isBoundary): take a Paragraph const & instead of a
5049         pointer as arg.
5050         (addressBreakPoint): ditto
5051         (leftMargin): remove usage of Paragraph::previous.
5052         (setHeightOfRow): ditto
5053         (cursorLeftOneWord): ditto
5054         (selectNextWordToSpellcheck): ditto
5055         (Delete): ditto
5056         (backspace): ditto
5057         (breakParagraph): remove one usage of Paragraph::next
5058         (redoParagraph): ditto
5059         (acceptChange): ditto
5060         (insertChar): adjust
5061         (rowBreakPoint): adjust
5062
5063         * bufferview_funcs.C (toggleAndShow): adjust
5064
5065 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5068         methods to access it.
5069         * lyxtext.h:
5070         * text.C: Added updateRowPositions to compute all row positions.
5071         Make top_y and getRowNearY() to use the cached y position
5072
5073 2003-04-11  John Levon  <levon@movementarian.org>
5074
5075         * text.C (rowBreakPoint): reintroduce the labelEnd
5076         checks, code copied from the row fill stuff. Deep voodoo.
5077
5078         * text.C (fill): add a comment and debugging for the
5079         next poor soul.
5080
5081 2003-04-11  John Levon  <levon@movementarian.org>
5082
5083         * text.C: make sure fullrow insets get wrapped to the next line,
5084         even when they're in a manual label
5085
5086 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * text2.C (insertParagraph): make it take ParagraphList::iterator
5089         as arg.
5090         (setLayout): make it return ParagraphList::iterator
5091         (redoParagraphs): ditto
5092         (setCounter): ditto
5093         (checkParagraph): ditto
5094
5095         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5096
5097         * text2.C: adjust several funcs.
5098         (realizeFont): take a ParagraphList::iterator as arg.
5099         (getLayoutFont): ditto
5100         (getLabelFont): ditto
5101         (setCharFont): ditto
5102
5103         * text.C: adjust several funcs.
5104
5105 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * text.C (selectNextWordToSpellcheck): don't accidentally
5108         skip insets
5109
5110 2003-04-10  John Levon  <levon@movementarian.org>
5111
5112         * ToolbarBackend.C (getIcon): special handling for
5113         LFUN_MATH_DELIM
5114
5115 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5116
5117         * text2.C (cursorRight): a getChar assert fixed
5118
5119 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * text2.C (getFont): change to take a ParagraphList::iterator
5122         instead of Paragraph*
5123         Adjust several functions.
5124
5125         * text.C (transformChar): change to take a ParagraphList::iterator
5126         instead of Paragraph*
5127         (singleWidth): ditto
5128         Adjust several functions.
5129
5130         * rowpainter.C: adjust several functions
5131         * rowpainter.h:store a ParagraphList::iterator and not a
5132         Paragraph&.
5133
5134
5135 2003-04-09  John Levon  <levon@movementarian.org>
5136
5137         * lyxfunc.C:
5138         * lfuns.h:
5139         * LyXAction.h:
5140         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5141         and the "help" bits as well
5142
5143 2003-04-09  John Levon  <levon@movementarian.org>
5144
5145         * ToolbarBackend.h:
5146         * ToolbarBackend.C: allow multiple toolbars
5147
5148 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * undo_funcs.C (setCursorParUndo): adjust
5151
5152         * text_funcs.C (transposeChars): adjust
5153
5154         * text3.C (gotoNextInset): adjust
5155         (dispatch): adjust
5156
5157         * text2.C (setLayout): adjust
5158         (changeDepth): adjust
5159         (setFont): adjust
5160         (redoParagraphs): adjust
5161         (selectionAsString): adjust
5162         (setParagraph): adjust
5163         (insertInset): adjust
5164         (cutSelection): adjust
5165         (copySelection): adjust
5166         (pasteSelection): adjust
5167         (insertStringAsLines): adjust
5168         (updateInset): adjust
5169         (setCursor): change to take a ParagraphList::iterator parameter
5170         (setCursorIntern): change to take a ParagraphList::iterator parameter
5171         (setCurrentFont): adjust
5172         (cursorLeft): adjust
5173         (cursorRight): adjust
5174         (deleteEmptyParagraphMechanism): adjust
5175
5176         * text.C (breakParagraph): adjust
5177         (insertChar): adjust
5178         (acceptChange): adjust
5179         (rejectChange): adjust
5180         (selectNextWordToSpellcheck): adjust
5181         (changeCase): adjust
5182         (Delete): adjust
5183         (backspace): adjust
5184
5185         * lyxfind.C (SearchForward): adjust
5186         (SearchBackward): adjust
5187         (nextChange): adjust
5188
5189         * lyxcursor.C (par): adjust
5190
5191         * lyxcursor.h: store a ParagraphList::iterator instead of a
5192         Paragraph*
5193
5194         * lyx_cb.C (getPossibleLabel): adjust
5195
5196         * bufferview_funcs.C (toggleAndShow): adjust
5197
5198         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5199         (dispatch): adjust
5200
5201         * BufferView.C (removeAutoInsets): adjust
5202         (lockedInsetStoreUndo): adjust
5203
5204 2003-04-09  John Levon  <levon@movementarian.org>
5205
5206         * ToolbarBackend.C: try icon without argument
5207         if with argument fails
5208
5209 2003-04-08  John Levon  <levon@movementarian.org>
5210
5211         * ToolbarBackend.h:
5212         * ToolbarBackend.C: add getIcon(), handle tooltip,
5213         and change from "Icon" to "Item".
5214
5215 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5216
5217         * BufferView.C (lockInset): another bad getchar crunched
5218
5219 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5222         again)
5223
5224 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5225
5226         * lyxfind.C (searchForward, searchBackwards): bug 782
5227
5228 2003-04-07  John Levon  <levon@movementarian.org>
5229
5230         * paragraph.C: remove dead comment
5231
5232         * text.C: remove troublesome depth-fiddling code
5233         in leftMargin() and rightMargin() (bug 1017)
5234
5235         * text.C: fix breaking of rows in nested lists
5236         (bug 1004)
5237
5238         * text2.C (updateCounters): fix up depth values
5239         (bug 1013)
5240
5241 2003-04-07  John Levon  <levon@movementarian.org>
5242
5243         * BufferView_pimpl.C: clear message when doc finishes resizing,
5244         and after a mouse event
5245
5246         * lyxfunc.C: clear message after exiting inset
5247
5248 2003-04-07  John Levon  <levon@movementarian.org>
5249
5250         * bufferview_funcs.C: show math status not outside
5251         status in the statusbar
5252
5253 2003-04-07  John Levon  <levon@movementarian.org>
5254
5255         * lyxfunc.C: note status changed after a depth change
5256
5257 2003-04-04  Angus Leeming  <leeming@lyx.org>
5258
5259         * LaTeX.h: move AuxInfo operator==, != out of line.
5260         Remove LaTeX virtual destructor; nothing derives from it.
5261         Move operator()() out of public area and rename it startscript().
5262         Change protected for private.
5263
5264 2003-04-04  Angus Leeming  <leeming@lyx.org>
5265
5266         * lyxfunc.C:
5267         * text2.C: remove unneeded #includes.
5268
5269 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * text2.C (dEPM): fix the heigth of the next row
5272
5273 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * text.C: squashed an invalid getChar requester + some ws changes
5276
5277 2003-04-03  John Levon  <levon@movementarian.org>
5278
5279         * bufferview_funcs.h:
5280         * bufferview_funcs.C:
5281         * lyxfunc.C:
5282         * lyxtext.h:
5283         * text2.C: make getStatus work for the env depth lfuns
5284
5285 2003-04-03  John Levon  <levon@movementarian.org>
5286
5287         * bufferview_funcs.h:
5288         * bufferview_funcs.C:
5289         * lyxfunc.C:
5290         * lyxtext.h:
5291         * text2.C: parlistize decDepth(), by merging it with incDepth()
5292
5293 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * lyxrow.h: store a ParagraphList::iterator instead of a
5296         Paragraph* and adjust other class functions to suit.
5297
5298         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5299         above.
5300
5301 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * text2.C (setCursor): do not anchor to cursor row for the time being
5304
5305 2003-04-02  John Levon  <levon@movementarian.org>
5306
5307         * LyXAction.C:
5308         * lfuns.h:
5309         * lyx_main.C:
5310         * lyxtext.h:
5311         * text.C:
5312         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5313
5314 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * paragraph.h: make ParagraphList and ParagraphList::iterator
5317         friends of Paragraph.
5318
5319         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5320
5321         * ParagraphList.C: Use the private next_ and previous_ from
5322         Paragraph.
5323
5324 2003-04-01  John Levon  <levon@movementarian.org>
5325
5326         * ToolbarBackend.h:
5327         * ToolbarBackend.C:
5328         * Makefile.am: rename, remove defaults gunk
5329
5330         * MenuBackend.h:
5331         * MenuBackend.C: remove defaults gunk
5332
5333         * Languages.h:
5334         * Languages.C: remove defaults gunk
5335
5336         * lyx_main.h:
5337         * lyx_main.C: error out if files couldn't be found.
5338
5339 2003-04-02  John Levon  <levon@movementarian.org>
5340
5341         * text2.C: make incDepth() use parlist
5342
5343 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * undo_funcs.C (firstUndoParagraph): adjust
5346
5347         * text3.C (gotoInset): adjust
5348         (dispatch): adjust, and rewrite loop.
5349
5350         * text2.C (init): adjust, and rewrite loop.
5351         (redoParagraphs): adjust
5352         (updateInset): adjust, and rewrite loop.
5353         (deleteEmptyParagraphMechanism): adjust
5354
5355         * tabular.C (LyXTabular): adjust
5356         (SetMultiColumn): adjust
5357         (TeXRow): adjust
5358
5359         * lyxtext.[Ch] (ownerParagraph): delete function
5360         (ownerParagraphs): new function returns a ParagraphList.
5361
5362         * BufferView.C (removeAutoInsets): adjust
5363         (insertErrors): adjust
5364         (setCursorFromRow): adjust
5365
5366 2003-04-01  Angus Leeming  <leeming@lyx.org>
5367
5368         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5369         in the frontends.
5370
5371 2003-04-02  John Levon  <levon@movementarian.org>
5372
5373         * lyxtext.h:
5374         * text.C:
5375         * Makefile.am:
5376         * text_funcs.h:
5377         * text_funcs.C: make transposeChars a free function
5378
5379         * lyxrow_funcs.C: remove wrong comment
5380
5381 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * lyxtext.h: adjust
5384         * rowpainter.C: adjust
5385         * text.C: adjust
5386         * text2.C: adjust
5387         * text3.C: adjust
5388
5389         * lyxrow_funcs. [Ch]: new files
5390
5391         * lyxrow.[Ch]: remove next and previous pointers
5392         (next,previous): remove accessor functions
5393         (isParEnd): move to lyxrow_funcs
5394         (lastPos): move to lyxrow_funcs
5395         (nextRowIsAllInset): move to lyxrow_funcs
5396         (lastPrintablePos): move to lyxrow_funcs
5397         (numberOfSeparators): move to lyxrow_funcs
5398         (numberOfHfills): move to lyxrow_funcs
5399         (numberOfLabelHfills): move to lyxrow_funcs
5400         (hfillExpansion): move to lyxrow_funcs
5401
5402         * lyxfunc.C: adjust
5403
5404         * bufferview_funcs.C (toggleAndShow): adjust
5405
5406         * RowList.h: Remove class RowList from file leave just a
5407         std::list<Row>.
5408
5409         * RowList.C: delete file
5410
5411         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5412         and lyxrow_funcs.h
5413
5414 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * text3.C (cursorPrevious): adjust
5417         (cursorNext): adjust
5418         (dispatch): adjust
5419
5420         * text2.C (redoHeightOfParagraph): adjust
5421         (redoDrawingOfParagraph): adjust
5422         (setCursor): adjust
5423
5424         * text.C (breakParagraph): adjust
5425         (insertChar): adjust
5426         (backspace): adjust
5427
5428         * rowpainter.C (RowPainter): adjust
5429         (leftMargin): simplify and adjust
5430         (most rowpainter functions): adjust.
5431
5432         * rowpainter.h: store the row as RowList::iterator not as Row*
5433
5434         * lyxcursor.C (row): taka RowList::iterator as arg
5435         (irow): ditto
5436
5437         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5438         of Row*.
5439
5440 2003-04-01  Angus Leeming  <leeming@lyx.org>
5441
5442         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5443         stuff like bool Bool.
5444
5445 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5448         rewrite a loop
5449
5450 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5453         RowList::iterator.
5454
5455         * lyxtext.h (rows): drop one version and leve a const variant that
5456         returns a RowList::iterator.
5457
5458 2003-03-31  Angus Leeming  <leeming@lyx.org>
5459
5460         * text.C (fill): ensure that the signature is the same as that in the
5461         header file.
5462
5463 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * text2.C (redoParagraphs): adjust
5466         (updateCounters): adjust
5467         (checkParagraph): adjust
5468         (getColumnNearX): adjust and reformat a bit.
5469
5470         * text.C (top_y): adjust
5471         (workWidth): adjust
5472         (leftMargin): adjust
5473         (prepareToPrint): adjust
5474         (getRow): adjust
5475         (getRowNearY): adjust
5476
5477         * lyxtext.h: make rowlist_ mutable.
5478
5479         * RowList.h: add const_iterator
5480         * RowList.C: adjust for RowList::const_iterator.
5481
5482         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5483         adjust.
5484
5485 2003-03-31  John Levon  <levon@movementarian.org>
5486
5487         * lyxrc.h:
5488         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5489
5490         * lyx_main.C: set default fonts from using lyx_gui funcs
5491
5492         * exporter.C: pdf_mode moved from lyxrc
5493
5494         * lyx_cb.C:
5495         * lyxfunc.C: changes from above
5496
5497 2003-03-31  John Levon  <levon@movementarian.org>
5498
5499         * lyx_main.C: fix to the last fix
5500
5501 2003-03-31  John Levon  <levon@movementarian.org>
5502
5503         * bufferlist.C: "Load original" -> "Load Original"
5504
5505         * converter.C:
5506         * exporter.C:
5507         * importer.C:
5508         * lyx_main.C:
5509         * format.C: more Alert cleanups
5510
5511 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * text2.C (removeParagraph): make it take a RowList::iterator as
5514         arg, adjust.
5515         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5516         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5517
5518         * text.C (anchor_row): make it take a RowList::iterator as arg,
5519         adjust.
5520         (computeBidiTables): make it take a const reference to Row instead
5521         of Row pointer, adjust.
5522         (leftMargin): make it take a RowList::iterator as arg, adjust.
5523         (rowBreakPoint): adjust
5524         (breakAgainOneRow): make it take a RowList::iterator as arg,
5525         adjust.
5526         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5527
5528         * bufferview_funcs.C (toggleAndShow): adjust
5529
5530 2003-03-30  John Levon  <levon@movementarian.org>
5531
5532         * Makefile.am:
5533         * BoostFormat.h:
5534         * boost-inst.C: moved to support
5535
5536         * several files: changes as a result
5537
5538 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5539
5540         * text2.C (LyXText): adjust.
5541         (init): adjust
5542         (removeRow): make it take a RowList::iterator as arg, adjust.
5543         (fullRebreak): adjust
5544         (deleteEmptyParagraphMechanism): adjust
5545         (clearPaint): adjust
5546         (postPaint): adjust
5547
5548         * text.C (top_y): adjust
5549         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5550         (breakAgain): make it take a RowList::iterator as arg, adjust.
5551         (breakParagraph): adjust
5552         (insertChar): adjust
5553         (backspace): adjust
5554
5555         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5556         need_break_row, and refresh_row.
5557
5558         * text3.C (dispatch): adjust
5559
5560         * text2.C (checkParagraph): adjust
5561         (setCursor): adjust
5562         (setCursorFromCoordinates): adjust
5563
5564         * text.C (top_y): adjust
5565         (workWidth): adjust
5566         (getRow): make it return a RowList::iterator, adjust
5567         (getRowNearY): make it return a RowList::iterator, adjust
5568
5569         * text2.C (init): adjust
5570         (insertRow): remove function
5571         (insertParagraph): adjust
5572         (redoParagraphs): adjust
5573         (fullRebreak): adjust
5574         (updateCounters): adjust
5575
5576         * text.C (top_y): rewrite to use RowList iterators.
5577         (top_y): adjust
5578         (setHeightOfRow): rewrite to sue RowList iterators.
5579         (appendParagraph): adjust
5580         (breakAgain): adjust
5581         (breakAgainOneRow): adjust
5582         (breakParagraph): adjust
5583         (getRow): adjust
5584         (getRowNearY): adjust, and remove commented code.
5585
5586         * lyxtext.h (firstRow): delete function
5587         (lastRow): delete function
5588         (rows): new function (const and non-const versions.)
5589         (insertRow): delete function
5590
5591         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5592
5593 2003-03-29  John Levon  <levon@movementarian.org>
5594
5595         * BufferView_pimpl.C: always update scrollbar top
5596         because pasting text when we're anchored could mean we
5597         miss an update altogether
5598
5599 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * text2.C (init): use rowlist_.end() and not 0.
5602         (insertRow): change to take a RowList::iterator as arg, adjust
5603         for this.
5604         (insertParagraph): change to take a RowList::iterator as arg,
5605         adjust for this.
5606         (redoParagraphs): remove some debug msgs.
5607
5608         * text.C (appendParagraph): change to take a RowList::iterator
5609         arg, adjust for this.
5610         (breakAgain): add an assert
5611         (breakAgainOneRow): ditto
5612
5613 2003-03-29  John Levon  <levon@movementarian.org>
5614
5615         * text2.C: do not clear selection after inc/decDepth
5616         (bug 550)
5617
5618 2003-03-29  John Levon  <levon@movementarian.org>
5619
5620         * BufferView.C:
5621         * buffer.C: fix broken strerrors according to Lars
5622
5623 2003-03-29  John Levon  <levon@movementarian.org>
5624
5625         * converters.C: more Alert cleanups
5626
5627 2003-03-29  John Levon  <levon@movementarian.org>
5628
5629         * bufferview_funcs.C: remove pointless Alert
5630
5631         * buffer.C: fix confusing error message when
5632         a template is chmoded 000
5633
5634 2003-03-29  John Levon  <levon@movementarian.org>
5635
5636         * BufferView.C:
5637         * BufferView.h:
5638         * BufferView_pimpl.C: Alert fixes
5639
5640         * Makefile.am:
5641         * tabular.C:
5642         * tabular-old.C: remove unused table compat reading
5643
5644 2003-03-29  John Levon  <levon@movementarian.org>
5645
5646         * BufferView.C:
5647         * buffer.C:
5648         * lyx_cb.h:
5649         * lyx_cb.C: more Alert cleanups
5650
5651         * lyxfunc.C: don't allow chktex if not latex document
5652
5653 2003-03-29  John Levon  <levon@movementarian.org>
5654
5655         * lyx_cb.C:
5656         * BufferView.C:
5657         * buffer.C: warnings pushed down from support/,
5658         kill err_alert
5659
5660 2003-03-29  John Levon  <levon@movementarian.org>
5661
5662         * lyxfunc.C: safety check for C-r (revert)
5663
5664 2003-03-29  John Levon  <levon@movementarian.org>
5665
5666         * bufferlist.h:
5667         * bufferlist.C: several UI fixes using Alert::prompt.
5668         Fix the pointless looping quit code. Fix stupid revert
5669         behaviour (bug 938)
5670
5671         * lyxvc.h:
5672         * lyxvc.C:
5673         * lyx_cb.C: use Alert::prompt
5674
5675         * lyx_main.C: remove a silly question
5676
5677         * lyxfunc.C: remove a couple of silly questions,
5678         use Alert::prompt
5679
5680 2003-03-28  John Levon  <levon@movementarian.org>
5681
5682         * text2.C: fix bug 974 (End on empty par)
5683
5684 2003-03-28  John Levon  <levon@movementarian.org>
5685
5686         * BufferView_pimpl.C:
5687         * LyXAction.C:
5688         * lfuns.h: remove do-nothing math greek lfuns
5689
5690 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * lyxgluelength.h (isValidGlueLength): add default arg on
5693         parameter 2. Remove default arg from friend in class.
5694
5695         * lyxlength.h (isValidLength): add default arg on parameter 2.
5696         Remove default arg from friend in class.
5697
5698         * text2.C (LyXText): adjust, initialize refresh_row.
5699         (init): adjust
5700         (removeRow): adjust
5701         (insertRow): adjust
5702         (insertParagraph): adjst
5703         (redoParagraphs): adjust
5704         (fullRebreak): adjust
5705         (updateCounters): adjust
5706         (deleteEmptyParagraphMechanism): first attempt at fixing a
5707         crashing bug.
5708
5709         * text.C (top_y): adjust
5710         (setHeightOfRow): adjust
5711         (getRow): adjust
5712         (getRowNearY): adjust
5713
5714         * lyxtext.h: include RowList.h
5715         (~LyXText): not needed anymore, deleted.
5716         (firstRow): modify for RowList
5717         (lastRow): new function
5718         Delete firstrow and lastrow class variables, add a Rowlist
5719         rowlist_ class variable.
5720
5721         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5722         paragraph is empty.
5723
5724         * RowList.C (insert): fix case where it == begin().
5725
5726 2003-03-26  Angus Leeming  <leeming@lyx.org>
5727
5728         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5729         the thesaurus dialog.
5730
5731 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5734
5735         * RowList.[Ch]: new files
5736
5737         * ParagraphList.C (erase): handle the case where it == begin
5738         correctly.
5739
5740 2003-03-25  John Levon  <levon@movementarian.org>
5741
5742         * Makefile.am:
5743         * aspell_local.h:
5744         * aspell.C: add new aspell support
5745
5746         * lyxrc.h:
5747         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5748         have it accessible.
5749
5750 2003-03-25  Angus Leeming  <leeming@lyx.org>
5751
5752         * lfuns.h:
5753         * LyXAction.C (init): new LFUN_INSET_INSERT.
5754
5755         * BufferView_pimpl.C (dispatch): split out part of the
5756         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5757
5758         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5759         LFUN_INSET_APPLY.
5760
5761 2003-03-25  Angus Leeming  <leeming@lyx.org>
5762
5763         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5764
5765 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * text2.C:
5768         * text3.C: remove useless row->height(0)
5769
5770 2003-03-25  John Levon  <levon@movementarian.org>
5771
5772         * lyxtext.h:
5773         * text2.C:
5774         * text3.C: rename the refreshing stuff to better names
5775
5776 2003-03-24  John Levon  <levon@movementarian.org>
5777
5778         * BufferView_pimpl.h:
5779         * BufferView_pimpl.C: update layout choice on a mouse
5780         press/release
5781
5782 2003-03-23  John Levon  <levon@movementarian.org>
5783
5784         * Makefile.am: fix commandtags.h reference
5785
5786 2003-03-22  John Levon  <levon@movementarian.org>
5787
5788         * BufferView_pimpl.C:
5789         * lyxtext.h:
5790         * rowpainter.C:
5791         * rowpainter.h:
5792         * text.C:
5793         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5794
5795 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * lyxtext.h:
5798         * text.C: take the rtl methods out of line
5799
5800 2003-03-21 André Pönitz <poenitz@gmx.net>
5801
5802         * metricsinfo.[Ch]: new files containing structures to be passed around
5803         during the two-phase-drawing...
5804
5805 2003-03-21 André Pönitz <poenitz@gmx.net>
5806
5807         * lyxtextclass.C: read 'environment' tag.
5808
5809 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5810
5811         * text2.C (removeRow): fix bug 964
5812
5813 2003-03-20  John Levon  <levon@movementarian.org>
5814
5815         * rowpainter.C:
5816         * text.C:
5817         * text2.C: paint cleanups. Inset::update() dropped font
5818         parameter
5819
5820 2003-03-19  John Levon  <levon@movementarian.org>
5821
5822         * lyxfunc.C: only fitcursor/markDirty if available()
5823
5824 2003-03-19  John Levon  <levon@movementarian.org>
5825
5826         * commandtags.h: rename to ...
5827
5828         * lfuns.h: ... this, and renumber / cleanup
5829
5830 2003-03-19  John Levon  <levon@movementarian.org>
5831
5832         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5833         fit the cursor after an lfun
5834
5835         * BufferView.h:
5836         * BufferView.C:
5837         * BufferView_pimpl.h:
5838         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5839
5840         * LyXAction.C: layout-character should have ReadOnly
5841
5842         * ParagraphParameters.C:
5843         * buffer.C:
5844         * bufferview_funcs.C:
5845         * lyx_cb.C:
5846         * lyxfind.C:
5847         * lyxtext.h:
5848         * text.C:
5849         * text2.C:
5850         * text3.C:
5851         * undo_funcs.C: changes from above
5852
5853 2003-03-18  John Levon  <levon@movementarian.org>
5854
5855         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5856         remove it from update()
5857
5858         * lyxfunc.C: update layout choice after an lfun
5859
5860         * text3.C: remove extra updateLayoutChoice()s
5861
5862 2003-03-18  John Levon  <levon@movementarian.org>
5863
5864         * text.C: top_y change means full repaint, fix
5865         a drawing bug with cursor movement
5866
5867 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * lyxtext.h:
5870         * text.C:
5871         * text2.C: anchor row on setCursor
5872
5873 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5874
5875         * lyxtext.h: remove almost all mutable keywords
5876         * text.C:
5877         * text2.C:
5878         * text3.C: remove const keywords accordingly
5879
5880 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5883         anon namespace
5884         (TeXEnvironment): ditto
5885         (TeXOnePar): ditto
5886
5887 2003-03-17  John Levon  <levon@movementarian.org>
5888
5889         * text.C (rowBreakPoint): remove attempt to fix displayed
5890         math insets inside a manual label
5891
5892 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * lyxtext.h: remove BufferView* as first arg from almost all class
5895         functions.
5896         * other files: adjust.
5897
5898 2003-03-17  John Levon  <levon@movementarian.org>
5899
5900         * lyxtext.h:
5901         * undo_funcs.C:
5902         * text2.C: more paint cleanups
5903
5904         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5905
5906         * rowpainter.h:
5907         * rowpainter.C: remove "smart" background painting code
5908
5909 2003-03-16  John Levon  <levon@movementarian.org>
5910
5911         * lyxtext.h:
5912         * text.C:
5913         * text2.C:
5914         * text3.C: add helper functions for setting refresh_row/y
5915
5916 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5917
5918         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5919         newline inset which *can* get inserted in the pass_thru layouts.
5920         This is primarily for literate documents.
5921
5922 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5923
5924         * buffer.C: increment LYX_FORMAT to 223
5925
5926 2003-03-14 André Pönitz <poenitz@gmx.net>
5927
5928         * textclass.h: prepare for environment handling, ws changes
5929         * lyxlayout.C: read latexheader and latexfooter tags
5930
5931 2003-03-14  John Levon  <levon@movementarian.org>
5932
5933         * text2.C: rewrite ::status() a bit
5934
5935 2003-03-13  John Levon  <levon@movementarian.org>
5936
5937         * lyxtext.h: add some docs
5938
5939 2003-03-13  John Levon  <levon@movementarian.org>
5940
5941         * lyxtext.h:
5942         * text.C:
5943         * text2.C:
5944         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5945
5946 2003-03-13  John Levon  <levon@movementarian.org>
5947
5948         * text3.C: fix appendix redrawing
5949
5950 2003-03-13  John Levon  <levon@movementarian.org>
5951
5952         * text.C (setHeightOfRow):
5953         * rowpainter.h:
5954         * rowpainter.C: make appendix mark have the text
5955           "Appendix" so the user knows what it is
5956
5957         * LColor.h:
5958         * LColor.C: s/appendixline/appendix/ from above
5959
5960 2003-03-13  John Levon  <levon@movementarian.org>
5961
5962         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5963
5964         * text.C: fix a getChar(pos) bug properly
5965
5966 2003-03-13  Angus Leeming  <leeming@lyx.org>
5967
5968         * commandtags.h:
5969         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5970         Probably only temporary. Let's see how things pan out.
5971
5972         * BufferView.C (unlockInset):
5973         * BufferView_pimpl.C (fitCursor):
5974         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5975
5976         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5977         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5978
5979         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5980         new functions that convert ParagraphParameters to and from a string.
5981
5982         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5983         BufferView::Pimpl's dispatch.
5984         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5985
5986 2003-03-13 André Pönitz <poenitz@gmx.net>
5987
5988         * lyxfunc.C:
5989         * text3.C:
5990         * factory.C: make it aware of InsetEnv
5991
5992 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * text2.C (setCursor): never ask for one past last
5995         (setCursor): add some debugging messages.
5996
5997         * text.C (singleWidth): never ask for one past last
5998         (singleWidth): ditto
5999         (leftMargin): ditto
6000         (rightMargin): ditto
6001         (rowBreakPoint): ditto
6002         (setHeightOfRow): ditto
6003         (prepareToPrint): ditto
6004
6005         * rowpainter.C (paintBackground): never ask for one past last
6006         (paintText): never ask for one past last
6007
6008         * paragraph_pimpl.C (getChar): make the assert stricter, never
6009         allow the one past last pos to be taken
6010
6011         * paragraph.C (getChar): ws changes only
6012
6013         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6014         (numberOfSeparators): ditto
6015         (numberOfHfills): ditto
6016
6017 2003-03-12  John Levon  <levon@movementarian.org>
6018
6019         * author.h:
6020         * author.C:
6021         * bufferparams.h:
6022         * bufferparams.C:
6023         * paragraph_funcs.C: fix per-buffer authorlists
6024
6025 2003-03-12  John Levon  <levon@movementarian.org>
6026
6027         * text.C: fix newline in right address
6028
6029 2003-03-12  Angus Leeming  <leeming@lyx.org>
6030
6031         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6032         duplicate those in LyXFunc::dispatch.
6033
6034         * commandtags.h:
6035         * LyXAction.C:
6036         * ToolbarDefaults.C:
6037         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6038         Add LFUN_FONTFREE_UPDATE.
6039
6040         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6041         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6042
6043         * bufferview_func.[Ch]: several new functions to facilliate
6044         transfer of data to and from the character dialog.
6045
6046 2003-03-12  John Levon  <levon@movementarian.org>
6047
6048         * buffer.C:
6049         * paragraph.h:
6050         * paragraph.C:
6051         * paragraph_funcs.C:
6052         * paragraph_pimpl.C:
6053         * sgml.C:
6054         * tabular.C:
6055         * text.C:
6056         * text3.C: remove META_NEWLINE in favour of an inset
6057
6058         * rowpainter.h:
6059         * rowpainter.C: remove paintNewline (done by inset)
6060
6061 2003-03-12  John Levon  <levon@movementarian.org>
6062
6063         * paragraph_pimpl.C: complain about bad getChar()s
6064         for a while at least
6065
6066 2003-03-12  John Levon  <levon@movementarian.org>
6067
6068         * buffer.h:
6069         * buffer.C: move paragraph read into a separate function,
6070         a little renaming to reflect that.
6071
6072         * bufferparams.h:
6073         * bufferparams.C: remove the author_ids map, not necessary now
6074
6075         * factory.h:
6076         * factory.C: moved Buffer::readInset to here
6077
6078         * paragraph_funcs.h:
6079         * paragraph_funcs.C: readParagraph free function moved from
6080         buffer.C
6081
6082         * tabular.C: name change
6083
6084 2003-03-12  John Levon  <levon@movementarian.org>
6085
6086         * buffer.C:
6087         * ParagraphParameters.C: move par params input to
6088         a read() method
6089
6090         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6091         behave like a normal read from the stream wrt reading
6092         a line vs. a \\token
6093
6094 2003-03-12  John Levon  <levon@movementarian.org>
6095
6096         * paragraph.C:
6097         * ParagraphParameters.h:
6098         * ParagraphParameters.C: move output code to a
6099         ::write() method
6100
6101 2003-03-12  John Levon  <levon@movementarian.org>
6102
6103         * BufferView.C (insertLyXFile):
6104         * buffer.h:
6105         * buffer.C:
6106         * tabular.C: use a parlist iterator for creating the
6107           document.
6108
6109 2003-03-12  John Levon  <levon@movementarian.org>
6110
6111         * buffer.C: make current_change static local not
6112           static file-scope
6113
6114 2003-03-12  John Levon  <levon@movementarian.org>
6115
6116         * buffer.C: fix insertStringAsLines for change tracking
6117
6118 2003-03-12  John Levon  <levon@movementarian.org>
6119
6120         * BufferView.C:
6121         * tabular.C:
6122         * buffer.h:
6123         * buffer.C:
6124         * bufferparams.h:
6125         * bufferparams.C: move author list into params. Rename some
6126           functions. Move the header reading into a separate token
6127           loop. Move the header token reading into BufferParams.
6128
6129 2003-03-12  John Levon  <levon@movementarian.org>
6130
6131         * changes.C: put debug inside lyxerr.debugging() checks
6132
6133 2003-03-11 André Pönitz <poenitz@gmx.net>
6134
6135         * factory.C: make it aware of InsetHFill
6136
6137 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6138
6139         * buffer.C (latexParagraphs): move function from here...
6140         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6141         args.
6142
6143 2003-03-10  Angus Leeming  <leeming@lyx.org>
6144
6145         * LyXAction.C (init): fix bug in poplating array with multiple entries
6146         with the same LFUN (spotted by JMarc).
6147
6148 2003-03-10  John Levon  <levon@movementarian.org>
6149
6150         * text.C:
6151         * text2.C: move getColumnNearX() near its
6152         only call site
6153
6154 2003-03-10  John Levon  <levon@movementarian.org>
6155
6156         * text.C: fix break before a minipage
6157
6158 2003-03-10  John Levon  <levon@movementarian.org>
6159
6160         * text.C: fix the last commit
6161
6162 2003-03-09  John Levon  <levon@movementarian.org>
6163
6164         * lyxtext.h:
6165         * text.C:
6166         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6167         bug 365 (don't break before insets unless needed). Don't
6168         return a value > last under any circumstances.
6169
6170 2003-03-09  Angus Leeming  <leeming@lyx.org>
6171
6172         * BufferView_pimpl.C (trackChanges, dispatch): call
6173         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6174
6175 2003-03-09  Angus Leeming  <leeming@lyx.org>
6176
6177         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6178         than Dialogs::showAboutlyx().
6179
6180 2003-03-09  Angus Leeming  <leeming@lyx.org>
6181
6182         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6183         than Dialogs::showTabularCreate().
6184
6185 2003-03-09  John Levon  <levon@movementarian.org>
6186
6187         * lyxtext.h:
6188         * text.C:
6189         * text2.C: 3rd arg to nextBreakPoint was always the same.
6190           Use references.
6191
6192 2003-03-08  John Levon  <levon@movementarian.org>
6193
6194         * lyxrow.C:
6195         * paragraph.C:
6196         * paragraph.h:
6197         * rowpainter.C:
6198         * text.C:
6199         * text2.C: Remove the "main" bit from the "main body"
6200           notion.
6201
6202 2003-03-08  John Levon  <levon@movementarian.org>
6203
6204         * text.C (leftMargin): The left margin of an empty
6205         manual label paragraph should not include the label width
6206         string length.
6207
6208         * text.C (prepareToPrint): don't attempt to measure hfills
6209         for empty manual label paragraphs - the answer should be 0
6210
6211 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * CutAndPaste.C: remove commented code and reindent.
6214
6215 2003-03-08  John Levon  <levon@movementarian.org>
6216
6217         * lyxfunc.h:
6218         * lyxfunc.C: move reloadBuffer()
6219
6220         * BufferView.h:
6221         * BufferView.C: to here
6222
6223         * lyxvc.C: add comment
6224
6225         * vc-backend.h:
6226         * vc-backend.C: call bv->reload() to avoid
6227           getStatus() check on MENURELOAD
6228
6229 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6230
6231         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6232         to an old format .dep file.
6233
6234 2003-03-07  Angus Leeming  <leeming@lyx.org>
6235
6236         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6237         when the LFUN_MOUSE_RELEASE should have been handled by
6238         inset->localDispatch.
6239
6240 2003-03-07  Angus Leeming  <leeming@lyx.org>
6241
6242         * BufferView_pimpl.C (dispatch):
6243         * LyXAction.C (init):
6244         * ToolbarDefaults.C (init):
6245         * commandtags.h:
6246         * lyxfunc.C (getStatus):
6247         remove LFUN_INSET_GRAPHICS.
6248
6249         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6250
6251 2003-03-07  Angus Leeming  <leeming@lyx.org>
6252
6253         * commandtags.h:
6254         * LyXAction.C (init):
6255         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6256
6257         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6258
6259         * commandtags.h:
6260         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6261
6262         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6263         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6264
6265 2003-03-07  Angus Leeming  <leeming@lyx.org>
6266
6267         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6268         remove "ert".
6269
6270 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * ParagraphList.C (front): new function
6273         (back): implement
6274
6275 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6278         and top_row_offset_. removed var first_y.
6279         * text.C (top_y):
6280         * text2.C (LyXText, removeRow):
6281         * text3.C:
6282         * BufferView_pimpl.C:
6283         use these methods instead of using first_y
6284
6285 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * text2.C (pasteSelection): adjust for checkPastePossible
6288
6289         * CutAndPaste.C: remove Paragraph * buf and replace with
6290         ParagraphList paragraphs.
6291         (DeleteBuffer): delete
6292         (cutSelection): change the tc type to textclass_type
6293         (copySelection): change the tc type to textclass_type
6294         (copySelection): adjust for ParagraphList
6295         (pasteSelection): change the tc type to textclass_type
6296         (pasteSelection): adjust for Paragraphlist
6297         (nrOfParagraphs): simplify for ParagraphList
6298         (checkPastePossible): simplify for ParagraphList
6299         (checkPastePossible): remove unused arg
6300
6301         * ParagraphList.C (insert): handle the case where there are no
6302         paragraphs yet.
6303
6304         * CutAndPaste.h: make CutAndPaste a namespace.
6305
6306         * text3.C (dispatch): adjust
6307
6308         * text.C (breakParagraph): add a ParagraphList as arg
6309
6310         * paragraph_funcs.C (breakParagraph): change to take a
6311         BufferParams and a ParagraphList as args.
6312         (breakParagraphConservative): ditto
6313         (mergeParagraph): ditto
6314         (TeXDeeper): add a ParagraphList arg
6315         (TeXEnvironment): ditto
6316         (TeXOnePar): ditto
6317
6318         * buffer.C (readLyXformat2): adjust
6319         (insertStringAsLines): adjust
6320         (latexParagraphs): adjust
6321
6322         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6323         (cutSelection): adjust
6324         (pasteSelection): adjust
6325
6326         * BufferView_pimpl.C (insertInset): adjust
6327
6328 2003-03-05  Angus Leeming  <leeming@lyx.org>
6329
6330         * commandtags.h:
6331         * LyXAction.C (init):
6332         * BufferView_pimpl.C (dispatch):
6333         * lyxfunc.C (getStatus):
6334         remove LFUN_CHILD_INSERT.
6335
6336         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6337
6338 2003-03-05  Angus Leeming  <leeming@lyx.org>
6339
6340         * commandtags.h:
6341         * LyXAction.C (init):
6342         * src/factory.C (createInset):
6343         * lyxfunc.C (getStatus):
6344         * text3.C (dispatch):
6345         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6346
6347         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6348
6349 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * ParagraphList.C (insert): handle insert right before end()
6352         (erase): fix cases where it can be first or last paragraph.
6353
6354 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6357         Paragraph::next and Paragraph::previous
6358         (TeXOnePar): ditto
6359
6360         * text.C (breakParagraph): adjust
6361
6362         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6363         BufferParams& as arg.
6364         (breakParagraph): use ParagraphList::insert
6365         (breakParagraphConservative): take a Buffer* instead of a
6366         BufferParams& as arg.
6367         (breakParagraphConservative): use ParagraphList::insert.
6368
6369         * buffer.C (insertStringAsLines): un-const it
6370         (insertStringAsLines): adjust
6371
6372         * ParagraphList.C (insert): new function
6373
6374         * CutAndPaste.C (pasteSelection): adjust
6375
6376         * text.C (backspace): adjust
6377
6378         * tabular.C (SetMultiColumn): adjust
6379
6380         * CutAndPaste.C (cutSelection): adjust
6381         (pasteSelection): adjust
6382
6383         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6384         Buffer const * as arg
6385
6386         * ParagraphList.C (erase): new function
6387         * paragraph_funcs.C (mergeParagraph): use it
6388         (mergeParagraph): make it take a Buffer* instead of a
6389         BufferParams* as arg
6390
6391         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6392         as arg
6393         (breakParagraphConservative): ditto
6394
6395         * paragraph.h: remove the breakParagraph friend
6396
6397         * paragraph.C (eraseIntern): new function
6398         (setChange): new function
6399
6400         * paragraph_funcs.C (mergeParagraph): make it take a
6401         ParagraphList::iterator instead of a Paragraph *, adjust
6402         accordingly.
6403
6404         * paragraph.h: move an #endif so that the change tracking stuff
6405         also works in the NO_NEXT case.
6406
6407 2003-03-04  Angus Leeming  <leeming@lyx.org>
6408
6409         * commandtags.h:
6410         * LyXAction.C: new LFUN_INSET_MODIFY.
6411
6412         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6413         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6414
6415 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * several files: ws changes only
6418
6419         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6420         (TeXEnvironment): ditto
6421         (TeXDeeper): ditto
6422
6423         * buffer.C (makeLaTeXFile): adjust
6424         (latexParagraphs): make it take ParagraphList::iterator as args
6425
6426 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * buffer.C (latexParagraphs): adjust
6429
6430         * paragraph.C (TeXOnePar): move function...
6431         (optArgInset): move function...
6432         (TeXEnvironment): move function...
6433         * paragraph_pimpl.C (TeXDeeper): move function...
6434         * paragraph_funcs.C: ...here
6435
6436         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6437
6438 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * buffer.C (readInset): remove compability code for old Figure and
6441         InsetInfo insets
6442
6443 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * buffer.C: ws changes
6446         (readInset):
6447
6448         * BufferView_pimpl.C: ditto
6449         * author.C: ditto
6450         * buffer.h: ditto
6451         * bufferlist.h: ditto
6452         * changes.h: ditto
6453         * lyxfunc.C: ditto
6454
6455 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6456
6457         * converter.[Ch]: split into itself +
6458         * graph.[Ch]
6459         * format.[Ch]
6460         * Makefile.am: += graph.[Ch] + format.[Ch]
6461         * MenuBackend.C
6462         * buffer.C
6463         * exporter.C
6464         * importer.C
6465         * lyx_main.C
6466         * lyxfunc.C
6467         * lyxrc.C: added #include "format.h"
6468
6469 2003-02-27  Angus Leeming  <leeming@lyx.org>
6470
6471         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6472           a label.
6473
6474         * factory.C (createInset): add "label" to the factory.
6475
6476         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6477           string and do no more.
6478
6479 2003-02-27  Angus Leeming  <leeming@lyx.org>
6480
6481         * commandtags.h:
6482         * LyXAction.C (init):
6483         * factory.C (createInset):
6484         * BufferView_pimpl.C (dispatch):
6485           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6486
6487         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6488
6489         * lyxfunc.C (dispatch):
6490         * text3.C (dispatch): pass name to params2string.
6491
6492 2003-02-26  Angus Leeming  <leeming@lyx.org>
6493
6494         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6495           blocks together.
6496           Rearrange the ~includes. Strip out the unnecessary ones.
6497
6498         * factory.C (createInset): reformat.
6499           create new insets for the various LFUN_XYZ_APPLY lfuns.
6500
6501 2003-02-26  John Levon  <levon@movementarian.org>
6502
6503         * lyxrow.h:
6504         * lyxrow.C: add isParStart,isParEnd helpers
6505
6506         * paragraph.h: make isInserted/DeletedText take refs
6507
6508         * paragraph_funcs.h:
6509         * paragraph_funcs.C: remove #if 0'd code
6510
6511         * lyxtext.h:
6512         * text3.C:
6513         * text2.C:
6514         * text.C: use lyxrow helpers above.
6515           Move draw and paint routines to RowPainter.
6516           Make several methods use refs not pointers.
6517           Make backgroundColor() const.
6518           Add markChangeInDraw(), isInInset().
6519           Merge changeRegionCase into changeCase.
6520           Make workWidth() shouldn't-happen code into an Assert.
6521
6522         * rowpainter.h:
6523         * rowpainter.C: new class for painting a row.
6524
6525         * vspace.h:
6526         * vspace.C: make inPixels take a ref
6527
6528 2003-02-26  Angus Leeming  <leeming@lyx.org>
6529
6530         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6531         LFUN_REF_APPLY.
6532
6533 2003-02-25  John Levon  <levon@movementarian.org>
6534
6535         * ispell.C: give the forked command a more accurate name
6536
6537 2003-02-22  John Levon  <levon@movementarian.org>
6538
6539         * toc.h:
6540         * toc.C: make TocItem store an id not a Paragraph *
6541           (bug #913)
6542
6543 2003-02-21  Angus Leeming  <leeming@lyx.org>
6544
6545         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6546           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6547           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6548           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6549           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6550           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6551
6552         * BufferView_pimpl.C (dispatch):
6553         * LyXAction.C (init):
6554         * factory.C (createInset):
6555         * lyxfunc.C (getStatus, dispatch):
6556         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6557
6558 2003-02-21  Angus Leeming  <leeming@lyx.org>
6559
6560         * BufferView_pimpl.C (MenuInsertLyXFile):
6561         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6562         * lyxfunc.C (menuNew, open, doImport):
6563           no longer pass a LyXView & to fileDlg.
6564
6565 2003-02-21  Angus Leeming  <leeming@lyx.org>
6566
6567         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6568         * LyXAction.C: change, BIBKEY to BIBITEM.
6569         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6570         Change InsetBibKey to InsetBibitem.
6571         Change BIBKEY_CODE to BIBITEM_CODE.
6572         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6573         * factory.C: replace insetbib.h with insetbibitem.h.
6574         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6575         * paragraph.C: replace insetbib.h with insetbibitem.h.
6576         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6577         Change bibkey() to bibitem().
6578         * text.C: remove insetbib.h.
6579         * text2.C: replace insetbib.h with insetbibitem.h.
6580         change bibkey() to bibitem().
6581         * text3.C: remove insetbib.h.
6582         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6583
6584 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6585
6586         * lyxrc.C (output): enclose user email in quotes (in case there are
6587         several words)
6588
6589 2003-02-18  John Levon  <levon@movementarian.org>
6590
6591         * buffer.h: add std::
6592
6593 2003-02-17  John Levon  <levon@movementarian.org>
6594
6595         * SpellBase.h:
6596         * ispell.h:
6597         * ispell.C:
6598         * pspell.h:
6599         * pspell.C: reworking. Especially in ispell, a large
6600           number of clean ups and bug fixes.
6601
6602         * lyxfunc.C: fix revert to behave sensibly
6603
6604 2003-02-17 André Pönitz <poenitz@gmx.net>
6605
6606         * LyXAction.C:
6607         * commandtags.h: new LFUN_INSERT_BIBKEY
6608
6609         * layout.h:
6610         * lyxlayout.C:
6611         * buffer.C:
6612         * factory.C:
6613         * text.C:
6614         * text2.C:
6615         * text3.C:
6616         * paragraph.[Ch]:
6617         * paragraph_func.C: remove special bibkey handling
6618
6619 2003-02-17  John Levon  <levon@movementarian.org>
6620
6621         * text.C (Delete): fix case where delete at the end of
6622           the very first paragraph would not merge the pars
6623
6624 2003-02-17  John Levon  <levon@movementarian.org>
6625
6626         * lyxrow.C: fix lastPrintablePos()
6627
6628 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6629
6630         * bufferparams.C (writeLaTeX): add a std:here
6631
6632         * buffer.C: and remove a using directive there
6633
6634 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6635
6636         * buffer.C (makeLaTeXFile): move the code that generates the
6637           preamble...
6638
6639         * bufferparams.C (writeLaTeX): ... in this new method
6640
6641         * LaTeXFeatures.C (getEncodingSet): make const
6642           (getLanguages): make const
6643
6644         * MenuBackend.C (binding): returns the binding associated to this
6645           action
6646           (add): sets the status of each item by calling getStatus. Adds
6647           some intelligence.
6648           (read): add support for OptSubMenu
6649           (expand): remove extra separator at the end of expanded menu
6650
6651 2003-02-15  John Levon  <levon@movementarian.org>
6652
6653         * BufferView.C:
6654         * BufferView_pimpl.C:
6655         * bufferlist.h:
6656         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6657           inset code that had no actual effect. Remove unneeded status
6658           code.
6659
6660 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6663           in preamble
6664
6665 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6666
6667         * text.C (drawLengthMarker): also draw an arrow marker for
6668           symbolic lengths (medskip...)
6669
6670 2003-02-14  John Levon  <levon@movementarian.org>
6671
6672         * tabular.h:
6673         * tabular.C: better method names
6674
6675 2003-02-14  John Levon  <levon@movementarian.org>
6676
6677         * BufferView_pimpl.C:
6678         * bufferlist.C:
6679         * buffer.C:
6680         * converter.C:
6681         * lyx_cb.C:
6682         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6683           it's a more accurate name. Remove some pointless uses.
6684
6685 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6686
6687         * text2.C (LyXText): change order of initilizers to shut off
6688           warnings
6689
6690 2003-02-14  John Levon  <levon@movementarian.org>
6691
6692         * buffer.C: use ParIterator for getParFromID()
6693
6694         * paragraph.h:
6695         * paragraph.C:
6696         * paragraph_pimpl.h:
6697         * paragraph_pimpl.C: remove unused getParFromID()
6698
6699 2003-02-14  John Levon  <levon@movementarian.org>
6700
6701         * buffer.C: remove some very old #if 0'd parse code
6702
6703 2003-02-13  John Levon  <levon@movementarian.org>
6704
6705         * text.h:
6706         * text.C:
6707         * text2.C: move hfillExpansion(), numberOfSeparators(),
6708           rowLast(), rowLastPrintable(), numberofHfills(),
6709           numberOfLabelHfills() ...
6710
6711         * lyxrow.h:
6712         * lyxrow.C: ... to member functions here.
6713
6714         * paragraph.h:
6715         * paragraph.C:
6716         * lyxtext.h:
6717         * text.C: remove LyXText::beginningOfMainBody(), and call
6718           p->beginningOfMainBody() directly. Move the check for
6719           LABEL_MANUAL into the latter.
6720
6721         * text.h:
6722         * text.C:
6723         * text2.C:
6724         * vspace.C:
6725         * BufferView.h:
6726         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6727
6728         * text.h:
6729         * text.C:
6730         * text2.C:
6731         * text3.C:
6732         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6733           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6734
6735 2003-02-13  John Levon  <levon@movementarian.org>
6736
6737         * CutAndPaste.C: remove debug
6738
6739 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6740
6741         * paragraph.C (asString): remove two unused variables
6742
6743         * lyxtextclass.C (readTitleType):
6744           (Read):
6745           (LyXTextClass): handle new members titletype_ and titlename_
6746
6747         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6748
6749 2003-02-09  John Levon  <levon@movementarian.org>
6750
6751         * buffer.h:
6752         * buffer.C: replace hand-coded list with a map for the dep clean
6753
6754 2003-02-08  John Levon  <levon@movementarian.org>
6755
6756         * LaTeX.C: consolidate code into showRunMessage() helper
6757
6758 2003-02-08  John Levon  <levon@movementarian.org>
6759
6760         * lyxfind.C:
6761         * lyxtext.h:
6762         * text2.C:
6763         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6764           and pass the size in explicitly
6765
6766         * BufferView_pimpl.h:
6767         * BufferView_pimpl.C:
6768         * BufferView.h:
6769         * BufferView.C: add getCurrentChange()
6770
6771         * BufferView_pimpl.h:
6772         * BufferView_pimpl.C: handle change lfuns
6773
6774         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6775           for changes. Mark pasted paragraphs as new.
6776
6777         * support/lyxtime.h:
6778         * support/lyxtime.C:
6779         * DepTable.C: abstract time_t as lyx::time_type
6780
6781         * LColor.h:
6782         * LColor.C: add colours for new text, deleted text, changebars
6783
6784         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6785           package use "usenames" option.
6786
6787         * commandtags.h:
6788         * lyxfunc.C:
6789         * LyXAction.C: add change lfuns
6790
6791         * Makefile.am:
6792         * author.h:
6793         * author.C: author handling
6794
6795         * buffer.h:
6796         * buffer.C: add a per-buffer author list, with first entry as
6797           current author. Handle new .lyx tokens for change tracking. Output
6798           author list to .lyx file. Output dvipost stuff to .tex preamble.
6799           Bump lyx format to 222.
6800
6801         * bufferlist.h:
6802         * bufferlist.C: add setCurrentAuthor() to reset current author details
6803           in all buffers.
6804
6805         * bufferparams.h:
6806         * bufferparams.C: add param for tracking
6807
6808         * bufferview_funcs.C: output change info in minibuffer
6809
6810         * Makefile.am:
6811         * changes.h:
6812         * changes.C: add change-tracking structure
6813
6814         * debug.h:
6815         * debug.C: add CHANGES debug flag
6816
6817         * lyxfind.h:
6818         * lyxfind.C: add code for finding the next change piece
6819
6820         * lyxrc.h:
6821         * lyxrc.C: add user_name and user_email
6822
6823         * lyxrow.h:
6824         * lyxrow.C: add a metric for the top of the text line
6825
6826         * lyxtext.h:
6827         * text.C: implement accept/rejectChange()
6828
6829         * lyxtext.h:
6830         * text.C: paint changebars. Paint new/deleted text in the chosen
6831         colours. Strike through deleted text.
6832
6833         * paragraph.h:
6834         * paragraph.C:
6835         * paragraph_pimpl.h:
6836         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6837           in the current change to the insert functions. Rework erase to
6838           mark text as deleted, adding an eraseIntern() and a range-based
6839           erase(). Implement per-paragraph change lookup and
6840           accept/reject.
6841
6842         * paragraph_funcs.C: Fixup paste for change tracking.
6843
6844         * tabular.C: mark added row/columns as new.
6845
6846         * text.C: fix rowLast() to never return -1. Don't allow
6847           spellchecking of deleted text. Track transpose changes. Don't
6848           allow paragraph break or merge where appropriate.
6849
6850         * text2.C: leave cursor at end of selection after a cut.
6851
6852 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6853
6854         * text.C (getLengthMarkerHeight):
6855         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6856         visible on screen too.
6857
6858 2003-02-07  John Levon  <levon@movementarian.org>
6859
6860         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6861
6862 2003-02-05  Angus Leeming  <leeming@lyx.org>
6863
6864         * lyxserver.C (read_ready): revert my patch of 11 September last year
6865         as it sends PC cpu through the roof. Presumably this means that
6866         the lyxserver will no longer run on an Alpha...
6867
6868 2003-01-30  Angus Leeming  <leeming@lyx.org>
6869
6870         * factory.C (createInset): create an InsetCommandParam of type "index"
6871         and use it to 'do the right thing'.
6872
6873         * text2.C (getStringToIndex): ensure that cursor position is always
6874         reset to the reset_cursor position.
6875
6876 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6877
6878         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6879         disabled.
6880
6881 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6882
6883         * bufferview.C:
6884         * lyxcb.C:
6885         * lyxfunc.C: Output messages with identical spelling, punctuation,
6886         and spaces
6887
6888 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6889
6890         * MenuBackend.C (expandFormats): List only viewable export formats
6891         in "View" menu
6892
6893         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6894         message
6895
6896         * lyxfunc.C (getStatus): Make sure that formats other than
6897         "fax" can also be disabled
6898
6899 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6900
6901         * text3.C (dispatch): put the lfuns that insert insets in 3
6902         groups, and call doInsertInset with appropriate arguments.
6903         (doInsertInset): new function, that creates an inset and inserts
6904         it according to some boolean parameters.
6905
6906 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * buffer.C (readFile): remember to pass on 'par' when calling
6909         readFile recursively.
6910
6911 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6912
6913         * MenuBackend.C (expandFormats): add "..." to import formats.
6914
6915 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6916
6917         * paragraph.C (asString): Remove XForms RTL hacks.
6918
6919 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6920         * buffer.C: fix typo
6921
6922 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * Makefile.am (LIBS): delete var
6925         (lyx_LDADD): add @LIBS@ here instead.
6926
6927 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6928
6929         * Clarify the meaning of "wheel mouse jump"
6930
6931 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6932
6933         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6934         tabular in a float
6935
6936 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6937
6938         * importer.C (Loaders): do not preallocate 3 elements in the
6939         vector, since one ends up with 6 elements otherwise
6940
6941 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6942
6943         * DepTable.C (write): write the file name as last element of the
6944         .dep file (because it may contain spaces)
6945         (read): read info in the right order
6946
6947 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6948
6949         * paragraph_pimpl.C (simpleTeXBlanks):
6950         (simpleTeXSpecialChars):
6951         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6952
6953         * tabular.C (latex): add some missing case statements. Reindent.
6954
6955         * MenuBackend.C (expandToc): remove unused variable.
6956
6957 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6958
6959         * LColor.C:
6960         * LaTeX.C:
6961         * LyXAction.C:
6962         * MenuBackend.C:
6963         * buffer.C:
6964         * exporter.C:
6965         * lyxfunc.C:
6966         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6967         and the like.
6968
6969 2003-01-05  John Levon  <levon@movementarian.org>
6970
6971         * BufferView.h:
6972         * BufferView.C: add getEncoding()
6973
6974         * kbsequence.h:
6975         * kbsequence.C: do not store last keypress
6976
6977         * lyxfunc.h:
6978         * lyxfunc.C: store last keypress here instead. Pass encoding
6979           to getISOEncoded()
6980
6981 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6982
6983         * lyx_main.C (init): remove annoying error message when following
6984         symbolic links (bug #780)
6985
6986 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6987
6988         * text.C (insertChar):
6989         * lyxrc.C (getDescription): remove extra spaces
6990
6991 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6992
6993         * lyxrc.C (getDescription): remove extra spaces
6994
6995 2002-12-20  John Levon  <levon@movementarian.org>
6996
6997         * text3.C: hack fix for page up/down across tall rows
6998
6999 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7000
7001         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7002         not been invoked
7003
7004 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7005
7006         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7007         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7008         thesaurus is not compiled in
7009
7010 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7011
7012         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7013
7014 2002-12-16  Angus Leeming  <leeming@lyx.org>
7015
7016         * lyxrc.[Ch]:
7017         * lyx_main.C (init): remove override_x_deadkeys stuff.
7018
7019 2002-12-12  John Levon  <levon@movementarian.org>
7020
7021         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7022           insert. Only remove shift modifier under strict
7023           circumstances.
7024
7025 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * MenuBackend.C (expandToc): fix crash.
7028
7029 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * MenuBackend.C (expandToc): gettext on float names.
7032
7033 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7034
7035         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7036         implement bool empty() [bug 490]
7037
7038 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7041
7042 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * several files: ws changes
7045
7046 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * text2.C (setCounter): clean up a bit, use boost.format.
7049         (updateCounters): initialize par upon declaration.
7050
7051         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7052         if the layout exists. We do not just store the layout any more.
7053         (SwitchLayoutsBetweenClasses): use boost.format
7054
7055 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7056
7057         * converter.C (convert): if from and to files are the same, use a
7058         temporary files as intermediary
7059
7060 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7061
7062         * commandtags.h:
7063         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7064
7065 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7066
7067         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7068
7069 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * tabular.C (asciiPrintCell): use string(size, char) instead of
7072         explicit loop.
7073
7074         * sgml.C (openTag): fix order of arguments to string constructor
7075         (closeTag): ditto
7076
7077         * lyxfunc.C (dispatch): use boost.format
7078
7079         * lots of files: change "c" -> 'c'
7080
7081 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7082
7083         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7084
7085 2002-11-25  Angus Leeming  <leeming@lyx.org>
7086
7087         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7088
7089         * lyx_main.C (init): compile fix.
7090
7091 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * lyx_cb.C (start): boost.formatify
7094         do not include <iostream>
7095
7096         * lengthcommon.C: ws only
7097
7098         * boost-inst.C,BoostFormat.h: add more explict instantations
7099
7100 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * lots of files: handle USE_BOOST_FORMAT
7103
7104 2002-11-21  John Levon  <levon@movementarian.org>
7105
7106         * pspell.C: fix compile
7107
7108 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7109
7110         * lyxfunc.C (dispatch): use boost::format
7111         (open): ditto
7112         (doImport): ditto
7113
7114         * lyxfont.C (stateText): use boost::format
7115
7116         * lyx_main.C (LyX): use boost::format
7117         (init): ditto
7118         (queryUserLyXDir): ditto
7119         (readRcFile): ditto
7120         (parse_dbg): ditto
7121         (typedef boost::function): use the recommened syntax.
7122
7123         * importer.C (Import): use boost::format
7124
7125         * debug.C (showLevel): use boost::format
7126
7127         * converter.C (view): use boost::format
7128         (convert): ditto
7129         (move): ditto
7130         (scanLog): ditto
7131
7132         * bufferview_funcs.C (currentState): use boost::format
7133
7134         * bufferlist.C (emergencyWrite): use boost::format
7135
7136         * buffer.C (readLyXformat2): use boost::format
7137         (parseSingleLyXformat2Token): ditto
7138
7139         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7140
7141         * LaTeX.C (run): use boost::format
7142
7143         * Chktex.C (scanLogFile): use boost::format
7144
7145         * BufferView_pimpl.C (savePosition): use boost::format
7146         (restorePosition): ditto
7147         (MenuInsertLyXFile): ditto
7148
7149         * BoostFormat.h: help file for explicit instation.
7150
7151 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7152
7153         * tabular.C (latex): Support for block alignment in fixed width
7154         columns.
7155
7156 2002-11-17  John Levon  <levon@movementarian.org>
7157
7158         * BufferView_pimpl.C:
7159         * lyx_cb.C:
7160         * lyxfunc.C: split filedialog into open/save
7161
7162 2002-11-08  Juergen Vigna  <jug@sad.it>
7163
7164         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7165         by my last patch (hopefully).
7166
7167 2002-11-08  John Levon  <levon@movementarian.org>
7168
7169         * iterators.h:
7170         * iterators.C:
7171         * buffer.h:
7172         * buffer.C:
7173         * paragraph.h:
7174         * paragraph.C:
7175         * toc.h:
7176         * toc.C: ParConstIterator, and use it (from Lars)
7177
7178 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7179
7180         * lyxtextclass.[Ch]: revise and add doxygen comments
7181
7182 2002-11-07  John Levon  <levon@movementarian.org>
7183
7184         * text.C: fix progress value for spellchecker
7185
7186         * toc.C: fix navigate menu for insetwrap inside minipage
7187
7188         * paragraph_funcs.C: added FIXME for suspect code
7189
7190 2002-11-07  John Levon  <levon@movementarian.org>
7191
7192         * BufferView_pimpl.C: fix redrawing of insets
7193           on buffer switch
7194
7195 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7196
7197         * text2.C (updateCounters): fix bug 668
7198
7199 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7200
7201         * text3.C (dispatch): Do not make the buffer dirty when moving the
7202         cursor.
7203
7204 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * vc-backend.C: STRCONV
7207         (scanMaster): ditto
7208
7209         * text2.C (setCounter): STRCONV
7210
7211         * paragraph.C (asString): STRCONV
7212
7213         * lyxlength.C (asString): STRCONV
7214         (asLatexString): ditto
7215
7216         * lyxgluelength.C (asString): STRCONV
7217         (asLatexString): ditto
7218
7219         * lyxfunc.C (dispatch): STRCONV
7220         (open): ditto
7221
7222         * lyxfont.C (stateText): STRCONV
7223
7224         * importer.C (Import): STRCONV
7225
7226         * counters.C (labelItem): STRCONV
7227         (numberLabel): ditto
7228         (numberLabel): remove unused ostringstream o
7229
7230         * chset.C: STRCONV
7231         (loadFile): ditto
7232
7233         * bufferview_funcs.C (currentState): STRCONV
7234
7235         * buffer.C (readFile): STRCONV
7236         (asciiParagraph): ditto
7237         (makeLaTeXFile): ditto
7238
7239         * Spacing.C (writeEnvirBegin): STRCONV
7240
7241         * LaTeXFeatures.C (getLanguages): STRCONV
7242         (getPackages): ditto
7243         (getMacros): ditto
7244         (getBabelOptions): ditto
7245         (getTClassPreamble): ditto
7246         (getLyXSGMLEntities): ditto
7247         (getIncludedFiles): ditto
7248
7249         * LaTeX.C: STRCONV
7250         (run): ditto
7251         (scanAuxFile): ditto
7252         (deplog): ditto
7253
7254         * LString.h: add the STRCONV macros
7255
7256         * BufferView_pimpl.C (savePosition): STRCONV
7257         (restorePosition): ditto
7258         (MenuInsertLyXFile): ditto
7259
7260         * vc-backend.C (scanMaster): change from submatch[...] to
7261         submatch.str(...)
7262
7263         * funcrequest.C: include config.h
7264
7265         * factory.C: include config.h
7266
7267         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7268
7269         * box.C: include config.h
7270
7271         * LaTeX.C (scanAuxFile): change from submatch[...] to
7272         submatch.str(...)
7273         (deplog): ditto
7274
7275 2002-10-25  Angus Leeming  <leeming@lyx.org>
7276
7277         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7278
7279         * ispell.[Ch] (setError): new method.
7280         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7281         Use setError() insetead of goto END.
7282
7283         * lyx_cb.C (AutoSave): move out child process into new class
7284         AutoSaveBuffer.
7285
7286 2002-10-30  John Levon  <levon@movementarian.org>
7287
7288         * text3.C: make start appendix undoable
7289
7290 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7291
7292         * lyxlength.C (inPixels): Fix returned value.
7293
7294         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7295         environment.
7296
7297 2002-10-24  Angus Leeming  <leeming@lyx.org>
7298
7299         * lyxgluelength.h: no need to forward declare BufferParams
7300         or BufferView, so don't.
7301
7302 2002-10-21  John Levon  <levon@movementarian.org>
7303
7304         * BufferView.C: menuUndo ->undo, redo
7305
7306         * BufferView.h: document, remove dead, make some methods private
7307
7308         * paragraph_funcs.h:
7309         * paragraph_funcs.C:
7310         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7311
7312         * buffer.h:
7313         * buffer.C:
7314         * sgml.h:
7315         * sgml.C: move sgml open/close tag into sgml.C
7316
7317         * bufferview_funcs.h: unused prototype
7318
7319         * lyxfunc.h:
7320         * lyxfunc.C: remove unused
7321
7322         * lyxtext.h:
7323         * text.C: remove unused
7324
7325 2002-10-21  John Levon  <levon@movementarian.org>
7326
7327         * BufferView.h:
7328         * BufferView.C:
7329         * BufferView_pimpl.h:
7330         * BufferView_pimpl.C: fix mouse wheel handling based on
7331           patch from Darren Freeman
7332
7333 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7334
7335         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7336
7337 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7338
7339         * lyxlength.C (inPixels): Fix hanfling of negative length.
7340         Fix LyXLength::MU case.
7341
7342 2002-10-16  John Levon  <levon@movementarian.org>
7343
7344         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7345
7346 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7347
7348         * converter.C (view): add support for $$i (file name) and $$p
7349         (file path) for the viewer command. If $$i is not specified, then
7350         it is appended to the command (for compatibility with old syntax)
7351
7352 2002-10-14  Juergen Vigna  <jug@sad.it>
7353
7354         * undo_funcs.C (textHandleUndo): alter the order in which the
7355         new undopar is added to the LyXText, as we have to set first
7356         the right prev/next and then add it as otherwise the rebuild of
7357         LyXText is not correct. Also reset the cursor to the right paragraph,
7358         with this IMO we could remove the hack in "redoParagraphs()".
7359
7360 2002-10-09  Angus Leeming  <leeming@lyx.org>
7361
7362         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7363         to turn off an optimisation if a new inset is to be inserted.
7364
7365 2002-10-11 André Pönitz <poenitz@gmx.net>
7366
7367         * lyxtext.h: make some functions public to allow access
7368         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7369
7370 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7371
7372         * text3.C (dispatch): when changing layout, avoid an infinite loop
7373         [bug #652]
7374
7375 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7376
7377         * lyxrc.C (read): treat a viewer or converter command of "none" as
7378         if it were empty.
7379
7380         * MenuBackend.C (expandFormats): for an update, also allow the
7381         formats that are not viewable
7382
7383         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7384         script if it is newer than the lyxrc.defaults in user directory
7385
7386 2002-10-07 André Pönitz <poenitz@gmx.net>
7387
7388         * text.C: Vitaly Lipatov's small i18n fix
7389
7390 2002-09-25  Angus Leeming  <leeming@lyx.org>
7391
7392         * ispell.h: doxygen fix.
7393
7394 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7395
7396         * buffer.h (readFile): Add a new argument to the method, to allow
7397         reading of old-format templates.
7398
7399 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7400
7401         * toc.C (getTocList): Get TOC from InsetWrap.
7402
7403 2002-09-16  John Levon  <levon@movementarian.org>
7404
7405         * lyxfunc.C: check tabular for cut/copy too
7406
7407 2002-09-12  John Levon  <levon@movementarian.org>
7408
7409         * LyXAction.C: tidy
7410
7411         * factory.h:
7412         * factory.C: add header
7413
7414         * paragraph_funcs.h:
7415         * paragraph_funcs.C: cleanup
7416
7417 2002-09-11  John Levon  <levon@movementarian.org>
7418
7419         * PrinterParams.h: odd/even default to true
7420
7421 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7422
7423         * PrinterParams.h: update printer parameters for new xforms dialog
7424
7425 2002-09-11  Angus Leeming  <leeming@lyx.org>
7426
7427         * lyxserver.C (read_ready): re-write to make it more transparent
7428         and to make it work in coherent fashion under Tru64 Unix.
7429
7430 2002-09-11  André Pönitz <poenitz@gmx.net>
7431
7432         * commandtags.h:
7433         * LyXAction.C:
7434         * text3.C: implement LFUN_WORDSEL
7435
7436 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7439         make floatlist_ a boost::shared_ptr<FloatList>
7440
7441         * lyxtextclass.C: include FloatList.h
7442         (LyXTextClass): initialize floatlist_
7443         (TextClassTags): add TC_NOFLOAT
7444         (Read): match "nofloat" to TC_NOFLOAT and use it.
7445         (readFloat): modify call to floatlist_
7446         (floats): ditto
7447         (floats): ditto
7448
7449         * FloatList.[Ch] (FloatList): remove commented out float
7450         initialization.
7451         (erase): new function
7452
7453 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7454
7455         * MenuBackend.C (expandToc): fix crash when there is no document
7456         open
7457
7458 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7459
7460         * many files: Add insetwrap.
7461
7462 2002-09-09  John Levon  <levon@movementarian.org>
7463
7464         * text2.C: remove confusing and awkward depth wraparound
7465
7466 2002-09-09  John Levon  <levon@movementarian.org>
7467
7468         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7469
7470         * buffer.h:
7471         * buffer.C: remove getIncludeonlyList()
7472
7473         * paragraph.C:
7474         * lyxfunc.C: remove headers
7475
7476 2002-09-09  Juergen Vigna  <jug@sad.it>
7477
7478         * text.C (getColumnNearX): fix form Michael this is most
7479         probably a cut&paste bug.
7480
7481 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7484
7485         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7486         references, ws changes.
7487
7488         * text2.C (init): update counters after init
7489         (insertParagraph): no need to set counter on idividual paragraphs.
7490         (setCounter): access the counters object in the textclass object
7491         on in the buffer object.
7492         (updateCounters): ditto
7493
7494         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7495         shared_ptr<Counters> to avoid loading counters.h in all
7496         compilation units.
7497         (LyXTextClass): initialize ctrs_
7498         (TextClassTags): add TC_COUNTER, and ...
7499         (Read): use it here.
7500         (CounterTags): new tags
7501         (readCounter): new function
7502         (counters): new funtion
7503         (defaultLayoutName): return a const reference
7504
7505         * counters.C (Counters): remove contructor
7506         (newCounter): remove a couple of unneeded statements.
7507         (newCounter): simplify a bit.
7508         (numberLabel): some small formatting changes.
7509
7510         * buffer.[Ch]: remove all traces of counters, move the Counters
7511         object to the LyXTextClass.
7512
7513 2002-09-06  Alain Castera  <castera@in2p3.fr>
7514
7515         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7516         package to set the horizontal alignment on fixed width columns.
7517
7518         * lyx_sty.C:
7519         * lyx_sty.h: added tabularnewline macro def.
7520
7521         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7522
7523 2002-09-06  John Levon  <levon@movementarian.org>
7524
7525         * LyXAction.C: tooltips for sub/superscript
7526
7527         * MenuBackend.C: a bit more verbose
7528
7529         * lyxfunc.C: tiny clean
7530
7531         * undo_funcs.C: document undo_frozen
7532
7533 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * counters.C (Counters): add missing algorithm counter.
7536
7537         * text2.C (setCounter): lookup the counter with layouts latexname
7538         instead of by section number.
7539         (setCounter): use a hackish way to lookup the correct enum
7540         counter.
7541         a float name->type change
7542         reset enum couners with counter name directly instead of depth value.
7543
7544         * counters.C (Counters): remove the push_backs, change to use the
7545         float type not the float name.
7546         (labelItem): remove unused string, float name->type change
7547
7548         * counters.h: don't include vector, loose the enums and sects vectors
7549
7550 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7553         (Read): add float->TC_FLOAT to textclassTags
7554         (Read): and handle it in the switch
7555         (readFloat): new function
7556
7557         * FloatList.C (FloatList): comment out the hardcoded float
7558         definitions.
7559
7560         * lyxlayout.h: ws change.
7561
7562 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7565
7566 2002-09-03  Angus Leeming  <leeming@lyx.org>
7567
7568         * BufferView_pimpl.h: qualified name is not allowed in member
7569         declaration: WorkArea & Pimpl::workarea() const;
7570
7571         * factory.C: added using std::endl directive.
7572
7573         * text3.C: added using std::find and std::vector directives.
7574
7575 2002-08-29  André Pönitz <poenitz@gmx.net>
7576
7577         * lyxtext.h:
7578         * text2.C: remove unused member number_of_rows
7579
7580         * Makefile.am:
7581         * BufferView2.C: remove file, move contents to...
7582         * BufferView.C: ... here
7583
7584         * BufferView_pimpl.C:
7585         * factory.C: move more inset creation to factory
7586
7587         * vspace.C: avoid direct usage of LyXText, ws changes
7588
7589         * BufferView.[Ch]:
7590                 don't provide direct access to WorkArea, use two simple
7591                 acessors haveSelction() and workHeight() instead
7592
7593
7594 2002-08-29  John Levon  <levon@movementarian.org>
7595
7596         * BufferView_pimpl.C (dispatch): do not continue when
7597           no buffer
7598
7599 2002-08-28  André Pönitz <poenitz@gmx.net>
7600
7601         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7602
7603         * BufferView.h:
7604         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7605
7606 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7607
7608         * buffer.C: increment LYX_FORMAT to 221
7609
7610         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7611         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7612
7613         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7614
7615         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7616
7617 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7618
7619         * factory.C (createInset): use LyXTextClass::floats
7620
7621         * MenuBackend.C (expandFloatListInsert):
7622         (expandFloatInsert):
7623         (expandToc):
7624
7625         * text2.C (setCounter):
7626
7627         * LaTeXFeatures.C (useFloat):
7628         (getFloatDefinitions):
7629
7630         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7631
7632         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7633         floatlist_, with accessor floats().
7634
7635         * FloatList.h: remove global FloatList
7636
7637 2002-08-26  André Pönitz <poenitz@gmx.net>
7638
7639         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7640
7641         * BufferView.h:
7642         * BufferView2.C:
7643         * BufferView_pimpl.C:
7644         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7645
7646 2002-08-25  John Levon  <levon@movementarian.org>
7647
7648         * LyXAction.C: fix margin note description
7649
7650 2002-08-24  John Levon  <levon@movementarian.org>
7651
7652         * buffer.C:
7653         * bufferlist.C:
7654         * bufferview_funcs.C:
7655         * lyxfont.C:
7656         * undo_funcs.C: cleanups
7657
7658         * lyxfunc.C: disable CUT/COPY when no selection
7659
7660 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7661
7662         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7663         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7664
7665         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7666         Add backward compatibility to "mono", "gray" and "no".
7667
7668 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7669
7670         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7671         (and file_format >= 200).
7672
7673 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7676
7677 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7678
7679         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7680
7681 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7682
7683         * BufferView_pimpl.C:
7684         * LyXAction.C:
7685         * buffer.C:
7686         * commandtags.h:
7687         * lyxfunc.C:
7688         * paragraph.[Ch]:
7689         * text2.C:
7690         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7691         inset and code to make it  work with the paragraph code. The inset
7692         can be anywhere in the paragraph, but will only do the expected
7693         thing in LaTeX if the layout file contains the parameter line
7694                         OptionalArgs    1
7695         (or more generally, a nonzero value) for that layout.
7696
7697 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * paragraph.h: remove the declaration of undefined counters class
7700         function.
7701
7702 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7703
7704         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7705         Dr. Richard Hawkins.
7706
7707 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7708
7709         * paragraph_funcs.h: remove some unneeded includes
7710
7711         * text.C (backspace): pasteParagraph now in global scipe
7712
7713         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7714         (pasteSelection): ditto
7715
7716         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7717         * paragraph_funcs.C (pasteParagraph): ... here
7718
7719 2002-08-20  André Pönitz <poenitz@gmx.net>
7720
7721         * commandtags.h: new LFUNs for swapping/copying table row/colums
7722
7723         * LyXAction.C:
7724         * lyxfunc.C: support for new lfuns
7725
7726 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * tabular.C:
7729         * buffer.[Ch]: remove NO_COMPABILITY stuff
7730
7731 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * boost.C (throw_exception): new file, with helper function for
7734         boost compiled without exceptions.
7735
7736         * paragraph.h:
7737         * lyxlength.C:
7738         * buffer.C:
7739         * ParameterStruct.h:
7740         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7741
7742         * bufferlist.C (emergencyWriteAll): use boost bind
7743
7744         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7745
7746         * text.C: include paragraph_funcs.h
7747         (breakParagraph): breakParagraph is now in global scope
7748
7749         * paragraph_funcs.[Ch]: new files
7750
7751         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7752         global scope
7753
7754         * buffer.C: include paragraph_funcs.h
7755         (insertStringAsLines): breakParagraph is now in global scope
7756
7757         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7758         paragraph_funcs.C
7759
7760         * CutAndPaste.C: include paragraph_funcs.h
7761         (cutSelection): breakParagraphConservative is now in global scope
7762         (pasteSelection): ditto
7763
7764         * buffer.h: declare oprator== and operator!= for
7765         Buffer::inset_iterator
7766
7767         * bufferlist.C (emergencyWrite): don't use fmt(...)
7768
7769         * text3.C: add using std::endl
7770
7771         * BufferView.C (moveCursorUpdate): remove default arg
7772
7773 2002-08-20  André Pönitz <poenitz@gmx.net>
7774
7775         * buffer.[Ch]: move inline functions to .C
7776
7777         * BufferView2.C:
7778         * BufferView_pimpl.C:
7779         * text.C:
7780         * buffer.[Ch]: use improved inset_iterator
7781
7782         * buffer.C:
7783         * paragraph.[Ch]: write one paragraph at a time
7784
7785 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7786
7787         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7788         style if style is not specified.
7789
7790 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7791
7792         * text2.C (setCounter): when searching for right label for a
7793         caption, make sure to recurse to parent insets (so that a caption
7794         in a minipage in a figure float works) (bug #568)
7795
7796 2002-08-20  André Pönitz <poenitz@gmx.net>
7797
7798         * text3.C: new file for LyXText::dispatch() and helpers
7799
7800         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7801
7802         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7803
7804 2002-08-19  André Pönitz <poenitz@gmx.net>
7805
7806         * lyxtext.h:
7807         * text.C: new LyXText::dispatch()
7808
7809         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7810
7811 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7812
7813         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7814
7815         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7816         Hebrew text.
7817
7818 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * Makefile.am: use $(variables) instead of @substitutions@
7821
7822 2002-08-15  André Pönitz <poenitz@gmx.net>
7823
7824         * lyxfunc.C:
7825         * BufferView_pimpl.C: streamlining mathed <-> outer world
7826         interaction
7827
7828         * commandtags.h:
7829         * LyXAction.C: remove unused LFUN_MATH
7830
7831 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7834
7835 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7836
7837         * paragraph.C (Paragraph): reformat a bit
7838         (cutIntoMinibuffer): use builtin InsetList function instad of
7839         doing it manually.
7840         (getInset): ditto
7841
7842         * buffer.C: include boost/bind.hpp, add using std::for_each
7843         (writeFileAscii): use ParagraphList iterators
7844         (validate): use for_each for validate traversal of paragraphs
7845         (getBibkeyList): use ParagraphList iterators
7846         (resizeInsets): use for_each to resizeInsetsLyXText for all
7847         paragraphs.
7848         (getParFromID): use ParagraphList iterators
7849
7850         * BufferView2.C (lockInset): use paragraph list and iterators
7851
7852 2002-08-14  John Levon  <levon@movementarian.org>
7853
7854         * lyxserver.C: remove spurious xforms include
7855
7856 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7857
7858         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7859
7860 2002-08-13  André Pönitz <poenitz@gmx.net>
7861
7862         * LyXAction.[Ch]:
7863         * lyxfunc.C: further cleaning
7864
7865 2002-08-13  André Pönitz <poenitz@gmx.net>
7866
7867         * funcrequest.h: new constructor
7868
7869         * funcrequest.C: move stuff here from .h
7870
7871         * Makefile.am:
7872         * BufferView_pimpl.C:
7873         * LyXAction.C:
7874         * toc.C:
7875         * lyxfunc.C: subsequent changes
7876
7877         * lyxfunc.h: new view() member function
7878
7879         * lyxfunc.C: subsequent changes
7880
7881 2002-08-13  Angus Leeming  <leeming@lyx.org>
7882
7883         * BufferView2.C:
7884         * BufferView_pimpl.C:
7885         * buffer.C:
7886         * converter.C:
7887         * importer.C:
7888         * lyxfunc.C:
7889         * lyxvc.C:
7890         * toc.C:
7891         * vc-backend.C:
7892         changes due to the changed LyXView interface that now returns references
7893         to member variables not pointers.
7894
7895 2002-08-13  Angus Leeming  <leeming@lyx.org>
7896
7897         * WordLangTuple (word, lang_code): return references to strings,
7898         not strings.
7899
7900         * BufferView.h:
7901         * SpellBase.h:
7902         * lyxtext.h: forward-declare WordLangTuple.
7903
7904         * BufferView2.C:
7905         * ispell.C:
7906         * pspell.C:
7907         * text.C: #include "WordLangTuple.h".
7908
7909         * lyxtext.h:
7910         * text.C: (selectNextWordToSpellcheck): constify return type.
7911
7912 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7913
7914         * buffer.C:
7915         * buffer.h:
7916         * lyxtext.h:
7917         * paragraph.C:
7918         * paragraph_pimpl.h:
7919         * text.C:
7920         * text2.C:
7921         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7922         suggested by Angus.
7923         Made updateCounter always count from start of buffer, and removed
7924         second argument (par).
7925         Reverted floats number display to '#'. Perhaps I'll try again when the
7926         code base is sanitized a bit.
7927
7928 2002-08-12  Angus Leeming  <leeming@lyx.org>
7929
7930         * buffer.[Ch] (getLabelList): constify.
7931
7932 2002-08-07  André Pönitz <poenitz@gmx.net>
7933
7934         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7935
7936         * funcrequest.h: extension to keep mouse (x,y) position
7937
7938 2002-08-12  Juergen Vigna  <jug@sad.it>
7939
7940         * BufferView2.C (insertErrors): forbid undo when inserting error
7941         insets.
7942
7943         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7944
7945 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7946
7947         * ParagraphList.[Ch]: new files
7948
7949         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7950
7951         * BufferView2.C (lockInset): ParagraphList changes
7952         * toc.C: ditto
7953         * text2.C: ditto
7954         * bufferlist.C: ditto
7955         * buffer.h: ditto
7956         * buffer.C: ditto
7957
7958 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7961         unused class variable counter_,
7962
7963         * paragraph.[Ch] (getFirstCounter): delete unused function
7964
7965         * counters.C: include LAssert.h
7966         (reset): add a new function with no arg, change other version to
7967         not have def. arg and to not allow empty arg.
7968
7969         * text2.C (setCounter): remove empty arg from call to Counters::reset
7970
7971 2002-08-11  John Levon  <levon@movementarian.org>
7972
7973         * Makefile.am: add WordLangTuple.h
7974
7975 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7978         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7979
7980         * insets/insettext.C: InsetList changes
7981
7982         * graphics/GraphicsSupport.C (operator()): InsetList changes
7983
7984         * toc.C (getTocList): InsetList changes
7985
7986         * paragraph_pimpl.[Ch]: InsetList changes
7987
7988         * paragraph.[Ch]: InsetList changes
7989
7990         * buffer.C (inset_iterator): InsetList changes
7991         (setParagraph): ditto
7992         * buffer.h (inset_iterator): ditto
7993         * iterators.C (operator++): ditto
7994         * iterators.h: ditto
7995
7996         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7997
7998         * InsetList.[Ch]: new files, most InsetList handling moved out of
7999         paragraph.C.
8000
8001         * BufferView2.C (removeAutoInsets): InsetList changes
8002         (lockInset): ditto
8003         (ChangeInsets): ditto
8004
8005 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * paragraph_pimpl.h (empty): new function
8008
8009         * paragraph.[Ch] (empty): new function
8010
8011         * other files: use the new Paragraph::empty function
8012
8013 2002-08-09  John Levon  <levon@movementarian.org>
8014
8015         * lyxtext.h: remove unused refresh_height
8016
8017 2002-08-09  John Levon  <levon@movementarian.org>
8018
8019         * Makefile.am:
8020         * sgml.h:
8021         * sgml.C:
8022         * buffer.C:
8023         * paragraph.h:
8024         * paragraph.C: move sgml char escaping out of paragraph
8025
8026         * paragraph.h:
8027         * paragraph.C: remove id setter
8028
8029         * buffer.C:
8030         * paragraph.C:
8031         * paragraph_pimpl.C: remove dead tex_code_break_column
8032
8033         * bufferview_funcs.C: small cleanup
8034
8035         * lyxfunc.C: remove dead proto
8036
8037         * lyxtext.h: make some stuff private. Remove some dead stuff.
8038
8039         * lyxgluelength.C: make as[LyX]String() readable
8040
8041 2002-08-08  John Levon  <levon@movementarian.org>
8042
8043         * LyXAction.h:
8044         * LyXAction.C:
8045         * MenuBackend.C:
8046         * ToolbarDefaults.C:
8047         * lyxfunc.C:
8048         * lyxrc.C:
8049         * toc.C: lyxaction cleanup
8050
8051 2002-08-08  John Levon  <levon@movementarian.org>
8052
8053         * BufferView2.C: small cleanup
8054
8055         * lyxfind.h:
8056         * lyxfind.C: move unnecessary header into the .C
8057
8058 2002-08-08  John Levon  <levon@movementarian.org>
8059
8060         * funcrequest.h: just tedious nonsense
8061
8062         * lyx_main.h:
8063         * lyx_main.C: cleanups
8064
8065         * buffer.C:
8066         * vspace.C: remove dead header lyx_main.h
8067
8068 2002-08-07  Angus Leeming  <leeming@lyx.org>
8069
8070         * Paragraph.[Ch]:
8071         * paragraph_pimpl.h:
8072         Forward declare class Counters in paragraph.h by moving the ctrs member
8073         variable into Paragraph::Pimpl.
8074         (counters): new method, returning a reference to pimpl_->ctrs.
8075
8076         * text2.C: ensuing changes.
8077
8078 2002-08-07  John Levon  <levon@movementarian.org>
8079
8080         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8081
8082         * BufferView_pimpl.C: announce X selection on double/triple
8083           click
8084
8085         * lyx_main.C: use correct bool in batch dispatch
8086
8087         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8088
8089 2002-08-07  André Pönitz <poenitz@gmx.net>
8090
8091         * funcrequest.h: new class to wrap a kb_action and its argument
8092
8093         * BufferView.[Ch]:
8094         * BufferView_pimpl[Ch]:
8095         * LaTeX.C:
8096         * LyXAction.[Ch]:
8097         * lyxfunc.[Ch]:
8098         * lyxrc.C: subsequent changes
8099
8100
8101 2002-08-07  John Levon  <levon@movementarian.org>
8102
8103         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8104           document options change.
8105
8106 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8107
8108         * counters.[Ch]
8109         * text2.C
8110         * paragraph.[Ch]
8111         * makefile.am: move counters functionality over from
8112         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8113
8114 2002-08-06  John Levon  <levon@movementarian.org>
8115
8116         * WordLangTuple.h: new file for word + language code tuple
8117
8118         * SpellBase.h:
8119         * pspell.h:
8120         * pspell.C:
8121         * ispell.h:
8122         * ispell.C:
8123         * lyxtext.h:
8124         * text.C:
8125         * text2.C:
8126         * BufferView.h:
8127         * BufferView2.C: use WordLangTuple
8128
8129         * layout.h:
8130         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8131
8132 2002-08-06  John Levon  <levon@movementarian.org>
8133
8134         * lyx_main.C: fix cmdline batch handling
8135
8136 2002-08-06  André Pönitz <poenitz@gmx.net>
8137
8138         * lyxrc.C: set default for show_banner to true
8139
8140 2002-08-06  John Levon  <levon@movementarian.org>
8141
8142         * pspell.C: fix a crash, and allow new aspell to work
8143
8144 2002-08-06  John Levon  <levon@movementarian.org>
8145
8146         * lyxfunc.C:
8147         * kbmap.C: small cleanup
8148
8149         * vspace.h:
8150         * vspace.C: add const
8151
8152 2002-08-05  John Levon  <levon@movementarian.org>
8153
8154         * LyXAction.C: back to tabular-insert
8155
8156 2002-08-04  John Levon  <levon@movementarian.org>
8157
8158         * BufferView.h:
8159         * BufferView.C: cosmetic change
8160
8161         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8162
8163         * bufferlist.C:
8164         * buffer.h:
8165         * buffer.C:
8166         * lyxcb.h:
8167         * lyxcb.C:
8168         * lyxserver.C:
8169         * lyxvc.C:
8170         * vc-backend.C:
8171         * BufferView2.C: purge all "Lyx" not "LyX" strings
8172
8173         * lyxcursor.h:
8174         * lyxcursor.C: attempt to add some documentation
8175
8176         * lyxfunc.C:
8177         * commandtags.h:
8178         * LyXAction.C:
8179         * ToolbarDefaults.C:
8180         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8181           merge with LFUN_TABULAR_INSERT
8182
8183         * Makefile.am:
8184         * SpellBase.h:
8185         * ispell.h:
8186         * ispell.C:
8187         * pspell.h:
8188         * pspell.C: split up i/pspell implementations into separate
8189           files, many cleanups
8190
8191         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8192
8193         * text2.C: some cleanup
8194
8195         * lyxfunc.C: don't check for isp_command == "none" any more, it
8196           didn't make any sense
8197
8198 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8199
8200         * counters.[Ch]
8201         * text2.C
8202         * paragraph.[Ch]
8203         * makefile.am: move counters functionality over
8204         from text2.C/paragraph.[Ch] to counters.[Ch], and
8205         make proper C++.
8206 2002-08-02  John Levon  <levon@movementarian.org>
8207
8208         * buffer.C: s/lyxconvert/lyx2lyx/
8209
8210 2002-08-02  Angus Leeming  <leeming@lyx.org>
8211
8212         * lyxlex.C: revert John's change as it breaks reading of the user
8213         preamble.
8214
8215 2002-08-02  Angus Leeming  <leeming@lyx.org>
8216
8217         * importer.C (Import):
8218         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8219         changes due to LyXView::view() now returning a boost::shared_ptr.
8220
8221 2002-08-02  John Levon  <levon@movementarian.org>
8222
8223         * lyxlex.C: small cleanup
8224
8225 2002-08-02  John Levon  <levon@movementarian.org>
8226
8227         * text2.C (status): small cleanup, no logic change
8228
8229 2002-08-01  John Levon  <levon@movementarian.org>
8230
8231         * buffer.h:
8232         * buffer.C (writeFile): don't output alerts, caller
8233           handles this
8234
8235         * bufferlist.C:
8236         * lyx_cb.C: from above
8237
8238         * lyxfunc.C: allow to open non-existent files
8239
8240 2002-07-31  John Levon  <levon@movementarian.org>
8241
8242         * lyxserver.C: don't let incidental errors get
8243           in the way (errno)
8244
8245 2002-07-30  John Levon  <levon@movementarian.org>
8246
8247         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8248
8249 2002-07-30  John Levon  <levon@movementarian.org>
8250
8251         * lyxserver.h:
8252         * lyxserver.C: remove I/O callback too
8253
8254 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8255
8256         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8257         log.
8258
8259 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8260
8261         * many files: strip,frontStrip -> trim,ltrim,rtrim
8262
8263 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * PrinterParams.h: remove extern containsOnly, and include
8266         support/lstrings.h instead.
8267
8268         * LaTeX.C (scanAuxFile): modify because of strip changes
8269         (deplog): ditto
8270         * buffer.C (makeLaTeXFile): ditto
8271         * bufferparams.C (writeFile): ditt
8272         * lyxfont.C (stateText): ditto
8273         * lyxserver.C (read_ready): ditto
8274         * vc-backend.C (scanMaster): ditto
8275
8276         * BufferView_pimpl.h: ws changes
8277
8278         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8279
8280 2002-07-26  André Pönitz <poenitz@gmx.net>
8281
8282         * kb_sequence.C: remove unnedred usings
8283
8284 2002-07-26  Juergen Vigna  <jug@sad.it>
8285
8286         * lyxfind.C (LyXReplace): we have to check better if the returned
8287         text is not of theLockingInset()->getLockingInset().
8288
8289 2002-07-25  Juergen Vigna  <jug@sad.it>
8290
8291         * lyxfind.C (LyXReplace): don't replace if we don't get the
8292         right LyXText.
8293
8294         * undo_funcs.C (createUndo): remove debugging code.
8295
8296 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8297
8298         * buffer.C (parseSingleLyXformat2Token): Use default placement
8299         when reading old floats.
8300
8301         * FloatList.C (FloatList): Change the default placement of figure
8302         and tables to "tbp".
8303
8304 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8305
8306         * MenuBackend.C: using std::max
8307
8308 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8309
8310         * MenuBackend.C (expandToc):
8311         (expandToc2): code moved from xforms menu frontend. It is now
8312         generic and TOCs are transparent to menu frontends.
8313
8314 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8315
8316         * toc.C (getTocList): protect against buf=0
8317
8318         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8319         Menu as first parameter. Now, this calls itself recursively to
8320         expand a whole tree (this will be useful for TOC handling)
8321         (expandFloatInsert): remove 'wide' version of floats
8322
8323         * MenuBackend.h (submenuname): returns the name of the submenu.
8324         (submenu): returns the submenu itself, provided it has been
8325         created by MenuBackend::expand
8326
8327 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8328
8329         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8330         insets which have noFontChange == true. (bug #172)
8331
8332 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8333
8334         * BufferView_pimpl.C: add connection objects and use them...
8335         (Pimpl): here.
8336
8337 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * MenuBackend.C (expandLastfiles):
8340         (expandDocuments):
8341         (expandFormats):
8342         (expandFloatListInsert):
8343         (expandFloatInsert):
8344         (expand): split expand in parts
8345
8346 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8347
8348         * lyx_gui.C: use lyx_gui::exit()
8349
8350 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * LyXAction.C: show the failing pseudo action
8353
8354 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8355
8356         * buffer.C (readFile): Run the lyxconvert script in order to read
8357         old files.
8358
8359 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * LyXAction.C:
8362         * commandtags.h:
8363         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8364
8365 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * LyXAction.C:
8368         * commandtags.h:
8369         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8370
8371 2002-07-22  Herbert Voss  <voss@lyx.org>
8372
8373         * lengthcommon.C:
8374         * lyxlength.[Ch]: add support for the vertical lengths
8375
8376 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * toc.[Ch]: std:: fixes
8379
8380 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8381
8382         * lyxrc.C: do not include lyx_main.h
8383
8384         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8385         for layouts
8386
8387         * lyxrc.C:
8388         * encoding.C:
8389         * bufferlist.C:
8390         * BufferView2.C: include "lyxlex.h"
8391
8392         * tabular.h:
8393         * bufferparams.h: do not #include "lyxlex.h"
8394
8395         * lyxtextclasslist.C (Add): remove method
8396         (classlist): renamed to classlist_
8397
8398         * paragraph_pimpl.C:
8399         * paragraph.C:
8400         * text2.C:
8401         * CutAndPaste.C:
8402         * bufferview_funcs.C:
8403         * bufferlist.C:
8404         * text.C:
8405         * LaTeXFeatures.C:
8406         * buffer.C:
8407         * toc.C (getTocList): use BufferParams::getLyXTextClass
8408
8409         * toc.C (getTocList): use InsetFloat::addToToc
8410
8411         * toc.[Ch]: new files, containing helper functions to handle table
8412         of contents
8413
8414         * lyxfunc.C (dispatch): no need to remove spaces around command
8415         given as a string
8416         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8417         first command of the sequence; it is not very clever, but I do not
8418         have a better idea, actually
8419
8420         * LyXAction.C (LookupFunc): make sure to remove space at the
8421         beginning and end of the command
8422
8423 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * MenuBackend.C (getMenubar): new method: return the menubar of
8426         this menu set
8427         (read): treat differently reading of menu and menubar (in
8428         particular, the menubar has no name now)
8429         (Menu::menubar): remove
8430
8431         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8432         saving is finished
8433
8434 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8435
8436         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8437         a bibitem inset in a RTL paragraph.
8438
8439 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8440
8441         * paragraph_pimpl.C: constify
8442
8443         * BufferView_pimpl.C:
8444         * LaTeX.C:
8445         * lyxfunc.C: fix dispatch in a nicer way
8446
8447 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * lyxfunc.C (dispatch):
8450         * BufferView_pimpl.C:
8451         * BufferView_pimpl.h:
8452         * BufferView.C:
8453         * BufferView.h: rename Dispatch() to dispatch()
8454
8455         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8456
8457         * lyxlayout.C (Read): honor DependsOn tag
8458
8459         * lyxlayout.[Ch] (depends_on): new method
8460
8461         * version.C.in: update lyx_docversion
8462
8463         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8464
8465         * paragraph.C (validate): remove from here...
8466         * paragraph_pimpl.C (validate): ... and move here
8467         (isTextAt): make it const
8468
8469         * buffer.C (getLists): ws cleanup
8470
8471 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8472
8473         * language.C (read): Use iso8859-1 encoding in latex_lang
8474         (this prevents LyX from crashing when using iso10646-1 encoding).
8475
8476 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * text2.C (toggleInset): if cursor is inside an inset, close the
8479         inset and leave cursor _after_ it
8480
8481 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8482
8483         * lyxfunc.C: move minibuffer completion handling out of here
8484
8485 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8486
8487         * BufferView_pimpl.C:
8488         * LaTeX.C: fix dispatch calls
8489
8490 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8491
8492         * text.C (drawChars): Fix Arabic text rendering.
8493
8494 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8495
8496         * LyXAction.C:
8497         * commandtags.h:
8498         * lyxfunc.C: remove message-push/pop
8499
8500         * lyxserver.C:
8501         * lyxfunc.h:
8502         * lyxfunc.C: rationalise some code by removing verboseDispatch
8503           in favour of a bool argument to dispatch()
8504
8505 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8506
8507         * lyx_main.C (init): make sure to read symlinks as absolute paths
8508
8509 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * lyxfunc.h:
8512         * lyxfunc.C: no need for commandshortcut to be a member
8513
8514 2002-07-15  André Pönitz <poenitz@gmx.net>
8515
8516         * converter.C: add support for $$s (scripts from lib/scripts dir)
8517         * lyx_main.C: white space
8518
8519 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8520
8521         * bufferlist.C:
8522         * lyxrc.h:
8523         * lyxrc.C: remove second exit confirmation
8524
8525 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * BufferView.h:
8528         * BufferView.C:
8529         * BufferView2.C:
8530         * BufferView_pimpl.h:
8531         * BufferView_pimpl.C:
8532         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8533
8534 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * MenuBackend.C (expand): add numeric shortcuts to document menu
8537
8538         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8539
8540 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * lyxfont.C (setLyXFamily):
8543         (setLyXSeries):
8544         (setLyXShape):
8545         (setLyXSize):
8546         (setLyXMisc):
8547         (lyxRead):
8548         * debug.C (value):
8549         * buffer.C (asciiParagraph): use ascii_lowercase
8550
8551 2002-07-15  Mike Fabian  <mfabian@suse.de>
8552
8553         * lyxlex_pimpl.C (search_kw):
8554         * lyxlex.C (getLongString):
8555         * converter.h (operator<):
8556         * converter.C (operator<):
8557         * buffer.C (parseSingleLyXformat2Token):
8558         (asciiParagraph):
8559         * ToolbarDefaults.C (read):
8560         * MenuBackend.C (checkShortcuts):
8561         (read):
8562         * LColor.C (getFromGUIName):
8563         (getFromLyXName): use the compare_ascii_no_case instead of
8564         compare_no_case, because in turkish, 'i' is not the lowercase
8565         version of 'I', and thus turkish locale breaks parsing of tags.
8566
8567 2002-07-16  Angus Leeming  <leeming@lyx.org>
8568
8569         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8570         now takes a Buffer const & argument.
8571
8572 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8573
8574         * BufferView.C (resize): check there's a buffer to resize
8575
8576 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * lyxfunc.C: remove dead code
8579
8580         * lyxserver.h:
8581         * lyxserver.C: use lyx_guii::set_read_callback
8582
8583 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8586         an inset in a RTL paragraph.
8587
8588 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8589
8590         * lyxfunc.C: repaint after a font size update
8591
8592 2002-07-15  André Pönitz <poenitz@gmx.net>
8593
8594         * lyxlength.C: inBP should be able to return negative values
8595
8596 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * lyxfunc.C: use lyx_gui::update_fonts()
8599
8600 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * lyxfunc.C: use lyx_gui::update_color()
8603
8604 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * bufferlist.C:
8607         * lyxfunc.h:
8608         * lyxfunc.C:
8609         * lyxrc.h:
8610         * lyxrc.C: remove file->new asks for name option, and let
8611           buffer-new take an argument
8612
8613 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8614
8615         * BufferView_pimpl.C: remove unneeded extra repaint()
8616
8617 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * LyXAction.C: allow command-sequence with NoBuffer
8620
8621         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8622
8623 2002-07-10  Angus Leeming  <leeming@lyx.org>
8624
8625         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8626
8627 2002-07-09  Angus Leeming  <leeming@lyx.org>
8628
8629         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8630
8631 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * lengthcommon.h: whitespace
8634
8635         * lyxfunc.C: update scrollbar after goto paragraph
8636
8637         * lyxtext.h: factor out page break drawing, and fix it so
8638           page break/added space paints as selected nicely
8639
8640 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * BufferView_pimpl.C: add FIXMEs, clean up a little
8643
8644 2002-07-09  André Pönitz <poenitz@gmx.net>
8645
8646         * lyxfont.[Ch]: support for wasy symbols
8647
8648 2002-07-08  André Pönitz <poenitz@gmx.net>
8649
8650         * BufferView_pimpl.C: apply John's patch for #93.
8651
8652 2002-07-05  Angus Leeming  <leeming@lyx.org>
8653
8654         * BufferView_pimpl.C (buffer): generate previews if desired.
8655
8656         * LColor.h: add "preview" to the color enum.
8657
8658         * LColor.C (LColor): add a corresponding entry to the items array.
8659
8660         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8661         with this buffer.
8662
8663 2002-07-05  Angus Leeming  <leeming@lyx.org>
8664
8665         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8666         The body of the code is now in the method that is passed an ostream &
8667         rather than a file name.
8668         Pass an additional only_preamble parameter, useful for the forthcoming
8669         preview stuff.
8670
8671 2002-07-03  André Pönitz <poenitz@gmx.net>
8672
8673         * lyxfunc.C: simplify getStatus() a bit for math stuff
8674
8675 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8676
8677         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8678
8679 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * text.C (changeRegionCase): do not change case of all the
8682         document when region ends at paragraph end (bug #461)
8683
8684 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8685
8686         * paragraph.C (startTeXParParams):
8687         (endTeXParParams): add \protect when necessary
8688
8689 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8690
8691         * BufferView_pimpl.C (workAreaExpose): remove warning
8692
8693 2002-06-27  Angus Leeming  <leeming@lyx.org>
8694
8695         * Makefile.am: add lyxlayout_ptr_fwd.h.
8696
8697 2002-06-26  André Pönitz <poenitz@gmx.net>
8698
8699         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8700
8701 2002-06-25  Angus Leeming  <leeming@lyx.org>
8702
8703         * lyxfunc.C (dispatch): Comment out the call to
8704         grfx::GCache::changeDisplay. The method no longer exists now that the
8705         pixmap generation part of the graphics loader has been moved into
8706         InsetGraphics.
8707
8708 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8709
8710         * text2.C: layout as layout
8711
8712         * text.C: layout as layout
8713
8714         * tabular.C (OldFormatRead): layout as layout
8715
8716         * paragraph_pimpl.C (TeXDeeper): layout as layout
8717         (realizeFont): layout as layout
8718
8719         * paragraph.C (writeFile): layout as layout
8720         (validate): layout as layout
8721         (getFont): layout as layout
8722         (getLabelFont): layout as layout
8723         (getLayoutFont): layout as layout
8724         (breakParagraph): layout as layout
8725         (stripLeadingSpaces): layout as layout
8726         (getEndLabel): layout as layout
8727         (getMaxDepthAfter): layout as layout
8728         (applyLayout): layout as layout
8729         (TeXOnePar): layout as layout
8730         (simpleTeXOnePar): layout as layout
8731         (TeXEnvironment): layout as layout
8732         (layout): layout as layout
8733         (layout): layout as layout
8734
8735         * lyxtextclass.C (compare_name): new functor to work with
8736         shared_ptr, layout as layout
8737         (Read): layout as layout
8738         (hasLayout): layout as layout
8739         (operator): layout as layout
8740         (delete_layout): layout as layout
8741         (defaultLayout): layout as layout
8742
8743         * lyxlayout_ptr_fwd.h: new file
8744
8745         * lyxlayout.C (Read): layout as layout
8746
8747         * lyx_cb.C (MenuInsertLabel): layout as layout
8748
8749         * bufferlist.C (newFile): layout as layout
8750
8751         * buffer.C (readLyXformat2): layout as layout
8752         (parseSingleLyXformat2Token): layout as layout
8753         (insertStringAsLines): layout as layout
8754         (asciiParagraph): layout as layout
8755         (latexParagraphs): layout as layout
8756         (makeLinuxDocFile): layout as layout
8757         (simpleLinuxDocOnePar): layout as layout
8758         (makeDocBookFile): layout as layout
8759         (simpleDocBookOnePar): layout as layout
8760         (getLists): layout as layout
8761
8762         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8763
8764         * CutAndPaste.C (cutSelection): layout as layout
8765         (pasteSelection): layout as layout
8766         (SwitchLayoutsBetweenClasses): layout as layout
8767
8768         * BufferView_pimpl.C (Dispatch): layout as layout
8769         (smartQuote): layout as layout
8770
8771         * BufferView2.C (unlockInset): layout as layout
8772
8773 2002-06-24  André Pönitz <poenitz@gmx.net>
8774
8775         * lyxfunc.C: fix #487
8776
8777 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * lyxrc.h:
8780         * lyxrc.C:
8781         * lyxfunc.C: remove display_shortcuts, show_banner
8782
8783 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * Buffer_pimpl.C: oops, update on resize
8786
8787 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * buffer.C:
8790         * converter.C:
8791         * exporter.C:
8792         * lyxfunc.C:
8793         * BufferView.h:
8794         * BufferView.C: use repaint()
8795
8796         * BufferView_pimpl.h:
8797         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8798           as it's a clearer description. Remove superfluous
8799           redraws.
8800
8801 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * text.C: fix bug 488. Not ideal, but getting
8804           getWord() to work properly for the insets that
8805           matter is more difficult ...
8806
8807 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * BufferView_pimpl.C:
8810         * LyXAction.C:
8811         * commandtags.h:
8812         * lyxfunc.C: remove the six million index lyxfuncs to just
8813           one, and DTRT (bug 458)
8814
8815 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * BufferView.h:
8818         * BufferView.C:
8819         * BufferView_pimpl.h:
8820         * BufferView_pimpl.C: clean up resize() stuff,
8821           and unnecessary updateScreen()s
8822
8823 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8824
8825         * BufferView.h:
8826         * BufferView.C:
8827         * BufferView_pimpl.h:
8828         * BufferView_pimpl.C:
8829         * lyxfind.h:
8830         * lyxfind.C:
8831         * minibuffer.C: remove focus management of workarea,
8832           not needed. Use screen's greyOut()
8833
8834 2002-06-17  Herbert Voss  <voss@lyx.org>
8835
8836         * converter.C: (convert) do not post a message, when converting
8837         fails, let the calling function decide what to do in this case
8838
8839 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * lyxfunc.C: tidy up a little
8842
8843 2002-06-16    <alstrup@diku.dk>
8844
8845         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8846         Got rid of FORMS_H_LOCATION include. Now we are
8847         GUII.
8848
8849 2002-06-15  LyX Development team  <lyx@rilke>
8850
8851         * buffer.[Ch] (sgmlOpenTag):
8852         (sgmlCloseTag): Added support for avoiding pernicious mixed
8853         content. Return number of lines written.
8854
8855         (makeLinuxDocFile):
8856         (makeDocBookFile): Fixed calls to sgml*Tag.
8857         Simple white space clean.
8858
8859         (simpleDocBookOnePar): Simple white space clean.
8860
8861         * tabular.[Ch] (docBook): Renamed to docbook and got another
8862         argument to related with the pernicious mixed content.
8863
8864         (docbookRow): Fixed calls for docbook inset method.
8865
8866 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8867
8868         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8869         so it's X11 independent.
8870
8871         * kb*.[Ch]: ditto.
8872
8873         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8874
8875 2002-06-15  Lyx Development team  <lyx@electronia>
8876
8877         * intl.h: Renamed getTrans to getTransManager.
8878
8879 2002-06-14  Angus Leeming  <leeming@lyx.org>
8880
8881         * Makefile.am: nuke forgotten stl_string_fwd.h.
8882
8883 2002-06-12  Angus Leeming  <leeming@lyx.org>
8884
8885         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8886
8887 2002-06-13  Angus Leeming  <leeming@lyx.org>
8888
8889         * LaTeX.C:
8890         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8891
8892 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8893
8894         * kbmap.C (getiso): add support for cyrillic and greek
8895
8896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8897
8898         * BufferView.h:
8899         * BufferView.C:
8900         * BufferView_pimpl.h:
8901         * BufferView_pimpl.C: move bogus scrolling logic
8902           to xforms
8903
8904 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8905
8906         * lyxfunc.C:
8907         * BufferView_pimpl.C: view->resize() change
8908
8909 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8910
8911         * BufferView_pimpl.C: topCursorVisible
8912           prototype change
8913
8914 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8915
8916         * Makefile.am:
8917         * lyx_gui.h:
8918         * lyx_gui.C: move to frontends/
8919
8920         * main.C:
8921         * lyx_main.h:
8922         * lyx_main.C: changes from above
8923
8924 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8925
8926         * intl.C:
8927         * intl.h:
8928         * kbmap.C:
8929         * kbsequence.C:
8930         * lyx_cb.C:
8931         * lyx_main.C: minor tidy
8932
8933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8934
8935         * BufferView_pimpl.h:
8936         * BufferView_pimpl.C:
8937         * BufferView.h:
8938         * BufferView.C: make painter() const,
8939           remove dead code
8940
8941         * BufferView2.C: use screen() accessor
8942
8943         * lyx_main.h:
8944         * lyx_main.C: some minor cleanup
8945
8946 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * BufferView_pimpl.h:
8949         * BufferView_pimpl.C: remove enter/leaveView,
8950           use workHeight()
8951
8952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * BufferView.h:
8955         * BufferView.C:
8956         * BufferView2.C:
8957         * BufferView_pimpl.h:
8958         * BufferView_pimpl.C: only construct screen once,
8959           rename
8960
8961         * lyxrc.C: remove pointless comment
8962
8963 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * BufferView.h:
8966         * BufferView.C: remove active() and belowMouse()
8967
8968         * BufferView_pimpl.h:
8969         * BufferView_pimpl.C: use workarea() not workarea_,
8970           and make it use a scoped_ptr instead
8971
8972 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * lyx_gui.C: add debug message on BadWindow
8975
8976 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * sp_spell.C: fdopen is not part of the C++ standard.
8979
8980         * paragraph.C (InsetIterator): use >= instead of ==
8981
8982 2002-06-07  Angus Leeming  <leeming@lyx.org>
8983
8984         Fixes needed to compile with Compaq cxx 6.5.
8985         * BufferView_pimpl.C:
8986         * DepTable.C:
8987         * buffer.C:
8988         * converter.C:
8989         * encoding.C:
8990         * lyx_gui.C:
8991         * lyx_main.C:
8992         * lyxtextclasslist.C:
8993         * minibuffer.C:
8994         * sp_spell.C:
8995         * tabular_funcs.C:
8996         * vc-backend.C:
8997         all c-library variables have been moved into namespace std. Wrap
8998         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8999
9000         * lyxlength.C:
9001         * tabular-old.C:
9002         * tabular.C:
9003         Add a using std::abs declaration.
9004
9005         * kbmap.h (modifier_pair):
9006         * paragraph.h (InsetTable, InsetList):
9007         * lyxfont.h (FontBits):
9008         type definition made public.
9009
9010         * bufferlist.C (emergencyWriteAll): the compiler complains that
9011         there is more than one possible lyx::class_fun template to choose from.
9012         I re-named the void specialisation as lyx::void_class_fun.
9013
9014         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9015
9016         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9017         the compiler is is unable to find tostr in write_attribute.
9018
9019 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9020
9021         * buffer.C (sgmlError): hide #warning
9022
9023 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * xtl/*: get rid of xtl, which is not in use anyway
9026
9027         * LyXAction.C (init):
9028         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9029         were unimplemented xtl experimentation
9030
9031 2002-06-04  André Pönitz <poenitz@gmx.net>
9032
9033         * lyxfunc.C: disable array operation on simple formulae
9034
9035 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9036
9037         * converter.C: constify a bit
9038
9039 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * lyx_gui.C: check xforms version correctly
9042
9043 2002-04-30  Herbert Voss  <voss@lyx.org>
9044
9045         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9046         "keep" option
9047
9048 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9049
9050         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9051           attempt to register it with a VCS)
9052
9053 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyx_main.C (init): honor variables LYX_DIR_13x and
9056         LYX_USERDIR_13x
9057
9058 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * buffer.h:
9061         * buffer.C:
9062         * lyx_main.C: fix a crash on bad command line,
9063           and give a useful exit status on error
9064
9065         * lyxfunc.C (doImport): allow -i lyx to work
9066
9067 2002-03-30  André Pönitz <poenitz@gmx.net>
9068
9069         * lyxfunc.C: mathed font changes
9070
9071 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * LaTeX.C:
9074         * importer.h:
9075         * importer.C:
9076         * lyx_sty.h:
9077         * lyx_sty.C:
9078         * lyxlex.C:
9079         * lyxrow.h:
9080         * lyxtext.h:
9081         * paragraph.h:
9082         * paragraph.C:
9083         * texrow.h:
9084         * texrow.C:
9085         * text.C:
9086         * trans_mgr.h: srcdocs, and some minor cleanups
9087
9088 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9091         call getFont all the time)
9092
9093 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9094
9095         * switch from SigC signals to boost::signals
9096
9097 2002-05-29  André Pönitz <poenitz@gmx.net>
9098
9099         * paragraph_pimpl.C (getChar): don't call size() too often...
9100
9101 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9102
9103         * paragraph_pimpl.C (insertChar): do not try to update tables when
9104         appending (pos == size())
9105
9106         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9107         in order to reduce drastically the number of comparisons needed to
9108         parse a large document
9109
9110 2002-05-29  André Pönitz <poenitz@gmx.net>
9111
9112         * text.C:
9113         * text2.C:
9114         * lyxtextclass.C:
9115         * sp_pspell.h:
9116         * textclasslist.[Ch]:
9117         * sp_ispell.h: whitespace change
9118
9119 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9120
9121         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9122         lyxaction directly now.
9123
9124 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * trans.C:
9127         * lyxfont.C:
9128         * lyxvc.C: remove unused headers
9129
9130 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9131
9132         * Makefile.am:
9133         * buffer.h:
9134         * undostack.h:
9135         * undostack.C:
9136         * undo_funcs.h:
9137         * undo_funcs.C: some cleanups. Use shared_ptr
9138           and a template for the undo stacks.
9139
9140 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * BufferView_pimpl.h:
9143         * BufferView_pimpl.C:
9144         * kbmap.h:
9145         * kbmap.C:
9146         * kbsequence.h:
9147         * kbsequence.C:
9148         * lyxfunc.h:
9149         * lyxfunc.C:
9150         * text2.C: use key_state/mouse_state
9151
9152 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9155         and LSubstring
9156
9157         * chset.C: change include order
9158         (loadFile): use boost regex and get rid of LRegex and LSubstring
9159
9160         * Makefile.am (BOOST_LIBS): new variable
9161         (lyx_LDADD): use it
9162
9163         * LaTeX.C: change include order.
9164         (scanAuxFile): use boost regex and get rid of LRegex and
9165         LSubstring
9166         (deplog): ditto
9167
9168 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9169
9170         * ColorHandler.h:
9171         * ColorHandler.C:
9172         * FontInfo.h:
9173         * FontInfo.C: moved to frontends/xforms/
9174
9175         * FontLoader.h:
9176         * FontLoader.C: moved into frontends for GUIIzation
9177
9178         * Makefile.am:
9179         * lyx_gui.C:
9180         * lyxfont.C:
9181         * lyxfunc.C: changes from above
9182
9183 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * LColor.C: remove spurious X include
9186
9187         * BufferView_pimpl.C:
9188         * Makefile.am:
9189         * font.h:
9190         * font.C:
9191         * text.C:
9192         * text2.C: move font metrics to frontends/
9193
9194 2002-05-24  Juergen Vigna  <jug@sad.it>
9195
9196         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9197         setting the undo_cursor.
9198
9199         * ParagraphParameters.h: include local includes first.
9200
9201 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * BufferView_pimpl.C:
9204         * BufferView_pimpl.h:
9205         * Makefile.am:
9206         * WorkArea.h:
9207         * WorkArea.C:
9208         * screen.C: move WorkArea into frontends/
9209
9210         * lyxscreen.h:
9211         * screen.C:
9212         * text.C:
9213         * BufferView.C:
9214         * BufferView2.C: move LyXScreen into frontends/
9215
9216         * lyxlookup.h:
9217         * lyxlookup.C:
9218         * lyx_gui.C: move lyxlookup into frontends/xforms/
9219
9220 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * BufferView2.C:
9223         * BufferView_pimpl.C:
9224         * FontLoader.C:
9225         * LyXView.h:
9226         * LyXView.C:
9227         * Makefile.am:
9228         * WorkArea.C:
9229         * XFormsView.h:
9230         * XFormsView.C:
9231         * buffer.C:
9232         * bufferlist.C:
9233         * bufferview_funcs.C:
9234         * converter.C:
9235         * importer.C:
9236         * lyx_cb.C:
9237         * lyx_gui.C:
9238         * lyx_main.C:
9239         * lyx_find.C:
9240         * lyxfunc.C:
9241         * lyxvc.C:
9242         * minibuffer.C:
9243         * text.C:
9244         * text2.C:
9245         * trans.C:
9246         * vc-backend.C: move LyX/XFormsView into frontends/
9247
9248 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * Makefile.am:
9251         * PainterBase.C:
9252         * PainterBase.h:
9253         * Painter.C:
9254         * Painter.h:
9255         * WorkArea.C:
9256         * WorkArea.h:
9257         * screen.C:
9258         * tabular.C:
9259         * text.C:
9260         * text2.C: move Painter to frontends/
9261
9262 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * buffer.C: comment out some some code that depend upon lyx_format
9265         < 220
9266
9267         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9268         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9269
9270         * buffer.h (NO_COMPABILITY): turn off compability
9271
9272         * ColorHandler.C: include scoped_array.hpp
9273
9274         * font.C: Use more specific smart_ptr header.
9275         * Painter.C: ditto
9276         * gettext.C: ditto
9277         * ShareContainer.h: ditto
9278         * lyx_main.h: ditto
9279         * kbmap.h: ditto
9280         * FontInfo.h: ditto
9281         * BufferView_pimpl.h: ditto
9282         * ColorHandler.h: ditto
9283
9284         * kbmap.C (defkey): change call to shared_ptr::reset
9285
9286 2002-05-21  Juergen Vigna  <jug@sad.it>
9287
9288         * buffer.C (insertErtContents): fix to insert ert asis if it is
9289         non empty. Skip it completely if it contains only whitespaces.
9290
9291 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * BufferView_pimpl.C:
9294         * BufferView2.C: clear selection on paste (bug 393)
9295
9296 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * DepTable.C: include ctime
9299
9300 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9301
9302         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9303
9304 2002-05-14  Juergen Vigna  <jug@sad.it>
9305
9306         * text.C (breakParagraph): fixed function to honor the keepempty
9307         layout in the right maner and also to permit the right breaking
9308         algorithm on empty or non empyt keepempty paragraphs.
9309
9310         * paragraph.C (breakParagraph): we have to check also if the par
9311         is really empty (!size()) for isempty otherwise we do the wrong
9312         paragraph break.
9313
9314 2002-05-10  Juergen Vigna  <jug@sad.it>
9315
9316         * buffer.[Ch] : The following are only changes to the ert
9317         compatibility read reading old LaTeX layout and font stuff and
9318         convert it to ERTInsets.
9319
9320         * buffer.h: added isErtInset().
9321
9322         * buffer.C (struct ErtComp): add a fromlayout bool to check
9323         if we're inside a LaTeX layout.
9324         (isErtInset): new helper function.
9325         (insertErtContents): look for other ert insets before this one
9326         and insert the contents there, so that we don't have subsequent
9327         ERT insets with nothing between them. This way we create only one
9328         inset with multiple paragraphs. Also check if we don't insert only
9329         spaces ' ' as they are ignored anyway afterwards in the .tex file
9330         so if we have only spaces we will ignore this latex part in the
9331         new file.
9332         (parseSingleLyXformat2Token \\layout): better compatibility when
9333         reading layout-latex stuff.
9334         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9335         language tag.
9336         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9337         stuff after reading the inset only get the information back from
9338         the stack.
9339
9340 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9341
9342         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9343
9344         * LaTeXFeatures.C (getBabelOptions): New method.
9345
9346 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9347
9348         * BufferView_pimpl.C (Dispatch): work around missing argument for
9349         'layout'
9350
9351 2002-05-08  Juergen Vigna  <jug@sad.it>
9352
9353         * text.C (leftMargin): handle paragraph leftindent.
9354
9355         * paragraph.C (writeFile): write the new \\leftindent tag.
9356         (validate): handle leftindent code.
9357         (TeXEnvironment): handle paragraphleftindent code again.
9358
9359         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9360
9361         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9362         for paragrap_extra indent code and new token \\leftindent.
9363         (latexParagraphs): handle the leftindent as environment.
9364
9365         * ParameterStruct.h: added leftindent support.
9366
9367         * ParagraphParameters.C (leftIndent): added support functions for
9368         the paragraph left indent.
9369
9370         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9371         more appropriate.
9372
9373 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9374
9375         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9376         inside insetERT.
9377
9378         * text.C (computeBidiTables): No bidi in insetERT.
9379
9380         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9381         in RTL documents.
9382
9383 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9384
9385         * version.C.in: pre 5
9386
9387 2002-05-02  José Matos  <jamatos@fep.up.pt>
9388         * buffer.C (makeDocBookFile): white space changes, add newline to
9389         command styles.
9390         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9391
9392         * tabular.C (docBook): fix typo.
9393
9394 2002-05-03  Juergen Vigna  <jug@sad.it>
9395
9396         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9397         change in LyXText as we can not be sure it was not freed.
9398         (drawOneRow): remove unused code.
9399
9400         * text.C (drawInset): redo the calculation of the need_break_row as
9401         it could have a row which was already freed.
9402         (draw): look at the return value of drawInset and return false if
9403         it also returned false.
9404         (paintRowText): look at the return value of draw and return false if
9405         it also returned false.
9406
9407         * lyxtext.h: added bool return type to drawInset() and draw() so that
9408         if we have a change in the row so that the rowbreak has to be redone
9409         we abort drawing as it will be called again.
9410
9411 2002-05-02  Juergen Vigna  <jug@sad.it>
9412
9413         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9414         a change in the maintext also if we're inside an inset.
9415         (Dispatch): set the cursor again after a break line and after the
9416         screen has been updated as it could be we're in a different row.
9417
9418         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9419         to set the cursor behind the pargraph with > size().
9420         (setCursor): check also for the same paragraph when checking where
9421         to put the cursor if we have a NFR inset.
9422
9423         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9424         parts of layout read further up as it still was in the wrong
9425         position.
9426
9427 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9428
9429         * screen.C (drawFromTo): change sine fullRebreak always return
9430         true.
9431
9432         * buffer.C (parseSingleLyXformat2Token): reindent some
9433
9434         * BufferView_pimpl.C (update): change since fullRebreak always
9435         return true.
9436         (Dispatch): git rid of the last hardcoded "Standard"s.
9437
9438 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9439
9440         * text2.[Ch] (fullRebreak): make it return void now that we always
9441         returned true.
9442
9443 2002-04-30  Juergen Vigna  <jug@sad.it>
9444
9445         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9446         ert compatibility check for "latex" layout.
9447
9448 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9449
9450         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9451         minipages: use col% instead of p%, and also use the current font.
9452         (makeLaTeXFile): Fix use babel condition.
9453         (parseSingleLyXformat2Token): Correct font when reading old floats.
9454
9455 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9456
9457         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9458         inserting list of floats.
9459
9460 2002-04-25  Herbert Voss  <voss@lyx.org>
9461
9462         * MenuBackend.C (expand): don't add the graphics extensions to the
9463         export menu
9464
9465 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9468         non-existing layout, do not complain if it was the default layout
9469         of the original class (bug #342)
9470
9471 2002-04-24  Juergen Vigna  <jug@sad.it>
9472
9473         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9474         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9475
9476 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9477
9478         * buffer.C (getBibkeyList): If using \bibliography, return the
9479         option field with the reference itself. Enables us to provide natbib
9480         support when using \bibliography.
9481
9482 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9483
9484         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9485
9486         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9487         natbib is provided by the LaTeX class.
9488
9489 2002-04-23  Juergen Vigna  <jug@sad.it>
9490
9491         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9492         Wakeup functions.
9493
9494         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9495
9496 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9499
9500         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9501         ensuremath around textordmasculine, textordfeminine and
9502         textdegree.
9503
9504 2002-04-19  Juergen Vigna  <jug@sad.it>
9505
9506         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9507         reinitializing the buffer otherwise row-dimensions may be wrong.
9508         (update): reset also the selection cursors if they do exits otherwise
9509         their x/y positions may be wrong.
9510
9511         * text2.C (cursorDown): don't enter the inset if we came from a row
9512         above and are one row over the inset.
9513
9514         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9515         really leaving an inset.
9516
9517 2002-04-18  Juergen Vigna  <jug@sad.it>
9518
9519         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9520         of the selected paragraph does not have the selected layout also if
9521         the last one had!
9522
9523         * text2.C (setLayout): fixed bug which did not change last selected
9524         paragraph.
9525
9526         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9527         changed the read and substituted \\end_float with \\end_inset!
9528
9529         * BufferView_pimpl.C (cursorPrevious):
9530         (cursorNext): fixed to make it work with rows heigher than the work
9531         area without moving the cursor only the draw of the row.
9532         (workAreaMotionNotify): fix jumping over high rows.
9533
9534 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9535
9536         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9537         Ressler.
9538
9539 2002-04-16  Juergen Vigna  <jug@sad.it>
9540
9541         * text2.C (setCursor): set also the irow().
9542         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9543         (cursorUp):
9544         (cursorDown): support for locking an inset if the x_fix value goes
9545         inside it. That way I can transverse insets too with cursor up/down.
9546
9547         * lyxrow.h: added irow helper function same as other (i) functions.
9548
9549         * BufferView_pimpl.C (cursorPrevious):
9550         (cursorNext): fixed for insets!
9551
9552 2002-04-15  Juergen Vigna  <jug@sad.it>
9553
9554         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9555         position otherwise it is wrong in some cases.
9556
9557         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9558         inside the inset before the call.
9559
9560 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9561
9562         * buffer.[Ch] (getBibkeyList): make it const.
9563
9564 2002-04-12  Juergen Vigna  <jug@sad.it>
9565
9566         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9567
9568         * text2.C (getCursorX): new helper function
9569         (setCursor): compute also ix_
9570         (setCursorFromCoordinates): set also ix.
9571
9572         * lyxcursor.h: added ix_ and helper functions.
9573
9574         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9575
9576         * buffer.C (insertStringAsLines): dont break paragraph if the this
9577         paragraph is inside an inset which does not permit it!
9578
9579         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9580         also with no chars on this paragraph.
9581         (paintRowText): only paint stuff if it's inside the workarea!
9582
9583         * paragraph.C (breakParagraph): honor keepempty flag and break the
9584         paragraph always below not above.
9585
9586         * BufferView2.C (unlockInset): update the paragraph layout on inset
9587         unlock as we changed paragraph in such a case.
9588
9589         * lyxfind.C (LyXFind): clear the former selection if not found!
9590
9591         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9592         again called in insertChar().
9593
9594         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9595         an inset which uses the whole row!
9596         (rightMargin): ditto.
9597         (insertChar): force a rebreak if we inserted an inset!
9598
9599 2002-03-28  Herbert Voss  <voss@lyx.org>
9600
9601         * lyxlength.[Ch]: add inBP() to get the right PS-point
9602         units (BigPoint). With inPixels we have rounding errors
9603
9604 2002-04-11  Juergen Vigna  <jug@sad.it>
9605
9606         * text2.C (setCursorFromCoordinates): set iy to the right value.
9607         (setCursor): add check if row->previous exists!
9608
9609         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9610         an old float_type as this was the case in the old code!
9611
9612         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9613
9614         * BufferView2.C (showLockedInsetCursor): use iy
9615         (fitLockedInsetCursor): ditto
9616
9617         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9618         locked insets as there we have the right value now.
9619
9620         * lyxcursor.C: added iy_ variable and iy functions to set to the
9621         baseline of cursor-y of the locked inset.
9622
9623         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9624         (setCursor): fixed for insets which need a full row.
9625
9626         * text.C (rowLastPrintable): don't ignore the last space when before
9627         an inset which needs a full row.
9628         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9629         as last character of a row when before a inset which needs a full row.
9630
9631 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9632
9633         * version.C.in: update date
9634
9635         * text2.C (fullRebreak): try to always return true and see what
9636         happens...
9637
9638 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * MenuBackend.C (expand): use Floating::listName
9641
9642         * FloatList.C (FloatList): add listName argument to the built-in
9643         floats
9644
9645         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9646         text associated with the float.
9647
9648 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9649
9650         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9651
9652 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9653
9654         * ShareContainer.h: add a couple of missing typenames.
9655
9656 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9657
9658         * lyxrc.C (getDescription): use _() correctly rather than N_().
9659
9660 2002-03-28  Herbert Voss  <voss@lyx.org>
9661
9662         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9663         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9664
9665 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9668         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9669
9670 2002-03-29  Juergen Vigna  <jug@sad.it>
9671
9672         * lyxfunc.C (dispatch): add a missing fitCursor call.
9673
9674         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9675         it was scrolled by a cursor move, so return the bool status.
9676
9677         * BufferView.C (fitCursor): return the bool flag also to the outside
9678         world as this is needed.
9679
9680         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9681
9682         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9683         call the edit() as it is not needed (and wrong) IMO.
9684         (workAreaButtonPress): set the screen_first variable before evt.
9685         unlock the inset as this may change screen_first and then we have
9686         a wrong y position for the click!
9687
9688 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9689
9690         * MenuBackend.C (expand): another translation that I missed
9691
9692 2002-03-28  Juergen Vigna  <jug@sad.it>
9693
9694         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9695
9696         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9697
9698 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9701
9702         * MenuBackend.C (expand): fix export/view/update when there is no
9703         document open.
9704
9705 2002-03-27  Herbert Voss  <voss@lyx.org>
9706
9707         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9708         and text%
9709
9710 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * bufferview_funcs.C (currentState): only show paragraph number
9713         for is DEVEL_VERSION is set.
9714
9715         * lyxfunc.C (dispatch): put warning in INFO channel
9716
9717         * MenuBackend.C (expand): translate the name of floats
9718
9719         * FloatList.C (FloatList): mark the float names for translation
9720
9721         * converter.C (convert): use LibScriptSearch
9722
9723 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * MenuBackend.C (defaults): fix default menu (we might as well get
9726         rid of it...)
9727
9728 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9729
9730         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9731         directory.
9732
9733 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * lyxvc.C: reorder includes.
9736
9737 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9740           properly
9741
9742 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * CutAndPaste.C: change layouts earlier on paste
9745           to avoid crashing when calling getFont()
9746
9747 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9748
9749         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9750         irritating #error.
9751
9752 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * WorkArea.C: remove 'Pending' debug message.
9755
9756         * most files: ws cleanup
9757
9758         * buffer.[Ch]: ws changes
9759
9760         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9761
9762 2002-03-21  Juergen Vigna  <jug@sad.it>
9763
9764         * tabular.C (SetMultiColumn): collapse also the contents of the
9765         cells and set the last border right. Added a Buffer const * param.
9766
9767 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9770         linking or not.
9771
9772 2002-03-19  Juergen Vigna  <jug@sad.it>
9773
9774         * text2.C (clearSelection): reset also xsel_cache.
9775
9776         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9777         where it needs to be called (John tells us to do so too :)
9778         (selectionLost): reset sel_cache.
9779
9780         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9781
9782 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * text2.C (setCursorIntern): put debuging code in INSETS channel
9785
9786 2002-03-19  André Pönitz <poenitz@gmx.net>
9787
9788         * lyxfunc.C: tiny whitespace change
9789
9790 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * ToolbarDefaults.C (init):
9793         * LyXAction.C (init):
9794         * commandtags.h:
9795         * BufferView_pimpl.C (Dispatch):
9796         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9797
9798 2002-03-19  Allan Rae  <rae@lyx.org>
9799
9800         * exporter.C (Export): removeAutoInsets before doing anything else.
9801         While I've just introduced a dependency on BufferView this really is
9802         the best place to clean the buffer otherwise you need to cleanup in
9803         a dozen places before calling export or cleanup in a dozen functions
9804         that export calls.
9805
9806         * converter.C (runLaTeX):
9807         (scanLog): Better handling of removeAutoInsets and screen updates.
9808
9809         * lyxfunc.C (dispatch): small whitespace changes
9810
9811 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9812
9813         * WorkArea.C (C_WorkAreaEvent): return a value.
9814         (event_cb): return 1 if we handled the event, 0 otherwise.
9815
9816         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9817
9818 2002-03-18  Juergen Vigna  <jug@sad.it>
9819
9820         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9821         (GetAdditionalWidth): ditto.
9822         (RightLine): ditto.
9823         (LeftLine): ditto.
9824
9825         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9826         inset if we're there actually (probably not used right now but this
9827         is the direction to go for unifying code).
9828         (paste): disable code to clear the selection.
9829
9830         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9831         inside an InsetText and move the check further up as it is in the
9832         wrong place.
9833
9834         * text2.C (pasteSelection): set a selection over the pasted text.
9835
9836 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9837
9838         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9839         and libgraphics to build on Cygwin.
9840
9841 2002-03-15  Juergen Vigna  <jug@sad.it>
9842
9843         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9844         inserting an Inset into the paragraph. I know this is not the best
9845         fix but we already use current_view in CutAndPaste so we will remove
9846         all of it's using at the same time.
9847
9848         * buffer.C (sgmlError): deactivated function till it is rewritten in
9849         the right mode, now it can create problems.
9850
9851         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9852         before accessing it.
9853
9854 2002-03-14  Juergen Vigna  <jug@sad.it>
9855
9856         * undo_funcs.C (textHandleUndo): do the right thing when updating
9857         the inset after the undo/redo.
9858
9859         * text2.C (setCursor): just some testcode for #44 not ready yet.
9860
9861         * undo_funcs.C (textHandleUndo): set the next() and previous()
9862         pointers of the paragraph to 0 before deleting otherwise we have
9863         problems with the Paragraph::[destructor].
9864
9865         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9866         on a paragraph insertion.
9867
9868 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9869
9870         * buffer.C (asciiParagraph): use += operator for char append to
9871         string.
9872
9873         * paragraph.C (getFontSettings): compare >= not just >
9874         (highestFontInRange): ditto
9875         (setFont): ditto
9876
9877 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9878
9879         * paragraph.C: change several algorithm to be more appripriate for
9880         the problem domain. This is lookip in FontList and in the InsetList.
9881
9882 2002-03-13  André Pönitz <poenitz@gmx.net>
9883
9884         * commandtags.h:
9885         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9886
9887 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * commandtags.h:
9890         * LyXAction.C:
9891         * lyxfunc.C:
9892         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9893
9894 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9895
9896         * Painter.C (display): anon helper function, adjust code for this
9897         change.
9898         (pixmap): remove function.
9899
9900         * Painter.h: remove private display variable.
9901
9902         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9903
9904 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * WorkArea.[Ch]: remove figinset_canvas cruft.
9907
9908 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * lyxtextclass.C (operator): add one item cache optimization.
9911
9912         * bufferlist.h: doxy changes
9913
9914         * bufferlist.C: ws changes
9915
9916         * DepTable.[Ch] (ext_exist): place const in the right spot.
9917
9918         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9919         call resizeInsets.
9920         (workAreaExpose): call resizeInsets when the with BufferView changes.
9921         (Dispatch): adjust for protectedBlank removal
9922         (specialChar): call updateInset if the insert went ok.
9923
9924         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9925         specialChar instead.
9926
9927         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9928
9929         * BufferView.h: doxy change
9930
9931         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9932
9933         * lyxtextclass.C (operator[]): remove non-const version
9934         (defaultLayout): remove non-const version
9935
9936 2002-03-12  Juergen Vigna  <jug@sad.it>
9937
9938         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9939         did resize the LyXText too.
9940
9941         * buffer.C (readLyXformat2): set layout information on newly allocated
9942         paragraphs.
9943
9944         * tabular.C (OldFormatRead): set layout information on the paragraph.
9945
9946 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9947
9948         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9949
9950 2002-03-11  Juergen Vigna  <jug@sad.it>
9951
9952         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9953         plainly wrong.
9954         (resizeCurrentBuffer): force also the insets to resize themselfes.
9955         (moveCursorUpdate): fixed up for InsetText.
9956
9957 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * commandtags.h:
9960         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9961         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9962         value of Dialogs::tooltipsEnabled().
9963         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9964
9965 2002-03-08  Juergen Vigna  <jug@sad.it>
9966
9967         * BufferView_pimpl.C (updateInset): update inset inside inset also
9968         if it isn't inside theLockingInset().
9969
9970 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * buffer.C (asciiParagraph): redo some of the word and line length
9973         handling.
9974         (getLists): look for Caption instead of caption.
9975
9976 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * buffer.C (Buffer): initialize niceFile to true
9979         (makeLaTeXFile):
9980         (makeLinuxDocFile):
9981         (makeDocBookFile): make sure niceFile is true on exit
9982
9983 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9986
9987 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9988
9989         * LyXSendto.C: remove.
9990         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9991         * lyx_gui.C: remove now-redundant comment.
9992         * ColorHandler.h: remove forward declaration of class WorkArea.
9993         * lyxfunc.C: remove #include "WorkArea.h".
9994
9995 2002-03-07  Juergen Vigna  <jug@sad.it>
9996
9997         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9998         got moved away with the DEPM and also set the inset_owner always
9999         right which before could have been omitted.
10000
10001 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10004         wanted layout is not found.
10005
10006 2002-03-07  Juergen Vigna  <jug@sad.it>
10007
10008         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10009
10010 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * paragraph.C (breakParagraph): use default layout not layout of
10013         prev paragraph.
10014         (Paragraph): clear ParagraphParameters.
10015
10016 2002-03-06  Juergen Vigna  <jug@sad.it>
10017
10018         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10019         otherwise it would not be a valid lenght. Fixed a special case in
10020         the minipage compatibility read where we end the document with a
10021         minipage.
10022
10023         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10024         was set as it could be 0 for InsetTexts first entry.
10025
10026 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10027
10028         * paragraph.C (writeFile): if layout is empty write out
10029         defaultLayoutName().
10030
10031         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10032         file without named layout we set layout to defaultLayoutName().
10033
10034 2002-03-06  Juergen Vigna  <jug@sad.it>
10035
10036         * CutAndPaste.C (copySelection): set layout for new paragraph.
10037
10038         * text.C (prepareToPrint): leave ERT inset left aligned
10039         (leftMargin): don't indent paragraphs inside ERT insets
10040
10041 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * paragraph.C (breakParagraph): dont call clear do the work manually
10044
10045         * paragraph.[Ch] (clear): remove function
10046
10047 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * paragraph.C (Paragraph): dont call clear, the work has already
10050         been done.
10051
10052         * lyxtextclass.C (operator): assert if n is empty
10053
10054         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10055         work manually instead.
10056
10057 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * BufferView_pimpl.C: protect selectionLost against text == 0
10060
10061 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * text.C (breakParagraph): fix a setting layout to '0' problem.
10064
10065 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10066
10067         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10068         final location of file, for the included files, and graphics.
10069
10070 2002-03-05  Juergen Vigna  <jug@sad.it>
10071
10072         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10073
10074 2002-03-04  Juergen Vigna  <jug@sad.it>
10075
10076         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10077
10078         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10079         last column of multicolumn cells.
10080         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10081
10082 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10083
10084         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10085         file if it doesn't go to a temporary file.
10086
10087         * buffer.C (sgmlOpenTag):
10088         (sgmlCloseTag):  remove extra newline insertion.
10089
10090 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * text.C (getRowNearY): comment out debug msg
10093
10094 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10095
10096         * text2.C: first -> first_y
10097
10098         * text.C (getRowNearY): add some attemts at a possible
10099         optimization, not working.
10100
10101         * tabular.[Ch]: add BufferParams to several function so that newly
10102         created paragraph can be initialized to he default layotu for the
10103         buffers textclass.
10104
10105         * tabular-old.C (ReadOld): add buf->params to call of Init
10106
10107         * screen.C: rename text->first to text->first_y
10108
10109         * paragraph.C (breakParagraph): always set layout in the broken
10110         paragraph
10111
10112         * lyxtextclass.C (Read): remove lowercase
10113         (hasLayout): ditto
10114         (operator): ditto
10115         (delete_layout): ditto
10116
10117         * lyxtext.h: rename first -> first_y
10118
10119         * lyxlayout.C (Read): remove lowercase
10120         (name): ditto
10121         (setName): ditto
10122         (obsoleted_by): ditto
10123
10124         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10125
10126         * buffer.C (insertErtContents): add params are to InsetERT
10127         (parseSingleLyXformat2Token): add code to check if a paragraphs
10128         layout really exist.
10129         (parseSingleLyXformat2Token): add params to several inset
10130         constructors
10131         (asciiParagraph): remove lowercase, do the layout comparisons with
10132         no_case
10133
10134         * BufferView_pimpl.C (cursorNext): first -> first_y
10135         (resizeCurrentBuffer): first -> first_y
10136         (updateScrollbar): first -> first_y
10137         (scrollCB): first -> first_y
10138         (workAreaMotionNotify): first -> first_y
10139         (workAreaButtonPress): first -> first_y
10140         (checkInsetHit): first -> first_y
10141         (cursorPrevious): first -> first_y
10142         (cursorNext): first -> first_y
10143         (Dispatch): add buffer_->params to severl inset contructors
10144
10145 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * lyxlayout.C (Read): remove some debug info that I forgot.
10148
10149         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10150         clean up the code slightly.
10151         (makeLinuxDocFile): ditto
10152         (makeDocBookFile): ditto
10153
10154         * text2.C: layout as string
10155
10156         * text.C: layout as string
10157
10158         * paragraph_pimpl.C: layout as string
10159
10160         * paragraph.[Ch]: layout as string
10161
10162         * lyxtextclasslist.[Ch]: layout as string
10163
10164         * lyxtextclass.[Ch]: layout as string
10165
10166         * lyxtext.h: layout as string
10167
10168         * lyxlayout.[Ch]: layout as string
10169
10170         * lyx_cb.C: layout as string
10171
10172         * bufferview_funcs.C: layout as string
10173
10174         * bufferparams.C: layout as string
10175
10176         * buffer.C: layout as string
10177
10178         * LyXView.[Ch]: layout as string
10179
10180         * LaTeXFeatures.[Ch]: layout as string
10181
10182         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10183
10184         * BufferView_pimpl.C: change current_layout to string, remove
10185         lyx::layout_type.
10186         (Dispatch):
10187         (smartQuote):
10188         (insertInset):
10189         (workAreaButtonRelease): layout as string
10190
10191         * BufferView2.C (unlockInset): adjust
10192
10193         * vspace.C (asLatexCommand): use an explict temp variable.
10194
10195 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * Makefile.am: use FRONTEND_*
10198
10199 2002-03-01  Juergen Vigna  <jug@sad.it>
10200
10201         * tabular.C (SetWidthOfMulticolCell): changed to something better
10202         I hope but still work in progress.
10203         (recalculateMulticolumnsOfColumn): renamed function from
10204         recalculateMulticolCells as it is more appropriate now.
10205         (SetWidthOfCell): calculate multicols better.
10206
10207 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10210
10211         * lyxfunc.C (processKeySym): print sequence also if it is
10212         `deleted' (complete)
10213
10214         * kbsequence.C (print): print sequence even if it is deleted
10215         (complete would be a better word, actually).
10216
10217         * lyxfunc.C (dispatch): print complete options after a prefix key
10218
10219         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10220
10221 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10222
10223         * text2.C (setCharFont): eliminate setCharFont code duplication.
10224
10225 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10226
10227         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10228         LFUN_TABULAR_FEATURE (bug #177)
10229
10230 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10231
10232         * Makefile.am: remove figure.h
10233
10234 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10235
10236         * Bufferview_pimpl.C:
10237         * CutAndPasteC:
10238         * LaTeX.C:
10239         * LyXSendto.C:
10240         * buffer.C:
10241         * bufferlist.C:
10242         * converter.C:
10243         * language.C:
10244         * lyxfunc.C:
10245         * lyxvc.C:
10246         * paragraph.C:
10247         * text.C:
10248         * text2.C: remove #include "lyx_gui_misc.h".
10249
10250         * LaTeX.C: added #include <cstdio>
10251
10252 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10255         that the paragraph following this one can have.
10256
10257         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10258
10259         * vspace.C (asLatexCommand): fix bogus gcc warning
10260
10261         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10262
10263 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10264
10265         * text2.C (setLayout): get rid of redundant code
10266
10267 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10268
10269         * text2.C (incDepth): make sure depth cannot be increased beyond
10270         reasonable values.
10271
10272 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10273
10274         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10275         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10276
10277         * PainterBase.h (image):
10278         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10279         a LyXImage const *.
10280
10281 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * BufferView.C:
10284         * BufferView.h:
10285         * BufferView_pimpl.C:
10286         * BufferView_pimpl.h:
10287         * LaTeXFeatures.C:
10288         * LyXAction.C:
10289         * LyXView.C:
10290         * Makefile.am:
10291         * UpdateList.h:
10292         * UpdateList.C:
10293         * buffer.C:
10294         * figure.h:
10295         * figureForm.C:
10296         * figureForm.h:
10297         * figure_form.C:
10298         * figure_form.h:
10299         * lyx_cb.C:
10300         * lyx_gui.C:
10301         * lyx_gui_misc.C:
10302         * lyxfunc.C:
10303         * sp_base.h:
10304         * sp_ispell.h:
10305         * sp_pspell.h:
10306         * sp_spell.C: remove fig inset, and the crap house of
10307           cards that follows it
10308
10309 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * Makefile.am:
10312         * lyxserver.C:
10313         * os2_defines.h:
10314         * os2_errortable.h:
10315         * nt_defines.h: move .h into support/
10316
10317         * vms_defines.h: remove
10318
10319         * WorkArea.C: add space in debug output
10320
10321         * text2.C:
10322         * paragraph.C:
10323         * buffer.C: add WITH_WARNINGS
10324
10325         * vc-backend.h:
10326         * vc-backend.C:
10327         * bufferlist.C: s/retrive/retrieve/, add docs
10328
10329         * vspace.h:
10330         * vspace.C:
10331         * kbmap.h:
10332         * lyxlength.h:
10333         * lyxgluelength.h:
10334         * length_common.h:
10335         * chset.h:
10336         * chset.C: add docs
10337
10338         * lyxgui.C: add ID to X error handler
10339
10340         * lyxtestclass.c: fix typo
10341
10342 2002-02-26  Juergen Vigna  <jug@sad.it>
10343
10344         * tabular_funcs.C (write_attribute): changed so that some default
10345         attributes are not written at all.
10346         (getTokenValue): set default values before trying to read the
10347         value so we have the return value always set as default if we don't
10348         find the token we search for.
10349
10350         * tabular.C (Write): write bools as bools not as strings!
10351
10352 2002-02-22  Juergen Vigna  <jug@sad.it>
10353
10354         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10355         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10356
10357         * text.C (leftMargin): don't add an indent for paragraphs inside
10358         tabular cells (fix #208).
10359
10360 2002-02-21  José Matos  <jamatos@fep.up.pt>
10361
10362         * tabular.C (docBook): fixed support for long tables.
10363
10364 2002-02-20  Juergen Vigna  <jug@sad.it>
10365
10366         * text2.C (getFont): get the drawing font of the Inset if this
10367         paragraph is inside an inset (only important for InsetERT for now).
10368
10369         * buffer.C (insertErtContents): use new lanugage params in ERT
10370         constructor.
10371
10372         * CutAndPaste.C: commenting out seemingly uneeded code.
10373
10374 2002-02-19  Allan Rae  <rae@lyx.org>
10375
10376         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10377         Iterators might be simple to use but they also get invalidated.
10378         (removeAutoInsets): renamed saved cursor tracking variables and added
10379         some comments to clarify what everything does.
10380
10381 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10382
10383         * Chktex.C:
10384         * LaTeX.C:
10385         * LyXSendto.C:
10386         * converter.C:
10387         * lyx_cb.C:
10388         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10389         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10390
10391         * lyxfunc.C:
10392         * vc-backend.h: remove #include "support/syscall.h"
10393
10394         * LaTeX.C:
10395         * LyXSendto.C:
10396         * converter.C: rearrange #includes in Lars' approved fashion.
10397
10398         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10399         forward declare class Timeout in the header file.
10400
10401         * XFormsView.C: changes due to the above.
10402
10403         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10404         similar to LyXView.
10405
10406         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10407         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10408
10409 2002-02-18  José Matos  <jamatos@fep.up.pt>
10410
10411         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10412         insets contents.
10413
10414 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10415
10416         * a lot of small ws changes
10417         * add a lot of using std::XXX
10418         * use std construcs some places where approp.
10419         * use some exisint stuff from lyxfunctional where approp.
10420         * Make file changes to use partial linking (lets test this now...)
10421
10422 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10423
10424         * Chktex.C:
10425         * buffer.C:
10426         remove #include "support/syscontr.h" as it's redundant. Always has been.
10427
10428         * Chktex.C:
10429         * LaTeX.C:
10430         * LyXSendto.C:
10431         * converter.C:
10432         * lyx_cb.C:
10433         * vc-backend.C:
10434         change Systemcalls::System to Systemcalls::Wait and
10435         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10436         No change of functionality, just reflects the stripped down Systemcalls
10437         class.
10438
10439 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10440
10441         * debug.[Ch]: add a GRAPHICS type to the enum.
10442
10443 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10444
10445         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10446
10447         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10448         there is an inset.
10449
10450 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10453         match the changes below.
10454
10455         * text2.C (toggleInset): if there is not editable inset at cursor
10456         position, try to see if cursor is _inside_ a collapsable inset
10457         and close it.
10458
10459 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10460
10461         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10462         document menu has a nice checkbox
10463
10464 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * lyxlength.C (asLatexString): change PW to output as percent of
10467         \textwidth.
10468
10469         * lengthcommon.C: change '%' to 't%'
10470
10471         * lyxfunc.C (dispatch): a few comments from Martin
10472
10473 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * WorkArea.h:
10476         * WorkArea.C:
10477         * BufferView_pimpl.h:
10478         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10479           the X selection.
10480
10481 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10482
10483         * vspace.C (inPixels): fix compiler warning
10484
10485 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10486
10487         * lyxfunc.C (getStatus): fix status message for disabled commands.
10488
10489 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * BufferView_pimpl.C: fix crash on close buffer
10492         during selection (#227)
10493
10494 2002-01-27  Herbert Voss  <voss@lyx.org>
10495
10496         * buffer.C: link old Figure to new graphic inset
10497
10498 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * FontLoader.C (getFontinfo): Change the latex font names in order
10501         to match the names of type1inst.
10502
10503 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10504
10505         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10506
10507         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10508         (extchanged): ditto
10509         (ext_exist): ditto
10510         (remove_files_with_extension): ditto
10511         (remove_file): ditto
10512         (write): ditto
10513
10514         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10515         document is smaller than the work area height. Do not initialize
10516         static variables to 0.
10517
10518 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10521
10522         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10523         LFUN_LAYOUT_PARAGRAPHS.
10524
10525         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10526         tabular. It is possible to provide a possible cell, which will
10527         typically be the actcell from the corresponding insettabular
10528
10529         * lyxfunc.C (getStatus): small cleanup; disable
10530         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10531         true
10532
10533 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10534
10535         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10536
10537         * paragraph.C (startTeXParParams):
10538         (endTeXParParams): new methods. The LaTeX code to
10539         start/end paragraph formatting
10540         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10541         empty (fixes bug #200)
10542
10543         * vspace.C (inPixels): adapt to the change below
10544         (inPixels): [later] more cleanups (remove unused variables)
10545
10546         * lyxlength.C (inPixels): change to use a width and a height as
10547         parameter.
10548
10549 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10552         Replaced with \paperwidth
10553
10554         * DepTable.C (insert): add std:: qualifier
10555
10556 2002-01-18  Allan Rae  <rae@lyx.org>
10557
10558         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10559         updated also?
10560
10561         * text.C (drawInset): Turned out I didn't know enough about how
10562         rebreaking worked.  This fixes most of the redraw problems.  I see
10563         an occasional cursor trail when a line is broken now and the cursor
10564         placement can seem out by a few pixels also after a rebreak.
10565
10566 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * buffer.C (parseSingleLyXformat2Token): update because minipage
10569         width is now a LyXLength
10570
10571         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10572
10573         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10574         math insets
10575
10576 2002-01-17  Juergen Vigna  <jug@sad.it>
10577
10578         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10579
10580         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10581         is set correctly and the inset is updated correctly.
10582
10583 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10584
10585         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10586         the beginning of the loop.
10587
10588 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyxrc.C: improve help for use_scalable_fonts
10591
10592 2002-01-17  Allan Rae  <rae@lyx.org>
10593
10594         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10595
10596 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10599         make sure to set their inset_owner to the right value (bug #171)
10600
10601 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10602
10603         * DepTable.h
10604         * DepTable.C: Implement mtime checking to reduce time spent doing
10605         CRCs.
10606
10607 2002-01-16  Juergen Vigna  <jug@sad.it>
10608
10609         * tabular.C (GetAdditionalHeight): one of error fixed.
10610
10611         * lyxrc.C (output): small fix in writing use_pspell.
10612
10613 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10614
10615         * sp_base.h: #include LString.h
10616
10617 2002-01-16  Allan Rae  <rae@lyx.org>
10618
10619         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10620         Can someone check this please?
10621
10622         * text.C (drawInset): It was possible that p.row would be removed by
10623         breakAgainOneRow upsetting a few other settings.  There may be another
10624         small tweak possible by setting need_break_row = 0 when p.row has been
10625         removed but I don't know enough about the logic here.
10626
10627 2002-01-15  Allan Rae  <rae@lyx.org>
10628
10629         * text.C (insertChar): removed conditional truism.
10630
10631         * BufferView2.C (removeAutoInsets): More tweaks.
10632         cur_par_prev could be a stray pointer.  Check for trailing empty line
10633         in case last line was cur_par and only had an error inset on it.
10634
10635 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10638         absolute
10639
10640         * vc-backend.C (most methods):
10641         * exporter.C (Export):
10642         * converter.C (convert):
10643         (runLaTeX):
10644         * LyXSendto.C (SendtoApplyCB):
10645         * lyxfunc.C (dispatch):
10646         (menuNew):
10647         (open):
10648         (doImport):
10649         * lyx_cb.C (AutoSave):
10650         (InsertAsciiFile):
10651         * BufferView_pimpl.C (MenuInsertLyXFile):
10652         * buffer.C (runChktex): use Buffer::filePath().
10653
10654         * buffer.h: rename filename to filename_; rename filepath to
10655         filepath_ and make it private
10656         (filePath): new method
10657
10658         * buffer.C (writeFile): use fileName()
10659         (getLatexName):
10660
10661         * lyx_main.C (init): fix starting  of LyX when the binary is a
10662         link from so,ewhere else.
10663
10664         * minibuffer.C: include <cctype> for isprint
10665
10666 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10667
10668         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10669         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10670         name clash with InsetCollapsable's width function.
10671
10672 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10673
10674         * lastfiles.C: include <iterator>
10675
10676 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10677
10678         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10679         std::count.
10680
10681         * buffer.C (makeLaTeXFile): ditto.
10682         Also make loop operation more transparent.
10683
10684 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10685
10686         * ToolbarDefaults.C: remove trailing comma closing namespace.
10687
10688         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10689
10690         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10691         as in WorkArea.
10692
10693         * trans.C (Load): comment out unused variable, allowed.
10694
10695 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10696
10697         * minibuffer.[Ch] (append_char): new method to recieve input from the
10698         drop-down completion browser. If a key was pressed, then recieve this
10699         char and append it to the existing string.
10700         (peek_event): modify the positioning data passed to the completion
10701         browser so that it can be placed above the minibuffer rather than below.
10702 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * LyXAction.C (init): alloe error-next for readonly documents.
10705
10706         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10707         count.
10708
10709 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * bufferlist.C (readFile): create the buffer _after_ checking that
10712         the file exists.
10713
10714         * lyxfunc.C (verboseDispatch): fix handling of arguments
10715
10716         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10717
10718         * lyxrc.C: use string::erase() instead of initializing to "".
10719
10720
10721 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * BufferView_pimpl.h:
10724         * BufferView_pimpl.C:
10725         * WorkArea.h:
10726         * WorkArea.C:
10727         * text2.C: tell X when we have made a selection for copying
10728
10729 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * BufferView_pimpl.C (MenuInsertLyXFile):
10732         * lyxfunc.C (menuNew):
10733         (open):
10734         (doImport): add shortcuts to directory buttons
10735
10736         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10737         open a float)
10738
10739         * lyxfunc.C (setStatusMessage):
10740         (getStatusMessage): new methods
10741         (getStatus):use setStatusMessage instead of setErrorMessage
10742         (dispatch): when function is disabled, set error message here
10743         [instead of in getStatus previously]
10744
10745         * BufferView_pimpl.C (workAreaButtonRelease): update
10746         toolbar/menubar here too.
10747
10748 2002-01-13  Allan Rae  <rae@lyx.org>
10749
10750         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10751         Now seems indestructible.  Remaining task is to audit all other
10752         code affected by deleteEmptyParagraphMechanism.  One small quirk
10753         left is that an empty document with an error in the preamble can
10754         be made to report an error but no error box appears.  I don't know
10755         where it goes.
10756         (removeAutoInsets): Improved comments.
10757
10758 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * Thesaurus.h:
10761         * Thesaurus.C: update for Aiksaurus 0.14
10762
10763 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * text2.C (firstParagraph): removed member function, all uses
10766         replaces with ownerParagraph
10767         (redoParagraphs): here
10768         (updateInset): here
10769         (toggleAppendix): here
10770         * BufferView2.C (insertErrors): here
10771         (setCursorFromRow): here
10772
10773 2002-01-13  Allan Rae  <rae@lyx.org>
10774
10775         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10776         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10777         There is still a way to segfault this although you may have to do this
10778         multiple times: Have an InsetERT with an unknown command in it.
10779         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10780         <down-arrow>, <Enter> again, View->DVI, BANG!
10781
10782         * text2.C (setCursor):
10783         (deleteEmptyParagraphMechanism):
10784         * lyxtext.h (setCursor):
10785         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10786         Making use of the return value may help fix other bugs.
10787
10788 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10791
10792         * LyXView.C (updateMenubar): call MenuBar::update here
10793         (updateToolbar): but not here
10794         (showState): do not update toolbar/menubar
10795
10796         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10797         should need to care about that.
10798
10799         * lyxfunc.C (verboseDispatch): simplify a bit
10800         (getStatus): have a version which takes a pseudoaction, and
10801         another which requires a (kb_action,string).
10802
10803         * LyXAction.C (retrieveActionArg): make it work also when action
10804         is not a pseudo-action.
10805         (getActionName): simplify a bit
10806         (helpText):
10807
10808 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * lyxfunc.C (verboseDispatch): new families of methods with
10811         several ways to specify a command and a bool to indicate whether
10812         the command name and shortcut should be displayed in minibuffer
10813         (eventually, we could extend that to a finer bitmask like
10814         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10815         (dispatch): the pristine dispatch command which just, well,
10816         dispatchs! Note it still sets its result to minibuffer; I'm not
10817         sure we want that.
10818
10819         * lyxfunc.h: remove setHintMessage
10820
10821         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10822
10823 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * BufferView_pimpl.C (specialChar): delete new inset if we have
10826         not been able to insert it.
10827
10828         * kbmap.C: revert to using int instead of kb_action, since all we
10829         are dealing with is pseudo-actions.
10830
10831         * LyXAction.C (searchActionArg): change to return int instead of
10832         kb_action, since the result is a pseudoaction.
10833
10834 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10835
10836         * buffer.C (insertErtContents): Fix (partially) the font bug.
10837
10838 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10839
10840         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10841         as the other one is broken on my machine!
10842
10843 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10844
10845         * commandtags.h:
10846         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10847
10848 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10849
10850         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10851         reflect their actual use. Provide compatibility code for older lyxrc
10852         files.
10853
10854         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10855         FL_NORMAL_STYLE.
10856         change names of popup font variables in line with the changes to lyxrc.C
10857
10858 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * buffer.C (asciiParagraph): avoid outputing a word twice after
10861         an inset.
10862
10863         * lyxrc.C (getDescription): document that document_path and
10864         template_path can be empty.
10865
10866 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10867
10868         * LaTeXFeatures.C (getMacros):
10869         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10870
10871         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10872
10873         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10874         getPackages.
10875         (getPackages): rename feature "floats" to "float". Use an array to
10876         iterate over 'simple' features (i.e. just a \usepackage). Add
10877         handling of "amsmath" (renamed from "amsstyle").
10878
10879 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10880
10881         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10882         features list.
10883
10884 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10885
10886         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10887         FuncStaus::FuncStatus & FuncStaus::some_method().
10888
10889 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10890
10891         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10892         of the func_satus stuff. Edited and massaged in various ways by
10893         JMarc.
10894
10895         * lyxfunc.C (getStatus): use FuncStatus
10896
10897 2002-01-08  Juergen Vigna  <jug@sad.it>
10898
10899         * text.C (nextBreakPoint): use function Inset::isChar().
10900
10901         * paragraph.C (TeXOnePar): use function
10902         Inset::forceDefaultParagraphs.
10903
10904         * buffer.C (latexParagraphs): use function
10905         Inset::forceDefaultParagraphs.
10906
10907 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * lyx_gui.C (init): set the style of the menu popups to
10910         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10911
10912 2002-01-07  Juergen Vigna  <jug@sad.it>
10913
10914         * text.C (setHeightOfRow): small fix
10915         (prepareToPrint): don't look at alignment if we don't have the place
10916         for doing it.
10917
10918 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10919
10920         * box.C: New file. Move the Box methods and functions out of box.h,
10921         following Lars' suggestion.
10922
10923 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10924
10925         * box.h: #include "support/LOstream.h", needed for inlined function.
10926
10927         * lyxtextclass.C:
10928         * lyxtextclasslist.C: added some using std declarations.
10929
10930 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * box.h: make signed dimensions to allow insets wider than
10933           the screen (bug #162)
10934
10935         * BufferView_pimpl.C: add some insetHit debug
10936
10937 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * vc-backend.C: add FIXME
10940
10941 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * lyxfunc.C (getStatus): enable code for showing math font status
10944         in toolbar/menu.
10945
10946 2002-01-07  Juergen Vigna  <jug@sad.it>
10947
10948         * text.C (nextBreakPoint): removed debug output not needed anymore.
10949
10950 2002-01-06  Juergen Vigna  <jug@sad.it>
10951
10952         * text.C (nextBreakPoint): fixed up this function we had this bug
10953         since ever but now hopefully we break row better.
10954         (insertChar): we have to check if an inset is the next char as it
10955         could now happen that a large inset is causing a break.
10956
10957 2002-01-05  Juergen Vigna  <jug@sad.it>
10958
10959         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10960         if it doesn't like to be drawed.
10961
10962 2002-01-04  Juergen Vigna  <jug@sad.it>
10963
10964         * BufferView2.C (lockInset): forgot to set a cursor.
10965
10966         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10967
10968 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10969
10970         * FormMathsPanel.C:
10971         * FormMathsPanel.h
10972         * MathsSymbols.C:
10973         * form_maths_panel.C:
10974         * form_maths_panel.h:
10975         * form_maths_panel.fd: implemented sub- and super- buttons in math
10976         panel.
10977
10978         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10979         (or ^ space) to be used as in TeX (req'd by André).
10980
10981         * lyxfunc.C: Allow ^ and _ again to be used both as
10982         super/subscript (mathed) and as themselves (in text).
10983
10984 2002-01-03  Allan Rae  <rae@lyx.org>
10985
10986         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10987         "LyX" or the filename of the current buffer if it has one.  This is a
10988         modified form of John Levon's patch.
10989
10990         * XFormsView.C (setWindowTitle): also set icon title.
10991
10992         * LyXView.h (setWindowTitle): signature changed.
10993         * XFormsView.h (setWindowTitle): ditto.
10994
10995 2002-01-02  Juergen Vigna  <jug@sad.it>
10996
10997         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10998
10999 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * screen.C (topCursorVisible): introduce a temp var for
11002         text->cursor.row(), handle the case where this row is null. (kindo
11003         hachish)
11004
11005         * text2.C (setCursor): add a couple of asserts.
11006
11007         * paragraph.h (inset_iterator): add -> operator
11008
11009         * paragraph.[Ch] (autoDeleteInsets): remove member function
11010
11011         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11012         cursor pos correctly and handle inset deletion by itself.
11013         (insertErrors): move iterator declaration out of for expression
11014
11015         * lyxtextclass.C: add <algorithm>
11016
11017         * Makefile.am: added the new files to sources, removed layout.C
11018
11019         * layout.C: removed file
11020
11021         * layout.h: remove LYX_DUMMY_LAYOUT
11022
11023         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11024         layout.
11025
11026         * lyxlayout.[Ch]:
11027         * lyxtextclass.[Ch]:
11028         * lyxtextclasslist.[Ch]: new files
11029
11030         * include order changes to a lot of files, also changes because of
11031         the six new files.
11032
11033 2001-12-27  Juergen Vigna  <jug@sad.it>
11034
11035         * buffer.C (asciiParagraph): more fixes.
11036
11037         * tabular.C (ascii): make ascii export support export of only the
11038         data separated by a column-delimiter.
11039         (ascii): better support for ascii export.
11040
11041         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11042
11043 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11044
11045         * tabular_funcs.C: use a "using std::getline" instead of the
11046         previous fix from Angus (necessary for cxx + lyxstring)
11047
11048 2001-12-24  Juergen Vigna  <jug@sad.it>
11049
11050         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11051
11052         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11053         problems. First check a minipage also if we have some ert-contents
11054         (not only on par->size(), second set the right depth of the paragraph
11055         on the relink to the root-paragraph-list!
11056
11057         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11058         which then did not anymore update the main paragraphs on undo/redo!
11059
11060 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11061
11062         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11063         code. Support all font-changing funcs (even those which are not in
11064         menu currently). Support for reporting font settings in
11065         mathed (disabled until Andre provides a function on mathed's side).
11066
11067         * func_status.h (toggle): small helper function to set toggle
11068         state on a flag.
11069
11070 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11071
11072         * tabular_funcs.C: getline -> std::getline
11073
11074 2001-12-21  Juergen Vigna  <jug@sad.it>
11075
11076         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11077         accessed and could be 0 (I couldn't generate this but it seems
11078         Michael could!).
11079
11080 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11083         * tabular_funcs.h: here and include iosfwd
11084
11085 2001-12-20  Juergen Vigna  <jug@sad.it>
11086
11087         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11088         inside inset but undo_par was.
11089
11090 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * Thesaurus.C: always include <config.h> in sources.
11093
11094         * Painter.h:
11095         * lyxlookup.h:
11096         * box.h: do not include <config.h> in header files
11097
11098         * text.C (paintLastRow): remove unused variable
11099
11100         * text.C (transformChar):
11101         (insertChar):
11102         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11103
11104         * Painter.C (text):
11105         * font.C (width): rewrite to use uppercase() instead of
11106         islower/toupper.
11107
11108         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11109
11110 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * lyxfind.C: clean up of find failure position change
11113
11114 2001-12-20  Juergen Vigna  <jug@sad.it>
11115
11116         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11117
11118         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11119         (TeXRow): added to LaTeX a single tabular row.
11120         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11121         (Latex): simplified and finally good LT-h/f support.
11122         (various_functions): just small adaptions for LT-h/f support.
11123
11124         * tabular_funcs.[hC]: added and moved here all not classfunctions
11125         of LyXTabular.
11126
11127 2001-12-19  Juergen Vigna  <jug@sad.it>
11128
11129         * tabular.[Ch]: better support for longtabular options (not finished
11130         yet!)
11131
11132 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * text.C (paintLastRow): use the label font instead of the font of
11135         the last character to compute the size of *_BOX. This makes more
11136         sense and avoids a crash with empty paragraphs.
11137         Use Painter::rectangle to draw EMPTY_BOX.
11138
11139 2001-12-19  Juergen Vigna  <jug@sad.it>
11140
11141         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11142         the paragraphs if the replaced paragraph is not the first one!
11143         Tried to delete not used paragraphs but does not work yet so for
11144         now it's inside #ifdef's and by default off!
11145
11146 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * MenuBackend.C: include "lyx_main.h" instead of declaring
11149         lastfiles (actually was declared as LastFiles* instead of a
11150         scoped_ptr).
11151
11152 2001-12-17  Juergen Vigna  <jug@sad.it>
11153
11154         * tabular.C (AppendColumn): applied John's fix
11155
11156 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * BufferView.h:
11159         * BufferView.C:
11160         * BufferView_pimpl.h:
11161         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11162
11163         * Makefile.am:
11164         * box.h: new start of class for above
11165
11166         * lyxfunc.C: ignore space-only minibuffer dispatches.
11167           Show the command name when it doesn't exist
11168
11169         * minibuffer.C: don't add empty lines to the history
11170
11171         * minibuffer.C: add a space on dropdown completion
11172
11173 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * text.C: fix line above/below drawing in insets
11176
11177 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * lyxlength.C (LyXLength): Initialize private variables.
11180
11181 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11182
11183         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11184         when inserting error insets.
11185
11186 2001-12-13  Juergen Vigna  <jug@sad.it>
11187
11188         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11189         actually sometimes the before-paragraph.
11190         (setUndo): don't clear the redostack if we're not actually undoing!
11191
11192 2001-12-06  Juergen Vigna  <jug@sad.it>
11193
11194         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11195         and fixed redoing of main paragraph, so we can use it now ;)
11196
11197         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11198
11199 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11202         Juergen's request
11203
11204 2001-12-13  André Pönitz <poenitz@gmx.net>
11205
11206         * undostack.[Ch]:
11207         * undo_func.C: minor cleanup
11208
11209 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11212         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11213         font in urw-fonts package which is marked as -urw-fontspecific and
11214         does not work (incidentally, changing the encoding in the
11215         fonts.dir of this package to -adobe-fontspecific fixes the
11216         problem).
11217
11218         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11219         is a crash when undoing first paragraph (Juergen, please take a
11220         look). THis does not mean the undo fix is wrong, just that it
11221         uncovers problems.
11222
11223         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11224         the (Paragraph*) version when needed instead of duplicating the
11225         code.
11226
11227         * text.C (workWidth): use Inset::parOwner to find out where the
11228         inset has been inserted. This is a huge performance gain for large
11229         documents with lots of insets. If Inset::parOwner is not set, fall
11230         back on the brute force method
11231
11232         * paragraph_pimpl.C (insertInset):
11233         * paragraph.C (Paragraph):
11234         (cutIntoMinibuffer): set parOwner of insets when
11235         inserting/removing them
11236
11237         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11238
11239 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11240
11241         * commandtags.h:
11242         * LyXAction.C:
11243         * lyx_main.C:
11244         * lyxfunc.C:
11245         * mathed/formulabase.C:
11246         * mathed/math_cursor.[Ch]:
11247         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11248
11249
11250 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11251
11252         * lyxlength.[Ch] (operator!=): new function
11253
11254 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * text.C (workWidth): use Inset::parOwner to find out where the
11257         inset has been inserted. This is a huge performance gain for large
11258         documents with lots of insets. If Inset::parOwner is not set, fall
11259         back on the brute force method
11260
11261         * paragraph_pimpl.C (insertInset):
11262         * paragraph.C (Paragraph):
11263         (cutIntoMinibuffer): set parOwner of insets when
11264         inserting/removing them
11265
11266         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11267
11268 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * tabular-old.C (getTokenValue):
11271         * tabular.C (getTokenValue):
11272         (write_attribute): new versions for LyXLength
11273         (everywhere): adjust the use of widths
11274
11275         * tabular.h: change the type of widths from string to LyXLength
11276
11277 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11278
11279         * paragraph.C: fixed missing line number count when exporting
11280         Environments to LaTeX file
11281
11282         * buffer.C: added informational message for checking line numbers.
11283
11284 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11287         paragraph, do the 'double space' part, but not the 'empty
11288         paragraph' one.
11289
11290         * text.C (workWidth): small optimization
11291         (getLengthMarkerHeight): use minimal size for negative lengths.
11292
11293 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11296
11297         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11298
11299 2001-12-11  André Pönitz <poenitz@gmx.net>
11300
11301         * FontLoader.C:
11302         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11303
11304 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * text2.C: keep selection on a setFont()
11307
11308 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * lyx_cb.C: another bv->text misuse, from insert label
11311
11312 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * kbsequence.h:
11315         * kbsequence.C: re-instate nmodifier mask
11316
11317 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11318
11319         * lyx_main.h: make lyxGUI private.
11320
11321 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * lyxfind.C: place the cursor correctly on failed search
11324
11325 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * text.C (getLengthMarkerHeight): for small heights, the arrows
11328         are not always on top/bottom of the text
11329         (drawLengthMarker): smaller arrows; take the left margin in
11330         account; draw also vfills.
11331         (paintFirstRow):
11332         (paintLastRow): remove special code for vfill and standard spaces,
11333         since everything is handled in drawLengthMarker now.
11334
11335 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * buffer.C (insertErtContents): try to handle font and language
11338         interaction a bit better.g
11339
11340         * ColorHandler.C (updateColor): change the hash to cover the whole
11341         LColor enum, ws cleanup
11342         (getGCLinepars): ditto
11343         (getGCLinepars): only lookup in the linecache once.
11344
11345 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11346
11347         * iterators.C (operator++): Make the iterator more robust
11348
11349         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11350         (John's patch)
11351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11352
11353 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11354
11355         * lyxtext.h:
11356         * text.C: better added space drawing
11357
11358 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * LyXView.C:
11361         * BufferView2.C: fix layout combo update on inset unlock
11362
11363 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * Makefile.am: don't compile unused files
11366
11367 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * lyxfunc.C:
11370         * commandtags.h:
11371         * LyXAction.C: remove old LFUN_LAYOUTNO
11372
11373 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * paragraph_pimpl.h:
11376         * paragraph_pimpl.C: isTextAt() doesn't need font param
11377
11378 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * lyxlex.h:
11381         * lyxlex.C: little cleanup
11382
11383 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView_pimpl.C: fix insertAscii for insets
11386
11387 2001-12-05  Juergen Vigna  <jug@sad.it>
11388
11389         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11390         set the right font on the "multi" paragraph paste!
11391
11392 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * trans_decl.h:
11395         * trans_mgr.[Ch]:
11396         * trans.[Ch]:
11397         * lyxgluelength.C:
11398         * lyxlength.C: remove out-commented code.
11399
11400         * BufferView_pimpl:
11401         * CutAndPaste.C:
11402         * DepTable.C:
11403         * buffer.C:
11404         * chset.C:
11405         * lastfiles.C:
11406         * lyxlex.C:
11407         * lyxlex_pimpl.C:
11408         * lyxserver.C:
11409         * screen.C:
11410         * tabular-old.C:
11411         * tabular.C:
11412         * text.C:
11413         * trans_mgr.C:
11414         * vc-backend.C: change "while(" to "while ("
11415
11416         * lyxlength.[Ch]: add zero function to check if length is zero or
11417         not
11418         * lyxgluelength.C: use it
11419
11420 2001-12-05  Allan Rae  <rae@lyx.org>
11421
11422         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11423         Works for 2.95.3, from what I understand of Garst's reports this should
11424         work for other g++ versions.  We're screwed if the abs(int) definition
11425         changed between bugfix releases of gcc.
11426
11427 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * text.C: fix chapter label offset !
11430
11431 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * lyxtext.h:
11434         * text.C: fix hfill at end of line, clean up
11435
11436 2001-12-04  Juergen Vigna  <jug@sad.it>
11437
11438         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11439         that we force an update of the inset and it's owners if neccessary.
11440
11441 2001-12-03  Juergen Vigna  <jug@sad.it>
11442
11443         * text.C (rowLast): simplified code
11444
11445 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * lyxfunc.C: fix show options on timeout
11448
11449 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * screen.C (topCursorVisible): scroll half a page when the cursor
11452         reached top of bottom of screen
11453
11454 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * minibuffer.C: deactivate on loss of focus
11457
11458 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * vspace.[Ch] (operator!=): add operator.
11461
11462 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * BufferView_pimpl.C: refuse to open an inset when
11465         there's a selection.
11466
11467 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * BufferView_pimpl.C: allow to click on RHS of full row insets
11470
11471 2001-11-30  Juergen Vigna  <jug@sad.it>
11472
11473         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11474         insets for undo reasons.
11475
11476 2001-11-28  André Pönitz <poenitz@gmx.net>
11477
11478         * vspace.[Ch]: cosmetical changes
11479
11480 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11481
11482         * LyXAction.h:
11483         * LyXAction.C:
11484         * lyxfunc.h:
11485         * lyxfunc.C:
11486         * kbmap.h:
11487         * kbmap.C:
11488         * lyxrc.C:
11489         * kbsequence.h:
11490         * kbsequence.C: part re-write of old kb code
11491
11492         * Painter.C:
11493         * WorkArea.C: remove Lgb_bug_find_hack
11494
11495 2001-11-30  José Matos <jamatos@fep.up.pt>
11496
11497         * buffer.C (makeDocBookFile): add a comment to point a hack.
11498         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11499         Fixed a double write of labels.
11500
11501 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11502
11503         * LaTeX.C:
11504         * LaTeX.h Fixed bug in LaTeX class where it would not
11505         re-run latex if no depfiles were changed, but the .dvi was removed.
11506
11507 2001-11-28  André Pönitz <poenitz@gmx.net>
11508
11509         * all the files from the change on 2001/11/26:
11510         use lyx::layout_type instead of LyXTextClass::size_type
11511         use lyx::textclass_type instead of LyXTextClassList::size_type
11512
11513 2001-11-29  Juergen Vigna  <jug@sad.it>
11514
11515         * text.C: added support for paragraph::isFreeSpacing()
11516
11517         * buffer.C: same as above
11518
11519         * paragraph.h: inserted isFreeSpacing() function to enable
11520         FreeSpacing inside InsetERT.
11521
11522         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11523         of the paragraph's in the cut/copy buffer to 0!
11524
11525         * text2.C (removeRow): remove the assert as it can!
11526
11527         * lyxtext.h: added helper function firstRow returning firstrow and
11528         made firstrow private again.
11529
11530         * BufferView2.C (lockInset): don't relock if we're already locked!
11531
11532         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11533         the only paragraph.
11534         (removeRow): added Assert::(firstrow)
11535
11536         * debug.C: forgot to add INSETTEXT here.
11537
11538 2001-11-28  Juergen Vigna  <jug@sad.it>
11539
11540         * sp_spell.C (initialize): changed error text to more general
11541         spellchecker command use (not only ispell!)
11542
11543         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11544
11545         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11546
11547 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * vspace.C: initialise lyxgluelength on failure
11550
11551 2001-11-28  Allan Rae  <rae@lyx.org>
11552
11553         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11554         declaration & definition that looks like a function declaration.
11555
11556 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11557
11558         * BufferView2.C (copy):
11559         (copyEnvironment): do not clear the selection when doing a copy.
11560
11561         * text.C (paintFirstRow): compilation fix
11562
11563 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11564
11565         * tabular.C (Latex): correct line count when writing latex.
11566
11567 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * paragraph_pimpl.h:
11570         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11571           bug a bit
11572
11573 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * text.C:
11576         * LColor.h:
11577         * LColor.C: change vfillline->added_space
11578
11579         * text.C: add markers and text for added space
11580
11581         * vspace.C: fix comment
11582
11583 2001-11-28  André Pönitz <poenitz@gmx.net>
11584
11585         * paragraph.C: whitespace changes
11586         * all the other files from the change on 2001/11/26:
11587         change *::pos_type into lyx::pos_type
11588
11589 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11592         language of the document when inserting error insets.
11593
11594 2001-11-26  André Pönitz <poenitz@gmx.net>
11595
11596         * BufferView_pimpl.[Ch]:
11597         *       CutAndPaste.C:
11598         * buffer.[Ch]:
11599         * lyxcursor.[Ch]:
11600         * lyxfind.C:
11601         * lyxfunc.C:
11602         * lyxrow.[Ch]:
11603         * paragraph.[Ch]:
11604         * paragraph_pimpl.[Ch]:
11605         * sp_spell.C:
11606         * text.C:
11607         * text2.C: reduce header dependencies, introduce type for positions
11608
11609 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * <various>: change to use Alert.h
11612
11613 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11614
11615         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11616         when encountering an unknown token.
11617         (readLyXformat2): Show an error message if there were unknown tokens.
11618
11619 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * BufferView2.C:
11622         * BufferView_pimpl.C:
11623         * buffer.C:
11624         * paragraph.h:
11625         * text.C:
11626         * text2.C: use par->isInset()
11627
11628 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * paragraph_pimpl.h:
11631         * paragraph_pimpl.C: cleanup
11632
11633 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11634
11635         * text2.C (removeRow):
11636         * text.C (setHeightOfRow): remove useless (and costly) call to
11637         getRow.
11638
11639 2001-11-20  Allan Rae  <rae@lyx.org>
11640
11641         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11642         Now need Inset*::checkInsertChar() to return true for appropriate
11643         cases so that the characters in the minibuffer will actually be
11644         inserted.
11645
11646 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * text.C: change the order of the includes.
11649         (workWidth): initialize it at once.
11650         (workWidth): make maxw unsigned
11651         (setHeightOfRow): remove unused variable (inset)
11652         (selectSelectedWord): remove unused variable (inset)
11653         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11654
11655 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11658         server is not running.
11659         (openConnection):
11660         (closeConnection): add debug info when server is disabled.
11661
11662         * ColorHandler.C (getGCForeground): send debug message to GUI
11663         channel.
11664
11665         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11666
11667         * kbmap.C (bind): modify because return conventions of
11668         kb_sequence::parse have changed.
11669
11670         * kbsequence.C (parse): only ignore spaces and not any stupid
11671         control character. This avoids tests like s[i] <= ' ', which are
11672         guaranteed to fail with 8bit characters and signed chars.
11673         Change return code to string::npos when there have been no error
11674         (0 was a bad idea when error is at first character)
11675
11676 2001-11-14  José Matos  <jamatos@fep.up.pt>
11677
11678         * buffer.h:
11679         * buffer.C (simpleDocBookOnePar): removed unused argument.
11680
11681 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11682
11683         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11684         insets which are part of a word. Paragraph::isLetter takes care of
11685         that now. Use Paragraph::isInset to identify insets.
11686         (selectSelectedWord): do not test for hyphenation break.
11687
11688         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11689         that protected spaces are considered as spaces.
11690
11691         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11692         Inset::isLetter.
11693
11694 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * lyxserver.h:
11697         * lyxserver.C: fix it. and small cleanup.
11698
11699 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * BufferView_pimpl.C: use inline helpers
11702
11703         * LaTeXFeatures.h:
11704         * LaTeXFeatures.C: fix typos
11705
11706         * Spacing.h:
11707         * Spacing.C: move spacing_string into class
11708
11709         * ToolbarDefaults.C: move stuff into namespace anon
11710
11711         * layout.h: update enum
11712
11713         * lyxfunc.C: use better debug
11714
11715         * minibuffer.h: fix typo
11716
11717         * debug.h:
11718         * debug.C:
11719         * WorkArea.C: add and use Debug::WORKAREA
11720
11721         * lyxtext.h:
11722         * text.C:
11723         * text2.C: code re-organisation, inline helpers
11724
11725 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11726
11727         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11728         std::vector.empty().
11729
11730 2001-11-09  Allan Rae  <rae@lyx.org>
11731
11732         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11733         '\n's after tables.  Tabular and ERT inset work now makes this no
11734         longer necessary.
11735
11736 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * minibuffer.h:
11739         * minibuffer.C: fix crash, improve drop-down completion
11740
11741 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * lyxserver.h:
11744         * lyxserver.C: invalidate fd's when doing endPipe()
11745
11746 2001-11-08  José Matos  <jamatos@fep.up.pt>
11747
11748         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11749         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11750
11751         * paragraph.h:
11752         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11753
11754 2001-11-07  José Matos  <jamatos@fep.up.pt>
11755
11756         * buffer.h:
11757         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11758         const qualifier.
11759
11760         * buffer.C (sgmlOpenTag):
11761         * buffer.C (sgmlCloseTag): removed debug info.
11762
11763         * buffer.h (sgmlOpenTag):
11764         * buffer.h (sgmlCloseTag): made public.
11765
11766 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * buffer.C (saveParamsAsDefaults):
11769         * lyx_cb.C (MenuLayoutSave): remove
11770
11771         * LyXAction.C (init):
11772         * commandtags.h:
11773         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11774
11775 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * buffer.C (setPaperStuff): removed from here...
11778
11779         * bufferparams.C (setPaperStuff): ... and moved there.
11780
11781 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * minibuffer.h:
11784         * minibuffer.C:
11785         * XFormsView.C: add support for drop-down completion
11786
11787 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11790         commands.
11791
11792 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11793
11794         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11795         disabled.
11796
11797 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * lyx_main.C: change ref to known bugs
11800
11801 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11802
11803         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11804         to work around older babel problems.
11805
11806 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11807
11808         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11809
11810 2001-10-24  Juergen Vigna  <jug@sad.it>
11811
11812         * tabular-old.C (ReadOld): below variable changes reflected.
11813
11814         * tabular.[Ch]: added ltType struct for longtable header/footer
11815         defines and changed all instances where they are used. Added
11816         future support for double top/bottom rows.
11817
11818 2001-10-24  José Matos  <jamatos@fep.up.pt>
11819
11820         * buffer.h (docbookHandleCaption):
11821         * buffer.C (docbookHandleCaption): removed unused function.
11822         (makeDocBookFile): moved docbook supported version to v4.1.
11823
11824 2001-10-24  José Matos  <jamatos@fep.up.pt>
11825
11826         * tabular.h:
11827         * tabular.C (docbookRow): new function to export docbook code of a row.
11828         (DocBook): now honors the longtable flags.
11829
11830 2001-10-23  José Matos  <jamatos@fep.up.pt>
11831
11832         * LaTeXFeatures.h:
11833         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11834         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11835
11836         * buffer.C (makeLinuxDocFile):
11837         (makeDocBookFile): reworked the preamble, more clean, and with
11838         support for lyx defined entities. Changed the document declaration
11839         to be more XML friendly.
11840
11841         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11842         if we need to output XML that should be done with a filter.
11843
11844 2001-10-22  Juergen Vigna  <jug@sad.it>
11845
11846         * sp_pspell.h (class PSpell): add alive function needed in the
11847         controller to see if the spellchecker could be started.
11848
11849 2001-10-22  Juergen Vigna  <jug@sad.it>
11850
11851         * buffer.C (insertStringAsLines): modify the font for inserting
11852         chars in certain conditions by calling checkInsertChar(font).
11853
11854 2001-10-19  Juergen Vigna  <jug@sad.it>
11855
11856         * text.C (workWidth): use getRow instead of wrong algorithm.
11857         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11858
11859 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * lyxserver.h:
11862         * lyxserver.C:
11863         * lyx_main.h:
11864         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11865
11866 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11867
11868         * text.C (workWidth): do not search for the exact row when
11869         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11870         optimization for big documents.
11871
11872 2001-10-18  Juergen Vigna  <jug@sad.it>
11873
11874         * text.C (workWidth): new function with added Inset * parameter.
11875
11876 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11879
11880         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11881         change return type of getColumnNearX.
11882
11883
11884         * text.C (changeRegionCase): use uppercase/lowercase instead of
11885         toupper/tolower.
11886         (leftMargin):
11887         (rightMargin): simplify code by factoring out the uses of
11888         textclasslist.
11889         (labelFill):
11890         (numberOfHfills):
11891         (setHeightOfRow):
11892         (appendParagraph): use Paragraph::size_type
11893
11894 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11895
11896         * vspace.C (asLatexString): add a missing break
11897
11898 2001-10-15  Herbert Voss  <voss@perce.de>
11899
11900         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11901
11902 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11905         is not available.
11906
11907 2001-10-10  André Pönitz <poenitz@gmx.net>
11908
11909         * lyxfunc.C: removed greek_kb_flag.
11910
11911 2001-10-10  Herbert Voss  <voss@perce.de>
11912
11913         * lyx_main.C: delete global string help_lyxdir.
11914
11915 2001-10-09  Herbert Voss  <voss@perce.de>
11916
11917         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11918
11919         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11920
11921         * lyx_main.C: added global string help_lyxdir.
11922
11923         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11924
11925 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11926
11927         * lyxrc.C (set_font_norm_type): support iso8859-4
11928
11929 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11930
11931         * LaTeX.C (deplog): add another regex for MikTeX
11932
11933 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11934
11935         * lyxrc.C (set_font_norm_type): support iso8859-3
11936
11937 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11938
11939         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11940
11941         * LaTeXFeatures.C: remove special case of french and index
11942
11943         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11944         before \begin{document}). This solves several incompatibilities.
11945
11946 2001-10-03  Garst Reese  <reese@isn.net>
11947
11948         * lyx_cb.C: change CheckTex error msg.
11949
11950 2001-10-03  José Matos  <jamatos@fep.up.pt>
11951
11952         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11953
11954 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11955
11956         * .cvsignore: update
11957
11958         * lyx_main.C (commandLineVersionInfo): use new style version info.
11959
11960         * buffer.C (writeFile):
11961         (makeLaTeXFile):
11962         (makeLinuxDocFile):
11963         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11964
11965         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11966
11967         * version.h: update to use stuff in version.C
11968
11969         * version.C.in: new file. Contains version information determined
11970         at compile time. This is a merging of version.h and
11971         version_info.h.in.
11972
11973 2001-10-03  Juergen Vigna  <jug@sad.it>
11974
11975         * BufferView_pimpl.C (update): don't change "dirty" status in
11976         updateInset call.
11977
11978 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * WorkArea.C (c-tor): re-position version string slightly.
11981
11982 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11983
11984         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11985         revert to previous code.
11986
11987         WorkArea.[Ch]: (show, destroySplash): methods removed.
11988
11989         WorkArea.C: rework code so that it's an amalgam of the codes before and
11990         after the splash screen was moved to WorkArea.
11991
11992 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * lyxrc.C (read):
11995         * vspace.C (inPixels):
11996         (lyx_advance):
11997         * kbmap.C (bind):
11998         * buffer.C (insertStringAsLines):
11999         (asciiParagraph): fix types to be large enough
12000
12001         * lyxlex_pimpl.h: change member status from short to int
12002
12003         * layout.h: fix type of endlabeltype
12004
12005         * kbmap.C (bind):
12006         * kbsequence.C (parse): change return type to string::size_type
12007
12008         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12009         variable
12010
12011         * Bullet.C (bulletSize):
12012         (bulletEntry): do not use short ints as parameters
12013
12014         * BufferView2.C (insertLyXFile): change a char to an int.
12015
12016         * WorkArea.C (WorkArea): remove unneeded floats in computation
12017
12018 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12019
12020         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12021
12022         * paragraph.C (asString): Do not ignore newline/hfill chars when
12023         copying to the clipboard.
12024
12025 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12026
12027         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12028         after a multi-line inset.
12029
12030 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12031
12032         * paragraph.C (validate): Set NeedLyXFootnoteCode
12033
12034 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12037         and decrease-error to decrease.
12038
12039 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12042         it more readable (should be equivalent)
12043
12044 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12045
12046         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12047
12048 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12049
12050         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12051         of a cursor (row, etc.) after a character has been deleted
12052         (deleteEmptyParagraphMechanism): call the method above on _all_
12053         cursors held by the LyXText when a double space has been
12054         detected/deleted.
12055
12056 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12059         pixmap.
12060         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12061
12062         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12063         background. Use greyOut() and the new show() methods to toggle between
12064         the foreground and background. Add code to remove the splash after
12065         its initial showing.
12066
12067         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12068         (create_forms): no longer call Dialogs::showSplash.
12069
12070 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12071
12072         * .cvsignore: add version_info.h
12073
12074 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12075
12076         * version_info.h.in: new file
12077
12078         * Makefile.am: add version_info.h.in
12079
12080         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12081         version_info.h instead of VERSION_INFO
12082
12083 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12084
12085         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12086         The ERT inset now returns string().
12087
12088 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12089
12090         * lyxtext.h, text.C (selectNextWord): renamed as
12091         selectNextWordToSpellcheck.
12092
12093         * text.C (selectNextWordToSpellcheck): Modified to not select
12094         words inside an ERT inset.
12095
12096 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12097
12098         * lyx_cb.C (MenuLayoutSave): change a bit the question
12099
12100         * sp_base.h: include <sys/types.h>
12101
12102 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12103
12104         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12105
12106 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12107
12108         * several files: fix typos in user-visible strings
12109
12110 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * text2.C (pasteSelection): do not set the selection, since it
12113         will be cleared later. Actually, the intent was to fix the way the
12114         selection was set, but I figured rmoving the code was just as good.
12115
12116 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12117
12118         * FontLoader.C (available): Check if font is available without
12119         loading the font.
12120
12121 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12122
12123         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12124
12125 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * lyxrc.[Ch]: added display_graphics variable and associated code.
12128
12129 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * bufferparams.C (hasClassDefaults): new method. Returns true if
12132         the buffer parameters correspond to known class defaults
12133
12134 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12135
12136         * XFormsView.C (show): set minimum size to the main window.
12137
12138 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12139
12140         * text2.C (copySelection):
12141         (cutSelection):
12142         * lyxfind.C (LyXReplace):
12143         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12144         LyXText::selectionAsString.
12145
12146         * paragraph.C (asString): add "label" argument to the second form
12147
12148         * text2.C (selectionAsString): add "label" argument and pass it to
12149         Paragraph::asString.
12150
12151 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * lyx_main.C (commandLineHelp): remove version information
12154
12155 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12156
12157         * lyx_main.C: add -version commandline option
12158
12159 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12160
12161         * paragraph.h: make the optional constructor arg required instead.
12162         some modifications to other files because of this.
12163
12164         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12165
12166         * lyxserver.C (C_LyXComm_callback): make it static
12167
12168         * lyx_main.C (error_handler): make it static
12169
12170         * lyx_gui.C (LyX_XErrHandler): make it static
12171
12172         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12173
12174         * WorkArea.C: make the extern "C" methods static.
12175
12176         * Makefile.am (lyx_LDADD): simplify
12177
12178 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12179
12180         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12181         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12182
12183         * LyXAction.C (init):
12184         * lyxfunc.C (dispatch): associated code removal.
12185
12186 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12187
12188         * lyxfont.h (isSymbolFont): shut off warning
12189
12190         * text.C (setHeightOfRow):
12191         (getVisibleRow): fix crash with empty paragraphs which have a
12192         bottom line
12193
12194 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12195
12196         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12197         code.
12198
12199 2001-09-04  José Matos  <jamatos@fep.up.pt>
12200         * buffer.C
12201         * buffer.h
12202         * tabular.C (docbook): rename docBook method to docbook.
12203
12204 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * Makefile.am: add dependencies to main.o.
12207
12208 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * FontLoader.C (available): Return false if !lyxrc.use_gui
12211
12212 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12213
12214         * FontInfo.C (query):
12215         * converter.C (view):
12216         * importer.C (Import):
12217         * exporter.C (Export): Can not -> cannot.
12218
12219 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * BufferView_pimpl.C: allow to create index inset even if
12222           string is empty
12223
12224 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12225
12226         * buffer.C (getLists): replace boost::tie code with an explicit pair
12227         as boost::tie can break some compilers.
12228
12229         * iterators.h: Added a std:: declaration to the return type of
12230         ParIterator::size.
12231
12232 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12235           case.
12236
12237 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12238
12239         * iterators.[Ch]: New files. Provide paragraph iterators.
12240
12241         * buffer.C (changeLanguage): Use paragraph iterators.
12242         (isMultiLingual): ditto
12243
12244         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12245
12246 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * FontLoader.C: Support for cmr font.
12249
12250 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12251
12252         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12253         (available): New method.
12254
12255         * FontInfo.C (getFontname): Use scalable fonts even when
12256         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12257         found.
12258
12259 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12260
12261         * converter.C (Formats::view): reverted! Incorrect fix.
12262
12263 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * converter.C (Formats::view): only output the -paper option
12266         if the dvi viewer is xdvi, thereby fixing bug #233429.
12267
12268 2001-08-23  Herbert Voss  <voss@perce>
12269
12270         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12271
12272 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12273
12274         * Spacing.h (Spacing): Set space to Default on in the default
12275         constructor.
12276
12277 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * vc-backend.h (RCS::versionString): add RCS to version
12280         (CVS::versionString): add CVS to version
12281
12282         * vc-backend.C (scanMaster): do not add CVS to version.
12283         (scanMaster): do not add RCS to version
12284
12285         * lyxvc.C (versionString): new method
12286
12287         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12288
12289 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * Spacing.C (set): initialize fval
12292
12293 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12296         " or \.
12297
12298 2001-08-16  Juergen Vigna  <jug@sad.it>
12299
12300         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12301
12302 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C:
12305         * figureForm.C:
12306         * lyxtext.h:
12307         * text2.C: setParagraph takes linespacing now
12308
12309 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * LyxAction.C: add internal LFUN_CITATION_INSERT
12312
12313         * LyXView.C: actually apply fix
12314
12315         * bufferlist.C: fix open non-existent file
12316
12317         * lyxfind.C: fix indentation
12318
12319         * lyxfunc.C: remove unneeded assert, fix typo
12320
12321 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * MenuBackend.C: use "Floatname List"
12324
12325 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12326
12327         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12328         when converting LaTeX layout to insetERT.
12329         Generate a non-collapsed float when reading old float
12330
12331 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12334         ERT insets.
12335
12336 2001-08-13  Juergen Vigna  <jug@sad.it>
12337
12338         * text.C (fill): return 0 instead of 20 as this seems to be the more
12339         correct value.
12340
12341 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12342
12343         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12344         lyxrc.font_norm.
12345
12346 2001-08-13  Juergen Vigna  <jug@sad.it>
12347
12348         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12349         casesensitive off.
12350         (SearchBackward): comment out the unlocking of the inset_owner this
12351         should not be needed!
12352
12353 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12354
12355         * Many files: Remove inherit_language, and add latex_language
12356
12357         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12358         collapsible insets.
12359
12360 2001-08-10  Juergen Vigna  <jug@sad.it>
12361
12362         * text.C (prepareToPrint): fixed hfill-width in draw!
12363
12364         * BufferView2.C (selectLastWord): save the selection cursor as this
12365         now is cleared in the function LyXText::clearSelection!
12366
12367 2001-08-08  Juergen Vigna  <jug@sad.it>
12368
12369         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12370         BACKSPACE type functions.
12371
12372         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12373         is only cutted from the document but not put in the cut-buffer, where
12374         still the old stuff should be.
12375
12376         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12377
12378         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12379
12380         * tabular.C (SetWidthOfCell): fixed special case where the width
12381         was not updated!
12382         (LeftLine): handle '|' in align_special.
12383         (RightLine): ditto
12384         (LeftAlreadyDrawed): ditto
12385         (SetWidthOfCell): ditto
12386
12387 2001-08-07  Juergen Vigna  <jug@sad.it>
12388
12389         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12390
12391 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12394         * lyxlex.[hC]: ditto
12395
12396 2001-08-06  Juergen Vigna  <jug@sad.it>
12397
12398         * text.C (getVisibleRow): fix up row clearing a bit.
12399
12400 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * minibuffer.C: make sure the X server sees the changes in the input.
12403
12404 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * paragraph.C (getFont): split into...
12407         (getLabelFont): this
12408         (getLayoutFont): and this
12409         * paragraph_pimpl.C (realizeFont): calling this
12410
12411         * text2.C (getFont): split into...
12412         (getLayoutFont): this
12413         (getLabelFont): and this
12414         (realizeFont): all three calling this
12415
12416         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12417         files where used.
12418
12419 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12422
12423 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12424
12425         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12426         layouts from the Quote inset insertion.
12427
12428 2001-08-03  Juergen Vigna  <jug@sad.it>
12429
12430         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12431
12432         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12433         only if status not is already CHANGED_IN_DRAW (second level).
12434
12435         * text.C (draw): don't set the need_break_row when inside an
12436         InsetText LyXText.
12437
12438 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * buffer.C (parseSingleLyXformat2Token): handle more latex
12441         conversion cases.
12442
12443         * bufferview_funcs.[hC]: change function names to
12444         begin with small char, adjust other files.
12445
12446 2001-08-02  André Pönitz <poenitz@gmx.net>
12447
12448         * lyxfunc.C:
12449         BufferView_pimpl.C: remove broken special code for math-greek
12450
12451 2001-08-02  Juergen Vigna  <jug@sad.it>
12452
12453         * BufferView_pimpl.C (update): redone this function so that we
12454         update the text again if there was a CHANGE_IN_DRAW.
12455
12456         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12457         (drawFromTo): added a new internal bool which is used by draw() and
12458         redraw() function.
12459         (general): some cursor drawing problems fixed.
12460
12461 2001-08-01  Juergen Vigna  <jug@sad.it>
12462
12463         * lyxfind.C (LyXFind): fixed
12464         (SearchForward): ditto
12465         (SearchBackward): ditto
12466
12467         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12468         spurius drawing of the cursor in the main area.
12469
12470         * text2.C (status): small fix which could lead to a segfault!
12471         (clearSelection): remove unneeded BufferView param.
12472
12473 2001-08-01  André Pönitz <poenitz@gmx.net>
12474
12475         * lyxfunc.C: small change due to changed mathed interface
12476
12477 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12480
12481 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12482
12483         * lyxfunc.c: fail gracefully if file doesn't exist
12484
12485         * LyXSendto.C:
12486         * buffer.C:
12487         * lyxfunc.C:
12488         * BufferView_pimpl.C: IsDirWriteable() proto changed
12489
12490         * LyXView.C: fix updateWindowTitle() to store the last title
12491
12492 2001-07-31  Juergen Vigna  <jug@sad.it>
12493
12494         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12495         the font (wrong since using of Paragraph::highestFontInRange).
12496
12497         * paragraph.C (highestFontInRange): added a default_size parameter.
12498
12499         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12500         (setHeightOfRow): reformat
12501
12502 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * converter.[hC] + affected files: move to (inital-char)lowercase
12505         function names.
12506
12507         * ParagraphParameters.C (ParagraphParameters): remove commented code
12508
12509         * PainterBase.[Ch]: remove commented code
12510
12511         * LaTeXFeatures.h: add "bool floats" for float.sty
12512
12513         * LaTeXFeatures.C (LaTeXFeatures): init floats
12514         (require): handle float
12515         (getPackages): do it with floats
12516
12517 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12518
12519         * BufferView_pimpl.C (Dispatch): improve handling of
12520         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12521
12522         * commandtags.h: #include lyxfont.h here temporarily to avoid
12523         keybinding bug.
12524
12525         * bufferlist.h: include LString.h here.
12526
12527 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * text2.C (getStringToIndex): new method.
12530
12531 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12532
12533         * *: Reduced header file dependencies all over.
12534
12535 2001-07-30  Baruch Even  <baruch@lyx.org>
12536
12537         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12538
12539 2001-07-29  Baruch Even  <baruch@lyx.org>
12540
12541         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12542
12543 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * ParameterStruct.h (endif): add a default constructor to make
12546         sure that all variables is initialized.
12547
12548         * ParagraphParameters.C (ParagraphParameters): adjust
12549
12550 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12551
12552         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12553         index; also, check that there is something to index, and that it
12554         does not span over several paragraphs.
12555         (doubleClick): use WHOLE_WORD_STRICT for double click.
12556
12557         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12558
12559         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12560         scheme.
12561
12562 2001-07-26  Baruch Even  <baruch@lyx.org>
12563
12564         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12565         an InsetFig figure, backwards compatible reading of old figure code.
12566
12567 2001-07-27  Juergen Vigna  <jug@sad.it>
12568
12569         * text2.C: font.realize function adaption.
12570
12571         * text.C (draw): add a warnings lyxerr text if needed.
12572
12573         * layout.C: font.realize function adaption.
12574
12575         * language.C: add inherit_language and implement it's handlings
12576
12577         * bufferview_funcs.C (StyleReset): remove language parameter from
12578         font creation (should be language_inherit now).
12579
12580         * bufferparams.C (writeFile): handle ignore_language.
12581
12582         * paragraph.C (getFontSettings): the language has to be resolved
12583         otherwise we have problems in LyXFont!
12584
12585         * lyxfont.C (lyxWriteChanges): added document_language parameter
12586         (update): removed unneeded language parameter
12587
12588         * paragraph.C (validate): fixed wrong output of color-package when
12589         using interface colors for certain fonts in certain environments,
12590         which should not seen as that on the final output.
12591
12592 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * BufferView_pimpl.C:
12595         * Thesaurus.h:
12596         * Thesaurus.C:
12597         * Makefile.am:
12598         * commandtags.h:
12599         * LyXAction.C: add thesaurus support
12600
12601         * lyxfind.h:
12602         * lyxfind.C: add "once" parameter, for thesaurus, to not
12603           move to the next match
12604
12605 2001-07-26  Juergen Vigna  <jug@sad.it>
12606
12607         * lyxfont.C (realize): honor ignore_language too!
12608         (resolved): ditto.
12609
12610         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12611
12612         * text.C (draw): one place more for ignore_language to not draw
12613         itself!
12614
12615 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12616
12617         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12618
12619 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12622         the minipage conversion problem.
12623
12624 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12627         insert an inset.
12628
12629 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * BufferView.h: don't forward declare WorkArea
12632
12633         * BufferView.C: don't include WorkArea.h
12634
12635 2001-07-25  André Pönitz <poenitz@gmx.net>
12636
12637         * commandtags.h:
12638         * LyXAction.C:
12639         * lyxfunc.C:  new LFUN 'math-space'
12640
12641         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12642
12643 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * text2.C (toggleInset): call open/close
12646
12647 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * lyxfunc.C (dispatch): add debug for the disabled case
12650
12651         * font.C (buttonText): make similar to rectText
12652
12653         * buffer.C (readInset): comment out parsing of insetlist and
12654         insttheorem
12655
12656         * PainterBase.C (rectText): small correction
12657
12658         * BufferView_pimpl.C: comment out insettheorem and insetlist
12659         * LyXAction.C: ditto
12660         * commandtags.h: ditto
12661
12662 2001-07-24  Juergen Vigna  <jug@sad.it>
12663
12664         * text.C (draw): honor the ignore_language.
12665
12666         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12667
12668 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12669
12670         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12671         char inset.
12672
12673 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12674
12675         * lyxtext.h: remove unused (and unimplemented) methods
12676
12677 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12678
12679         * text.C (getVisibleRow): honor background color
12680
12681         * PainterBase.h:
12682         * Painter.h: remove default color argument for fillRectangle
12683
12684         * text.C (backgroundColor): new method
12685
12686 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * text.C (getVisibleRow): adjust
12689
12690         * font.[Ch] (rectText): new method, metrics
12691         (buttonText): new method, metrics
12692
12693         * PainterBase.[hC]: make rectText and buttonText always draw and take
12694         fewer paramteres.
12695
12696 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12697
12698         * ToolbarDefaults.C (read):
12699         * MenuBackend.C (read): allow escaping in all strings
12700
12701         * BufferView_pimpl.C (insertAndEditInset): new method.
12702         (Dispatch): use insertAndEditInset whenever appropriate.
12703
12704         * BufferView_pimpl.C (insertNote): removed
12705
12706         * BufferView_pimpl.C (smartQuote): new method, moved from
12707         BufferView; if an insetquote cannot be inserted, insert a '"'
12708         character instead.
12709
12710         * BufferView2.C: remove insertCorrectQuote();
12711
12712         * lyxfunc.C (getStatus): Add support for all remaingin
12713         inset-insert lfuns.
12714
12715         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12716
12717         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12718         command (necessary to pass " as parameter of self-insert.
12719
12720         * text.C (selectWordWhenUnderCursor):
12721         (selectWord): add word_location parameter
12722         (selectWordWhenUnderCursor): same + remove special code for word
12723         boundary.
12724         (selectNextWord): use kind() to guess type of insetspecialchar,
12725         not latex().
12726
12727         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12728         (insertErtContents): create ert insets as collapsed.
12729         (readInset): better compatibility code for Info inset.
12730
12731 2001-07-20  Juergen Vigna  <jug@sad.it>
12732
12733         * lyxfunc.C (dispatch): use always LyXFind now!
12734
12735         * text2.C (init): add a reinit flag so that the LyXText can be
12736         reinited instead of deleted and reallocated (used in InsetText).
12737
12738         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12739
12740         * text.C: ditto
12741
12742         * text2.C: ditto
12743
12744 2001-07-18  Juergen Vigna  <jug@sad.it>
12745
12746         * text.C (selectNextWord): handle insets inside inset by calling
12747         always the bv->text functions so that we can go up the_locking_inset!
12748
12749         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12750         in strange locations when inside an inset!
12751
12752         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12753         handling to include insets.
12754
12755         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12756
12757 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * LyXAction.C (init):
12760         * commandtags.h:
12761         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12762         LIGATURE_BREAK, since the name is so stupid.
12763
12764 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12767         InsetInfos.
12768
12769         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12770
12771         * sp_form.[Ch]: remove.
12772
12773         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12774
12775         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12776         InsetInfo.
12777
12778         * src/buffer.C (readInset): ditto.
12779
12780 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12781
12782         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12783         menuSeparator(), endOfSentenceDot(), ldots() and
12784         hyphenationPoint(), which are therefore removed.
12785         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12786
12787         * LyXAction.C (init):
12788         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12789
12790         * paragraph.C (getWord): removed.
12791
12792         * BufferView_pimpl.C (Dispatch): use last word or selection for
12793         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12794
12795         * lyx_main.C (queryUserLyXDir): do not ask before creating
12796         user_dir, except if it has been named explicitely.
12797
12798 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12799
12800         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12801         a document of zero size.
12802
12803 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12804
12805         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12806         approriately in the c-tor and in require().
12807         (getPackages): output the appropriate LaTeX for natbib support.
12808
12809         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12810         variables "use_natbib" and "use_numerical_citations" when reading the
12811         LyX file.
12812         (readInset): read the various natbib cite commands.
12813         (validate): white-space change.
12814
12815         * bufferparams.[Ch]: new variables "bool use_natbib" and
12816         "bool use_numerical_citations".
12817         (writeFile): output them in the LyX file.
12818
12819 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12820
12821         * lyxfunc.C (getStatus): add support for all the inset insertion
12822         commands.
12823
12824         * text2.C (insertInset):
12825         * paragraph.C (insetAllowed):
12826         * BufferView_pimpl.C (insertInset): update to take in account the
12827         renaming of insertInsetAllowed
12828
12829         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12830
12831         * text2.C (getInset): new method. returns inset at cursor position.
12832
12833         * BufferView_pimpl.C (Dispatch): changes because of this.
12834
12835         * LyXAction.C (init): rename open-stuff to inset-toggle.
12836
12837         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12838
12839         * text2.C (toggleInset): renamed from openStuff; use
12840         Inset::open().
12841
12842 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12843
12844         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12845
12846         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12847
12848 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12849
12850         * buffer.C (readLyXformat2): Add filename to the error dialog
12851
12852 2001-07-18  Juergen Vigna  <jug@sad.it>
12853
12854         * tabular.C (GetCellNumber): put an assert here instead of the check!
12855
12856 2001-07-17  Juergen Vigna  <jug@sad.it>
12857
12858         * BufferView_pimpl.C (toggleSelection): adapted too.
12859
12860         * text.C (selectNextWord): adapted for use with insets.
12861         (selectSelectedWord): ditto
12862
12863 2001-07-17  Juergen Vigna  <jug@sad.it>
12864
12865         * sp_spell.C (PSpell): fix initialitation order.
12866
12867 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * paragraph.C: spacing
12870
12871 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12872
12873         * sp_spell.C: repair language selection for pspell
12874
12875 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * lyxfunc.h: change more methods to begin with lower char.
12878
12879 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12880
12881         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12882         for unknown layouts.
12883
12884 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * buffer.C (readLyXformat2): Generate an error dialog if there are
12887         unknown layouts.
12888
12889 2001-07-16  Juergen Vigna  <jug@sad.it>
12890
12891         * sp_spell.C: always compile ISpell part.
12892
12893         * lyxrc.C: added use_pspell entry and it's handling.
12894
12895 2001-07-13  Juergen Vigna  <jug@sad.it>
12896
12897         * sp_spell.C: removed double includes.
12898
12899 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         Consistent use of Lsstream.h:
12902         * Lsstream.h: added using std::stringstream for consistencies sake.
12903
12904         * buffer.C: removed using std::stringstream
12905
12906         * lyxfont.C (stateText):
12907         * paragraph.C (asString):
12908         * text.C (selectNextWord, selectSelectedWord):
12909         * text2.C (setCounter):
12910         * vspace.C (asString, asLatexString):
12911         std::ostringstream -> ostringstream.
12912
12913 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12914
12915         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12916         * commandtags.h: add LFUN_HELP_ABOUTLYX
12917         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12918
12919 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12920
12921         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12922         cursorToggle()
12923         * lyx_gui_misc.C: remove spellchecker
12924         * lyxfunc.C: showSpellchecker
12925         * sp_base.h: added
12926         * sp_ispell.h: added
12927         * sp_pspell.h: added
12928         * sp_spell.C: added
12929         * sp_form.[Ch]: removed
12930         * spellchecker.[Ch]: removed
12931
12932 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12933
12934         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12935         is set.
12936         (simpleTeXSpecialChars): Simply print the input character without
12937         any special translation if pass_thru is set.
12938
12939         * layout.h: Added bool pass_thru to layout class for being able to
12940         implement pass through of a paragraph for Literate Programming.
12941
12942         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12943         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12944         * layout.C (Read): add "passthru" to list of layout tags and add
12945         code to set the pass_thru boolean when it is read.
12946
12947 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * trans_decl.h: remove allowed from KmodInfo
12950
12951         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12952         remove allowed code
12953         (Load): adjust
12954
12955         * paragraph_pimpl.C (erase): use boost::prior
12956
12957         * Painter.C (text): use data() instead of c_str() when length is
12958         also provided.
12959         * WorkArea.C (putClipboard): ditto
12960         * font.h (width): ditto
12961
12962         * BufferView2.C: use it-> instead of (*it). for iterators
12963         * texrow.C: ditto
12964         * paragraph_pimpl.C: ditto
12965         * paragraph.C: ditto
12966         * minibuffer.C: ditto
12967         * language.C: ditto
12968         * kbmap.C: ditto
12969         * encoding.C: ditto
12970         * counters.C: ditto
12971         * converter.C: ditto
12972         * chset.C: ditto
12973         * Variables.C: ditto
12974         * TextCache.C: ditto
12975         * MenuBackend.C: ditto
12976         * LyXAction.C: ditto
12977         * LColor.C: ditto
12978         * FloatList.C: ditto
12979         * DepTable.C: ditto
12980         * ColorHandler.C (LyXColorHandler): ditto
12981
12982 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983
12984         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12985
12986         * text2.C (openStuff): reintroduce this method (which had been
12987         nuked in NEW_INSETS frenzy).
12988
12989         * lyxfunc.C (Dispatch): when an action has not been handled, use
12990         its name in the error message, not its number.
12991
12992         * paragraph.C (inInset): change method name to begin with lowercase.
12993
12994         * undo_funcs.C:
12995         * text2.C: updates because of this.
12996
12997 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * ToolbarDefaults.C (add): add spaces in error message
13000
13001 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13002
13003         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13004         (readLyXformat2): rename return_par to first_par, use lyxlex's
13005         pushToken and remove the manual push handling.
13006         (parseSingleLyXformat2Token): add another ert comp. variable:
13007         in_tabular, rename return_par to first_par. handle newlines better
13008
13009 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13012
13013 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * text2.C (getParFromID): removed
13016
13017         * buffer.C (getParFromID): new method moved form lyxtext.
13018         * BufferView2.C (insertErrors): adjust
13019         (setCursorFromRow): adjust
13020         * BufferView_pimpl.C (restorePosition): adjust
13021         * lyxfunc.C (Dispatch): adjust
13022         * undo_funcs.C (textUndo): adjust
13023         (textRedo): adjust
13024         (textHandleUndo): adjust
13025         (textHandleUndo): adjust
13026
13027 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * buffer.C: up' the LYX_FORMAT
13030
13031         * lyxfont.h: turn NO_LATEX on as default
13032
13033         * buffer.C (insertErtContents): new methods of tex style compability.
13034         (parseSingleLyXformat2Token): use it several places.
13035         * tabular.C (OldFormatRead): and here
13036
13037 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * text2.C: remove some commented code.
13040         reindent file.
13041
13042         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13043         * trans.C: changes because of the above.
13044
13045 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * text2.C (setCounter): Fix counters bug with bibliography layout.
13048
13049 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13052         own member functions
13053         (simpleTeXSpecialChars): ditto
13054
13055 2001-07-06  Juergen Vigna  <jug@sad.it>
13056
13057         * a lot of files: changed the access to LyXText::status and the
13058         call of undo-functions.
13059
13060         * undo.[Ch]: added a inset_id to the undo informations.
13061
13062         * undo_funcs.[Ch]: added and moved here all undo functions.
13063
13064         * lyxtext.h: give the status enum a weight, made status_ a private
13065         variable and made accessor functions for it, removed the whole bunch
13066         of undo-functions as they are now in their own file, make some
13067         functions publically available. Added function ownerParagraph with
13068         int parameter.
13069
13070         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13071         made InInset() a const function, added getParFromID() function.
13072
13073         * buffer.[Ch]: added const version for inset_iterator functions,
13074         added getInsetFromID() function.
13075
13076         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13077         changed undo functions for new version.
13078
13079 2001-07-05  Juergen Vigna  <jug@sad.it>
13080
13081         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13082         unknow mechanism does not call the proper constructor but only this
13083         one also if I request the other!?
13084
13085 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13088
13089         * text2.C (LyXText): use initialization lists.
13090
13091         * lyxtext.h (Selection): initialize set_ and mark_
13092         (init): remove method
13093
13094 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13095
13096         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13097
13098 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * screen.[Ch]: change method names to begin with lowercase
13101
13102         * BufferView_pimpl.C (updateScrollbar): simplify further and
13103         hopefully make it a bit faster.
13104
13105 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13108         calling directly xforms functions.
13109
13110         * Painter.C (Painter):
13111         * lyx_cb.C (MenuWrite):
13112         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13113         fl_display.
13114
13115         * lyx_gui.C: remove bogus guiruntime extern declaration.
13116
13117 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13120         in NEW_INSETS
13121         (redoDrawingOfParagraph): ditto
13122         (redoParagraphs): ditto
13123         (cutSelection): don't create a object for CutAndPaste use the
13124         static method directly
13125         (pasteSelection): ditto
13126
13127         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13128         LyXview (+ rename)
13129
13130 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * modifications to some other files because of this.
13133
13134         * Makefile.am (lyx_SOURCES): add XFormsView
13135
13136         * XFormsView.[Ch]: new files
13137
13138         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13139         the main window. Move the gui dependent stuff to XFormsView
13140
13141 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * tabular.C (GetCellInset): update cur_cell also in the row/col
13144         version of this function.
13145
13146         * lyxfunc.C: no need to include figure_form.h here.
13147
13148         * FontLoader.h:
13149         * lyxfunc.h:
13150         * lyxscreen.h:
13151         * text2.C:
13152         * lyxvc.C: no need to include forms.h here.
13153
13154 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13157
13158         * lyxfunc.C (Dispatch):
13159         * Spacing.C (set):
13160         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13161         constructor argument.
13162
13163 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * paragraph.C (Paragraph): dont't clear, and just set layout.
13166         (makeSameLayout): use params's copy contructor.
13167
13168         * ParagraphParameters.[Ch] (makeSame): delete method
13169
13170 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * Variables.[Ch]: fix indentation, rename set to isSet
13173
13174 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * lyxfunc.C (Dispatch): fix typo
13177
13178 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13181         upper_bound.
13182
13183         * bufferlist.C: include assert.h for emergencyWrite().
13184
13185 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13188           give up at last (bug #425202) !
13189
13190 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * lyx_gui_misc.C:
13193         * sp_form.h:
13194         * sp_form.C:
13195         * spellchecker.h:
13196         * spellchecker.C: strip spellchecker options and bring up
13197           preferences tab instead
13198
13199 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13202         the istringstream constructor
13203
13204 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13205
13206         * paragraph.C (getLayout): fix return value
13207
13208         * paragraph.h: do not declare getLayout as inline.
13209
13210         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13211
13212 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * lyxcursor.h (operator<): new func
13215         (operator>): new func
13216         (operator>=): new func
13217         (operator<=): new func
13218
13219         * text.C (changeCase): use selection.start and selection.end
13220         (changeRegionCase): require from to be <= to. Require par to be a
13221         valid paragraph.
13222
13223         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13224
13225 2001-06-27  Juergen Vigna  <jug@sad.it>
13226
13227         * text.C (cursorLeftOneWord): changed to return the cursor and added
13228         overlay with BufferView * parameter which calls this one.
13229         (getWord): added
13230         (selectWord): use new getWord function.
13231         (changeCase): renamed from changeWordCase as and extended to work
13232         also on selections.
13233
13234         * lyxtext.h: added enum word_location
13235
13236         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13237         changeCase as this operates now also on selections.
13238
13239 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13240
13241         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13242
13243         * many files: send debug output to Debug::INFO instead of
13244         Debug::ANY.
13245
13246         * converter.C (View):
13247         (Convert):
13248         (Move): send debug output to Debug::FILES instead of console.
13249
13250 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13251
13252         * lyxfunc.C (getStatus): use func_status
13253
13254         * func_status.h: new header, describing the results of
13255         LyXFunc::getStatus;
13256
13257         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13258         LFUN_MATH_HALIGN.
13259
13260 2001-06-25  The LyX Project  <jug@sad.it>
13261
13262         * buffer.C (sgmlOpenTag):
13263         (sgmlCloseTag):
13264         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13265
13266 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * text2.C: remove some dead code
13269
13270         * tabular.C (GetCellInset): store the last cell checked (gotten)
13271
13272         * tabular.h: add the helper for the speedup
13273
13274         * lyxtext.h: remove some dead code
13275
13276 2001-06-26  The LyX Project  <Asger>
13277
13278         * paragraph.C: Change export to LaTeX of alignment to
13279         \begin{center} and family for better roundtrip work with reLyX.
13280
13281         * Tune the math drawing a bit.
13282
13283 2001-06-25  The LyX Project  <Asger>
13284
13285         * LColor.C (LColor): New color for math background. New color
13286         for buttons.
13287
13288 2001-06-25  The LyX Project  <jug@sad.it>
13289
13290         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13291
13292         * lyxfunc.C (Open):
13293         * bufferlist.C (newFile): do not restrict to files ending with
13294         .lyx
13295
13296         * BufferView_pimpl.C (MenuInsertLyXFile):
13297
13298 2001-06-24  The LyX Project  <jug@sad.it>
13299
13300         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13301         of compare_no_case
13302
13303 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13304
13305         * lyxtext.h: rename most methods to begin with a small char.
13306         Lots of changes because of this.
13307
13308         * paragraph.C (Paragraph): do not call fitToSize
13309         (erase): call Pimpl::erase
13310         (insertChar): call Pimpl::insertChar
13311         (insertInset): call Pipl::insertInset
13312         (breakParagraph): do not call fitToSize
13313         (breakParagraphConservative): do not call fitToSize
13314         (fitToSize): remove method
13315
13316         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13317
13318 2001-06-24  The LyX Project  <Asger>
13319
13320         * Fix Qt compilation^2
13321
13322 2001-06-24  The LyX Project  <jug@sad.it>
13323
13324         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13325         depthHook(getDepth()-1).
13326
13327         * paragraph.h:
13328         * ParagraphParameters.h:
13329         * ParameterStruct.h: change type of depth to unsigned int ==
13330         depth_type. Many adaptations to other files before of that.
13331
13332 2001-06-24  The LyX Project  <Asger>
13333
13334         * Fix Qt compilation.
13335
13336 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * paragraph.h: renamed several methods to begin with small letter.
13339         several changes to many parts of the code because of this.
13340
13341 2001-06-23  The LyX Project  <jug@sad.it>
13342
13343         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13344         rewritten to discard all double spaces when KeepEmpty is off
13345         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13346         to only handle newlines but not fiddle with spaces and friends.
13347
13348         * lyxfunc.C (MenuNew): when doing 'new from template', use
13349         template_path as default directory
13350
13351 2001-06-23  The LyX Project  <Asger>
13352
13353         * Clean-up of header file includes all over
13354         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13355
13356 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * paragraph.h: renamed from lyxparagraph.h
13359
13360 2001-06-23  Asger  <lyx@violet.home.sad.it>
13361
13362         * Buffer.h: Removed Buffer::resize
13363         * BufferList.h: Removed BufferList::resize
13364         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13365         the document lazily when we change the width, or the font settings.
13366
13367 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13370
13371 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13372
13373         * buffer.h: remove out of date comment
13374
13375 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * lyxscreen.h:
13378         * screen.C: fix "theoretical" GC leak
13379
13380 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13381
13382         * LaTeX.C (scanAuxFile):
13383         (deplog): remove trailing \r when reading stream (useful under
13384         win32)
13385
13386 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13389         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13390         and BufferView::theLockingInset(Inset*), so should use them and not
13391         access bv_->text->the_locking_inset directly.
13392
13393         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13394
13395 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * Makefile.am:
13398         * tex-defs.h: remove old unused file
13399
13400 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * BufferView_pimpl.C: fix typo, remove minibuffer message
13403           when buffer has loaded
13404
13405 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * lyxfunc.C (Dispatch): use stringstream
13408         (MenuNew): use stringstream
13409         (Open): use stringstream
13410
13411         * importer.C (Import): use stringstream
13412
13413         * bufferview_funcs.C (CurrentState): use stringstream
13414
13415         * LaTeX.C (run): use stringstream
13416
13417         * BufferView_pimpl.C (savePosition): use stringstream
13418         (restorePosition): use stringstream
13419         (MenuInsertLyXFile): use stringstream
13420
13421 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * BufferView.C:
13424         * Bullet.C:
13425         * ColorHandler.C:
13426         * FontInfo.C:
13427         * FontLoader.C:
13428         * LColor.C:
13429         * LaTeXFeatures.C:
13430         * Painter.C:
13431         * gettext.C:
13432         * lyx_gui_misc.C:
13433         * lyxserver.C:
13434         * vspace.C: removed // -*- C++ -*- as first line.
13435
13436         * lyxfind.h:
13437         * version.h: added // -*- C++ -*- as first line.
13438
13439 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13442
13443         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13444         of string
13445
13446 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13449         of floats.
13450
13451 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * gettext.C: include LString.h even when --disable-nls is on.
13454
13455 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13456
13457         * converter.h (Get): changed argument type from int to
13458         FormatList::size_type to avoid unnecessary conversion.
13459
13460         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13461         before using it.
13462
13463 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * gettext.h: include LString.h even when --disable-nls is on.
13466
13467 2001-06-07  Juergen Vigna  <jug@sad.it>
13468
13469         * text.C (BreakAgain): subst spaces with tabs.
13470
13471         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13472         (resizeInsetsLyXText): set force on resizeLyXText.
13473
13474 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * gettext.h (gettext_init):
13477         (locale_init): use a real definition instead of a macro
13478
13479 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * Bufferview_pimpl.C:
13482         * LColor.h:
13483         * LColor.C: further lcolor tidies
13484
13485 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * BufferView_pimpl.C (updateScrollbar): simplify.
13488
13489         * BufferView2.C: don't include insets/insetinfo.h, change
13490         prototype for insertInset and call the Pimpl version. let
13491         updateInset call Pimpl version.
13492
13493         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13494         gotoInset to BufferView::Pimpl
13495
13496 2001-06-01  Juergen Vigna  <jug@sad.it>
13497
13498         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13499         inside a LockingInset (is the update needed at all?).
13500
13501 2001-05-31  Juergen Vigna  <jug@sad.it>
13502
13503         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13504         here not the old one otherwise how should we compare it afterwards
13505         if it's the same!
13506
13507 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * lyxfont.C:
13510         * tabular.C:
13511         * tabular-old.C:
13512         * FontInfo.C: bring C functions into global namespace when
13513         necessary
13514
13515 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * LString.h: make sure config.h has been loaded before LString.h.
13518
13519         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13520         (one for each char read by EatLine!).
13521
13522         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13523         variables.
13524
13525 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13526
13527         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13528         to the same as the par we break from
13529
13530 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13533
13534         * MenuBackend.C (expand): also create menu entries for wide
13535         versions of the floats.
13536
13537         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13538
13539         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13540
13541         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13542         frontends/Makefile.am
13543
13544         * text2.C: adjust
13545         * text.C: adjust
13546
13547
13548         * tabular.C (getTokenValue): add std::
13549
13550         * tabular-old.C (getTokenValue): add std::
13551         (getTokenValue): ditto
13552         (getTokenValue): ditto
13553
13554         * screen.C (ToggleSelection): adjust
13555
13556         * lyxtext.h: put selection cursors inside a Selection struct.
13557
13558         * lyxfunc.C (moveCursorUpdate): adjust
13559
13560         * lyxfont.C (latexWriteStartChanges): add std::
13561
13562         * lyxfind.C: adjust
13563
13564         * font.h: delete with(char const *, LyXFont const &)
13565
13566         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13567
13568         * FontInfo.C (getFontname): add std::
13569
13570         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13571         (workAreaButtonPress): adjust
13572         (tripleClick): adjust
13573         (update): adjust
13574         (moveCursorUpdate): adjust
13575         (Dispatch): adjust
13576
13577         * BufferView2.C (gotoInset): adjust
13578
13579 2001-05-30  Juergen Vigna  <jug@sad.it>
13580
13581         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13582         to check pspell I add this as default as I now have new pspell
13583         libraries and they seem to use this.
13584
13585 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13586
13587         * text2.C (CutSelection): make the cursor valid before the call to
13588         ClearSelection.
13589
13590 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13591
13592         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13593         relied on 0 terminated strings and other horrors. Bug found due to
13594         the new assert in lyxstring!
13595
13596         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13597         KP_ keys.
13598
13599 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13602         to latinkeys.bind.
13603
13604         * lyxfunc.C (processKeySym): change method of getting to the
13605         self-insert char.
13606
13607         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13608         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13609         * BufferView_pimpl.[Ch]: here as private methods.
13610
13611 2001-05-28  Juergen Vigna  <jug@sad.it>
13612
13613         * text.C (SetHeightOfRow): added the update() call again as it is
13614         needed to initialize inset dimensions!
13615
13616 2001-05-16  Juergen Vigna  <jug@sad.it>
13617
13618         * text2.C (SetCharFont): Add new function with BufferView * and
13619         bool toggleall parameters for setting insets internal fonts.
13620         (SetFont): Freeze the undo as we may change fonts in Insets and
13621         all this change should be inside only one Undo!
13622
13623         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13624         setting font's in insets as for them we have the SetFont function!
13625
13626 2001-05-15  Juergen Vigna  <jug@sad.it>
13627
13628         * text2.C (ClearSelection): to be sure we REALLY don't have any
13629         selection anymore!
13630
13631         * tabular.C (TeXCellPreamble): fixed the left border problem for
13632         multicolumn cells.
13633
13634 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13637         dependancy file
13638
13639 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13642         LFUN_BREAKPARAGRAPH.
13643
13644         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13645         help test to "internal only", similar for LFUN_INSERT_URL
13646
13647         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13648         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13649         auto_region_delete and deadkeys.
13650
13651 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * LColor.h:
13654         * LColor.C: remove some dead entries, tidy a little
13655
13656 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13657
13658         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13659         commented code.
13660         (Dispatch): implement LFUN_ESCAPE
13661
13662         * commandtags.h: add LFUN_ESCAPE
13663
13664         * LyXAction.C (init): add entry for LFUN_ESCAPE
13665
13666         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13667         Remove commented code.
13668         (insertNote): moved here
13669         (open_new_inset): moved here
13670
13671         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13672         BufferView_pimpl
13673
13674 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13675
13676         * kbmap.C (findbinding): clean it up and make it work correctly.
13677
13678         * lyx_main.C (init): do not pass argc and argv as parameters
13679
13680 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13681
13682         * buffer.C: fix path for OS/2 & Win32
13683
13684         * lyx_gui.C:
13685         * lyx_main:
13686         * lyx_main.C: Added os:: class.
13687
13688         * os2_defines.h: update
13689
13690 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13693         better by trying again with reduced state.
13694
13695 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * lyxrc.C (read): print error about invalid key sequence only when
13698         debugging (because not all latinX keysyms are known to some X
13699         servers)
13700
13701         * kbsequence.C (getiso): add a few std:: qualifiers
13702         (getiso): comment out extra return statement.
13703
13704 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13707         handling.
13708         (Dispatch): enhance the accent inset a bit. (not perfect)
13709
13710 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13713
13714 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * bufferlist.C (emergencyWrite): fix assert() call
13717
13718 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13719
13720         * text.C (InsertChar): Added trivial patch to only send the "you
13721         can not do multiple spaces this way" message once during a
13722         session.
13723
13724 2001-05-08  Baruch Even  <baruch@lyx.org>
13725
13726         * Makefile.am: Changed order of libraries to get LyX to link properly
13727         with the gnome frontend.
13728
13729 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * LaTeXFeatures.h: add a std:: qualifier
13732
13733 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * paragraph.C (String): use stringstream
13736
13737 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * paragraph.C (writeFile): remove footflag arg
13740
13741         * buffer.C (makeLaTeXFile): use stringstream
13742         (latexParagraphs): remove footnot gurba
13743
13744         * LaTeXFeatures.C (getPackages): use stringstream
13745         (getMacros): likewise
13746         (getTClassPreamble): likewise
13747         (getFloatDefinitions): new method
13748
13749         * paragraph.C (writeFile): reindent
13750         (Erase): reindent
13751
13752         * WorkArea.h: revert the xpos + etc changes.
13753
13754         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13755
13756         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13757
13758         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13759         (pasteSelection): likewise
13760         * text2.C (CreateUndo): likewise
13761
13762 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * minibuffer.C (peek_event): temporarily reduce the functionality
13765         of the minibuffer (to allow args on lfuns)
13766
13767         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13768         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13769
13770         * buffer.C (readInset): add compability reading of old float
13771         lists, add reading of new style float list.
13772         (readInset): avoid reevaluation of inscmd.getCmdName()
13773         (getLists): reindent
13774
13775         * MenuBackend.C (MenuItem): implement parsing of
13776         md_floatlistinsert and md_floatinsert.
13777         (expand::LastFiles): move initalizaton of iterators out of loop,
13778         avoid reevaluation.
13779         (expand::Documents): introduce typdedef vector<string> Strings,
13780         and use it.
13781         (expand::ExportFormats): introduce typedef vector<Format const *>
13782         Formats, and use it.
13783         (expand): implement FloatListInsert and FloatInsert.
13784
13785         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13786         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13787         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13788
13789         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13790         handling.
13791         (Dispatch::LFUN_FLOAT_LIST): implement
13792
13793 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13794
13795         * LaTeX.C (run): Fix problem with --export code.
13796
13797 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13798
13799         * BufferView.[Ch] (workarea): removed.
13800         (getClipboard) new method; wrapper for workarea()->getClipboard()
13801
13802         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13803         bug.
13804
13805         * WorkArea.h (width, height, xpos, ypos): These methods all
13806         returned the dimensions of the work_area sub-area of WorkArea,
13807         resulting in a position error if the WorkArea were resized. Now
13808         return the dimensions of the entire WorkArea.
13809
13810         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13811
13812 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13813
13814         * LaTeX.C (deplog): correct the syntax of regex reg1
13815
13816 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * undo.C: remove !NEW_INSETS cruft
13819
13820 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * text2.C: remove !NEW_INSETS cruft
13823
13824         * text.C: remove !NEW_INSETS cruft
13825
13826         * tabular.C: remove !NEW_INSETS cruft
13827
13828         * spellchecker.C: remove !NEW_INSETS cruft
13829
13830         * lyxtext.h: remove !NEW_INSETS cruft
13831
13832         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13833
13834         * lyxfunc.C: remove !NEW_INSETS cruft
13835
13836         * lyxfind.C: remove !NEW_INSETS cruft
13837
13838         * lyx_cb.C: remove !NEW_INSETS cruft
13839
13840         * figureForm.C: remove  !NEW_INSETS cruft
13841
13842         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13843
13844         * buffer.[Ch]: remove !NEW_INSETS cruft
13845
13846         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13847
13848         * CutAndPaste.C: remove !NEW_INSETS cruft
13849
13850         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13851
13852         * BufferView2.C: remove !NEW_INSETS cruft
13853
13854         * BufferView.h: remove !NEW_INSETS cruft
13855
13856 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * Lsstream.h: include LString.h before the sstream headers to
13859         fix problem with gcc 2.95.3 and lyxstring
13860
13861 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * lyx_main.C: add using directives when needed for C functions
13864         declared in std:: namespace.
13865
13866 2001-04-27  Juergen Vigna  <jug@sad.it>
13867
13868         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13869         (SetHeightOfRow): comment out the update call should not be needed!
13870
13871 2001-04-13  Juergen Vigna  <jug@sad.it>
13872
13873         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13874         (LyXTabular): tried to minimize operator= operations (and realized
13875         hopfully Lars wish).
13876
13877 2001-04-27  Juergen Vigna  <jug@sad.it>
13878
13879         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13880
13881 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13882
13883         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13884
13885         * buffer.C (readInset): hack to make listof algorithm work
13886
13887         * BufferView_pimpl.C: hack to make listof algorithm work
13888
13889 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * LyXAction.C: removed all !NEW_INSETS cruft
13892         (init): moved lfun_item in method
13893
13894         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13895
13896 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * BufferView2.C (theLockingInset): white space.
13899
13900 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * minibuffer.C: include <iostream>
13903
13904         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13905
13906         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13907
13908         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13909
13910         * text.[Ch] (TransposeChars): new method
13911
13912 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * call message directly through LyXView instead of through LyXFunc
13915         * BufferView2.C: adjust
13916         * BufferView_pimpl.C: adjust
13917         * FontLoader.C: adjust
13918         * buffer.C: adjust
13919         * bufferview_funcs.C: adjust
13920         * converter.C: adjust
13921         * figureForm.C: adjust
13922         * importer.C: adjust
13923         * lyx_cb.C: adjust
13924         * lyx_gui_misc.C: adjust
13925         * lyxfunc.C: adjust
13926         * lyxvc.C: adjust
13927         * text2.C: adjust
13928         + more files in subdirs
13929
13930         * lyxparagraph.h (size): move up int file
13931         (GetLayout): ditto
13932
13933         * adjust all uses of Assert to lyx::Assert.
13934
13935         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13936         lyxfunctional in namespace lyx
13937         * layout.C (hasLayout): ditto
13938         (GetLayout): ditto
13939         (GetLayout): ditto
13940         (delete_layout): ditto
13941         (NumberOfClass): ditto
13942         * converter.C (GetFormat): ditto
13943         (GetNumber): ditto
13944         (Add): ditto
13945         (Delete): ditto
13946         (SetViewer): ditto
13947         * bufferlist.C (getFileNames): ditto
13948         (emergencyWriteAll): ditto
13949         (exists): ditto
13950         (getBuffer): ditto
13951         * MenuBackend.C (hasSubmenu): ditto
13952         (hasMenu): ditto
13953         (getMenu): ditto
13954         * BufferView_pimpl.C (getInsetByCode): ditto
13955
13956 2001-04-18  Juergen Vigna  <jug@sad.it>
13957
13958         * vspace.C (asLatexString): fixed the 100% problem.
13959
13960 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13961
13962         * lyxfunc.C (Dispatch):
13963         * minibuffer.C:
13964         * minibuffer.h: add a few std:: qualifiers
13965
13966 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * minibuffer.[Ch]: reimplement so that commands is initiated and
13969         run from lyxfunc, simplified som handling, and made the completion
13970         and history code for complete. wip.
13971
13972         * lyxfunc.C (processKeySym): call message
13973         (miniDispatch): new temporary method
13974         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13975         (LFUN_MESSAGE): implement
13976         (LFUN_MESSAGE_PUSH): implement
13977         (LFUN_MESSAGE_POP): implement
13978         (initMiniBuffer): the initial/defualt minibuffer message.
13979
13980         * lyxfont.[Ch]: inline some more getters
13981
13982         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13983
13984         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13985
13986         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13987         (AutoSave): use LFUN_MESSAGE
13988         (Reconfigure): ditto
13989
13990         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13991
13992         * figureForm.C: use LFUN_MESSAGE
13993
13994         * converter.C (runLaTeX): use LFUN_MESSAGE
13995
13996         * bufferview_funcs.C: use LFUN_MESSAGE
13997         (Melt): ditto
13998         (changeDepth): ditto
13999
14000         * bufferparams.h: use boost::
14001
14002         * bufferlist.h: inherit privately from noncopyable
14003
14004         * bufferlist.C (loadLyXFile): remove some commented code.
14005
14006         * buffer.C (runChktex): use LFUN_MESSAGE
14007
14008         * ShareContainer.h: inherit privately from noncopyable
14009
14010         * ParagraphParameters.[hC] (depth): inline it.
14011
14012         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14013         methods.
14014         (message): new method
14015         (messagePush): ditto
14016         (messagePop): ditto
14017         (show): init minibuffer
14018         (showState): direct call
14019
14020         * LaTeX.[Ch]: inherit privately from noncopyable
14021         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14022         instead of WriteStatus.
14023
14024         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14025
14026         * BufferView_pimpl.C (buffer): don't init minibuffer
14027         (workAreaButtonPress): use LFUN_MESSAGE
14028         (workAreaButtonRelease): ditto
14029         (savePosition): ditto
14030         (restorePosition): ditto
14031         (MenuInsertLyXFile): ditto
14032         (workAreaExpose): don't init minibuffer
14033         (update): remove commented code, simplify
14034
14035         * BufferView2.C (openStuff): use LFUN_MESSAGE
14036         (toggleFloat): ditto
14037         (menuUndo): ditto
14038         (menuRedo): ditto
14039         (copyEnvironment): ditto
14040         (pasteEnvironment): ditto
14041         (copy): ditto
14042         (cut): ditto
14043         (paste): ditto
14044         (gotoInset): ditto
14045         (updateInset): remove some commented code
14046
14047         * lastfiles.h: inherit privately from noncopyable
14048         * layout.h: ditto
14049         * lyx_gui.h: ditto
14050         * lyx_main.h: ditto
14051         * lyxlex.h: ditto
14052         * lyxlex_pimpl.h: ditto
14053
14054         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14055         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14056         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14057
14058         * LyXAction.h: inherit privately from noncopyable, add methods
14059         func_begin, func_end, returning iterators to the func map.
14060
14061         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14062         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14063         (func_begin): new method
14064         (func_end): new method
14065
14066         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14067         and not)
14068         (copySelection): ditto
14069         (pasteSelection): ditto
14070
14071         * BufferView.C: whitespace change
14072         * BufferView.h: inherit privately from noncopyable
14073
14074 2001-04-16  Allan Rae  <rae@lyx.org>
14075
14076         * tabular-old.C (l_getline):
14077         * spellchecker.C (sc_check_word):
14078         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14079         an unrecognised preprocessor directive.  So ensure they're wrapped.
14080
14081 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14082
14083         * src/exporter.C (Export): Give an error message when path to file
14084         contains spaces.
14085
14086 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * LaTeX.C (deplog): Always check that foundfile exists.
14089
14090 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14091
14092         * lyx_main.h:
14093         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14094
14095 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14096
14097         * tabular.[Ch] (getLabelList): implement new method
14098
14099         * minibuffer.h: comment ouf setTiimer
14100
14101         * minibuffer.C (ExecutingCB): constify res
14102         (peek_event): constify s
14103         (Set): constify ntext
14104         (Init): constify nicename
14105
14106         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14107
14108         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14109         (savePosition): use two params to Minibuffer::Set
14110         (restorePosition): ditto
14111
14112 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * lyx_main.C: include language.h
14115
14116         * Makefile.am (lyx_main.o): add language.h
14117
14118 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14119
14120         * exporter.C:
14121         * paragraph.C:
14122         * screen.C:
14123         * tabular.C:
14124         * CutAndPaste.C: include gettext.h
14125
14126         * lyxfont.h: remove old hack with ON and OFF.
14127
14128         * lyxparagraph.h:
14129         * lyxfont.h: do not include language.h...
14130
14131         * BufferView2.C:
14132         * LaTeXFeatures.C:
14133         * Painter.C:
14134         * bufferview_funcs.C:
14135         * font.C:
14136         * lyxfont.C:
14137         * text.C:
14138         * text2.C:
14139         * trans_mgr.C:
14140         * paragraph.C: ... but do it here instead
14141
14142 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14145
14146         * tabular.C: small reformat
14147
14148         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14149         NEW_INSETS version
14150         (GetChar): ditto
14151         (BreakParagraph): ditto
14152         (SetOnlyLayout): ditto
14153         (SetLayout): ditto
14154
14155         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14156         with one arg less.
14157
14158         * lastfiles.C: removed most using decl, add std:: where needed
14159
14160         * buffer.C: ws changes
14161
14162         * MenuBackend.C (class compare_format): put into anon namespace
14163         (expand): constify label, names, action, action2
14164         (expand):
14165
14166         * text.C (SingleWidth): constify font
14167         (IsBoundary): constify rtl2
14168         (GetVisibleRow): constify ww
14169
14170         * LaTeX.C (deplog): constify logfile
14171
14172         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14173         start_x, end_x
14174         (workAreaExpose): constify widthChange, heightChange
14175
14176         * lyxrow.C (par): moved
14177         (height): moved
14178         (next): moved
14179         * lyxrow.h: as inlines here
14180
14181         * lyxfont.h (shape): moved from lyxfont.C
14182         (emph): moved from lyxfont.C
14183
14184         * lyxfont.C (LyXFont): use initialization list for all
14185         constructors
14186         (shape): move to lyxfont.h as inline
14187         (emph): move to lyxfont.h as inline
14188
14189
14190 2001-04-04  Juergen Vigna  <jug@sad.it>
14191
14192         * vspace.C: had to include stdio.h for use of sscanf
14193
14194 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * BufferView.h:
14197         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14198         independent of xforms.
14199
14200 2001-04-02  Juergen Vigna  <jug@sad.it>
14201
14202         * spellchecker.C: fixed namespace placing!
14203
14204 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14205
14206         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14207         the LyXParagraph * is 0.
14208
14209 2001-03-29  Juergen Vigna  <jug@sad.it>
14210
14211         * vspace.C: added support for %, c%, p%, l%.
14212         (stringFromUnit): added helper function.
14213         (asLatexString): changed to give right results for the %-values.
14214
14215         * buffer.C: convert the widthp in a width%.
14216
14217 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14218
14219         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14220         figureForm.[Ch].
14221
14222         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14223         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14224
14225         * lyx_cb.[Ch]: see above.
14226
14227         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14228         form1.[Ch].
14229
14230         * form1.[Ch]:
14231         * lyx.[Ch]: replaced by figure_form.[Ch].
14232
14233         * lyx_gui.C:
14234         * lyx_gui_misc.C:
14235         * lyxfunc.C: changed headers associated with above changes.
14236
14237 2001-03-27  Juergen Vigna  <jug@sad.it>
14238
14239         * BufferView_pimpl.C: set the temporary cursor right!
14240
14241 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14242
14243         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14244
14245 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * LString.h: removed "using std::getline"!
14248
14249         * BufferView_pimpl.C (Dispatch): changes due to changes in
14250         InsetInclude::Params.
14251
14252         * buffer.C (tag_name): removed redundant break statements as they were
14253         producing lots of warnings with my compiler.
14254
14255 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * LString.h: add "using std::getline" when using the real <string>.
14258
14259 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14260
14261         * buffer.C: removed bitset usage.
14262         PAR_TAG moved to an anonymous name space.
14263         (tag_name): new funtion, also in the anonymous namespace.
14264         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14265         (makeDocBookFile): clean code. Completed transition from string arrays
14266         to string vectors.
14267         (SimpleDocBookOnePar): code clean.
14268
14269 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14270
14271         * tabular.C: add some comments.
14272
14273 2001-03-22  Juergen Vigna  <jug@sad.it>
14274
14275         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14276         compatibility read a bit and fixed bug with minipage in different
14277         depth.
14278
14279 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14280
14281         * buffer.C (pop_tag): removed.
14282         (push_tag): removed.
14283         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14284         array replaced with vector. Added support for CDATA sections.
14285         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14286         at any nest level.
14287         (makeDocBookFile): XML conformant declaration of CDATA section,
14288         fixed bug related to <emphasis> in the first paragraph char.
14289         (sgmlOpenTag): exclude empty tags.
14290         (sgmlCloseTag): ditto.
14291
14292         * buffer.h (pop_tag): removed.
14293         (push_tag): removed.
14294
14295 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14296
14297         * language.h (Languages): added size_type and size().
14298
14299 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14300
14301         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14302         response on compability reading of minipages. One probliem is that
14303         the old usage of minipages was «flertydig»
14304
14305         * several files here and in subdirs: don't use static at file
14306         scope use anon namespaces instead.
14307
14308 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14309
14310         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14311         LaTeX output. This is necessary for Literate document
14312         processing.
14313
14314 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14315
14316         * buffer.C: insert hfill when needed.
14317
14318         * tabular.C (l_getline): use string::erase, small whitespace change.
14319
14320         * BufferView_pimpl.C: try the anon namespace.
14321         * WorkArea.C: ditto
14322
14323 2001-03-16  Juergen Vigna  <jug@sad.it>
14324
14325         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14326         otherwise it won't open options-dialogs.
14327
14328         * buffer.C: honor pextraWidth(p) on converting minipages.
14329
14330         * tabular.C (l_getline): changed the functions to strip trailing \r.
14331
14332 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * BufferView_pimpl.C:
14335         * minibuffer..C: added "using SigC::slot" declaration.
14336
14337 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14338
14339         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14340
14341         * text2.C: ditto
14342
14343         * text.C: ditto
14344
14345         * paragraph.C: ditto
14346
14347         * lyxtext.h: NO_PEXTRA
14348
14349         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14350
14351         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14352         * ParameterStruct.h: ditto
14353         * ParagraphParameters.h: ditto
14354         * lyxparagraph.h: ditto
14355
14356 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14357
14358         * buffer.C: add compability for minipage alignment.
14359         (latexParagraphs): remove unwanted pextra check.
14360
14361         * several files: remove CXX_WORKING_NAMESPACES
14362
14363         * buffer.C (pop_tag): tie is in namespace boost
14364
14365         * BufferView.h: noncopyable is in namespace boost
14366         * lyxlex.h: ditto
14367         * lyx_main.h: ditto
14368         * lyx_gui.h: ditto
14369         * layout.h: ditto
14370         * lastfiles.h: ditto
14371         * bufferlist.h: ditto
14372         * ShareContainer.h: ditto
14373         * LyXView.h: ditto
14374         * LyXAction.h: ditto
14375         * LaTeX.h: ditto
14376
14377 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14378
14379         * Merging changes from BRANCH_MVC back into HEAD.
14380
14381         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14382
14383 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * BufferView_pimpl.C: change from intl.C
14386
14387         * combox.h:
14388         * combox.C:
14389         * Makefile.am: move combox.*
14390
14391         * form1.h:
14392         * form1.C:
14393         * lyx_gui.C:
14394         * intl.h:
14395         * intl.C: remove dialog (covered by prefs)
14396
14397 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * lyxfunc.C (Dispatch): removed redundant break statement.
14400
14401 2001-03-14  Juergen Vigna  <jug@sad.it>
14402
14403         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14404
14405 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14406
14407         * buffer.C: add hack to fix compability reading of minipages.
14408
14409 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14410
14411         * buffer.C (getLists): Cleanup.
14412
14413 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * lyxfont.C (update): don't honor toggleall on font size.
14416
14417 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14418
14419         * bmtable.c:
14420         * bmtable.h:
14421         * Makefile.am: moved to frontends/xforms/
14422
14423         * lyx_gui_misc.C:
14424         * lyxfunc.C:
14425         * BufferView_pimpl.C: changes for moved mathpanel
14426
14427 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * gettext.h: fix gettext_init() in --disable-nls
14430
14431 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14434
14435 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14436
14437         * lyx.C:
14438         * lyx.h: strip external form
14439
14440 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * BufferView_pimpl.C: add comment, destroySplash()
14443
14444 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * BufferView_pimpl.C:
14447         * LyXAction.C:
14448         * buffer.C:
14449         * commandtags.h:
14450         * lyxfunc.C: use re-worked insetinclude
14451
14452 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14453
14454         * buffer.C: add using std::stringstream.
14455
14456         * lyx_cb.C: readd using std::ios.
14457
14458         * buffer.C: add using std::map.
14459
14460         * BufferView_pimpl.C: add using std::vector.
14461
14462         * ShareContainer.h: add std:: to swap.
14463
14464         * buffer.h: add some typedefs
14465         * buffer.C (getLists): use them
14466         (getLists): renamed from getTocList.
14467         add a counter for the different float types and use it in the
14468         generated string.
14469         (getLists): use the same counter for the NEW_INSETS and the "non"
14470         NEW_INSETS
14471
14472         * lyx_cb.h: remove unused items, includes, using etc.
14473
14474         * ShareContainer.h: remove some commented code, add more comments
14475         and "documentation".
14476
14477 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14478
14479         * buffer.C (getTocList): make the list also when NEW_INSETS is
14480         defined.
14481
14482         * buffer.h: remove TocType
14483
14484         * buffer.C (getTocList): change to return a map<string,
14485         vector<TocItem> >, implement for dynamic number of list.
14486
14487         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14488         * text2.C (PasteSelection): adjust
14489         * CutAndPaste.C (pasteSelection): adjust
14490
14491         * FloatList.C (FloatList): update from the new_insets branch.
14492         * Floating.[Ch]: ditto
14493         * LaTeXFeatures.C: ditto
14494         * buffer.C: ditto
14495         * lyxlex_pimpl.C: ditto
14496
14497         * paragraph.C (Last): remove when NEW_INSETS is defined.
14498
14499         * other file: changes because of the above.
14500
14501 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14502
14503         * lyxparagraph.h: rename next to next_, previous to previous_,
14504         make them private for NEW_INSETS. Rename Next() to next(),
14505         Previous() to previous().
14506
14507         * other files: changes because of the above.
14508
14509 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * BufferView.h:
14512         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14513         problem.
14514
14515 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * main.C (main): pass lyx_localedir to gettext_init().
14518
14519         * gettext.h: remove locale_init and gettext_init macros
14520
14521         * gettext.C (locale_init): new function
14522         (gettext_init): new function
14523
14524         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14525         setlocale().
14526
14527 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14528
14529         * Moved credits to frontends:
14530         * credits.[Ch]: removed
14531         * credits_form.[Ch]: removed
14532         * lyx_gui_misc.C: remove credits stuff
14533         * Makefile.am:
14534
14535 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14536
14537         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14538
14539         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14540         unneeded destructor.
14541
14542         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14543         a standalone pointer again.
14544
14545         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14546
14547 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14548
14549         * Makefile.am:
14550         * filedlg.h:
14551         * filedlg.C:
14552         * LyXAction.C:
14553         * ToolbarDefaults.C:
14554         * bufferlist.C:
14555         * commandtags.h:
14556         * form1.C:
14557         * form1.h:
14558         * lyx_cb.C:
14559         * lyx_cb.h:
14560         * lyxfunc.h:
14561         * lyxfunc.C:
14562         * BufferView_pimpl.C: use new file dialog in GUII
14563
14564         * lyx_cb.h:
14565         * lyx_cb.C: remove LayoutsCB to Toolbar
14566
14567 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * ShareContainer.h (get): add std:: qualifier
14570
14571 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * ShareContainer.h: define a proper ShareContainer::value_type
14574         type (and use typename to please compaq cxx)
14575
14576 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14577
14578         * lyxparagraph.h: move serveral local vars to
14579         ParameterStruct/ParagraphParameters., use ShareContainer in
14580         FontTable., make vars in FontTable private and add getter and
14581         setter.
14582
14583         * paragraph.C: changes because of the above.
14584
14585         * lyxfont.h: remove copy constructor and copy assignment. (the
14586         default ones is ok), move number inside FontBits. move inlines to
14587         lyxfont.C
14588
14589         * lyxfont.C: add number to initializaton of statics, move several
14590         inlines here. constify several local vars. some whitespace
14591         cleanup. Dont hide outerscope variables.
14592
14593         * Spacing.h: add two new constructors to match the set methods.
14594
14595         * ShareContainer.h: new file, will perhaps be moved to support
14596
14597         * ParameterStruct.h: new file
14598
14599         * ParagraphParameters.h: new file
14600
14601         * ParagraphParameters.C: new file
14602
14603         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14604         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14605
14606         * BufferView_pimpl.C: ParagraphParameter changes.
14607         * buffer.C: Likewise.
14608         * bufferview_funcs.C: Likewise.
14609         * text.C: Likewise.
14610         * text2.C: Likewise.
14611
14612 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14613
14614         * lyxfind.C (LyXReplace): do not redefine default argument in
14615         implementation.
14616         (IsStringInText): ditto
14617         (SearchForward): ditto
14618         (SearchBackward): ditto
14619
14620 2001-03-06  Juergen Vigna  <jug@sad.it>
14621
14622         * lyxfind.C (IsStringInText): put parentes around expressions.
14623
14624 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14625
14626         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14627
14628 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14629
14630         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14631
14632         * stl_string_fwd.h: add comment
14633
14634         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14635
14636         * tabular.h:
14637         * tabular.C: remove unused DocBook methods
14638
14639         * intl.C:
14640         * language.C:
14641         * paragraph.C:
14642         * buffer.C:
14643         killed DO_USE_DEFAULT_LANGUAGE
14644
14645 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * lyx_gui.C: do not include language.h.
14648
14649         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14650         arguments in function implementation.
14651
14652 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14653
14654         * BufferView_pimpl.C: add <ctime>
14655
14656 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14657
14658         * BufferView_pimpl.C: add using std::find_if
14659
14660 2001-02-27  José Matos  <jamatos@fep.up.pt>
14661
14662         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14663         by OnlyPath.
14664
14665 2001-02-11  José Matos  <jamatos@fep.up.pt>
14666
14667         * buffer.C (makeDocBookFile): command styles now have a parameter as
14668         "title" by default.
14669
14670 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14671
14672         * layout_forms.[Ch]: removed
14673         * lyx_cb.[Ch]: out character
14674         * lyx_gui.C: out character
14675         * lyx_gui_misc.C: out character
14676         * bufferview_funcs.C: : out character,
14677         added toggleall as parameter in ToggleAndShow
14678
14679 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14682
14683         * text2.C (SetCurrentFont): Disable number property at boundary.
14684
14685 2001-02-26  Juergen Vigna  <jug@sad.it>
14686
14687         * lyxfunc.C (getStatus): added a string argument override function so
14688         that this is correctly called from LyXFunc::Dispatch if it contains a
14689         do_not_use_argument which is used!
14690         (Dispatch): added check for "custom" export and call appropriate func.
14691
14692 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * lyxrc.C: Add language_command_local, language_use_babel and
14695         language_global_options.
14696
14697         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14698
14699         * buffer.C (makeLaTeXFile): Use language_use_babel and
14700         language_global_options.
14701
14702 2001-02-23  Juergen Vigna  <jug@sad.it>
14703
14704         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14705         which works with LyXText and putted it inside BufferView. Here now we
14706         only call for that part the BufferView::Dispatch() function.
14707
14708         * BufferView.C (Dispatch): added.
14709
14710         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14711         functions which needs to use a LyXText over from LyXFunc.
14712         (MenuInsertLyXFile): added
14713         (getInsetByCode): added
14714         (moveCursorUpdate): added
14715         (static TEXT): added
14716
14717 2001-02-22  Juergen Vigna  <jug@sad.it>
14718
14719         * BufferView_pimpl.C (update): call a status update to see if LyXText
14720         needs it.
14721
14722 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14723
14724         * vc-backend.C (revert): implement for CVS
14725         (getLog): implement for CVS
14726
14727 2001-02-20  Juergen Vigna  <jug@sad.it>
14728
14729         * text2.C (ClearSelection): added BufferView param for inset_owner call
14730
14731         * lyxfunc.C (TEXT): added this function and use it instead of
14732         directly owner->view()-text of getLyXText().
14733
14734 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14735
14736         * src/layout_forms.C: out preamble
14737         * src/layout_forms.h: out preamble
14738         * src/lyx_cb.C: out preamble
14739         * src/lyx_cb.h: out preamble
14740         * src/lyx_gui.C: out preamble
14741         * src/lyx_gui_misc.C: out preamble
14742         * src/lyxfunc.C: connect with guii preamble
14743
14744 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14745
14746         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14747
14748 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14749
14750         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14751         whether to run bibtex.
14752
14753 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14756
14757 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14758
14759         * Makefile.am (lyx_SOURCES): removed bibforms.h
14760
14761         * vspace.h: doxygen
14762
14763         * text.C (GetVisibleRow): make several local vars const
14764
14765         * tabular.C: small cleanup.
14766
14767         * lyxserver.C (callback): use compare instead of strncmp
14768
14769         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14770         inlines to after class or to paragraph.C
14771
14772         * lyxfont.h: remove friend operator!=
14773
14774         * converter.h: move friend bool operator< to non friend and after
14775         class def.
14776
14777         * combox.h: small cleanup
14778
14779         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14780         to inlines after class def.
14781
14782         * buffer.C (pop_tag): use string operations instead of strcmp
14783
14784         * bmtable.c: doxygen, small cleanup
14785
14786         * LaTeX.h: remove friend operator==
14787
14788 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14789
14790         * screen.C:
14791         * lyxrc.[Ch]:
14792         * lyxfunc.C:
14793         * lyxfont.[Ch]:
14794         * lyx_cb.C:
14795         * intl.[Ch]:
14796         * commandtags.h:
14797         * buffer.C:
14798         * WorkArea.[Ch]:
14799         * LyXAction.C:
14800         * BufferView_pimpl.C:
14801         * BufferView.[Ch]: remove cruft
14802
14803 2001-02-14  Juergen Vigna  <jug@sad.it>
14804
14805         * lyxfunc.C: removed #if 0 unused code
14806
14807         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14808
14809         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14810
14811         * text2.C (SetSelection): added a BufferView * parameter
14812
14813 2001-02-13  Juergen Vigna  <jug@sad.it>
14814
14815         * lyxfunc.C (Dispatch): fixed protected blank problem.
14816         * BufferView2.C (protectedBlank): added LyxText * parameter.
14817
14818         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14819         (AppendColumn): same as above for column_info.
14820
14821         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14822         (moveCursorUpdate): use a LyXText param for support of InsetText.
14823
14824         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14825         (tripleClick): ditto
14826
14827         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14828
14829         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14830
14831         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14832
14833         * text2.C (SetSelection): set correct update status if inset_owner
14834         (ToggleFree): ditto
14835
14836 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14837
14838         * tabular.C: remove some commented code.
14839
14840 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * BufferView_pimpl.C: call hideSplash()
14843
14844         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14845
14846         * include_form.h:
14847         * bibforms.h: remove
14848
14849         * lyxfunc.C:
14850         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14851           add LFUN_CHILD_CREATE
14852
14853         * counters.h: fix tiny typo
14854
14855         * lyx_cb.C:
14856         * lyx.h:
14857         * lyx_gui.C:
14858         * lyx.C: move splash to frontends/xforms/
14859
14860         * lyx_gui_misc.C: move Include and Bibform to frontends
14861
14862         * lyxvc.h: clarify comment
14863
14864         * vspace.C: tiny housekeeping
14865
14866 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14867
14868         * text.C (PrepareToPrint): RTL Fix.
14869
14870         * paragraph.C (GetUChar): New method.
14871         (String):  Use GetUChar.
14872
14873         * buffer.C (asciiParagraph): Use GetUChar.
14874
14875 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14876
14877         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14878
14879 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * buffer.h:
14882         * buffer.C: rename to getLogName(), handle
14883           build log / latex log nicely
14884
14885 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * MenuBackend.C:
14888         * MenuBackend.h: remove support for reference menuitem type.
14889
14890 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * BufferView_pimpl.C: housekeeping
14893         * BufferView_pimpl.h:
14894         * LyXView.h:
14895         * Makefile.am:
14896         * Timeout.C:
14897         * Timeout.h:
14898         * minibuffer.h: move Timeout GUI-I
14899
14900 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14901
14902         * lyxrc.C (read): Update converters data-structures.
14903
14904 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14905
14906         * LaTeX.h (operator!=): add operator != for Aux_Info
14907
14908 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14911
14912         * LaTeXLog.C: deleted, useful code moved to Buffer
14913
14914         * buffer.h:
14915         * buffer.C: new function getLatexLogName()
14916
14917         * lyx_gui_misc.C:
14918         * lyx_gui.C:
14919         * lyxvc.C:
14920         * lyxvc.h:
14921         * lyxfunc.C: use frontends for LaTeX and VC logs
14922
14923 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * LaTeX.h: yet another std:: that Allan forgot.
14926
14927         * Variables.C (set): renamed from isset(), because this clashes
14928         with some HP-UX macros (grr).
14929
14930 2001-02-06  Allan Rae  <rae@lyx.org>
14931
14932         * LaTeX.h: Another bug fix.  Missing std:: this time.
14933
14934 2001-02-04  Allan Rae  <rae@lyx.org>
14935
14936         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14937         floats problem. I've left it commented out because it's not quite
14938         correct.  It should also test that the current object is a table or
14939         figure inset.  But I haven't gotten around to figuring out how to do
14940         that.  I *think* it'll be something like: "table" == inset.type()
14941
14942         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14943         bool.
14944
14945 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14946
14947         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14948         all the citation/databases/styles in the auxilary file.
14949         (run): Rerun latex if there was a babel language error.
14950
14951 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14952
14953         * text.C (Backspace): Preserve the font when changing newline char
14954         with a space.
14955         (BreakParagraph): If the cursor is before a space, delete the space.
14956
14957         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14958
14959 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14960
14961         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14962         new argument (code).
14963         (ChangeCitationsIfUnique): New method.
14964
14965         * paragraph.C (GetPositionOfInset): Handle bibkey.
14966
14967 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14968
14969         * BufferView_pimpl.h: change type of Position::par_pos to
14970         LyXParagraph::size_type.
14971
14972 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14973
14974         * BufferView_pimpl.C (savePosition, restorePosition): Write
14975         messages to minibuffer.
14976
14977 2001-01-28  José Matos  <jamatos@fep.up.pt>
14978
14979         * buffer.C (makeDocBookFile): adds support for document language.
14980         A silly restriction on the name of LatexCommand types where removed.
14981         Added support for CDATA sections, allows to chars unescaped, used
14982         among others in code, to avoid escape < and >.
14983
14984 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14985
14986         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14987         saved positions instrad of a stack. Furthermore, a position is
14988         stored using paragraph id/paragraph position.
14989
14990         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14991         Remove LFUN_REF_BACK.
14992
14993 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * converter.C (dvipdfm_options): New method.
14996
14997 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14998
14999         * vspace.C (isValidLength): Fix for empty input string.
15000
15001 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * LyXAction.C (init): change description of LFUN_FIGURE to
15004         "Insert Graphics"
15005
15006 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * LaTeX.C: add using directive
15009
15010 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * MenuBackend.C (expand): Fix the sorting of the formats.
15013
15014 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * lyx_main.C: tiny error message fix
15017
15018 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15021         calling fl_initialize(). This fixes the problem with ',' as
15022         decimal separator in text files.
15023
15024 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15025
15026         * trans.C (process): Fix the keymap bug.
15027
15028 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * LaTeX.C (scanAuxFiles): New method. Provides support for
15031         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15032         (scanLogFile) Scan for "run BibTeX" messages.
15033
15034         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15035         OT1 font encoding. Also, load the aecompl package if the ae
15036         package is loaded.
15037
15038         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15039
15040 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * texrow.C (increasePos): turn two error messages into debug
15043         messages.
15044
15045 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15046
15047         * LaTeX.C (scanAux): Handle the \@input macro.
15048         (runBibTeX): Use scanAux().
15049
15050         * language.C (latex_options_): New field.
15051
15052         * LaTeXFeatures.C (getMacros): Add language macros.
15053
15054         * buffer.C (makeLaTeXFile): Small fix.
15055
15056 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15059
15060         * text2.C: add a using directive.
15061
15062 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * BufferView2.C:
15065         * lyx_gui_misc.h:
15066         * lyxfr1.C:
15067         * lyxfunc.C: kill LyXBell.
15068
15069 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * text.C (IsBoundary): Remove the error message
15072
15073         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15074
15075         * lyxrc.C (setDefaults): Correct initialization value for
15076         font_norm_type.
15077
15078 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15081         gotoError().
15082
15083         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15084         and GotoNextNote().
15085
15086         * src/LyXAction.C: Added reference-next.
15087
15088         * text.C (InsertChar): Use contains instead of strchr.
15089
15090         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15091
15092 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15095         alignment commands (when needed).
15096
15097         * text.C (InsertChar): Add ':' to number separator chars.