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