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