]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
consolidate some code into one function
[lyx.git] / src / ChangeLog
1 2003-02-08  John Levon  <levon@movementarian.org>
2
3         * LaTeX.C: consolidate code into showRunMessage() helper
4
5 2003-02-08  John Levon  <levon@movementarian.org>
6
7         * lyxfind.C:
8         * lyxtext.h:
9         * text2.C:
10         * BufferView.C: change setSelectionOverString() to setSelectionRange()
11           and pass the size in explicitly
12         
13         * BufferView_pimpl.h:
14         * BufferView_pimpl.C:
15         * BufferView.h:
16         * BufferView.C: add getCurrentChange()
17
18         * BufferView_pimpl.h:
19         * BufferView_pimpl.C: handle change lfuns
20
21         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
22           for changes. Mark pasted paragraphs as new.
23
24         * support/lyxtime.h:
25         * support/lyxtime.C:
26         * DepTable.C: abstract time_t as lyx::time_type
27
28         * LColor.h:
29         * LColor.C: add colours for new text, deleted text, changebars
30
31         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
32           package use "usenames" option.
33
34         * commandtags.h:
35         * lyxfunc.C:
36         * LyXAction.C: add change lfuns
37
38         * Makefile.am:
39         * author.h:
40         * author.C: author handling
41
42         * buffer.h:
43         * buffer.C: add a per-buffer author list, with first entry as
44           current author. Handle new .lyx tokens for change tracking. Output
45           author list to .lyx file. Output dvipost stuff to .tex preamble.
46           Bump lyx format to 222.
47
48         * bufferlist.h:
49         * bufferlist.C: add setCurrentAuthor() to reset current author details
50           in all buffers.
51
52         * bufferparams.h:
53         * bufferparams.C: add param for tracking
54
55         * bufferview_funcs.C: output change info in minibuffer
56
57         * Makefile.am:
58         * changes.h:
59         * changes.C: add change-tracking structure
60
61         * debug.h:
62         * debug.C: add CHANGES debug flag
63
64         * lyxfind.h:
65         * lyxfind.C: add code for finding the next change piece
66
67         * lyxrc.h:
68         * lyxrc.C: add user_name and user_email
69
70         * lyxrow.h:
71         * lyxrow.C: add a metric for the top of the text line
72
73         * lyxtext.h:
74         * text.C: implement accept/rejectChange()
75
76         * lyxtext.h:
77         * text.C: paint changebars. Paint new/deleted text in the chosen colours.
78           Strike through deleted text.
79
80         * paragraph.h:
81         * paragraph.C:
82         * paragraph_pimpl.h:
83         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
84           to the insert functions. Rework erase to mark text as deleted, adding
85           an eraseIntern() and a range-based erase(). Implement
86           per-paragraph change lookup and accept/reject.
87
88         * paragraph_funcs.C: Fixup paste for change tracking.
89
90         * tabular.C: mark added row/columns as new.
91
92         * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
93           text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
94
95         * text2.C: leave cursor at end of selection after a cut.
96
97 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
98
99         * text.C (getLengthMarkerHeight): 
100         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
101         visible on screen too.
102
103 2003-02-07  John Levon  <levon@movementarian.org>
104
105         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
106
107 2003-02-05  Angus Leeming  <leeming@lyx.org>
108
109         * lyxserver.C (read_ready): revert my patch of 11 September last year
110         as it sends PC cpu through the roof. Presumably this means that
111         the lyxserver will no longer run on an Alpha...
112
113 2003-01-30  Angus Leeming  <leeming@lyx.org>
114
115         * factory.C (createInset): create an InsetCommandParam of type "index"
116         and use it to 'do the right thing'.
117
118         * text2.C (getStringToIndex): ensure that cursor position is always
119         reset to the reset_cursor position.
120
121 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
122
123         * lyxfunc.C (getStatus): "buffer-export custom" should never be
124         disabled.
125
126 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
127
128         * bufferview.C:
129         * lyxcb.C:
130         * lyxfunc.C: Output messages with identical spelling, punctuation,
131         and spaces
132
133 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
134
135         * MenuBackend.C (expandFormats): List only viewable export formats
136         in "View" menu
137
138         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
139         message
140
141         * lyxfunc.C (getStatus): Make sure that formats other than
142         "fax" can also be disabled
143
144 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
145
146         * text3.C (dispatch): put the lfuns that insert insets in 3
147         groups, and call doInsertInset with appropriate arguments.
148         (doInsertInset): new function, that creates an inset and inserts
149         it according to some boolean parameters.
150
151 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
152
153         * buffer.C (readFile): remember to pass on 'par' when calling
154         readFile recursively.
155
156 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
157
158         * MenuBackend.C (expandFormats): add "..." to import formats.
159
160 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
161
162         * paragraph.C (asString): Remove XForms RTL hacks.
163
164 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
165         * buffer.C: fix typo
166
167 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
168
169         * Makefile.am (LIBS): delete var
170         (lyx_LDADD): add @LIBS@ here instead.
171
172 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
173
174         * Clarify the meaning of "wheel mouse jump"
175
176 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
177
178         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
179         tabular in a float
180
181 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
182
183         * importer.C (Loaders): do not preallocate 3 elements in the
184         vector, since one ends up with 6 elements otherwise
185
186 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
187
188         * DepTable.C (write): write the file name as last element of the
189         .dep file (because it may contain spaces)
190         (read): read info in the right order
191
192 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
193
194         * paragraph_pimpl.C (simpleTeXBlanks):
195         (simpleTeXSpecialChars):
196         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
197
198         * tabular.C (latex): add some missing case statements. Reindent.
199
200         * MenuBackend.C (expandToc): remove unused variable.
201
202 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
203
204         * LColor.C:
205         * LaTeX.C:
206         * LyXAction.C:
207         * MenuBackend.C:
208         * buffer.C:
209         * exporter.C:
210         * lyxfunc.C:
211         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
212         and the like.
213
214 2003-01-05  John Levon  <levon@movementarian.org>
215
216         * BufferView.h:
217         * BufferView.C: add getEncoding()
218
219         * kbsequence.h:
220         * kbsequence.C: do not store last keypress
221
222         * lyxfunc.h:
223         * lyxfunc.C: store last keypress here instead. Pass encoding
224           to getISOEncoded()
225
226 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
227
228         * lyx_main.C (init): remove annoying error message when following
229         symbolic links (bug #780)
230
231 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
232
233         * text.C (insertChar):
234         * lyxrc.C (getDescription): remove extra spaces
235
236 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
237
238         * lyxrc.C (getDescription): remove extra spaces
239
240 2002-12-20  John Levon  <levon@movementarian.org>
241
242         * text3.C: hack fix for page up/down across tall rows
243
244 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
245
246         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
247         not been invoked
248
249 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
250
251         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
252         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
253         thesaurus is not compiled in
254
255 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
256
257         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
258
259 2002-12-16  Angus Leeming  <leeming@lyx.org>
260
261         * lyxrc.[Ch]:
262         * lyx_main.C (init): remove override_x_deadkeys stuff.
263
264 2002-12-12  John Levon  <levon@movementarian.org>
265
266         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
267           insert. Only remove shift modifier under strict
268           circumstances.
269
270 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
271
272         * MenuBackend.C (expandToc): fix crash.
273
274 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
275
276         * MenuBackend.C (expandToc): gettext on float names.
277
278 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
279
280         * lyxlength.[Ch]: set default unit to UNIT_NONE,
281         implement bool empty() [bug 490]
282
283 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
284
285         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
286
287 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
288
289         * several files: ws changes
290
291 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
292
293         * text2.C (setCounter): clean up a bit, use boost.format.
294         (updateCounters): initialize par upon declaration.
295
296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
297         if the layout exists. We do not just store the layout any more.
298         (SwitchLayoutsBetweenClasses): use boost.format
299
300 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
301
302         * converter.C (convert): if from and to files are the same, use a
303         temporary files as intermediary
304
305 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
306
307         * commandtags.h:
308         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
309
310 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
311
312         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
313
314 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
315
316         * tabular.C (asciiPrintCell): use string(size, char) instead of
317         explicit loop.
318
319         * sgml.C (openTag): fix order of arguments to string constructor
320         (closeTag): ditto
321
322         * lyxfunc.C (dispatch): use boost.format
323
324         * lots of files: change "c" -> 'c'
325
326 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
327
328         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
329
330 2002-11-25  Angus Leeming  <leeming@lyx.org>
331
332         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
333
334         * lyx_main.C (init): compile fix.
335
336 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
337
338         * lyx_cb.C (start): boost.formatify
339         do not include <iostream>
340
341         * lengthcommon.C: ws only
342
343         * boost-inst.C,BoostFormat.h: add more explict instantations
344
345 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
346
347         * lots of files: handle USE_BOOST_FORMAT
348
349 2002-11-21  John Levon  <levon@movementarian.org>
350
351         * pspell.C: fix compile
352
353 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
354
355         * lyxfunc.C (dispatch): use boost::format
356         (open): ditto
357         (doImport): ditto
358
359         * lyxfont.C (stateText): use boost::format
360
361         * lyx_main.C (LyX): use boost::format
362         (init): ditto
363         (queryUserLyXDir): ditto
364         (readRcFile): ditto
365         (parse_dbg): ditto
366         (typedef boost::function): use the recommened syntax.
367
368         * importer.C (Import): use boost::format
369
370         * debug.C (showLevel): use boost::format
371
372         * converter.C (view): use boost::format
373         (convert): ditto
374         (move): ditto
375         (scanLog): ditto
376
377         * bufferview_funcs.C (currentState): use boost::format
378
379         * bufferlist.C (emergencyWrite): use boost::format
380
381         * buffer.C (readLyXformat2): use boost::format
382         (parseSingleLyXformat2Token): ditto
383
384         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
385
386         * LaTeX.C (run): use boost::format
387
388         * Chktex.C (scanLogFile): use boost::format
389
390         * BufferView_pimpl.C (savePosition): use boost::format
391         (restorePosition): ditto
392         (MenuInsertLyXFile): ditto
393
394         * BoostFormat.h: help file for explicit instation.
395
396 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
397
398         * tabular.C (latex): Support for block alignment in fixed width
399         columns.
400
401 2002-11-17  John Levon  <levon@movementarian.org>
402
403         * BufferView_pimpl.C:
404         * lyx_cb.C:
405         * lyxfunc.C: split filedialog into open/save
406
407 2002-11-08  Juergen Vigna  <jug@sad.it>
408
409         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
410         by my last patch (hopefully).
411
412 2002-11-08  John Levon  <levon@movementarian.org>
413
414         * iterators.h:
415         * iterators.C:
416         * buffer.h:
417         * buffer.C:
418         * paragraph.h:
419         * paragraph.C:
420         * toc.h:
421         * toc.C: ParConstIterator, and use it (from Lars)
422
423 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
424
425         * lyxtextclass.[Ch]: revise and add doxygen comments
426
427 2002-11-07  John Levon  <levon@movementarian.org>
428
429         * text.C: fix progress value for spellchecker
430
431         * toc.C: fix navigate menu for insetwrap inside minipage
432
433         * paragraph_funcs.C: added FIXME for suspect code
434
435 2002-11-07  John Levon  <levon@movementarian.org>
436
437         * BufferView_pimpl.C: fix redrawing of insets
438           on buffer switch
439
440 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
441
442         * text2.C (updateCounters): fix bug 668
443
444 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
445
446         * text3.C (dispatch): Do not make the buffer dirty when moving the
447         cursor.
448
449 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
450
451         * vc-backend.C: STRCONV
452         (scanMaster): ditto
453
454         * text2.C (setCounter): STRCONV
455
456         * paragraph.C (asString): STRCONV
457
458         * lyxlength.C (asString): STRCONV
459         (asLatexString): ditto
460
461         * lyxgluelength.C (asString): STRCONV
462         (asLatexString): ditto
463
464         * lyxfunc.C (dispatch): STRCONV
465         (open): ditto
466
467         * lyxfont.C (stateText): STRCONV
468
469         * importer.C (Import): STRCONV
470
471         * counters.C (labelItem): STRCONV
472         (numberLabel): ditto
473         (numberLabel): remove unused ostringstream o
474
475         * chset.C: STRCONV
476         (loadFile): ditto
477
478         * bufferview_funcs.C (currentState): STRCONV
479
480         * buffer.C (readFile): STRCONV
481         (asciiParagraph): ditto
482         (makeLaTeXFile): ditto
483
484         * Spacing.C (writeEnvirBegin): STRCONV
485
486         * LaTeXFeatures.C (getLanguages): STRCONV
487         (getPackages): ditto
488         (getMacros): ditto
489         (getBabelOptions): ditto
490         (getTClassPreamble): ditto
491         (getLyXSGMLEntities): ditto
492         (getIncludedFiles): ditto
493
494         * LaTeX.C: STRCONV
495         (run): ditto
496         (scanAuxFile): ditto
497         (deplog): ditto
498
499         * LString.h: add the STRCONV macros
500
501         * BufferView_pimpl.C (savePosition): STRCONV
502         (restorePosition): ditto
503         (MenuInsertLyXFile): ditto
504
505         * vc-backend.C (scanMaster): change from submatch[...] to
506         submatch.str(...)
507
508         * funcrequest.C: include config.h
509
510         * factory.C: include config.h
511
512         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
513
514         * box.C: include config.h
515
516         * LaTeX.C (scanAuxFile): change from submatch[...] to
517         submatch.str(...)
518         (deplog): ditto
519
520 2002-10-25  Angus Leeming  <leeming@lyx.org>
521
522         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
523
524         * ispell.[Ch] (setError): new method.
525         * ispell.C (c-tor): move out child process into new class LaunchIspell.
526         Use setError() insetead of goto END.
527
528         * lyx_cb.C (AutoSave): move out child process into new class
529         AutoSaveBuffer.
530
531 2002-10-30  John Levon  <levon@movementarian.org>
532
533         * text3.C: make start appendix undoable
534
535 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
536
537         * lyxlength.C (inPixels): Fix returned value.
538
539         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
540         environment.
541
542 2002-10-24  Angus Leeming  <leeming@lyx.org>
543
544         * lyxgluelength.h: no need to forward declare BufferParams
545         or BufferView, so don't.
546
547 2002-10-21  John Levon  <levon@movementarian.org>
548
549         * BufferView.C: menuUndo ->undo, redo
550
551         * BufferView.h: document, remove dead, make some methods private
552
553         * paragraph_funcs.h:
554         * paragraph_funcs.C:
555         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
556
557         * buffer.h:
558         * buffer.C:
559         * sgml.h:
560         * sgml.C: move sgml open/close tag into sgml.C
561
562         * bufferview_funcs.h: unused prototype
563
564         * lyxfunc.h:
565         * lyxfunc.C: remove unused
566
567         * lyxtext.h:
568         * text.C: remove unused
569
570 2002-10-21  John Levon  <levon@movementarian.org>
571
572         * BufferView.h:
573         * BufferView.C:
574         * BufferView_pimpl.h:
575         * BufferView_pimpl.C: fix mouse wheel handling based on
576           patch from Darren Freeman
577
578 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
579
580         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
581
582 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
583
584         * lyxlength.C (inPixels): Fix hanfling of negative length.
585         Fix LyXLength::MU case.
586
587 2002-10-16  John Levon  <levon@movementarian.org>
588
589         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
590
591 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
592
593         * converter.C (view): add support for $$i (file name) and $$p
594         (file path) for the viewer command. If $$i is not specified, then
595         it is appended to the command (for compatibility with old syntax)
596
597 2002-10-14  Juergen Vigna  <jug@sad.it>
598
599         * undo_funcs.C (textHandleUndo): alter the order in which the
600         new undopar is added to the LyXText, as we have to set first
601         the right prev/next and then add it as otherwise the rebuild of
602         LyXText is not correct. Also reset the cursor to the right paragraph,
603         with this IMO we could remove the hack in "redoParagraphs()".
604
605 2002-10-09  Angus Leeming  <leeming@lyx.org>
606
607         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
608         to turn off an optimisation if a new inset is to be inserted.
609
610 2002-10-11 André Pönitz <poenitz@gmx.net>
611
612         * lytext.h: make some functions public to allow access
613         from inset/lyxtext for handling LFUN_PRIOR/NEXT
614
615 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
616
617         * text3.C (dispatch): when changing layout, avoid an infinite loop
618         [bug #652]
619
620 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
621
622         * lyxrc.C (read): treat a viewer or converter command of "none" as
623         if it were empty.
624
625         * MenuBackend.C (expandFormats): for an update, also allow the
626         formats that are not viewable
627
628         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
629         script if it is newer than the lyxrc.defaults in user directory
630
631 2002-10-07 André Pönitz <poenitz@gmx.net>
632
633         * text.C: Vitaly Lipatov's small i18n fix
634
635 2002-09-25  Angus Leeming  <leeming@lyx.org>
636
637         * ispell.h: doxygen fix.
638
639 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
640
641         * buffer.h (readFile): Add a new argument to the method, to allow
642         reading of old-format templates.
643
644 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
645
646         * toc.C (getTocList): Get TOC from InsetWrap.
647
648 2002-09-16  John Levon  <levon@movementarian.org>
649
650         * lyxfunc.C: check tabular for cut/copy too
651
652 2002-09-12  John Levon  <levon@movementarian.org>
653
654         * LyXAction.C: tidy
655
656         * factory.h:
657         * factory.C: add header
658
659         * paragraph_funcs.h:
660         * paragraph_funcs.C: cleanup
661
662 2002-09-11  John Levon  <levon@movementarian.org>
663
664         * PrinterParams.h: odd/even default to true
665
666 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
667
668         * PrinterParams.h: update printer parameters for new xforms dialog
669
670 2002-09-11  Angus Leeming  <leeming@lyx.org>
671
672         * lyxserver.C (read_ready): re-write to make it more transparent
673         and to make it work in coherent fashion under Tru64 Unix.
674
675 2002-09-11  André Pönitz <poenitz@gmx.net>
676
677         * commandtags.h:
678         * LyXAction.C:
679         * text3.C: implement LFUN_WORDSEL
680
681 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
682
683         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
684         make floatlist_ a boost::shared_ptr<FloatList>
685
686         * lyxtextclass.C: include FloatList.h
687         (LyXTextClass): initialize floatlist_
688         (TextClassTags): add TC_NOFLOAT
689         (Read): match "nofloat" to TC_NOFLOAT and use it.
690         (readFloat): modify call to floatlist_
691         (floats): ditto
692         (floats): ditto
693
694         * FloatList.[Ch] (FloatList): remove commented out float
695         initialization.
696         (erase): new function
697
698 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
699
700         * MenuBackend.C (expandToc): fix crash when there is no document
701         open
702
703 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
704
705         * many files: Add insetwrap.
706
707 2002-09-09  John Levon  <levon@movementarian.org>
708
709         * text2.C: remove confusing and awkward depth wraparound
710
711 2002-09-09  John Levon  <levon@movementarian.org>
712
713         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
714
715         * buffer.h:
716         * buffer.C: remove getIncludeonlyList()
717
718         * paragraph.C:
719         * lyxfunc.C: remove headers
720
721 2002-09-09  Juergen Vigna  <jug@sad.it>
722
723         * text.C (getColumnNearX): fix form Michael this is most
724         probably a cut&paste bug.
725
726 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
727
728         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
729
730         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
731         references, ws changes.
732
733         * text2.C (init): update counters after init
734         (insertParagraph): no need to set counter on idividual paragraphs.
735         (setCounter): access the counters object in the textclass object
736         on in the buffer object.
737         (updateCounters): ditto
738
739         * lyxtextclass.C: include counters.h, add variable ctrs_ as
740         shared_ptr<Counters> to avoid loading counters.h in all
741         compilation units.
742         (LyXTextClass): initialize ctrs_
743         (TextClassTags): add TC_COUNTER, and ...
744         (Read): use it here.
745         (CounterTags): new tags
746         (readCounter): new function
747         (counters): new funtion
748         (defaultLayoutName): return a const reference
749
750         * counters.C (Counters): remove contructor
751         (newCounter): remove a couple of unneeded statements.
752         (newCounter): simplify a bit.
753         (numberLabel): some small formatting changes.
754
755         * buffer.[Ch]: remove all traces of counters, move the Counters
756         object to the LyXTextClass.
757
758 2002-09-06  Alain Castera  <castera@in2p3.fr>
759
760         * tabular.C: uses \tabularnewline; uses >{...} construct from array
761         package to set the horizontal alignment on fixed width columns.
762
763         * lyx_sty.C:
764         * lyx_sty.h: added tabularnewline macro def.
765
766         * LaTeXFeatures.C: added NeedTabularnewline macro feature
767
768 2002-09-06  John Levon  <levon@movementarian.org>
769
770         * LyXAction.C: tooltips for sub/superscript
771
772         * MenuBackend.C: a bit more verbose
773
774         * lyxfunc.C: tiny clean
775
776         * undo_funcs.C: document undo_frozen
777
778 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * counters.C (Counters): add missing algorithm counter.
781
782         * text2.C (setCounter): lookup the counter with layouts latexname
783         instead of by section number.
784         (setCounter): use a hackish way to lookup the correct enum
785         counter.
786         a float name->type change
787         reset enum couners with counter name directly instead of depth value.
788
789         * counters.C (Counters): remove the push_backs, change to use the
790         float type not the float name.
791         (labelItem): remove unused string, float name->type change
792
793         * counters.h: don't include vector, loose the enums and sects vectors
794
795 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
796
797         * lyxtextclass.C (TextClassTags): add TC_FLOAT
798         (Read): add float->TC_FLOAT to textclassTags
799         (Read): and handle it in the switch
800         (readFloat): new function
801
802         * FloatList.C (FloatList): comment out the hardcoded float
803         definitions.
804
805         * lyxlayout.h: ws change.
806
807 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
808
809         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
810
811 2002-09-03  Angus Leeming  <leeming@lyx.org>
812
813         * BufferView_pimpl.h: qualified name is not allowed in member
814         declaration: WorkArea & Pimpl::workarea() const;
815
816         * factory.C: added using std::endl directive.
817
818         * text3.C: added using std::find and std::vector directives.
819
820 2002-08-29  André Pönitz <poenitz@gmx.net>
821
822         * lyxtext.h:
823         * text2.C: remove unused member number_of_rows
824
825         * Makefile.am:
826         * BufferView2.C: remove file, move contents to...
827         * BufferView.C: ... here
828
829         * BufferView_pimpl.C:
830         * factory.C: move more inset creation to factory
831
832         * vspace.C: avoid direct usage of LyXText, ws changes
833
834         * BufferView.[Ch]:
835                 don't provide direct access to WorkArea, use two simple
836                 acessors haveSelction() and workHeight() instead
837
838
839 2002-08-29  John Levon  <levon@movementarian.org>
840
841         * BufferView_pimpl.C (dispatch): do not continue when
842           no buffer
843
844 2002-08-28  André Pönitz <poenitz@gmx.net>
845
846         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
847
848         * BufferView.h:
849         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
850
851 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
852
853         * buffer.C: increment LYX_FORMAT to 221
854
855         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
856         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
857
858         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
859
860         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
861
862 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
863
864         * factory.C (createInset): use LyXTextClass::floats
865
866         * MenuBackend.C (expandFloatListInsert):
867         (expandFloatInsert):
868         (expandToc):
869
870         * text2.C (setCounter):
871
872         * LaTeXFeatures.C (useFloat):
873         (getFloatDefinitions):
874
875         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
876
877         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
878         floatlist_, with accessor floats().
879
880         * FloatList.h: remove global FloatList
881
882 2002-08-26  André Pönitz <poenitz@gmx.net>
883
884         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
885
886         * BufferView.h:
887         * BufferView2.C:
888         * BufferView_pimpl.C:
889         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
890
891 2002-08-25  John Levon  <levon@movementarian.org>
892
893         * LyXAction.C: fix margin note description
894
895 2002-08-24  John Levon  <levon@movementarian.org>
896
897         * buffer.C:
898         * bufferlist.C:
899         * bufferview_funcs.C:
900         * lyxfont.C:
901         * undo_funcs.C: cleanups
902
903         * lyxfunc.C: disable CUT/COPY when no selection
904
905 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
906
907         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
908         in "enum UNIT"; e.g. PTW for Percent of TextWidth
909
910         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
911         Add backward compatibility to "mono", "gray" and "no".
912
913 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
914
915         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
916         (and file_format >= 200).
917
918 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
919
920         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
921
922 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
923
924         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
925
926 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * BufferView_pimpl.C:
929         * LyXAction.C:
930         * buffer.C:
931         * commandtags.h:
932         * lyxfunc.C:
933         * paragraph.[Ch]:
934         * text2.C:
935         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
936         inset and code to make it  work with the paragraph code. The inset
937         can be anywhere in the paragraph, but will only do the expected
938         thing in LaTeX if the layout file contains the parameter line
939                         OptionalArgs    1
940         (or more generally, a nonzero value) for that layout.
941
942 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * paragraph.h: remove the declaration of undefined counters class
945         function.
946
947 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
948
949         * text2.C (setCounter):  fixed enumeration mis-count as reported by
950         Dr. Richard Hawkins.
951
952 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
953
954         * paragraph_funcs.h: remove some unneeded includes
955
956         * text.C (backspace): pasteParagraph now in global scipe
957
958         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
959         (pasteSelection): ditto
960
961         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
962         * paragraph_funcs.C (pasteParagraph): ... here
963
964 2002-08-20  André Pönitz <poenitz@gmx.net>
965
966         * commandtags.h: new LFUNs for swapping/copying table row/colums
967
968         * LyXAction.C:
969         * lyxfunc.C: support for new lfuns
970
971 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
972
973         * tabular.C:
974         * buffer.[Ch]: remove NO_COMPABILITY stuff
975
976 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
977
978         * boost.C (throw_exception): new file, with helper function for
979         boost compiled without exceptions.
980
981         * paragraph.h:
982         * lyxlength.C:
983         * buffer.C:
984         * ParameterStruct.h:
985         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
986
987         * bufferlist.C (emergencyWriteAll): use boost bind
988
989         * BufferView_pimpl.C (moveCursorUpdate): remove inline
990
991         * text.C: include paragraph_funcs.h
992         (breakParagraph): breakParagraph is now in global scope
993
994         * paragraph_funcs.[Ch]: new files
995
996         * paragraph.C (breakParagraph,breakParagraphConservative): move to
997         global scope
998
999         * buffer.C: include paragraph_funcs.h
1000         (insertStringAsLines): breakParagraph is now in global scope
1001
1002         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1003         paragraph_funcs.C
1004
1005         * CutAndPaste.C: include paragraph_funcs.h
1006         (cutSelection): breakParagraphConservative is now in global scope
1007         (pasteSelection): ditto
1008
1009         * buffer.h: declare oprator== and operator!= for
1010         Buffer::inset_iterator
1011
1012         * bufferlist.C (emergencyWrite): don't use fmt(...)
1013
1014         * text3.C: add using std::endl
1015
1016         * BufferView.C (moveCursorUpdate): remove default arg
1017
1018 2002-08-20  André Pönitz <poenitz@gmx.net>
1019
1020         * buffer.[Ch]: move inline functions to .C
1021
1022         * BufferView2.C:
1023         * BufferView_pimpl.C:
1024         * text.C:
1025         * buffer.[Ch]: use improved inset_iterator
1026
1027         * buffer.C:
1028         * paragraph.[Ch]: write one paragraph at a time
1029
1030 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
1031
1032         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1033         style if style is not specified.
1034
1035 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1036
1037         * text2.C (setCounter): when searching for right label for a
1038         caption, make sure to recurse to parent insets (so that a caption
1039         in a minipage in a figure float works) (bug #568)
1040
1041 2002-08-20  André Pönitz <poenitz@gmx.net>
1042
1043         * text3.C: new file for LyXText::dispatch() and helpers
1044
1045         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1046
1047         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1048
1049 2002-08-19  André Pönitz <poenitz@gmx.net>
1050
1051         * lyxtext.h:
1052         * text.C: new LyXText::dispatch()
1053
1054         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1055
1056 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1057
1058         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1059
1060         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1061         Hebrew text.
1062
1063 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1064
1065         * Makefile.am: use $(variables) instead of @substitutions@
1066
1067 2002-08-15  André Pönitz <poenitz@gmx.net>
1068
1069         * lyxfunc.C:
1070         * BufferView_pimpl.C: streamlining mathed <-> outer world
1071         interaction
1072
1073         * commandtags.h:
1074         * LyXAction.C: remove unused LFUN_MATH
1075
1076 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * paragraph.[Ch]: add some NO_NEXT ifdefs.
1079
1080 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1081
1082         * paragraph.C (Paragraph): reformat a bit
1083         (cutIntoMinibuffer): use builtin InsetList function instad of
1084         doing it manually.
1085         (getInset): ditto
1086
1087         * buffer.C: include boost/bind.hpp, add using std::for_each
1088         (writeFileAscii): use ParagraphList iterators
1089         (validate): use for_each for validate traversal of paragraphs
1090         (getBibkeyList): use ParagraphList iterators
1091         (resizeInsets): use for_each to resizeInsetsLyXText for all
1092         paragraphs.
1093         (getParFromID): use ParagraphList iterators
1094
1095         * BufferView2.C (lockInset): use paragraph list and iterators
1096
1097 2002-08-14  John Levon  <levon@movementarian.org>
1098
1099         * lyxserver.C: remove spurious xforms include
1100
1101 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1102
1103         * lyxfunc.C (getStatus): disable math-extern outside of math mode
1104
1105 2002-08-13  André Pönitz <poenitz@gmx.net>
1106
1107         * LyXAction.[Ch]:
1108         * lyxfunc.C: further cleaning
1109
1110 2002-08-13  André Pönitz <poenitz@gmx.net>
1111
1112         * funcrequest.h: new constructor
1113
1114         * funcrequest.C: move stuff here from .h
1115
1116         * Makefile.am:
1117         * BufferView_pimpl.C:
1118         * LyXAction.C:
1119         * toc.C:
1120         * lyxfunc.C: subsequent changes
1121
1122         * lyxfunc.h: new view() member function
1123
1124         * lyxfunc.C: subsequent changes
1125
1126 2002-08-13  Angus Leeming  <leeming@lyx.org>
1127
1128         * BufferView2.C:
1129         * BufferView_pimpl.C:
1130         * buffer.C:
1131         * converter.C:
1132         * importer.C:
1133         * lyxfunc.C:
1134         * lyxvc.C:
1135         * toc.C:
1136         * vc-backend.C:
1137         changes due to the changed LyXView interface that now returns references
1138         to member variables not pointers.
1139
1140 2002-08-13  Angus Leeming  <leeming@lyx.org>
1141
1142         * WordLangTuple (word, lang_code): return references to strings,
1143         not strings.
1144
1145         * BufferView.h:
1146         * SpellBase.h:
1147         * lyxtext.h: forward-declare WordLangTuple.
1148
1149         * BufferView2.C:
1150         * ispell.C:
1151         * pspell.C:
1152         * text.C: #include "WordLangTuple.h".
1153
1154         * lyxtext.h:
1155         * text.C: (selectNextWordToSpellcheck): constify return type.
1156
1157 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
1158
1159         * buffer.C:
1160         * buffer.h:
1161         * lyxtext.h:
1162         * paragraph.C:
1163         * paragraph_pimpl.h:
1164         * text.C:
1165         * text2.C:
1166         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1167         suggested by Angus.
1168         Made updateCounter always count from start of buffer, and removed
1169         second argument (par).
1170         Reverted floats number display to '#'. Perhaps I'll try again when the
1171         code base is sanitized a bit.
1172
1173 2002-08-12  Angus Leeming  <leeming@lyx.org>
1174
1175         * buffer.[Ch] (getLabelList): constify.
1176
1177 2002-08-07  André Pönitz <poenitz@gmx.net>
1178
1179         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1180
1181         * funcrequest.h: extension to keep mouse (x,y) position
1182
1183 2002-08-12  Juergen Vigna  <jug@sad.it>
1184
1185         * BufferView2.C (insertErrors): forbid undo when inserting error
1186         insets.
1187
1188         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1189
1190 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * ParagraphList.[Ch]: new files
1193
1194         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1195
1196         * BufferView2.C (lockInset): ParagraphList changes
1197         * toc.C: ditto
1198         * text2.C: ditto
1199         * bufferlist.C: ditto
1200         * buffer.h: ditto
1201         * buffer.C: ditto
1202
1203 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1204
1205         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1206         unused class variable counter_,
1207
1208         * paragraph.[Ch] (getFirstCounter): delete unused function
1209
1210         * counters.C: include LAssert.h
1211         (reset): add a new function with no arg, change other version to
1212         not have def. arg and to not allow empty arg.
1213
1214         * text2.C (setCounter): remove empty arg from call to Counters::reset
1215
1216 2002-08-11  John Levon  <levon@movementarian.org>
1217
1218         * Makefile.am: add WordLangTuple.h
1219
1220 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1223         lyxfunc.C lyxlex_pimpl.C: ws changes only.
1224
1225         * insets/insettext.C: InsetList changes
1226
1227         * graphics/GraphicsSupport.C (operator()): InsetList changes
1228
1229         * toc.C (getTocList): InsetList changes
1230
1231         * paragraph_pimpl.[Ch]: InsetList changes
1232
1233         * paragraph.[Ch]: InsetList changes
1234
1235         * buffer.C (inset_iterator): InsetList changes
1236         (setParagraph): ditto
1237         * buffer.h (inset_iterator): ditto
1238         * iterators.C (operator++): ditto
1239         * iterators.h: ditto
1240
1241         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1242
1243         * InsetList.[Ch]: new files, most InsetList handling moved out of
1244         paragraph.C.
1245
1246         * BufferView2.C (removeAutoInsets): InsetList changes
1247         (lockInset): ditto
1248         (ChangeInsets): ditto
1249
1250 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * paragraph_pimpl.h (empty): new function
1253
1254         * paragraph.[Ch] (empty): new function
1255
1256         * other files: use the new Paragraph::empty function
1257
1258 2002-08-09  John Levon  <levon@movementarian.org>
1259
1260         * lyxtext.h: remove unused refresh_height
1261
1262 2002-08-09  John Levon  <levon@movementarian.org>
1263
1264         * Makefile.am:
1265         * sgml.h:
1266         * sgml.C:
1267         * buffer.C:
1268         * paragraph.h:
1269         * paragraph.C: move sgml char escaping out of paragraph
1270
1271         * paragraph.h:
1272         * paragraph.C: remove id setter
1273
1274         * buffer.C:
1275         * paragraph.C:
1276         * paragraph_pimpl.C: remove dead tex_code_break_column
1277
1278         * bufferview_funcs.C: small cleanup
1279
1280         * lyxfunc.C: remove dead proto
1281
1282         * lyxtext.h: make some stuff private. Remove some dead stuff.
1283
1284         * lyxgluelength.C: make as[LyX]String() readable
1285
1286 2002-08-08  John Levon  <levon@movementarian.org>
1287
1288         * LyXAction.h:
1289         * LyXAction.C:
1290         * MenuBackend.C:
1291         * ToolbarDefaults.C:
1292         * lyxfunc.C:
1293         * lyxrc.C:
1294         * toc.C: lyxaction cleanup
1295
1296 2002-08-08  John Levon  <levon@movementarian.org>
1297
1298         * BufferView2.C: small cleanup
1299
1300         * lyxfind.h:
1301         * lyxfind.C: move unnecessary header into the .C
1302
1303 2002-08-08  John Levon  <levon@movementarian.org>
1304
1305         * funcrequest.h: just tedious nonsense
1306
1307         * lyx_main.h:
1308         * lyx_main.C: cleanups
1309
1310         * buffer.C:
1311         * vspace.C: remove dead header lyx_main.h
1312
1313 2002-08-07  Angus Leeming  <leeming@lyx.org>
1314
1315         * Paragraph.[Ch]:
1316         * paragraph_pimpl.h:
1317         Forward declare class Counters in paragraph.h by moving the ctrs member
1318         variable into Paragraph::Pimpl.
1319         (counters): new method, returning a reference to pimpl_->ctrs.
1320
1321         * text2.C: ensuing changes.
1322
1323 2002-08-07  John Levon  <levon@movementarian.org>
1324
1325         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1326
1327         * BufferView_pimpl.C: announce X selection on double/triple
1328           click
1329
1330         * lyx_main.C: use correct bool in batch dispatch
1331
1332         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1333
1334 2002-08-07  André Pönitz <poenitz@gmx.net>
1335
1336         * funcrequest.h: new class to wrap a kb_action and its argument
1337
1338         * BufferView.[Ch]:
1339         * BufferView_pimpl[Ch]:
1340         * LaTeX.C:
1341         * LyXAction.[Ch]:
1342         * lyxfunc.[Ch]:
1343         * lyxrc.C: subsequent changes
1344
1345
1346 2002-08-07  John Levon  <levon@movementarian.org>
1347
1348         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1349           document options change.
1350
1351 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
1352
1353         * counters.[Ch]
1354         * text2.C
1355         * paragraph.[Ch]
1356         * makefile.am: move counters functionality over from
1357         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1358
1359 2002-08-06  John Levon  <levon@movementarian.org>
1360
1361         * WordLangTuple.h: new file for word + language code tuple
1362
1363         * SpellBase.h:
1364         * pspell.h:
1365         * pspell.C:
1366         * ispell.h:
1367         * ispell.C:
1368         * lyxtext.h:
1369         * text.C:
1370         * text2.C:
1371         * BufferView.h:
1372         * BufferView2.C: use WordLangTuple
1373
1374         * layout.h:
1375         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1376
1377 2002-08-06  John Levon  <levon@movementarian.org>
1378
1379         * lyx_main.C: fix cmdline batch handling
1380
1381 2002-08-06  André Pönitz <poenitz@gmx.net>
1382
1383         * lyxrc.C: set default for show_banner to true
1384
1385 2002-08-06  John Levon  <levon@movementarian.org>
1386
1387         * pspell.C: fix a crash, and allow new aspell to work
1388
1389 2002-08-06  John Levon  <levon@movementarian.org>
1390
1391         * lyxfunc.C:
1392         * kbmap.C: small cleanup
1393
1394         * vspace.h:
1395         * vspace.C: add const
1396
1397 2002-08-05  John Levon  <levon@movementarian.org>
1398
1399         * LyXAction.C: back to tabular-insert
1400
1401 2002-08-04  John Levon  <levon@movementarian.org>
1402
1403         * BufferView.h:
1404         * BufferView.C: cosmetic change
1405
1406         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1407
1408         * bufferlist.C:
1409         * buffer.h:
1410         * buffer.C:
1411         * lyxcb.h:
1412         * lyxcb.C:
1413         * lyxserver.C:
1414         * lyxvc.C:
1415         * vc-backend.C:
1416         * BufferView2.C: purge all "Lyx" not "LyX" strings
1417
1418         * lyxcursor.h:
1419         * lyxcursor.C: attempt to add some documentation
1420
1421         * lyxfunc.C:
1422         * commandtags.h:
1423         * LyXAction.C:
1424         * ToolbarDefaults.C:
1425         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1426           merge with LFUN_TABULAR_INSERT
1427
1428         * Makefile.am:
1429         * SpellBase.h:
1430         * ispell.h:
1431         * ispell.C:
1432         * pspell.h:
1433         * pspell.C: split up i/pspell implementations into separate
1434           files, many cleanups
1435
1436         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1437
1438         * text2.C: some cleanup
1439
1440         * lyxfunc.C: don't check for isp_command == "none" any more, it
1441           didn't make any sense
1442
1443 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
1444
1445         * counters.[Ch]
1446         * text2.C
1447         * paragraph.[Ch]
1448         * makefile.am: move counters functionality over
1449         from text2.C/paragraph.[Ch] to counters.[Ch], and
1450         make proper C++.
1451 2002-08-02  John Levon  <levon@movementarian.org>
1452
1453         * buffer.C: s/lyxconvert/lyx2lyx/
1454
1455 2002-08-02  Angus Leeming  <leeming@lyx.org>
1456
1457         * lyxlex.C: revert John's change as it breaks reading of the user
1458         preamble.
1459
1460 2002-08-02  Angus Leeming  <leeming@lyx.org>
1461
1462         * importer.C (Import):
1463         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1464         changes due to LyXView::view() now returning a boost::shared_ptr.
1465
1466 2002-08-02  John Levon  <levon@movementarian.org>
1467
1468         * lyxlex.C: small cleanup
1469
1470 2002-08-02  John Levon  <levon@movementarian.org>
1471
1472         * text2.C (status): small cleanup, no logic change
1473
1474 2002-08-01  John Levon  <levon@movementarian.org>
1475
1476         * buffer.h:
1477         * buffer.C (writeFile): don't output alerts, caller
1478           handles this
1479
1480         * bufferlist.C:
1481         * lyx_cb.C: from above
1482
1483         * lyxfunc.C: allow to open non-existent files
1484
1485 2002-07-31  John Levon  <levon@movementarian.org>
1486
1487         * lyxserver.C: don't let incidental errors get
1488           in the way (errno)
1489
1490 2002-07-30  John Levon  <levon@movementarian.org>
1491
1492         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1493
1494 2002-07-30  John Levon  <levon@movementarian.org>
1495
1496         * lyxserver.h:
1497         * lyxserver.C: remove I/O callback too
1498
1499 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1500
1501         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1502         log.
1503
1504 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1505
1506         * many files: strip,frontStrip -> trim,ltrim,rtrim
1507
1508 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * PrinterParams.h: remove extern containsOnly, and include
1511         support/lstrings.h instead.
1512
1513         * LaTeX.C (scanAuxFile): modify because of strip changes
1514         (deplog): ditto
1515         * buffer.C (makeLaTeXFile): ditto
1516         * bufferparams.C (writeFile): ditt
1517         * lyxfont.C (stateText): ditto
1518         * lyxserver.C (read_ready): ditto
1519         * vc-backend.C (scanMaster): ditto
1520
1521         * BufferView_pimpl.h: ws changes
1522
1523         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1524
1525 2002-07-26  André Pönitz <poenitz@gmx.net>
1526
1527         * kb_sequence.C: remove unnedred usings
1528
1529 2002-07-26  Juergen Vigna  <jug@sad.it>
1530
1531         * lyxfind.C (LyXReplace): we have to check better if the returned
1532         text is not of theLockingInset()->getLockingInset().
1533
1534 2002-07-25  Juergen Vigna  <jug@sad.it>
1535
1536         * lyxfind.C (LyXReplace): don't replace if we don't get the
1537         right LyXText.
1538
1539         * undo_funcs.C (createUndo): remove debugging code.
1540
1541 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
1542
1543         * buffer.C (parseSingleLyXformat2Token): Use default placement
1544         when reading old floats.
1545
1546         * FloatList.C (FloatList): Change the default placement of figure
1547         and tables to "tbp".
1548
1549 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
1550
1551         * MenuBackend.C: using std::max
1552
1553 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1554
1555         * MenuBackend.C (expandToc):
1556         (expandToc2): code moved from xforms menu frontend. It is now
1557         generic and TOCs are transparent to menu frontends.
1558
1559 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1560
1561         * toc.C (getTocList): protect against buf=0
1562
1563         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1564         Menu as first parameter. Now, this calls itself recursively to
1565         expand a whole tree (this will be useful for TOC handling)
1566         (expandFloatInsert): remove 'wide' version of floats
1567
1568         * MenuBackend.h (submenuname): returns the name of the submenu.
1569         (submenu): returns the submenu itself, provided it has been
1570         created by MenuBackend::expand
1571
1572 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1573
1574         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1575         insets which have noFontChange == true. (bug #172)
1576
1577 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1578
1579         * BufferView_pimpl.C: add connection objects and use them...
1580         (Pimpl): here.
1581
1582 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1583
1584         * MenuBackend.C (expandLastfiles):
1585         (expandDocuments):
1586         (expandFormats):
1587         (expandFloatListInsert):
1588         (expandFloatInsert):
1589         (expand): split expand in parts
1590
1591 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
1592
1593         * lyx_gui.C: use lyx_gui::exit()
1594
1595 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
1596
1597         * LyXAction.C: show the failing pseudo action
1598
1599 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
1600
1601         * buffer.C (readFile): Run the lyxconvert script in order to read
1602         old files.
1603
1604 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
1605
1606         * LyXAction.C:
1607         * commandtags.h:
1608         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1609
1610 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
1611
1612         * LyXAction.C:
1613         * commandtags.h:
1614         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1615
1616 2002-07-22  Herbert Voss  <voss@lyx.org>
1617
1618         * lengthcommon.C:
1619         * lyxlength.[Ch]: add support for the vertical lengths
1620
1621 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
1622
1623         * toc.[Ch]: std:: fixes
1624
1625 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1626
1627         * lyxrc.C: do not include lyx_main.h
1628
1629         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1630         for layouts
1631
1632         * lyxrc.C:
1633         * encoding.C:
1634         * bufferlist.C:
1635         * BufferView2.C: include "lyxlex.h"
1636
1637         * tabular.h:
1638         * bufferparams.h: do not #include "lyxlex.h"
1639
1640         * lyxtextclasslist.C (Add): remove method
1641         (classlist): renamed to classlist_
1642
1643         * paragraph_pimpl.C:
1644         * paragraph.C:
1645         * text2.C:
1646         * CutAndPaste.C:
1647         * bufferview_funcs.C:
1648         * bufferlist.C:
1649         * text.C:
1650         * LaTeXFeatures.C:
1651         * buffer.C:
1652         * toc.C (getTocList): use BufferParams::getLyXTextClass
1653
1654         * toc.C (getTocList): use InsetFloat::addToToc
1655
1656         * toc.[Ch]: new files, containing helper functions to handle table
1657         of contents
1658
1659         * lyxfunc.C (dispatch): no need to remove spaces around command
1660         given as a string
1661         (getStatus): handle LFUN_SEQUENCE by returning the status of the
1662         first command of the sequence; it is not very clever, but I do not
1663         have a better idea, actually
1664
1665         * LyXAction.C (LookupFunc): make sure to remove space at the
1666         beginning and end of the command
1667
1668 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1669
1670         * MenuBackend.C (getMenubar): new method: return the menubar of
1671         this menu set
1672         (read): treat differently reading of menu and menubar (in
1673         particular, the menubar has no name now)
1674         (Menu::menubar): remove
1675
1676         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1677         saving is finished
1678
1679 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
1680
1681         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1682         a bibitem inset in a RTL paragraph.
1683
1684 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
1685
1686         * paragraph_pimpl.C: constify
1687
1688         * BufferView_pimpl.C:
1689         * LaTeX.C:
1690         * lyxfunc.C: fix dispatch in a nicer way
1691
1692 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1693
1694         * lyxfunc.C (dispatch):
1695         * BufferView_pimpl.C:
1696         * BufferView_pimpl.h:
1697         * BufferView.C:
1698         * BufferView.h: rename Dispatch() to dispatch()
1699
1700         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1701
1702         * lyxlayout.C (Read): honor DependsOn tag
1703
1704         * lyxlayout.[Ch] (depends_on): new method
1705
1706         * version.C.in: update lyx_docversion
1707
1708         * LaTeXFeatures.C (getMacros): only define \LyX when needed
1709
1710         * paragraph.C (validate): remove from here...
1711         * paragraph_pimpl.C (validate): ... and move here
1712         (isTextAt): make it const
1713
1714         * buffer.C (getLists): ws cleanup
1715
1716 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
1717
1718         * language.C (read): Use iso8859-1 encoding in latex_lang
1719         (this prevents LyX from crashing when using iso10646-1 encoding).
1720
1721 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1722
1723         * text2.C (toggleInset): if cursor is inside an inset, close the
1724         inset and leave cursor _after_ it
1725
1726 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
1727
1728         * lyxfunc.C: move minibuffer completion handling out of here
1729
1730 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
1731
1732         * BufferView_pimpl.C:
1733         * LaTeX.C: fix dispatch calls
1734
1735 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
1736
1737         * text.C (drawChars): Fix Arabic text rendering.
1738
1739 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
1740
1741         * LyXAction.C:
1742         * commandtags.h:
1743         * lyxfunc.C: remove message-push/pop
1744
1745         * lyxserver.C:
1746         * lyxfunc.h:
1747         * lyxfunc.C: rationalise some code by removing verboseDispatch
1748           in favour of a bool argument to dispatch()
1749
1750 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1751
1752         * lyx_main.C (init): make sure to read symlinks as absolute paths
1753
1754 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1755
1756         * lyxfunc.h:
1757         * lyxfunc.C: no need for commandshortcut to be a member
1758
1759 2002-07-15  André Pönitz <poenitz@gmx.net>
1760
1761         * converter.C: add support for $$s (scripts from lib/scripts dir)
1762         * lyx_main.C: white space
1763
1764 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1765
1766         * bufferlist.C:
1767         * lyxrc.h:
1768         * lyxrc.C: remove second exit confirmation
1769
1770 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1771
1772         * BufferView.h:
1773         * BufferView.C:
1774         * BufferView2.C:
1775         * BufferView_pimpl.h:
1776         * BufferView_pimpl.C:
1777         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1778
1779 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1780
1781         * MenuBackend.C (expand): add numeric shortcuts to document menu
1782
1783         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1784
1785 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1786
1787         * lyxfont.C (setLyXFamily):
1788         (setLyXSeries):
1789         (setLyXShape):
1790         (setLyXSize):
1791         (setLyXMisc):
1792         (lyxRead):
1793         * debug.C (value):
1794         * buffer.C (asciiParagraph): use ascii_lowercase
1795
1796 2002-07-15  Mike Fabian  <mfabian@suse.de>
1797
1798         * lyxlex_pimpl.C (search_kw):
1799         * lyxlex.C (getLongString):
1800         * converter.h (operator<):
1801         * converter.C (operator<):
1802         * buffer.C (parseSingleLyXformat2Token):
1803         (asciiParagraph):
1804         * ToolbarDefaults.C (read):
1805         * MenuBackend.C (checkShortcuts):
1806         (read):
1807         * LColor.C (getFromGUIName):
1808         (getFromLyXName): use the compare_ascii_no_case instead of
1809         compare_no_case, because in turkish, 'i' is not the lowercase
1810         version of 'I', and thus turkish locale breaks parsing of tags.
1811
1812 2002-07-16  Angus Leeming  <leeming@lyx.org>
1813
1814         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1815         now takes a Buffer const & argument.
1816
1817 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
1818
1819         * BufferView.C (resize): check there's a buffer to resize
1820
1821 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
1822
1823         * lyxfunc.C: remove dead code
1824
1825         * lyxserver.h:
1826         * lyxserver.C: use lyx_guii::set_read_callback
1827
1828 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1829
1830         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1831         an inset in a RTL paragraph.
1832
1833 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1834
1835         * lyxfunc.C: repaint after a font size update
1836
1837 2002-07-15  André Pönitz <poenitz@gmx.net>
1838
1839         * lyxlength.C: inBP should be able to return negative values
1840
1841 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1842
1843         * lyxfunc.C: use lyx_gui::update_fonts()
1844
1845 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1846
1847         * lyxfunc.C: use lyx_gui::update_color()
1848
1849 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
1850
1851         * bufferlist.C:
1852         * lyxfunc.h:
1853         * lyxfunc.C:
1854         * lyxrc.h:
1855         * lyxrc.C: remove file->new asks for name option, and let
1856           buffer-new take an argument
1857
1858 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
1859
1860         * BufferView_pimpl.C: remove unneeded extra repaint()
1861
1862 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
1863
1864         * LyXAction.C: allow command-sequence with NoBuffer
1865
1866         * lyxfunc.C: don't insist on trailing ';' for command-sequence
1867
1868 2002-07-10  Angus Leeming  <leeming@lyx.org>
1869
1870         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1871
1872 2002-07-09  Angus Leeming  <leeming@lyx.org>
1873
1874         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1875
1876 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
1877
1878         * lengthcommon.h: whitespace
1879
1880         * lyxfunc.C: update scrollbar after goto paragraph
1881
1882         * lyxtext.h: factor out page break drawing, and fix it so
1883           page break/added space paints as selected nicely
1884
1885 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
1886
1887         * BufferView_pimpl.C: add FIXMEs, clean up a little
1888
1889 2002-07-09  André Pönitz <poenitz@gmx.net>
1890
1891         * lyxfont.[Ch]: support for wasy symbols
1892
1893 2002-07-08  André Pönitz <poenitz@gmx.net>
1894
1895         * BufferView_pimpl.C: apply John's patch for #93.
1896
1897 2002-07-05  Angus Leeming  <leeming@lyx.org>
1898
1899         * BufferView_pimpl.C (buffer): generate previews if desired.
1900
1901         * LColor.h: add "preview" to the color enum.
1902
1903         * LColor.C (LColor): add a corresponding entry to the items array.
1904
1905         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1906         with this buffer.
1907
1908 2002-07-05  Angus Leeming  <leeming@lyx.org>
1909
1910         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1911         The body of the code is now in the method that is passed an ostream &
1912         rather than a file name.
1913         Pass an additional only_preamble parameter, useful for the forthcoming
1914         preview stuff.
1915
1916 2002-07-03  André Pönitz <poenitz@gmx.net>
1917
1918         * lyxfunc.C: simplify getStatus() a bit for math stuff
1919
1920 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1921
1922         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1923
1924 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1925
1926         * text.C (changeRegionCase): do not change case of all the
1927         document when region ends at paragraph end (bug #461)
1928
1929 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1930
1931         * paragraph.C (startTeXParParams):
1932         (endTeXParParams): add \protect when necessary
1933
1934 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1935
1936         * BufferView_pimpl.C (workAreaExpose): remove warning
1937
1938 2002-06-27  Angus Leeming  <leeming@lyx.org>
1939
1940         * Makefile.am: add lyxlayout_ptr_fwd.h.
1941
1942 2002-06-26  André Pönitz <poenitz@gmx.net>
1943
1944         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1945
1946 2002-06-25  Angus Leeming  <leeming@lyx.org>
1947
1948         * lyxfunc.C (dispatch): Comment out the call to
1949         grfx::GCache::changeDisplay. The method no longer exists now that the
1950         pixmap generation part of the graphics loader has been moved into
1951         InsetGraphics.
1952
1953 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1954
1955         * text2.C: layout as layout
1956
1957         * text.C: layout as layout
1958
1959         * tabular.C (OldFormatRead): layout as layout
1960
1961         * paragraph_pimpl.C (TeXDeeper): layout as layout
1962         (realizeFont): layout as layout
1963
1964         * paragraph.C (writeFile): layout as layout
1965         (validate): layout as layout
1966         (getFont): layout as layout
1967         (getLabelFont): layout as layout
1968         (getLayoutFont): layout as layout
1969         (breakParagraph): layout as layout
1970         (stripLeadingSpaces): layout as layout
1971         (getEndLabel): layout as layout
1972         (getMaxDepthAfter): layout as layout
1973         (applyLayout): layout as layout
1974         (TeXOnePar): layout as layout
1975         (simpleTeXOnePar): layout as layout
1976         (TeXEnvironment): layout as layout
1977         (layout): layout as layout
1978         (layout): layout as layout
1979
1980         * lyxtextclass.C (compare_name): new functor to work with
1981         shared_ptr, layout as layout
1982         (Read): layout as layout
1983         (hasLayout): layout as layout
1984         (operator): layout as layout
1985         (delete_layout): layout as layout
1986         (defaultLayout): layout as layout
1987
1988         * lyxlayout_ptr_fwd.h: new file
1989
1990         * lyxlayout.C (Read): layout as layout
1991
1992         * lyx_cb.C (MenuInsertLabel): layout as layout
1993
1994         * bufferlist.C (newFile): layout as layout
1995
1996         * buffer.C (readLyXformat2): layout as layout
1997         (parseSingleLyXformat2Token): layout as layout
1998         (insertStringAsLines): layout as layout
1999         (asciiParagraph): layout as layout
2000         (latexParagraphs): layout as layout
2001         (makeLinuxDocFile): layout as layout
2002         (simpleLinuxDocOnePar): layout as layout
2003         (makeDocBookFile): layout as layout
2004         (simpleDocBookOnePar): layout as layout
2005         (getLists): layout as layout
2006
2007         * LaTeXFeatures.C (getTClassPreamble): layout as layout
2008
2009         * CutAndPaste.C (cutSelection): layout as layout
2010         (pasteSelection): layout as layout
2011         (SwitchLayoutsBetweenClasses): layout as layout
2012
2013         * BufferView_pimpl.C (Dispatch): layout as layout
2014         (smartQuote): layout as layout
2015
2016         * BufferView2.C (unlockInset): layout as layout
2017
2018 2002-06-24  André Pönitz <poenitz@gmx.net>
2019
2020         * lyxfunc.C: fix #487
2021
2022 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2023
2024         * lyxrc.h:
2025         * lyxrc.C:
2026         * lyxfunc.C: remove display_shortcuts, show_banner
2027
2028 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2029
2030         * Buffer_pimpl.C: oops, update on resize
2031
2032 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2033
2034         * buffer.C:
2035         * converter.C:
2036         * exporter.C:
2037         * lyxfunc.C:
2038         * BufferView.h:
2039         * BufferView.C: use repaint()
2040
2041         * BufferView_pimpl.h:
2042         * BufferView_pimpl.C: s/updateScreen()/repaint()/
2043           as it's a clearer description. Remove superfluous
2044           redraws.
2045
2046 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
2047
2048         * text.C: fix bug 488. Not ideal, but getting
2049           getWord() to work properly for the insets that
2050           matter is more difficult ...
2051
2052 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2053
2054         * BufferView_pimpl.C:
2055         * LyXAction.C:
2056         * commandtags.h:
2057         * lyxfunc.C: remove the six million index lyxfuncs to just
2058           one, and DTRT (bug 458)
2059
2060 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2061
2062         * BufferView.h:
2063         * BufferView.C:
2064         * BufferView_pimpl.h:
2065         * BufferView_pimpl.C: clean up resize() stuff,
2066           and unnecessary updateScreen()s
2067
2068 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
2069
2070         * BufferView.h:
2071         * BufferView.C:
2072         * BufferView_pimpl.h:
2073         * BufferView_pimpl.C:
2074         * lyxfind.h:
2075         * lyxfind.C:
2076         * minibuffer.C: remove focus management of workarea,
2077           not needed. Use screen's greyOut()
2078
2079 2002-06-17  Herbert Voss  <voss@lyx.org>
2080
2081         * converter.C: (convert) do not post a message, when converting
2082         fails, let the calling function decide what to do in this case
2083
2084 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
2085
2086         * lyxfunc.C: tidy up a little
2087
2088 2002-06-16    <alstrup@diku.dk>
2089
2090         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2091         Got rid of FORMS_H_LOCATION include. Now we are
2092         GUII.
2093
2094 2002-06-15  LyX Development team  <lyx@rilke>
2095
2096         * buffer.[Ch] (sgmlOpenTag):
2097         (sgmlCloseTag): Added support for avoiding pernicious mixed
2098         content. Return number of lines written.
2099
2100         (makeLinuxDocFile):
2101         (makeDocBookFile): Fixed calls to sgml*Tag.
2102         Simple white space clean.
2103
2104         (simpleDocBookOnePar): Simple white space clean.
2105
2106         * tabular.[Ch] (docBook): Renamed to docbook and got another
2107         argument to related with the pernicious mixed content.
2108
2109         (docbookRow): Fixed calls for docbook inset method.
2110
2111 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
2112
2113         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2114         so it's X11 independent.
2115
2116         * kb*.[Ch]: ditto.
2117
2118         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2119
2120 2002-06-15  Lyx Development team  <lyx@electronia>
2121
2122         * intl.h: Renamed getTrans to getTransManager.
2123
2124 2002-06-14  Angus Leeming  <leeming@lyx.org>
2125
2126         * Makefile.am: nuke forgotten stl_string_fwd.h.
2127
2128 2002-06-12  Angus Leeming  <leeming@lyx.org>
2129
2130         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2131
2132 2002-06-13  Angus Leeming  <leeming@lyx.org>
2133
2134         * LaTeX.C:
2135         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2136
2137 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
2138
2139         * kbmap.C (getiso): add support for cyrillic and greek
2140
2141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2142
2143         * BufferView.h:
2144         * BufferView.C:
2145         * BufferView_pimpl.h:
2146         * BufferView_pimpl.C: move bogus scrolling logic
2147           to xforms
2148
2149 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2150
2151         * lyxfunc.C:
2152         * BufferView_pimpl.C: view->resize() change
2153
2154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2155
2156         * BufferView_pimpl.C: topCursorVisible
2157           prototype change
2158
2159 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2160
2161         * Makefile.am:
2162         * lyx_gui.h:
2163         * lyx_gui.C: move to frontends/
2164
2165         * main.C:
2166         * lyx_main.h:
2167         * lyx_main.C: changes from above
2168
2169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2170
2171         * intl.C:
2172         * intl.h:
2173         * kbmap.C:
2174         * kbsequence.C:
2175         * lyx_cb.C:
2176         * lyx_main.C: minor tidy
2177
2178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2179
2180         * BufferView_pimpl.h:
2181         * BufferView_pimpl.C:
2182         * BufferView.h:
2183         * BufferView.C: make painter() const,
2184           remove dead code
2185
2186         * BufferView2.C: use screen() accessor
2187
2188         * lyx_main.h:
2189         * lyx_main.C: some minor cleanup
2190
2191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2192
2193         * BufferView_pimpl.h:
2194         * BufferView_pimpl.C: remove enter/leaveView,
2195           use workHeight()
2196
2197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
2198
2199         * BufferView.h:
2200         * BufferView.C:
2201         * BufferView2.C:
2202         * BufferView_pimpl.h:
2203         * BufferView_pimpl.C: only construct screen once,
2204           rename
2205
2206         * lyxrc.C: remove pointless comment
2207
2208 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
2209
2210         * BufferView.h:
2211         * BufferView.C: remove active() and belowMouse()
2212
2213         * BufferView_pimpl.h:
2214         * BufferView_pimpl.C: use workarea() not workarea_,
2215           and make it use a scoped_ptr instead
2216
2217 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
2218
2219         * lyx_gui.C: add debug message on BadWindow
2220
2221 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2222
2223         * sp_spell.C: fdopen is not part of the C++ standard.
2224
2225         * paragraph.C (InsetIterator): use >= instead of ==
2226
2227 2002-06-07  Angus Leeming  <leeming@lyx.org>
2228
2229         Fixes needed to compile with Compaq cxx 6.5.
2230         * BufferView_pimpl.C:
2231         * DepTable.C:
2232         * buffer.C:
2233         * converter.C:
2234         * encoding.C:
2235         * lyx_gui.C:
2236         * lyx_main.C:
2237         * lyxtextclasslist.C:
2238         * minibuffer.C:
2239         * sp_spell.C:
2240         * tabular_funcs.C:
2241         * vc-backend.C:
2242         all c-library variables have been moved into namespace std. Wrap
2243         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2244
2245         * lyxlength.C:
2246         * tabular-old.C:
2247         * tabular.C:
2248         Add a using std::abs declaration.
2249
2250         * kbmap.h (modifier_pair):
2251         * paragraph.h (InsetTable, InsetList):
2252         * lyxfont.h (FontBits):
2253         type definition made public.
2254
2255         * bufferlist.C (emergencyWriteAll): the compiler complains that
2256         there is more than one possible lyx::class_fun template to choose from.
2257         I re-named the void specialisation as lyx::void_class_fun.
2258
2259         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2260
2261         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2262         the compiler is is unable to find tostr in write_attribute.
2263
2264 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2265
2266         * buffer.C (sgmlError): hide #warning
2267
2268 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2269
2270         * xtl/*: get rid of xtl, which is not in use anyway
2271
2272         * LyXAction.C (init):
2273         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2274         were unimplemented xtl experimentation
2275
2276 2002-06-04  André Pönitz <poenitz@gmx.net>
2277
2278         * lyxfunc.C: disable array operation on simple formulae
2279
2280 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
2281
2282         * converter.C: constify a bit
2283
2284 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
2285
2286         * lyx_gui.C: check xforms version correctly
2287
2288 2002-04-30  Herbert Voss  <voss@lyx.org>
2289
2290         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2291         "keep" option
2292
2293 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
2294
2295         * lyxvc.C: fix bug 416 (make sure buffer is saved before
2296           attempt to register it with a VCS)
2297
2298 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2299
2300         * lyx_main.C (init): honor variables LYX_DIR_13x and
2301         LYX_USERDIR_13x
2302
2303 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
2304
2305         * buffer.h:
2306         * buffer.C:
2307         * lyx_main.C: fix a crash on bad command line,
2308           and give a useful exit status on error
2309
2310         * lyxfunc.C (doImport): allow -i lyx to work
2311
2312 2002-03-30  André Pönitz <poenitz@gmx.net>
2313
2314         * lyxfunc.C: mathed font changes
2315
2316 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
2317
2318         * LaTeX.C:
2319         * importer.h:
2320         * importer.C:
2321         * lyx_sty.h:
2322         * lyx_sty.C:
2323         * lyxlex.C:
2324         * lyxrow.h:
2325         * lyxtext.h:
2326         * paragraph.h:
2327         * paragraph.C:
2328         * texrow.h:
2329         * texrow.C:
2330         * text.C:
2331         * trans_mgr.h: srcdocs, and some minor cleanups
2332
2333 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2334
2335         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2336         call getFont all the time)
2337
2338 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2339
2340         * switch from SigC signals to boost::signals
2341
2342 2002-05-29  André Pönitz <poenitz@gmx.net>
2343
2344         * paragraph_pimpl.C (getChar): don't call size() too often...
2345
2346 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2347
2348         * paragraph_pimpl.C (insertChar): do not try to update tables when
2349         appending (pos == size())
2350
2351         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2352         in order to reduce drastically the number of comparisons needed to
2353         parse a large document
2354
2355 2002-05-29  André Pönitz <poenitz@gmx.net>
2356
2357         * text.C:
2358         * text2.C:
2359         * lyxtextclass.C:
2360         * sp_pspell.h:
2361         * textclasslist.[Ch]:
2362         * sp_ispell.h: whitespace change
2363
2364 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2365
2366         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2367         lyxaction directly now.
2368
2369 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
2370
2371         * trans.C:
2372         * lyxfont.C:
2373         * lyxvc.C: remove unused headers
2374
2375 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2376
2377         * Makefile.am:
2378         * buffer.h:
2379         * undostack.h:
2380         * undostack.C:
2381         * undo_funcs.h:
2382         * undo_funcs.C: some cleanups. Use shared_ptr
2383           and a template for the undo stacks.
2384
2385 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
2386
2387         * BufferView_pimpl.h:
2388         * BufferView_pimpl.C:
2389         * kbmap.h:
2390         * kbmap.C:
2391         * kbsequence.h:
2392         * kbsequence.C:
2393         * lyxfunc.h:
2394         * lyxfunc.C:
2395         * text2.C: use key_state/mouse_state
2396
2397 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2398
2399         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2400         and LSubstring
2401
2402         * chset.C: change include order
2403         (loadFile): use boost regex and get rid of LRegex and LSubstring
2404
2405         * Makefile.am (BOOST_LIBS): new variable
2406         (lyx_LDADD): use it
2407
2408         * LaTeX.C: change include order.
2409         (scanAuxFile): use boost regex and get rid of LRegex and
2410         LSubstring
2411         (deplog): ditto
2412
2413 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
2414
2415         * ColorHandler.h:
2416         * ColorHandler.C:
2417         * FontInfo.h:
2418         * FontInfo.C: moved to frontends/xforms/
2419
2420         * FontLoader.h:
2421         * FontLoader.C: moved into frontends for GUIIzation
2422
2423         * Makefile.am:
2424         * lyx_gui.C:
2425         * lyxfont.C:
2426         * lyxfunc.C: changes from above
2427
2428 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
2429
2430         * LColor.C: remove spurious X include
2431
2432         * BufferView_pimpl.C:
2433         * Makefile.am:
2434         * font.h:
2435         * font.C:
2436         * text.C:
2437         * text2.C: move font metrics to frontends/
2438
2439 2002-05-24  Juergen Vigna  <jug@sad.it>
2440
2441         * undo_funcs.C (textHandleUndo): fix the cursor selection after
2442         setting the undo_cursor.
2443
2444         * ParagraphParameters.h: include local includes first.
2445
2446 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2447
2448         * BufferView_pimpl.C:
2449         * BufferView_pimpl.h:
2450         * Makefile.am:
2451         * WorkArea.h:
2452         * WorkArea.C:
2453         * screen.C: move WorkArea into frontends/
2454
2455         * lyxscreen.h:
2456         * screen.C:
2457         * text.C:
2458         * BufferView.C:
2459         * BufferView2.C: move LyXScreen into frontends/
2460
2461         * lyxlookup.h:
2462         * lyxlookup.C:
2463         * lyx_gui.C: move lyxlookup into frontends/xforms/
2464
2465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2466
2467         * BufferView2.C:
2468         * BufferView_pimpl.C:
2469         * FontLoader.C:
2470         * LyXView.h:
2471         * LyXView.C:
2472         * Makefile.am:
2473         * WorkArea.C:
2474         * XFormsView.h:
2475         * XFormsView.C:
2476         * buffer.C:
2477         * bufferlist.C:
2478         * bufferview_funcs.C:
2479         * converter.C:
2480         * importer.C:
2481         * lyx_cb.C:
2482         * lyx_gui.C:
2483         * lyx_main.C:
2484         * lyx_find.C:
2485         * lyxfunc.C:
2486         * lyxvc.C:
2487         * minibuffer.C:
2488         * text.C:
2489         * text2.C:
2490         * trans.C:
2491         * vc-backend.C: move LyX/XFormsView into frontends/
2492
2493 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
2494
2495         * Makefile.am:
2496         * PainterBase.C:
2497         * PainterBase.h:
2498         * Painter.C:
2499         * Painter.h:
2500         * WorkArea.C:
2501         * WorkArea.h:
2502         * screen.C:
2503         * tabular.C:
2504         * text.C:
2505         * text2.C: move Painter to frontends/
2506
2507 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2508
2509         * buffer.C: comment out some some code that depend upon lyx_format
2510         < 220
2511
2512         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2513         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2514
2515         * buffer.h (NO_COMPABILITY): turn off compability
2516
2517         * ColorHandler.C: include scoped_array.hpp
2518
2519         * font.C: Use more specific smart_ptr header.
2520         * Painter.C: ditto
2521         * gettext.C: ditto
2522         * ShareContainer.h: ditto
2523         * lyx_main.h: ditto
2524         * kbmap.h: ditto
2525         * FontInfo.h: ditto
2526         * BufferView_pimpl.h: ditto
2527         * ColorHandler.h: ditto
2528
2529         * kbmap.C (defkey): change call to shared_ptr::reset
2530
2531 2002-05-21  Juergen Vigna  <jug@sad.it>
2532
2533         * buffer.C (insertErtContents): fix to insert ert asis if it is
2534         non empty. Skip it completely if it contains only whitespaces.
2535
2536 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
2537
2538         * BufferView_pimpl.C:
2539         * BufferView2.C: clear selection on paste (bug 393)
2540
2541 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2542
2543         * DepTable.C: include ctime
2544
2545 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
2546
2547         * buffer.C (latexParagraphs): Add new argument (moving_arg).
2548
2549 2002-05-14  Juergen Vigna  <jug@sad.it>
2550
2551         * text.C (breakParagraph): fixed function to honor the keepempty
2552         layout in the right maner and also to permit the right breaking
2553         algorithm on empty or non empyt keepempty paragraphs.
2554
2555         * paragraph.C (breakParagraph): we have to check also if the par
2556         is really empty (!size()) for isempty otherwise we do the wrong
2557         paragraph break.
2558
2559 2002-05-10  Juergen Vigna  <jug@sad.it>
2560
2561         * buffer.[Ch] : The following are only changes to the ert
2562         compatibility read reading old LaTeX layout and font stuff and
2563         convert it to ERTInsets.
2564
2565         * buffer.h: added isErtInset().
2566
2567         * buffer.C (struct ErtComp): add a fromlayout bool to check
2568         if we're inside a LaTeX layout.
2569         (isErtInset): new helper function.
2570         (insertErtContents): look for other ert insets before this one
2571         and insert the contents there, so that we don't have subsequent
2572         ERT insets with nothing between them. This way we create only one
2573         inset with multiple paragraphs. Also check if we don't insert only
2574         spaces ' ' as they are ignored anyway afterwards in the .tex file
2575         so if we have only spaces we will ignore this latex part in the
2576         new file.
2577         (parseSingleLyXformat2Token \\layout): better compatibility when
2578         reading layout-latex stuff.
2579         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2580         language tag.
2581         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2582         stuff after reading the inset only get the information back from
2583         the stack.
2584
2585 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
2586
2587         * buffer.C (makeLaTeXFile): Put language options after loading babel.
2588
2589         * LaTeXFeatures.C (getBabelOptions): New method.
2590
2591 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2592
2593         * BufferView_pimpl.C (Dispatch): work around missing argument for
2594         'layout'
2595
2596 2002-05-08  Juergen Vigna  <jug@sad.it>
2597
2598         * text.C (leftMargin): handle paragraph leftindent.
2599
2600         * paragraph.C (writeFile): write the new \\leftindent tag.
2601         (validate): handle leftindent code.
2602         (TeXEnvironment): handle paragraphleftindent code again.
2603
2604         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2605
2606         * buffer.C (parseSingleLyXformat2Token): added compatibility code
2607         for paragrap_extra indent code and new token \\leftindent.
2608         (latexParagraphs): handle the leftindent as environment.
2609
2610         * ParameterStruct.h: added leftindent support.
2611
2612         * ParagraphParameters.C (leftIndent): added support functions for
2613         the paragraph left indent.
2614
2615         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2616         more appropriate.
2617
2618 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
2619
2620         * paragraph.C (isRightToLeftPar): Return false for a paragraph
2621         inside insetERT.
2622
2623         * text.C (computeBidiTables): No bidi in insetERT.
2624
2625         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2626         in RTL documents.
2627
2628 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2629
2630         * version.C.in: pre 5
2631
2632 2002-05-02  José Matos  <jamatos@fep.up.pt>
2633         * buffer.C (makeDocBookFile): white space changes, add newline to
2634         command styles.
2635         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2636
2637         * tabular.C (docBook): fix typo.
2638
2639 2002-05-03  Juergen Vigna  <jug@sad.it>
2640
2641         * screen.C (drawFromTo): recalculate the rowpointer if we had a
2642         change in LyXText as we can not be sure it was not freed.
2643         (drawOneRow): remove unused code.
2644
2645         * text.C (drawInset): redo the calculation of the need_break_row as
2646         it could have a row which was already freed.
2647         (draw): look at the return value of drawInset and return false if
2648         it also returned false.
2649         (paintRowText): look at the return value of draw and return false if
2650         it also returned false.
2651
2652         * lyxtext.h: added bool return type to drawInset() and draw() so that
2653         if we have a change in the row so that the rowbreak has to be redone
2654         we abort drawing as it will be called again.
2655
2656 2002-05-02  Juergen Vigna  <jug@sad.it>
2657
2658         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2659         a change in the maintext also if we're inside an inset.
2660         (Dispatch): set the cursor again after a break line and after the
2661         screen has been updated as it could be we're in a different row.
2662
2663         * text2.C (fixCursorAfterDelete): check to make sure we don't request
2664         to set the cursor behind the pargraph with > size().
2665         (setCursor): check also for the same paragraph when checking where
2666         to put the cursor if we have a NFR inset.
2667
2668         * buffer.C (parseSingleLyXformat2Token): move the compatibility
2669         parts of layout read further up as it still was in the wrong
2670         position.
2671
2672 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2673
2674         * screen.C (drawFromTo): change sine fullRebreak always return
2675         true.
2676
2677         * buffer.C (parseSingleLyXformat2Token): reindent some
2678
2679         * BufferView_pimpl.C (update): change since fullRebreak always
2680         return true.
2681         (Dispatch): git rid of the last hardcoded "Standard"s.
2682
2683 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2684
2685         * text2.[Ch] (fullRebreak): make it return void now that we always
2686         returned true.
2687
2688 2002-04-30  Juergen Vigna  <jug@sad.it>
2689
2690         * buffer.C (parseSingleLyXformat2Token): reset the font before the
2691         ert compatibility check for "latex" layout.
2692
2693 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
2694
2695         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2696         minipages: use col% instead of p%, and also use the current font.
2697         (makeLaTeXFile): Fix use babel condition.
2698         (parseSingleLyXformat2Token): Correct font when reading old floats.
2699
2700 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
2701
2702         * BufferView_pimpl.C (Dispatch): Check that float type exists when
2703         inserting list of floats.
2704
2705 2002-04-25  Herbert Voss  <voss@lyx.org>
2706
2707         * MenuBackend.C (expand): don't add the graphics extensions to the
2708         export menu
2709
2710 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2711
2712         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2713         non-existing layout, do not complain if it was the default layout
2714         of the original class (bug #342)
2715
2716 2002-04-24  Juergen Vigna  <jug@sad.it>
2717
2718         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2719         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2720
2721 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
2722
2723         * buffer.C (getBibkeyList): If using \bibliography, return the
2724         option field with the reference itself. Enables us to provide natbib
2725         support when using \bibliography.
2726
2727 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
2728
2729         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2730
2731         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2732         natbib is provided by the LaTeX class.
2733
2734 2002-04-23  Juergen Vigna  <jug@sad.it>
2735
2736         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2737         Wakeup functions.
2738
2739         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2740
2741 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2742
2743         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2744
2745         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2746         ensuremath around textordmasculine, textordfeminine and
2747         textdegree.
2748
2749 2002-04-19  Juergen Vigna  <jug@sad.it>
2750
2751         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2752         reinitializing the buffer otherwise row-dimensions may be wrong.
2753         (update): reset also the selection cursors if they do exits otherwise
2754         their x/y positions may be wrong.
2755
2756         * text2.C (cursorDown): don't enter the inset if we came from a row
2757         above and are one row over the inset.
2758
2759         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2760         really leaving an inset.
2761
2762 2002-04-18  Juergen Vigna  <jug@sad.it>
2763
2764         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2765         of the selected paragraph does not have the selected layout also if
2766         the last one had!
2767
2768         * text2.C (setLayout): fixed bug which did not change last selected
2769         paragraph.
2770
2771         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2772         changed the read and substituted \\end_float with \\end_inset!
2773
2774         * BufferView_pimpl.C (cursorPrevious):
2775         (cursorNext): fixed to make it work with rows heigher than the work
2776         area without moving the cursor only the draw of the row.
2777         (workAreaMotionNotify): fix jumping over high rows.
2778
2779 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2780
2781         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2782         Ressler.
2783
2784 2002-04-16  Juergen Vigna  <jug@sad.it>
2785
2786         * text2.C (setCursor): set also the irow().
2787         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2788         (cursorUp):
2789         (cursorDown): support for locking an inset if the x_fix value goes
2790         inside it. That way I can transverse insets too with cursor up/down.
2791
2792         * lyxrow.h: added irow helper function same as other (i) functions.
2793
2794         * BufferView_pimpl.C (cursorPrevious):
2795         (cursorNext): fixed for insets!
2796
2797 2002-04-15  Juergen Vigna  <jug@sad.it>
2798
2799         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2800         position otherwise it is wrong in some cases.
2801
2802         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2803         inside the inset before the call.
2804
2805 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
2806
2807         * buffer.[Ch] (getBibkeyList): make it const.
2808
2809 2002-04-12  Juergen Vigna  <jug@sad.it>
2810
2811         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2812
2813         * text2.C (getCursorX): new helper function
2814         (setCursor): compute also ix_
2815         (setCursorFromCoordinates): set also ix.
2816
2817         * lyxcursor.h: added ix_ and helper functions.
2818
2819         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2820
2821         * buffer.C (insertStringAsLines): dont break paragraph if the this
2822         paragraph is inside an inset which does not permit it!
2823
2824         * text.C (breakParagraph): honor keepempty flag and break the paragraph
2825         also with no chars on this paragraph.
2826         (paintRowText): only paint stuff if it's inside the workarea!
2827
2828         * paragraph.C (breakParagraph): honor keepempty flag and break the
2829         paragraph always below not above.
2830
2831         * BufferView2.C (unlockInset): update the paragraph layout on inset
2832         unlock as we changed paragraph in such a case.
2833
2834         * lyxfind.C (LyXFind): clear the former selection if not found!
2835
2836         * text2.C (insertInset): freeze Undo after setUndo so that it is not
2837         again called in insertChar().
2838
2839         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2840         an inset which uses the whole row!
2841         (rightMargin): ditto.
2842         (insertChar): force a rebreak if we inserted an inset!
2843
2844 2002-03-28  Herbert Voss  <voss@lyx.org>
2845
2846         * lyxlength.[Ch]: add inBP() to get the right PS-point
2847         units (BigPoint). With inPixels we have rounding errors
2848
2849 2002-04-11  Juergen Vigna  <jug@sad.it>
2850
2851         * text2.C (setCursorFromCoordinates): set iy to the right value.
2852         (setCursor): add check if row->previous exists!
2853
2854         * buffer.C (parseSingleLyXformat2Token): reset font after read of
2855         an old float_type as this was the case in the old code!
2856
2857         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2858
2859         * BufferView2.C (showLockedInsetCursor): use iy
2860         (fitLockedInsetCursor): ditto
2861
2862         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2863         locked insets as there we have the right value now.
2864
2865         * lyxcursor.C: added iy_ variable and iy functions to set to the
2866         baseline of cursor-y of the locked inset.
2867
2868         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2869         (setCursor): fixed for insets which need a full row.
2870
2871         * text.C (rowLastPrintable): don't ignore the last space when before
2872         an inset which needs a full row.
2873         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2874         as last character of a row when before a inset which needs a full row.
2875
2876 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2877
2878         * version.C.in: update date
2879
2880         * text2.C (fullRebreak): try to always return true and see what
2881         happens...
2882
2883 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2884
2885         * MenuBackend.C (expand): use Floating::listName
2886
2887         * FloatList.C (FloatList): add listName argument to the built-in
2888         floats
2889
2890         * Floating.[Ch]: add listName member, which is the 'List of XXX'
2891         text associated with the float.
2892
2893 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2894
2895         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2896
2897 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2898
2899         * ShareContainer.h: add a couple of missing typenames.
2900
2901 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
2902
2903         * lyxrc.C (getDescription): use _() correctly rather than N_().
2904
2905 2002-03-28  Herbert Voss  <voss@lyx.org>
2906
2907         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2908         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2909
2910 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2911
2912         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2913         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2914
2915 2002-03-29  Juergen Vigna  <jug@sad.it>
2916
2917         * lyxfunc.C (dispatch): add a missing fitCursor call.
2918
2919         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2920         it was scrolled by a cursor move, so return the bool status.
2921
2922         * BufferView.C (fitCursor): return the bool flag also to the outside
2923         world as this is needed.
2924
2925         * screen.C (toggleToggle): don't subtract the offset if it's positive.
2926
2927         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2928         call the edit() as it is not needed (and wrong) IMO.
2929         (workAreaButtonPress): set the screen_first variable before evt.
2930         unlock the inset as this may change screen_first and then we have
2931         a wrong y position for the click!
2932
2933 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2934
2935         * MenuBackend.C (expand): another translation that I missed
2936
2937 2002-03-28  Juergen Vigna  <jug@sad.it>
2938
2939         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2940
2941         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2942
2943 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2944
2945         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2946
2947         * MenuBackend.C (expand): fix export/view/update when there is no
2948         document open.
2949
2950 2002-03-27  Herbert Voss  <voss@lyx.org>
2951
2952         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2953         and text%
2954
2955 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2956
2957         * bufferview_funcs.C (currentState): only show paragraph number
2958         for is DEVEL_VERSION is set.
2959
2960         * lyxfunc.C (dispatch): put warning in INFO channel
2961
2962         * MenuBackend.C (expand): translate the name of floats
2963
2964         * FloatList.C (FloatList): mark the float names for translation
2965
2966         * converter.C (convert): use LibScriptSearch
2967
2968 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2969
2970         * MenuBackend.C (defaults): fix default menu (we might as well get
2971         rid of it...)
2972
2973 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2974
2975         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2976         directory.
2977
2978 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2979
2980         * lyxvc.C: reorder includes.
2981
2982 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
2983
2984         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2985           properly
2986
2987 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
2988
2989         * CutAndPaste.C: change layouts earlier on paste
2990           to avoid crashing when calling getFont()
2991
2992 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
2993
2994         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2995         irritating #error.
2996
2997 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2998
2999         * WorkArea.C: remove 'Pending' debug message.
3000
3001         * most files: ws cleanup
3002
3003         * buffer.[Ch]: ws changes
3004
3005         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3006
3007 2002-03-21  Juergen Vigna  <jug@sad.it>
3008
3009         * tabular.C (SetMultiColumn): collapse also the contents of the
3010         cells and set the last border right. Added a Buffer const * param.
3011
3012 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3013
3014         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3015         linking or not.
3016
3017 2002-03-19  Juergen Vigna  <jug@sad.it>
3018
3019         * text2.C (clearSelection): reset also xsel_cache.
3020
3021         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3022         where it needs to be called (John tells us to do so too :)
3023         (selectionLost): reset sel_cache.
3024
3025         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3026
3027 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3028
3029         * text2.C (setCursorIntern): put debuging code in INSETS channel
3030
3031 2002-03-19  André Pönitz <poenitz@gmx.net>
3032
3033         * lyxfunc.C: tiny whitespace change
3034
3035 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3036
3037         * ToolbarDefaults.C (init):
3038         * LyXAction.C (init):
3039         * commandtags.h:
3040         * BufferView_pimpl.C (Dispatch):
3041         * lyxfunc.C (dispatch): remove LFUN_DEPTH
3042
3043 2002-03-19  Allan Rae  <rae@lyx.org>
3044
3045         * exporter.C (Export): removeAutoInsets before doing anything else.
3046         While I've just introduced a dependency on BufferView this really is
3047         the best place to clean the buffer otherwise you need to cleanup in
3048         a dozen places before calling export or cleanup in a dozen functions
3049         that export calls.
3050
3051         * converter.C (runLaTeX):
3052         (scanLog): Better handling of removeAutoInsets and screen updates.
3053
3054         * lyxfunc.C (dispatch): small whitespace changes
3055
3056 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3057
3058         * WorkArea.C (C_WorkAreaEvent): return a value.
3059         (event_cb): return 1 if we handled the event, 0 otherwise.
3060
3061         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3062
3063 2002-03-18  Juergen Vigna  <jug@sad.it>
3064
3065         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3066         (GetAdditionalWidth): ditto.
3067         (RightLine): ditto.
3068         (LeftLine): ditto.
3069
3070         * BufferView2.C (copy): use getLyXText() so that we do it inside an
3071         inset if we're there actually (probably not used right now but this
3072         is the direction to go for unifying code).
3073         (paste): disable code to clear the selection.
3074
3075         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3076         inside an InsetText and move the check further up as it is in the
3077         wrong place.
3078
3079         * text2.C (pasteSelection): set a selection over the pasted text.
3080
3081 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
3082
3083         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3084         and libgraphics to build on Cygwin.
3085
3086 2002-03-15  Juergen Vigna  <jug@sad.it>
3087
3088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3089         inserting an Inset into the paragraph. I know this is not the best
3090         fix but we already use current_view in CutAndPaste so we will remove
3091         all of it's using at the same time.
3092
3093         * buffer.C (sgmlError): deactivated function till it is rewritten in
3094         the right mode, now it can create problems.
3095
3096         * paragraph.C (isLineSeparator): check if getInset returns != 0,
3097         before accessing it.
3098
3099 2002-03-14  Juergen Vigna  <jug@sad.it>
3100
3101         * undo_funcs.C (textHandleUndo): do the right thing when updating
3102         the inset after the undo/redo.
3103
3104         * text2.C (setCursor): just some testcode for #44 not ready yet.
3105
3106         * undo_funcs.C (textHandleUndo): set the next() and previous()
3107         pointers of the paragraph to 0 before deleting otherwise we have
3108         problems with the Paragraph::[destructor].
3109
3110         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3111         on a paragraph insertion.
3112
3113 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3114
3115         * buffer.C (asciiParagraph): use += operator for char append to
3116         string.
3117
3118         * paragraph.C (getFontSettings): compare >= not just >
3119         (highestFontInRange): ditto
3120         (setFont): ditto
3121
3122 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3123
3124         * paragraph.C: change several algorithm to be more appripriate for
3125         the problem domain. This is lookip in FontList and in the InsetList.
3126
3127 2002-03-13  André Pönitz <poenitz@gmx.net>
3128
3129         * commandtags.h:
3130         * LyXAction.C: remove unused LFUN_MATH_MACROARG
3131
3132 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
3133
3134         * commandtags.h:
3135         * LyXAction.C:
3136         * lyxfunc.C:
3137         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3138
3139 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3140
3141         * Painter.C (display): anon helper function, adjust code for this
3142         change.
3143         (pixmap): remove function.
3144
3145         * Painter.h: remove private display variable.
3146
3147         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3148
3149 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
3150
3151         * WorkArea.[Ch]: remove figinset_canvas cruft.
3152
3153 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3154
3155         * lyxtextclass.C (operator): add one item cache optimization.
3156
3157         * bufferlist.h: doxy changes
3158
3159         * bufferlist.C: ws changes
3160
3161         * DepTable.[Ch] (ext_exist): place const in the right spot.
3162
3163         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3164         call resizeInsets.
3165         (workAreaExpose): call resizeInsets when the with BufferView changes.
3166         (Dispatch): adjust for protectedBlank removal
3167         (specialChar): call updateInset if the insert went ok.
3168
3169         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3170         specialChar instead.
3171
3172         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3173
3174         * BufferView.h: doxy change
3175
3176         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3177
3178         * lyxtextclass.C (operator[]): remove non-const version
3179         (defaultLayout): remove non-const version
3180
3181 2002-03-12  Juergen Vigna  <jug@sad.it>
3182
3183         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3184         did resize the LyXText too.
3185
3186         * buffer.C (readLyXformat2): set layout information on newly allocated
3187         paragraphs.
3188
3189         * tabular.C (OldFormatRead): set layout information on the paragraph.
3190
3191 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3192
3193         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3194
3195 2002-03-11  Juergen Vigna  <jug@sad.it>
3196
3197         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3198         plainly wrong.
3199         (resizeCurrentBuffer): force also the insets to resize themselfes.
3200         (moveCursorUpdate): fixed up for InsetText.
3201
3202 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
3203
3204         * commandtags.h:
3205         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3206         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3207         value of Dialogs::tooltipsEnabled().
3208         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3209
3210 2002-03-08  Juergen Vigna  <jug@sad.it>
3211
3212         * BufferView_pimpl.C (updateInset): update inset inside inset also
3213         if it isn't inside theLockingInset().
3214
3215 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3216
3217         * buffer.C (asciiParagraph): redo some of the word and line length
3218         handling.
3219         (getLists): look for Caption instead of caption.
3220
3221 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3222
3223         * buffer.C (Buffer): initialize niceFile to true
3224         (makeLaTeXFile):
3225         (makeLinuxDocFile):
3226         (makeDocBookFile): make sure niceFile is true on exit
3227
3228 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3229
3230         * buffer.C (makeLaTeXFile): escape ~ in \input@path
3231
3232 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
3233
3234         * LyXSendto.C: remove.
3235         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3236         * lyx_gui.C: remove now-redundant comment.
3237         * ColorHandler.h: remove forward declaration of class WorkArea.
3238         * lyxfunc.C: remove #include "WorkArea.h".
3239
3240 2002-03-07  Juergen Vigna  <jug@sad.it>
3241
3242         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3243         got moved away with the DEPM and also set the inset_owner always
3244         right which before could have been omitted.
3245
3246 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3247
3248         * buffer.C (parseSingleLyXformat2Token): use default layout is the
3249         wanted layout is not found.
3250
3251 2002-03-07  Juergen Vigna  <jug@sad.it>
3252
3253         * CutAndPaste.C (cutSelection): another layout settings forgotten.
3254
3255 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3256
3257         * paragraph.C (breakParagraph): use default layout not layout of
3258         prev paragraph.
3259         (Paragraph): clear ParagraphParameters.
3260
3261 2002-03-06  Juergen Vigna  <jug@sad.it>
3262
3263         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3264         otherwise it would not be a valid lenght. Fixed a special case in
3265         the minipage compatibility read where we end the document with a
3266         minipage.
3267
3268         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3269         was set as it could be 0 for InsetTexts first entry.
3270
3271 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3272
3273         * paragraph.C (writeFile): if layout is empty write out
3274         defaultLayoutName().
3275
3276         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3277         file without named layout we set layout to defaultLayoutName().
3278
3279 2002-03-06  Juergen Vigna  <jug@sad.it>
3280
3281         * CutAndPaste.C (copySelection): set layout for new paragraph.
3282
3283         * text.C (prepareToPrint): leave ERT inset left aligned
3284         (leftMargin): don't indent paragraphs inside ERT insets
3285
3286 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3287
3288         * paragraph.C (breakParagraph): dont call clear do the work manually
3289
3290         * paragraph.[Ch] (clear): remove function
3291
3292 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3293
3294         * paragraph.C (Paragraph): dont call clear, the work has already
3295         been done.
3296
3297         * lyxtextclass.C (operator): assert if n is empty
3298
3299         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3300         work manually instead.
3301
3302 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
3303
3304         * BufferView_pimpl.C: protect selectionLost against text == 0
3305
3306 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3307
3308         * text.C (breakParagraph): fix a setting layout to '0' problem.
3309
3310 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3311
3312         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3313         final location of file, for the included files, and graphics.
3314
3315 2002-03-05  Juergen Vigna  <jug@sad.it>
3316
3317         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3318
3319 2002-03-04  Juergen Vigna  <jug@sad.it>
3320
3321         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3322
3323         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3324         last column of multicolumn cells.
3325         (SetWidthOfMulticolCell): recalculate NMC and real columns.
3326
3327 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
3328
3329         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3330         file if it doesn't go to a temporary file.
3331
3332         * buffer.C (sgmlOpenTag):
3333         (sgmlCloseTag):  remove extra newline insertion.
3334
3335 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3336
3337         * text.C (getRowNearY): comment out debug msg
3338
3339 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3340
3341         * text2.C: first -> first_y
3342
3343         * text.C (getRowNearY): add some attemts at a possible
3344         optimization, not working.
3345
3346         * tabular.[Ch]: add BufferParams to several function so that newly
3347         created paragraph can be initialized to he default layotu for the
3348         buffers textclass.
3349
3350         * tabular-old.C (ReadOld): add buf->params to call of Init
3351
3352         * screen.C: rename text->first to text->first_y
3353
3354         * paragraph.C (breakParagraph): always set layout in the broken
3355         paragraph
3356
3357         * lyxtextclass.C (Read): remove lowercase
3358         (hasLayout): ditto
3359         (operator): ditto
3360         (delete_layout): ditto
3361
3362         * lyxtext.h: rename first -> first_y
3363
3364         * lyxlayout.C (Read): remove lowercase
3365         (name): ditto
3366         (setName): ditto
3367         (obsoleted_by): ditto
3368
3369         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3370
3371         * buffer.C (insertErtContents): add params are to InsetERT
3372         (parseSingleLyXformat2Token): add code to check if a paragraphs
3373         layout really exist.
3374         (parseSingleLyXformat2Token): add params to several inset
3375         constructors
3376         (asciiParagraph): remove lowercase, do the layout comparisons with
3377         no_case
3378
3379         * BufferView_pimpl.C (cursorNext): first -> first_y
3380         (resizeCurrentBuffer): first -> first_y
3381         (updateScrollbar): first -> first_y
3382         (scrollCB): first -> first_y
3383         (workAreaMotionNotify): first -> first_y
3384         (workAreaButtonPress): first -> first_y
3385         (checkInsetHit): first -> first_y
3386         (cursorPrevious): first -> first_y
3387         (cursorNext): first -> first_y
3388         (Dispatch): add buffer_->params to severl inset contructors
3389
3390 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3391
3392         * lyxlayout.C (Read): remove some debug info that I forgot.
3393
3394         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3395         clean up the code slightly.
3396         (makeLinuxDocFile): ditto
3397         (makeDocBookFile): ditto
3398
3399         * text2.C: layout as string
3400
3401         * text.C: layout as string
3402
3403         * paragraph_pimpl.C: layout as string
3404
3405         * paragraph.[Ch]: layout as string
3406
3407         * lyxtextclasslist.[Ch]: layout as string
3408
3409         * lyxtextclass.[Ch]: layout as string
3410
3411         * lyxtext.h: layout as string
3412
3413         * lyxlayout.[Ch]: layout as string
3414
3415         * lyx_cb.C: layout as string
3416
3417         * bufferview_funcs.C: layout as string
3418
3419         * bufferparams.C: layout as string
3420
3421         * buffer.C: layout as string
3422
3423         * LyXView.[Ch]: layout as string
3424
3425         * LaTeXFeatures.[Ch]: layout as string
3426
3427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3428
3429         * BufferView_pimpl.C: change current_layout to string, remove
3430         lyx::layout_type.
3431         (Dispatch):
3432         (smartQuote):
3433         (insertInset):
3434         (workAreaButtonRelease): layout as string
3435
3436         * BufferView2.C (unlockInset): adjust
3437
3438         * vspace.C (asLatexCommand): use an explict temp variable.
3439
3440 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
3441
3442         * Makefile.am: use FRONTEND_*
3443
3444 2002-03-01  Juergen Vigna  <jug@sad.it>
3445
3446         * tabular.C (SetWidthOfMulticolCell): changed to something better
3447         I hope but still work in progress.
3448         (recalculateMulticolumnsOfColumn): renamed function from
3449         recalculateMulticolCells as it is more appropriate now.
3450         (SetWidthOfCell): calculate multicols better.
3451
3452 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3453
3454         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3455
3456         * lyxfunc.C (processKeySym): print sequence also if it is
3457         `deleted' (complete)
3458
3459         * kbsequence.C (print): print sequence even if it is deleted
3460         (complete would be a better word, actually).
3461
3462         * lyxfunc.C (dispatch): print complete options after a prefix key
3463
3464         * vspace.C (asLatexCommand): rewrite in a slightly different form.
3465
3466 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
3467
3468         * text2.C (setCharFont): eliminate setCharFont code duplication.
3469
3470 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3471
3472         * BufferView_pimpl.C (Dispatch): remove bogus handling of
3473         LFUN_TABULAR_FEATURE (bug #177)
3474
3475 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
3476
3477         * Makefile.am: remove figure.h
3478
3479 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
3480
3481         * Bufferview_pimpl.C:
3482         * CutAndPasteC:
3483         * LaTeX.C:
3484         * LyXSendto.C:
3485         * buffer.C:
3486         * bufferlist.C:
3487         * converter.C:
3488         * language.C:
3489         * lyxfunc.C:
3490         * lyxvc.C:
3491         * paragraph.C:
3492         * text.C:
3493         * text2.C: remove #include "lyx_gui_misc.h".
3494
3495         * LaTeX.C: added #include <cstdio>
3496
3497 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3498
3499         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3500         that the paragraph following this one can have.
3501
3502         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3503
3504         * vspace.C (asLatexCommand): fix bogus gcc warning
3505
3506         * Makefile.am (lyx_SOURCES): remove vms_defines.h
3507
3508 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
3509
3510         * text2.C (setLayout): get rid of redundant code
3511
3512 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * text2.C (incDepth): make sure depth cannot be increased beyond
3515         reasonable values.
3516
3517 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
3518
3519         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3520         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3521
3522         * PainterBase.h (image):
3523         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3524         a LyXImage const *.
3525
3526 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
3527
3528         * BufferView.C:
3529         * BufferView.h:
3530         * BufferView_pimpl.C:
3531         * BufferView_pimpl.h:
3532         * LaTeXFeatures.C:
3533         * LyXAction.C:
3534         * LyXView.C:
3535         * Makefile.am:
3536         * UpdateList.h:
3537         * UpdateList.C:
3538         * buffer.C:
3539         * figure.h:
3540         * figureForm.C:
3541         * figureForm.h:
3542         * figure_form.C:
3543         * figure_form.h:
3544         * lyx_cb.C:
3545         * lyx_gui.C:
3546         * lyx_gui_misc.C:
3547         * lyxfunc.C:
3548         * sp_base.h:
3549         * sp_ispell.h:
3550         * sp_pspell.h:
3551         * sp_spell.C: remove fig inset, and the crap house of
3552           cards that follows it
3553
3554 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
3555
3556         * Makefile.am:
3557         * lyxserver.C:
3558         * os2_defines.h:
3559         * os2_errortable.h:
3560         * nt_defines.h: move .h into support/
3561
3562         * vms_defines.h: remove
3563
3564         * WorkArea.C: add space in debug output
3565
3566         * text2.C:
3567         * paragraph.C:
3568         * buffer.C: add WITH_WARNINGS
3569
3570         * vc-backend.h:
3571         * vc-backend.C:
3572         * bufferlist.C: s/retrive/retrieve/, add docs
3573
3574         * vspace.h:
3575         * vspace.C:
3576         * kbmap.h:
3577         * lyxlength.h:
3578         * lyxgluelength.h:
3579         * length_common.h:
3580         * chset.h:
3581         * chset.C: add docs
3582
3583         * lyxgui.C: add ID to X error handler
3584
3585         * lyxtestclass.c: fix typo
3586
3587 2002-02-26  Juergen Vigna  <jug@sad.it>
3588
3589         * tabular_funcs.C (write_attribute): changed so that some default
3590         attributes are not written at all.
3591         (getTokenValue): set default values before trying to read the
3592         value so we have the return value always set as default if we don't
3593         find the token we search for.
3594
3595         * tabular.C (Write): write bools as bools not as strings!
3596
3597 2002-02-22  Juergen Vigna  <jug@sad.it>
3598
3599         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3600         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3601
3602         * text.C (leftMargin): don't add an indent for paragraphs inside
3603         tabular cells (fix #208).
3604
3605 2002-02-21  José Matos  <jamatos@fep.up.pt>
3606
3607         * tabular.C (docBook): fixed support for long tables.
3608
3609 2002-02-20  Juergen Vigna  <jug@sad.it>
3610
3611         * text2.C (getFont): get the drawing font of the Inset if this
3612         paragraph is inside an inset (only important for InsetERT for now).
3613
3614         * buffer.C (insertErtContents): use new lanugage params in ERT
3615         constructor.
3616
3617         * CutAndPaste.C: commenting out seemingly uneeded code.
3618
3619 2002-02-19  Allan Rae  <rae@lyx.org>
3620
3621         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3622         Iterators might be simple to use but they also get invalidated.
3623         (removeAutoInsets): renamed saved cursor tracking variables and added
3624         some comments to clarify what everything does.
3625
3626 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
3627
3628         * Chktex.C:
3629         * LaTeX.C:
3630         * LyXSendto.C:
3631         * converter.C:
3632         * lyx_cb.C:
3633         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3634         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3635
3636         * lyxfunc.C:
3637         * vc-backend.h: remove #include "support/syscall.h"
3638
3639         * LaTeX.C:
3640         * LyXSendto.C:
3641         * converter.C: rearrange #includes in Lars' approved fashion.
3642
3643         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3644         forward declare class Timeout in the header file.
3645
3646         * XFormsView.C: changes due to the above.
3647
3648         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3649         similar to LyXView.
3650
3651         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3652         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3653
3654 2002-02-18  José Matos  <jamatos@fep.up.pt>
3655
3656         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3657         insets contents.
3658
3659 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3660
3661         * a lot of small ws changes
3662         * add a lot of using std::XXX
3663         * use std construcs some places where approp.
3664         * use some exisint stuff from lyxfunctional where approp.
3665         * Make file changes to use partial linking (lets test this now...)
3666
3667 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
3668
3669         * Chktex.C:
3670         * buffer.C:
3671         remove #include "support/syscontr.h" as it's redundant. Always has been.
3672
3673         * Chktex.C:
3674         * LaTeX.C:
3675         * LyXSendto.C:
3676         * converter.C:
3677         * lyx_cb.C:
3678         * vc-backend.C:
3679         change Systemcalls::System to Systemcalls::Wait and
3680         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3681         No change of functionality, just reflects the stripped down Systemcalls
3682         class.
3683
3684 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
3685
3686         * debug.[Ch]: add a GRAPHICS type to the enum.
3687
3688 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3689
3690         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3691
3692         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3693         there is an inset.
3694
3695 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3696
3697         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3698         match the changes below.
3699
3700         * text2.C (toggleInset): if there is not editable inset at cursor
3701         position, try to see if cursor is _inside_ a collapsable inset
3702         and close it.
3703
3704 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3705
3706         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3707         document menu has a nice checkbox
3708
3709 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3710
3711         * lyxlength.C (asLatexString): change PW to output as percent of
3712         \textwidth.
3713
3714         * lengthcommon.C: change '%' to 't%'
3715
3716         * lyxfunc.C (dispatch): a few comments from Martin
3717
3718 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
3719
3720         * WorkArea.h:
3721         * WorkArea.C:
3722         * BufferView_pimpl.h:
3723         * BufferView_pimpl.C: clear our selection when X tells us we've lost
3724           the X selection.
3725
3726 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3727
3728         * vspace.C (inPixels): fix compiler warning
3729
3730 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3731
3732         * lyxfunc.C (getStatus): fix status message for disabled commands.
3733
3734 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
3735
3736         * BufferView_pimpl.C: fix crash on close buffer
3737         during selection (#227)
3738
3739 2002-01-27  Herbert Voss  <voss@lyx.org>
3740
3741         * buffer.C: link old Figure to new graphic inset
3742
3743 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3744
3745         * FontLoader.C (getFontinfo): Change the latex font names in order
3746         to match the names of type1inst.
3747
3748 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3749
3750         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3751
3752         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3753         (extchanged): ditto
3754         (ext_exist): ditto
3755         (remove_files_with_extension): ditto
3756         (remove_file): ditto
3757         (write): ditto
3758
3759         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3760         document is smaller than the work area height. Do not initialize
3761         static variables to 0.
3762
3763 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3764
3765         * lyx_gui.C (init): give the toolbar tooltips a normal font.
3766
3767         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3768         LFUN_LAYOUT_PARAGRAPHS.
3769
3770         * tabular.C (GetCellFromInset): new method. Finds an inset in a
3771         tabular. It is possible to provide a possible cell, which will
3772         typically be the actcell from the corresponding insettabular
3773
3774         * lyxfunc.C (getStatus): small cleanup; disable
3775         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3776         true
3777
3778 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3779
3780         * tabular.C (Validate): remove broken optimization (fixes bug #201)
3781
3782         * paragraph.C (startTeXParParams):
3783         (endTeXParParams): new methods. The LaTeX code to
3784         start/end paragraph formatting
3785         (simpleTeXOnePar): call startTeXParParams also when paragraph is
3786         empty (fixes bug #200)
3787
3788         * vspace.C (inPixels): adapt to the change below
3789         (inPixels): [later] more cleanups (remove unused variables)
3790
3791         * lyxlength.C (inPixels): change to use a width and a height as
3792         parameter.
3793
3794 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3795
3796         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3797         Replaced with \paperwidth
3798
3799         * DepTable.C (insert): add std:: qualifier
3800
3801 2002-01-18  Allan Rae  <rae@lyx.org>
3802
3803         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
3804         updated also?
3805
3806         * text.C (drawInset): Turned out I didn't know enough about how
3807         rebreaking worked.  This fixes most of the redraw problems.  I see
3808         an occasional cursor trail when a line is broken now and the cursor
3809         placement can seem out by a few pixels also after a rebreak.
3810
3811 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3812
3813         * buffer.C (parseSingleLyXformat2Token): update because minipage
3814         width is now a LyXLength
3815
3816         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3817
3818         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3819         math insets
3820
3821 2002-01-17  Juergen Vigna  <jug@sad.it>
3822
3823         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3824
3825         * BufferView2.C (lockInset): call edit() so that theLockingInset()
3826         is set correctly and the inset is updated correctly.
3827
3828 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3829
3830         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3831         the beginning of the loop.
3832
3833 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
3834
3835         * lyxrc.C: improve help for use_scalable_fonts
3836
3837 2002-01-17  Allan Rae  <rae@lyx.org>
3838
3839         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3840
3841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3842
3843         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3844         make sure to set their inset_owner to the right value (bug #171)
3845
3846 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
3847
3848         * DepTable.h
3849         * DepTable.C: Implement mtime checking to reduce time spent doing
3850         CRCs.
3851
3852 2002-01-16  Juergen Vigna  <jug@sad.it>
3853
3854         * tabular.C (GetAdditionalHeight): one of error fixed.
3855
3856         * lyxrc.C (output): small fix in writing use_pspell.
3857
3858 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
3859
3860         * sp_base.h: #include LString.h
3861
3862 2002-01-16  Allan Rae  <rae@lyx.org>
3863
3864         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
3865         Can someone check this please?
3866
3867         * text.C (drawInset): It was possible that p.row would be removed by
3868         breakAgainOneRow upsetting a few other settings.  There may be another
3869         small tweak possible by setting need_break_row = 0 when p.row has been
3870         removed but I don't know enough about the logic here.
3871
3872 2002-01-15  Allan Rae  <rae@lyx.org>
3873
3874         * text.C (insertChar): removed conditional truism.
3875
3876         * BufferView2.C (removeAutoInsets): More tweaks.
3877         cur_par_prev could be a stray pointer.  Check for trailing empty line
3878         in case last line was cur_par and only had an error inset on it.
3879
3880 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3881
3882         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3883         absolute
3884
3885         * vc-backend.C (most methods):
3886         * exporter.C (Export):
3887         * converter.C (convert):
3888         (runLaTeX):
3889         * LyXSendto.C (SendtoApplyCB):
3890         * lyxfunc.C (dispatch):
3891         (menuNew):
3892         (open):
3893         (doImport):
3894         * lyx_cb.C (AutoSave):
3895         (InsertAsciiFile):
3896         * BufferView_pimpl.C (MenuInsertLyXFile):
3897         * buffer.C (runChktex): use Buffer::filePath().
3898
3899         * buffer.h: rename filename to filename_; rename filepath to
3900         filepath_ and make it private
3901         (filePath): new method
3902
3903         * buffer.C (writeFile): use fileName()
3904         (getLatexName):
3905
3906         * lyx_main.C (init): fix starting  of LyX when the binary is a
3907         link from so,ewhere else.
3908
3909         * minibuffer.C: include <cctype> for isprint
3910
3911 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3912
3913         * buffer.C (parseSingleLyXformat2Token): changes associated with the
3914         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3915         name clash with InsetCollapsable's width function.
3916
3917 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3918
3919         * lastfiles.C: include <iterator>
3920
3921 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3922
3923         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3924         std::count.
3925
3926         * buffer.C (makeLaTeXFile): ditto.
3927         Also make loop operation more transparent.
3928
3929 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
3930
3931         * ToolbarDefaults.C: remove trailing comma closing namespace.
3932
3933         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3934
3935         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3936         as in WorkArea.
3937
3938         * trans.C (Load): comment out unused variable, allowed.
3939
3940 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
3941
3942         * minibuffer.[Ch] (append_char): new method to recieve input from the
3943         drop-down completion browser. If a key was pressed, then recieve this
3944         char and append it to the existing string.
3945         (peek_event): modify the positioning data passed to the completion
3946         browser so that it can be placed above the minibuffer rather than below.
3947 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3948
3949         * LyXAction.C (init): alloe error-next for readonly documents.
3950
3951         * BufferView2.C (ChangeRefsIfUnique): use standard version of
3952         count.
3953
3954 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3955
3956         * bufferlist.C (readFile): create the buffer _after_ checking that
3957         the file exists.
3958
3959         * lyxfunc.C (verboseDispatch): fix handling of arguments
3960
3961         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3962
3963         * lyxrc.C: use string::erase() instead of initializing to "".
3964
3965
3966 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3967
3968         * BufferView_pimpl.h:
3969         * BufferView_pimpl.C:
3970         * WorkArea.h:
3971         * WorkArea.C:
3972         * text2.C: tell X when we have made a selection for copying
3973
3974 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3975
3976         * BufferView_pimpl.C (MenuInsertLyXFile):
3977         * lyxfunc.C (menuNew):
3978         (open):
3979         (doImport): add shortcuts to directory buttons
3980
3981         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3982         open a float)
3983
3984         * lyxfunc.C (setStatusMessage):
3985         (getStatusMessage): new methods
3986         (getStatus):use setStatusMessage instead of setErrorMessage
3987         (dispatch): when function is disabled, set error message here
3988         [instead of in getStatus previously]
3989
3990         * BufferView_pimpl.C (workAreaButtonRelease): update
3991         toolbar/menubar here too.
3992
3993 2002-01-13  Allan Rae  <rae@lyx.org>
3994
3995         * BufferView2.C (removeAutoInsets): finished off earlier fix.
3996         Now seems indestructible.  Remaining task is to audit all other
3997         code affected by deleteEmptyParagraphMechanism.  One small quirk
3998         left is that an empty document with an error in the preamble can
3999         be made to report an error but no error box appears.  I don't know
4000         where it goes.
4001         (removeAutoInsets): Improved comments.
4002
4003 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
4004
4005         * Thesaurus.h:
4006         * Thesaurus.C: update for Aiksaurus 0.14
4007
4008 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4009
4010         * text2.C (firstParagraph): removed member function, all uses
4011         replaces with ownerParagraph
4012         (redoParagraphs): here
4013         (updateInset): here
4014         (toggleAppendix): here
4015         * BufferView2.C (insertErrors): here
4016         (setCursorFromRow): here
4017
4018 2002-01-13  Allan Rae  <rae@lyx.org>
4019
4020         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4021         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4022         There is still a way to segfault this although you may have to do this
4023         multiple times: Have an InsetERT with an unknown command in it.
4024         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4025         <down-arrow>, <Enter> again, View->DVI, BANG!
4026
4027         * text2.C (setCursor):
4028         (deleteEmptyParagraphMechanism):
4029         * lyxtext.h (setCursor):
4030         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4031         Making use of the return value may help fix other bugs.
4032
4033 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4034
4035         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4036
4037         * LyXView.C (updateMenubar): call MenuBar::update here
4038         (updateToolbar): but not here
4039         (showState): do not update toolbar/menubar
4040
4041         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4042         should need to care about that.
4043
4044         * lyxfunc.C (verboseDispatch): simplify a bit
4045         (getStatus): have a version which takes a pseudoaction, and
4046         another which requires a (kb_action,string).
4047
4048         * LyXAction.C (retrieveActionArg): make it work also when action
4049         is not a pseudo-action.
4050         (getActionName): simplify a bit
4051         (helpText):
4052
4053 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4054
4055         * lyxfunc.C (verboseDispatch): new families of methods with
4056         several ways to specify a command and a bool to indicate whether
4057         the command name and shortcut should be displayed in minibuffer
4058         (eventually, we could extend that to a finer bitmask like
4059         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4060         (dispatch): the pristine dispatch command which just, well,
4061         dispatchs! Note it still sets its result to minibuffer; I'm not
4062         sure we want that.
4063
4064         * lyxfunc.h: remove setHintMessage
4065
4066         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4067
4068 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4069
4070         * BufferView_pimpl.C (specialChar): delete new inset if we have
4071         not been able to insert it.
4072
4073         * kbmap.C: revert to using int instead of kb_action, since all we
4074         are dealing with is pseudo-actions.
4075
4076         * LyXAction.C (searchActionArg): change to return int instead of
4077         kb_action, since the result is a pseudoaction.
4078
4079 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
4080
4081         * buffer.C (insertErtContents): Fix (partially) the font bug.
4082
4083 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
4084
4085         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4086         as the other one is broken on my machine!
4087
4088 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
4089
4090         * commandtags.h:
4091         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4092
4093 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
4094
4095         * lyxrc.[Ch]: change names and descriptions of popup font variables to
4096         reflect their actual use. Provide compatibility code for older lyxrc
4097         files.
4098
4099         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4100         FL_NORMAL_STYLE.
4101         change names of popup font variables in line with the changes to lyxrc.C
4102
4103 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4104
4105         * buffer.C (asciiParagraph): avoid outputing a word twice after
4106         an inset.
4107
4108         * lyxrc.C (getDescription): document that document_path and
4109         template_path can be empty.
4110
4111 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4112
4113         * LaTeXFeatures.C (getMacros):
4114         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4115
4116         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4117
4118         * LaTeXFeatures.C (useFloat): require "float" here instead of in
4119         getPackages.
4120         (getPackages): rename feature "floats" to "float". Use an array to
4121         iterate over 'simple' features (i.e. just a \usepackage). Add
4122         handling of "amsmath" (renamed from "amsstyle").
4123
4124 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
4125
4126         * LaTeXFeatures.C (require): Prevent duplicate entries in the
4127         features list.
4128
4129 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
4130
4131         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4132         FuncStaus::FuncStatus & FuncStaus::some_method().
4133
4134 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
4135
4136         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4137         of the func_satus stuff. Edited and massaged in various ways by
4138         JMarc.
4139
4140         * lyxfunc.C (getStatus): use FuncStatus
4141
4142 2002-01-08  Juergen Vigna  <jug@sad.it>
4143
4144         * text.C (nextBreakPoint): use function Inset::isChar().
4145
4146         * paragraph.C (TeXOnePar): use function
4147         Inset::forceDefaultParagraphs.
4148
4149         * buffer.C (latexParagraphs): use function
4150         Inset::forceDefaultParagraphs.
4151
4152 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
4153
4154         * lyx_gui.C (init): set the style of the menu popups to
4155         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4156
4157 2002-01-07  Juergen Vigna  <jug@sad.it>
4158
4159         * text.C (setHeightOfRow): small fix
4160         (prepareToPrint): don't look at alignment if we don't have the place
4161         for doing it.
4162
4163 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
4164
4165         * box.C: New file. Move the Box methods and functions out of box.h,
4166         following Lars' suggestion.
4167
4168 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
4169
4170         * box.h: #include "support/LOstream.h", needed for inlined function.
4171
4172         * lyxtextclass.C:
4173         * lyxtextclasslist.C: added some using std declarations.
4174
4175 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
4176
4177         * box.h: make signed dimensions to allow insets wider than
4178           the screen (bug #162)
4179
4180         * BufferView_pimpl.C: add some insetHit debug
4181
4182 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
4183
4184         * vc-backend.C: add FIXME
4185
4186 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4187
4188         * lyxfunc.C (getStatus): enable code for showing math font status
4189         in toolbar/menu.
4190
4191 2002-01-07  Juergen Vigna  <jug@sad.it>
4192
4193         * text.C (nextBreakPoint): removed debug output not needed anymore.
4194
4195 2002-01-06  Juergen Vigna  <jug@sad.it>
4196
4197         * text.C (nextBreakPoint): fixed up this function we had this bug
4198         since ever but now hopefully we break row better.
4199         (insertChar): we have to check if an inset is the next char as it
4200         could now happen that a large inset is causing a break.
4201
4202 2002-01-05  Juergen Vigna  <jug@sad.it>
4203
4204         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4205         if it doesn't like to be drawed.
4206
4207 2002-01-04  Juergen Vigna  <jug@sad.it>
4208
4209         * BufferView2.C (lockInset): forgot to set a cursor.
4210
4211         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4212
4213 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
4214
4215         * FormMathsPanel.C:
4216         * FormMathsPanel.h
4217         * MathsSymbols.C:
4218         * form_maths_panel.C:
4219         * form_maths_panel.h:
4220         * form_maths_panel.fd: implemented sub- and super- buttons in math
4221         panel.
4222
4223         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4224         (or ^ space) to be used as in TeX (req'd by André).
4225
4226         * lyxfunc.C: Allow ^ and _ again to be used both as
4227         super/subscript (mathed) and as themselves (in text).
4228
4229 2002-01-03  Allan Rae  <rae@lyx.org>
4230
4231         * LyXView.C (updateWindowTitle): Setup a short icon title of either
4232         "LyX" or the filename of the current buffer if it has one.  This is a
4233         modified form of John Levon's patch.
4234
4235         * XFormsView.C (setWindowTitle): also set icon title.
4236
4237         * LyXView.h (setWindowTitle): signature changed.
4238         * XFormsView.h (setWindowTitle): ditto.
4239
4240 2002-01-02  Juergen Vigna  <jug@sad.it>
4241
4242         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4243
4244 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4245
4246         * screen.C (topCursorVisible): introduce a temp var for
4247         text->cursor.row(), handle the case where this row is null. (kindo
4248         hachish)
4249
4250         * text2.C (setCursor): add a couple of asserts.
4251
4252         * paragraph.h (inset_iterator): add -> operator
4253
4254         * paragraph.[Ch] (autoDeleteInsets): remove member function
4255
4256         * BufferView2.C (removeAutoInsets): rewrite to handle the old
4257         cursor pos correctly and handle inset deletion by itself.
4258         (insertErrors): move iterator declaration out of for expression
4259
4260         * lyxtextclass.C: add <algorithm>
4261
4262         * Makefile.am: added the new files to sources, removed layout.C
4263
4264         * layout.C: removed file
4265
4266         * layout.h: remove LYX_DUMMY_LAYOUT
4267
4268         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4269         layout.
4270
4271         * lyxlayout.[Ch]:
4272         * lyxtextclass.[Ch]:
4273         * lyxtextclasslist.[Ch]: new files
4274
4275         * include order changes to a lot of files, also changes because of
4276         the six new files.
4277
4278 2001-12-27  Juergen Vigna  <jug@sad.it>
4279
4280         * buffer.C (asciiParagraph): more fixes.
4281
4282         * tabular.C (ascii): make ascii export support export of only the
4283         data separated by a column-delimiter.
4284         (ascii): better support for ascii export.
4285
4286         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4287
4288 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4289
4290         * tabular_funcs.C: use a "using std::getline" instead of the
4291         previous fix from Angus (necessary for cxx + lyxstring)
4292
4293 2001-12-24  Juergen Vigna  <jug@sad.it>
4294
4295         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4296
4297         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4298         problems. First check a minipage also if we have some ert-contents
4299         (not only on par->size(), second set the right depth of the paragraph
4300         on the relink to the root-paragraph-list!
4301
4302         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4303         which then did not anymore update the main paragraphs on undo/redo!
4304
4305 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4306
4307         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4308         code. Support all font-changing funcs (even those which are not in
4309         menu currently). Support for reporting font settings in
4310         mathed (disabled until Andre provides a function on mathed's side).
4311
4312         * func_status.h (toggle): small helper function to set toggle
4313         state on a flag.
4314
4315 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
4316
4317         * tabular_funcs.C: getline -> std::getline
4318
4319 2001-12-21  Juergen Vigna  <jug@sad.it>
4320
4321         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4322         accessed and could be 0 (I couldn't generate this but it seems
4323         Michael could!).
4324
4325 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4326
4327         * tabular_funcs.C: add LIstream.h, move write_attribute to..
4328         * tabular_funcs.h: here and include iosfwd
4329
4330 2001-12-20  Juergen Vigna  <jug@sad.it>
4331
4332         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4333         inside inset but undo_par was.
4334
4335 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4336
4337         * Thesaurus.C: always include <config.h> in sources.
4338
4339         * Painter.h:
4340         * lyxlookup.h:
4341         * box.h: do not include <config.h> in header files
4342
4343         * text.C (paintLastRow): remove unused variable
4344
4345         * text.C (transformChar):
4346         (insertChar):
4347         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4348
4349         * Painter.C (text):
4350         * font.C (width): rewrite to use uppercase() instead of
4351         islower/toupper.
4352
4353         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4354
4355 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
4356
4357         * lyxfind.C: clean up of find failure position change
4358
4359 2001-12-20  Juergen Vigna  <jug@sad.it>
4360
4361         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4362
4363         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4364         (TeXRow): added to LaTeX a single tabular row.
4365         (TeXLongtableHeaderFooter): added to output LT-h/f data.
4366         (Latex): simplified and finally good LT-h/f support.
4367         (various_functions): just small adaptions for LT-h/f support.
4368
4369         * tabular_funcs.[hC]: added and moved here all not classfunctions
4370         of LyXTabular.
4371
4372 2001-12-19  Juergen Vigna  <jug@sad.it>
4373
4374         * tabular.[Ch]: better support for longtabular options (not finished
4375         yet!)
4376
4377 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4378
4379         * text.C (paintLastRow): use the label font instead of the font of
4380         the last character to compute the size of *_BOX. This makes more
4381         sense and avoids a crash with empty paragraphs.
4382         Use Painter::rectangle to draw EMPTY_BOX.
4383
4384 2001-12-19  Juergen Vigna  <jug@sad.it>
4385
4386         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4387         the paragraphs if the replaced paragraph is not the first one!
4388         Tried to delete not used paragraphs but does not work yet so for
4389         now it's inside #ifdef's and by default off!
4390
4391 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4392
4393         * MenuBackend.C: include "lyx_main.h" instead of declaring
4394         lastfiles (actually was declared as LastFiles* instead of a
4395         scoped_ptr).
4396
4397 2001-12-17  Juergen Vigna  <jug@sad.it>
4398
4399         * tabular.C (AppendColumn): applied John's fix
4400
4401 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
4402
4403         * BufferView.h:
4404         * BufferView.C:
4405         * BufferView_pimpl.h:
4406         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4407
4408         * Makefile.am:
4409         * box.h: new start of class for above
4410
4411         * lyxfunc.C: ignore space-only minibuffer dispatches.
4412           Show the command name when it doesn't exist
4413
4414         * minibuffer.C: don't add empty lines to the history
4415
4416         * minibuffer.C: add a space on dropdown completion
4417
4418 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
4419
4420         * text.C: fix line above/below drawing in insets
4421
4422 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4423
4424         * lyxlength.C (LyXLength): Initialize private variables.
4425
4426 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
4427
4428         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4429         when inserting error insets.
4430
4431 2001-12-13  Juergen Vigna  <jug@sad.it>
4432
4433         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4434         actually sometimes the before-paragraph.
4435         (setUndo): don't clear the redostack if we're not actually undoing!
4436
4437 2001-12-06  Juergen Vigna  <jug@sad.it>
4438
4439         * undo_funcs.C (textHandleUndo): well after John's hint I got here
4440         and fixed redoing of main paragraph, so we can use it now ;)
4441
4442         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4443
4444 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4445
4446         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4447         Juergen's request
4448
4449 2001-12-13  André Pönitz <poenitz@gmx.net>
4450
4451         * undostack.[Ch]:
4452         * undo_func.C: minor cleanup
4453
4454 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4455
4456         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4457         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4458         font in urw-fonts package which is marked as -urw-fontspecific and
4459         does not work (incidentally, changing the encoding in the
4460         fonts.dir of this package to -adobe-fontspecific fixes the
4461         problem).
4462
4463         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4464         is a crash when undoing first paragraph (Juergen, please take a
4465         look). THis does not mean the undo fix is wrong, just that it
4466         uncovers problems.
4467
4468         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4469         the (Paragraph*) version when needed instead of duplicating the
4470         code.
4471
4472         * text.C (workWidth): use Inset::parOwner to find out where the
4473         inset has been inserted. This is a huge performance gain for large
4474         documents with lots of insets. If Inset::parOwner is not set, fall
4475         back on the brute force method
4476
4477         * paragraph_pimpl.C (insertInset):
4478         * paragraph.C (Paragraph):
4479         (cutIntoMinibuffer): set parOwner of insets when
4480         inserting/removing them
4481
4482         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4483
4484 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
4485
4486         * commandtags.h:
4487         * LyXAction.C:
4488         * lyx_main.C:
4489         * lyxfunc.C:
4490         * mathed/formulabase.C:
4491         * mathed/math_cursor.[Ch]:
4492         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4493
4494
4495 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4496
4497         * lyxlength.[Ch] (operator!=): new function
4498
4499 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4500
4501         * text.C (workWidth): use Inset::parOwner to find out where the
4502         inset has been inserted. This is a huge performance gain for large
4503         documents with lots of insets. If Inset::parOwner is not set, fall
4504         back on the brute force method
4505
4506         * paragraph_pimpl.C (insertInset):
4507         * paragraph.C (Paragraph):
4508         (cutIntoMinibuffer): set parOwner of insets when
4509         inserting/removing them
4510
4511         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4512
4513 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4514
4515         * tabular-old.C (getTokenValue):
4516         * tabular.C (getTokenValue):
4517         (write_attribute): new versions for LyXLength
4518         (everywhere): adjust the use of widths
4519
4520         * tabular.h: change the type of widths from string to LyXLength
4521
4522 2001-12-11  Ben Stanley <bds02@uow.edu.au>
4523
4524         * paragraph.C: fixed missing line number count when exporting
4525         Environments to LaTeX file
4526
4527         * buffer.C: added informational message for checking line numbers.
4528
4529 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4530
4531         * text2.C (deleteEmptyParagraphMechanism): if there is only one
4532         paragraph, do the 'double space' part, but not the 'empty
4533         paragraph' one.
4534
4535         * text.C (workWidth): small optimization
4536         (getLengthMarkerHeight): use minimal size for negative lengths.
4537
4538 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
4539
4540         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4541
4542         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4543
4544 2001-12-11  André Pönitz <poenitz@gmx.net>
4545
4546         * FontLoader.C:
4547         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4548
4549 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4550
4551         * text2.C: keep selection on a setFont()
4552
4553 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4554
4555         * lyx_cb.C: another bv->text misuse, from insert label
4556
4557 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
4558
4559         * kbsequence.h:
4560         * kbsequence.C: re-instate nmodifier mask
4561
4562 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
4563
4564         * lyx_main.h: make lyxGUI private.
4565
4566 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4567
4568         * lyxfind.C: place the cursor correctly on failed search
4569
4570 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4571
4572         * text.C (getLengthMarkerHeight): for small heights, the arrows
4573         are not always on top/bottom of the text
4574         (drawLengthMarker): smaller arrows; take the left margin in
4575         account; draw also vfills.
4576         (paintFirstRow):
4577         (paintLastRow): remove special code for vfill and standard spaces,
4578         since everything is handled in drawLengthMarker now.
4579
4580 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4581
4582         * buffer.C (insertErtContents): try to handle font and language
4583         interaction a bit better.g
4584
4585         * ColorHandler.C (updateColor): change the hash to cover the whole
4586         LColor enum, ws cleanup
4587         (getGCLinepars): ditto
4588         (getGCLinepars): only lookup in the linecache once.
4589
4590 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
4591
4592         * iterators.C (operator++): Make the iterator more robust
4593
4594         * BufferView2.C (removeAutoInsets): Use paragraph iterators
4595         (John's patch)
4596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4597
4598 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4599
4600         * lyxtext.h:
4601         * text.C: better added space drawing
4602
4603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4604
4605         * LyXView.C:
4606         * BufferView2.C: fix layout combo update on inset unlock
4607
4608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4609
4610         * Makefile.am: don't compile unused files
4611
4612 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4613
4614         * lyxfunc.C:
4615         * commandtags.h:
4616         * LyXAction.C: remove old LFUN_LAYOUTNO
4617
4618 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4619
4620         * paragraph_pimpl.h:
4621         * paragraph_pimpl.C: isTextAt() doesn't need font param
4622
4623 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4624
4625         * lyxlex.h:
4626         * lyxlex.C: little cleanup
4627
4628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4629
4630         * BufferView_pimpl.C: fix insertAscii for insets
4631
4632 2001-12-05  Juergen Vigna  <jug@sad.it>
4633
4634         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4635         set the right font on the "multi" paragraph paste!
4636
4637 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4638
4639         * trans_decl.h:
4640         * trans_mgr.[Ch]:
4641         * trans.[Ch]:
4642         * lyxgluelength.C:
4643         * lyxlength.C: remove out-commented code.
4644
4645         * BufferView_pimpl:
4646         * CutAndPaste.C:
4647         * DepTable.C:
4648         * buffer.C:
4649         * chset.C:
4650         * lastfiles.C:
4651         * lyxlex.C:
4652         * lyxlex_pimpl.C:
4653         * lyxserver.C:
4654         * screen.C:
4655         * tabular-old.C:
4656         * tabular.C:
4657         * text.C:
4658         * trans_mgr.C:
4659         * vc-backend.C: change "while(" to "while ("
4660
4661         * lyxlength.[Ch]: add zero function to check if length is zero or
4662         not
4663         * lyxgluelength.C: use it
4664
4665 2001-12-05  Allan Rae  <rae@lyx.org>
4666
4667         * lyxlength.C: Attempted a fix for the abs(int) header selection.
4668         Works for 2.95.3, from what I understand of Garst's reports this should
4669         work for other g++ versions.  We're screwed if the abs(int) definition
4670         changed between bugfix releases of gcc.
4671
4672 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
4673
4674         * text.C: fix chapter label offset !
4675
4676 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
4677
4678         * lyxtext.h:
4679         * text.C: fix hfill at end of line, clean up
4680
4681 2001-12-04  Juergen Vigna  <jug@sad.it>
4682
4683         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4684         that we force an update of the inset and it's owners if neccessary.
4685
4686 2001-12-03  Juergen Vigna  <jug@sad.it>
4687
4688         * text.C (rowLast): simplified code
4689
4690 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
4691
4692         * lyxfunc.C: fix show options on timeout
4693
4694 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4695
4696         * screen.C (topCursorVisible): scroll half a page when the cursor
4697         reached top of bottom of screen
4698
4699 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
4700
4701         * minibuffer.C: deactivate on loss of focus
4702
4703 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4704
4705         * vspace.[Ch] (operator!=): add operator.
4706
4707 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4708
4709         * BufferView_pimpl.C: refuse to open an inset when
4710         there's a selection.
4711
4712 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
4713
4714         * BufferView_pimpl.C: allow to click on RHS of full row insets
4715
4716 2001-11-30  Juergen Vigna  <jug@sad.it>
4717
4718         * tabular.C (LyXTabular): add a same_id to set the same id's in the
4719         insets for undo reasons.
4720
4721 2001-11-28  André Pönitz <poenitz@gmx.net>
4722
4723         * vspace.[Ch]: cosmetical changes
4724
4725 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4726
4727         * LyXAction.h:
4728         * LyXAction.C:
4729         * lyxfunc.h:
4730         * lyxfunc.C:
4731         * kbmap.h:
4732         * kbmap.C:
4733         * lyxrc.C:
4734         * kbsequence.h:
4735         * kbsequence.C: part re-write of old kb code
4736
4737         * Painter.C:
4738         * WorkArea.C: remove Lgb_bug_find_hack
4739
4740 2001-11-30  José Matos <jamatos@fep.up.pt>
4741
4742         * buffer.C (makeDocBookFile): add a comment to point a hack.
4743         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4744         Fixed a double write of labels.
4745
4746 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4747
4748         * LaTeX.C:
4749         * LaTeX.h Fixed bug in LaTeX class where it would not
4750         re-run latex if no depfiles were changed, but the .dvi was removed.
4751
4752 2001-11-28  André Pönitz <poenitz@gmx.net>
4753
4754         * all the files from the change on 2001/11/26:
4755         use lyx::layout_type instead of LyXTextClass::size_type
4756         use lyx::textclass_type instead of LyXTextClassList::size_type
4757
4758 2001-11-29  Juergen Vigna  <jug@sad.it>
4759
4760         * text.C: added support for paragraph::isFreeSpacing()
4761
4762         * buffer.C: same as above
4763
4764         * paragraph.h: inserted isFreeSpacing() function to enable
4765         FreeSpacing inside InsetERT.
4766
4767         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4768         of the paragraph's in the cut/copy buffer to 0!
4769
4770         * text2.C (removeRow): remove the assert as it can!
4771
4772         * lyxtext.h: added helper function firstRow returning firstrow and
4773         made firstrow private again.
4774
4775         * BufferView2.C (lockInset): don't relock if we're already locked!
4776
4777         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4778         the only paragraph.
4779         (removeRow): added Assert::(firstrow)
4780
4781         * debug.C: forgot to add INSETTEXT here.
4782
4783 2001-11-28  Juergen Vigna  <jug@sad.it>
4784
4785         * sp_spell.C (initialize): changed error text to more general
4786         spellchecker command use (not only ispell!)
4787
4788         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4789
4790         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4791
4792 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4793
4794         * vspace.C: initialise lyxgluelength on failure
4795
4796 2001-11-28  Allan Rae  <rae@lyx.org>
4797
4798         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4799         declaration & definition that looks like a function declaration.
4800
4801 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4802
4803         * BufferView2.C (copy):
4804         (copyEnvironment): do not clear the selection when doing a copy.
4805
4806         * text.C (paintFirstRow): compilation fix
4807
4808 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
4809
4810         * tabular.C (Latex): correct line count when writing latex.
4811
4812 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
4813
4814         * paragraph_pimpl.h:
4815         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4816           bug a bit
4817
4818 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
4819
4820         * text.C:
4821         * LColor.h:
4822         * LColor.C: change vfillline->added_space
4823
4824         * text.C: add markers and text for added space
4825
4826         * vspace.C: fix comment
4827
4828 2001-11-28  André Pönitz <poenitz@gmx.net>
4829
4830         * paragraph.C: whitespace changes
4831         * all the other files from the change on 2001/11/26:
4832         change *::pos_type into lyx::pos_type
4833
4834 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4835
4836         * buffer.C (parseSingleLyXformat2Token): Set the language to the
4837         language of the document when inserting error insets.
4838
4839 2001-11-26  André Pönitz <poenitz@gmx.net>
4840
4841         * BufferView_pimpl.[Ch]:
4842         *       CutAndPaste.C:
4843         * buffer.[Ch]:
4844         * lyxcursor.[Ch]:
4845         * lyxfind.C:
4846         * lyxfunc.C:
4847         * lyxrow.[Ch]:
4848         * paragraph.[Ch]:
4849         * paragraph_pimpl.[Ch]:
4850         * sp_spell.C:
4851         * text.C:
4852         * text2.C: reduce header dependencies, introduce type for positions
4853
4854 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4855
4856         * <various>: change to use Alert.h
4857
4858 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4859
4860         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4861         when encountering an unknown token.
4862         (readLyXformat2): Show an error message if there were unknown tokens.
4863
4864 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
4865
4866         * BufferView2.C:
4867         * BufferView_pimpl.C:
4868         * buffer.C:
4869         * paragraph.h:
4870         * text.C:
4871         * text2.C: use par->isInset()
4872
4873 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4874
4875         * paragraph_pimpl.h:
4876         * paragraph_pimpl.C: cleanup
4877
4878 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4879
4880         * text2.C (removeRow):
4881         * text.C (setHeightOfRow): remove useless (and costly) call to
4882         getRow.
4883
4884 2001-11-20  Allan Rae  <rae@lyx.org>
4885
4886         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4887         Now need Inset*::checkInsertChar() to return true for appropriate
4888         cases so that the characters in the minibuffer will actually be
4889         inserted.
4890
4891 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4892
4893         * text.C: change the order of the includes.
4894         (workWidth): initialize it at once.
4895         (workWidth): make maxw unsigned
4896         (setHeightOfRow): remove unused variable (inset)
4897         (selectSelectedWord): remove unused variable (inset)
4898         (paintRowText): fix drawing of hfill characters, and clean up a bit.
4899
4900 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4901
4902         * lyxserver.C (emergencyCleanup): do not try to close pipes if
4903         server is not running.
4904         (openConnection):
4905         (closeConnection): add debug info when server is disabled.
4906
4907         * ColorHandler.C (getGCForeground): send debug message to GUI
4908         channel.
4909
4910         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4911
4912         * kbmap.C (bind): modify because return conventions of
4913         kb_sequence::parse have changed.
4914
4915         * kbsequence.C (parse): only ignore spaces and not any stupid
4916         control character. This avoids tests like s[i] <= ' ', which are
4917         guaranteed to fail with 8bit characters and signed chars.
4918         Change return code to string::npos when there have been no error
4919         (0 was a bad idea when error is at first character)
4920
4921 2001-11-14  José Matos  <jamatos@fep.up.pt>
4922
4923         * buffer.h:
4924         * buffer.C (simpleDocBookOnePar): removed unused argument.
4925
4926 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4927
4928         * text.C (selectNextWordToSpellcheck): do not test explicitely for
4929         insets which are part of a word. Paragraph::isLetter takes care of
4930         that now. Use Paragraph::isInset to identify insets.
4931         (selectSelectedWord): do not test for hyphenation break.
4932
4933         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4934         that protected spaces are considered as spaces.
4935
4936         * paragraph.C (isLetter): cleanup the code for ispell extras; use
4937         Inset::isLetter.
4938
4939 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
4940
4941         * lyxserver.h:
4942         * lyxserver.C: fix it. and small cleanup.
4943
4944 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
4945
4946         * BufferView_pimpl.C: use inline helpers
4947
4948         * LaTeXFeatures.h:
4949         * LaTeXFeatures.C: fix typos
4950
4951         * Spacing.h:
4952         * Spacing.C: move spacing_string into class
4953
4954         * ToolbarDefaults.C: move stuff into namespace anon
4955
4956         * layout.h: update enum
4957
4958         * lyxfunc.C: use better debug
4959
4960         * minibuffer.h: fix typo
4961
4962         * debug.h:
4963         * debug.C:
4964         * WorkArea.C: add and use Debug::WORKAREA
4965
4966         * lyxtext.h:
4967         * text.C:
4968         * text2.C: code re-organisation, inline helpers
4969
4970 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
4971
4972         * Layout.C: replaced a few cases of std::vector.size() == 0 with
4973         std::vector.empty().
4974
4975 2001-11-09  Allan Rae  <rae@lyx.org>
4976
4977         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4978         '\n's after tables.  Tabular and ERT inset work now makes this no
4979         longer necessary.
4980
4981 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
4982
4983         * minibuffer.h:
4984         * minibuffer.C: fix crash, improve drop-down completion
4985
4986 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
4987
4988         * lyxserver.h:
4989         * lyxserver.C: invalidate fd's when doing endPipe()
4990
4991 2001-11-08  José Matos  <jamatos@fep.up.pt>
4992
4993         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4994         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4995
4996         * paragraph.h:
4997         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4998
4999 2001-11-07  José Matos  <jamatos@fep.up.pt>
5000
5001         * buffer.h:
5002         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5003         const qualifier.
5004
5005         * buffer.C (sgmlOpenTag):
5006         * buffer.C (sgmlCloseTag): removed debug info.
5007
5008         * buffer.h (sgmlOpenTag):
5009         * buffer.h (sgmlCloseTag): made public.
5010
5011 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5012
5013         * buffer.C (saveParamsAsDefaults):
5014         * lyx_cb.C (MenuLayoutSave): remove
5015
5016         * LyXAction.C (init):
5017         * commandtags.h:
5018         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5019
5020 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5021
5022         * buffer.C (setPaperStuff): removed from here...
5023
5024         * bufferparams.C (setPaperStuff): ... and moved there.
5025
5026 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
5027
5028         * minibuffer.h:
5029         * minibuffer.C:
5030         * XFormsView.C: add support for drop-down completion
5031
5032 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
5033
5034         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5035         commands.
5036
5037 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5038
5039         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5040         disabled.
5041
5042 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
5043
5044         * lyx_main.C: change ref to known bugs
5045
5046 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
5047
5048         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5049         to work around older babel problems.
5050
5051 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5052
5053         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5054
5055 2001-10-24  Juergen Vigna  <jug@sad.it>
5056
5057         * tabular-old.C (ReadOld): below variable changes reflected.
5058
5059         * tabular.[Ch]: added ltType struct for longtable header/footer
5060         defines and changed all instances where they are used. Added
5061         future support for double top/bottom rows.
5062
5063 2001-10-24  José Matos  <jamatos@fep.up.pt>
5064
5065         * buffer.h (docbookHandleCaption):
5066         * buffer.C (docbookHandleCaption): removed unused function.
5067         (makeDocBookFile): moved docbook supported version to v4.1.
5068
5069 2001-10-24  José Matos  <jamatos@fep.up.pt>
5070
5071         * tabular.h:
5072         * tabular.C (docbookRow): new function to export docbook code of a row.
5073         (DocBook): now honors the longtable flags.
5074
5075 2001-10-23  José Matos  <jamatos@fep.up.pt>
5076
5077         * LaTeXFeatures.h:
5078         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5079         of the lyx defined sgml entities used in a docbook/linuxdoc document.
5080
5081         * buffer.C (makeLinuxDocFile):
5082         (makeDocBookFile): reworked the preamble, more clean, and with
5083         support for lyx defined entities. Changed the document declaration
5084         to be more XML friendly.
5085
5086         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5087         if we need to output XML that should be done with a filter.
5088
5089 2001-10-22  Juergen Vigna  <jug@sad.it>
5090
5091         * sp_pspell.h (class PSpell): add alive function needed in the
5092         controller to see if the spellchecker could be started.
5093
5094 2001-10-22  Juergen Vigna  <jug@sad.it>
5095
5096         * buffer.C (insertStringAsLines): modify the font for inserting
5097         chars in certain conditions by calling checkInsertChar(font).
5098
5099 2001-10-19  Juergen Vigna  <jug@sad.it>
5100
5101         * text.C (workWidth): use getRow instead of wrong algorithm.
5102         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5103
5104 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
5105
5106         * lyxserver.h:
5107         * lyxserver.C:
5108         * lyx_main.h:
5109         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5110
5111 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5112
5113         * text.C (workWidth): do not search for the exact row when
5114         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5115         optimization for big documents.
5116
5117 2001-10-18  Juergen Vigna  <jug@sad.it>
5118
5119         * text.C (workWidth): new function with added Inset * parameter.
5120
5121 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5122
5123         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5124
5125         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5126         change return type of getColumnNearX.
5127
5128
5129         * text.C (changeRegionCase): use uppercase/lowercase instead of
5130         toupper/tolower.
5131         (leftMargin):
5132         (rightMargin): simplify code by factoring out the uses of
5133         textclasslist.
5134         (labelFill):
5135         (numberOfHfills):
5136         (setHeightOfRow):
5137         (appendParagraph): use Paragraph::size_type
5138
5139 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5140
5141         * vspace.C (asLatexString): add a missing break
5142
5143 2001-10-15  Herbert Voss  <voss@perce.de>
5144
5145         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5146
5147 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5148
5149         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5150         is not available.
5151
5152 2001-10-10  André Pönitz <poenitz@gmx.net>
5153
5154         * lyxfunc.C: removed greek_kb_flag.
5155
5156 2001-10-10  Herbert Voss  <voss@perce.de>
5157
5158         * lyx_main.C: delete global string help_lyxdir.
5159
5160 2001-10-09  Herbert Voss  <voss@perce.de>
5161
5162         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5163
5164         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5165
5166         * lyx_main.C: added global string help_lyxdir.
5167
5168         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5169
5170 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5171
5172         * lyxrc.C (set_font_norm_type): support iso8859-4
5173
5174 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
5175
5176         * LaTeX.C (deplog): add another regex for MikTeX
5177
5178 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5179
5180         * lyxrc.C (set_font_norm_type): support iso8859-3
5181
5182 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5183
5184         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5185
5186         * LaTeXFeatures.C: remove special case of french and index
5187
5188         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5189         before \begin{document}). This solves several incompatibilities.
5190
5191 2001-10-03  Garst Reese  <reese@isn.net>
5192
5193         * lyx_cb.C: change CheckTex error msg.
5194
5195 2001-10-03  José Matos  <jamatos@fep.up.pt>
5196
5197         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5198
5199 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5200
5201         * .cvsignore: update
5202
5203         * lyx_main.C (commandLineVersionInfo): use new style version info.
5204
5205         * buffer.C (writeFile):
5206         (makeLaTeXFile):
5207         (makeLinuxDocFile):
5208         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5209
5210         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5211
5212         * version.h: update to use stuff in version.C
5213
5214         * version.C.in: new file. Contains version information determined
5215         at compile time. This is a merging of version.h and
5216         version_info.h.in.
5217
5218 2001-10-03  Juergen Vigna  <jug@sad.it>
5219
5220         * BufferView_pimpl.C (update): don't change "dirty" status in
5221         updateInset call.
5222
5223 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
5224
5225         * WorkArea.C (c-tor): re-position version string slightly.
5226
5227 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
5228
5229         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5230         revert to previous code.
5231
5232         WorkArea.[Ch]: (show, destroySplash): methods removed.
5233
5234         WorkArea.C: rework code so that it's an amalgam of the codes before and
5235         after the splash screen was moved to WorkArea.
5236
5237 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5238
5239         * lyxrc.C (read):
5240         * vspace.C (inPixels):
5241         (lyx_advance):
5242         * kbmap.C (bind):
5243         * buffer.C (insertStringAsLines):
5244         (asciiParagraph): fix types to be large enough
5245
5246         * lyxlex_pimpl.h: change member status from short to int
5247
5248         * layout.h: fix type of endlabeltype
5249
5250         * kbmap.C (bind):
5251         * kbsequence.C (parse): change return type to string::size_type
5252
5253         * LaTeX.C (updateBibtexDependencies): comment out unneeded
5254         variable
5255
5256         * Bullet.C (bulletSize):
5257         (bulletEntry): do not use short ints as parameters
5258
5259         * BufferView2.C (insertLyXFile): change a char to an int.
5260
5261         * WorkArea.C (WorkArea): remove unneeded floats in computation
5262
5263 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
5264
5265         * buffer.C (asciiParagraph): Treat '\\' as other chars.
5266
5267         * paragraph.C (asString): Do not ignore newline/hfill chars when
5268         copying to the clipboard.
5269
5270 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
5271
5272         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5273         after a multi-line inset.
5274
5275 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
5276
5277         * paragraph.C (validate): Set NeedLyXFootnoteCode
5278
5279 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
5280
5281         * lyxfont.C (LyXSizeNames): changed increase-error to increase
5282         and decrease-error to decrease.
5283
5284 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5285
5286         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5287         it more readable (should be equivalent)
5288
5289 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5290
5291         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5292
5293 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5294
5295         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5296         of a cursor (row, etc.) after a character has been deleted
5297         (deleteEmptyParagraphMechanism): call the method above on _all_
5298         cursors held by the LyXText when a double space has been
5299         detected/deleted.
5300
5301 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
5302
5303         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5304         pixmap.
5305         (resizeCurrentBuff): remove code to destroy the old splash dialog.
5306
5307         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5308         background. Use greyOut() and the new show() methods to toggle between
5309         the foreground and background. Add code to remove the splash after
5310         its initial showing.
5311
5312         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5313         (create_forms): no longer call Dialogs::showSplash.
5314
5315 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5316
5317         * .cvsignore: add version_info.h
5318
5319 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5320
5321         * version_info.h.in: new file
5322
5323         * Makefile.am: add version_info.h.in
5324
5325         * lyx_main.C (commandLineVersionInfo): use version_info defined in
5326         version_info.h instead of VERSION_INFO
5327
5328 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
5329
5330         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5331         The ERT inset now returns string().
5332
5333 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
5334
5335         * lyxtext.h, text.C (selectNextWord): renamed as
5336         selectNextWordToSpellcheck.
5337
5338         * text.C (selectNextWordToSpellcheck): Modified to not select
5339         words inside an ERT inset.
5340
5341 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5342
5343         * lyx_cb.C (MenuLayoutSave): change a bit the question
5344
5345         * sp_base.h: include <sys/types.h>
5346
5347 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
5348
5349         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5350
5351 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
5352
5353         * several files: fix typos in user-visible strings
5354
5355 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5356
5357         * text2.C (pasteSelection): do not set the selection, since it
5358         will be cleared later. Actually, the intent was to fix the way the
5359         selection was set, but I figured rmoving the code was just as good.
5360
5361 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
5362
5363         * FontLoader.C (available): Check if font is available without
5364         loading the font.
5365
5366 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5367
5368         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5369
5370 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
5371
5372         * lyxrc.[Ch]: added display_graphics variable and associated code.
5373
5374 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5375
5376         * bufferparams.C (hasClassDefaults): new method. Returns true if
5377         the buffer parameters correspond to known class defaults
5378
5379 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
5380
5381         * XFormsView.C (show): set minimum size to the main window.
5382
5383 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5384
5385         * text2.C (copySelection):
5386         (cutSelection):
5387         * lyxfind.C (LyXReplace):
5388         * BufferView_pimpl.C (Dispatch): pass the correct flag to
5389         LyXText::selectionAsString.
5390
5391         * paragraph.C (asString): add "label" argument to the second form
5392
5393         * text2.C (selectionAsString): add "label" argument and pass it to
5394         Paragraph::asString.
5395
5396 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5397
5398         * lyx_main.C (commandLineHelp): remove version information
5399
5400 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
5401
5402         * lyx_main.C: add -version commandline option
5403
5404 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5405
5406         * paragraph.h: make the optional constructor arg required instead.
5407         some modifications to other files because of this.
5408
5409         * minibuffer.C (C_MiniBuffer_peek_event): make it static
5410
5411         * lyxserver.C (C_LyXComm_callback): make it static
5412
5413         * lyx_main.C (error_handler): make it static
5414
5415         * lyx_gui.C (LyX_XErrHandler): make it static
5416
5417         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5418
5419         * WorkArea.C: make the extern "C" methods static.
5420
5421         * Makefile.am (lyx_LDADD): simplify
5422
5423 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
5424
5425         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5426         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5427
5428         * LyXAction.C (init):
5429         * lyxfunc.C (dispatch): associated code removal.
5430
5431 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5432
5433         * lyxfont.h (isSymbolFont): shut off warning
5434
5435         * text.C (setHeightOfRow):
5436         (getVisibleRow): fix crash with empty paragraphs which have a
5437         bottom line
5438
5439 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
5440
5441         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5442         code.
5443
5444 2001-09-04  José Matos  <jamatos@fep.up.pt>
5445         * buffer.C
5446         * buffer.h
5447         * tabular.C (docbook): rename docBook method to docbook.
5448
5449 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
5450
5451         * Makefile.am: add dependencies to main.o.
5452
5453 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
5454
5455         * FontLoader.C (available): Return false if !lyxrc.use_gui
5456
5457 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
5458
5459         * FontInfo.C (query):
5460         * converter.C (view):
5461         * importer.C (Import):
5462         * exporter.C (Export): Can not -> cannot.
5463
5464 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
5465
5466         * BufferView_pimpl.C: allow to create index inset even if
5467           string is empty
5468
5469 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
5470
5471         * buffer.C (getLists): replace boost::tie code with an explicit pair
5472         as boost::tie can break some compilers.
5473
5474         * iterators.h: Added a std:: declaration to the return type of
5475         ParIterator::size.
5476
5477 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
5478
5479         * lyxrc.C: add help for view_dvi_paper_option, default to safe
5480           case.
5481
5482 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
5483
5484         * iterators.[Ch]: New files. Provide paragraph iterators.
5485
5486         * buffer.C (changeLanguage): Use paragraph iterators.
5487         (isMultiLingual): ditto
5488
5489         * BufferView2.C (ChangeInsets): Use paragraph iterators.
5490
5491 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
5492
5493         * FontLoader.C: Support for cmr font.
5494
5495 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
5496
5497         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5498         (available): New method.
5499
5500         * FontInfo.C (getFontname): Use scalable fonts even when
5501         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5502         found.
5503
5504 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
5505
5506         * converter.C (Formats::view): reverted! Incorrect fix.
5507
5508 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
5509
5510         * converter.C (Formats::view): only output the -paper option
5511         if the dvi viewer is xdvi, thereby fixing bug #233429.
5512
5513 2001-08-23  Herbert Voss  <voss@perce>
5514
5515         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5516
5517 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5518
5519         * Spacing.h (Spacing): Set space to Default on in the default
5520         constructor.
5521
5522 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5523
5524         * vc-backend.h (RCS::versionString): add RCS to version
5525         (CVS::versionString): add CVS to version
5526
5527         * vc-backend.C (scanMaster): do not add CVS to version.
5528         (scanMaster): do not add RCS to version
5529
5530         * lyxvc.C (versionString): new method
5531
5532         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5533
5534 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5535
5536         * Spacing.C (set): initialize fval
5537
5538 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
5539
5540         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5541         " or \.
5542
5543 2001-08-16  Juergen Vigna  <jug@sad.it>
5544
5545         * lyxfunc.C (dispatch): implemented the new FINISHED states.
5546
5547 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
5548
5549         * BufferView_pimpl.C:
5550         * figureForm.C:
5551         * lyxtext.h:
5552         * text2.C: setParagraph takes linespacing now
5553
5554 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
5555
5556         * LyxAction.C: add internal LFUN_CITATION_INSERT
5557
5558         * LyXView.C: actually apply fix
5559
5560         * bufferlist.C: fix open non-existent file
5561
5562         * lyxfind.C: fix indentation
5563
5564         * lyxfunc.C: remove unneeded assert, fix typo
5565
5566 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
5567
5568         * MenuBackend.C: use "Floatname List"
5569
5570 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
5571
5572         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5573         when converting LaTeX layout to insetERT.
5574         Generate a non-collapsed float when reading old float
5575
5576 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
5577
5578         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5579         ERT insets.
5580
5581 2001-08-13  Juergen Vigna  <jug@sad.it>
5582
5583         * text.C (fill): return 0 instead of 20 as this seems to be the more
5584         correct value.
5585
5586 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
5587
5588         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5589         lyxrc.font_norm.
5590
5591 2001-08-13  Juergen Vigna  <jug@sad.it>
5592
5593         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5594         casesensitive off.
5595         (SearchBackward): comment out the unlocking of the inset_owner this
5596         should not be needed!
5597
5598 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
5599
5600         * Many files: Remove inherit_language, and add latex_language
5601
5602         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5603         collapsible insets.
5604
5605 2001-08-10  Juergen Vigna  <jug@sad.it>
5606
5607         * text.C (prepareToPrint): fixed hfill-width in draw!
5608
5609         * BufferView2.C (selectLastWord): save the selection cursor as this
5610         now is cleared in the function LyXText::clearSelection!
5611
5612 2001-08-08  Juergen Vigna  <jug@sad.it>
5613
5614         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5615         BACKSPACE type functions.
5616
5617         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5618         is only cutted from the document but not put in the cut-buffer, where
5619         still the old stuff should be.
5620
5621         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5622
5623         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5624
5625         * tabular.C (SetWidthOfCell): fixed special case where the width
5626         was not updated!
5627         (LeftLine): handle '|' in align_special.
5628         (RightLine): ditto
5629         (LeftAlreadyDrawed): ditto
5630         (SetWidthOfCell): ditto
5631
5632 2001-08-07  Juergen Vigna  <jug@sad.it>
5633
5634         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5635
5636 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5637
5638         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5639         * lyxlex.[hC]: ditto
5640
5641 2001-08-06  Juergen Vigna  <jug@sad.it>
5642
5643         * text.C (getVisibleRow): fix up row clearing a bit.
5644
5645 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5646
5647         * minibuffer.C: make sure the X server sees the changes in the input.
5648
5649 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5650
5651         * paragraph.C (getFont): split into...
5652         (getLabelFont): this
5653         (getLayoutFont): and this
5654         * paragraph_pimpl.C (realizeFont): calling this
5655
5656         * text2.C (getFont): split into...
5657         (getLayoutFont): this
5658         (getLabelFont): and this
5659         (realizeFont): all three calling this
5660
5661         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5662         files where used.
5663
5664 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5665
5666         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5667
5668 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
5669
5670         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5671         layouts from the Quote inset insertion.
5672
5673 2001-08-03  Juergen Vigna  <jug@sad.it>
5674
5675         * BufferView_pimpl.C (update): do the fitCursor only at the end!
5676
5677         * screen.C (drawFromTo): don't call fitcursor here and do the loop
5678         only if status not is already CHANGED_IN_DRAW (second level).
5679
5680         * text.C (draw): don't set the need_break_row when inside an
5681         InsetText LyXText.
5682
5683 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5684
5685         * buffer.C (parseSingleLyXformat2Token): handle more latex
5686         conversion cases.
5687
5688         * bufferview_funcs.[hC]: change function names to
5689         begin with small char, adjust other files.
5690
5691 2001-08-02  André Pönitz <poenitz@gmx.net>
5692
5693         * lyxfunc.C:
5694         BufferView_pimpl.C: remove broken special code for math-greek
5695
5696 2001-08-02  Juergen Vigna  <jug@sad.it>
5697
5698         * BufferView_pimpl.C (update): redone this function so that we
5699         update the text again if there was a CHANGE_IN_DRAW.
5700
5701         * screen.C (cursorToggle): removed LyXText parameter and recoded.
5702         (drawFromTo): added a new internal bool which is used by draw() and
5703         redraw() function.
5704         (general): some cursor drawing problems fixed.
5705
5706 2001-08-01  Juergen Vigna  <jug@sad.it>
5707
5708         * lyxfind.C (LyXFind): fixed
5709         (SearchForward): ditto
5710         (SearchBackward): ditto
5711
5712         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5713         spurius drawing of the cursor in the main area.
5714
5715         * text2.C (status): small fix which could lead to a segfault!
5716         (clearSelection): remove unneeded BufferView param.
5717
5718 2001-08-01  André Pönitz <poenitz@gmx.net>
5719
5720         * lyxfunc.C: small change due to changed mathed interface
5721
5722 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5723
5724         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5725
5726 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
5727
5728         * lyxfunc.c: fail gracefully if file doesn't exist
5729
5730         * LyXSendto.C:
5731         * buffer.C:
5732         * lyxfunc.C:
5733         * BufferView_pimpl.C: IsDirWriteable() proto changed
5734
5735         * LyXView.C: fix updateWindowTitle() to store the last title
5736
5737 2001-07-31  Juergen Vigna  <jug@sad.it>
5738
5739         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5740         the font (wrong since using of Paragraph::highestFontInRange).
5741
5742         * paragraph.C (highestFontInRange): added a default_size parameter.
5743
5744         * text.C (getVisibleRow): minor clear row changes (still not perfect).
5745         (setHeightOfRow): reformat
5746
5747 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5748
5749         * converter.[hC] + affected files: move to (inital-char)lowercase
5750         function names.
5751
5752         * ParagraphParameters.C (ParagraphParameters): remove commented code
5753
5754         * PainterBase.[Ch]: remove commented code
5755
5756         * LaTeXFeatures.h: add "bool floats" for float.sty
5757
5758         * LaTeXFeatures.C (LaTeXFeatures): init floats
5759         (require): handle float
5760         (getPackages): do it with floats
5761
5762 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5763
5764         * BufferView_pimpl.C (Dispatch): improve handling of
5765         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5766
5767         * commandtags.h: #include lyxfont.h here temporarily to avoid
5768         keybinding bug.
5769
5770         * bufferlist.h: include LString.h here.
5771
5772 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5773
5774         * text2.C (getStringToIndex): new method.
5775
5776 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
5777
5778         * *: Reduced header file dependencies all over.
5779
5780 2001-07-30  Baruch Even  <baruch@lyx.org>
5781
5782         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5783
5784 2001-07-29  Baruch Even  <baruch@lyx.org>
5785
5786         * buffer.C (readInset): Changed GRAPHICS to Graphics.
5787
5788 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5789
5790         * ParameterStruct.h (endif): add a default constructor to make
5791         sure that all variables is initialized.
5792
5793         * ParagraphParameters.C (ParagraphParameters): adjust
5794
5795 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5796
5797         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5798         index; also, check that there is something to index, and that it
5799         does not span over several paragraphs.
5800         (doubleClick): use WHOLE_WORD_STRICT for double click.
5801
5802         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5803
5804         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5805         scheme.
5806
5807 2001-07-26  Baruch Even  <baruch@lyx.org>
5808
5809         * buffer.C (readInset): Changed to call up InsetGraphics when reading
5810         an InsetFig figure, backwards compatible reading of old figure code.
5811
5812 2001-07-27  Juergen Vigna  <jug@sad.it>
5813
5814         * text2.C: font.realize function adaption.
5815
5816         * text.C (draw): add a warnings lyxerr text if needed.
5817
5818         * layout.C: font.realize function adaption.
5819
5820         * language.C: add inherit_language and implement it's handlings
5821
5822         * bufferview_funcs.C (StyleReset): remove language parameter from
5823         font creation (should be language_inherit now).
5824
5825         * bufferparams.C (writeFile): handle ignore_language.
5826
5827         * paragraph.C (getFontSettings): the language has to be resolved
5828         otherwise we have problems in LyXFont!
5829
5830         * lyxfont.C (lyxWriteChanges): added document_language parameter
5831         (update): removed unneeded language parameter
5832
5833         * paragraph.C (validate): fixed wrong output of color-package when
5834         using interface colors for certain fonts in certain environments,
5835         which should not seen as that on the final output.
5836
5837 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
5838
5839         * BufferView_pimpl.C:
5840         * Thesaurus.h:
5841         * Thesaurus.C:
5842         * Makefile.am:
5843         * commandtags.h:
5844         * LyXAction.C: add thesaurus support
5845
5846         * lyxfind.h:
5847         * lyxfind.C: add "once" parameter, for thesaurus, to not
5848           move to the next match
5849
5850 2001-07-26  Juergen Vigna  <jug@sad.it>
5851
5852         * lyxfont.C (realize): honor ignore_language too!
5853         (resolved): ditto.
5854
5855         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5856
5857         * text.C (draw): one place more for ignore_language to not draw
5858         itself!
5859
5860 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
5861
5862         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5863
5864 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5865
5866         * buffer.C (parseSingleLyXformat2Token): a more general fix for
5867         the minipage conversion problem.
5868
5869 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5870
5871         * buffer.C (parseSingleLyXformat2Token): check minipage if we
5872         insert an inset.
5873
5874 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5875
5876         * BufferView.h: don't forward declare WorkArea
5877
5878         * BufferView.C: don't include WorkArea.h
5879
5880 2001-07-25  André Pönitz <poenitz@gmx.net>
5881
5882         * commandtags.h:
5883         * LyXAction.C:
5884         * lyxfunc.C:  new LFUN 'math-space'
5885
5886         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5887
5888 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5889
5890         * text2.C (toggleInset): call open/close
5891
5892 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5893
5894         * lyxfunc.C (dispatch): add debug for the disabled case
5895
5896         * font.C (buttonText): make similar to rectText
5897
5898         * buffer.C (readInset): comment out parsing of insetlist and
5899         insttheorem
5900
5901         * PainterBase.C (rectText): small correction
5902
5903         * BufferView_pimpl.C: comment out insettheorem and insetlist
5904         * LyXAction.C: ditto
5905         * commandtags.h: ditto
5906
5907 2001-07-24  Juergen Vigna  <jug@sad.it>
5908
5909         * text.C (draw): honor the ignore_language.
5910
5911         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5912
5913 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5914
5915         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5916         char inset.
5917
5918 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5919
5920         * lyxtext.h: remove unused (and unimplemented) methods
5921
5922 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5923
5924         * text.C (getVisibleRow): honor background color
5925
5926         * PainterBase.h:
5927         * Painter.h: remove default color argument for fillRectangle
5928
5929         * text.C (backgroundColor): new method
5930
5931 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5932
5933         * text.C (getVisibleRow): adjust
5934
5935         * font.[Ch] (rectText): new method, metrics
5936         (buttonText): new method, metrics
5937
5938         * PainterBase.[hC]: make rectText and buttonText always draw and take
5939         fewer paramteres.
5940
5941 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5942
5943         * ToolbarDefaults.C (read):
5944         * MenuBackend.C (read): allow escaping in all strings
5945
5946         * BufferView_pimpl.C (insertAndEditInset): new method.
5947         (Dispatch): use insertAndEditInset whenever appropriate.
5948
5949         * BufferView_pimpl.C (insertNote): removed
5950
5951         * BufferView_pimpl.C (smartQuote): new method, moved from
5952         BufferView; if an insetquote cannot be inserted, insert a '"'
5953         character instead.
5954
5955         * BufferView2.C: remove insertCorrectQuote();
5956
5957         * lyxfunc.C (getStatus): Add support for all remaingin
5958         inset-insert lfuns.
5959
5960         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5961
5962         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5963         command (necessary to pass " as parameter of self-insert.
5964
5965         * text.C (selectWordWhenUnderCursor):
5966         (selectWord): add word_location parameter
5967         (selectWordWhenUnderCursor): same + remove special code for word
5968         boundary.
5969         (selectNextWord): use kind() to guess type of insetspecialchar,
5970         not latex().
5971
5972         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5973         (insertErtContents): create ert insets as collapsed.
5974         (readInset): better compatibility code for Info inset.
5975
5976 2001-07-20  Juergen Vigna  <jug@sad.it>
5977
5978         * lyxfunc.C (dispatch): use always LyXFind now!
5979
5980         * text2.C (init): add a reinit flag so that the LyXText can be
5981         reinited instead of deleted and reallocated (used in InsetText).
5982
5983         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5984
5985         * text.C: ditto
5986
5987         * text2.C: ditto
5988
5989 2001-07-18  Juergen Vigna  <jug@sad.it>
5990
5991         * text.C (selectNextWord): handle insets inside inset by calling
5992         always the bv->text functions so that we can go up the_locking_inset!
5993
5994         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5995         in strange locations when inside an inset!
5996
5997         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5998         handling to include insets.
5999
6000         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6001
6002 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6003
6004         * LyXAction.C (init):
6005         * commandtags.h:
6006         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6007         LIGATURE_BREAK, since the name is so stupid.
6008
6009 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
6010
6011         * buffer.C (readInset): enable reading of new InsetNotes as well as old
6012         InsetInfos.
6013
6014         * FontLoader.C: remove FORMS_H_LOCATION cruft.
6015
6016         * sp_form.[Ch]: remove.
6017
6018         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6019
6020         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6021         InsetInfo.
6022
6023         * src/buffer.C (readInset): ditto.
6024
6025 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6026
6027         * BufferView_pimpl.C (specialChar): new method. Obsoletes
6028         menuSeparator(), endOfSentenceDot(), ldots() and
6029         hyphenationPoint(), which are therefore removed.
6030         (Dispatch): handle LFUN_HYPHENATION_BREAK.
6031
6032         * LyXAction.C (init):
6033         * commandtags.h: add LFUN_HYPHENATION_BREAK.
6034
6035         * paragraph.C (getWord): removed.
6036
6037         * BufferView_pimpl.C (Dispatch): use last word or selection for
6038         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6039
6040         * lyx_main.C (queryUserLyXDir): do not ask before creating
6041         user_dir, except if it has been named explicitely.
6042
6043 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
6044
6045         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6046         a document of zero size.
6047
6048 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
6049
6050         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6051         approriately in the c-tor and in require().
6052         (getPackages): output the appropriate LaTeX for natbib support.
6053
6054         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6055         variables "use_natbib" and "use_numerical_citations" when reading the
6056         LyX file.
6057         (readInset): read the various natbib cite commands.
6058         (validate): white-space change.
6059
6060         * bufferparams.[Ch]: new variables "bool use_natbib" and
6061         "bool use_numerical_citations".
6062         (writeFile): output them in the LyX file.
6063
6064 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6065
6066         * lyxfunc.C (getStatus): add support for all the inset insertion
6067         commands.
6068
6069         * text2.C (insertInset):
6070         * paragraph.C (insetAllowed):
6071         * BufferView_pimpl.C (insertInset): update to take in account the
6072         renaming of insertInsetAllowed
6073
6074         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6075
6076         * text2.C (getInset): new method. returns inset at cursor position.
6077
6078         * BufferView_pimpl.C (Dispatch): changes because of this.
6079
6080         * LyXAction.C (init): rename open-stuff to inset-toggle.
6081
6082         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6083
6084         * text2.C (toggleInset): renamed from openStuff; use
6085         Inset::open().
6086
6087 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
6088
6089         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6090
6091         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6092
6093 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
6094
6095         * buffer.C (readLyXformat2): Add filename to the error dialog
6096
6097 2001-07-18  Juergen Vigna  <jug@sad.it>
6098
6099         * tabular.C (GetCellNumber): put an assert here instead of the check!
6100
6101 2001-07-17  Juergen Vigna  <jug@sad.it>
6102
6103         * BufferView_pimpl.C (toggleSelection): adapted too.
6104
6105         * text.C (selectNextWord): adapted for use with insets.
6106         (selectSelectedWord): ditto
6107
6108 2001-07-17  Juergen Vigna  <jug@sad.it>
6109
6110         * sp_spell.C (PSpell): fix initialitation order.
6111
6112 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6113
6114         * paragraph.C: spacing
6115
6116 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
6117
6118         * sp_spell.C: repair language selection for pspell
6119
6120 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6121
6122         * lyxfunc.h: change more methods to begin with lower char.
6123
6124 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
6125
6126         * buffer.C (parseSingleLyXformat2Token): Generate error insets
6127         for unknown layouts.
6128
6129 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6130
6131         * buffer.C (readLyXformat2): Generate an error dialog if there are
6132         unknown layouts.
6133
6134 2001-07-16  Juergen Vigna  <jug@sad.it>
6135
6136         * sp_spell.C: always compile ISpell part.
6137
6138         * lyxrc.C: added use_pspell entry and it's handling.
6139
6140 2001-07-13  Juergen Vigna  <jug@sad.it>
6141
6142         * sp_spell.C: removed double includes.
6143
6144 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
6145
6146         Consistent use of Lsstream.h:
6147         * Lsstream.h: added using std::stringstream for consistencies sake.
6148
6149         * buffer.C: removed using std::stringstream
6150
6151         * lyxfont.C (stateText):
6152         * paragraph.C (asString):
6153         * text.C (selectNextWord, selectSelectedWord):
6154         * text2.C (setCounter):
6155         * vspace.C (asString, asLatexString):
6156         std::ostringstream -> ostringstream.
6157
6158 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
6159
6160         * LyXAction.C: add LFUN_HELP_ABOUTLYX
6161         * commandtags.h: add LFUN_HELP_ABOUTLYX
6162         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6163
6164 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
6165
6166         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6167         cursorToggle()
6168         * lyx_gui_misc.C: remove spellchecker
6169         * lyxfunc.C: showSpellchecker
6170         * sp_base.h: added
6171         * sp_ispell.h: added
6172         * sp_pspell.h: added
6173         * sp_spell.C: added
6174         * sp_form.[Ch]: removed
6175         * spellchecker.[Ch]: removed
6176
6177 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
6178
6179         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6180         is set.
6181         (simpleTeXSpecialChars): Simply print the input character without
6182         any special translation if pass_thru is set.
6183
6184         * layout.h: Added bool pass_thru to layout class for being able to
6185         implement pass through of a paragraph for Literate Programming.
6186
6187         * layout.C: add LT_PASS_THRU to LayoutTags enum.
6188         * layout.C (LyXLayout): set pass_thru to flase in constructor.
6189         * layout.C (Read): add "passthru" to list of layout tags and add
6190         code to set the pass_thru boolean when it is read.
6191
6192 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6193
6194         * trans_decl.h: remove allowed from KmodInfo
6195
6196         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6197         remove allowed code
6198         (Load): adjust
6199
6200         * paragraph_pimpl.C (erase): use boost::prior
6201
6202         * Painter.C (text): use data() instead of c_str() when length is
6203         also provided.
6204         * WorkArea.C (putClipboard): ditto
6205         * font.h (width): ditto
6206
6207         * BufferView2.C: use it-> instead of (*it). for iterators
6208         * texrow.C: ditto
6209         * paragraph_pimpl.C: ditto
6210         * paragraph.C: ditto
6211         * minibuffer.C: ditto
6212         * language.C: ditto
6213         * kbmap.C: ditto
6214         * encoding.C: ditto
6215         * counters.C: ditto
6216         * converter.C: ditto
6217         * chset.C: ditto
6218         * Variables.C: ditto
6219         * TextCache.C: ditto
6220         * MenuBackend.C: ditto
6221         * LyXAction.C: ditto
6222         * LColor.C: ditto
6223         * FloatList.C: ditto
6224         * DepTable.C: ditto
6225         * ColorHandler.C (LyXColorHandler): ditto
6226
6227 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6228
6229         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6230
6231         * text2.C (openStuff): reintroduce this method (which had been
6232         nuked in NEW_INSETS frenzy).
6233
6234         * lyxfunc.C (Dispatch): when an action has not been handled, use
6235         its name in the error message, not its number.
6236
6237         * paragraph.C (inInset): change method name to begin with lowercase.
6238
6239         * undo_funcs.C:
6240         * text2.C: updates because of this.
6241
6242 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6243
6244         * ToolbarDefaults.C (add): add spaces in error message
6245
6246 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6247
6248         * buffer.C (readLyXformat2): initialize the ert comp. variables.
6249         (readLyXformat2): rename return_par to first_par, use lyxlex's
6250         pushToken and remove the manual push handling.
6251         (parseSingleLyXformat2Token): add another ert comp. variable:
6252         in_tabular, rename return_par to first_par. handle newlines better
6253
6254 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6255
6256         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6257
6258 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6259
6260         * text2.C (getParFromID): removed
6261
6262         * buffer.C (getParFromID): new method moved form lyxtext.
6263         * BufferView2.C (insertErrors): adjust
6264         (setCursorFromRow): adjust
6265         * BufferView_pimpl.C (restorePosition): adjust
6266         * lyxfunc.C (Dispatch): adjust
6267         * undo_funcs.C (textUndo): adjust
6268         (textRedo): adjust
6269         (textHandleUndo): adjust
6270         (textHandleUndo): adjust
6271
6272 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6273
6274         * buffer.C: up' the LYX_FORMAT
6275
6276         * lyxfont.h: turn NO_LATEX on as default
6277
6278         * buffer.C (insertErtContents): new methods of tex style compability.
6279         (parseSingleLyXformat2Token): use it several places.
6280         * tabular.C (OldFormatRead): and here
6281
6282 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6283
6284         * text2.C: remove some commented code.
6285         reindent file.
6286
6287         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6288         * trans.C: changes because of the above.
6289
6290 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
6291
6292         * text2.C (setCounter): Fix counters bug with bibliography layout.
6293
6294 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6295
6296         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6297         own member functions
6298         (simpleTeXSpecialChars): ditto
6299
6300 2001-07-06  Juergen Vigna  <jug@sad.it>
6301
6302         * a lot of files: changed the access to LyXText::status and the
6303         call of undo-functions.
6304
6305         * undo.[Ch]: added a inset_id to the undo informations.
6306
6307         * undo_funcs.[Ch]: added and moved here all undo functions.
6308
6309         * lyxtext.h: give the status enum a weight, made status_ a private
6310         variable and made accessor functions for it, removed the whole bunch
6311         of undo-functions as they are now in their own file, make some
6312         functions publically available. Added function ownerParagraph with
6313         int parameter.
6314
6315         * paragraph.[Ch]: added "bool same_ids" to the constructor,
6316         made InInset() a const function, added getParFromID() function.
6317
6318         * buffer.[Ch]: added const version for inset_iterator functions,
6319         added getInsetFromID() function.
6320
6321         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6322         changed undo functions for new version.
6323
6324 2001-07-05  Juergen Vigna  <jug@sad.it>
6325
6326         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6327         unknow mechanism does not call the proper constructor but only this
6328         one also if I request the other!?
6329
6330 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6331
6332         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6333
6334         * text2.C (LyXText): use initialization lists.
6335
6336         * lyxtext.h (Selection): initialize set_ and mark_
6337         (init): remove method
6338
6339 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
6340
6341         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6342
6343 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6344
6345         * screen.[Ch]: change method names to begin with lowercase
6346
6347         * BufferView_pimpl.C (updateScrollbar): simplify further and
6348         hopefully make it a bit faster.
6349
6350 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6351
6352         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6353         calling directly xforms functions.
6354
6355         * Painter.C (Painter):
6356         * lyx_cb.C (MenuWrite):
6357         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6358         fl_display.
6359
6360         * lyx_gui.C: remove bogus guiruntime extern declaration.
6361
6362 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6363
6364         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6365         in NEW_INSETS
6366         (redoDrawingOfParagraph): ditto
6367         (redoParagraphs): ditto
6368         (cutSelection): don't create a object for CutAndPaste use the
6369         static method directly
6370         (pasteSelection): ditto
6371
6372         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6373         LyXview (+ rename)
6374
6375 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6376
6377         * modifications to some other files because of this.
6378
6379         * Makefile.am (lyx_SOURCES): add XFormsView
6380
6381         * XFormsView.[Ch]: new files
6382
6383         * LyXView.[Ch]: make LyXView a base class for the gui handling for
6384         the main window. Move the gui dependent stuff to XFormsView
6385
6386 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * tabular.C (GetCellInset): update cur_cell also in the row/col
6389         version of this function.
6390
6391         * lyxfunc.C: no need to include figure_form.h here.
6392
6393         * FontLoader.h:
6394         * lyxfunc.h:
6395         * lyxscreen.h:
6396         * text2.C:
6397         * lyxvc.C: no need to include forms.h here.
6398
6399 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6400
6401         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6402
6403         * lyxfunc.C (Dispatch):
6404         * Spacing.C (set):
6405         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6406         constructor argument.
6407
6408 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6409
6410         * paragraph.C (Paragraph): dont't clear, and just set layout.
6411         (makeSameLayout): use params's copy contructor.
6412
6413         * ParagraphParameters.[Ch] (makeSame): delete method
6414
6415 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
6416
6417         * Variables.[Ch]: fix indentation, rename set to isSet
6418
6419 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6420
6421         * lyxfunc.C (Dispatch): fix typo
6422
6423 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6424
6425         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6426         upper_bound.
6427
6428         * bufferlist.C: include assert.h for emergencyWrite().
6429
6430 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
6431
6432         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6433           give up at last (bug #425202) !
6434
6435 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
6436
6437         * lyx_gui_misc.C:
6438         * sp_form.h:
6439         * sp_form.C:
6440         * spellchecker.h:
6441         * spellchecker.C: strip spellchecker options and bring up
6442           preferences tab instead
6443
6444 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6445
6446         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6447         the istringstream constructor
6448
6449 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6450
6451         * paragraph.C (getLayout): fix return value
6452
6453         * paragraph.h: do not declare getLayout as inline.
6454
6455         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6456
6457 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6458
6459         * lyxcursor.h (operator<): new func
6460         (operator>): new func
6461         (operator>=): new func
6462         (operator<=): new func
6463
6464         * text.C (changeCase): use selection.start and selection.end
6465         (changeRegionCase): require from to be <= to. Require par to be a
6466         valid paragraph.
6467
6468         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6469
6470 2001-06-27  Juergen Vigna  <jug@sad.it>
6471
6472         * text.C (cursorLeftOneWord): changed to return the cursor and added
6473         overlay with BufferView * parameter which calls this one.
6474         (getWord): added
6475         (selectWord): use new getWord function.
6476         (changeCase): renamed from changeWordCase as and extended to work
6477         also on selections.
6478
6479         * lyxtext.h: added enum word_location
6480
6481         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6482         changeCase as this operates now also on selections.
6483
6484 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
6485
6486         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6487
6488         * many files: send debug output to Debug::INFO instead of
6489         Debug::ANY.
6490
6491         * converter.C (View):
6492         (Convert):
6493         (Move): send debug output to Debug::FILES instead of console.
6494
6495 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
6496
6497         * lyxfunc.C (getStatus): use func_status
6498
6499         * func_status.h: new header, describing the results of
6500         LyXFunc::getStatus;
6501
6502         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6503         LFUN_MATH_HALIGN.
6504
6505 2001-06-25  The LyX Project  <jug@sad.it>
6506
6507         * buffer.C (sgmlOpenTag):
6508         (sgmlCloseTag):
6509         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
6510
6511 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6512
6513         * text2.C: remove some dead code
6514
6515         * tabular.C (GetCellInset): store the last cell checked (gotten)
6516
6517         * tabular.h: add the helper for the speedup
6518
6519         * lyxtext.h: remove some dead code
6520
6521 2001-06-26  The LyX Project  <Asger>
6522
6523         * paragraph.C: Change export to LaTeX of alignment to
6524         \begin{center} and family for better roundtrip work with reLyX.
6525
6526         * Tune the math drawing a bit.
6527
6528 2001-06-25  The LyX Project  <Asger>
6529
6530         * LColor.C (LColor): New color for math background. New color
6531         for buttons.
6532
6533 2001-06-25  The LyX Project  <jug@sad.it>
6534
6535         * lyxfunc.C (MenuNew): remove extra check for .lyx file
6536
6537         * lyxfunc.C (Open):
6538         * bufferlist.C (newFile): do not restrict to files ending with
6539         .lyx
6540
6541         * BufferView_pimpl.C (MenuInsertLyXFile):
6542
6543 2001-06-24  The LyX Project  <jug@sad.it>
6544
6545         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6546         of compare_no_case
6547
6548 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6549
6550         * lyxtext.h: rename most methods to begin with a small char.
6551         Lots of changes because of this.
6552
6553         * paragraph.C (Paragraph): do not call fitToSize
6554         (erase): call Pimpl::erase
6555         (insertChar): call Pimpl::insertChar
6556         (insertInset): call Pipl::insertInset
6557         (breakParagraph): do not call fitToSize
6558         (breakParagraphConservative): do not call fitToSize
6559         (fitToSize): remove method
6560
6561         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6562
6563 2001-06-24  The LyX Project  <Asger>
6564
6565         * Fix Qt compilation^2
6566
6567 2001-06-24  The LyX Project  <jug@sad.it>
6568
6569         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6570         depthHook(getDepth()-1).
6571
6572         * paragraph.h:
6573         * ParagraphParameters.h:
6574         * ParameterStruct.h: change type of depth to unsigned int ==
6575         depth_type. Many adaptations to other files before of that.
6576
6577 2001-06-24  The LyX Project  <Asger>
6578
6579         * Fix Qt compilation.
6580
6581 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6582
6583         * paragraph.h: renamed several methods to begin with small letter.
6584         several changes to many parts of the code because of this.
6585
6586 2001-06-23  The LyX Project  <jug@sad.it>
6587
6588         * text2.C (InsertStringAsLines): renamed from InsertStringA;
6589         rewritten to discard all double spaces when KeepEmpty is off
6590         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6591         to only handle newlines but not fiddle with spaces and friends.
6592
6593         * lyxfunc.C (MenuNew): when doing 'new from template', use
6594         template_path as default directory
6595
6596 2001-06-23  The LyX Project  <Asger>
6597
6598         * Clean-up of header file includes all over
6599         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6600
6601 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6602
6603         * paragraph.h: renamed from lyxparagraph.h
6604
6605 2001-06-23  Asger  <lyx@violet.home.sad.it>
6606
6607         * Buffer.h: Removed Buffer::resize
6608         * BufferList.h: Removed BufferList::resize
6609         * LyXView.h: Added LyXView::resize. This way, we will only reflow
6610         the document lazily when we change the width, or the font settings.
6611
6612 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6615
6616 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
6617
6618         * buffer.h: remove out of date comment
6619
6620 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
6621
6622         * lyxscreen.h:
6623         * screen.C: fix "theoretical" GC leak
6624
6625 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6626
6627         * LaTeX.C (scanAuxFile):
6628         (deplog): remove trailing \r when reading stream (useful under
6629         win32)
6630
6631 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
6632
6633         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6634         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6635         and BufferView::theLockingInset(Inset*), so should use them and not
6636         access bv_->text->the_locking_inset directly.
6637
6638         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6639
6640 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
6641
6642         * Makefile.am:
6643         * tex-defs.h: remove old unused file
6644
6645 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
6646
6647         * BufferView_pimpl.C: fix typo, remove minibuffer message
6648           when buffer has loaded
6649
6650 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6651
6652         * lyxfunc.C (Dispatch): use stringstream
6653         (MenuNew): use stringstream
6654         (Open): use stringstream
6655
6656         * importer.C (Import): use stringstream
6657
6658         * bufferview_funcs.C (CurrentState): use stringstream
6659
6660         * LaTeX.C (run): use stringstream
6661
6662         * BufferView_pimpl.C (savePosition): use stringstream
6663         (restorePosition): use stringstream
6664         (MenuInsertLyXFile): use stringstream
6665
6666 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
6667
6668         * BufferView.C:
6669         * Bullet.C:
6670         * ColorHandler.C:
6671         * FontInfo.C:
6672         * FontLoader.C:
6673         * LColor.C:
6674         * LaTeXFeatures.C:
6675         * Painter.C:
6676         * gettext.C:
6677         * lyx_gui_misc.C:
6678         * lyxserver.C:
6679         * vspace.C: removed // -*- C++ -*- as first line.
6680
6681         * lyxfind.h:
6682         * version.h: added // -*- C++ -*- as first line.
6683
6684 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6685
6686         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6687
6688         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6689         of string
6690
6691 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6692
6693         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6694         of floats.
6695
6696 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6697
6698         * gettext.C: include LString.h even when --disable-nls is on.
6699
6700 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
6701
6702         * converter.h (Get): changed argument type from int to
6703         FormatList::size_type to avoid unnecessary conversion.
6704
6705         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6706         before using it.
6707
6708 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6709
6710         * gettext.h: include LString.h even when --disable-nls is on.
6711
6712 2001-06-07  Juergen Vigna  <jug@sad.it>
6713
6714         * text.C (BreakAgain): subst spaces with tabs.
6715
6716         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6717         (resizeInsetsLyXText): set force on resizeLyXText.
6718
6719 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6720
6721         * gettext.h (gettext_init):
6722         (locale_init): use a real definition instead of a macro
6723
6724 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
6725
6726         * Bufferview_pimpl.C:
6727         * LColor.h:
6728         * LColor.C: further lcolor tidies
6729
6730 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6731
6732         * BufferView_pimpl.C (updateScrollbar): simplify.
6733
6734         * BufferView2.C: don't include insets/insetinfo.h, change
6735         prototype for insertInset and call the Pimpl version. let
6736         updateInset call Pimpl version.
6737
6738         * BufferView.h: move inset_slept to BufferView::Pimpl, move
6739         gotoInset to BufferView::Pimpl
6740
6741 2001-06-01  Juergen Vigna  <jug@sad.it>
6742
6743         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6744         inside a LockingInset (is the update needed at all?).
6745
6746 2001-05-31  Juergen Vigna  <jug@sad.it>
6747
6748         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6749         here not the old one otherwise how should we compare it afterwards
6750         if it's the same!
6751
6752 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6753
6754         * lyxfont.C:
6755         * tabular.C:
6756         * tabular-old.C:
6757         * FontInfo.C: bring C functions into global namespace when
6758         necessary
6759
6760 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6761
6762         * LString.h: make sure config.h has been loaded before LString.h.
6763
6764         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6765         (one for each char read by EatLine!).
6766
6767         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6768         variables.
6769
6770 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6771
6772         * paragraph.C (BreakParagraph): set the inset_owner in the new par
6773         to the same as the par we break from
6774
6775 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6776
6777         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6778
6779         * MenuBackend.C (expand): also create menu entries for wide
6780         versions of the floats.
6781
6782         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6783
6784         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6785
6786         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6787         frontends/Makefile.am
6788
6789         * text2.C: adjust
6790         * text.C: adjust
6791
6792
6793         * tabular.C (getTokenValue): add std::
6794
6795         * tabular-old.C (getTokenValue): add std::
6796         (getTokenValue): ditto
6797         (getTokenValue): ditto
6798
6799         * screen.C (ToggleSelection): adjust
6800
6801         * lyxtext.h: put selection cursors inside a Selection struct.
6802
6803         * lyxfunc.C (moveCursorUpdate): adjust
6804
6805         * lyxfont.C (latexWriteStartChanges): add std::
6806
6807         * lyxfind.C: adjust
6808
6809         * font.h: delete with(char const *, LyXFont const &)
6810
6811         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6812
6813         * FontInfo.C (getFontname): add std::
6814
6815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6816         (workAreaButtonPress): adjust
6817         (tripleClick): adjust
6818         (update): adjust
6819         (moveCursorUpdate): adjust
6820         (Dispatch): adjust
6821
6822         * BufferView2.C (gotoInset): adjust
6823
6824 2001-05-30  Juergen Vigna  <jug@sad.it>
6825
6826         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6827         to check pspell I add this as default as I now have new pspell
6828         libraries and they seem to use this.
6829
6830 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6831
6832         * text2.C (CutSelection): make the cursor valid before the call to
6833         ClearSelection.
6834
6835 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6836
6837         * kbsequence.C (parse): de-uglify a bit the parsing code, which
6838         relied on 0 terminated strings and other horrors. Bug found due to
6839         the new assert in lyxstring!
6840
6841         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6842         KP_ keys.
6843
6844 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6845
6846         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6847         to latinkeys.bind.
6848
6849         * lyxfunc.C (processKeySym): change method of getting to the
6850         self-insert char.
6851
6852         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6853         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6854         * BufferView_pimpl.[Ch]: here as private methods.
6855
6856 2001-05-28  Juergen Vigna  <jug@sad.it>
6857
6858         * text.C (SetHeightOfRow): added the update() call again as it is
6859         needed to initialize inset dimensions!
6860
6861 2001-05-16  Juergen Vigna  <jug@sad.it>
6862
6863         * text2.C (SetCharFont): Add new function with BufferView * and
6864         bool toggleall parameters for setting insets internal fonts.
6865         (SetFont): Freeze the undo as we may change fonts in Insets and
6866         all this change should be inside only one Undo!
6867
6868         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6869         setting font's in insets as for them we have the SetFont function!
6870
6871 2001-05-15  Juergen Vigna  <jug@sad.it>
6872
6873         * text2.C (ClearSelection): to be sure we REALLY don't have any
6874         selection anymore!
6875
6876         * tabular.C (TeXCellPreamble): fixed the left border problem for
6877         multicolumn cells.
6878
6879 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
6880
6881         * LaTeX.C (deplog): Make sure that the main .tex file is in the
6882         dependancy file
6883
6884 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6885
6886         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6887         LFUN_BREAKPARAGRAPH.
6888
6889         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6890         help test to "internal only", similar for LFUN_INSERT_URL
6891
6892         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6893         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6894         auto_region_delete and deadkeys.
6895
6896 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
6897
6898         * LColor.h:
6899         * LColor.C: remove some dead entries, tidy a little
6900
6901 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6902
6903         * lyxfunc.C (processKeySym): comment the Escape handling, remove
6904         commented code.
6905         (Dispatch): implement LFUN_ESCAPE
6906
6907         * commandtags.h: add LFUN_ESCAPE
6908
6909         * LyXAction.C (init): add entry for LFUN_ESCAPE
6910
6911         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6912         Remove commented code.
6913         (insertNote): moved here
6914         (open_new_inset): moved here
6915
6916         * BufferView[2].[Ch]: move insertNote and open_new_inset to
6917         BufferView_pimpl
6918
6919 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6920
6921         * kbmap.C (findbinding): clean it up and make it work correctly.
6922
6923         * lyx_main.C (init): do not pass argc and argv as parameters
6924
6925 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
6926
6927         * buffer.C: fix path for OS/2 & Win32
6928
6929         * lyx_gui.C:
6930         * lyx_main:
6931         * lyx_main.C: Added os:: class.
6932
6933         * os2_defines.h: update
6934
6935 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6936
6937         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6938         better by trying again with reduced state.
6939
6940 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6941
6942         * lyxrc.C (read): print error about invalid key sequence only when
6943         debugging (because not all latinX keysyms are known to some X
6944         servers)
6945
6946         * kbsequence.C (getiso): add a few std:: qualifiers
6947         (getiso): comment out extra return statement.
6948
6949 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6950
6951         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6952         handling.
6953         (Dispatch): enhance the accent inset a bit. (not perfect)
6954
6955 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6956
6957         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6958
6959 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6960
6961         * bufferlist.C (emergencyWrite): fix assert() call
6962
6963 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
6964
6965         * text.C (InsertChar): Added trivial patch to only send the "you
6966         can not do multiple spaces this way" message once during a
6967         session.
6968
6969 2001-05-08  Baruch Even  <baruch@lyx.org>
6970
6971         * Makefile.am: Changed order of libraries to get LyX to link properly
6972         with the gnome frontend.
6973
6974 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6975
6976         * LaTeXFeatures.h: add a std:: qualifier
6977
6978 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6979
6980         * paragraph.C (String): use stringstream
6981
6982 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6983
6984         * paragraph.C (writeFile): remove footflag arg
6985
6986         * buffer.C (makeLaTeXFile): use stringstream
6987         (latexParagraphs): remove footnot gurba
6988
6989         * LaTeXFeatures.C (getPackages): use stringstream
6990         (getMacros): likewise
6991         (getTClassPreamble): likewise
6992         (getFloatDefinitions): new method
6993
6994         * paragraph.C (writeFile): reindent
6995         (Erase): reindent
6996
6997         * WorkArea.h: revert the xpos + etc changes.
6998
6999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7000
7001         * lyxparagraph.[Ch]: add copy constructor, remove Clone
7002
7003         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7004         (pasteSelection): likewise
7005         * text2.C (CreateUndo): likewise
7006
7007 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7008
7009         * minibuffer.C (peek_event): temporarily reduce the functionality
7010         of the minibuffer (to allow args on lfuns)
7011
7012         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7013         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7014
7015         * buffer.C (readInset): add compability reading of old float
7016         lists, add reading of new style float list.
7017         (readInset): avoid reevaluation of inscmd.getCmdName()
7018         (getLists): reindent
7019
7020         * MenuBackend.C (MenuItem): implement parsing of
7021         md_floatlistinsert and md_floatinsert.
7022         (expand::LastFiles): move initalizaton of iterators out of loop,
7023         avoid reevaluation.
7024         (expand::Documents): introduce typdedef vector<string> Strings,
7025         and use it.
7026         (expand::ExportFormats): introduce typedef vector<Format const *>
7027         Formats, and use it.
7028         (expand): implement FloatListInsert and FloatInsert.
7029
7030         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7031         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7032         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7033
7034         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7035         handling.
7036         (Dispatch::LFUN_FLOAT_LIST): implement
7037
7038 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
7039
7040         * LaTeX.C (run): Fix problem with --export code.
7041
7042 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
7043
7044         * BufferView.[Ch] (workarea): removed.
7045         (getClipboard) new method; wrapper for workarea()->getClipboard()
7046
7047         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7048         bug.
7049
7050         * WorkArea.h (width, height, xpos, ypos): These methods all
7051         returned the dimensions of the work_area sub-area of WorkArea,
7052         resulting in a position error if the WorkArea were resized. Now
7053         return the dimensions of the entire WorkArea.
7054
7055         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7056
7057 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7058
7059         * LaTeX.C (deplog): correct the syntax of regex reg1
7060
7061 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7062
7063         * undo.C: remove !NEW_INSETS cruft
7064
7065 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7066
7067         * text2.C: remove !NEW_INSETS cruft
7068
7069         * text.C: remove !NEW_INSETS cruft
7070
7071         * tabular.C: remove !NEW_INSETS cruft
7072
7073         * spellchecker.C: remove !NEW_INSETS cruft
7074
7075         * lyxtext.h: remove !NEW_INSETS cruft
7076
7077         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7078
7079         * lyxfunc.C: remove !NEW_INSETS cruft
7080
7081         * lyxfind.C: remove !NEW_INSETS cruft
7082
7083         * lyx_cb.C: remove !NEW_INSETS cruft
7084
7085         * figureForm.C: remove  !NEW_INSETS cruft
7086
7087         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7088
7089         * buffer.[Ch]: remove !NEW_INSETS cruft
7090
7091         * ToolbarDefaults.C: remove !NEW_INSETS cruft
7092
7093         * CutAndPaste.C: remove !NEW_INSETS cruft
7094
7095         * BufferView_pimpl.C: remove !NEW_INSETS cruft
7096
7097         * BufferView2.C: remove !NEW_INSETS cruft
7098
7099         * BufferView.h: remove !NEW_INSETS cruft
7100
7101 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7102
7103         * Lsstream.h: include LString.h before the sstream headers to
7104         fix problem with gcc 2.95.3 and lyxstring
7105
7106 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7107
7108         * lyx_main.C: add using directives when needed for C functions
7109         declared in std:: namespace.
7110
7111 2001-04-27  Juergen Vigna  <jug@sad.it>
7112
7113         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7114         (SetHeightOfRow): comment out the update call should not be needed!
7115
7116 2001-04-13  Juergen Vigna  <jug@sad.it>
7117
7118         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7119         (LyXTabular): tried to minimize operator= operations (and realized
7120         hopfully Lars wish).
7121
7122 2001-04-27  Juergen Vigna  <jug@sad.it>
7123
7124         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7125
7126 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7127
7128         * lyxfunc.C (Dispatch): hack to make listof algorithm work
7129
7130         * buffer.C (readInset): hack to make listof algorithm work
7131
7132         * BufferView_pimpl.C: hack to make listof algorithm work
7133
7134 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7135
7136         * LyXAction.C: removed all !NEW_INSETS cruft
7137         (init): moved lfun_item in method
7138
7139         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7140
7141 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
7142
7143         * BufferView2.C (theLockingInset): white space.
7144
7145 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7146
7147         * minibuffer.C: include <iostream>
7148
7149         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7150
7151         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7152
7153         * commandtags.h: add LFUN_TRANSPOSE_CHARS
7154
7155         * text.[Ch] (TransposeChars): new method
7156
7157 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7158
7159         * call message directly through LyXView instead of through LyXFunc
7160         * BufferView2.C: adjust
7161         * BufferView_pimpl.C: adjust
7162         * FontLoader.C: adjust
7163         * buffer.C: adjust
7164         * bufferview_funcs.C: adjust
7165         * converter.C: adjust
7166         * figureForm.C: adjust
7167         * importer.C: adjust
7168         * lyx_cb.C: adjust
7169         * lyx_gui_misc.C: adjust
7170         * lyxfunc.C: adjust
7171         * lyxvc.C: adjust
7172         * text2.C: adjust
7173         + more files in subdirs
7174
7175         * lyxparagraph.h (size): move up int file
7176         (GetLayout): ditto
7177
7178         * adjust all uses of Assert to lyx::Assert.
7179
7180         * BufferView2.C (ChangeCitationsIfUnique): adjust for
7181         lyxfunctional in namespace lyx
7182         * layout.C (hasLayout): ditto
7183         (GetLayout): ditto
7184         (GetLayout): ditto
7185         (delete_layout): ditto
7186         (NumberOfClass): ditto
7187         * converter.C (GetFormat): ditto
7188         (GetNumber): ditto
7189         (Add): ditto
7190         (Delete): ditto
7191         (SetViewer): ditto
7192         * bufferlist.C (getFileNames): ditto
7193         (emergencyWriteAll): ditto
7194         (exists): ditto
7195         (getBuffer): ditto
7196         * MenuBackend.C (hasSubmenu): ditto
7197         (hasMenu): ditto
7198         (getMenu): ditto
7199         * BufferView_pimpl.C (getInsetByCode): ditto
7200
7201 2001-04-18  Juergen Vigna  <jug@sad.it>
7202
7203         * vspace.C (asLatexString): fixed the 100% problem.
7204
7205 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7206
7207         * lyxfunc.C (Dispatch):
7208         * minibuffer.C:
7209         * minibuffer.h: add a few std:: qualifiers
7210
7211 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7212
7213         * minibuffer.[Ch]: reimplement so that commands is initiated and
7214         run from lyxfunc, simplified som handling, and made the completion
7215         and history code for complete. wip.
7216
7217         * lyxfunc.C (processKeySym): call message
7218         (miniDispatch): new temporary method
7219         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7220         (LFUN_MESSAGE): implement
7221         (LFUN_MESSAGE_PUSH): implement
7222         (LFUN_MESSAGE_POP): implement
7223         (initMiniBuffer): the initial/defualt minibuffer message.
7224
7225         * lyxfont.[Ch]: inline some more getters
7226
7227         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7228
7229         * lyx_gui_misc.[Ch] (WriteStatus): remove method
7230
7231         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7232         (AutoSave): use LFUN_MESSAGE
7233         (Reconfigure): ditto
7234
7235         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7236
7237         * figureForm.C: use LFUN_MESSAGE
7238
7239         * converter.C (runLaTeX): use LFUN_MESSAGE
7240
7241         * bufferview_funcs.C: use LFUN_MESSAGE
7242         (Melt): ditto
7243         (changeDepth): ditto
7244
7245         * bufferparams.h: use boost::
7246
7247         * bufferlist.h: inherit privately from noncopyable
7248
7249         * bufferlist.C (loadLyXFile): remove some commented code.
7250
7251         * buffer.C (runChktex): use LFUN_MESSAGE
7252
7253         * ShareContainer.h: inherit privately from noncopyable
7254
7255         * ParagraphParameters.[hC] (depth): inline it.
7256
7257         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7258         methods.
7259         (message): new method
7260         (messagePush): ditto
7261         (messagePop): ditto
7262         (show): init minibuffer
7263         (showState): direct call
7264
7265         * LaTeX.[Ch]: inherit privately from noncopyable
7266         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7267         instead of WriteStatus.
7268
7269         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7270
7271         * BufferView_pimpl.C (buffer): don't init minibuffer
7272         (workAreaButtonPress): use LFUN_MESSAGE
7273         (workAreaButtonRelease): ditto
7274         (savePosition): ditto
7275         (restorePosition): ditto
7276         (MenuInsertLyXFile): ditto
7277         (workAreaExpose): don't init minibuffer
7278         (update): remove commented code, simplify
7279
7280         * BufferView2.C (openStuff): use LFUN_MESSAGE
7281         (toggleFloat): ditto
7282         (menuUndo): ditto
7283         (menuRedo): ditto
7284         (copyEnvironment): ditto
7285         (pasteEnvironment): ditto
7286         (copy): ditto
7287         (cut): ditto
7288         (paste): ditto
7289         (gotoInset): ditto
7290         (updateInset): remove some commented code
7291
7292         * lastfiles.h: inherit privately from noncopyable
7293         * layout.h: ditto
7294         * lyx_gui.h: ditto
7295         * lyx_main.h: ditto
7296         * lyxlex.h: ditto
7297         * lyxlex_pimpl.h: ditto
7298
7299         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7300         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7301         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7302
7303         * LyXAction.h: inherit privately from noncopyable, add methods
7304         func_begin, func_end, returning iterators to the func map.
7305
7306         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7307         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7308         (func_begin): new method
7309         (func_end): new method
7310
7311         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7312         and not)
7313         (copySelection): ditto
7314         (pasteSelection): ditto
7315
7316         * BufferView.C: whitespace change
7317         * BufferView.h: inherit privately from noncopyable
7318
7319 2001-04-16  Allan Rae  <rae@lyx.org>
7320
7321         * tabular-old.C (l_getline):
7322         * spellchecker.C (sc_check_word):
7323         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7324         an unrecognised preprocessor directive.  So ensure they're wrapped.
7325
7326 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
7327
7328         * src/exporter.C (Export): Give an error message when path to file
7329         contains spaces.
7330
7331 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
7332
7333         * LaTeX.C (deplog): Always check that foundfile exists.
7334
7335 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * lyx_main.h:
7338         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7339
7340 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7341
7342         * tabular.[Ch] (getLabelList): implement new method
7343
7344         * minibuffer.h: comment ouf setTiimer
7345
7346         * minibuffer.C (ExecutingCB): constify res
7347         (peek_event): constify s
7348         (Set): constify ntext
7349         (Init): constify nicename
7350
7351         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7352
7353         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7354         (savePosition): use two params to Minibuffer::Set
7355         (restorePosition): ditto
7356
7357 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7358
7359         * lyx_main.C: include language.h
7360
7361         * Makefile.am (lyx_main.o): add language.h
7362
7363 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7364
7365         * exporter.C:
7366         * paragraph.C:
7367         * screen.C:
7368         * tabular.C:
7369         * CutAndPaste.C: include gettext.h
7370
7371         * lyxfont.h: remove old hack with ON and OFF.
7372
7373         * lyxparagraph.h:
7374         * lyxfont.h: do not include language.h...
7375
7376         * BufferView2.C:
7377         * LaTeXFeatures.C:
7378         * Painter.C:
7379         * bufferview_funcs.C:
7380         * font.C:
7381         * lyxfont.C:
7382         * text.C:
7383         * text2.C:
7384         * trans_mgr.C:
7385         * paragraph.C: ... but do it here instead
7386
7387 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7388
7389         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7390
7391         * tabular.C: small reformat
7392
7393         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7394         NEW_INSETS version
7395         (GetChar): ditto
7396         (BreakParagraph): ditto
7397         (SetOnlyLayout): ditto
7398         (SetLayout): ditto
7399
7400         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7401         with one arg less.
7402
7403         * lastfiles.C: removed most using decl, add std:: where needed
7404
7405         * buffer.C: ws changes
7406
7407         * MenuBackend.C (class compare_format): put into anon namespace
7408         (expand): constify label, names, action, action2
7409         (expand):
7410
7411         * text.C (SingleWidth): constify font
7412         (IsBoundary): constify rtl2
7413         (GetVisibleRow): constify ww
7414
7415         * LaTeX.C (deplog): constify logfile
7416
7417         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7418         start_x, end_x
7419         (workAreaExpose): constify widthChange, heightChange
7420
7421         * lyxrow.C (par): moved
7422         (height): moved
7423         (next): moved
7424         * lyxrow.h: as inlines here
7425
7426         * lyxfont.h (shape): moved from lyxfont.C
7427         (emph): moved from lyxfont.C
7428
7429         * lyxfont.C (LyXFont): use initialization list for all
7430         constructors
7431         (shape): move to lyxfont.h as inline
7432         (emph): move to lyxfont.h as inline
7433
7434
7435 2001-04-04  Juergen Vigna  <jug@sad.it>
7436
7437         * vspace.C: had to include stdio.h for use of sscanf
7438
7439 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
7440
7441         * BufferView.h:
7442         * BufferView_pimpl.h: remove xforms cruft. Both classes are
7443         independent of xforms.
7444
7445 2001-04-02  Juergen Vigna  <jug@sad.it>
7446
7447         * spellchecker.C: fixed namespace placing!
7448
7449 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
7450
7451         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7452         the LyXParagraph * is 0.
7453
7454 2001-03-29  Juergen Vigna  <jug@sad.it>
7455
7456         * vspace.C: added support for %, c%, p%, l%.
7457         (stringFromUnit): added helper function.
7458         (asLatexString): changed to give right results for the %-values.
7459
7460         * buffer.C: convert the widthp in a width%.
7461
7462 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
7463
7464         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7465         figureForm.[Ch].
7466
7467         * figureForm.[Ch]: stripped the FD_from_figure manipulation
7468         code out of lux_cb.[Ch], ready for its (imminent?) removal.
7469
7470         * lyx_cb.[Ch]: see above.
7471
7472         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7473         form1.[Ch].
7474
7475         * form1.[Ch]:
7476         * lyx.[Ch]: replaced by figure_form.[Ch].
7477
7478         * lyx_gui.C:
7479         * lyx_gui_misc.C:
7480         * lyxfunc.C: changed headers associated with above changes.
7481
7482 2001-03-27  Juergen Vigna  <jug@sad.it>
7483
7484         * BufferView_pimpl.C: set the temporary cursor right!
7485
7486 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
7487
7488         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7489
7490 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
7491
7492         * LString.h: removed "using std::getline"!
7493
7494         * BufferView_pimpl.C (Dispatch): changes due to changes in
7495         InsetInclude::Params.
7496
7497         * buffer.C (tag_name): removed redundant break statements as they were
7498         producing lots of warnings with my compiler.
7499
7500 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7501
7502         * LString.h: add "using std::getline" when using the real <string>.
7503
7504 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
7505
7506         * buffer.C: removed bitset usage.
7507         PAR_TAG moved to an anonymous name space.
7508         (tag_name): new funtion, also in the anonymous namespace.
7509         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7510         (makeDocBookFile): clean code. Completed transition from string arrays
7511         to string vectors.
7512         (SimpleDocBookOnePar): code clean.
7513
7514 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7515
7516         * tabular.C: add some comments.
7517
7518 2001-03-22  Juergen Vigna  <jug@sad.it>
7519
7520         * buffer.C (parseSingleLyXformat2Token): redone the minipage
7521         compatibility read a bit and fixed bug with minipage in different
7522         depth.
7523
7524 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
7525
7526         * buffer.C (pop_tag): removed.
7527         (push_tag): removed.
7528         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7529         array replaced with vector. Added support for CDATA sections.
7530         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7531         at any nest level.
7532         (makeDocBookFile): XML conformant declaration of CDATA section,
7533         fixed bug related to <emphasis> in the first paragraph char.
7534         (sgmlOpenTag): exclude empty tags.
7535         (sgmlCloseTag): ditto.
7536
7537         * buffer.h (pop_tag): removed.
7538         (push_tag): removed.
7539
7540 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
7541
7542         * language.h (Languages): added size_type and size().
7543
7544 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7545
7546         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7547         response on compability reading of minipages. One probliem is that
7548         the old usage of minipages was «flertydig»
7549
7550         * several files here and in subdirs: don't use static at file
7551         scope use anon namespaces instead.
7552
7553 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
7554
7555         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7556         LaTeX output. This is necessary for Literate document
7557         processing.
7558
7559 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7560
7561         * buffer.C: insert hfill when needed.
7562
7563         * tabular.C (l_getline): use string::erase, small whitespace change.
7564
7565         * BufferView_pimpl.C: try the anon namespace.
7566         * WorkArea.C: ditto
7567
7568 2001-03-16  Juergen Vigna  <jug@sad.it>
7569
7570         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7571         otherwise it won't open options-dialogs.
7572
7573         * buffer.C: honor pextraWidth(p) on converting minipages.
7574
7575         * tabular.C (l_getline): changed the functions to strip trailing \r.
7576
7577 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
7578
7579         * BufferView_pimpl.C:
7580         * minibuffer..C: added "using SigC::slot" declaration.
7581
7582 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7583
7584         * lyxlex_pimpl.h: noncopyable is in namespace boost.
7585
7586         * text2.C: ditto
7587
7588         * text.C: ditto
7589
7590         * paragraph.C: ditto
7591
7592         * lyxtext.h: NO_PEXTRA
7593
7594         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7595
7596         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7597         * ParameterStruct.h: ditto
7598         * ParagraphParameters.h: ditto
7599         * lyxparagraph.h: ditto
7600
7601 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7602
7603         * buffer.C: add compability for minipage alignment.
7604         (latexParagraphs): remove unwanted pextra check.
7605
7606         * several files: remove CXX_WORKING_NAMESPACES
7607
7608         * buffer.C (pop_tag): tie is in namespace boost
7609
7610         * BufferView.h: noncopyable is in namespace boost
7611         * lyxlex.h: ditto
7612         * lyx_main.h: ditto
7613         * lyx_gui.h: ditto
7614         * layout.h: ditto
7615         * lastfiles.h: ditto
7616         * bufferlist.h: ditto
7617         * ShareContainer.h: ditto
7618         * LyXView.h: ditto
7619         * LyXAction.h: ditto
7620         * LaTeX.h: ditto
7621
7622 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
7623
7624         * Merging changes from BRANCH_MVC back into HEAD.
7625
7626         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7627
7628 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * BufferView_pimpl.C: change from intl.C
7631
7632         * combox.h:
7633         * combox.C:
7634         * Makefile.am: move combox.*
7635
7636         * form1.h:
7637         * form1.C:
7638         * lyx_gui.C:
7639         * intl.h:
7640         * intl.C: remove dialog (covered by prefs)
7641
7642 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
7643
7644         * lyxfunc.C (Dispatch): removed redundant break statement.
7645
7646 2001-03-14  Juergen Vigna  <jug@sad.it>
7647
7648         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7649
7650 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7651
7652         * buffer.C: add hack to fix compability reading of minipages.
7653
7654 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * buffer.C (getLists): Cleanup.
7657
7658 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7659
7660         * lyxfont.C (update): don't honor toggleall on font size.
7661
7662 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * bmtable.c:
7665         * bmtable.h:
7666         * Makefile.am: moved to frontends/xforms/
7667
7668         * lyx_gui_misc.C:
7669         * lyxfunc.C:
7670         * BufferView_pimpl.C: changes for moved mathpanel
7671
7672 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7673
7674         * gettext.h: fix gettext_init() in --disable-nls
7675
7676 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7677
7678         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7679
7680 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
7681
7682         * lyx.C:
7683         * lyx.h: strip external form
7684
7685 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * BufferView_pimpl.C: add comment, destroySplash()
7688
7689 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
7690
7691         * BufferView_pimpl.C:
7692         * LyXAction.C:
7693         * buffer.C:
7694         * commandtags.h:
7695         * lyxfunc.C: use re-worked insetinclude
7696
7697 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7698
7699         * buffer.C: add using std::stringstream.
7700
7701         * lyx_cb.C: readd using std::ios.
7702
7703         * buffer.C: add using std::map.
7704
7705         * BufferView_pimpl.C: add using std::vector.
7706
7707         * ShareContainer.h: add std:: to swap.
7708
7709         * buffer.h: add some typedefs
7710         * buffer.C (getLists): use them
7711         (getLists): renamed from getTocList.
7712         add a counter for the different float types and use it in the
7713         generated string.
7714         (getLists): use the same counter for the NEW_INSETS and the "non"
7715         NEW_INSETS
7716
7717         * lyx_cb.h: remove unused items, includes, using etc.
7718
7719         * ShareContainer.h: remove some commented code, add more comments
7720         and "documentation".
7721
7722 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7723
7724         * buffer.C (getTocList): make the list also when NEW_INSETS is
7725         defined.
7726
7727         * buffer.h: remove TocType
7728
7729         * buffer.C (getTocList): change to return a map<string,
7730         vector<TocItem> >, implement for dynamic number of list.
7731
7732         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7733         * text2.C (PasteSelection): adjust
7734         * CutAndPaste.C (pasteSelection): adjust
7735
7736         * FloatList.C (FloatList): update from the new_insets branch.
7737         * Floating.[Ch]: ditto
7738         * LaTeXFeatures.C: ditto
7739         * buffer.C: ditto
7740         * lyxlex_pimpl.C: ditto
7741
7742         * paragraph.C (Last): remove when NEW_INSETS is defined.
7743
7744         * other file: changes because of the above.
7745
7746 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7747
7748         * lyxparagraph.h: rename next to next_, previous to previous_,
7749         make them private for NEW_INSETS. Rename Next() to next(),
7750         Previous() to previous().
7751
7752         * other files: changes because of the above.
7753
7754 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
7755
7756         * BufferView.h:
7757         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7758         problem.
7759
7760 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7761
7762         * main.C (main): pass lyx_localedir to gettext_init().
7763
7764         * gettext.h: remove locale_init and gettext_init macros
7765
7766         * gettext.C (locale_init): new function
7767         (gettext_init): new function
7768
7769         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7770         setlocale().
7771
7772 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
7773
7774         * Moved credits to frontends:
7775         * credits.[Ch]: removed
7776         * credits_form.[Ch]: removed
7777         * lyx_gui_misc.C: remove credits stuff
7778         * Makefile.am:
7779
7780 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7781
7782         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7783
7784         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7785         unneeded destructor.
7786
7787         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7788         a standalone pointer again.
7789
7790         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7791
7792 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
7793
7794         * Makefile.am:
7795         * filedlg.h:
7796         * filedlg.C:
7797         * LyXAction.C:
7798         * ToolbarDefaults.C:
7799         * bufferlist.C:
7800         * commandtags.h:
7801         * form1.C:
7802         * form1.h:
7803         * lyx_cb.C:
7804         * lyx_cb.h:
7805         * lyxfunc.h:
7806         * lyxfunc.C:
7807         * BufferView_pimpl.C: use new file dialog in GUII
7808
7809         * lyx_cb.h:
7810         * lyx_cb.C: remove LayoutsCB to Toolbar
7811
7812 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7813
7814         * ShareContainer.h (get): add std:: qualifier
7815
7816 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7817
7818         * ShareContainer.h: define a proper ShareContainer::value_type
7819         type (and use typename to please compaq cxx)
7820
7821 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7822
7823         * lyxparagraph.h: move serveral local vars to
7824         ParameterStruct/ParagraphParameters., use ShareContainer in
7825         FontTable., make vars in FontTable private and add getter and
7826         setter.
7827
7828         * paragraph.C: changes because of the above.
7829
7830         * lyxfont.h: remove copy constructor and copy assignment. (the
7831         default ones is ok), move number inside FontBits. move inlines to
7832         lyxfont.C
7833
7834         * lyxfont.C: add number to initializaton of statics, move several
7835         inlines here. constify several local vars. some whitespace
7836         cleanup. Dont hide outerscope variables.
7837
7838         * Spacing.h: add two new constructors to match the set methods.
7839
7840         * ShareContainer.h: new file, will perhaps be moved to support
7841
7842         * ParameterStruct.h: new file
7843
7844         * ParagraphParameters.h: new file
7845
7846         * ParagraphParameters.C: new file
7847
7848         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7849         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7850
7851         * BufferView_pimpl.C: ParagraphParameter changes.
7852         * buffer.C: Likewise.
7853         * bufferview_funcs.C: Likewise.
7854         * text.C: Likewise.
7855         * text2.C: Likewise.
7856
7857 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7858
7859         * lyxfind.C (LyXReplace): do not redefine default argument in
7860         implementation.
7861         (IsStringInText): ditto
7862         (SearchForward): ditto
7863         (SearchBackward): ditto
7864
7865 2001-03-06  Juergen Vigna  <jug@sad.it>
7866
7867         * lyxfind.C (IsStringInText): put parentes around expressions.
7868
7869 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
7870
7871         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7872
7873 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7876
7877         * stl_string_fwd.h: add comment
7878
7879         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7880
7881         * tabular.h:
7882         * tabular.C: remove unused DocBook methods
7883
7884         * intl.C:
7885         * language.C:
7886         * paragraph.C:
7887         * buffer.C:
7888         killed DO_USE_DEFAULT_LANGUAGE
7889
7890 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7891
7892         * lyx_gui.C: do not include language.h.
7893
7894         * bufferview_funcs.C (ToggleAndShow): do not provide optional
7895         arguments in function implementation.
7896
7897 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7898
7899         * BufferView_pimpl.C: add <ctime>
7900
7901 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7902
7903         * BufferView_pimpl.C: add using std::find_if
7904
7905 2001-02-27  José Matos  <jamatos@fep.up.pt>
7906
7907         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7908         by OnlyPath.
7909
7910 2001-02-11  José Matos  <jamatos@fep.up.pt>
7911
7912         * buffer.C (makeDocBookFile): command styles now have a parameter as
7913         "title" by default.
7914
7915 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
7916
7917         * layout_forms.[Ch]: removed
7918         * lyx_cb.[Ch]: out character
7919         * lyx_gui.C: out character
7920         * lyx_gui_misc.C: out character
7921         * bufferview_funcs.C: : out character,
7922         added toggleall as parameter in ToggleAndShow
7923
7924 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
7925
7926         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7927
7928         * text2.C (SetCurrentFont): Disable number property at boundary.
7929
7930 2001-02-26  Juergen Vigna  <jug@sad.it>
7931
7932         * lyxfunc.C (getStatus): added a string argument override function so
7933         that this is correctly called from LyXFunc::Dispatch if it contains a
7934         do_not_use_argument which is used!
7935         (Dispatch): added check for "custom" export and call appropriate func.
7936
7937 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
7938
7939         * lyxrc.C: Add language_command_local, language_use_babel and
7940         language_global_options.
7941
7942         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7943
7944         * buffer.C (makeLaTeXFile): Use language_use_babel and
7945         language_global_options.
7946
7947 2001-02-23  Juergen Vigna  <jug@sad.it>
7948
7949         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7950         which works with LyXText and putted it inside BufferView. Here now we
7951         only call for that part the BufferView::Dispatch() function.
7952
7953         * BufferView.C (Dispatch): added.
7954
7955         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7956         functions which needs to use a LyXText over from LyXFunc.
7957         (MenuInsertLyXFile): added
7958         (getInsetByCode): added
7959         (moveCursorUpdate): added
7960         (static TEXT): added
7961
7962 2001-02-22  Juergen Vigna  <jug@sad.it>
7963
7964         * BufferView_pimpl.C (update): call a status update to see if LyXText
7965         needs it.
7966
7967 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
7968
7969         * vc-backend.C (revert): implement for CVS
7970         (getLog): implement for CVS
7971
7972 2001-02-20  Juergen Vigna  <jug@sad.it>
7973
7974         * text2.C (ClearSelection): added BufferView param for inset_owner call
7975
7976         * lyxfunc.C (TEXT): added this function and use it instead of
7977         directly owner->view()-text of getLyXText().
7978
7979 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
7980
7981         * src/layout_forms.C: out preamble
7982         * src/layout_forms.h: out preamble
7983         * src/lyx_cb.C: out preamble
7984         * src/lyx_cb.h: out preamble
7985         * src/lyx_gui.C: out preamble
7986         * src/lyx_gui_misc.C: out preamble
7987         * src/lyxfunc.C: connect with guii preamble
7988
7989 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
7990
7991         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7992
7993 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
7994
7995         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7996         whether to run bibtex.
7997
7998 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
7999
8000         * Makefile.am (lyx_SOURCES): Remove BackStack.h
8001
8002 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8003
8004         * Makefile.am (lyx_SOURCES): removed bibforms.h
8005
8006         * vspace.h: doxygen
8007
8008         * text.C (GetVisibleRow): make several local vars const
8009
8010         * tabular.C: small cleanup.
8011
8012         * lyxserver.C (callback): use compare instead of strncmp
8013
8014         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8015         inlines to after class or to paragraph.C
8016
8017         * lyxfont.h: remove friend operator!=
8018
8019         * converter.h: move friend bool operator< to non friend and after
8020         class def.
8021
8022         * combox.h: small cleanup
8023
8024         * buffer.h: doxygen, remove unused constructor, move inclas inlies
8025         to inlines after class def.
8026
8027         * buffer.C (pop_tag): use string operations instead of strcmp
8028
8029         * bmtable.c: doxygen, small cleanup
8030
8031         * LaTeX.h: remove friend operator==
8032
8033 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
8034
8035         * screen.C:
8036         * lyxrc.[Ch]:
8037         * lyxfunc.C:
8038         * lyxfont.[Ch]:
8039         * lyx_cb.C:
8040         * intl.[Ch]:
8041         * commandtags.h:
8042         * buffer.C:
8043         * WorkArea.[Ch]:
8044         * LyXAction.C:
8045         * BufferView_pimpl.C:
8046         * BufferView.[Ch]: remove cruft
8047
8048 2001-02-14  Juergen Vigna  <jug@sad.it>
8049
8050         * lyxfunc.C: removed #if 0 unused code
8051
8052         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8053
8054         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8055
8056         * text2.C (SetSelection): added a BufferView * parameter
8057
8058 2001-02-13  Juergen Vigna  <jug@sad.it>
8059
8060         * lyxfunc.C (Dispatch): fixed protected blank problem.
8061         * BufferView2.C (protectedBlank): added LyxText * parameter.
8062
8063         * tabular.C (AppendRow): forgot to set row_info of newly added row.
8064         (AppendColumn): same as above for column_info.
8065
8066         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8067         (moveCursorUpdate): use a LyXText param for support of InsetText.
8068
8069         * BufferView_pimpl.C (doubleClick): added support for InsetText.
8070         (tripleClick): ditto
8071
8072         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8073
8074         * BufferView_pimpl.C (update): added LyXText param to honor insets.
8075
8076         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8077
8078         * text2.C (SetSelection): set correct update status if inset_owner
8079         (ToggleFree): ditto
8080
8081 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
8082
8083         * tabular.C: remove some commented code.
8084
8085 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
8086
8087         * BufferView_pimpl.C: call hideSplash()
8088
8089         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8090
8091         * include_form.h:
8092         * bibforms.h: remove
8093
8094         * lyxfunc.C:
8095         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8096           add LFUN_CHILD_CREATE
8097
8098         * counters.h: fix tiny typo
8099
8100         * lyx_cb.C:
8101         * lyx.h:
8102         * lyx_gui.C:
8103         * lyx.C: move splash to frontends/xforms/
8104
8105         * lyx_gui_misc.C: move Include and Bibform to frontends
8106
8107         * lyxvc.h: clarify comment
8108
8109         * vspace.C: tiny housekeeping
8110
8111 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
8112
8113         * text.C (PrepareToPrint): RTL Fix.
8114
8115         * paragraph.C (GetUChar): New method.
8116         (String):  Use GetUChar.
8117
8118         * buffer.C (asciiParagraph): Use GetUChar.
8119
8120 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
8121
8122         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8123
8124 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
8125
8126         * buffer.h:
8127         * buffer.C: rename to getLogName(), handle
8128           build log / latex log nicely
8129
8130 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8131
8132         * MenuBackend.C:
8133         * MenuBackend.h: remove support for reference menuitem type.
8134
8135 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
8136
8137         * BufferView_pimpl.C: housekeeping
8138         * BufferView_pimpl.h:
8139         * LyXView.h:
8140         * Makefile.am:
8141         * Timeout.C:
8142         * Timeout.h:
8143         * minibuffer.h: move Timeout GUI-I
8144
8145 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
8146
8147         * lyxrc.C (read): Update converters data-structures.
8148
8149 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
8150
8151         * LaTeX.h (operator!=): add operator != for Aux_Info
8152
8153 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8156
8157         * LaTeXLog.C: deleted, useful code moved to Buffer
8158
8159         * buffer.h:
8160         * buffer.C: new function getLatexLogName()
8161
8162         * lyx_gui_misc.C:
8163         * lyx_gui.C:
8164         * lyxvc.C:
8165         * lyxvc.h:
8166         * lyxfunc.C: use frontends for LaTeX and VC logs
8167
8168 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8169
8170         * LaTeX.h: yet another std:: that Allan forgot.
8171
8172         * Variables.C (set): renamed from isset(), because this clashes
8173         with some HP-UX macros (grr).
8174
8175 2001-02-06  Allan Rae  <rae@lyx.org>
8176
8177         * LaTeX.h: Another bug fix.  Missing std:: this time.
8178
8179 2001-02-04  Allan Rae  <rae@lyx.org>
8180
8181         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8182         floats problem. I've left it commented out because it's not quite
8183         correct.  It should also test that the current object is a table or
8184         figure inset.  But I haven't gotten around to figuring out how to do
8185         that.  I *think* it'll be something like: "table" == inset.type()
8186
8187         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8188         bool.
8189
8190 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
8191
8192         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8193         all the citation/databases/styles in the auxilary file.
8194         (run): Rerun latex if there was a babel language error.
8195
8196 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
8197
8198         * text.C (Backspace): Preserve the font when changing newline char
8199         with a space.
8200         (BreakParagraph): If the cursor is before a space, delete the space.
8201
8202         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8203
8204 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
8205
8206         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8207         new argument (code).
8208         (ChangeCitationsIfUnique): New method.
8209
8210         * paragraph.C (GetPositionOfInset): Handle bibkey.
8211
8212 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8213
8214         * BufferView_pimpl.h: change type of Position::par_pos to
8215         LyXParagraph::size_type.
8216
8217 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
8218
8219         * BufferView_pimpl.C (savePosition, restorePosition): Write
8220         messages to minibuffer.
8221
8222 2001-01-28  José Matos  <jamatos@fep.up.pt>
8223
8224         * buffer.C (makeDocBookFile): adds support for document language.
8225         A silly restriction on the name of LatexCommand types where removed.
8226         Added support for CDATA sections, allows to chars unescaped, used
8227         among others in code, to avoid escape < and >.
8228
8229 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8232         saved positions instrad of a stack. Furthermore, a position is
8233         stored using paragraph id/paragraph position.
8234
8235         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8236         Remove LFUN_REF_BACK.
8237
8238 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
8239
8240         * converter.C (dvipdfm_options): New method.
8241
8242 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8243
8244         * vspace.C (isValidLength): Fix for empty input string.
8245
8246 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8247
8248         * LyXAction.C (init): change description of LFUN_FIGURE to
8249         "Insert Graphics"
8250
8251 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8252
8253         * LaTeX.C: add using directive
8254
8255 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
8256
8257         * MenuBackend.C (expand): Fix the sorting of the formats.
8258
8259 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
8260
8261         * lyx_main.C: tiny error message fix
8262
8263 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8264
8265         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8266         calling fl_initialize(). This fixes the problem with ',' as
8267         decimal separator in text files.
8268
8269 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
8270
8271         * trans.C (process): Fix the keymap bug.
8272
8273 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * LaTeX.C (scanAuxFiles): New method. Provides support for
8276         multiple bibliographies (when using the bibtopic/bibunits pacakges).
8277         (scanLogFile) Scan for "run BibTeX" messages.
8278
8279         * buffer.C (makeLaTeXFile): Do not load the ae package when using
8280         OT1 font encoding. Also, load the aecompl package if the ae
8281         package is loaded.
8282
8283         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8284
8285 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8286
8287         * texrow.C (increasePos): turn two error messages into debug
8288         messages.
8289
8290 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
8291
8292         * LaTeX.C (scanAux): Handle the \@input macro.
8293         (runBibTeX): Use scanAux().
8294
8295         * language.C (latex_options_): New field.
8296
8297         * LaTeXFeatures.C (getMacros): Add language macros.
8298
8299         * buffer.C (makeLaTeXFile): Small fix.
8300
8301 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8302
8303         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8304
8305         * text2.C: add a using directive.
8306
8307 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
8308
8309         * BufferView2.C:
8310         * lyx_gui_misc.h:
8311         * lyxfr1.C:
8312         * lyxfunc.C: kill LyXBell.
8313
8314 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
8315
8316         * text.C (IsBoundary): Remove the error message
8317
8318         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8319
8320         * lyxrc.C (setDefaults): Correct initialization value for
8321         font_norm_type.
8322
8323 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8324
8325         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8326         gotoError().
8327
8328         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8329         and GotoNextNote().
8330
8331         * src/LyXAction.C: Added reference-next.
8332
8333         * text.C (InsertChar): Use contains instead of strchr.
8334
8335         * lyx_cb.C (MenuInsertLabel): Enable default value code.
8336
8337 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8340         alignment commands (when needed).
8341
8342         * text.C (InsertChar): Add ':' to number separator chars.