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