]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
578f044b61feb7b7027306a7e900cb46efa4a378
[lyx.git] / src / ChangeLog
1 2004-08-16  José Matos  <jamatos@lyx.org>
2
3         * ParagraphParameters.C (write):
4         * Spacing.C (writeFile):
5         * bufferparams.C (writeLaTeX):
6         * lyx_cb.C (Reconfigure):
7         * paragraph.C (write):
8         * tabular.C (write): remove unnecessary space at end of line.
9
10
11 2004-08-16  José Matos  <jamatos@lyx.org>
12
13         * text.C (readParagraph): remove debug message.
14
15 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
18         crash
19
20         * output_plaintext.C (asciiParagraph): set depth correctly
21
22         * outputparams.h: add member depth
23
24         * paragraph_funcs.C (ownerPar): remove.
25
26         * text2.C (setCounter): remove first_pit; comment out some
27         non-working code that uses ownerPar
28
29         * BufferView.C (getParentLanguage): remove. Not used anymore, and
30         uses ownerPar
31
32 2004-08-16  José Matos  <jamatos@lyx.org>
33
34         * text.C (readParToken, readParagraph, read): report all unknown tokens.
35         For the same level of importance use the same chanel to report problems.
36         (read): add code to deal with \begin_body and \end_body.
37
38
39 2004-08-15  José Matos  <jamatos@lyx.org>
40
41         * lyxlex.C (getString): fix comment, buffer::readBody is now
42         buffer:readDocument.
43         
44         * tex-strings.C (string_papersize): Default -> default,
45         Custom -> custom, for consistency with other options.
46
47 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
48
49         * pch.h: new file
50
51         * Makefile.am: support pch
52
53 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text.C (readParToken): remove the static LyXFont variable and
56         pass it as a parameter instead. This fixes a nasty bug where an
57         inset will be inserted with a bad font in some situations
58         (readParagraph): adapt
59
60         * text2.C (setCounter): reduce number of calls to pars_[pit]
61
62         * text.C (singleWidth): add an assert, fix a test
63
64         * rowpainter.C (paintText): reduce number of calls to singleWidth
65
66         * paragraph.C (isHfill):
67         (isNewline): ws only
68
69 2004-08-14  André Pönitz  <poenitz@gmx.net>
70
71         * text.C:
72         * text2.C:
73         * rowpainter.C:
74         * lyxtext.h (several functions): use a Paragraph & argument
75         instead of par_type
76
77 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * metricsinfo.h: add a new field ltr_pos to PainterInfo
80
81         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
82
83         * text.C (singleWidth): remove useless test
84
85 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * tabular.h: remove bogus comments
88
89         * tabular.C (getDescentOfRow):
90         (isPartOfMultiColumn): add assertions
91
92         * lyxlength.C (inPixels): remove #warning
93
94 2004-08-14  André Pönitz  <poenitz@gmx.net>
95
96         * paragraph.h: inline getChar()
97
98         * BufferView.h: remove unused declarations
99
100 2004-08-14  José Matos  <jamatos@lyx.org>
101
102         * Buffer.[Ch] (readDocument): new name for old readBody.
103         * Buffer.C: new file format, new keywords: \begin_document,
104         \begin_header, \begin_body, \end_body.
105
106         * bufferparams.C (readToken): replace all calls to lex.nextToken
107         by lex.next(). Do the same to eatLine except where really needed.
108
109         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
110         line when writing to the lyx file.
111
112         * output_plaintext.C (asciiParagraph): fix Bibliography style
113         handling.
114
115         * text.C (read): fix end of file handling.
116
117 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * MenuBackend.C (Menu::operator[]): new method to access
120         individual menu items
121         (Menu::hasFunc): new method. search for an item that corresponds
122         to a given func
123         (MenuBackend::specialMenu): new method
124         (MenuBackend::expand): if a special menu has been set, skip
125         entries whose func() appears in this menu
126
127 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
128
129         * text3.C: use Debug::DEBUG a bit more
130
131         * text.C (leftMargin): try to simplify a tiny bit change var x to
132         l_margin. Dont output the wide margins always.
133         (rightMargin): no margin in inner texts
134
135         * rowpainter.h (nestMargin): new func
136         (changebarMargin): new func
137         (rightMargin): new func
138
139         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
140         now functions.
141         (paintLast): ditto
142
143         * factory.C (createInset): modify setDrawFrame
144
145         * cursor.C: use Debug::DEBUG a bit more
146
147 2004-08-14  André Pönitz  <poenitz@gmx.net>
148
149         * coordcache.[Ch]:
150         * Makefile.am: new files to accomodate an 'external' (x,y)-position
151         cache for all insets in (at least partially) visible (top-level)
152         paragraphs.
153
154         * BufferView_pimpl.C: reset external coord cache before every update.
155         This means the coord cache only contains valid entries.
156
157 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
158
159         bug 1096
160         * BufferView_pimpl.C (getInsetByCode): move function out of class
161         and change in to a template in anon namespace. Also fix to do what
162         suits us better.
163
164 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
165
166         bug 1305
167         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
168         of char
169         (breakParagraph): rename par to par_offset and use a local
170         reference. Add code to keep the language over a rebreak.
171         (breakParagraphConservative): rename par to par_offset, use a
172         local reference
173         (mergeParagraph): ditto
174         (outerHook): ditto
175         (isFirstInSequence): ditto
176         (outerFont): rename pit to par_offset
177
178         * paragraph.C: ws change
179         * paragraph.h: ditto
180         * text3.C: ditto
181         * text.C: ditto
182
183 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
186         treatment for ']'
187
188         * paragraph.C (simpleTeXOnePar): when we have a \item with
189         optional argument, enclose the argument with curly brackets (in
190         case it contains a closing square bracket)
191
192         * text2.C (editXY):
193         * text2.C (editXY):
194         * text3.C (checkInsetHit): constify
195
196 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
199         documents (bug 1629)
200
201 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         Fix toggling of collapsable insets with the mouse (bug 1558)
204
205         * lyxfunc.C (dispatch): adapt to LCursor changes
206
207         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
208         make sure that dispatch is not invoked twice
209
210         * cursor.C (needsUpdate): new method
211         (dispatch): return void
212         (result): new method, to access the DispatchResult of the cursor.
213
214 2004-08-13  José Matos  <jamatos@lyx.org>
215
216         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
217
218 2004-08-13  André Pönitz  <poenitz@gmx.net>
219
220         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
221
222         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
223           multiple cells
224
225 2004-08-12  André Pönitz  <poenitz@gmx.net>
226
227         * text3.C: take out the 'cursor right' form insertInset and only
228         do it in those places when it is really needed. Fixes crash on
229         C-m...
230
231 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
234
235         * BufferView_pimpl.C (setBuffer): initialize the current font of
236         the underlying LyXText
237
238 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * kbsequence.C (print): use UI native formatting for menu
241         shortcuts
242
243         * text.C (insertChar): call Paragraph::insertChar with a font
244         argument (cosmetic)
245
246         * paragraph.C (insertInset, insertChar): the version that takes a
247         LyXFont argument is now a wrapper around the other one (the
248         opposite used to be true).
249
250         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
251         argument. Font setting is done in Paragraph now.
252
253 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * outputparams.h: add new members intitle and lang.
256
257         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
258         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
259
260 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
261
262         * text3.C (dispatch): remove special handling of button 4 and 5,
263         it is now taken care of in the frontend code.
264
265 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * Spacing.h: add <string> (STLPort compile fix)
268
269 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
270
271         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
272
273 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
276         to bool.
277
278         * converter.C (showMessage): inherit from unary_function, make
279         operator() const.
280
281         * buffer.C (writeFile): initialize retval
282
283         * InsetList.h: rename private variable list to list_
284         * InsetList.[Ch]: adjust accordingly.
285
286 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
287
288         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
289         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
290         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
291         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
292         * ParagraphParameters.C, LaTeXFeatures.C: replace
293         "support/std_sstream.h" with <sstream>
294
295 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
298         * lyxsocket.C (LyXServerSocket): ditto
299         (serverCallback): ditto
300
301 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
302
303         * LaTeXFeatures.C: check release date when loading jurabib.
304
305 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
306
307         * lyxserver.C (startPipe): call register_socket_callback
308         (endPipe): call unregister_socket_callback
309
310 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
311
312         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
313         (LyXServerSocket): register the callback
314         (LyXServerSocket): unregister the callback
315         (fd): delete function
316         (serverCallback): improve error checking and setup the callbacks.
317         (dataCallback): change arg to fd.
318         (writeln): new func (copied fro the client socket) used for server
319         write to client.
320         (LyXDataSocket): simplify
321         (~LyXDataSocket): close ann unregiser callback
322         (server): delete function
323         (fd): delete function
324         (readln): small changes, improve some std::string usage
325         (writeln): constify a bit
326
327 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
330         Qt frontend
331
332 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * BufferView_pimpl.C (setBuffer): set the layout combox value only
335         after it has been populated
336
337 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * text2.C (insertInset): move cursor when inserting inset.
340
341 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * kbmap.C (findbindings): a couple of new methods. returns a
344         container of kb_sequence objects. The real work is done by the
345         private recursive version
346         (printbindings): uses findbindings to print out a bracketed list
347         of bindings (renamed from findbinding).
348
349         * MenuBackend.C (binding): use kb_keymap::findbindings
350
351         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
352
353 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
354
355         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
356
357 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * paragraph.C (isWord): return true on insets that report
360         isLetter().
361
362         * text.C (getWord): use Paragraph::isWord to decide what is in a
363         word and what is not; fix bug 1609.
364
365 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * tex-strings.C: add "none" to string_paperpackages[], fixes
368         off-by-one-error in the paperpackage selection.
369
370         * lyxlex.[Ch]:
371         * tex-strings.[Ch]: char const * string[n]
372         -> char const * const string[]
373
374 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
377         command, return early.
378
379 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
380
381         * debug.h: add DEBUG to enum and fix size of ANY.
382
383         * debug.C: add support for Debug::DEBUG
384         (showTags): cast errorTags.level to unsigned int
385
386         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
387         (redoCurrentBuffer): ditto
388         (updateScrollbar): ditto
389         * cursor.C (dispatch): ditto
390         * text2.C (setLayout): ditto
391         (setFont): ditto
392         (updateCounters): ditto
393         (editXY): ditto
394         (deleteEmptyParagraphMechanism): ditto
395
396 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
399         annotations to cleanup the Makefile slightly.
400
401 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * lyxrc.C: do not set user_email to a default value but use empty
404         instead. The entry used to be translated, which does not work
405         since at the point where lyxrc is constructed there is no
406         translation service available
407
408         * messages.C (getLocaleDir): remove and use directly
409         lyx_localedir() instead
410
411 2004-06-02  Angus Leeming  <leeming@lyx.org>
412
413         Fix crash caused by dereferencing null pointer 'exportdata' in
414         OutputParams by creating a new ExportData variable on the heap,
415         storing it in a boost::shared_ptr.
416         The crash was triggered when generating an Instant Preview
417         of an external inset.
418
419         * Makefile.am: add outputparams.C
420
421         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
422         (c-tor): allocate memory to it.
423
424         * exporter.C (c-tor): associated changes.
425
426 2004-06-01  Angus Leeming  <leeming@lyx.org>
427
428         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
429         contains data before calling isInset(0). (Bug 1513.)
430
431 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * exporter.C (checkOverwrite): new method
434         * exporter.C (copyFile): new method
435         * exporter.C (Export): copy referenced files to the document dir
436         * exporter.[Ch]: new class ExportedFile
437         * exporter.[Ch]: new class ExportData. Contains currently the
438         names of referenced external files
439         * outputparams.h: add exportdata member.
440
441 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
442
443         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
444         version.C-tmp
445
446 2004-05-19  Angus Leeming  <leeming@lyx.org>
447
448         * LaTeXFeatures.C:
449         * ToolbarBackend.C:
450         * bufferparams.C:
451         * lyxfunc.C: small changes due to the introduction of namespace
452         lyx::frontend and the moving of namespace biblio to lyx::biblio.
453
454 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * text3.C (dispatch): supress update when only moving the cursor
457         * cursor.C (selHandle): remove commented code
458
459 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * paragraph.C (startTeXParParams): correct column count
462         * CutAndPaste.C (pasteSelection): remove const_cast
463         * output_docbook.C (docbookParagraphs): remove const_cast
464         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
465         const_cast and return ParagraphList::const_iterator
466         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
467         * output_plaintext.C (writeFileAscii): remove const_cast
468         * paragraph.[Ch] (simpleTeXOnePar): make const
469         * paragraph_funcs.C (outerPar): use const iterators
470         * paragraph_pimpl.C (validate): use const iterators
471         * text.C (setHeightOfRow): use const iterators
472
473 2004-05-17  Angus Leeming  <leeming@lyx.org>
474
475         * lfuns.h:
476         * LyXAction.C (init): new LFUN_INSET_REFRESH.
477
478         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
479         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
480         if the citation engine has changed.
481
482 2004-05-14  José Matos  <jamatos@lyx.org>
483
484         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
485         if the textclass does not provide it. Have it different for sgml and
486         xml.
487         support the language of document.
488         * output_docbook.C (docbookParagraphs):
489         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
490         first anchor as the id of the paragraph, remove special case code.
491         * sgml.C (escapeChar): escape only < & >.
492
493 2004-05-14  Angus Leeming  <leeming@lyx.org>
494
495         * bufferparams.h: move biblio::CiteEngine enum here to minimize
496         dependencies on src/frontends/controllers/biblio.h. Define a
497         CiteEngine_enum wrapper class to enable the enum to be forward
498         declared.
499
500 2004-05-12  Angus Leeming  <leeming@lyx.org>
501
502         * buffer.C: up LYX_FORMAT to 234.
503         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
504         use_numerical_citations with a single biblio::CiteEngine cite_engine
505         variable.
506         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
507
508 2004-05-13  José Matos  <jamatos@lyx.org>
509
510         * converter.h:
511         * converter.C (Converter, readFlags): add xml member.
512         * outputparams.h: add XML flavor.
513         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
514
515 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * lyxfunc.C (dispatch):
518         (getStatus): fix handling of LFUN_SEQUENCE
519
520 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * debug.C (showLevel): do not forget the end-of-line marker
523
524 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * kbmap.C (read): do not stop parsing a bind file when an error
527         occurs (bug 1575)
528
529 2004-04-29  Angus Leeming  <leeming@lyx.org>
530
531         * cursor.C:
532         * factory.C:
533         * pariterator.C:
534         * text2.C: wrap a bunch of #warning statements
535         inside #ifdef WITH_WARNINGS blocks.
536
537 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * buffer.C: increment format to 233.
540
541 2004-04-28  Angus Leeming  <leeming@lyx.org>
542
543         * BufferView_pimpl.C:
544         * lyxfunc.C:
545         * text3.C:
546         s/updateToolbar()/updateToolbars()/
547         s/Toolbar.h/Toolbars.h/
548
549 2004-04-28  Angus Leeming  <leeming@lyx.org>
550
551         * BufferView.[Ch] (c-tor):
552         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
553         No longer passes these data to the WorkArea generator.
554
555 2004-04-28  Angus Leeming  <leeming@lyx.org>
556
557         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
558
559 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
560
561         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
562
563 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * output_latex.C (TeXEnvironment): make sure that there is a line
566         break before \end{foo} for the last paragraph of a document
567         (TeXOnePar): if the paragraph is at the end of the document (or
568         inset) and the language has to be reset, then make sure that the
569         line break is _before_ the language command, not after (fixes bug
570         1225); also make sure that the language reset command is the first
571         thing after the paragraph (to ensure proper nesting of
572         environments and thus fix bug 1404)
573
574 2004-04-21  John Levon  <levon@movementarian.org>
575
576         * ToolbarBackend.h:
577         * ToolbarBackend.C: make "name" be a programmatic name
578         and a gui_name field.
579
580         * lyxfunc.C: display the minibuffer on M-x
581
582 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
585         (bug 1526)
586
587 2004-04-19  Angus Leeming  <leeming@lyx.org>
588
589         * BufferView_pimpl.C (setBuffer): changed preview interface.
590
591         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
592         possible values.
593
594 2004-04-19  John Levon  <levon@movementarian.org>
595
596         * BufferView_pimpl.C:
597         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
598
599 2004-04-05  Angus Leeming  <leeming@lyx.org>
600
601         * text.C (redoParagraphs): add call to updateCounters(), thereby
602         fixing the missing "Figure #:" label from the caption of a
603         figure float.
604
605 2004-04-13  Angus Leeming  <leeming@lyx.org>
606
607         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
608         cursor is clicked out of an inset.
609
610 2004-04-13  Angus Leeming  <leeming@lyx.org>
611
612         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
613         than an InsetOld one.
614
615 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * format.[Ch]: add editor to Format
618         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
619         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
620
621 2004-04-08  André Pönitz  <poenitz@gmx.net>
622
623         * metricsinfo.h: remove PainterInfo::width member
624
625 2004-04-08  Angus Leeming  <leeming@lyx.org>
626
627         * lyx_sty.C (boldsymbol_def): modify so that it outputs
628         "\providecommand" rather than "\newcommand", thereby preventing
629         clashes with packages that define "\boldsymbol" themselves.
630         Eg, beamer.
631
632 2004-04-08  Angus Leeming  <leeming@lyx.org>
633
634         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
635         thereby squashing an unnecessary warning.
636
637 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
638
639         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
640         setBuffer()
641
642 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
643
644         * BufferView.C (setCursor): call redoParagraph (some insets could
645         have been opened)
646         (putSelectionAt): remove the 'double update' trick
647
648         * BufferView_pimpl.C (fitCursor): call refreshPar
649         (workAreaDispatch): remove an uneeded update call
650         (dispatch): remove some manual update calls
651
652         * cursor.[Ch]: remove cached_y_, updatePos
653         (selHandle): set noUpdate when appropriate
654
655         * lyxfunc.C (dispatch): track if we need an update
656
657         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
658
659         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
660         (paintSelection): cheap optimization, do not call cursorX when not
661         needed
662         (paintPars): change signature
663         (refreshPar): add
664         (paintText): adjust
665         (paintTextInset): adjust
666
667         * text.C: adjust
668
669 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * lengthcommon.C: compilation fix: remove explicit array size from
672         unit_name[] and friends
673
674 2004-04-05  Angus Leeming  <leeming@lyx.org>
675
676         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
677
678         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
679         present only for the preferences dialog.
680         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
681
682 2004-04-05  Angus Leeming  <leeming@lyx.org>
683
684         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
685         to enable the frontends to export changes to lyxrc correctly.
686
687         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
688
689 2004-04-07  André Pönitz  <poenitz@gmx.net>
690
691         * cursor.[Ch] (selClear, adjust): remove math
692
693         * cursor_slice.C: more agressive assert
694
695         * lyxfunc.C:
696         * BufferView_pimpl.C: rework mouse event dispatch
697
698         * dociterator.C:
699         * paragraph.C:
700         * text2.C:
701         * text3.C: adjust
702
703 2004-04-05  André Pönitz  <poenitz@gmx.net>
704
705         * cursor.[Ch] (valign, halign...): remove unneeded functions
706
707 2004-04-05  Angus Leeming  <leeming@lyx.org>
708
709         * lyxlength.[Ch] (unit_name et al.): const-correct.
710
711 2004-04-05  Angus Leeming  <leeming@lyx.org>
712
713         * BufferView_pimpl.C:
714         * buffer.C:
715         * counters.C:
716         * cursor.C:
717         * lyxfunc.C
718         * paragraph.C:
719         * pariterator.C:
720         * text.C:
721         * text2.C:
722         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
723
724 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
725
726         * text3.C (getStatus): add LFUN_BEGINNINGBUF
727
728 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
729
730         * lyxfind.C: add a couple of inTexted() tests + other small fixes
731         * BufferView_pimpl.[Ch] (getStatus)
732         * BufferView.[Ch] (getStatus): add
733         * lyxfunc.C (getStatus): move lfuns handled in
734         BufferView::dispatch to te function above
735         * Cursor.C (setSelection): set selection() = true
736
737 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
738
739         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
740
741 2004-03-31  Angus Leeming  <leeming@lyx.org>
742
743         * lyxfunc.C (dispatch): Fall through to the generic
744         Dialogs::show("preamble").
745
746 2004-03-31  Angus Leeming  <leeming@lyx.org>
747
748         * lyxfunc.C (dispatch): Fall through to the generic
749         Dialogs::show("spellchecker").
750
751 2004-03-31  Angus Leeming  <leeming@lyx.org>
752
753         * lyxfunc.C (getStatus, dispatch): changed invocation of the
754         preferences dialog.
755
756 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * BufferView.C
759         * cursor.[Ch]
760         * dociterator.[Ch]:
761         * insetiterator.[Ch]:
762         * lyxfind.C:
763         * lyxfunc.C:
764         * pariterator.[Ch]:
765         * text2.C:
766         * undo.[Ch]: s/DocumentIterator/DocIterator/g
767
768 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * BufferView.C (setCursor, putSelectionAt): call edit to open the
771         insets where we are putting the cursor.
772
773 2004-03-31  Angus Leeming  <leeming@lyx.org>
774
775         * lfuns.h:
776         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
777
778         * lyxrc.[Ch] (read, write): overloaded member functions taking
779         a std::[io]stream arguments.
780
781         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
782
783 2004-03-31  Angus Leeming  <leeming@lyx.org>
784
785         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
786         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
787
788         * lyxtextclass.C (load): if the text class couldn't be loaded, then
789         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
790
791 2004-03-31  Angus Leeming  <leeming@lyx.org>
792
793         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
794         the LFUN_ALL_INSETS_TOGGLE code.
795
796 2004-03-30  Angus Leeming  <leeming@lyx.org>
797
798         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
799         has died. Fall through to the generic Dialogs::show("document").
800
801 2004-03-30  Angus Leeming  <leeming@lyx.org>
802
803         * lfuns.h:
804         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
805         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
806
807         * lyxfunc.C (getStatus, dispatch): define the actions for these
808         lfuns. Little more than a cut and pste job from ControlDocument.C
809
810         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
811
812 2004-03-30  Angus Leeming  <leeming@lyx.org>
813
814         * lfuns.h:
815         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
816         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
817
818         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
819         open/closed state of ollapsable insets. Usage:
820
821         all-inset-toggle <state> <name>, where
822         <state> == "open" || "closed" || "toggle" and
823         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
824
825         * lyxtext.h, text2.C (toggleInset): removed.
826
827         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
828         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
829         now passes LFUN_INSET_TOGGLE to the found inset.
830
831         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
832         is now invoked as "all-insets-toggle toggle branch".
833
834 2004-03-30  Angus Leeming  <leeming@lyx.org>
835
836         * dociterator.C:
837         * insetiterator.C:
838         * pariterator.[Ch]: added/corrected header blurb.
839
840 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
841
842         * dociterator.[Ch]: add an inset_ member
843         (backwardPos): implemented
844         (backwardPos, forwardPos): use inset_ when the stack is empty.
845         (doc_iterator_begin, doc_iterator_end): implemented
846         * pariterator.[Ch]: adjust, add begin, end
847         * insetiterator.[Ch]: adjust, add begin, end
848         * cursor.C:
849         * document.C:
850         * BufferView.C:
851         * BufferView_pimpl.C:
852         * CutAndPaste.C: adjust
853
854 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * buffer.C: increment file format to 232.
857         * LaTeXFeatures.C: add bibtopic package.
858         * bufferparams.[Ch]: param \use_bibtopic.
859
860         * lyxrc.[Ch]: add lyxrc bibtex_command
861         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
862
863         * buffer.C: increment file format to 231.
864
865 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * dociterator.C: implement forwardPar
868         * iterators.[Ch]: remove, replaced by
869         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
870         * BufferView.C:
871         * BufferView_pimpl.C:
872         * CutAndPaste.C:
873         * buffer.C:
874         * bufferview_funcs.C:
875         * cursor.C:
876         * lyxfind.C
877         * lyxfunc.C
878         * paragraph_funcs.C
879         * toc.C:
880         * Makefile.am: adjust
881
882 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
883
884         * CutAndPaste.C (pasteSelection): fix 2 crashes
885         (eraseSelection): fix a crash
886         * paragraph_funcs.C: remove a warning
887
888 2004-03-28  Angus Leeming  <leeming@lyx.org>
889
890         * lfuns.h:
891         * LyXAction.C (init): new LFUN_PRINT.
892
893         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
894
895 2004-03-27  Angus Leeming  <leeming@lyx.org>
896
897         * lfuns.h:
898         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
899
900         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
901
902 2004-03-27  Angus Leeming  <leeming@lyx.org>
903
904         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
905         insetlist always contains non-null pointers to insets.
906
907 2004-03-26  Angus Leeming  <leeming@lyx.org>
908
909         * src/BufferView_pimpl.C:
910         * src/CutAndPaste.C:
911         * src/buffer.C:
912         * src/iterators.C:
913         * src/output_plaintext.C:
914         * src/outputparams.h:
915         * src/paragraph_funcs.C:
916         * src/rowpainter.C:
917         * src/text.C:
918         * src/text2.C:
919         * src/frontends/controllers/ControlErrorList.C:
920         * src/frontends/gtk/FileDialogPrivate.C:
921         * src/frontends/gtk/GPainter.C:
922         * src/frontends/gtk/GToolbar.C:
923         * src/frontends/qt2/QRef.C:
924         * src/mathed/math_scriptinset.C: squash compiler warnings.
925
926 2004-03-26  Angus Leeming  <leeming@lyx.org>
927
928         * ispell.C (LaunchIspell::start):
929         * lyx_cb.C (AutoSaveBuffer::start):
930         invoke run(DontWait) rather than runNonBlocking().
931
932 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
935
936 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * kbsequence.C (print): adjust
939
940         * kbmap.C (printKeySym): rename and change signature
941         (printKey): use LyXKeySym::print()
942
943 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
944
945         * undo.C: add using std::advance to compile for stlport
946
947 2004-03-24  Angus Leeming  <leeming@lyx.org>
948
949         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
950         it leads to a crash when no buffer is present.
951
952 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953             Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * lyxfunc.C (dispatch):
956         * bufferparams.C (readToken): use the new LColor::setColor
957
958         * LColor.[Ch] (setColor): new version that takes two strings as
959         argument and creates a new color entry if necessary
960
961 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
962
963         * buffer.C (makeLaTeXFile): if the main latex file that is
964         processed is usually a subdocument of some master, then pretend
965         for a while that it is actually the master
966
967 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
968
969         * buffer.C (getLabelList):
970         (getBibkeyList): use getMasterBuffer()
971         (getMasterBuffer): new method. Returns the main document in the
972         case where one is using included documents.
973
974 2004-03-25  André Pönitz  <poenitz@gmx.net>
975
976         * Makefile.am:
977         * iterators.[Ch]:
978         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
979
980         * ParagraphList_fwd.h: change ParagraphList to a std::vector
981
982         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
983         text*.C over here. Rename namespace CutAndPaste to lyx::cap
984
985         * ParameterStruct.h: merge with ParagraphParameters
986
987         * lyxtext.h: remove LyXText::parOffset() and getPar()
988
989         * text3.C: Remove all 'manual' update calls. We do now one per user
990         interaction which is completely sufficient.
991
992         * Bidi.C:
993         * BufferView.[Ch]:
994         * BufferView_pimpl.C:
995         * FontIterator.[Ch]:
996         * MenuBackend.C:
997         * ParagraphParameters.[Ch]:
998         * buffer.C:
999         * buffer.h:
1000         * bufferlist.C:
1001         * cursor.[Ch]:
1002         * cursor_slice.[Ch]:
1003         * dociterator.[Ch]:
1004         * errorlist.[Ch]:
1005         * factory.C:
1006         * lfuns.h:
1007         * lyxfind.C:
1008         * lyxfunc.C:
1009         * output_docbook.[Ch]:
1010         * output_latex.[Ch]:
1011         * output_linuxdoc.[Ch]:
1012         * output_plaintext.[Ch]:
1013         * paragraph.[Ch]:
1014         * paragraph_funcs.[Ch]:
1015         * paragraph_pimpl.[Ch]:
1016         * rowpainter.C:
1017         * tabular.[Ch]:
1018         * text.C:
1019         * text2.C:
1020         * toc.C:
1021         * undo.[Ch]: adjust
1022
1023         * frontends/controllers/ControlDocument.C:
1024         * frontends/controllers/ControlErrorList.C:
1025         * frontends/controllers/ControlSpellchecker.C:
1026         * insets/inset.C:
1027         * insets/inset.h:
1028         * insets/insetbase.h:
1029         * insets/insetbibitem.C:
1030         * insets/insetbox.C:
1031         * insets/insetbranch.C:
1032         * insets/insetcaption.C:
1033         * insets/insetcharstyle.C:
1034         * insets/insetcharstyle.h:
1035         * insets/insetcollapsable.C:
1036         * insets/insetcollapsable.h:
1037         * insets/insetert.C:
1038         * insets/insetfloat.C:
1039         * insets/insetfoot.C:
1040         * insets/insetmarginal.C:
1041         * insets/insetnote.C:
1042         * insets/insetoptarg.C:
1043         * insets/insettabular.C:
1044         * insets/insettext.C:
1045         * insets/insettext.h:
1046         * insets/insetwrap.C:
1047         * mathed/math_mboxinset.C:
1048         * mathed/math_nestinset.C:
1049         * mathed/math_scriptinset.C:
1050         * mathed/math_scriptinset.h:
1051         * support/types.h:
1052
1053 2004-03-24  Angus Leeming  <leeming@lyx.org>
1054
1055         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1056         deal with any child processes that have finished but are waiting to
1057         communicate this fact to the rest of LyX.
1058
1059 2004-03-24  Angus Leeming  <leeming@lyx.org>
1060
1061         64-bit compile fixes.
1062
1063         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1064         (c-tor): pass lyx::pos_types rather than ints.
1065
1066         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1067         lyx::pos_type.
1068
1069         * text.C (Delete): compile fix.
1070         (getPar): ensure that function declaration is the same as that in
1071         the header file.
1072
1073 2004-03-23  Angus Leeming  <leeming@lyx.org>
1074
1075         * ispell.C (LaunchIspell):
1076         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1077         a boost::shred_ptr rather than a std::auto_ptr.
1078
1079 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1080
1081         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1082         handle LFUN_FILE_INSERT_*
1083
1084         * lyxrc.C (setDefaults, getDescription, output, read):
1085         * lyxrc.h: remove ps_command
1086
1087 2004-03-22  Angus Leeming  <leeming@lyx.org>
1088
1089         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1090         Ensure that error_handler is processed once only and that all data
1091         is saved before attempting to output any warning messages.
1092
1093         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1094
1095 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1096
1097         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1098
1099 2004-03-19  André Pönitz  <poenitz@gmx.net>
1100
1101         * cursor.[Ch] (reset): take main text inset as argument
1102
1103         * BufferView: adjust
1104         * BufferView_pimpl.C: adjust
1105
1106         * paragraph.[Ch]: fix completely broken operator=()
1107
1108 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * LColor.C (getFromLyXName): make sure that the color name is used
1111         as lowercase.
1112
1113 2004-03-17  Angus Leeming  <leeming@lyx.org>
1114
1115         * lfuns.h:
1116         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1117
1118         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1119         dialog and to kill a forked process.
1120
1121 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1122
1123         * text2.C (setCursorFromCoordinates): fix font problem
1124
1125 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1126
1127         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1128         bogus "rebuild cursor" code
1129
1130 2004-03-11  André Pönitz  <poenitz@gmx.net>
1131
1132         * buffer.[Ch]: use InsetText instead of LyXText as container for
1133         the main lyx text.
1134
1135         * dociterator.[Ch]: drop the BufferView * member which is not needed
1136         anymore after the change to buffer.C
1137
1138         * paragraph_funcs.C:
1139         * text.C:
1140         * text2.C:
1141         * BufferView.[Ch]:
1142         * BufferView_pimpl.[Ch]:
1143         * cursor.[Ch]:
1144         * cursor_slice.[Ch]: adjust
1145
1146         * text3.C: fix bug in mathDispatch
1147
1148 2004-03-08  André Pönitz  <poenitz@gmx.net>
1149
1150         * undo.[Ch]: use 'StableDocumentIterator' as base for
1151         the Undo struct.
1152
1153 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * LaTeXFeatures.C:
1156         * bufferparams.[Ch]: add jurabib support and param.
1157
1158         * LaTeX.C: add FIXME/comment.
1159
1160 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1161
1162         * buffer.C: increment file format to 230.
1163
1164 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1165
1166         * cursor.C (dispatch): avoid infinite loops
1167
1168 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1169
1170         * rowpainter.C (paintSelection): fix x coordinates
1171
1172 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * text.C (rowBreakPoint): fix breaking before displayed insets
1175
1176 2004-03-01  André Pönitz  <poenitz@gmx.net>
1177
1178         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1179
1180         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1181
1182         * Makefile.am:
1183         * BufferView.C:
1184         * BufferView_pimpl.C:
1185         * buffer.C:
1186         * lyxfind.C:
1187         * lyxfunc.C:
1188         * text.C:
1189         * text2.C:
1190         * text3.C: adjust
1191
1192 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1193
1194         * lyxtext.h:
1195         * text.C:
1196         * text2.C:
1197         * rowpainter.C:
1198         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1199         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1200
1201 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * Bidi.[Ch] (computeTables): const correctness
1204         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1205         fill_hfill, fill_label_hfill and x from Row
1206         * lyxtext.h: prepareToPrint returns a RowMetrics
1207         * rowPainter.C: adjust
1208         * text.C (prepareToPrint): use width, not textWidth. adjust
1209         (redoParagraphInternal, cursorX): adjust
1210         * text2.C (getColumnNearX): adjust
1211         (init): put a default value to the top LyXText::width
1212
1213 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1214
1215         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1216
1217 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1218
1219         * lyxtext.h: add FontIterator class
1220
1221         * text.C (FontIterator, operator*, operator->, operator++): add
1222         (rowBreakPoint, setRowWidth): adjust (fixing a
1223         rebreaking bug)
1224
1225 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * BufferView_pimpl.C (workAreaDispatch): allow also
1228         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1229
1230 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * text.C (rowBreakPoint): fix a bug showing with very large insets
1233
1234 2004-02-25  André Pönitz  <poenitz@gmx.net>
1235
1236         * text3.C:
1237         * cursor.[Ch]: move some mathed specific code to mathed
1238
1239 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1240
1241         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1242         use_tempdir in preferences
1243         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1244         tempfile creation
1245         * lyx_main.C: ensure that tempdir is valid
1246         * lyxlex.h: correct typo
1247         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1248         * paragraph.[Ch] (isMultiLingual): make const
1249         * cursor.[Ch] (openable): make const
1250
1251 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1252
1253         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1254
1255 2004-02-20  André Pönitz  <poenitz@gmx.net>
1256
1257         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1258
1259         * cursor.[Ch]: prepare for localized getStatus()
1260
1261         * lyxtext.h:
1262         * tabular.C:
1263         * text.C:
1264         * text2.C:
1265         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1266
1267 2004-02-20  André Pönitz  <poenitz@gmx.net>
1268
1269         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1270
1271 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1272
1273         * text2.C (setCursorFromCoordinates): switch to absolute coords
1274         (cursorUp): adjust
1275         (cursorDown): adjust
1276         * text3.C (dispatch): adjust
1277
1278 2004-02-16  André Pönitz  <poenitz@gmx.net>
1279
1280         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1281           insets/ChangeLog)
1282
1283         * cursor_slice.[Ch]: remove unneeded acessor function
1284
1285         * lyxtext.h: rename rtl() to isRTL()
1286
1287         * rowpainter.C:
1288         * tabular.C:
1289         * text.C:
1290         * text2.C:
1291         * text3.C: adjust
1292
1293 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * rowpainter.C (paintSelection): coord fix
1296
1297 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298
1299         * Spacing.C: compile fix
1300
1301 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * cursor.C (dispatch): restore current_ before returning
1304
1305 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1306
1307         * text2.C (cursorUp, cursorDown): fix coords
1308         (moveUp): fix crash
1309
1310 2004-02-12  André Pönitz  <poenitz@gmx.net>
1311
1312         * lyxtext.h:
1313         * text.C:
1314         * text2.C:
1315         * text3.C: add LCursor & parameter to most cursor movement functions
1316           remove usage of LyXText::cursorRow() and cursorPar()
1317
1318         * cursor.[Ch]: add textRow() needed members
1319
1320         * BufferView.C:
1321         * BufferView_pimpl.C:
1322         * paragraph.[Ch]:
1323         * BufferView.C:
1324         * BufferView_pimpl.C: adjust
1325
1326 2004-02-11  André Pönitz  <poenitz@gmx.net>
1327
1328         * lyxfunc.C:
1329         * BufferView.[Ch]:
1330         * BufferView_pimpl.C: shift undo/redo handling
1331
1332         * cursor.[Ch]: fix mathed crash
1333
1334         * lyxfind.C:
1335         * lyxtext.h: move selectionAsText to LCursor
1336
1337         * output_latex.C:
1338         * paragraph.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C: adjust
1342
1343         * rowpainter.C: fix excessive drawing
1344
1345 2004-02-06  André Pönitz  <poenitz@gmx.net>
1346
1347         * BufferView.[Ch]:
1348         * BufferView_pimpl.[Ch]:
1349         * text3.C: move some text specific LFUN handling
1350
1351 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * text3.C (checkInsetHit): adjust coords
1354         * text2.C (getColumnNearX): adjust coords
1355         (edit): adjust coords
1356         * text.C (getRowNearY): add two asserts
1357
1358 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1359
1360         * converter.C:
1361         * format.C: add using std::distance to compile on gcc 2.95/stlport
1362
1363 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1366
1367 2004-02-04  André Pönitz  <poenitz@gmx.net>
1368
1369         * BufferView.[Ch] (insertInset):
1370         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1371
1372         * text2.C:
1373         * text3.C: adjust
1374
1375 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1378         on the default clause of the switch
1379         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1380         wasn't catched by LCursor::dispatch
1381
1382 2004-02-03  André Pönitz  <poenitz@gmx.net>
1383
1384         * BufferView.C:
1385         * cursor.[Ch]: some additional asserts
1386
1387         * undo.[Ch]: remove LyXText dependency in interface
1388
1389         * lyxfunc.C: adjust
1390
1391         * lyxtext.h (firstPar, lastPar): remove dead functions
1392
1393         * text.C:
1394         * text2.C:
1395         * text3.C:
1396         * paragraph.[Ch]: adjust
1397
1398 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * lyxfind.C (find): fix argument order in call to ::find
1401
1402 2004-02-02  André Pönitz  <poenitz@gmx.net>
1403
1404         * cursor.[Ch]: remove direct access to anchor
1405
1406         * text.C: remove findText() hack
1407
1408 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * iterators.[Ch] (lockPath): remove in favour of...
1411         * BufferView.[Ch] (setCursor): this addition
1412         * BufferView.C (putSelectionAt): adjust
1413         * undo.C (performUndoOrRedo): adjust
1414         * lyxfunc.C (dispatch): adjust
1415
1416 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1417
1418         * iterators.C (lockPath): add a missing slice
1419         * undo.C (performUndoOrRedo): remove redundant positioning code
1420
1421 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1422
1423         * vc-backend.C (scanMaster): ";" -> ';'
1424
1425 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1426
1427         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1428         std::binary_function
1429
1430         * lyxtextclass.C (compare_name): rename to...
1431         (LayoutNamesEqual): ...this
1432
1433         * lyxlex_pimpl.C (compare_tags): inherit from
1434         std::binary_function, put back into anon namespace
1435
1436         * lyxfind.C (MatchString): inherig from std::binary_function
1437         (findChange): use empty() istead of !size()
1438
1439         * format.C (FormatNamesEqual): new functor
1440         (getFormat): use it
1441         (getNumber): use it
1442         (add): use it
1443         (erase): use it
1444         (setViewer): use it
1445
1446         * converter.C (compare_Converter): rename to...
1447         (ConverterEqual): ...this, and fixup a bit.
1448         (getConverter): use it, and make function const
1449         (getNumber): use it, and make function const
1450         (add): use it
1451         (erase): use it:
1452
1453         * bufferlist.C: add using boost::bind
1454
1455         * MenuBackend.C (MenuNamesEqual): new functor
1456         (hasMenu): use it, and make function const
1457         (hasSubmenu): use nested bind to get rid of compare_memfun.
1458
1459 2004-01-30  André Pönitz  <poenitz@gmx.net>
1460
1461         * BufferView_pimpl.C:
1462         * cursor.C:
1463         * cursor.h:
1464         * cursor_slice.[Ch]:
1465         * lyxfunc.C:
1466         * lyxtext.h:
1467         * paragraph_funcs.C:
1468         * paragraph_funcs.h:
1469         * rowpainter.C:
1470         * text.C:
1471         * text2.C:
1472         * text3.C: move some of the edit(x,y) handling to the insets
1473         some coordinate changes.
1474
1475 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1476
1477         * text.C: add using statements for std::advance and std::distance
1478
1479         * paragraph.C: add using statement for std::distance
1480
1481         * lyxfind.C: add using statement for std::advance
1482
1483         * cursor.C (region): remove std:: from swap
1484         (openable): use nucleus in stead of operator->
1485
1486         * BufferView.C: add using statements for std::distance and std::swap
1487
1488 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * iterators.C: Remove the pimple, move the needed structures to
1491         the header file. Create accessor for the positions stack.
1492         (asPosIterator): remove function
1493
1494         * PosIterator.C (PosIterator): move constructors to top of file
1495         (PosIterator): reimplement the constructor taking a ParIterator in
1496         terms of setFrom.
1497         (setFrom): new function
1498         (operator!=): inline it
1499
1500 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * lyxfind.C (replaceAll): use std::advance
1503
1504         * iterators.h: inherit from std::iterator.
1505
1506         * PosIterator.C (advance, distance): remove
1507         * PosIterator.h: interit from std::iterator.
1508
1509 2004-01-26  André Pönitz  <poenitz@gmx.net>
1510
1511         * BufferView.[Ch]:
1512         * BufferView_pimpl.[Ch]:
1513         * InsetList.[Ch]:
1514         * PosIterator.[Ch]:
1515         * buffer.h:
1516         * bufferview_funcs.C:
1517         * cursor.[Ch]:
1518         * cursor_slice.h:
1519         * factory.[Ch]:
1520         * iterators.[Ch]:
1521         * lyxfind.C:
1522         * lyxfunc.C:
1523         * lyxtext.h:
1524         * output_docbook.C:
1525         * output_latex.C:
1526         * output_linuxdoc.C:
1527         * output_plaintext.C:
1528         * paragraph.[Ch]:
1529         * paragraph_funcs.[Ch]:
1530         * paragraph_pimpl.[Ch]:
1531         * rowpainter.C:
1532         * tabular.C:
1533         * tabular.h:
1534         * text.C:
1535         * text2.C:
1536         * text3.C: more IU:  dumps most of the rest of the mathcursor
1537     implementation into cursor.[Ch]; "globalize" a bit of it.
1538
1539 2004-01-25  Angus Leeming  <leeming@lyx.org>
1540
1541         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1542
1543 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1544
1545         * LaTeXFeatures.h: add nice_ and nice() const
1546         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1547
1548 2004-01-20  André Pönitz  <poenitz@gmx.net>
1549
1550         * BufferView.[Ch]:
1551         * BufferView_pimpl.C:
1552         * PosIterator.C:
1553         * bufferview_funcs.C:
1554         * cursor.[Ch]:
1555         * cursor_slice.[Ch]:
1556         * factory.C:
1557         * iterators.C:
1558         * lyx_cb.C:
1559         * lyxfind.C:
1560         * lyxfunc.C:
1561         * lyxtext.h:
1562         * rowpainter.C:
1563         * text.C:
1564         * text2.C:
1565         * text3.C:
1566         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1567           LCursor and mathcursor parts to LCursor and InsetBase.
1568
1569 2004-01-15  André Pönitz  <poenitz@gmx.net>
1570
1571         * cursor_slice.[Ch]: add a few covienience functions
1572
1573         * funcrequest.[Ch]: remove BufferView * member
1574
1575         * BufferView_pimpl.C:
1576         * cursor.C:
1577         * factory.[Ch]:
1578         * lyxfind.[Ch]:
1579         * lyxfunc.C:
1580         * lyxtext.h:
1581         * text3.C:
1582         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1583
1584 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1585
1586         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1587         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1588
1589 2004-01-13  André Pönitz  <poenitz@gmx.net>
1590
1591         * textcursor.[Ch]:
1592         * lyxtext.h: hide cursor and selection anchor behind accessor function
1593
1594         * BufferView.C:
1595         * BufferView_pimpl.[Ch]:
1596         * PosIterator.C:
1597         * bufferview_funcs.C:
1598         * cursor.h:
1599         * lyxfind.C:
1600         * lyxfunc.C:
1601         * text.C:
1602         * text2.C:
1603         * text3.C:
1604         * undo.C: adjust
1605
1606         * cursor.h:
1607         * cursor_slice.[Ch]: some integer type changes for inset unification
1608
1609         * lyxcursor.[hC]: remove, it's CursorSlice now.
1610
1611         * Makefile.am:
1612         * BufferView_pimpl.[Ch]:
1613         * bufferview_funcs.C:
1614         * cursor_slice.C:
1615         * lyxtext.h:
1616         * text.C:
1617         * text2.C:
1618         * text3.C:
1619         * textcursor.[Ch]: adjust
1620
1621 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1622
1623         * text2.C (undoSpan): add and use
1624         * text.C (breakParagraph): use undoSpan (fix bug 578)
1625         * lyxtext.h: adjust
1626
1627 2004-01-08  Angus Leeming  <leeming@lyx.org>
1628
1629         * BufferView_pimpl.C (MenuInsertLyXFile):
1630         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1631         * lyxfunc.C (menuNew, open, doImport):
1632         FileFilterList change to the FileDialog open and save functions.
1633
1634 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1635
1636         * ShareContainer.h: make isEqual and isUnique adaptable
1637
1638         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1639
1640 2004-01-07  Angus Leeming  <leeming@lyx.org>
1641
1642         * LyXAction.C:
1643         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1644
1645         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1646
1647         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1648         functions replacing find, replace and replaceAll.
1649
1650         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1651         LFUN_WORDFIND(FORWARD|BACKWARD).
1652
1653 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1654
1655         * text.C (breakParagraph): remove an outdated #warning
1656
1657 2004-01-07  André Pönitz  <poenitz@gmx.net>
1658
1659         * lyxfind.C: somewhat clearer logic
1660
1661         * text.C: prevent crash in cursorX on unitialized row cache
1662
1663 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * lyxcursor.[Ch] (operator>): add
1666         * textcursor.C (selStart, selEnd): use std::min and std::max
1667
1668 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1669
1670         * Chktex.C: include boost/format.hpp
1671
1672 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1673
1674         * InsetList.C: replace functor MathcIt with adaptable functor
1675         InsetTablePosLess
1676         (insetIterator): modify accordingly
1677
1678         * BranchList.h: move the BranchNamesEqual functor here from...
1679         * BranchList.C: ... to here
1680
1681         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1682         SameName and match.
1683         (add): replace a finding loop with std::find_if.
1684
1685 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1686
1687         * output_docbook.C: moving LatexParam functionality into
1688         .layout files
1689
1690 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1691
1692         * buffer.C: increment format to 229.
1693
1694 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1695
1696         * LaTeXFeatures.C:
1697         * lyx_sty.[Ch]: remove minipageindent_def
1698
1699         * LyXAction.C:
1700         * factory.C:
1701         * lfuns.h:
1702         * lyxfunc.C:
1703         * text3.C: remove LFUN_INSET_MINIPAGE
1704
1705 2003-12-28  Angus Leeming  <leeming@lyx.org>
1706
1707         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1708
1709 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1710
1711         * text2.C (setParagraph): fix off-by-one crash
1712
1713 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1714
1715         * output_docbook.C: header stuff for AGU
1716
1717 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1718
1719         * text2.C (redoCursor): remove
1720         * text.C:
1721         * text3.C:
1722         * BufferView_pimpl.C: remove calls to redoCursor and
1723         setCursor(cursor.par(), cursor.pos()) all around
1724
1725 2003-12-15  Angus Leeming  <leeming@lyx.org>
1726
1727         * buffer.C: up the format to 228.
1728
1729 2003-12-15  André Pönitz  <poenitz@gmx.net>
1730
1731         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1732         slices
1733
1734         * Makefile.am:
1735
1736         * BufferView_pimpl.C:
1737         * cursor.[Ch]:
1738         * lyxcursor.[Ch]:
1739         * rowpainter.[Ch]:
1740         * lyxtext.h:
1741         * text.C:
1742         * text2.C:
1743         * text3.C: adjust
1744
1745 2003-12-15  Angus Leeming  <leeming@lyx.org>
1746
1747         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1748         than getFromGUIName to manipulate the color.
1749
1750 2003-12-14  Angus Leeming  <leeming@lyx.org>
1751
1752         * BranchList.[Ch]: minimize the API.
1753         (Branch::getBranch, getColor): now return a 'const &'.
1754         (Branch::setSelected) now returns a bool set to true if the
1755         selection status changes.
1756         (BranchList::clear, size, getColor, setColor, setSelected,
1757         allBranches, allSelected, separator): removed.
1758         (BranchList::find): new functions, returning the Branch with
1759         the given name.
1760         (BranchList::add, remove): return a bool indicating that
1761         the operation was successful.
1762
1763         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1764         new InsetBranch::isBranchSlected member function.
1765
1766         * LColor.[Ch]: mimimize the API.
1767         (fill): renamed as addColor and made private.
1768         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1769         versions of these functions taking a string arg have been removed.
1770
1771         * bufferparams.C (readToken):
1772         * lyxfunc.C (dispatch):
1773         * lyxrc.C (read): changes due to the altered BranchList and
1774         LColor APIs.
1775
1776         * factory.C (createInset, readInset): changes due to altered
1777         InsetBranch c-tor.
1778
1779 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1780
1781         * factory.C:
1782         * lyxfunc.C: remove insetminipage. "minipage-insert"
1783         now produces a frameless minipage box inset.
1784
1785 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * textcursor.[Ch] (selStart,selEnd): add new methods
1788         remove selection::start, end, use LyXCursor::operator<
1789         * lyxcursor.[Ch] (operator<): add
1790         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1791         * BufferView.[Ch] (unsetXSel): add
1792         * text2.C (clearSelection): use unsetXSel,adjust
1793         * text.C: adjust
1794         * text3.C: adjust
1795         * rowpainter.C: adjust
1796         * bufferview_funcs.C (put_selection_at): adjust
1797
1798 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * BufferView_pimpl.C: small coord. correction
1801
1802 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1805         dragging over the splash screen.
1806
1807 2003-12-11  Angus Leeming  <leeming@lyx.org>
1808
1809         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1810         as it is now handled in LyXText::dispatch.
1811
1812         * text3.C (doInsertInset): remove a level of nesting.
1813
1814 2003-12-11  Angus Leeming  <leeming@lyx.org>
1815
1816         * factory.C (createInset): changes due to the changed interface to
1817         InsetCommandMailer::string2params.
1818
1819 2003-12-10  Angus Leeming  <leeming@lyx.org>
1820
1821         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1822         'dialog-show-new-inset <inset name>'
1823
1824 2003-12-10  Angus Leeming  <leeming@lyx.org>
1825
1826         * buffer.C: up the format to 227.
1827
1828         * factory.C: the box inset is now identified simply by 'Box'.
1829
1830 2003-12-10  Angus Leeming  <leeming@lyx.org>
1831
1832         * buffer.C: up the format to 226.
1833
1834         * factory.C: the note inset is now identified simply by 'Note'.
1835
1836 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1837
1838         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1839         when a pit is enough. Standarize a couple of loops.
1840
1841 2003-12-05  Angus Leeming  <leeming@lyx.org>
1842
1843         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1844         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1845         data to the re-worked "log" dialog.
1846
1847 2003-12-03  André Pönitz  <poenitz@gmx.net>
1848
1849         * PosIterator.C:
1850         * iterators.C:
1851         * lyxtext.h:
1852         * output_latex.C:
1853         * paragraph_funcs.C:
1854         * text.C:
1855         * text2.C: use Inset::getText instead of Inset::getParagraph
1856
1857 2003-12-03  André Pönitz  <poenitz@gmx.net>
1858
1859         * buffer.[Ch]:
1860         * lyxtext.h:
1861         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1862         InsetText::read() as LyXText::read()
1863
1864 2003-12-02  Angus Leeming  <leeming@lyx.org>
1865
1866         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1867         type. Add a comment in the implementation that the function uses
1868         the stream's bad() function rather than fail() as the std::streams
1869         would do.
1870
1871 2003-12-02  André Pönitz  <poenitz@gmx.net>
1872
1873         * lyxlex.[Ch]: make interface more similar to std::stream
1874
1875         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1876
1877 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1880
1881 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1882
1883         * vspace.[Ch]: remove VSpace::NONE
1884
1885 2003-12-01  André Pönitz  <poenitz@gmx.net>
1886
1887         * buffer.[Ch]:
1888         * lyxtext.h: move ParagraphList member to LyXText
1889         rename LyXText::ownerParagraphs to LyXText::paragraph
1890
1891         * CutAndPaste.C:
1892         * bufferview_funcs.C:
1893         * iterators.[Ch]:
1894         * lyx_cb.C:
1895         * paragraph.C:
1896         * rowpainter.C:
1897         * tabular.C:
1898         * text.C:
1899         * text2.C:
1900         * text3.C: adjust
1901
1902         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1903
1904         * undo.C: fix cursor positioning
1905
1906 2003-12-01  John Levon  <levon@movementarian.org>
1907
1908         * BufferView_pimpl.C: fix a crash on exit with
1909         a buffer open
1910
1911 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1912
1913         * BranchList.C: fix setSelected() method.
1914
1915 2003-11-28  André Pönitz  <poenitz@gmx.net>
1916
1917         * ParagraphParameters.[Ch]:
1918         * ParameterStruct.h: remove space above/below from Paragraph to
1919          InsetVSpace
1920
1921         * BufferView_pimpl.C:
1922         * factory.C:
1923         * lyxfunc.C:
1924         * lyxtext.h:
1925         * output_latex.C:
1926         * paragraph.C:
1927         * paragraph_funcs.C:
1928         * rowpainter.[Ch]:
1929         * text.C:
1930         * text2.C:
1931         * text3.C: adjust
1932
1933 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1934
1935         * factory.C: Syntax change for CharStyles
1936
1937 2003-11-28  André Pönitz  <poenitz@gmx.net>
1938
1939         * BufferView.[Ch]:
1940         * BufferView.[Ch]:
1941         * buffer.[Ch]:
1942         * buffer.[Ch]: move LyXText member
1943
1944 2003-11-28  André Pönitz  <poenitz@gmx.net>
1945
1946         * BufferView.[Ch]: make LyXText * text a private member
1947
1948         * BufferView_pimpl.C:
1949         * cursor.C:
1950         * iterators.C:
1951         * lyx_cb.C:
1952         * lyxfind.C:
1953         * lyxtext.h:
1954         * rowpainter.[Ch]:
1955         * text.C:
1956         * text2.C:
1957         * undo.C: adjust
1958
1959         * output_plaintext.C: cleanup
1960
1961 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1962
1963         * buffer.C:
1964         * lyxtextclass.[Ch]: parametrize SGML document header
1965
1966 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1967
1968         * converter.[Ch]:
1969         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1970         getFlavor().
1971
1972 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * text2.C (setFont): rework using PosIterator (no more recursive)
1975         (setCharFont): no more needed
1976         (setLayout): no more selection cursors fiddling (done by redoCursor)
1977         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1978         destroy remaining ones)
1979
1980 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1983         * lyxtext.h: ditto
1984         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1985         selection cursors
1986         * lyxfunc.C: adjust
1987         * text3.C: adjust + re-allow multi par depth changes
1988         * textcursor.C: simplify a bit
1989
1990 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1991
1992         * src/buffer.C:
1993         * src/lyxlayout.C:
1994         * src/lyxlayout.h:
1995         * src/lyxtext.h:
1996         * src/output_docbook.C:
1997         * src/output_latex.C:
1998         * src/paragraph.C:
1999         * src/paragraph.h:
2000         * src/sgml.C:
2001         * src/sgml.h:
2002         * src/text2.C: Introducing a number of tags parametrizing various
2003         XML formats that we may want to support
2004
2005 2003-11-25  André Pönitz  <poenitz@gmx.net>
2006
2007         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2008
2009         * lyxtext.h (leftMargin/rightMargin): simplify interface
2010
2011         * rowpainter.C:
2012         * text.C:
2013         * text2.C:
2014         * text3.C: adjust
2015
2016 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2017
2018         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2019         master file to any child files. Fixes bug 546.
2020
2021 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2022
2023         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2024
2025 2003-11-24  André Pönitz  <poenitz@gmx.net>
2026
2027         * rowpainter.C: simplification
2028
2029         * text2.C (updateCounters): remove call to redoParagraph on
2030         changed labels as this is far too expensive.
2031
2032 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * converter.C (convert): fix a crash: this function gets
2035         called with buffer == 0 from importer code.
2036
2037 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2038
2039         * text3.C (cursorPrevious): make sure that we do not compare
2040         iterators form different containers.
2041         (cursorNext): ditto
2042
2043         * rowpainter.C (paintSelection): make sure that we do not compare
2044         iterators from different containers.
2045
2046         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2047         iterators from different ParagraphList containers.
2048         [NEXT] ditto
2049
2050         * text2.C (LyXText): change order of initialization slightly
2051         (operator=): new function. copy all variables except cache_par_
2052         (moveUp): make sure that we do not compare iterators from
2053         different ParagraphList constainers.
2054         (moveDown): ditto
2055
2056         * text.C (firstPar): new function
2057         (lastPar): new function
2058         (endPar): new function
2059
2060         * lyxtext.h: move things around and group public functions, public
2061         variables, private functions, private variables
2062
2063 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2064
2065         * factory.C: change call to InsetERT constructor to avoid
2066         additional invocation of method status
2067         * text2.C (toggleInset): remove redundant update() call
2068         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2069         instead of a Bufferview pointer
2070
2071 2003-11-21  André Pönitz  <poenitz@gmx.net>
2072
2073         * rowpainter.C: simplification
2074
2075 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2076
2077         * text3.C (dispatch): make possible to extend a word/row selection
2078         with the mouse
2079
2080 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * lyxtext.h: x0_,y0_ -> xo_,yo_
2083         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2084         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2085         * rowpainter.C (paintRows): paint full paragraphs
2086
2087 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2090         screen coordinates)
2091
2092 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * lyxtext.h: add x0_, y0_
2095         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2096         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2097
2098 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2099
2100         * text2.C (setCursorIntern): move the x_target update here *
2101         * text3.C: change some bv() to true/false in calls to
2102         cursorUp/Down/Right/Left
2103         * cursor.C: use helper function.
2104
2105 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2108         * paragraph_funcs.[Ch]: correct comment
2109         * rowpainter.C: do not paint selections away from bv->cursor()
2110         Fix a long standing selection painting bug.
2111         * text3.C: generalize mouse-selection code to LyXTexts other that
2112         top one
2113         * textcursor.C: do not use y coords if we can use par offsets
2114
2115 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2118         cursor position after e.g. inset insert)
2119
2120 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2121
2122         * lyxfind.C (replace): adjust to locking removal + some
2123         code simplification
2124
2125 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2126
2127         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2128         of the path
2129
2130 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2131
2132         * lyxlayout.[Ch]:
2133         * output_docbook.C: XML sanitation: new layout
2134         parameters InnerTag and CommandDepth
2135
2136 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2137
2138         * BufferView_pimpl.C:
2139         * factory.C:
2140         * text3.C: Fix the insertion and modification of button-style
2141         insets
2142
2143 2003-11-13  André Pönitz  <poenitz@gmx.net>
2144
2145         * InsetList.[Ch]: remove deleteLyXText
2146
2147         * paragraph.[Ch]: cache beginOfBody position
2148
2149         * Bidi.C:
2150         * text.C:
2151         * text2.C:
2152         * text3.C: remove superfluous update() calls
2153
2154         * vspace.C: cleanup
2155
2156 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2157
2158         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2159         * BufferView.C (fitLockedInsetCursor): remove
2160         * cursor.[Ch] (getDim): add
2161         * text.C (getRowNearY): add faster version
2162         * text3.C: remove some update calls
2163
2164 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2165
2166         * LaTeXFeatures.C:
2167         * LyXAction.C:
2168         * MenuBackend.C:
2169         * MenuBackend.h:
2170         * dispatchresult.h:
2171         * factory.C:
2172         * lfuns.h:
2173         * lyxfunc.C:
2174         * lyxtextclass.C:
2175         * lyxtextclass.h:
2176         * text3.C: The Character Style /XML short element patch.
2177
2178 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2179
2180         * text3.C:
2181         * factory.C: Small step to solving 'unable to insert some insets'
2182         problem
2183
2184 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * cursor.[Ch] (updatePos): new function for updating the y
2187         position of the tip inset
2188         * bufferview_funcs.C (put_selection_at):
2189         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2190
2191 2003-11-11  André Pönitz  <poenitz@gmx.net>
2192
2193         * text.C: remove big comment on invalid Paragraph pointers as it is
2194         not valid anymore
2195
2196 2003-11-11  André Pönitz  <poenitz@gmx.net>
2197
2198         * text_funcs.[Ch]: merge with ...
2199
2200         * text.C: ... this
2201
2202         * lyxtext.h:
2203         * text2.C:
2204         * text3.C: adjust
2205
2206         * Makefile.am: remove text_funcs.[Ch]
2207
2208 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2209
2210         * cursor.C (getPos): return absolute cached y coord
2211
2212         * BufferView_pimpl.C (fitCursor): new simplistic code
2213         (workAreaDispatch): add a fitCursor call
2214
2215 2003-11-10  André Pönitz  <poenitz@gmx.net>
2216
2217         * BufferView.[Ch]:
2218         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2219
2220 2003-11-10  André Pönitz  <poenitz@gmx.net>
2221
2222         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2223         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2224         indicate that the cursor needs to leave an inset
2225
2226         * lyxtext.h: remove inset locking
2227
2228         * cursor.[Ch]: re-implement functionality provided by inset locking
2229
2230         * BufferView.[Ch]:
2231         * BufferView_pimpl.[Ch]:
2232         * LyXAction.C:
2233         * bufferview_funcs.[Ch]:
2234         * factory.C:
2235         * funcrequest.[Ch]:
2236         * iterators.C:
2237         * lyx_cb.C:
2238         * lyxfind.C:
2239         * lyxfunc.C:
2240         * text.C:
2241         * text2.C:
2242         * text3.C:
2243         * undo.C: adjust
2244
2245 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2246
2247         * PosIterator.[Ch]: replace the stack with a vector, add inset
2248         accesor
2249         * iterators.[C]: adjust
2250
2251 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2252
2253         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2254         replaced
2255         * paragraph_funcs.C (readParToken): put the correct id in the
2256         error item, not the id of the top paragraph
2257
2258 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2259
2260         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2261         * bufferview_funcs.C (put_selection_at): use the above
2262
2263 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2264
2265         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2266
2267 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * output_linuxdoc.h:
2270         * output_plaintext.h:
2271         * output.h:
2272         * output_docbook.h: add #include statements
2273
2274 2003-11-05  José Matos  <jamatos@lyx.org>
2275
2276         * output_docbook.[Ch]:
2277         * output_latex.[Ch]:
2278         * output_linuxdoc.[Ch]:
2279         * output_plaintext.[Ch]: New files for output formats.
2280         * output.[Ch]: New file for helper functions.
2281
2282         * buffer.[Ch]:
2283         * paragraph_funcs.[Ch]: output functions moved to new files.
2284
2285         * outputparams.h: rename of latexrunparams.h
2286
2287         * LaTeX.[Ch]:
2288         * buffer.[Ch]:
2289         * bufferlist.[Ch]:
2290         * converter.[Ch]:
2291         * exporter.C:
2292         * paragraph.[Ch]:
2293         * paragraph_funcs.[Ch]:
2294         * paragraph_pimpl.[Ch]:
2295         * tabular.[Ch]: rename ascii to plaintext
2296         and LatexRunParams to OutputParams.
2297
2298 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2299
2300         * iterators.[Ch] (text): require bv argument
2301         * undo.C (recordUndo):
2302         * lyxfunc.C (dispatch):
2303         * bufferview_funcs.C (put_selection_at): adjust
2304
2305 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2306
2307         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2308
2309 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2310
2311         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2312         nestings
2313
2314 2003-11-04  André Pönitz  <poenitz@gmx.net>
2315
2316         * cursor.[Ch]: restructure
2317
2318         * BufferView.[Ch]:
2319         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2320
2321         * iterators.[Ch] (asCursor): remove
2322
2323         * lfuns.h: remove LFUN_INSET_EDIT
2324
2325         * lyxfunc.C:
2326         * tabular.C:
2327         * text.C:
2328         * text2.C:
2329         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2330
2331 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2332
2333         * lyxfind.[Ch]: complete overhaul
2334         * BufferView_pimpl.C:
2335         * lyxfunc.C: adjust
2336         * paragraph.[Ch] (insert): add
2337
2338 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2339
2340         * BufferView.[Ch]:
2341         * lyxtext.h:
2342         * text.C: remove dead spellcheck code
2343
2344 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * dispatchresult.h: add a val setter
2347
2348         * cursor.C (dispatch): use a tempvar for data_[i]
2349
2350 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2351
2352         * PosIterator.[Ch]: compile fix
2353
2354 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2355
2356         * text.C (cursorPar): deactivate the cursor cache
2357
2358 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2359
2360         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2361
2362 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * text3.C (dispatch): adjust for new DisptchResult semantics.
2365
2366         * lyxfunc.C (dispatch): handle update when return from
2367         Cursor::dispatch, adjust for new DispatchResult semantics.
2368
2369         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2370         DispatchResult(true) mean to not update. Add class functions for
2371         setting dispatched and update, as well as reading.
2372
2373         * cursor.C (dispatch): don't handle update here
2374
2375 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2376
2377         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2378         * trans_mgr.C: adjust
2379
2380         * paragraph_funcs.C (readParToken): exception safety
2381
2382         * lyxvc.h: store the vcs pointer in a scoped_ptr
2383         * lyxvc.C: adjust
2384
2385         * lyxsocket.C (serverCallback): exception safety
2386
2387         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2388
2389         * ispell.C (clone): make it return a auto_ptr
2390
2391         * factory.C (createInset): exception safety
2392         (readInset): exception safety
2393
2394         * bufferlist.C (newBuffer): exception safety
2395
2396         * Thesaurus.C (Thesaurus): use initialization for aik_
2397
2398         * MenuBackend.C (expandToc): exception safety.
2399
2400 2003-11-03  André Pönitz  <poenitz@gmx.net>
2401
2402         * buffer.C:
2403         * buffer.h:
2404         * bufferview_funcs.C: remove getInsetFromId()
2405
2406         * lyxcursor.[Ch]:
2407         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2408
2409         * lyxfunc.C:
2410         * text2.C:
2411         * text3.C: adjust
2412
2413 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2414
2415         * PosIterator.C (distance, advance): new
2416         * bufferview_funcs.[Ch] (put_selection_at): new
2417         * iterators.[Ch] (lockPath): new
2418
2419 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2420
2421         * iterators.[Ch] (asPosIterator): added
2422         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2423         * PosIterator.[Ch]: added
2424
2425 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2426
2427         * text3.C:
2428         * lyxfunc.C:
2429         * cursor.C (dispatch):
2430         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2431
2432         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2433         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2434         contructor, add a class function dispatched. Remove operator>=
2435
2436 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * debug.C: only use the default constructor for debugstream
2439         (lyxerr) here.
2440
2441         * main.C (main): include debug.h and setup the lyxerr streambuf
2442         here.
2443
2444 2003-10-31  José Matos  <jamatos@lyx.org>
2445
2446         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2447
2448         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2449         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2450         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2451         * paragraph_pimpl.C (simpleTeXSpecialC):
2452         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2453         add LatexRunParams argument.
2454
2455         * exporter.C (Export): change call accordingly.
2456
2457         * latexrunparams.h: add new member to take care of the other backends.
2458 2003-10-30  José Matos  <jamatos@lyx.org>
2459
2460         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2461         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2462         factorise code for paragraph output.
2463         * buffer.[Ch]:
2464         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2465         move functions.
2466
2467 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * text3.C (dispatch):
2470         * lyxfunc.C (dispatch):
2471         * cursor.C (dispatch):
2472         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2473
2474         * dispatchresult.h: make the dispatch_result_t ctor explicit
2475
2476 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2477
2478         * sgml.[Ch]:
2479         * buffer.C: small refactoring of docbook stuff
2480
2481 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2484         meaning.
2485
2486 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2489         operator dispatch_result_t, and operators for == != and >=
2490
2491         * cursor.C (dispatch): adjust for operator dispatch_result_t
2492         removal. comment out call to update
2493
2494         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2495
2496 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * text3.C:
2499         * text2.C:
2500         * text.C:
2501         * lyxtext.h:
2502         * lyxfunc.C:
2503         * cursor.C:
2504         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2505         (dispatch):
2506
2507         * dispatchresult.h: new file, DispatchResult broken out of
2508         insets/insetbase.h
2509
2510         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2511
2512 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * text.C (rowBreakPoint): put a hack inside #if 0
2515
2516 2003-10-28  André Pönitz  <poenitz@gmx.net>
2517
2518         * lyxtext.h:
2519         * metricsinfo.C:
2520         * paragraph_funcs.C:
2521         * rowpainter.C:
2522         * text.C:
2523         * text2.C: general cleanup (lots of small stuff)
2524
2525 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * text2.C (cursorEnd): simple fix to the "end key goes to one
2528         before the end on last row" bug
2529
2530 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2531
2532         * text.C (backspace): fix the "zombie characters"
2533
2534 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2535
2536         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2537
2538 2003-10-27  André Pönitz  <poenitz@gmx.net>
2539
2540         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2541
2542         * factory.C: handle new InsetPagebreak, InsetLine
2543
2544         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2545         and move handling into new InsetPagebreak, InsetLine
2546
2547         * BufferView_pimpl.C:
2548         * LyXAction.C:
2549         * ParagraphParameters.C:
2550         * ParameterStruct.h:
2551         * lyxfunc.C:
2552         * lyxtext.h:
2553         * paragraph.C:
2554         * paragraph.h:
2555         * paragraph_funcs.C:
2556         * paragraph_pimpl.C:
2557         * rowpainter.C:
2558         * text.C:
2559         * text2.C:
2560         * text3.C: adjust
2561
2562 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2563
2564         * text.C:
2565         * lyxrow_funcs.[Ch]:
2566         * Bidi.C:
2567         * paragraph.C:
2568         * lyxtext.h:
2569         * rowpainter.C:
2570         * text2.C:
2571         * text3.C: remove lastPos uses in favour of Row::endpos
2572
2573 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2574
2575         * undo.C (performUndoOrRedo): fix two crashes by setting a
2576         cursor by hand and reordering some calls. Use bv->lockInset instead
2577         of inset->edit because the latter loses cursor information
2578
2579 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2582         by Martin
2583         (rowBreakPoint): fix width. change point to point + 1.
2584         Add a missing check.
2585
2586 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2587
2588         * MenuBackend.C:
2589         * lyxfunc.C: fix (at least partly) the problems
2590         with the Nav menu and headers inside branch insets
2591         reported by Kayvan
2592
2593 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2594
2595         * paragraph.C (getChar): add strong asserts
2596
2597         * lyxrow_funcs.C (lastPos): remove hideous hack
2598
2599         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2600         (fill): adjust to that (avoid an infinite loop)
2601
2602 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2605
2606 2003-10-23  André Pönitz  <poenitz@gmx.net>
2607
2608         * RowList_fwd.h: change list<> to vector<> to gain speed
2609         after suggestion from Alfredo
2610
2611 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * lyxtext.h: move the bidi stuff from here...
2614         * text.C: and here
2615         * text2.C: and here
2616         * Bidi.[Ch]: ... to here
2617
2618 2003-10-23  André Pönitz  <poenitz@gmx.net>
2619
2620         * lyxtext.h:
2621         * text.C (isLastRow, isFirstRow): new functions
2622
2623         * paragraph.h: new width cache member
2624
2625         * rowpainter.C: replace RowList::iterator with Row & where possible
2626
2627         * lyxfunc.C: replace several view()->text with a single call
2628
2629         * toc.C: fix 'unused' warning
2630
2631 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2634         when woring with stream::pos_type
2635         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2636
2637 2003-10-22  André Pönitz  <poenitz@gmx.net>
2638
2639         * lyxtext.h:
2640         * text.C: use Row & instead of RowList::iterator
2641
2642         * lyxrow.h: rename end() to endpos()
2643
2644         * rowpainter.C:
2645         * text.C:
2646         * text2.C: adjust
2647
2648 2003-10-22  Angus Leeming  <leeming@lyx.org>
2649
2650         * buffer.[Ch] (fully_loaded): new member function, returning true
2651         only when the file has been loaded fully.
2652         Used to prevent the premature generation of previews and by the
2653         citation inset to prevent computation of the natbib-style label.
2654
2655         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2656         templates are all set up.
2657
2658         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2659
2660 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2661
2662         * text.C: fixed an "oops" in the "is a bit silly"
2663         bug fix
2664
2665 2003-10-21  André Pönitz  <poenitz@gmx.net>
2666
2667         * FuncStatus.[Ch]: small stuff, whitespace
2668
2669         * lyxfont.[Ch]: operator<<() for debug reasons
2670
2671         * lyxfunc.C:
2672         * lyxrow_funcs.C:
2673         * lyxtext.h: whitespace, spelling
2674
2675         * paragraph.C: naming of variables
2676
2677         * text.C:
2678         * text2.C: small stuff
2679
2680
2681 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2682
2683         * text.C: (1) finish off the inset display() work;
2684         (2) fix the "is a bit silly" bug (accessing char
2685         past end of par).
2686
2687 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2688
2689         * text.C: re-introduce display() for insets, fixing the
2690         various bugs (stretch of line above, math inset
2691         positioning, ...)
2692
2693 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * text.C (rightMargin): remove spurious semicolon
2696
2697         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2698         1415)
2699
2700 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2701
2702         * text3.C: fix one crash due to wrong cursor def
2703
2704 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * vc-backend.C (scanMaster): make the regex static
2707
2708         * LaTeX.C (scanAuxFile): make the regexs static
2709
2710         * text3.C (doInsertInset, dispatch, dispatch):
2711         * text2.C (cursorUp, cursorDown):
2712         * text.C (selectNextWordToSpellcheck):
2713         * BufferView_pimpl.C (dispatch):
2714         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2715
2716 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2717
2718         * lyxsocket.C: include <cerrno>
2719
2720 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * lyxfunc.C (dispatch): remove textcache stuff
2723
2724         * bufferlist.C (release): remove textcache stuff
2725         (closeAll): ditto
2726
2727         * TextCache.C: delete file
2728         * TextCache.h: delete file
2729
2730         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2731
2732         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2733         delete of the bv_->text.
2734         (resizeCurrentBuffer): remove texcache stuff
2735         (workAreaResize): ditto
2736
2737 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2738
2739         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2740         action.
2741
2742 2003-10-16  André Pönitz  <poenitz@gmx.net>
2743
2744         * lyxrow.[Ch]:
2745         * paragraph.h:
2746         * rowpainter.C:
2747         * text.C:
2748         * text2.C:
2749         * text3.C: speed up by storing y positions per paragraph plus per-row
2750         offset instead of having a 'full' y position in the row.
2751
2752 2003-10-15  André Pönitz  <poenitz@gmx.net>
2753
2754         * iterators.[Ch]:
2755         * iterators.[Ch]:
2756         * undo.[Ch]: make undo aware of inner insets
2757
2758 2003-10-14  Angus Leeming  <leeming@lyx.org>
2759
2760         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2761         static member functions LyX::ref() and LyX::cref.
2762         (lastfiles): new accessor functions for the new lastfiles_ member var.
2763         (addLyXView, views_): add a new LyXView to the list of views_.
2764         (updateInset): loop over all LyXViews to call their own updateInset
2765         member function, returning a pointer to the Buffer owning the inset.
2766
2767         * BufferView_pimpl.C (loadLyXFile):
2768         * MenuBackend.C (expandLastfiles):
2769         * bufferlist.C (MenuWrite, QuitLyX):
2770         lastfiles is no longer a global variable.
2771         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2772
2773         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2774         static function. Access through LyX::cref().emergencyCleanup().
2775
2776 2003-10-14  André Pönitz  <poenitz@gmx.net>
2777
2778         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2779
2780         * undo.[Ch]: restoring part of 'undo in insets'
2781
2782         * Makefile.am:
2783         * undo_funcs.[Ch]: merge with undo.[Ch]
2784
2785         * tabular.C: small cleansing stuff
2786
2787 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * paragraph_funcs.C (readParToken): report unknown insets as error
2790         boxes. Use the outer paragraph as location (also for unknown
2791         tokens).
2792
2793         * factory.C (readInset): do not abort on reading an unknown inset.
2794         Eat it and return 0.
2795
2796 2003-10-13  Angus Leeming  <leeming@lyx.org>
2797
2798         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2799
2800         * lyxrc.C: displayTranslator is now a function,
2801         declared in GraphicsTypes.h.
2802
2803 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2804
2805         * format.C: new placeholder $$a to pass the socket address.
2806
2807         * bufferlist.[Ch]: new function getBufferFromTmp.
2808
2809         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2810           files in the temporary dir.
2811
2812 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2813
2814         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2815
2816         * Makefile.am: add lyxsocket.[Ch].
2817
2818         * lyx_main.C (error_handler): handle SIGPIPE.
2819
2820 2003-10-13  André Pönitz  <poenitz@gmx.net>
2821
2822         * BufferView_pimpl.C:
2823         * lyxtext.h:
2824         * text.C:
2825         * text2.C:
2826         * text3.C:
2827         * undo_funcs.[Ch]: use paroffset_type instead of
2828           ParagraphList::iterators to prevent multiple conversion
2829           (and get a more robust interface)
2830
2831 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2834         * lyxtext.h: ditto
2835         * text3.C (dispatch): ditto
2836
2837 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2840         move the onlyfile, use onlyfile instead of foundfile in a couple
2841         of places.
2842
2843         * DepTable.C (update): flush the error stream a bit more
2844
2845 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * lyxserver.C (callback): adjust
2848
2849         * lyxfunc.C (getStatus): add a missing brace in commented code
2850         (ensureBufferClean): reindent
2851         (dispatch): delete version taking a string
2852
2853 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * LaTeX.C (deplog): move found file handlig from here...
2856         (handleFoundFile): .. to new function here.
2857         (deplog): make sure to discover several files mentioned on the
2858         same log line.
2859
2860 2003-10-10  André Pönitz  <poenitz@gmx.net>
2861
2862         * lyxfunc.C:
2863         * lyxtext.h:
2864         * tabular.C:
2865         * text.C:
2866         * text2.C:
2867         * text3.C: fix some of the tabular crashes
2868
2869 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2870
2871         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2872
2873         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2874
2875 2003-10-09  André Pönitz  <poenitz@gmx.net>
2876
2877         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2878
2879         * BufferView.C:
2880         * BufferView_pimpl.C:
2881         * bufferview_funcs.C:
2882         * lyx_cb.C:
2883         * lyxcursor.C:
2884         * lyxfind.C:
2885         * lyxfunc.C:
2886         * lyxtext.h:
2887         * text.C:
2888         * text2.C:
2889         * text3.C:
2890         * text_funcs.[Ch]:
2891         * textcursor.[Ch]:
2892         * undo_funcs.C: adjust
2893
2894 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * text2.C (incrementItemDepth): new function, use a backtracking
2897         algorithm to discover the correct item depth.
2898         (resetEnumCounterIfNeeded): new function, use a backtracking
2899         algorithm to discover if counter reset is needed.
2900         (setCounter): use them. Simplify a bit. Add different labels for
2901         different item depths for itemize.
2902
2903         * paragraph.C (Paragraph): remove initialization of enumdepth
2904         (operator=): ditto
2905
2906         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2907         enumerate and itemize. Change the type of itemdepth to signed char.
2908
2909 2003-10-08  André Pönitz  <poenitz@gmx.net>
2910
2911         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2912           thing assignable.
2913         * text.C:
2914         * text2.C: adjust
2915
2916         * tabular.[Ch]: fix crash after 'row-insert'
2917
2918 2003-10-08  Angus Leeming  <leeming@lyx.org>
2919
2920         Fix doxygen warnings.
2921
2922         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2923         Remove CutAndPaste:: prefix from header file declaration.
2924
2925         * LColor.h (fill): remove LColor:: prefix from declaration.
2926
2927         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2928         use lyx::depth_type rather than Paragraph::depth_type so that
2929         header file and .C file match.
2930
2931         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2932
2933         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2934         * aspell.C: \file aspell_local.C -> \file aspell.C
2935         * gettext.C: \file gettext.C -> \file src/gettext.C
2936         * gettext.h: \file gettext.h -> \file src/gettext.h
2937         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2938         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2939         * text.C: \file text.C -> \file src/text.C
2940
2941         * toc.C: move comment so that doxygen is not confused.
2942
2943 2003-10-07  Angus Leeming  <leeming@lyx.org>
2944
2945         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2946
2947 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2948
2949         * aspell.C:
2950         * aspell_local.h: add forgotten std::string's.
2951
2952 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2953
2954         * LaTeXFeatures.C:
2955         * LyXAction.C:
2956         * factory.C:
2957         * lfuns.h:
2958         * lyxfunc.C:
2959         * text3.C: The Box patch. Fancybox support, minipage, parbox
2960
2961 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2962
2963         * CutAndPaste.h:
2964         * DepTable.h:
2965         * FloatList.h:
2966         * LaTeXFeatures.h:
2967         * ParagraphParameters.h:
2968         * TextCache.h:
2969         * Thesaurus.h:
2970         * bufferlist.h:
2971         * exporter.h:
2972         * importer.h:
2973         * lastfiles.h:
2974         * lyxfind.h:
2975         * lyxfont.h:
2976         * lyxlex.h:
2977         * lyxtextclasslist.h:
2978         * messages.h:
2979         * paragraph.h:
2980         * paragraph_pimpl.C:
2981         * textcursor.h: add <string> and other small fixes to make Lars'
2982         std::string patch compile with STLport.
2983
2984 2003-10-06  Angus Leeming  <leeming@lyx.org>
2985
2986         * LColor.h: Add missing #include <string>.
2987
2988 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * All most all file in all subdirs: Make <string> be the prefered
2991         way of getting to std::string, add using declarations.
2992
2993 2003-10-06  André Pönitz  <poenitz@gmx.net>
2994
2995         * metricsinfo.C: initialize LyXFont before changing attribute.
2996         (fixes the 'math in \emph is upright' bug)
2997
2998 2003-10-06  André Pönitz  <poenitz@gmx.net>
2999
3000         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3001
3002 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3003
3004         * graph.C:
3005         * paragraph_pimpl.C: Small fixes to build using STLport
3006
3007 2003-10-02  André Pönitz  <poenitz@gmx.net>
3008
3009         * lyxfunc.C:
3010         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3011
3012 2003-10-01  André Pönitz  <poenitz@gmx.net>
3013
3014         * factory.C: assert early
3015
3016 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * lyx_main.C: remove the global debug object
3019
3020         * debug.h: adjust for new debugstream
3021
3022         * debug.C: adjust for new debugstream and keep the global debug
3023         object here.
3024
3025 2003-09-22  Angus Leeming  <leeming@lyx.org>
3026
3027         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3028         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3029         an incomplete class LyXFont.
3030
3031 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * factory.C: bug fix in branches
3034
3035 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * lyxfunc.C (processKeySym): adjust
3038         (dispatch): adjust
3039         (dispatch): change arg name from ev to func, adjust
3040         (sendDispatchMessage): ditto
3041
3042         * lyx_main.C (defaultKeyBindings): adjust keybindings
3043         (deadKeyBindings): ditto
3044
3045         * kbsequence.C (addkey): return a FuncRequest
3046
3047         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3048
3049         * kbmap.C (bind): take a FuncRequest as arg, adjust
3050         (read): adjust
3051         (lookup): adjust
3052         (defkey): change to take a FuncRequest as arg, adjust
3053         (findbinding): take a FuncRequest as arg, adjust.
3054
3055         * funcrequest.h (operator=): added
3056
3057         * funcrequest.C (FuncRequest): default kb_action changed from
3058         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3059
3060         * buffer.C (dispatch): simplify
3061         (dispatch): adjust to take a FuncRequest as arg, adjust
3062
3063         * boost.C (assertion_failed): change assertion message slightly
3064
3065         * ToolbarBackend.C (read): simplify
3066
3067         * MenuBackend.C (binding): adjust call to findbinding, add a
3068         message if no binding is found.
3069         (read): simplify
3070         (expandToc): correct by adding a empty FuncRequest
3071
3072         * LyXAction.C: include <boost/assert.hpp>
3073         (isPseudoAction): delete function
3074         (LookupFunc): change name to...
3075         (lookupFunc): this. change return type to FuncRequest.
3076         (getActionName): take kb_action as arg, simplify
3077         (funcHasFlag): add an assert, simplify.
3078
3079 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * toc.C (action): return a FuncRequest, simplify
3082
3083         * lyxfunc.C (processKeySym): adjust
3084         (getStatus): delete version that takes an int.
3085         (getStatus): adjust
3086         (dispatch): delete version that takes action as int
3087         (dispatch): adjust
3088         (sendDispatchMessage): simplify and adjust
3089
3090         * funcrequest.C (getArg): take unsigned int as arg
3091
3092         * ToolbarBackend.C (read): adjust
3093         (add): delete version that takes func as a string.
3094         (getIton): take a FuncRequest as arg
3095
3096         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3097         action.
3098
3099         * MenuBackend.C (MenuItem): add a new construct that only takes a
3100         Kind, simplify the constructor use for submenus.
3101         (add): adjust
3102         (expandLastfiles): adjust
3103         (expandDocuments): adjust
3104         (expandFormats): adjust
3105         (expandFloatListInsert): adjust
3106         (expandFloatInsert): adjust
3107         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3108
3109         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3110         Remove class variables lyx_pseudo_map and lyx_arg_map
3111
3112         * LyXAction.C (searchActionArg): delete function
3113         (getPseudoAction): delete function
3114         (retrieveActionArg): delete function
3115         (LookupFunc): make it return kb_action, simplify.
3116         (getActionName): simplify
3117
3118         * factory.C (createInset): fix new bug
3119
3120 2003-09-19  Angus Leeming  <leeming@lyx.org>
3121
3122         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3123         masterFilename_ parameter in the include inset.
3124
3125         * factory.C (createInset): changes due to the changes to InsetInclude.
3126
3127 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3128
3129         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3130
3131 2003-09-18  Angus Leeming  <leeming@lyx.org>
3132
3133         * buffer.C:
3134         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3135         Inset::fillWithBibKeys.
3136         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3137
3138 2003-09-18  Angus Leeming  <leeming@lyx.org>
3139
3140         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3141         variables.
3142         (ctor): pass and store a 'Buffer const &'
3143         (buffer): new member function.
3144
3145         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3146         '*this' to the LaTeXFeatures ctor.
3147
3148 2003-09-18  Angus Leeming  <leeming@lyx.org>
3149
3150         * LColor.h:
3151         * lyxfont.C:
3152         * lyxfont.h:
3153         * lyxtext.h:
3154         * text.C: rename EnumLColor as LColor_color.
3155
3156 2003-09-18  Angus Leeming  <leeming@lyx.org>
3157
3158         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3159         remove #include "insets/insetbase.h" from cursor.h.
3160
3161 2003-09-18  Angus Leeming  <leeming@lyx.org>
3162
3163         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3164         InsetOld_code to remove #include "inset.h".
3165
3166         * iterators.C: add #include "insets/inset.h"
3167
3168 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3169
3170         * BufferView.C: remove more locking stuff that apparently doesn't
3171         do anything sensible.
3172
3173 2003-09-16  André Pönitz  <poenitz@gmx.net>
3174
3175         * paragraph.[Ch]:
3176         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3177           performance boost.
3178
3179 2003-09-16  Angus Leeming  <leeming@lyx.org>
3180
3181         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3182
3183         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3184         arg/return type.
3185
3186         * paragraph.h: remove #include "lyxfont.h". Forward declare
3187         LyXFont_size.
3188
3189 2003-09-16  Angus Leeming  <leeming@lyx.org>
3190
3191         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3192         of support/textutils.h.
3193         (isWord): move the contents of support/textutils.h's IsWordChar here.
3194
3195         * buffer.C:
3196         * lyxfind.C:
3197         * rowpainter.C:
3198         * text.C:
3199         * text2.C: add #include "paragraph.h".
3200
3201         * rowpainter.C:
3202         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3203
3204 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3205
3206         * main.C:
3207         * lyx_main.C:
3208         * lyx_cb.C:
3209         * buffer.C:
3210         * LaTeX.C: use namespace alias for lyx::support::os
3211
3212 2003-09-16  Angus Leeming  <leeming@lyx.org>
3213
3214         * bufferparams.C:
3215         * bufferview_funcs.C:
3216         * factory.C:
3217         * lyxfunc.C:
3218         * paragraph_pimpl.C:
3219         * rowpainter.C:
3220         * text.C: add #include "LColor.h".
3221
3222 2003-09-16  Angus Leeming  <leeming@lyx.org>
3223
3224         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3225         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3226         return LyXFont &.
3227         Store the FontBits::color variable as an int rather than as an
3228         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3229         file.
3230
3231         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3232         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3233         string calls together.
3234
3235         * lyxrc.C: add #include "LColor.h".
3236
3237 2003-09-15  Angus Leeming  <leeming@lyx.org>
3238
3239         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3240         a cow_ptr.
3241
3242 2003-09-15  Angus Leeming  <leeming@lyx.org>
3243
3244         * LColor.h: add an EnumLColor wrapper for LColor::color.
3245
3246         * lyxfont.[Ch] (color, setColor, realColor):
3247         * lyxtext.h, text.C (backgroundColor):
3248         pass EnumLColor args to/from the functions, rather than LColor::color
3249         ones.
3250
3251         * lyxfont.h:
3252         * lyxtext.h: forward declare EnumLColor.
3253
3254         * lyx_main.C: add #include "LColor.h".
3255
3256 2003-09-15  Angus Leeming  <leeming@lyx.org>
3257
3258         * .cvsignore: add lyx-gtk.
3259
3260 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * Chktex.C
3263         * LaTeX.C
3264         * LaTeXFeatures.C
3265         * ParagraphParameters.C
3266         * Spacing.C
3267         * buffer.C
3268         * bufferparams.C
3269         * bufferview_funcs.C
3270         * chset.C
3271         * counters.C
3272         * funcrequest.C
3273         * lyxfont.C
3274         * lyxgluelength.C
3275         * lyxlength.C
3276         * paragraph.C
3277         * paragraph_funcs.C
3278         * text3.C
3279         * vc-backend.C: remove usage of STRCONV
3280
3281 2003-09-15  Angus Leeming  <leeming@lyx.org>
3282
3283         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3284         explicitly define the color passed to the painter.
3285
3286 2003-09-15  Angus Leeming  <leeming@lyx.org>
3287
3288         * bufferparams.C (BufferParams): reorder member initializers to avoid
3289         compiler warning.
3290
3291 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3292
3293         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3294         * text.C (updateRowPositions): remove an unusual nop
3295
3296 2003-09-12  André Pönitz  <poenitz@gmx.net>
3297
3298         * BufferView_pimpl.C:
3299         * Bullet.C:
3300         * layout.h:
3301         * lyxfunc.C:
3302         * lyxlayout.[Ch]:
3303         * lyxtextclass.C:
3304         * rowpainter.C:
3305         * text.C:
3306         * text2.C:
3307         * Counters.[Ch]: finish the 'automatic counters' job
3308
3309 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3310
3311         * aspell.C: include <boost/assert.cpp> (compile fix)
3312
3313 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3314
3315         * boost.C (assertion_failed): use lyx::support::abort instead of
3316         assert.
3317
3318 2003-09-10  Angus Leeming  <leeming@lyx.org>
3319
3320         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3321         with their _fwd progeny.
3322
3323 2003-09-09  Angus Leeming  <leeming@lyx.org>
3324
3325         134 files throughtout the source tree: replace 'using namespace abc;'
3326         directives with the appropriate 'using abc::xyz;' declarations.
3327
3328 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3329
3330         * boost.C (emergencyCleanup): moved here from LAssert.c
3331         (assertion_failed): new function, called by BOOST_ASSERT
3332
3333         * several files: change Assert to BOOST_ASSERT
3334
3335 2003-09-09  Angus Leeming  <leeming@lyx.org>
3336
3337         * buffer.[Ch]: Add an Impl class and move Buffer's member
3338         variables into it. As a result move several header files out of
3339         buffer.h.
3340
3341         Add header files to lots of .C files all over the tree as a result.
3342
3343 2003-09-09  Angus Leeming  <leeming@lyx.org>
3344
3345         * buffer.[Ch]: make Buffer's member variables private. Add
3346         accessor functions.
3347
3348         Lots of changes all over the tree as a result.
3349
3350 2003-09-08  Angus Leeming  <leeming@lyx.org>
3351
3352         * graph.C: #include <config.h>.
3353
3354 2003-09-08  Angus Leeming  <leeming@lyx.org>
3355
3356         * BranchList.C:
3357         * BufferView.C:
3358         * BufferView_pimpl.C:
3359         * CutAndPaste.C:
3360         * DepTable.C:
3361         * LaTeX.C:
3362         * LaTeXFeatures.C:
3363         * LyXAction.C:
3364         * MenuBackend.C:
3365         * TextCache.C:
3366         * aspell.C:
3367         * buffer.C:
3368         * bufferlist.C:
3369         * changes.C:
3370         * chset.C:
3371         * converter.C:
3372         * counters.C:
3373         * debug.C:
3374         * graph.C:
3375         * ispell.C:
3376         * lyx_cb.C:
3377         * lyxfind.C:
3378         * lyxfunc.C:
3379         * lyxlex_pimpl.C:
3380         * lyxrc.C:
3381         * lyxrow.C:
3382         * paragraph.C:
3383         * rowpainter.C:
3384         * texrow.C:
3385         * text.C:
3386         * text2.C:
3387         * toc.C: remove redundant using directives.
3388
3389 2003-09-07  Angus Leeming  <leeming@lyx.org>
3390
3391         * LaTeXFeatures.h: remove #include "support/types.h".
3392         * ToolbarBackend.h: remove #include <algorithm>.
3393         * changes.h: remove #include <ctime>.
3394         * debug.h: remove #include <iosfwd>.
3395         * graph.h: remove #include "support/std_string.h".
3396         * lyx_main.h: remove #include <csignal>.
3397         * lyxlex_pimpl.h: remove #include <fstream>.
3398         * sgml.h: remove #include <algorithm>, <utility>.
3399         * toc.h: remove #include "support/std_ostream.h".
3400         Add #include <iosfwd>.
3401
3402 2003-09-07  Angus Leeming  <leeming@lyx.org>
3403
3404         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3405
3406         * converter.h: forward declare LatexRunParams.
3407         * encoding.h: remove #include "lyxrc.h".
3408         * lyxtext.h: remove #include "LColor.h".
3409         * lyxtextclass.h: remove #include "support/types.h".
3410         * trans.h: remove #include "tex-accent.h".
3411         * trans_mgr.h: remove #include "tex-accent.h".
3412         * insets/inset.h: remove #include "support/types.h", <vector>.
3413         * insets/insetcollapsable.h: remove #include "LColor.h".
3414         * insets/insetinclude.h: remove #include "dimension.h".
3415         * insets/insetlatexaccent.h: remove #include "dimension.h".
3416         * insets/insetoptarg.h:: remove #include "insettext.h".
3417         * insets/insettext.h: remove #include "dimension.h",
3418         <boost/shared_ptr.hpp>
3419
3420         * insets/renderers.h: add #include "dimension.h".
3421         * insets/updatableinset.h: add #include "support/types.h".
3422
3423         * many .C files: Associated changes.
3424
3425 2003-09-06  Angus Leeming  <leeming@lyx.org>
3426
3427         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3428         one, inside testInvariant.
3429
3430         * PrinterParams.C: new file.
3431         * PrinterParams.[Ch]: move the function bodies out of line.
3432
3433 2003-09-06  Angus Leeming  <leeming@lyx.org>
3434
3435         * ParagraphParameters.h: forward declare ParameterStruct rather than
3436         including its header file.
3437         (depth): moved out-of-line.
3438
3439 2003-09-06  Angus Leeming  <leeming@lyx.org>
3440
3441         * BufferView_pimpl.h:
3442         * kbmap.h:
3443         * kbsequence.h:
3444         * lyxfunc.h: forward declare LyXKeySym rather than
3445         #include "frontends/LyXKeySym.h".
3446
3447         * BufferView_pimpl.C:
3448         * kbmap.C:
3449         * kbsequence.C:
3450         * lyxfunc.C: associated changes.
3451
3452 2003-09-06  Angus Leeming  <leeming@lyx.org>
3453
3454         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3455         As a result, can remove the #include "insets/inset.h" from BufferView.h
3456
3457 2003-09-06  Angus Leeming  <leeming@lyx.org>
3458
3459         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3460         As a result, can remove the #include "insets/inset.h" from BufferView.h
3461
3462 2003-09-06  Angus Leeming  <leeming@lyx.org>
3463
3464         * buffer_funcs.C:
3465         * buffer.h:
3466         * bufferlist.C:
3467         * BufferView.C:
3468         * bufferview_funcs.C:
3469         * BufferView_pimpl.C:
3470         * CutAndPaste.C:
3471         * lyx_cb.C:
3472         * lyxfunc.C:
3473         * paragraph.h:
3474         * ParagraphParameters.C:
3475         * tabular.C:
3476         * text3.C:
3477         * toc.C:
3478         * undo_funcs.C:
3479         * frontends/controllers/ControlDocument.C:
3480         * insets/insetcaption.C: rearrange the #includes into some sort of
3481         coherent order.
3482
3483         * buffer.h: remove #includes ErrorList.h, undo.h
3484
3485 2003-09-06  Angus Leeming  <leeming@lyx.org>
3486
3487         * support/types.h: add a 'depth_type' typedef, used to store the
3488         nesting depth of a paragraph.
3489
3490         * paragraph.h:
3491         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3492         defining explicitly.
3493
3494         * buffer.h:
3495         * paragraph_funcs.h:
3496         * ParagraphParameters.h:
3497         * sgml.h: use lyx::depth_type rather than Paragraph or
3498         ParameterStruct's depth_type.
3499
3500         * buffer.h
3501         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3502
3503         * BufferView.C:
3504         * BufferView_pimpl.C:
3505         * CutAndPaste.C:
3506         * ParagraphParameters.C:
3507         * buffer_funcs.C:
3508         * bufferlist.C:
3509         * bufferview_funcs.C:
3510         * lyx_cb.C:
3511         * lyxfunc.C:
3512         * tabular.C:
3513         * text3.C:
3514         * toc.C:
3515         * undo_funcs.C:
3516         * frontends/LyXView.C:
3517         * frontends/controllers/ControlDocument.C:
3518         * frontends/controllers/ControlErrorList.C:
3519         * insets/insetbibitem.C:
3520         * insets/insetbranch.C:
3521         * insets/insetcaption.C:
3522         * insets/insetcollapsable.C:
3523         * insets/insetenv.C:
3524         * insets/insetert.C:
3525         * insets/insetfloat.C:
3526         * insets/insetfoot.C:
3527         * insets/insetfootlike.C:
3528         * insets/insetnewline.C:
3529         * insets/insetquotes.C:
3530         * insets/insettabular.C:
3531         * insets/insettext.C:
3532         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3533
3534         * frontends/controllers/ControlChanges.C: #include "changes.h".
3535
3536 2003-09-06  Angus Leeming  <leeming@lyx.org>
3537
3538         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3539         than #including paragraph.h.
3540
3541         * ParagraphList.h:
3542         * RowList.h: deleted. Superfluous.
3543
3544         * CutAndPaste.h:
3545         * iterators.h:
3546         * lyxcursor.h:
3547         * lyxtext.h:
3548         * text_funcs.h:
3549         * undo.h:
3550         * undo_funcs.h:
3551         * insets/inset.h:
3552         * insets/insettext.h: use ParagraphList_fwd.h rather than
3553         ParagraphList.h.
3554
3555         * paragraph.h: don't forward declare ParagraphList.
3556
3557         * buffer.h:
3558         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3559         rather than ParagraphList.h. paragraph.h is still needed for the
3560         Paragraph::depth_type parameters.
3561
3562         * textcursor.h: enable it to compile stand-alone in light of the
3563         above changes.
3564
3565         * bufferview_funcs.C:
3566         * iterators.C:
3567         * lyxfunc.C:
3568         * lyxrow_funcs.C:
3569         * paragraph.C:
3570         * rowpainter.C:
3571         * text.C:
3572         * text2.C:
3573         * text3.C:
3574         * text_funcs.C:
3575         * textcursor.C:
3576         * undo.C:
3577         * frontends/controllers/ControlParagraph.C:
3578         * frontends/controllers/ControlTabular.C:
3579         * insets/insetmarginal.C:
3580         * insets/insetminipage.C:
3581         * insets/insetnote.C:
3582         * insets/insetoptarg.C: add header files needed to compile again.
3583
3584 2003-09-06  Angus Leeming  <leeming@lyx.org>
3585
3586         * RowList_fwd.h: new file, forward-declaring Row rather than
3587         #including lyxrow.h.
3588
3589         * lyxrow_funcs.h:
3590         * lyxtext.h:
3591         * paragraph.h:
3592         * insets/insettext.h: use it instead of RowList.h
3593
3594         * bufferview_funcs.C:
3595         * lyxfunc.C:
3596         * lyxrow_funcs.C:
3597         * paragraph.C:
3598         * rowpainter.C:
3599         * text.C:
3600         * text2.C:
3601         * text3.C: #include "RowList.h".
3602
3603 2003-09-05  Angus Leeming  <leeming@lyx.org>
3604
3605         * factory.C (createInset):
3606         * vspace.C (c-tor): replace sscanf call with an istringstream.
3607         * ispell.C: re-add missing HP/UX headers.
3608         * lyxserver.C: re-add missing  os2 headers.
3609
3610 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3611
3612         * BranchList.C:
3613         * graph.C:
3614         * ispell.C:
3615         * lastfiles.C:
3616         * lyx_cb.C:
3617         * lyxserver.C:
3618         * texrow.C:
3619         * text3.C: re-add missing system headers, needed for 2.95.2.
3620
3621 2003-09-05  Angus Leeming  <leeming@lyx.org>
3622
3623         Changes most place everywhere due to the removal of using directives
3624         from support/std_sstream.h.
3625
3626 2003-09-05  Angus Leeming  <leeming@lyx.org>
3627
3628         Replace LString.h with support/std_string.h,
3629         Lsstream.h with support/std_sstream.h,
3630         support/LIstream.h with support/std_istream.h,
3631         support/LOstream.h with support/std_ostream.h.
3632
3633         Changes resulting throughout the tree.
3634
3635 2003-09-05  Angus Leeming  <leeming@lyx.org>
3636
3637         * sgml.h: ensure that the header file can be compiled stand-alone.
3638         * *.C: strip out redundant #includes. (320 in total.)
3639
3640 2003-09-04  Angus Leeming  <leeming@lyx.org>
3641
3642         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3643         here (from getPackages).
3644
3645         * debug.[Ch]: add a new EXTERNAL tag.
3646
3647 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3648
3649         * text2.C (cursorEnd): simplify
3650         (setCursor): adjust
3651         (getColumnNearX): adjust
3652
3653         * text.C (computeBidiTables): adjust
3654         (fill): adjust
3655
3656         * rowpainter.C (paintChars): adjust
3657         (paintSelection): adjust
3658         (paintChangeBar): adjust
3659         (paintText): adjust
3660
3661         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3662         lastPos instead.
3663         (numberOfSeparators): adjust
3664
3665 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3666
3667         * LyXAction.C:
3668         * box.[Ch]:
3669         * lfuns.h:
3670         * lyxfunc.C:
3671         * text3.C: Restricts the mouse click functionality
3672         of insets like bibtex, include, toc and floatlist to the visible
3673         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3674         up the dialogs. Cursor has to be in front of the inset (i.e.
3675         start of row) for this to function.
3676
3677 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3678
3679         * bufferview_funcs.C (currentState): output row information
3680
3681 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3682
3683         * bufferview_funcs.C (currentState): output paragraph position
3684
3685 2003-09-04  Angus Leeming  <leeming@lyx.org>
3686
3687         * FloatList.h: move out #include "Floating.h".
3688         * LaTeX.h: move out #include "DepTable.h".
3689         * LyXAction.h: move out #include "funcrequest.h".
3690         * buffer.h: move out #include "author.h", "iterators.h".
3691         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3692         * lyx_main.h: move out #include "errorlist.h".
3693         * lyxfunc.h: move out #include "FuncStatus.h".
3694         * lyxtext: move out #include "lyxcursor.h".
3695         * paragraph_pimpl.h: move out #include "counters.h".
3696
3697 2003-09-03  Angus Leeming  <leeming@lyx.org>
3698
3699         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3700         preamble_snippets list, enabling us to add snippets to the preamble
3701         only if the snippet was not there already.
3702
3703 2003-09-04  Angus Leeming  <leeming@lyx.org>
3704
3705         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3706
3707 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3710         update
3711
3712 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3713
3714         * BranchList.C: point fix, earlier forgotten
3715
3716 2003-09-02  Angus Leeming  <leeming@lyx.org>
3717
3718         * box.C (contains): renamed from 'contained' after a fantastic
3719         amount of hot air.
3720
3721 2003-09-02  John Levon  <levon@movementarian.org>
3722
3723         * BufferView.C:
3724         * lyxcursor.h:
3725         * lyxcursor.C:
3726         * lyxfunc.C:
3727         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3728
3729 2003-09-02  John Levon  <levon@movementarian.org>
3730
3731         * text2.C: simplification of cursorEnd(), including partial
3732         fix for bug 1376
3733
3734 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * buffer.C (readFile): add a space
3737
3738 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3741
3742 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * buffer.C (readFile): new function, take a filename and a
3745         ParagraphList::iterator
3746         (readFile): adjust
3747         (readFile): adjust, make it private. don't use setStream, make
3748         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3749         always contain the filename.
3750
3751         * BufferView.C (insertLyXFile): simplify and make it work for
3752         gzipped files.
3753
3754 2003-08-30  John Levon  <levon@movementarian.org>
3755
3756         * Makefile.am: fix dist (from Kayvan)
3757
3758 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * most files: change to use const Buffer refs
3761
3762 2003-08-27  André Pönitz  <poenitz@gmx.net>
3763
3764         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3765         on top of ownerPar().
3766
3767 2003-08-27  John Levon  <levon@movementarian.org>
3768
3769         * funcrequest.C: properly initialise POD members
3770
3771 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3772
3773         * lyxtext.h (top_y): move top_y from here
3774         * text.C:
3775         * text2.C:
3776         * text3.C:
3777         * BufferView.[Ch]:
3778         * BufferView_pimpl.[Ch]: to here
3779         * frontends/screen.C:
3780         * insets/insettabular.C:
3781         * insets/insettext.C: adjust
3782         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3783
3784 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * BufferView.[Ch]:
3787         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3788
3789 2003-08-26  André Pönitz  <poenitz@gmx.net>
3790
3791         * paragraph_func.[Ch] (outerPar): new function
3792
3793         * paragraph.C:
3794         * paragraph_funcs.C:
3795         * paragraph_funcs.h:
3796         * paragraph_pimpl.C:
3797         * text2.C: remove Inset::par_owner
3798
3799 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3800
3801         * lyxrow_funcs.C:
3802         * lyxtext.h:
3803         * text.C:
3804         * text2.C: eliminates the needFullRow/display() stuff
3805         altogether, putting the logic in metrics/draw in the insets.
3806
3807 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * text2.C (redoParagraphInternal, redoParagraphs):
3810         * text.C (redoParagraph): add a call to updateRowPositions at the
3811         end of each 'metrics-like' call. Remove all others.
3812         (getRow): remove the 'y-computing' version.
3813         (getRowNearY): do not compute nor return the real y. Solve the
3814         'y < 0' problem and simplify.
3815
3816 2003-08-22  Angus Leeming  <leeming@lyx.org>
3817
3818         * *.[Ch]: clean-up of licence and author blurbs.
3819         Also move config.h out of a few .h files and into a few .C files.
3820
3821 2003-08-22  André Pönitz  <poenitz@gmx.net>
3822
3823         * lyxrow.[Ch]: add x_ and *fill_ members
3824
3825         * lyxtext.h:
3826         * text.C:
3827         * rowpainter.C:
3828         * text2.C: adjust/remove prepareToPrint() calls
3829
3830 2003-08-22  André Pönitz  <poenitz@gmx.net>
3831
3832         * lyxrow.[Ch]: add  end_ member
3833
3834         * lyxrow_funcs.C: use LyXRow::end_
3835
3836         * lyxtext.h (singleWidth): add LyXFont parameter
3837
3838         * rowpainter.C:
3839         * text2.C: adjust LyXText::singleWidth() calls
3840
3841         * text.C (redoParagraph): simplify row breaking logic
3842
3843
3844 2003-08-19  André Pönitz  <poenitz@gmx.net>
3845
3846         * funcrequest.C: initialize button_ member
3847
3848         * text3.C:
3849         * rowpainter.[Ch]: interface consolidation
3850
3851 2003-08-18  André Pönitz  <poenitz@gmx.net>
3852
3853         * BufferView.C:
3854         * BufferView_pimpl.C:
3855         * lyxfind.C:
3856         * paragraph_funcs.C:
3857         * rowpainter.C:
3858         * text3.C: remove LyXScreen::draw() and fitCursor calls
3859
3860         * BranchList.h: remove spurious semicolons
3861
3862         * MenuBackend.C: fix branchlist related crash
3863
3864 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3865
3866         * BranchList.[Ch]:
3867         * InsetList.[Ch]:
3868         * LColor.[Ch]:
3869         * LyXAction.C:
3870         * Makefile.am:
3871         * MenuBackend.[Ch]:
3872         * bufferparams.[Ch]:
3873         * factory.C:
3874         * lfuns.h:
3875         * lyxfunc.C:
3876         * text3.C: implements the 'branch inset'
3877         idea. This allows the output of various versions of a document
3878         from a single source version, selectively outputing or suppressing
3879         output of parts of the text.
3880         This implementation contains a 'branch list editor' in a separate
3881         tab of the document settings dialog. Branches are user definable
3882         and have a "display colour" to distinguish them on-screen.
3883
3884         ColorHandler was somewhat cleaned up.
3885         (1) make possible a dynamically growing LColor list by allowing
3886         the graphic context cache to grow along (vector);
3887         (2) eliminate an IMHO unnecessary step in colour allocation.
3888
3889 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3890
3891         * BufferView_pimpl.C: compile fix
3892
3893 2003-08-15  André Pönitz  <poenitz@gmx.net>
3894
3895         * rowpainter.C: remove extra metrics calls
3896
3897         * lyxtext.h: merge the two constructors into a single one,
3898           pass reference to owner's par list
3899
3900         * BufferView_pimpl.C:
3901         * text.C:
3902         * text2.C: adjust
3903
3904 2003-08-15  André Pönitz  <poenitz@gmx.net>
3905
3906         * lyxrow_funcs.[Ch]:
3907         * lyxtext.h:
3908         * paragraph.h:
3909         * paragraph_funcs.C:
3910         * rowpainter.C:
3911         * text.C:
3912         * text2.C:
3913         * text3.C:
3914         * text_funcs.C: split LyXText::rowlist_ into individual
3915         Paragraph::rows_ chunks
3916
3917         * BufferView.[Ch]:
3918         * BufferView_pimpl.[Ch]:
3919         * lyxfind.C:
3920         * lyxtext.h:
3921         * text3.C: remove toggleSelection()
3922
3923 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3924
3925         * bufferlist.C: beautify two alerts (shorter text of buttons)
3926         * buffer.C: Remove redundant ' ' from message
3927         * tabular.h:
3928         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3929         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3930         rename VALIGN_CENTER to VALIGN_MIDDLE
3931
3932 2003-08-11  André Pönitz  <poenitz@gmx.net>
3933
3934         * lyxtext.h (getPar):
3935         * text.C: new function
3936
3937 2003-08-11  André Pönitz  <poenitz@gmx.net>
3938
3939         * Makefile.am:
3940         * tracer.[Ch]: remove unneeded files
3941
3942         * InsetList.[Ch]: remove resizeInsetsLyXText()
3943
3944         * lyxtext.h:
3945         * text.C:
3946         * text2.C:
3947         * text3.C: merge insertParagraphs() and appendParagraph()
3948         remove breakAgain(), update()
3949
3950         * BufferView_pimpl.[Ch]:
3951         * bufferview_funcs.[Ch]:
3952         * lyxfunc.C:
3953         * paragraph.[Ch]:
3954         * rowpainter.C:
3955         * tabular.C: adjust after text & InsetList changes.
3956
3957 2003-08-08  André Pönitz  <poenitz@gmx.net>
3958
3959         * text.C (insertChar, backspace): replace rowlist fiddling
3960         with rebreak of full par
3961
3962         * lyxtext.h:
3963         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3964         checkParagraph, updateInset): removed
3965
3966 2003-08-07  André Pönitz  <poenitz@gmx.net>
3967
3968         * paragraph.C:
3969         * text3.C: merge some LFUN handlers, remove dead code
3970
3971 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3972
3973         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3974
3975 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * text2.C (DEPM): fix part of bug 1255 and 1256
3978
3979 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3980
3981         * BufferView_pimpl.C (workAreaDispatch): change to use
3982         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3983         that are no mouse related.
3984
3985 2003-08-05  André Pönitz  <poenitz@gmx.net>
3986
3987         * BufferView.[Ch]:
3988         * BufferView_pimpl.[Ch]:
3989         * bufferview_funcs.C:
3990         * text2.C:
3991         * text3.C: rip out "deep update"
3992
3993         * textcursor.[Ch] (last_sel_cursor): remove unused member
3994
3995 2003-08-04  André Pönitz  <poenitz@gmx.net>
3996
3997         * BufferView.[Ch]:
3998         * BufferView_pimpl.[Ch]:
3999         * ParagraphParameters.C:
4000         * bufferview_funcs.C:
4001         * lyx_cb.C:
4002         * lyxfind.C:
4003         * lyxfunc.C:
4004         * text.C:
4005         * text2.C:
4006         * text3.C: replace "complicated" BufferView::update(...) calls with
4007         simpler ones.
4008
4009         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4010
4011 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4012
4013         * Makefile.am (lyx_SOURCES): add paper.h
4014
4015 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4016
4017         * Makefile.am: move things around so that both lyx-qt and
4018         lyx-xforms can be built (according to --with-frontend). Then lyx
4019         is a symbolic link to lyx-[firstfrontend]
4020
4021 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4022
4023         * Always use std::endl with lyxerr
4024
4025 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4026
4027         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4028
4029 2003-08-01  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView.[Ch]:
4032         * BufferView_pimpl.[Ch]:
4033         * lyxfunc.C:
4034         * text3.C: merge BufferView::repaint() and BufferView::update()
4035
4036 2003-08-01  José Matos  <jamatos@lyx.org>
4037
4038         * buffer.[Ch]: file_format is no longer a buffer data element.
4039
4040 2003-08-01  André Pönitz  <poenitz@gmx.net>
4041
4042         * BufferView.C:
4043         * lyxtext.h:
4044         * text.C:
4045         * text2.C: make redoParagraph more independent of current cursor
4046
4047         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4048         * text.C:
4049         * text2.C: remove unneeded members
4050
4051 2003-07-30  André Pönitz  <poenitz@gmx.net>
4052
4053         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4054
4055         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4056           create a single function...
4057
4058         * paragraph_funcs.C (moveItem): ... here.
4059
4060         * text.C:
4061           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4062
4063 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4064
4065         * LColor.[Ch]: Add comment and greyedout logical colors.
4066
4067 2003-07-30  André Pönitz  <poenitz@gmx.net>
4068
4069         * tabular.C: don't use Assert too heavily. This crashes where it
4070           shouldn't
4071
4072 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4073
4074         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4075         is disabled (bug 1232)
4076
4077 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4078
4079         * factory.C: limited 'arg' scope
4080
4081 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4082
4083         * factory.C: fixed Note submenu issues
4084
4085 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4086
4087         * factory.C: submenu for Note/Comment/Greyedout
4088
4089 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * lyx_main.C (LyX):
4092         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4093
4094 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4095
4096         * LaTeXFeatures.C:
4097         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4098         greyedout. Patch provided by Jürgen Spitzmüller.
4099
4100 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4101
4102         * kbmap.C (read): fix error message when reading bind files
4103
4104 2003-07-29  Angus Leeming  <leeming@lyx.org>
4105
4106         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4107         certainly does not do what it purports to do. I am doing it, and
4108         us, a favour by killing it.
4109
4110 2003-07-28  José Matos  <jamatos@lyx.org>
4111
4112         * buffer.C (readBody, do_writeFile):
4113         * paragraph.C(readParagraph): \end_document replaces \the_end.
4114
4115 2003-07-29  André Pönitz  <poenitz@gmx.net>
4116
4117         * BufferView.[Ch]:
4118         * BufferView_pimpl.[Ch]:
4119         * lyxfunc.C:
4120         * text2.C:
4121         * text3.C:
4122         * textcursor.[Ch]: remove toggleToggle & Co
4123
4124 2003-07-28  José Matos  <jamatos@fep.up.pt>
4125
4126         * buffer.C (readParagraph):
4127         * params_func (readParToken, readParagraph):
4128         * paragraph.C (write): \layout -> \begin_layout.
4129
4130 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4131
4132         * lyxlex_pimpl.C (setFile): clean up slightly.
4133
4134         * bufferparams.h: add compressed var
4135
4136         * buffer_funcs.C (readFile): adjust for LyXLex change
4137         (newFile): ditto + simplify
4138
4139         * buffer.C (writeFile): handle writing of compressed files
4140
4141         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4142         Check if the file is compressed and set a bufferparm if so.
4143
4144         * Makefile.am (lyx_LDADD): remove explicit -lz
4145
4146 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4147
4148         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4149         makeDocBookFile): put the real LyX version in the first line of
4150         the file
4151
4152         * version.h:
4153         * version.C.in: remove lyx_docversion
4154
4155         * tabular.C (write_attribute): add a template-based version to
4156         write enums properly
4157
4158 2003-07-28  André Pönitz  <poenitz@gmx.net>
4159
4160         * lyxtext.h:
4161         * text.C:
4162         * text2.C:
4163         * text3.C: use doubles again for x-coordinates. They are needed.
4164
4165 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * messages.C (getLocaleDir): use lyx_localedir()
4168
4169         * lyxlex_pimpl.C (setFile): compress stuff
4170
4171         * buffer.C (writeFile): add some compression stuff
4172         (do_writeFile): new func, dont call expliti close... will this
4173         breake anything?
4174
4175         * Makefile.am (lyx_LDADD): add -lz
4176
4177 2003-07-28  José Matos  <jamatos@fep.up.pt>
4178
4179         * buffer.C: increment file format.
4180         * paragraph_funcs (readParagraph, readParToken):
4181         * paragraph.C (readParagraph): add \end_layout.
4182
4183 2003-07-27  Angus Leeming  <leeming@lyx.org>
4184
4185         * Makefile.am: remove special casing for configure-time setting of
4186         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4187
4188         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4189         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4190
4191 2003-07-26  André Pönitz  <poenitz@gmx.net>
4192
4193         * paragraph_func.[Ch]:
4194         * paragraph.C (realizeFont): inline it whereever it is used
4195
4196         * rowpainter.C:
4197         * text.C:
4198         * text2.C:
4199         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4200
4201
4202 2003-07-26  André Pönitz  <poenitz@gmx.net>
4203
4204         *       lyxtext.h:
4205         * text.C:
4206         * text2.C: get rid of LyXText::need_break_row
4207
4208 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * toc.[Ch]: put namespace toc inside namespace lyx
4211
4212         * MenuBackend.C (expandToc2): adjust for lyx::toc
4213         (expandToc): ditto
4214
4215         * lyxfunc.C (dispatch): adjust for lyx::find
4216
4217         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4218         lyx::find instead. Reorganize a bit.
4219         (LyXReplace): rename to replace
4220         (LyXFind): rename to find
4221
4222         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4223         (dispatch): ditto
4224
4225 2003-07-26  André Pönitz  <poenitz@gmx.net>
4226
4227         * text.C (setHeightOfRow): restrict scope of temporary variable
4228
4229         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4230           code (never has been used?)
4231
4232 2003-07-27  Asger Alstrup  <alstrup@local>
4233
4234         * text.C (fill): Optimise algorithm to exploit that we can reuse
4235         the LyXFont for many characters.
4236         (setHeightOfRow): Same thing.
4237         (rowBreakPoint): Same thing.
4238
4239 2003-07-26  Asger Alstrup  <alstrup@local>
4240
4241         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4242
4243         * text.C (singleWidth): Spurious font copying in hot-spot
4244         singleWidth avoided. Reorder tests for arabic for efficiency.
4245
4246         * text.C (fill): handle empty paragraphs better.
4247
4248 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4249
4250         * ispell.C:
4251         * encoding.h: add includes
4252
4253         * lyxrc.C: remove reading of bind files
4254
4255         * lyx_main.C (init): setup bindings and menus only if we have a
4256         gui.
4257
4258         * kbmap.C (read): new method. Do the actual reading of bind
4259         files.
4260
4261         * converter.C (dvipdfm_options):
4262         * bufferparams.C:
4263         * lyxrc.C (read):
4264         (output): adapt PAPER_* enums.
4265
4266         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4267
4268         * bufferparams.h: remove paper-related enums from there
4269
4270         * paper.h: New file. A trivial header file to hold paper-related
4271         enums. It should later expand to contain many paper-related
4272         horrors access.
4273
4274         * lyxrc.C: declare extern displayTranslator
4275
4276 2003-07-27  José Matos  <jamatos@fep.up.pt>
4277
4278         * tabular.[Ch] (linuxdoc): add support for tables and figures
4279         (linuxdoc).
4280
4281 2003-07-27  José Matos  <jamatos@fep.up.pt>
4282
4283         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4284         consistency in both functions.
4285         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4286
4287 2003-07-26  Asger Alstrup  <alstrup@local>
4288
4289         * rowpainter.C (paintRows): Change algorithm to work directly on
4290         the insets rather than asking every character in the document
4291         whether its an inset.
4292
4293 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * buffer.C (openFileWrite): factorize some code
4296
4297 2003-07-26  Angus Leeming  <leeming@lyx.org>
4298
4299         * lyx_cb.C:
4300         * lyx_main.[Ch]: replace occurances of system_tempdir with
4301         os::getTmpDir().
4302
4303 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * rename Inset to InsetOld
4306
4307 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4308
4309         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4310         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4311         which I think is a bit clearer. EDIT is gone, since it was
4312         premature optimisation, and broken for mathed anyway.
4313         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4314         with cursor positioning in insets as well (math insets still do not
4315         work, but that's a different story anyway.) It mysteriously
4316         crashes sometimes with undo in the first paragraph, but I'm fairly
4317         confident that this is a compiler bug.
4318
4319 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4320
4321         * paragraph.C (Paragraph): adjust for new clone return type
4322         (operator==): ditto
4323         (copyIntoMinibuffer): ditto
4324
4325 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4326
4327         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4328         by not having a special case, and always doing a full rebreak of
4329         the document after undo.
4330
4331 2003-07-23  Angus Leeming  <leeming@lyx.org>
4332
4333         * factory.C (createInset): InsetExternal::setParams now takes a
4334         Buffer const * arg.
4335
4336 2003-07-23  Angus Leeming  <leeming@lyx.org>
4337
4338         * factory.C (createInset): changed interface to the external and
4339         graphics mailers' string2params functions.
4340
4341 2003-07-23  Angus Leeming  <leeming@lyx.org>
4342
4343         * factory.C (createInset): pass a
4344         Buffer const * parameter to InsetExternalMailer's string2params.
4345
4346 2003-07-22  John Levon  <levon@movementarian.org>
4347
4348         * Thesaurus.h: include the right aiksaurus header
4349
4350 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4351
4352         * MenuBackend.C (expand): check menu shortcuts unconditionally
4353
4354 2003-07-21  Angus Leeming  <leeming@lyx.org>
4355
4356         * factory.C (createInset): pass a
4357         buffer_path parameter to InsetGraphicsMailer's string2params.
4358
4359 2003-07-21  Angus Leeming  <leeming@lyx.org>
4360
4361         * BufferView_pimpl.C (buffer):
4362         * buffer.C (d-tor):
4363         * lyx_main.C (LyX):
4364         * lyxfunc.C (dispatch):
4365         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4366         rather than the grfx shortcut.
4367
4368 2003-07-21  André Pönitz  <poenitz@gmx.net>
4369
4370         * rowpainter.C: remove unused variables
4371
4372         * tabular_funcs.C:
4373         * tabular_funcs.h: move to tabular.C
4374         * Makefile.am: adjust
4375
4376         * tabular.[Ch]: basic optical cleaning
4377
4378         * author.h: pass references, not values
4379
4380 2003-07-18  André Pönitz  <poenitz@gmx.net>
4381
4382         * lyxtext.h:
4383         * metricsinfo.C:
4384         * metricsinfo.h:
4385         * rowpainter.C:
4386         * text.C:
4387         * text2.C:
4388         * text3.C: two-phase drawing for InsetText and InsetTabular
4389         some float -> int changes.
4390
4391 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * lyx_main.C: fix the fix
4394
4395 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * lyx_main.C: fix a crash in batch mode if no files specified
4398         * converter.C: ws
4399
4400 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * format.[Ch] (papersize): moved to BufferParams
4403         * converter.[Ch] (dvips_options): moved to BufferParams
4404         (dvipdfm_options): moved to anon namespace
4405         * bufferparams.[Ch]: added above functions.
4406
4407 2003-07-17  André Pönitz  <poenitz@gmx.net>
4408
4409         * lyxtext.h:
4410         * rowpainter.C:
4411         * text2.C: don't call inset->update() anymore
4412
4413         * metricsinfo.[Ch]: add convenience constructor
4414
4415 2003-07-16  André Pönitz  <poenitz@gmx.net>
4416
4417         * lyxcursor.[Ch]:
4418         * lyxfunc.[Ch]:
4419         * text.C:
4420         * text2.C: replace the LyXCursor::irow_ member with
4421          on-demand computation of the value
4422
4423 2003-07-16  John Levon  <levon@movementarian.org>
4424
4425         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4426
4427 2003-07-15  André Pönitz  <poenitz@gmx.net>
4428
4429         * text.C:
4430         * text2.C: remove no more needed refresh_row
4431
4432 2003-07-15  André Pönitz  <poenitz@gmx.net>
4433
4434         * lyxtext.h:
4435         * rowpainter.C:
4436         * text2.C:
4437         * text3.C: refresh_status tristate -> need_update bool
4438
4439 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * lyxtext.h (init): remove reinit argument (act as if always true)
4442         * text2.C: adjust to that
4443
4444 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4445
4446         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4447         * text3.C: use it to delete selections in some cases
4448         (bugs 441, 673, 702, 954).
4449
4450 2003-07-14  André Pönitz  <poenitz@gmx.net>
4451
4452         * rowpainter.[Ch]: reduce interface
4453
4454 2003-07-14  André Pönitz  <poenitz@gmx.net>
4455
4456         * BufferView_pimpl.C:
4457         * text2.C: adjust after removing unused BufferView * argument
4458
4459 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * text2.C (init): fix a crash fired on resize
4462
4463 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * buffer.[Ch]: added new closing signal
4466         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4467         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4468         BufferView::Pimpl via the closing the signal
4469
4470 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * buffer.[Ch]: take out all bv-related from buffer
4473         * BufferView.C:
4474         * BufferView_pimpl.[Ch]: connect to new signals
4475         * CutAndPaste.C: removed useless asserts
4476         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4477         * lyxvc.[Ch]:
4478         * vc-backend.[Ch]:
4479         * lyxfunc.C: moved view-related funciontality from vc here
4480         * paragraph.C: removed outdated comments
4481         * text.C: ws
4482
4483 2003-07-10  André Pönitz  <poenitz@gmx.net>
4484
4485         * BufferView_pimpl.C:
4486         * tabular.h:
4487         * tabular_funcs.C:
4488         * text.C:
4489         * text2.C: remove InsetText::InnerCache, clean up consequences
4490
4491 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4492
4493         * ispell.C: fix two typos in error messages
4494
4495 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4496
4497         * Extend Note inset to other forms of annotation like Comment
4498         and Greyedout. Right button click gives dialog.
4499
4500         Files modified or added (+):
4501
4502         * insetnote.[Ch]
4503         * FormNote.[Ch]      +
4504         * ControlNote.[Ch]   +
4505         * form_note.fd       +
4506         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4507         frontends/controllers
4508         * xforms/Dialogs.C
4509         * factory.C
4510
4511 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4512
4513         * aspell.C: add missing namespace lyx::support
4514
4515 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * BufferView.[Ch] (newFile): Add
4518         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4519         * LaTeX.[Ch] (message): added this signal and use it
4520         * buffer.[Ch] (busy, message): added these signals and use them
4521         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4522         * converter.C:
4523         * exporter.C:
4524         * format.C:
4525         * importer.C: use buffer signals instead of direct bv calling
4526         * lyx_cb.[Ch] (ShowMessage): removed
4527         * lyx_main.C:
4528         * lyxfunc.C:
4529         * paragraph_funcs.C:
4530         * text2.C: use buffer signals
4531
4532 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * introduce namespace lyx::graphics
4535
4536 2003-07-02  André Pönitz  <poenitz@gmx.net>
4537
4538         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4539
4540 2003-07-01  André Pönitz  <poenitz@gmx.net>
4541
4542         * text.C:
4543         * text2.C:
4544         * text3.C:
4545         * text_funcs.[Ch]:
4546         * textcursor.h:
4547         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4548           text*.C to text_func.C
4549
4550 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * introduce namespace lyx::support
4553
4554 2003-06-30  André Pönitz  <poenitz@gmx.net>
4555
4556         * Chktex.C:
4557         * funcrequest.C:
4558         * lyxtext.h:
4559         * text.C: re-enable --with-included-string
4560
4561 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * textcursor.C: add <config.h>
4564
4565         * text.C (getWord): remove const from word_location arg
4566
4567         * lyxvc.C (getLogFile): fix const type order
4568
4569         * lyxtext.h: remove const from word_location arg, add arg name
4570
4571         * lyxlayout.h: currect type on labeltype.
4572
4573         * importer.C: correct \file
4574
4575         * converter.C (intToFormat): use std:: on ret val, ws changes
4576
4577         * bufferlist.h: correct \file
4578
4579         * buffer.C (makeLinuxDocFile): fix const type order
4580         (makeDocBookFile): ditto
4581         (fillWithBibKeys): use std:: on stdlib args.
4582
4583         * CutAndPaste.C: fix authors.
4584         (availableSelections): use std:: on return vector
4585
4586 2003-06-27  André Pönitz  <poenitz@gmx.net>
4587
4588         * BufferView_pimpl.C:
4589         * bufferview_funcs.C:
4590         * lyxcursor.C:
4591         * lyxcursor.h:
4592         * lyxfunc.C:
4593         * lyxtext.h:
4594         * rowpainter.C:
4595         * text.C:
4596         * text2.C:
4597         * text3.C: remove LyXCursor::row_ member
4598
4599         * lyxtext.h:
4600         * text.C: rename fullRebreak() to partialRebreak() and implement
4601           a fullRebreak() that really bereks fully
4602
4603         * textcursor.h: new struct for cursor-related data
4604
4605 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4606
4607         * lyx_main.C (LyX): get full path of document loaded on the
4608         command line
4609
4610 2003-06-26  André Pönitz  <poenitz@gmx.net>
4611
4612         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4613           remove unused/broken operator>,<,>=.
4614
4615         *       text.C: remove only use of broken operator<= in an Assert().
4616
4617 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4618
4619         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4620         moved errorlist_.clear to showErrorList
4621
4622 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4623
4624         * converter.C (scanLog, runLaTeX):
4625         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4626         move the bv->showErrorList call to the callers
4627         * lyxfunc.C: i.e. here...
4628         * text2.C: and here
4629         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4630         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4631         namespace, the second to...
4632         * buffer_funcs (BufferFormat, parseErrors): added
4633         * errorlist.C (ErrorList(TeXErrors const &)): removed
4634
4635 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4636
4637         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4638
4639 2003-06-24  "Garst R. Reese" <reese@isn.net>
4640
4641         * debug.C: fix typo
4642
4643 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4644
4645         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4646
4647         * version.C.in: change docversion to 1.4
4648
4649 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4650
4651         * buffer.C: fix a bug just introduced
4652
4653 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4654
4655         * buffer.[Ch]: added the parseError signal and use it, removed
4656         sgmlError
4657         * BufferView.[Ch] (addError): moved to ...
4658         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4659         to the Buffer::parseError signal to catch (guess what) parse errors
4660         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4661
4662 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4665         ability to create a buffer and to return an existing one from
4666         the list. Moved these functions to...
4667         * buffer_funcs.[Ch]: added
4668         * BufferView.[Ch] (loadLyXFile): added
4669         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4670         job removed from bufferlist::loadLyXFile.
4671         * buffer.C (setReadOnly): make it work without view
4672         (i.e added an if (users))
4673
4674 2003-06-19  Angus Leeming  <leeming@lyx.org>
4675
4676         * lfuns.h:
4677         * LyXAction.C (init):
4678         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4679         with LFUN_DIALOG_SHOW <name> <data>.
4680
4681 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4682
4683         * CutAndPaste.C (availableSelections): small compilation fix for
4684         ancient (gcc 2.9x) compilers
4685
4686 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * text3.C (cursorNext): add tmp var
4689
4690         * text2.C (updateCounters): for function calling out of for clause
4691         (replaceSelectionWithString): ditto
4692         (insertStringAsParagraphs): ditto
4693         (getColumnNearX): add tmp var
4694         (setCursorFromCoordinates): add tmp var
4695         (cursorDownParagraph): add tmp var
4696         (deleteEmptyParagraphMechanism): add tmp var
4697
4698         * text.C (insertChar): add tmp var
4699
4700         * rowpainter.C (paintDepthBar): add tmp var
4701
4702         * CutAndPaste.C (availableSelections): potentially check all
4703         paragraphs in a cut to fill the shown strings.
4704
4705 2003-06-18  André Pönitz  <poenitz@gmx.net>
4706
4707         * kbmap.[Ch]: use vector<> instead of list<>
4708
4709 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4710
4711         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4712         pasteSelection with index
4713
4714         * text2.C (pasteSelection): modify, call pasteSelection with index
4715
4716         * paragraph.C (asString): reimplement version with no interval to
4717         call the one with interval.
4718
4719         * lyxtext.h: add index arg to pasteSelection
4720
4721         * MenuBackend.C (MenuItem): handle PasteRecent
4722         (Menu::read::Menutags): add md_pasterecent
4723         (read): handle it
4724         (expandPasteRecent): new function
4725         (expand): use it
4726
4727         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4728
4729         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4730         the limited stack
4731         (availableSelections): new function
4732
4733 2003-06-17  Angus Leeming  <leeming@lyx.org>
4734
4735         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4736
4737 2003-06-17  Angus Leeming  <leeming@lyx.org>
4738
4739         * lfuns.h:
4740         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4741
4742         * lyxfunc.C (dispatch): invoke it.
4743
4744 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4745
4746         * iterators.C (operator++, ParPosition): reintroduce some
4747         const_cast for the benefit of older compilers.
4748
4749 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4750
4751         * text3.C (dispatch): do not modify clipboard when doing
4752         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4753         LFUN_DELETE_SKIP on a selection selection
4754
4755 2003-06-16  André Pönitz  <poenitz@gmx.net>
4756
4757         * BufferView.C:
4758         * buffer.C:
4759         * buffer.h:
4760         * paragraph.C:
4761         * tabular.[Ch]: IU of clone() and getLabelList();
4762
4763 2003-06-13  André Pönitz  <poenitz@gmx.net>
4764
4765         * tabular.h: compactification
4766
4767 2003-06-12  André Pönitz  <poenitz@gmx.net>
4768
4769         * tabular.C:
4770         * tabular.h:
4771         * tabular_funcs.h: some renaming plus whitespace
4772
4773 2003-06-12  André Pönitz  <poenitz@gmx.net>
4774
4775         * BufferView.C:
4776         * BufferView_pimpl.C:
4777         * CutAndPaste.C:
4778         * buffer.C:
4779         * iterators.[Ch]:
4780         * lyxfunc.C:
4781         * text.C:
4782         * toc.C: Return a Paragraph & for ParIterator::operator*()
4783
4784 2003-06-11  John Levon  <levon@movementarian.org>
4785
4786         * lyx_main.C:
4787         * ToolbarBackend.h:
4788         * ToolbarBackend.C: add "Toolbars" section and
4789         put the flags there
4790
4791 2003-06-10  Angus Leeming  <leeming@lyx.org>
4792
4793         * lfuns.h:
4794         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4795
4796         * lyxfunc.C (dispatch): invoke it.
4797
4798 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * main.C: protect <ios> with HAVE_IOS
4801         (main): protect sync_with_stdio with HAVE_IOS
4802
4803 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4804
4805         * text2.C (cutSelection): adjust
4806         (pasteSelection): adjust
4807
4808         * messages.C: handle get of empty string
4809
4810         * main.C (main): use sync_with_stdio(false)
4811
4812         * lyxfunc.C (dispatch): adjust
4813
4814         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4815         (WriteAs): remove unneeded BufferView arg.
4816
4817         * bufferparams.h: use correct types on papersize, papersize2 and
4818         paperpackage.
4819
4820         * bufferparams.C (readToken): adjust for type
4821         (writeLaTeX): add missing cases to switch.
4822
4823         * bufferlist.C (quitWriteBuffer): adjust
4824         (close): adjust
4825
4826         * buffer.C (asciiParagraph): remove some commented code.
4827
4828         * CutAndPaste.C: remove current_view extern variable.
4829         (cutSelection): add BufferParams arg.
4830         (eraseSelection): add BufferParams arg.
4831         (pasteSelection): add Buffer const & arg
4832
4833 2003-06-07  John Levon  <levon@movementarian.org>
4834
4835         * buffer.C:
4836         * paragraph_funcs.C:
4837         * paragraph_pimpl.C:
4838         * text.C:
4839         * text2.C:
4840         * paragraph.h:
4841         * paragraph.C: allow InsetERT to freely space lines,
4842         and some consolidation of code
4843
4844 2003-06-06  José Matos  <jamatos@fep.up.pt>
4845
4846         * buffer.C (makeDocBookFile): fix bug #821
4847
4848 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4851
4852 2003-06-04  Angus Leeming  <leeming@lyx.org>
4853
4854         * buffer.C: bump format to 224.
4855
4856 2003-06-05  André Pönitz  <poenitz@gmx.net>
4857
4858         * text2.C (redoParagraphs): remove two const_cast<>
4859
4860 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4861
4862         * ParagraphList.h: remove last remnants of NO_STD_LIST
4863
4864 2003-06-03  Angus Leeming  <leeming@lyx.org>
4865
4866         * factory.C (createInset): small change to the way InsetExternal's params
4867         are set.
4868
4869 2003-06-04  André Pönitz  <poenitz@gmx.net>
4870
4871         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4872
4873         * paragraph_pimpl.h:
4874         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4875
4876         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4877
4878         * undo_funcs.C: make some simple cases of undo work again
4879
4880 2003-06-03  John Levon  <levon@movementarian.org>
4881
4882         * ispell.C: HPUX doesn't have sys/select.h
4883         (from Albert Chin)
4884
4885 2003-06-03  John Levon  <levon@movementarian.org>
4886
4887         * CutAndPaste.C: update tabular and include inset
4888         buffer references
4889
4890         * buffer.h:
4891         * paragraph.h:
4892         * paragraph.C: remove owningBuffer(), don't pass Buffer
4893         to clone()
4894
4895         * factory.C: insetGraphicsParams changed
4896
4897 2003-06-02  John Levon  <levon@movementarian.org>
4898
4899         * LyXAction.C:
4900         * factory.C:
4901         * lfuns.h:
4902         * lyxfunc.C:
4903         * text3.C: remove insetparent
4904
4905 2003-06-02  John Levon  <levon@movementarian.org>
4906
4907         * buffer.h:
4908         * buffer.C: fix inset_iterator.end(), move out of line
4909         (bug 1149)
4910
4911 2003-06-01  John Levon  <levon@movementarian.org>
4912
4913         * text3.C: use a proper cut/paste when doing inset
4914         insert (from Jürgen Spitzmüller)
4915
4916 2003-06-01  John Levon  <levon@movementarian.org>
4917
4918         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4919
4920 2003-05-30  André Pönitz  <poenitz@gmx.net>
4921
4922         * rowpainter.C: unify second drawing phase
4923
4924 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * trans_mgr.C: remove one case of current_view
4927
4928         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4929
4930         * paragraph_funcs.h: remove paragraph.h include
4931
4932         * paragraph.h: delete NO_STD_LIST stuff
4933
4934         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4935
4936         * buffer.h: remove paragraph.h include
4937
4938         * ParagraphList.C: delete file
4939
4940         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4941
4942         * toc.C (getTocList): adjust
4943
4944         * paragraph_pimpl.C (validate): adjust
4945
4946         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4947
4948         * paragraph.C (Paragraph): adjust
4949         (getPositionOfInset): use const_iterator, adjust
4950         (bibitem): use const_iterator, adjust
4951         (setInsetOwner): adjust
4952
4953         * iterators.C (operator++): adjust
4954
4955         * InsetList.[Ch]: Replace selfmade iterator with standard
4956         vector::iterator also introduce const_iterator. Remove getPos,
4957         getInset and setInset from InsetTable. Adjust accordingly.
4958
4959         * BufferView.C (lockInset): adjust
4960         (ChangeInsets): adjust
4961
4962         * tabular.[Ch]: delete commented same_id functions
4963
4964 2003-05-28  John Levon  <levon@movementarian.org>
4965
4966         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4967
4968 2003-05-28  André Pönitz  <poenitz@gmx.net>
4969
4970         * metricsinfo.[Ch]: remove 'fullredraw' member
4971
4972 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4973
4974         * lyxtextclass.C (operator): remove caching.
4975
4976 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * text3.C: adjust
4979
4980         * text2.C (cursorBottom): adjust
4981         (setCounter): use ParagraphList::find, adjust
4982
4983         * text.C (workWidth): use ParagraphList::find, adjust
4984
4985         * lyxcursor.C (LyXCursor): adjust
4986
4987         * buffer.C (inset_iterator): adjust
4988
4989         * ParagraphList.h: make iterator(value_type) private, make
4990         ParagraphList a friend of iterator.
4991
4992         * ParagraphList.C (find): new function
4993
4994         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4995
4996 2003-05-27  André Pönitz  <poenitz@gmx.net>
4997
4998         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4999
5000 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5001
5002         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5003
5004 2003-05-26  John Levon  <levon@movementarian.org>
5005
5006         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5007
5008 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * remove same_id from function signatures, adjust.
5011
5012 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5015
5016         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5017
5018         * paragraph.C (Paragraph): get rid of same_ids parameter
5019
5020         * ParagraphList.C (insert): adjust
5021         (push_back): adjust
5022
5023 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * paragraph_funcs.C (breakParagraph): adjust
5026         (breakParagraphConservative): adjust
5027
5028         * buffer.C (readParagraph): adjust
5029
5030         * ParagraphList.C (insert): take a reference instead of a pointer
5031         (insert): adjust
5032
5033         * paragraph.[Ch] (id): new function
5034
5035         * bufferlist.C (newFile): adjust
5036
5037         * ParagraphList.C (ParagraphList): adjust
5038         (assign): adjust
5039         (push_back): take a reference instead of a pointer.
5040
5041         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5042
5043         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5044         instead.
5045
5046         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5047         set else use old code.
5048
5049         * ParagraphList.C: remove all NO_NEXT code and only compile this
5050         code of NO_STD_LIST is set.
5051
5052 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5053
5054         * BufferView_pimpl.C:
5055         * TextCache.C:
5056         * TextCache.h:
5057         * bufferlist.C:
5058         * errorlist.h:
5059         * format.C:
5060         * format.h:
5061         * graph.C:
5062         * lyxfunc.C:
5063         * lyxrc.C:
5064         * graphics/GraphicsConverter.C:
5065         * graphics/PreviewLoader.C: header adjustment
5066
5067 2003-05-23  Angus Leeming  <leeming@lyx.org>
5068
5069         * LaTeXFeatures.[Ch] (useBabel): new method.
5070         * bufferparams.C (writeLaTeX): use it.
5071
5072 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * ParagraphList.h (set): remove unused function.
5075
5076 2003-05-23  André Pönitz  <poenitz@gmx.net>
5077
5078         * BufferView.C:
5079         * BufferView_pimpl.C:
5080         * buffer.C:
5081         * buffer.h:
5082         * lyxfunc.C:
5083         * undo_funcs.C: setUndo reworked
5084
5085         * iterators.[Ch]: add access to topmost ParagraphList
5086
5087         * lyxtext.[Ch] (workWidth): add a const
5088
5089 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5090
5091         * texrow.[Ch] (increasePos): remove function
5092         * exporter.C (export): removed unused var and outdated comment
5093
5094 2003-05-23  Angus Leeming  <leeming@lyx.org>
5095
5096         * latexrunparams.h: rename fragile as moving_arg.
5097         * paragraph.C (simpleTeXOnePar): ditto.
5098         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5099
5100 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5101
5102         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5103         (createUndo): ditto
5104         (textUndoOrRedo): comment out a currently unused var.
5105
5106         * paragraph.h (NO_NEXT): enable NO_NEXT
5107
5108         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5109
5110         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5111
5112         * exporter.C (Export): adjust for removeAutoInsets removal.
5113
5114         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5115
5116         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5117
5118         * BufferView.[Ch] (removeAutoInsets): delete function
5119
5120 2003-05-22  Angus Leeming  <leeming@lyx.org>
5121
5122         * latexrunparams.h: add a free_spacing variable.
5123
5124         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5125         to pass moving_arg, as the data is stored in runparams.fragile.
5126
5127         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5128         to Inset::latexOptional or to simpleTeXOnePar.
5129
5130         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5131         free_spacing arg to Inset::latexOptional.
5132
5133         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5134         free_spacing arg.
5135
5136 2003-05-22  Angus Leeming  <leeming@lyx.org>
5137
5138         * latexrunparams.h: add fragile and use_babel variables.
5139
5140         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5141         * buffer.C (makeLaTeXFile): store this returned value in
5142         runparams.use_babel, thus passing it to the inset::latex methods.
5143
5144         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5145         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5146
5147         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5148         longer has a fragile arg, as it is stored in runparams.fragile.
5149
5150         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5151         moving_arg parameter as the data is stored in runparams.fragile.
5152
5153         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5154         a fragile parameter as the data is stored in runparams.fragile.
5155
5156 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5159
5160 2003-05-22  Angus Leeming  <leeming@lyx.org>
5161
5162         * latexrunparams.h: add a 'bool nice' which defaults to false.
5163
5164         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5165         now encapsulated within runparams.
5166
5167         * bufferlist.C (updateIncludedTeXfiles):
5168         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5169
5170 2003-05-22  Angus Leeming  <leeming@lyx.org>
5171
5172         * latexrunparams.h: new file containing struct LatexRunParams.
5173         * Makefile.am: add new file.
5174
5175         * LaTeX.[Ch] (c-tor, run):
5176         * buffer.[Ch] (makeLaTeXFile):
5177         * bufferlist.[Ch] (updateIncludedTeXfiles):
5178         * converter.C (convert, scanLog):
5179         * converter.[Ch] (runLaTeX):
5180         * exporter.C (Export):
5181         * paragraph.[Ch] (simpleTeXOnePar):
5182         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5183         * paragraph_funcs.[Ch] (latexParagraphs):
5184         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5185         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5186         pass around a LatexRunParams parameter.
5187
5188 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * paragraph.[Ch]: remove unused constructor
5191
5192         * ParagraphList.C (erase): new function, taking two iterators
5193
5194 2003-05-22  André Pönitz  <poenitz@gmx.net>
5195
5196         * undo_funcs.C: remove duplicated code
5197
5198         * iterator.[Ch]: operator=
5199
5200 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * tabular.C (SetMultiColumn): ws changes
5203
5204         * rowpainter.C (paintFirst): get rid of a ->previous
5205
5206         * lyx_cb.C (getPossibleLabel): parlist simplification
5207
5208         * BufferView.C (ChangeInsets): simplify slightly.
5209
5210 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5211
5212         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5213         * lfuns.h: new LFUN_SPACE
5214         * lyxfunc.C: protected space has a new lfun
5215         * paragraph_funcs.C: read new space insets
5216         * text3.C:
5217         * factory.C: handle new space insets
5218
5219 2003-05-22  André Pönitz  <poenitz@gmx.net>
5220
5221         * BufferView.C:
5222         * BufferView_pimpl.C:
5223         * buffer.[Ch]:
5224         * lyxfunc.C:
5225         * undo_funcs.C: return a ParIterator from getParFromID.
5226
5227         * iterators.[Ch]: add two const's
5228
5229 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * toc.C (getTocList): adjust
5232
5233         * iterators.[Ch]: rework for parlist
5234
5235         * buffer.C (par_iterator_begin): adjust
5236         (par_iterator_end): adjust
5237
5238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5239
5240         * BufferView.C (removeAutoInsets): adjust
5241         (ChangeInsets): adjust
5242
5243 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * text.C (top_y): fix bug 1110
5246
5247 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * errorlist.[Ch]: added
5250         * buffer.C:
5251         * BufferView.[Ch]:
5252         * BufferView_pimpl.C:
5253         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5254         instead
5255
5256 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * Makefile.am: ensure that lyx is relinked upon changes to the
5259         various "convenience" libs.
5260
5261 2003-05-20  Angus Leeming  <leeming@lyx.org>
5262
5263         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5264         files are compiled in alphabetical order again.
5265
5266         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5267
5268 2003-05-19  Angus Leeming  <leeming@lyx.org>
5269
5270         * gettext.[Ch]: remove "char const * _(char const *)".
5271
5272 2003-05-19  André Pönitz  <poenitz@gmx.net>
5273
5274         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5275
5276         * Makefile.am:
5277         * BufferView.C:
5278         * DepTable.h:
5279         * LaTeXFeatures.C:
5280         * buffer.C:
5281         * lyxfont.C:
5282         * lyxlex.h:
5283         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5284
5285 2003-05-19  André Pönitz  <poenitz@gmx.net>
5286
5287         * buffer.C:
5288         * lyxlayout.[Ch]:
5289         * lyxtextclass.[Ch]:
5290         * paragraph.C:
5291         * paragraph_funcs.[Ch]:
5292         * text2.C:
5293         * text3.C: more insetenv work
5294
5295 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * ParagraphParameters.C (params2string): small bug fixed
5298
5299 2003-05-16  André Pönitz  <poenitz@gmx.net>
5300
5301         * debug.C:
5302         * bufferview_funcs.C: patch from Kornel Benko to prevent
5303           crash when _(...) is called twice in a statement
5304
5305 2003-05-16  André Pönitz  <poenitz@gmx.net>
5306
5307         * BufferView.C:
5308         * lyxfunc.C:
5309         * text.C:
5310         * text2.C:
5311         * text3.C:
5312         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5313
5314 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * lyx_main.C (init): remove spurious static_cast
5317
5318 2003-05-14  André Pönitz  <poenitz@gmx.net>
5319
5320         * BufferView.C: fix format string
5321
5322 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * BufferView.[Ch] (insertErrors): removed
5325         * BufferView.[Ch] (showErrorList): added
5326         * buffer.C (runChkTeX):
5327         * converter.C (scanLog): call showErrorList instead of inserterrors
5328
5329 2003-05-13  André Pönitz  <poenitz@gmx.net>
5330
5331         * BufferView_pimpl.C:
5332         * buffer.C:
5333         * bufferview_func.C:
5334         * MenuBackend.C:
5335         * lyxfunc.C:
5336         * lyxrc.C:
5337         * tex-accent.C:
5338         * text3.C:
5339         * toc.C:
5340         * tabular_funcs.h: tostr() from its own header
5341
5342         * ParagraphParameters.C:
5343         * ToolbarBackend.C:
5344         * bufferparams.C:
5345         * format.C:
5346         * lyxlex_pimpl.C:
5347         * text3.C: STRCONV()
5348
5349 2003-05-12  André Pönitz  <poenitz@gmx.net>
5350
5351         * BufferView.C:
5352         * BufferView_pimpl.C:
5353         * CutAndPaste.C:
5354         * LaTeX.C:
5355         * LaTeXFeatures.C:
5356         * ParagraphParameters.C:
5357         * buffer.C:
5358         * bufferlist.C:
5359         * bufferparams.C:
5360         * bufferview_funcs.C:
5361         * converter.C:
5362         * counters.C:
5363         * debug.C:
5364         * exporter.C:
5365         * format.C:
5366         * importer.C:
5367         * lyx_cb.C:
5368         * lyx_main.C:
5369         * lyxfont.C:
5370         * lyxfunc.C:
5371         * lyxvc.C:
5372         * paragraph.C:
5373         * paragraph_funcs.C:
5374         * tabular.C:
5375         * tabular_funcs.C:
5376         * text2.C:
5377         * text3.C:  boost::format -> bformat  all over the place
5378
5379
5380 2003-05-09  André Pönitz  <poenitz@gmx.net>
5381
5382         * LColor.[Ch]: Pimpl the #include <map> away
5383
5384 2003-05-09  John Levon  <levon@movementarian.org>
5385
5386         * bufferlist.C: never remove emergency saves
5387
5388 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * Makefile.am: better lib building
5391
5392 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5395         instead.
5396         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5397         (simpleTeXSpecialChars): adjust
5398         (simpleTeXSpecialChars): adjust
5399         * paragraph.C (simpleTeXOnePar): adjust
5400         * buffer.C (makeLaTeXFile): adjust
5401
5402         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5403
5404         * text2.C (changeDepth): parlist cleanup
5405         (getColumnNearX): ditto
5406
5407         * rowpainter.C (getLabelFont): parlist cleanup
5408
5409         * bufferlist.C (newFile): parlist cleanup
5410
5411         * CutAndPaste.C (eraseSelection): parlist cleanup
5412
5413         * BufferView_pimpl.C (trackChanges): parlist cleanup
5414         (dispatch): ditto
5415
5416         * BufferView.C (lockInset): parlist cleanup.
5417         (ChangeInsets): ditto
5418
5419 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * CutAndPaste.h: Update file header.
5422
5423         * CutAndPaste.C: Update file header.
5424         Store the parts cut out of the Document in a limited_stack.
5425         (copySelection): adjust
5426         (pasteSelection): new function, takes the index in the limited stack.
5427         (nrOfParagraphs): adjust
5428         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5429         simplify error inset insertion.
5430         (checkPastePossible): adjust
5431
5432 2003-05-06  John Levon  <levon@movementarian.org>
5433
5434         * text2.C: don't cast wrap inset to float
5435
5436 2003-05-05  André Pönitz  <poenitz@gmx.net>
5437
5438         * iterator.C:
5439         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5440
5441         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5442           few naked Paragraph *.
5443
5444 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5445
5446         * bufferparams.C: Output warning if a document with missing
5447         TeX document class is loaded
5448         * exporter.C: Disable TeX exports if the document class is missing
5449         * lyxtextclass.C:
5450         * lyxtextclass.h:
5451         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5452         isTeXClassAvailable()
5453
5454 2003-05-03  John Levon  <levon@movementarian.org>
5455
5456         * BufferView.h:
5457         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5458         explicit cursor show/hide
5459
5460         * BufferView_pimpl.h:
5461         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5462         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5463
5464         * lyxfunc.C: hide cursor before dispatching.
5465
5466         * lyx_cb.C:
5467         * lyxfind.C:
5468         * text.C:
5469         * text3.C: remove explicit cursor hides
5470
5471 2003-05-02  André Pönitz  <poenitz@gmx.net>
5472
5473         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5474
5475         * undo_funcs.C:
5476         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5477           linked lists
5478
5479         * text2.C: tiny whitespace
5480
5481 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * undo_funcs.C: almost only ws changes.
5484
5485         * ParagraphList.C (splice): just return if pl is empty.
5486
5487 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * ParagraphList.C (splice): new function.
5490
5491         * CutAndPaste.C (pasteSelection): use it
5492
5493 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * CutAndPaste.C (pasteSelection): remove the last next and
5496         previous from this file.
5497
5498 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * CutAndPaste.C (pasteSelection): more clean up, user proper
5501         ParagraphList functions for pasteing.
5502
5503         * ParagraphList.C (insert): new function, three arg insert
5504
5505 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * ParagraphList.C (insert): new function, three arg insert
5508
5509         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5510         not on paragraphs.
5511
5512 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5515
5516 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5519
5520 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5523         (copySelection): clean up a bit.
5524         (pasteSelection): use make_pair
5525
5526         * ParagraphList.C (ParagraphList): implement copy constructor
5527         (operator=): implement, base on copy constructor.
5528         (assign): new func
5529
5530         * paragraph.C (erase): return a bool
5531
5532         * paragraph_pimpl.C (erasePos): remove function, move contents...
5533         (erase): ... here. Return a bool.
5534         (erase): call erase instead of erasePos.
5535
5536 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5537
5538         * ParagraphList.h: define PitPosPair
5539         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5540         ParagraphList, fix a bug on pasting multiple pars
5541         * text2.C: change interface to C&P
5542
5543 2003-04-30  André Pönitz  <poenitz@gmx.net>
5544
5545         * undo_func.C: revert part of yesterday's patch 2
5546
5547 2003-04-30  John Levon  <levon@movementarian.org>
5548
5549         * LColor.C: s/tabular/table/
5550
5551 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * text3.C (dispatch): do not convert iterator -> pointer
5554         * undo_funcs.C (setCursorParUndo): ditto
5555         * text_funcs.C (transposeChars): ditto
5556
5557         * text2.C (setLayout): ws changes only
5558
5559         * text.C (breakParagraph): do not convert iterator -> pointer
5560         (insertChar): ditto
5561         (acceptChange): ditto
5562         (rejectChange): ditto
5563         (changeCase): ditto
5564         (Delete): ditto
5565         (backspace): ditto
5566
5567         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5568         pointer
5569
5570 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * text3.C (gotoInset): YABG (yet another bad getChar)
5573
5574 2003-04-29  André Pönitz  <poenitz@gmx.net>
5575
5576         * paragraph.h: make operator= private unimplemented as long as
5577           it is unusable
5578
5579         * ParagraphList.C: whitespace
5580
5581         * paragraph.[Ch]:
5582         * paragraph_pimpl.[Ch]:
5583         * paragraph_funcs.C:
5584         * CutAndPaste.C:
5585         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5586
5587         * text2.C:
5588           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5589
5590 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5591
5592         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5593         * paragraph.[Ch] (erase):
5594         * paragraph_pimpl.[Ch] (erase): change return type and value
5595         * text2.C (cutSelection): some rework
5596
5597 2003-04-28  John Levon  <levon@movementarian.org>
5598
5599         * bufferlist.C: changes for unsaved changes dialog
5600
5601 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * bufferlist.C (newFile): set language (messages_) for new
5604         documents also.
5605
5606         * buffer.C (readFile): ws changes only.
5607
5608 2003-04-28  André Pönitz  <poenitz@gmx.net>
5609
5610         * undo_funcs.C:
5611         * lyxfunc.C:
5612         * buffer.[Ch]:
5613         * BufferView_pimpl.C:
5614         * BufferView.C: getParFromID related ParagraphList::iterator changes
5615
5616 2003-04-28  André Pönitz  <poenitz@gmx.net>
5617
5618         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5619           Changes
5620
5621 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * messages.C: remove one more localedir class variable.
5624
5625 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * messages.C (getLocaleDir): singleton generation function
5628         (Pimpl): use it.
5629         (Messages): add a default constructor.
5630
5631         * main.C (main): do not setup localedir here, do not call
5632         gettext_init.
5633
5634         * gettext.C (_): use it.
5635         (gettext_init): delete funciton
5636
5637 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * gettext.C (getLyXMessages): new singleton generating function.
5640
5641         * buffer.C (updateDocLang): adjust
5642
5643         * Makefile.am (messages.o): add target
5644         (main.o): remove target
5645
5646 2003-04-27  John Levon  <levon@movementarian.org>
5647
5648         * bufferlist.C:
5649         * lyx_cb.C:
5650         * lyxfunc.C:
5651         * lyxvc.C: specify cancel button in Alert::prompt
5652
5653 2003-04-26  John Levon  <levon@movementarian.org>
5654
5655         * text3.C:
5656         * lyxfunc.C:
5657         * lfuns.h:
5658         * LyXAction.C: add LFUN_INSET_SETTINGS
5659
5660         * lyxfunc.C: don't enable tabular-feature when there's
5661         just any locking inset
5662
5663 2003-04-26  John Levon  <levon@movementarian.org>
5664
5665         * bufferlist.C: re-add Cancel to buffer close question
5666
5667         * lyxfunc.C: fix import UI a bit
5668
5669 2003-04-25  John Levon  <levon@movementarian.org>
5670
5671         * gettext.C: remove the broken asserts for now
5672
5673 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * messages.C: make case where setlocale cannot comply work better.
5676
5677         * buffer.C (updateDocLang): new function
5678         (changeLanguage): use it
5679         (readFile): use it
5680
5681         * text2.C (setCounter): use B_ a bit.
5682
5683         * lyxlayout.C (Read): be sure to trim the label strings.
5684
5685         * messages.C (Messages): fix typo in comment
5686
5687         * buffer.C (readFile): set message_ after file is loaded.
5688         (makeDocBookFile): remove double return
5689         (changeLanguage): reset message_ upon language change.
5690         (B_): new func, use this to get translated buffer strings.
5691
5692         * main.C: add myself and Jean Marc as authors.
5693
5694 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * messages.[hC]: pimplify Messages, and three different pimpls to be
5697         used in different circumstances.
5698
5699         * gettext.[Ch]: change for use with new message code.
5700
5701 2003-04-24 André Pönitz <poenitz@gmx.net>
5702
5703         * factory.C: support for eqref
5704
5705 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * messages.[Ch]: add missing char
5708
5709         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5710
5711         * messages.[Ch]: New files
5712
5713 2003-04-18  John Levon  <levon@movementarian.org>
5714
5715         * BufferView.h:
5716         * BufferView.C:
5717         * BufferView_pimpl.C:
5718         * lfuns.h:
5719         * LyXAction.C:
5720         * lyxtext.h:
5721         * text2.C: remove layout-copy/paste (bug 778)
5722
5723 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5726
5727 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5730         if they succeed. Act accordingly.
5731
5732 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * text2.C (setCharFont): adjust
5735         (setCounter): adjust
5736         (insertStringAsLines): adjust
5737
5738         * text.C (leftMargin): adjust
5739         (setHeightOfRow): adjust
5740
5741         * rowpainter.C (paintFirst): adjust
5742         (paintLast): adjust
5743
5744         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5745         (outerHook): ditto
5746         (isFirstInSequence): ditto
5747         (getEndLabel): ditto
5748         (outerFont): adjust
5749
5750         * paragraph.C (getParLanguage): comment out some hard stuff.
5751
5752         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5753         (sgmlError): ditto
5754         (simpleDocBookOnePar): ditto
5755         (makeDocBookFile): use ParagraphList::iterator
5756
5757         * CutAndPaste.C (pasteSelection): adjust
5758
5759 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * text2.C (getFont): adjust
5762         (getLayoutFont): adjust
5763         (getLabelFont): adjust
5764
5765         * paragraph_funcs.C (TeXOnePar): adjust
5766
5767         * buffer.C (simpleLinuxDocOnePar): adjust
5768         (simpleDocBookOnePar): adjust
5769
5770         * CutAndPaste.C (pasteSelection): adjust
5771
5772         * BufferView.C (getEncoding): adjust
5773
5774         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5775
5776 2003-04-16  John Levon  <levon@movementarian.org>
5777
5778         * lyxfind.C: use parlist stuff for search/changes
5779
5780 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5783
5784         * text2.C (deleteEmptyParagraphMechanism): adjust
5785
5786         * text2.[Ch] (ownerParagraph): delete func (both of them
5787
5788 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5791
5792 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * ParagraphList.C: prepare for NO_NEXT
5795
5796 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * text2.C (getFont): adjust
5799         (getLayoutFont): adjust
5800         (getLabelFont): adjust
5801
5802         * paragraph.C (getFont): adjust
5803         (getLabelFont): adjust
5804         (getLayoutFont): adjust
5805
5806         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5807
5808 2003-04-15  John Levon  <levon@movementarian.org>
5809
5810         From Angus Leeming
5811
5812         * lyx_main.C: handle Include in .ui files
5813
5814 2003-04-15  John Levon  <levon@movementarian.org>
5815
5816         * MenuBackend.C: make the doc files length shorter
5817
5818         * ToolbarBackend.h:
5819         * ToolbarBackend.C: handle toolbar placement flags,
5820         Minibuffer
5821
5822 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5825         adjust
5826
5827         * paragraph_funcs.C (TeXOnePar): adjust
5828
5829         * paragraph.C (getLabelFont): add outerfont arg, adjust
5830         (getLayoutFont): ditto
5831         (simpleTeXOnePar): adjust
5832
5833         * paragraph_pimpl.C (realizeFont): delete func
5834
5835 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5838         row argument, constify cur argument.
5839
5840 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * text2.C (getFont): adjust
5843         (getLayoutFont): adjust
5844         (getLabelFont): adjust
5845
5846         * paragraph_funcs.C (TeXOnePar): adjust
5847         (outerFont): new func...
5848         (realizeFont): ...moved out from here, changed this to facilitate
5849         transition
5850
5851         * paragraph.C (getFont): take outerfont as arg, adjust
5852         (simpleTeXOnePar): add outerfont arg, adjust
5853
5854         * buffer.C (simpleLinuxDocOnePar): adjust
5855         (simpleDocBookOnePar): adjust
5856
5857         * CutAndPaste.C (pasteSelection): adjust
5858
5859         * BufferView.C (getEncoding): adjust
5860
5861 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * text2.C (setCharFont): adjust
5864         (setCounter): adjust
5865
5866         * text.C (leftMargin): adjust
5867         (setHeightOfRow): adjust
5868
5869         * rowpainter.C (paintFirst): adjust
5870         (paintLast): adjust
5871
5872         * paragraph_pimpl.C (realizeFont): adjust
5873
5874         * paragraph.C (isFirstInSequence): move from here...
5875         * paragraph_funcs.C (isFirstInSequence): ...to here
5876
5877         * paragraph.C (outerHook): move from here...
5878         * paragraph_funcs.C (outerHook): ...to here
5879
5880         * paragraph.C (depthHook): move from here...
5881         * paragraph_funcs.C (depthHook): ...to here
5882
5883         * paragraph.C (getEndLabel): move from here...
5884         * paragraph_funcs.C (getEndLabel): ...to here
5885
5886         * text2.C (realizeFont): move from here...
5887         * paragraph_funcs.C (realizeFont): ...to here
5888
5889 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5890
5891         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5892
5893 2003-04-14  Angus Leeming  <leeming@lyx.org>
5894
5895         * LColor.[Ch]: scrap LColor mathcursor.
5896
5897 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * lyxlex.[Ch] (text): delete function
5900         * trans.C (Load): adjust
5901         * paragraph_funcs.C (readParToken): adjust
5902
5903 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5906         vector<char> instead of a char[].
5907
5908         * lyxlex_pimpl.C (getString): adjust
5909         (next): adjust
5910         (lex): use getString
5911         (eatLine): adjust
5912         (nextToken): adjust
5913
5914         * lyxlex.C (text): use pimpl_->getString()
5915         (getBool): ditto
5916         (findToken): ditto
5917
5918 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5921         (makeFontEntriesLayoutSpecific): temp var for par.size()
5922         (setLayout): temp var for ownerParagraphs().end()
5923         (fullRebreak): temp var for rows().end()
5924         (selectionAsString): temp var for boost::next(startpit), realize
5925         that the while really is a regular for loop.
5926         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5927         setCursor in one place.
5928         (setParagraph): temp vr for ownerParagraphs().end()
5929         (updateCounters): make the while loop a for loop
5930         (cutSelection): temp var for ownerParagraphs().end()
5931         (updateInset): make the do {} while() a regular for loop
5932         (getCursorX): use temp vars
5933         (setCurrentFont): use temp vars
5934         (getColumnNearX): use temp vars
5935
5936 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * text.C (transformChar): use temp var for getChar
5939         (computeBidiTables): use temp var for row->par()
5940         (fill): move temp vars for row->par() and pit->layout() earlier in
5941         the function.
5942         (labelFill): use temp var for row->par()
5943         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5944         asc and desc, realize that pit never changes and that firstpit is
5945         just a duplicate and not needed. Exchange rit->par() with pit in a
5946         lot of places.
5947         (breakAgain): use a temp var for boost::next(rit)
5948         (breakAgainOneRow): ditto
5949         (breakParagraph): use a temp var for rows().begin()
5950         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5951         (cursorRightOneWord): use temp var for cursor.par() and
5952         cursor.pos(), remove usage of tmpcursor.
5953         (cursorLeftOneWord): use temp var for cursor.par() and
5954         cursor.pos() only set cur at end of function.
5955
5956 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * text.C, text2.C: exchange all usage of Paragraph::next with
5959         boost::next(ParagraphList::iterator)
5960
5961         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5962
5963         * text2.C (cursorTop): simplify implementation
5964         (cursorBottom): ditto
5965         (setParagraph): use ParagraphList::iterator
5966         (setCurrentFont): adjust
5967         (getColumnNearX): adjust
5968         (cursorRight): adjust
5969         (cursorLeft): remove usage of Paragraph::previous
5970         (cursorUpParagraph): ditto
5971         (deleteEmptyParagraphMechanism): slight cleanup
5972
5973         * text.C (isBoundary): take a Paragraph const & instead of a
5974         pointer as arg.
5975         (addressBreakPoint): ditto
5976         (leftMargin): remove usage of Paragraph::previous.
5977         (setHeightOfRow): ditto
5978         (cursorLeftOneWord): ditto
5979         (selectNextWordToSpellcheck): ditto
5980         (Delete): ditto
5981         (backspace): ditto
5982         (breakParagraph): remove one usage of Paragraph::next
5983         (redoParagraph): ditto
5984         (acceptChange): ditto
5985         (insertChar): adjust
5986         (rowBreakPoint): adjust
5987
5988         * bufferview_funcs.C (toggleAndShow): adjust
5989
5990 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5991
5992         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5993         methods to access it.
5994         * lyxtext.h:
5995         * text.C: Added updateRowPositions to compute all row positions.
5996         Make top_y and getRowNearY() to use the cached y position
5997
5998 2003-04-11  John Levon  <levon@movementarian.org>
5999
6000         * text.C (rowBreakPoint): reintroduce the labelEnd
6001         checks, code copied from the row fill stuff. Deep voodoo.
6002
6003         * text.C (fill): add a comment and debugging for the
6004         next poor soul.
6005
6006 2003-04-11  John Levon  <levon@movementarian.org>
6007
6008         * text.C: make sure fullrow insets get wrapped to the next line,
6009         even when they're in a manual label
6010
6011 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text2.C (insertParagraph): make it take ParagraphList::iterator
6014         as arg.
6015         (setLayout): make it return ParagraphList::iterator
6016         (redoParagraphs): ditto
6017         (setCounter): ditto
6018         (checkParagraph): ditto
6019
6020         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6021
6022         * text2.C: adjust several funcs.
6023         (realizeFont): take a ParagraphList::iterator as arg.
6024         (getLayoutFont): ditto
6025         (getLabelFont): ditto
6026         (setCharFont): ditto
6027
6028         * text.C: adjust several funcs.
6029
6030 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * text.C (selectNextWordToSpellcheck): don't accidentally
6033         skip insets
6034
6035 2003-04-10  John Levon  <levon@movementarian.org>
6036
6037         * ToolbarBackend.C (getIcon): special handling for
6038         LFUN_MATH_DELIM
6039
6040 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6041
6042         * text2.C (cursorRight): a getChar assert fixed
6043
6044 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * text2.C (getFont): change to take a ParagraphList::iterator
6047         instead of Paragraph*
6048         Adjust several functions.
6049
6050         * text.C (transformChar): change to take a ParagraphList::iterator
6051         instead of Paragraph*
6052         (singleWidth): ditto
6053         Adjust several functions.
6054
6055         * rowpainter.C: adjust several functions
6056         * rowpainter.h:store a ParagraphList::iterator and not a
6057         Paragraph&.
6058
6059
6060 2003-04-09  John Levon  <levon@movementarian.org>
6061
6062         * lyxfunc.C:
6063         * lfuns.h:
6064         * LyXAction.h:
6065         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6066         and the "help" bits as well
6067
6068 2003-04-09  John Levon  <levon@movementarian.org>
6069
6070         * ToolbarBackend.h:
6071         * ToolbarBackend.C: allow multiple toolbars
6072
6073 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * undo_funcs.C (setCursorParUndo): adjust
6076
6077         * text_funcs.C (transposeChars): adjust
6078
6079         * text3.C (gotoNextInset): adjust
6080         (dispatch): adjust
6081
6082         * text2.C (setLayout): adjust
6083         (changeDepth): adjust
6084         (setFont): adjust
6085         (redoParagraphs): adjust
6086         (selectionAsString): adjust
6087         (setParagraph): adjust
6088         (insertInset): adjust
6089         (cutSelection): adjust
6090         (copySelection): adjust
6091         (pasteSelection): adjust
6092         (insertStringAsLines): adjust
6093         (updateInset): adjust
6094         (setCursor): change to take a ParagraphList::iterator parameter
6095         (setCursorIntern): change to take a ParagraphList::iterator parameter
6096         (setCurrentFont): adjust
6097         (cursorLeft): adjust
6098         (cursorRight): adjust
6099         (deleteEmptyParagraphMechanism): adjust
6100
6101         * text.C (breakParagraph): adjust
6102         (insertChar): adjust
6103         (acceptChange): adjust
6104         (rejectChange): adjust
6105         (selectNextWordToSpellcheck): adjust
6106         (changeCase): adjust
6107         (Delete): adjust
6108         (backspace): adjust
6109
6110         * lyxfind.C (SearchForward): adjust
6111         (SearchBackward): adjust
6112         (nextChange): adjust
6113
6114         * lyxcursor.C (par): adjust
6115
6116         * lyxcursor.h: store a ParagraphList::iterator instead of a
6117         Paragraph*
6118
6119         * lyx_cb.C (getPossibleLabel): adjust
6120
6121         * bufferview_funcs.C (toggleAndShow): adjust
6122
6123         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6124         (dispatch): adjust
6125
6126         * BufferView.C (removeAutoInsets): adjust
6127         (lockedInsetStoreUndo): adjust
6128
6129 2003-04-09  John Levon  <levon@movementarian.org>
6130
6131         * ToolbarBackend.C: try icon without argument
6132         if with argument fails
6133
6134 2003-04-08  John Levon  <levon@movementarian.org>
6135
6136         * ToolbarBackend.h:
6137         * ToolbarBackend.C: add getIcon(), handle tooltip,
6138         and change from "Icon" to "Item".
6139
6140 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6141
6142         * BufferView.C (lockInset): another bad getchar crunched
6143
6144 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6145
6146         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6147         again)
6148
6149 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6150
6151         * lyxfind.C (searchForward, searchBackwards): bug 782
6152
6153 2003-04-07  John Levon  <levon@movementarian.org>
6154
6155         * paragraph.C: remove dead comment
6156
6157         * text.C: remove troublesome depth-fiddling code
6158         in leftMargin() and rightMargin() (bug 1017)
6159
6160         * text.C: fix breaking of rows in nested lists
6161         (bug 1004)
6162
6163         * text2.C (updateCounters): fix up depth values
6164         (bug 1013)
6165
6166 2003-04-07  John Levon  <levon@movementarian.org>
6167
6168         * BufferView_pimpl.C: clear message when doc finishes resizing,
6169         and after a mouse event
6170
6171         * lyxfunc.C: clear message after exiting inset
6172
6173 2003-04-07  John Levon  <levon@movementarian.org>
6174
6175         * bufferview_funcs.C: show math status not outside
6176         status in the statusbar
6177
6178 2003-04-07  John Levon  <levon@movementarian.org>
6179
6180         * lyxfunc.C: note status changed after a depth change
6181
6182 2003-04-04  Angus Leeming  <leeming@lyx.org>
6183
6184         * LaTeX.h: move AuxInfo operator==, != out of line.
6185         Remove LaTeX virtual destructor; nothing derives from it.
6186         Move operator()() out of public area and rename it startscript().
6187         Change protected for private.
6188
6189 2003-04-04  Angus Leeming  <leeming@lyx.org>
6190
6191         * lyxfunc.C:
6192         * text2.C: remove unneeded #includes.
6193
6194 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6195
6196         * text2.C (dEPM): fix the heigth of the next row
6197
6198 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text.C: squashed an invalid getChar requester + some ws changes
6201
6202 2003-04-03  John Levon  <levon@movementarian.org>
6203
6204         * bufferview_funcs.h:
6205         * bufferview_funcs.C:
6206         * lyxfunc.C:
6207         * lyxtext.h:
6208         * text2.C: make getStatus work for the env depth lfuns
6209
6210 2003-04-03  John Levon  <levon@movementarian.org>
6211
6212         * bufferview_funcs.h:
6213         * bufferview_funcs.C:
6214         * lyxfunc.C:
6215         * lyxtext.h:
6216         * text2.C: parlistize decDepth(), by merging it with incDepth()
6217
6218 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * lyxrow.h: store a ParagraphList::iterator instead of a
6221         Paragraph* and adjust other class functions to suit.
6222
6223         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6224         above.
6225
6226 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * text2.C (setCursor): do not anchor to cursor row for the time being
6229
6230 2003-04-02  John Levon  <levon@movementarian.org>
6231
6232         * LyXAction.C:
6233         * lfuns.h:
6234         * lyx_main.C:
6235         * lyxtext.h:
6236         * text.C:
6237         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6238
6239 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * paragraph.h: make ParagraphList and ParagraphList::iterator
6242         friends of Paragraph.
6243
6244         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6245
6246         * ParagraphList.C: Use the private next_ and previous_ from
6247         Paragraph.
6248
6249 2003-04-01  John Levon  <levon@movementarian.org>
6250
6251         * ToolbarBackend.h:
6252         * ToolbarBackend.C:
6253         * Makefile.am: rename, remove defaults gunk
6254
6255         * MenuBackend.h:
6256         * MenuBackend.C: remove defaults gunk
6257
6258         * Languages.h:
6259         * Languages.C: remove defaults gunk
6260
6261         * lyx_main.h:
6262         * lyx_main.C: error out if files couldn't be found.
6263
6264 2003-04-02  John Levon  <levon@movementarian.org>
6265
6266         * text2.C: make incDepth() use parlist
6267
6268 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * undo_funcs.C (firstUndoParagraph): adjust
6271
6272         * text3.C (gotoInset): adjust
6273         (dispatch): adjust, and rewrite loop.
6274
6275         * text2.C (init): adjust, and rewrite loop.
6276         (redoParagraphs): adjust
6277         (updateInset): adjust, and rewrite loop.
6278         (deleteEmptyParagraphMechanism): adjust
6279
6280         * tabular.C (LyXTabular): adjust
6281         (SetMultiColumn): adjust
6282         (TeXRow): adjust
6283
6284         * lyxtext.[Ch] (ownerParagraph): delete function
6285         (ownerParagraphs): new function returns a ParagraphList.
6286
6287         * BufferView.C (removeAutoInsets): adjust
6288         (insertErrors): adjust
6289         (setCursorFromRow): adjust
6290
6291 2003-04-01  Angus Leeming  <leeming@lyx.org>
6292
6293         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6294         in the frontends.
6295
6296 2003-04-02  John Levon  <levon@movementarian.org>
6297
6298         * lyxtext.h:
6299         * text.C:
6300         * Makefile.am:
6301         * text_funcs.h:
6302         * text_funcs.C: make transposeChars a free function
6303
6304         * lyxrow_funcs.C: remove wrong comment
6305
6306 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * lyxtext.h: adjust
6309         * rowpainter.C: adjust
6310         * text.C: adjust
6311         * text2.C: adjust
6312         * text3.C: adjust
6313
6314         * lyxrow_funcs. [Ch]: new files
6315
6316         * lyxrow.[Ch]: remove next and previous pointers
6317         (next,previous): remove accessor functions
6318         (isParEnd): move to lyxrow_funcs
6319         (lastPos): move to lyxrow_funcs
6320         (nextRowIsAllInset): move to lyxrow_funcs
6321         (lastPrintablePos): move to lyxrow_funcs
6322         (numberOfSeparators): move to lyxrow_funcs
6323         (numberOfHfills): move to lyxrow_funcs
6324         (numberOfLabelHfills): move to lyxrow_funcs
6325         (hfillExpansion): move to lyxrow_funcs
6326
6327         * lyxfunc.C: adjust
6328
6329         * bufferview_funcs.C (toggleAndShow): adjust
6330
6331         * RowList.h: Remove class RowList from file leave just a
6332         std::list<Row>.
6333
6334         * RowList.C: delete file
6335
6336         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6337         and lyxrow_funcs.h
6338
6339 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * text3.C (cursorPrevious): adjust
6342         (cursorNext): adjust
6343         (dispatch): adjust
6344
6345         * text2.C (redoHeightOfParagraph): adjust
6346         (redoDrawingOfParagraph): adjust
6347         (setCursor): adjust
6348
6349         * text.C (breakParagraph): adjust
6350         (insertChar): adjust
6351         (backspace): adjust
6352
6353         * rowpainter.C (RowPainter): adjust
6354         (leftMargin): simplify and adjust
6355         (most rowpainter functions): adjust.
6356
6357         * rowpainter.h: store the row as RowList::iterator not as Row*
6358
6359         * lyxcursor.C (row): taka RowList::iterator as arg
6360         (irow): ditto
6361
6362         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6363         of Row*.
6364
6365 2003-04-01  Angus Leeming  <leeming@lyx.org>
6366
6367         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6368         stuff like bool Bool.
6369
6370 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6373         rewrite a loop
6374
6375 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6378         RowList::iterator.
6379
6380         * lyxtext.h (rows): drop one version and leve a const variant that
6381         returns a RowList::iterator.
6382
6383 2003-03-31  Angus Leeming  <leeming@lyx.org>
6384
6385         * text.C (fill): ensure that the signature is the same as that in the
6386         header file.
6387
6388 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * text2.C (redoParagraphs): adjust
6391         (updateCounters): adjust
6392         (checkParagraph): adjust
6393         (getColumnNearX): adjust and reformat a bit.
6394
6395         * text.C (top_y): adjust
6396         (workWidth): adjust
6397         (leftMargin): adjust
6398         (prepareToPrint): adjust
6399         (getRow): adjust
6400         (getRowNearY): adjust
6401
6402         * lyxtext.h: make rowlist_ mutable.
6403
6404         * RowList.h: add const_iterator
6405         * RowList.C: adjust for RowList::const_iterator.
6406
6407         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6408         adjust.
6409
6410 2003-03-31  John Levon  <levon@movementarian.org>
6411
6412         * lyxrc.h:
6413         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6414
6415         * lyx_main.C: set default fonts from using lyx_gui funcs
6416
6417         * exporter.C: pdf_mode moved from lyxrc
6418
6419         * lyx_cb.C:
6420         * lyxfunc.C: changes from above
6421
6422 2003-03-31  John Levon  <levon@movementarian.org>
6423
6424         * lyx_main.C: fix to the last fix
6425
6426 2003-03-31  John Levon  <levon@movementarian.org>
6427
6428         * bufferlist.C: "Load original" -> "Load Original"
6429
6430         * converter.C:
6431         * exporter.C:
6432         * importer.C:
6433         * lyx_main.C:
6434         * format.C: more Alert cleanups
6435
6436 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * text2.C (removeParagraph): make it take a RowList::iterator as
6439         arg, adjust.
6440         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6441         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6442
6443         * text.C (anchor_row): make it take a RowList::iterator as arg,
6444         adjust.
6445         (computeBidiTables): make it take a const reference to Row instead
6446         of Row pointer, adjust.
6447         (leftMargin): make it take a RowList::iterator as arg, adjust.
6448         (rowBreakPoint): adjust
6449         (breakAgainOneRow): make it take a RowList::iterator as arg,
6450         adjust.
6451         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6452
6453         * bufferview_funcs.C (toggleAndShow): adjust
6454
6455 2003-03-30  John Levon  <levon@movementarian.org>
6456
6457         * Makefile.am:
6458         * BoostFormat.h:
6459         * boost-inst.C: moved to support
6460
6461         * several files: changes as a result
6462
6463 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * text2.C (LyXText): adjust.
6466         (init): adjust
6467         (removeRow): make it take a RowList::iterator as arg, adjust.
6468         (fullRebreak): adjust
6469         (deleteEmptyParagraphMechanism): adjust
6470         (clearPaint): adjust
6471         (postPaint): adjust
6472
6473         * text.C (top_y): adjust
6474         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6475         (breakAgain): make it take a RowList::iterator as arg, adjust.
6476         (breakParagraph): adjust
6477         (insertChar): adjust
6478         (backspace): adjust
6479
6480         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6481         need_break_row, and refresh_row.
6482
6483         * text3.C (dispatch): adjust
6484
6485         * text2.C (checkParagraph): adjust
6486         (setCursor): adjust
6487         (setCursorFromCoordinates): adjust
6488
6489         * text.C (top_y): adjust
6490         (workWidth): adjust
6491         (getRow): make it return a RowList::iterator, adjust
6492         (getRowNearY): make it return a RowList::iterator, adjust
6493
6494         * text2.C (init): adjust
6495         (insertRow): remove function
6496         (insertParagraph): adjust
6497         (redoParagraphs): adjust
6498         (fullRebreak): adjust
6499         (updateCounters): adjust
6500
6501         * text.C (top_y): rewrite to use RowList iterators.
6502         (top_y): adjust
6503         (setHeightOfRow): rewrite to sue RowList iterators.
6504         (appendParagraph): adjust
6505         (breakAgain): adjust
6506         (breakAgainOneRow): adjust
6507         (breakParagraph): adjust
6508         (getRow): adjust
6509         (getRowNearY): adjust, and remove commented code.
6510
6511         * lyxtext.h (firstRow): delete function
6512         (lastRow): delete function
6513         (rows): new function (const and non-const versions.)
6514         (insertRow): delete function
6515
6516         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6517
6518 2003-03-29  John Levon  <levon@movementarian.org>
6519
6520         * BufferView_pimpl.C: always update scrollbar top
6521         because pasting text when we're anchored could mean we
6522         miss an update altogether
6523
6524 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * text2.C (init): use rowlist_.end() and not 0.
6527         (insertRow): change to take a RowList::iterator as arg, adjust
6528         for this.
6529         (insertParagraph): change to take a RowList::iterator as arg,
6530         adjust for this.
6531         (redoParagraphs): remove some debug msgs.
6532
6533         * text.C (appendParagraph): change to take a RowList::iterator
6534         arg, adjust for this.
6535         (breakAgain): add an assert
6536         (breakAgainOneRow): ditto
6537
6538 2003-03-29  John Levon  <levon@movementarian.org>
6539
6540         * text2.C: do not clear selection after inc/decDepth
6541         (bug 550)
6542
6543 2003-03-29  John Levon  <levon@movementarian.org>
6544
6545         * BufferView.C:
6546         * buffer.C: fix broken strerrors according to Lars
6547
6548 2003-03-29  John Levon  <levon@movementarian.org>
6549
6550         * converters.C: more Alert cleanups
6551
6552 2003-03-29  John Levon  <levon@movementarian.org>
6553
6554         * bufferview_funcs.C: remove pointless Alert
6555
6556         * buffer.C: fix confusing error message when
6557         a template is chmoded 000
6558
6559 2003-03-29  John Levon  <levon@movementarian.org>
6560
6561         * BufferView.C:
6562         * BufferView.h:
6563         * BufferView_pimpl.C: Alert fixes
6564
6565         * Makefile.am:
6566         * tabular.C:
6567         * tabular-old.C: remove unused table compat reading
6568
6569 2003-03-29  John Levon  <levon@movementarian.org>
6570
6571         * BufferView.C:
6572         * buffer.C:
6573         * lyx_cb.h:
6574         * lyx_cb.C: more Alert cleanups
6575
6576         * lyxfunc.C: don't allow chktex if not latex document
6577
6578 2003-03-29  John Levon  <levon@movementarian.org>
6579
6580         * lyx_cb.C:
6581         * BufferView.C:
6582         * buffer.C: warnings pushed down from support/,
6583         kill err_alert
6584
6585 2003-03-29  John Levon  <levon@movementarian.org>
6586
6587         * lyxfunc.C: safety check for C-r (revert)
6588
6589 2003-03-29  John Levon  <levon@movementarian.org>
6590
6591         * bufferlist.h:
6592         * bufferlist.C: several UI fixes using Alert::prompt.
6593         Fix the pointless looping quit code. Fix stupid revert
6594         behaviour (bug 938)
6595
6596         * lyxvc.h:
6597         * lyxvc.C:
6598         * lyx_cb.C: use Alert::prompt
6599
6600         * lyx_main.C: remove a silly question
6601
6602         * lyxfunc.C: remove a couple of silly questions,
6603         use Alert::prompt
6604
6605 2003-03-28  John Levon  <levon@movementarian.org>
6606
6607         * text2.C: fix bug 974 (End on empty par)
6608
6609 2003-03-28  John Levon  <levon@movementarian.org>
6610
6611         * BufferView_pimpl.C:
6612         * LyXAction.C:
6613         * lfuns.h: remove do-nothing math greek lfuns
6614
6615 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * lyxgluelength.h (isValidGlueLength): add default arg on
6618         parameter 2. Remove default arg from friend in class.
6619
6620         * lyxlength.h (isValidLength): add default arg on parameter 2.
6621         Remove default arg from friend in class.
6622
6623         * text2.C (LyXText): adjust, initialize refresh_row.
6624         (init): adjust
6625         (removeRow): adjust
6626         (insertRow): adjust
6627         (insertParagraph): adjst
6628         (redoParagraphs): adjust
6629         (fullRebreak): adjust
6630         (updateCounters): adjust
6631         (deleteEmptyParagraphMechanism): first attempt at fixing a
6632         crashing bug.
6633
6634         * text.C (top_y): adjust
6635         (setHeightOfRow): adjust
6636         (getRow): adjust
6637         (getRowNearY): adjust
6638
6639         * lyxtext.h: include RowList.h
6640         (~LyXText): not needed anymore, deleted.
6641         (firstRow): modify for RowList
6642         (lastRow): new function
6643         Delete firstrow and lastrow class variables, add a Rowlist
6644         rowlist_ class variable.
6645
6646         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6647         paragraph is empty.
6648
6649         * RowList.C (insert): fix case where it == begin().
6650
6651 2003-03-26  Angus Leeming  <leeming@lyx.org>
6652
6653         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6654         the thesaurus dialog.
6655
6656 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6659
6660         * RowList.[Ch]: new files
6661
6662         * ParagraphList.C (erase): handle the case where it == begin
6663         correctly.
6664
6665 2003-03-25  John Levon  <levon@movementarian.org>
6666
6667         * Makefile.am:
6668         * aspell_local.h:
6669         * aspell.C: add new aspell support
6670
6671         * lyxrc.h:
6672         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6673         have it accessible.
6674
6675 2003-03-25  Angus Leeming  <leeming@lyx.org>
6676
6677         * lfuns.h:
6678         * LyXAction.C (init): new LFUN_INSET_INSERT.
6679
6680         * BufferView_pimpl.C (dispatch): split out part of the
6681         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6682
6683         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6684         LFUN_INSET_APPLY.
6685
6686 2003-03-25  Angus Leeming  <leeming@lyx.org>
6687
6688         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6689
6690 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6691
6692         * text2.C:
6693         * text3.C: remove useless row->height(0)
6694
6695 2003-03-25  John Levon  <levon@movementarian.org>
6696
6697         * lyxtext.h:
6698         * text2.C:
6699         * text3.C: rename the refreshing stuff to better names
6700
6701 2003-03-24  John Levon  <levon@movementarian.org>
6702
6703         * BufferView_pimpl.h:
6704         * BufferView_pimpl.C: update layout choice on a mouse
6705         press/release
6706
6707 2003-03-23  John Levon  <levon@movementarian.org>
6708
6709         * Makefile.am: fix commandtags.h reference
6710
6711 2003-03-22  John Levon  <levon@movementarian.org>
6712
6713         * BufferView_pimpl.C:
6714         * lyxtext.h:
6715         * rowpainter.C:
6716         * rowpainter.h:
6717         * text.C:
6718         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6719
6720 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6721
6722         * lyxtext.h:
6723         * text.C: take the rtl methods out of line
6724
6725 2003-03-21 André Pönitz <poenitz@gmx.net>
6726
6727         * metricsinfo.[Ch]: new files containing structures to be passed around
6728         during the two-phase-drawing...
6729
6730 2003-03-21 André Pönitz <poenitz@gmx.net>
6731
6732         * lyxtextclass.C: read 'environment' tag.
6733
6734 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6735
6736         * text2.C (removeRow): fix bug 964
6737
6738 2003-03-20  John Levon  <levon@movementarian.org>
6739
6740         * rowpainter.C:
6741         * text.C:
6742         * text2.C: paint cleanups. Inset::update() dropped font
6743         parameter
6744
6745 2003-03-19  John Levon  <levon@movementarian.org>
6746
6747         * lyxfunc.C: only fitcursor/markDirty if available()
6748
6749 2003-03-19  John Levon  <levon@movementarian.org>
6750
6751         * commandtags.h: rename to ...
6752
6753         * lfuns.h: ... this, and renumber / cleanup
6754
6755 2003-03-19  John Levon  <levon@movementarian.org>
6756
6757         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6758         fit the cursor after an lfun
6759
6760         * BufferView.h:
6761         * BufferView.C:
6762         * BufferView_pimpl.h:
6763         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6764
6765         * LyXAction.C: layout-character should have ReadOnly
6766
6767         * ParagraphParameters.C:
6768         * buffer.C:
6769         * bufferview_funcs.C:
6770         * lyx_cb.C:
6771         * lyxfind.C:
6772         * lyxtext.h:
6773         * text.C:
6774         * text2.C:
6775         * text3.C:
6776         * undo_funcs.C: changes from above
6777
6778 2003-03-18  John Levon  <levon@movementarian.org>
6779
6780         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6781         remove it from update()
6782
6783         * lyxfunc.C: update layout choice after an lfun
6784
6785         * text3.C: remove extra updateLayoutChoice()s
6786
6787 2003-03-18  John Levon  <levon@movementarian.org>
6788
6789         * text.C: top_y change means full repaint, fix
6790         a drawing bug with cursor movement
6791
6792 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6793
6794         * lyxtext.h:
6795         * text.C:
6796         * text2.C: anchor row on setCursor
6797
6798 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6799
6800         * lyxtext.h: remove almost all mutable keywords
6801         * text.C:
6802         * text2.C:
6803         * text3.C: remove const keywords accordingly
6804
6805 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6808         anon namespace
6809         (TeXEnvironment): ditto
6810         (TeXOnePar): ditto
6811
6812 2003-03-17  John Levon  <levon@movementarian.org>
6813
6814         * text.C (rowBreakPoint): remove attempt to fix displayed
6815         math insets inside a manual label
6816
6817 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * lyxtext.h: remove BufferView* as first arg from almost all class
6820         functions.
6821         * other files: adjust.
6822
6823 2003-03-17  John Levon  <levon@movementarian.org>
6824
6825         * lyxtext.h:
6826         * undo_funcs.C:
6827         * text2.C: more paint cleanups
6828
6829         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6830
6831         * rowpainter.h:
6832         * rowpainter.C: remove "smart" background painting code
6833
6834 2003-03-16  John Levon  <levon@movementarian.org>
6835
6836         * lyxtext.h:
6837         * text.C:
6838         * text2.C:
6839         * text3.C: add helper functions for setting refresh_row/y
6840
6841 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6842
6843         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6844         newline inset which *can* get inserted in the pass_thru layouts.
6845         This is primarily for literate documents.
6846
6847 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6848
6849         * buffer.C: increment LYX_FORMAT to 223
6850
6851 2003-03-14 André Pönitz <poenitz@gmx.net>
6852
6853         * textclass.h: prepare for environment handling, ws changes
6854         * lyxlayout.C: read latexheader and latexfooter tags
6855
6856 2003-03-14  John Levon  <levon@movementarian.org>
6857
6858         * text2.C: rewrite ::status() a bit
6859
6860 2003-03-13  John Levon  <levon@movementarian.org>
6861
6862         * lyxtext.h: add some docs
6863
6864 2003-03-13  John Levon  <levon@movementarian.org>
6865
6866         * lyxtext.h:
6867         * text.C:
6868         * text2.C:
6869         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6870
6871 2003-03-13  John Levon  <levon@movementarian.org>
6872
6873         * text3.C: fix appendix redrawing
6874
6875 2003-03-13  John Levon  <levon@movementarian.org>
6876
6877         * text.C (setHeightOfRow):
6878         * rowpainter.h:
6879         * rowpainter.C: make appendix mark have the text
6880           "Appendix" so the user knows what it is
6881
6882         * LColor.h:
6883         * LColor.C: s/appendixline/appendix/ from above
6884
6885 2003-03-13  John Levon  <levon@movementarian.org>
6886
6887         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6888
6889         * text.C: fix a getChar(pos) bug properly
6890
6891 2003-03-13  Angus Leeming  <leeming@lyx.org>
6892
6893         * commandtags.h:
6894         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6895         Probably only temporary. Let's see how things pan out.
6896
6897         * BufferView.C (unlockInset):
6898         * BufferView_pimpl.C (fitCursor):
6899         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6900
6901         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6902         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6903
6904         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6905         new functions that convert ParagraphParameters to and from a string.
6906
6907         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6908         BufferView::Pimpl's dispatch.
6909         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6910
6911 2003-03-13 André Pönitz <poenitz@gmx.net>
6912
6913         * lyxfunc.C:
6914         * text3.C:
6915         * factory.C: make it aware of InsetEnv
6916
6917 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * text2.C (setCursor): never ask for one past last
6920         (setCursor): add some debugging messages.
6921
6922         * text.C (singleWidth): never ask for one past last
6923         (singleWidth): ditto
6924         (leftMargin): ditto
6925         (rightMargin): ditto
6926         (rowBreakPoint): ditto
6927         (setHeightOfRow): ditto
6928         (prepareToPrint): ditto
6929
6930         * rowpainter.C (paintBackground): never ask for one past last
6931         (paintText): never ask for one past last
6932
6933         * paragraph_pimpl.C (getChar): make the assert stricter, never
6934         allow the one past last pos to be taken
6935
6936         * paragraph.C (getChar): ws changes only
6937
6938         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6939         (numberOfSeparators): ditto
6940         (numberOfHfills): ditto
6941
6942 2003-03-12  John Levon  <levon@movementarian.org>
6943
6944         * author.h:
6945         * author.C:
6946         * bufferparams.h:
6947         * bufferparams.C:
6948         * paragraph_funcs.C: fix per-buffer authorlists
6949
6950 2003-03-12  John Levon  <levon@movementarian.org>
6951
6952         * text.C: fix newline in right address
6953
6954 2003-03-12  Angus Leeming  <leeming@lyx.org>
6955
6956         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6957         duplicate those in LyXFunc::dispatch.
6958
6959         * commandtags.h:
6960         * LyXAction.C:
6961         * ToolbarDefaults.C:
6962         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6963         Add LFUN_FONTFREE_UPDATE.
6964
6965         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6966         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6967
6968         * bufferview_func.[Ch]: several new functions to facilliate
6969         transfer of data to and from the character dialog.
6970
6971 2003-03-12  John Levon  <levon@movementarian.org>
6972
6973         * buffer.C:
6974         * paragraph.h:
6975         * paragraph.C:
6976         * paragraph_funcs.C:
6977         * paragraph_pimpl.C:
6978         * sgml.C:
6979         * tabular.C:
6980         * text.C:
6981         * text3.C: remove META_NEWLINE in favour of an inset
6982
6983         * rowpainter.h:
6984         * rowpainter.C: remove paintNewline (done by inset)
6985
6986 2003-03-12  John Levon  <levon@movementarian.org>
6987
6988         * paragraph_pimpl.C: complain about bad getChar()s
6989         for a while at least
6990
6991 2003-03-12  John Levon  <levon@movementarian.org>
6992
6993         * buffer.h:
6994         * buffer.C: move paragraph read into a separate function,
6995         a little renaming to reflect that.
6996
6997         * bufferparams.h:
6998         * bufferparams.C: remove the author_ids map, not necessary now
6999
7000         * factory.h:
7001         * factory.C: moved Buffer::readInset to here
7002
7003         * paragraph_funcs.h:
7004         * paragraph_funcs.C: readParagraph free function moved from
7005         buffer.C
7006
7007         * tabular.C: name change
7008
7009 2003-03-12  John Levon  <levon@movementarian.org>
7010
7011         * buffer.C:
7012         * ParagraphParameters.C: move par params input to
7013         a read() method
7014
7015         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7016         behave like a normal read from the stream wrt reading
7017         a line vs. a \\token
7018
7019 2003-03-12  John Levon  <levon@movementarian.org>
7020
7021         * paragraph.C:
7022         * ParagraphParameters.h:
7023         * ParagraphParameters.C: move output code to a
7024         ::write() method
7025
7026 2003-03-12  John Levon  <levon@movementarian.org>
7027
7028         * BufferView.C (insertLyXFile):
7029         * buffer.h:
7030         * buffer.C:
7031         * tabular.C: use a parlist iterator for creating the
7032           document.
7033
7034 2003-03-12  John Levon  <levon@movementarian.org>
7035
7036         * buffer.C: make current_change static local not
7037           static file-scope
7038
7039 2003-03-12  John Levon  <levon@movementarian.org>
7040
7041         * buffer.C: fix insertStringAsLines for change tracking
7042
7043 2003-03-12  John Levon  <levon@movementarian.org>
7044
7045         * BufferView.C:
7046         * tabular.C:
7047         * buffer.h:
7048         * buffer.C:
7049         * bufferparams.h:
7050         * bufferparams.C: move author list into params. Rename some
7051           functions. Move the header reading into a separate token
7052           loop. Move the header token reading into BufferParams.
7053
7054 2003-03-12  John Levon  <levon@movementarian.org>
7055
7056         * changes.C: put debug inside lyxerr.debugging() checks
7057
7058 2003-03-11 André Pönitz <poenitz@gmx.net>
7059
7060         * factory.C: make it aware of InsetHFill
7061
7062 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7063
7064         * buffer.C (latexParagraphs): move function from here...
7065         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7066         args.
7067
7068 2003-03-10  Angus Leeming  <leeming@lyx.org>
7069
7070         * LyXAction.C (init): fix bug in poplating array with multiple entries
7071         with the same LFUN (spotted by JMarc).
7072
7073 2003-03-10  John Levon  <levon@movementarian.org>
7074
7075         * text.C:
7076         * text2.C: move getColumnNearX() near its
7077         only call site
7078
7079 2003-03-10  John Levon  <levon@movementarian.org>
7080
7081         * text.C: fix break before a minipage
7082
7083 2003-03-10  John Levon  <levon@movementarian.org>
7084
7085         * text.C: fix the last commit
7086
7087 2003-03-09  John Levon  <levon@movementarian.org>
7088
7089         * lyxtext.h:
7090         * text.C:
7091         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7092         bug 365 (don't break before insets unless needed). Don't
7093         return a value > last under any circumstances.
7094
7095 2003-03-09  Angus Leeming  <leeming@lyx.org>
7096
7097         * BufferView_pimpl.C (trackChanges, dispatch): call
7098         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7099
7100 2003-03-09  Angus Leeming  <leeming@lyx.org>
7101
7102         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7103         than Dialogs::showAboutlyx().
7104
7105 2003-03-09  Angus Leeming  <leeming@lyx.org>
7106
7107         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7108         than Dialogs::showTabularCreate().
7109
7110 2003-03-09  John Levon  <levon@movementarian.org>
7111
7112         * lyxtext.h:
7113         * text.C:
7114         * text2.C: 3rd arg to nextBreakPoint was always the same.
7115           Use references.
7116
7117 2003-03-08  John Levon  <levon@movementarian.org>
7118
7119         * lyxrow.C:
7120         * paragraph.C:
7121         * paragraph.h:
7122         * rowpainter.C:
7123         * text.C:
7124         * text2.C: Remove the "main" bit from the "main body"
7125           notion.
7126
7127 2003-03-08  John Levon  <levon@movementarian.org>
7128
7129         * text.C (leftMargin): The left margin of an empty
7130         manual label paragraph should not include the label width
7131         string length.
7132
7133         * text.C (prepareToPrint): don't attempt to measure hfills
7134         for empty manual label paragraphs - the answer should be 0
7135
7136 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * CutAndPaste.C: remove commented code and reindent.
7139
7140 2003-03-08  John Levon  <levon@movementarian.org>
7141
7142         * lyxfunc.h:
7143         * lyxfunc.C: move reloadBuffer()
7144
7145         * BufferView.h:
7146         * BufferView.C: to here
7147
7148         * lyxvc.C: add comment
7149
7150         * vc-backend.h:
7151         * vc-backend.C: call bv->reload() to avoid
7152           getStatus() check on MENURELOAD
7153
7154 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7155
7156         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7157         to an old format .dep file.
7158
7159 2003-03-07  Angus Leeming  <leeming@lyx.org>
7160
7161         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7162         when the LFUN_MOUSE_RELEASE should have been handled by
7163         inset->localDispatch.
7164
7165 2003-03-07  Angus Leeming  <leeming@lyx.org>
7166
7167         * BufferView_pimpl.C (dispatch):
7168         * LyXAction.C (init):
7169         * ToolbarDefaults.C (init):
7170         * commandtags.h:
7171         * lyxfunc.C (getStatus):
7172         remove LFUN_INSET_GRAPHICS.
7173
7174         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7175
7176 2003-03-07  Angus Leeming  <leeming@lyx.org>
7177
7178         * commandtags.h:
7179         * LyXAction.C (init):
7180         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7181
7182         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7183
7184         * commandtags.h:
7185         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7186
7187         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7188         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7189
7190 2003-03-07  Angus Leeming  <leeming@lyx.org>
7191
7192         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7193         remove "ert".
7194
7195 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * ParagraphList.C (front): new function
7198         (back): implement
7199
7200 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7201
7202         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7203         and top_row_offset_. removed var first_y.
7204         * text.C (top_y):
7205         * text2.C (LyXText, removeRow):
7206         * text3.C:
7207         * BufferView_pimpl.C:
7208         use these methods instead of using first_y
7209
7210 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * text2.C (pasteSelection): adjust for checkPastePossible
7213
7214         * CutAndPaste.C: remove Paragraph * buf and replace with
7215         ParagraphList paragraphs.
7216         (DeleteBuffer): delete
7217         (cutSelection): change the tc type to textclass_type
7218         (copySelection): change the tc type to textclass_type
7219         (copySelection): adjust for ParagraphList
7220         (pasteSelection): change the tc type to textclass_type
7221         (pasteSelection): adjust for Paragraphlist
7222         (nrOfParagraphs): simplify for ParagraphList
7223         (checkPastePossible): simplify for ParagraphList
7224         (checkPastePossible): remove unused arg
7225
7226         * ParagraphList.C (insert): handle the case where there are no
7227         paragraphs yet.
7228
7229         * CutAndPaste.h: make CutAndPaste a namespace.
7230
7231         * text3.C (dispatch): adjust
7232
7233         * text.C (breakParagraph): add a ParagraphList as arg
7234
7235         * paragraph_funcs.C (breakParagraph): change to take a
7236         BufferParams and a ParagraphList as args.
7237         (breakParagraphConservative): ditto
7238         (mergeParagraph): ditto
7239         (TeXDeeper): add a ParagraphList arg
7240         (TeXEnvironment): ditto
7241         (TeXOnePar): ditto
7242
7243         * buffer.C (readLyXformat2): adjust
7244         (insertStringAsLines): adjust
7245         (latexParagraphs): adjust
7246
7247         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7248         (cutSelection): adjust
7249         (pasteSelection): adjust
7250
7251         * BufferView_pimpl.C (insertInset): adjust
7252
7253 2003-03-05  Angus Leeming  <leeming@lyx.org>
7254
7255         * commandtags.h:
7256         * LyXAction.C (init):
7257         * BufferView_pimpl.C (dispatch):
7258         * lyxfunc.C (getStatus):
7259         remove LFUN_CHILD_INSERT.
7260
7261         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7262
7263 2003-03-05  Angus Leeming  <leeming@lyx.org>
7264
7265         * commandtags.h:
7266         * LyXAction.C (init):
7267         * src/factory.C (createInset):
7268         * lyxfunc.C (getStatus):
7269         * text3.C (dispatch):
7270         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7271
7272         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7273
7274 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * ParagraphList.C (insert): handle insert right before end()
7277         (erase): fix cases where it can be first or last paragraph.
7278
7279 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7282         Paragraph::next and Paragraph::previous
7283         (TeXOnePar): ditto
7284
7285         * text.C (breakParagraph): adjust
7286
7287         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7288         BufferParams& as arg.
7289         (breakParagraph): use ParagraphList::insert
7290         (breakParagraphConservative): take a Buffer* instead of a
7291         BufferParams& as arg.
7292         (breakParagraphConservative): use ParagraphList::insert.
7293
7294         * buffer.C (insertStringAsLines): un-const it
7295         (insertStringAsLines): adjust
7296
7297         * ParagraphList.C (insert): new function
7298
7299         * CutAndPaste.C (pasteSelection): adjust
7300
7301         * text.C (backspace): adjust
7302
7303         * tabular.C (SetMultiColumn): adjust
7304
7305         * CutAndPaste.C (cutSelection): adjust
7306         (pasteSelection): adjust
7307
7308         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7309         Buffer const * as arg
7310
7311         * ParagraphList.C (erase): new function
7312         * paragraph_funcs.C (mergeParagraph): use it
7313         (mergeParagraph): make it take a Buffer* instead of a
7314         BufferParams* as arg
7315
7316         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7317         as arg
7318         (breakParagraphConservative): ditto
7319
7320         * paragraph.h: remove the breakParagraph friend
7321
7322         * paragraph.C (eraseIntern): new function
7323         (setChange): new function
7324
7325         * paragraph_funcs.C (mergeParagraph): make it take a
7326         ParagraphList::iterator instead of a Paragraph *, adjust
7327         accordingly.
7328
7329         * paragraph.h: move an #endif so that the change tracking stuff
7330         also works in the NO_NEXT case.
7331
7332 2003-03-04  Angus Leeming  <leeming@lyx.org>
7333
7334         * commandtags.h:
7335         * LyXAction.C: new LFUN_INSET_MODIFY.
7336
7337         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7338         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7339
7340 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * several files: ws changes only
7343
7344         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7345         (TeXEnvironment): ditto
7346         (TeXDeeper): ditto
7347
7348         * buffer.C (makeLaTeXFile): adjust
7349         (latexParagraphs): make it take ParagraphList::iterator as args
7350
7351 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * buffer.C (latexParagraphs): adjust
7354
7355         * paragraph.C (TeXOnePar): move function...
7356         (optArgInset): move function...
7357         (TeXEnvironment): move function...
7358         * paragraph_pimpl.C (TeXDeeper): move function...
7359         * paragraph_funcs.C: ...here
7360
7361         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7362
7363 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * buffer.C (readInset): remove compability code for old Figure and
7366         InsetInfo insets
7367
7368 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * buffer.C: ws changes
7371         (readInset):
7372
7373         * BufferView_pimpl.C: ditto
7374         * author.C: ditto
7375         * buffer.h: ditto
7376         * bufferlist.h: ditto
7377         * changes.h: ditto
7378         * lyxfunc.C: ditto
7379
7380 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7381
7382         * converter.[Ch]: split into itself +
7383         * graph.[Ch]
7384         * format.[Ch]
7385         * Makefile.am: += graph.[Ch] + format.[Ch]
7386         * MenuBackend.C
7387         * buffer.C
7388         * exporter.C
7389         * importer.C
7390         * lyx_main.C
7391         * lyxfunc.C
7392         * lyxrc.C: added #include "format.h"
7393
7394 2003-02-27  Angus Leeming  <leeming@lyx.org>
7395
7396         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7397           a label.
7398
7399         * factory.C (createInset): add "label" to the factory.
7400
7401         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7402           string and do no more.
7403
7404 2003-02-27  Angus Leeming  <leeming@lyx.org>
7405
7406         * commandtags.h:
7407         * LyXAction.C (init):
7408         * factory.C (createInset):
7409         * BufferView_pimpl.C (dispatch):
7410           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7411
7412         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7413
7414         * lyxfunc.C (dispatch):
7415         * text3.C (dispatch): pass name to params2string.
7416
7417 2003-02-26  Angus Leeming  <leeming@lyx.org>
7418
7419         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7420           blocks together.
7421           Rearrange the ~includes. Strip out the unnecessary ones.
7422
7423         * factory.C (createInset): reformat.
7424           create new insets for the various LFUN_XYZ_APPLY lfuns.
7425
7426 2003-02-26  John Levon  <levon@movementarian.org>
7427
7428         * lyxrow.h:
7429         * lyxrow.C: add isParStart,isParEnd helpers
7430
7431         * paragraph.h: make isInserted/DeletedText take refs
7432
7433         * paragraph_funcs.h:
7434         * paragraph_funcs.C: remove #if 0'd code
7435
7436         * lyxtext.h:
7437         * text3.C:
7438         * text2.C:
7439         * text.C: use lyxrow helpers above.
7440           Move draw and paint routines to RowPainter.
7441           Make several methods use refs not pointers.
7442           Make backgroundColor() const.
7443           Add markChangeInDraw(), isInInset().
7444           Merge changeRegionCase into changeCase.
7445           Make workWidth() shouldn't-happen code into an Assert.
7446
7447         * rowpainter.h:
7448         * rowpainter.C: new class for painting a row.
7449
7450         * vspace.h:
7451         * vspace.C: make inPixels take a ref
7452
7453 2003-02-26  Angus Leeming  <leeming@lyx.org>
7454
7455         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7456         LFUN_REF_APPLY.
7457
7458 2003-02-25  John Levon  <levon@movementarian.org>
7459
7460         * ispell.C: give the forked command a more accurate name
7461
7462 2003-02-22  John Levon  <levon@movementarian.org>
7463
7464         * toc.h:
7465         * toc.C: make TocItem store an id not a Paragraph *
7466           (bug #913)
7467
7468 2003-02-21  Angus Leeming  <leeming@lyx.org>
7469
7470         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7471           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7472           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7473           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7474           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7475           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7476
7477         * BufferView_pimpl.C (dispatch):
7478         * LyXAction.C (init):
7479         * factory.C (createInset):
7480         * lyxfunc.C (getStatus, dispatch):
7481         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7482
7483 2003-02-21  Angus Leeming  <leeming@lyx.org>
7484
7485         * BufferView_pimpl.C (MenuInsertLyXFile):
7486         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7487         * lyxfunc.C (menuNew, open, doImport):
7488           no longer pass a LyXView & to fileDlg.
7489
7490 2003-02-21  Angus Leeming  <leeming@lyx.org>
7491
7492         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7493         * LyXAction.C: change, BIBKEY to BIBITEM.
7494         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7495         Change InsetBibKey to InsetBibitem.
7496         Change BIBKEY_CODE to BIBITEM_CODE.
7497         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7498         * factory.C: replace insetbib.h with insetbibitem.h.
7499         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7500         * paragraph.C: replace insetbib.h with insetbibitem.h.
7501         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7502         Change bibkey() to bibitem().
7503         * text.C: remove insetbib.h.
7504         * text2.C: replace insetbib.h with insetbibitem.h.
7505         change bibkey() to bibitem().
7506         * text3.C: remove insetbib.h.
7507         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7508
7509 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7510
7511         * lyxrc.C (output): enclose user email in quotes (in case there are
7512         several words)
7513
7514 2003-02-18  John Levon  <levon@movementarian.org>
7515
7516         * buffer.h: add std::
7517
7518 2003-02-17  John Levon  <levon@movementarian.org>
7519
7520         * SpellBase.h:
7521         * ispell.h:
7522         * ispell.C:
7523         * pspell.h:
7524         * pspell.C: reworking. Especially in ispell, a large
7525           number of clean ups and bug fixes.
7526
7527         * lyxfunc.C: fix revert to behave sensibly
7528
7529 2003-02-17 André Pönitz <poenitz@gmx.net>
7530
7531         * LyXAction.C:
7532         * commandtags.h: new LFUN_INSERT_BIBKEY
7533
7534         * layout.h:
7535         * lyxlayout.C:
7536         * buffer.C:
7537         * factory.C:
7538         * text.C:
7539         * text2.C:
7540         * text3.C:
7541         * paragraph.[Ch]:
7542         * paragraph_func.C: remove special bibkey handling
7543
7544 2003-02-17  John Levon  <levon@movementarian.org>
7545
7546         * text.C (Delete): fix case where delete at the end of
7547           the very first paragraph would not merge the pars
7548
7549 2003-02-17  John Levon  <levon@movementarian.org>
7550
7551         * lyxrow.C: fix lastPrintablePos()
7552
7553 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7554
7555         * bufferparams.C (writeLaTeX): add a std:here
7556
7557         * buffer.C: and remove a using directive there
7558
7559 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7560
7561         * buffer.C (makeLaTeXFile): move the code that generates the
7562           preamble...
7563
7564         * bufferparams.C (writeLaTeX): ... in this new method
7565
7566         * LaTeXFeatures.C (getEncodingSet): make const
7567           (getLanguages): make const
7568
7569         * MenuBackend.C (binding): returns the binding associated to this
7570           action
7571           (add): sets the status of each item by calling getStatus. Adds
7572           some intelligence.
7573           (read): add support for OptSubMenu
7574           (expand): remove extra separator at the end of expanded menu
7575
7576 2003-02-15  John Levon  <levon@movementarian.org>
7577
7578         * BufferView.C:
7579         * BufferView_pimpl.C:
7580         * bufferlist.h:
7581         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7582           inset code that had no actual effect. Remove unneeded status
7583           code.
7584
7585 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7586
7587         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7588           in preamble
7589
7590 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7591
7592         * text.C (drawLengthMarker): also draw an arrow marker for
7593           symbolic lengths (medskip...)
7594
7595 2003-02-14  John Levon  <levon@movementarian.org>
7596
7597         * tabular.h:
7598         * tabular.C: better method names
7599
7600 2003-02-14  John Levon  <levon@movementarian.org>
7601
7602         * BufferView_pimpl.C:
7603         * bufferlist.C:
7604         * buffer.C:
7605         * converter.C:
7606         * lyx_cb.C:
7607         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7608           it's a more accurate name. Remove some pointless uses.
7609
7610 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7611
7612         * text2.C (LyXText): change order of initilizers to shut off
7613           warnings
7614
7615 2003-02-14  John Levon  <levon@movementarian.org>
7616
7617         * buffer.C: use ParIterator for getParFromID()
7618
7619         * paragraph.h:
7620         * paragraph.C:
7621         * paragraph_pimpl.h:
7622         * paragraph_pimpl.C: remove unused getParFromID()
7623
7624 2003-02-14  John Levon  <levon@movementarian.org>
7625
7626         * buffer.C: remove some very old #if 0'd parse code
7627
7628 2003-02-13  John Levon  <levon@movementarian.org>
7629
7630         * text.h:
7631         * text.C:
7632         * text2.C: move hfillExpansion(), numberOfSeparators(),
7633           rowLast(), rowLastPrintable(), numberofHfills(),
7634           numberOfLabelHfills() ...
7635
7636         * lyxrow.h:
7637         * lyxrow.C: ... to member functions here.
7638
7639         * paragraph.h:
7640         * paragraph.C:
7641         * lyxtext.h:
7642         * text.C: remove LyXText::beginningOfMainBody(), and call
7643           p->beginningOfMainBody() directly. Move the check for
7644           LABEL_MANUAL into the latter.
7645
7646         * text.h:
7647         * text.C:
7648         * text2.C:
7649         * vspace.C:
7650         * BufferView.h:
7651         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7652
7653         * text.h:
7654         * text.C:
7655         * text2.C:
7656         * text3.C:
7657         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7658           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7659
7660 2003-02-13  John Levon  <levon@movementarian.org>
7661
7662         * CutAndPaste.C: remove debug
7663
7664 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7665
7666         * paragraph.C (asString): remove two unused variables
7667
7668         * lyxtextclass.C (readTitleType):
7669           (Read):
7670           (LyXTextClass): handle new members titletype_ and titlename_
7671
7672         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7673
7674 2003-02-09  John Levon  <levon@movementarian.org>
7675
7676         * buffer.h:
7677         * buffer.C: replace hand-coded list with a map for the dep clean
7678
7679 2003-02-08  John Levon  <levon@movementarian.org>
7680
7681         * LaTeX.C: consolidate code into showRunMessage() helper
7682
7683 2003-02-08  John Levon  <levon@movementarian.org>
7684
7685         * lyxfind.C:
7686         * lyxtext.h:
7687         * text2.C:
7688         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7689           and pass the size in explicitly
7690
7691         * BufferView_pimpl.h:
7692         * BufferView_pimpl.C:
7693         * BufferView.h:
7694         * BufferView.C: add getCurrentChange()
7695
7696         * BufferView_pimpl.h:
7697         * BufferView_pimpl.C: handle change lfuns
7698
7699         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7700           for changes. Mark pasted paragraphs as new.
7701
7702         * support/lyxtime.h:
7703         * support/lyxtime.C:
7704         * DepTable.C: abstract time_t as lyx::time_type
7705
7706         * LColor.h:
7707         * LColor.C: add colours for new text, deleted text, changebars
7708
7709         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7710           package use "usenames" option.
7711
7712         * commandtags.h:
7713         * lyxfunc.C:
7714         * LyXAction.C: add change lfuns
7715
7716         * Makefile.am:
7717         * author.h:
7718         * author.C: author handling
7719
7720         * buffer.h:
7721         * buffer.C: add a per-buffer author list, with first entry as
7722           current author. Handle new .lyx tokens for change tracking. Output
7723           author list to .lyx file. Output dvipost stuff to .tex preamble.
7724           Bump lyx format to 222.
7725
7726         * bufferlist.h:
7727         * bufferlist.C: add setCurrentAuthor() to reset current author details
7728           in all buffers.
7729
7730         * bufferparams.h:
7731         * bufferparams.C: add param for tracking
7732
7733         * bufferview_funcs.C: output change info in minibuffer
7734
7735         * Makefile.am:
7736         * changes.h:
7737         * changes.C: add change-tracking structure
7738
7739         * debug.h:
7740         * debug.C: add CHANGES debug flag
7741
7742         * lyxfind.h:
7743         * lyxfind.C: add code for finding the next change piece
7744
7745         * lyxrc.h:
7746         * lyxrc.C: add user_name and user_email
7747
7748         * lyxrow.h:
7749         * lyxrow.C: add a metric for the top of the text line
7750
7751         * lyxtext.h:
7752         * text.C: implement accept/rejectChange()
7753
7754         * lyxtext.h:
7755         * text.C: paint changebars. Paint new/deleted text in the chosen
7756         colours. Strike through deleted text.
7757
7758         * paragraph.h:
7759         * paragraph.C:
7760         * paragraph_pimpl.h:
7761         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7762           in the current change to the insert functions. Rework erase to
7763           mark text as deleted, adding an eraseIntern() and a range-based
7764           erase(). Implement per-paragraph change lookup and
7765           accept/reject.
7766
7767         * paragraph_funcs.C: Fixup paste for change tracking.
7768
7769         * tabular.C: mark added row/columns as new.
7770
7771         * text.C: fix rowLast() to never return -1. Don't allow
7772           spellchecking of deleted text. Track transpose changes. Don't
7773           allow paragraph break or merge where appropriate.
7774
7775         * text2.C: leave cursor at end of selection after a cut.
7776
7777 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7778
7779         * text.C (getLengthMarkerHeight):
7780         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7781         visible on screen too.
7782
7783 2003-02-07  John Levon  <levon@movementarian.org>
7784
7785         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7786
7787 2003-02-05  Angus Leeming  <leeming@lyx.org>
7788
7789         * lyxserver.C (read_ready): revert my patch of 11 September last year
7790         as it sends PC cpu through the roof. Presumably this means that
7791         the lyxserver will no longer run on an Alpha...
7792
7793 2003-01-30  Angus Leeming  <leeming@lyx.org>
7794
7795         * factory.C (createInset): create an InsetCommandParam of type "index"
7796         and use it to 'do the right thing'.
7797
7798         * text2.C (getStringToIndex): ensure that cursor position is always
7799         reset to the reset_cursor position.
7800
7801 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7802
7803         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7804         disabled.
7805
7806 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7807
7808         * bufferview.C:
7809         * lyxcb.C:
7810         * lyxfunc.C: Output messages with identical spelling, punctuation,
7811         and spaces
7812
7813 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7814
7815         * MenuBackend.C (expandFormats): List only viewable export formats
7816         in "View" menu
7817
7818         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7819         message
7820
7821         * lyxfunc.C (getStatus): Make sure that formats other than
7822         "fax" can also be disabled
7823
7824 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7825
7826         * text3.C (dispatch): put the lfuns that insert insets in 3
7827         groups, and call doInsertInset with appropriate arguments.
7828         (doInsertInset): new function, that creates an inset and inserts
7829         it according to some boolean parameters.
7830
7831 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * buffer.C (readFile): remember to pass on 'par' when calling
7834         readFile recursively.
7835
7836 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7837
7838         * MenuBackend.C (expandFormats): add "..." to import formats.
7839
7840 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7841
7842         * paragraph.C (asString): Remove XForms RTL hacks.
7843
7844 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7845         * buffer.C: fix typo
7846
7847 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7848
7849         * Makefile.am (LIBS): delete var
7850         (lyx_LDADD): add @LIBS@ here instead.
7851
7852 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7853
7854         * Clarify the meaning of "wheel mouse jump"
7855
7856 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7857
7858         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7859         tabular in a float
7860
7861 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7862
7863         * importer.C (Loaders): do not preallocate 3 elements in the
7864         vector, since one ends up with 6 elements otherwise
7865
7866 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7867
7868         * DepTable.C (write): write the file name as last element of the
7869         .dep file (because it may contain spaces)
7870         (read): read info in the right order
7871
7872 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7873
7874         * paragraph_pimpl.C (simpleTeXBlanks):
7875         (simpleTeXSpecialChars):
7876         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7877
7878         * tabular.C (latex): add some missing case statements. Reindent.
7879
7880         * MenuBackend.C (expandToc): remove unused variable.
7881
7882 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7883
7884         * LColor.C:
7885         * LaTeX.C:
7886         * LyXAction.C:
7887         * MenuBackend.C:
7888         * buffer.C:
7889         * exporter.C:
7890         * lyxfunc.C:
7891         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7892         and the like.
7893
7894 2003-01-05  John Levon  <levon@movementarian.org>
7895
7896         * BufferView.h:
7897         * BufferView.C: add getEncoding()
7898
7899         * kbsequence.h:
7900         * kbsequence.C: do not store last keypress
7901
7902         * lyxfunc.h:
7903         * lyxfunc.C: store last keypress here instead. Pass encoding
7904           to getISOEncoded()
7905
7906 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7907
7908         * lyx_main.C (init): remove annoying error message when following
7909         symbolic links (bug #780)
7910
7911 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7912
7913         * text.C (insertChar):
7914         * lyxrc.C (getDescription): remove extra spaces
7915
7916 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7917
7918         * lyxrc.C (getDescription): remove extra spaces
7919
7920 2002-12-20  John Levon  <levon@movementarian.org>
7921
7922         * text3.C: hack fix for page up/down across tall rows
7923
7924 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7925
7926         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7927         not been invoked
7928
7929 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7930
7931         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7932         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7933         thesaurus is not compiled in
7934
7935 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7936
7937         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7938
7939 2002-12-16  Angus Leeming  <leeming@lyx.org>
7940
7941         * lyxrc.[Ch]:
7942         * lyx_main.C (init): remove override_x_deadkeys stuff.
7943
7944 2002-12-12  John Levon  <levon@movementarian.org>
7945
7946         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7947           insert. Only remove shift modifier under strict
7948           circumstances.
7949
7950 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7951
7952         * MenuBackend.C (expandToc): fix crash.
7953
7954 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * MenuBackend.C (expandToc): gettext on float names.
7957
7958 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7959
7960         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7961         implement bool empty() [bug 490]
7962
7963 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7966
7967 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * several files: ws changes
7970
7971 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * text2.C (setCounter): clean up a bit, use boost.format.
7974         (updateCounters): initialize par upon declaration.
7975
7976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7977         if the layout exists. We do not just store the layout any more.
7978         (SwitchLayoutsBetweenClasses): use boost.format
7979
7980 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7981
7982         * converter.C (convert): if from and to files are the same, use a
7983         temporary files as intermediary
7984
7985 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7986
7987         * commandtags.h:
7988         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7989
7990 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7991
7992         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7993
7994 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7995
7996         * tabular.C (asciiPrintCell): use string(size, char) instead of
7997         explicit loop.
7998
7999         * sgml.C (openTag): fix order of arguments to string constructor
8000         (closeTag): ditto
8001
8002         * lyxfunc.C (dispatch): use boost.format
8003
8004         * lots of files: change "c" -> 'c'
8005
8006 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8007
8008         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8009
8010 2002-11-25  Angus Leeming  <leeming@lyx.org>
8011
8012         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8013
8014         * lyx_main.C (init): compile fix.
8015
8016 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * lyx_cb.C (start): boost.formatify
8019         do not include <iostream>
8020
8021         * lengthcommon.C: ws only
8022
8023         * boost-inst.C,BoostFormat.h: add more explict instantations
8024
8025 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * lots of files: handle USE_BOOST_FORMAT
8028
8029 2002-11-21  John Levon  <levon@movementarian.org>
8030
8031         * pspell.C: fix compile
8032
8033 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * lyxfunc.C (dispatch): use boost::format
8036         (open): ditto
8037         (doImport): ditto
8038
8039         * lyxfont.C (stateText): use boost::format
8040
8041         * lyx_main.C (LyX): use boost::format
8042         (init): ditto
8043         (queryUserLyXDir): ditto
8044         (readRcFile): ditto
8045         (parse_dbg): ditto
8046         (typedef boost::function): use the recommened syntax.
8047
8048         * importer.C (Import): use boost::format
8049
8050         * debug.C (showLevel): use boost::format
8051
8052         * converter.C (view): use boost::format
8053         (convert): ditto
8054         (move): ditto
8055         (scanLog): ditto
8056
8057         * bufferview_funcs.C (currentState): use boost::format
8058
8059         * bufferlist.C (emergencyWrite): use boost::format
8060
8061         * buffer.C (readLyXformat2): use boost::format
8062         (parseSingleLyXformat2Token): ditto
8063
8064         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8065
8066         * LaTeX.C (run): use boost::format
8067
8068         * Chktex.C (scanLogFile): use boost::format
8069
8070         * BufferView_pimpl.C (savePosition): use boost::format
8071         (restorePosition): ditto
8072         (MenuInsertLyXFile): ditto
8073
8074         * BoostFormat.h: help file for explicit instation.
8075
8076 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8077
8078         * tabular.C (latex): Support for block alignment in fixed width
8079         columns.
8080
8081 2002-11-17  John Levon  <levon@movementarian.org>
8082
8083         * BufferView_pimpl.C:
8084         * lyx_cb.C:
8085         * lyxfunc.C: split filedialog into open/save
8086
8087 2002-11-08  Juergen Vigna  <jug@sad.it>
8088
8089         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8090         by my last patch (hopefully).
8091
8092 2002-11-08  John Levon  <levon@movementarian.org>
8093
8094         * iterators.h:
8095         * iterators.C:
8096         * buffer.h:
8097         * buffer.C:
8098         * paragraph.h:
8099         * paragraph.C:
8100         * toc.h:
8101         * toc.C: ParConstIterator, and use it (from Lars)
8102
8103 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8104
8105         * lyxtextclass.[Ch]: revise and add doxygen comments
8106
8107 2002-11-07  John Levon  <levon@movementarian.org>
8108
8109         * text.C: fix progress value for spellchecker
8110
8111         * toc.C: fix navigate menu for insetwrap inside minipage
8112
8113         * paragraph_funcs.C: added FIXME for suspect code
8114
8115 2002-11-07  John Levon  <levon@movementarian.org>
8116
8117         * BufferView_pimpl.C: fix redrawing of insets
8118           on buffer switch
8119
8120 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * text2.C (updateCounters): fix bug 668
8123
8124 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * text3.C (dispatch): Do not make the buffer dirty when moving the
8127         cursor.
8128
8129 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * vc-backend.C: STRCONV
8132         (scanMaster): ditto
8133
8134         * text2.C (setCounter): STRCONV
8135
8136         * paragraph.C (asString): STRCONV
8137
8138         * lyxlength.C (asString): STRCONV
8139         (asLatexString): ditto
8140
8141         * lyxgluelength.C (asString): STRCONV
8142         (asLatexString): ditto
8143
8144         * lyxfunc.C (dispatch): STRCONV
8145         (open): ditto
8146
8147         * lyxfont.C (stateText): STRCONV
8148
8149         * importer.C (Import): STRCONV
8150
8151         * counters.C (labelItem): STRCONV
8152         (numberLabel): ditto
8153         (numberLabel): remove unused ostringstream o
8154
8155         * chset.C: STRCONV
8156         (loadFile): ditto
8157
8158         * bufferview_funcs.C (currentState): STRCONV
8159
8160         * buffer.C (readFile): STRCONV
8161         (asciiParagraph): ditto
8162         (makeLaTeXFile): ditto
8163
8164         * Spacing.C (writeEnvirBegin): STRCONV
8165
8166         * LaTeXFeatures.C (getLanguages): STRCONV
8167         (getPackages): ditto
8168         (getMacros): ditto
8169         (getBabelOptions): ditto
8170         (getTClassPreamble): ditto
8171         (getLyXSGMLEntities): ditto
8172         (getIncludedFiles): ditto
8173
8174         * LaTeX.C: STRCONV
8175         (run): ditto
8176         (scanAuxFile): ditto
8177         (deplog): ditto
8178
8179         * LString.h: add the STRCONV macros
8180
8181         * BufferView_pimpl.C (savePosition): STRCONV
8182         (restorePosition): ditto
8183         (MenuInsertLyXFile): ditto
8184
8185         * vc-backend.C (scanMaster): change from submatch[...] to
8186         submatch.str(...)
8187
8188         * funcrequest.C: include config.h
8189
8190         * factory.C: include config.h
8191
8192         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8193
8194         * box.C: include config.h
8195
8196         * LaTeX.C (scanAuxFile): change from submatch[...] to
8197         submatch.str(...)
8198         (deplog): ditto
8199
8200 2002-10-25  Angus Leeming  <leeming@lyx.org>
8201
8202         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8203
8204         * ispell.[Ch] (setError): new method.
8205         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8206         Use setError() insetead of goto END.
8207
8208         * lyx_cb.C (AutoSave): move out child process into new class
8209         AutoSaveBuffer.
8210
8211 2002-10-30  John Levon  <levon@movementarian.org>
8212
8213         * text3.C: make start appendix undoable
8214
8215 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * lyxlength.C (inPixels): Fix returned value.
8218
8219         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8220         environment.
8221
8222 2002-10-24  Angus Leeming  <leeming@lyx.org>
8223
8224         * lyxgluelength.h: no need to forward declare BufferParams
8225         or BufferView, so don't.
8226
8227 2002-10-21  John Levon  <levon@movementarian.org>
8228
8229         * BufferView.C: menuUndo ->undo, redo
8230
8231         * BufferView.h: document, remove dead, make some methods private
8232
8233         * paragraph_funcs.h:
8234         * paragraph_funcs.C:
8235         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8236
8237         * buffer.h:
8238         * buffer.C:
8239         * sgml.h:
8240         * sgml.C: move sgml open/close tag into sgml.C
8241
8242         * bufferview_funcs.h: unused prototype
8243
8244         * lyxfunc.h:
8245         * lyxfunc.C: remove unused
8246
8247         * lyxtext.h:
8248         * text.C: remove unused
8249
8250 2002-10-21  John Levon  <levon@movementarian.org>
8251
8252         * BufferView.h:
8253         * BufferView.C:
8254         * BufferView_pimpl.h:
8255         * BufferView_pimpl.C: fix mouse wheel handling based on
8256           patch from Darren Freeman
8257
8258 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8259
8260         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8261
8262 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8263
8264         * lyxlength.C (inPixels): Fix hanfling of negative length.
8265         Fix LyXLength::MU case.
8266
8267 2002-10-16  John Levon  <levon@movementarian.org>
8268
8269         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8270
8271 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8272
8273         * converter.C (view): add support for $$i (file name) and $$p
8274         (file path) for the viewer command. If $$i is not specified, then
8275         it is appended to the command (for compatibility with old syntax)
8276
8277 2002-10-14  Juergen Vigna  <jug@sad.it>
8278
8279         * undo_funcs.C (textHandleUndo): alter the order in which the
8280         new undopar is added to the LyXText, as we have to set first
8281         the right prev/next and then add it as otherwise the rebuild of
8282         LyXText is not correct. Also reset the cursor to the right paragraph,
8283         with this IMO we could remove the hack in "redoParagraphs()".
8284
8285 2002-10-09  Angus Leeming  <leeming@lyx.org>
8286
8287         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8288         to turn off an optimisation if a new inset is to be inserted.
8289
8290 2002-10-11 André Pönitz <poenitz@gmx.net>
8291
8292         * lyxtext.h: make some functions public to allow access
8293         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8294
8295 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8296
8297         * text3.C (dispatch): when changing layout, avoid an infinite loop
8298         [bug #652]
8299
8300 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8301
8302         * lyxrc.C (read): treat a viewer or converter command of "none" as
8303         if it were empty.
8304
8305         * MenuBackend.C (expandFormats): for an update, also allow the
8306         formats that are not viewable
8307
8308         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8309         script if it is newer than the lyxrc.defaults in user directory
8310
8311 2002-10-07 André Pönitz <poenitz@gmx.net>
8312
8313         * text.C: Vitaly Lipatov's small i18n fix
8314
8315 2002-09-25  Angus Leeming  <leeming@lyx.org>
8316
8317         * ispell.h: doxygen fix.
8318
8319 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8320
8321         * buffer.h (readFile): Add a new argument to the method, to allow
8322         reading of old-format templates.
8323
8324 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8325
8326         * toc.C (getTocList): Get TOC from InsetWrap.
8327
8328 2002-09-16  John Levon  <levon@movementarian.org>
8329
8330         * lyxfunc.C: check tabular for cut/copy too
8331
8332 2002-09-12  John Levon  <levon@movementarian.org>
8333
8334         * LyXAction.C: tidy
8335
8336         * factory.h:
8337         * factory.C: add header
8338
8339         * paragraph_funcs.h:
8340         * paragraph_funcs.C: cleanup
8341
8342 2002-09-11  John Levon  <levon@movementarian.org>
8343
8344         * PrinterParams.h: odd/even default to true
8345
8346 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8347
8348         * PrinterParams.h: update printer parameters for new xforms dialog
8349
8350 2002-09-11  Angus Leeming  <leeming@lyx.org>
8351
8352         * lyxserver.C (read_ready): re-write to make it more transparent
8353         and to make it work in coherent fashion under Tru64 Unix.
8354
8355 2002-09-11  André Pönitz <poenitz@gmx.net>
8356
8357         * commandtags.h:
8358         * LyXAction.C:
8359         * text3.C: implement LFUN_WORDSEL
8360
8361 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8364         make floatlist_ a boost::shared_ptr<FloatList>
8365
8366         * lyxtextclass.C: include FloatList.h
8367         (LyXTextClass): initialize floatlist_
8368         (TextClassTags): add TC_NOFLOAT
8369         (Read): match "nofloat" to TC_NOFLOAT and use it.
8370         (readFloat): modify call to floatlist_
8371         (floats): ditto
8372         (floats): ditto
8373
8374         * FloatList.[Ch] (FloatList): remove commented out float
8375         initialization.
8376         (erase): new function
8377
8378 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8379
8380         * MenuBackend.C (expandToc): fix crash when there is no document
8381         open
8382
8383 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8384
8385         * many files: Add insetwrap.
8386
8387 2002-09-09  John Levon  <levon@movementarian.org>
8388
8389         * text2.C: remove confusing and awkward depth wraparound
8390
8391 2002-09-09  John Levon  <levon@movementarian.org>
8392
8393         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8394
8395         * buffer.h:
8396         * buffer.C: remove getIncludeonlyList()
8397
8398         * paragraph.C:
8399         * lyxfunc.C: remove headers
8400
8401 2002-09-09  Juergen Vigna  <jug@sad.it>
8402
8403         * text.C (getColumnNearX): fix form Michael this is most
8404         probably a cut&paste bug.
8405
8406 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8409
8410         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8411         references, ws changes.
8412
8413         * text2.C (init): update counters after init
8414         (insertParagraph): no need to set counter on idividual paragraphs.
8415         (setCounter): access the counters object in the textclass object
8416         on in the buffer object.
8417         (updateCounters): ditto
8418
8419         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8420         shared_ptr<Counters> to avoid loading counters.h in all
8421         compilation units.
8422         (LyXTextClass): initialize ctrs_
8423         (TextClassTags): add TC_COUNTER, and ...
8424         (Read): use it here.
8425         (CounterTags): new tags
8426         (readCounter): new function
8427         (counters): new funtion
8428         (defaultLayoutName): return a const reference
8429
8430         * counters.C (Counters): remove contructor
8431         (newCounter): remove a couple of unneeded statements.
8432         (newCounter): simplify a bit.
8433         (numberLabel): some small formatting changes.
8434
8435         * buffer.[Ch]: remove all traces of counters, move the Counters
8436         object to the LyXTextClass.
8437
8438 2002-09-06  Alain Castera  <castera@in2p3.fr>
8439
8440         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8441         package to set the horizontal alignment on fixed width columns.
8442
8443         * lyx_sty.C:
8444         * lyx_sty.h: added tabularnewline macro def.
8445
8446         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8447
8448 2002-09-06  John Levon  <levon@movementarian.org>
8449
8450         * LyXAction.C: tooltips for sub/superscript
8451
8452         * MenuBackend.C: a bit more verbose
8453
8454         * lyxfunc.C: tiny clean
8455
8456         * undo_funcs.C: document undo_frozen
8457
8458 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * counters.C (Counters): add missing algorithm counter.
8461
8462         * text2.C (setCounter): lookup the counter with layouts latexname
8463         instead of by section number.
8464         (setCounter): use a hackish way to lookup the correct enum
8465         counter.
8466         a float name->type change
8467         reset enum couners with counter name directly instead of depth value.
8468
8469         * counters.C (Counters): remove the push_backs, change to use the
8470         float type not the float name.
8471         (labelItem): remove unused string, float name->type change
8472
8473         * counters.h: don't include vector, loose the enums and sects vectors
8474
8475 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8478         (Read): add float->TC_FLOAT to textclassTags
8479         (Read): and handle it in the switch
8480         (readFloat): new function
8481
8482         * FloatList.C (FloatList): comment out the hardcoded float
8483         definitions.
8484
8485         * lyxlayout.h: ws change.
8486
8487 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8488
8489         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8490
8491 2002-09-03  Angus Leeming  <leeming@lyx.org>
8492
8493         * BufferView_pimpl.h: qualified name is not allowed in member
8494         declaration: WorkArea & Pimpl::workarea() const;
8495
8496         * factory.C: added using std::endl directive.
8497
8498         * text3.C: added using std::find and std::vector directives.
8499
8500 2002-08-29  André Pönitz <poenitz@gmx.net>
8501
8502         * lyxtext.h:
8503         * text2.C: remove unused member number_of_rows
8504
8505         * Makefile.am:
8506         * BufferView2.C: remove file, move contents to...
8507         * BufferView.C: ... here
8508
8509         * BufferView_pimpl.C:
8510         * factory.C: move more inset creation to factory
8511
8512         * vspace.C: avoid direct usage of LyXText, ws changes
8513
8514         * BufferView.[Ch]:
8515                 don't provide direct access to WorkArea, use two simple
8516                 acessors haveSelction() and workHeight() instead
8517
8518
8519 2002-08-29  John Levon  <levon@movementarian.org>
8520
8521         * BufferView_pimpl.C (dispatch): do not continue when
8522           no buffer
8523
8524 2002-08-28  André Pönitz <poenitz@gmx.net>
8525
8526         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8527
8528         * BufferView.h:
8529         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8530
8531 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8532
8533         * buffer.C: increment LYX_FORMAT to 221
8534
8535         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8536         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8537
8538         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8539
8540         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8541
8542 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8543
8544         * factory.C (createInset): use LyXTextClass::floats
8545
8546         * MenuBackend.C (expandFloatListInsert):
8547         (expandFloatInsert):
8548         (expandToc):
8549
8550         * text2.C (setCounter):
8551
8552         * LaTeXFeatures.C (useFloat):
8553         (getFloatDefinitions):
8554
8555         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8556
8557         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8558         floatlist_, with accessor floats().
8559
8560         * FloatList.h: remove global FloatList
8561
8562 2002-08-26  André Pönitz <poenitz@gmx.net>
8563
8564         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8565
8566         * BufferView.h:
8567         * BufferView2.C:
8568         * BufferView_pimpl.C:
8569         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8570
8571 2002-08-25  John Levon  <levon@movementarian.org>
8572
8573         * LyXAction.C: fix margin note description
8574
8575 2002-08-24  John Levon  <levon@movementarian.org>
8576
8577         * buffer.C:
8578         * bufferlist.C:
8579         * bufferview_funcs.C:
8580         * lyxfont.C:
8581         * undo_funcs.C: cleanups
8582
8583         * lyxfunc.C: disable CUT/COPY when no selection
8584
8585 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8586
8587         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8588         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8589
8590         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8591         Add backward compatibility to "mono", "gray" and "no".
8592
8593 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8594
8595         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8596         (and file_format >= 200).
8597
8598 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8601
8602 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8603
8604         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8605
8606 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8607
8608         * BufferView_pimpl.C:
8609         * LyXAction.C:
8610         * buffer.C:
8611         * commandtags.h:
8612         * lyxfunc.C:
8613         * paragraph.[Ch]:
8614         * text2.C:
8615         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8616         inset and code to make it  work with the paragraph code. The inset
8617         can be anywhere in the paragraph, but will only do the expected
8618         thing in LaTeX if the layout file contains the parameter line
8619                         OptionalArgs    1
8620         (or more generally, a nonzero value) for that layout.
8621
8622 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * paragraph.h: remove the declaration of undefined counters class
8625         function.
8626
8627 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8628
8629         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8630         Dr. Richard Hawkins.
8631
8632 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8633
8634         * paragraph_funcs.h: remove some unneeded includes
8635
8636         * text.C (backspace): pasteParagraph now in global scipe
8637
8638         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8639         (pasteSelection): ditto
8640
8641         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8642         * paragraph_funcs.C (pasteParagraph): ... here
8643
8644 2002-08-20  André Pönitz <poenitz@gmx.net>
8645
8646         * commandtags.h: new LFUNs for swapping/copying table row/colums
8647
8648         * LyXAction.C:
8649         * lyxfunc.C: support for new lfuns
8650
8651 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * tabular.C:
8654         * buffer.[Ch]: remove NO_COMPABILITY stuff
8655
8656 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * boost.C (throw_exception): new file, with helper function for
8659         boost compiled without exceptions.
8660
8661         * paragraph.h:
8662         * lyxlength.C:
8663         * buffer.C:
8664         * ParameterStruct.h:
8665         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8666
8667         * bufferlist.C (emergencyWriteAll): use boost bind
8668
8669         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8670
8671         * text.C: include paragraph_funcs.h
8672         (breakParagraph): breakParagraph is now in global scope
8673
8674         * paragraph_funcs.[Ch]: new files
8675
8676         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8677         global scope
8678
8679         * buffer.C: include paragraph_funcs.h
8680         (insertStringAsLines): breakParagraph is now in global scope
8681
8682         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8683         paragraph_funcs.C
8684
8685         * CutAndPaste.C: include paragraph_funcs.h
8686         (cutSelection): breakParagraphConservative is now in global scope
8687         (pasteSelection): ditto
8688
8689         * buffer.h: declare oprator== and operator!= for
8690         Buffer::inset_iterator
8691
8692         * bufferlist.C (emergencyWrite): don't use fmt(...)
8693
8694         * text3.C: add using std::endl
8695
8696         * BufferView.C (moveCursorUpdate): remove default arg
8697
8698 2002-08-20  André Pönitz <poenitz@gmx.net>
8699
8700         * buffer.[Ch]: move inline functions to .C
8701
8702         * BufferView2.C:
8703         * BufferView_pimpl.C:
8704         * text.C:
8705         * buffer.[Ch]: use improved inset_iterator
8706
8707         * buffer.C:
8708         * paragraph.[Ch]: write one paragraph at a time
8709
8710 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8711
8712         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8713         style if style is not specified.
8714
8715 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8716
8717         * text2.C (setCounter): when searching for right label for a
8718         caption, make sure to recurse to parent insets (so that a caption
8719         in a minipage in a figure float works) (bug #568)
8720
8721 2002-08-20  André Pönitz <poenitz@gmx.net>
8722
8723         * text3.C: new file for LyXText::dispatch() and helpers
8724
8725         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8726
8727         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8728
8729 2002-08-19  André Pönitz <poenitz@gmx.net>
8730
8731         * lyxtext.h:
8732         * text.C: new LyXText::dispatch()
8733
8734         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8735
8736 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8737
8738         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8739
8740         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8741         Hebrew text.
8742
8743 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * Makefile.am: use $(variables) instead of @substitutions@
8746
8747 2002-08-15  André Pönitz <poenitz@gmx.net>
8748
8749         * lyxfunc.C:
8750         * BufferView_pimpl.C: streamlining mathed <-> outer world
8751         interaction
8752
8753         * commandtags.h:
8754         * LyXAction.C: remove unused LFUN_MATH
8755
8756 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8759
8760 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * paragraph.C (Paragraph): reformat a bit
8763         (cutIntoMinibuffer): use builtin InsetList function instad of
8764         doing it manually.
8765         (getInset): ditto
8766
8767         * buffer.C: include boost/bind.hpp, add using std::for_each
8768         (writeFileAscii): use ParagraphList iterators
8769         (validate): use for_each for validate traversal of paragraphs
8770         (getBibkeyList): use ParagraphList iterators
8771         (resizeInsets): use for_each to resizeInsetsLyXText for all
8772         paragraphs.
8773         (getParFromID): use ParagraphList iterators
8774
8775         * BufferView2.C (lockInset): use paragraph list and iterators
8776
8777 2002-08-14  John Levon  <levon@movementarian.org>
8778
8779         * lyxserver.C: remove spurious xforms include
8780
8781 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8782
8783         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8784
8785 2002-08-13  André Pönitz <poenitz@gmx.net>
8786
8787         * LyXAction.[Ch]:
8788         * lyxfunc.C: further cleaning
8789
8790 2002-08-13  André Pönitz <poenitz@gmx.net>
8791
8792         * funcrequest.h: new constructor
8793
8794         * funcrequest.C: move stuff here from .h
8795
8796         * Makefile.am:
8797         * BufferView_pimpl.C:
8798         * LyXAction.C:
8799         * toc.C:
8800         * lyxfunc.C: subsequent changes
8801
8802         * lyxfunc.h: new view() member function
8803
8804         * lyxfunc.C: subsequent changes
8805
8806 2002-08-13  Angus Leeming  <leeming@lyx.org>
8807
8808         * BufferView2.C:
8809         * BufferView_pimpl.C:
8810         * buffer.C:
8811         * converter.C:
8812         * importer.C:
8813         * lyxfunc.C:
8814         * lyxvc.C:
8815         * toc.C:
8816         * vc-backend.C:
8817         changes due to the changed LyXView interface that now returns references
8818         to member variables not pointers.
8819
8820 2002-08-13  Angus Leeming  <leeming@lyx.org>
8821
8822         * WordLangTuple (word, lang_code): return references to strings,
8823         not strings.
8824
8825         * BufferView.h:
8826         * SpellBase.h:
8827         * lyxtext.h: forward-declare WordLangTuple.
8828
8829         * BufferView2.C:
8830         * ispell.C:
8831         * pspell.C:
8832         * text.C: #include "WordLangTuple.h".
8833
8834         * lyxtext.h:
8835         * text.C: (selectNextWordToSpellcheck): constify return type.
8836
8837 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8838
8839         * buffer.C:
8840         * buffer.h:
8841         * lyxtext.h:
8842         * paragraph.C:
8843         * paragraph_pimpl.h:
8844         * text.C:
8845         * text2.C:
8846         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8847         suggested by Angus.
8848         Made updateCounter always count from start of buffer, and removed
8849         second argument (par).
8850         Reverted floats number display to '#'. Perhaps I'll try again when the
8851         code base is sanitized a bit.
8852
8853 2002-08-12  Angus Leeming  <leeming@lyx.org>
8854
8855         * buffer.[Ch] (getLabelList): constify.
8856
8857 2002-08-07  André Pönitz <poenitz@gmx.net>
8858
8859         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8860
8861         * funcrequest.h: extension to keep mouse (x,y) position
8862
8863 2002-08-12  Juergen Vigna  <jug@sad.it>
8864
8865         * BufferView2.C (insertErrors): forbid undo when inserting error
8866         insets.
8867
8868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8869
8870 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8871
8872         * ParagraphList.[Ch]: new files
8873
8874         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8875
8876         * BufferView2.C (lockInset): ParagraphList changes
8877         * toc.C: ditto
8878         * text2.C: ditto
8879         * bufferlist.C: ditto
8880         * buffer.h: ditto
8881         * buffer.C: ditto
8882
8883 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8886         unused class variable counter_,
8887
8888         * paragraph.[Ch] (getFirstCounter): delete unused function
8889
8890         * counters.C: include LAssert.h
8891         (reset): add a new function with no arg, change other version to
8892         not have def. arg and to not allow empty arg.
8893
8894         * text2.C (setCounter): remove empty arg from call to Counters::reset
8895
8896 2002-08-11  John Levon  <levon@movementarian.org>
8897
8898         * Makefile.am: add WordLangTuple.h
8899
8900 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8903         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8904
8905         * insets/insettext.C: InsetList changes
8906
8907         * graphics/GraphicsSupport.C (operator()): InsetList changes
8908
8909         * toc.C (getTocList): InsetList changes
8910
8911         * paragraph_pimpl.[Ch]: InsetList changes
8912
8913         * paragraph.[Ch]: InsetList changes
8914
8915         * buffer.C (inset_iterator): InsetList changes
8916         (setParagraph): ditto
8917         * buffer.h (inset_iterator): ditto
8918         * iterators.C (operator++): ditto
8919         * iterators.h: ditto
8920
8921         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8922
8923         * InsetList.[Ch]: new files, most InsetList handling moved out of
8924         paragraph.C.
8925
8926         * BufferView2.C (removeAutoInsets): InsetList changes
8927         (lockInset): ditto
8928         (ChangeInsets): ditto
8929
8930 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * paragraph_pimpl.h (empty): new function
8933
8934         * paragraph.[Ch] (empty): new function
8935
8936         * other files: use the new Paragraph::empty function
8937
8938 2002-08-09  John Levon  <levon@movementarian.org>
8939
8940         * lyxtext.h: remove unused refresh_height
8941
8942 2002-08-09  John Levon  <levon@movementarian.org>
8943
8944         * Makefile.am:
8945         * sgml.h:
8946         * sgml.C:
8947         * buffer.C:
8948         * paragraph.h:
8949         * paragraph.C: move sgml char escaping out of paragraph
8950
8951         * paragraph.h:
8952         * paragraph.C: remove id setter
8953
8954         * buffer.C:
8955         * paragraph.C:
8956         * paragraph_pimpl.C: remove dead tex_code_break_column
8957
8958         * bufferview_funcs.C: small cleanup
8959
8960         * lyxfunc.C: remove dead proto
8961
8962         * lyxtext.h: make some stuff private. Remove some dead stuff.
8963
8964         * lyxgluelength.C: make as[LyX]String() readable
8965
8966 2002-08-08  John Levon  <levon@movementarian.org>
8967
8968         * LyXAction.h:
8969         * LyXAction.C:
8970         * MenuBackend.C:
8971         * ToolbarDefaults.C:
8972         * lyxfunc.C:
8973         * lyxrc.C:
8974         * toc.C: lyxaction cleanup
8975
8976 2002-08-08  John Levon  <levon@movementarian.org>
8977
8978         * BufferView2.C: small cleanup
8979
8980         * lyxfind.h:
8981         * lyxfind.C: move unnecessary header into the .C
8982
8983 2002-08-08  John Levon  <levon@movementarian.org>
8984
8985         * funcrequest.h: just tedious nonsense
8986
8987         * lyx_main.h:
8988         * lyx_main.C: cleanups
8989
8990         * buffer.C:
8991         * vspace.C: remove dead header lyx_main.h
8992
8993 2002-08-07  Angus Leeming  <leeming@lyx.org>
8994
8995         * Paragraph.[Ch]:
8996         * paragraph_pimpl.h:
8997         Forward declare class Counters in paragraph.h by moving the ctrs member
8998         variable into Paragraph::Pimpl.
8999         (counters): new method, returning a reference to pimpl_->ctrs.
9000
9001         * text2.C: ensuing changes.
9002
9003 2002-08-07  John Levon  <levon@movementarian.org>
9004
9005         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9006
9007         * BufferView_pimpl.C: announce X selection on double/triple
9008           click
9009
9010         * lyx_main.C: use correct bool in batch dispatch
9011
9012         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9013
9014 2002-08-07  André Pönitz <poenitz@gmx.net>
9015
9016         * funcrequest.h: new class to wrap a kb_action and its argument
9017
9018         * BufferView.[Ch]:
9019         * BufferView_pimpl[Ch]:
9020         * LaTeX.C:
9021         * LyXAction.[Ch]:
9022         * lyxfunc.[Ch]:
9023         * lyxrc.C: subsequent changes
9024
9025
9026 2002-08-07  John Levon  <levon@movementarian.org>
9027
9028         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9029           document options change.
9030
9031 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9032
9033         * counters.[Ch]
9034         * text2.C
9035         * paragraph.[Ch]
9036         * makefile.am: move counters functionality over from
9037         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9038
9039 2002-08-06  John Levon  <levon@movementarian.org>
9040
9041         * WordLangTuple.h: new file for word + language code tuple
9042
9043         * SpellBase.h:
9044         * pspell.h:
9045         * pspell.C:
9046         * ispell.h:
9047         * ispell.C:
9048         * lyxtext.h:
9049         * text.C:
9050         * text2.C:
9051         * BufferView.h:
9052         * BufferView2.C: use WordLangTuple
9053
9054         * layout.h:
9055         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9056
9057 2002-08-06  John Levon  <levon@movementarian.org>
9058
9059         * lyx_main.C: fix cmdline batch handling
9060
9061 2002-08-06  André Pönitz <poenitz@gmx.net>
9062
9063         * lyxrc.C: set default for show_banner to true
9064
9065 2002-08-06  John Levon  <levon@movementarian.org>
9066
9067         * pspell.C: fix a crash, and allow new aspell to work
9068
9069 2002-08-06  John Levon  <levon@movementarian.org>
9070
9071         * lyxfunc.C:
9072         * kbmap.C: small cleanup
9073
9074         * vspace.h:
9075         * vspace.C: add const
9076
9077 2002-08-05  John Levon  <levon@movementarian.org>
9078
9079         * LyXAction.C: back to tabular-insert
9080
9081 2002-08-04  John Levon  <levon@movementarian.org>
9082
9083         * BufferView.h:
9084         * BufferView.C: cosmetic change
9085
9086         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9087
9088         * bufferlist.C:
9089         * buffer.h:
9090         * buffer.C:
9091         * lyxcb.h:
9092         * lyxcb.C:
9093         * lyxserver.C:
9094         * lyxvc.C:
9095         * vc-backend.C:
9096         * BufferView2.C: purge all "Lyx" not "LyX" strings
9097
9098         * lyxcursor.h:
9099         * lyxcursor.C: attempt to add some documentation
9100
9101         * lyxfunc.C:
9102         * commandtags.h:
9103         * LyXAction.C:
9104         * ToolbarDefaults.C:
9105         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9106           merge with LFUN_TABULAR_INSERT
9107
9108         * Makefile.am:
9109         * SpellBase.h:
9110         * ispell.h:
9111         * ispell.C:
9112         * pspell.h:
9113         * pspell.C: split up i/pspell implementations into separate
9114           files, many cleanups
9115
9116         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9117
9118         * text2.C: some cleanup
9119
9120         * lyxfunc.C: don't check for isp_command == "none" any more, it
9121           didn't make any sense
9122
9123 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9124
9125         * counters.[Ch]
9126         * text2.C
9127         * paragraph.[Ch]
9128         * makefile.am: move counters functionality over
9129         from text2.C/paragraph.[Ch] to counters.[Ch], and
9130         make proper C++.
9131 2002-08-02  John Levon  <levon@movementarian.org>
9132
9133         * buffer.C: s/lyxconvert/lyx2lyx/
9134
9135 2002-08-02  Angus Leeming  <leeming@lyx.org>
9136
9137         * lyxlex.C: revert John's change as it breaks reading of the user
9138         preamble.
9139
9140 2002-08-02  Angus Leeming  <leeming@lyx.org>
9141
9142         * importer.C (Import):
9143         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9144         changes due to LyXView::view() now returning a boost::shared_ptr.
9145
9146 2002-08-02  John Levon  <levon@movementarian.org>
9147
9148         * lyxlex.C: small cleanup
9149
9150 2002-08-02  John Levon  <levon@movementarian.org>
9151
9152         * text2.C (status): small cleanup, no logic change
9153
9154 2002-08-01  John Levon  <levon@movementarian.org>
9155
9156         * buffer.h:
9157         * buffer.C (writeFile): don't output alerts, caller
9158           handles this
9159
9160         * bufferlist.C:
9161         * lyx_cb.C: from above
9162
9163         * lyxfunc.C: allow to open non-existent files
9164
9165 2002-07-31  John Levon  <levon@movementarian.org>
9166
9167         * lyxserver.C: don't let incidental errors get
9168           in the way (errno)
9169
9170 2002-07-30  John Levon  <levon@movementarian.org>
9171
9172         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9173
9174 2002-07-30  John Levon  <levon@movementarian.org>
9175
9176         * lyxserver.h:
9177         * lyxserver.C: remove I/O callback too
9178
9179 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9182         log.
9183
9184 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * many files: strip,frontStrip -> trim,ltrim,rtrim
9187
9188 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * PrinterParams.h: remove extern containsOnly, and include
9191         support/lstrings.h instead.
9192
9193         * LaTeX.C (scanAuxFile): modify because of strip changes
9194         (deplog): ditto
9195         * buffer.C (makeLaTeXFile): ditto
9196         * bufferparams.C (writeFile): ditt
9197         * lyxfont.C (stateText): ditto
9198         * lyxserver.C (read_ready): ditto
9199         * vc-backend.C (scanMaster): ditto
9200
9201         * BufferView_pimpl.h: ws changes
9202
9203         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9204
9205 2002-07-26  André Pönitz <poenitz@gmx.net>
9206
9207         * kb_sequence.C: remove unnedred usings
9208
9209 2002-07-26  Juergen Vigna  <jug@sad.it>
9210
9211         * lyxfind.C (LyXReplace): we have to check better if the returned
9212         text is not of theLockingInset()->getLockingInset().
9213
9214 2002-07-25  Juergen Vigna  <jug@sad.it>
9215
9216         * lyxfind.C (LyXReplace): don't replace if we don't get the
9217         right LyXText.
9218
9219         * undo_funcs.C (createUndo): remove debugging code.
9220
9221 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * buffer.C (parseSingleLyXformat2Token): Use default placement
9224         when reading old floats.
9225
9226         * FloatList.C (FloatList): Change the default placement of figure
9227         and tables to "tbp".
9228
9229 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * MenuBackend.C: using std::max
9232
9233 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9234
9235         * MenuBackend.C (expandToc):
9236         (expandToc2): code moved from xforms menu frontend. It is now
9237         generic and TOCs are transparent to menu frontends.
9238
9239 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9240
9241         * toc.C (getTocList): protect against buf=0
9242
9243         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9244         Menu as first parameter. Now, this calls itself recursively to
9245         expand a whole tree (this will be useful for TOC handling)
9246         (expandFloatInsert): remove 'wide' version of floats
9247
9248         * MenuBackend.h (submenuname): returns the name of the submenu.
9249         (submenu): returns the submenu itself, provided it has been
9250         created by MenuBackend::expand
9251
9252 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9255         insets which have noFontChange == true. (bug #172)
9256
9257 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9258
9259         * BufferView_pimpl.C: add connection objects and use them...
9260         (Pimpl): here.
9261
9262 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * MenuBackend.C (expandLastfiles):
9265         (expandDocuments):
9266         (expandFormats):
9267         (expandFloatListInsert):
9268         (expandFloatInsert):
9269         (expand): split expand in parts
9270
9271 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9272
9273         * lyx_gui.C: use lyx_gui::exit()
9274
9275 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * LyXAction.C: show the failing pseudo action
9278
9279 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9280
9281         * buffer.C (readFile): Run the lyxconvert script in order to read
9282         old files.
9283
9284 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * LyXAction.C:
9287         * commandtags.h:
9288         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9289
9290 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9291
9292         * LyXAction.C:
9293         * commandtags.h:
9294         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9295
9296 2002-07-22  Herbert Voss  <voss@lyx.org>
9297
9298         * lengthcommon.C:
9299         * lyxlength.[Ch]: add support for the vertical lengths
9300
9301 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * toc.[Ch]: std:: fixes
9304
9305 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxrc.C: do not include lyx_main.h
9308
9309         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9310         for layouts
9311
9312         * lyxrc.C:
9313         * encoding.C:
9314         * bufferlist.C:
9315         * BufferView2.C: include "lyxlex.h"
9316
9317         * tabular.h:
9318         * bufferparams.h: do not #include "lyxlex.h"
9319
9320         * lyxtextclasslist.C (Add): remove method
9321         (classlist): renamed to classlist_
9322
9323         * paragraph_pimpl.C:
9324         * paragraph.C:
9325         * text2.C:
9326         * CutAndPaste.C:
9327         * bufferview_funcs.C:
9328         * bufferlist.C:
9329         * text.C:
9330         * LaTeXFeatures.C:
9331         * buffer.C:
9332         * toc.C (getTocList): use BufferParams::getLyXTextClass
9333
9334         * toc.C (getTocList): use InsetFloat::addToToc
9335
9336         * toc.[Ch]: new files, containing helper functions to handle table
9337         of contents
9338
9339         * lyxfunc.C (dispatch): no need to remove spaces around command
9340         given as a string
9341         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9342         first command of the sequence; it is not very clever, but I do not
9343         have a better idea, actually
9344
9345         * LyXAction.C (LookupFunc): make sure to remove space at the
9346         beginning and end of the command
9347
9348 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * MenuBackend.C (getMenubar): new method: return the menubar of
9351         this menu set
9352         (read): treat differently reading of menu and menubar (in
9353         particular, the menubar has no name now)
9354         (Menu::menubar): remove
9355
9356         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9357         saving is finished
9358
9359 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9360
9361         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9362         a bibitem inset in a RTL paragraph.
9363
9364 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * paragraph_pimpl.C: constify
9367
9368         * BufferView_pimpl.C:
9369         * LaTeX.C:
9370         * lyxfunc.C: fix dispatch in a nicer way
9371
9372 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * lyxfunc.C (dispatch):
9375         * BufferView_pimpl.C:
9376         * BufferView_pimpl.h:
9377         * BufferView.C:
9378         * BufferView.h: rename Dispatch() to dispatch()
9379
9380         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9381
9382         * lyxlayout.C (Read): honor DependsOn tag
9383
9384         * lyxlayout.[Ch] (depends_on): new method
9385
9386         * version.C.in: update lyx_docversion
9387
9388         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9389
9390         * paragraph.C (validate): remove from here...
9391         * paragraph_pimpl.C (validate): ... and move here
9392         (isTextAt): make it const
9393
9394         * buffer.C (getLists): ws cleanup
9395
9396 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9397
9398         * language.C (read): Use iso8859-1 encoding in latex_lang
9399         (this prevents LyX from crashing when using iso10646-1 encoding).
9400
9401 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * text2.C (toggleInset): if cursor is inside an inset, close the
9404         inset and leave cursor _after_ it
9405
9406 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * lyxfunc.C: move minibuffer completion handling out of here
9409
9410 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * BufferView_pimpl.C:
9413         * LaTeX.C: fix dispatch calls
9414
9415 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9416
9417         * text.C (drawChars): Fix Arabic text rendering.
9418
9419 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * LyXAction.C:
9422         * commandtags.h:
9423         * lyxfunc.C: remove message-push/pop
9424
9425         * lyxserver.C:
9426         * lyxfunc.h:
9427         * lyxfunc.C: rationalise some code by removing verboseDispatch
9428           in favour of a bool argument to dispatch()
9429
9430 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * lyx_main.C (init): make sure to read symlinks as absolute paths
9433
9434 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyxfunc.h:
9437         * lyxfunc.C: no need for commandshortcut to be a member
9438
9439 2002-07-15  André Pönitz <poenitz@gmx.net>
9440
9441         * converter.C: add support for $$s (scripts from lib/scripts dir)
9442         * lyx_main.C: white space
9443
9444 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * bufferlist.C:
9447         * lyxrc.h:
9448         * lyxrc.C: remove second exit confirmation
9449
9450 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * BufferView.h:
9453         * BufferView.C:
9454         * BufferView2.C:
9455         * BufferView_pimpl.h:
9456         * BufferView_pimpl.C:
9457         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9458
9459 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9460
9461         * MenuBackend.C (expand): add numeric shortcuts to document menu
9462
9463         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9464
9465 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * lyxfont.C (setLyXFamily):
9468         (setLyXSeries):
9469         (setLyXShape):
9470         (setLyXSize):
9471         (setLyXMisc):
9472         (lyxRead):
9473         * debug.C (value):
9474         * buffer.C (asciiParagraph): use ascii_lowercase
9475
9476 2002-07-15  Mike Fabian  <mfabian@suse.de>
9477
9478         * lyxlex_pimpl.C (search_kw):
9479         * lyxlex.C (getLongString):
9480         * converter.h (operator<):
9481         * converter.C (operator<):
9482         * buffer.C (parseSingleLyXformat2Token):
9483         (asciiParagraph):
9484         * ToolbarDefaults.C (read):
9485         * MenuBackend.C (checkShortcuts):
9486         (read):
9487         * LColor.C (getFromGUIName):
9488         (getFromLyXName): use the compare_ascii_no_case instead of
9489         compare_no_case, because in turkish, 'i' is not the lowercase
9490         version of 'I', and thus turkish locale breaks parsing of tags.
9491
9492 2002-07-16  Angus Leeming  <leeming@lyx.org>
9493
9494         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9495         now takes a Buffer const & argument.
9496
9497 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * BufferView.C (resize): check there's a buffer to resize
9500
9501 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9502
9503         * lyxfunc.C: remove dead code
9504
9505         * lyxserver.h:
9506         * lyxserver.C: use lyx_guii::set_read_callback
9507
9508 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9511         an inset in a RTL paragraph.
9512
9513 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * lyxfunc.C: repaint after a font size update
9516
9517 2002-07-15  André Pönitz <poenitz@gmx.net>
9518
9519         * lyxlength.C: inBP should be able to return negative values
9520
9521 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * lyxfunc.C: use lyx_gui::update_fonts()
9524
9525 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9526
9527         * lyxfunc.C: use lyx_gui::update_color()
9528
9529 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * bufferlist.C:
9532         * lyxfunc.h:
9533         * lyxfunc.C:
9534         * lyxrc.h:
9535         * lyxrc.C: remove file->new asks for name option, and let
9536           buffer-new take an argument
9537
9538 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * BufferView_pimpl.C: remove unneeded extra repaint()
9541
9542 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * LyXAction.C: allow command-sequence with NoBuffer
9545
9546         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9547
9548 2002-07-10  Angus Leeming  <leeming@lyx.org>
9549
9550         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9551
9552 2002-07-09  Angus Leeming  <leeming@lyx.org>
9553
9554         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9555
9556 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * lengthcommon.h: whitespace
9559
9560         * lyxfunc.C: update scrollbar after goto paragraph
9561
9562         * lyxtext.h: factor out page break drawing, and fix it so
9563           page break/added space paints as selected nicely
9564
9565 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9566
9567         * BufferView_pimpl.C: add FIXMEs, clean up a little
9568
9569 2002-07-09  André Pönitz <poenitz@gmx.net>
9570
9571         * lyxfont.[Ch]: support for wasy symbols
9572
9573 2002-07-08  André Pönitz <poenitz@gmx.net>
9574
9575         * BufferView_pimpl.C: apply John's patch for #93.
9576
9577 2002-07-05  Angus Leeming  <leeming@lyx.org>
9578
9579         * BufferView_pimpl.C (buffer): generate previews if desired.
9580
9581         * LColor.h: add "preview" to the color enum.
9582
9583         * LColor.C (LColor): add a corresponding entry to the items array.
9584
9585         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9586         with this buffer.
9587
9588 2002-07-05  Angus Leeming  <leeming@lyx.org>
9589
9590         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9591         The body of the code is now in the method that is passed an ostream &
9592         rather than a file name.
9593         Pass an additional only_preamble parameter, useful for the forthcoming
9594         preview stuff.
9595
9596 2002-07-03  André Pönitz <poenitz@gmx.net>
9597
9598         * lyxfunc.C: simplify getStatus() a bit for math stuff
9599
9600 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9601
9602         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9603
9604 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * text.C (changeRegionCase): do not change case of all the
9607         document when region ends at paragraph end (bug #461)
9608
9609 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9610
9611         * paragraph.C (startTeXParParams):
9612         (endTeXParParams): add \protect when necessary
9613
9614 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * BufferView_pimpl.C (workAreaExpose): remove warning
9617
9618 2002-06-27  Angus Leeming  <leeming@lyx.org>
9619
9620         * Makefile.am: add lyxlayout_ptr_fwd.h.
9621
9622 2002-06-26  André Pönitz <poenitz@gmx.net>
9623
9624         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9625
9626 2002-06-25  Angus Leeming  <leeming@lyx.org>
9627
9628         * lyxfunc.C (dispatch): Comment out the call to
9629         grfx::GCache::changeDisplay. The method no longer exists now that the
9630         pixmap generation part of the graphics loader has been moved into
9631         InsetGraphics.
9632
9633 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9634
9635         * text2.C: layout as layout
9636
9637         * text.C: layout as layout
9638
9639         * tabular.C (OldFormatRead): layout as layout
9640
9641         * paragraph_pimpl.C (TeXDeeper): layout as layout
9642         (realizeFont): layout as layout
9643
9644         * paragraph.C (writeFile): layout as layout
9645         (validate): layout as layout
9646         (getFont): layout as layout
9647         (getLabelFont): layout as layout
9648         (getLayoutFont): layout as layout
9649         (breakParagraph): layout as layout
9650         (stripLeadingSpaces): layout as layout
9651         (getEndLabel): layout as layout
9652         (getMaxDepthAfter): layout as layout
9653         (applyLayout): layout as layout
9654         (TeXOnePar): layout as layout
9655         (simpleTeXOnePar): layout as layout
9656         (TeXEnvironment): layout as layout
9657         (layout): layout as layout
9658         (layout): layout as layout
9659
9660         * lyxtextclass.C (compare_name): new functor to work with
9661         shared_ptr, layout as layout
9662         (Read): layout as layout
9663         (hasLayout): layout as layout
9664         (operator): layout as layout
9665         (delete_layout): layout as layout
9666         (defaultLayout): layout as layout
9667
9668         * lyxlayout_ptr_fwd.h: new file
9669
9670         * lyxlayout.C (Read): layout as layout
9671
9672         * lyx_cb.C (MenuInsertLabel): layout as layout
9673
9674         * bufferlist.C (newFile): layout as layout
9675
9676         * buffer.C (readLyXformat2): layout as layout
9677         (parseSingleLyXformat2Token): layout as layout
9678         (insertStringAsLines): layout as layout
9679         (asciiParagraph): layout as layout
9680         (latexParagraphs): layout as layout
9681         (makeLinuxDocFile): layout as layout
9682         (simpleLinuxDocOnePar): layout as layout
9683         (makeDocBookFile): layout as layout
9684         (simpleDocBookOnePar): layout as layout
9685         (getLists): layout as layout
9686
9687         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9688
9689         * CutAndPaste.C (cutSelection): layout as layout
9690         (pasteSelection): layout as layout
9691         (SwitchLayoutsBetweenClasses): layout as layout
9692
9693         * BufferView_pimpl.C (Dispatch): layout as layout
9694         (smartQuote): layout as layout
9695
9696         * BufferView2.C (unlockInset): layout as layout
9697
9698 2002-06-24  André Pönitz <poenitz@gmx.net>
9699
9700         * lyxfunc.C: fix #487
9701
9702 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * lyxrc.h:
9705         * lyxrc.C:
9706         * lyxfunc.C: remove display_shortcuts, show_banner
9707
9708 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * Buffer_pimpl.C: oops, update on resize
9711
9712 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * buffer.C:
9715         * converter.C:
9716         * exporter.C:
9717         * lyxfunc.C:
9718         * BufferView.h:
9719         * BufferView.C: use repaint()
9720
9721         * BufferView_pimpl.h:
9722         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9723           as it's a clearer description. Remove superfluous
9724           redraws.
9725
9726 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * text.C: fix bug 488. Not ideal, but getting
9729           getWord() to work properly for the insets that
9730           matter is more difficult ...
9731
9732 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * BufferView_pimpl.C:
9735         * LyXAction.C:
9736         * commandtags.h:
9737         * lyxfunc.C: remove the six million index lyxfuncs to just
9738           one, and DTRT (bug 458)
9739
9740 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * BufferView.h:
9743         * BufferView.C:
9744         * BufferView_pimpl.h:
9745         * BufferView_pimpl.C: clean up resize() stuff,
9746           and unnecessary updateScreen()s
9747
9748 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * BufferView.h:
9751         * BufferView.C:
9752         * BufferView_pimpl.h:
9753         * BufferView_pimpl.C:
9754         * lyxfind.h:
9755         * lyxfind.C:
9756         * minibuffer.C: remove focus management of workarea,
9757           not needed. Use screen's greyOut()
9758
9759 2002-06-17  Herbert Voss  <voss@lyx.org>
9760
9761         * converter.C: (convert) do not post a message, when converting
9762         fails, let the calling function decide what to do in this case
9763
9764 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyxfunc.C: tidy up a little
9767
9768 2002-06-16    <alstrup@diku.dk>
9769
9770         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9771         Got rid of FORMS_H_LOCATION include. Now we are
9772         GUII.
9773
9774 2002-06-15  LyX Development team  <lyx@rilke>
9775
9776         * buffer.[Ch] (sgmlOpenTag):
9777         (sgmlCloseTag): Added support for avoiding pernicious mixed
9778         content. Return number of lines written.
9779
9780         (makeLinuxDocFile):
9781         (makeDocBookFile): Fixed calls to sgml*Tag.
9782         Simple white space clean.
9783
9784         (simpleDocBookOnePar): Simple white space clean.
9785
9786         * tabular.[Ch] (docBook): Renamed to docbook and got another
9787         argument to related with the pernicious mixed content.
9788
9789         (docbookRow): Fixed calls for docbook inset method.
9790
9791 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9792
9793         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9794         so it's X11 independent.
9795
9796         * kb*.[Ch]: ditto.
9797
9798         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9799
9800 2002-06-15  Lyx Development team  <lyx@electronia>
9801
9802         * intl.h: Renamed getTrans to getTransManager.
9803
9804 2002-06-14  Angus Leeming  <leeming@lyx.org>
9805
9806         * Makefile.am: nuke forgotten stl_string_fwd.h.
9807
9808 2002-06-12  Angus Leeming  <leeming@lyx.org>
9809
9810         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9811
9812 2002-06-13  Angus Leeming  <leeming@lyx.org>
9813
9814         * LaTeX.C:
9815         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9816
9817 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9818
9819         * kbmap.C (getiso): add support for cyrillic and greek
9820
9821 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9822
9823         * BufferView.h:
9824         * BufferView.C:
9825         * BufferView_pimpl.h:
9826         * BufferView_pimpl.C: move bogus scrolling logic
9827           to xforms
9828
9829 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * lyxfunc.C:
9832         * BufferView_pimpl.C: view->resize() change
9833
9834 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * BufferView_pimpl.C: topCursorVisible
9837           prototype change
9838
9839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * Makefile.am:
9842         * lyx_gui.h:
9843         * lyx_gui.C: move to frontends/
9844
9845         * main.C:
9846         * lyx_main.h:
9847         * lyx_main.C: changes from above
9848
9849 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * intl.C:
9852         * intl.h:
9853         * kbmap.C:
9854         * kbsequence.C:
9855         * lyx_cb.C:
9856         * lyx_main.C: minor tidy
9857
9858 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9859
9860         * BufferView_pimpl.h:
9861         * BufferView_pimpl.C:
9862         * BufferView.h:
9863         * BufferView.C: make painter() const,
9864           remove dead code
9865
9866         * BufferView2.C: use screen() accessor
9867
9868         * lyx_main.h:
9869         * lyx_main.C: some minor cleanup
9870
9871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * BufferView_pimpl.h:
9874         * BufferView_pimpl.C: remove enter/leaveView,
9875           use workHeight()
9876
9877 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * BufferView.h:
9880         * BufferView.C:
9881         * BufferView2.C:
9882         * BufferView_pimpl.h:
9883         * BufferView_pimpl.C: only construct screen once,
9884           rename
9885
9886         * lyxrc.C: remove pointless comment
9887
9888 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * BufferView.h:
9891         * BufferView.C: remove active() and belowMouse()
9892
9893         * BufferView_pimpl.h:
9894         * BufferView_pimpl.C: use workarea() not workarea_,
9895           and make it use a scoped_ptr instead
9896
9897 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * lyx_gui.C: add debug message on BadWindow
9900
9901 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9902
9903         * sp_spell.C: fdopen is not part of the C++ standard.
9904
9905         * paragraph.C (InsetIterator): use >= instead of ==
9906
9907 2002-06-07  Angus Leeming  <leeming@lyx.org>
9908
9909         Fixes needed to compile with Compaq cxx 6.5.
9910         * BufferView_pimpl.C:
9911         * DepTable.C:
9912         * buffer.C:
9913         * converter.C:
9914         * encoding.C:
9915         * lyx_gui.C:
9916         * lyx_main.C:
9917         * lyxtextclasslist.C:
9918         * minibuffer.C:
9919         * sp_spell.C:
9920         * tabular_funcs.C:
9921         * vc-backend.C:
9922         all c-library variables have been moved into namespace std. Wrap
9923         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9924
9925         * lyxlength.C:
9926         * tabular-old.C:
9927         * tabular.C:
9928         Add a using std::abs declaration.
9929
9930         * kbmap.h (modifier_pair):
9931         * paragraph.h (InsetTable, InsetList):
9932         * lyxfont.h (FontBits):
9933         type definition made public.
9934
9935         * bufferlist.C (emergencyWriteAll): the compiler complains that
9936         there is more than one possible lyx::class_fun template to choose from.
9937         I re-named the void specialisation as lyx::void_class_fun.
9938
9939         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9940
9941         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9942         the compiler is is unable to find tostr in write_attribute.
9943
9944 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9945
9946         * buffer.C (sgmlError): hide #warning
9947
9948 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * xtl/*: get rid of xtl, which is not in use anyway
9951
9952         * LyXAction.C (init):
9953         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9954         were unimplemented xtl experimentation
9955
9956 2002-06-04  André Pönitz <poenitz@gmx.net>
9957
9958         * lyxfunc.C: disable array operation on simple formulae
9959
9960 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * converter.C: constify a bit
9963
9964 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyx_gui.C: check xforms version correctly
9967
9968 2002-04-30  Herbert Voss  <voss@lyx.org>
9969
9970         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9971         "keep" option
9972
9973 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9976           attempt to register it with a VCS)
9977
9978 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * lyx_main.C (init): honor variables LYX_DIR_13x and
9981         LYX_USERDIR_13x
9982
9983 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * buffer.h:
9986         * buffer.C:
9987         * lyx_main.C: fix a crash on bad command line,
9988           and give a useful exit status on error
9989
9990         * lyxfunc.C (doImport): allow -i lyx to work
9991
9992 2002-03-30  André Pönitz <poenitz@gmx.net>
9993
9994         * lyxfunc.C: mathed font changes
9995
9996 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * LaTeX.C:
9999         * importer.h:
10000         * importer.C:
10001         * lyx_sty.h:
10002         * lyx_sty.C:
10003         * lyxlex.C:
10004         * lyxrow.h:
10005         * lyxtext.h:
10006         * paragraph.h:
10007         * paragraph.C:
10008         * texrow.h:
10009         * texrow.C:
10010         * text.C:
10011         * trans_mgr.h: srcdocs, and some minor cleanups
10012
10013 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10016         call getFont all the time)
10017
10018 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10019
10020         * switch from SigC signals to boost::signals
10021
10022 2002-05-29  André Pönitz <poenitz@gmx.net>
10023
10024         * paragraph_pimpl.C (getChar): don't call size() too often...
10025
10026 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * paragraph_pimpl.C (insertChar): do not try to update tables when
10029         appending (pos == size())
10030
10031         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10032         in order to reduce drastically the number of comparisons needed to
10033         parse a large document
10034
10035 2002-05-29  André Pönitz <poenitz@gmx.net>
10036
10037         * text.C:
10038         * text2.C:
10039         * lyxtextclass.C:
10040         * sp_pspell.h:
10041         * textclasslist.[Ch]:
10042         * sp_ispell.h: whitespace change
10043
10044 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10047         lyxaction directly now.
10048
10049 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * trans.C:
10052         * lyxfont.C:
10053         * lyxvc.C: remove unused headers
10054
10055 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * Makefile.am:
10058         * buffer.h:
10059         * undostack.h:
10060         * undostack.C:
10061         * undo_funcs.h:
10062         * undo_funcs.C: some cleanups. Use shared_ptr
10063           and a template for the undo stacks.
10064
10065 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * BufferView_pimpl.h:
10068         * BufferView_pimpl.C:
10069         * kbmap.h:
10070         * kbmap.C:
10071         * kbsequence.h:
10072         * kbsequence.C:
10073         * lyxfunc.h:
10074         * lyxfunc.C:
10075         * text2.C: use key_state/mouse_state
10076
10077 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10080         and LSubstring
10081
10082         * chset.C: change include order
10083         (loadFile): use boost regex and get rid of LRegex and LSubstring
10084
10085         * Makefile.am (BOOST_LIBS): new variable
10086         (lyx_LDADD): use it
10087
10088         * LaTeX.C: change include order.
10089         (scanAuxFile): use boost regex and get rid of LRegex and
10090         LSubstring
10091         (deplog): ditto
10092
10093 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10094
10095         * ColorHandler.h:
10096         * ColorHandler.C:
10097         * FontInfo.h:
10098         * FontInfo.C: moved to frontends/xforms/
10099
10100         * FontLoader.h:
10101         * FontLoader.C: moved into frontends for GUIIzation
10102
10103         * Makefile.am:
10104         * lyx_gui.C:
10105         * lyxfont.C:
10106         * lyxfunc.C: changes from above
10107
10108 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * LColor.C: remove spurious X include
10111
10112         * BufferView_pimpl.C:
10113         * Makefile.am:
10114         * font.h:
10115         * font.C:
10116         * text.C:
10117         * text2.C: move font metrics to frontends/
10118
10119 2002-05-24  Juergen Vigna  <jug@sad.it>
10120
10121         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10122         setting the undo_cursor.
10123
10124         * ParagraphParameters.h: include local includes first.
10125
10126 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * BufferView_pimpl.C:
10129         * BufferView_pimpl.h:
10130         * Makefile.am:
10131         * WorkArea.h:
10132         * WorkArea.C:
10133         * screen.C: move WorkArea into frontends/
10134
10135         * lyxscreen.h:
10136         * screen.C:
10137         * text.C:
10138         * BufferView.C:
10139         * BufferView2.C: move LyXScreen into frontends/
10140
10141         * lyxlookup.h:
10142         * lyxlookup.C:
10143         * lyx_gui.C: move lyxlookup into frontends/xforms/
10144
10145 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * BufferView2.C:
10148         * BufferView_pimpl.C:
10149         * FontLoader.C:
10150         * LyXView.h:
10151         * LyXView.C:
10152         * Makefile.am:
10153         * WorkArea.C:
10154         * XFormsView.h:
10155         * XFormsView.C:
10156         * buffer.C:
10157         * bufferlist.C:
10158         * bufferview_funcs.C:
10159         * converter.C:
10160         * importer.C:
10161         * lyx_cb.C:
10162         * lyx_gui.C:
10163         * lyx_main.C:
10164         * lyx_find.C:
10165         * lyxfunc.C:
10166         * lyxvc.C:
10167         * minibuffer.C:
10168         * text.C:
10169         * text2.C:
10170         * trans.C:
10171         * vc-backend.C: move LyX/XFormsView into frontends/
10172
10173 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * Makefile.am:
10176         * PainterBase.C:
10177         * PainterBase.h:
10178         * Painter.C:
10179         * Painter.h:
10180         * WorkArea.C:
10181         * WorkArea.h:
10182         * screen.C:
10183         * tabular.C:
10184         * text.C:
10185         * text2.C: move Painter to frontends/
10186
10187 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * buffer.C: comment out some some code that depend upon lyx_format
10190         < 220
10191
10192         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10193         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10194
10195         * buffer.h (NO_COMPABILITY): turn off compability
10196
10197         * ColorHandler.C: include scoped_array.hpp
10198
10199         * font.C: Use more specific smart_ptr header.
10200         * Painter.C: ditto
10201         * gettext.C: ditto
10202         * ShareContainer.h: ditto
10203         * lyx_main.h: ditto
10204         * kbmap.h: ditto
10205         * FontInfo.h: ditto
10206         * BufferView_pimpl.h: ditto
10207         * ColorHandler.h: ditto
10208
10209         * kbmap.C (defkey): change call to shared_ptr::reset
10210
10211 2002-05-21  Juergen Vigna  <jug@sad.it>
10212
10213         * buffer.C (insertErtContents): fix to insert ert asis if it is
10214         non empty. Skip it completely if it contains only whitespaces.
10215
10216 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * BufferView_pimpl.C:
10219         * BufferView2.C: clear selection on paste (bug 393)
10220
10221 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * DepTable.C: include ctime
10224
10225 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10226
10227         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10228
10229 2002-05-14  Juergen Vigna  <jug@sad.it>
10230
10231         * text.C (breakParagraph): fixed function to honor the keepempty
10232         layout in the right maner and also to permit the right breaking
10233         algorithm on empty or non empyt keepempty paragraphs.
10234
10235         * paragraph.C (breakParagraph): we have to check also if the par
10236         is really empty (!size()) for isempty otherwise we do the wrong
10237         paragraph break.
10238
10239 2002-05-10  Juergen Vigna  <jug@sad.it>
10240
10241         * buffer.[Ch] : The following are only changes to the ert
10242         compatibility read reading old LaTeX layout and font stuff and
10243         convert it to ERTInsets.
10244
10245         * buffer.h: added isErtInset().
10246
10247         * buffer.C (struct ErtComp): add a fromlayout bool to check
10248         if we're inside a LaTeX layout.
10249         (isErtInset): new helper function.
10250         (insertErtContents): look for other ert insets before this one
10251         and insert the contents there, so that we don't have subsequent
10252         ERT insets with nothing between them. This way we create only one
10253         inset with multiple paragraphs. Also check if we don't insert only
10254         spaces ' ' as they are ignored anyway afterwards in the .tex file
10255         so if we have only spaces we will ignore this latex part in the
10256         new file.
10257         (parseSingleLyXformat2Token \\layout): better compatibility when
10258         reading layout-latex stuff.
10259         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10260         language tag.
10261         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10262         stuff after reading the inset only get the information back from
10263         the stack.
10264
10265 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10266
10267         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10268
10269         * LaTeXFeatures.C (getBabelOptions): New method.
10270
10271 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10272
10273         * BufferView_pimpl.C (Dispatch): work around missing argument for
10274         'layout'
10275
10276 2002-05-08  Juergen Vigna  <jug@sad.it>
10277
10278         * text.C (leftMargin): handle paragraph leftindent.
10279
10280         * paragraph.C (writeFile): write the new \\leftindent tag.
10281         (validate): handle leftindent code.
10282         (TeXEnvironment): handle paragraphleftindent code again.
10283
10284         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10285
10286         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10287         for paragrap_extra indent code and new token \\leftindent.
10288         (latexParagraphs): handle the leftindent as environment.
10289
10290         * ParameterStruct.h: added leftindent support.
10291
10292         * ParagraphParameters.C (leftIndent): added support functions for
10293         the paragraph left indent.
10294
10295         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10296         more appropriate.
10297
10298 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10299
10300         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10301         inside insetERT.
10302
10303         * text.C (computeBidiTables): No bidi in insetERT.
10304
10305         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10306         in RTL documents.
10307
10308 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10309
10310         * version.C.in: pre 5
10311
10312 2002-05-02  José Matos  <jamatos@fep.up.pt>
10313         * buffer.C (makeDocBookFile): white space changes, add newline to
10314         command styles.
10315         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10316
10317         * tabular.C (docBook): fix typo.
10318
10319 2002-05-03  Juergen Vigna  <jug@sad.it>
10320
10321         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10322         change in LyXText as we can not be sure it was not freed.
10323         (drawOneRow): remove unused code.
10324
10325         * text.C (drawInset): redo the calculation of the need_break_row as
10326         it could have a row which was already freed.
10327         (draw): look at the return value of drawInset and return false if
10328         it also returned false.
10329         (paintRowText): look at the return value of draw and return false if
10330         it also returned false.
10331
10332         * lyxtext.h: added bool return type to drawInset() and draw() so that
10333         if we have a change in the row so that the rowbreak has to be redone
10334         we abort drawing as it will be called again.
10335
10336 2002-05-02  Juergen Vigna  <jug@sad.it>
10337
10338         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10339         a change in the maintext also if we're inside an inset.
10340         (Dispatch): set the cursor again after a break line and after the
10341         screen has been updated as it could be we're in a different row.
10342
10343         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10344         to set the cursor behind the pargraph with > size().
10345         (setCursor): check also for the same paragraph when checking where
10346         to put the cursor if we have a NFR inset.
10347
10348         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10349         parts of layout read further up as it still was in the wrong
10350         position.
10351
10352 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * screen.C (drawFromTo): change sine fullRebreak always return
10355         true.
10356
10357         * buffer.C (parseSingleLyXformat2Token): reindent some
10358
10359         * BufferView_pimpl.C (update): change since fullRebreak always
10360         return true.
10361         (Dispatch): git rid of the last hardcoded "Standard"s.
10362
10363 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * text2.[Ch] (fullRebreak): make it return void now that we always
10366         returned true.
10367
10368 2002-04-30  Juergen Vigna  <jug@sad.it>
10369
10370         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10371         ert compatibility check for "latex" layout.
10372
10373 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10376         minipages: use col% instead of p%, and also use the current font.
10377         (makeLaTeXFile): Fix use babel condition.
10378         (parseSingleLyXformat2Token): Correct font when reading old floats.
10379
10380 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10381
10382         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10383         inserting list of floats.
10384
10385 2002-04-25  Herbert Voss  <voss@lyx.org>
10386
10387         * MenuBackend.C (expand): don't add the graphics extensions to the
10388         export menu
10389
10390 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10393         non-existing layout, do not complain if it was the default layout
10394         of the original class (bug #342)
10395
10396 2002-04-24  Juergen Vigna  <jug@sad.it>
10397
10398         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10399         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10400
10401 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10402
10403         * buffer.C (getBibkeyList): If using \bibliography, return the
10404         option field with the reference itself. Enables us to provide natbib
10405         support when using \bibliography.
10406
10407 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10408
10409         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10410
10411         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10412         natbib is provided by the LaTeX class.
10413
10414 2002-04-23  Juergen Vigna  <jug@sad.it>
10415
10416         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10417         Wakeup functions.
10418
10419         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10420
10421 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10424
10425         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10426         ensuremath around textordmasculine, textordfeminine and
10427         textdegree.
10428
10429 2002-04-19  Juergen Vigna  <jug@sad.it>
10430
10431         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10432         reinitializing the buffer otherwise row-dimensions may be wrong.
10433         (update): reset also the selection cursors if they do exits otherwise
10434         their x/y positions may be wrong.
10435
10436         * text2.C (cursorDown): don't enter the inset if we came from a row
10437         above and are one row over the inset.
10438
10439         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10440         really leaving an inset.
10441
10442 2002-04-18  Juergen Vigna  <jug@sad.it>
10443
10444         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10445         of the selected paragraph does not have the selected layout also if
10446         the last one had!
10447
10448         * text2.C (setLayout): fixed bug which did not change last selected
10449         paragraph.
10450
10451         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10452         changed the read and substituted \\end_float with \\end_inset!
10453
10454         * BufferView_pimpl.C (cursorPrevious):
10455         (cursorNext): fixed to make it work with rows heigher than the work
10456         area without moving the cursor only the draw of the row.
10457         (workAreaMotionNotify): fix jumping over high rows.
10458
10459 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10462         Ressler.
10463
10464 2002-04-16  Juergen Vigna  <jug@sad.it>
10465
10466         * text2.C (setCursor): set also the irow().
10467         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10468         (cursorUp):
10469         (cursorDown): support for locking an inset if the x_fix value goes
10470         inside it. That way I can transverse insets too with cursor up/down.
10471
10472         * lyxrow.h: added irow helper function same as other (i) functions.
10473
10474         * BufferView_pimpl.C (cursorPrevious):
10475         (cursorNext): fixed for insets!
10476
10477 2002-04-15  Juergen Vigna  <jug@sad.it>
10478
10479         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10480         position otherwise it is wrong in some cases.
10481
10482         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10483         inside the inset before the call.
10484
10485 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10486
10487         * buffer.[Ch] (getBibkeyList): make it const.
10488
10489 2002-04-12  Juergen Vigna  <jug@sad.it>
10490
10491         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10492
10493         * text2.C (getCursorX): new helper function
10494         (setCursor): compute also ix_
10495         (setCursorFromCoordinates): set also ix.
10496
10497         * lyxcursor.h: added ix_ and helper functions.
10498
10499         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10500
10501         * buffer.C (insertStringAsLines): dont break paragraph if the this
10502         paragraph is inside an inset which does not permit it!
10503
10504         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10505         also with no chars on this paragraph.
10506         (paintRowText): only paint stuff if it's inside the workarea!
10507
10508         * paragraph.C (breakParagraph): honor keepempty flag and break the
10509         paragraph always below not above.
10510
10511         * BufferView2.C (unlockInset): update the paragraph layout on inset
10512         unlock as we changed paragraph in such a case.
10513
10514         * lyxfind.C (LyXFind): clear the former selection if not found!
10515
10516         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10517         again called in insertChar().
10518
10519         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10520         an inset which uses the whole row!
10521         (rightMargin): ditto.
10522         (insertChar): force a rebreak if we inserted an inset!
10523
10524 2002-03-28  Herbert Voss  <voss@lyx.org>
10525
10526         * lyxlength.[Ch]: add inBP() to get the right PS-point
10527         units (BigPoint). With inPixels we have rounding errors
10528
10529 2002-04-11  Juergen Vigna  <jug@sad.it>
10530
10531         * text2.C (setCursorFromCoordinates): set iy to the right value.
10532         (setCursor): add check if row->previous exists!
10533
10534         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10535         an old float_type as this was the case in the old code!
10536
10537         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10538
10539         * BufferView2.C (showLockedInsetCursor): use iy
10540         (fitLockedInsetCursor): ditto
10541
10542         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10543         locked insets as there we have the right value now.
10544
10545         * lyxcursor.C: added iy_ variable and iy functions to set to the
10546         baseline of cursor-y of the locked inset.
10547
10548         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10549         (setCursor): fixed for insets which need a full row.
10550
10551         * text.C (rowLastPrintable): don't ignore the last space when before
10552         an inset which needs a full row.
10553         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10554         as last character of a row when before a inset which needs a full row.
10555
10556 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * version.C.in: update date
10559
10560         * text2.C (fullRebreak): try to always return true and see what
10561         happens...
10562
10563 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * MenuBackend.C (expand): use Floating::listName
10566
10567         * FloatList.C (FloatList): add listName argument to the built-in
10568         floats
10569
10570         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10571         text associated with the float.
10572
10573 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10576
10577 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * ShareContainer.h: add a couple of missing typenames.
10580
10581 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10582
10583         * lyxrc.C (getDescription): use _() correctly rather than N_().
10584
10585 2002-03-28  Herbert Voss  <voss@lyx.org>
10586
10587         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10588         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10589
10590 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10593         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10594
10595 2002-03-29  Juergen Vigna  <jug@sad.it>
10596
10597         * lyxfunc.C (dispatch): add a missing fitCursor call.
10598
10599         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10600         it was scrolled by a cursor move, so return the bool status.
10601
10602         * BufferView.C (fitCursor): return the bool flag also to the outside
10603         world as this is needed.
10604
10605         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10606
10607         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10608         call the edit() as it is not needed (and wrong) IMO.
10609         (workAreaButtonPress): set the screen_first variable before evt.
10610         unlock the inset as this may change screen_first and then we have
10611         a wrong y position for the click!
10612
10613 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * MenuBackend.C (expand): another translation that I missed
10616
10617 2002-03-28  Juergen Vigna  <jug@sad.it>
10618
10619         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10620
10621         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10622
10623 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10624
10625         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10626
10627         * MenuBackend.C (expand): fix export/view/update when there is no
10628         document open.
10629
10630 2002-03-27  Herbert Voss  <voss@lyx.org>
10631
10632         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10633         and text%
10634
10635 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * bufferview_funcs.C (currentState): only show paragraph number
10638         for is DEVEL_VERSION is set.
10639
10640         * lyxfunc.C (dispatch): put warning in INFO channel
10641
10642         * MenuBackend.C (expand): translate the name of floats
10643
10644         * FloatList.C (FloatList): mark the float names for translation
10645
10646         * converter.C (convert): use LibScriptSearch
10647
10648 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * MenuBackend.C (defaults): fix default menu (we might as well get
10651         rid of it...)
10652
10653 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10654
10655         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10656         directory.
10657
10658 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * lyxvc.C: reorder includes.
10661
10662 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10665           properly
10666
10667 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * CutAndPaste.C: change layouts earlier on paste
10670           to avoid crashing when calling getFont()
10671
10672 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10673
10674         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10675         irritating #error.
10676
10677 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * WorkArea.C: remove 'Pending' debug message.
10680
10681         * most files: ws cleanup
10682
10683         * buffer.[Ch]: ws changes
10684
10685         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10686
10687 2002-03-21  Juergen Vigna  <jug@sad.it>
10688
10689         * tabular.C (SetMultiColumn): collapse also the contents of the
10690         cells and set the last border right. Added a Buffer const * param.
10691
10692 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10695         linking or not.
10696
10697 2002-03-19  Juergen Vigna  <jug@sad.it>
10698
10699         * text2.C (clearSelection): reset also xsel_cache.
10700
10701         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10702         where it needs to be called (John tells us to do so too :)
10703         (selectionLost): reset sel_cache.
10704
10705         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10706
10707 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * text2.C (setCursorIntern): put debuging code in INSETS channel
10710
10711 2002-03-19  André Pönitz <poenitz@gmx.net>
10712
10713         * lyxfunc.C: tiny whitespace change
10714
10715 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10716
10717         * ToolbarDefaults.C (init):
10718         * LyXAction.C (init):
10719         * commandtags.h:
10720         * BufferView_pimpl.C (Dispatch):
10721         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10722
10723 2002-03-19  Allan Rae  <rae@lyx.org>
10724
10725         * exporter.C (Export): removeAutoInsets before doing anything else.
10726         While I've just introduced a dependency on BufferView this really is
10727         the best place to clean the buffer otherwise you need to cleanup in
10728         a dozen places before calling export or cleanup in a dozen functions
10729         that export calls.
10730
10731         * converter.C (runLaTeX):
10732         (scanLog): Better handling of removeAutoInsets and screen updates.
10733
10734         * lyxfunc.C (dispatch): small whitespace changes
10735
10736 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * WorkArea.C (C_WorkAreaEvent): return a value.
10739         (event_cb): return 1 if we handled the event, 0 otherwise.
10740
10741         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10742
10743 2002-03-18  Juergen Vigna  <jug@sad.it>
10744
10745         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10746         (GetAdditionalWidth): ditto.
10747         (RightLine): ditto.
10748         (LeftLine): ditto.
10749
10750         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10751         inset if we're there actually (probably not used right now but this
10752         is the direction to go for unifying code).
10753         (paste): disable code to clear the selection.
10754
10755         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10756         inside an InsetText and move the check further up as it is in the
10757         wrong place.
10758
10759         * text2.C (pasteSelection): set a selection over the pasted text.
10760
10761 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10762
10763         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10764         and libgraphics to build on Cygwin.
10765
10766 2002-03-15  Juergen Vigna  <jug@sad.it>
10767
10768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10769         inserting an Inset into the paragraph. I know this is not the best
10770         fix but we already use current_view in CutAndPaste so we will remove
10771         all of it's using at the same time.
10772
10773         * buffer.C (sgmlError): deactivated function till it is rewritten in
10774         the right mode, now it can create problems.
10775
10776         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10777         before accessing it.
10778
10779 2002-03-14  Juergen Vigna  <jug@sad.it>
10780
10781         * undo_funcs.C (textHandleUndo): do the right thing when updating
10782         the inset after the undo/redo.
10783
10784         * text2.C (setCursor): just some testcode for #44 not ready yet.
10785
10786         * undo_funcs.C (textHandleUndo): set the next() and previous()
10787         pointers of the paragraph to 0 before deleting otherwise we have
10788         problems with the Paragraph::[destructor].
10789
10790         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10791         on a paragraph insertion.
10792
10793 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10794
10795         * buffer.C (asciiParagraph): use += operator for char append to
10796         string.
10797
10798         * paragraph.C (getFontSettings): compare >= not just >
10799         (highestFontInRange): ditto
10800         (setFont): ditto
10801
10802 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * paragraph.C: change several algorithm to be more appripriate for
10805         the problem domain. This is lookip in FontList and in the InsetList.
10806
10807 2002-03-13  André Pönitz <poenitz@gmx.net>
10808
10809         * commandtags.h:
10810         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10811
10812 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * commandtags.h:
10815         * LyXAction.C:
10816         * lyxfunc.C:
10817         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10818
10819 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10820
10821         * Painter.C (display): anon helper function, adjust code for this
10822         change.
10823         (pixmap): remove function.
10824
10825         * Painter.h: remove private display variable.
10826
10827         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10828
10829 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10830
10831         * WorkArea.[Ch]: remove figinset_canvas cruft.
10832
10833 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * lyxtextclass.C (operator): add one item cache optimization.
10836
10837         * bufferlist.h: doxy changes
10838
10839         * bufferlist.C: ws changes
10840
10841         * DepTable.[Ch] (ext_exist): place const in the right spot.
10842
10843         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10844         call resizeInsets.
10845         (workAreaExpose): call resizeInsets when the with BufferView changes.
10846         (Dispatch): adjust for protectedBlank removal
10847         (specialChar): call updateInset if the insert went ok.
10848
10849         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10850         specialChar instead.
10851
10852         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10853
10854         * BufferView.h: doxy change
10855
10856         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10857
10858         * lyxtextclass.C (operator[]): remove non-const version
10859         (defaultLayout): remove non-const version
10860
10861 2002-03-12  Juergen Vigna  <jug@sad.it>
10862
10863         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10864         did resize the LyXText too.
10865
10866         * buffer.C (readLyXformat2): set layout information on newly allocated
10867         paragraphs.
10868
10869         * tabular.C (OldFormatRead): set layout information on the paragraph.
10870
10871 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10872
10873         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10874
10875 2002-03-11  Juergen Vigna  <jug@sad.it>
10876
10877         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10878         plainly wrong.
10879         (resizeCurrentBuffer): force also the insets to resize themselfes.
10880         (moveCursorUpdate): fixed up for InsetText.
10881
10882 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10883
10884         * commandtags.h:
10885         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10886         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10887         value of Dialogs::tooltipsEnabled().
10888         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10889
10890 2002-03-08  Juergen Vigna  <jug@sad.it>
10891
10892         * BufferView_pimpl.C (updateInset): update inset inside inset also
10893         if it isn't inside theLockingInset().
10894
10895 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10896
10897         * buffer.C (asciiParagraph): redo some of the word and line length
10898         handling.
10899         (getLists): look for Caption instead of caption.
10900
10901 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10902
10903         * buffer.C (Buffer): initialize niceFile to true
10904         (makeLaTeXFile):
10905         (makeLinuxDocFile):
10906         (makeDocBookFile): make sure niceFile is true on exit
10907
10908 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10911
10912 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * LyXSendto.C: remove.
10915         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10916         * lyx_gui.C: remove now-redundant comment.
10917         * ColorHandler.h: remove forward declaration of class WorkArea.
10918         * lyxfunc.C: remove #include "WorkArea.h".
10919
10920 2002-03-07  Juergen Vigna  <jug@sad.it>
10921
10922         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10923         got moved away with the DEPM and also set the inset_owner always
10924         right which before could have been omitted.
10925
10926 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10927
10928         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10929         wanted layout is not found.
10930
10931 2002-03-07  Juergen Vigna  <jug@sad.it>
10932
10933         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10934
10935 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10936
10937         * paragraph.C (breakParagraph): use default layout not layout of
10938         prev paragraph.
10939         (Paragraph): clear ParagraphParameters.
10940
10941 2002-03-06  Juergen Vigna  <jug@sad.it>
10942
10943         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10944         otherwise it would not be a valid lenght. Fixed a special case in
10945         the minipage compatibility read where we end the document with a
10946         minipage.
10947
10948         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10949         was set as it could be 0 for InsetTexts first entry.
10950
10951 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * paragraph.C (writeFile): if layout is empty write out
10954         defaultLayoutName().
10955
10956         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10957         file without named layout we set layout to defaultLayoutName().
10958
10959 2002-03-06  Juergen Vigna  <jug@sad.it>
10960
10961         * CutAndPaste.C (copySelection): set layout for new paragraph.
10962
10963         * text.C (prepareToPrint): leave ERT inset left aligned
10964         (leftMargin): don't indent paragraphs inside ERT insets
10965
10966 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * paragraph.C (breakParagraph): dont call clear do the work manually
10969
10970         * paragraph.[Ch] (clear): remove function
10971
10972 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * paragraph.C (Paragraph): dont call clear, the work has already
10975         been done.
10976
10977         * lyxtextclass.C (operator): assert if n is empty
10978
10979         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10980         work manually instead.
10981
10982 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * BufferView_pimpl.C: protect selectionLost against text == 0
10985
10986 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * text.C (breakParagraph): fix a setting layout to '0' problem.
10989
10990 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10991
10992         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10993         final location of file, for the included files, and graphics.
10994
10995 2002-03-05  Juergen Vigna  <jug@sad.it>
10996
10997         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10998
10999 2002-03-04  Juergen Vigna  <jug@sad.it>
11000
11001         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11002
11003         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11004         last column of multicolumn cells.
11005         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11006
11007 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11008
11009         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11010         file if it doesn't go to a temporary file.
11011
11012         * buffer.C (sgmlOpenTag):
11013         (sgmlCloseTag):  remove extra newline insertion.
11014
11015 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11016
11017         * text.C (getRowNearY): comment out debug msg
11018
11019 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * text2.C: first -> first_y
11022
11023         * text.C (getRowNearY): add some attemts at a possible
11024         optimization, not working.
11025
11026         * tabular.[Ch]: add BufferParams to several function so that newly
11027         created paragraph can be initialized to he default layotu for the
11028         buffers textclass.
11029
11030         * tabular-old.C (ReadOld): add buf->params to call of Init
11031
11032         * screen.C: rename text->first to text->first_y
11033
11034         * paragraph.C (breakParagraph): always set layout in the broken
11035         paragraph
11036
11037         * lyxtextclass.C (Read): remove lowercase
11038         (hasLayout): ditto
11039         (operator): ditto
11040         (delete_layout): ditto
11041
11042         * lyxtext.h: rename first -> first_y
11043
11044         * lyxlayout.C (Read): remove lowercase
11045         (name): ditto
11046         (setName): ditto
11047         (obsoleted_by): ditto
11048
11049         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11050
11051         * buffer.C (insertErtContents): add params are to InsetERT
11052         (parseSingleLyXformat2Token): add code to check if a paragraphs
11053         layout really exist.
11054         (parseSingleLyXformat2Token): add params to several inset
11055         constructors
11056         (asciiParagraph): remove lowercase, do the layout comparisons with
11057         no_case
11058
11059         * BufferView_pimpl.C (cursorNext): first -> first_y
11060         (resizeCurrentBuffer): first -> first_y
11061         (updateScrollbar): first -> first_y
11062         (scrollCB): first -> first_y
11063         (workAreaMotionNotify): first -> first_y
11064         (workAreaButtonPress): first -> first_y
11065         (checkInsetHit): first -> first_y
11066         (cursorPrevious): first -> first_y
11067         (cursorNext): first -> first_y
11068         (Dispatch): add buffer_->params to severl inset contructors
11069
11070 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11071
11072         * lyxlayout.C (Read): remove some debug info that I forgot.
11073
11074         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11075         clean up the code slightly.
11076         (makeLinuxDocFile): ditto
11077         (makeDocBookFile): ditto
11078
11079         * text2.C: layout as string
11080
11081         * text.C: layout as string
11082
11083         * paragraph_pimpl.C: layout as string
11084
11085         * paragraph.[Ch]: layout as string
11086
11087         * lyxtextclasslist.[Ch]: layout as string
11088
11089         * lyxtextclass.[Ch]: layout as string
11090
11091         * lyxtext.h: layout as string
11092
11093         * lyxlayout.[Ch]: layout as string
11094
11095         * lyx_cb.C: layout as string
11096
11097         * bufferview_funcs.C: layout as string
11098
11099         * bufferparams.C: layout as string
11100
11101         * buffer.C: layout as string
11102
11103         * LyXView.[Ch]: layout as string
11104
11105         * LaTeXFeatures.[Ch]: layout as string
11106
11107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11108
11109         * BufferView_pimpl.C: change current_layout to string, remove
11110         lyx::layout_type.
11111         (Dispatch):
11112         (smartQuote):
11113         (insertInset):
11114         (workAreaButtonRelease): layout as string
11115
11116         * BufferView2.C (unlockInset): adjust
11117
11118         * vspace.C (asLatexCommand): use an explict temp variable.
11119
11120 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * Makefile.am: use FRONTEND_*
11123
11124 2002-03-01  Juergen Vigna  <jug@sad.it>
11125
11126         * tabular.C (SetWidthOfMulticolCell): changed to something better
11127         I hope but still work in progress.
11128         (recalculateMulticolumnsOfColumn): renamed function from
11129         recalculateMulticolCells as it is more appropriate now.
11130         (SetWidthOfCell): calculate multicols better.
11131
11132 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11135
11136         * lyxfunc.C (processKeySym): print sequence also if it is
11137         `deleted' (complete)
11138
11139         * kbsequence.C (print): print sequence even if it is deleted
11140         (complete would be a better word, actually).
11141
11142         * lyxfunc.C (dispatch): print complete options after a prefix key
11143
11144         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11145
11146 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11147
11148         * text2.C (setCharFont): eliminate setCharFont code duplication.
11149
11150 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11151
11152         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11153         LFUN_TABULAR_FEATURE (bug #177)
11154
11155 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11156
11157         * Makefile.am: remove figure.h
11158
11159 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11160
11161         * Bufferview_pimpl.C:
11162         * CutAndPasteC:
11163         * LaTeX.C:
11164         * LyXSendto.C:
11165         * buffer.C:
11166         * bufferlist.C:
11167         * converter.C:
11168         * language.C:
11169         * lyxfunc.C:
11170         * lyxvc.C:
11171         * paragraph.C:
11172         * text.C:
11173         * text2.C: remove #include "lyx_gui_misc.h".
11174
11175         * LaTeX.C: added #include <cstdio>
11176
11177 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11178
11179         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11180         that the paragraph following this one can have.
11181
11182         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11183
11184         * vspace.C (asLatexCommand): fix bogus gcc warning
11185
11186         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11187
11188 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11189
11190         * text2.C (setLayout): get rid of redundant code
11191
11192 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11193
11194         * text2.C (incDepth): make sure depth cannot be increased beyond
11195         reasonable values.
11196
11197 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11198
11199         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11200         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11201
11202         * PainterBase.h (image):
11203         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11204         a LyXImage const *.
11205
11206 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * BufferView.C:
11209         * BufferView.h:
11210         * BufferView_pimpl.C:
11211         * BufferView_pimpl.h:
11212         * LaTeXFeatures.C:
11213         * LyXAction.C:
11214         * LyXView.C:
11215         * Makefile.am:
11216         * UpdateList.h:
11217         * UpdateList.C:
11218         * buffer.C:
11219         * figure.h:
11220         * figureForm.C:
11221         * figureForm.h:
11222         * figure_form.C:
11223         * figure_form.h:
11224         * lyx_cb.C:
11225         * lyx_gui.C:
11226         * lyx_gui_misc.C:
11227         * lyxfunc.C:
11228         * sp_base.h:
11229         * sp_ispell.h:
11230         * sp_pspell.h:
11231         * sp_spell.C: remove fig inset, and the crap house of
11232           cards that follows it
11233
11234 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * Makefile.am:
11237         * lyxserver.C:
11238         * os2_defines.h:
11239         * os2_errortable.h:
11240         * nt_defines.h: move .h into support/
11241
11242         * vms_defines.h: remove
11243
11244         * WorkArea.C: add space in debug output
11245
11246         * text2.C:
11247         * paragraph.C:
11248         * buffer.C: add WITH_WARNINGS
11249
11250         * vc-backend.h:
11251         * vc-backend.C:
11252         * bufferlist.C: s/retrive/retrieve/, add docs
11253
11254         * vspace.h:
11255         * vspace.C:
11256         * kbmap.h:
11257         * lyxlength.h:
11258         * lyxgluelength.h:
11259         * length_common.h:
11260         * chset.h:
11261         * chset.C: add docs
11262
11263         * lyxgui.C: add ID to X error handler
11264
11265         * lyxtestclass.c: fix typo
11266
11267 2002-02-26  Juergen Vigna  <jug@sad.it>
11268
11269         * tabular_funcs.C (write_attribute): changed so that some default
11270         attributes are not written at all.
11271         (getTokenValue): set default values before trying to read the
11272         value so we have the return value always set as default if we don't
11273         find the token we search for.
11274
11275         * tabular.C (Write): write bools as bools not as strings!
11276
11277 2002-02-22  Juergen Vigna  <jug@sad.it>
11278
11279         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11280         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11281
11282         * text.C (leftMargin): don't add an indent for paragraphs inside
11283         tabular cells (fix #208).
11284
11285 2002-02-21  José Matos  <jamatos@fep.up.pt>
11286
11287         * tabular.C (docBook): fixed support for long tables.
11288
11289 2002-02-20  Juergen Vigna  <jug@sad.it>
11290
11291         * text2.C (getFont): get the drawing font of the Inset if this
11292         paragraph is inside an inset (only important for InsetERT for now).
11293
11294         * buffer.C (insertErtContents): use new lanugage params in ERT
11295         constructor.
11296
11297         * CutAndPaste.C: commenting out seemingly uneeded code.
11298
11299 2002-02-19  Allan Rae  <rae@lyx.org>
11300
11301         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11302         Iterators might be simple to use but they also get invalidated.
11303         (removeAutoInsets): renamed saved cursor tracking variables and added
11304         some comments to clarify what everything does.
11305
11306 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * Chktex.C:
11309         * LaTeX.C:
11310         * LyXSendto.C:
11311         * converter.C:
11312         * lyx_cb.C:
11313         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11314         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11315
11316         * lyxfunc.C:
11317         * vc-backend.h: remove #include "support/syscall.h"
11318
11319         * LaTeX.C:
11320         * LyXSendto.C:
11321         * converter.C: rearrange #includes in Lars' approved fashion.
11322
11323         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11324         forward declare class Timeout in the header file.
11325
11326         * XFormsView.C: changes due to the above.
11327
11328         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11329         similar to LyXView.
11330
11331         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11332         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11333
11334 2002-02-18  José Matos  <jamatos@fep.up.pt>
11335
11336         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11337         insets contents.
11338
11339 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11340
11341         * a lot of small ws changes
11342         * add a lot of using std::XXX
11343         * use std construcs some places where approp.
11344         * use some exisint stuff from lyxfunctional where approp.
11345         * Make file changes to use partial linking (lets test this now...)
11346
11347 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11348
11349         * Chktex.C:
11350         * buffer.C:
11351         remove #include "support/syscontr.h" as it's redundant. Always has been.
11352
11353         * Chktex.C:
11354         * LaTeX.C:
11355         * LyXSendto.C:
11356         * converter.C:
11357         * lyx_cb.C:
11358         * vc-backend.C:
11359         change Systemcalls::System to Systemcalls::Wait and
11360         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11361         No change of functionality, just reflects the stripped down Systemcalls
11362         class.
11363
11364 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * debug.[Ch]: add a GRAPHICS type to the enum.
11367
11368 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11371
11372         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11373         there is an inset.
11374
11375 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11378         match the changes below.
11379
11380         * text2.C (toggleInset): if there is not editable inset at cursor
11381         position, try to see if cursor is _inside_ a collapsable inset
11382         and close it.
11383
11384 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11387         document menu has a nice checkbox
11388
11389 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * lyxlength.C (asLatexString): change PW to output as percent of
11392         \textwidth.
11393
11394         * lengthcommon.C: change '%' to 't%'
11395
11396         * lyxfunc.C (dispatch): a few comments from Martin
11397
11398 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * WorkArea.h:
11401         * WorkArea.C:
11402         * BufferView_pimpl.h:
11403         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11404           the X selection.
11405
11406 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * vspace.C (inPixels): fix compiler warning
11409
11410 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * lyxfunc.C (getStatus): fix status message for disabled commands.
11413
11414 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * BufferView_pimpl.C: fix crash on close buffer
11417         during selection (#227)
11418
11419 2002-01-27  Herbert Voss  <voss@lyx.org>
11420
11421         * buffer.C: link old Figure to new graphic inset
11422
11423 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * FontLoader.C (getFontinfo): Change the latex font names in order
11426         to match the names of type1inst.
11427
11428 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11431
11432         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11433         (extchanged): ditto
11434         (ext_exist): ditto
11435         (remove_files_with_extension): ditto
11436         (remove_file): ditto
11437         (write): ditto
11438
11439         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11440         document is smaller than the work area height. Do not initialize
11441         static variables to 0.
11442
11443 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11446
11447         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11448         LFUN_LAYOUT_PARAGRAPHS.
11449
11450         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11451         tabular. It is possible to provide a possible cell, which will
11452         typically be the actcell from the corresponding insettabular
11453
11454         * lyxfunc.C (getStatus): small cleanup; disable
11455         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11456         true
11457
11458 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11461
11462         * paragraph.C (startTeXParParams):
11463         (endTeXParParams): new methods. The LaTeX code to
11464         start/end paragraph formatting
11465         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11466         empty (fixes bug #200)
11467
11468         * vspace.C (inPixels): adapt to the change below
11469         (inPixels): [later] more cleanups (remove unused variables)
11470
11471         * lyxlength.C (inPixels): change to use a width and a height as
11472         parameter.
11473
11474 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11477         Replaced with \paperwidth
11478
11479         * DepTable.C (insert): add std:: qualifier
11480
11481 2002-01-18  Allan Rae  <rae@lyx.org>
11482
11483         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11484         updated also?
11485
11486         * text.C (drawInset): Turned out I didn't know enough about how
11487         rebreaking worked.  This fixes most of the redraw problems.  I see
11488         an occasional cursor trail when a line is broken now and the cursor
11489         placement can seem out by a few pixels also after a rebreak.
11490
11491 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11492
11493         * buffer.C (parseSingleLyXformat2Token): update because minipage
11494         width is now a LyXLength
11495
11496         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11497
11498         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11499         math insets
11500
11501 2002-01-17  Juergen Vigna  <jug@sad.it>
11502
11503         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11504
11505         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11506         is set correctly and the inset is updated correctly.
11507
11508 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11511         the beginning of the loop.
11512
11513 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * lyxrc.C: improve help for use_scalable_fonts
11516
11517 2002-01-17  Allan Rae  <rae@lyx.org>
11518
11519         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11520
11521 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11524         make sure to set their inset_owner to the right value (bug #171)
11525
11526 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11527
11528         * DepTable.h
11529         * DepTable.C: Implement mtime checking to reduce time spent doing
11530         CRCs.
11531
11532 2002-01-16  Juergen Vigna  <jug@sad.it>
11533
11534         * tabular.C (GetAdditionalHeight): one of error fixed.
11535
11536         * lyxrc.C (output): small fix in writing use_pspell.
11537
11538 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11539
11540         * sp_base.h: #include LString.h
11541
11542 2002-01-16  Allan Rae  <rae@lyx.org>
11543
11544         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11545         Can someone check this please?
11546
11547         * text.C (drawInset): It was possible that p.row would be removed by
11548         breakAgainOneRow upsetting a few other settings.  There may be another
11549         small tweak possible by setting need_break_row = 0 when p.row has been
11550         removed but I don't know enough about the logic here.
11551
11552 2002-01-15  Allan Rae  <rae@lyx.org>
11553
11554         * text.C (insertChar): removed conditional truism.
11555
11556         * BufferView2.C (removeAutoInsets): More tweaks.
11557         cur_par_prev could be a stray pointer.  Check for trailing empty line
11558         in case last line was cur_par and only had an error inset on it.
11559
11560 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11561
11562         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11563         absolute
11564
11565         * vc-backend.C (most methods):
11566         * exporter.C (Export):
11567         * converter.C (convert):
11568         (runLaTeX):
11569         * LyXSendto.C (SendtoApplyCB):
11570         * lyxfunc.C (dispatch):
11571         (menuNew):
11572         (open):
11573         (doImport):
11574         * lyx_cb.C (AutoSave):
11575         (InsertAsciiFile):
11576         * BufferView_pimpl.C (MenuInsertLyXFile):
11577         * buffer.C (runChktex): use Buffer::filePath().
11578
11579         * buffer.h: rename filename to filename_; rename filepath to
11580         filepath_ and make it private
11581         (filePath): new method
11582
11583         * buffer.C (writeFile): use fileName()
11584         (getLatexName):
11585
11586         * lyx_main.C (init): fix starting  of LyX when the binary is a
11587         link from so,ewhere else.
11588
11589         * minibuffer.C: include <cctype> for isprint
11590
11591 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11594         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11595         name clash with InsetCollapsable's width function.
11596
11597 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * lastfiles.C: include <iterator>
11600
11601 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11602
11603         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11604         std::count.
11605
11606         * buffer.C (makeLaTeXFile): ditto.
11607         Also make loop operation more transparent.
11608
11609 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11610
11611         * ToolbarDefaults.C: remove trailing comma closing namespace.
11612
11613         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11614
11615         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11616         as in WorkArea.
11617
11618         * trans.C (Load): comment out unused variable, allowed.
11619
11620 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11621
11622         * minibuffer.[Ch] (append_char): new method to recieve input from the
11623         drop-down completion browser. If a key was pressed, then recieve this
11624         char and append it to the existing string.
11625         (peek_event): modify the positioning data passed to the completion
11626         browser so that it can be placed above the minibuffer rather than below.
11627 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * LyXAction.C (init): alloe error-next for readonly documents.
11630
11631         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11632         count.
11633
11634 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * bufferlist.C (readFile): create the buffer _after_ checking that
11637         the file exists.
11638
11639         * lyxfunc.C (verboseDispatch): fix handling of arguments
11640
11641         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11642
11643         * lyxrc.C: use string::erase() instead of initializing to "".
11644
11645
11646 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * BufferView_pimpl.h:
11649         * BufferView_pimpl.C:
11650         * WorkArea.h:
11651         * WorkArea.C:
11652         * text2.C: tell X when we have made a selection for copying
11653
11654 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11655
11656         * BufferView_pimpl.C (MenuInsertLyXFile):
11657         * lyxfunc.C (menuNew):
11658         (open):
11659         (doImport): add shortcuts to directory buttons
11660
11661         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11662         open a float)
11663
11664         * lyxfunc.C (setStatusMessage):
11665         (getStatusMessage): new methods
11666         (getStatus):use setStatusMessage instead of setErrorMessage
11667         (dispatch): when function is disabled, set error message here
11668         [instead of in getStatus previously]
11669
11670         * BufferView_pimpl.C (workAreaButtonRelease): update
11671         toolbar/menubar here too.
11672
11673 2002-01-13  Allan Rae  <rae@lyx.org>
11674
11675         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11676         Now seems indestructible.  Remaining task is to audit all other
11677         code affected by deleteEmptyParagraphMechanism.  One small quirk
11678         left is that an empty document with an error in the preamble can
11679         be made to report an error but no error box appears.  I don't know
11680         where it goes.
11681         (removeAutoInsets): Improved comments.
11682
11683 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * Thesaurus.h:
11686         * Thesaurus.C: update for Aiksaurus 0.14
11687
11688 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * text2.C (firstParagraph): removed member function, all uses
11691         replaces with ownerParagraph
11692         (redoParagraphs): here
11693         (updateInset): here
11694         (toggleAppendix): here
11695         * BufferView2.C (insertErrors): here
11696         (setCursorFromRow): here
11697
11698 2002-01-13  Allan Rae  <rae@lyx.org>
11699
11700         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11701         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11702         There is still a way to segfault this although you may have to do this
11703         multiple times: Have an InsetERT with an unknown command in it.
11704         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11705         <down-arrow>, <Enter> again, View->DVI, BANG!
11706
11707         * text2.C (setCursor):
11708         (deleteEmptyParagraphMechanism):
11709         * lyxtext.h (setCursor):
11710         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11711         Making use of the return value may help fix other bugs.
11712
11713 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11714
11715         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11716
11717         * LyXView.C (updateMenubar): call MenuBar::update here
11718         (updateToolbar): but not here
11719         (showState): do not update toolbar/menubar
11720
11721         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11722         should need to care about that.
11723
11724         * lyxfunc.C (verboseDispatch): simplify a bit
11725         (getStatus): have a version which takes a pseudoaction, and
11726         another which requires a (kb_action,string).
11727
11728         * LyXAction.C (retrieveActionArg): make it work also when action
11729         is not a pseudo-action.
11730         (getActionName): simplify a bit
11731         (helpText):
11732
11733 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * lyxfunc.C (verboseDispatch): new families of methods with
11736         several ways to specify a command and a bool to indicate whether
11737         the command name and shortcut should be displayed in minibuffer
11738         (eventually, we could extend that to a finer bitmask like
11739         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11740         (dispatch): the pristine dispatch command which just, well,
11741         dispatchs! Note it still sets its result to minibuffer; I'm not
11742         sure we want that.
11743
11744         * lyxfunc.h: remove setHintMessage
11745
11746         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11747
11748 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * BufferView_pimpl.C (specialChar): delete new inset if we have
11751         not been able to insert it.
11752
11753         * kbmap.C: revert to using int instead of kb_action, since all we
11754         are dealing with is pseudo-actions.
11755
11756         * LyXAction.C (searchActionArg): change to return int instead of
11757         kb_action, since the result is a pseudoaction.
11758
11759 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11760
11761         * buffer.C (insertErtContents): Fix (partially) the font bug.
11762
11763 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11766         as the other one is broken on my machine!
11767
11768 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11769
11770         * commandtags.h:
11771         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11772
11773 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11774
11775         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11776         reflect their actual use. Provide compatibility code for older lyxrc
11777         files.
11778
11779         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11780         FL_NORMAL_STYLE.
11781         change names of popup font variables in line with the changes to lyxrc.C
11782
11783 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * buffer.C (asciiParagraph): avoid outputing a word twice after
11786         an inset.
11787
11788         * lyxrc.C (getDescription): document that document_path and
11789         template_path can be empty.
11790
11791 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * LaTeXFeatures.C (getMacros):
11794         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11795
11796         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11797
11798         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11799         getPackages.
11800         (getPackages): rename feature "floats" to "float". Use an array to
11801         iterate over 'simple' features (i.e. just a \usepackage). Add
11802         handling of "amsmath" (renamed from "amsstyle").
11803
11804 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11805
11806         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11807         features list.
11808
11809 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11812         FuncStaus::FuncStatus & FuncStaus::some_method().
11813
11814 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11815
11816         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11817         of the func_satus stuff. Edited and massaged in various ways by
11818         JMarc.
11819
11820         * lyxfunc.C (getStatus): use FuncStatus
11821
11822 2002-01-08  Juergen Vigna  <jug@sad.it>
11823
11824         * text.C (nextBreakPoint): use function Inset::isChar().
11825
11826         * paragraph.C (TeXOnePar): use function
11827         Inset::forceDefaultParagraphs.
11828
11829         * buffer.C (latexParagraphs): use function
11830         Inset::forceDefaultParagraphs.
11831
11832 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * lyx_gui.C (init): set the style of the menu popups to
11835         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11836
11837 2002-01-07  Juergen Vigna  <jug@sad.it>
11838
11839         * text.C (setHeightOfRow): small fix
11840         (prepareToPrint): don't look at alignment if we don't have the place
11841         for doing it.
11842
11843 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11844
11845         * box.C: New file. Move the Box methods and functions out of box.h,
11846         following Lars' suggestion.
11847
11848 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11849
11850         * box.h: #include "support/LOstream.h", needed for inlined function.
11851
11852         * lyxtextclass.C:
11853         * lyxtextclasslist.C: added some using std declarations.
11854
11855 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * box.h: make signed dimensions to allow insets wider than
11858           the screen (bug #162)
11859
11860         * BufferView_pimpl.C: add some insetHit debug
11861
11862 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * vc-backend.C: add FIXME
11865
11866 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11867
11868         * lyxfunc.C (getStatus): enable code for showing math font status
11869         in toolbar/menu.
11870
11871 2002-01-07  Juergen Vigna  <jug@sad.it>
11872
11873         * text.C (nextBreakPoint): removed debug output not needed anymore.
11874
11875 2002-01-06  Juergen Vigna  <jug@sad.it>
11876
11877         * text.C (nextBreakPoint): fixed up this function we had this bug
11878         since ever but now hopefully we break row better.
11879         (insertChar): we have to check if an inset is the next char as it
11880         could now happen that a large inset is causing a break.
11881
11882 2002-01-05  Juergen Vigna  <jug@sad.it>
11883
11884         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11885         if it doesn't like to be drawed.
11886
11887 2002-01-04  Juergen Vigna  <jug@sad.it>
11888
11889         * BufferView2.C (lockInset): forgot to set a cursor.
11890
11891         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11892
11893 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11894
11895         * FormMathsPanel.C:
11896         * FormMathsPanel.h
11897         * MathsSymbols.C:
11898         * form_maths_panel.C:
11899         * form_maths_panel.h:
11900         * form_maths_panel.fd: implemented sub- and super- buttons in math
11901         panel.
11902
11903         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11904         (or ^ space) to be used as in TeX (req'd by André).
11905
11906         * lyxfunc.C: Allow ^ and _ again to be used both as
11907         super/subscript (mathed) and as themselves (in text).
11908
11909 2002-01-03  Allan Rae  <rae@lyx.org>
11910
11911         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11912         "LyX" or the filename of the current buffer if it has one.  This is a
11913         modified form of John Levon's patch.
11914
11915         * XFormsView.C (setWindowTitle): also set icon title.
11916
11917         * LyXView.h (setWindowTitle): signature changed.
11918         * XFormsView.h (setWindowTitle): ditto.
11919
11920 2002-01-02  Juergen Vigna  <jug@sad.it>
11921
11922         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11923
11924 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * screen.C (topCursorVisible): introduce a temp var for
11927         text->cursor.row(), handle the case where this row is null. (kindo
11928         hachish)
11929
11930         * text2.C (setCursor): add a couple of asserts.
11931
11932         * paragraph.h (inset_iterator): add -> operator
11933
11934         * paragraph.[Ch] (autoDeleteInsets): remove member function
11935
11936         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11937         cursor pos correctly and handle inset deletion by itself.
11938         (insertErrors): move iterator declaration out of for expression
11939
11940         * lyxtextclass.C: add <algorithm>
11941
11942         * Makefile.am: added the new files to sources, removed layout.C
11943
11944         * layout.C: removed file
11945
11946         * layout.h: remove LYX_DUMMY_LAYOUT
11947
11948         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11949         layout.
11950
11951         * lyxlayout.[Ch]:
11952         * lyxtextclass.[Ch]:
11953         * lyxtextclasslist.[Ch]: new files
11954
11955         * include order changes to a lot of files, also changes because of
11956         the six new files.
11957
11958 2001-12-27  Juergen Vigna  <jug@sad.it>
11959
11960         * buffer.C (asciiParagraph): more fixes.
11961
11962         * tabular.C (ascii): make ascii export support export of only the
11963         data separated by a column-delimiter.
11964         (ascii): better support for ascii export.
11965
11966         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11967
11968 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * tabular_funcs.C: use a "using std::getline" instead of the
11971         previous fix from Angus (necessary for cxx + lyxstring)
11972
11973 2001-12-24  Juergen Vigna  <jug@sad.it>
11974
11975         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11976
11977         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11978         problems. First check a minipage also if we have some ert-contents
11979         (not only on par->size(), second set the right depth of the paragraph
11980         on the relink to the root-paragraph-list!
11981
11982         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11983         which then did not anymore update the main paragraphs on undo/redo!
11984
11985 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11986
11987         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11988         code. Support all font-changing funcs (even those which are not in
11989         menu currently). Support for reporting font settings in
11990         mathed (disabled until Andre provides a function on mathed's side).
11991
11992         * func_status.h (toggle): small helper function to set toggle
11993         state on a flag.
11994
11995 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         * tabular_funcs.C: getline -> std::getline
11998
11999 2001-12-21  Juergen Vigna  <jug@sad.it>
12000
12001         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12002         accessed and could be 0 (I couldn't generate this but it seems
12003         Michael could!).
12004
12005 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12008         * tabular_funcs.h: here and include iosfwd
12009
12010 2001-12-20  Juergen Vigna  <jug@sad.it>
12011
12012         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12013         inside inset but undo_par was.
12014
12015 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * Thesaurus.C: always include <config.h> in sources.
12018
12019         * Painter.h:
12020         * lyxlookup.h:
12021         * box.h: do not include <config.h> in header files
12022
12023         * text.C (paintLastRow): remove unused variable
12024
12025         * text.C (transformChar):
12026         (insertChar):
12027         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12028
12029         * Painter.C (text):
12030         * font.C (width): rewrite to use uppercase() instead of
12031         islower/toupper.
12032
12033         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12034
12035 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * lyxfind.C: clean up of find failure position change
12038
12039 2001-12-20  Juergen Vigna  <jug@sad.it>
12040
12041         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12042
12043         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12044         (TeXRow): added to LaTeX a single tabular row.
12045         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12046         (Latex): simplified and finally good LT-h/f support.
12047         (various_functions): just small adaptions for LT-h/f support.
12048
12049         * tabular_funcs.[hC]: added and moved here all not classfunctions
12050         of LyXTabular.
12051
12052 2001-12-19  Juergen Vigna  <jug@sad.it>
12053
12054         * tabular.[Ch]: better support for longtabular options (not finished
12055         yet!)
12056
12057 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12058
12059         * text.C (paintLastRow): use the label font instead of the font of
12060         the last character to compute the size of *_BOX. This makes more
12061         sense and avoids a crash with empty paragraphs.
12062         Use Painter::rectangle to draw EMPTY_BOX.
12063
12064 2001-12-19  Juergen Vigna  <jug@sad.it>
12065
12066         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12067         the paragraphs if the replaced paragraph is not the first one!
12068         Tried to delete not used paragraphs but does not work yet so for
12069         now it's inside #ifdef's and by default off!
12070
12071 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * MenuBackend.C: include "lyx_main.h" instead of declaring
12074         lastfiles (actually was declared as LastFiles* instead of a
12075         scoped_ptr).
12076
12077 2001-12-17  Juergen Vigna  <jug@sad.it>
12078
12079         * tabular.C (AppendColumn): applied John's fix
12080
12081 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * BufferView.h:
12084         * BufferView.C:
12085         * BufferView_pimpl.h:
12086         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12087
12088         * Makefile.am:
12089         * box.h: new start of class for above
12090
12091         * lyxfunc.C: ignore space-only minibuffer dispatches.
12092           Show the command name when it doesn't exist
12093
12094         * minibuffer.C: don't add empty lines to the history
12095
12096         * minibuffer.C: add a space on dropdown completion
12097
12098 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * text.C: fix line above/below drawing in insets
12101
12102 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * lyxlength.C (LyXLength): Initialize private variables.
12105
12106 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12107
12108         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12109         when inserting error insets.
12110
12111 2001-12-13  Juergen Vigna  <jug@sad.it>
12112
12113         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12114         actually sometimes the before-paragraph.
12115         (setUndo): don't clear the redostack if we're not actually undoing!
12116
12117 2001-12-06  Juergen Vigna  <jug@sad.it>
12118
12119         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12120         and fixed redoing of main paragraph, so we can use it now ;)
12121
12122         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12123
12124 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12127         Juergen's request
12128
12129 2001-12-13  André Pönitz <poenitz@gmx.net>
12130
12131         * undostack.[Ch]:
12132         * undo_func.C: minor cleanup
12133
12134 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12137         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12138         font in urw-fonts package which is marked as -urw-fontspecific and
12139         does not work (incidentally, changing the encoding in the
12140         fonts.dir of this package to -adobe-fontspecific fixes the
12141         problem).
12142
12143         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12144         is a crash when undoing first paragraph (Juergen, please take a
12145         look). THis does not mean the undo fix is wrong, just that it
12146         uncovers problems.
12147
12148         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12149         the (Paragraph*) version when needed instead of duplicating the
12150         code.
12151
12152         * text.C (workWidth): use Inset::parOwner to find out where the
12153         inset has been inserted. This is a huge performance gain for large
12154         documents with lots of insets. If Inset::parOwner is not set, fall
12155         back on the brute force method
12156
12157         * paragraph_pimpl.C (insertInset):
12158         * paragraph.C (Paragraph):
12159         (cutIntoMinibuffer): set parOwner of insets when
12160         inserting/removing them
12161
12162         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12163
12164 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12165
12166         * commandtags.h:
12167         * LyXAction.C:
12168         * lyx_main.C:
12169         * lyxfunc.C:
12170         * mathed/formulabase.C:
12171         * mathed/math_cursor.[Ch]:
12172         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12173
12174
12175 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * lyxlength.[Ch] (operator!=): new function
12178
12179 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12180
12181         * text.C (workWidth): use Inset::parOwner to find out where the
12182         inset has been inserted. This is a huge performance gain for large
12183         documents with lots of insets. If Inset::parOwner is not set, fall
12184         back on the brute force method
12185
12186         * paragraph_pimpl.C (insertInset):
12187         * paragraph.C (Paragraph):
12188         (cutIntoMinibuffer): set parOwner of insets when
12189         inserting/removing them
12190
12191         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12192
12193 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12194
12195         * tabular-old.C (getTokenValue):
12196         * tabular.C (getTokenValue):
12197         (write_attribute): new versions for LyXLength
12198         (everywhere): adjust the use of widths
12199
12200         * tabular.h: change the type of widths from string to LyXLength
12201
12202 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12203
12204         * paragraph.C: fixed missing line number count when exporting
12205         Environments to LaTeX file
12206
12207         * buffer.C: added informational message for checking line numbers.
12208
12209 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12210
12211         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12212         paragraph, do the 'double space' part, but not the 'empty
12213         paragraph' one.
12214
12215         * text.C (workWidth): small optimization
12216         (getLengthMarkerHeight): use minimal size for negative lengths.
12217
12218 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12219
12220         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12221
12222         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12223
12224 2001-12-11  André Pönitz <poenitz@gmx.net>
12225
12226         * FontLoader.C:
12227         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12228
12229 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * text2.C: keep selection on a setFont()
12232
12233 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * lyx_cb.C: another bv->text misuse, from insert label
12236
12237 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12238
12239         * kbsequence.h:
12240         * kbsequence.C: re-instate nmodifier mask
12241
12242 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * lyx_main.h: make lyxGUI private.
12245
12246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxfind.C: place the cursor correctly on failed search
12249
12250 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * text.C (getLengthMarkerHeight): for small heights, the arrows
12253         are not always on top/bottom of the text
12254         (drawLengthMarker): smaller arrows; take the left margin in
12255         account; draw also vfills.
12256         (paintFirstRow):
12257         (paintLastRow): remove special code for vfill and standard spaces,
12258         since everything is handled in drawLengthMarker now.
12259
12260 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * buffer.C (insertErtContents): try to handle font and language
12263         interaction a bit better.g
12264
12265         * ColorHandler.C (updateColor): change the hash to cover the whole
12266         LColor enum, ws cleanup
12267         (getGCLinepars): ditto
12268         (getGCLinepars): only lookup in the linecache once.
12269
12270 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * iterators.C (operator++): Make the iterator more robust
12273
12274         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12275         (John's patch)
12276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12277
12278 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * lyxtext.h:
12281         * text.C: better added space drawing
12282
12283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * LyXView.C:
12286         * BufferView2.C: fix layout combo update on inset unlock
12287
12288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * Makefile.am: don't compile unused files
12291
12292 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyxfunc.C:
12295         * commandtags.h:
12296         * LyXAction.C: remove old LFUN_LAYOUTNO
12297
12298 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * paragraph_pimpl.h:
12301         * paragraph_pimpl.C: isTextAt() doesn't need font param
12302
12303 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * lyxlex.h:
12306         * lyxlex.C: little cleanup
12307
12308 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * BufferView_pimpl.C: fix insertAscii for insets
12311
12312 2001-12-05  Juergen Vigna  <jug@sad.it>
12313
12314         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12315         set the right font on the "multi" paragraph paste!
12316
12317 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12318
12319         * trans_decl.h:
12320         * trans_mgr.[Ch]:
12321         * trans.[Ch]:
12322         * lyxgluelength.C:
12323         * lyxlength.C: remove out-commented code.
12324
12325         * BufferView_pimpl:
12326         * CutAndPaste.C:
12327         * DepTable.C:
12328         * buffer.C:
12329         * chset.C:
12330         * lastfiles.C:
12331         * lyxlex.C:
12332         * lyxlex_pimpl.C:
12333         * lyxserver.C:
12334         * screen.C:
12335         * tabular-old.C:
12336         * tabular.C:
12337         * text.C:
12338         * trans_mgr.C:
12339         * vc-backend.C: change "while(" to "while ("
12340
12341         * lyxlength.[Ch]: add zero function to check if length is zero or
12342         not
12343         * lyxgluelength.C: use it
12344
12345 2001-12-05  Allan Rae  <rae@lyx.org>
12346
12347         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12348         Works for 2.95.3, from what I understand of Garst's reports this should
12349         work for other g++ versions.  We're screwed if the abs(int) definition
12350         changed between bugfix releases of gcc.
12351
12352 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * text.C: fix chapter label offset !
12355
12356 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * lyxtext.h:
12359         * text.C: fix hfill at end of line, clean up
12360
12361 2001-12-04  Juergen Vigna  <jug@sad.it>
12362
12363         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12364         that we force an update of the inset and it's owners if neccessary.
12365
12366 2001-12-03  Juergen Vigna  <jug@sad.it>
12367
12368         * text.C (rowLast): simplified code
12369
12370 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * lyxfunc.C: fix show options on timeout
12373
12374 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * screen.C (topCursorVisible): scroll half a page when the cursor
12377         reached top of bottom of screen
12378
12379 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * minibuffer.C: deactivate on loss of focus
12382
12383 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * vspace.[Ch] (operator!=): add operator.
12386
12387 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * BufferView_pimpl.C: refuse to open an inset when
12390         there's a selection.
12391
12392 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * BufferView_pimpl.C: allow to click on RHS of full row insets
12395
12396 2001-11-30  Juergen Vigna  <jug@sad.it>
12397
12398         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12399         insets for undo reasons.
12400
12401 2001-11-28  André Pönitz <poenitz@gmx.net>
12402
12403         * vspace.[Ch]: cosmetical changes
12404
12405 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * LyXAction.h:
12408         * LyXAction.C:
12409         * lyxfunc.h:
12410         * lyxfunc.C:
12411         * kbmap.h:
12412         * kbmap.C:
12413         * lyxrc.C:
12414         * kbsequence.h:
12415         * kbsequence.C: part re-write of old kb code
12416
12417         * Painter.C:
12418         * WorkArea.C: remove Lgb_bug_find_hack
12419
12420 2001-11-30  José Matos <jamatos@fep.up.pt>
12421
12422         * buffer.C (makeDocBookFile): add a comment to point a hack.
12423         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12424         Fixed a double write of labels.
12425
12426 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12427
12428         * LaTeX.C:
12429         * LaTeX.h Fixed bug in LaTeX class where it would not
12430         re-run latex if no depfiles were changed, but the .dvi was removed.
12431
12432 2001-11-28  André Pönitz <poenitz@gmx.net>
12433
12434         * all the files from the change on 2001/11/26:
12435         use lyx::layout_type instead of LyXTextClass::size_type
12436         use lyx::textclass_type instead of LyXTextClassList::size_type
12437
12438 2001-11-29  Juergen Vigna  <jug@sad.it>
12439
12440         * text.C: added support for paragraph::isFreeSpacing()
12441
12442         * buffer.C: same as above
12443
12444         * paragraph.h: inserted isFreeSpacing() function to enable
12445         FreeSpacing inside InsetERT.
12446
12447         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12448         of the paragraph's in the cut/copy buffer to 0!
12449
12450         * text2.C (removeRow): remove the assert as it can!
12451
12452         * lyxtext.h: added helper function firstRow returning firstrow and
12453         made firstrow private again.
12454
12455         * BufferView2.C (lockInset): don't relock if we're already locked!
12456
12457         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12458         the only paragraph.
12459         (removeRow): added Assert::(firstrow)
12460
12461         * debug.C: forgot to add INSETTEXT here.
12462
12463 2001-11-28  Juergen Vigna  <jug@sad.it>
12464
12465         * sp_spell.C (initialize): changed error text to more general
12466         spellchecker command use (not only ispell!)
12467
12468         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12469
12470         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12471
12472 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * vspace.C: initialise lyxgluelength on failure
12475
12476 2001-11-28  Allan Rae  <rae@lyx.org>
12477
12478         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12479         declaration & definition that looks like a function declaration.
12480
12481 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * BufferView2.C (copy):
12484         (copyEnvironment): do not clear the selection when doing a copy.
12485
12486         * text.C (paintFirstRow): compilation fix
12487
12488 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12489
12490         * tabular.C (Latex): correct line count when writing latex.
12491
12492 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * paragraph_pimpl.h:
12495         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12496           bug a bit
12497
12498 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * text.C:
12501         * LColor.h:
12502         * LColor.C: change vfillline->added_space
12503
12504         * text.C: add markers and text for added space
12505
12506         * vspace.C: fix comment
12507
12508 2001-11-28  André Pönitz <poenitz@gmx.net>
12509
12510         * paragraph.C: whitespace changes
12511         * all the other files from the change on 2001/11/26:
12512         change *::pos_type into lyx::pos_type
12513
12514 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12517         language of the document when inserting error insets.
12518
12519 2001-11-26  André Pönitz <poenitz@gmx.net>
12520
12521         * BufferView_pimpl.[Ch]:
12522         *       CutAndPaste.C:
12523         * buffer.[Ch]:
12524         * lyxcursor.[Ch]:
12525         * lyxfind.C:
12526         * lyxfunc.C:
12527         * lyxrow.[Ch]:
12528         * paragraph.[Ch]:
12529         * paragraph_pimpl.[Ch]:
12530         * sp_spell.C:
12531         * text.C:
12532         * text2.C: reduce header dependencies, introduce type for positions
12533
12534 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * <various>: change to use Alert.h
12537
12538 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12539
12540         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12541         when encountering an unknown token.
12542         (readLyXformat2): Show an error message if there were unknown tokens.
12543
12544 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * BufferView2.C:
12547         * BufferView_pimpl.C:
12548         * buffer.C:
12549         * paragraph.h:
12550         * text.C:
12551         * text2.C: use par->isInset()
12552
12553 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * paragraph_pimpl.h:
12556         * paragraph_pimpl.C: cleanup
12557
12558 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12559
12560         * text2.C (removeRow):
12561         * text.C (setHeightOfRow): remove useless (and costly) call to
12562         getRow.
12563
12564 2001-11-20  Allan Rae  <rae@lyx.org>
12565
12566         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12567         Now need Inset*::checkInsertChar() to return true for appropriate
12568         cases so that the characters in the minibuffer will actually be
12569         inserted.
12570
12571 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * text.C: change the order of the includes.
12574         (workWidth): initialize it at once.
12575         (workWidth): make maxw unsigned
12576         (setHeightOfRow): remove unused variable (inset)
12577         (selectSelectedWord): remove unused variable (inset)
12578         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12579
12580 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12583         server is not running.
12584         (openConnection):
12585         (closeConnection): add debug info when server is disabled.
12586
12587         * ColorHandler.C (getGCForeground): send debug message to GUI
12588         channel.
12589
12590         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12591
12592         * kbmap.C (bind): modify because return conventions of
12593         kb_sequence::parse have changed.
12594
12595         * kbsequence.C (parse): only ignore spaces and not any stupid
12596         control character. This avoids tests like s[i] <= ' ', which are
12597         guaranteed to fail with 8bit characters and signed chars.
12598         Change return code to string::npos when there have been no error
12599         (0 was a bad idea when error is at first character)
12600
12601 2001-11-14  José Matos  <jamatos@fep.up.pt>
12602
12603         * buffer.h:
12604         * buffer.C (simpleDocBookOnePar): removed unused argument.
12605
12606 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12607
12608         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12609         insets which are part of a word. Paragraph::isLetter takes care of
12610         that now. Use Paragraph::isInset to identify insets.
12611         (selectSelectedWord): do not test for hyphenation break.
12612
12613         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12614         that protected spaces are considered as spaces.
12615
12616         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12617         Inset::isLetter.
12618
12619 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * lyxserver.h:
12622         * lyxserver.C: fix it. and small cleanup.
12623
12624 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * BufferView_pimpl.C: use inline helpers
12627
12628         * LaTeXFeatures.h:
12629         * LaTeXFeatures.C: fix typos
12630
12631         * Spacing.h:
12632         * Spacing.C: move spacing_string into class
12633
12634         * ToolbarDefaults.C: move stuff into namespace anon
12635
12636         * layout.h: update enum
12637
12638         * lyxfunc.C: use better debug
12639
12640         * minibuffer.h: fix typo
12641
12642         * debug.h:
12643         * debug.C:
12644         * WorkArea.C: add and use Debug::WORKAREA
12645
12646         * lyxtext.h:
12647         * text.C:
12648         * text2.C: code re-organisation, inline helpers
12649
12650 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12651
12652         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12653         std::vector.empty().
12654
12655 2001-11-09  Allan Rae  <rae@lyx.org>
12656
12657         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12658         '\n's after tables.  Tabular and ERT inset work now makes this no
12659         longer necessary.
12660
12661 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * minibuffer.h:
12664         * minibuffer.C: fix crash, improve drop-down completion
12665
12666 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * lyxserver.h:
12669         * lyxserver.C: invalidate fd's when doing endPipe()
12670
12671 2001-11-08  José Matos  <jamatos@fep.up.pt>
12672
12673         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12674         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12675
12676         * paragraph.h:
12677         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12678
12679 2001-11-07  José Matos  <jamatos@fep.up.pt>
12680
12681         * buffer.h:
12682         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12683         const qualifier.
12684
12685         * buffer.C (sgmlOpenTag):
12686         * buffer.C (sgmlCloseTag): removed debug info.
12687
12688         * buffer.h (sgmlOpenTag):
12689         * buffer.h (sgmlCloseTag): made public.
12690
12691 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12692
12693         * buffer.C (saveParamsAsDefaults):
12694         * lyx_cb.C (MenuLayoutSave): remove
12695
12696         * LyXAction.C (init):
12697         * commandtags.h:
12698         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12699
12700 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12701
12702         * buffer.C (setPaperStuff): removed from here...
12703
12704         * bufferparams.C (setPaperStuff): ... and moved there.
12705
12706 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * minibuffer.h:
12709         * minibuffer.C:
12710         * XFormsView.C: add support for drop-down completion
12711
12712 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12713
12714         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12715         commands.
12716
12717 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12720         disabled.
12721
12722 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * lyx_main.C: change ref to known bugs
12725
12726 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12727
12728         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12729         to work around older babel problems.
12730
12731 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12732
12733         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12734
12735 2001-10-24  Juergen Vigna  <jug@sad.it>
12736
12737         * tabular-old.C (ReadOld): below variable changes reflected.
12738
12739         * tabular.[Ch]: added ltType struct for longtable header/footer
12740         defines and changed all instances where they are used. Added
12741         future support for double top/bottom rows.
12742
12743 2001-10-24  José Matos  <jamatos@fep.up.pt>
12744
12745         * buffer.h (docbookHandleCaption):
12746         * buffer.C (docbookHandleCaption): removed unused function.
12747         (makeDocBookFile): moved docbook supported version to v4.1.
12748
12749 2001-10-24  José Matos  <jamatos@fep.up.pt>
12750
12751         * tabular.h:
12752         * tabular.C (docbookRow): new function to export docbook code of a row.
12753         (DocBook): now honors the longtable flags.
12754
12755 2001-10-23  José Matos  <jamatos@fep.up.pt>
12756
12757         * LaTeXFeatures.h:
12758         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12759         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12760
12761         * buffer.C (makeLinuxDocFile):
12762         (makeDocBookFile): reworked the preamble, more clean, and with
12763         support for lyx defined entities. Changed the document declaration
12764         to be more XML friendly.
12765
12766         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12767         if we need to output XML that should be done with a filter.
12768
12769 2001-10-22  Juergen Vigna  <jug@sad.it>
12770
12771         * sp_pspell.h (class PSpell): add alive function needed in the
12772         controller to see if the spellchecker could be started.
12773
12774 2001-10-22  Juergen Vigna  <jug@sad.it>
12775
12776         * buffer.C (insertStringAsLines): modify the font for inserting
12777         chars in certain conditions by calling checkInsertChar(font).
12778
12779 2001-10-19  Juergen Vigna  <jug@sad.it>
12780
12781         * text.C (workWidth): use getRow instead of wrong algorithm.
12782         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12783
12784 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * lyxserver.h:
12787         * lyxserver.C:
12788         * lyx_main.h:
12789         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12790
12791 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * text.C (workWidth): do not search for the exact row when
12794         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12795         optimization for big documents.
12796
12797 2001-10-18  Juergen Vigna  <jug@sad.it>
12798
12799         * text.C (workWidth): new function with added Inset * parameter.
12800
12801 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12802
12803         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12804
12805         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12806         change return type of getColumnNearX.
12807
12808
12809         * text.C (changeRegionCase): use uppercase/lowercase instead of
12810         toupper/tolower.
12811         (leftMargin):
12812         (rightMargin): simplify code by factoring out the uses of
12813         textclasslist.
12814         (labelFill):
12815         (numberOfHfills):
12816         (setHeightOfRow):
12817         (appendParagraph): use Paragraph::size_type
12818
12819 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * vspace.C (asLatexString): add a missing break
12822
12823 2001-10-15  Herbert Voss  <voss@perce.de>
12824
12825         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12826
12827 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12830         is not available.
12831
12832 2001-10-10  André Pönitz <poenitz@gmx.net>
12833
12834         * lyxfunc.C: removed greek_kb_flag.
12835
12836 2001-10-10  Herbert Voss  <voss@perce.de>
12837
12838         * lyx_main.C: delete global string help_lyxdir.
12839
12840 2001-10-09  Herbert Voss  <voss@perce.de>
12841
12842         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12843
12844         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12845
12846         * lyx_main.C: added global string help_lyxdir.
12847
12848         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12849
12850 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12851
12852         * lyxrc.C (set_font_norm_type): support iso8859-4
12853
12854 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12855
12856         * LaTeX.C (deplog): add another regex for MikTeX
12857
12858 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12859
12860         * lyxrc.C (set_font_norm_type): support iso8859-3
12861
12862 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12863
12864         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12865
12866         * LaTeXFeatures.C: remove special case of french and index
12867
12868         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12869         before \begin{document}). This solves several incompatibilities.
12870
12871 2001-10-03  Garst Reese  <reese@isn.net>
12872
12873         * lyx_cb.C: change CheckTex error msg.
12874
12875 2001-10-03  José Matos  <jamatos@fep.up.pt>
12876
12877         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12878
12879 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * .cvsignore: update
12882
12883         * lyx_main.C (commandLineVersionInfo): use new style version info.
12884
12885         * buffer.C (writeFile):
12886         (makeLaTeXFile):
12887         (makeLinuxDocFile):
12888         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12889
12890         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12891
12892         * version.h: update to use stuff in version.C
12893
12894         * version.C.in: new file. Contains version information determined
12895         at compile time. This is a merging of version.h and
12896         version_info.h.in.
12897
12898 2001-10-03  Juergen Vigna  <jug@sad.it>
12899
12900         * BufferView_pimpl.C (update): don't change "dirty" status in
12901         updateInset call.
12902
12903 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12904
12905         * WorkArea.C (c-tor): re-position version string slightly.
12906
12907 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12908
12909         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12910         revert to previous code.
12911
12912         WorkArea.[Ch]: (show, destroySplash): methods removed.
12913
12914         WorkArea.C: rework code so that it's an amalgam of the codes before and
12915         after the splash screen was moved to WorkArea.
12916
12917 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * lyxrc.C (read):
12920         * vspace.C (inPixels):
12921         (lyx_advance):
12922         * kbmap.C (bind):
12923         * buffer.C (insertStringAsLines):
12924         (asciiParagraph): fix types to be large enough
12925
12926         * lyxlex_pimpl.h: change member status from short to int
12927
12928         * layout.h: fix type of endlabeltype
12929
12930         * kbmap.C (bind):
12931         * kbsequence.C (parse): change return type to string::size_type
12932
12933         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12934         variable
12935
12936         * Bullet.C (bulletSize):
12937         (bulletEntry): do not use short ints as parameters
12938
12939         * BufferView2.C (insertLyXFile): change a char to an int.
12940
12941         * WorkArea.C (WorkArea): remove unneeded floats in computation
12942
12943 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12946
12947         * paragraph.C (asString): Do not ignore newline/hfill chars when
12948         copying to the clipboard.
12949
12950 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12951
12952         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12953         after a multi-line inset.
12954
12955 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12956
12957         * paragraph.C (validate): Set NeedLyXFootnoteCode
12958
12959 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12962         and decrease-error to decrease.
12963
12964 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12965
12966         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12967         it more readable (should be equivalent)
12968
12969 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12970
12971         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12972
12973 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12974
12975         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12976         of a cursor (row, etc.) after a character has been deleted
12977         (deleteEmptyParagraphMechanism): call the method above on _all_
12978         cursors held by the LyXText when a double space has been
12979         detected/deleted.
12980
12981 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12984         pixmap.
12985         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12986
12987         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12988         background. Use greyOut() and the new show() methods to toggle between
12989         the foreground and background. Add code to remove the splash after
12990         its initial showing.
12991
12992         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12993         (create_forms): no longer call Dialogs::showSplash.
12994
12995 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * .cvsignore: add version_info.h
12998
12999 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * version_info.h.in: new file
13002
13003         * Makefile.am: add version_info.h.in
13004
13005         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13006         version_info.h instead of VERSION_INFO
13007
13008 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13009
13010         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13011         The ERT inset now returns string().
13012
13013 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * lyxtext.h, text.C (selectNextWord): renamed as
13016         selectNextWordToSpellcheck.
13017
13018         * text.C (selectNextWordToSpellcheck): Modified to not select
13019         words inside an ERT inset.
13020
13021 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * lyx_cb.C (MenuLayoutSave): change a bit the question
13024
13025         * sp_base.h: include <sys/types.h>
13026
13027 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13028
13029         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13030
13031 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13032
13033         * several files: fix typos in user-visible strings
13034
13035 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * text2.C (pasteSelection): do not set the selection, since it
13038         will be cleared later. Actually, the intent was to fix the way the
13039         selection was set, but I figured rmoving the code was just as good.
13040
13041 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13042
13043         * FontLoader.C (available): Check if font is available without
13044         loading the font.
13045
13046 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13047
13048         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13049
13050 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * lyxrc.[Ch]: added display_graphics variable and associated code.
13053
13054 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * bufferparams.C (hasClassDefaults): new method. Returns true if
13057         the buffer parameters correspond to known class defaults
13058
13059 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * XFormsView.C (show): set minimum size to the main window.
13062
13063 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13064
13065         * text2.C (copySelection):
13066         (cutSelection):
13067         * lyxfind.C (LyXReplace):
13068         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13069         LyXText::selectionAsString.
13070
13071         * paragraph.C (asString): add "label" argument to the second form
13072
13073         * text2.C (selectionAsString): add "label" argument and pass it to
13074         Paragraph::asString.
13075
13076 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * lyx_main.C (commandLineHelp): remove version information
13079
13080 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13081
13082         * lyx_main.C: add -version commandline option
13083
13084 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * paragraph.h: make the optional constructor arg required instead.
13087         some modifications to other files because of this.
13088
13089         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13090
13091         * lyxserver.C (C_LyXComm_callback): make it static
13092
13093         * lyx_main.C (error_handler): make it static
13094
13095         * lyx_gui.C (LyX_XErrHandler): make it static
13096
13097         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13098
13099         * WorkArea.C: make the extern "C" methods static.
13100
13101         * Makefile.am (lyx_LDADD): simplify
13102
13103 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13106         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13107
13108         * LyXAction.C (init):
13109         * lyxfunc.C (dispatch): associated code removal.
13110
13111 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13112
13113         * lyxfont.h (isSymbolFont): shut off warning
13114
13115         * text.C (setHeightOfRow):
13116         (getVisibleRow): fix crash with empty paragraphs which have a
13117         bottom line
13118
13119 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13120
13121         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13122         code.
13123
13124 2001-09-04  José Matos  <jamatos@fep.up.pt>
13125         * buffer.C
13126         * buffer.h
13127         * tabular.C (docbook): rename docBook method to docbook.
13128
13129 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13130
13131         * Makefile.am: add dependencies to main.o.
13132
13133 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13134
13135         * FontLoader.C (available): Return false if !lyxrc.use_gui
13136
13137 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13138
13139         * FontInfo.C (query):
13140         * converter.C (view):
13141         * importer.C (Import):
13142         * exporter.C (Export): Can not -> cannot.
13143
13144 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * BufferView_pimpl.C: allow to create index inset even if
13147           string is empty
13148
13149 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13150
13151         * buffer.C (getLists): replace boost::tie code with an explicit pair
13152         as boost::tie can break some compilers.
13153
13154         * iterators.h: Added a std:: declaration to the return type of
13155         ParIterator::size.
13156
13157 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13160           case.
13161
13162 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * iterators.[Ch]: New files. Provide paragraph iterators.
13165
13166         * buffer.C (changeLanguage): Use paragraph iterators.
13167         (isMultiLingual): ditto
13168
13169         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13170
13171 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13172
13173         * FontLoader.C: Support for cmr font.
13174
13175 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13178         (available): New method.
13179
13180         * FontInfo.C (getFontname): Use scalable fonts even when
13181         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13182         found.
13183
13184 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * converter.C (Formats::view): reverted! Incorrect fix.
13187
13188 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * converter.C (Formats::view): only output the -paper option
13191         if the dvi viewer is xdvi, thereby fixing bug #233429.
13192
13193 2001-08-23  Herbert Voss  <voss@perce>
13194
13195         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13196
13197 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13198
13199         * Spacing.h (Spacing): Set space to Default on in the default
13200         constructor.
13201
13202 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * vc-backend.h (RCS::versionString): add RCS to version
13205         (CVS::versionString): add CVS to version
13206
13207         * vc-backend.C (scanMaster): do not add CVS to version.
13208         (scanMaster): do not add RCS to version
13209
13210         * lyxvc.C (versionString): new method
13211
13212         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13213
13214 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * Spacing.C (set): initialize fval
13217
13218 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13219
13220         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13221         " or \.
13222
13223 2001-08-16  Juergen Vigna  <jug@sad.it>
13224
13225         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13226
13227 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13228
13229         * BufferView_pimpl.C:
13230         * figureForm.C:
13231         * lyxtext.h:
13232         * text2.C: setParagraph takes linespacing now
13233
13234 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * LyxAction.C: add internal LFUN_CITATION_INSERT
13237
13238         * LyXView.C: actually apply fix
13239
13240         * bufferlist.C: fix open non-existent file
13241
13242         * lyxfind.C: fix indentation
13243
13244         * lyxfunc.C: remove unneeded assert, fix typo
13245
13246 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * MenuBackend.C: use "Floatname List"
13249
13250 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13251
13252         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13253         when converting LaTeX layout to insetERT.
13254         Generate a non-collapsed float when reading old float
13255
13256 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13257
13258         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13259         ERT insets.
13260
13261 2001-08-13  Juergen Vigna  <jug@sad.it>
13262
13263         * text.C (fill): return 0 instead of 20 as this seems to be the more
13264         correct value.
13265
13266 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13267
13268         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13269         lyxrc.font_norm.
13270
13271 2001-08-13  Juergen Vigna  <jug@sad.it>
13272
13273         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13274         casesensitive off.
13275         (SearchBackward): comment out the unlocking of the inset_owner this
13276         should not be needed!
13277
13278 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13279
13280         * Many files: Remove inherit_language, and add latex_language
13281
13282         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13283         collapsible insets.
13284
13285 2001-08-10  Juergen Vigna  <jug@sad.it>
13286
13287         * text.C (prepareToPrint): fixed hfill-width in draw!
13288
13289         * BufferView2.C (selectLastWord): save the selection cursor as this
13290         now is cleared in the function LyXText::clearSelection!
13291
13292 2001-08-08  Juergen Vigna  <jug@sad.it>
13293
13294         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13295         BACKSPACE type functions.
13296
13297         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13298         is only cutted from the document but not put in the cut-buffer, where
13299         still the old stuff should be.
13300
13301         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13302
13303         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13304
13305         * tabular.C (SetWidthOfCell): fixed special case where the width
13306         was not updated!
13307         (LeftLine): handle '|' in align_special.
13308         (RightLine): ditto
13309         (LeftAlreadyDrawed): ditto
13310         (SetWidthOfCell): ditto
13311
13312 2001-08-07  Juergen Vigna  <jug@sad.it>
13313
13314         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13315
13316 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13319         * lyxlex.[hC]: ditto
13320
13321 2001-08-06  Juergen Vigna  <jug@sad.it>
13322
13323         * text.C (getVisibleRow): fix up row clearing a bit.
13324
13325 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * minibuffer.C: make sure the X server sees the changes in the input.
13328
13329 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * paragraph.C (getFont): split into...
13332         (getLabelFont): this
13333         (getLayoutFont): and this
13334         * paragraph_pimpl.C (realizeFont): calling this
13335
13336         * text2.C (getFont): split into...
13337         (getLayoutFont): this
13338         (getLabelFont): and this
13339         (realizeFont): all three calling this
13340
13341         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13342         files where used.
13343
13344 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13347
13348 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13349
13350         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13351         layouts from the Quote inset insertion.
13352
13353 2001-08-03  Juergen Vigna  <jug@sad.it>
13354
13355         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13356
13357         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13358         only if status not is already CHANGED_IN_DRAW (second level).
13359
13360         * text.C (draw): don't set the need_break_row when inside an
13361         InsetText LyXText.
13362
13363 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * buffer.C (parseSingleLyXformat2Token): handle more latex
13366         conversion cases.
13367
13368         * bufferview_funcs.[hC]: change function names to
13369         begin with small char, adjust other files.
13370
13371 2001-08-02  André Pönitz <poenitz@gmx.net>
13372
13373         * lyxfunc.C:
13374         BufferView_pimpl.C: remove broken special code for math-greek
13375
13376 2001-08-02  Juergen Vigna  <jug@sad.it>
13377
13378         * BufferView_pimpl.C (update): redone this function so that we
13379         update the text again if there was a CHANGE_IN_DRAW.
13380
13381         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13382         (drawFromTo): added a new internal bool which is used by draw() and
13383         redraw() function.
13384         (general): some cursor drawing problems fixed.
13385
13386 2001-08-01  Juergen Vigna  <jug@sad.it>
13387
13388         * lyxfind.C (LyXFind): fixed
13389         (SearchForward): ditto
13390         (SearchBackward): ditto
13391
13392         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13393         spurius drawing of the cursor in the main area.
13394
13395         * text2.C (status): small fix which could lead to a segfault!
13396         (clearSelection): remove unneeded BufferView param.
13397
13398 2001-08-01  André Pönitz <poenitz@gmx.net>
13399
13400         * lyxfunc.C: small change due to changed mathed interface
13401
13402 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13403
13404         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13405
13406 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * lyxfunc.c: fail gracefully if file doesn't exist
13409
13410         * LyXSendto.C:
13411         * buffer.C:
13412         * lyxfunc.C:
13413         * BufferView_pimpl.C: IsDirWriteable() proto changed
13414
13415         * LyXView.C: fix updateWindowTitle() to store the last title
13416
13417 2001-07-31  Juergen Vigna  <jug@sad.it>
13418
13419         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13420         the font (wrong since using of Paragraph::highestFontInRange).
13421
13422         * paragraph.C (highestFontInRange): added a default_size parameter.
13423
13424         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13425         (setHeightOfRow): reformat
13426
13427 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * converter.[hC] + affected files: move to (inital-char)lowercase
13430         function names.
13431
13432         * ParagraphParameters.C (ParagraphParameters): remove commented code
13433
13434         * PainterBase.[Ch]: remove commented code
13435
13436         * LaTeXFeatures.h: add "bool floats" for float.sty
13437
13438         * LaTeXFeatures.C (LaTeXFeatures): init floats
13439         (require): handle float
13440         (getPackages): do it with floats
13441
13442 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * BufferView_pimpl.C (Dispatch): improve handling of
13445         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13446
13447         * commandtags.h: #include lyxfont.h here temporarily to avoid
13448         keybinding bug.
13449
13450         * bufferlist.h: include LString.h here.
13451
13452 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13453
13454         * text2.C (getStringToIndex): new method.
13455
13456 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13457
13458         * *: Reduced header file dependencies all over.
13459
13460 2001-07-30  Baruch Even  <baruch@lyx.org>
13461
13462         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13463
13464 2001-07-29  Baruch Even  <baruch@lyx.org>
13465
13466         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13467
13468 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * ParameterStruct.h (endif): add a default constructor to make
13471         sure that all variables is initialized.
13472
13473         * ParagraphParameters.C (ParagraphParameters): adjust
13474
13475 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13478         index; also, check that there is something to index, and that it
13479         does not span over several paragraphs.
13480         (doubleClick): use WHOLE_WORD_STRICT for double click.
13481
13482         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13483
13484         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13485         scheme.
13486
13487 2001-07-26  Baruch Even  <baruch@lyx.org>
13488
13489         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13490         an InsetFig figure, backwards compatible reading of old figure code.
13491
13492 2001-07-27  Juergen Vigna  <jug@sad.it>
13493
13494         * text2.C: font.realize function adaption.
13495
13496         * text.C (draw): add a warnings lyxerr text if needed.
13497
13498         * layout.C: font.realize function adaption.
13499
13500         * language.C: add inherit_language and implement it's handlings
13501
13502         * bufferview_funcs.C (StyleReset): remove language parameter from
13503         font creation (should be language_inherit now).
13504
13505         * bufferparams.C (writeFile): handle ignore_language.
13506
13507         * paragraph.C (getFontSettings): the language has to be resolved
13508         otherwise we have problems in LyXFont!
13509
13510         * lyxfont.C (lyxWriteChanges): added document_language parameter
13511         (update): removed unneeded language parameter
13512
13513         * paragraph.C (validate): fixed wrong output of color-package when
13514         using interface colors for certain fonts in certain environments,
13515         which should not seen as that on the final output.
13516
13517 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * BufferView_pimpl.C:
13520         * Thesaurus.h:
13521         * Thesaurus.C:
13522         * Makefile.am:
13523         * commandtags.h:
13524         * LyXAction.C: add thesaurus support
13525
13526         * lyxfind.h:
13527         * lyxfind.C: add "once" parameter, for thesaurus, to not
13528           move to the next match
13529
13530 2001-07-26  Juergen Vigna  <jug@sad.it>
13531
13532         * lyxfont.C (realize): honor ignore_language too!
13533         (resolved): ditto.
13534
13535         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13536
13537         * text.C (draw): one place more for ignore_language to not draw
13538         itself!
13539
13540 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13541
13542         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13543
13544 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13547         the minipage conversion problem.
13548
13549 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13550
13551         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13552         insert an inset.
13553
13554 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * BufferView.h: don't forward declare WorkArea
13557
13558         * BufferView.C: don't include WorkArea.h
13559
13560 2001-07-25  André Pönitz <poenitz@gmx.net>
13561
13562         * commandtags.h:
13563         * LyXAction.C:
13564         * lyxfunc.C:  new LFUN 'math-space'
13565
13566         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13567
13568 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * text2.C (toggleInset): call open/close
13571
13572 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * lyxfunc.C (dispatch): add debug for the disabled case
13575
13576         * font.C (buttonText): make similar to rectText
13577
13578         * buffer.C (readInset): comment out parsing of insetlist and
13579         insttheorem
13580
13581         * PainterBase.C (rectText): small correction
13582
13583         * BufferView_pimpl.C: comment out insettheorem and insetlist
13584         * LyXAction.C: ditto
13585         * commandtags.h: ditto
13586
13587 2001-07-24  Juergen Vigna  <jug@sad.it>
13588
13589         * text.C (draw): honor the ignore_language.
13590
13591         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13592
13593 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13596         char inset.
13597
13598 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13599
13600         * lyxtext.h: remove unused (and unimplemented) methods
13601
13602 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13603
13604         * text.C (getVisibleRow): honor background color
13605
13606         * PainterBase.h:
13607         * Painter.h: remove default color argument for fillRectangle
13608
13609         * text.C (backgroundColor): new method
13610
13611 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * text.C (getVisibleRow): adjust
13614
13615         * font.[Ch] (rectText): new method, metrics
13616         (buttonText): new method, metrics
13617
13618         * PainterBase.[hC]: make rectText and buttonText always draw and take
13619         fewer paramteres.
13620
13621 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13622
13623         * ToolbarDefaults.C (read):
13624         * MenuBackend.C (read): allow escaping in all strings
13625
13626         * BufferView_pimpl.C (insertAndEditInset): new method.
13627         (Dispatch): use insertAndEditInset whenever appropriate.
13628
13629         * BufferView_pimpl.C (insertNote): removed
13630
13631         * BufferView_pimpl.C (smartQuote): new method, moved from
13632         BufferView; if an insetquote cannot be inserted, insert a '"'
13633         character instead.
13634
13635         * BufferView2.C: remove insertCorrectQuote();
13636
13637         * lyxfunc.C (getStatus): Add support for all remaingin
13638         inset-insert lfuns.
13639
13640         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13641
13642         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13643         command (necessary to pass " as parameter of self-insert.
13644
13645         * text.C (selectWordWhenUnderCursor):
13646         (selectWord): add word_location parameter
13647         (selectWordWhenUnderCursor): same + remove special code for word
13648         boundary.
13649         (selectNextWord): use kind() to guess type of insetspecialchar,
13650         not latex().
13651
13652         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13653         (insertErtContents): create ert insets as collapsed.
13654         (readInset): better compatibility code for Info inset.
13655
13656 2001-07-20  Juergen Vigna  <jug@sad.it>
13657
13658         * lyxfunc.C (dispatch): use always LyXFind now!
13659
13660         * text2.C (init): add a reinit flag so that the LyXText can be
13661         reinited instead of deleted and reallocated (used in InsetText).
13662
13663         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13664
13665         * text.C: ditto
13666
13667         * text2.C: ditto
13668
13669 2001-07-18  Juergen Vigna  <jug@sad.it>
13670
13671         * text.C (selectNextWord): handle insets inside inset by calling
13672         always the bv->text functions so that we can go up the_locking_inset!
13673
13674         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13675         in strange locations when inside an inset!
13676
13677         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13678         handling to include insets.
13679
13680         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13681
13682 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * LyXAction.C (init):
13685         * commandtags.h:
13686         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13687         LIGATURE_BREAK, since the name is so stupid.
13688
13689 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13692         InsetInfos.
13693
13694         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13695
13696         * sp_form.[Ch]: remove.
13697
13698         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13699
13700         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13701         InsetInfo.
13702
13703         * src/buffer.C (readInset): ditto.
13704
13705 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13706
13707         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13708         menuSeparator(), endOfSentenceDot(), ldots() and
13709         hyphenationPoint(), which are therefore removed.
13710         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13711
13712         * LyXAction.C (init):
13713         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13714
13715         * paragraph.C (getWord): removed.
13716
13717         * BufferView_pimpl.C (Dispatch): use last word or selection for
13718         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13719
13720         * lyx_main.C (queryUserLyXDir): do not ask before creating
13721         user_dir, except if it has been named explicitely.
13722
13723 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13726         a document of zero size.
13727
13728 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13729
13730         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13731         approriately in the c-tor and in require().
13732         (getPackages): output the appropriate LaTeX for natbib support.
13733
13734         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13735         variables "use_natbib" and "use_numerical_citations" when reading the
13736         LyX file.
13737         (readInset): read the various natbib cite commands.
13738         (validate): white-space change.
13739
13740         * bufferparams.[Ch]: new variables "bool use_natbib" and
13741         "bool use_numerical_citations".
13742         (writeFile): output them in the LyX file.
13743
13744 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13745
13746         * lyxfunc.C (getStatus): add support for all the inset insertion
13747         commands.
13748
13749         * text2.C (insertInset):
13750         * paragraph.C (insetAllowed):
13751         * BufferView_pimpl.C (insertInset): update to take in account the
13752         renaming of insertInsetAllowed
13753
13754         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13755
13756         * text2.C (getInset): new method. returns inset at cursor position.
13757
13758         * BufferView_pimpl.C (Dispatch): changes because of this.
13759
13760         * LyXAction.C (init): rename open-stuff to inset-toggle.
13761
13762         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13763
13764         * text2.C (toggleInset): renamed from openStuff; use
13765         Inset::open().
13766
13767 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13768
13769         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13770
13771         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13772
13773 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * buffer.C (readLyXformat2): Add filename to the error dialog
13776
13777 2001-07-18  Juergen Vigna  <jug@sad.it>
13778
13779         * tabular.C (GetCellNumber): put an assert here instead of the check!
13780
13781 2001-07-17  Juergen Vigna  <jug@sad.it>
13782
13783         * BufferView_pimpl.C (toggleSelection): adapted too.
13784
13785         * text.C (selectNextWord): adapted for use with insets.
13786         (selectSelectedWord): ditto
13787
13788 2001-07-17  Juergen Vigna  <jug@sad.it>
13789
13790         * sp_spell.C (PSpell): fix initialitation order.
13791
13792 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * paragraph.C: spacing
13795
13796 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13797
13798         * sp_spell.C: repair language selection for pspell
13799
13800 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * lyxfunc.h: change more methods to begin with lower char.
13803
13804 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13807         for unknown layouts.
13808
13809 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * buffer.C (readLyXformat2): Generate an error dialog if there are
13812         unknown layouts.
13813
13814 2001-07-16  Juergen Vigna  <jug@sad.it>
13815
13816         * sp_spell.C: always compile ISpell part.
13817
13818         * lyxrc.C: added use_pspell entry and it's handling.
13819
13820 2001-07-13  Juergen Vigna  <jug@sad.it>
13821
13822         * sp_spell.C: removed double includes.
13823
13824 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13825
13826         Consistent use of Lsstream.h:
13827         * Lsstream.h: added using std::stringstream for consistencies sake.
13828
13829         * buffer.C: removed using std::stringstream
13830
13831         * lyxfont.C (stateText):
13832         * paragraph.C (asString):
13833         * text.C (selectNextWord, selectSelectedWord):
13834         * text2.C (setCounter):
13835         * vspace.C (asString, asLatexString):
13836         std::ostringstream -> ostringstream.
13837
13838 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13839
13840         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13841         * commandtags.h: add LFUN_HELP_ABOUTLYX
13842         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13843
13844 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13845
13846         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13847         cursorToggle()
13848         * lyx_gui_misc.C: remove spellchecker
13849         * lyxfunc.C: showSpellchecker
13850         * sp_base.h: added
13851         * sp_ispell.h: added
13852         * sp_pspell.h: added
13853         * sp_spell.C: added
13854         * sp_form.[Ch]: removed
13855         * spellchecker.[Ch]: removed
13856
13857 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13858
13859         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13860         is set.
13861         (simpleTeXSpecialChars): Simply print the input character without
13862         any special translation if pass_thru is set.
13863
13864         * layout.h: Added bool pass_thru to layout class for being able to
13865         implement pass through of a paragraph for Literate Programming.
13866
13867         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13868         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13869         * layout.C (Read): add "passthru" to list of layout tags and add
13870         code to set the pass_thru boolean when it is read.
13871
13872 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13873
13874         * trans_decl.h: remove allowed from KmodInfo
13875
13876         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13877         remove allowed code
13878         (Load): adjust
13879
13880         * paragraph_pimpl.C (erase): use boost::prior
13881
13882         * Painter.C (text): use data() instead of c_str() when length is
13883         also provided.
13884         * WorkArea.C (putClipboard): ditto
13885         * font.h (width): ditto
13886
13887         * BufferView2.C: use it-> instead of (*it). for iterators
13888         * texrow.C: ditto
13889         * paragraph_pimpl.C: ditto
13890         * paragraph.C: ditto
13891         * minibuffer.C: ditto
13892         * language.C: ditto
13893         * kbmap.C: ditto
13894         * encoding.C: ditto
13895         * counters.C: ditto
13896         * converter.C: ditto
13897         * chset.C: ditto
13898         * Variables.C: ditto
13899         * TextCache.C: ditto
13900         * MenuBackend.C: ditto
13901         * LyXAction.C: ditto
13902         * LColor.C: ditto
13903         * FloatList.C: ditto
13904         * DepTable.C: ditto
13905         * ColorHandler.C (LyXColorHandler): ditto
13906
13907 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13910
13911         * text2.C (openStuff): reintroduce this method (which had been
13912         nuked in NEW_INSETS frenzy).
13913
13914         * lyxfunc.C (Dispatch): when an action has not been handled, use
13915         its name in the error message, not its number.
13916
13917         * paragraph.C (inInset): change method name to begin with lowercase.
13918
13919         * undo_funcs.C:
13920         * text2.C: updates because of this.
13921
13922 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * ToolbarDefaults.C (add): add spaces in error message
13925
13926 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13927
13928         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13929         (readLyXformat2): rename return_par to first_par, use lyxlex's
13930         pushToken and remove the manual push handling.
13931         (parseSingleLyXformat2Token): add another ert comp. variable:
13932         in_tabular, rename return_par to first_par. handle newlines better
13933
13934 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13937
13938 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * text2.C (getParFromID): removed
13941
13942         * buffer.C (getParFromID): new method moved form lyxtext.
13943         * BufferView2.C (insertErrors): adjust
13944         (setCursorFromRow): adjust
13945         * BufferView_pimpl.C (restorePosition): adjust
13946         * lyxfunc.C (Dispatch): adjust
13947         * undo_funcs.C (textUndo): adjust
13948         (textRedo): adjust
13949         (textHandleUndo): adjust
13950         (textHandleUndo): adjust
13951
13952 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * buffer.C: up' the LYX_FORMAT
13955
13956         * lyxfont.h: turn NO_LATEX on as default
13957
13958         * buffer.C (insertErtContents): new methods of tex style compability.
13959         (parseSingleLyXformat2Token): use it several places.
13960         * tabular.C (OldFormatRead): and here
13961
13962 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * text2.C: remove some commented code.
13965         reindent file.
13966
13967         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13968         * trans.C: changes because of the above.
13969
13970 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * text2.C (setCounter): Fix counters bug with bibliography layout.
13973
13974 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13975
13976         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13977         own member functions
13978         (simpleTeXSpecialChars): ditto
13979
13980 2001-07-06  Juergen Vigna  <jug@sad.it>
13981
13982         * a lot of files: changed the access to LyXText::status and the
13983         call of undo-functions.
13984
13985         * undo.[Ch]: added a inset_id to the undo informations.
13986
13987         * undo_funcs.[Ch]: added and moved here all undo functions.
13988
13989         * lyxtext.h: give the status enum a weight, made status_ a private
13990         variable and made accessor functions for it, removed the whole bunch
13991         of undo-functions as they are now in their own file, make some
13992         functions publically available. Added function ownerParagraph with
13993         int parameter.
13994
13995         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13996         made InInset() a const function, added getParFromID() function.
13997
13998         * buffer.[Ch]: added const version for inset_iterator functions,
13999         added getInsetFromID() function.
14000
14001         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14002         changed undo functions for new version.
14003
14004 2001-07-05  Juergen Vigna  <jug@sad.it>
14005
14006         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14007         unknow mechanism does not call the proper constructor but only this
14008         one also if I request the other!?
14009
14010 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14013
14014         * text2.C (LyXText): use initialization lists.
14015
14016         * lyxtext.h (Selection): initialize set_ and mark_
14017         (init): remove method
14018
14019 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14022
14023 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * screen.[Ch]: change method names to begin with lowercase
14026
14027         * BufferView_pimpl.C (updateScrollbar): simplify further and
14028         hopefully make it a bit faster.
14029
14030 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14033         calling directly xforms functions.
14034
14035         * Painter.C (Painter):
14036         * lyx_cb.C (MenuWrite):
14037         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14038         fl_display.
14039
14040         * lyx_gui.C: remove bogus guiruntime extern declaration.
14041
14042 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14045         in NEW_INSETS
14046         (redoDrawingOfParagraph): ditto
14047         (redoParagraphs): ditto
14048         (cutSelection): don't create a object for CutAndPaste use the
14049         static method directly
14050         (pasteSelection): ditto
14051
14052         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14053         LyXview (+ rename)
14054
14055 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * modifications to some other files because of this.
14058
14059         * Makefile.am (lyx_SOURCES): add XFormsView
14060
14061         * XFormsView.[Ch]: new files
14062
14063         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14064         the main window. Move the gui dependent stuff to XFormsView
14065
14066 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14067
14068         * tabular.C (GetCellInset): update cur_cell also in the row/col
14069         version of this function.
14070
14071         * lyxfunc.C: no need to include figure_form.h here.
14072
14073         * FontLoader.h:
14074         * lyxfunc.h:
14075         * lyxscreen.h:
14076         * text2.C:
14077         * lyxvc.C: no need to include forms.h here.
14078
14079 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14082
14083         * lyxfunc.C (Dispatch):
14084         * Spacing.C (set):
14085         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14086         constructor argument.
14087
14088 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * paragraph.C (Paragraph): dont't clear, and just set layout.
14091         (makeSameLayout): use params's copy contructor.
14092
14093         * ParagraphParameters.[Ch] (makeSame): delete method
14094
14095 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14096
14097         * Variables.[Ch]: fix indentation, rename set to isSet
14098
14099 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * lyxfunc.C (Dispatch): fix typo
14102
14103 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14106         upper_bound.
14107
14108         * bufferlist.C: include assert.h for emergencyWrite().
14109
14110 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14113           give up at last (bug #425202) !
14114
14115 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * lyx_gui_misc.C:
14118         * sp_form.h:
14119         * sp_form.C:
14120         * spellchecker.h:
14121         * spellchecker.C: strip spellchecker options and bring up
14122           preferences tab instead
14123
14124 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14125
14126         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14127         the istringstream constructor
14128
14129 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * paragraph.C (getLayout): fix return value
14132
14133         * paragraph.h: do not declare getLayout as inline.
14134
14135         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14136
14137 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * lyxcursor.h (operator<): new func
14140         (operator>): new func
14141         (operator>=): new func
14142         (operator<=): new func
14143
14144         * text.C (changeCase): use selection.start and selection.end
14145         (changeRegionCase): require from to be <= to. Require par to be a
14146         valid paragraph.
14147
14148         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14149
14150 2001-06-27  Juergen Vigna  <jug@sad.it>
14151
14152         * text.C (cursorLeftOneWord): changed to return the cursor and added
14153         overlay with BufferView * parameter which calls this one.
14154         (getWord): added
14155         (selectWord): use new getWord function.
14156         (changeCase): renamed from changeWordCase as and extended to work
14157         also on selections.
14158
14159         * lyxtext.h: added enum word_location
14160
14161         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14162         changeCase as this operates now also on selections.
14163
14164 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14165
14166         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14167
14168         * many files: send debug output to Debug::INFO instead of
14169         Debug::ANY.
14170
14171         * converter.C (View):
14172         (Convert):
14173         (Move): send debug output to Debug::FILES instead of console.
14174
14175 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14176
14177         * lyxfunc.C (getStatus): use func_status
14178
14179         * func_status.h: new header, describing the results of
14180         LyXFunc::getStatus;
14181
14182         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14183         LFUN_MATH_HALIGN.
14184
14185 2001-06-25  The LyX Project  <jug@sad.it>
14186
14187         * buffer.C (sgmlOpenTag):
14188         (sgmlCloseTag):
14189         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14190
14191 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14192
14193         * text2.C: remove some dead code
14194
14195         * tabular.C (GetCellInset): store the last cell checked (gotten)
14196
14197         * tabular.h: add the helper for the speedup
14198
14199         * lyxtext.h: remove some dead code
14200
14201 2001-06-26  The LyX Project  <Asger>
14202
14203         * paragraph.C: Change export to LaTeX of alignment to
14204         \begin{center} and family for better roundtrip work with reLyX.
14205
14206         * Tune the math drawing a bit.
14207
14208 2001-06-25  The LyX Project  <Asger>
14209
14210         * LColor.C (LColor): New color for math background. New color
14211         for buttons.
14212
14213 2001-06-25  The LyX Project  <jug@sad.it>
14214
14215         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14216
14217         * lyxfunc.C (Open):
14218         * bufferlist.C (newFile): do not restrict to files ending with
14219         .lyx
14220
14221         * BufferView_pimpl.C (MenuInsertLyXFile):
14222
14223 2001-06-24  The LyX Project  <jug@sad.it>
14224
14225         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14226         of compare_no_case
14227
14228 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * lyxtext.h: rename most methods to begin with a small char.
14231         Lots of changes because of this.
14232
14233         * paragraph.C (Paragraph): do not call fitToSize
14234         (erase): call Pimpl::erase
14235         (insertChar): call Pimpl::insertChar
14236         (insertInset): call Pipl::insertInset
14237         (breakParagraph): do not call fitToSize
14238         (breakParagraphConservative): do not call fitToSize
14239         (fitToSize): remove method
14240
14241         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14242
14243 2001-06-24  The LyX Project  <Asger>
14244
14245         * Fix Qt compilation^2
14246
14247 2001-06-24  The LyX Project  <jug@sad.it>
14248
14249         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14250         depthHook(getDepth()-1).
14251
14252         * paragraph.h:
14253         * ParagraphParameters.h:
14254         * ParameterStruct.h: change type of depth to unsigned int ==
14255         depth_type. Many adaptations to other files before of that.
14256
14257 2001-06-24  The LyX Project  <Asger>
14258
14259         * Fix Qt compilation.
14260
14261 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * paragraph.h: renamed several methods to begin with small letter.
14264         several changes to many parts of the code because of this.
14265
14266 2001-06-23  The LyX Project  <jug@sad.it>
14267
14268         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14269         rewritten to discard all double spaces when KeepEmpty is off
14270         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14271         to only handle newlines but not fiddle with spaces and friends.
14272
14273         * lyxfunc.C (MenuNew): when doing 'new from template', use
14274         template_path as default directory
14275
14276 2001-06-23  The LyX Project  <Asger>
14277
14278         * Clean-up of header file includes all over
14279         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14280
14281 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14282
14283         * paragraph.h: renamed from lyxparagraph.h
14284
14285 2001-06-23  Asger  <lyx@violet.home.sad.it>
14286
14287         * Buffer.h: Removed Buffer::resize
14288         * BufferList.h: Removed BufferList::resize
14289         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14290         the document lazily when we change the width, or the font settings.
14291
14292 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14295
14296 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14297
14298         * buffer.h: remove out of date comment
14299
14300 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * lyxscreen.h:
14303         * screen.C: fix "theoretical" GC leak
14304
14305 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * LaTeX.C (scanAuxFile):
14308         (deplog): remove trailing \r when reading stream (useful under
14309         win32)
14310
14311 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14312
14313         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14314         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14315         and BufferView::theLockingInset(Inset*), so should use them and not
14316         access bv_->text->the_locking_inset directly.
14317
14318         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14319
14320 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * Makefile.am:
14323         * tex-defs.h: remove old unused file
14324
14325 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14326
14327         * BufferView_pimpl.C: fix typo, remove minibuffer message
14328           when buffer has loaded
14329
14330 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * lyxfunc.C (Dispatch): use stringstream
14333         (MenuNew): use stringstream
14334         (Open): use stringstream
14335
14336         * importer.C (Import): use stringstream
14337
14338         * bufferview_funcs.C (CurrentState): use stringstream
14339
14340         * LaTeX.C (run): use stringstream
14341
14342         * BufferView_pimpl.C (savePosition): use stringstream
14343         (restorePosition): use stringstream
14344         (MenuInsertLyXFile): use stringstream
14345
14346 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14347
14348         * BufferView.C:
14349         * Bullet.C:
14350         * ColorHandler.C:
14351         * FontInfo.C:
14352         * FontLoader.C:
14353         * LColor.C:
14354         * LaTeXFeatures.C:
14355         * Painter.C:
14356         * gettext.C:
14357         * lyx_gui_misc.C:
14358         * lyxserver.C:
14359         * vspace.C: removed // -*- C++ -*- as first line.
14360
14361         * lyxfind.h:
14362         * version.h: added // -*- C++ -*- as first line.
14363
14364 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14367
14368         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14369         of string
14370
14371 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14374         of floats.
14375
14376 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * gettext.C: include LString.h even when --disable-nls is on.
14379
14380 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14381
14382         * converter.h (Get): changed argument type from int to
14383         FormatList::size_type to avoid unnecessary conversion.
14384
14385         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14386         before using it.
14387
14388 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14389
14390         * gettext.h: include LString.h even when --disable-nls is on.
14391
14392 2001-06-07  Juergen Vigna  <jug@sad.it>
14393
14394         * text.C (BreakAgain): subst spaces with tabs.
14395
14396         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14397         (resizeInsetsLyXText): set force on resizeLyXText.
14398
14399 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * gettext.h (gettext_init):
14402         (locale_init): use a real definition instead of a macro
14403
14404 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * Bufferview_pimpl.C:
14407         * LColor.h:
14408         * LColor.C: further lcolor tidies
14409
14410 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * BufferView_pimpl.C (updateScrollbar): simplify.
14413
14414         * BufferView2.C: don't include insets/insetinfo.h, change
14415         prototype for insertInset and call the Pimpl version. let
14416         updateInset call Pimpl version.
14417
14418         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14419         gotoInset to BufferView::Pimpl
14420
14421 2001-06-01  Juergen Vigna  <jug@sad.it>
14422
14423         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14424         inside a LockingInset (is the update needed at all?).
14425
14426 2001-05-31  Juergen Vigna  <jug@sad.it>
14427
14428         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14429         here not the old one otherwise how should we compare it afterwards
14430         if it's the same!
14431
14432 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * lyxfont.C:
14435         * tabular.C:
14436         * tabular-old.C:
14437         * FontInfo.C: bring C functions into global namespace when
14438         necessary
14439
14440 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * LString.h: make sure config.h has been loaded before LString.h.
14443
14444         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14445         (one for each char read by EatLine!).
14446
14447         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14448         variables.
14449
14450 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14453         to the same as the par we break from
14454
14455 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14456
14457         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14458
14459         * MenuBackend.C (expand): also create menu entries for wide
14460         versions of the floats.
14461
14462         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14463
14464         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14465
14466         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14467         frontends/Makefile.am
14468
14469         * text2.C: adjust
14470         * text.C: adjust
14471
14472
14473         * tabular.C (getTokenValue): add std::
14474
14475         * tabular-old.C (getTokenValue): add std::
14476         (getTokenValue): ditto
14477         (getTokenValue): ditto
14478
14479         * screen.C (ToggleSelection): adjust
14480
14481         * lyxtext.h: put selection cursors inside a Selection struct.
14482
14483         * lyxfunc.C (moveCursorUpdate): adjust
14484
14485         * lyxfont.C (latexWriteStartChanges): add std::
14486
14487         * lyxfind.C: adjust
14488
14489         * font.h: delete with(char const *, LyXFont const &)
14490
14491         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14492
14493         * FontInfo.C (getFontname): add std::
14494
14495         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14496         (workAreaButtonPress): adjust
14497         (tripleClick): adjust
14498         (update): adjust
14499         (moveCursorUpdate): adjust
14500         (Dispatch): adjust
14501
14502         * BufferView2.C (gotoInset): adjust
14503
14504 2001-05-30  Juergen Vigna  <jug@sad.it>
14505
14506         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14507         to check pspell I add this as default as I now have new pspell
14508         libraries and they seem to use this.
14509
14510 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14511
14512         * text2.C (CutSelection): make the cursor valid before the call to
14513         ClearSelection.
14514
14515 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14518         relied on 0 terminated strings and other horrors. Bug found due to
14519         the new assert in lyxstring!
14520
14521         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14522         KP_ keys.
14523
14524 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14527         to latinkeys.bind.
14528
14529         * lyxfunc.C (processKeySym): change method of getting to the
14530         self-insert char.
14531
14532         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14533         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14534         * BufferView_pimpl.[Ch]: here as private methods.
14535
14536 2001-05-28  Juergen Vigna  <jug@sad.it>
14537
14538         * text.C (SetHeightOfRow): added the update() call again as it is
14539         needed to initialize inset dimensions!
14540
14541 2001-05-16  Juergen Vigna  <jug@sad.it>
14542
14543         * text2.C (SetCharFont): Add new function with BufferView * and
14544         bool toggleall parameters for setting insets internal fonts.
14545         (SetFont): Freeze the undo as we may change fonts in Insets and
14546         all this change should be inside only one Undo!
14547
14548         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14549         setting font's in insets as for them we have the SetFont function!
14550
14551 2001-05-15  Juergen Vigna  <jug@sad.it>
14552
14553         * text2.C (ClearSelection): to be sure we REALLY don't have any
14554         selection anymore!
14555
14556         * tabular.C (TeXCellPreamble): fixed the left border problem for
14557         multicolumn cells.
14558
14559 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14560
14561         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14562         dependancy file
14563
14564 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14565
14566         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14567         LFUN_BREAKPARAGRAPH.
14568
14569         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14570         help test to "internal only", similar for LFUN_INSERT_URL
14571
14572         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14573         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14574         auto_region_delete and deadkeys.
14575
14576 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14577
14578         * LColor.h:
14579         * LColor.C: remove some dead entries, tidy a little
14580
14581 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14584         commented code.
14585         (Dispatch): implement LFUN_ESCAPE
14586
14587         * commandtags.h: add LFUN_ESCAPE
14588
14589         * LyXAction.C (init): add entry for LFUN_ESCAPE
14590
14591         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14592         Remove commented code.
14593         (insertNote): moved here
14594         (open_new_inset): moved here
14595
14596         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14597         BufferView_pimpl
14598
14599 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * kbmap.C (findbinding): clean it up and make it work correctly.
14602
14603         * lyx_main.C (init): do not pass argc and argv as parameters
14604
14605 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14606
14607         * buffer.C: fix path for OS/2 & Win32
14608
14609         * lyx_gui.C:
14610         * lyx_main:
14611         * lyx_main.C: Added os:: class.
14612
14613         * os2_defines.h: update
14614
14615 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14616
14617         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14618         better by trying again with reduced state.
14619
14620 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14621
14622         * lyxrc.C (read): print error about invalid key sequence only when
14623         debugging (because not all latinX keysyms are known to some X
14624         servers)
14625
14626         * kbsequence.C (getiso): add a few std:: qualifiers
14627         (getiso): comment out extra return statement.
14628
14629 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14632         handling.
14633         (Dispatch): enhance the accent inset a bit. (not perfect)
14634
14635 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14638
14639 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * bufferlist.C (emergencyWrite): fix assert() call
14642
14643 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14644
14645         * text.C (InsertChar): Added trivial patch to only send the "you
14646         can not do multiple spaces this way" message once during a
14647         session.
14648
14649 2001-05-08  Baruch Even  <baruch@lyx.org>
14650
14651         * Makefile.am: Changed order of libraries to get LyX to link properly
14652         with the gnome frontend.
14653
14654 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * LaTeXFeatures.h: add a std:: qualifier
14657
14658 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * paragraph.C (String): use stringstream
14661
14662 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * paragraph.C (writeFile): remove footflag arg
14665
14666         * buffer.C (makeLaTeXFile): use stringstream
14667         (latexParagraphs): remove footnot gurba
14668
14669         * LaTeXFeatures.C (getPackages): use stringstream
14670         (getMacros): likewise
14671         (getTClassPreamble): likewise
14672         (getFloatDefinitions): new method
14673
14674         * paragraph.C (writeFile): reindent
14675         (Erase): reindent
14676
14677         * WorkArea.h: revert the xpos + etc changes.
14678
14679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14680
14681         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14682
14683         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14684         (pasteSelection): likewise
14685         * text2.C (CreateUndo): likewise
14686
14687 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * minibuffer.C (peek_event): temporarily reduce the functionality
14690         of the minibuffer (to allow args on lfuns)
14691
14692         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14693         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14694
14695         * buffer.C (readInset): add compability reading of old float
14696         lists, add reading of new style float list.
14697         (readInset): avoid reevaluation of inscmd.getCmdName()
14698         (getLists): reindent
14699
14700         * MenuBackend.C (MenuItem): implement parsing of
14701         md_floatlistinsert and md_floatinsert.
14702         (expand::LastFiles): move initalizaton of iterators out of loop,
14703         avoid reevaluation.
14704         (expand::Documents): introduce typdedef vector<string> Strings,
14705         and use it.
14706         (expand::ExportFormats): introduce typedef vector<Format const *>
14707         Formats, and use it.
14708         (expand): implement FloatListInsert and FloatInsert.
14709
14710         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14711         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14712         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14713
14714         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14715         handling.
14716         (Dispatch::LFUN_FLOAT_LIST): implement
14717
14718 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14719
14720         * LaTeX.C (run): Fix problem with --export code.
14721
14722 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * BufferView.[Ch] (workarea): removed.
14725         (getClipboard) new method; wrapper for workarea()->getClipboard()
14726
14727         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14728         bug.
14729
14730         * WorkArea.h (width, height, xpos, ypos): These methods all
14731         returned the dimensions of the work_area sub-area of WorkArea,
14732         resulting in a position error if the WorkArea were resized. Now
14733         return the dimensions of the entire WorkArea.
14734
14735         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14736
14737 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * LaTeX.C (deplog): correct the syntax of regex reg1
14740
14741 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * undo.C: remove !NEW_INSETS cruft
14744
14745 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * text2.C: remove !NEW_INSETS cruft
14748
14749         * text.C: remove !NEW_INSETS cruft
14750
14751         * tabular.C: remove !NEW_INSETS cruft
14752
14753         * spellchecker.C: remove !NEW_INSETS cruft
14754
14755         * lyxtext.h: remove !NEW_INSETS cruft
14756
14757         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14758
14759         * lyxfunc.C: remove !NEW_INSETS cruft
14760
14761         * lyxfind.C: remove !NEW_INSETS cruft
14762
14763         * lyx_cb.C: remove !NEW_INSETS cruft
14764
14765         * figureForm.C: remove  !NEW_INSETS cruft
14766
14767         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14768
14769         * buffer.[Ch]: remove !NEW_INSETS cruft
14770
14771         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14772
14773         * CutAndPaste.C: remove !NEW_INSETS cruft
14774
14775         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14776
14777         * BufferView2.C: remove !NEW_INSETS cruft
14778
14779         * BufferView.h: remove !NEW_INSETS cruft
14780
14781 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * Lsstream.h: include LString.h before the sstream headers to
14784         fix problem with gcc 2.95.3 and lyxstring
14785
14786 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * lyx_main.C: add using directives when needed for C functions
14789         declared in std:: namespace.
14790
14791 2001-04-27  Juergen Vigna  <jug@sad.it>
14792
14793         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14794         (SetHeightOfRow): comment out the update call should not be needed!
14795
14796 2001-04-13  Juergen Vigna  <jug@sad.it>
14797
14798         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14799         (LyXTabular): tried to minimize operator= operations (and realized
14800         hopfully Lars wish).
14801
14802 2001-04-27  Juergen Vigna  <jug@sad.it>
14803
14804         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14805
14806 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14809
14810         * buffer.C (readInset): hack to make listof algorithm work
14811
14812         * BufferView_pimpl.C: hack to make listof algorithm work
14813
14814 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14815
14816         * LyXAction.C: removed all !NEW_INSETS cruft
14817         (init): moved lfun_item in method
14818
14819         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14820
14821 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14822
14823         * BufferView2.C (theLockingInset): white space.
14824
14825 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14826
14827         * minibuffer.C: include <iostream>
14828
14829         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14830
14831         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14832
14833         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14834
14835         * text.[Ch] (TransposeChars): new method
14836
14837 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14838
14839         * call message directly through LyXView instead of through LyXFunc
14840         * BufferView2.C: adjust
14841         * BufferView_pimpl.C: adjust
14842         * FontLoader.C: adjust
14843         * buffer.C: adjust
14844         * bufferview_funcs.C: adjust
14845         * converter.C: adjust
14846         * figureForm.C: adjust
14847         * importer.C: adjust
14848         * lyx_cb.C: adjust
14849         * lyx_gui_misc.C: adjust
14850         * lyxfunc.C: adjust
14851         * lyxvc.C: adjust
14852         * text2.C: adjust
14853         + more files in subdirs
14854
14855         * lyxparagraph.h (size): move up int file
14856         (GetLayout): ditto
14857
14858         * adjust all uses of Assert to lyx::Assert.
14859
14860         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14861         lyxfunctional in namespace lyx
14862         * layout.C (hasLayout): ditto
14863         (GetLayout): ditto
14864         (GetLayout): ditto
14865         (delete_layout): ditto
14866         (NumberOfClass): ditto
14867         * converter.C (GetFormat): ditto
14868         (GetNumber): ditto
14869         (Add): ditto
14870         (Delete): ditto
14871         (SetViewer): ditto
14872         * bufferlist.C (getFileNames): ditto
14873         (emergencyWriteAll): ditto
14874         (exists): ditto
14875         (getBuffer): ditto
14876         * MenuBackend.C (hasSubmenu): ditto
14877         (hasMenu): ditto
14878         (getMenu): ditto
14879         * BufferView_pimpl.C (getInsetByCode): ditto
14880
14881 2001-04-18  Juergen Vigna  <jug@sad.it>
14882
14883         * vspace.C (asLatexString): fixed the 100% problem.
14884
14885 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * lyxfunc.C (Dispatch):
14888         * minibuffer.C:
14889         * minibuffer.h: add a few std:: qualifiers
14890
14891 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14892
14893         * minibuffer.[Ch]: reimplement so that commands is initiated and
14894         run from lyxfunc, simplified som handling, and made the completion
14895         and history code for complete. wip.
14896
14897         * lyxfunc.C (processKeySym): call message
14898         (miniDispatch): new temporary method
14899         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14900         (LFUN_MESSAGE): implement
14901         (LFUN_MESSAGE_PUSH): implement
14902         (LFUN_MESSAGE_POP): implement
14903         (initMiniBuffer): the initial/defualt minibuffer message.
14904
14905         * lyxfont.[Ch]: inline some more getters
14906
14907         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14908
14909         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14910
14911         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14912         (AutoSave): use LFUN_MESSAGE
14913         (Reconfigure): ditto
14914
14915         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14916
14917         * figureForm.C: use LFUN_MESSAGE
14918
14919         * converter.C (runLaTeX): use LFUN_MESSAGE
14920
14921         * bufferview_funcs.C: use LFUN_MESSAGE
14922         (Melt): ditto
14923         (changeDepth): ditto
14924
14925         * bufferparams.h: use boost::
14926
14927         * bufferlist.h: inherit privately from noncopyable
14928
14929         * bufferlist.C (loadLyXFile): remove some commented code.
14930
14931         * buffer.C (runChktex): use LFUN_MESSAGE
14932
14933         * ShareContainer.h: inherit privately from noncopyable
14934
14935         * ParagraphParameters.[hC] (depth): inline it.
14936
14937         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14938         methods.
14939         (message): new method
14940         (messagePush): ditto
14941         (messagePop): ditto
14942         (show): init minibuffer
14943         (showState): direct call
14944
14945         * LaTeX.[Ch]: inherit privately from noncopyable
14946         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14947         instead of WriteStatus.
14948
14949         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14950
14951         * BufferView_pimpl.C (buffer): don't init minibuffer
14952         (workAreaButtonPress): use LFUN_MESSAGE
14953         (workAreaButtonRelease): ditto
14954         (savePosition): ditto
14955         (restorePosition): ditto
14956         (MenuInsertLyXFile): ditto
14957         (workAreaExpose): don't init minibuffer
14958         (update): remove commented code, simplify
14959
14960         * BufferView2.C (openStuff): use LFUN_MESSAGE
14961         (toggleFloat): ditto
14962         (menuUndo): ditto
14963         (menuRedo): ditto
14964         (copyEnvironment): ditto
14965         (pasteEnvironment): ditto
14966         (copy): ditto
14967         (cut): ditto
14968         (paste): ditto
14969         (gotoInset): ditto
14970         (updateInset): remove some commented code
14971
14972         * lastfiles.h: inherit privately from noncopyable
14973         * layout.h: ditto
14974         * lyx_gui.h: ditto
14975         * lyx_main.h: ditto
14976         * lyxlex.h: ditto
14977         * lyxlex_pimpl.h: ditto
14978
14979         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14980         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14981         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14982
14983         * LyXAction.h: inherit privately from noncopyable, add methods
14984         func_begin, func_end, returning iterators to the func map.
14985
14986         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14987         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14988         (func_begin): new method
14989         (func_end): new method
14990
14991         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14992         and not)
14993         (copySelection): ditto
14994         (pasteSelection): ditto
14995
14996         * BufferView.C: whitespace change
14997         * BufferView.h: inherit privately from noncopyable
14998
14999 2001-04-16  Allan Rae  <rae@lyx.org>
15000
15001         * tabular-old.C (l_getline):
15002         * spellchecker.C (sc_check_word):
15003         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15004         an unrecognised preprocessor directive.  So ensure they're wrapped.
15005
15006 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15007
15008         * src/exporter.C (Export): Give an error message when path to file
15009         contains spaces.
15010
15011 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15012
15013         * LaTeX.C (deplog): Always check that foundfile exists.
15014
15015 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * lyx_main.h:
15018         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15019
15020 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * tabular.[Ch] (getLabelList): implement new method
15023
15024         * minibuffer.h: comment ouf setTiimer
15025
15026         * minibuffer.C (ExecutingCB): constify res
15027         (peek_event): constify s
15028         (Set): constify ntext
15029         (Init): constify nicename
15030
15031         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15032
15033         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15034         (savePosition): use two params to Minibuffer::Set
15035         (restorePosition): ditto
15036
15037 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * lyx_main.C: include language.h
15040
15041         * Makefile.am (lyx_main.o): add language.h
15042
15043 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * exporter.C:
15046         * paragraph.C:
15047         * screen.C:
15048         * tabular.C:
15049         * CutAndPaste.C: include gettext.h
15050
15051         * lyxfont.h: remove old hack with ON and OFF.
15052
15053         * lyxparagraph.h:
15054         * lyxfont.h: do not include language.h...
15055
15056         * BufferView2.C:
15057         * LaTeXFeatures.C:
15058         * Painter.C:
15059         * bufferview_funcs.C:
15060         * font.C:
15061         * lyxfont.C:
15062         * text.C:
15063         * text2.C:
15064         * trans_mgr.C:
15065         * paragraph.C: ... but do it here instead
15066
15067 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15070
15071         * tabular.C: small reformat
15072
15073         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15074         NEW_INSETS version
15075         (GetChar): ditto
15076         (BreakParagraph): ditto
15077         (SetOnlyLayout): ditto
15078         (SetLayout): ditto
15079
15080         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15081         with one arg less.
15082
15083         * lastfiles.C: removed most using decl, add std:: where needed
15084
15085         * buffer.C: ws changes
15086
15087         * MenuBackend.C (class compare_format): put into anon namespace
15088         (expand): constify label, names, action, action2
15089         (expand):
15090
15091         * text.C (SingleWidth): constify font
15092         (IsBoundary): constify rtl2
15093         (GetVisibleRow): constify ww
15094
15095         * LaTeX.C (deplog): constify logfile
15096
15097         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15098         start_x, end_x
15099         (workAreaExpose): constify widthChange, heightChange
15100
15101         * lyxrow.C (par): moved
15102         (height): moved
15103         (next): moved
15104         * lyxrow.h: as inlines here
15105
15106         * lyxfont.h (shape): moved from lyxfont.C
15107         (emph): moved from lyxfont.C
15108
15109         * lyxfont.C (LyXFont): use initialization list for all
15110         constructors
15111         (shape): move to lyxfont.h as inline
15112         (emph): move to lyxfont.h as inline
15113
15114
15115 2001-04-04  Juergen Vigna  <jug@sad.it>
15116
15117         * vspace.C: had to include stdio.h for use of sscanf
15118
15119 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15120
15121         * BufferView.h:
15122         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15123         independent of xforms.
15124
15125 2001-04-02  Juergen Vigna  <jug@sad.it>
15126
15127         * spellchecker.C: fixed namespace placing!
15128
15129 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15130
15131         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15132         the LyXParagraph * is 0.
15133
15134 2001-03-29  Juergen Vigna  <jug@sad.it>
15135
15136         * vspace.C: added support for %, c%, p%, l%.
15137         (stringFromUnit): added helper function.
15138         (asLatexString): changed to give right results for the %-values.
15139
15140         * buffer.C: convert the widthp in a width%.
15141
15142 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15143
15144         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15145         figureForm.[Ch].
15146
15147         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15148         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15149
15150         * lyx_cb.[Ch]: see above.
15151
15152         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15153         form1.[Ch].
15154
15155         * form1.[Ch]:
15156         * lyx.[Ch]: replaced by figure_form.[Ch].
15157
15158         * lyx_gui.C:
15159         * lyx_gui_misc.C:
15160         * lyxfunc.C: changed headers associated with above changes.
15161
15162 2001-03-27  Juergen Vigna  <jug@sad.it>
15163
15164         * BufferView_pimpl.C: set the temporary cursor right!
15165
15166 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15167
15168         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15169
15170 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15171
15172         * LString.h: removed "using std::getline"!
15173
15174         * BufferView_pimpl.C (Dispatch): changes due to changes in
15175         InsetInclude::Params.
15176
15177         * buffer.C (tag_name): removed redundant break statements as they were
15178         producing lots of warnings with my compiler.
15179
15180 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * LString.h: add "using std::getline" when using the real <string>.
15183
15184 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15185
15186         * buffer.C: removed bitset usage.
15187         PAR_TAG moved to an anonymous name space.
15188         (tag_name): new funtion, also in the anonymous namespace.
15189         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15190         (makeDocBookFile): clean code. Completed transition from string arrays
15191         to string vectors.
15192         (SimpleDocBookOnePar): code clean.
15193
15194 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15195
15196         * tabular.C: add some comments.
15197
15198 2001-03-22  Juergen Vigna  <jug@sad.it>
15199
15200         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15201         compatibility read a bit and fixed bug with minipage in different
15202         depth.
15203
15204 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15205
15206         * buffer.C (pop_tag): removed.
15207         (push_tag): removed.
15208         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15209         array replaced with vector. Added support for CDATA sections.
15210         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15211         at any nest level.
15212         (makeDocBookFile): XML conformant declaration of CDATA section,
15213         fixed bug related to <emphasis> in the first paragraph char.
15214         (sgmlOpenTag): exclude empty tags.
15215         (sgmlCloseTag): ditto.
15216
15217         * buffer.h (pop_tag): removed.
15218         (push_tag): removed.
15219
15220 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15221
15222         * language.h (Languages): added size_type and size().
15223
15224 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15225
15226         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15227         response on compability reading of minipages. One probliem is that
15228         the old usage of minipages was «flertydig»
15229
15230         * several files here and in subdirs: don't use static at file
15231         scope use anon namespaces instead.
15232
15233 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15234
15235         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15236         LaTeX output. This is necessary for Literate document
15237         processing.
15238
15239 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15240
15241         * buffer.C: insert hfill when needed.
15242
15243         * tabular.C (l_getline): use string::erase, small whitespace change.
15244
15245         * BufferView_pimpl.C: try the anon namespace.
15246         * WorkArea.C: ditto
15247
15248 2001-03-16  Juergen Vigna  <jug@sad.it>
15249
15250         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15251         otherwise it won't open options-dialogs.
15252
15253         * buffer.C: honor pextraWidth(p) on converting minipages.
15254
15255         * tabular.C (l_getline): changed the functions to strip trailing \r.
15256
15257 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15258
15259         * BufferView_pimpl.C:
15260         * minibuffer..C: added "using SigC::slot" declaration.
15261
15262 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15263
15264         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15265
15266         * text2.C: ditto
15267
15268         * text.C: ditto
15269
15270         * paragraph.C: ditto
15271
15272         * lyxtext.h: NO_PEXTRA
15273
15274         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15275
15276         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15277         * ParameterStruct.h: ditto
15278         * ParagraphParameters.h: ditto
15279         * lyxparagraph.h: ditto
15280
15281 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15282
15283         * buffer.C: add compability for minipage alignment.
15284         (latexParagraphs): remove unwanted pextra check.
15285
15286         * several files: remove CXX_WORKING_NAMESPACES
15287
15288         * buffer.C (pop_tag): tie is in namespace boost
15289
15290         * BufferView.h: noncopyable is in namespace boost
15291         * lyxlex.h: ditto
15292         * lyx_main.h: ditto
15293         * lyx_gui.h: ditto
15294         * layout.h: ditto
15295         * lastfiles.h: ditto
15296         * bufferlist.h: ditto
15297         * ShareContainer.h: ditto
15298         * LyXView.h: ditto
15299         * LyXAction.h: ditto
15300         * LaTeX.h: ditto
15301
15302 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15303
15304         * Merging changes from BRANCH_MVC back into HEAD.
15305
15306         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15307
15308 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * BufferView_pimpl.C: change from intl.C
15311
15312         * combox.h:
15313         * combox.C:
15314         * Makefile.am: move combox.*
15315
15316         * form1.h:
15317         * form1.C:
15318         * lyx_gui.C:
15319         * intl.h:
15320         * intl.C: remove dialog (covered by prefs)
15321
15322 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15323
15324         * lyxfunc.C (Dispatch): removed redundant break statement.
15325
15326 2001-03-14  Juergen Vigna  <jug@sad.it>
15327
15328         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15329
15330 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15331
15332         * buffer.C: add hack to fix compability reading of minipages.
15333
15334 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15335
15336         * buffer.C (getLists): Cleanup.
15337
15338 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * lyxfont.C (update): don't honor toggleall on font size.
15341
15342 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15343
15344         * bmtable.c:
15345         * bmtable.h:
15346         * Makefile.am: moved to frontends/xforms/
15347
15348         * lyx_gui_misc.C:
15349         * lyxfunc.C:
15350         * BufferView_pimpl.C: changes for moved mathpanel
15351
15352 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15353
15354         * gettext.h: fix gettext_init() in --disable-nls
15355
15356 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15359
15360 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15361
15362         * lyx.C:
15363         * lyx.h: strip external form
15364
15365 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * BufferView_pimpl.C: add comment, destroySplash()
15368
15369 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15370
15371         * BufferView_pimpl.C:
15372         * LyXAction.C:
15373         * buffer.C:
15374         * commandtags.h:
15375         * lyxfunc.C: use re-worked insetinclude
15376
15377 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15378
15379         * buffer.C: add using std::stringstream.
15380
15381         * lyx_cb.C: readd using std::ios.
15382
15383         * buffer.C: add using std::map.
15384
15385         * BufferView_pimpl.C: add using std::vector.
15386
15387         * ShareContainer.h: add std:: to swap.
15388
15389         * buffer.h: add some typedefs
15390         * buffer.C (getLists): use them
15391         (getLists): renamed from getTocList.
15392         add a counter for the different float types and use it in the
15393         generated string.
15394         (getLists): use the same counter for the NEW_INSETS and the "non"
15395         NEW_INSETS
15396
15397         * lyx_cb.h: remove unused items, includes, using etc.
15398
15399         * ShareContainer.h: remove some commented code, add more comments
15400         and "documentation".
15401
15402 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15403
15404         * buffer.C (getTocList): make the list also when NEW_INSETS is
15405         defined.
15406
15407         * buffer.h: remove TocType
15408
15409         * buffer.C (getTocList): change to return a map<string,
15410         vector<TocItem> >, implement for dynamic number of list.
15411
15412         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15413         * text2.C (PasteSelection): adjust
15414         * CutAndPaste.C (pasteSelection): adjust
15415
15416         * FloatList.C (FloatList): update from the new_insets branch.
15417         * Floating.[Ch]: ditto
15418         * LaTeXFeatures.C: ditto
15419         * buffer.C: ditto
15420         * lyxlex_pimpl.C: ditto
15421
15422         * paragraph.C (Last): remove when NEW_INSETS is defined.
15423
15424         * other file: changes because of the above.
15425
15426 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15427
15428         * lyxparagraph.h: rename next to next_, previous to previous_,
15429         make them private for NEW_INSETS. Rename Next() to next(),
15430         Previous() to previous().
15431
15432         * other files: changes because of the above.
15433
15434 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15435
15436         * BufferView.h:
15437         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15438         problem.
15439
15440 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * main.C (main): pass lyx_localedir to gettext_init().
15443
15444         * gettext.h: remove locale_init and gettext_init macros
15445
15446         * gettext.C (locale_init): new function
15447         (gettext_init): new function
15448
15449         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15450         setlocale().
15451
15452 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15453
15454         * Moved credits to frontends:
15455         * credits.[Ch]: removed
15456         * credits_form.[Ch]: removed
15457         * lyx_gui_misc.C: remove credits stuff
15458         * Makefile.am:
15459
15460 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15461
15462         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15463
15464         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15465         unneeded destructor.
15466
15467         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15468         a standalone pointer again.
15469
15470         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15471
15472 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15473
15474         * Makefile.am:
15475         * filedlg.h:
15476         * filedlg.C:
15477         * LyXAction.C:
15478         * ToolbarDefaults.C:
15479         * bufferlist.C:
15480         * commandtags.h:
15481         * form1.C:
15482         * form1.h:
15483         * lyx_cb.C:
15484         * lyx_cb.h:
15485         * lyxfunc.h:
15486         * lyxfunc.C:
15487         * BufferView_pimpl.C: use new file dialog in GUII
15488
15489         * lyx_cb.h:
15490         * lyx_cb.C: remove LayoutsCB to Toolbar
15491
15492 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * ShareContainer.h (get): add std:: qualifier
15495
15496 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * ShareContainer.h: define a proper ShareContainer::value_type
15499         type (and use typename to please compaq cxx)
15500
15501 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15502
15503         * lyxparagraph.h: move serveral local vars to
15504         ParameterStruct/ParagraphParameters., use ShareContainer in
15505         FontTable., make vars in FontTable private and add getter and
15506         setter.
15507
15508         * paragraph.C: changes because of the above.
15509
15510         * lyxfont.h: remove copy constructor and copy assignment. (the
15511         default ones is ok), move number inside FontBits. move inlines to
15512         lyxfont.C
15513
15514         * lyxfont.C: add number to initializaton of statics, move several
15515         inlines here. constify several local vars. some whitespace
15516         cleanup. Dont hide outerscope variables.
15517
15518         * Spacing.h: add two new constructors to match the set methods.
15519
15520         * ShareContainer.h: new file, will perhaps be moved to support
15521
15522         * ParameterStruct.h: new file
15523
15524         * ParagraphParameters.h: new file
15525
15526         * ParagraphParameters.C: new file
15527
15528         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15529         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15530
15531         * BufferView_pimpl.C: ParagraphParameter changes.
15532         * buffer.C: Likewise.
15533         * bufferview_funcs.C: Likewise.
15534         * text.C: Likewise.
15535         * text2.C: Likewise.
15536
15537 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * lyxfind.C (LyXReplace): do not redefine default argument in
15540         implementation.
15541         (IsStringInText): ditto
15542         (SearchForward): ditto
15543         (SearchBackward): ditto
15544
15545 2001-03-06  Juergen Vigna  <jug@sad.it>
15546
15547         * lyxfind.C (IsStringInText): put parentes around expressions.
15548
15549 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15550
15551         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15552
15553 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15556
15557         * stl_string_fwd.h: add comment
15558
15559         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15560
15561         * tabular.h:
15562         * tabular.C: remove unused DocBook methods
15563
15564         * intl.C:
15565         * language.C:
15566         * paragraph.C:
15567         * buffer.C:
15568         killed DO_USE_DEFAULT_LANGUAGE
15569
15570 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * lyx_gui.C: do not include language.h.
15573
15574         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15575         arguments in function implementation.
15576
15577 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15578
15579         * BufferView_pimpl.C: add <ctime>
15580
15581 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15582
15583         * BufferView_pimpl.C: add using std::find_if
15584
15585 2001-02-27  José Matos  <jamatos@fep.up.pt>
15586
15587         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15588         by OnlyPath.
15589
15590 2001-02-11  José Matos  <jamatos@fep.up.pt>
15591
15592         * buffer.C (makeDocBookFile): command styles now have a parameter as
15593         "title" by default.
15594
15595 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15596
15597         * layout_forms.[Ch]: removed
15598         * lyx_cb.[Ch]: out character
15599         * lyx_gui.C: out character
15600         * lyx_gui_misc.C: out character
15601         * bufferview_funcs.C: : out character,
15602         added toggleall as parameter in ToggleAndShow
15603
15604 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15605
15606         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15607
15608         * text2.C (SetCurrentFont): Disable number property at boundary.
15609
15610 2001-02-26  Juergen Vigna  <jug@sad.it>
15611
15612         * lyxfunc.C (getStatus): added a string argument override function so
15613         that this is correctly called from LyXFunc::Dispatch if it contains a
15614         do_not_use_argument which is used!
15615         (Dispatch): added check for "custom" export and call appropriate func.
15616
15617 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * lyxrc.C: Add language_command_local, language_use_babel and
15620         language_global_options.
15621
15622         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15623
15624         * buffer.C (makeLaTeXFile): Use language_use_babel and
15625         language_global_options.
15626
15627 2001-02-23  Juergen Vigna  <jug@sad.it>
15628
15629         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15630         which works with LyXText and putted it inside BufferView. Here now we
15631         only call for that part the BufferView::Dispatch() function.
15632
15633         * BufferView.C (Dispatch): added.
15634
15635         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15636         functions which needs to use a LyXText over from LyXFunc.
15637         (MenuInsertLyXFile): added
15638         (getInsetByCode): added
15639         (moveCursorUpdate): added
15640         (static TEXT): added
15641
15642 2001-02-22  Juergen Vigna  <jug@sad.it>
15643
15644         * BufferView_pimpl.C (update): call a status update to see if LyXText
15645         needs it.
15646
15647 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15648
15649         * vc-backend.C (revert): implement for CVS
15650         (getLog): implement for CVS
15651
15652 2001-02-20  Juergen Vigna  <jug@sad.it>
15653
15654         * text2.C (ClearSelection): added BufferView param for inset_owner call
15655
15656         * lyxfunc.C (TEXT): added this function and use it instead of
15657         directly owner->view()-text of getLyXText().
15658
15659 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15660
15661         * src/layout_forms.C: out preamble
15662         * src/layout_forms.h: out preamble
15663         * src/lyx_cb.C: out preamble
15664         * src/lyx_cb.h: out preamble
15665         * src/lyx_gui.C: out preamble
15666         * src/lyx_gui_misc.C: out preamble
15667         * src/lyxfunc.C: connect with guii preamble
15668
15669 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15670
15671         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15672
15673 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15674
15675         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15676         whether to run bibtex.
15677
15678 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15679
15680         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15681
15682 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15683
15684         * Makefile.am (lyx_SOURCES): removed bibforms.h
15685
15686         * vspace.h: doxygen
15687
15688         * text.C (GetVisibleRow): make several local vars const
15689
15690         * tabular.C: small cleanup.
15691
15692         * lyxserver.C (callback): use compare instead of strncmp
15693
15694         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15695         inlines to after class or to paragraph.C
15696
15697         * lyxfont.h: remove friend operator!=
15698
15699         * converter.h: move friend bool operator< to non friend and after
15700         class def.
15701
15702         * combox.h: small cleanup
15703
15704         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15705         to inlines after class def.
15706
15707         * buffer.C (pop_tag): use string operations instead of strcmp
15708
15709         * bmtable.c: doxygen, small cleanup
15710
15711         * LaTeX.h: remove friend operator==
15712
15713 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15714
15715         * screen.C:
15716         * lyxrc.[Ch]:
15717         * lyxfunc.C:
15718         * lyxfont.[Ch]:
15719         * lyx_cb.C:
15720         * intl.[Ch]:
15721         * commandtags.h:
15722         * buffer.C:
15723         * WorkArea.[Ch]:
15724         * LyXAction.C:
15725         * BufferView_pimpl.C:
15726         * BufferView.[Ch]: remove cruft
15727
15728 2001-02-14  Juergen Vigna  <jug@sad.it>
15729
15730         * lyxfunc.C: removed #if 0 unused code
15731
15732         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15733
15734         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15735
15736         * text2.C (SetSelection): added a BufferView * parameter
15737
15738 2001-02-13  Juergen Vigna  <jug@sad.it>
15739
15740         * lyxfunc.C (Dispatch): fixed protected blank problem.
15741         * BufferView2.C (protectedBlank): added LyxText * parameter.
15742
15743         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15744         (AppendColumn): same as above for column_info.
15745
15746         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15747         (moveCursorUpdate): use a LyXText param for support of InsetText.
15748
15749         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15750         (tripleClick): ditto
15751
15752         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15753
15754         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15755
15756         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15757
15758         * text2.C (SetSelection): set correct update status if inset_owner
15759         (ToggleFree): ditto
15760
15761 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15762
15763         * tabular.C: remove some commented code.
15764
15765 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15766
15767         * BufferView_pimpl.C: call hideSplash()
15768
15769         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15770
15771         * include_form.h:
15772         * bibforms.h: remove
15773
15774         * lyxfunc.C:
15775         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15776           add LFUN_CHILD_CREATE
15777
15778         * counters.h: fix tiny typo
15779
15780         * lyx_cb.C:
15781         * lyx.h:
15782         * lyx_gui.C:
15783         * lyx.C: move splash to frontends/xforms/
15784
15785         * lyx_gui_misc.C: move Include and Bibform to frontends
15786
15787         * lyxvc.h: clarify comment
15788
15789         * vspace.C: tiny housekeeping
15790
15791 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15792
15793         * text.C (PrepareToPrint): RTL Fix.
15794
15795         * paragraph.C (GetUChar): New method.
15796         (String):  Use GetUChar.
15797
15798         * buffer.C (asciiParagraph): Use GetUChar.
15799
15800 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15803
15804 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15805
15806         * buffer.h:
15807         * buffer.C: rename to getLogName(), handle
15808           build log / latex log nicely
15809
15810 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * MenuBackend.C:
15813         * MenuBackend.h: remove support for reference menuitem type.
15814
15815 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15816
15817         * BufferView_pimpl.C: housekeeping
15818         * BufferView_pimpl.h:
15819         * LyXView.h:
15820         * Makefile.am:
15821         * Timeout.C:
15822         * Timeout.h:
15823         * minibuffer.h: move Timeout GUI-I
15824
15825 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * lyxrc.C (read): Update converters data-structures.
15828
15829 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15830
15831         * LaTeX.h (operator!=): add operator != for Aux_Info
15832
15833 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15834
15835         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15836
15837         * LaTeXLog.C: deleted, useful code moved to Buffer
15838
15839         * buffer.h:
15840         * buffer.C: new function getLatexLogName()
15841
15842         * lyx_gui_misc.C:
15843         * lyx_gui.C:
15844         * lyxvc.C:
15845         * lyxvc.h:
15846         * lyxfunc.C: use frontends for LaTeX and VC logs
15847
15848 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * LaTeX.h: yet another std:: that Allan forgot.
15851
15852         * Variables.C (set): renamed from isset(), because this clashes
15853         with some HP-UX macros (grr).
15854
15855 2001-02-06  Allan Rae  <rae@lyx.org>
15856
15857         * LaTeX.h: Another bug fix.  Missing std:: this time.
15858
15859 2001-02-04  Allan Rae  <rae@lyx.org>
15860
15861         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15862         floats problem. I've left it commented out because it's not quite
15863         correct.  It should also test that the current object is a table or
15864         figure inset.  But I haven't gotten around to figuring out how to do
15865         that.  I *think* it'll be something like: "table" == inset.type()
15866
15867         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15868         bool.
15869
15870 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15871
15872         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15873         all the citation/databases/styles in the auxilary file.
15874         (run): Rerun latex if there was a babel language error.
15875
15876 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15877
15878         * text.C (Backspace): Preserve the font when changing newline char
15879         with a space.
15880         (BreakParagraph): If the cursor is before a space, delete the space.
15881
15882         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15883
15884 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15885
15886         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15887         new argument (code).
15888         (ChangeCitationsIfUnique): New method.
15889
15890         * paragraph.C (GetPositionOfInset): Handle bibkey.
15891
15892 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15893
15894         * BufferView_pimpl.h: change type of Position::par_pos to
15895         LyXParagraph::size_type.
15896
15897 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * BufferView_pimpl.C (savePosition, restorePosition): Write
15900         messages to minibuffer.
15901
15902 2001-01-28  José Matos  <jamatos@fep.up.pt>
15903
15904         * buffer.C (makeDocBookFile): adds support for document language.
15905         A silly restriction on the name of LatexCommand types where removed.
15906         Added support for CDATA sections, allows to chars unescaped, used
15907         among others in code, to avoid escape < and >.
15908
15909 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15910
15911         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15912         saved positions instrad of a stack. Furthermore, a position is
15913         stored using paragraph id/paragraph position.
15914
15915         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15916         Remove LFUN_REF_BACK.
15917
15918 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15919
15920         * converter.C (dvipdfm_options): New method.
15921
15922 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15923
15924         * vspace.C (isValidLength): Fix for empty input string.
15925
15926 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * LyXAction.C (init): change description of LFUN_FIGURE to
15929         "Insert Graphics"
15930
15931 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * LaTeX.C: add using directive
15934
15935 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15936
15937         * MenuBackend.C (expand): Fix the sorting of the formats.
15938
15939 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15940
15941         * lyx_main.C: tiny error message fix
15942
15943 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15946         calling fl_initialize(). This fixes the problem with ',' as
15947         decimal separator in text files.
15948
15949 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15950
15951         * trans.C (process): Fix the keymap bug.
15952
15953 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15954
15955         * LaTeX.C (scanAuxFiles): New method. Provides support for
15956         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15957         (scanLogFile) Scan for "run BibTeX" messages.
15958
15959         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15960         OT1 font encoding. Also, load the aecompl package if the ae
15961         package is loaded.
15962
15963         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15964
15965 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15966
15967         * texrow.C (increasePos): turn two error messages into debug
15968         messages.
15969
15970 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * LaTeX.C (scanAux): Handle the \@input macro.
15973         (runBibTeX): Use scanAux().
15974
15975         * language.C (latex_options_): New field.
15976
15977         * LaTeXFeatures.C (getMacros): Add language macros.
15978
15979         * buffer.C (makeLaTeXFile): Small fix.
15980
15981 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15984
15985         * text2.C: add a using directive.
15986
15987 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15988
15989         * BufferView2.C:
15990         * lyx_gui_misc.h:
15991         * lyxfr1.C:
15992         * lyxfunc.C: kill LyXBell.
15993
15994 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15995
15996         * text.C (IsBoundary): Remove the error message
15997
15998         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15999
16000         * lyxrc.C (setDefaults): Correct initialization value for
16001         font_norm_type.
16002
16003 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16004
16005         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16006         gotoError().
16007
16008         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16009         and GotoNextNote().
16010
16011         * src/LyXAction.C: Added reference-next.
16012
16013         * text.C (InsertChar): Use contains instead of strchr.
16014
16015         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16016
16017 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16020         alignment commands (when needed).
16021
16022         * text.C (InsertChar): Add ':' to number separator chars.