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