]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Move #include "lyxlib.h" out of Path.h, move ctor, dtor out of line.
[lyx.git] / src / ChangeLog
1 2003-09-04  Angus Leeming  <leeming@lyx.org>
2
3         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4
5 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6
7         * lyxfunc.C (dispatch): if fitCursor did something be sure to
8         update
9
10 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * BranchList.C: point fix, earlier forgotten
13
14 2003-09-02  Angus Leeming  <leeming@lyx.org>
15
16         * box.C (contains): renamed from 'contained' after a fantastic
17         amount of hot air.
18
19 2003-09-02  John Levon  <levon@movementarian.org>
20
21         * BufferView.C:
22         * lyxcursor.h:
23         * lyxcursor.C:
24         * lyxfunc.C:
25         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
26
27 2003-09-02  John Levon  <levon@movementarian.org>
28
29         * text2.C: simplification of cursorEnd(), including partial
30         fix for bug 1376
31
32 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
33
34         * buffer.C (readFile): add a space
35
36 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
37
38         * BufferView_pimpl.C (update): remove bogus fitCursor() call
39
40 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
41
42         * buffer.C (readFile): new function, take a filename and a
43         ParagraphList::iterator
44         (readFile): adjust
45         (readFile): adjust, make it private. don't use setStream, make
46         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
47         always contain the filename.
48
49         * BufferView.C (insertLyXFile): simplify and make it work for
50         gzipped files.
51
52 2003-08-30  John Levon  <levon@movementarian.org>
53
54         * Makefile.am: fix dist (from Kayvan)
55
56 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
57
58         * most files: change to use const Buffer refs
59
60 2003-08-27  André Pönitz  <poenitz@gmx.net>
61
62         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
63         on top of ownerPar().
64
65 2003-08-27  John Levon  <levon@movementarian.org>
66
67         * funcrequest.C: properly initialise POD members
68
69 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
70
71         * lyxtext.h (top_y): move top_y from here
72         * text.C:
73         * text2.C:
74         * text3.C:
75         * BufferView.[Ch]:
76         * BufferView_pimpl.[Ch]: to here
77         * frontends/screen.C:
78         * insets/insettabular.C:
79         * insets/insettext.C: adjust
80         * rowpainter.[Ch] (paintRows): remove LyXText & argument
81
82 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
83
84         * BufferView.[Ch]:
85         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
86
87 2003-08-26  André Pönitz  <poenitz@gmx.net>
88
89         * paragraph_func.[Ch] (outerPar): new function
90
91         * paragraph.C:
92         * paragraph_funcs.C:
93         * paragraph_funcs.h:
94         * paragraph_pimpl.C:
95         * text2.C: remove Inset::par_owner
96
97 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
98
99         * lyxrow_funcs.C:
100         * lyxtext.h:
101         * text.C:
102         * text2.C: eliminates the needFullRow/display() stuff
103         altogether, putting the logic in metrics/draw in the insets.
104
105 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
106
107         * text2.C (redoParagraphInternal, redoParagraphs):
108         * text.C (redoParagraph): add a call to updateRowPositions at the
109         end of each 'metrics-like' call. Remove all others.
110         (getRow): remove the 'y-computing' version.
111         (getRowNearY): do not compute nor return the real y. Solve the
112         'y < 0' problem and simplify.
113
114 2003-08-22  Angus Leeming  <leeming@lyx.org>
115
116         * *.[Ch]: clean-up of licence and author blurbs.
117         Also move config.h out of a few .h files and into a few .C files.
118
119 2003-08-22  André Pönitz  <poenitz@gmx.net>
120
121         * lyxrow.[Ch]: add x_ and *fill_ members
122
123         * lyxtext.h:
124         * text.C:
125         * rowpainter.C:
126         * text2.C: adjust/remove prepareToPrint() calls
127
128 2003-08-22  André Pönitz  <poenitz@gmx.net>
129
130         * lyxrow.[Ch]: add  end_ member
131
132         * lyxrow_funcs.C: use LyXRow::end_
133
134         * lyxtext.h (singleWidth): add LyXFont parameter
135
136         * rowpainter.C:
137         * text2.C: adjust LyXText::singleWidth() calls
138
139         * text.C (redoParagraph): simplify row breaking logic
140
141
142 2003-08-19  André Pönitz  <poenitz@gmx.net>
143
144         * funcrequest.C: initialize button_ member
145
146         * text3.C:
147         * rowpainter.[Ch]: interface consolidation
148
149 2003-08-18  André Pönitz  <poenitz@gmx.net>
150
151         * BufferView.C:
152         * BufferView_pimpl.C:
153         * lyxfind.C:
154         * paragraph_funcs.C:
155         * rowpainter.C:
156         * text3.C: remove LyXScreen::draw() and fitCursor calls
157
158         * BranchList.h: remove spurious semicolons
159
160         * MenuBackend.C: fix branchlist related crash
161
162 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * BranchList.[Ch]:
165         * InsetList.[Ch]:
166         * LColor.[Ch]:
167         * LyXAction.C:
168         * Makefile.am:
169         * MenuBackend.[Ch]:
170         * bufferparams.[Ch]:
171         * factory.C:
172         * lfuns.h:
173         * lyxfunc.C:
174         * text3.C: implements the 'branch inset'
175         idea. This allows the output of various versions of a document
176         from a single source version, selectively outputing or suppressing
177         output of parts of the text.
178         This implementation contains a 'branch list editor' in a separate
179         tab of the document settings dialog. Branches are user definable
180         and have a "display colour" to distinguish them on-screen.
181
182         ColorHandler was somewhat cleaned up.
183         (1) make possible a dynamically growing LColor list by allowing
184         the graphic context cache to grow along (vector);
185         (2) eliminate an IMHO unnecessary step in colour allocation.
186
187 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
188
189         * BufferView_pimpl.C: compile fix
190
191 2003-08-15  André Pönitz  <poenitz@gmx.net>
192
193         * rowpainter.C: remove extra metrics calls
194
195         * lyxtext.h: merge the two constructors into a single one,
196           pass reference to owner's par list
197
198         * BufferView_pimpl.C:
199         * text.C:
200         * text2.C: adjust
201
202 2003-08-15  André Pönitz  <poenitz@gmx.net>
203
204         * lyxrow_funcs.[Ch]:
205         * lyxtext.h:
206         * paragraph.h:
207         * paragraph_funcs.C:
208         * rowpainter.C:
209         * text.C:
210         * text2.C:
211         * text3.C:
212         * text_funcs.C: split LyXText::rowlist_ into individual
213         Paragraph::rows_ chunks
214
215         * BufferView.[Ch]:
216         * BufferView_pimpl.[Ch]:
217         * lyxfind.C:
218         * lyxtext.h:
219         * text3.C: remove toggleSelection()
220
221 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
222
223         * bufferlist.C: beautify two alerts (shorter text of buttons)
224         * buffer.C: Remove redundant ' ' from message
225         * tabular.h:
226         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
227         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
228         rename VALIGN_CENTER to VALIGN_MIDDLE
229
230 2003-08-11  André Pönitz  <poenitz@gmx.net>
231
232         * lyxtext.h (getPar):
233         * text.C: new function
234
235 2003-08-11  André Pönitz  <poenitz@gmx.net>
236
237         * Makefile.am:
238         * tracer.[Ch]: remove unneeded files
239
240         * InsetList.[Ch]: remove resizeInsetsLyXText()
241
242         * lyxtext.h:
243         * text.C:
244         * text2.C:
245         * text3.C: merge insertParagraphs() and appendParagraph()
246         remove breakAgain(), update()
247
248         * BufferView_pimpl.[Ch]:
249         * bufferview_funcs.[Ch]:
250         * lyxfunc.C:
251         * paragraph.[Ch]:
252         * rowpainter.C:
253         * tabular.C: adjust after text & InsetList changes.
254
255 2003-08-08  André Pönitz  <poenitz@gmx.net>
256
257         * text.C (insertChar, backspace): replace rowlist fiddling
258         with rebreak of full par
259
260         * lyxtext.h:
261         * text.C (breakAgainOneRow, redoHeightOfParagraph,
262         checkParagraph, updateInset): removed
263
264 2003-08-07  André Pönitz  <poenitz@gmx.net>
265
266         * paragraph.C:
267         * text3.C: merge some LFUN handlers, remove dead code
268
269 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
272
273 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
274
275         * text2.C (DEPM): fix part of bug 1255 and 1256
276
277 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * BufferView_pimpl.C (workAreaDispatch): change to use
280         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
281         that are no mouse related.
282
283 2003-08-05  André Pönitz  <poenitz@gmx.net>
284
285         * BufferView.[Ch]:
286         * BufferView_pimpl.[Ch]:
287         * bufferview_funcs.C:
288         * text2.C:
289         * text3.C: rip out "deep update"
290
291         * textcursor.[Ch] (last_sel_cursor): remove unused member
292
293 2003-08-04  André Pönitz  <poenitz@gmx.net>
294
295         * BufferView.[Ch]:
296         * BufferView_pimpl.[Ch]:
297         * ParagraphParameters.C:
298         * bufferview_funcs.C:
299         * lyx_cb.C:
300         * lyxfind.C:
301         * lyxfunc.C:
302         * text.C:
303         * text2.C:
304         * text3.C: replace "complicated" BufferView::update(...) calls with
305         simpler ones.
306
307         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
308
309 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
310
311         * Makefile.am (lyx_SOURCES): add paper.h
312
313 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
314
315         * Makefile.am: move things around so that both lyx-qt and
316         lyx-xforms can be built (according to --with-frontend). Then lyx
317         is a symbolic link to lyx-[firstfrontend]
318
319 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
320
321         * Always use std::endl with lyxerr
322
323 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
324
325         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
326
327 2003-08-01  André Pönitz  <poenitz@gmx.net>
328
329         * BufferView.[Ch]:
330         * BufferView_pimpl.[Ch]:
331         * lyxfunc.C:
332         * text3.C: merge BufferView::repaint() and BufferView::update()
333
334 2003-08-01  José Matos  <jamatos@lyx.org>
335
336         * buffer.[Ch]: file_format is no longer a buffer data element.
337
338 2003-08-01  André Pönitz  <poenitz@gmx.net>
339
340         * BufferView.C:
341         * lyxtext.h:
342         * text.C:
343         * text2.C: make redoParagraph more independent of current cursor
344
345         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
346         * text.C:
347         * text2.C: remove unneeded members
348
349 2003-07-30  André Pönitz  <poenitz@gmx.net>
350
351         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
352
353         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
354           create a single function...
355
356         * paragraph_funcs.C (moveItem): ... here.
357
358         * text.C:
359           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
360
361 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
362
363         * LColor.[Ch]: Add comment and greyedout logical colors.
364
365 2003-07-30  André Pönitz  <poenitz@gmx.net>
366
367         * tabular.C: don't use Assert too heavily. This crashes where it
368           shouldn't
369
370 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
371
372         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
373         is disabled (bug 1232)
374
375 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
376
377         * factory.C: limited 'arg' scope
378
379 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * factory.C: fixed Note submenu issues
382
383 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * factory.C: submenu for Note/Comment/Greyedout
386
387 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
388
389         * lyx_main.C (LyX):
390         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
391
392 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * LaTeXFeatures.C:
395         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
396         greyedout. Patch provided by Jürgen Spitzmüller.
397
398 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * kbmap.C (read): fix error message when reading bind files
401
402 2003-07-29  Angus Leeming  <leeming@lyx.org>
403
404         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
405         certainly does not do what it purports to do. I am doing it, and
406         us, a favour by killing it.
407
408 2003-07-28  José Matos  <jamatos@lyx.org>
409
410         * buffer.C (readBody, do_writeFile):
411         * paragraph.C(readParagraph): \end_document replaces \the_end.
412
413 2003-07-29  André Pönitz  <poenitz@gmx.net>
414
415         * BufferView.[Ch]:
416         * BufferView_pimpl.[Ch]:
417         * lyxfunc.C:
418         * text2.C:
419         * text3.C:
420         * textcursor.[Ch]: remove toggleToggle & Co
421
422 2003-07-28  José Matos  <jamatos@fep.up.pt>
423
424         * buffer.C (readParagraph):
425         * params_func (readParToken, readParagraph):
426         * paragraph.C (write): \layout -> \begin_layout.
427
428 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
429
430         * lyxlex_pimpl.C (setFile): clean up slightly.
431
432         * bufferparams.h: add compressed var
433
434         * buffer_funcs.C (readFile): adjust for LyXLex change
435         (newFile): ditto + simplify
436
437         * buffer.C (writeFile): handle writing of compressed files
438
439         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
440         Check if the file is compressed and set a bufferparm if so.
441
442         * Makefile.am (lyx_LDADD): remove explicit -lz
443
444 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
447         makeDocBookFile): put the real LyX version in the first line of
448         the file
449
450         * version.h:
451         * version.C.in: remove lyx_docversion
452
453         * tabular.C (write_attribute): add a template-based version to
454         write enums properly
455
456 2003-07-28  André Pönitz  <poenitz@gmx.net>
457
458         * lyxtext.h:
459         * text.C:
460         * text2.C:
461         * text3.C: use doubles again for x-coordinates. They are needed.
462
463 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
464
465         * messages.C (getLocaleDir): use lyx_localedir()
466
467         * lyxlex_pimpl.C (setFile): compress stuff
468
469         * buffer.C (writeFile): add some compression stuff
470         (do_writeFile): new func, dont call expliti close... will this
471         breake anything?
472
473         * Makefile.am (lyx_LDADD): add -lz
474
475 2003-07-28  José Matos  <jamatos@fep.up.pt>
476
477         * buffer.C: increment file format.
478         * paragraph_funcs (readParagraph, readParToken):
479         * paragraph.C (readParagraph): add \end_layout.
480
481 2003-07-27  Angus Leeming  <leeming@lyx.org>
482
483         * Makefile.am: remove special casing for configure-time setting of
484         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
485
486         * lyx_main.C (init): remove all Jean-Marc's magic setting of
487         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
488
489 2003-07-26  André Pönitz  <poenitz@gmx.net>
490
491         * paragraph_func.[Ch]:
492         * paragraph.C (realizeFont): inline it whereever it is used
493
494         * rowpainter.C:
495         * text.C:
496         * text2.C:
497         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
498
499
500 2003-07-26  André Pönitz  <poenitz@gmx.net>
501
502         *       lyxtext.h:
503         * text.C:
504         * text2.C: get rid of LyXText::need_break_row
505
506 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
507
508         * toc.[Ch]: put namespace toc inside namespace lyx
509
510         * MenuBackend.C (expandToc2): adjust for lyx::toc
511         (expandToc): ditto
512
513         * lyxfunc.C (dispatch): adjust for lyx::find
514
515         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
516         lyx::find instead. Reorganize a bit.
517         (LyXReplace): rename to replace
518         (LyXFind): rename to find
519
520         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
521         (dispatch): ditto
522
523 2003-07-26  André Pönitz  <poenitz@gmx.net>
524
525         * text.C (setHeightOfRow): restrict scope of temporary variable
526
527         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
528           code (never has been used?)
529
530 2003-07-27  Asger Alstrup  <alstrup@local>
531
532         * text.C (fill): Optimise algorithm to exploit that we can reuse
533         the LyXFont for many characters.
534         (setHeightOfRow): Same thing.
535         (rowBreakPoint): Same thing.
536
537 2003-07-26  Asger Alstrup  <alstrup@local>
538
539         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
540
541         * text.C (singleWidth): Spurious font copying in hot-spot
542         singleWidth avoided. Reorder tests for arabic for efficiency.
543
544         * text.C (fill): handle empty paragraphs better.
545
546 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * ispell.C:
549         * encoding.h: add includes
550
551         * lyxrc.C: remove reading of bind files
552
553         * lyx_main.C (init): setup bindings and menus only if we have a
554         gui.
555
556         * kbmap.C (read): new method. Do the actual reading of bind
557         files.
558
559         * converter.C (dvipdfm_options):
560         * bufferparams.C:
561         * lyxrc.C (read):
562         (output): adapt PAPER_* enums.
563
564         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
565
566         * bufferparams.h: remove paper-related enums from there
567
568         * paper.h: New file. A trivial header file to hold paper-related
569         enums. It should later expand to contain many paper-related
570         horrors access.
571
572         * lyxrc.C: declare extern displayTranslator
573
574 2003-07-27  José Matos  <jamatos@fep.up.pt>
575
576         * tabular.[Ch] (linuxdoc): add support for tables and figures
577         (linuxdoc).
578
579 2003-07-27  José Matos  <jamatos@fep.up.pt>
580
581         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
582         consistency in both functions.
583         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
584
585 2003-07-26  Asger Alstrup  <alstrup@local>
586
587         * rowpainter.C (paintRows): Change algorithm to work directly on
588         the insets rather than asking every character in the document
589         whether its an inset.
590
591 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
592
593         * buffer.C (openFileWrite): factorize some code
594
595 2003-07-26  Angus Leeming  <leeming@lyx.org>
596
597         * lyx_cb.C:
598         * lyx_main.[Ch]: replace occurances of system_tempdir with
599         os::getTmpDir().
600
601 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
602
603         * rename Inset to InsetOld
604
605 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
606
607         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
608         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
609         which I think is a bit clearer. EDIT is gone, since it was
610         premature optimisation, and broken for mathed anyway.
611         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
612         with cursor positioning in insets as well (math insets still do not
613         work, but that's a different story anyway.) It mysteriously
614         crashes sometimes with undo in the first paragraph, but I'm fairly
615         confident that this is a compiler bug.
616
617 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
618
619         * paragraph.C (Paragraph): adjust for new clone return type
620         (operator==): ditto
621         (copyIntoMinibuffer): ditto
622
623 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
624
625         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
626         by not having a special case, and always doing a full rebreak of
627         the document after undo.
628
629 2003-07-23  Angus Leeming  <leeming@lyx.org>
630
631         * factory.C (createInset): InsetExternal::setParams now takes a
632         Buffer const * arg.
633
634 2003-07-23  Angus Leeming  <leeming@lyx.org>
635
636         * factory.C (createInset): changed interface to the external and
637         graphics mailers' string2params functions.
638
639 2003-07-23  Angus Leeming  <leeming@lyx.org>
640
641         * factory.C (createInset): pass a
642         Buffer const * parameter to InsetExternalMailer's string2params.
643
644 2003-07-22  John Levon  <levon@movementarian.org>
645
646         * Thesaurus.h: include the right aiksaurus header
647
648 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * MenuBackend.C (expand): check menu shortcuts unconditionally
651
652 2003-07-21  Angus Leeming  <leeming@lyx.org>
653
654         * factory.C (createInset): pass a
655         buffer_path parameter to InsetGraphicsMailer's string2params.
656
657 2003-07-21  Angus Leeming  <leeming@lyx.org>
658
659         * BufferView_pimpl.C (buffer):
660         * buffer.C (d-tor):
661         * lyx_main.C (LyX):
662         * lyxfunc.C (dispatch):
663         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
664         rather than the grfx shortcut.
665
666 2003-07-21  André Pönitz  <poenitz@gmx.net>
667
668         * rowpainter.C: remove unused variables
669
670         * tabular_funcs.C:
671         * tabular_funcs.h: move to tabular.C
672         * Makefile.am: adjust
673
674         * tabular.[Ch]: basic optical cleaning
675
676         * author.h: pass references, not values
677
678 2003-07-18  André Pönitz  <poenitz@gmx.net>
679
680         * lyxtext.h:
681         * metricsinfo.C:
682         * metricsinfo.h:
683         * rowpainter.C:
684         * text.C:
685         * text2.C:
686         * text3.C: two-phase drawing for InsetText and InsetTabular
687         some float -> int changes.
688
689 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
690
691         * lyx_main.C: fix the fix
692
693 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
694
695         * lyx_main.C: fix a crash in batch mode if no files specified
696         * converter.C: ws
697
698 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
699
700         * format.[Ch] (papersize): moved to BufferParams
701         * converter.[Ch] (dvips_options): moved to BufferParams
702         (dvipdfm_options): moved to anon namespace
703         * bufferparams.[Ch]: added above functions.
704
705 2003-07-17  André Pönitz  <poenitz@gmx.net>
706
707         * lyxtext.h:
708         * rowpainter.C:
709         * text2.C: don't call inset->update() anymore
710
711         * metricsinfo.[Ch]: add convenience constructor
712
713 2003-07-16  André Pönitz  <poenitz@gmx.net>
714
715         * lyxcursor.[Ch]:
716         * lyxfunc.[Ch]:
717         * text.C:
718         * text2.C: replace the LyXCursor::irow_ member with
719          on-demand computation of the value
720
721 2003-07-16  John Levon  <levon@movementarian.org>
722
723         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
724
725 2003-07-15  André Pönitz  <poenitz@gmx.net>
726
727         * text.C:
728         * text2.C: remove no more needed refresh_row
729
730 2003-07-15  André Pönitz  <poenitz@gmx.net>
731
732         * lyxtext.h:
733         * rowpainter.C:
734         * text2.C:
735         * text3.C: refresh_status tristate -> need_update bool
736
737 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
738
739         * lyxtext.h (init): remove reinit argument (act as if always true)
740         * text2.C: adjust to that
741
742 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
743
744         * bufferview_funcs.[Ch]: introduce function replaceSelection()
745         * text3.C: use it to delete selections in some cases
746         (bugs 441, 673, 702, 954).
747
748 2003-07-14  André Pönitz  <poenitz@gmx.net>
749
750         * rowpainter.[Ch]: reduce interface
751
752 2003-07-14  André Pönitz  <poenitz@gmx.net>
753
754         * BufferView_pimpl.C:
755         * text2.C: adjust after removing unused BufferView * argument
756
757 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
758
759         * text2.C (init): fix a crash fired on resize
760
761 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
762
763         * buffer.[Ch]: added new closing signal
764         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
765         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
766         BufferView::Pimpl via the closing the signal
767
768 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
769
770         * buffer.[Ch]: take out all bv-related from buffer
771         * BufferView.C:
772         * BufferView_pimpl.[Ch]: connect to new signals
773         * CutAndPaste.C: removed useless asserts
774         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
775         * lyxvc.[Ch]:
776         * vc-backend.[Ch]:
777         * lyxfunc.C: moved view-related funciontality from vc here
778         * paragraph.C: removed outdated comments
779         * text.C: ws
780
781 2003-07-10  André Pönitz  <poenitz@gmx.net>
782
783         * BufferView_pimpl.C:
784         * tabular.h:
785         * tabular_funcs.C:
786         * text.C:
787         * text2.C: remove InsetText::InnerCache, clean up consequences
788
789 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
790
791         * ispell.C: fix two typos in error messages
792
793 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * Extend Note inset to other forms of annotation like Comment
796         and Greyedout. Right button click gives dialog.
797
798         Files modified or added (+):
799
800         * insetnote.[Ch]
801         * FormNote.[Ch]      +
802         * ControlNote.[Ch]   +
803         * form_note.fd       +
804         * Makefile.am in frontends/xforms, frontends/xforms/forms,
805         frontends/controllers
806         * xforms/Dialogs.C
807         * factory.C
808
809 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
810
811         * aspell.C: add missing namespace lyx::support
812
813 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
814
815         * BufferView.[Ch] (newFile): Add
816         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
817         * LaTeX.[Ch] (message): added this signal and use it
818         * buffer.[Ch] (busy, message): added these signals and use them
819         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
820         * converter.C:
821         * exporter.C:
822         * format.C:
823         * importer.C: use buffer signals instead of direct bv calling
824         * lyx_cb.[Ch] (ShowMessage): removed
825         * lyx_main.C:
826         * lyxfunc.C:
827         * paragraph_funcs.C:
828         * text2.C: use buffer signals
829
830 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
831
832         * introduce namespace lyx::graphics
833
834 2003-07-02  André Pönitz  <poenitz@gmx.net>
835
836         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
837
838 2003-07-01  André Pönitz  <poenitz@gmx.net>
839
840         * text.C:
841         * text2.C:
842         * text3.C:
843         * text_funcs.[Ch]:
844         * textcursor.h:
845         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
846           text*.C to text_func.C
847
848 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
849
850         * introduce namespace lyx::support
851
852 2003-06-30  André Pönitz  <poenitz@gmx.net>
853
854         * Chktex.C:
855         * funcrequest.C:
856         * lyxtext.h:
857         * text.C: re-enable --with-included-string
858
859 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
860
861         * textcursor.C: add <config.h>
862
863         * text.C (getWord): remove const from word_location arg
864
865         * lyxvc.C (getLogFile): fix const type order
866
867         * lyxtext.h: remove const from word_location arg, add arg name
868
869         * lyxlayout.h: currect type on labeltype.
870
871         * importer.C: correct \file
872
873         * converter.C (intToFormat): use std:: on ret val, ws changes
874
875         * bufferlist.h: correct \file
876
877         * buffer.C (makeLinuxDocFile): fix const type order
878         (makeDocBookFile): ditto
879         (fillWithBibKeys): use std:: on stdlib args.
880
881         * CutAndPaste.C: fix authors.
882         (availableSelections): use std:: on return vector
883
884 2003-06-27  André Pönitz  <poenitz@gmx.net>
885
886         * BufferView_pimpl.C:
887         * bufferview_funcs.C:
888         * lyxcursor.C:
889         * lyxcursor.h:
890         * lyxfunc.C:
891         * lyxtext.h:
892         * rowpainter.C:
893         * text.C:
894         * text2.C:
895         * text3.C: remove LyXCursor::row_ member
896
897         * lyxtext.h:
898         * text.C: rename fullRebreak() to partialRebreak() and implement
899           a fullRebreak() that really bereks fully
900
901         * textcursor.h: new struct for cursor-related data
902
903 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
904
905         * lyx_main.C (LyX): get full path of document loaded on the
906         command line
907
908 2003-06-26  André Pönitz  <poenitz@gmx.net>
909
910         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
911           remove unused/broken operator>,<,>=.
912
913         *       text.C: remove only use of broken operator<= in an Assert().
914
915 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
918         moved errorlist_.clear to showErrorList
919
920 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * converter.C (scanLog, runLaTeX):
923         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
924         move the bv->showErrorList call to the callers
925         * lyxfunc.C: i.e. here...
926         * text2.C: and here
927         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
928         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
929         namespace, the second to...
930         * buffer_funcs (BufferFormat, parseErrors): added
931         * errorlist.C (ErrorList(TeXErrors const &)): removed
932
933 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * ToolbarBackend.C (getIcon): complain when icon cannot be found
936
937 2003-06-24  "Garst R. Reese" <reese@isn.net>
938
939         * debug.C: fix typo
940
941 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
942
943         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
944
945         * version.C.in: change docversion to 1.4
946
947 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
948
949         * buffer.C: fix a bug just introduced
950
951 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
952
953         * buffer.[Ch]: added the parseError signal and use it, removed
954         sgmlError
955         * BufferView.[Ch] (addError): moved to ...
956         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
957         to the Buffer::parseError signal to catch (guess what) parse errors
958         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
959
960 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
961
962         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
963         ability to create a buffer and to return an existing one from
964         the list. Moved these functions to...
965         * buffer_funcs.[Ch]: added
966         * BufferView.[Ch] (loadLyXFile): added
967         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
968         job removed from bufferlist::loadLyXFile.
969         * buffer.C (setReadOnly): make it work without view
970         (i.e added an if (users))
971
972 2003-06-19  Angus Leeming  <leeming@lyx.org>
973
974         * lfuns.h:
975         * LyXAction.C (init):
976         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
977         with LFUN_DIALOG_SHOW <name> <data>.
978
979 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * CutAndPaste.C (availableSelections): small compilation fix for
982         ancient (gcc 2.9x) compilers
983
984 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * text3.C (cursorNext): add tmp var
987
988         * text2.C (updateCounters): for function calling out of for clause
989         (replaceSelectionWithString): ditto
990         (insertStringAsParagraphs): ditto
991         (getColumnNearX): add tmp var
992         (setCursorFromCoordinates): add tmp var
993         (cursorDownParagraph): add tmp var
994         (deleteEmptyParagraphMechanism): add tmp var
995
996         * text.C (insertChar): add tmp var
997
998         * rowpainter.C (paintDepthBar): add tmp var
999
1000         * CutAndPaste.C (availableSelections): potentially check all
1001         paragraphs in a cut to fill the shown strings.
1002
1003 2003-06-18  André Pönitz  <poenitz@gmx.net>
1004
1005         * kbmap.[Ch]: use vector<> instead of list<>
1006
1007 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1008
1009         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1010         pasteSelection with index
1011
1012         * text2.C (pasteSelection): modify, call pasteSelection with index
1013
1014         * paragraph.C (asString): reimplement version with no interval to
1015         call the one with interval.
1016
1017         * lyxtext.h: add index arg to pasteSelection
1018
1019         * MenuBackend.C (MenuItem): handle PasteRecent
1020         (Menu::read::Menutags): add md_pasterecent
1021         (read): handle it
1022         (expandPasteRecent): new function
1023         (expand): use it
1024
1025         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1026
1027         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1028         the limited stack
1029         (availableSelections): new function
1030
1031 2003-06-17  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1034
1035 2003-06-17  Angus Leeming  <leeming@lyx.org>
1036
1037         * lfuns.h:
1038         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1039
1040         * lyxfunc.C (dispatch): invoke it.
1041
1042 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * iterators.C (operator++, ParPosition): reintroduce some
1045         const_cast for the benefit of older compilers.
1046
1047 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * text3.C (dispatch): do not modify clipboard when doing
1050         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1051         LFUN_DELETE_SKIP on a selection selection
1052
1053 2003-06-16  André Pönitz  <poenitz@gmx.net>
1054
1055         * BufferView.C:
1056         * buffer.C:
1057         * buffer.h:
1058         * paragraph.C:
1059         * tabular.[Ch]: IU of clone() and getLabelList();
1060
1061 2003-06-13  André Pönitz  <poenitz@gmx.net>
1062
1063         * tabular.h: compactification
1064
1065 2003-06-12  André Pönitz  <poenitz@gmx.net>
1066
1067         * tabular.C:
1068         * tabular.h:
1069         * tabular_funcs.h: some renaming plus whitespace
1070
1071 2003-06-12  André Pönitz  <poenitz@gmx.net>
1072
1073         * BufferView.C:
1074         * BufferView_pimpl.C:
1075         * CutAndPaste.C:
1076         * buffer.C:
1077         * iterators.[Ch]:
1078         * lyxfunc.C:
1079         * text.C:
1080         * toc.C: Return a Paragraph & for ParIterator::operator*()
1081
1082 2003-06-11  John Levon  <levon@movementarian.org>
1083
1084         * lyx_main.C:
1085         * ToolbarBackend.h:
1086         * ToolbarBackend.C: add "Toolbars" section and
1087         put the flags there
1088
1089 2003-06-10  Angus Leeming  <leeming@lyx.org>
1090
1091         * lfuns.h:
1092         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1093
1094         * lyxfunc.C (dispatch): invoke it.
1095
1096 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1097
1098         * main.C: protect <ios> with HAVE_IOS
1099         (main): protect sync_with_stdio with HAVE_IOS
1100
1101 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1102
1103         * text2.C (cutSelection): adjust
1104         (pasteSelection): adjust
1105
1106         * messages.C: handle get of empty string
1107
1108         * main.C (main): use sync_with_stdio(false)
1109
1110         * lyxfunc.C (dispatch): adjust
1111
1112         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1113         (WriteAs): remove unneeded BufferView arg.
1114
1115         * bufferparams.h: use correct types on papersize, papersize2 and
1116         paperpackage.
1117
1118         * bufferparams.C (readToken): adjust for type
1119         (writeLaTeX): add missing cases to switch.
1120
1121         * bufferlist.C (quitWriteBuffer): adjust
1122         (close): adjust
1123
1124         * buffer.C (asciiParagraph): remove some commented code.
1125
1126         * CutAndPaste.C: remove current_view extern variable.
1127         (cutSelection): add BufferParams arg.
1128         (eraseSelection): add BufferParams arg.
1129         (pasteSelection): add Buffer const & arg
1130
1131 2003-06-07  John Levon  <levon@movementarian.org>
1132
1133         * buffer.C:
1134         * paragraph_funcs.C:
1135         * paragraph_pimpl.C:
1136         * text.C:
1137         * text2.C:
1138         * paragraph.h:
1139         * paragraph.C: allow InsetERT to freely space lines,
1140         and some consolidation of code
1141
1142 2003-06-06  José Matos  <jamatos@fep.up.pt>
1143
1144         * buffer.C (makeDocBookFile): fix bug #821
1145
1146 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1149
1150 2003-06-04  Angus Leeming  <leeming@lyx.org>
1151
1152         * buffer.C: bump format to 224.
1153
1154 2003-06-05  André Pönitz  <poenitz@gmx.net>
1155
1156         * text2.C (redoParagraphs): remove two const_cast<>
1157
1158 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1159
1160         * ParagraphList.h: remove last remnants of NO_STD_LIST
1161
1162 2003-06-03  Angus Leeming  <leeming@lyx.org>
1163
1164         * factory.C (createInset): small change to the way InsetExternal's params
1165         are set.
1166
1167 2003-06-04  André Pönitz  <poenitz@gmx.net>
1168
1169         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1170
1171         * paragraph_pimpl.h:
1172         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1173
1174         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1175
1176         * undo_funcs.C: make some simple cases of undo work again
1177
1178 2003-06-03  John Levon  <levon@movementarian.org>
1179
1180         * ispell.C: HPUX doesn't have sys/select.h
1181         (from Albert Chin)
1182
1183 2003-06-03  John Levon  <levon@movementarian.org>
1184
1185         * CutAndPaste.C: update tabular and include inset
1186         buffer references
1187
1188         * buffer.h:
1189         * paragraph.h:
1190         * paragraph.C: remove owningBuffer(), don't pass Buffer
1191         to clone()
1192
1193         * factory.C: insetGraphicsParams changed
1194
1195 2003-06-02  John Levon  <levon@movementarian.org>
1196
1197         * LyXAction.C:
1198         * factory.C:
1199         * lfuns.h:
1200         * lyxfunc.C:
1201         * text3.C: remove insetparent
1202
1203 2003-06-02  John Levon  <levon@movementarian.org>
1204
1205         * buffer.h:
1206         * buffer.C: fix inset_iterator.end(), move out of line
1207         (bug 1149)
1208
1209 2003-06-01  John Levon  <levon@movementarian.org>
1210
1211         * text3.C: use a proper cut/paste when doing inset
1212         insert (from Jürgen Spitzmüller)
1213
1214 2003-06-01  John Levon  <levon@movementarian.org>
1215
1216         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1217
1218 2003-05-30  André Pönitz  <poenitz@gmx.net>
1219
1220         * rowpainter.C: unify second drawing phase
1221
1222 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1223
1224         * trans_mgr.C: remove one case of current_view
1225
1226         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1227
1228         * paragraph_funcs.h: remove paragraph.h include
1229
1230         * paragraph.h: delete NO_STD_LIST stuff
1231
1232         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1233
1234         * buffer.h: remove paragraph.h include
1235
1236         * ParagraphList.C: delete file
1237
1238         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1239
1240         * toc.C (getTocList): adjust
1241
1242         * paragraph_pimpl.C (validate): adjust
1243
1244         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1245
1246         * paragraph.C (Paragraph): adjust
1247         (getPositionOfInset): use const_iterator, adjust
1248         (bibitem): use const_iterator, adjust
1249         (setInsetOwner): adjust
1250
1251         * iterators.C (operator++): adjust
1252
1253         * InsetList.[Ch]: Replace selfmade iterator with standard
1254         vector::iterator also introduce const_iterator. Remove getPos,
1255         getInset and setInset from InsetTable. Adjust accordingly.
1256
1257         * BufferView.C (lockInset): adjust
1258         (ChangeInsets): adjust
1259
1260         * tabular.[Ch]: delete commented same_id functions
1261
1262 2003-05-28  John Levon  <levon@movementarian.org>
1263
1264         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1265
1266 2003-05-28  André Pönitz  <poenitz@gmx.net>
1267
1268         * metricsinfo.[Ch]: remove 'fullredraw' member
1269
1270 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1271
1272         * lyxtextclass.C (operator): remove caching.
1273
1274 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1275
1276         * text3.C: adjust
1277
1278         * text2.C (cursorBottom): adjust
1279         (setCounter): use ParagraphList::find, adjust
1280
1281         * text.C (workWidth): use ParagraphList::find, adjust
1282
1283         * lyxcursor.C (LyXCursor): adjust
1284
1285         * buffer.C (inset_iterator): adjust
1286
1287         * ParagraphList.h: make iterator(value_type) private, make
1288         ParagraphList a friend of iterator.
1289
1290         * ParagraphList.C (find): new function
1291
1292         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1293
1294 2003-05-27  André Pönitz  <poenitz@gmx.net>
1295
1296         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1297
1298 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1301
1302 2003-05-26  John Levon  <levon@movementarian.org>
1303
1304         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1305
1306 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1307
1308         * remove same_id from function signatures, adjust.
1309
1310 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1311
1312         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1313
1314         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1315
1316         * paragraph.C (Paragraph): get rid of same_ids parameter
1317
1318         * ParagraphList.C (insert): adjust
1319         (push_back): adjust
1320
1321 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1322
1323         * paragraph_funcs.C (breakParagraph): adjust
1324         (breakParagraphConservative): adjust
1325
1326         * buffer.C (readParagraph): adjust
1327
1328         * ParagraphList.C (insert): take a reference instead of a pointer
1329         (insert): adjust
1330
1331         * paragraph.[Ch] (id): new function
1332
1333         * bufferlist.C (newFile): adjust
1334
1335         * ParagraphList.C (ParagraphList): adjust
1336         (assign): adjust
1337         (push_back): take a reference instead of a pointer.
1338
1339         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1340
1341         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1342         instead.
1343
1344         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1345         set else use old code.
1346
1347         * ParagraphList.C: remove all NO_NEXT code and only compile this
1348         code of NO_STD_LIST is set.
1349
1350 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1351
1352         * BufferView_pimpl.C:
1353         * TextCache.C:
1354         * TextCache.h:
1355         * bufferlist.C:
1356         * errorlist.h:
1357         * format.C:
1358         * format.h:
1359         * graph.C:
1360         * lyxfunc.C:
1361         * lyxrc.C:
1362         * graphics/GraphicsConverter.C:
1363         * graphics/PreviewLoader.C: header adjustment
1364
1365 2003-05-23  Angus Leeming  <leeming@lyx.org>
1366
1367         * LaTeXFeatures.[Ch] (useBabel): new method.
1368         * bufferparams.C (writeLaTeX): use it.
1369
1370 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1371
1372         * ParagraphList.h (set): remove unused function.
1373
1374 2003-05-23  André Pönitz  <poenitz@gmx.net>
1375
1376         * BufferView.C:
1377         * BufferView_pimpl.C:
1378         * buffer.C:
1379         * buffer.h:
1380         * lyxfunc.C:
1381         * undo_funcs.C: setUndo reworked
1382
1383         * iterators.[Ch]: add access to topmost ParagraphList
1384
1385         * lyxtext.[Ch] (workWidth): add a const
1386
1387 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1388
1389         * texrow.[Ch] (increasePos): remove function
1390         * exporter.C (export): removed unused var and outdated comment
1391
1392 2003-05-23  Angus Leeming  <leeming@lyx.org>
1393
1394         * latexrunparams.h: rename fragile as moving_arg.
1395         * paragraph.C (simpleTeXOnePar): ditto.
1396         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1397
1398 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1401         (createUndo): ditto
1402         (textUndoOrRedo): comment out a currently unused var.
1403
1404         * paragraph.h (NO_NEXT): enable NO_NEXT
1405
1406         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1407
1408         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1409
1410         * exporter.C (Export): adjust for removeAutoInsets removal.
1411
1412         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1413
1414         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1415
1416         * BufferView.[Ch] (removeAutoInsets): delete function
1417
1418 2003-05-22  Angus Leeming  <leeming@lyx.org>
1419
1420         * latexrunparams.h: add a free_spacing variable.
1421
1422         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1423         to pass moving_arg, as the data is stored in runparams.fragile.
1424
1425         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1426         to Inset::latexOptional or to simpleTeXOnePar.
1427
1428         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1429         free_spacing arg to Inset::latexOptional.
1430
1431         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1432         free_spacing arg.
1433
1434 2003-05-22  Angus Leeming  <leeming@lyx.org>
1435
1436         * latexrunparams.h: add fragile and use_babel variables.
1437
1438         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1439         * buffer.C (makeLaTeXFile): store this returned value in
1440         runparams.use_babel, thus passing it to the inset::latex methods.
1441
1442         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1443         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1444
1445         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1446         longer has a fragile arg, as it is stored in runparams.fragile.
1447
1448         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1449         moving_arg parameter as the data is stored in runparams.fragile.
1450
1451         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1452         a fragile parameter as the data is stored in runparams.fragile.
1453
1454 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1455
1456         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1457
1458 2003-05-22  Angus Leeming  <leeming@lyx.org>
1459
1460         * latexrunparams.h: add a 'bool nice' which defaults to false.
1461
1462         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1463         now encapsulated within runparams.
1464
1465         * bufferlist.C (updateIncludedTeXfiles):
1466         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1467
1468 2003-05-22  Angus Leeming  <leeming@lyx.org>
1469
1470         * latexrunparams.h: new file containing struct LatexRunParams.
1471         * Makefile.am: add new file.
1472
1473         * LaTeX.[Ch] (c-tor, run):
1474         * buffer.[Ch] (makeLaTeXFile):
1475         * bufferlist.[Ch] (updateIncludedTeXfiles):
1476         * converter.C (convert, scanLog):
1477         * converter.[Ch] (runLaTeX):
1478         * exporter.C (Export):
1479         * paragraph.[Ch] (simpleTeXOnePar):
1480         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1481         * paragraph_funcs.[Ch] (latexParagraphs):
1482         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1483         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1484         pass around a LatexRunParams parameter.
1485
1486 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1487
1488         * paragraph.[Ch]: remove unused constructor
1489
1490         * ParagraphList.C (erase): new function, taking two iterators
1491
1492 2003-05-22  André Pönitz  <poenitz@gmx.net>
1493
1494         * undo_funcs.C: remove duplicated code
1495
1496         * iterator.[Ch]: operator=
1497
1498 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1499
1500         * tabular.C (SetMultiColumn): ws changes
1501
1502         * rowpainter.C (paintFirst): get rid of a ->previous
1503
1504         * lyx_cb.C (getPossibleLabel): parlist simplification
1505
1506         * BufferView.C (ChangeInsets): simplify slightly.
1507
1508 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1509
1510         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1511         * lfuns.h: new LFUN_SPACE
1512         * lyxfunc.C: protected space has a new lfun
1513         * paragraph_funcs.C: read new space insets
1514         * text3.C:
1515         * factory.C: handle new space insets
1516
1517 2003-05-22  André Pönitz  <poenitz@gmx.net>
1518
1519         * BufferView.C:
1520         * BufferView_pimpl.C:
1521         * buffer.[Ch]:
1522         * lyxfunc.C:
1523         * undo_funcs.C: return a ParIterator from getParFromID.
1524
1525         * iterators.[Ch]: add two const's
1526
1527 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1528
1529         * toc.C (getTocList): adjust
1530
1531         * iterators.[Ch]: rework for parlist
1532
1533         * buffer.C (par_iterator_begin): adjust
1534         (par_iterator_end): adjust
1535
1536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1537
1538         * BufferView.C (removeAutoInsets): adjust
1539         (ChangeInsets): adjust
1540
1541 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1542
1543         * text.C (top_y): fix bug 1110
1544
1545 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1546
1547         * errorlist.[Ch]: added
1548         * buffer.C:
1549         * BufferView.[Ch]:
1550         * BufferView_pimpl.C:
1551         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1552         instead
1553
1554 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1555
1556         * Makefile.am: ensure that lyx is relinked upon changes to the
1557         various "convenience" libs.
1558
1559 2003-05-20  Angus Leeming  <leeming@lyx.org>
1560
1561         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1562         files are compiled in alphabetical order again.
1563
1564         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1565
1566 2003-05-19  Angus Leeming  <leeming@lyx.org>
1567
1568         * gettext.[Ch]: remove "char const * _(char const *)".
1569
1570 2003-05-19  André Pönitz  <poenitz@gmx.net>
1571
1572         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1573
1574         * Makefile.am:
1575         * BufferView.C:
1576         * DepTable.h:
1577         * LaTeXFeatures.C:
1578         * buffer.C:
1579         * lyxfont.C:
1580         * lyxlex.h:
1581         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1582
1583 2003-05-19  André Pönitz  <poenitz@gmx.net>
1584
1585         * buffer.C:
1586         * lyxlayout.[Ch]:
1587         * lyxtextclass.[Ch]:
1588         * paragraph.C:
1589         * paragraph_funcs.[Ch]:
1590         * text2.C:
1591         * text3.C: more insetenv work
1592
1593 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1594
1595         * ParagraphParameters.C (params2string): small bug fixed
1596
1597 2003-05-16  André Pönitz  <poenitz@gmx.net>
1598
1599         * debug.C:
1600         * bufferview_funcs.C: patch from Kornel Benko to prevent
1601           crash when _(...) is called twice in a statement
1602
1603 2003-05-16  André Pönitz  <poenitz@gmx.net>
1604
1605         * BufferView.C:
1606         * lyxfunc.C:
1607         * text.C:
1608         * text2.C:
1609         * text3.C:
1610         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1611
1612 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1613
1614         * lyx_main.C (init): remove spurious static_cast
1615
1616 2003-05-14  André Pönitz  <poenitz@gmx.net>
1617
1618         * BufferView.C: fix format string
1619
1620 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1621
1622         * BufferView.[Ch] (insertErrors): removed
1623         * BufferView.[Ch] (showErrorList): added
1624         * buffer.C (runChkTeX):
1625         * converter.C (scanLog): call showErrorList instead of inserterrors
1626
1627 2003-05-13  André Pönitz  <poenitz@gmx.net>
1628
1629         * BufferView_pimpl.C:
1630         * buffer.C:
1631         * bufferview_func.C:
1632         * MenuBackend.C:
1633         * lyxfunc.C:
1634         * lyxrc.C:
1635         * tex-accent.C:
1636         * text3.C:
1637         * toc.C:
1638         * tabular_funcs.h: tostr() from its own header
1639
1640         * ParagraphParameters.C:
1641         * ToolbarBackend.C:
1642         * bufferparams.C:
1643         * format.C:
1644         * lyxlex_pimpl.C:
1645         * text3.C: STRCONV()
1646
1647 2003-05-12  André Pönitz  <poenitz@gmx.net>
1648
1649         * BufferView.C:
1650         * BufferView_pimpl.C:
1651         * CutAndPaste.C:
1652         * LaTeX.C:
1653         * LaTeXFeatures.C:
1654         * ParagraphParameters.C:
1655         * buffer.C:
1656         * bufferlist.C:
1657         * bufferparams.C:
1658         * bufferview_funcs.C:
1659         * converter.C:
1660         * counters.C:
1661         * debug.C:
1662         * exporter.C:
1663         * format.C:
1664         * importer.C:
1665         * lyx_cb.C:
1666         * lyx_main.C:
1667         * lyxfont.C:
1668         * lyxfunc.C:
1669         * lyxvc.C:
1670         * paragraph.C:
1671         * paragraph_funcs.C:
1672         * tabular.C:
1673         * tabular_funcs.C:
1674         * text2.C:
1675         * text3.C:  boost::format -> bformat  all over the place
1676
1677
1678 2003-05-09  André Pönitz  <poenitz@gmx.net>
1679
1680         * LColor.[Ch]: Pimpl the #include <map> away
1681
1682 2003-05-09  John Levon  <levon@movementarian.org>
1683
1684         * bufferlist.C: never remove emergency saves
1685
1686 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * Makefile.am: better lib building
1689
1690 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1691
1692         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1693         instead.
1694         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1695         (simpleTeXSpecialChars): adjust
1696         (simpleTeXSpecialChars): adjust
1697         * paragraph.C (simpleTeXOnePar): adjust
1698         * buffer.C (makeLaTeXFile): adjust
1699
1700         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1701
1702         * text2.C (changeDepth): parlist cleanup
1703         (getColumnNearX): ditto
1704
1705         * rowpainter.C (getLabelFont): parlist cleanup
1706
1707         * bufferlist.C (newFile): parlist cleanup
1708
1709         * CutAndPaste.C (eraseSelection): parlist cleanup
1710
1711         * BufferView_pimpl.C (trackChanges): parlist cleanup
1712         (dispatch): ditto
1713
1714         * BufferView.C (lockInset): parlist cleanup.
1715         (ChangeInsets): ditto
1716
1717 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * CutAndPaste.h: Update file header.
1720
1721         * CutAndPaste.C: Update file header.
1722         Store the parts cut out of the Document in a limited_stack.
1723         (copySelection): adjust
1724         (pasteSelection): new function, takes the index in the limited stack.
1725         (nrOfParagraphs): adjust
1726         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1727         simplify error inset insertion.
1728         (checkPastePossible): adjust
1729
1730 2003-05-06  John Levon  <levon@movementarian.org>
1731
1732         * text2.C: don't cast wrap inset to float
1733
1734 2003-05-05  André Pönitz  <poenitz@gmx.net>
1735
1736         * iterator.C:
1737         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1738
1739         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1740           few naked Paragraph *.
1741
1742 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1743
1744         * bufferparams.C: Output warning if a document with missing
1745         TeX document class is loaded
1746         * exporter.C: Disable TeX exports if the document class is missing
1747         * lyxtextclass.C:
1748         * lyxtextclass.h:
1749         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1750         isTeXClassAvailable()
1751
1752 2003-05-03  John Levon  <levon@movementarian.org>
1753
1754         * BufferView.h:
1755         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1756         explicit cursor show/hide
1757
1758         * BufferView_pimpl.h:
1759         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1760         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1761
1762         * lyxfunc.C: hide cursor before dispatching.
1763
1764         * lyx_cb.C:
1765         * lyxfind.C:
1766         * text.C:
1767         * text3.C: remove explicit cursor hides
1768
1769 2003-05-02  André Pönitz  <poenitz@gmx.net>
1770
1771         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1772
1773         * undo_funcs.C:
1774         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1775           linked lists
1776
1777         * text2.C: tiny whitespace
1778
1779 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * undo_funcs.C: almost only ws changes.
1782
1783         * ParagraphList.C (splice): just return if pl is empty.
1784
1785 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1786
1787         * ParagraphList.C (splice): new function.
1788
1789         * CutAndPaste.C (pasteSelection): use it
1790
1791 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1792
1793         * CutAndPaste.C (pasteSelection): remove the last next and
1794         previous from this file.
1795
1796 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1797
1798         * CutAndPaste.C (pasteSelection): more clean up, user proper
1799         ParagraphList functions for pasteing.
1800
1801         * ParagraphList.C (insert): new function, three arg insert
1802
1803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * ParagraphList.C (insert): new function, three arg insert
1806
1807         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1808         not on paragraphs.
1809
1810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1811
1812         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1813
1814 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1817
1818 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1819
1820         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1821         (copySelection): clean up a bit.
1822         (pasteSelection): use make_pair
1823
1824         * ParagraphList.C (ParagraphList): implement copy constructor
1825         (operator=): implement, base on copy constructor.
1826         (assign): new func
1827
1828         * paragraph.C (erase): return a bool
1829
1830         * paragraph_pimpl.C (erasePos): remove function, move contents...
1831         (erase): ... here. Return a bool.
1832         (erase): call erase instead of erasePos.
1833
1834 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1835
1836         * ParagraphList.h: define PitPosPair
1837         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1838         ParagraphList, fix a bug on pasting multiple pars
1839         * text2.C: change interface to C&P
1840
1841 2003-04-30  André Pönitz  <poenitz@gmx.net>
1842
1843         * undo_func.C: revert part of yesterday's patch 2
1844
1845 2003-04-30  John Levon  <levon@movementarian.org>
1846
1847         * LColor.C: s/tabular/table/
1848
1849 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * text3.C (dispatch): do not convert iterator -> pointer
1852         * undo_funcs.C (setCursorParUndo): ditto
1853         * text_funcs.C (transposeChars): ditto
1854
1855         * text2.C (setLayout): ws changes only
1856
1857         * text.C (breakParagraph): do not convert iterator -> pointer
1858         (insertChar): ditto
1859         (acceptChange): ditto
1860         (rejectChange): ditto
1861         (changeCase): ditto
1862         (Delete): ditto
1863         (backspace): ditto
1864
1865         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1866         pointer
1867
1868 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1869
1870         * text3.C (gotoInset): YABG (yet another bad getChar)
1871
1872 2003-04-29  André Pönitz  <poenitz@gmx.net>
1873
1874         * paragraph.h: make operator= private unimplemented as long as
1875           it is unusable
1876
1877         * ParagraphList.C: whitespace
1878
1879         * paragraph.[Ch]:
1880         * paragraph_pimpl.[Ch]:
1881         * paragraph_funcs.C:
1882         * CutAndPaste.C:
1883         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1884
1885         * text2.C:
1886           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1887
1888 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1889
1890         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1891         * paragraph.[Ch] (erase):
1892         * paragraph_pimpl.[Ch] (erase): change return type and value
1893         * text2.C (cutSelection): some rework
1894
1895 2003-04-28  John Levon  <levon@movementarian.org>
1896
1897         * bufferlist.C: changes for unsaved changes dialog
1898
1899 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1900
1901         * bufferlist.C (newFile): set language (messages_) for new
1902         documents also.
1903
1904         * buffer.C (readFile): ws changes only.
1905
1906 2003-04-28  André Pönitz  <poenitz@gmx.net>
1907
1908         * undo_funcs.C:
1909         * lyxfunc.C:
1910         * buffer.[Ch]:
1911         * BufferView_pimpl.C:
1912         * BufferView.C: getParFromID related ParagraphList::iterator changes
1913
1914 2003-04-28  André Pönitz  <poenitz@gmx.net>
1915
1916         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1917           Changes
1918
1919 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1920
1921         * messages.C: remove one more localedir class variable.
1922
1923 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * messages.C (getLocaleDir): singleton generation function
1926         (Pimpl): use it.
1927         (Messages): add a default constructor.
1928
1929         * main.C (main): do not setup localedir here, do not call
1930         gettext_init.
1931
1932         * gettext.C (_): use it.
1933         (gettext_init): delete funciton
1934
1935 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1936
1937         * gettext.C (getLyXMessages): new singleton generating function.
1938
1939         * buffer.C (updateDocLang): adjust
1940
1941         * Makefile.am (messages.o): add target
1942         (main.o): remove target
1943
1944 2003-04-27  John Levon  <levon@movementarian.org>
1945
1946         * bufferlist.C:
1947         * lyx_cb.C:
1948         * lyxfunc.C:
1949         * lyxvc.C: specify cancel button in Alert::prompt
1950
1951 2003-04-26  John Levon  <levon@movementarian.org>
1952
1953         * text3.C:
1954         * lyxfunc.C:
1955         * lfuns.h:
1956         * LyXAction.C: add LFUN_INSET_SETTINGS
1957
1958         * lyxfunc.C: don't enable tabular-feature when there's
1959         just any locking inset
1960
1961 2003-04-26  John Levon  <levon@movementarian.org>
1962
1963         * bufferlist.C: re-add Cancel to buffer close question
1964
1965         * lyxfunc.C: fix import UI a bit
1966
1967 2003-04-25  John Levon  <levon@movementarian.org>
1968
1969         * gettext.C: remove the broken asserts for now
1970
1971 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * messages.C: make case where setlocale cannot comply work better.
1974
1975         * buffer.C (updateDocLang): new function
1976         (changeLanguage): use it
1977         (readFile): use it
1978
1979         * text2.C (setCounter): use B_ a bit.
1980
1981         * lyxlayout.C (Read): be sure to trim the label strings.
1982
1983         * messages.C (Messages): fix typo in comment
1984
1985         * buffer.C (readFile): set message_ after file is loaded.
1986         (makeDocBookFile): remove double return
1987         (changeLanguage): reset message_ upon language change.
1988         (B_): new func, use this to get translated buffer strings.
1989
1990         * main.C: add myself and Jean Marc as authors.
1991
1992 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * messages.[hC]: pimplify Messages, and three different pimpls to be
1995         used in different circumstances.
1996
1997         * gettext.[Ch]: change for use with new message code.
1998
1999 2003-04-24 André Pönitz <poenitz@gmx.net>
2000
2001         * factory.C: support for eqref
2002
2003 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * messages.[Ch]: add missing char
2006
2007         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2008
2009         * messages.[Ch]: New files
2010
2011 2003-04-18  John Levon  <levon@movementarian.org>
2012
2013         * BufferView.h:
2014         * BufferView.C:
2015         * BufferView_pimpl.C:
2016         * lfuns.h:
2017         * LyXAction.C:
2018         * lyxtext.h:
2019         * text2.C: remove layout-copy/paste (bug 778)
2020
2021 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2022
2023         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2024
2025 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2026
2027         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2028         if they succeed. Act accordingly.
2029
2030 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * text2.C (setCharFont): adjust
2033         (setCounter): adjust
2034         (insertStringAsLines): adjust
2035
2036         * text.C (leftMargin): adjust
2037         (setHeightOfRow): adjust
2038
2039         * rowpainter.C (paintFirst): adjust
2040         (paintLast): adjust
2041
2042         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2043         (outerHook): ditto
2044         (isFirstInSequence): ditto
2045         (getEndLabel): ditto
2046         (outerFont): adjust
2047
2048         * paragraph.C (getParLanguage): comment out some hard stuff.
2049
2050         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2051         (sgmlError): ditto
2052         (simpleDocBookOnePar): ditto
2053         (makeDocBookFile): use ParagraphList::iterator
2054
2055         * CutAndPaste.C (pasteSelection): adjust
2056
2057 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * text2.C (getFont): adjust
2060         (getLayoutFont): adjust
2061         (getLabelFont): adjust
2062
2063         * paragraph_funcs.C (TeXOnePar): adjust
2064
2065         * buffer.C (simpleLinuxDocOnePar): adjust
2066         (simpleDocBookOnePar): adjust
2067
2068         * CutAndPaste.C (pasteSelection): adjust
2069
2070         * BufferView.C (getEncoding): adjust
2071
2072         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2073
2074 2003-04-16  John Levon  <levon@movementarian.org>
2075
2076         * lyxfind.C: use parlist stuff for search/changes
2077
2078 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2079
2080         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2081
2082         * text2.C (deleteEmptyParagraphMechanism): adjust
2083
2084         * text2.[Ch] (ownerParagraph): delete func (both of them
2085
2086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2089
2090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * ParagraphList.C: prepare for NO_NEXT
2093
2094 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * text2.C (getFont): adjust
2097         (getLayoutFont): adjust
2098         (getLabelFont): adjust
2099
2100         * paragraph.C (getFont): adjust
2101         (getLabelFont): adjust
2102         (getLayoutFont): adjust
2103
2104         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2105
2106 2003-04-15  John Levon  <levon@movementarian.org>
2107
2108         From Angus Leeming
2109
2110         * lyx_main.C: handle Include in .ui files
2111
2112 2003-04-15  John Levon  <levon@movementarian.org>
2113
2114         * MenuBackend.C: make the doc files length shorter
2115
2116         * ToolbarBackend.h:
2117         * ToolbarBackend.C: handle toolbar placement flags,
2118         Minibuffer
2119
2120 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2121
2122         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2123         adjust
2124
2125         * paragraph_funcs.C (TeXOnePar): adjust
2126
2127         * paragraph.C (getLabelFont): add outerfont arg, adjust
2128         (getLayoutFont): ditto
2129         (simpleTeXOnePar): adjust
2130
2131         * paragraph_pimpl.C (realizeFont): delete func
2132
2133 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2134
2135         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2136         row argument, constify cur argument.
2137
2138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * text2.C (getFont): adjust
2141         (getLayoutFont): adjust
2142         (getLabelFont): adjust
2143
2144         * paragraph_funcs.C (TeXOnePar): adjust
2145         (outerFont): new func...
2146         (realizeFont): ...moved out from here, changed this to facilitate
2147         transition
2148
2149         * paragraph.C (getFont): take outerfont as arg, adjust
2150         (simpleTeXOnePar): add outerfont arg, adjust
2151
2152         * buffer.C (simpleLinuxDocOnePar): adjust
2153         (simpleDocBookOnePar): adjust
2154
2155         * CutAndPaste.C (pasteSelection): adjust
2156
2157         * BufferView.C (getEncoding): adjust
2158
2159 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * text2.C (setCharFont): adjust
2162         (setCounter): adjust
2163
2164         * text.C (leftMargin): adjust
2165         (setHeightOfRow): adjust
2166
2167         * rowpainter.C (paintFirst): adjust
2168         (paintLast): adjust
2169
2170         * paragraph_pimpl.C (realizeFont): adjust
2171
2172         * paragraph.C (isFirstInSequence): move from here...
2173         * paragraph_funcs.C (isFirstInSequence): ...to here
2174
2175         * paragraph.C (outerHook): move from here...
2176         * paragraph_funcs.C (outerHook): ...to here
2177
2178         * paragraph.C (depthHook): move from here...
2179         * paragraph_funcs.C (depthHook): ...to here
2180
2181         * paragraph.C (getEndLabel): move from here...
2182         * paragraph_funcs.C (getEndLabel): ...to here
2183
2184         * text2.C (realizeFont): move from here...
2185         * paragraph_funcs.C (realizeFont): ...to here
2186
2187 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2190
2191 2003-04-14  Angus Leeming  <leeming@lyx.org>
2192
2193         * LColor.[Ch]: scrap LColor mathcursor.
2194
2195 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2196
2197         * lyxlex.[Ch] (text): delete function
2198         * trans.C (Load): adjust
2199         * paragraph_funcs.C (readParToken): adjust
2200
2201 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2204         vector<char> instead of a char[].
2205
2206         * lyxlex_pimpl.C (getString): adjust
2207         (next): adjust
2208         (lex): use getString
2209         (eatLine): adjust
2210         (nextToken): adjust
2211
2212         * lyxlex.C (text): use pimpl_->getString()
2213         (getBool): ditto
2214         (findToken): ditto
2215
2216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2219         (makeFontEntriesLayoutSpecific): temp var for par.size()
2220         (setLayout): temp var for ownerParagraphs().end()
2221         (fullRebreak): temp var for rows().end()
2222         (selectionAsString): temp var for boost::next(startpit), realize
2223         that the while really is a regular for loop.
2224         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2225         setCursor in one place.
2226         (setParagraph): temp vr for ownerParagraphs().end()
2227         (updateCounters): make the while loop a for loop
2228         (cutSelection): temp var for ownerParagraphs().end()
2229         (updateInset): make the do {} while() a regular for loop
2230         (getCursorX): use temp vars
2231         (setCurrentFont): use temp vars
2232         (getColumnNearX): use temp vars
2233
2234 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * text.C (transformChar): use temp var for getChar
2237         (computeBidiTables): use temp var for row->par()
2238         (fill): move temp vars for row->par() and pit->layout() earlier in
2239         the function.
2240         (labelFill): use temp var for row->par()
2241         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2242         asc and desc, realize that pit never changes and that firstpit is
2243         just a duplicate and not needed. Exchange rit->par() with pit in a
2244         lot of places.
2245         (breakAgain): use a temp var for boost::next(rit)
2246         (breakAgainOneRow): ditto
2247         (breakParagraph): use a temp var for rows().begin()
2248         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2249         (cursorRightOneWord): use temp var for cursor.par() and
2250         cursor.pos(), remove usage of tmpcursor.
2251         (cursorLeftOneWord): use temp var for cursor.par() and
2252         cursor.pos() only set cur at end of function.
2253
2254 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2255
2256         * text.C, text2.C: exchange all usage of Paragraph::next with
2257         boost::next(ParagraphList::iterator)
2258
2259         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2260
2261         * text2.C (cursorTop): simplify implementation
2262         (cursorBottom): ditto
2263         (setParagraph): use ParagraphList::iterator
2264         (setCurrentFont): adjust
2265         (getColumnNearX): adjust
2266         (cursorRight): adjust
2267         (cursorLeft): remove usage of Paragraph::previous
2268         (cursorUpParagraph): ditto
2269         (deleteEmptyParagraphMechanism): slight cleanup
2270
2271         * text.C (isBoundary): take a Paragraph const & instead of a
2272         pointer as arg.
2273         (addressBreakPoint): ditto
2274         (leftMargin): remove usage of Paragraph::previous.
2275         (setHeightOfRow): ditto
2276         (cursorLeftOneWord): ditto
2277         (selectNextWordToSpellcheck): ditto
2278         (Delete): ditto
2279         (backspace): ditto
2280         (breakParagraph): remove one usage of Paragraph::next
2281         (redoParagraph): ditto
2282         (acceptChange): ditto
2283         (insertChar): adjust
2284         (rowBreakPoint): adjust
2285
2286         * bufferview_funcs.C (toggleAndShow): adjust
2287
2288 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2291         methods to access it.
2292         * lyxtext.h:
2293         * text.C: Added updateRowPositions to compute all row positions.
2294         Make top_y and getRowNearY() to use the cached y position
2295
2296 2003-04-11  John Levon  <levon@movementarian.org>
2297
2298         * text.C (rowBreakPoint): reintroduce the labelEnd
2299         checks, code copied from the row fill stuff. Deep voodoo.
2300
2301         * text.C (fill): add a comment and debugging for the
2302         next poor soul.
2303
2304 2003-04-11  John Levon  <levon@movementarian.org>
2305
2306         * text.C: make sure fullrow insets get wrapped to the next line,
2307         even when they're in a manual label
2308
2309 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * text2.C (insertParagraph): make it take ParagraphList::iterator
2312         as arg.
2313         (setLayout): make it return ParagraphList::iterator
2314         (redoParagraphs): ditto
2315         (setCounter): ditto
2316         (checkParagraph): ditto
2317
2318         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2319
2320         * text2.C: adjust several funcs.
2321         (realizeFont): take a ParagraphList::iterator as arg.
2322         (getLayoutFont): ditto
2323         (getLabelFont): ditto
2324         (setCharFont): ditto
2325
2326         * text.C: adjust several funcs.
2327
2328 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2329
2330         * text.C (selectNextWordToSpellcheck): don't accidentally
2331         skip insets
2332
2333 2003-04-10  John Levon  <levon@movementarian.org>
2334
2335         * ToolbarBackend.C (getIcon): special handling for
2336         LFUN_MATH_DELIM
2337
2338 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2339
2340         * text2.C (cursorRight): a getChar assert fixed
2341
2342 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * text2.C (getFont): change to take a ParagraphList::iterator
2345         instead of Paragraph*
2346         Adjust several functions.
2347
2348         * text.C (transformChar): change to take a ParagraphList::iterator
2349         instead of Paragraph*
2350         (singleWidth): ditto
2351         Adjust several functions.
2352
2353         * rowpainter.C: adjust several functions
2354         * rowpainter.h:store a ParagraphList::iterator and not a
2355         Paragraph&.
2356
2357
2358 2003-04-09  John Levon  <levon@movementarian.org>
2359
2360         * lyxfunc.C:
2361         * lfuns.h:
2362         * LyXAction.h:
2363         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2364         and the "help" bits as well
2365
2366 2003-04-09  John Levon  <levon@movementarian.org>
2367
2368         * ToolbarBackend.h:
2369         * ToolbarBackend.C: allow multiple toolbars
2370
2371 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * undo_funcs.C (setCursorParUndo): adjust
2374
2375         * text_funcs.C (transposeChars): adjust
2376
2377         * text3.C (gotoNextInset): adjust
2378         (dispatch): adjust
2379
2380         * text2.C (setLayout): adjust
2381         (changeDepth): adjust
2382         (setFont): adjust
2383         (redoParagraphs): adjust
2384         (selectionAsString): adjust
2385         (setParagraph): adjust
2386         (insertInset): adjust
2387         (cutSelection): adjust
2388         (copySelection): adjust
2389         (pasteSelection): adjust
2390         (insertStringAsLines): adjust
2391         (updateInset): adjust
2392         (setCursor): change to take a ParagraphList::iterator parameter
2393         (setCursorIntern): change to take a ParagraphList::iterator parameter
2394         (setCurrentFont): adjust
2395         (cursorLeft): adjust
2396         (cursorRight): adjust
2397         (deleteEmptyParagraphMechanism): adjust
2398
2399         * text.C (breakParagraph): adjust
2400         (insertChar): adjust
2401         (acceptChange): adjust
2402         (rejectChange): adjust
2403         (selectNextWordToSpellcheck): adjust
2404         (changeCase): adjust
2405         (Delete): adjust
2406         (backspace): adjust
2407
2408         * lyxfind.C (SearchForward): adjust
2409         (SearchBackward): adjust
2410         (nextChange): adjust
2411
2412         * lyxcursor.C (par): adjust
2413
2414         * lyxcursor.h: store a ParagraphList::iterator instead of a
2415         Paragraph*
2416
2417         * lyx_cb.C (getPossibleLabel): adjust
2418
2419         * bufferview_funcs.C (toggleAndShow): adjust
2420
2421         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2422         (dispatch): adjust
2423
2424         * BufferView.C (removeAutoInsets): adjust
2425         (lockedInsetStoreUndo): adjust
2426
2427 2003-04-09  John Levon  <levon@movementarian.org>
2428
2429         * ToolbarBackend.C: try icon without argument
2430         if with argument fails
2431
2432 2003-04-08  John Levon  <levon@movementarian.org>
2433
2434         * ToolbarBackend.h:
2435         * ToolbarBackend.C: add getIcon(), handle tooltip,
2436         and change from "Icon" to "Item".
2437
2438 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2439
2440         * BufferView.C (lockInset): another bad getchar crunched
2441
2442 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2445         again)
2446
2447 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * lyxfind.C (searchForward, searchBackwards): bug 782
2450
2451 2003-04-07  John Levon  <levon@movementarian.org>
2452
2453         * paragraph.C: remove dead comment
2454
2455         * text.C: remove troublesome depth-fiddling code
2456         in leftMargin() and rightMargin() (bug 1017)
2457
2458         * text.C: fix breaking of rows in nested lists
2459         (bug 1004)
2460
2461         * text2.C (updateCounters): fix up depth values
2462         (bug 1013)
2463
2464 2003-04-07  John Levon  <levon@movementarian.org>
2465
2466         * BufferView_pimpl.C: clear message when doc finishes resizing,
2467         and after a mouse event
2468
2469         * lyxfunc.C: clear message after exiting inset
2470
2471 2003-04-07  John Levon  <levon@movementarian.org>
2472
2473         * bufferview_funcs.C: show math status not outside
2474         status in the statusbar
2475
2476 2003-04-07  John Levon  <levon@movementarian.org>
2477
2478         * lyxfunc.C: note status changed after a depth change
2479
2480 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2481
2482         * LaTeX.h: move AuxInfo operator==, != out of line.
2483         Remove LaTeX virtual destructor; nothing derives from it.
2484         Move operator()() out of public area and rename it startscript().
2485         Change protected for private.
2486
2487 2003-04-04  Angus Leeming  <leeming@lyx.org>
2488
2489         * lyxfunc.C:
2490         * text2.C: remove unneeded #includes.
2491
2492 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2493
2494         * text2.C (dEPM): fix the heigth of the next row
2495
2496 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2497
2498         * text.C: squashed an invalid getChar requester + some ws changes
2499
2500 2003-04-03  John Levon  <levon@movementarian.org>
2501
2502         * bufferview_funcs.h:
2503         * bufferview_funcs.C:
2504         * lyxfunc.C:
2505         * lyxtext.h:
2506         * text2.C: make getStatus work for the env depth lfuns
2507
2508 2003-04-03  John Levon  <levon@movementarian.org>
2509
2510         * bufferview_funcs.h:
2511         * bufferview_funcs.C:
2512         * lyxfunc.C:
2513         * lyxtext.h:
2514         * text2.C: parlistize decDepth(), by merging it with incDepth()
2515
2516 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * lyxrow.h: store a ParagraphList::iterator instead of a
2519         Paragraph* and adjust other class functions to suit.
2520
2521         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2522         above.
2523
2524 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * text2.C (setCursor): do not anchor to cursor row for the time being
2527
2528 2003-04-02  John Levon  <levon@movementarian.org>
2529
2530         * LyXAction.C:
2531         * lfuns.h:
2532         * lyx_main.C:
2533         * lyxtext.h:
2534         * text.C:
2535         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2536
2537 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * paragraph.h: make ParagraphList and ParagraphList::iterator
2540         friends of Paragraph.
2541
2542         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2543
2544         * ParagraphList.C: Use the private next_ and previous_ from
2545         Paragraph.
2546
2547 2003-04-01  John Levon  <levon@movementarian.org>
2548
2549         * ToolbarBackend.h:
2550         * ToolbarBackend.C:
2551         * Makefile.am: rename, remove defaults gunk
2552
2553         * MenuBackend.h:
2554         * MenuBackend.C: remove defaults gunk
2555
2556         * Languages.h:
2557         * Languages.C: remove defaults gunk
2558
2559         * lyx_main.h:
2560         * lyx_main.C: error out if files couldn't be found.
2561
2562 2003-04-02  John Levon  <levon@movementarian.org>
2563
2564         * text2.C: make incDepth() use parlist
2565
2566 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * undo_funcs.C (firstUndoParagraph): adjust
2569
2570         * text3.C (gotoInset): adjust
2571         (dispatch): adjust, and rewrite loop.
2572
2573         * text2.C (init): adjust, and rewrite loop.
2574         (redoParagraphs): adjust
2575         (updateInset): adjust, and rewrite loop.
2576         (deleteEmptyParagraphMechanism): adjust
2577
2578         * tabular.C (LyXTabular): adjust
2579         (SetMultiColumn): adjust
2580         (TeXRow): adjust
2581
2582         * lyxtext.[Ch] (ownerParagraph): delete function
2583         (ownerParagraphs): new function returns a ParagraphList.
2584
2585         * BufferView.C (removeAutoInsets): adjust
2586         (insertErrors): adjust
2587         (setCursorFromRow): adjust
2588
2589 2003-04-01  Angus Leeming  <leeming@lyx.org>
2590
2591         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2592         in the frontends.
2593
2594 2003-04-02  John Levon  <levon@movementarian.org>
2595
2596         * lyxtext.h:
2597         * text.C:
2598         * Makefile.am:
2599         * text_funcs.h:
2600         * text_funcs.C: make transposeChars a free function
2601
2602         * lyxrow_funcs.C: remove wrong comment
2603
2604 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2605
2606         * lyxtext.h: adjust
2607         * rowpainter.C: adjust
2608         * text.C: adjust
2609         * text2.C: adjust
2610         * text3.C: adjust
2611
2612         * lyxrow_funcs. [Ch]: new files
2613
2614         * lyxrow.[Ch]: remove next and previous pointers
2615         (next,previous): remove accessor functions
2616         (isParEnd): move to lyxrow_funcs
2617         (lastPos): move to lyxrow_funcs
2618         (nextRowIsAllInset): move to lyxrow_funcs
2619         (lastPrintablePos): move to lyxrow_funcs
2620         (numberOfSeparators): move to lyxrow_funcs
2621         (numberOfHfills): move to lyxrow_funcs
2622         (numberOfLabelHfills): move to lyxrow_funcs
2623         (hfillExpansion): move to lyxrow_funcs
2624
2625         * lyxfunc.C: adjust
2626
2627         * bufferview_funcs.C (toggleAndShow): adjust
2628
2629         * RowList.h: Remove class RowList from file leave just a
2630         std::list<Row>.
2631
2632         * RowList.C: delete file
2633
2634         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2635         and lyxrow_funcs.h
2636
2637 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * text3.C (cursorPrevious): adjust
2640         (cursorNext): adjust
2641         (dispatch): adjust
2642
2643         * text2.C (redoHeightOfParagraph): adjust
2644         (redoDrawingOfParagraph): adjust
2645         (setCursor): adjust
2646
2647         * text.C (breakParagraph): adjust
2648         (insertChar): adjust
2649         (backspace): adjust
2650
2651         * rowpainter.C (RowPainter): adjust
2652         (leftMargin): simplify and adjust
2653         (most rowpainter functions): adjust.
2654
2655         * rowpainter.h: store the row as RowList::iterator not as Row*
2656
2657         * lyxcursor.C (row): taka RowList::iterator as arg
2658         (irow): ditto
2659
2660         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2661         of Row*.
2662
2663 2003-04-01  Angus Leeming  <leeming@lyx.org>
2664
2665         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2666         stuff like bool Bool.
2667
2668 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2669
2670         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2671         rewrite a loop
2672
2673 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2676         RowList::iterator.
2677
2678         * lyxtext.h (rows): drop one version and leve a const variant that
2679         returns a RowList::iterator.
2680
2681 2003-03-31  Angus Leeming  <leeming@lyx.org>
2682
2683         * text.C (fill): ensure that the signature is the same as that in the
2684         header file.
2685
2686 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * text2.C (redoParagraphs): adjust
2689         (updateCounters): adjust
2690         (checkParagraph): adjust
2691         (getColumnNearX): adjust and reformat a bit.
2692
2693         * text.C (top_y): adjust
2694         (workWidth): adjust
2695         (leftMargin): adjust
2696         (prepareToPrint): adjust
2697         (getRow): adjust
2698         (getRowNearY): adjust
2699
2700         * lyxtext.h: make rowlist_ mutable.
2701
2702         * RowList.h: add const_iterator
2703         * RowList.C: adjust for RowList::const_iterator.
2704
2705         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2706         adjust.
2707
2708 2003-03-31  John Levon  <levon@movementarian.org>
2709
2710         * lyxrc.h:
2711         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2712
2713         * lyx_main.C: set default fonts from using lyx_gui funcs
2714
2715         * exporter.C: pdf_mode moved from lyxrc
2716
2717         * lyx_cb.C:
2718         * lyxfunc.C: changes from above
2719
2720 2003-03-31  John Levon  <levon@movementarian.org>
2721
2722         * lyx_main.C: fix to the last fix
2723
2724 2003-03-31  John Levon  <levon@movementarian.org>
2725
2726         * bufferlist.C: "Load original" -> "Load Original"
2727
2728         * converter.C:
2729         * exporter.C:
2730         * importer.C:
2731         * lyx_main.C:
2732         * format.C: more Alert cleanups
2733
2734 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * text2.C (removeParagraph): make it take a RowList::iterator as
2737         arg, adjust.
2738         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2739         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2740
2741         * text.C (anchor_row): make it take a RowList::iterator as arg,
2742         adjust.
2743         (computeBidiTables): make it take a const reference to Row instead
2744         of Row pointer, adjust.
2745         (leftMargin): make it take a RowList::iterator as arg, adjust.
2746         (rowBreakPoint): adjust
2747         (breakAgainOneRow): make it take a RowList::iterator as arg,
2748         adjust.
2749         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2750
2751         * bufferview_funcs.C (toggleAndShow): adjust
2752
2753 2003-03-30  John Levon  <levon@movementarian.org>
2754
2755         * Makefile.am:
2756         * BoostFormat.h:
2757         * boost-inst.C: moved to support
2758
2759         * several files: changes as a result
2760
2761 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * text2.C (LyXText): adjust.
2764         (init): adjust
2765         (removeRow): make it take a RowList::iterator as arg, adjust.
2766         (fullRebreak): adjust
2767         (deleteEmptyParagraphMechanism): adjust
2768         (clearPaint): adjust
2769         (postPaint): adjust
2770
2771         * text.C (top_y): adjust
2772         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2773         (breakAgain): make it take a RowList::iterator as arg, adjust.
2774         (breakParagraph): adjust
2775         (insertChar): adjust
2776         (backspace): adjust
2777
2778         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2779         need_break_row, and refresh_row.
2780
2781         * text3.C (dispatch): adjust
2782
2783         * text2.C (checkParagraph): adjust
2784         (setCursor): adjust
2785         (setCursorFromCoordinates): adjust
2786
2787         * text.C (top_y): adjust
2788         (workWidth): adjust
2789         (getRow): make it return a RowList::iterator, adjust
2790         (getRowNearY): make it return a RowList::iterator, adjust
2791
2792         * text2.C (init): adjust
2793         (insertRow): remove function
2794         (insertParagraph): adjust
2795         (redoParagraphs): adjust
2796         (fullRebreak): adjust
2797         (updateCounters): adjust
2798
2799         * text.C (top_y): rewrite to use RowList iterators.
2800         (top_y): adjust
2801         (setHeightOfRow): rewrite to sue RowList iterators.
2802         (appendParagraph): adjust
2803         (breakAgain): adjust
2804         (breakAgainOneRow): adjust
2805         (breakParagraph): adjust
2806         (getRow): adjust
2807         (getRowNearY): adjust, and remove commented code.
2808
2809         * lyxtext.h (firstRow): delete function
2810         (lastRow): delete function
2811         (rows): new function (const and non-const versions.)
2812         (insertRow): delete function
2813
2814         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2815
2816 2003-03-29  John Levon  <levon@movementarian.org>
2817
2818         * BufferView_pimpl.C: always update scrollbar top
2819         because pasting text when we're anchored could mean we
2820         miss an update altogether
2821
2822 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * text2.C (init): use rowlist_.end() and not 0.
2825         (insertRow): change to take a RowList::iterator as arg, adjust
2826         for this.
2827         (insertParagraph): change to take a RowList::iterator as arg,
2828         adjust for this.
2829         (redoParagraphs): remove some debug msgs.
2830
2831         * text.C (appendParagraph): change to take a RowList::iterator
2832         arg, adjust for this.
2833         (breakAgain): add an assert
2834         (breakAgainOneRow): ditto
2835
2836 2003-03-29  John Levon  <levon@movementarian.org>
2837
2838         * text2.C: do not clear selection after inc/decDepth
2839         (bug 550)
2840
2841 2003-03-29  John Levon  <levon@movementarian.org>
2842
2843         * BufferView.C:
2844         * buffer.C: fix broken strerrors according to Lars
2845
2846 2003-03-29  John Levon  <levon@movementarian.org>
2847
2848         * converters.C: more Alert cleanups
2849
2850 2003-03-29  John Levon  <levon@movementarian.org>
2851
2852         * bufferview_funcs.C: remove pointless Alert
2853
2854         * buffer.C: fix confusing error message when
2855         a template is chmoded 000
2856
2857 2003-03-29  John Levon  <levon@movementarian.org>
2858
2859         * BufferView.C:
2860         * BufferView.h:
2861         * BufferView_pimpl.C: Alert fixes
2862
2863         * Makefile.am:
2864         * tabular.C:
2865         * tabular-old.C: remove unused table compat reading
2866
2867 2003-03-29  John Levon  <levon@movementarian.org>
2868
2869         * BufferView.C:
2870         * buffer.C:
2871         * lyx_cb.h:
2872         * lyx_cb.C: more Alert cleanups
2873
2874         * lyxfunc.C: don't allow chktex if not latex document
2875
2876 2003-03-29  John Levon  <levon@movementarian.org>
2877
2878         * lyx_cb.C:
2879         * BufferView.C:
2880         * buffer.C: warnings pushed down from support/,
2881         kill err_alert
2882
2883 2003-03-29  John Levon  <levon@movementarian.org>
2884
2885         * lyxfunc.C: safety check for C-r (revert)
2886
2887 2003-03-29  John Levon  <levon@movementarian.org>
2888
2889         * bufferlist.h:
2890         * bufferlist.C: several UI fixes using Alert::prompt.
2891         Fix the pointless looping quit code. Fix stupid revert
2892         behaviour (bug 938)
2893
2894         * lyxvc.h:
2895         * lyxvc.C:
2896         * lyx_cb.C: use Alert::prompt
2897
2898         * lyx_main.C: remove a silly question
2899
2900         * lyxfunc.C: remove a couple of silly questions,
2901         use Alert::prompt
2902
2903 2003-03-28  John Levon  <levon@movementarian.org>
2904
2905         * text2.C: fix bug 974 (End on empty par)
2906
2907 2003-03-28  John Levon  <levon@movementarian.org>
2908
2909         * BufferView_pimpl.C:
2910         * LyXAction.C:
2911         * lfuns.h: remove do-nothing math greek lfuns
2912
2913 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * lyxgluelength.h (isValidGlueLength): add default arg on
2916         parameter 2. Remove default arg from friend in class.
2917
2918         * lyxlength.h (isValidLength): add default arg on parameter 2.
2919         Remove default arg from friend in class.
2920
2921         * text2.C (LyXText): adjust, initialize refresh_row.
2922         (init): adjust
2923         (removeRow): adjust
2924         (insertRow): adjust
2925         (insertParagraph): adjst
2926         (redoParagraphs): adjust
2927         (fullRebreak): adjust
2928         (updateCounters): adjust
2929         (deleteEmptyParagraphMechanism): first attempt at fixing a
2930         crashing bug.
2931
2932         * text.C (top_y): adjust
2933         (setHeightOfRow): adjust
2934         (getRow): adjust
2935         (getRowNearY): adjust
2936
2937         * lyxtext.h: include RowList.h
2938         (~LyXText): not needed anymore, deleted.
2939         (firstRow): modify for RowList
2940         (lastRow): new function
2941         Delete firstrow and lastrow class variables, add a Rowlist
2942         rowlist_ class variable.
2943
2944         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2945         paragraph is empty.
2946
2947         * RowList.C (insert): fix case where it == begin().
2948
2949 2003-03-26  Angus Leeming  <leeming@lyx.org>
2950
2951         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2952         the thesaurus dialog.
2953
2954 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2955
2956         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2957
2958         * RowList.[Ch]: new files
2959
2960         * ParagraphList.C (erase): handle the case where it == begin
2961         correctly.
2962
2963 2003-03-25  John Levon  <levon@movementarian.org>
2964
2965         * Makefile.am:
2966         * aspell_local.h:
2967         * aspell.C: add new aspell support
2968
2969         * lyxrc.h:
2970         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2971         have it accessible.
2972
2973 2003-03-25  Angus Leeming  <leeming@lyx.org>
2974
2975         * lfuns.h:
2976         * LyXAction.C (init): new LFUN_INSET_INSERT.
2977
2978         * BufferView_pimpl.C (dispatch): split out part of the
2979         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2980
2981         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2982         LFUN_INSET_APPLY.
2983
2984 2003-03-25  Angus Leeming  <leeming@lyx.org>
2985
2986         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2987
2988 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * text2.C:
2991         * text3.C: remove useless row->height(0)
2992
2993 2003-03-25  John Levon  <levon@movementarian.org>
2994
2995         * lyxtext.h:
2996         * text2.C:
2997         * text3.C: rename the refreshing stuff to better names
2998
2999 2003-03-24  John Levon  <levon@movementarian.org>
3000
3001         * BufferView_pimpl.h:
3002         * BufferView_pimpl.C: update layout choice on a mouse
3003         press/release
3004
3005 2003-03-23  John Levon  <levon@movementarian.org>
3006
3007         * Makefile.am: fix commandtags.h reference
3008
3009 2003-03-22  John Levon  <levon@movementarian.org>
3010
3011         * BufferView_pimpl.C:
3012         * lyxtext.h:
3013         * rowpainter.C:
3014         * rowpainter.h:
3015         * text.C:
3016         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3017
3018 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * lyxtext.h:
3021         * text.C: take the rtl methods out of line
3022
3023 2003-03-21 André Pönitz <poenitz@gmx.net>
3024
3025         * metricsinfo.[Ch]: new files containing structures to be passed around
3026         during the two-phase-drawing...
3027
3028 2003-03-21 André Pönitz <poenitz@gmx.net>
3029
3030         * lyxtextclass.C: read 'environment' tag.
3031
3032 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3033
3034         * text2.C (removeRow): fix bug 964
3035
3036 2003-03-20  John Levon  <levon@movementarian.org>
3037
3038         * rowpainter.C:
3039         * text.C:
3040         * text2.C: paint cleanups. Inset::update() dropped font
3041         parameter
3042
3043 2003-03-19  John Levon  <levon@movementarian.org>
3044
3045         * lyxfunc.C: only fitcursor/markDirty if available()
3046
3047 2003-03-19  John Levon  <levon@movementarian.org>
3048
3049         * commandtags.h: rename to ...
3050
3051         * lfuns.h: ... this, and renumber / cleanup
3052
3053 2003-03-19  John Levon  <levon@movementarian.org>
3054
3055         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3056         fit the cursor after an lfun
3057
3058         * BufferView.h:
3059         * BufferView.C:
3060         * BufferView_pimpl.h:
3061         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3062
3063         * LyXAction.C: layout-character should have ReadOnly
3064
3065         * ParagraphParameters.C:
3066         * buffer.C:
3067         * bufferview_funcs.C:
3068         * lyx_cb.C:
3069         * lyxfind.C:
3070         * lyxtext.h:
3071         * text.C:
3072         * text2.C:
3073         * text3.C:
3074         * undo_funcs.C: changes from above
3075
3076 2003-03-18  John Levon  <levon@movementarian.org>
3077
3078         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3079         remove it from update()
3080
3081         * lyxfunc.C: update layout choice after an lfun
3082
3083         * text3.C: remove extra updateLayoutChoice()s
3084
3085 2003-03-18  John Levon  <levon@movementarian.org>
3086
3087         * text.C: top_y change means full repaint, fix
3088         a drawing bug with cursor movement
3089
3090 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3091
3092         * lyxtext.h:
3093         * text.C:
3094         * text2.C: anchor row on setCursor
3095
3096 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3097
3098         * lyxtext.h: remove almost all mutable keywords
3099         * text.C:
3100         * text2.C:
3101         * text3.C: remove const keywords accordingly
3102
3103 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3106         anon namespace
3107         (TeXEnvironment): ditto
3108         (TeXOnePar): ditto
3109
3110 2003-03-17  John Levon  <levon@movementarian.org>
3111
3112         * text.C (rowBreakPoint): remove attempt to fix displayed
3113         math insets inside a manual label
3114
3115 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * lyxtext.h: remove BufferView* as first arg from almost all class
3118         functions.
3119         * other files: adjust.
3120
3121 2003-03-17  John Levon  <levon@movementarian.org>
3122
3123         * lyxtext.h:
3124         * undo_funcs.C:
3125         * text2.C: more paint cleanups
3126
3127         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3128
3129         * rowpainter.h:
3130         * rowpainter.C: remove "smart" background painting code
3131
3132 2003-03-16  John Levon  <levon@movementarian.org>
3133
3134         * lyxtext.h:
3135         * text.C:
3136         * text2.C:
3137         * text3.C: add helper functions for setting refresh_row/y
3138
3139 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3140
3141         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3142         newline inset which *can* get inserted in the pass_thru layouts.
3143         This is primarily for literate documents.
3144
3145 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3146
3147         * buffer.C: increment LYX_FORMAT to 223
3148
3149 2003-03-14 André Pönitz <poenitz@gmx.net>
3150
3151         * textclass.h: prepare for environment handling, ws changes
3152         * lyxlayout.C: read latexheader and latexfooter tags
3153
3154 2003-03-14  John Levon  <levon@movementarian.org>
3155
3156         * text2.C: rewrite ::status() a bit
3157
3158 2003-03-13  John Levon  <levon@movementarian.org>
3159
3160         * lyxtext.h: add some docs
3161
3162 2003-03-13  John Levon  <levon@movementarian.org>
3163
3164         * lyxtext.h:
3165         * text.C:
3166         * text2.C:
3167         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3168
3169 2003-03-13  John Levon  <levon@movementarian.org>
3170
3171         * text3.C: fix appendix redrawing
3172
3173 2003-03-13  John Levon  <levon@movementarian.org>
3174
3175         * text.C (setHeightOfRow):
3176         * rowpainter.h:
3177         * rowpainter.C: make appendix mark have the text
3178           "Appendix" so the user knows what it is
3179
3180         * LColor.h:
3181         * LColor.C: s/appendixline/appendix/ from above
3182
3183 2003-03-13  John Levon  <levon@movementarian.org>
3184
3185         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3186
3187         * text.C: fix a getChar(pos) bug properly
3188
3189 2003-03-13  Angus Leeming  <leeming@lyx.org>
3190
3191         * commandtags.h:
3192         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3193         Probably only temporary. Let's see how things pan out.
3194
3195         * BufferView.C (unlockInset):
3196         * BufferView_pimpl.C (fitCursor):
3197         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3198
3199         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3200         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3201
3202         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3203         new functions that convert ParagraphParameters to and from a string.
3204
3205         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3206         BufferView::Pimpl's dispatch.
3207         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3208
3209 2003-03-13 André Pönitz <poenitz@gmx.net>
3210
3211         * lyxfunc.C:
3212         * text3.C:
3213         * factory.C: make it aware of InsetEnv
3214
3215 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * text2.C (setCursor): never ask for one past last
3218         (setCursor): add some debugging messages.
3219
3220         * text.C (singleWidth): never ask for one past last
3221         (singleWidth): ditto
3222         (leftMargin): ditto
3223         (rightMargin): ditto
3224         (rowBreakPoint): ditto
3225         (setHeightOfRow): ditto
3226         (prepareToPrint): ditto
3227
3228         * rowpainter.C (paintBackground): never ask for one past last
3229         (paintText): never ask for one past last
3230
3231         * paragraph_pimpl.C (getChar): make the assert stricter, never
3232         allow the one past last pos to be taken
3233
3234         * paragraph.C (getChar): ws changes only
3235
3236         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3237         (numberOfSeparators): ditto
3238         (numberOfHfills): ditto
3239
3240 2003-03-12  John Levon  <levon@movementarian.org>
3241
3242         * author.h:
3243         * author.C:
3244         * bufferparams.h:
3245         * bufferparams.C:
3246         * paragraph_funcs.C: fix per-buffer authorlists
3247
3248 2003-03-12  John Levon  <levon@movementarian.org>
3249
3250         * text.C: fix newline in right address
3251
3252 2003-03-12  Angus Leeming  <leeming@lyx.org>
3253
3254         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3255         duplicate those in LyXFunc::dispatch.
3256
3257         * commandtags.h:
3258         * LyXAction.C:
3259         * ToolbarDefaults.C:
3260         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3261         Add LFUN_FONTFREE_UPDATE.
3262
3263         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3264         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3265
3266         * bufferview_func.[Ch]: several new functions to facilliate
3267         transfer of data to and from the character dialog.
3268
3269 2003-03-12  John Levon  <levon@movementarian.org>
3270
3271         * buffer.C:
3272         * paragraph.h:
3273         * paragraph.C:
3274         * paragraph_funcs.C:
3275         * paragraph_pimpl.C:
3276         * sgml.C:
3277         * tabular.C:
3278         * text.C:
3279         * text3.C: remove META_NEWLINE in favour of an inset
3280
3281         * rowpainter.h:
3282         * rowpainter.C: remove paintNewline (done by inset)
3283
3284 2003-03-12  John Levon  <levon@movementarian.org>
3285
3286         * paragraph_pimpl.C: complain about bad getChar()s
3287         for a while at least
3288
3289 2003-03-12  John Levon  <levon@movementarian.org>
3290
3291         * buffer.h:
3292         * buffer.C: move paragraph read into a separate function,
3293         a little renaming to reflect that.
3294
3295         * bufferparams.h:
3296         * bufferparams.C: remove the author_ids map, not necessary now
3297
3298         * factory.h:
3299         * factory.C: moved Buffer::readInset to here
3300
3301         * paragraph_funcs.h:
3302         * paragraph_funcs.C: readParagraph free function moved from
3303         buffer.C
3304
3305         * tabular.C: name change
3306
3307 2003-03-12  John Levon  <levon@movementarian.org>
3308
3309         * buffer.C:
3310         * ParagraphParameters.C: move par params input to
3311         a read() method
3312
3313         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3314         behave like a normal read from the stream wrt reading
3315         a line vs. a \\token
3316
3317 2003-03-12  John Levon  <levon@movementarian.org>
3318
3319         * paragraph.C:
3320         * ParagraphParameters.h:
3321         * ParagraphParameters.C: move output code to a
3322         ::write() method
3323
3324 2003-03-12  John Levon  <levon@movementarian.org>
3325
3326         * BufferView.C (insertLyXFile):
3327         * buffer.h:
3328         * buffer.C:
3329         * tabular.C: use a parlist iterator for creating the
3330           document.
3331
3332 2003-03-12  John Levon  <levon@movementarian.org>
3333
3334         * buffer.C: make current_change static local not
3335           static file-scope
3336
3337 2003-03-12  John Levon  <levon@movementarian.org>
3338
3339         * buffer.C: fix insertStringAsLines for change tracking
3340
3341 2003-03-12  John Levon  <levon@movementarian.org>
3342
3343         * BufferView.C:
3344         * tabular.C:
3345         * buffer.h:
3346         * buffer.C:
3347         * bufferparams.h:
3348         * bufferparams.C: move author list into params. Rename some
3349           functions. Move the header reading into a separate token
3350           loop. Move the header token reading into BufferParams.
3351
3352 2003-03-12  John Levon  <levon@movementarian.org>
3353
3354         * changes.C: put debug inside lyxerr.debugging() checks
3355
3356 2003-03-11 André Pönitz <poenitz@gmx.net>
3357
3358         * factory.C: make it aware of InsetHFill
3359
3360 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3361
3362         * buffer.C (latexParagraphs): move function from here...
3363         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3364         args.
3365
3366 2003-03-10  Angus Leeming  <leeming@lyx.org>
3367
3368         * LyXAction.C (init): fix bug in poplating array with multiple entries
3369         with the same LFUN (spotted by JMarc).
3370
3371 2003-03-10  John Levon  <levon@movementarian.org>
3372
3373         * text.C:
3374         * text2.C: move getColumnNearX() near its
3375         only call site
3376
3377 2003-03-10  John Levon  <levon@movementarian.org>
3378
3379         * text.C: fix break before a minipage
3380
3381 2003-03-10  John Levon  <levon@movementarian.org>
3382
3383         * text.C: fix the last commit
3384
3385 2003-03-09  John Levon  <levon@movementarian.org>
3386
3387         * lyxtext.h:
3388         * text.C:
3389         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3390         bug 365 (don't break before insets unless needed). Don't
3391         return a value > last under any circumstances.
3392
3393 2003-03-09  Angus Leeming  <leeming@lyx.org>
3394
3395         * BufferView_pimpl.C (trackChanges, dispatch): call
3396         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3397
3398 2003-03-09  Angus Leeming  <leeming@lyx.org>
3399
3400         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3401         than Dialogs::showAboutlyx().
3402
3403 2003-03-09  Angus Leeming  <leeming@lyx.org>
3404
3405         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3406         than Dialogs::showTabularCreate().
3407
3408 2003-03-09  John Levon  <levon@movementarian.org>
3409
3410         * lyxtext.h:
3411         * text.C:
3412         * text2.C: 3rd arg to nextBreakPoint was always the same.
3413           Use references.
3414
3415 2003-03-08  John Levon  <levon@movementarian.org>
3416
3417         * lyxrow.C:
3418         * paragraph.C:
3419         * paragraph.h:
3420         * rowpainter.C:
3421         * text.C:
3422         * text2.C: Remove the "main" bit from the "main body"
3423           notion.
3424
3425 2003-03-08  John Levon  <levon@movementarian.org>
3426
3427         * text.C (leftMargin): The left margin of an empty
3428         manual label paragraph should not include the label width
3429         string length.
3430
3431         * text.C (prepareToPrint): don't attempt to measure hfills
3432         for empty manual label paragraphs - the answer should be 0
3433
3434 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3435
3436         * CutAndPaste.C: remove commented code and reindent.
3437
3438 2003-03-08  John Levon  <levon@movementarian.org>
3439
3440         * lyxfunc.h:
3441         * lyxfunc.C: move reloadBuffer()
3442
3443         * BufferView.h:
3444         * BufferView.C: to here
3445
3446         * lyxvc.C: add comment
3447
3448         * vc-backend.h:
3449         * vc-backend.C: call bv->reload() to avoid
3450           getStatus() check on MENURELOAD
3451
3452 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3453
3454         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3455         to an old format .dep file.
3456
3457 2003-03-07  Angus Leeming  <leeming@lyx.org>
3458
3459         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3460         when the LFUN_MOUSE_RELEASE should have been handled by
3461         inset->localDispatch.
3462
3463 2003-03-07  Angus Leeming  <leeming@lyx.org>
3464
3465         * BufferView_pimpl.C (dispatch):
3466         * LyXAction.C (init):
3467         * ToolbarDefaults.C (init):
3468         * commandtags.h:
3469         * lyxfunc.C (getStatus):
3470         remove LFUN_INSET_GRAPHICS.
3471
3472         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3473
3474 2003-03-07  Angus Leeming  <leeming@lyx.org>
3475
3476         * commandtags.h:
3477         * LyXAction.C (init):
3478         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3479
3480         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3481
3482         * commandtags.h:
3483         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3484
3485         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3486         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3487
3488 2003-03-07  Angus Leeming  <leeming@lyx.org>
3489
3490         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3491         remove "ert".
3492
3493 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3494
3495         * ParagraphList.C (front): new function
3496         (back): implement
3497
3498 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3501         and top_row_offset_. removed var first_y.
3502         * text.C (top_y):
3503         * text2.C (LyXText, removeRow):
3504         * text3.C:
3505         * BufferView_pimpl.C:
3506         use these methods instead of using first_y
3507
3508 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * text2.C (pasteSelection): adjust for checkPastePossible
3511
3512         * CutAndPaste.C: remove Paragraph * buf and replace with
3513         ParagraphList paragraphs.
3514         (DeleteBuffer): delete
3515         (cutSelection): change the tc type to textclass_type
3516         (copySelection): change the tc type to textclass_type
3517         (copySelection): adjust for ParagraphList
3518         (pasteSelection): change the tc type to textclass_type
3519         (pasteSelection): adjust for Paragraphlist
3520         (nrOfParagraphs): simplify for ParagraphList
3521         (checkPastePossible): simplify for ParagraphList
3522         (checkPastePossible): remove unused arg
3523
3524         * ParagraphList.C (insert): handle the case where there are no
3525         paragraphs yet.
3526
3527         * CutAndPaste.h: make CutAndPaste a namespace.
3528
3529         * text3.C (dispatch): adjust
3530
3531         * text.C (breakParagraph): add a ParagraphList as arg
3532
3533         * paragraph_funcs.C (breakParagraph): change to take a
3534         BufferParams and a ParagraphList as args.
3535         (breakParagraphConservative): ditto
3536         (mergeParagraph): ditto
3537         (TeXDeeper): add a ParagraphList arg
3538         (TeXEnvironment): ditto
3539         (TeXOnePar): ditto
3540
3541         * buffer.C (readLyXformat2): adjust
3542         (insertStringAsLines): adjust
3543         (latexParagraphs): adjust
3544
3545         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3546         (cutSelection): adjust
3547         (pasteSelection): adjust
3548
3549         * BufferView_pimpl.C (insertInset): adjust
3550
3551 2003-03-05  Angus Leeming  <leeming@lyx.org>
3552
3553         * commandtags.h:
3554         * LyXAction.C (init):
3555         * BufferView_pimpl.C (dispatch):
3556         * lyxfunc.C (getStatus):
3557         remove LFUN_CHILD_INSERT.
3558
3559         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3560
3561 2003-03-05  Angus Leeming  <leeming@lyx.org>
3562
3563         * commandtags.h:
3564         * LyXAction.C (init):
3565         * src/factory.C (createInset):
3566         * lyxfunc.C (getStatus):
3567         * text3.C (dispatch):
3568         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3569
3570         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3571
3572 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * ParagraphList.C (insert): handle insert right before end()
3575         (erase): fix cases where it can be first or last paragraph.
3576
3577 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3580         Paragraph::next and Paragraph::previous
3581         (TeXOnePar): ditto
3582
3583         * text.C (breakParagraph): adjust
3584
3585         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3586         BufferParams& as arg.
3587         (breakParagraph): use ParagraphList::insert
3588         (breakParagraphConservative): take a Buffer* instead of a
3589         BufferParams& as arg.
3590         (breakParagraphConservative): use ParagraphList::insert.
3591
3592         * buffer.C (insertStringAsLines): un-const it
3593         (insertStringAsLines): adjust
3594
3595         * ParagraphList.C (insert): new function
3596
3597         * CutAndPaste.C (pasteSelection): adjust
3598
3599         * text.C (backspace): adjust
3600
3601         * tabular.C (SetMultiColumn): adjust
3602
3603         * CutAndPaste.C (cutSelection): adjust
3604         (pasteSelection): adjust
3605
3606         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3607         Buffer const * as arg
3608
3609         * ParagraphList.C (erase): new function
3610         * paragraph_funcs.C (mergeParagraph): use it
3611         (mergeParagraph): make it take a Buffer* instead of a
3612         BufferParams* as arg
3613
3614         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3615         as arg
3616         (breakParagraphConservative): ditto
3617
3618         * paragraph.h: remove the breakParagraph friend
3619
3620         * paragraph.C (eraseIntern): new function
3621         (setChange): new function
3622
3623         * paragraph_funcs.C (mergeParagraph): make it take a
3624         ParagraphList::iterator instead of a Paragraph *, adjust
3625         accordingly.
3626
3627         * paragraph.h: move an #endif so that the change tracking stuff
3628         also works in the NO_NEXT case.
3629
3630 2003-03-04  Angus Leeming  <leeming@lyx.org>
3631
3632         * commandtags.h:
3633         * LyXAction.C: new LFUN_INSET_MODIFY.
3634
3635         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3636         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3637
3638 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * several files: ws changes only
3641
3642         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3643         (TeXEnvironment): ditto
3644         (TeXDeeper): ditto
3645
3646         * buffer.C (makeLaTeXFile): adjust
3647         (latexParagraphs): make it take ParagraphList::iterator as args
3648
3649 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * buffer.C (latexParagraphs): adjust
3652
3653         * paragraph.C (TeXOnePar): move function...
3654         (optArgInset): move function...
3655         (TeXEnvironment): move function...
3656         * paragraph_pimpl.C (TeXDeeper): move function...
3657         * paragraph_funcs.C: ...here
3658
3659         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3660
3661 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * buffer.C (readInset): remove compability code for old Figure and
3664         InsetInfo insets
3665
3666 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3667
3668         * buffer.C: ws changes
3669         (readInset):
3670
3671         * BufferView_pimpl.C: ditto
3672         * author.C: ditto
3673         * buffer.h: ditto
3674         * bufferlist.h: ditto
3675         * changes.h: ditto
3676         * lyxfunc.C: ditto
3677
3678 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3679
3680         * converter.[Ch]: split into itself +
3681         * graph.[Ch]
3682         * format.[Ch]
3683         * Makefile.am: += graph.[Ch] + format.[Ch]
3684         * MenuBackend.C
3685         * buffer.C
3686         * exporter.C
3687         * importer.C
3688         * lyx_main.C
3689         * lyxfunc.C
3690         * lyxrc.C: added #include "format.h"
3691
3692 2003-02-27  Angus Leeming  <leeming@lyx.org>
3693
3694         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3695           a label.
3696
3697         * factory.C (createInset): add "label" to the factory.
3698
3699         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3700           string and do no more.
3701
3702 2003-02-27  Angus Leeming  <leeming@lyx.org>
3703
3704         * commandtags.h:
3705         * LyXAction.C (init):
3706         * factory.C (createInset):
3707         * BufferView_pimpl.C (dispatch):
3708           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3709
3710         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3711
3712         * lyxfunc.C (dispatch):
3713         * text3.C (dispatch): pass name to params2string.
3714
3715 2003-02-26  Angus Leeming  <leeming@lyx.org>
3716
3717         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3718           blocks together.
3719           Rearrange the ~includes. Strip out the unnecessary ones.
3720
3721         * factory.C (createInset): reformat.
3722           create new insets for the various LFUN_XYZ_APPLY lfuns.
3723
3724 2003-02-26  John Levon  <levon@movementarian.org>
3725
3726         * lyxrow.h:
3727         * lyxrow.C: add isParStart,isParEnd helpers
3728
3729         * paragraph.h: make isInserted/DeletedText take refs
3730
3731         * paragraph_funcs.h:
3732         * paragraph_funcs.C: remove #if 0'd code
3733
3734         * lyxtext.h:
3735         * text3.C:
3736         * text2.C:
3737         * text.C: use lyxrow helpers above.
3738           Move draw and paint routines to RowPainter.
3739           Make several methods use refs not pointers.
3740           Make backgroundColor() const.
3741           Add markChangeInDraw(), isInInset().
3742           Merge changeRegionCase into changeCase.
3743           Make workWidth() shouldn't-happen code into an Assert.
3744
3745         * rowpainter.h:
3746         * rowpainter.C: new class for painting a row.
3747
3748         * vspace.h:
3749         * vspace.C: make inPixels take a ref
3750
3751 2003-02-26  Angus Leeming  <leeming@lyx.org>
3752
3753         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3754         LFUN_REF_APPLY.
3755
3756 2003-02-25  John Levon  <levon@movementarian.org>
3757
3758         * ispell.C: give the forked command a more accurate name
3759
3760 2003-02-22  John Levon  <levon@movementarian.org>
3761
3762         * toc.h:
3763         * toc.C: make TocItem store an id not a Paragraph *
3764           (bug #913)
3765
3766 2003-02-21  Angus Leeming  <leeming@lyx.org>
3767
3768         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3769           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3770           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3771           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3772           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3773           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3774
3775         * BufferView_pimpl.C (dispatch):
3776         * LyXAction.C (init):
3777         * factory.C (createInset):
3778         * lyxfunc.C (getStatus, dispatch):
3779         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3780
3781 2003-02-21  Angus Leeming  <leeming@lyx.org>
3782
3783         * BufferView_pimpl.C (MenuInsertLyXFile):
3784         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3785         * lyxfunc.C (menuNew, open, doImport):
3786           no longer pass a LyXView & to fileDlg.
3787
3788 2003-02-21  Angus Leeming  <leeming@lyx.org>
3789
3790         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3791         * LyXAction.C: change, BIBKEY to BIBITEM.
3792         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3793         Change InsetBibKey to InsetBibitem.
3794         Change BIBKEY_CODE to BIBITEM_CODE.
3795         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3796         * factory.C: replace insetbib.h with insetbibitem.h.
3797         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3798         * paragraph.C: replace insetbib.h with insetbibitem.h.
3799         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3800         Change bibkey() to bibitem().
3801         * text.C: remove insetbib.h.
3802         * text2.C: replace insetbib.h with insetbibitem.h.
3803         change bibkey() to bibitem().
3804         * text3.C: remove insetbib.h.
3805         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3806
3807 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3808
3809         * lyxrc.C (output): enclose user email in quotes (in case there are
3810         several words)
3811
3812 2003-02-18  John Levon  <levon@movementarian.org>
3813
3814         * buffer.h: add std::
3815
3816 2003-02-17  John Levon  <levon@movementarian.org>
3817
3818         * SpellBase.h:
3819         * ispell.h:
3820         * ispell.C:
3821         * pspell.h:
3822         * pspell.C: reworking. Especially in ispell, a large
3823           number of clean ups and bug fixes.
3824
3825         * lyxfunc.C: fix revert to behave sensibly
3826
3827 2003-02-17 André Pönitz <poenitz@gmx.net>
3828
3829         * LyXAction.C:
3830         * commandtags.h: new LFUN_INSERT_BIBKEY
3831
3832         * layout.h:
3833         * lyxlayout.C:
3834         * buffer.C:
3835         * factory.C:
3836         * text.C:
3837         * text2.C:
3838         * text3.C:
3839         * paragraph.[Ch]:
3840         * paragraph_func.C: remove special bibkey handling
3841
3842 2003-02-17  John Levon  <levon@movementarian.org>
3843
3844         * text.C (Delete): fix case where delete at the end of
3845           the very first paragraph would not merge the pars
3846
3847 2003-02-17  John Levon  <levon@movementarian.org>
3848
3849         * lyxrow.C: fix lastPrintablePos()
3850
3851 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3852
3853         * bufferparams.C (writeLaTeX): add a std:here
3854
3855         * buffer.C: and remove a using directive there
3856
3857 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3858
3859         * buffer.C (makeLaTeXFile): move the code that generates the
3860           preamble...
3861
3862         * bufferparams.C (writeLaTeX): ... in this new method
3863
3864         * LaTeXFeatures.C (getEncodingSet): make const
3865           (getLanguages): make const
3866
3867         * MenuBackend.C (binding): returns the binding associated to this
3868           action
3869           (add): sets the status of each item by calling getStatus. Adds
3870           some intelligence.
3871           (read): add support for OptSubMenu
3872           (expand): remove extra separator at the end of expanded menu
3873
3874 2003-02-15  John Levon  <levon@movementarian.org>
3875
3876         * BufferView.C:
3877         * BufferView_pimpl.C:
3878         * bufferlist.h:
3879         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3880           inset code that had no actual effect. Remove unneeded status
3881           code.
3882
3883 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3884
3885         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3886           in preamble
3887
3888 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3889
3890         * text.C (drawLengthMarker): also draw an arrow marker for
3891           symbolic lengths (medskip...)
3892
3893 2003-02-14  John Levon  <levon@movementarian.org>
3894
3895         * tabular.h:
3896         * tabular.C: better method names
3897
3898 2003-02-14  John Levon  <levon@movementarian.org>
3899
3900         * BufferView_pimpl.C:
3901         * bufferlist.C:
3902         * buffer.C:
3903         * converter.C:
3904         * lyx_cb.C:
3905         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3906           it's a more accurate name. Remove some pointless uses.
3907
3908 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3909
3910         * text2.C (LyXText): change order of initilizers to shut off
3911           warnings
3912
3913 2003-02-14  John Levon  <levon@movementarian.org>
3914
3915         * buffer.C: use ParIterator for getParFromID()
3916
3917         * paragraph.h:
3918         * paragraph.C:
3919         * paragraph_pimpl.h:
3920         * paragraph_pimpl.C: remove unused getParFromID()
3921
3922 2003-02-14  John Levon  <levon@movementarian.org>
3923
3924         * buffer.C: remove some very old #if 0'd parse code
3925
3926 2003-02-13  John Levon  <levon@movementarian.org>
3927
3928         * text.h:
3929         * text.C:
3930         * text2.C: move hfillExpansion(), numberOfSeparators(),
3931           rowLast(), rowLastPrintable(), numberofHfills(),
3932           numberOfLabelHfills() ...
3933
3934         * lyxrow.h:
3935         * lyxrow.C: ... to member functions here.
3936
3937         * paragraph.h:
3938         * paragraph.C:
3939         * lyxtext.h:
3940         * text.C: remove LyXText::beginningOfMainBody(), and call
3941           p->beginningOfMainBody() directly. Move the check for
3942           LABEL_MANUAL into the latter.
3943
3944         * text.h:
3945         * text.C:
3946         * text2.C:
3947         * vspace.C:
3948         * BufferView.h:
3949         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3950
3951         * text.h:
3952         * text.C:
3953         * text2.C:
3954         * text3.C:
3955         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3956           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3957
3958 2003-02-13  John Levon  <levon@movementarian.org>
3959
3960         * CutAndPaste.C: remove debug
3961
3962 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3963
3964         * paragraph.C (asString): remove two unused variables
3965
3966         * lyxtextclass.C (readTitleType):
3967           (Read):
3968           (LyXTextClass): handle new members titletype_ and titlename_
3969
3970         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3971
3972 2003-02-09  John Levon  <levon@movementarian.org>
3973
3974         * buffer.h:
3975         * buffer.C: replace hand-coded list with a map for the dep clean
3976
3977 2003-02-08  John Levon  <levon@movementarian.org>
3978
3979         * LaTeX.C: consolidate code into showRunMessage() helper
3980
3981 2003-02-08  John Levon  <levon@movementarian.org>
3982
3983         * lyxfind.C:
3984         * lyxtext.h:
3985         * text2.C:
3986         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3987           and pass the size in explicitly
3988
3989         * BufferView_pimpl.h:
3990         * BufferView_pimpl.C:
3991         * BufferView.h:
3992         * BufferView.C: add getCurrentChange()
3993
3994         * BufferView_pimpl.h:
3995         * BufferView_pimpl.C: handle change lfuns
3996
3997         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3998           for changes. Mark pasted paragraphs as new.
3999
4000         * support/lyxtime.h:
4001         * support/lyxtime.C:
4002         * DepTable.C: abstract time_t as lyx::time_type
4003
4004         * LColor.h:
4005         * LColor.C: add colours for new text, deleted text, changebars
4006
4007         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4008           package use "usenames" option.
4009
4010         * commandtags.h:
4011         * lyxfunc.C:
4012         * LyXAction.C: add change lfuns
4013
4014         * Makefile.am:
4015         * author.h:
4016         * author.C: author handling
4017
4018         * buffer.h:
4019         * buffer.C: add a per-buffer author list, with first entry as
4020           current author. Handle new .lyx tokens for change tracking. Output
4021           author list to .lyx file. Output dvipost stuff to .tex preamble.
4022           Bump lyx format to 222.
4023
4024         * bufferlist.h:
4025         * bufferlist.C: add setCurrentAuthor() to reset current author details
4026           in all buffers.
4027
4028         * bufferparams.h:
4029         * bufferparams.C: add param for tracking
4030
4031         * bufferview_funcs.C: output change info in minibuffer
4032
4033         * Makefile.am:
4034         * changes.h:
4035         * changes.C: add change-tracking structure
4036
4037         * debug.h:
4038         * debug.C: add CHANGES debug flag
4039
4040         * lyxfind.h:
4041         * lyxfind.C: add code for finding the next change piece
4042
4043         * lyxrc.h:
4044         * lyxrc.C: add user_name and user_email
4045
4046         * lyxrow.h:
4047         * lyxrow.C: add a metric for the top of the text line
4048
4049         * lyxtext.h:
4050         * text.C: implement accept/rejectChange()
4051
4052         * lyxtext.h:
4053         * text.C: paint changebars. Paint new/deleted text in the chosen
4054         colours. Strike through deleted text.
4055
4056         * paragraph.h:
4057         * paragraph.C:
4058         * paragraph_pimpl.h:
4059         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4060           in the current change to the insert functions. Rework erase to
4061           mark text as deleted, adding an eraseIntern() and a range-based
4062           erase(). Implement per-paragraph change lookup and
4063           accept/reject.
4064
4065         * paragraph_funcs.C: Fixup paste for change tracking.
4066
4067         * tabular.C: mark added row/columns as new.
4068
4069         * text.C: fix rowLast() to never return -1. Don't allow
4070           spellchecking of deleted text. Track transpose changes. Don't
4071           allow paragraph break or merge where appropriate.
4072
4073         * text2.C: leave cursor at end of selection after a cut.
4074
4075 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4076
4077         * text.C (getLengthMarkerHeight):
4078         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4079         visible on screen too.
4080
4081 2003-02-07  John Levon  <levon@movementarian.org>
4082
4083         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4084
4085 2003-02-05  Angus Leeming  <leeming@lyx.org>
4086
4087         * lyxserver.C (read_ready): revert my patch of 11 September last year
4088         as it sends PC cpu through the roof. Presumably this means that
4089         the lyxserver will no longer run on an Alpha...
4090
4091 2003-01-30  Angus Leeming  <leeming@lyx.org>
4092
4093         * factory.C (createInset): create an InsetCommandParam of type "index"
4094         and use it to 'do the right thing'.
4095
4096         * text2.C (getStringToIndex): ensure that cursor position is always
4097         reset to the reset_cursor position.
4098
4099 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4100
4101         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4102         disabled.
4103
4104 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4105
4106         * bufferview.C:
4107         * lyxcb.C:
4108         * lyxfunc.C: Output messages with identical spelling, punctuation,
4109         and spaces
4110
4111 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4112
4113         * MenuBackend.C (expandFormats): List only viewable export formats
4114         in "View" menu
4115
4116         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4117         message
4118
4119         * lyxfunc.C (getStatus): Make sure that formats other than
4120         "fax" can also be disabled
4121
4122 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4123
4124         * text3.C (dispatch): put the lfuns that insert insets in 3
4125         groups, and call doInsertInset with appropriate arguments.
4126         (doInsertInset): new function, that creates an inset and inserts
4127         it according to some boolean parameters.
4128
4129 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * buffer.C (readFile): remember to pass on 'par' when calling
4132         readFile recursively.
4133
4134 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4135
4136         * MenuBackend.C (expandFormats): add "..." to import formats.
4137
4138 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4139
4140         * paragraph.C (asString): Remove XForms RTL hacks.
4141
4142 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4143         * buffer.C: fix typo
4144
4145 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * Makefile.am (LIBS): delete var
4148         (lyx_LDADD): add @LIBS@ here instead.
4149
4150 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4151
4152         * Clarify the meaning of "wheel mouse jump"
4153
4154 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4155
4156         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4157         tabular in a float
4158
4159 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4160
4161         * importer.C (Loaders): do not preallocate 3 elements in the
4162         vector, since one ends up with 6 elements otherwise
4163
4164 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4165
4166         * DepTable.C (write): write the file name as last element of the
4167         .dep file (because it may contain spaces)
4168         (read): read info in the right order
4169
4170 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4171
4172         * paragraph_pimpl.C (simpleTeXBlanks):
4173         (simpleTeXSpecialChars):
4174         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4175
4176         * tabular.C (latex): add some missing case statements. Reindent.
4177
4178         * MenuBackend.C (expandToc): remove unused variable.
4179
4180 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4181
4182         * LColor.C:
4183         * LaTeX.C:
4184         * LyXAction.C:
4185         * MenuBackend.C:
4186         * buffer.C:
4187         * exporter.C:
4188         * lyxfunc.C:
4189         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4190         and the like.
4191
4192 2003-01-05  John Levon  <levon@movementarian.org>
4193
4194         * BufferView.h:
4195         * BufferView.C: add getEncoding()
4196
4197         * kbsequence.h:
4198         * kbsequence.C: do not store last keypress
4199
4200         * lyxfunc.h:
4201         * lyxfunc.C: store last keypress here instead. Pass encoding
4202           to getISOEncoded()
4203
4204 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4205
4206         * lyx_main.C (init): remove annoying error message when following
4207         symbolic links (bug #780)
4208
4209 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4210
4211         * text.C (insertChar):
4212         * lyxrc.C (getDescription): remove extra spaces
4213
4214 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4215
4216         * lyxrc.C (getDescription): remove extra spaces
4217
4218 2002-12-20  John Levon  <levon@movementarian.org>
4219
4220         * text3.C: hack fix for page up/down across tall rows
4221
4222 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4223
4224         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4225         not been invoked
4226
4227 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4228
4229         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4230         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4231         thesaurus is not compiled in
4232
4233 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4234
4235         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4236
4237 2002-12-16  Angus Leeming  <leeming@lyx.org>
4238
4239         * lyxrc.[Ch]:
4240         * lyx_main.C (init): remove override_x_deadkeys stuff.
4241
4242 2002-12-12  John Levon  <levon@movementarian.org>
4243
4244         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4245           insert. Only remove shift modifier under strict
4246           circumstances.
4247
4248 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * MenuBackend.C (expandToc): fix crash.
4251
4252 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * MenuBackend.C (expandToc): gettext on float names.
4255
4256 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4257
4258         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4259         implement bool empty() [bug 490]
4260
4261 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4262
4263         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4264
4265 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * several files: ws changes
4268
4269 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * text2.C (setCounter): clean up a bit, use boost.format.
4272         (updateCounters): initialize par upon declaration.
4273
4274         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4275         if the layout exists. We do not just store the layout any more.
4276         (SwitchLayoutsBetweenClasses): use boost.format
4277
4278 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4279
4280         * converter.C (convert): if from and to files are the same, use a
4281         temporary files as intermediary
4282
4283 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4284
4285         * commandtags.h:
4286         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4287
4288 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4289
4290         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4291
4292 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * tabular.C (asciiPrintCell): use string(size, char) instead of
4295         explicit loop.
4296
4297         * sgml.C (openTag): fix order of arguments to string constructor
4298         (closeTag): ditto
4299
4300         * lyxfunc.C (dispatch): use boost.format
4301
4302         * lots of files: change "c" -> 'c'
4303
4304 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4305
4306         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4307
4308 2002-11-25  Angus Leeming  <leeming@lyx.org>
4309
4310         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4311
4312         * lyx_main.C (init): compile fix.
4313
4314 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * lyx_cb.C (start): boost.formatify
4317         do not include <iostream>
4318
4319         * lengthcommon.C: ws only
4320
4321         * boost-inst.C,BoostFormat.h: add more explict instantations
4322
4323 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * lots of files: handle USE_BOOST_FORMAT
4326
4327 2002-11-21  John Levon  <levon@movementarian.org>
4328
4329         * pspell.C: fix compile
4330
4331 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4332
4333         * lyxfunc.C (dispatch): use boost::format
4334         (open): ditto
4335         (doImport): ditto
4336
4337         * lyxfont.C (stateText): use boost::format
4338
4339         * lyx_main.C (LyX): use boost::format
4340         (init): ditto
4341         (queryUserLyXDir): ditto
4342         (readRcFile): ditto
4343         (parse_dbg): ditto
4344         (typedef boost::function): use the recommened syntax.
4345
4346         * importer.C (Import): use boost::format
4347
4348         * debug.C (showLevel): use boost::format
4349
4350         * converter.C (view): use boost::format
4351         (convert): ditto
4352         (move): ditto
4353         (scanLog): ditto
4354
4355         * bufferview_funcs.C (currentState): use boost::format
4356
4357         * bufferlist.C (emergencyWrite): use boost::format
4358
4359         * buffer.C (readLyXformat2): use boost::format
4360         (parseSingleLyXformat2Token): ditto
4361
4362         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4363
4364         * LaTeX.C (run): use boost::format
4365
4366         * Chktex.C (scanLogFile): use boost::format
4367
4368         * BufferView_pimpl.C (savePosition): use boost::format
4369         (restorePosition): ditto
4370         (MenuInsertLyXFile): ditto
4371
4372         * BoostFormat.h: help file for explicit instation.
4373
4374 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4375
4376         * tabular.C (latex): Support for block alignment in fixed width
4377         columns.
4378
4379 2002-11-17  John Levon  <levon@movementarian.org>
4380
4381         * BufferView_pimpl.C:
4382         * lyx_cb.C:
4383         * lyxfunc.C: split filedialog into open/save
4384
4385 2002-11-08  Juergen Vigna  <jug@sad.it>
4386
4387         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4388         by my last patch (hopefully).
4389
4390 2002-11-08  John Levon  <levon@movementarian.org>
4391
4392         * iterators.h:
4393         * iterators.C:
4394         * buffer.h:
4395         * buffer.C:
4396         * paragraph.h:
4397         * paragraph.C:
4398         * toc.h:
4399         * toc.C: ParConstIterator, and use it (from Lars)
4400
4401 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4402
4403         * lyxtextclass.[Ch]: revise and add doxygen comments
4404
4405 2002-11-07  John Levon  <levon@movementarian.org>
4406
4407         * text.C: fix progress value for spellchecker
4408
4409         * toc.C: fix navigate menu for insetwrap inside minipage
4410
4411         * paragraph_funcs.C: added FIXME for suspect code
4412
4413 2002-11-07  John Levon  <levon@movementarian.org>
4414
4415         * BufferView_pimpl.C: fix redrawing of insets
4416           on buffer switch
4417
4418 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4419
4420         * text2.C (updateCounters): fix bug 668
4421
4422 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4423
4424         * text3.C (dispatch): Do not make the buffer dirty when moving the
4425         cursor.
4426
4427 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * vc-backend.C: STRCONV
4430         (scanMaster): ditto
4431
4432         * text2.C (setCounter): STRCONV
4433
4434         * paragraph.C (asString): STRCONV
4435
4436         * lyxlength.C (asString): STRCONV
4437         (asLatexString): ditto
4438
4439         * lyxgluelength.C (asString): STRCONV
4440         (asLatexString): ditto
4441
4442         * lyxfunc.C (dispatch): STRCONV
4443         (open): ditto
4444
4445         * lyxfont.C (stateText): STRCONV
4446
4447         * importer.C (Import): STRCONV
4448
4449         * counters.C (labelItem): STRCONV
4450         (numberLabel): ditto
4451         (numberLabel): remove unused ostringstream o
4452
4453         * chset.C: STRCONV
4454         (loadFile): ditto
4455
4456         * bufferview_funcs.C (currentState): STRCONV
4457
4458         * buffer.C (readFile): STRCONV
4459         (asciiParagraph): ditto
4460         (makeLaTeXFile): ditto
4461
4462         * Spacing.C (writeEnvirBegin): STRCONV
4463
4464         * LaTeXFeatures.C (getLanguages): STRCONV
4465         (getPackages): ditto
4466         (getMacros): ditto
4467         (getBabelOptions): ditto
4468         (getTClassPreamble): ditto
4469         (getLyXSGMLEntities): ditto
4470         (getIncludedFiles): ditto
4471
4472         * LaTeX.C: STRCONV
4473         (run): ditto
4474         (scanAuxFile): ditto
4475         (deplog): ditto
4476
4477         * LString.h: add the STRCONV macros
4478
4479         * BufferView_pimpl.C (savePosition): STRCONV
4480         (restorePosition): ditto
4481         (MenuInsertLyXFile): ditto
4482
4483         * vc-backend.C (scanMaster): change from submatch[...] to
4484         submatch.str(...)
4485
4486         * funcrequest.C: include config.h
4487
4488         * factory.C: include config.h
4489
4490         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4491
4492         * box.C: include config.h
4493
4494         * LaTeX.C (scanAuxFile): change from submatch[...] to
4495         submatch.str(...)
4496         (deplog): ditto
4497
4498 2002-10-25  Angus Leeming  <leeming@lyx.org>
4499
4500         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4501
4502         * ispell.[Ch] (setError): new method.
4503         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4504         Use setError() insetead of goto END.
4505
4506         * lyx_cb.C (AutoSave): move out child process into new class
4507         AutoSaveBuffer.
4508
4509 2002-10-30  John Levon  <levon@movementarian.org>
4510
4511         * text3.C: make start appendix undoable
4512
4513 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4514
4515         * lyxlength.C (inPixels): Fix returned value.
4516
4517         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4518         environment.
4519
4520 2002-10-24  Angus Leeming  <leeming@lyx.org>
4521
4522         * lyxgluelength.h: no need to forward declare BufferParams
4523         or BufferView, so don't.
4524
4525 2002-10-21  John Levon  <levon@movementarian.org>
4526
4527         * BufferView.C: menuUndo ->undo, redo
4528
4529         * BufferView.h: document, remove dead, make some methods private
4530
4531         * paragraph_funcs.h:
4532         * paragraph_funcs.C:
4533         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4534
4535         * buffer.h:
4536         * buffer.C:
4537         * sgml.h:
4538         * sgml.C: move sgml open/close tag into sgml.C
4539
4540         * bufferview_funcs.h: unused prototype
4541
4542         * lyxfunc.h:
4543         * lyxfunc.C: remove unused
4544
4545         * lyxtext.h:
4546         * text.C: remove unused
4547
4548 2002-10-21  John Levon  <levon@movementarian.org>
4549
4550         * BufferView.h:
4551         * BufferView.C:
4552         * BufferView_pimpl.h:
4553         * BufferView_pimpl.C: fix mouse wheel handling based on
4554           patch from Darren Freeman
4555
4556 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4557
4558         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4559
4560 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4561
4562         * lyxlength.C (inPixels): Fix hanfling of negative length.
4563         Fix LyXLength::MU case.
4564
4565 2002-10-16  John Levon  <levon@movementarian.org>
4566
4567         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4568
4569 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4570
4571         * converter.C (view): add support for $$i (file name) and $$p
4572         (file path) for the viewer command. If $$i is not specified, then
4573         it is appended to the command (for compatibility with old syntax)
4574
4575 2002-10-14  Juergen Vigna  <jug@sad.it>
4576
4577         * undo_funcs.C (textHandleUndo): alter the order in which the
4578         new undopar is added to the LyXText, as we have to set first
4579         the right prev/next and then add it as otherwise the rebuild of
4580         LyXText is not correct. Also reset the cursor to the right paragraph,
4581         with this IMO we could remove the hack in "redoParagraphs()".
4582
4583 2002-10-09  Angus Leeming  <leeming@lyx.org>
4584
4585         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4586         to turn off an optimisation if a new inset is to be inserted.
4587
4588 2002-10-11 André Pönitz <poenitz@gmx.net>
4589
4590         * lyxtext.h: make some functions public to allow access
4591         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4592
4593 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4594
4595         * text3.C (dispatch): when changing layout, avoid an infinite loop
4596         [bug #652]
4597
4598 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4599
4600         * lyxrc.C (read): treat a viewer or converter command of "none" as
4601         if it were empty.
4602
4603         * MenuBackend.C (expandFormats): for an update, also allow the
4604         formats that are not viewable
4605
4606         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4607         script if it is newer than the lyxrc.defaults in user directory
4608
4609 2002-10-07 André Pönitz <poenitz@gmx.net>
4610
4611         * text.C: Vitaly Lipatov's small i18n fix
4612
4613 2002-09-25  Angus Leeming  <leeming@lyx.org>
4614
4615         * ispell.h: doxygen fix.
4616
4617 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4618
4619         * buffer.h (readFile): Add a new argument to the method, to allow
4620         reading of old-format templates.
4621
4622 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4623
4624         * toc.C (getTocList): Get TOC from InsetWrap.
4625
4626 2002-09-16  John Levon  <levon@movementarian.org>
4627
4628         * lyxfunc.C: check tabular for cut/copy too
4629
4630 2002-09-12  John Levon  <levon@movementarian.org>
4631
4632         * LyXAction.C: tidy
4633
4634         * factory.h:
4635         * factory.C: add header
4636
4637         * paragraph_funcs.h:
4638         * paragraph_funcs.C: cleanup
4639
4640 2002-09-11  John Levon  <levon@movementarian.org>
4641
4642         * PrinterParams.h: odd/even default to true
4643
4644 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4645
4646         * PrinterParams.h: update printer parameters for new xforms dialog
4647
4648 2002-09-11  Angus Leeming  <leeming@lyx.org>
4649
4650         * lyxserver.C (read_ready): re-write to make it more transparent
4651         and to make it work in coherent fashion under Tru64 Unix.
4652
4653 2002-09-11  André Pönitz <poenitz@gmx.net>
4654
4655         * commandtags.h:
4656         * LyXAction.C:
4657         * text3.C: implement LFUN_WORDSEL
4658
4659 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4662         make floatlist_ a boost::shared_ptr<FloatList>
4663
4664         * lyxtextclass.C: include FloatList.h
4665         (LyXTextClass): initialize floatlist_
4666         (TextClassTags): add TC_NOFLOAT
4667         (Read): match "nofloat" to TC_NOFLOAT and use it.
4668         (readFloat): modify call to floatlist_
4669         (floats): ditto
4670         (floats): ditto
4671
4672         * FloatList.[Ch] (FloatList): remove commented out float
4673         initialization.
4674         (erase): new function
4675
4676 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4677
4678         * MenuBackend.C (expandToc): fix crash when there is no document
4679         open
4680
4681 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4682
4683         * many files: Add insetwrap.
4684
4685 2002-09-09  John Levon  <levon@movementarian.org>
4686
4687         * text2.C: remove confusing and awkward depth wraparound
4688
4689 2002-09-09  John Levon  <levon@movementarian.org>
4690
4691         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4692
4693         * buffer.h:
4694         * buffer.C: remove getIncludeonlyList()
4695
4696         * paragraph.C:
4697         * lyxfunc.C: remove headers
4698
4699 2002-09-09  Juergen Vigna  <jug@sad.it>
4700
4701         * text.C (getColumnNearX): fix form Michael this is most
4702         probably a cut&paste bug.
4703
4704 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4707
4708         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4709         references, ws changes.
4710
4711         * text2.C (init): update counters after init
4712         (insertParagraph): no need to set counter on idividual paragraphs.
4713         (setCounter): access the counters object in the textclass object
4714         on in the buffer object.
4715         (updateCounters): ditto
4716
4717         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4718         shared_ptr<Counters> to avoid loading counters.h in all
4719         compilation units.
4720         (LyXTextClass): initialize ctrs_
4721         (TextClassTags): add TC_COUNTER, and ...
4722         (Read): use it here.
4723         (CounterTags): new tags
4724         (readCounter): new function
4725         (counters): new funtion
4726         (defaultLayoutName): return a const reference
4727
4728         * counters.C (Counters): remove contructor
4729         (newCounter): remove a couple of unneeded statements.
4730         (newCounter): simplify a bit.
4731         (numberLabel): some small formatting changes.
4732
4733         * buffer.[Ch]: remove all traces of counters, move the Counters
4734         object to the LyXTextClass.
4735
4736 2002-09-06  Alain Castera  <castera@in2p3.fr>
4737
4738         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4739         package to set the horizontal alignment on fixed width columns.
4740
4741         * lyx_sty.C:
4742         * lyx_sty.h: added tabularnewline macro def.
4743
4744         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4745
4746 2002-09-06  John Levon  <levon@movementarian.org>
4747
4748         * LyXAction.C: tooltips for sub/superscript
4749
4750         * MenuBackend.C: a bit more verbose
4751
4752         * lyxfunc.C: tiny clean
4753
4754         * undo_funcs.C: document undo_frozen
4755
4756 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * counters.C (Counters): add missing algorithm counter.
4759
4760         * text2.C (setCounter): lookup the counter with layouts latexname
4761         instead of by section number.
4762         (setCounter): use a hackish way to lookup the correct enum
4763         counter.
4764         a float name->type change
4765         reset enum couners with counter name directly instead of depth value.
4766
4767         * counters.C (Counters): remove the push_backs, change to use the
4768         float type not the float name.
4769         (labelItem): remove unused string, float name->type change
4770
4771         * counters.h: don't include vector, loose the enums and sects vectors
4772
4773 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4776         (Read): add float->TC_FLOAT to textclassTags
4777         (Read): and handle it in the switch
4778         (readFloat): new function
4779
4780         * FloatList.C (FloatList): comment out the hardcoded float
4781         definitions.
4782
4783         * lyxlayout.h: ws change.
4784
4785 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4786
4787         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4788
4789 2002-09-03  Angus Leeming  <leeming@lyx.org>
4790
4791         * BufferView_pimpl.h: qualified name is not allowed in member
4792         declaration: WorkArea & Pimpl::workarea() const;
4793
4794         * factory.C: added using std::endl directive.
4795
4796         * text3.C: added using std::find and std::vector directives.
4797
4798 2002-08-29  André Pönitz <poenitz@gmx.net>
4799
4800         * lyxtext.h:
4801         * text2.C: remove unused member number_of_rows
4802
4803         * Makefile.am:
4804         * BufferView2.C: remove file, move contents to...
4805         * BufferView.C: ... here
4806
4807         * BufferView_pimpl.C:
4808         * factory.C: move more inset creation to factory
4809
4810         * vspace.C: avoid direct usage of LyXText, ws changes
4811
4812         * BufferView.[Ch]:
4813                 don't provide direct access to WorkArea, use two simple
4814                 acessors haveSelction() and workHeight() instead
4815
4816
4817 2002-08-29  John Levon  <levon@movementarian.org>
4818
4819         * BufferView_pimpl.C (dispatch): do not continue when
4820           no buffer
4821
4822 2002-08-28  André Pönitz <poenitz@gmx.net>
4823
4824         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4825
4826         * BufferView.h:
4827         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4828
4829 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4830
4831         * buffer.C: increment LYX_FORMAT to 221
4832
4833         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4834         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4835
4836         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4837
4838         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4839
4840 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4841
4842         * factory.C (createInset): use LyXTextClass::floats
4843
4844         * MenuBackend.C (expandFloatListInsert):
4845         (expandFloatInsert):
4846         (expandToc):
4847
4848         * text2.C (setCounter):
4849
4850         * LaTeXFeatures.C (useFloat):
4851         (getFloatDefinitions):
4852
4853         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4854
4855         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4856         floatlist_, with accessor floats().
4857
4858         * FloatList.h: remove global FloatList
4859
4860 2002-08-26  André Pönitz <poenitz@gmx.net>
4861
4862         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4863
4864         * BufferView.h:
4865         * BufferView2.C:
4866         * BufferView_pimpl.C:
4867         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4868
4869 2002-08-25  John Levon  <levon@movementarian.org>
4870
4871         * LyXAction.C: fix margin note description
4872
4873 2002-08-24  John Levon  <levon@movementarian.org>
4874
4875         * buffer.C:
4876         * bufferlist.C:
4877         * bufferview_funcs.C:
4878         * lyxfont.C:
4879         * undo_funcs.C: cleanups
4880
4881         * lyxfunc.C: disable CUT/COPY when no selection
4882
4883 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4884
4885         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4886         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4887
4888         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4889         Add backward compatibility to "mono", "gray" and "no".
4890
4891 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4892
4893         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4894         (and file_format >= 200).
4895
4896 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4897
4898         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4899
4900 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4901
4902         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4903
4904 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4905
4906         * BufferView_pimpl.C:
4907         * LyXAction.C:
4908         * buffer.C:
4909         * commandtags.h:
4910         * lyxfunc.C:
4911         * paragraph.[Ch]:
4912         * text2.C:
4913         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4914         inset and code to make it  work with the paragraph code. The inset
4915         can be anywhere in the paragraph, but will only do the expected
4916         thing in LaTeX if the layout file contains the parameter line
4917                         OptionalArgs    1
4918         (or more generally, a nonzero value) for that layout.
4919
4920 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * paragraph.h: remove the declaration of undefined counters class
4923         function.
4924
4925 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4926
4927         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4928         Dr. Richard Hawkins.
4929
4930 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4931
4932         * paragraph_funcs.h: remove some unneeded includes
4933
4934         * text.C (backspace): pasteParagraph now in global scipe
4935
4936         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4937         (pasteSelection): ditto
4938
4939         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4940         * paragraph_funcs.C (pasteParagraph): ... here
4941
4942 2002-08-20  André Pönitz <poenitz@gmx.net>
4943
4944         * commandtags.h: new LFUNs for swapping/copying table row/colums
4945
4946         * LyXAction.C:
4947         * lyxfunc.C: support for new lfuns
4948
4949 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * tabular.C:
4952         * buffer.[Ch]: remove NO_COMPABILITY stuff
4953
4954 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * boost.C (throw_exception): new file, with helper function for
4957         boost compiled without exceptions.
4958
4959         * paragraph.h:
4960         * lyxlength.C:
4961         * buffer.C:
4962         * ParameterStruct.h:
4963         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4964
4965         * bufferlist.C (emergencyWriteAll): use boost bind
4966
4967         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4968
4969         * text.C: include paragraph_funcs.h
4970         (breakParagraph): breakParagraph is now in global scope
4971
4972         * paragraph_funcs.[Ch]: new files
4973
4974         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4975         global scope
4976
4977         * buffer.C: include paragraph_funcs.h
4978         (insertStringAsLines): breakParagraph is now in global scope
4979
4980         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4981         paragraph_funcs.C
4982
4983         * CutAndPaste.C: include paragraph_funcs.h
4984         (cutSelection): breakParagraphConservative is now in global scope
4985         (pasteSelection): ditto
4986
4987         * buffer.h: declare oprator== and operator!= for
4988         Buffer::inset_iterator
4989
4990         * bufferlist.C (emergencyWrite): don't use fmt(...)
4991
4992         * text3.C: add using std::endl
4993
4994         * BufferView.C (moveCursorUpdate): remove default arg
4995
4996 2002-08-20  André Pönitz <poenitz@gmx.net>
4997
4998         * buffer.[Ch]: move inline functions to .C
4999
5000         * BufferView2.C:
5001         * BufferView_pimpl.C:
5002         * text.C:
5003         * buffer.[Ch]: use improved inset_iterator
5004
5005         * buffer.C:
5006         * paragraph.[Ch]: write one paragraph at a time
5007
5008 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5009
5010         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5011         style if style is not specified.
5012
5013 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5014
5015         * text2.C (setCounter): when searching for right label for a
5016         caption, make sure to recurse to parent insets (so that a caption
5017         in a minipage in a figure float works) (bug #568)
5018
5019 2002-08-20  André Pönitz <poenitz@gmx.net>
5020
5021         * text3.C: new file for LyXText::dispatch() and helpers
5022
5023         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5024
5025         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5026
5027 2002-08-19  André Pönitz <poenitz@gmx.net>
5028
5029         * lyxtext.h:
5030         * text.C: new LyXText::dispatch()
5031
5032         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5033
5034 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5035
5036         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5037
5038         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5039         Hebrew text.
5040
5041 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5042
5043         * Makefile.am: use $(variables) instead of @substitutions@
5044
5045 2002-08-15  André Pönitz <poenitz@gmx.net>
5046
5047         * lyxfunc.C:
5048         * BufferView_pimpl.C: streamlining mathed <-> outer world
5049         interaction
5050
5051         * commandtags.h:
5052         * LyXAction.C: remove unused LFUN_MATH
5053
5054 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5057
5058 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * paragraph.C (Paragraph): reformat a bit
5061         (cutIntoMinibuffer): use builtin InsetList function instad of
5062         doing it manually.
5063         (getInset): ditto
5064
5065         * buffer.C: include boost/bind.hpp, add using std::for_each
5066         (writeFileAscii): use ParagraphList iterators
5067         (validate): use for_each for validate traversal of paragraphs
5068         (getBibkeyList): use ParagraphList iterators
5069         (resizeInsets): use for_each to resizeInsetsLyXText for all
5070         paragraphs.
5071         (getParFromID): use ParagraphList iterators
5072
5073         * BufferView2.C (lockInset): use paragraph list and iterators
5074
5075 2002-08-14  John Levon  <levon@movementarian.org>
5076
5077         * lyxserver.C: remove spurious xforms include
5078
5079 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5080
5081         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5082
5083 2002-08-13  André Pönitz <poenitz@gmx.net>
5084
5085         * LyXAction.[Ch]:
5086         * lyxfunc.C: further cleaning
5087
5088 2002-08-13  André Pönitz <poenitz@gmx.net>
5089
5090         * funcrequest.h: new constructor
5091
5092         * funcrequest.C: move stuff here from .h
5093
5094         * Makefile.am:
5095         * BufferView_pimpl.C:
5096         * LyXAction.C:
5097         * toc.C:
5098         * lyxfunc.C: subsequent changes
5099
5100         * lyxfunc.h: new view() member function
5101
5102         * lyxfunc.C: subsequent changes
5103
5104 2002-08-13  Angus Leeming  <leeming@lyx.org>
5105
5106         * BufferView2.C:
5107         * BufferView_pimpl.C:
5108         * buffer.C:
5109         * converter.C:
5110         * importer.C:
5111         * lyxfunc.C:
5112         * lyxvc.C:
5113         * toc.C:
5114         * vc-backend.C:
5115         changes due to the changed LyXView interface that now returns references
5116         to member variables not pointers.
5117
5118 2002-08-13  Angus Leeming  <leeming@lyx.org>
5119
5120         * WordLangTuple (word, lang_code): return references to strings,
5121         not strings.
5122
5123         * BufferView.h:
5124         * SpellBase.h:
5125         * lyxtext.h: forward-declare WordLangTuple.
5126
5127         * BufferView2.C:
5128         * ispell.C:
5129         * pspell.C:
5130         * text.C: #include "WordLangTuple.h".
5131
5132         * lyxtext.h:
5133         * text.C: (selectNextWordToSpellcheck): constify return type.
5134
5135 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5136
5137         * buffer.C:
5138         * buffer.h:
5139         * lyxtext.h:
5140         * paragraph.C:
5141         * paragraph_pimpl.h:
5142         * text.C:
5143         * text2.C:
5144         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5145         suggested by Angus.
5146         Made updateCounter always count from start of buffer, and removed
5147         second argument (par).
5148         Reverted floats number display to '#'. Perhaps I'll try again when the
5149         code base is sanitized a bit.
5150
5151 2002-08-12  Angus Leeming  <leeming@lyx.org>
5152
5153         * buffer.[Ch] (getLabelList): constify.
5154
5155 2002-08-07  André Pönitz <poenitz@gmx.net>
5156
5157         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5158
5159         * funcrequest.h: extension to keep mouse (x,y) position
5160
5161 2002-08-12  Juergen Vigna  <jug@sad.it>
5162
5163         * BufferView2.C (insertErrors): forbid undo when inserting error
5164         insets.
5165
5166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5167
5168 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * ParagraphList.[Ch]: new files
5171
5172         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5173
5174         * BufferView2.C (lockInset): ParagraphList changes
5175         * toc.C: ditto
5176         * text2.C: ditto
5177         * bufferlist.C: ditto
5178         * buffer.h: ditto
5179         * buffer.C: ditto
5180
5181 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5184         unused class variable counter_,
5185
5186         * paragraph.[Ch] (getFirstCounter): delete unused function
5187
5188         * counters.C: include LAssert.h
5189         (reset): add a new function with no arg, change other version to
5190         not have def. arg and to not allow empty arg.
5191
5192         * text2.C (setCounter): remove empty arg from call to Counters::reset
5193
5194 2002-08-11  John Levon  <levon@movementarian.org>
5195
5196         * Makefile.am: add WordLangTuple.h
5197
5198 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5201         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5202
5203         * insets/insettext.C: InsetList changes
5204
5205         * graphics/GraphicsSupport.C (operator()): InsetList changes
5206
5207         * toc.C (getTocList): InsetList changes
5208
5209         * paragraph_pimpl.[Ch]: InsetList changes
5210
5211         * paragraph.[Ch]: InsetList changes
5212
5213         * buffer.C (inset_iterator): InsetList changes
5214         (setParagraph): ditto
5215         * buffer.h (inset_iterator): ditto
5216         * iterators.C (operator++): ditto
5217         * iterators.h: ditto
5218
5219         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5220
5221         * InsetList.[Ch]: new files, most InsetList handling moved out of
5222         paragraph.C.
5223
5224         * BufferView2.C (removeAutoInsets): InsetList changes
5225         (lockInset): ditto
5226         (ChangeInsets): ditto
5227
5228 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * paragraph_pimpl.h (empty): new function
5231
5232         * paragraph.[Ch] (empty): new function
5233
5234         * other files: use the new Paragraph::empty function
5235
5236 2002-08-09  John Levon  <levon@movementarian.org>
5237
5238         * lyxtext.h: remove unused refresh_height
5239
5240 2002-08-09  John Levon  <levon@movementarian.org>
5241
5242         * Makefile.am:
5243         * sgml.h:
5244         * sgml.C:
5245         * buffer.C:
5246         * paragraph.h:
5247         * paragraph.C: move sgml char escaping out of paragraph
5248
5249         * paragraph.h:
5250         * paragraph.C: remove id setter
5251
5252         * buffer.C:
5253         * paragraph.C:
5254         * paragraph_pimpl.C: remove dead tex_code_break_column
5255
5256         * bufferview_funcs.C: small cleanup
5257
5258         * lyxfunc.C: remove dead proto
5259
5260         * lyxtext.h: make some stuff private. Remove some dead stuff.
5261
5262         * lyxgluelength.C: make as[LyX]String() readable
5263
5264 2002-08-08  John Levon  <levon@movementarian.org>
5265
5266         * LyXAction.h:
5267         * LyXAction.C:
5268         * MenuBackend.C:
5269         * ToolbarDefaults.C:
5270         * lyxfunc.C:
5271         * lyxrc.C:
5272         * toc.C: lyxaction cleanup
5273
5274 2002-08-08  John Levon  <levon@movementarian.org>
5275
5276         * BufferView2.C: small cleanup
5277
5278         * lyxfind.h:
5279         * lyxfind.C: move unnecessary header into the .C
5280
5281 2002-08-08  John Levon  <levon@movementarian.org>
5282
5283         * funcrequest.h: just tedious nonsense
5284
5285         * lyx_main.h:
5286         * lyx_main.C: cleanups
5287
5288         * buffer.C:
5289         * vspace.C: remove dead header lyx_main.h
5290
5291 2002-08-07  Angus Leeming  <leeming@lyx.org>
5292
5293         * Paragraph.[Ch]:
5294         * paragraph_pimpl.h:
5295         Forward declare class Counters in paragraph.h by moving the ctrs member
5296         variable into Paragraph::Pimpl.
5297         (counters): new method, returning a reference to pimpl_->ctrs.
5298
5299         * text2.C: ensuing changes.
5300
5301 2002-08-07  John Levon  <levon@movementarian.org>
5302
5303         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5304
5305         * BufferView_pimpl.C: announce X selection on double/triple
5306           click
5307
5308         * lyx_main.C: use correct bool in batch dispatch
5309
5310         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5311
5312 2002-08-07  André Pönitz <poenitz@gmx.net>
5313
5314         * funcrequest.h: new class to wrap a kb_action and its argument
5315
5316         * BufferView.[Ch]:
5317         * BufferView_pimpl[Ch]:
5318         * LaTeX.C:
5319         * LyXAction.[Ch]:
5320         * lyxfunc.[Ch]:
5321         * lyxrc.C: subsequent changes
5322
5323
5324 2002-08-07  John Levon  <levon@movementarian.org>
5325
5326         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5327           document options change.
5328
5329 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5330
5331         * counters.[Ch]
5332         * text2.C
5333         * paragraph.[Ch]
5334         * makefile.am: move counters functionality over from
5335         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5336
5337 2002-08-06  John Levon  <levon@movementarian.org>
5338
5339         * WordLangTuple.h: new file for word + language code tuple
5340
5341         * SpellBase.h:
5342         * pspell.h:
5343         * pspell.C:
5344         * ispell.h:
5345         * ispell.C:
5346         * lyxtext.h:
5347         * text.C:
5348         * text2.C:
5349         * BufferView.h:
5350         * BufferView2.C: use WordLangTuple
5351
5352         * layout.h:
5353         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5354
5355 2002-08-06  John Levon  <levon@movementarian.org>
5356
5357         * lyx_main.C: fix cmdline batch handling
5358
5359 2002-08-06  André Pönitz <poenitz@gmx.net>
5360
5361         * lyxrc.C: set default for show_banner to true
5362
5363 2002-08-06  John Levon  <levon@movementarian.org>
5364
5365         * pspell.C: fix a crash, and allow new aspell to work
5366
5367 2002-08-06  John Levon  <levon@movementarian.org>
5368
5369         * lyxfunc.C:
5370         * kbmap.C: small cleanup
5371
5372         * vspace.h:
5373         * vspace.C: add const
5374
5375 2002-08-05  John Levon  <levon@movementarian.org>
5376
5377         * LyXAction.C: back to tabular-insert
5378
5379 2002-08-04  John Levon  <levon@movementarian.org>
5380
5381         * BufferView.h:
5382         * BufferView.C: cosmetic change
5383
5384         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5385
5386         * bufferlist.C:
5387         * buffer.h:
5388         * buffer.C:
5389         * lyxcb.h:
5390         * lyxcb.C:
5391         * lyxserver.C:
5392         * lyxvc.C:
5393         * vc-backend.C:
5394         * BufferView2.C: purge all "Lyx" not "LyX" strings
5395
5396         * lyxcursor.h:
5397         * lyxcursor.C: attempt to add some documentation
5398
5399         * lyxfunc.C:
5400         * commandtags.h:
5401         * LyXAction.C:
5402         * ToolbarDefaults.C:
5403         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5404           merge with LFUN_TABULAR_INSERT
5405
5406         * Makefile.am:
5407         * SpellBase.h:
5408         * ispell.h:
5409         * ispell.C:
5410         * pspell.h:
5411         * pspell.C: split up i/pspell implementations into separate
5412           files, many cleanups
5413
5414         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5415
5416         * text2.C: some cleanup
5417
5418         * lyxfunc.C: don't check for isp_command == "none" any more, it
5419           didn't make any sense
5420
5421 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5422
5423         * counters.[Ch]
5424         * text2.C
5425         * paragraph.[Ch]
5426         * makefile.am: move counters functionality over
5427         from text2.C/paragraph.[Ch] to counters.[Ch], and
5428         make proper C++.
5429 2002-08-02  John Levon  <levon@movementarian.org>
5430
5431         * buffer.C: s/lyxconvert/lyx2lyx/
5432
5433 2002-08-02  Angus Leeming  <leeming@lyx.org>
5434
5435         * lyxlex.C: revert John's change as it breaks reading of the user
5436         preamble.
5437
5438 2002-08-02  Angus Leeming  <leeming@lyx.org>
5439
5440         * importer.C (Import):
5441         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5442         changes due to LyXView::view() now returning a boost::shared_ptr.
5443
5444 2002-08-02  John Levon  <levon@movementarian.org>
5445
5446         * lyxlex.C: small cleanup
5447
5448 2002-08-02  John Levon  <levon@movementarian.org>
5449
5450         * text2.C (status): small cleanup, no logic change
5451
5452 2002-08-01  John Levon  <levon@movementarian.org>
5453
5454         * buffer.h:
5455         * buffer.C (writeFile): don't output alerts, caller
5456           handles this
5457
5458         * bufferlist.C:
5459         * lyx_cb.C: from above
5460
5461         * lyxfunc.C: allow to open non-existent files
5462
5463 2002-07-31  John Levon  <levon@movementarian.org>
5464
5465         * lyxserver.C: don't let incidental errors get
5466           in the way (errno)
5467
5468 2002-07-30  John Levon  <levon@movementarian.org>
5469
5470         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5471
5472 2002-07-30  John Levon  <levon@movementarian.org>
5473
5474         * lyxserver.h:
5475         * lyxserver.C: remove I/O callback too
5476
5477 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5478
5479         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5480         log.
5481
5482 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * many files: strip,frontStrip -> trim,ltrim,rtrim
5485
5486 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * PrinterParams.h: remove extern containsOnly, and include
5489         support/lstrings.h instead.
5490
5491         * LaTeX.C (scanAuxFile): modify because of strip changes
5492         (deplog): ditto
5493         * buffer.C (makeLaTeXFile): ditto
5494         * bufferparams.C (writeFile): ditt
5495         * lyxfont.C (stateText): ditto
5496         * lyxserver.C (read_ready): ditto
5497         * vc-backend.C (scanMaster): ditto
5498
5499         * BufferView_pimpl.h: ws changes
5500
5501         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5502
5503 2002-07-26  André Pönitz <poenitz@gmx.net>
5504
5505         * kb_sequence.C: remove unnedred usings
5506
5507 2002-07-26  Juergen Vigna  <jug@sad.it>
5508
5509         * lyxfind.C (LyXReplace): we have to check better if the returned
5510         text is not of theLockingInset()->getLockingInset().
5511
5512 2002-07-25  Juergen Vigna  <jug@sad.it>
5513
5514         * lyxfind.C (LyXReplace): don't replace if we don't get the
5515         right LyXText.
5516
5517         * undo_funcs.C (createUndo): remove debugging code.
5518
5519 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5520
5521         * buffer.C (parseSingleLyXformat2Token): Use default placement
5522         when reading old floats.
5523
5524         * FloatList.C (FloatList): Change the default placement of figure
5525         and tables to "tbp".
5526
5527 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5528
5529         * MenuBackend.C: using std::max
5530
5531 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5532
5533         * MenuBackend.C (expandToc):
5534         (expandToc2): code moved from xforms menu frontend. It is now
5535         generic and TOCs are transparent to menu frontends.
5536
5537 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5538
5539         * toc.C (getTocList): protect against buf=0
5540
5541         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5542         Menu as first parameter. Now, this calls itself recursively to
5543         expand a whole tree (this will be useful for TOC handling)
5544         (expandFloatInsert): remove 'wide' version of floats
5545
5546         * MenuBackend.h (submenuname): returns the name of the submenu.
5547         (submenu): returns the submenu itself, provided it has been
5548         created by MenuBackend::expand
5549
5550 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5551
5552         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5553         insets which have noFontChange == true. (bug #172)
5554
5555 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5556
5557         * BufferView_pimpl.C: add connection objects and use them...
5558         (Pimpl): here.
5559
5560 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5561
5562         * MenuBackend.C (expandLastfiles):
5563         (expandDocuments):
5564         (expandFormats):
5565         (expandFloatListInsert):
5566         (expandFloatInsert):
5567         (expand): split expand in parts
5568
5569 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5570
5571         * lyx_gui.C: use lyx_gui::exit()
5572
5573 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5574
5575         * LyXAction.C: show the failing pseudo action
5576
5577 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5578
5579         * buffer.C (readFile): Run the lyxconvert script in order to read
5580         old files.
5581
5582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5583
5584         * LyXAction.C:
5585         * commandtags.h:
5586         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5587
5588 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5589
5590         * LyXAction.C:
5591         * commandtags.h:
5592         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5593
5594 2002-07-22  Herbert Voss  <voss@lyx.org>
5595
5596         * lengthcommon.C:
5597         * lyxlength.[Ch]: add support for the vertical lengths
5598
5599 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5600
5601         * toc.[Ch]: std:: fixes
5602
5603 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5604
5605         * lyxrc.C: do not include lyx_main.h
5606
5607         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5608         for layouts
5609
5610         * lyxrc.C:
5611         * encoding.C:
5612         * bufferlist.C:
5613         * BufferView2.C: include "lyxlex.h"
5614
5615         * tabular.h:
5616         * bufferparams.h: do not #include "lyxlex.h"
5617
5618         * lyxtextclasslist.C (Add): remove method
5619         (classlist): renamed to classlist_
5620
5621         * paragraph_pimpl.C:
5622         * paragraph.C:
5623         * text2.C:
5624         * CutAndPaste.C:
5625         * bufferview_funcs.C:
5626         * bufferlist.C:
5627         * text.C:
5628         * LaTeXFeatures.C:
5629         * buffer.C:
5630         * toc.C (getTocList): use BufferParams::getLyXTextClass
5631
5632         * toc.C (getTocList): use InsetFloat::addToToc
5633
5634         * toc.[Ch]: new files, containing helper functions to handle table
5635         of contents
5636
5637         * lyxfunc.C (dispatch): no need to remove spaces around command
5638         given as a string
5639         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5640         first command of the sequence; it is not very clever, but I do not
5641         have a better idea, actually
5642
5643         * LyXAction.C (LookupFunc): make sure to remove space at the
5644         beginning and end of the command
5645
5646 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5647
5648         * MenuBackend.C (getMenubar): new method: return the menubar of
5649         this menu set
5650         (read): treat differently reading of menu and menubar (in
5651         particular, the menubar has no name now)
5652         (Menu::menubar): remove
5653
5654         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5655         saving is finished
5656
5657 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5658
5659         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5660         a bibitem inset in a RTL paragraph.
5661
5662 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5663
5664         * paragraph_pimpl.C: constify
5665
5666         * BufferView_pimpl.C:
5667         * LaTeX.C:
5668         * lyxfunc.C: fix dispatch in a nicer way
5669
5670 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5671
5672         * lyxfunc.C (dispatch):
5673         * BufferView_pimpl.C:
5674         * BufferView_pimpl.h:
5675         * BufferView.C:
5676         * BufferView.h: rename Dispatch() to dispatch()
5677
5678         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5679
5680         * lyxlayout.C (Read): honor DependsOn tag
5681
5682         * lyxlayout.[Ch] (depends_on): new method
5683
5684         * version.C.in: update lyx_docversion
5685
5686         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5687
5688         * paragraph.C (validate): remove from here...
5689         * paragraph_pimpl.C (validate): ... and move here
5690         (isTextAt): make it const
5691
5692         * buffer.C (getLists): ws cleanup
5693
5694 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5695
5696         * language.C (read): Use iso8859-1 encoding in latex_lang
5697         (this prevents LyX from crashing when using iso10646-1 encoding).
5698
5699 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5700
5701         * text2.C (toggleInset): if cursor is inside an inset, close the
5702         inset and leave cursor _after_ it
5703
5704 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5705
5706         * lyxfunc.C: move minibuffer completion handling out of here
5707
5708 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5709
5710         * BufferView_pimpl.C:
5711         * LaTeX.C: fix dispatch calls
5712
5713 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5714
5715         * text.C (drawChars): Fix Arabic text rendering.
5716
5717 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5718
5719         * LyXAction.C:
5720         * commandtags.h:
5721         * lyxfunc.C: remove message-push/pop
5722
5723         * lyxserver.C:
5724         * lyxfunc.h:
5725         * lyxfunc.C: rationalise some code by removing verboseDispatch
5726           in favour of a bool argument to dispatch()
5727
5728 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5729
5730         * lyx_main.C (init): make sure to read symlinks as absolute paths
5731
5732 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5733
5734         * lyxfunc.h:
5735         * lyxfunc.C: no need for commandshortcut to be a member
5736
5737 2002-07-15  André Pönitz <poenitz@gmx.net>
5738
5739         * converter.C: add support for $$s (scripts from lib/scripts dir)
5740         * lyx_main.C: white space
5741
5742 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5743
5744         * bufferlist.C:
5745         * lyxrc.h:
5746         * lyxrc.C: remove second exit confirmation
5747
5748 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5749
5750         * BufferView.h:
5751         * BufferView.C:
5752         * BufferView2.C:
5753         * BufferView_pimpl.h:
5754         * BufferView_pimpl.C:
5755         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5756
5757 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5758
5759         * MenuBackend.C (expand): add numeric shortcuts to document menu
5760
5761         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5762
5763 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5764
5765         * lyxfont.C (setLyXFamily):
5766         (setLyXSeries):
5767         (setLyXShape):
5768         (setLyXSize):
5769         (setLyXMisc):
5770         (lyxRead):
5771         * debug.C (value):
5772         * buffer.C (asciiParagraph): use ascii_lowercase
5773
5774 2002-07-15  Mike Fabian  <mfabian@suse.de>
5775
5776         * lyxlex_pimpl.C (search_kw):
5777         * lyxlex.C (getLongString):
5778         * converter.h (operator<):
5779         * converter.C (operator<):
5780         * buffer.C (parseSingleLyXformat2Token):
5781         (asciiParagraph):
5782         * ToolbarDefaults.C (read):
5783         * MenuBackend.C (checkShortcuts):
5784         (read):
5785         * LColor.C (getFromGUIName):
5786         (getFromLyXName): use the compare_ascii_no_case instead of
5787         compare_no_case, because in turkish, 'i' is not the lowercase
5788         version of 'I', and thus turkish locale breaks parsing of tags.
5789
5790 2002-07-16  Angus Leeming  <leeming@lyx.org>
5791
5792         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5793         now takes a Buffer const & argument.
5794
5795 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5796
5797         * BufferView.C (resize): check there's a buffer to resize
5798
5799 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5800
5801         * lyxfunc.C: remove dead code
5802
5803         * lyxserver.h:
5804         * lyxserver.C: use lyx_guii::set_read_callback
5805
5806 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5807
5808         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5809         an inset in a RTL paragraph.
5810
5811 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5812
5813         * lyxfunc.C: repaint after a font size update
5814
5815 2002-07-15  André Pönitz <poenitz@gmx.net>
5816
5817         * lyxlength.C: inBP should be able to return negative values
5818
5819 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5820
5821         * lyxfunc.C: use lyx_gui::update_fonts()
5822
5823 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5824
5825         * lyxfunc.C: use lyx_gui::update_color()
5826
5827 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5828
5829         * bufferlist.C:
5830         * lyxfunc.h:
5831         * lyxfunc.C:
5832         * lyxrc.h:
5833         * lyxrc.C: remove file->new asks for name option, and let
5834           buffer-new take an argument
5835
5836 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5837
5838         * BufferView_pimpl.C: remove unneeded extra repaint()
5839
5840 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5841
5842         * LyXAction.C: allow command-sequence with NoBuffer
5843
5844         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5845
5846 2002-07-10  Angus Leeming  <leeming@lyx.org>
5847
5848         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5849
5850 2002-07-09  Angus Leeming  <leeming@lyx.org>
5851
5852         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5853
5854 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5855
5856         * lengthcommon.h: whitespace
5857
5858         * lyxfunc.C: update scrollbar after goto paragraph
5859
5860         * lyxtext.h: factor out page break drawing, and fix it so
5861           page break/added space paints as selected nicely
5862
5863 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5864
5865         * BufferView_pimpl.C: add FIXMEs, clean up a little
5866
5867 2002-07-09  André Pönitz <poenitz@gmx.net>
5868
5869         * lyxfont.[Ch]: support for wasy symbols
5870
5871 2002-07-08  André Pönitz <poenitz@gmx.net>
5872
5873         * BufferView_pimpl.C: apply John's patch for #93.
5874
5875 2002-07-05  Angus Leeming  <leeming@lyx.org>
5876
5877         * BufferView_pimpl.C (buffer): generate previews if desired.
5878
5879         * LColor.h: add "preview" to the color enum.
5880
5881         * LColor.C (LColor): add a corresponding entry to the items array.
5882
5883         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5884         with this buffer.
5885
5886 2002-07-05  Angus Leeming  <leeming@lyx.org>
5887
5888         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5889         The body of the code is now in the method that is passed an ostream &
5890         rather than a file name.
5891         Pass an additional only_preamble parameter, useful for the forthcoming
5892         preview stuff.
5893
5894 2002-07-03  André Pönitz <poenitz@gmx.net>
5895
5896         * lyxfunc.C: simplify getStatus() a bit for math stuff
5897
5898 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5899
5900         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5901
5902 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5903
5904         * text.C (changeRegionCase): do not change case of all the
5905         document when region ends at paragraph end (bug #461)
5906
5907 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5908
5909         * paragraph.C (startTeXParParams):
5910         (endTeXParParams): add \protect when necessary
5911
5912 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5913
5914         * BufferView_pimpl.C (workAreaExpose): remove warning
5915
5916 2002-06-27  Angus Leeming  <leeming@lyx.org>
5917
5918         * Makefile.am: add lyxlayout_ptr_fwd.h.
5919
5920 2002-06-26  André Pönitz <poenitz@gmx.net>
5921
5922         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5923
5924 2002-06-25  Angus Leeming  <leeming@lyx.org>
5925
5926         * lyxfunc.C (dispatch): Comment out the call to
5927         grfx::GCache::changeDisplay. The method no longer exists now that the
5928         pixmap generation part of the graphics loader has been moved into
5929         InsetGraphics.
5930
5931 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5932
5933         * text2.C: layout as layout
5934
5935         * text.C: layout as layout
5936
5937         * tabular.C (OldFormatRead): layout as layout
5938
5939         * paragraph_pimpl.C (TeXDeeper): layout as layout
5940         (realizeFont): layout as layout
5941
5942         * paragraph.C (writeFile): layout as layout
5943         (validate): layout as layout
5944         (getFont): layout as layout
5945         (getLabelFont): layout as layout
5946         (getLayoutFont): layout as layout
5947         (breakParagraph): layout as layout
5948         (stripLeadingSpaces): layout as layout
5949         (getEndLabel): layout as layout
5950         (getMaxDepthAfter): layout as layout
5951         (applyLayout): layout as layout
5952         (TeXOnePar): layout as layout
5953         (simpleTeXOnePar): layout as layout
5954         (TeXEnvironment): layout as layout
5955         (layout): layout as layout
5956         (layout): layout as layout
5957
5958         * lyxtextclass.C (compare_name): new functor to work with
5959         shared_ptr, layout as layout
5960         (Read): layout as layout
5961         (hasLayout): layout as layout
5962         (operator): layout as layout
5963         (delete_layout): layout as layout
5964         (defaultLayout): layout as layout
5965
5966         * lyxlayout_ptr_fwd.h: new file
5967
5968         * lyxlayout.C (Read): layout as layout
5969
5970         * lyx_cb.C (MenuInsertLabel): layout as layout
5971
5972         * bufferlist.C (newFile): layout as layout
5973
5974         * buffer.C (readLyXformat2): layout as layout
5975         (parseSingleLyXformat2Token): layout as layout
5976         (insertStringAsLines): layout as layout
5977         (asciiParagraph): layout as layout
5978         (latexParagraphs): layout as layout
5979         (makeLinuxDocFile): layout as layout
5980         (simpleLinuxDocOnePar): layout as layout
5981         (makeDocBookFile): layout as layout
5982         (simpleDocBookOnePar): layout as layout
5983         (getLists): layout as layout
5984
5985         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5986
5987         * CutAndPaste.C (cutSelection): layout as layout
5988         (pasteSelection): layout as layout
5989         (SwitchLayoutsBetweenClasses): layout as layout
5990
5991         * BufferView_pimpl.C (Dispatch): layout as layout
5992         (smartQuote): layout as layout
5993
5994         * BufferView2.C (unlockInset): layout as layout
5995
5996 2002-06-24  André Pönitz <poenitz@gmx.net>
5997
5998         * lyxfunc.C: fix #487
5999
6000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6001
6002         * lyxrc.h:
6003         * lyxrc.C:
6004         * lyxfunc.C: remove display_shortcuts, show_banner
6005
6006 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6007
6008         * Buffer_pimpl.C: oops, update on resize
6009
6010 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6011
6012         * buffer.C:
6013         * converter.C:
6014         * exporter.C:
6015         * lyxfunc.C:
6016         * BufferView.h:
6017         * BufferView.C: use repaint()
6018
6019         * BufferView_pimpl.h:
6020         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6021           as it's a clearer description. Remove superfluous
6022           redraws.
6023
6024 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6025
6026         * text.C: fix bug 488. Not ideal, but getting
6027           getWord() to work properly for the insets that
6028           matter is more difficult ...
6029
6030 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6031
6032         * BufferView_pimpl.C:
6033         * LyXAction.C:
6034         * commandtags.h:
6035         * lyxfunc.C: remove the six million index lyxfuncs to just
6036           one, and DTRT (bug 458)
6037
6038 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6039
6040         * BufferView.h:
6041         * BufferView.C:
6042         * BufferView_pimpl.h:
6043         * BufferView_pimpl.C: clean up resize() stuff,
6044           and unnecessary updateScreen()s
6045
6046 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6047
6048         * BufferView.h:
6049         * BufferView.C:
6050         * BufferView_pimpl.h:
6051         * BufferView_pimpl.C:
6052         * lyxfind.h:
6053         * lyxfind.C:
6054         * minibuffer.C: remove focus management of workarea,
6055           not needed. Use screen's greyOut()
6056
6057 2002-06-17  Herbert Voss  <voss@lyx.org>
6058
6059         * converter.C: (convert) do not post a message, when converting
6060         fails, let the calling function decide what to do in this case
6061
6062 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6063
6064         * lyxfunc.C: tidy up a little
6065
6066 2002-06-16    <alstrup@diku.dk>
6067
6068         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6069         Got rid of FORMS_H_LOCATION include. Now we are
6070         GUII.
6071
6072 2002-06-15  LyX Development team  <lyx@rilke>
6073
6074         * buffer.[Ch] (sgmlOpenTag):
6075         (sgmlCloseTag): Added support for avoiding pernicious mixed
6076         content. Return number of lines written.
6077
6078         (makeLinuxDocFile):
6079         (makeDocBookFile): Fixed calls to sgml*Tag.
6080         Simple white space clean.
6081
6082         (simpleDocBookOnePar): Simple white space clean.
6083
6084         * tabular.[Ch] (docBook): Renamed to docbook and got another
6085         argument to related with the pernicious mixed content.
6086
6087         (docbookRow): Fixed calls for docbook inset method.
6088
6089 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6090
6091         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6092         so it's X11 independent.
6093
6094         * kb*.[Ch]: ditto.
6095
6096         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6097
6098 2002-06-15  Lyx Development team  <lyx@electronia>
6099
6100         * intl.h: Renamed getTrans to getTransManager.
6101
6102 2002-06-14  Angus Leeming  <leeming@lyx.org>
6103
6104         * Makefile.am: nuke forgotten stl_string_fwd.h.
6105
6106 2002-06-12  Angus Leeming  <leeming@lyx.org>
6107
6108         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6109
6110 2002-06-13  Angus Leeming  <leeming@lyx.org>
6111
6112         * LaTeX.C:
6113         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6114
6115 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6116
6117         * kbmap.C (getiso): add support for cyrillic and greek
6118
6119 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6120
6121         * BufferView.h:
6122         * BufferView.C:
6123         * BufferView_pimpl.h:
6124         * BufferView_pimpl.C: move bogus scrolling logic
6125           to xforms
6126
6127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6128
6129         * lyxfunc.C:
6130         * BufferView_pimpl.C: view->resize() change
6131
6132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6133
6134         * BufferView_pimpl.C: topCursorVisible
6135           prototype change
6136
6137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6138
6139         * Makefile.am:
6140         * lyx_gui.h:
6141         * lyx_gui.C: move to frontends/
6142
6143         * main.C:
6144         * lyx_main.h:
6145         * lyx_main.C: changes from above
6146
6147 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6148
6149         * intl.C:
6150         * intl.h:
6151         * kbmap.C:
6152         * kbsequence.C:
6153         * lyx_cb.C:
6154         * lyx_main.C: minor tidy
6155
6156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6157
6158         * BufferView_pimpl.h:
6159         * BufferView_pimpl.C:
6160         * BufferView.h:
6161         * BufferView.C: make painter() const,
6162           remove dead code
6163
6164         * BufferView2.C: use screen() accessor
6165
6166         * lyx_main.h:
6167         * lyx_main.C: some minor cleanup
6168
6169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6170
6171         * BufferView_pimpl.h:
6172         * BufferView_pimpl.C: remove enter/leaveView,
6173           use workHeight()
6174
6175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6176
6177         * BufferView.h:
6178         * BufferView.C:
6179         * BufferView2.C:
6180         * BufferView_pimpl.h:
6181         * BufferView_pimpl.C: only construct screen once,
6182           rename
6183
6184         * lyxrc.C: remove pointless comment
6185
6186 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6187
6188         * BufferView.h:
6189         * BufferView.C: remove active() and belowMouse()
6190
6191         * BufferView_pimpl.h:
6192         * BufferView_pimpl.C: use workarea() not workarea_,
6193           and make it use a scoped_ptr instead
6194
6195 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6196
6197         * lyx_gui.C: add debug message on BadWindow
6198
6199 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6200
6201         * sp_spell.C: fdopen is not part of the C++ standard.
6202
6203         * paragraph.C (InsetIterator): use >= instead of ==
6204
6205 2002-06-07  Angus Leeming  <leeming@lyx.org>
6206
6207         Fixes needed to compile with Compaq cxx 6.5.
6208         * BufferView_pimpl.C:
6209         * DepTable.C:
6210         * buffer.C:
6211         * converter.C:
6212         * encoding.C:
6213         * lyx_gui.C:
6214         * lyx_main.C:
6215         * lyxtextclasslist.C:
6216         * minibuffer.C:
6217         * sp_spell.C:
6218         * tabular_funcs.C:
6219         * vc-backend.C:
6220         all c-library variables have been moved into namespace std. Wrap
6221         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6222
6223         * lyxlength.C:
6224         * tabular-old.C:
6225         * tabular.C:
6226         Add a using std::abs declaration.
6227
6228         * kbmap.h (modifier_pair):
6229         * paragraph.h (InsetTable, InsetList):
6230         * lyxfont.h (FontBits):
6231         type definition made public.
6232
6233         * bufferlist.C (emergencyWriteAll): the compiler complains that
6234         there is more than one possible lyx::class_fun template to choose from.
6235         I re-named the void specialisation as lyx::void_class_fun.
6236
6237         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6238
6239         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6240         the compiler is is unable to find tostr in write_attribute.
6241
6242 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6243
6244         * buffer.C (sgmlError): hide #warning
6245
6246 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6247
6248         * xtl/*: get rid of xtl, which is not in use anyway
6249
6250         * LyXAction.C (init):
6251         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6252         were unimplemented xtl experimentation
6253
6254 2002-06-04  André Pönitz <poenitz@gmx.net>
6255
6256         * lyxfunc.C: disable array operation on simple formulae
6257
6258 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6259
6260         * converter.C: constify a bit
6261
6262 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6263
6264         * lyx_gui.C: check xforms version correctly
6265
6266 2002-04-30  Herbert Voss  <voss@lyx.org>
6267
6268         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6269         "keep" option
6270
6271 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6272
6273         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6274           attempt to register it with a VCS)
6275
6276 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6277
6278         * lyx_main.C (init): honor variables LYX_DIR_13x and
6279         LYX_USERDIR_13x
6280
6281 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6282
6283         * buffer.h:
6284         * buffer.C:
6285         * lyx_main.C: fix a crash on bad command line,
6286           and give a useful exit status on error
6287
6288         * lyxfunc.C (doImport): allow -i lyx to work
6289
6290 2002-03-30  André Pönitz <poenitz@gmx.net>
6291
6292         * lyxfunc.C: mathed font changes
6293
6294 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6295
6296         * LaTeX.C:
6297         * importer.h:
6298         * importer.C:
6299         * lyx_sty.h:
6300         * lyx_sty.C:
6301         * lyxlex.C:
6302         * lyxrow.h:
6303         * lyxtext.h:
6304         * paragraph.h:
6305         * paragraph.C:
6306         * texrow.h:
6307         * texrow.C:
6308         * text.C:
6309         * trans_mgr.h: srcdocs, and some minor cleanups
6310
6311 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6312
6313         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6314         call getFont all the time)
6315
6316 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6317
6318         * switch from SigC signals to boost::signals
6319
6320 2002-05-29  André Pönitz <poenitz@gmx.net>
6321
6322         * paragraph_pimpl.C (getChar): don't call size() too often...
6323
6324 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6325
6326         * paragraph_pimpl.C (insertChar): do not try to update tables when
6327         appending (pos == size())
6328
6329         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6330         in order to reduce drastically the number of comparisons needed to
6331         parse a large document
6332
6333 2002-05-29  André Pönitz <poenitz@gmx.net>
6334
6335         * text.C:
6336         * text2.C:
6337         * lyxtextclass.C:
6338         * sp_pspell.h:
6339         * textclasslist.[Ch]:
6340         * sp_ispell.h: whitespace change
6341
6342 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6343
6344         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6345         lyxaction directly now.
6346
6347 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6348
6349         * trans.C:
6350         * lyxfont.C:
6351         * lyxvc.C: remove unused headers
6352
6353 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6354
6355         * Makefile.am:
6356         * buffer.h:
6357         * undostack.h:
6358         * undostack.C:
6359         * undo_funcs.h:
6360         * undo_funcs.C: some cleanups. Use shared_ptr
6361           and a template for the undo stacks.
6362
6363 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6364
6365         * BufferView_pimpl.h:
6366         * BufferView_pimpl.C:
6367         * kbmap.h:
6368         * kbmap.C:
6369         * kbsequence.h:
6370         * kbsequence.C:
6371         * lyxfunc.h:
6372         * lyxfunc.C:
6373         * text2.C: use key_state/mouse_state
6374
6375 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6376
6377         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6378         and LSubstring
6379
6380         * chset.C: change include order
6381         (loadFile): use boost regex and get rid of LRegex and LSubstring
6382
6383         * Makefile.am (BOOST_LIBS): new variable
6384         (lyx_LDADD): use it
6385
6386         * LaTeX.C: change include order.
6387         (scanAuxFile): use boost regex and get rid of LRegex and
6388         LSubstring
6389         (deplog): ditto
6390
6391 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6392
6393         * ColorHandler.h:
6394         * ColorHandler.C:
6395         * FontInfo.h:
6396         * FontInfo.C: moved to frontends/xforms/
6397
6398         * FontLoader.h:
6399         * FontLoader.C: moved into frontends for GUIIzation
6400
6401         * Makefile.am:
6402         * lyx_gui.C:
6403         * lyxfont.C:
6404         * lyxfunc.C: changes from above
6405
6406 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6407
6408         * LColor.C: remove spurious X include
6409
6410         * BufferView_pimpl.C:
6411         * Makefile.am:
6412         * font.h:
6413         * font.C:
6414         * text.C:
6415         * text2.C: move font metrics to frontends/
6416
6417 2002-05-24  Juergen Vigna  <jug@sad.it>
6418
6419         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6420         setting the undo_cursor.
6421
6422         * ParagraphParameters.h: include local includes first.
6423
6424 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6425
6426         * BufferView_pimpl.C:
6427         * BufferView_pimpl.h:
6428         * Makefile.am:
6429         * WorkArea.h:
6430         * WorkArea.C:
6431         * screen.C: move WorkArea into frontends/
6432
6433         * lyxscreen.h:
6434         * screen.C:
6435         * text.C:
6436         * BufferView.C:
6437         * BufferView2.C: move LyXScreen into frontends/
6438
6439         * lyxlookup.h:
6440         * lyxlookup.C:
6441         * lyx_gui.C: move lyxlookup into frontends/xforms/
6442
6443 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6444
6445         * BufferView2.C:
6446         * BufferView_pimpl.C:
6447         * FontLoader.C:
6448         * LyXView.h:
6449         * LyXView.C:
6450         * Makefile.am:
6451         * WorkArea.C:
6452         * XFormsView.h:
6453         * XFormsView.C:
6454         * buffer.C:
6455         * bufferlist.C:
6456         * bufferview_funcs.C:
6457         * converter.C:
6458         * importer.C:
6459         * lyx_cb.C:
6460         * lyx_gui.C:
6461         * lyx_main.C:
6462         * lyx_find.C:
6463         * lyxfunc.C:
6464         * lyxvc.C:
6465         * minibuffer.C:
6466         * text.C:
6467         * text2.C:
6468         * trans.C:
6469         * vc-backend.C: move LyX/XFormsView into frontends/
6470
6471 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6472
6473         * Makefile.am:
6474         * PainterBase.C:
6475         * PainterBase.h:
6476         * Painter.C:
6477         * Painter.h:
6478         * WorkArea.C:
6479         * WorkArea.h:
6480         * screen.C:
6481         * tabular.C:
6482         * text.C:
6483         * text2.C: move Painter to frontends/
6484
6485 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6486
6487         * buffer.C: comment out some some code that depend upon lyx_format
6488         < 220
6489
6490         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6491         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6492
6493         * buffer.h (NO_COMPABILITY): turn off compability
6494
6495         * ColorHandler.C: include scoped_array.hpp
6496
6497         * font.C: Use more specific smart_ptr header.
6498         * Painter.C: ditto
6499         * gettext.C: ditto
6500         * ShareContainer.h: ditto
6501         * lyx_main.h: ditto
6502         * kbmap.h: ditto
6503         * FontInfo.h: ditto
6504         * BufferView_pimpl.h: ditto
6505         * ColorHandler.h: ditto
6506
6507         * kbmap.C (defkey): change call to shared_ptr::reset
6508
6509 2002-05-21  Juergen Vigna  <jug@sad.it>
6510
6511         * buffer.C (insertErtContents): fix to insert ert asis if it is
6512         non empty. Skip it completely if it contains only whitespaces.
6513
6514 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * BufferView_pimpl.C:
6517         * BufferView2.C: clear selection on paste (bug 393)
6518
6519 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6520
6521         * DepTable.C: include ctime
6522
6523 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6524
6525         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6526
6527 2002-05-14  Juergen Vigna  <jug@sad.it>
6528
6529         * text.C (breakParagraph): fixed function to honor the keepempty
6530         layout in the right maner and also to permit the right breaking
6531         algorithm on empty or non empyt keepempty paragraphs.
6532
6533         * paragraph.C (breakParagraph): we have to check also if the par
6534         is really empty (!size()) for isempty otherwise we do the wrong
6535         paragraph break.
6536
6537 2002-05-10  Juergen Vigna  <jug@sad.it>
6538
6539         * buffer.[Ch] : The following are only changes to the ert
6540         compatibility read reading old LaTeX layout and font stuff and
6541         convert it to ERTInsets.
6542
6543         * buffer.h: added isErtInset().
6544
6545         * buffer.C (struct ErtComp): add a fromlayout bool to check
6546         if we're inside a LaTeX layout.
6547         (isErtInset): new helper function.
6548         (insertErtContents): look for other ert insets before this one
6549         and insert the contents there, so that we don't have subsequent
6550         ERT insets with nothing between them. This way we create only one
6551         inset with multiple paragraphs. Also check if we don't insert only
6552         spaces ' ' as they are ignored anyway afterwards in the .tex file
6553         so if we have only spaces we will ignore this latex part in the
6554         new file.
6555         (parseSingleLyXformat2Token \\layout): better compatibility when
6556         reading layout-latex stuff.
6557         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6558         language tag.
6559         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6560         stuff after reading the inset only get the information back from
6561         the stack.
6562
6563 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6564
6565         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6566
6567         * LaTeXFeatures.C (getBabelOptions): New method.
6568
6569 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6570
6571         * BufferView_pimpl.C (Dispatch): work around missing argument for
6572         'layout'
6573
6574 2002-05-08  Juergen Vigna  <jug@sad.it>
6575
6576         * text.C (leftMargin): handle paragraph leftindent.
6577
6578         * paragraph.C (writeFile): write the new \\leftindent tag.
6579         (validate): handle leftindent code.
6580         (TeXEnvironment): handle paragraphleftindent code again.
6581
6582         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6583
6584         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6585         for paragrap_extra indent code and new token \\leftindent.
6586         (latexParagraphs): handle the leftindent as environment.
6587
6588         * ParameterStruct.h: added leftindent support.
6589
6590         * ParagraphParameters.C (leftIndent): added support functions for
6591         the paragraph left indent.
6592
6593         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6594         more appropriate.
6595
6596 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6597
6598         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6599         inside insetERT.
6600
6601         * text.C (computeBidiTables): No bidi in insetERT.
6602
6603         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6604         in RTL documents.
6605
6606 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6607
6608         * version.C.in: pre 5
6609
6610 2002-05-02  José Matos  <jamatos@fep.up.pt>
6611         * buffer.C (makeDocBookFile): white space changes, add newline to
6612         command styles.
6613         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6614
6615         * tabular.C (docBook): fix typo.
6616
6617 2002-05-03  Juergen Vigna  <jug@sad.it>
6618
6619         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6620         change in LyXText as we can not be sure it was not freed.
6621         (drawOneRow): remove unused code.
6622
6623         * text.C (drawInset): redo the calculation of the need_break_row as
6624         it could have a row which was already freed.
6625         (draw): look at the return value of drawInset and return false if
6626         it also returned false.
6627         (paintRowText): look at the return value of draw and return false if
6628         it also returned false.
6629
6630         * lyxtext.h: added bool return type to drawInset() and draw() so that
6631         if we have a change in the row so that the rowbreak has to be redone
6632         we abort drawing as it will be called again.
6633
6634 2002-05-02  Juergen Vigna  <jug@sad.it>
6635
6636         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6637         a change in the maintext also if we're inside an inset.
6638         (Dispatch): set the cursor again after a break line and after the
6639         screen has been updated as it could be we're in a different row.
6640
6641         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6642         to set the cursor behind the pargraph with > size().
6643         (setCursor): check also for the same paragraph when checking where
6644         to put the cursor if we have a NFR inset.
6645
6646         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6647         parts of layout read further up as it still was in the wrong
6648         position.
6649
6650 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6651
6652         * screen.C (drawFromTo): change sine fullRebreak always return
6653         true.
6654
6655         * buffer.C (parseSingleLyXformat2Token): reindent some
6656
6657         * BufferView_pimpl.C (update): change since fullRebreak always
6658         return true.
6659         (Dispatch): git rid of the last hardcoded "Standard"s.
6660
6661 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6662
6663         * text2.[Ch] (fullRebreak): make it return void now that we always
6664         returned true.
6665
6666 2002-04-30  Juergen Vigna  <jug@sad.it>
6667
6668         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6669         ert compatibility check for "latex" layout.
6670
6671 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6672
6673         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6674         minipages: use col% instead of p%, and also use the current font.
6675         (makeLaTeXFile): Fix use babel condition.
6676         (parseSingleLyXformat2Token): Correct font when reading old floats.
6677
6678 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6679
6680         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6681         inserting list of floats.
6682
6683 2002-04-25  Herbert Voss  <voss@lyx.org>
6684
6685         * MenuBackend.C (expand): don't add the graphics extensions to the
6686         export menu
6687
6688 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6689
6690         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6691         non-existing layout, do not complain if it was the default layout
6692         of the original class (bug #342)
6693
6694 2002-04-24  Juergen Vigna  <jug@sad.it>
6695
6696         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6697         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6698
6699 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6700
6701         * buffer.C (getBibkeyList): If using \bibliography, return the
6702         option field with the reference itself. Enables us to provide natbib
6703         support when using \bibliography.
6704
6705 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6706
6707         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6708
6709         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6710         natbib is provided by the LaTeX class.
6711
6712 2002-04-23  Juergen Vigna  <jug@sad.it>
6713
6714         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6715         Wakeup functions.
6716
6717         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6718
6719 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6720
6721         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6722
6723         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6724         ensuremath around textordmasculine, textordfeminine and
6725         textdegree.
6726
6727 2002-04-19  Juergen Vigna  <jug@sad.it>
6728
6729         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6730         reinitializing the buffer otherwise row-dimensions may be wrong.
6731         (update): reset also the selection cursors if they do exits otherwise
6732         their x/y positions may be wrong.
6733
6734         * text2.C (cursorDown): don't enter the inset if we came from a row
6735         above and are one row over the inset.
6736
6737         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6738         really leaving an inset.
6739
6740 2002-04-18  Juergen Vigna  <jug@sad.it>
6741
6742         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6743         of the selected paragraph does not have the selected layout also if
6744         the last one had!
6745
6746         * text2.C (setLayout): fixed bug which did not change last selected
6747         paragraph.
6748
6749         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6750         changed the read and substituted \\end_float with \\end_inset!
6751
6752         * BufferView_pimpl.C (cursorPrevious):
6753         (cursorNext): fixed to make it work with rows heigher than the work
6754         area without moving the cursor only the draw of the row.
6755         (workAreaMotionNotify): fix jumping over high rows.
6756
6757 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6758
6759         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6760         Ressler.
6761
6762 2002-04-16  Juergen Vigna  <jug@sad.it>
6763
6764         * text2.C (setCursor): set also the irow().
6765         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6766         (cursorUp):
6767         (cursorDown): support for locking an inset if the x_fix value goes
6768         inside it. That way I can transverse insets too with cursor up/down.
6769
6770         * lyxrow.h: added irow helper function same as other (i) functions.
6771
6772         * BufferView_pimpl.C (cursorPrevious):
6773         (cursorNext): fixed for insets!
6774
6775 2002-04-15  Juergen Vigna  <jug@sad.it>
6776
6777         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6778         position otherwise it is wrong in some cases.
6779
6780         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6781         inside the inset before the call.
6782
6783 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6784
6785         * buffer.[Ch] (getBibkeyList): make it const.
6786
6787 2002-04-12  Juergen Vigna  <jug@sad.it>
6788
6789         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6790
6791         * text2.C (getCursorX): new helper function
6792         (setCursor): compute also ix_
6793         (setCursorFromCoordinates): set also ix.
6794
6795         * lyxcursor.h: added ix_ and helper functions.
6796
6797         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6798
6799         * buffer.C (insertStringAsLines): dont break paragraph if the this
6800         paragraph is inside an inset which does not permit it!
6801
6802         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6803         also with no chars on this paragraph.
6804         (paintRowText): only paint stuff if it's inside the workarea!
6805
6806         * paragraph.C (breakParagraph): honor keepempty flag and break the
6807         paragraph always below not above.
6808
6809         * BufferView2.C (unlockInset): update the paragraph layout on inset
6810         unlock as we changed paragraph in such a case.
6811
6812         * lyxfind.C (LyXFind): clear the former selection if not found!
6813
6814         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6815         again called in insertChar().
6816
6817         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6818         an inset which uses the whole row!
6819         (rightMargin): ditto.
6820         (insertChar): force a rebreak if we inserted an inset!
6821
6822 2002-03-28  Herbert Voss  <voss@lyx.org>
6823
6824         * lyxlength.[Ch]: add inBP() to get the right PS-point
6825         units (BigPoint). With inPixels we have rounding errors
6826
6827 2002-04-11  Juergen Vigna  <jug@sad.it>
6828
6829         * text2.C (setCursorFromCoordinates): set iy to the right value.
6830         (setCursor): add check if row->previous exists!
6831
6832         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6833         an old float_type as this was the case in the old code!
6834
6835         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6836
6837         * BufferView2.C (showLockedInsetCursor): use iy
6838         (fitLockedInsetCursor): ditto
6839
6840         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6841         locked insets as there we have the right value now.
6842
6843         * lyxcursor.C: added iy_ variable and iy functions to set to the
6844         baseline of cursor-y of the locked inset.
6845
6846         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6847         (setCursor): fixed for insets which need a full row.
6848
6849         * text.C (rowLastPrintable): don't ignore the last space when before
6850         an inset which needs a full row.
6851         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6852         as last character of a row when before a inset which needs a full row.
6853
6854 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6855
6856         * version.C.in: update date
6857
6858         * text2.C (fullRebreak): try to always return true and see what
6859         happens...
6860
6861 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6862
6863         * MenuBackend.C (expand): use Floating::listName
6864
6865         * FloatList.C (FloatList): add listName argument to the built-in
6866         floats
6867
6868         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6869         text associated with the float.
6870
6871 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6872
6873         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6874
6875 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6876
6877         * ShareContainer.h: add a couple of missing typenames.
6878
6879 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6880
6881         * lyxrc.C (getDescription): use _() correctly rather than N_().
6882
6883 2002-03-28  Herbert Voss  <voss@lyx.org>
6884
6885         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6886         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6887
6888 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6889
6890         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6891         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6892
6893 2002-03-29  Juergen Vigna  <jug@sad.it>
6894
6895         * lyxfunc.C (dispatch): add a missing fitCursor call.
6896
6897         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6898         it was scrolled by a cursor move, so return the bool status.
6899
6900         * BufferView.C (fitCursor): return the bool flag also to the outside
6901         world as this is needed.
6902
6903         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6904
6905         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6906         call the edit() as it is not needed (and wrong) IMO.
6907         (workAreaButtonPress): set the screen_first variable before evt.
6908         unlock the inset as this may change screen_first and then we have
6909         a wrong y position for the click!
6910
6911 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6912
6913         * MenuBackend.C (expand): another translation that I missed
6914
6915 2002-03-28  Juergen Vigna  <jug@sad.it>
6916
6917         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6918
6919         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6920
6921 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6922
6923         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6924
6925         * MenuBackend.C (expand): fix export/view/update when there is no
6926         document open.
6927
6928 2002-03-27  Herbert Voss  <voss@lyx.org>
6929
6930         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6931         and text%
6932
6933 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6934
6935         * bufferview_funcs.C (currentState): only show paragraph number
6936         for is DEVEL_VERSION is set.
6937
6938         * lyxfunc.C (dispatch): put warning in INFO channel
6939
6940         * MenuBackend.C (expand): translate the name of floats
6941
6942         * FloatList.C (FloatList): mark the float names for translation
6943
6944         * converter.C (convert): use LibScriptSearch
6945
6946 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6947
6948         * MenuBackend.C (defaults): fix default menu (we might as well get
6949         rid of it...)
6950
6951 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6952
6953         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6954         directory.
6955
6956 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6957
6958         * lyxvc.C: reorder includes.
6959
6960 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6961
6962         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6963           properly
6964
6965 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6966
6967         * CutAndPaste.C: change layouts earlier on paste
6968           to avoid crashing when calling getFont()
6969
6970 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6971
6972         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6973         irritating #error.
6974
6975 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6976
6977         * WorkArea.C: remove 'Pending' debug message.
6978
6979         * most files: ws cleanup
6980
6981         * buffer.[Ch]: ws changes
6982
6983         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6984
6985 2002-03-21  Juergen Vigna  <jug@sad.it>
6986
6987         * tabular.C (SetMultiColumn): collapse also the contents of the
6988         cells and set the last border right. Added a Buffer const * param.
6989
6990 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6991
6992         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6993         linking or not.
6994
6995 2002-03-19  Juergen Vigna  <jug@sad.it>
6996
6997         * text2.C (clearSelection): reset also xsel_cache.
6998
6999         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7000         where it needs to be called (John tells us to do so too :)
7001         (selectionLost): reset sel_cache.
7002
7003         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7004
7005 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7006
7007         * text2.C (setCursorIntern): put debuging code in INSETS channel
7008
7009 2002-03-19  André Pönitz <poenitz@gmx.net>
7010
7011         * lyxfunc.C: tiny whitespace change
7012
7013 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7014
7015         * ToolbarDefaults.C (init):
7016         * LyXAction.C (init):
7017         * commandtags.h:
7018         * BufferView_pimpl.C (Dispatch):
7019         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7020
7021 2002-03-19  Allan Rae  <rae@lyx.org>
7022
7023         * exporter.C (Export): removeAutoInsets before doing anything else.
7024         While I've just introduced a dependency on BufferView this really is
7025         the best place to clean the buffer otherwise you need to cleanup in
7026         a dozen places before calling export or cleanup in a dozen functions
7027         that export calls.
7028
7029         * converter.C (runLaTeX):
7030         (scanLog): Better handling of removeAutoInsets and screen updates.
7031
7032         * lyxfunc.C (dispatch): small whitespace changes
7033
7034 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7035
7036         * WorkArea.C (C_WorkAreaEvent): return a value.
7037         (event_cb): return 1 if we handled the event, 0 otherwise.
7038
7039         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7040
7041 2002-03-18  Juergen Vigna  <jug@sad.it>
7042
7043         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7044         (GetAdditionalWidth): ditto.
7045         (RightLine): ditto.
7046         (LeftLine): ditto.
7047
7048         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7049         inset if we're there actually (probably not used right now but this
7050         is the direction to go for unifying code).
7051         (paste): disable code to clear the selection.
7052
7053         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7054         inside an InsetText and move the check further up as it is in the
7055         wrong place.
7056
7057         * text2.C (pasteSelection): set a selection over the pasted text.
7058
7059 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7060
7061         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7062         and libgraphics to build on Cygwin.
7063
7064 2002-03-15  Juergen Vigna  <jug@sad.it>
7065
7066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7067         inserting an Inset into the paragraph. I know this is not the best
7068         fix but we already use current_view in CutAndPaste so we will remove
7069         all of it's using at the same time.
7070
7071         * buffer.C (sgmlError): deactivated function till it is rewritten in
7072         the right mode, now it can create problems.
7073
7074         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7075         before accessing it.
7076
7077 2002-03-14  Juergen Vigna  <jug@sad.it>
7078
7079         * undo_funcs.C (textHandleUndo): do the right thing when updating
7080         the inset after the undo/redo.
7081
7082         * text2.C (setCursor): just some testcode for #44 not ready yet.
7083
7084         * undo_funcs.C (textHandleUndo): set the next() and previous()
7085         pointers of the paragraph to 0 before deleting otherwise we have
7086         problems with the Paragraph::[destructor].
7087
7088         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7089         on a paragraph insertion.
7090
7091 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7092
7093         * buffer.C (asciiParagraph): use += operator for char append to
7094         string.
7095
7096         * paragraph.C (getFontSettings): compare >= not just >
7097         (highestFontInRange): ditto
7098         (setFont): ditto
7099
7100 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7101
7102         * paragraph.C: change several algorithm to be more appripriate for
7103         the problem domain. This is lookip in FontList and in the InsetList.
7104
7105 2002-03-13  André Pönitz <poenitz@gmx.net>
7106
7107         * commandtags.h:
7108         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7109
7110 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * commandtags.h:
7113         * LyXAction.C:
7114         * lyxfunc.C:
7115         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7116
7117 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7118
7119         * Painter.C (display): anon helper function, adjust code for this
7120         change.
7121         (pixmap): remove function.
7122
7123         * Painter.h: remove private display variable.
7124
7125         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7126
7127 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7128
7129         * WorkArea.[Ch]: remove figinset_canvas cruft.
7130
7131 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7132
7133         * lyxtextclass.C (operator): add one item cache optimization.
7134
7135         * bufferlist.h: doxy changes
7136
7137         * bufferlist.C: ws changes
7138
7139         * DepTable.[Ch] (ext_exist): place const in the right spot.
7140
7141         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7142         call resizeInsets.
7143         (workAreaExpose): call resizeInsets when the with BufferView changes.
7144         (Dispatch): adjust for protectedBlank removal
7145         (specialChar): call updateInset if the insert went ok.
7146
7147         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7148         specialChar instead.
7149
7150         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7151
7152         * BufferView.h: doxy change
7153
7154         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7155
7156         * lyxtextclass.C (operator[]): remove non-const version
7157         (defaultLayout): remove non-const version
7158
7159 2002-03-12  Juergen Vigna  <jug@sad.it>
7160
7161         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7162         did resize the LyXText too.
7163
7164         * buffer.C (readLyXformat2): set layout information on newly allocated
7165         paragraphs.
7166
7167         * tabular.C (OldFormatRead): set layout information on the paragraph.
7168
7169 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7170
7171         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7172
7173 2002-03-11  Juergen Vigna  <jug@sad.it>
7174
7175         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7176         plainly wrong.
7177         (resizeCurrentBuffer): force also the insets to resize themselfes.
7178         (moveCursorUpdate): fixed up for InsetText.
7179
7180 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7181
7182         * commandtags.h:
7183         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7184         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7185         value of Dialogs::tooltipsEnabled().
7186         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7187
7188 2002-03-08  Juergen Vigna  <jug@sad.it>
7189
7190         * BufferView_pimpl.C (updateInset): update inset inside inset also
7191         if it isn't inside theLockingInset().
7192
7193 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7194
7195         * buffer.C (asciiParagraph): redo some of the word and line length
7196         handling.
7197         (getLists): look for Caption instead of caption.
7198
7199 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7200
7201         * buffer.C (Buffer): initialize niceFile to true
7202         (makeLaTeXFile):
7203         (makeLinuxDocFile):
7204         (makeDocBookFile): make sure niceFile is true on exit
7205
7206 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7207
7208         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7209
7210 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7211
7212         * LyXSendto.C: remove.
7213         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7214         * lyx_gui.C: remove now-redundant comment.
7215         * ColorHandler.h: remove forward declaration of class WorkArea.
7216         * lyxfunc.C: remove #include "WorkArea.h".
7217
7218 2002-03-07  Juergen Vigna  <jug@sad.it>
7219
7220         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7221         got moved away with the DEPM and also set the inset_owner always
7222         right which before could have been omitted.
7223
7224 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7225
7226         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7227         wanted layout is not found.
7228
7229 2002-03-07  Juergen Vigna  <jug@sad.it>
7230
7231         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7232
7233 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7234
7235         * paragraph.C (breakParagraph): use default layout not layout of
7236         prev paragraph.
7237         (Paragraph): clear ParagraphParameters.
7238
7239 2002-03-06  Juergen Vigna  <jug@sad.it>
7240
7241         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7242         otherwise it would not be a valid lenght. Fixed a special case in
7243         the minipage compatibility read where we end the document with a
7244         minipage.
7245
7246         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7247         was set as it could be 0 for InsetTexts first entry.
7248
7249 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7250
7251         * paragraph.C (writeFile): if layout is empty write out
7252         defaultLayoutName().
7253
7254         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7255         file without named layout we set layout to defaultLayoutName().
7256
7257 2002-03-06  Juergen Vigna  <jug@sad.it>
7258
7259         * CutAndPaste.C (copySelection): set layout for new paragraph.
7260
7261         * text.C (prepareToPrint): leave ERT inset left aligned
7262         (leftMargin): don't indent paragraphs inside ERT insets
7263
7264 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7265
7266         * paragraph.C (breakParagraph): dont call clear do the work manually
7267
7268         * paragraph.[Ch] (clear): remove function
7269
7270 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7271
7272         * paragraph.C (Paragraph): dont call clear, the work has already
7273         been done.
7274
7275         * lyxtextclass.C (operator): assert if n is empty
7276
7277         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7278         work manually instead.
7279
7280 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7281
7282         * BufferView_pimpl.C: protect selectionLost against text == 0
7283
7284 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7285
7286         * text.C (breakParagraph): fix a setting layout to '0' problem.
7287
7288 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7289
7290         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7291         final location of file, for the included files, and graphics.
7292
7293 2002-03-05  Juergen Vigna  <jug@sad.it>
7294
7295         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7296
7297 2002-03-04  Juergen Vigna  <jug@sad.it>
7298
7299         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7300
7301         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7302         last column of multicolumn cells.
7303         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7304
7305 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7306
7307         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7308         file if it doesn't go to a temporary file.
7309
7310         * buffer.C (sgmlOpenTag):
7311         (sgmlCloseTag):  remove extra newline insertion.
7312
7313 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7314
7315         * text.C (getRowNearY): comment out debug msg
7316
7317 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7318
7319         * text2.C: first -> first_y
7320
7321         * text.C (getRowNearY): add some attemts at a possible
7322         optimization, not working.
7323
7324         * tabular.[Ch]: add BufferParams to several function so that newly
7325         created paragraph can be initialized to he default layotu for the
7326         buffers textclass.
7327
7328         * tabular-old.C (ReadOld): add buf->params to call of Init
7329
7330         * screen.C: rename text->first to text->first_y
7331
7332         * paragraph.C (breakParagraph): always set layout in the broken
7333         paragraph
7334
7335         * lyxtextclass.C (Read): remove lowercase
7336         (hasLayout): ditto
7337         (operator): ditto
7338         (delete_layout): ditto
7339
7340         * lyxtext.h: rename first -> first_y
7341
7342         * lyxlayout.C (Read): remove lowercase
7343         (name): ditto
7344         (setName): ditto
7345         (obsoleted_by): ditto
7346
7347         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7348
7349         * buffer.C (insertErtContents): add params are to InsetERT
7350         (parseSingleLyXformat2Token): add code to check if a paragraphs
7351         layout really exist.
7352         (parseSingleLyXformat2Token): add params to several inset
7353         constructors
7354         (asciiParagraph): remove lowercase, do the layout comparisons with
7355         no_case
7356
7357         * BufferView_pimpl.C (cursorNext): first -> first_y
7358         (resizeCurrentBuffer): first -> first_y
7359         (updateScrollbar): first -> first_y
7360         (scrollCB): first -> first_y
7361         (workAreaMotionNotify): first -> first_y
7362         (workAreaButtonPress): first -> first_y
7363         (checkInsetHit): first -> first_y
7364         (cursorPrevious): first -> first_y
7365         (cursorNext): first -> first_y
7366         (Dispatch): add buffer_->params to severl inset contructors
7367
7368 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7369
7370         * lyxlayout.C (Read): remove some debug info that I forgot.
7371
7372         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7373         clean up the code slightly.
7374         (makeLinuxDocFile): ditto
7375         (makeDocBookFile): ditto
7376
7377         * text2.C: layout as string
7378
7379         * text.C: layout as string
7380
7381         * paragraph_pimpl.C: layout as string
7382
7383         * paragraph.[Ch]: layout as string
7384
7385         * lyxtextclasslist.[Ch]: layout as string
7386
7387         * lyxtextclass.[Ch]: layout as string
7388
7389         * lyxtext.h: layout as string
7390
7391         * lyxlayout.[Ch]: layout as string
7392
7393         * lyx_cb.C: layout as string
7394
7395         * bufferview_funcs.C: layout as string
7396
7397         * bufferparams.C: layout as string
7398
7399         * buffer.C: layout as string
7400
7401         * LyXView.[Ch]: layout as string
7402
7403         * LaTeXFeatures.[Ch]: layout as string
7404
7405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7406
7407         * BufferView_pimpl.C: change current_layout to string, remove
7408         lyx::layout_type.
7409         (Dispatch):
7410         (smartQuote):
7411         (insertInset):
7412         (workAreaButtonRelease): layout as string
7413
7414         * BufferView2.C (unlockInset): adjust
7415
7416         * vspace.C (asLatexCommand): use an explict temp variable.
7417
7418 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * Makefile.am: use FRONTEND_*
7421
7422 2002-03-01  Juergen Vigna  <jug@sad.it>
7423
7424         * tabular.C (SetWidthOfMulticolCell): changed to something better
7425         I hope but still work in progress.
7426         (recalculateMulticolumnsOfColumn): renamed function from
7427         recalculateMulticolCells as it is more appropriate now.
7428         (SetWidthOfCell): calculate multicols better.
7429
7430 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7433
7434         * lyxfunc.C (processKeySym): print sequence also if it is
7435         `deleted' (complete)
7436
7437         * kbsequence.C (print): print sequence even if it is deleted
7438         (complete would be a better word, actually).
7439
7440         * lyxfunc.C (dispatch): print complete options after a prefix key
7441
7442         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7443
7444 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7445
7446         * text2.C (setCharFont): eliminate setCharFont code duplication.
7447
7448 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7449
7450         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7451         LFUN_TABULAR_FEATURE (bug #177)
7452
7453 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7454
7455         * Makefile.am: remove figure.h
7456
7457 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7458
7459         * Bufferview_pimpl.C:
7460         * CutAndPasteC:
7461         * LaTeX.C:
7462         * LyXSendto.C:
7463         * buffer.C:
7464         * bufferlist.C:
7465         * converter.C:
7466         * language.C:
7467         * lyxfunc.C:
7468         * lyxvc.C:
7469         * paragraph.C:
7470         * text.C:
7471         * text2.C: remove #include "lyx_gui_misc.h".
7472
7473         * LaTeX.C: added #include <cstdio>
7474
7475 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7476
7477         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7478         that the paragraph following this one can have.
7479
7480         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7481
7482         * vspace.C (asLatexCommand): fix bogus gcc warning
7483
7484         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7485
7486 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7487
7488         * text2.C (setLayout): get rid of redundant code
7489
7490 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7491
7492         * text2.C (incDepth): make sure depth cannot be increased beyond
7493         reasonable values.
7494
7495 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7496
7497         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7498         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7499
7500         * PainterBase.h (image):
7501         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7502         a LyXImage const *.
7503
7504 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7505
7506         * BufferView.C:
7507         * BufferView.h:
7508         * BufferView_pimpl.C:
7509         * BufferView_pimpl.h:
7510         * LaTeXFeatures.C:
7511         * LyXAction.C:
7512         * LyXView.C:
7513         * Makefile.am:
7514         * UpdateList.h:
7515         * UpdateList.C:
7516         * buffer.C:
7517         * figure.h:
7518         * figureForm.C:
7519         * figureForm.h:
7520         * figure_form.C:
7521         * figure_form.h:
7522         * lyx_cb.C:
7523         * lyx_gui.C:
7524         * lyx_gui_misc.C:
7525         * lyxfunc.C:
7526         * sp_base.h:
7527         * sp_ispell.h:
7528         * sp_pspell.h:
7529         * sp_spell.C: remove fig inset, and the crap house of
7530           cards that follows it
7531
7532 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7533
7534         * Makefile.am:
7535         * lyxserver.C:
7536         * os2_defines.h:
7537         * os2_errortable.h:
7538         * nt_defines.h: move .h into support/
7539
7540         * vms_defines.h: remove
7541
7542         * WorkArea.C: add space in debug output
7543
7544         * text2.C:
7545         * paragraph.C:
7546         * buffer.C: add WITH_WARNINGS
7547
7548         * vc-backend.h:
7549         * vc-backend.C:
7550         * bufferlist.C: s/retrive/retrieve/, add docs
7551
7552         * vspace.h:
7553         * vspace.C:
7554         * kbmap.h:
7555         * lyxlength.h:
7556         * lyxgluelength.h:
7557         * length_common.h:
7558         * chset.h:
7559         * chset.C: add docs
7560
7561         * lyxgui.C: add ID to X error handler
7562
7563         * lyxtestclass.c: fix typo
7564
7565 2002-02-26  Juergen Vigna  <jug@sad.it>
7566
7567         * tabular_funcs.C (write_attribute): changed so that some default
7568         attributes are not written at all.
7569         (getTokenValue): set default values before trying to read the
7570         value so we have the return value always set as default if we don't
7571         find the token we search for.
7572
7573         * tabular.C (Write): write bools as bools not as strings!
7574
7575 2002-02-22  Juergen Vigna  <jug@sad.it>
7576
7577         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7578         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7579
7580         * text.C (leftMargin): don't add an indent for paragraphs inside
7581         tabular cells (fix #208).
7582
7583 2002-02-21  José Matos  <jamatos@fep.up.pt>
7584
7585         * tabular.C (docBook): fixed support for long tables.
7586
7587 2002-02-20  Juergen Vigna  <jug@sad.it>
7588
7589         * text2.C (getFont): get the drawing font of the Inset if this
7590         paragraph is inside an inset (only important for InsetERT for now).
7591
7592         * buffer.C (insertErtContents): use new lanugage params in ERT
7593         constructor.
7594
7595         * CutAndPaste.C: commenting out seemingly uneeded code.
7596
7597 2002-02-19  Allan Rae  <rae@lyx.org>
7598
7599         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7600         Iterators might be simple to use but they also get invalidated.
7601         (removeAutoInsets): renamed saved cursor tracking variables and added
7602         some comments to clarify what everything does.
7603
7604 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7605
7606         * Chktex.C:
7607         * LaTeX.C:
7608         * LyXSendto.C:
7609         * converter.C:
7610         * lyx_cb.C:
7611         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7612         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7613
7614         * lyxfunc.C:
7615         * vc-backend.h: remove #include "support/syscall.h"
7616
7617         * LaTeX.C:
7618         * LyXSendto.C:
7619         * converter.C: rearrange #includes in Lars' approved fashion.
7620
7621         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7622         forward declare class Timeout in the header file.
7623
7624         * XFormsView.C: changes due to the above.
7625
7626         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7627         similar to LyXView.
7628
7629         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7630         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7631
7632 2002-02-18  José Matos  <jamatos@fep.up.pt>
7633
7634         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7635         insets contents.
7636
7637 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7638
7639         * a lot of small ws changes
7640         * add a lot of using std::XXX
7641         * use std construcs some places where approp.
7642         * use some exisint stuff from lyxfunctional where approp.
7643         * Make file changes to use partial linking (lets test this now...)
7644
7645 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7646
7647         * Chktex.C:
7648         * buffer.C:
7649         remove #include "support/syscontr.h" as it's redundant. Always has been.
7650
7651         * Chktex.C:
7652         * LaTeX.C:
7653         * LyXSendto.C:
7654         * converter.C:
7655         * lyx_cb.C:
7656         * vc-backend.C:
7657         change Systemcalls::System to Systemcalls::Wait and
7658         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7659         No change of functionality, just reflects the stripped down Systemcalls
7660         class.
7661
7662 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7663
7664         * debug.[Ch]: add a GRAPHICS type to the enum.
7665
7666 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7667
7668         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7669
7670         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7671         there is an inset.
7672
7673 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7676         match the changes below.
7677
7678         * text2.C (toggleInset): if there is not editable inset at cursor
7679         position, try to see if cursor is _inside_ a collapsable inset
7680         and close it.
7681
7682 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7683
7684         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7685         document menu has a nice checkbox
7686
7687 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * lyxlength.C (asLatexString): change PW to output as percent of
7690         \textwidth.
7691
7692         * lengthcommon.C: change '%' to 't%'
7693
7694         * lyxfunc.C (dispatch): a few comments from Martin
7695
7696 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * WorkArea.h:
7699         * WorkArea.C:
7700         * BufferView_pimpl.h:
7701         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7702           the X selection.
7703
7704 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7705
7706         * vspace.C (inPixels): fix compiler warning
7707
7708 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7709
7710         * lyxfunc.C (getStatus): fix status message for disabled commands.
7711
7712 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * BufferView_pimpl.C: fix crash on close buffer
7715         during selection (#227)
7716
7717 2002-01-27  Herbert Voss  <voss@lyx.org>
7718
7719         * buffer.C: link old Figure to new graphic inset
7720
7721 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7722
7723         * FontLoader.C (getFontinfo): Change the latex font names in order
7724         to match the names of type1inst.
7725
7726 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7727
7728         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7729
7730         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7731         (extchanged): ditto
7732         (ext_exist): ditto
7733         (remove_files_with_extension): ditto
7734         (remove_file): ditto
7735         (write): ditto
7736
7737         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7738         document is smaller than the work area height. Do not initialize
7739         static variables to 0.
7740
7741 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7742
7743         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7744
7745         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7746         LFUN_LAYOUT_PARAGRAPHS.
7747
7748         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7749         tabular. It is possible to provide a possible cell, which will
7750         typically be the actcell from the corresponding insettabular
7751
7752         * lyxfunc.C (getStatus): small cleanup; disable
7753         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7754         true
7755
7756 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7757
7758         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7759
7760         * paragraph.C (startTeXParParams):
7761         (endTeXParParams): new methods. The LaTeX code to
7762         start/end paragraph formatting
7763         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7764         empty (fixes bug #200)
7765
7766         * vspace.C (inPixels): adapt to the change below
7767         (inPixels): [later] more cleanups (remove unused variables)
7768
7769         * lyxlength.C (inPixels): change to use a width and a height as
7770         parameter.
7771
7772 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7773
7774         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7775         Replaced with \paperwidth
7776
7777         * DepTable.C (insert): add std:: qualifier
7778
7779 2002-01-18  Allan Rae  <rae@lyx.org>
7780
7781         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7782         updated also?
7783
7784         * text.C (drawInset): Turned out I didn't know enough about how
7785         rebreaking worked.  This fixes most of the redraw problems.  I see
7786         an occasional cursor trail when a line is broken now and the cursor
7787         placement can seem out by a few pixels also after a rebreak.
7788
7789 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7790
7791         * buffer.C (parseSingleLyXformat2Token): update because minipage
7792         width is now a LyXLength
7793
7794         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7795
7796         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7797         math insets
7798
7799 2002-01-17  Juergen Vigna  <jug@sad.it>
7800
7801         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7802
7803         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7804         is set correctly and the inset is updated correctly.
7805
7806 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7807
7808         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7809         the beginning of the loop.
7810
7811 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7812
7813         * lyxrc.C: improve help for use_scalable_fonts
7814
7815 2002-01-17  Allan Rae  <rae@lyx.org>
7816
7817         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7818
7819 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7820
7821         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7822         make sure to set their inset_owner to the right value (bug #171)
7823
7824 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7825
7826         * DepTable.h
7827         * DepTable.C: Implement mtime checking to reduce time spent doing
7828         CRCs.
7829
7830 2002-01-16  Juergen Vigna  <jug@sad.it>
7831
7832         * tabular.C (GetAdditionalHeight): one of error fixed.
7833
7834         * lyxrc.C (output): small fix in writing use_pspell.
7835
7836 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7837
7838         * sp_base.h: #include LString.h
7839
7840 2002-01-16  Allan Rae  <rae@lyx.org>
7841
7842         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7843         Can someone check this please?
7844
7845         * text.C (drawInset): It was possible that p.row would be removed by
7846         breakAgainOneRow upsetting a few other settings.  There may be another
7847         small tweak possible by setting need_break_row = 0 when p.row has been
7848         removed but I don't know enough about the logic here.
7849
7850 2002-01-15  Allan Rae  <rae@lyx.org>
7851
7852         * text.C (insertChar): removed conditional truism.
7853
7854         * BufferView2.C (removeAutoInsets): More tweaks.
7855         cur_par_prev could be a stray pointer.  Check for trailing empty line
7856         in case last line was cur_par and only had an error inset on it.
7857
7858 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7859
7860         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7861         absolute
7862
7863         * vc-backend.C (most methods):
7864         * exporter.C (Export):
7865         * converter.C (convert):
7866         (runLaTeX):
7867         * LyXSendto.C (SendtoApplyCB):
7868         * lyxfunc.C (dispatch):
7869         (menuNew):
7870         (open):
7871         (doImport):
7872         * lyx_cb.C (AutoSave):
7873         (InsertAsciiFile):
7874         * BufferView_pimpl.C (MenuInsertLyXFile):
7875         * buffer.C (runChktex): use Buffer::filePath().
7876
7877         * buffer.h: rename filename to filename_; rename filepath to
7878         filepath_ and make it private
7879         (filePath): new method
7880
7881         * buffer.C (writeFile): use fileName()
7882         (getLatexName):
7883
7884         * lyx_main.C (init): fix starting  of LyX when the binary is a
7885         link from so,ewhere else.
7886
7887         * minibuffer.C: include <cctype> for isprint
7888
7889 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7890
7891         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7892         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7893         name clash with InsetCollapsable's width function.
7894
7895 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7896
7897         * lastfiles.C: include <iterator>
7898
7899 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7900
7901         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7902         std::count.
7903
7904         * buffer.C (makeLaTeXFile): ditto.
7905         Also make loop operation more transparent.
7906
7907 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7908
7909         * ToolbarDefaults.C: remove trailing comma closing namespace.
7910
7911         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7912
7913         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7914         as in WorkArea.
7915
7916         * trans.C (Load): comment out unused variable, allowed.
7917
7918 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7919
7920         * minibuffer.[Ch] (append_char): new method to recieve input from the
7921         drop-down completion browser. If a key was pressed, then recieve this
7922         char and append it to the existing string.
7923         (peek_event): modify the positioning data passed to the completion
7924         browser so that it can be placed above the minibuffer rather than below.
7925 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7926
7927         * LyXAction.C (init): alloe error-next for readonly documents.
7928
7929         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7930         count.
7931
7932 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * bufferlist.C (readFile): create the buffer _after_ checking that
7935         the file exists.
7936
7937         * lyxfunc.C (verboseDispatch): fix handling of arguments
7938
7939         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7940
7941         * lyxrc.C: use string::erase() instead of initializing to "".
7942
7943
7944 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7945
7946         * BufferView_pimpl.h:
7947         * BufferView_pimpl.C:
7948         * WorkArea.h:
7949         * WorkArea.C:
7950         * text2.C: tell X when we have made a selection for copying
7951
7952 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7953
7954         * BufferView_pimpl.C (MenuInsertLyXFile):
7955         * lyxfunc.C (menuNew):
7956         (open):
7957         (doImport): add shortcuts to directory buttons
7958
7959         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7960         open a float)
7961
7962         * lyxfunc.C (setStatusMessage):
7963         (getStatusMessage): new methods
7964         (getStatus):use setStatusMessage instead of setErrorMessage
7965         (dispatch): when function is disabled, set error message here
7966         [instead of in getStatus previously]
7967
7968         * BufferView_pimpl.C (workAreaButtonRelease): update
7969         toolbar/menubar here too.
7970
7971 2002-01-13  Allan Rae  <rae@lyx.org>
7972
7973         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7974         Now seems indestructible.  Remaining task is to audit all other
7975         code affected by deleteEmptyParagraphMechanism.  One small quirk
7976         left is that an empty document with an error in the preamble can
7977         be made to report an error but no error box appears.  I don't know
7978         where it goes.
7979         (removeAutoInsets): Improved comments.
7980
7981 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7982
7983         * Thesaurus.h:
7984         * Thesaurus.C: update for Aiksaurus 0.14
7985
7986 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7987
7988         * text2.C (firstParagraph): removed member function, all uses
7989         replaces with ownerParagraph
7990         (redoParagraphs): here
7991         (updateInset): here
7992         (toggleAppendix): here
7993         * BufferView2.C (insertErrors): here
7994         (setCursorFromRow): here
7995
7996 2002-01-13  Allan Rae  <rae@lyx.org>
7997
7998         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7999         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8000         There is still a way to segfault this although you may have to do this
8001         multiple times: Have an InsetERT with an unknown command in it.
8002         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8003         <down-arrow>, <Enter> again, View->DVI, BANG!
8004
8005         * text2.C (setCursor):
8006         (deleteEmptyParagraphMechanism):
8007         * lyxtext.h (setCursor):
8008         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8009         Making use of the return value may help fix other bugs.
8010
8011 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8012
8013         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8014
8015         * LyXView.C (updateMenubar): call MenuBar::update here
8016         (updateToolbar): but not here
8017         (showState): do not update toolbar/menubar
8018
8019         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8020         should need to care about that.
8021
8022         * lyxfunc.C (verboseDispatch): simplify a bit
8023         (getStatus): have a version which takes a pseudoaction, and
8024         another which requires a (kb_action,string).
8025
8026         * LyXAction.C (retrieveActionArg): make it work also when action
8027         is not a pseudo-action.
8028         (getActionName): simplify a bit
8029         (helpText):
8030
8031 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8032
8033         * lyxfunc.C (verboseDispatch): new families of methods with
8034         several ways to specify a command and a bool to indicate whether
8035         the command name and shortcut should be displayed in minibuffer
8036         (eventually, we could extend that to a finer bitmask like
8037         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8038         (dispatch): the pristine dispatch command which just, well,
8039         dispatchs! Note it still sets its result to minibuffer; I'm not
8040         sure we want that.
8041
8042         * lyxfunc.h: remove setHintMessage
8043
8044         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8045
8046 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8047
8048         * BufferView_pimpl.C (specialChar): delete new inset if we have
8049         not been able to insert it.
8050
8051         * kbmap.C: revert to using int instead of kb_action, since all we
8052         are dealing with is pseudo-actions.
8053
8054         * LyXAction.C (searchActionArg): change to return int instead of
8055         kb_action, since the result is a pseudoaction.
8056
8057 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8058
8059         * buffer.C (insertErtContents): Fix (partially) the font bug.
8060
8061 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8062
8063         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8064         as the other one is broken on my machine!
8065
8066 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8067
8068         * commandtags.h:
8069         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8070
8071 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8072
8073         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8074         reflect their actual use. Provide compatibility code for older lyxrc
8075         files.
8076
8077         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8078         FL_NORMAL_STYLE.
8079         change names of popup font variables in line with the changes to lyxrc.C
8080
8081 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8082
8083         * buffer.C (asciiParagraph): avoid outputing a word twice after
8084         an inset.
8085
8086         * lyxrc.C (getDescription): document that document_path and
8087         template_path can be empty.
8088
8089 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8090
8091         * LaTeXFeatures.C (getMacros):
8092         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8093
8094         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8095
8096         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8097         getPackages.
8098         (getPackages): rename feature "floats" to "float". Use an array to
8099         iterate over 'simple' features (i.e. just a \usepackage). Add
8100         handling of "amsmath" (renamed from "amsstyle").
8101
8102 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8103
8104         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8105         features list.
8106
8107 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8108
8109         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8110         FuncStaus::FuncStatus & FuncStaus::some_method().
8111
8112 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8113
8114         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8115         of the func_satus stuff. Edited and massaged in various ways by
8116         JMarc.
8117
8118         * lyxfunc.C (getStatus): use FuncStatus
8119
8120 2002-01-08  Juergen Vigna  <jug@sad.it>
8121
8122         * text.C (nextBreakPoint): use function Inset::isChar().
8123
8124         * paragraph.C (TeXOnePar): use function
8125         Inset::forceDefaultParagraphs.
8126
8127         * buffer.C (latexParagraphs): use function
8128         Inset::forceDefaultParagraphs.
8129
8130 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8131
8132         * lyx_gui.C (init): set the style of the menu popups to
8133         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8134
8135 2002-01-07  Juergen Vigna  <jug@sad.it>
8136
8137         * text.C (setHeightOfRow): small fix
8138         (prepareToPrint): don't look at alignment if we don't have the place
8139         for doing it.
8140
8141 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8142
8143         * box.C: New file. Move the Box methods and functions out of box.h,
8144         following Lars' suggestion.
8145
8146 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8147
8148         * box.h: #include "support/LOstream.h", needed for inlined function.
8149
8150         * lyxtextclass.C:
8151         * lyxtextclasslist.C: added some using std declarations.
8152
8153 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * box.h: make signed dimensions to allow insets wider than
8156           the screen (bug #162)
8157
8158         * BufferView_pimpl.C: add some insetHit debug
8159
8160 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * vc-backend.C: add FIXME
8163
8164 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8165
8166         * lyxfunc.C (getStatus): enable code for showing math font status
8167         in toolbar/menu.
8168
8169 2002-01-07  Juergen Vigna  <jug@sad.it>
8170
8171         * text.C (nextBreakPoint): removed debug output not needed anymore.
8172
8173 2002-01-06  Juergen Vigna  <jug@sad.it>
8174
8175         * text.C (nextBreakPoint): fixed up this function we had this bug
8176         since ever but now hopefully we break row better.
8177         (insertChar): we have to check if an inset is the next char as it
8178         could now happen that a large inset is causing a break.
8179
8180 2002-01-05  Juergen Vigna  <jug@sad.it>
8181
8182         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8183         if it doesn't like to be drawed.
8184
8185 2002-01-04  Juergen Vigna  <jug@sad.it>
8186
8187         * BufferView2.C (lockInset): forgot to set a cursor.
8188
8189         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8190
8191 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8192
8193         * FormMathsPanel.C:
8194         * FormMathsPanel.h
8195         * MathsSymbols.C:
8196         * form_maths_panel.C:
8197         * form_maths_panel.h:
8198         * form_maths_panel.fd: implemented sub- and super- buttons in math
8199         panel.
8200
8201         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8202         (or ^ space) to be used as in TeX (req'd by André).
8203
8204         * lyxfunc.C: Allow ^ and _ again to be used both as
8205         super/subscript (mathed) and as themselves (in text).
8206
8207 2002-01-03  Allan Rae  <rae@lyx.org>
8208
8209         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8210         "LyX" or the filename of the current buffer if it has one.  This is a
8211         modified form of John Levon's patch.
8212
8213         * XFormsView.C (setWindowTitle): also set icon title.
8214
8215         * LyXView.h (setWindowTitle): signature changed.
8216         * XFormsView.h (setWindowTitle): ditto.
8217
8218 2002-01-02  Juergen Vigna  <jug@sad.it>
8219
8220         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8221
8222 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * screen.C (topCursorVisible): introduce a temp var for
8225         text->cursor.row(), handle the case where this row is null. (kindo
8226         hachish)
8227
8228         * text2.C (setCursor): add a couple of asserts.
8229
8230         * paragraph.h (inset_iterator): add -> operator
8231
8232         * paragraph.[Ch] (autoDeleteInsets): remove member function
8233
8234         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8235         cursor pos correctly and handle inset deletion by itself.
8236         (insertErrors): move iterator declaration out of for expression
8237
8238         * lyxtextclass.C: add <algorithm>
8239
8240         * Makefile.am: added the new files to sources, removed layout.C
8241
8242         * layout.C: removed file
8243
8244         * layout.h: remove LYX_DUMMY_LAYOUT
8245
8246         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8247         layout.
8248
8249         * lyxlayout.[Ch]:
8250         * lyxtextclass.[Ch]:
8251         * lyxtextclasslist.[Ch]: new files
8252
8253         * include order changes to a lot of files, also changes because of
8254         the six new files.
8255
8256 2001-12-27  Juergen Vigna  <jug@sad.it>
8257
8258         * buffer.C (asciiParagraph): more fixes.
8259
8260         * tabular.C (ascii): make ascii export support export of only the
8261         data separated by a column-delimiter.
8262         (ascii): better support for ascii export.
8263
8264         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8265
8266 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8267
8268         * tabular_funcs.C: use a "using std::getline" instead of the
8269         previous fix from Angus (necessary for cxx + lyxstring)
8270
8271 2001-12-24  Juergen Vigna  <jug@sad.it>
8272
8273         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8274
8275         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8276         problems. First check a minipage also if we have some ert-contents
8277         (not only on par->size(), second set the right depth of the paragraph
8278         on the relink to the root-paragraph-list!
8279
8280         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8281         which then did not anymore update the main paragraphs on undo/redo!
8282
8283 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8284
8285         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8286         code. Support all font-changing funcs (even those which are not in
8287         menu currently). Support for reporting font settings in
8288         mathed (disabled until Andre provides a function on mathed's side).
8289
8290         * func_status.h (toggle): small helper function to set toggle
8291         state on a flag.
8292
8293 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8294
8295         * tabular_funcs.C: getline -> std::getline
8296
8297 2001-12-21  Juergen Vigna  <jug@sad.it>
8298
8299         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8300         accessed and could be 0 (I couldn't generate this but it seems
8301         Michael could!).
8302
8303 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8304
8305         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8306         * tabular_funcs.h: here and include iosfwd
8307
8308 2001-12-20  Juergen Vigna  <jug@sad.it>
8309
8310         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8311         inside inset but undo_par was.
8312
8313 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * Thesaurus.C: always include <config.h> in sources.
8316
8317         * Painter.h:
8318         * lyxlookup.h:
8319         * box.h: do not include <config.h> in header files
8320
8321         * text.C (paintLastRow): remove unused variable
8322
8323         * text.C (transformChar):
8324         (insertChar):
8325         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8326
8327         * Painter.C (text):
8328         * font.C (width): rewrite to use uppercase() instead of
8329         islower/toupper.
8330
8331         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8332
8333 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * lyxfind.C: clean up of find failure position change
8336
8337 2001-12-20  Juergen Vigna  <jug@sad.it>
8338
8339         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8340
8341         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8342         (TeXRow): added to LaTeX a single tabular row.
8343         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8344         (Latex): simplified and finally good LT-h/f support.
8345         (various_functions): just small adaptions for LT-h/f support.
8346
8347         * tabular_funcs.[hC]: added and moved here all not classfunctions
8348         of LyXTabular.
8349
8350 2001-12-19  Juergen Vigna  <jug@sad.it>
8351
8352         * tabular.[Ch]: better support for longtabular options (not finished
8353         yet!)
8354
8355 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8356
8357         * text.C (paintLastRow): use the label font instead of the font of
8358         the last character to compute the size of *_BOX. This makes more
8359         sense and avoids a crash with empty paragraphs.
8360         Use Painter::rectangle to draw EMPTY_BOX.
8361
8362 2001-12-19  Juergen Vigna  <jug@sad.it>
8363
8364         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8365         the paragraphs if the replaced paragraph is not the first one!
8366         Tried to delete not used paragraphs but does not work yet so for
8367         now it's inside #ifdef's and by default off!
8368
8369 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * MenuBackend.C: include "lyx_main.h" instead of declaring
8372         lastfiles (actually was declared as LastFiles* instead of a
8373         scoped_ptr).
8374
8375 2001-12-17  Juergen Vigna  <jug@sad.it>
8376
8377         * tabular.C (AppendColumn): applied John's fix
8378
8379 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8380
8381         * BufferView.h:
8382         * BufferView.C:
8383         * BufferView_pimpl.h:
8384         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8385
8386         * Makefile.am:
8387         * box.h: new start of class for above
8388
8389         * lyxfunc.C: ignore space-only minibuffer dispatches.
8390           Show the command name when it doesn't exist
8391
8392         * minibuffer.C: don't add empty lines to the history
8393
8394         * minibuffer.C: add a space on dropdown completion
8395
8396 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8397
8398         * text.C: fix line above/below drawing in insets
8399
8400 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * lyxlength.C (LyXLength): Initialize private variables.
8403
8404 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8405
8406         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8407         when inserting error insets.
8408
8409 2001-12-13  Juergen Vigna  <jug@sad.it>
8410
8411         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8412         actually sometimes the before-paragraph.
8413         (setUndo): don't clear the redostack if we're not actually undoing!
8414
8415 2001-12-06  Juergen Vigna  <jug@sad.it>
8416
8417         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8418         and fixed redoing of main paragraph, so we can use it now ;)
8419
8420         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8421
8422 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8423
8424         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8425         Juergen's request
8426
8427 2001-12-13  André Pönitz <poenitz@gmx.net>
8428
8429         * undostack.[Ch]:
8430         * undo_func.C: minor cleanup
8431
8432 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8433
8434         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8435         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8436         font in urw-fonts package which is marked as -urw-fontspecific and
8437         does not work (incidentally, changing the encoding in the
8438         fonts.dir of this package to -adobe-fontspecific fixes the
8439         problem).
8440
8441         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8442         is a crash when undoing first paragraph (Juergen, please take a
8443         look). THis does not mean the undo fix is wrong, just that it
8444         uncovers problems.
8445
8446         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8447         the (Paragraph*) version when needed instead of duplicating the
8448         code.
8449
8450         * text.C (workWidth): use Inset::parOwner to find out where the
8451         inset has been inserted. This is a huge performance gain for large
8452         documents with lots of insets. If Inset::parOwner is not set, fall
8453         back on the brute force method
8454
8455         * paragraph_pimpl.C (insertInset):
8456         * paragraph.C (Paragraph):
8457         (cutIntoMinibuffer): set parOwner of insets when
8458         inserting/removing them
8459
8460         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8461
8462 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8463
8464         * commandtags.h:
8465         * LyXAction.C:
8466         * lyx_main.C:
8467         * lyxfunc.C:
8468         * mathed/formulabase.C:
8469         * mathed/math_cursor.[Ch]:
8470         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8471
8472
8473 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8474
8475         * lyxlength.[Ch] (operator!=): new function
8476
8477 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8478
8479         * text.C (workWidth): use Inset::parOwner to find out where the
8480         inset has been inserted. This is a huge performance gain for large
8481         documents with lots of insets. If Inset::parOwner is not set, fall
8482         back on the brute force method
8483
8484         * paragraph_pimpl.C (insertInset):
8485         * paragraph.C (Paragraph):
8486         (cutIntoMinibuffer): set parOwner of insets when
8487         inserting/removing them
8488
8489         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8490
8491 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * tabular-old.C (getTokenValue):
8494         * tabular.C (getTokenValue):
8495         (write_attribute): new versions for LyXLength
8496         (everywhere): adjust the use of widths
8497
8498         * tabular.h: change the type of widths from string to LyXLength
8499
8500 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8501
8502         * paragraph.C: fixed missing line number count when exporting
8503         Environments to LaTeX file
8504
8505         * buffer.C: added informational message for checking line numbers.
8506
8507 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8510         paragraph, do the 'double space' part, but not the 'empty
8511         paragraph' one.
8512
8513         * text.C (workWidth): small optimization
8514         (getLengthMarkerHeight): use minimal size for negative lengths.
8515
8516 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8517
8518         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8519
8520         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8521
8522 2001-12-11  André Pönitz <poenitz@gmx.net>
8523
8524         * FontLoader.C:
8525         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8526
8527 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8528
8529         * text2.C: keep selection on a setFont()
8530
8531 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8532
8533         * lyx_cb.C: another bv->text misuse, from insert label
8534
8535 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8536
8537         * kbsequence.h:
8538         * kbsequence.C: re-instate nmodifier mask
8539
8540 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8541
8542         * lyx_main.h: make lyxGUI private.
8543
8544 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8545
8546         * lyxfind.C: place the cursor correctly on failed search
8547
8548 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * text.C (getLengthMarkerHeight): for small heights, the arrows
8551         are not always on top/bottom of the text
8552         (drawLengthMarker): smaller arrows; take the left margin in
8553         account; draw also vfills.
8554         (paintFirstRow):
8555         (paintLastRow): remove special code for vfill and standard spaces,
8556         since everything is handled in drawLengthMarker now.
8557
8558 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8559
8560         * buffer.C (insertErtContents): try to handle font and language
8561         interaction a bit better.g
8562
8563         * ColorHandler.C (updateColor): change the hash to cover the whole
8564         LColor enum, ws cleanup
8565         (getGCLinepars): ditto
8566         (getGCLinepars): only lookup in the linecache once.
8567
8568 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8569
8570         * iterators.C (operator++): Make the iterator more robust
8571
8572         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8573         (John's patch)
8574         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8575
8576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * lyxtext.h:
8579         * text.C: better added space drawing
8580
8581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * LyXView.C:
8584         * BufferView2.C: fix layout combo update on inset unlock
8585
8586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8587
8588         * Makefile.am: don't compile unused files
8589
8590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8591
8592         * lyxfunc.C:
8593         * commandtags.h:
8594         * LyXAction.C: remove old LFUN_LAYOUTNO
8595
8596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * paragraph_pimpl.h:
8599         * paragraph_pimpl.C: isTextAt() doesn't need font param
8600
8601 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8602
8603         * lyxlex.h:
8604         * lyxlex.C: little cleanup
8605
8606 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * BufferView_pimpl.C: fix insertAscii for insets
8609
8610 2001-12-05  Juergen Vigna  <jug@sad.it>
8611
8612         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8613         set the right font on the "multi" paragraph paste!
8614
8615 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8616
8617         * trans_decl.h:
8618         * trans_mgr.[Ch]:
8619         * trans.[Ch]:
8620         * lyxgluelength.C:
8621         * lyxlength.C: remove out-commented code.
8622
8623         * BufferView_pimpl:
8624         * CutAndPaste.C:
8625         * DepTable.C:
8626         * buffer.C:
8627         * chset.C:
8628         * lastfiles.C:
8629         * lyxlex.C:
8630         * lyxlex_pimpl.C:
8631         * lyxserver.C:
8632         * screen.C:
8633         * tabular-old.C:
8634         * tabular.C:
8635         * text.C:
8636         * trans_mgr.C:
8637         * vc-backend.C: change "while(" to "while ("
8638
8639         * lyxlength.[Ch]: add zero function to check if length is zero or
8640         not
8641         * lyxgluelength.C: use it
8642
8643 2001-12-05  Allan Rae  <rae@lyx.org>
8644
8645         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8646         Works for 2.95.3, from what I understand of Garst's reports this should
8647         work for other g++ versions.  We're screwed if the abs(int) definition
8648         changed between bugfix releases of gcc.
8649
8650 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * text.C: fix chapter label offset !
8653
8654 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * lyxtext.h:
8657         * text.C: fix hfill at end of line, clean up
8658
8659 2001-12-04  Juergen Vigna  <jug@sad.it>
8660
8661         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8662         that we force an update of the inset and it's owners if neccessary.
8663
8664 2001-12-03  Juergen Vigna  <jug@sad.it>
8665
8666         * text.C (rowLast): simplified code
8667
8668 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * lyxfunc.C: fix show options on timeout
8671
8672 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8673
8674         * screen.C (topCursorVisible): scroll half a page when the cursor
8675         reached top of bottom of screen
8676
8677 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * minibuffer.C: deactivate on loss of focus
8680
8681 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8682
8683         * vspace.[Ch] (operator!=): add operator.
8684
8685 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8686
8687         * BufferView_pimpl.C: refuse to open an inset when
8688         there's a selection.
8689
8690 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * BufferView_pimpl.C: allow to click on RHS of full row insets
8693
8694 2001-11-30  Juergen Vigna  <jug@sad.it>
8695
8696         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8697         insets for undo reasons.
8698
8699 2001-11-28  André Pönitz <poenitz@gmx.net>
8700
8701         * vspace.[Ch]: cosmetical changes
8702
8703 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8704
8705         * LyXAction.h:
8706         * LyXAction.C:
8707         * lyxfunc.h:
8708         * lyxfunc.C:
8709         * kbmap.h:
8710         * kbmap.C:
8711         * lyxrc.C:
8712         * kbsequence.h:
8713         * kbsequence.C: part re-write of old kb code
8714
8715         * Painter.C:
8716         * WorkArea.C: remove Lgb_bug_find_hack
8717
8718 2001-11-30  José Matos <jamatos@fep.up.pt>
8719
8720         * buffer.C (makeDocBookFile): add a comment to point a hack.
8721         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8722         Fixed a double write of labels.
8723
8724 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8725
8726         * LaTeX.C:
8727         * LaTeX.h Fixed bug in LaTeX class where it would not
8728         re-run latex if no depfiles were changed, but the .dvi was removed.
8729
8730 2001-11-28  André Pönitz <poenitz@gmx.net>
8731
8732         * all the files from the change on 2001/11/26:
8733         use lyx::layout_type instead of LyXTextClass::size_type
8734         use lyx::textclass_type instead of LyXTextClassList::size_type
8735
8736 2001-11-29  Juergen Vigna  <jug@sad.it>
8737
8738         * text.C: added support for paragraph::isFreeSpacing()
8739
8740         * buffer.C: same as above
8741
8742         * paragraph.h: inserted isFreeSpacing() function to enable
8743         FreeSpacing inside InsetERT.
8744
8745         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8746         of the paragraph's in the cut/copy buffer to 0!
8747
8748         * text2.C (removeRow): remove the assert as it can!
8749
8750         * lyxtext.h: added helper function firstRow returning firstrow and
8751         made firstrow private again.
8752
8753         * BufferView2.C (lockInset): don't relock if we're already locked!
8754
8755         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8756         the only paragraph.
8757         (removeRow): added Assert::(firstrow)
8758
8759         * debug.C: forgot to add INSETTEXT here.
8760
8761 2001-11-28  Juergen Vigna  <jug@sad.it>
8762
8763         * sp_spell.C (initialize): changed error text to more general
8764         spellchecker command use (not only ispell!)
8765
8766         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8767
8768         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8769
8770 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * vspace.C: initialise lyxgluelength on failure
8773
8774 2001-11-28  Allan Rae  <rae@lyx.org>
8775
8776         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8777         declaration & definition that looks like a function declaration.
8778
8779 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8780
8781         * BufferView2.C (copy):
8782         (copyEnvironment): do not clear the selection when doing a copy.
8783
8784         * text.C (paintFirstRow): compilation fix
8785
8786 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8787
8788         * tabular.C (Latex): correct line count when writing latex.
8789
8790 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * paragraph_pimpl.h:
8793         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8794           bug a bit
8795
8796 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * text.C:
8799         * LColor.h:
8800         * LColor.C: change vfillline->added_space
8801
8802         * text.C: add markers and text for added space
8803
8804         * vspace.C: fix comment
8805
8806 2001-11-28  André Pönitz <poenitz@gmx.net>
8807
8808         * paragraph.C: whitespace changes
8809         * all the other files from the change on 2001/11/26:
8810         change *::pos_type into lyx::pos_type
8811
8812 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8813
8814         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8815         language of the document when inserting error insets.
8816
8817 2001-11-26  André Pönitz <poenitz@gmx.net>
8818
8819         * BufferView_pimpl.[Ch]:
8820         *       CutAndPaste.C:
8821         * buffer.[Ch]:
8822         * lyxcursor.[Ch]:
8823         * lyxfind.C:
8824         * lyxfunc.C:
8825         * lyxrow.[Ch]:
8826         * paragraph.[Ch]:
8827         * paragraph_pimpl.[Ch]:
8828         * sp_spell.C:
8829         * text.C:
8830         * text2.C: reduce header dependencies, introduce type for positions
8831
8832 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * <various>: change to use Alert.h
8835
8836 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8837
8838         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8839         when encountering an unknown token.
8840         (readLyXformat2): Show an error message if there were unknown tokens.
8841
8842 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8843
8844         * BufferView2.C:
8845         * BufferView_pimpl.C:
8846         * buffer.C:
8847         * paragraph.h:
8848         * text.C:
8849         * text2.C: use par->isInset()
8850
8851 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * paragraph_pimpl.h:
8854         * paragraph_pimpl.C: cleanup
8855
8856 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8857
8858         * text2.C (removeRow):
8859         * text.C (setHeightOfRow): remove useless (and costly) call to
8860         getRow.
8861
8862 2001-11-20  Allan Rae  <rae@lyx.org>
8863
8864         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8865         Now need Inset*::checkInsertChar() to return true for appropriate
8866         cases so that the characters in the minibuffer will actually be
8867         inserted.
8868
8869 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8870
8871         * text.C: change the order of the includes.
8872         (workWidth): initialize it at once.
8873         (workWidth): make maxw unsigned
8874         (setHeightOfRow): remove unused variable (inset)
8875         (selectSelectedWord): remove unused variable (inset)
8876         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8877
8878 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8879
8880         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8881         server is not running.
8882         (openConnection):
8883         (closeConnection): add debug info when server is disabled.
8884
8885         * ColorHandler.C (getGCForeground): send debug message to GUI
8886         channel.
8887
8888         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8889
8890         * kbmap.C (bind): modify because return conventions of
8891         kb_sequence::parse have changed.
8892
8893         * kbsequence.C (parse): only ignore spaces and not any stupid
8894         control character. This avoids tests like s[i] <= ' ', which are
8895         guaranteed to fail with 8bit characters and signed chars.
8896         Change return code to string::npos when there have been no error
8897         (0 was a bad idea when error is at first character)
8898
8899 2001-11-14  José Matos  <jamatos@fep.up.pt>
8900
8901         * buffer.h:
8902         * buffer.C (simpleDocBookOnePar): removed unused argument.
8903
8904 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8905
8906         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8907         insets which are part of a word. Paragraph::isLetter takes care of
8908         that now. Use Paragraph::isInset to identify insets.
8909         (selectSelectedWord): do not test for hyphenation break.
8910
8911         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8912         that protected spaces are considered as spaces.
8913
8914         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8915         Inset::isLetter.
8916
8917 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * lyxserver.h:
8920         * lyxserver.C: fix it. and small cleanup.
8921
8922 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8923
8924         * BufferView_pimpl.C: use inline helpers
8925
8926         * LaTeXFeatures.h:
8927         * LaTeXFeatures.C: fix typos
8928
8929         * Spacing.h:
8930         * Spacing.C: move spacing_string into class
8931
8932         * ToolbarDefaults.C: move stuff into namespace anon
8933
8934         * layout.h: update enum
8935
8936         * lyxfunc.C: use better debug
8937
8938         * minibuffer.h: fix typo
8939
8940         * debug.h:
8941         * debug.C:
8942         * WorkArea.C: add and use Debug::WORKAREA
8943
8944         * lyxtext.h:
8945         * text.C:
8946         * text2.C: code re-organisation, inline helpers
8947
8948 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8949
8950         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8951         std::vector.empty().
8952
8953 2001-11-09  Allan Rae  <rae@lyx.org>
8954
8955         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8956         '\n's after tables.  Tabular and ERT inset work now makes this no
8957         longer necessary.
8958
8959 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8960
8961         * minibuffer.h:
8962         * minibuffer.C: fix crash, improve drop-down completion
8963
8964 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8965
8966         * lyxserver.h:
8967         * lyxserver.C: invalidate fd's when doing endPipe()
8968
8969 2001-11-08  José Matos  <jamatos@fep.up.pt>
8970
8971         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8972         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8973
8974         * paragraph.h:
8975         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8976
8977 2001-11-07  José Matos  <jamatos@fep.up.pt>
8978
8979         * buffer.h:
8980         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8981         const qualifier.
8982
8983         * buffer.C (sgmlOpenTag):
8984         * buffer.C (sgmlCloseTag): removed debug info.
8985
8986         * buffer.h (sgmlOpenTag):
8987         * buffer.h (sgmlCloseTag): made public.
8988
8989 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8990
8991         * buffer.C (saveParamsAsDefaults):
8992         * lyx_cb.C (MenuLayoutSave): remove
8993
8994         * LyXAction.C (init):
8995         * commandtags.h:
8996         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8997
8998 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8999
9000         * buffer.C (setPaperStuff): removed from here...
9001
9002         * bufferparams.C (setPaperStuff): ... and moved there.
9003
9004 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * minibuffer.h:
9007         * minibuffer.C:
9008         * XFormsView.C: add support for drop-down completion
9009
9010 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9011
9012         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9013         commands.
9014
9015 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9016
9017         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9018         disabled.
9019
9020 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * lyx_main.C: change ref to known bugs
9023
9024 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9025
9026         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9027         to work around older babel problems.
9028
9029 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9030
9031         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9032
9033 2001-10-24  Juergen Vigna  <jug@sad.it>
9034
9035         * tabular-old.C (ReadOld): below variable changes reflected.
9036
9037         * tabular.[Ch]: added ltType struct for longtable header/footer
9038         defines and changed all instances where they are used. Added
9039         future support for double top/bottom rows.
9040
9041 2001-10-24  José Matos  <jamatos@fep.up.pt>
9042
9043         * buffer.h (docbookHandleCaption):
9044         * buffer.C (docbookHandleCaption): removed unused function.
9045         (makeDocBookFile): moved docbook supported version to v4.1.
9046
9047 2001-10-24  José Matos  <jamatos@fep.up.pt>
9048
9049         * tabular.h:
9050         * tabular.C (docbookRow): new function to export docbook code of a row.
9051         (DocBook): now honors the longtable flags.
9052
9053 2001-10-23  José Matos  <jamatos@fep.up.pt>
9054
9055         * LaTeXFeatures.h:
9056         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9057         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9058
9059         * buffer.C (makeLinuxDocFile):
9060         (makeDocBookFile): reworked the preamble, more clean, and with
9061         support for lyx defined entities. Changed the document declaration
9062         to be more XML friendly.
9063
9064         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9065         if we need to output XML that should be done with a filter.
9066
9067 2001-10-22  Juergen Vigna  <jug@sad.it>
9068
9069         * sp_pspell.h (class PSpell): add alive function needed in the
9070         controller to see if the spellchecker could be started.
9071
9072 2001-10-22  Juergen Vigna  <jug@sad.it>
9073
9074         * buffer.C (insertStringAsLines): modify the font for inserting
9075         chars in certain conditions by calling checkInsertChar(font).
9076
9077 2001-10-19  Juergen Vigna  <jug@sad.it>
9078
9079         * text.C (workWidth): use getRow instead of wrong algorithm.
9080         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9081
9082 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * lyxserver.h:
9085         * lyxserver.C:
9086         * lyx_main.h:
9087         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9088
9089 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9090
9091         * text.C (workWidth): do not search for the exact row when
9092         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9093         optimization for big documents.
9094
9095 2001-10-18  Juergen Vigna  <jug@sad.it>
9096
9097         * text.C (workWidth): new function with added Inset * parameter.
9098
9099 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9100
9101         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9102
9103         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9104         change return type of getColumnNearX.
9105
9106
9107         * text.C (changeRegionCase): use uppercase/lowercase instead of
9108         toupper/tolower.
9109         (leftMargin):
9110         (rightMargin): simplify code by factoring out the uses of
9111         textclasslist.
9112         (labelFill):
9113         (numberOfHfills):
9114         (setHeightOfRow):
9115         (appendParagraph): use Paragraph::size_type
9116
9117 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9118
9119         * vspace.C (asLatexString): add a missing break
9120
9121 2001-10-15  Herbert Voss  <voss@perce.de>
9122
9123         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9124
9125 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9126
9127         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9128         is not available.
9129
9130 2001-10-10  André Pönitz <poenitz@gmx.net>
9131
9132         * lyxfunc.C: removed greek_kb_flag.
9133
9134 2001-10-10  Herbert Voss  <voss@perce.de>
9135
9136         * lyx_main.C: delete global string help_lyxdir.
9137
9138 2001-10-09  Herbert Voss  <voss@perce.de>
9139
9140         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9141
9142         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9143
9144         * lyx_main.C: added global string help_lyxdir.
9145
9146         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9147
9148 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9149
9150         * lyxrc.C (set_font_norm_type): support iso8859-4
9151
9152 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9153
9154         * LaTeX.C (deplog): add another regex for MikTeX
9155
9156 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9157
9158         * lyxrc.C (set_font_norm_type): support iso8859-3
9159
9160 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9161
9162         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9163
9164         * LaTeXFeatures.C: remove special case of french and index
9165
9166         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9167         before \begin{document}). This solves several incompatibilities.
9168
9169 2001-10-03  Garst Reese  <reese@isn.net>
9170
9171         * lyx_cb.C: change CheckTex error msg.
9172
9173 2001-10-03  José Matos  <jamatos@fep.up.pt>
9174
9175         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9176
9177 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9178
9179         * .cvsignore: update
9180
9181         * lyx_main.C (commandLineVersionInfo): use new style version info.
9182
9183         * buffer.C (writeFile):
9184         (makeLaTeXFile):
9185         (makeLinuxDocFile):
9186         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9187
9188         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9189
9190         * version.h: update to use stuff in version.C
9191
9192         * version.C.in: new file. Contains version information determined
9193         at compile time. This is a merging of version.h and
9194         version_info.h.in.
9195
9196 2001-10-03  Juergen Vigna  <jug@sad.it>
9197
9198         * BufferView_pimpl.C (update): don't change "dirty" status in
9199         updateInset call.
9200
9201 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9202
9203         * WorkArea.C (c-tor): re-position version string slightly.
9204
9205 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9206
9207         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9208         revert to previous code.
9209
9210         WorkArea.[Ch]: (show, destroySplash): methods removed.
9211
9212         WorkArea.C: rework code so that it's an amalgam of the codes before and
9213         after the splash screen was moved to WorkArea.
9214
9215 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9216
9217         * lyxrc.C (read):
9218         * vspace.C (inPixels):
9219         (lyx_advance):
9220         * kbmap.C (bind):
9221         * buffer.C (insertStringAsLines):
9222         (asciiParagraph): fix types to be large enough
9223
9224         * lyxlex_pimpl.h: change member status from short to int
9225
9226         * layout.h: fix type of endlabeltype
9227
9228         * kbmap.C (bind):
9229         * kbsequence.C (parse): change return type to string::size_type
9230
9231         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9232         variable
9233
9234         * Bullet.C (bulletSize):
9235         (bulletEntry): do not use short ints as parameters
9236
9237         * BufferView2.C (insertLyXFile): change a char to an int.
9238
9239         * WorkArea.C (WorkArea): remove unneeded floats in computation
9240
9241 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9242
9243         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9244
9245         * paragraph.C (asString): Do not ignore newline/hfill chars when
9246         copying to the clipboard.
9247
9248 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9249
9250         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9251         after a multi-line inset.
9252
9253 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9254
9255         * paragraph.C (validate): Set NeedLyXFootnoteCode
9256
9257 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9258
9259         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9260         and decrease-error to decrease.
9261
9262 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9263
9264         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9265         it more readable (should be equivalent)
9266
9267 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9268
9269         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9270
9271 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9272
9273         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9274         of a cursor (row, etc.) after a character has been deleted
9275         (deleteEmptyParagraphMechanism): call the method above on _all_
9276         cursors held by the LyXText when a double space has been
9277         detected/deleted.
9278
9279 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9280
9281         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9282         pixmap.
9283         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9284
9285         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9286         background. Use greyOut() and the new show() methods to toggle between
9287         the foreground and background. Add code to remove the splash after
9288         its initial showing.
9289
9290         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9291         (create_forms): no longer call Dialogs::showSplash.
9292
9293 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9294
9295         * .cvsignore: add version_info.h
9296
9297 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9298
9299         * version_info.h.in: new file
9300
9301         * Makefile.am: add version_info.h.in
9302
9303         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9304         version_info.h instead of VERSION_INFO
9305
9306 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9307
9308         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9309         The ERT inset now returns string().
9310
9311 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9312
9313         * lyxtext.h, text.C (selectNextWord): renamed as
9314         selectNextWordToSpellcheck.
9315
9316         * text.C (selectNextWordToSpellcheck): Modified to not select
9317         words inside an ERT inset.
9318
9319 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9320
9321         * lyx_cb.C (MenuLayoutSave): change a bit the question
9322
9323         * sp_base.h: include <sys/types.h>
9324
9325 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9326
9327         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9328
9329 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9330
9331         * several files: fix typos in user-visible strings
9332
9333 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9334
9335         * text2.C (pasteSelection): do not set the selection, since it
9336         will be cleared later. Actually, the intent was to fix the way the
9337         selection was set, but I figured rmoving the code was just as good.
9338
9339 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9340
9341         * FontLoader.C (available): Check if font is available without
9342         loading the font.
9343
9344 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9345
9346         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9347
9348 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9349
9350         * lyxrc.[Ch]: added display_graphics variable and associated code.
9351
9352 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9353
9354         * bufferparams.C (hasClassDefaults): new method. Returns true if
9355         the buffer parameters correspond to known class defaults
9356
9357 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * XFormsView.C (show): set minimum size to the main window.
9360
9361 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9362
9363         * text2.C (copySelection):
9364         (cutSelection):
9365         * lyxfind.C (LyXReplace):
9366         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9367         LyXText::selectionAsString.
9368
9369         * paragraph.C (asString): add "label" argument to the second form
9370
9371         * text2.C (selectionAsString): add "label" argument and pass it to
9372         Paragraph::asString.
9373
9374 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9375
9376         * lyx_main.C (commandLineHelp): remove version information
9377
9378 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9379
9380         * lyx_main.C: add -version commandline option
9381
9382 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * paragraph.h: make the optional constructor arg required instead.
9385         some modifications to other files because of this.
9386
9387         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9388
9389         * lyxserver.C (C_LyXComm_callback): make it static
9390
9391         * lyx_main.C (error_handler): make it static
9392
9393         * lyx_gui.C (LyX_XErrHandler): make it static
9394
9395         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9396
9397         * WorkArea.C: make the extern "C" methods static.
9398
9399         * Makefile.am (lyx_LDADD): simplify
9400
9401 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9402
9403         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9404         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9405
9406         * LyXAction.C (init):
9407         * lyxfunc.C (dispatch): associated code removal.
9408
9409 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9410
9411         * lyxfont.h (isSymbolFont): shut off warning
9412
9413         * text.C (setHeightOfRow):
9414         (getVisibleRow): fix crash with empty paragraphs which have a
9415         bottom line
9416
9417 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9418
9419         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9420         code.
9421
9422 2001-09-04  José Matos  <jamatos@fep.up.pt>
9423         * buffer.C
9424         * buffer.h
9425         * tabular.C (docbook): rename docBook method to docbook.
9426
9427 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9428
9429         * Makefile.am: add dependencies to main.o.
9430
9431 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9432
9433         * FontLoader.C (available): Return false if !lyxrc.use_gui
9434
9435 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9436
9437         * FontInfo.C (query):
9438         * converter.C (view):
9439         * importer.C (Import):
9440         * exporter.C (Export): Can not -> cannot.
9441
9442 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9443
9444         * BufferView_pimpl.C: allow to create index inset even if
9445           string is empty
9446
9447 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9448
9449         * buffer.C (getLists): replace boost::tie code with an explicit pair
9450         as boost::tie can break some compilers.
9451
9452         * iterators.h: Added a std:: declaration to the return type of
9453         ParIterator::size.
9454
9455 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9456
9457         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9458           case.
9459
9460 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9461
9462         * iterators.[Ch]: New files. Provide paragraph iterators.
9463
9464         * buffer.C (changeLanguage): Use paragraph iterators.
9465         (isMultiLingual): ditto
9466
9467         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9468
9469 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9470
9471         * FontLoader.C: Support for cmr font.
9472
9473 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9474
9475         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9476         (available): New method.
9477
9478         * FontInfo.C (getFontname): Use scalable fonts even when
9479         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9480         found.
9481
9482 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9483
9484         * converter.C (Formats::view): reverted! Incorrect fix.
9485
9486 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9487
9488         * converter.C (Formats::view): only output the -paper option
9489         if the dvi viewer is xdvi, thereby fixing bug #233429.
9490
9491 2001-08-23  Herbert Voss  <voss@perce>
9492
9493         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9494
9495 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9496
9497         * Spacing.h (Spacing): Set space to Default on in the default
9498         constructor.
9499
9500 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9501
9502         * vc-backend.h (RCS::versionString): add RCS to version
9503         (CVS::versionString): add CVS to version
9504
9505         * vc-backend.C (scanMaster): do not add CVS to version.
9506         (scanMaster): do not add RCS to version
9507
9508         * lyxvc.C (versionString): new method
9509
9510         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9511
9512 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9513
9514         * Spacing.C (set): initialize fval
9515
9516 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9517
9518         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9519         " or \.
9520
9521 2001-08-16  Juergen Vigna  <jug@sad.it>
9522
9523         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9524
9525 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9526
9527         * BufferView_pimpl.C:
9528         * figureForm.C:
9529         * lyxtext.h:
9530         * text2.C: setParagraph takes linespacing now
9531
9532 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * LyxAction.C: add internal LFUN_CITATION_INSERT
9535
9536         * LyXView.C: actually apply fix
9537
9538         * bufferlist.C: fix open non-existent file
9539
9540         * lyxfind.C: fix indentation
9541
9542         * lyxfunc.C: remove unneeded assert, fix typo
9543
9544 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * MenuBackend.C: use "Floatname List"
9547
9548 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9551         when converting LaTeX layout to insetERT.
9552         Generate a non-collapsed float when reading old float
9553
9554 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9555
9556         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9557         ERT insets.
9558
9559 2001-08-13  Juergen Vigna  <jug@sad.it>
9560
9561         * text.C (fill): return 0 instead of 20 as this seems to be the more
9562         correct value.
9563
9564 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9565
9566         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9567         lyxrc.font_norm.
9568
9569 2001-08-13  Juergen Vigna  <jug@sad.it>
9570
9571         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9572         casesensitive off.
9573         (SearchBackward): comment out the unlocking of the inset_owner this
9574         should not be needed!
9575
9576 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9577
9578         * Many files: Remove inherit_language, and add latex_language
9579
9580         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9581         collapsible insets.
9582
9583 2001-08-10  Juergen Vigna  <jug@sad.it>
9584
9585         * text.C (prepareToPrint): fixed hfill-width in draw!
9586
9587         * BufferView2.C (selectLastWord): save the selection cursor as this
9588         now is cleared in the function LyXText::clearSelection!
9589
9590 2001-08-08  Juergen Vigna  <jug@sad.it>
9591
9592         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9593         BACKSPACE type functions.
9594
9595         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9596         is only cutted from the document but not put in the cut-buffer, where
9597         still the old stuff should be.
9598
9599         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9600
9601         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9602
9603         * tabular.C (SetWidthOfCell): fixed special case where the width
9604         was not updated!
9605         (LeftLine): handle '|' in align_special.
9606         (RightLine): ditto
9607         (LeftAlreadyDrawed): ditto
9608         (SetWidthOfCell): ditto
9609
9610 2001-08-07  Juergen Vigna  <jug@sad.it>
9611
9612         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9613
9614 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9617         * lyxlex.[hC]: ditto
9618
9619 2001-08-06  Juergen Vigna  <jug@sad.it>
9620
9621         * text.C (getVisibleRow): fix up row clearing a bit.
9622
9623 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * minibuffer.C: make sure the X server sees the changes in the input.
9626
9627 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9628
9629         * paragraph.C (getFont): split into...
9630         (getLabelFont): this
9631         (getLayoutFont): and this
9632         * paragraph_pimpl.C (realizeFont): calling this
9633
9634         * text2.C (getFont): split into...
9635         (getLayoutFont): this
9636         (getLabelFont): and this
9637         (realizeFont): all three calling this
9638
9639         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9640         files where used.
9641
9642 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9643
9644         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9645
9646 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9647
9648         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9649         layouts from the Quote inset insertion.
9650
9651 2001-08-03  Juergen Vigna  <jug@sad.it>
9652
9653         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9654
9655         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9656         only if status not is already CHANGED_IN_DRAW (second level).
9657
9658         * text.C (draw): don't set the need_break_row when inside an
9659         InsetText LyXText.
9660
9661 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9662
9663         * buffer.C (parseSingleLyXformat2Token): handle more latex
9664         conversion cases.
9665
9666         * bufferview_funcs.[hC]: change function names to
9667         begin with small char, adjust other files.
9668
9669 2001-08-02  André Pönitz <poenitz@gmx.net>
9670
9671         * lyxfunc.C:
9672         BufferView_pimpl.C: remove broken special code for math-greek
9673
9674 2001-08-02  Juergen Vigna  <jug@sad.it>
9675
9676         * BufferView_pimpl.C (update): redone this function so that we
9677         update the text again if there was a CHANGE_IN_DRAW.
9678
9679         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9680         (drawFromTo): added a new internal bool which is used by draw() and
9681         redraw() function.
9682         (general): some cursor drawing problems fixed.
9683
9684 2001-08-01  Juergen Vigna  <jug@sad.it>
9685
9686         * lyxfind.C (LyXFind): fixed
9687         (SearchForward): ditto
9688         (SearchBackward): ditto
9689
9690         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9691         spurius drawing of the cursor in the main area.
9692
9693         * text2.C (status): small fix which could lead to a segfault!
9694         (clearSelection): remove unneeded BufferView param.
9695
9696 2001-08-01  André Pönitz <poenitz@gmx.net>
9697
9698         * lyxfunc.C: small change due to changed mathed interface
9699
9700 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9701
9702         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9703
9704 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * lyxfunc.c: fail gracefully if file doesn't exist
9707
9708         * LyXSendto.C:
9709         * buffer.C:
9710         * lyxfunc.C:
9711         * BufferView_pimpl.C: IsDirWriteable() proto changed
9712
9713         * LyXView.C: fix updateWindowTitle() to store the last title
9714
9715 2001-07-31  Juergen Vigna  <jug@sad.it>
9716
9717         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9718         the font (wrong since using of Paragraph::highestFontInRange).
9719
9720         * paragraph.C (highestFontInRange): added a default_size parameter.
9721
9722         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9723         (setHeightOfRow): reformat
9724
9725 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9726
9727         * converter.[hC] + affected files: move to (inital-char)lowercase
9728         function names.
9729
9730         * ParagraphParameters.C (ParagraphParameters): remove commented code
9731
9732         * PainterBase.[Ch]: remove commented code
9733
9734         * LaTeXFeatures.h: add "bool floats" for float.sty
9735
9736         * LaTeXFeatures.C (LaTeXFeatures): init floats
9737         (require): handle float
9738         (getPackages): do it with floats
9739
9740 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9741
9742         * BufferView_pimpl.C (Dispatch): improve handling of
9743         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9744
9745         * commandtags.h: #include lyxfont.h here temporarily to avoid
9746         keybinding bug.
9747
9748         * bufferlist.h: include LString.h here.
9749
9750 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9751
9752         * text2.C (getStringToIndex): new method.
9753
9754 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9755
9756         * *: Reduced header file dependencies all over.
9757
9758 2001-07-30  Baruch Even  <baruch@lyx.org>
9759
9760         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9761
9762 2001-07-29  Baruch Even  <baruch@lyx.org>
9763
9764         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9765
9766 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * ParameterStruct.h (endif): add a default constructor to make
9769         sure that all variables is initialized.
9770
9771         * ParagraphParameters.C (ParagraphParameters): adjust
9772
9773 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9774
9775         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9776         index; also, check that there is something to index, and that it
9777         does not span over several paragraphs.
9778         (doubleClick): use WHOLE_WORD_STRICT for double click.
9779
9780         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9781
9782         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9783         scheme.
9784
9785 2001-07-26  Baruch Even  <baruch@lyx.org>
9786
9787         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9788         an InsetFig figure, backwards compatible reading of old figure code.
9789
9790 2001-07-27  Juergen Vigna  <jug@sad.it>
9791
9792         * text2.C: font.realize function adaption.
9793
9794         * text.C (draw): add a warnings lyxerr text if needed.
9795
9796         * layout.C: font.realize function adaption.
9797
9798         * language.C: add inherit_language and implement it's handlings
9799
9800         * bufferview_funcs.C (StyleReset): remove language parameter from
9801         font creation (should be language_inherit now).
9802
9803         * bufferparams.C (writeFile): handle ignore_language.
9804
9805         * paragraph.C (getFontSettings): the language has to be resolved
9806         otherwise we have problems in LyXFont!
9807
9808         * lyxfont.C (lyxWriteChanges): added document_language parameter
9809         (update): removed unneeded language parameter
9810
9811         * paragraph.C (validate): fixed wrong output of color-package when
9812         using interface colors for certain fonts in certain environments,
9813         which should not seen as that on the final output.
9814
9815 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * BufferView_pimpl.C:
9818         * Thesaurus.h:
9819         * Thesaurus.C:
9820         * Makefile.am:
9821         * commandtags.h:
9822         * LyXAction.C: add thesaurus support
9823
9824         * lyxfind.h:
9825         * lyxfind.C: add "once" parameter, for thesaurus, to not
9826           move to the next match
9827
9828 2001-07-26  Juergen Vigna  <jug@sad.it>
9829
9830         * lyxfont.C (realize): honor ignore_language too!
9831         (resolved): ditto.
9832
9833         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9834
9835         * text.C (draw): one place more for ignore_language to not draw
9836         itself!
9837
9838 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9839
9840         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9841
9842 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9845         the minipage conversion problem.
9846
9847 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9848
9849         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9850         insert an inset.
9851
9852 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * BufferView.h: don't forward declare WorkArea
9855
9856         * BufferView.C: don't include WorkArea.h
9857
9858 2001-07-25  André Pönitz <poenitz@gmx.net>
9859
9860         * commandtags.h:
9861         * LyXAction.C:
9862         * lyxfunc.C:  new LFUN 'math-space'
9863
9864         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9865
9866 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9867
9868         * text2.C (toggleInset): call open/close
9869
9870 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9871
9872         * lyxfunc.C (dispatch): add debug for the disabled case
9873
9874         * font.C (buttonText): make similar to rectText
9875
9876         * buffer.C (readInset): comment out parsing of insetlist and
9877         insttheorem
9878
9879         * PainterBase.C (rectText): small correction
9880
9881         * BufferView_pimpl.C: comment out insettheorem and insetlist
9882         * LyXAction.C: ditto
9883         * commandtags.h: ditto
9884
9885 2001-07-24  Juergen Vigna  <jug@sad.it>
9886
9887         * text.C (draw): honor the ignore_language.
9888
9889         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9890
9891 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9892
9893         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9894         char inset.
9895
9896 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9897
9898         * lyxtext.h: remove unused (and unimplemented) methods
9899
9900 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9901
9902         * text.C (getVisibleRow): honor background color
9903
9904         * PainterBase.h:
9905         * Painter.h: remove default color argument for fillRectangle
9906
9907         * text.C (backgroundColor): new method
9908
9909 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9910
9911         * text.C (getVisibleRow): adjust
9912
9913         * font.[Ch] (rectText): new method, metrics
9914         (buttonText): new method, metrics
9915
9916         * PainterBase.[hC]: make rectText and buttonText always draw and take
9917         fewer paramteres.
9918
9919 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9920
9921         * ToolbarDefaults.C (read):
9922         * MenuBackend.C (read): allow escaping in all strings
9923
9924         * BufferView_pimpl.C (insertAndEditInset): new method.
9925         (Dispatch): use insertAndEditInset whenever appropriate.
9926
9927         * BufferView_pimpl.C (insertNote): removed
9928
9929         * BufferView_pimpl.C (smartQuote): new method, moved from
9930         BufferView; if an insetquote cannot be inserted, insert a '"'
9931         character instead.
9932
9933         * BufferView2.C: remove insertCorrectQuote();
9934
9935         * lyxfunc.C (getStatus): Add support for all remaingin
9936         inset-insert lfuns.
9937
9938         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9939
9940         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9941         command (necessary to pass " as parameter of self-insert.
9942
9943         * text.C (selectWordWhenUnderCursor):
9944         (selectWord): add word_location parameter
9945         (selectWordWhenUnderCursor): same + remove special code for word
9946         boundary.
9947         (selectNextWord): use kind() to guess type of insetspecialchar,
9948         not latex().
9949
9950         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9951         (insertErtContents): create ert insets as collapsed.
9952         (readInset): better compatibility code for Info inset.
9953
9954 2001-07-20  Juergen Vigna  <jug@sad.it>
9955
9956         * lyxfunc.C (dispatch): use always LyXFind now!
9957
9958         * text2.C (init): add a reinit flag so that the LyXText can be
9959         reinited instead of deleted and reallocated (used in InsetText).
9960
9961         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9962
9963         * text.C: ditto
9964
9965         * text2.C: ditto
9966
9967 2001-07-18  Juergen Vigna  <jug@sad.it>
9968
9969         * text.C (selectNextWord): handle insets inside inset by calling
9970         always the bv->text functions so that we can go up the_locking_inset!
9971
9972         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9973         in strange locations when inside an inset!
9974
9975         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9976         handling to include insets.
9977
9978         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9979
9980 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9981
9982         * LyXAction.C (init):
9983         * commandtags.h:
9984         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9985         LIGATURE_BREAK, since the name is so stupid.
9986
9987 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9988
9989         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9990         InsetInfos.
9991
9992         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9993
9994         * sp_form.[Ch]: remove.
9995
9996         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9997
9998         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9999         InsetInfo.
10000
10001         * src/buffer.C (readInset): ditto.
10002
10003 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10004
10005         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10006         menuSeparator(), endOfSentenceDot(), ldots() and
10007         hyphenationPoint(), which are therefore removed.
10008         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10009
10010         * LyXAction.C (init):
10011         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10012
10013         * paragraph.C (getWord): removed.
10014
10015         * BufferView_pimpl.C (Dispatch): use last word or selection for
10016         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10017
10018         * lyx_main.C (queryUserLyXDir): do not ask before creating
10019         user_dir, except if it has been named explicitely.
10020
10021 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10022
10023         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10024         a document of zero size.
10025
10026 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10029         approriately in the c-tor and in require().
10030         (getPackages): output the appropriate LaTeX for natbib support.
10031
10032         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10033         variables "use_natbib" and "use_numerical_citations" when reading the
10034         LyX file.
10035         (readInset): read the various natbib cite commands.
10036         (validate): white-space change.
10037
10038         * bufferparams.[Ch]: new variables "bool use_natbib" and
10039         "bool use_numerical_citations".
10040         (writeFile): output them in the LyX file.
10041
10042 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10043
10044         * lyxfunc.C (getStatus): add support for all the inset insertion
10045         commands.
10046
10047         * text2.C (insertInset):
10048         * paragraph.C (insetAllowed):
10049         * BufferView_pimpl.C (insertInset): update to take in account the
10050         renaming of insertInsetAllowed
10051
10052         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10053
10054         * text2.C (getInset): new method. returns inset at cursor position.
10055
10056         * BufferView_pimpl.C (Dispatch): changes because of this.
10057
10058         * LyXAction.C (init): rename open-stuff to inset-toggle.
10059
10060         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10061
10062         * text2.C (toggleInset): renamed from openStuff; use
10063         Inset::open().
10064
10065 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10066
10067         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10068
10069         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10070
10071 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10072
10073         * buffer.C (readLyXformat2): Add filename to the error dialog
10074
10075 2001-07-18  Juergen Vigna  <jug@sad.it>
10076
10077         * tabular.C (GetCellNumber): put an assert here instead of the check!
10078
10079 2001-07-17  Juergen Vigna  <jug@sad.it>
10080
10081         * BufferView_pimpl.C (toggleSelection): adapted too.
10082
10083         * text.C (selectNextWord): adapted for use with insets.
10084         (selectSelectedWord): ditto
10085
10086 2001-07-17  Juergen Vigna  <jug@sad.it>
10087
10088         * sp_spell.C (PSpell): fix initialitation order.
10089
10090 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10091
10092         * paragraph.C: spacing
10093
10094 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10095
10096         * sp_spell.C: repair language selection for pspell
10097
10098 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * lyxfunc.h: change more methods to begin with lower char.
10101
10102 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10103
10104         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10105         for unknown layouts.
10106
10107 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10108
10109         * buffer.C (readLyXformat2): Generate an error dialog if there are
10110         unknown layouts.
10111
10112 2001-07-16  Juergen Vigna  <jug@sad.it>
10113
10114         * sp_spell.C: always compile ISpell part.
10115
10116         * lyxrc.C: added use_pspell entry and it's handling.
10117
10118 2001-07-13  Juergen Vigna  <jug@sad.it>
10119
10120         * sp_spell.C: removed double includes.
10121
10122 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10123
10124         Consistent use of Lsstream.h:
10125         * Lsstream.h: added using std::stringstream for consistencies sake.
10126
10127         * buffer.C: removed using std::stringstream
10128
10129         * lyxfont.C (stateText):
10130         * paragraph.C (asString):
10131         * text.C (selectNextWord, selectSelectedWord):
10132         * text2.C (setCounter):
10133         * vspace.C (asString, asLatexString):
10134         std::ostringstream -> ostringstream.
10135
10136 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10137
10138         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10139         * commandtags.h: add LFUN_HELP_ABOUTLYX
10140         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10141
10142 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10143
10144         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10145         cursorToggle()
10146         * lyx_gui_misc.C: remove spellchecker
10147         * lyxfunc.C: showSpellchecker
10148         * sp_base.h: added
10149         * sp_ispell.h: added
10150         * sp_pspell.h: added
10151         * sp_spell.C: added
10152         * sp_form.[Ch]: removed
10153         * spellchecker.[Ch]: removed
10154
10155 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10156
10157         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10158         is set.
10159         (simpleTeXSpecialChars): Simply print the input character without
10160         any special translation if pass_thru is set.
10161
10162         * layout.h: Added bool pass_thru to layout class for being able to
10163         implement pass through of a paragraph for Literate Programming.
10164
10165         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10166         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10167         * layout.C (Read): add "passthru" to list of layout tags and add
10168         code to set the pass_thru boolean when it is read.
10169
10170 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10171
10172         * trans_decl.h: remove allowed from KmodInfo
10173
10174         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10175         remove allowed code
10176         (Load): adjust
10177
10178         * paragraph_pimpl.C (erase): use boost::prior
10179
10180         * Painter.C (text): use data() instead of c_str() when length is
10181         also provided.
10182         * WorkArea.C (putClipboard): ditto
10183         * font.h (width): ditto
10184
10185         * BufferView2.C: use it-> instead of (*it). for iterators
10186         * texrow.C: ditto
10187         * paragraph_pimpl.C: ditto
10188         * paragraph.C: ditto
10189         * minibuffer.C: ditto
10190         * language.C: ditto
10191         * kbmap.C: ditto
10192         * encoding.C: ditto
10193         * counters.C: ditto
10194         * converter.C: ditto
10195         * chset.C: ditto
10196         * Variables.C: ditto
10197         * TextCache.C: ditto
10198         * MenuBackend.C: ditto
10199         * LyXAction.C: ditto
10200         * LColor.C: ditto
10201         * FloatList.C: ditto
10202         * DepTable.C: ditto
10203         * ColorHandler.C (LyXColorHandler): ditto
10204
10205 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10206
10207         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10208
10209         * text2.C (openStuff): reintroduce this method (which had been
10210         nuked in NEW_INSETS frenzy).
10211
10212         * lyxfunc.C (Dispatch): when an action has not been handled, use
10213         its name in the error message, not its number.
10214
10215         * paragraph.C (inInset): change method name to begin with lowercase.
10216
10217         * undo_funcs.C:
10218         * text2.C: updates because of this.
10219
10220 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10221
10222         * ToolbarDefaults.C (add): add spaces in error message
10223
10224 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10227         (readLyXformat2): rename return_par to first_par, use lyxlex's
10228         pushToken and remove the manual push handling.
10229         (parseSingleLyXformat2Token): add another ert comp. variable:
10230         in_tabular, rename return_par to first_par. handle newlines better
10231
10232 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10235
10236 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10237
10238         * text2.C (getParFromID): removed
10239
10240         * buffer.C (getParFromID): new method moved form lyxtext.
10241         * BufferView2.C (insertErrors): adjust
10242         (setCursorFromRow): adjust
10243         * BufferView_pimpl.C (restorePosition): adjust
10244         * lyxfunc.C (Dispatch): adjust
10245         * undo_funcs.C (textUndo): adjust
10246         (textRedo): adjust
10247         (textHandleUndo): adjust
10248         (textHandleUndo): adjust
10249
10250 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * buffer.C: up' the LYX_FORMAT
10253
10254         * lyxfont.h: turn NO_LATEX on as default
10255
10256         * buffer.C (insertErtContents): new methods of tex style compability.
10257         (parseSingleLyXformat2Token): use it several places.
10258         * tabular.C (OldFormatRead): and here
10259
10260 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10261
10262         * text2.C: remove some commented code.
10263         reindent file.
10264
10265         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10266         * trans.C: changes because of the above.
10267
10268 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10269
10270         * text2.C (setCounter): Fix counters bug with bibliography layout.
10271
10272 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10275         own member functions
10276         (simpleTeXSpecialChars): ditto
10277
10278 2001-07-06  Juergen Vigna  <jug@sad.it>
10279
10280         * a lot of files: changed the access to LyXText::status and the
10281         call of undo-functions.
10282
10283         * undo.[Ch]: added a inset_id to the undo informations.
10284
10285         * undo_funcs.[Ch]: added and moved here all undo functions.
10286
10287         * lyxtext.h: give the status enum a weight, made status_ a private
10288         variable and made accessor functions for it, removed the whole bunch
10289         of undo-functions as they are now in their own file, make some
10290         functions publically available. Added function ownerParagraph with
10291         int parameter.
10292
10293         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10294         made InInset() a const function, added getParFromID() function.
10295
10296         * buffer.[Ch]: added const version for inset_iterator functions,
10297         added getInsetFromID() function.
10298
10299         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10300         changed undo functions for new version.
10301
10302 2001-07-05  Juergen Vigna  <jug@sad.it>
10303
10304         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10305         unknow mechanism does not call the proper constructor but only this
10306         one also if I request the other!?
10307
10308 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10309
10310         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10311
10312         * text2.C (LyXText): use initialization lists.
10313
10314         * lyxtext.h (Selection): initialize set_ and mark_
10315         (init): remove method
10316
10317 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10320
10321 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * screen.[Ch]: change method names to begin with lowercase
10324
10325         * BufferView_pimpl.C (updateScrollbar): simplify further and
10326         hopefully make it a bit faster.
10327
10328 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10331         calling directly xforms functions.
10332
10333         * Painter.C (Painter):
10334         * lyx_cb.C (MenuWrite):
10335         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10336         fl_display.
10337
10338         * lyx_gui.C: remove bogus guiruntime extern declaration.
10339
10340 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10343         in NEW_INSETS
10344         (redoDrawingOfParagraph): ditto
10345         (redoParagraphs): ditto
10346         (cutSelection): don't create a object for CutAndPaste use the
10347         static method directly
10348         (pasteSelection): ditto
10349
10350         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10351         LyXview (+ rename)
10352
10353 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * modifications to some other files because of this.
10356
10357         * Makefile.am (lyx_SOURCES): add XFormsView
10358
10359         * XFormsView.[Ch]: new files
10360
10361         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10362         the main window. Move the gui dependent stuff to XFormsView
10363
10364 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * tabular.C (GetCellInset): update cur_cell also in the row/col
10367         version of this function.
10368
10369         * lyxfunc.C: no need to include figure_form.h here.
10370
10371         * FontLoader.h:
10372         * lyxfunc.h:
10373         * lyxscreen.h:
10374         * text2.C:
10375         * lyxvc.C: no need to include forms.h here.
10376
10377 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10378
10379         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10380
10381         * lyxfunc.C (Dispatch):
10382         * Spacing.C (set):
10383         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10384         constructor argument.
10385
10386 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * paragraph.C (Paragraph): dont't clear, and just set layout.
10389         (makeSameLayout): use params's copy contructor.
10390
10391         * ParagraphParameters.[Ch] (makeSame): delete method
10392
10393 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * Variables.[Ch]: fix indentation, rename set to isSet
10396
10397 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10398
10399         * lyxfunc.C (Dispatch): fix typo
10400
10401 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10402
10403         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10404         upper_bound.
10405
10406         * bufferlist.C: include assert.h for emergencyWrite().
10407
10408 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10411           give up at last (bug #425202) !
10412
10413 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * lyx_gui_misc.C:
10416         * sp_form.h:
10417         * sp_form.C:
10418         * spellchecker.h:
10419         * spellchecker.C: strip spellchecker options and bring up
10420           preferences tab instead
10421
10422 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10423
10424         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10425         the istringstream constructor
10426
10427 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * paragraph.C (getLayout): fix return value
10430
10431         * paragraph.h: do not declare getLayout as inline.
10432
10433         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10434
10435 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10436
10437         * lyxcursor.h (operator<): new func
10438         (operator>): new func
10439         (operator>=): new func
10440         (operator<=): new func
10441
10442         * text.C (changeCase): use selection.start and selection.end
10443         (changeRegionCase): require from to be <= to. Require par to be a
10444         valid paragraph.
10445
10446         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10447
10448 2001-06-27  Juergen Vigna  <jug@sad.it>
10449
10450         * text.C (cursorLeftOneWord): changed to return the cursor and added
10451         overlay with BufferView * parameter which calls this one.
10452         (getWord): added
10453         (selectWord): use new getWord function.
10454         (changeCase): renamed from changeWordCase as and extended to work
10455         also on selections.
10456
10457         * lyxtext.h: added enum word_location
10458
10459         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10460         changeCase as this operates now also on selections.
10461
10462 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10463
10464         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10465
10466         * many files: send debug output to Debug::INFO instead of
10467         Debug::ANY.
10468
10469         * converter.C (View):
10470         (Convert):
10471         (Move): send debug output to Debug::FILES instead of console.
10472
10473 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10474
10475         * lyxfunc.C (getStatus): use func_status
10476
10477         * func_status.h: new header, describing the results of
10478         LyXFunc::getStatus;
10479
10480         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10481         LFUN_MATH_HALIGN.
10482
10483 2001-06-25  The LyX Project  <jug@sad.it>
10484
10485         * buffer.C (sgmlOpenTag):
10486         (sgmlCloseTag):
10487         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10488
10489 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * text2.C: remove some dead code
10492
10493         * tabular.C (GetCellInset): store the last cell checked (gotten)
10494
10495         * tabular.h: add the helper for the speedup
10496
10497         * lyxtext.h: remove some dead code
10498
10499 2001-06-26  The LyX Project  <Asger>
10500
10501         * paragraph.C: Change export to LaTeX of alignment to
10502         \begin{center} and family for better roundtrip work with reLyX.
10503
10504         * Tune the math drawing a bit.
10505
10506 2001-06-25  The LyX Project  <Asger>
10507
10508         * LColor.C (LColor): New color for math background. New color
10509         for buttons.
10510
10511 2001-06-25  The LyX Project  <jug@sad.it>
10512
10513         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10514
10515         * lyxfunc.C (Open):
10516         * bufferlist.C (newFile): do not restrict to files ending with
10517         .lyx
10518
10519         * BufferView_pimpl.C (MenuInsertLyXFile):
10520
10521 2001-06-24  The LyX Project  <jug@sad.it>
10522
10523         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10524         of compare_no_case
10525
10526 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10527
10528         * lyxtext.h: rename most methods to begin with a small char.
10529         Lots of changes because of this.
10530
10531         * paragraph.C (Paragraph): do not call fitToSize
10532         (erase): call Pimpl::erase
10533         (insertChar): call Pimpl::insertChar
10534         (insertInset): call Pipl::insertInset
10535         (breakParagraph): do not call fitToSize
10536         (breakParagraphConservative): do not call fitToSize
10537         (fitToSize): remove method
10538
10539         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10540
10541 2001-06-24  The LyX Project  <Asger>
10542
10543         * Fix Qt compilation^2
10544
10545 2001-06-24  The LyX Project  <jug@sad.it>
10546
10547         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10548         depthHook(getDepth()-1).
10549
10550         * paragraph.h:
10551         * ParagraphParameters.h:
10552         * ParameterStruct.h: change type of depth to unsigned int ==
10553         depth_type. Many adaptations to other files before of that.
10554
10555 2001-06-24  The LyX Project  <Asger>
10556
10557         * Fix Qt compilation.
10558
10559 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10560
10561         * paragraph.h: renamed several methods to begin with small letter.
10562         several changes to many parts of the code because of this.
10563
10564 2001-06-23  The LyX Project  <jug@sad.it>
10565
10566         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10567         rewritten to discard all double spaces when KeepEmpty is off
10568         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10569         to only handle newlines but not fiddle with spaces and friends.
10570
10571         * lyxfunc.C (MenuNew): when doing 'new from template', use
10572         template_path as default directory
10573
10574 2001-06-23  The LyX Project  <Asger>
10575
10576         * Clean-up of header file includes all over
10577         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10578
10579 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * paragraph.h: renamed from lyxparagraph.h
10582
10583 2001-06-23  Asger  <lyx@violet.home.sad.it>
10584
10585         * Buffer.h: Removed Buffer::resize
10586         * BufferList.h: Removed BufferList::resize
10587         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10588         the document lazily when we change the width, or the font settings.
10589
10590 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10593
10594 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * buffer.h: remove out of date comment
10597
10598 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * lyxscreen.h:
10601         * screen.C: fix "theoretical" GC leak
10602
10603 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * LaTeX.C (scanAuxFile):
10606         (deplog): remove trailing \r when reading stream (useful under
10607         win32)
10608
10609 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10612         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10613         and BufferView::theLockingInset(Inset*), so should use them and not
10614         access bv_->text->the_locking_inset directly.
10615
10616         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10617
10618 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * Makefile.am:
10621         * tex-defs.h: remove old unused file
10622
10623 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * BufferView_pimpl.C: fix typo, remove minibuffer message
10626           when buffer has loaded
10627
10628 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10629
10630         * lyxfunc.C (Dispatch): use stringstream
10631         (MenuNew): use stringstream
10632         (Open): use stringstream
10633
10634         * importer.C (Import): use stringstream
10635
10636         * bufferview_funcs.C (CurrentState): use stringstream
10637
10638         * LaTeX.C (run): use stringstream
10639
10640         * BufferView_pimpl.C (savePosition): use stringstream
10641         (restorePosition): use stringstream
10642         (MenuInsertLyXFile): use stringstream
10643
10644 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10645
10646         * BufferView.C:
10647         * Bullet.C:
10648         * ColorHandler.C:
10649         * FontInfo.C:
10650         * FontLoader.C:
10651         * LColor.C:
10652         * LaTeXFeatures.C:
10653         * Painter.C:
10654         * gettext.C:
10655         * lyx_gui_misc.C:
10656         * lyxserver.C:
10657         * vspace.C: removed // -*- C++ -*- as first line.
10658
10659         * lyxfind.h:
10660         * version.h: added // -*- C++ -*- as first line.
10661
10662 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10665
10666         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10667         of string
10668
10669 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10672         of floats.
10673
10674 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10675
10676         * gettext.C: include LString.h even when --disable-nls is on.
10677
10678 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10679
10680         * converter.h (Get): changed argument type from int to
10681         FormatList::size_type to avoid unnecessary conversion.
10682
10683         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10684         before using it.
10685
10686 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10687
10688         * gettext.h: include LString.h even when --disable-nls is on.
10689
10690 2001-06-07  Juergen Vigna  <jug@sad.it>
10691
10692         * text.C (BreakAgain): subst spaces with tabs.
10693
10694         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10695         (resizeInsetsLyXText): set force on resizeLyXText.
10696
10697 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * gettext.h (gettext_init):
10700         (locale_init): use a real definition instead of a macro
10701
10702 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * Bufferview_pimpl.C:
10705         * LColor.h:
10706         * LColor.C: further lcolor tidies
10707
10708 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * BufferView_pimpl.C (updateScrollbar): simplify.
10711
10712         * BufferView2.C: don't include insets/insetinfo.h, change
10713         prototype for insertInset and call the Pimpl version. let
10714         updateInset call Pimpl version.
10715
10716         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10717         gotoInset to BufferView::Pimpl
10718
10719 2001-06-01  Juergen Vigna  <jug@sad.it>
10720
10721         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10722         inside a LockingInset (is the update needed at all?).
10723
10724 2001-05-31  Juergen Vigna  <jug@sad.it>
10725
10726         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10727         here not the old one otherwise how should we compare it afterwards
10728         if it's the same!
10729
10730 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10731
10732         * lyxfont.C:
10733         * tabular.C:
10734         * tabular-old.C:
10735         * FontInfo.C: bring C functions into global namespace when
10736         necessary
10737
10738 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * LString.h: make sure config.h has been loaded before LString.h.
10741
10742         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10743         (one for each char read by EatLine!).
10744
10745         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10746         variables.
10747
10748 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10749
10750         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10751         to the same as the par we break from
10752
10753 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10756
10757         * MenuBackend.C (expand): also create menu entries for wide
10758         versions of the floats.
10759
10760         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10761
10762         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10763
10764         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10765         frontends/Makefile.am
10766
10767         * text2.C: adjust
10768         * text.C: adjust
10769
10770
10771         * tabular.C (getTokenValue): add std::
10772
10773         * tabular-old.C (getTokenValue): add std::
10774         (getTokenValue): ditto
10775         (getTokenValue): ditto
10776
10777         * screen.C (ToggleSelection): adjust
10778
10779         * lyxtext.h: put selection cursors inside a Selection struct.
10780
10781         * lyxfunc.C (moveCursorUpdate): adjust
10782
10783         * lyxfont.C (latexWriteStartChanges): add std::
10784
10785         * lyxfind.C: adjust
10786
10787         * font.h: delete with(char const *, LyXFont const &)
10788
10789         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10790
10791         * FontInfo.C (getFontname): add std::
10792
10793         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10794         (workAreaButtonPress): adjust
10795         (tripleClick): adjust
10796         (update): adjust
10797         (moveCursorUpdate): adjust
10798         (Dispatch): adjust
10799
10800         * BufferView2.C (gotoInset): adjust
10801
10802 2001-05-30  Juergen Vigna  <jug@sad.it>
10803
10804         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10805         to check pspell I add this as default as I now have new pspell
10806         libraries and they seem to use this.
10807
10808 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10809
10810         * text2.C (CutSelection): make the cursor valid before the call to
10811         ClearSelection.
10812
10813 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10814
10815         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10816         relied on 0 terminated strings and other horrors. Bug found due to
10817         the new assert in lyxstring!
10818
10819         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10820         KP_ keys.
10821
10822 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10825         to latinkeys.bind.
10826
10827         * lyxfunc.C (processKeySym): change method of getting to the
10828         self-insert char.
10829
10830         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10831         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10832         * BufferView_pimpl.[Ch]: here as private methods.
10833
10834 2001-05-28  Juergen Vigna  <jug@sad.it>
10835
10836         * text.C (SetHeightOfRow): added the update() call again as it is
10837         needed to initialize inset dimensions!
10838
10839 2001-05-16  Juergen Vigna  <jug@sad.it>
10840
10841         * text2.C (SetCharFont): Add new function with BufferView * and
10842         bool toggleall parameters for setting insets internal fonts.
10843         (SetFont): Freeze the undo as we may change fonts in Insets and
10844         all this change should be inside only one Undo!
10845
10846         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10847         setting font's in insets as for them we have the SetFont function!
10848
10849 2001-05-15  Juergen Vigna  <jug@sad.it>
10850
10851         * text2.C (ClearSelection): to be sure we REALLY don't have any
10852         selection anymore!
10853
10854         * tabular.C (TeXCellPreamble): fixed the left border problem for
10855         multicolumn cells.
10856
10857 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10858
10859         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10860         dependancy file
10861
10862 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10863
10864         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10865         LFUN_BREAKPARAGRAPH.
10866
10867         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10868         help test to "internal only", similar for LFUN_INSERT_URL
10869
10870         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10871         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10872         auto_region_delete and deadkeys.
10873
10874 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * LColor.h:
10877         * LColor.C: remove some dead entries, tidy a little
10878
10879 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10880
10881         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10882         commented code.
10883         (Dispatch): implement LFUN_ESCAPE
10884
10885         * commandtags.h: add LFUN_ESCAPE
10886
10887         * LyXAction.C (init): add entry for LFUN_ESCAPE
10888
10889         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10890         Remove commented code.
10891         (insertNote): moved here
10892         (open_new_inset): moved here
10893
10894         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10895         BufferView_pimpl
10896
10897 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10898
10899         * kbmap.C (findbinding): clean it up and make it work correctly.
10900
10901         * lyx_main.C (init): do not pass argc and argv as parameters
10902
10903 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10904
10905         * buffer.C: fix path for OS/2 & Win32
10906
10907         * lyx_gui.C:
10908         * lyx_main:
10909         * lyx_main.C: Added os:: class.
10910
10911         * os2_defines.h: update
10912
10913 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10916         better by trying again with reduced state.
10917
10918 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10919
10920         * lyxrc.C (read): print error about invalid key sequence only when
10921         debugging (because not all latinX keysyms are known to some X
10922         servers)
10923
10924         * kbsequence.C (getiso): add a few std:: qualifiers
10925         (getiso): comment out extra return statement.
10926
10927 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10928
10929         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10930         handling.
10931         (Dispatch): enhance the accent inset a bit. (not perfect)
10932
10933 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10934
10935         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10936
10937 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10938
10939         * bufferlist.C (emergencyWrite): fix assert() call
10940
10941 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10942
10943         * text.C (InsertChar): Added trivial patch to only send the "you
10944         can not do multiple spaces this way" message once during a
10945         session.
10946
10947 2001-05-08  Baruch Even  <baruch@lyx.org>
10948
10949         * Makefile.am: Changed order of libraries to get LyX to link properly
10950         with the gnome frontend.
10951
10952 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10953
10954         * LaTeXFeatures.h: add a std:: qualifier
10955
10956 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * paragraph.C (String): use stringstream
10959
10960 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10961
10962         * paragraph.C (writeFile): remove footflag arg
10963
10964         * buffer.C (makeLaTeXFile): use stringstream
10965         (latexParagraphs): remove footnot gurba
10966
10967         * LaTeXFeatures.C (getPackages): use stringstream
10968         (getMacros): likewise
10969         (getTClassPreamble): likewise
10970         (getFloatDefinitions): new method
10971
10972         * paragraph.C (writeFile): reindent
10973         (Erase): reindent
10974
10975         * WorkArea.h: revert the xpos + etc changes.
10976
10977         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10978
10979         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10980
10981         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10982         (pasteSelection): likewise
10983         * text2.C (CreateUndo): likewise
10984
10985 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * minibuffer.C (peek_event): temporarily reduce the functionality
10988         of the minibuffer (to allow args on lfuns)
10989
10990         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10991         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10992
10993         * buffer.C (readInset): add compability reading of old float
10994         lists, add reading of new style float list.
10995         (readInset): avoid reevaluation of inscmd.getCmdName()
10996         (getLists): reindent
10997
10998         * MenuBackend.C (MenuItem): implement parsing of
10999         md_floatlistinsert and md_floatinsert.
11000         (expand::LastFiles): move initalizaton of iterators out of loop,
11001         avoid reevaluation.
11002         (expand::Documents): introduce typdedef vector<string> Strings,
11003         and use it.
11004         (expand::ExportFormats): introduce typedef vector<Format const *>
11005         Formats, and use it.
11006         (expand): implement FloatListInsert and FloatInsert.
11007
11008         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11009         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11010         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11011
11012         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11013         handling.
11014         (Dispatch::LFUN_FLOAT_LIST): implement
11015
11016 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11017
11018         * LaTeX.C (run): Fix problem with --export code.
11019
11020 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * BufferView.[Ch] (workarea): removed.
11023         (getClipboard) new method; wrapper for workarea()->getClipboard()
11024
11025         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11026         bug.
11027
11028         * WorkArea.h (width, height, xpos, ypos): These methods all
11029         returned the dimensions of the work_area sub-area of WorkArea,
11030         resulting in a position error if the WorkArea were resized. Now
11031         return the dimensions of the entire WorkArea.
11032
11033         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11034
11035 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11036
11037         * LaTeX.C (deplog): correct the syntax of regex reg1
11038
11039 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11040
11041         * undo.C: remove !NEW_INSETS cruft
11042
11043 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * text2.C: remove !NEW_INSETS cruft
11046
11047         * text.C: remove !NEW_INSETS cruft
11048
11049         * tabular.C: remove !NEW_INSETS cruft
11050
11051         * spellchecker.C: remove !NEW_INSETS cruft
11052
11053         * lyxtext.h: remove !NEW_INSETS cruft
11054
11055         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11056
11057         * lyxfunc.C: remove !NEW_INSETS cruft
11058
11059         * lyxfind.C: remove !NEW_INSETS cruft
11060
11061         * lyx_cb.C: remove !NEW_INSETS cruft
11062
11063         * figureForm.C: remove  !NEW_INSETS cruft
11064
11065         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11066
11067         * buffer.[Ch]: remove !NEW_INSETS cruft
11068
11069         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11070
11071         * CutAndPaste.C: remove !NEW_INSETS cruft
11072
11073         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11074
11075         * BufferView2.C: remove !NEW_INSETS cruft
11076
11077         * BufferView.h: remove !NEW_INSETS cruft
11078
11079 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * Lsstream.h: include LString.h before the sstream headers to
11082         fix problem with gcc 2.95.3 and lyxstring
11083
11084 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * lyx_main.C: add using directives when needed for C functions
11087         declared in std:: namespace.
11088
11089 2001-04-27  Juergen Vigna  <jug@sad.it>
11090
11091         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11092         (SetHeightOfRow): comment out the update call should not be needed!
11093
11094 2001-04-13  Juergen Vigna  <jug@sad.it>
11095
11096         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11097         (LyXTabular): tried to minimize operator= operations (and realized
11098         hopfully Lars wish).
11099
11100 2001-04-27  Juergen Vigna  <jug@sad.it>
11101
11102         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11103
11104 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11105
11106         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11107
11108         * buffer.C (readInset): hack to make listof algorithm work
11109
11110         * BufferView_pimpl.C: hack to make listof algorithm work
11111
11112 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * LyXAction.C: removed all !NEW_INSETS cruft
11115         (init): moved lfun_item in method
11116
11117         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11118
11119 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * BufferView2.C (theLockingInset): white space.
11122
11123 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11124
11125         * minibuffer.C: include <iostream>
11126
11127         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11128
11129         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11130
11131         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11132
11133         * text.[Ch] (TransposeChars): new method
11134
11135 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * call message directly through LyXView instead of through LyXFunc
11138         * BufferView2.C: adjust
11139         * BufferView_pimpl.C: adjust
11140         * FontLoader.C: adjust
11141         * buffer.C: adjust
11142         * bufferview_funcs.C: adjust
11143         * converter.C: adjust
11144         * figureForm.C: adjust
11145         * importer.C: adjust
11146         * lyx_cb.C: adjust
11147         * lyx_gui_misc.C: adjust
11148         * lyxfunc.C: adjust
11149         * lyxvc.C: adjust
11150         * text2.C: adjust
11151         + more files in subdirs
11152
11153         * lyxparagraph.h (size): move up int file
11154         (GetLayout): ditto
11155
11156         * adjust all uses of Assert to lyx::Assert.
11157
11158         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11159         lyxfunctional in namespace lyx
11160         * layout.C (hasLayout): ditto
11161         (GetLayout): ditto
11162         (GetLayout): ditto
11163         (delete_layout): ditto
11164         (NumberOfClass): ditto
11165         * converter.C (GetFormat): ditto
11166         (GetNumber): ditto
11167         (Add): ditto
11168         (Delete): ditto
11169         (SetViewer): ditto
11170         * bufferlist.C (getFileNames): ditto
11171         (emergencyWriteAll): ditto
11172         (exists): ditto
11173         (getBuffer): ditto
11174         * MenuBackend.C (hasSubmenu): ditto
11175         (hasMenu): ditto
11176         (getMenu): ditto
11177         * BufferView_pimpl.C (getInsetByCode): ditto
11178
11179 2001-04-18  Juergen Vigna  <jug@sad.it>
11180
11181         * vspace.C (asLatexString): fixed the 100% problem.
11182
11183 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11184
11185         * lyxfunc.C (Dispatch):
11186         * minibuffer.C:
11187         * minibuffer.h: add a few std:: qualifiers
11188
11189 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * minibuffer.[Ch]: reimplement so that commands is initiated and
11192         run from lyxfunc, simplified som handling, and made the completion
11193         and history code for complete. wip.
11194
11195         * lyxfunc.C (processKeySym): call message
11196         (miniDispatch): new temporary method
11197         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11198         (LFUN_MESSAGE): implement
11199         (LFUN_MESSAGE_PUSH): implement
11200         (LFUN_MESSAGE_POP): implement
11201         (initMiniBuffer): the initial/defualt minibuffer message.
11202
11203         * lyxfont.[Ch]: inline some more getters
11204
11205         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11206
11207         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11208
11209         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11210         (AutoSave): use LFUN_MESSAGE
11211         (Reconfigure): ditto
11212
11213         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11214
11215         * figureForm.C: use LFUN_MESSAGE
11216
11217         * converter.C (runLaTeX): use LFUN_MESSAGE
11218
11219         * bufferview_funcs.C: use LFUN_MESSAGE
11220         (Melt): ditto
11221         (changeDepth): ditto
11222
11223         * bufferparams.h: use boost::
11224
11225         * bufferlist.h: inherit privately from noncopyable
11226
11227         * bufferlist.C (loadLyXFile): remove some commented code.
11228
11229         * buffer.C (runChktex): use LFUN_MESSAGE
11230
11231         * ShareContainer.h: inherit privately from noncopyable
11232
11233         * ParagraphParameters.[hC] (depth): inline it.
11234
11235         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11236         methods.
11237         (message): new method
11238         (messagePush): ditto
11239         (messagePop): ditto
11240         (show): init minibuffer
11241         (showState): direct call
11242
11243         * LaTeX.[Ch]: inherit privately from noncopyable
11244         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11245         instead of WriteStatus.
11246
11247         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11248
11249         * BufferView_pimpl.C (buffer): don't init minibuffer
11250         (workAreaButtonPress): use LFUN_MESSAGE
11251         (workAreaButtonRelease): ditto
11252         (savePosition): ditto
11253         (restorePosition): ditto
11254         (MenuInsertLyXFile): ditto
11255         (workAreaExpose): don't init minibuffer
11256         (update): remove commented code, simplify
11257
11258         * BufferView2.C (openStuff): use LFUN_MESSAGE
11259         (toggleFloat): ditto
11260         (menuUndo): ditto
11261         (menuRedo): ditto
11262         (copyEnvironment): ditto
11263         (pasteEnvironment): ditto
11264         (copy): ditto
11265         (cut): ditto
11266         (paste): ditto
11267         (gotoInset): ditto
11268         (updateInset): remove some commented code
11269
11270         * lastfiles.h: inherit privately from noncopyable
11271         * layout.h: ditto
11272         * lyx_gui.h: ditto
11273         * lyx_main.h: ditto
11274         * lyxlex.h: ditto
11275         * lyxlex_pimpl.h: ditto
11276
11277         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11278         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11279         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11280
11281         * LyXAction.h: inherit privately from noncopyable, add methods
11282         func_begin, func_end, returning iterators to the func map.
11283
11284         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11285         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11286         (func_begin): new method
11287         (func_end): new method
11288
11289         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11290         and not)
11291         (copySelection): ditto
11292         (pasteSelection): ditto
11293
11294         * BufferView.C: whitespace change
11295         * BufferView.h: inherit privately from noncopyable
11296
11297 2001-04-16  Allan Rae  <rae@lyx.org>
11298
11299         * tabular-old.C (l_getline):
11300         * spellchecker.C (sc_check_word):
11301         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11302         an unrecognised preprocessor directive.  So ensure they're wrapped.
11303
11304 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * src/exporter.C (Export): Give an error message when path to file
11307         contains spaces.
11308
11309 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11310
11311         * LaTeX.C (deplog): Always check that foundfile exists.
11312
11313 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11314
11315         * lyx_main.h:
11316         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11317
11318 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * tabular.[Ch] (getLabelList): implement new method
11321
11322         * minibuffer.h: comment ouf setTiimer
11323
11324         * minibuffer.C (ExecutingCB): constify res
11325         (peek_event): constify s
11326         (Set): constify ntext
11327         (Init): constify nicename
11328
11329         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11330
11331         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11332         (savePosition): use two params to Minibuffer::Set
11333         (restorePosition): ditto
11334
11335 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11336
11337         * lyx_main.C: include language.h
11338
11339         * Makefile.am (lyx_main.o): add language.h
11340
11341 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11342
11343         * exporter.C:
11344         * paragraph.C:
11345         * screen.C:
11346         * tabular.C:
11347         * CutAndPaste.C: include gettext.h
11348
11349         * lyxfont.h: remove old hack with ON and OFF.
11350
11351         * lyxparagraph.h:
11352         * lyxfont.h: do not include language.h...
11353
11354         * BufferView2.C:
11355         * LaTeXFeatures.C:
11356         * Painter.C:
11357         * bufferview_funcs.C:
11358         * font.C:
11359         * lyxfont.C:
11360         * text.C:
11361         * text2.C:
11362         * trans_mgr.C:
11363         * paragraph.C: ... but do it here instead
11364
11365 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11368
11369         * tabular.C: small reformat
11370
11371         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11372         NEW_INSETS version
11373         (GetChar): ditto
11374         (BreakParagraph): ditto
11375         (SetOnlyLayout): ditto
11376         (SetLayout): ditto
11377
11378         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11379         with one arg less.
11380
11381         * lastfiles.C: removed most using decl, add std:: where needed
11382
11383         * buffer.C: ws changes
11384
11385         * MenuBackend.C (class compare_format): put into anon namespace
11386         (expand): constify label, names, action, action2
11387         (expand):
11388
11389         * text.C (SingleWidth): constify font
11390         (IsBoundary): constify rtl2
11391         (GetVisibleRow): constify ww
11392
11393         * LaTeX.C (deplog): constify logfile
11394
11395         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11396         start_x, end_x
11397         (workAreaExpose): constify widthChange, heightChange
11398
11399         * lyxrow.C (par): moved
11400         (height): moved
11401         (next): moved
11402         * lyxrow.h: as inlines here
11403
11404         * lyxfont.h (shape): moved from lyxfont.C
11405         (emph): moved from lyxfont.C
11406
11407         * lyxfont.C (LyXFont): use initialization list for all
11408         constructors
11409         (shape): move to lyxfont.h as inline
11410         (emph): move to lyxfont.h as inline
11411
11412
11413 2001-04-04  Juergen Vigna  <jug@sad.it>
11414
11415         * vspace.C: had to include stdio.h for use of sscanf
11416
11417 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11418
11419         * BufferView.h:
11420         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11421         independent of xforms.
11422
11423 2001-04-02  Juergen Vigna  <jug@sad.it>
11424
11425         * spellchecker.C: fixed namespace placing!
11426
11427 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11428
11429         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11430         the LyXParagraph * is 0.
11431
11432 2001-03-29  Juergen Vigna  <jug@sad.it>
11433
11434         * vspace.C: added support for %, c%, p%, l%.
11435         (stringFromUnit): added helper function.
11436         (asLatexString): changed to give right results for the %-values.
11437
11438         * buffer.C: convert the widthp in a width%.
11439
11440 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11441
11442         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11443         figureForm.[Ch].
11444
11445         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11446         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11447
11448         * lyx_cb.[Ch]: see above.
11449
11450         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11451         form1.[Ch].
11452
11453         * form1.[Ch]:
11454         * lyx.[Ch]: replaced by figure_form.[Ch].
11455
11456         * lyx_gui.C:
11457         * lyx_gui_misc.C:
11458         * lyxfunc.C: changed headers associated with above changes.
11459
11460 2001-03-27  Juergen Vigna  <jug@sad.it>
11461
11462         * BufferView_pimpl.C: set the temporary cursor right!
11463
11464 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11465
11466         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11467
11468 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * LString.h: removed "using std::getline"!
11471
11472         * BufferView_pimpl.C (Dispatch): changes due to changes in
11473         InsetInclude::Params.
11474
11475         * buffer.C (tag_name): removed redundant break statements as they were
11476         producing lots of warnings with my compiler.
11477
11478 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11479
11480         * LString.h: add "using std::getline" when using the real <string>.
11481
11482 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11483
11484         * buffer.C: removed bitset usage.
11485         PAR_TAG moved to an anonymous name space.
11486         (tag_name): new funtion, also in the anonymous namespace.
11487         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11488         (makeDocBookFile): clean code. Completed transition from string arrays
11489         to string vectors.
11490         (SimpleDocBookOnePar): code clean.
11491
11492 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11493
11494         * tabular.C: add some comments.
11495
11496 2001-03-22  Juergen Vigna  <jug@sad.it>
11497
11498         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11499         compatibility read a bit and fixed bug with minipage in different
11500         depth.
11501
11502 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11503
11504         * buffer.C (pop_tag): removed.
11505         (push_tag): removed.
11506         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11507         array replaced with vector. Added support for CDATA sections.
11508         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11509         at any nest level.
11510         (makeDocBookFile): XML conformant declaration of CDATA section,
11511         fixed bug related to <emphasis> in the first paragraph char.
11512         (sgmlOpenTag): exclude empty tags.
11513         (sgmlCloseTag): ditto.
11514
11515         * buffer.h (pop_tag): removed.
11516         (push_tag): removed.
11517
11518 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11519
11520         * language.h (Languages): added size_type and size().
11521
11522 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11523
11524         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11525         response on compability reading of minipages. One probliem is that
11526         the old usage of minipages was «flertydig»
11527
11528         * several files here and in subdirs: don't use static at file
11529         scope use anon namespaces instead.
11530
11531 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11532
11533         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11534         LaTeX output. This is necessary for Literate document
11535         processing.
11536
11537 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11538
11539         * buffer.C: insert hfill when needed.
11540
11541         * tabular.C (l_getline): use string::erase, small whitespace change.
11542
11543         * BufferView_pimpl.C: try the anon namespace.
11544         * WorkArea.C: ditto
11545
11546 2001-03-16  Juergen Vigna  <jug@sad.it>
11547
11548         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11549         otherwise it won't open options-dialogs.
11550
11551         * buffer.C: honor pextraWidth(p) on converting minipages.
11552
11553         * tabular.C (l_getline): changed the functions to strip trailing \r.
11554
11555 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * BufferView_pimpl.C:
11558         * minibuffer..C: added "using SigC::slot" declaration.
11559
11560 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11561
11562         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11563
11564         * text2.C: ditto
11565
11566         * text.C: ditto
11567
11568         * paragraph.C: ditto
11569
11570         * lyxtext.h: NO_PEXTRA
11571
11572         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11573
11574         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11575         * ParameterStruct.h: ditto
11576         * ParagraphParameters.h: ditto
11577         * lyxparagraph.h: ditto
11578
11579 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11580
11581         * buffer.C: add compability for minipage alignment.
11582         (latexParagraphs): remove unwanted pextra check.
11583
11584         * several files: remove CXX_WORKING_NAMESPACES
11585
11586         * buffer.C (pop_tag): tie is in namespace boost
11587
11588         * BufferView.h: noncopyable is in namespace boost
11589         * lyxlex.h: ditto
11590         * lyx_main.h: ditto
11591         * lyx_gui.h: ditto
11592         * layout.h: ditto
11593         * lastfiles.h: ditto
11594         * bufferlist.h: ditto
11595         * ShareContainer.h: ditto
11596         * LyXView.h: ditto
11597         * LyXAction.h: ditto
11598         * LaTeX.h: ditto
11599
11600 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11601
11602         * Merging changes from BRANCH_MVC back into HEAD.
11603
11604         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11605
11606 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * BufferView_pimpl.C: change from intl.C
11609
11610         * combox.h:
11611         * combox.C:
11612         * Makefile.am: move combox.*
11613
11614         * form1.h:
11615         * form1.C:
11616         * lyx_gui.C:
11617         * intl.h:
11618         * intl.C: remove dialog (covered by prefs)
11619
11620 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11621
11622         * lyxfunc.C (Dispatch): removed redundant break statement.
11623
11624 2001-03-14  Juergen Vigna  <jug@sad.it>
11625
11626         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11627
11628 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11629
11630         * buffer.C: add hack to fix compability reading of minipages.
11631
11632 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11633
11634         * buffer.C (getLists): Cleanup.
11635
11636 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11637
11638         * lyxfont.C (update): don't honor toggleall on font size.
11639
11640 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * bmtable.c:
11643         * bmtable.h:
11644         * Makefile.am: moved to frontends/xforms/
11645
11646         * lyx_gui_misc.C:
11647         * lyxfunc.C:
11648         * BufferView_pimpl.C: changes for moved mathpanel
11649
11650 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * gettext.h: fix gettext_init() in --disable-nls
11653
11654 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11655
11656         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11657
11658 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * lyx.C:
11661         * lyx.h: strip external form
11662
11663 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * BufferView_pimpl.C: add comment, destroySplash()
11666
11667 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * BufferView_pimpl.C:
11670         * LyXAction.C:
11671         * buffer.C:
11672         * commandtags.h:
11673         * lyxfunc.C: use re-worked insetinclude
11674
11675 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11676
11677         * buffer.C: add using std::stringstream.
11678
11679         * lyx_cb.C: readd using std::ios.
11680
11681         * buffer.C: add using std::map.
11682
11683         * BufferView_pimpl.C: add using std::vector.
11684
11685         * ShareContainer.h: add std:: to swap.
11686
11687         * buffer.h: add some typedefs
11688         * buffer.C (getLists): use them
11689         (getLists): renamed from getTocList.
11690         add a counter for the different float types and use it in the
11691         generated string.
11692         (getLists): use the same counter for the NEW_INSETS and the "non"
11693         NEW_INSETS
11694
11695         * lyx_cb.h: remove unused items, includes, using etc.
11696
11697         * ShareContainer.h: remove some commented code, add more comments
11698         and "documentation".
11699
11700 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11701
11702         * buffer.C (getTocList): make the list also when NEW_INSETS is
11703         defined.
11704
11705         * buffer.h: remove TocType
11706
11707         * buffer.C (getTocList): change to return a map<string,
11708         vector<TocItem> >, implement for dynamic number of list.
11709
11710         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11711         * text2.C (PasteSelection): adjust
11712         * CutAndPaste.C (pasteSelection): adjust
11713
11714         * FloatList.C (FloatList): update from the new_insets branch.
11715         * Floating.[Ch]: ditto
11716         * LaTeXFeatures.C: ditto
11717         * buffer.C: ditto
11718         * lyxlex_pimpl.C: ditto
11719
11720         * paragraph.C (Last): remove when NEW_INSETS is defined.
11721
11722         * other file: changes because of the above.
11723
11724 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11725
11726         * lyxparagraph.h: rename next to next_, previous to previous_,
11727         make them private for NEW_INSETS. Rename Next() to next(),
11728         Previous() to previous().
11729
11730         * other files: changes because of the above.
11731
11732 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11733
11734         * BufferView.h:
11735         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11736         problem.
11737
11738 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11739
11740         * main.C (main): pass lyx_localedir to gettext_init().
11741
11742         * gettext.h: remove locale_init and gettext_init macros
11743
11744         * gettext.C (locale_init): new function
11745         (gettext_init): new function
11746
11747         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11748         setlocale().
11749
11750 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11751
11752         * Moved credits to frontends:
11753         * credits.[Ch]: removed
11754         * credits_form.[Ch]: removed
11755         * lyx_gui_misc.C: remove credits stuff
11756         * Makefile.am:
11757
11758 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11759
11760         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11761
11762         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11763         unneeded destructor.
11764
11765         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11766         a standalone pointer again.
11767
11768         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11769
11770 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * Makefile.am:
11773         * filedlg.h:
11774         * filedlg.C:
11775         * LyXAction.C:
11776         * ToolbarDefaults.C:
11777         * bufferlist.C:
11778         * commandtags.h:
11779         * form1.C:
11780         * form1.h:
11781         * lyx_cb.C:
11782         * lyx_cb.h:
11783         * lyxfunc.h:
11784         * lyxfunc.C:
11785         * BufferView_pimpl.C: use new file dialog in GUII
11786
11787         * lyx_cb.h:
11788         * lyx_cb.C: remove LayoutsCB to Toolbar
11789
11790 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * ShareContainer.h (get): add std:: qualifier
11793
11794 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * ShareContainer.h: define a proper ShareContainer::value_type
11797         type (and use typename to please compaq cxx)
11798
11799 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11800
11801         * lyxparagraph.h: move serveral local vars to
11802         ParameterStruct/ParagraphParameters., use ShareContainer in
11803         FontTable., make vars in FontTable private and add getter and
11804         setter.
11805
11806         * paragraph.C: changes because of the above.
11807
11808         * lyxfont.h: remove copy constructor and copy assignment. (the
11809         default ones is ok), move number inside FontBits. move inlines to
11810         lyxfont.C
11811
11812         * lyxfont.C: add number to initializaton of statics, move several
11813         inlines here. constify several local vars. some whitespace
11814         cleanup. Dont hide outerscope variables.
11815
11816         * Spacing.h: add two new constructors to match the set methods.
11817
11818         * ShareContainer.h: new file, will perhaps be moved to support
11819
11820         * ParameterStruct.h: new file
11821
11822         * ParagraphParameters.h: new file
11823
11824         * ParagraphParameters.C: new file
11825
11826         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11827         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11828
11829         * BufferView_pimpl.C: ParagraphParameter changes.
11830         * buffer.C: Likewise.
11831         * bufferview_funcs.C: Likewise.
11832         * text.C: Likewise.
11833         * text2.C: Likewise.
11834
11835 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * lyxfind.C (LyXReplace): do not redefine default argument in
11838         implementation.
11839         (IsStringInText): ditto
11840         (SearchForward): ditto
11841         (SearchBackward): ditto
11842
11843 2001-03-06  Juergen Vigna  <jug@sad.it>
11844
11845         * lyxfind.C (IsStringInText): put parentes around expressions.
11846
11847 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11848
11849         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11850
11851 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11854
11855         * stl_string_fwd.h: add comment
11856
11857         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11858
11859         * tabular.h:
11860         * tabular.C: remove unused DocBook methods
11861
11862         * intl.C:
11863         * language.C:
11864         * paragraph.C:
11865         * buffer.C:
11866         killed DO_USE_DEFAULT_LANGUAGE
11867
11868 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * lyx_gui.C: do not include language.h.
11871
11872         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11873         arguments in function implementation.
11874
11875 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11876
11877         * BufferView_pimpl.C: add <ctime>
11878
11879 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11880
11881         * BufferView_pimpl.C: add using std::find_if
11882
11883 2001-02-27  José Matos  <jamatos@fep.up.pt>
11884
11885         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11886         by OnlyPath.
11887
11888 2001-02-11  José Matos  <jamatos@fep.up.pt>
11889
11890         * buffer.C (makeDocBookFile): command styles now have a parameter as
11891         "title" by default.
11892
11893 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11894
11895         * layout_forms.[Ch]: removed
11896         * lyx_cb.[Ch]: out character
11897         * lyx_gui.C: out character
11898         * lyx_gui_misc.C: out character
11899         * bufferview_funcs.C: : out character,
11900         added toggleall as parameter in ToggleAndShow
11901
11902 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11903
11904         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11905
11906         * text2.C (SetCurrentFont): Disable number property at boundary.
11907
11908 2001-02-26  Juergen Vigna  <jug@sad.it>
11909
11910         * lyxfunc.C (getStatus): added a string argument override function so
11911         that this is correctly called from LyXFunc::Dispatch if it contains a
11912         do_not_use_argument which is used!
11913         (Dispatch): added check for "custom" export and call appropriate func.
11914
11915 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11916
11917         * lyxrc.C: Add language_command_local, language_use_babel and
11918         language_global_options.
11919
11920         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11921
11922         * buffer.C (makeLaTeXFile): Use language_use_babel and
11923         language_global_options.
11924
11925 2001-02-23  Juergen Vigna  <jug@sad.it>
11926
11927         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11928         which works with LyXText and putted it inside BufferView. Here now we
11929         only call for that part the BufferView::Dispatch() function.
11930
11931         * BufferView.C (Dispatch): added.
11932
11933         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11934         functions which needs to use a LyXText over from LyXFunc.
11935         (MenuInsertLyXFile): added
11936         (getInsetByCode): added
11937         (moveCursorUpdate): added
11938         (static TEXT): added
11939
11940 2001-02-22  Juergen Vigna  <jug@sad.it>
11941
11942         * BufferView_pimpl.C (update): call a status update to see if LyXText
11943         needs it.
11944
11945 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11946
11947         * vc-backend.C (revert): implement for CVS
11948         (getLog): implement for CVS
11949
11950 2001-02-20  Juergen Vigna  <jug@sad.it>
11951
11952         * text2.C (ClearSelection): added BufferView param for inset_owner call
11953
11954         * lyxfunc.C (TEXT): added this function and use it instead of
11955         directly owner->view()-text of getLyXText().
11956
11957 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11958
11959         * src/layout_forms.C: out preamble
11960         * src/layout_forms.h: out preamble
11961         * src/lyx_cb.C: out preamble
11962         * src/lyx_cb.h: out preamble
11963         * src/lyx_gui.C: out preamble
11964         * src/lyx_gui_misc.C: out preamble
11965         * src/lyxfunc.C: connect with guii preamble
11966
11967 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11968
11969         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11970
11971 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11972
11973         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11974         whether to run bibtex.
11975
11976 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11977
11978         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11979
11980 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11981
11982         * Makefile.am (lyx_SOURCES): removed bibforms.h
11983
11984         * vspace.h: doxygen
11985
11986         * text.C (GetVisibleRow): make several local vars const
11987
11988         * tabular.C: small cleanup.
11989
11990         * lyxserver.C (callback): use compare instead of strncmp
11991
11992         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11993         inlines to after class or to paragraph.C
11994
11995         * lyxfont.h: remove friend operator!=
11996
11997         * converter.h: move friend bool operator< to non friend and after
11998         class def.
11999
12000         * combox.h: small cleanup
12001
12002         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12003         to inlines after class def.
12004
12005         * buffer.C (pop_tag): use string operations instead of strcmp
12006
12007         * bmtable.c: doxygen, small cleanup
12008
12009         * LaTeX.h: remove friend operator==
12010
12011 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12012
12013         * screen.C:
12014         * lyxrc.[Ch]:
12015         * lyxfunc.C:
12016         * lyxfont.[Ch]:
12017         * lyx_cb.C:
12018         * intl.[Ch]:
12019         * commandtags.h:
12020         * buffer.C:
12021         * WorkArea.[Ch]:
12022         * LyXAction.C:
12023         * BufferView_pimpl.C:
12024         * BufferView.[Ch]: remove cruft
12025
12026 2001-02-14  Juergen Vigna  <jug@sad.it>
12027
12028         * lyxfunc.C: removed #if 0 unused code
12029
12030         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12031
12032         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12033
12034         * text2.C (SetSelection): added a BufferView * parameter
12035
12036 2001-02-13  Juergen Vigna  <jug@sad.it>
12037
12038         * lyxfunc.C (Dispatch): fixed protected blank problem.
12039         * BufferView2.C (protectedBlank): added LyxText * parameter.
12040
12041         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12042         (AppendColumn): same as above for column_info.
12043
12044         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12045         (moveCursorUpdate): use a LyXText param for support of InsetText.
12046
12047         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12048         (tripleClick): ditto
12049
12050         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12051
12052         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12053
12054         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12055
12056         * text2.C (SetSelection): set correct update status if inset_owner
12057         (ToggleFree): ditto
12058
12059 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12060
12061         * tabular.C: remove some commented code.
12062
12063 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * BufferView_pimpl.C: call hideSplash()
12066
12067         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12068
12069         * include_form.h:
12070         * bibforms.h: remove
12071
12072         * lyxfunc.C:
12073         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12074           add LFUN_CHILD_CREATE
12075
12076         * counters.h: fix tiny typo
12077
12078         * lyx_cb.C:
12079         * lyx.h:
12080         * lyx_gui.C:
12081         * lyx.C: move splash to frontends/xforms/
12082
12083         * lyx_gui_misc.C: move Include and Bibform to frontends
12084
12085         * lyxvc.h: clarify comment
12086
12087         * vspace.C: tiny housekeeping
12088
12089 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * text.C (PrepareToPrint): RTL Fix.
12092
12093         * paragraph.C (GetUChar): New method.
12094         (String):  Use GetUChar.
12095
12096         * buffer.C (asciiParagraph): Use GetUChar.
12097
12098 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12099
12100         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12101
12102 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * buffer.h:
12105         * buffer.C: rename to getLogName(), handle
12106           build log / latex log nicely
12107
12108 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12109
12110         * MenuBackend.C:
12111         * MenuBackend.h: remove support for reference menuitem type.
12112
12113 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * BufferView_pimpl.C: housekeeping
12116         * BufferView_pimpl.h:
12117         * LyXView.h:
12118         * Makefile.am:
12119         * Timeout.C:
12120         * Timeout.h:
12121         * minibuffer.h: move Timeout GUI-I
12122
12123 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12124
12125         * lyxrc.C (read): Update converters data-structures.
12126
12127 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12128
12129         * LaTeX.h (operator!=): add operator != for Aux_Info
12130
12131 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12134
12135         * LaTeXLog.C: deleted, useful code moved to Buffer
12136
12137         * buffer.h:
12138         * buffer.C: new function getLatexLogName()
12139
12140         * lyx_gui_misc.C:
12141         * lyx_gui.C:
12142         * lyxvc.C:
12143         * lyxvc.h:
12144         * lyxfunc.C: use frontends for LaTeX and VC logs
12145
12146 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12147
12148         * LaTeX.h: yet another std:: that Allan forgot.
12149
12150         * Variables.C (set): renamed from isset(), because this clashes
12151         with some HP-UX macros (grr).
12152
12153 2001-02-06  Allan Rae  <rae@lyx.org>
12154
12155         * LaTeX.h: Another bug fix.  Missing std:: this time.
12156
12157 2001-02-04  Allan Rae  <rae@lyx.org>
12158
12159         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12160         floats problem. I've left it commented out because it's not quite
12161         correct.  It should also test that the current object is a table or
12162         figure inset.  But I haven't gotten around to figuring out how to do
12163         that.  I *think* it'll be something like: "table" == inset.type()
12164
12165         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12166         bool.
12167
12168 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12171         all the citation/databases/styles in the auxilary file.
12172         (run): Rerun latex if there was a babel language error.
12173
12174 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12175
12176         * text.C (Backspace): Preserve the font when changing newline char
12177         with a space.
12178         (BreakParagraph): If the cursor is before a space, delete the space.
12179
12180         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12181
12182 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12183
12184         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12185         new argument (code).
12186         (ChangeCitationsIfUnique): New method.
12187
12188         * paragraph.C (GetPositionOfInset): Handle bibkey.
12189
12190 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12191
12192         * BufferView_pimpl.h: change type of Position::par_pos to
12193         LyXParagraph::size_type.
12194
12195 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12196
12197         * BufferView_pimpl.C (savePosition, restorePosition): Write
12198         messages to minibuffer.
12199
12200 2001-01-28  José Matos  <jamatos@fep.up.pt>
12201
12202         * buffer.C (makeDocBookFile): adds support for document language.
12203         A silly restriction on the name of LatexCommand types where removed.
12204         Added support for CDATA sections, allows to chars unescaped, used
12205         among others in code, to avoid escape < and >.
12206
12207 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12208
12209         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12210         saved positions instrad of a stack. Furthermore, a position is
12211         stored using paragraph id/paragraph position.
12212
12213         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12214         Remove LFUN_REF_BACK.
12215
12216 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12217
12218         * converter.C (dvipdfm_options): New method.
12219
12220 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * vspace.C (isValidLength): Fix for empty input string.
12223
12224 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * LyXAction.C (init): change description of LFUN_FIGURE to
12227         "Insert Graphics"
12228
12229 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * LaTeX.C: add using directive
12232
12233 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * MenuBackend.C (expand): Fix the sorting of the formats.
12236
12237 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12238
12239         * lyx_main.C: tiny error message fix
12240
12241 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12244         calling fl_initialize(). This fixes the problem with ',' as
12245         decimal separator in text files.
12246
12247 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12248
12249         * trans.C (process): Fix the keymap bug.
12250
12251 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12252
12253         * LaTeX.C (scanAuxFiles): New method. Provides support for
12254         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12255         (scanLogFile) Scan for "run BibTeX" messages.
12256
12257         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12258         OT1 font encoding. Also, load the aecompl package if the ae
12259         package is loaded.
12260
12261         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12262
12263 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * texrow.C (increasePos): turn two error messages into debug
12266         messages.
12267
12268 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12269
12270         * LaTeX.C (scanAux): Handle the \@input macro.
12271         (runBibTeX): Use scanAux().
12272
12273         * language.C (latex_options_): New field.
12274
12275         * LaTeXFeatures.C (getMacros): Add language macros.
12276
12277         * buffer.C (makeLaTeXFile): Small fix.
12278
12279 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12280
12281         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12282
12283         * text2.C: add a using directive.
12284
12285 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * BufferView2.C:
12288         * lyx_gui_misc.h:
12289         * lyxfr1.C:
12290         * lyxfunc.C: kill LyXBell.
12291
12292 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12293
12294         * text.C (IsBoundary): Remove the error message
12295
12296         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12297
12298         * lyxrc.C (setDefaults): Correct initialization value for
12299         font_norm_type.
12300
12301 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12302
12303         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12304         gotoError().
12305
12306         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12307         and GotoNextNote().
12308
12309         * src/LyXAction.C: Added reference-next.
12310
12311         * text.C (InsertChar): Use contains instead of strchr.
12312
12313         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12314
12315 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12318         alignment commands (when needed).
12319
12320         * text.C (InsertChar): Add ':' to number separator chars.