]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9276d8a741bc9a8c1929c0a352b0385e53669ac0
[lyx.git] / src / ChangeLog
1 2004-08-16  José Matos  <jamatos@lyx.org>
2
3         * text.C (readParagraph): remove debug message.
4
5 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
8         crash
9
10         * output_plaintext.C (asciiParagraph): set depth correctly
11
12         * outputparams.h: add member depth
13
14         * paragraph_funcs.C (ownerPar): remove.
15
16         * text2.C (setCounter): remove first_pit; comment out some
17         non-working code that uses ownerPar
18
19         * BufferView.C (getParentLanguage): remove. Not used anymore, and
20         uses ownerPar
21
22 2004-08-16  José Matos  <jamatos@lyx.org>
23
24         * text.C (readParToken, readParagraph, read): report all unknown tokens.
25         For the same level of importance use the same chanel to report problems.
26         (read): add code to deal with \begin_body and \end_body.
27
28
29 2004-08-15  José Matos  <jamatos@lyx.org>
30
31         * lyxlex.C (getString): fix comment, buffer::readBody is now
32         buffer:readDocument.
33         
34         * tex-strings.C (string_papersize): Default -> default,
35         Custom -> custom, for consistency with other options.
36
37 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
38
39         * pch.h: new file
40
41         * Makefile.am: support pch
42
43 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * text.C (readParToken): remove the static LyXFont variable and
46         pass it as a parameter instead. This fixes a nasty bug where an
47         inset will be inserted with a bad font in some situations
48         (readParagraph): adapt
49
50         * text2.C (setCounter): reduce number of calls to pars_[pit]
51
52         * text.C (singleWidth): add an assert, fix a test
53
54         * rowpainter.C (paintText): reduce number of calls to singleWidth
55
56         * paragraph.C (isHfill):
57         (isNewline): ws only
58
59 2004-08-14  André Pönitz  <poenitz@gmx.net>
60
61         * text.C:
62         * text2.C:
63         * rowpainter.C:
64         * lyxtext.h (several functions): use a Paragraph & argument
65         instead of par_type
66
67 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * metricsinfo.h: add a new field ltr_pos to PainterInfo
70
71         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
72
73         * text.C (singleWidth): remove useless test
74
75 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * tabular.h: remove bogus comments
78
79         * tabular.C (getDescentOfRow):
80         (isPartOfMultiColumn): add assertions
81
82         * lyxlength.C (inPixels): remove #warning
83
84 2004-08-14  André Pönitz  <poenitz@gmx.net>
85
86         * paragraph.h: inline getChar()
87
88         * BufferView.h: remove unused declarations
89
90 2004-08-14  José Matos  <jamatos@lyx.org>
91
92         * Buffer.[Ch] (readDocument): new name for old readBody.
93         * Buffer.C: new file format, new keywords: \begin_document,
94         \begin_header, \begin_body, \end_body.
95
96         * bufferparams.C (readToken): replace all calls to lex.nextToken
97         by lex.next(). Do the same to eatLine except where really needed.
98
99         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
100         line when writing to the lyx file.
101
102         * output_plaintext.C (asciiParagraph): fix Bibliography style
103         handling.
104
105         * text.C (read): fix end of file handling.
106
107 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * MenuBackend.C (Menu::operator[]): new method to access
110         individual menu items
111         (Menu::hasFunc): new method. search for an item that corresponds
112         to a given func
113         (MenuBackend::specialMenu): new method
114         (MenuBackend::expand): if a special menu has been set, skip
115         entries whose func() appears in this menu
116
117 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
118
119         * text3.C: use Debug::DEBUG a bit more
120
121         * text.C (leftMargin): try to simplify a tiny bit change var x to
122         l_margin. Dont output the wide margins always.
123         (rightMargin): no margin in inner texts
124
125         * rowpainter.h (nestMargin): new func
126         (changebarMargin): new func
127         (rightMargin): new func
128
129         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
130         now functions.
131         (paintLast): ditto
132
133         * factory.C (createInset): modify setDrawFrame
134
135         * cursor.C: use Debug::DEBUG a bit more
136
137 2004-08-14  André Pönitz  <poenitz@gmx.net>
138
139         * coordcache.[Ch]:
140         * Makefile.am: new files to accomodate an 'external' (x,y)-position
141         cache for all insets in (at least partially) visible (top-level)
142         paragraphs.
143
144         * BufferView_pimpl.C: reset external coord cache before every update.
145         This means the coord cache only contains valid entries.
146
147 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
148
149         bug 1096
150         * BufferView_pimpl.C (getInsetByCode): move function out of class
151         and change in to a template in anon namespace. Also fix to do what
152         suits us better.
153
154 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
155
156         bug 1305
157         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
158         of char
159         (breakParagraph): rename par to par_offset and use a local
160         reference. Add code to keep the language over a rebreak.
161         (breakParagraphConservative): rename par to par_offset, use a
162         local reference
163         (mergeParagraph): ditto
164         (outerHook): ditto
165         (isFirstInSequence): ditto
166         (outerFont): rename pit to par_offset
167
168         * paragraph.C: ws change
169         * paragraph.h: ditto
170         * text3.C: ditto
171         * text.C: ditto
172
173 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
176         treatment for ']'
177
178         * paragraph.C (simpleTeXOnePar): when we have a \item with
179         optional argument, enclose the argument with curly brackets (in
180         case it contains a closing square bracket)
181
182         * text2.C (editXY):
183         * text2.C (editXY):
184         * text3.C (checkInsetHit): constify
185
186 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
189         documents (bug 1629)
190
191 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         Fix toggling of collapsable insets with the mouse (bug 1558)
194
195         * lyxfunc.C (dispatch): adapt to LCursor changes
196
197         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
198         make sure that dispatch is not invoked twice
199
200         * cursor.C (needsUpdate): new method
201         (dispatch): return void
202         (result): new method, to access the DispatchResult of the cursor.
203
204 2004-08-13  José Matos  <jamatos@lyx.org>
205
206         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
207
208 2004-08-13  André Pönitz  <poenitz@gmx.net>
209
210         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
211
212         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
213           multiple cells
214
215 2004-08-12  André Pönitz  <poenitz@gmx.net>
216
217         * text3.C: take out the 'cursor right' form insertInset and only
218         do it in those places when it is really needed. Fixes crash on
219         C-m...
220
221 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
224
225         * BufferView_pimpl.C (setBuffer): initialize the current font of
226         the underlying LyXText
227
228 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * kbsequence.C (print): use UI native formatting for menu
231         shortcuts
232
233         * text.C (insertChar): call Paragraph::insertChar with a font
234         argument (cosmetic)
235
236         * paragraph.C (insertInset, insertChar): the version that takes a
237         LyXFont argument is now a wrapper around the other one (the
238         opposite used to be true).
239
240         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
241         argument. Font setting is done in Paragraph now.
242
243 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * outputparams.h: add new members intitle and lang.
246
247         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
248         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
249
250 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * text3.C (dispatch): remove special handling of button 4 and 5,
253         it is now taken care of in the frontend code.
254
255 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * Spacing.h: add <string> (STLPort compile fix)
258
259 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
260
261         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
262
263 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
264
265         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
266         to bool.
267
268         * converter.C (showMessage): inherit from unary_function, make
269         operator() const.
270
271         * buffer.C (writeFile): initialize retval
272
273         * InsetList.h: rename private variable list to list_
274         * InsetList.[Ch]: adjust accordingly.
275
276 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
277
278         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
279         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
280         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
281         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
282         * ParagraphParameters.C, LaTeXFeatures.C: replace
283         "support/std_sstream.h" with <sstream>
284
285 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
286
287         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
288         * lyxsocket.C (LyXServerSocket): ditto
289         (serverCallback): ditto
290
291 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
292
293         * LaTeXFeatures.C: check release date when loading jurabib.
294
295 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * lyxserver.C (startPipe): call register_socket_callback
298         (endPipe): call unregister_socket_callback
299
300 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
301
302         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
303         (LyXServerSocket): register the callback
304         (LyXServerSocket): unregister the callback
305         (fd): delete function
306         (serverCallback): improve error checking and setup the callbacks.
307         (dataCallback): change arg to fd.
308         (writeln): new func (copied fro the client socket) used for server
309         write to client.
310         (LyXDataSocket): simplify
311         (~LyXDataSocket): close ann unregiser callback
312         (server): delete function
313         (fd): delete function
314         (readln): small changes, improve some std::string usage
315         (writeln): constify a bit
316
317 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
320         Qt frontend
321
322 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * BufferView_pimpl.C (setBuffer): set the layout combox value only
325         after it has been populated
326
327 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * text2.C (insertInset): move cursor when inserting inset.
330
331 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * kbmap.C (findbindings): a couple of new methods. returns a
334         container of kb_sequence objects. The real work is done by the
335         private recursive version
336         (printbindings): uses findbindings to print out a bracketed list
337         of bindings (renamed from findbinding).
338
339         * MenuBackend.C (binding): use kb_keymap::findbindings
340
341         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
342
343 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
346
347 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * paragraph.C (isWord): return true on insets that report
350         isLetter().
351
352         * text.C (getWord): use Paragraph::isWord to decide what is in a
353         word and what is not; fix bug 1609.
354
355 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * tex-strings.C: add "none" to string_paperpackages[], fixes
358         off-by-one-error in the paperpackage selection.
359
360         * lyxlex.[Ch]:
361         * tex-strings.[Ch]: char const * string[n]
362         -> char const * const string[]
363
364 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
367         command, return early.
368
369 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
370
371         * debug.h: add DEBUG to enum and fix size of ANY.
372
373         * debug.C: add support for Debug::DEBUG
374         (showTags): cast errorTags.level to unsigned int
375
376         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
377         (redoCurrentBuffer): ditto
378         (updateScrollbar): ditto
379         * cursor.C (dispatch): ditto
380         * text2.C (setLayout): ditto
381         (setFont): ditto
382         (updateCounters): ditto
383         (editXY): ditto
384         (deleteEmptyParagraphMechanism): ditto
385
386 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
387
388         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
389         annotations to cleanup the Makefile slightly.
390
391 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * lyxrc.C: do not set user_email to a default value but use empty
394         instead. The entry used to be translated, which does not work
395         since at the point where lyxrc is constructed there is no
396         translation service available
397
398         * messages.C (getLocaleDir): remove and use directly
399         lyx_localedir() instead
400
401 2004-06-02  Angus Leeming  <leeming@lyx.org>
402
403         Fix crash caused by dereferencing null pointer 'exportdata' in
404         OutputParams by creating a new ExportData variable on the heap,
405         storing it in a boost::shared_ptr.
406         The crash was triggered when generating an Instant Preview
407         of an external inset.
408
409         * Makefile.am: add outputparams.C
410
411         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
412         (c-tor): allocate memory to it.
413
414         * exporter.C (c-tor): associated changes.
415
416 2004-06-01  Angus Leeming  <leeming@lyx.org>
417
418         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
419         contains data before calling isInset(0). (Bug 1513.)
420
421 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
422
423         * exporter.C (checkOverwrite): new method
424         * exporter.C (copyFile): new method
425         * exporter.C (Export): copy referenced files to the document dir
426         * exporter.[Ch]: new class ExportedFile
427         * exporter.[Ch]: new class ExportData. Contains currently the
428         names of referenced external files
429         * outputparams.h: add exportdata member.
430
431 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
432
433         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
434         version.C-tmp
435
436 2004-05-19  Angus Leeming  <leeming@lyx.org>
437
438         * LaTeXFeatures.C:
439         * ToolbarBackend.C:
440         * bufferparams.C:
441         * lyxfunc.C: small changes due to the introduction of namespace
442         lyx::frontend and the moving of namespace biblio to lyx::biblio.
443
444 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
445
446         * text3.C (dispatch): supress update when only moving the cursor
447         * cursor.C (selHandle): remove commented code
448
449 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450
451         * paragraph.C (startTeXParParams): correct column count
452         * CutAndPaste.C (pasteSelection): remove const_cast
453         * output_docbook.C (docbookParagraphs): remove const_cast
454         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
455         const_cast and return ParagraphList::const_iterator
456         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
457         * output_plaintext.C (writeFileAscii): remove const_cast
458         * paragraph.[Ch] (simpleTeXOnePar): make const
459         * paragraph_funcs.C (outerPar): use const iterators
460         * paragraph_pimpl.C (validate): use const iterators
461         * text.C (setHeightOfRow): use const iterators
462
463 2004-05-17  Angus Leeming  <leeming@lyx.org>
464
465         * lfuns.h:
466         * LyXAction.C (init): new LFUN_INSET_REFRESH.
467
468         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
469         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
470         if the citation engine has changed.
471
472 2004-05-14  José Matos  <jamatos@lyx.org>
473
474         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
475         if the textclass does not provide it. Have it different for sgml and
476         xml.
477         support the language of document.
478         * output_docbook.C (docbookParagraphs):
479         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
480         first anchor as the id of the paragraph, remove special case code.
481         * sgml.C (escapeChar): escape only < & >.
482
483 2004-05-14  Angus Leeming  <leeming@lyx.org>
484
485         * bufferparams.h: move biblio::CiteEngine enum here to minimize
486         dependencies on src/frontends/controllers/biblio.h. Define a
487         CiteEngine_enum wrapper class to enable the enum to be forward
488         declared.
489
490 2004-05-12  Angus Leeming  <leeming@lyx.org>
491
492         * buffer.C: up LYX_FORMAT to 234.
493         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
494         use_numerical_citations with a single biblio::CiteEngine cite_engine
495         variable.
496         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
497
498 2004-05-13  José Matos  <jamatos@lyx.org>
499
500         * converter.h:
501         * converter.C (Converter, readFlags): add xml member.
502         * outputparams.h: add XML flavor.
503         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
504
505 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * lyxfunc.C (dispatch):
508         (getStatus): fix handling of LFUN_SEQUENCE
509
510 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * debug.C (showLevel): do not forget the end-of-line marker
513
514 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * kbmap.C (read): do not stop parsing a bind file when an error
517         occurs (bug 1575)
518
519 2004-04-29  Angus Leeming  <leeming@lyx.org>
520
521         * cursor.C:
522         * factory.C:
523         * pariterator.C:
524         * text2.C: wrap a bunch of #warning statements
525         inside #ifdef WITH_WARNINGS blocks.
526
527 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
528
529         * buffer.C: increment format to 233.
530
531 2004-04-28  Angus Leeming  <leeming@lyx.org>
532
533         * BufferView_pimpl.C:
534         * lyxfunc.C:
535         * text3.C:
536         s/updateToolbar()/updateToolbars()/
537         s/Toolbar.h/Toolbars.h/
538
539 2004-04-28  Angus Leeming  <leeming@lyx.org>
540
541         * BufferView.[Ch] (c-tor):
542         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
543         No longer passes these data to the WorkArea generator.
544
545 2004-04-28  Angus Leeming  <leeming@lyx.org>
546
547         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
548
549 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
550
551         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
552
553 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * output_latex.C (TeXEnvironment): make sure that there is a line
556         break before \end{foo} for the last paragraph of a document
557         (TeXOnePar): if the paragraph is at the end of the document (or
558         inset) and the language has to be reset, then make sure that the
559         line break is _before_ the language command, not after (fixes bug
560         1225); also make sure that the language reset command is the first
561         thing after the paragraph (to ensure proper nesting of
562         environments and thus fix bug 1404)
563
564 2004-04-21  John Levon  <levon@movementarian.org>
565
566         * ToolbarBackend.h:
567         * ToolbarBackend.C: make "name" be a programmatic name
568         and a gui_name field.
569
570         * lyxfunc.C: display the minibuffer on M-x
571
572 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
575         (bug 1526)
576
577 2004-04-19  Angus Leeming  <leeming@lyx.org>
578
579         * BufferView_pimpl.C (setBuffer): changed preview interface.
580
581         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
582         possible values.
583
584 2004-04-19  John Levon  <levon@movementarian.org>
585
586         * BufferView_pimpl.C:
587         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
588
589 2004-04-05  Angus Leeming  <leeming@lyx.org>
590
591         * text.C (redoParagraphs): add call to updateCounters(), thereby
592         fixing the missing "Figure #:" label from the caption of a
593         figure float.
594
595 2004-04-13  Angus Leeming  <leeming@lyx.org>
596
597         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
598         cursor is clicked out of an inset.
599
600 2004-04-13  Angus Leeming  <leeming@lyx.org>
601
602         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
603         than an InsetOld one.
604
605 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
606
607         * format.[Ch]: add editor to Format
608         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
609         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
610
611 2004-04-08  André Pönitz  <poenitz@gmx.net>
612
613         * metricsinfo.h: remove PainterInfo::width member
614
615 2004-04-08  Angus Leeming  <leeming@lyx.org>
616
617         * lyx_sty.C (boldsymbol_def): modify so that it outputs
618         "\providecommand" rather than "\newcommand", thereby preventing
619         clashes with packages that define "\boldsymbol" themselves.
620         Eg, beamer.
621
622 2004-04-08  Angus Leeming  <leeming@lyx.org>
623
624         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
625         thereby squashing an unnecessary warning.
626
627 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
628
629         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
630         setBuffer()
631
632 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
633
634         * BufferView.C (setCursor): call redoParagraph (some insets could
635         have been opened)
636         (putSelectionAt): remove the 'double update' trick
637
638         * BufferView_pimpl.C (fitCursor): call refreshPar
639         (workAreaDispatch): remove an uneeded update call
640         (dispatch): remove some manual update calls
641
642         * cursor.[Ch]: remove cached_y_, updatePos
643         (selHandle): set noUpdate when appropriate
644
645         * lyxfunc.C (dispatch): track if we need an update
646
647         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
648
649         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
650         (paintSelection): cheap optimization, do not call cursorX when not
651         needed
652         (paintPars): change signature
653         (refreshPar): add
654         (paintText): adjust
655         (paintTextInset): adjust
656
657         * text.C: adjust
658
659 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * lengthcommon.C: compilation fix: remove explicit array size from
662         unit_name[] and friends
663
664 2004-04-05  Angus Leeming  <leeming@lyx.org>
665
666         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
667
668         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
669         present only for the preferences dialog.
670         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
671
672 2004-04-05  Angus Leeming  <leeming@lyx.org>
673
674         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
675         to enable the frontends to export changes to lyxrc correctly.
676
677         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
678
679 2004-04-07  André Pönitz  <poenitz@gmx.net>
680
681         * cursor.[Ch] (selClear, adjust): remove math
682
683         * cursor_slice.C: more agressive assert
684
685         * lyxfunc.C:
686         * BufferView_pimpl.C: rework mouse event dispatch
687
688         * dociterator.C:
689         * paragraph.C:
690         * text2.C:
691         * text3.C: adjust
692
693 2004-04-05  André Pönitz  <poenitz@gmx.net>
694
695         * cursor.[Ch] (valign, halign...): remove unneeded functions
696
697 2004-04-05  Angus Leeming  <leeming@lyx.org>
698
699         * lyxlength.[Ch] (unit_name et al.): const-correct.
700
701 2004-04-05  Angus Leeming  <leeming@lyx.org>
702
703         * BufferView_pimpl.C:
704         * buffer.C:
705         * counters.C:
706         * cursor.C:
707         * lyxfunc.C
708         * paragraph.C:
709         * pariterator.C:
710         * text.C:
711         * text2.C:
712         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
713
714 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * text3.C (getStatus): add LFUN_BEGINNINGBUF
717
718 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * lyxfind.C: add a couple of inTexted() tests + other small fixes
721         * BufferView_pimpl.[Ch] (getStatus)
722         * BufferView.[Ch] (getStatus): add
723         * lyxfunc.C (getStatus): move lfuns handled in
724         BufferView::dispatch to te function above
725         * Cursor.C (setSelection): set selection() = true
726
727 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
730
731 2004-03-31  Angus Leeming  <leeming@lyx.org>
732
733         * lyxfunc.C (dispatch): Fall through to the generic
734         Dialogs::show("preamble").
735
736 2004-03-31  Angus Leeming  <leeming@lyx.org>
737
738         * lyxfunc.C (dispatch): Fall through to the generic
739         Dialogs::show("spellchecker").
740
741 2004-03-31  Angus Leeming  <leeming@lyx.org>
742
743         * lyxfunc.C (getStatus, dispatch): changed invocation of the
744         preferences dialog.
745
746 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
747
748         * BufferView.C
749         * cursor.[Ch]
750         * dociterator.[Ch]:
751         * insetiterator.[Ch]:
752         * lyxfind.C:
753         * lyxfunc.C:
754         * pariterator.[Ch]:
755         * text2.C:
756         * undo.[Ch]: s/DocumentIterator/DocIterator/g
757
758 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * BufferView.C (setCursor, putSelectionAt): call edit to open the
761         insets where we are putting the cursor.
762
763 2004-03-31  Angus Leeming  <leeming@lyx.org>
764
765         * lfuns.h:
766         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
767
768         * lyxrc.[Ch] (read, write): overloaded member functions taking
769         a std::[io]stream arguments.
770
771         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
772
773 2004-03-31  Angus Leeming  <leeming@lyx.org>
774
775         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
776         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
777
778         * lyxtextclass.C (load): if the text class couldn't be loaded, then
779         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
780
781 2004-03-31  Angus Leeming  <leeming@lyx.org>
782
783         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
784         the LFUN_ALL_INSETS_TOGGLE code.
785
786 2004-03-30  Angus Leeming  <leeming@lyx.org>
787
788         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
789         has died. Fall through to the generic Dialogs::show("document").
790
791 2004-03-30  Angus Leeming  <leeming@lyx.org>
792
793         * lfuns.h:
794         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
795         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
796
797         * lyxfunc.C (getStatus, dispatch): define the actions for these
798         lfuns. Little more than a cut and pste job from ControlDocument.C
799
800         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
801
802 2004-03-30  Angus Leeming  <leeming@lyx.org>
803
804         * lfuns.h:
805         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
806         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
807
808         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
809         open/closed state of ollapsable insets. Usage:
810
811         all-inset-toggle <state> <name>, where
812         <state> == "open" || "closed" || "toggle" and
813         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
814
815         * lyxtext.h, text2.C (toggleInset): removed.
816
817         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
818         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
819         now passes LFUN_INSET_TOGGLE to the found inset.
820
821         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
822         is now invoked as "all-insets-toggle toggle branch".
823
824 2004-03-30  Angus Leeming  <leeming@lyx.org>
825
826         * dociterator.C:
827         * insetiterator.C:
828         * pariterator.[Ch]: added/corrected header blurb.
829
830 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * dociterator.[Ch]: add an inset_ member
833         (backwardPos): implemented
834         (backwardPos, forwardPos): use inset_ when the stack is empty.
835         (doc_iterator_begin, doc_iterator_end): implemented
836         * pariterator.[Ch]: adjust, add begin, end
837         * insetiterator.[Ch]: adjust, add begin, end
838         * cursor.C:
839         * document.C:
840         * BufferView.C:
841         * BufferView_pimpl.C:
842         * CutAndPaste.C: adjust
843
844 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
845
846         * buffer.C: increment file format to 232.
847         * LaTeXFeatures.C: add bibtopic package.
848         * bufferparams.[Ch]: param \use_bibtopic.
849
850         * lyxrc.[Ch]: add lyxrc bibtex_command
851         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
852
853         * buffer.C: increment file format to 231.
854
855 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
856
857         * dociterator.C: implement forwardPar
858         * iterators.[Ch]: remove, replaced by
859         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
860         * BufferView.C:
861         * BufferView_pimpl.C:
862         * CutAndPaste.C:
863         * buffer.C:
864         * bufferview_funcs.C:
865         * cursor.C:
866         * lyxfind.C
867         * lyxfunc.C
868         * paragraph_funcs.C
869         * toc.C:
870         * Makefile.am: adjust
871
872 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
873
874         * CutAndPaste.C (pasteSelection): fix 2 crashes
875         (eraseSelection): fix a crash
876         * paragraph_funcs.C: remove a warning
877
878 2004-03-28  Angus Leeming  <leeming@lyx.org>
879
880         * lfuns.h:
881         * LyXAction.C (init): new LFUN_PRINT.
882
883         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
884
885 2004-03-27  Angus Leeming  <leeming@lyx.org>
886
887         * lfuns.h:
888         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
889
890         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
891
892 2004-03-27  Angus Leeming  <leeming@lyx.org>
893
894         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
895         insetlist always contains non-null pointers to insets.
896
897 2004-03-26  Angus Leeming  <leeming@lyx.org>
898
899         * src/BufferView_pimpl.C:
900         * src/CutAndPaste.C:
901         * src/buffer.C:
902         * src/iterators.C:
903         * src/output_plaintext.C:
904         * src/outputparams.h:
905         * src/paragraph_funcs.C:
906         * src/rowpainter.C:
907         * src/text.C:
908         * src/text2.C:
909         * src/frontends/controllers/ControlErrorList.C:
910         * src/frontends/gtk/FileDialogPrivate.C:
911         * src/frontends/gtk/GPainter.C:
912         * src/frontends/gtk/GToolbar.C:
913         * src/frontends/qt2/QRef.C:
914         * src/mathed/math_scriptinset.C: squash compiler warnings.
915
916 2004-03-26  Angus Leeming  <leeming@lyx.org>
917
918         * ispell.C (LaunchIspell::start):
919         * lyx_cb.C (AutoSaveBuffer::start):
920         invoke run(DontWait) rather than runNonBlocking().
921
922 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
923
924         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
925
926 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * kbsequence.C (print): adjust
929
930         * kbmap.C (printKeySym): rename and change signature
931         (printKey): use LyXKeySym::print()
932
933 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
934
935         * undo.C: add using std::advance to compile for stlport
936
937 2004-03-24  Angus Leeming  <leeming@lyx.org>
938
939         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
940         it leads to a crash when no buffer is present.
941
942 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943             Martin Vermeer  <martin.vermeer@hut.fi>
944
945         * lyxfunc.C (dispatch):
946         * bufferparams.C (readToken): use the new LColor::setColor
947
948         * LColor.[Ch] (setColor): new version that takes two strings as
949         argument and creates a new color entry if necessary
950
951 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
952
953         * buffer.C (makeLaTeXFile): if the main latex file that is
954         processed is usually a subdocument of some master, then pretend
955         for a while that it is actually the master
956
957 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
958
959         * buffer.C (getLabelList):
960         (getBibkeyList): use getMasterBuffer()
961         (getMasterBuffer): new method. Returns the main document in the
962         case where one is using included documents.
963
964 2004-03-25  André Pönitz  <poenitz@gmx.net>
965
966         * Makefile.am:
967         * iterators.[Ch]:
968         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
969
970         * ParagraphList_fwd.h: change ParagraphList to a std::vector
971
972         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
973         text*.C over here. Rename namespace CutAndPaste to lyx::cap
974
975         * ParameterStruct.h: merge with ParagraphParameters
976
977         * lyxtext.h: remove LyXText::parOffset() and getPar()
978
979         * text3.C: Remove all 'manual' update calls. We do now one per user
980         interaction which is completely sufficient.
981
982         * Bidi.C:
983         * BufferView.[Ch]:
984         * BufferView_pimpl.C:
985         * FontIterator.[Ch]:
986         * MenuBackend.C:
987         * ParagraphParameters.[Ch]:
988         * buffer.C:
989         * buffer.h:
990         * bufferlist.C:
991         * cursor.[Ch]:
992         * cursor_slice.[Ch]:
993         * dociterator.[Ch]:
994         * errorlist.[Ch]:
995         * factory.C:
996         * lfuns.h:
997         * lyxfind.C:
998         * lyxfunc.C:
999         * output_docbook.[Ch]:
1000         * output_latex.[Ch]:
1001         * output_linuxdoc.[Ch]:
1002         * output_plaintext.[Ch]:
1003         * paragraph.[Ch]:
1004         * paragraph_funcs.[Ch]:
1005         * paragraph_pimpl.[Ch]:
1006         * rowpainter.C:
1007         * tabular.[Ch]:
1008         * text.C:
1009         * text2.C:
1010         * toc.C:
1011         * undo.[Ch]: adjust
1012
1013         * frontends/controllers/ControlDocument.C:
1014         * frontends/controllers/ControlErrorList.C:
1015         * frontends/controllers/ControlSpellchecker.C:
1016         * insets/inset.C:
1017         * insets/inset.h:
1018         * insets/insetbase.h:
1019         * insets/insetbibitem.C:
1020         * insets/insetbox.C:
1021         * insets/insetbranch.C:
1022         * insets/insetcaption.C:
1023         * insets/insetcharstyle.C:
1024         * insets/insetcharstyle.h:
1025         * insets/insetcollapsable.C:
1026         * insets/insetcollapsable.h:
1027         * insets/insetert.C:
1028         * insets/insetfloat.C:
1029         * insets/insetfoot.C:
1030         * insets/insetmarginal.C:
1031         * insets/insetnote.C:
1032         * insets/insetoptarg.C:
1033         * insets/insettabular.C:
1034         * insets/insettext.C:
1035         * insets/insettext.h:
1036         * insets/insetwrap.C:
1037         * mathed/math_mboxinset.C:
1038         * mathed/math_nestinset.C:
1039         * mathed/math_scriptinset.C:
1040         * mathed/math_scriptinset.h:
1041         * support/types.h:
1042
1043 2004-03-24  Angus Leeming  <leeming@lyx.org>
1044
1045         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1046         deal with any child processes that have finished but are waiting to
1047         communicate this fact to the rest of LyX.
1048
1049 2004-03-24  Angus Leeming  <leeming@lyx.org>
1050
1051         64-bit compile fixes.
1052
1053         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1054         (c-tor): pass lyx::pos_types rather than ints.
1055
1056         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1057         lyx::pos_type.
1058
1059         * text.C (Delete): compile fix.
1060         (getPar): ensure that function declaration is the same as that in
1061         the header file.
1062
1063 2004-03-23  Angus Leeming  <leeming@lyx.org>
1064
1065         * ispell.C (LaunchIspell):
1066         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1067         a boost::shred_ptr rather than a std::auto_ptr.
1068
1069 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1072         handle LFUN_FILE_INSERT_*
1073
1074         * lyxrc.C (setDefaults, getDescription, output, read):
1075         * lyxrc.h: remove ps_command
1076
1077 2004-03-22  Angus Leeming  <leeming@lyx.org>
1078
1079         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1080         Ensure that error_handler is processed once only and that all data
1081         is saved before attempting to output any warning messages.
1082
1083         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1084
1085 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1088
1089 2004-03-19  André Pönitz  <poenitz@gmx.net>
1090
1091         * cursor.[Ch] (reset): take main text inset as argument
1092
1093         * BufferView: adjust
1094         * BufferView_pimpl.C: adjust
1095
1096         * paragraph.[Ch]: fix completely broken operator=()
1097
1098 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1099
1100         * LColor.C (getFromLyXName): make sure that the color name is used
1101         as lowercase.
1102
1103 2004-03-17  Angus Leeming  <leeming@lyx.org>
1104
1105         * lfuns.h:
1106         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1107
1108         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1109         dialog and to kill a forked process.
1110
1111 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1112
1113         * text2.C (setCursorFromCoordinates): fix font problem
1114
1115 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1116
1117         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1118         bogus "rebuild cursor" code
1119
1120 2004-03-11  André Pönitz  <poenitz@gmx.net>
1121
1122         * buffer.[Ch]: use InsetText instead of LyXText as container for
1123         the main lyx text.
1124
1125         * dociterator.[Ch]: drop the BufferView * member which is not needed
1126         anymore after the change to buffer.C
1127
1128         * paragraph_funcs.C:
1129         * text.C:
1130         * text2.C:
1131         * BufferView.[Ch]:
1132         * BufferView_pimpl.[Ch]:
1133         * cursor.[Ch]:
1134         * cursor_slice.[Ch]: adjust
1135
1136         * text3.C: fix bug in mathDispatch
1137
1138 2004-03-08  André Pönitz  <poenitz@gmx.net>
1139
1140         * undo.[Ch]: use 'StableDocumentIterator' as base for
1141         the Undo struct.
1142
1143 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1144
1145         * LaTeXFeatures.C:
1146         * bufferparams.[Ch]: add jurabib support and param.
1147
1148         * LaTeX.C: add FIXME/comment.
1149
1150 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1151
1152         * buffer.C: increment file format to 230.
1153
1154 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1155
1156         * cursor.C (dispatch): avoid infinite loops
1157
1158 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1159
1160         * rowpainter.C (paintSelection): fix x coordinates
1161
1162 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1163
1164         * text.C (rowBreakPoint): fix breaking before displayed insets
1165
1166 2004-03-01  André Pönitz  <poenitz@gmx.net>
1167
1168         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1169
1170         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1171
1172         * Makefile.am:
1173         * BufferView.C:
1174         * BufferView_pimpl.C:
1175         * buffer.C:
1176         * lyxfind.C:
1177         * lyxfunc.C:
1178         * text.C:
1179         * text2.C:
1180         * text3.C: adjust
1181
1182 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1183
1184         * lyxtext.h:
1185         * text.C:
1186         * text2.C:
1187         * rowpainter.C:
1188         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1189         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1190
1191 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1192
1193         * Bidi.[Ch] (computeTables): const correctness
1194         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1195         fill_hfill, fill_label_hfill and x from Row
1196         * lyxtext.h: prepareToPrint returns a RowMetrics
1197         * rowPainter.C: adjust
1198         * text.C (prepareToPrint): use width, not textWidth. adjust
1199         (redoParagraphInternal, cursorX): adjust
1200         * text2.C (getColumnNearX): adjust
1201         (init): put a default value to the top LyXText::width
1202
1203 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1204
1205         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1206
1207 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1208
1209         * lyxtext.h: add FontIterator class
1210
1211         * text.C (FontIterator, operator*, operator->, operator++): add
1212         (rowBreakPoint, setRowWidth): adjust (fixing a
1213         rebreaking bug)
1214
1215 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1216
1217         * BufferView_pimpl.C (workAreaDispatch): allow also
1218         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1219
1220 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * text.C (rowBreakPoint): fix a bug showing with very large insets
1223
1224 2004-02-25  André Pönitz  <poenitz@gmx.net>
1225
1226         * text3.C:
1227         * cursor.[Ch]: move some mathed specific code to mathed
1228
1229 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1230
1231         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1232         use_tempdir in preferences
1233         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1234         tempfile creation
1235         * lyx_main.C: ensure that tempdir is valid
1236         * lyxlex.h: correct typo
1237         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1238         * paragraph.[Ch] (isMultiLingual): make const
1239         * cursor.[Ch] (openable): make const
1240
1241 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1242
1243         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1244
1245 2004-02-20  André Pönitz  <poenitz@gmx.net>
1246
1247         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1248
1249         * cursor.[Ch]: prepare for localized getStatus()
1250
1251         * lyxtext.h:
1252         * tabular.C:
1253         * text.C:
1254         * text2.C:
1255         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1256
1257 2004-02-20  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1260
1261 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1262
1263         * text2.C (setCursorFromCoordinates): switch to absolute coords
1264         (cursorUp): adjust
1265         (cursorDown): adjust
1266         * text3.C (dispatch): adjust
1267
1268 2004-02-16  André Pönitz  <poenitz@gmx.net>
1269
1270         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1271           insets/ChangeLog)
1272
1273         * cursor_slice.[Ch]: remove unneeded acessor function
1274
1275         * lyxtext.h: rename rtl() to isRTL()
1276
1277         * rowpainter.C:
1278         * tabular.C:
1279         * text.C:
1280         * text2.C:
1281         * text3.C: adjust
1282
1283 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1284
1285         * rowpainter.C (paintSelection): coord fix
1286
1287 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1288
1289         * Spacing.C: compile fix
1290
1291 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * cursor.C (dispatch): restore current_ before returning
1294
1295 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1296
1297         * text2.C (cursorUp, cursorDown): fix coords
1298         (moveUp): fix crash
1299
1300 2004-02-12  André Pönitz  <poenitz@gmx.net>
1301
1302         * lyxtext.h:
1303         * text.C:
1304         * text2.C:
1305         * text3.C: add LCursor & parameter to most cursor movement functions
1306           remove usage of LyXText::cursorRow() and cursorPar()
1307
1308         * cursor.[Ch]: add textRow() needed members
1309
1310         * BufferView.C:
1311         * BufferView_pimpl.C:
1312         * paragraph.[Ch]:
1313         * BufferView.C:
1314         * BufferView_pimpl.C: adjust
1315
1316 2004-02-11  André Pönitz  <poenitz@gmx.net>
1317
1318         * lyxfunc.C:
1319         * BufferView.[Ch]:
1320         * BufferView_pimpl.C: shift undo/redo handling
1321
1322         * cursor.[Ch]: fix mathed crash
1323
1324         * lyxfind.C:
1325         * lyxtext.h: move selectionAsText to LCursor
1326
1327         * output_latex.C:
1328         * paragraph.C:
1329         * text.C:
1330         * text2.C:
1331         * text3.C: adjust
1332
1333         * rowpainter.C: fix excessive drawing
1334
1335 2004-02-06  André Pönitz  <poenitz@gmx.net>
1336
1337         * BufferView.[Ch]:
1338         * BufferView_pimpl.[Ch]:
1339         * text3.C: move some text specific LFUN handling
1340
1341 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1342
1343         * text3.C (checkInsetHit): adjust coords
1344         * text2.C (getColumnNearX): adjust coords
1345         (edit): adjust coords
1346         * text.C (getRowNearY): add two asserts
1347
1348 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * converter.C:
1351         * format.C: add using std::distance to compile on gcc 2.95/stlport
1352
1353 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1356
1357 2004-02-04  André Pönitz  <poenitz@gmx.net>
1358
1359         * BufferView.[Ch] (insertInset):
1360         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1361
1362         * text2.C:
1363         * text3.C: adjust
1364
1365 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1368         on the default clause of the switch
1369         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1370         wasn't catched by LCursor::dispatch
1371
1372 2004-02-03  André Pönitz  <poenitz@gmx.net>
1373
1374         * BufferView.C:
1375         * cursor.[Ch]: some additional asserts
1376
1377         * undo.[Ch]: remove LyXText dependency in interface
1378
1379         * lyxfunc.C: adjust
1380
1381         * lyxtext.h (firstPar, lastPar): remove dead functions
1382
1383         * text.C:
1384         * text2.C:
1385         * text3.C:
1386         * paragraph.[Ch]: adjust
1387
1388 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * lyxfind.C (find): fix argument order in call to ::find
1391
1392 2004-02-02  André Pönitz  <poenitz@gmx.net>
1393
1394         * cursor.[Ch]: remove direct access to anchor
1395
1396         * text.C: remove findText() hack
1397
1398 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * iterators.[Ch] (lockPath): remove in favour of...
1401         * BufferView.[Ch] (setCursor): this addition
1402         * BufferView.C (putSelectionAt): adjust
1403         * undo.C (performUndoOrRedo): adjust
1404         * lyxfunc.C (dispatch): adjust
1405
1406 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1407
1408         * iterators.C (lockPath): add a missing slice
1409         * undo.C (performUndoOrRedo): remove redundant positioning code
1410
1411 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1412
1413         * vc-backend.C (scanMaster): ";" -> ';'
1414
1415 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1416
1417         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1418         std::binary_function
1419
1420         * lyxtextclass.C (compare_name): rename to...
1421         (LayoutNamesEqual): ...this
1422
1423         * lyxlex_pimpl.C (compare_tags): inherit from
1424         std::binary_function, put back into anon namespace
1425
1426         * lyxfind.C (MatchString): inherig from std::binary_function
1427         (findChange): use empty() istead of !size()
1428
1429         * format.C (FormatNamesEqual): new functor
1430         (getFormat): use it
1431         (getNumber): use it
1432         (add): use it
1433         (erase): use it
1434         (setViewer): use it
1435
1436         * converter.C (compare_Converter): rename to...
1437         (ConverterEqual): ...this, and fixup a bit.
1438         (getConverter): use it, and make function const
1439         (getNumber): use it, and make function const
1440         (add): use it
1441         (erase): use it:
1442
1443         * bufferlist.C: add using boost::bind
1444
1445         * MenuBackend.C (MenuNamesEqual): new functor
1446         (hasMenu): use it, and make function const
1447         (hasSubmenu): use nested bind to get rid of compare_memfun.
1448
1449 2004-01-30  André Pönitz  <poenitz@gmx.net>
1450
1451         * BufferView_pimpl.C:
1452         * cursor.C:
1453         * cursor.h:
1454         * cursor_slice.[Ch]:
1455         * lyxfunc.C:
1456         * lyxtext.h:
1457         * paragraph_funcs.C:
1458         * paragraph_funcs.h:
1459         * rowpainter.C:
1460         * text.C:
1461         * text2.C:
1462         * text3.C: move some of the edit(x,y) handling to the insets
1463         some coordinate changes.
1464
1465 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1466
1467         * text.C: add using statements for std::advance and std::distance
1468
1469         * paragraph.C: add using statement for std::distance
1470
1471         * lyxfind.C: add using statement for std::advance
1472
1473         * cursor.C (region): remove std:: from swap
1474         (openable): use nucleus in stead of operator->
1475
1476         * BufferView.C: add using statements for std::distance and std::swap
1477
1478 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * iterators.C: Remove the pimple, move the needed structures to
1481         the header file. Create accessor for the positions stack.
1482         (asPosIterator): remove function
1483
1484         * PosIterator.C (PosIterator): move constructors to top of file
1485         (PosIterator): reimplement the constructor taking a ParIterator in
1486         terms of setFrom.
1487         (setFrom): new function
1488         (operator!=): inline it
1489
1490 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1491
1492         * lyxfind.C (replaceAll): use std::advance
1493
1494         * iterators.h: inherit from std::iterator.
1495
1496         * PosIterator.C (advance, distance): remove
1497         * PosIterator.h: interit from std::iterator.
1498
1499 2004-01-26  André Pönitz  <poenitz@gmx.net>
1500
1501         * BufferView.[Ch]:
1502         * BufferView_pimpl.[Ch]:
1503         * InsetList.[Ch]:
1504         * PosIterator.[Ch]:
1505         * buffer.h:
1506         * bufferview_funcs.C:
1507         * cursor.[Ch]:
1508         * cursor_slice.h:
1509         * factory.[Ch]:
1510         * iterators.[Ch]:
1511         * lyxfind.C:
1512         * lyxfunc.C:
1513         * lyxtext.h:
1514         * output_docbook.C:
1515         * output_latex.C:
1516         * output_linuxdoc.C:
1517         * output_plaintext.C:
1518         * paragraph.[Ch]:
1519         * paragraph_funcs.[Ch]:
1520         * paragraph_pimpl.[Ch]:
1521         * rowpainter.C:
1522         * tabular.C:
1523         * tabular.h:
1524         * text.C:
1525         * text2.C:
1526         * text3.C: more IU:  dumps most of the rest of the mathcursor
1527     implementation into cursor.[Ch]; "globalize" a bit of it.
1528
1529 2004-01-25  Angus Leeming  <leeming@lyx.org>
1530
1531         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1532
1533 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1534
1535         * LaTeXFeatures.h: add nice_ and nice() const
1536         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1537
1538 2004-01-20  André Pönitz  <poenitz@gmx.net>
1539
1540         * BufferView.[Ch]:
1541         * BufferView_pimpl.C:
1542         * PosIterator.C:
1543         * bufferview_funcs.C:
1544         * cursor.[Ch]:
1545         * cursor_slice.[Ch]:
1546         * factory.C:
1547         * iterators.C:
1548         * lyx_cb.C:
1549         * lyxfind.C:
1550         * lyxfunc.C:
1551         * lyxtext.h:
1552         * rowpainter.C:
1553         * text.C:
1554         * text2.C:
1555         * text3.C:
1556         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1557           LCursor and mathcursor parts to LCursor and InsetBase.
1558
1559 2004-01-15  André Pönitz  <poenitz@gmx.net>
1560
1561         * cursor_slice.[Ch]: add a few covienience functions
1562
1563         * funcrequest.[Ch]: remove BufferView * member
1564
1565         * BufferView_pimpl.C:
1566         * cursor.C:
1567         * factory.[Ch]:
1568         * lyxfind.[Ch]:
1569         * lyxfunc.C:
1570         * lyxtext.h:
1571         * text3.C:
1572         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1573
1574 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1577         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1578
1579 2004-01-13  André Pönitz  <poenitz@gmx.net>
1580
1581         * textcursor.[Ch]:
1582         * lyxtext.h: hide cursor and selection anchor behind accessor function
1583
1584         * BufferView.C:
1585         * BufferView_pimpl.[Ch]:
1586         * PosIterator.C:
1587         * bufferview_funcs.C:
1588         * cursor.h:
1589         * lyxfind.C:
1590         * lyxfunc.C:
1591         * text.C:
1592         * text2.C:
1593         * text3.C:
1594         * undo.C: adjust
1595
1596         * cursor.h:
1597         * cursor_slice.[Ch]: some integer type changes for inset unification
1598
1599         * lyxcursor.[hC]: remove, it's CursorSlice now.
1600
1601         * Makefile.am:
1602         * BufferView_pimpl.[Ch]:
1603         * bufferview_funcs.C:
1604         * cursor_slice.C:
1605         * lyxtext.h:
1606         * text.C:
1607         * text2.C:
1608         * text3.C:
1609         * textcursor.[Ch]: adjust
1610
1611 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * text2.C (undoSpan): add and use
1614         * text.C (breakParagraph): use undoSpan (fix bug 578)
1615         * lyxtext.h: adjust
1616
1617 2004-01-08  Angus Leeming  <leeming@lyx.org>
1618
1619         * BufferView_pimpl.C (MenuInsertLyXFile):
1620         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1621         * lyxfunc.C (menuNew, open, doImport):
1622         FileFilterList change to the FileDialog open and save functions.
1623
1624 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1625
1626         * ShareContainer.h: make isEqual and isUnique adaptable
1627
1628         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1629
1630 2004-01-07  Angus Leeming  <leeming@lyx.org>
1631
1632         * LyXAction.C:
1633         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1634
1635         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1636
1637         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1638         functions replacing find, replace and replaceAll.
1639
1640         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1641         LFUN_WORDFIND(FORWARD|BACKWARD).
1642
1643 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1644
1645         * text.C (breakParagraph): remove an outdated #warning
1646
1647 2004-01-07  André Pönitz  <poenitz@gmx.net>
1648
1649         * lyxfind.C: somewhat clearer logic
1650
1651         * text.C: prevent crash in cursorX on unitialized row cache
1652
1653 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1654
1655         * lyxcursor.[Ch] (operator>): add
1656         * textcursor.C (selStart, selEnd): use std::min and std::max
1657
1658 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1659
1660         * Chktex.C: include boost/format.hpp
1661
1662 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1663
1664         * InsetList.C: replace functor MathcIt with adaptable functor
1665         InsetTablePosLess
1666         (insetIterator): modify accordingly
1667
1668         * BranchList.h: move the BranchNamesEqual functor here from...
1669         * BranchList.C: ... to here
1670
1671         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1672         SameName and match.
1673         (add): replace a finding loop with std::find_if.
1674
1675 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1676
1677         * output_docbook.C: moving LatexParam functionality into
1678         .layout files
1679
1680 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1681
1682         * buffer.C: increment format to 229.
1683
1684 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1685
1686         * LaTeXFeatures.C:
1687         * lyx_sty.[Ch]: remove minipageindent_def
1688
1689         * LyXAction.C:
1690         * factory.C:
1691         * lfuns.h:
1692         * lyxfunc.C:
1693         * text3.C: remove LFUN_INSET_MINIPAGE
1694
1695 2003-12-28  Angus Leeming  <leeming@lyx.org>
1696
1697         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1698
1699 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1700
1701         * text2.C (setParagraph): fix off-by-one crash
1702
1703 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1704
1705         * output_docbook.C: header stuff for AGU
1706
1707 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * text2.C (redoCursor): remove
1710         * text.C:
1711         * text3.C:
1712         * BufferView_pimpl.C: remove calls to redoCursor and
1713         setCursor(cursor.par(), cursor.pos()) all around
1714
1715 2003-12-15  Angus Leeming  <leeming@lyx.org>
1716
1717         * buffer.C: up the format to 228.
1718
1719 2003-12-15  André Pönitz  <poenitz@gmx.net>
1720
1721         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1722         slices
1723
1724         * Makefile.am:
1725
1726         * BufferView_pimpl.C:
1727         * cursor.[Ch]:
1728         * lyxcursor.[Ch]:
1729         * rowpainter.[Ch]:
1730         * lyxtext.h:
1731         * text.C:
1732         * text2.C:
1733         * text3.C: adjust
1734
1735 2003-12-15  Angus Leeming  <leeming@lyx.org>
1736
1737         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1738         than getFromGUIName to manipulate the color.
1739
1740 2003-12-14  Angus Leeming  <leeming@lyx.org>
1741
1742         * BranchList.[Ch]: minimize the API.
1743         (Branch::getBranch, getColor): now return a 'const &'.
1744         (Branch::setSelected) now returns a bool set to true if the
1745         selection status changes.
1746         (BranchList::clear, size, getColor, setColor, setSelected,
1747         allBranches, allSelected, separator): removed.
1748         (BranchList::find): new functions, returning the Branch with
1749         the given name.
1750         (BranchList::add, remove): return a bool indicating that
1751         the operation was successful.
1752
1753         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1754         new InsetBranch::isBranchSlected member function.
1755
1756         * LColor.[Ch]: mimimize the API.
1757         (fill): renamed as addColor and made private.
1758         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1759         versions of these functions taking a string arg have been removed.
1760
1761         * bufferparams.C (readToken):
1762         * lyxfunc.C (dispatch):
1763         * lyxrc.C (read): changes due to the altered BranchList and
1764         LColor APIs.
1765
1766         * factory.C (createInset, readInset): changes due to altered
1767         InsetBranch c-tor.
1768
1769 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1770
1771         * factory.C:
1772         * lyxfunc.C: remove insetminipage. "minipage-insert"
1773         now produces a frameless minipage box inset.
1774
1775 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * textcursor.[Ch] (selStart,selEnd): add new methods
1778         remove selection::start, end, use LyXCursor::operator<
1779         * lyxcursor.[Ch] (operator<): add
1780         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1781         * BufferView.[Ch] (unsetXSel): add
1782         * text2.C (clearSelection): use unsetXSel,adjust
1783         * text.C: adjust
1784         * text3.C: adjust
1785         * rowpainter.C: adjust
1786         * bufferview_funcs.C (put_selection_at): adjust
1787
1788 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * BufferView_pimpl.C: small coord. correction
1791
1792 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1795         dragging over the splash screen.
1796
1797 2003-12-11  Angus Leeming  <leeming@lyx.org>
1798
1799         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1800         as it is now handled in LyXText::dispatch.
1801
1802         * text3.C (doInsertInset): remove a level of nesting.
1803
1804 2003-12-11  Angus Leeming  <leeming@lyx.org>
1805
1806         * factory.C (createInset): changes due to the changed interface to
1807         InsetCommandMailer::string2params.
1808
1809 2003-12-10  Angus Leeming  <leeming@lyx.org>
1810
1811         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1812         'dialog-show-new-inset <inset name>'
1813
1814 2003-12-10  Angus Leeming  <leeming@lyx.org>
1815
1816         * buffer.C: up the format to 227.
1817
1818         * factory.C: the box inset is now identified simply by 'Box'.
1819
1820 2003-12-10  Angus Leeming  <leeming@lyx.org>
1821
1822         * buffer.C: up the format to 226.
1823
1824         * factory.C: the note inset is now identified simply by 'Note'.
1825
1826 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1827
1828         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1829         when a pit is enough. Standarize a couple of loops.
1830
1831 2003-12-05  Angus Leeming  <leeming@lyx.org>
1832
1833         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1834         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1835         data to the re-worked "log" dialog.
1836
1837 2003-12-03  André Pönitz  <poenitz@gmx.net>
1838
1839         * PosIterator.C:
1840         * iterators.C:
1841         * lyxtext.h:
1842         * output_latex.C:
1843         * paragraph_funcs.C:
1844         * text.C:
1845         * text2.C: use Inset::getText instead of Inset::getParagraph
1846
1847 2003-12-03  André Pönitz  <poenitz@gmx.net>
1848
1849         * buffer.[Ch]:
1850         * lyxtext.h:
1851         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1852         InsetText::read() as LyXText::read()
1853
1854 2003-12-02  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1857         type. Add a comment in the implementation that the function uses
1858         the stream's bad() function rather than fail() as the std::streams
1859         would do.
1860
1861 2003-12-02  André Pönitz  <poenitz@gmx.net>
1862
1863         * lyxlex.[Ch]: make interface more similar to std::stream
1864
1865         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1866
1867 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1870
1871 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1872
1873         * vspace.[Ch]: remove VSpace::NONE
1874
1875 2003-12-01  André Pönitz  <poenitz@gmx.net>
1876
1877         * buffer.[Ch]:
1878         * lyxtext.h: move ParagraphList member to LyXText
1879         rename LyXText::ownerParagraphs to LyXText::paragraph
1880
1881         * CutAndPaste.C:
1882         * bufferview_funcs.C:
1883         * iterators.[Ch]:
1884         * lyx_cb.C:
1885         * paragraph.C:
1886         * rowpainter.C:
1887         * tabular.C:
1888         * text.C:
1889         * text2.C:
1890         * text3.C: adjust
1891
1892         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1893
1894         * undo.C: fix cursor positioning
1895
1896 2003-12-01  John Levon  <levon@movementarian.org>
1897
1898         * BufferView_pimpl.C: fix a crash on exit with
1899         a buffer open
1900
1901 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1902
1903         * BranchList.C: fix setSelected() method.
1904
1905 2003-11-28  André Pönitz  <poenitz@gmx.net>
1906
1907         * ParagraphParameters.[Ch]:
1908         * ParameterStruct.h: remove space above/below from Paragraph to
1909          InsetVSpace
1910
1911         * BufferView_pimpl.C:
1912         * factory.C:
1913         * lyxfunc.C:
1914         * lyxtext.h:
1915         * output_latex.C:
1916         * paragraph.C:
1917         * paragraph_funcs.C:
1918         * rowpainter.[Ch]:
1919         * text.C:
1920         * text2.C:
1921         * text3.C: adjust
1922
1923 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1924
1925         * factory.C: Syntax change for CharStyles
1926
1927 2003-11-28  André Pönitz  <poenitz@gmx.net>
1928
1929         * BufferView.[Ch]:
1930         * BufferView.[Ch]:
1931         * buffer.[Ch]:
1932         * buffer.[Ch]: move LyXText member
1933
1934 2003-11-28  André Pönitz  <poenitz@gmx.net>
1935
1936         * BufferView.[Ch]: make LyXText * text a private member
1937
1938         * BufferView_pimpl.C:
1939         * cursor.C:
1940         * iterators.C:
1941         * lyx_cb.C:
1942         * lyxfind.C:
1943         * lyxtext.h:
1944         * rowpainter.[Ch]:
1945         * text.C:
1946         * text2.C:
1947         * undo.C: adjust
1948
1949         * output_plaintext.C: cleanup
1950
1951 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1952
1953         * buffer.C:
1954         * lyxtextclass.[Ch]: parametrize SGML document header
1955
1956 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1957
1958         * converter.[Ch]:
1959         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1960         getFlavor().
1961
1962 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * text2.C (setFont): rework using PosIterator (no more recursive)
1965         (setCharFont): no more needed
1966         (setLayout): no more selection cursors fiddling (done by redoCursor)
1967         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1968         destroy remaining ones)
1969
1970 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1973         * lyxtext.h: ditto
1974         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1975         selection cursors
1976         * lyxfunc.C: adjust
1977         * text3.C: adjust + re-allow multi par depth changes
1978         * textcursor.C: simplify a bit
1979
1980 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1981
1982         * src/buffer.C:
1983         * src/lyxlayout.C:
1984         * src/lyxlayout.h:
1985         * src/lyxtext.h:
1986         * src/output_docbook.C:
1987         * src/output_latex.C:
1988         * src/paragraph.C:
1989         * src/paragraph.h:
1990         * src/sgml.C:
1991         * src/sgml.h:
1992         * src/text2.C: Introducing a number of tags parametrizing various
1993         XML formats that we may want to support
1994
1995 2003-11-25  André Pönitz  <poenitz@gmx.net>
1996
1997         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1998
1999         * lyxtext.h (leftMargin/rightMargin): simplify interface
2000
2001         * rowpainter.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C: adjust
2005
2006 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2007
2008         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2009         master file to any child files. Fixes bug 546.
2010
2011 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2014
2015 2003-11-24  André Pönitz  <poenitz@gmx.net>
2016
2017         * rowpainter.C: simplification
2018
2019         * text2.C (updateCounters): remove call to redoParagraph on
2020         changed labels as this is far too expensive.
2021
2022 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * converter.C (convert): fix a crash: this function gets
2025         called with buffer == 0 from importer code.
2026
2027 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2028
2029         * text3.C (cursorPrevious): make sure that we do not compare
2030         iterators form different containers.
2031         (cursorNext): ditto
2032
2033         * rowpainter.C (paintSelection): make sure that we do not compare
2034         iterators from different containers.
2035
2036         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2037         iterators from different ParagraphList containers.
2038         [NEXT] ditto
2039
2040         * text2.C (LyXText): change order of initialization slightly
2041         (operator=): new function. copy all variables except cache_par_
2042         (moveUp): make sure that we do not compare iterators from
2043         different ParagraphList constainers.
2044         (moveDown): ditto
2045
2046         * text.C (firstPar): new function
2047         (lastPar): new function
2048         (endPar): new function
2049
2050         * lyxtext.h: move things around and group public functions, public
2051         variables, private functions, private variables
2052
2053 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2054
2055         * factory.C: change call to InsetERT constructor to avoid
2056         additional invocation of method status
2057         * text2.C (toggleInset): remove redundant update() call
2058         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2059         instead of a Bufferview pointer
2060
2061 2003-11-21  André Pönitz  <poenitz@gmx.net>
2062
2063         * rowpainter.C: simplification
2064
2065 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * text3.C (dispatch): make possible to extend a word/row selection
2068         with the mouse
2069
2070 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * lyxtext.h: x0_,y0_ -> xo_,yo_
2073         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2074         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2075         * rowpainter.C (paintRows): paint full paragraphs
2076
2077 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2078
2079         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2080         screen coordinates)
2081
2082 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2083
2084         * lyxtext.h: add x0_, y0_
2085         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2086         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2087
2088 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * text2.C (setCursorIntern): move the x_target update here *
2091         * text3.C: change some bv() to true/false in calls to
2092         cursorUp/Down/Right/Left
2093         * cursor.C: use helper function.
2094
2095 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2098         * paragraph_funcs.[Ch]: correct comment
2099         * rowpainter.C: do not paint selections away from bv->cursor()
2100         Fix a long standing selection painting bug.
2101         * text3.C: generalize mouse-selection code to LyXTexts other that
2102         top one
2103         * textcursor.C: do not use y coords if we can use par offsets
2104
2105 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2108         cursor position after e.g. inset insert)
2109
2110 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * lyxfind.C (replace): adjust to locking removal + some
2113         code simplification
2114
2115 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2118         of the path
2119
2120 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2121
2122         * lyxlayout.[Ch]:
2123         * output_docbook.C: XML sanitation: new layout
2124         parameters InnerTag and CommandDepth
2125
2126 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2127
2128         * BufferView_pimpl.C:
2129         * factory.C:
2130         * text3.C: Fix the insertion and modification of button-style
2131         insets
2132
2133 2003-11-13  André Pönitz  <poenitz@gmx.net>
2134
2135         * InsetList.[Ch]: remove deleteLyXText
2136
2137         * paragraph.[Ch]: cache beginOfBody position
2138
2139         * Bidi.C:
2140         * text.C:
2141         * text2.C:
2142         * text3.C: remove superfluous update() calls
2143
2144         * vspace.C: cleanup
2145
2146 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2149         * BufferView.C (fitLockedInsetCursor): remove
2150         * cursor.[Ch] (getDim): add
2151         * text.C (getRowNearY): add faster version
2152         * text3.C: remove some update calls
2153
2154 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2155
2156         * LaTeXFeatures.C:
2157         * LyXAction.C:
2158         * MenuBackend.C:
2159         * MenuBackend.h:
2160         * dispatchresult.h:
2161         * factory.C:
2162         * lfuns.h:
2163         * lyxfunc.C:
2164         * lyxtextclass.C:
2165         * lyxtextclass.h:
2166         * text3.C: The Character Style /XML short element patch.
2167
2168 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * text3.C:
2171         * factory.C: Small step to solving 'unable to insert some insets'
2172         problem
2173
2174 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2175
2176         * cursor.[Ch] (updatePos): new function for updating the y
2177         position of the tip inset
2178         * bufferview_funcs.C (put_selection_at):
2179         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2180
2181 2003-11-11  André Pönitz  <poenitz@gmx.net>
2182
2183         * text.C: remove big comment on invalid Paragraph pointers as it is
2184         not valid anymore
2185
2186 2003-11-11  André Pönitz  <poenitz@gmx.net>
2187
2188         * text_funcs.[Ch]: merge with ...
2189
2190         * text.C: ... this
2191
2192         * lyxtext.h:
2193         * text2.C:
2194         * text3.C: adjust
2195
2196         * Makefile.am: remove text_funcs.[Ch]
2197
2198 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2199
2200         * cursor.C (getPos): return absolute cached y coord
2201
2202         * BufferView_pimpl.C (fitCursor): new simplistic code
2203         (workAreaDispatch): add a fitCursor call
2204
2205 2003-11-10  André Pönitz  <poenitz@gmx.net>
2206
2207         * BufferView.[Ch]:
2208         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2209
2210 2003-11-10  André Pönitz  <poenitz@gmx.net>
2211
2212         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2213         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2214         indicate that the cursor needs to leave an inset
2215
2216         * lyxtext.h: remove inset locking
2217
2218         * cursor.[Ch]: re-implement functionality provided by inset locking
2219
2220         * BufferView.[Ch]:
2221         * BufferView_pimpl.[Ch]:
2222         * LyXAction.C:
2223         * bufferview_funcs.[Ch]:
2224         * factory.C:
2225         * funcrequest.[Ch]:
2226         * iterators.C:
2227         * lyx_cb.C:
2228         * lyxfind.C:
2229         * lyxfunc.C:
2230         * text.C:
2231         * text2.C:
2232         * text3.C:
2233         * undo.C: adjust
2234
2235 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2236
2237         * PosIterator.[Ch]: replace the stack with a vector, add inset
2238         accesor
2239         * iterators.[C]: adjust
2240
2241 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2242
2243         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2244         replaced
2245         * paragraph_funcs.C (readParToken): put the correct id in the
2246         error item, not the id of the top paragraph
2247
2248 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2249
2250         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2251         * bufferview_funcs.C (put_selection_at): use the above
2252
2253 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2254
2255         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2256
2257 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * output_linuxdoc.h:
2260         * output_plaintext.h:
2261         * output.h:
2262         * output_docbook.h: add #include statements
2263
2264 2003-11-05  José Matos  <jamatos@lyx.org>
2265
2266         * output_docbook.[Ch]:
2267         * output_latex.[Ch]:
2268         * output_linuxdoc.[Ch]:
2269         * output_plaintext.[Ch]: New files for output formats.
2270         * output.[Ch]: New file for helper functions.
2271
2272         * buffer.[Ch]:
2273         * paragraph_funcs.[Ch]: output functions moved to new files.
2274
2275         * outputparams.h: rename of latexrunparams.h
2276
2277         * LaTeX.[Ch]:
2278         * buffer.[Ch]:
2279         * bufferlist.[Ch]:
2280         * converter.[Ch]:
2281         * exporter.C:
2282         * paragraph.[Ch]:
2283         * paragraph_funcs.[Ch]:
2284         * paragraph_pimpl.[Ch]:
2285         * tabular.[Ch]: rename ascii to plaintext
2286         and LatexRunParams to OutputParams.
2287
2288 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * iterators.[Ch] (text): require bv argument
2291         * undo.C (recordUndo):
2292         * lyxfunc.C (dispatch):
2293         * bufferview_funcs.C (put_selection_at): adjust
2294
2295 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2296
2297         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2298
2299 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2300
2301         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2302         nestings
2303
2304 2003-11-04  André Pönitz  <poenitz@gmx.net>
2305
2306         * cursor.[Ch]: restructure
2307
2308         * BufferView.[Ch]:
2309         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2310
2311         * iterators.[Ch] (asCursor): remove
2312
2313         * lfuns.h: remove LFUN_INSET_EDIT
2314
2315         * lyxfunc.C:
2316         * tabular.C:
2317         * text.C:
2318         * text2.C:
2319         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2320
2321 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * lyxfind.[Ch]: complete overhaul
2324         * BufferView_pimpl.C:
2325         * lyxfunc.C: adjust
2326         * paragraph.[Ch] (insert): add
2327
2328 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2329
2330         * BufferView.[Ch]:
2331         * lyxtext.h:
2332         * text.C: remove dead spellcheck code
2333
2334 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * dispatchresult.h: add a val setter
2337
2338         * cursor.C (dispatch): use a tempvar for data_[i]
2339
2340 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2341
2342         * PosIterator.[Ch]: compile fix
2343
2344 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2345
2346         * text.C (cursorPar): deactivate the cursor cache
2347
2348 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2349
2350         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2351
2352 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * text3.C (dispatch): adjust for new DisptchResult semantics.
2355
2356         * lyxfunc.C (dispatch): handle update when return from
2357         Cursor::dispatch, adjust for new DispatchResult semantics.
2358
2359         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2360         DispatchResult(true) mean to not update. Add class functions for
2361         setting dispatched and update, as well as reading.
2362
2363         * cursor.C (dispatch): don't handle update here
2364
2365 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2366
2367         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2368         * trans_mgr.C: adjust
2369
2370         * paragraph_funcs.C (readParToken): exception safety
2371
2372         * lyxvc.h: store the vcs pointer in a scoped_ptr
2373         * lyxvc.C: adjust
2374
2375         * lyxsocket.C (serverCallback): exception safety
2376
2377         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2378
2379         * ispell.C (clone): make it return a auto_ptr
2380
2381         * factory.C (createInset): exception safety
2382         (readInset): exception safety
2383
2384         * bufferlist.C (newBuffer): exception safety
2385
2386         * Thesaurus.C (Thesaurus): use initialization for aik_
2387
2388         * MenuBackend.C (expandToc): exception safety.
2389
2390 2003-11-03  André Pönitz  <poenitz@gmx.net>
2391
2392         * buffer.C:
2393         * buffer.h:
2394         * bufferview_funcs.C: remove getInsetFromId()
2395
2396         * lyxcursor.[Ch]:
2397         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2398
2399         * lyxfunc.C:
2400         * text2.C:
2401         * text3.C: adjust
2402
2403 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2404
2405         * PosIterator.C (distance, advance): new
2406         * bufferview_funcs.[Ch] (put_selection_at): new
2407         * iterators.[Ch] (lockPath): new
2408
2409 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * iterators.[Ch] (asPosIterator): added
2412         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2413         * PosIterator.[Ch]: added
2414
2415 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2416
2417         * text3.C:
2418         * lyxfunc.C:
2419         * cursor.C (dispatch):
2420         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2421
2422         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2423         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2424         contructor, add a class function dispatched. Remove operator>=
2425
2426 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2427
2428         * debug.C: only use the default constructor for debugstream
2429         (lyxerr) here.
2430
2431         * main.C (main): include debug.h and setup the lyxerr streambuf
2432         here.
2433
2434 2003-10-31  José Matos  <jamatos@lyx.org>
2435
2436         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2437
2438         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2439         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2440         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2441         * paragraph_pimpl.C (simpleTeXSpecialC):
2442         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2443         add LatexRunParams argument.
2444
2445         * exporter.C (Export): change call accordingly.
2446
2447         * latexrunparams.h: add new member to take care of the other backends.
2448 2003-10-30  José Matos  <jamatos@lyx.org>
2449
2450         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2451         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2452         factorise code for paragraph output.
2453         * buffer.[Ch]:
2454         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2455         move functions.
2456
2457 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * text3.C (dispatch):
2460         * lyxfunc.C (dispatch):
2461         * cursor.C (dispatch):
2462         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2463
2464         * dispatchresult.h: make the dispatch_result_t ctor explicit
2465
2466 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2467
2468         * sgml.[Ch]:
2469         * buffer.C: small refactoring of docbook stuff
2470
2471 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2474         meaning.
2475
2476 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2479         operator dispatch_result_t, and operators for == != and >=
2480
2481         * cursor.C (dispatch): adjust for operator dispatch_result_t
2482         removal. comment out call to update
2483
2484         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2485
2486 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * text3.C:
2489         * text2.C:
2490         * text.C:
2491         * lyxtext.h:
2492         * lyxfunc.C:
2493         * cursor.C:
2494         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2495         (dispatch):
2496
2497         * dispatchresult.h: new file, DispatchResult broken out of
2498         insets/insetbase.h
2499
2500         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2501
2502 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2503
2504         * text.C (rowBreakPoint): put a hack inside #if 0
2505
2506 2003-10-28  André Pönitz  <poenitz@gmx.net>
2507
2508         * lyxtext.h:
2509         * metricsinfo.C:
2510         * paragraph_funcs.C:
2511         * rowpainter.C:
2512         * text.C:
2513         * text2.C: general cleanup (lots of small stuff)
2514
2515 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * text2.C (cursorEnd): simple fix to the "end key goes to one
2518         before the end on last row" bug
2519
2520 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * text.C (backspace): fix the "zombie characters"
2523
2524 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2525
2526         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2527
2528 2003-10-27  André Pönitz  <poenitz@gmx.net>
2529
2530         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2531
2532         * factory.C: handle new InsetPagebreak, InsetLine
2533
2534         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2535         and move handling into new InsetPagebreak, InsetLine
2536
2537         * BufferView_pimpl.C:
2538         * LyXAction.C:
2539         * ParagraphParameters.C:
2540         * ParameterStruct.h:
2541         * lyxfunc.C:
2542         * lyxtext.h:
2543         * paragraph.C:
2544         * paragraph.h:
2545         * paragraph_funcs.C:
2546         * paragraph_pimpl.C:
2547         * rowpainter.C:
2548         * text.C:
2549         * text2.C:
2550         * text3.C: adjust
2551
2552 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2553
2554         * text.C:
2555         * lyxrow_funcs.[Ch]:
2556         * Bidi.C:
2557         * paragraph.C:
2558         * lyxtext.h:
2559         * rowpainter.C:
2560         * text2.C:
2561         * text3.C: remove lastPos uses in favour of Row::endpos
2562
2563 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2564
2565         * undo.C (performUndoOrRedo): fix two crashes by setting a
2566         cursor by hand and reordering some calls. Use bv->lockInset instead
2567         of inset->edit because the latter loses cursor information
2568
2569 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2570
2571         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2572         by Martin
2573         (rowBreakPoint): fix width. change point to point + 1.
2574         Add a missing check.
2575
2576 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2577
2578         * MenuBackend.C:
2579         * lyxfunc.C: fix (at least partly) the problems
2580         with the Nav menu and headers inside branch insets
2581         reported by Kayvan
2582
2583 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * paragraph.C (getChar): add strong asserts
2586
2587         * lyxrow_funcs.C (lastPos): remove hideous hack
2588
2589         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2590         (fill): adjust to that (avoid an infinite loop)
2591
2592 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2595
2596 2003-10-23  André Pönitz  <poenitz@gmx.net>
2597
2598         * RowList_fwd.h: change list<> to vector<> to gain speed
2599         after suggestion from Alfredo
2600
2601 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * lyxtext.h: move the bidi stuff from here...
2604         * text.C: and here
2605         * text2.C: and here
2606         * Bidi.[Ch]: ... to here
2607
2608 2003-10-23  André Pönitz  <poenitz@gmx.net>
2609
2610         * lyxtext.h:
2611         * text.C (isLastRow, isFirstRow): new functions
2612
2613         * paragraph.h: new width cache member
2614
2615         * rowpainter.C: replace RowList::iterator with Row & where possible
2616
2617         * lyxfunc.C: replace several view()->text with a single call
2618
2619         * toc.C: fix 'unused' warning
2620
2621 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2624         when woring with stream::pos_type
2625         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2626
2627 2003-10-22  André Pönitz  <poenitz@gmx.net>
2628
2629         * lyxtext.h:
2630         * text.C: use Row & instead of RowList::iterator
2631
2632         * lyxrow.h: rename end() to endpos()
2633
2634         * rowpainter.C:
2635         * text.C:
2636         * text2.C: adjust
2637
2638 2003-10-22  Angus Leeming  <leeming@lyx.org>
2639
2640         * buffer.[Ch] (fully_loaded): new member function, returning true
2641         only when the file has been loaded fully.
2642         Used to prevent the premature generation of previews and by the
2643         citation inset to prevent computation of the natbib-style label.
2644
2645         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2646         templates are all set up.
2647
2648         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2649
2650 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * text.C: fixed an "oops" in the "is a bit silly"
2653         bug fix
2654
2655 2003-10-21  André Pönitz  <poenitz@gmx.net>
2656
2657         * FuncStatus.[Ch]: small stuff, whitespace
2658
2659         * lyxfont.[Ch]: operator<<() for debug reasons
2660
2661         * lyxfunc.C:
2662         * lyxrow_funcs.C:
2663         * lyxtext.h: whitespace, spelling
2664
2665         * paragraph.C: naming of variables
2666
2667         * text.C:
2668         * text2.C: small stuff
2669
2670
2671 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2672
2673         * text.C: (1) finish off the inset display() work;
2674         (2) fix the "is a bit silly" bug (accessing char
2675         past end of par).
2676
2677 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2678
2679         * text.C: re-introduce display() for insets, fixing the
2680         various bugs (stretch of line above, math inset
2681         positioning, ...)
2682
2683 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * text.C (rightMargin): remove spurious semicolon
2686
2687         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2688         1415)
2689
2690 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2691
2692         * text3.C: fix one crash due to wrong cursor def
2693
2694 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * vc-backend.C (scanMaster): make the regex static
2697
2698         * LaTeX.C (scanAuxFile): make the regexs static
2699
2700         * text3.C (doInsertInset, dispatch, dispatch):
2701         * text2.C (cursorUp, cursorDown):
2702         * text.C (selectNextWordToSpellcheck):
2703         * BufferView_pimpl.C (dispatch):
2704         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2705
2706 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2707
2708         * lyxsocket.C: include <cerrno>
2709
2710 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * lyxfunc.C (dispatch): remove textcache stuff
2713
2714         * bufferlist.C (release): remove textcache stuff
2715         (closeAll): ditto
2716
2717         * TextCache.C: delete file
2718         * TextCache.h: delete file
2719
2720         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2721
2722         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2723         delete of the bv_->text.
2724         (resizeCurrentBuffer): remove texcache stuff
2725         (workAreaResize): ditto
2726
2727 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2730         action.
2731
2732 2003-10-16  André Pönitz  <poenitz@gmx.net>
2733
2734         * lyxrow.[Ch]:
2735         * paragraph.h:
2736         * rowpainter.C:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: speed up by storing y positions per paragraph plus per-row
2740         offset instead of having a 'full' y position in the row.
2741
2742 2003-10-15  André Pönitz  <poenitz@gmx.net>
2743
2744         * iterators.[Ch]:
2745         * iterators.[Ch]:
2746         * undo.[Ch]: make undo aware of inner insets
2747
2748 2003-10-14  Angus Leeming  <leeming@lyx.org>
2749
2750         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2751         static member functions LyX::ref() and LyX::cref.
2752         (lastfiles): new accessor functions for the new lastfiles_ member var.
2753         (addLyXView, views_): add a new LyXView to the list of views_.
2754         (updateInset): loop over all LyXViews to call their own updateInset
2755         member function, returning a pointer to the Buffer owning the inset.
2756
2757         * BufferView_pimpl.C (loadLyXFile):
2758         * MenuBackend.C (expandLastfiles):
2759         * bufferlist.C (MenuWrite, QuitLyX):
2760         lastfiles is no longer a global variable.
2761         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2762
2763         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2764         static function. Access through LyX::cref().emergencyCleanup().
2765
2766 2003-10-14  André Pönitz  <poenitz@gmx.net>
2767
2768         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2769
2770         * undo.[Ch]: restoring part of 'undo in insets'
2771
2772         * Makefile.am:
2773         * undo_funcs.[Ch]: merge with undo.[Ch]
2774
2775         * tabular.C: small cleansing stuff
2776
2777 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * paragraph_funcs.C (readParToken): report unknown insets as error
2780         boxes. Use the outer paragraph as location (also for unknown
2781         tokens).
2782
2783         * factory.C (readInset): do not abort on reading an unknown inset.
2784         Eat it and return 0.
2785
2786 2003-10-13  Angus Leeming  <leeming@lyx.org>
2787
2788         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2789
2790         * lyxrc.C: displayTranslator is now a function,
2791         declared in GraphicsTypes.h.
2792
2793 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2794
2795         * format.C: new placeholder $$a to pass the socket address.
2796
2797         * bufferlist.[Ch]: new function getBufferFromTmp.
2798
2799         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2800           files in the temporary dir.
2801
2802 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2803
2804         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2805
2806         * Makefile.am: add lyxsocket.[Ch].
2807
2808         * lyx_main.C (error_handler): handle SIGPIPE.
2809
2810 2003-10-13  André Pönitz  <poenitz@gmx.net>
2811
2812         * BufferView_pimpl.C:
2813         * lyxtext.h:
2814         * text.C:
2815         * text2.C:
2816         * text3.C:
2817         * undo_funcs.[Ch]: use paroffset_type instead of
2818           ParagraphList::iterators to prevent multiple conversion
2819           (and get a more robust interface)
2820
2821 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2824         * lyxtext.h: ditto
2825         * text3.C (dispatch): ditto
2826
2827 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2830         move the onlyfile, use onlyfile instead of foundfile in a couple
2831         of places.
2832
2833         * DepTable.C (update): flush the error stream a bit more
2834
2835 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * lyxserver.C (callback): adjust
2838
2839         * lyxfunc.C (getStatus): add a missing brace in commented code
2840         (ensureBufferClean): reindent
2841         (dispatch): delete version taking a string
2842
2843 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * LaTeX.C (deplog): move found file handlig from here...
2846         (handleFoundFile): .. to new function here.
2847         (deplog): make sure to discover several files mentioned on the
2848         same log line.
2849
2850 2003-10-10  André Pönitz  <poenitz@gmx.net>
2851
2852         * lyxfunc.C:
2853         * lyxtext.h:
2854         * tabular.C:
2855         * text.C:
2856         * text2.C:
2857         * text3.C: fix some of the tabular crashes
2858
2859 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2860
2861         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2862
2863         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2864
2865 2003-10-09  André Pönitz  <poenitz@gmx.net>
2866
2867         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2868
2869         * BufferView.C:
2870         * BufferView_pimpl.C:
2871         * bufferview_funcs.C:
2872         * lyx_cb.C:
2873         * lyxcursor.C:
2874         * lyxfind.C:
2875         * lyxfunc.C:
2876         * lyxtext.h:
2877         * text.C:
2878         * text2.C:
2879         * text3.C:
2880         * text_funcs.[Ch]:
2881         * textcursor.[Ch]:
2882         * undo_funcs.C: adjust
2883
2884 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2885
2886         * text2.C (incrementItemDepth): new function, use a backtracking
2887         algorithm to discover the correct item depth.
2888         (resetEnumCounterIfNeeded): new function, use a backtracking
2889         algorithm to discover if counter reset is needed.
2890         (setCounter): use them. Simplify a bit. Add different labels for
2891         different item depths for itemize.
2892
2893         * paragraph.C (Paragraph): remove initialization of enumdepth
2894         (operator=): ditto
2895
2896         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2897         enumerate and itemize. Change the type of itemdepth to signed char.
2898
2899 2003-10-08  André Pönitz  <poenitz@gmx.net>
2900
2901         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2902           thing assignable.
2903         * text.C:
2904         * text2.C: adjust
2905
2906         * tabular.[Ch]: fix crash after 'row-insert'
2907
2908 2003-10-08  Angus Leeming  <leeming@lyx.org>
2909
2910         Fix doxygen warnings.
2911
2912         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2913         Remove CutAndPaste:: prefix from header file declaration.
2914
2915         * LColor.h (fill): remove LColor:: prefix from declaration.
2916
2917         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2918         use lyx::depth_type rather than Paragraph::depth_type so that
2919         header file and .C file match.
2920
2921         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2922
2923         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2924         * aspell.C: \file aspell_local.C -> \file aspell.C
2925         * gettext.C: \file gettext.C -> \file src/gettext.C
2926         * gettext.h: \file gettext.h -> \file src/gettext.h
2927         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2928         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2929         * text.C: \file text.C -> \file src/text.C
2930
2931         * toc.C: move comment so that doxygen is not confused.
2932
2933 2003-10-07  Angus Leeming  <leeming@lyx.org>
2934
2935         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2936
2937 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2938
2939         * aspell.C:
2940         * aspell_local.h: add forgotten std::string's.
2941
2942 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2943
2944         * LaTeXFeatures.C:
2945         * LyXAction.C:
2946         * factory.C:
2947         * lfuns.h:
2948         * lyxfunc.C:
2949         * text3.C: The Box patch. Fancybox support, minipage, parbox
2950
2951 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2952
2953         * CutAndPaste.h:
2954         * DepTable.h:
2955         * FloatList.h:
2956         * LaTeXFeatures.h:
2957         * ParagraphParameters.h:
2958         * TextCache.h:
2959         * Thesaurus.h:
2960         * bufferlist.h:
2961         * exporter.h:
2962         * importer.h:
2963         * lastfiles.h:
2964         * lyxfind.h:
2965         * lyxfont.h:
2966         * lyxlex.h:
2967         * lyxtextclasslist.h:
2968         * messages.h:
2969         * paragraph.h:
2970         * paragraph_pimpl.C:
2971         * textcursor.h: add <string> and other small fixes to make Lars'
2972         std::string patch compile with STLport.
2973
2974 2003-10-06  Angus Leeming  <leeming@lyx.org>
2975
2976         * LColor.h: Add missing #include <string>.
2977
2978 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * All most all file in all subdirs: Make <string> be the prefered
2981         way of getting to std::string, add using declarations.
2982
2983 2003-10-06  André Pönitz  <poenitz@gmx.net>
2984
2985         * metricsinfo.C: initialize LyXFont before changing attribute.
2986         (fixes the 'math in \emph is upright' bug)
2987
2988 2003-10-06  André Pönitz  <poenitz@gmx.net>
2989
2990         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2991
2992 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2993
2994         * graph.C:
2995         * paragraph_pimpl.C: Small fixes to build using STLport
2996
2997 2003-10-02  André Pönitz  <poenitz@gmx.net>
2998
2999         * lyxfunc.C:
3000         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3001
3002 2003-10-01  André Pönitz  <poenitz@gmx.net>
3003
3004         * factory.C: assert early
3005
3006 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * lyx_main.C: remove the global debug object
3009
3010         * debug.h: adjust for new debugstream
3011
3012         * debug.C: adjust for new debugstream and keep the global debug
3013         object here.
3014
3015 2003-09-22  Angus Leeming  <leeming@lyx.org>
3016
3017         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3018         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3019         an incomplete class LyXFont.
3020
3021 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3022
3023         * factory.C: bug fix in branches
3024
3025 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * lyxfunc.C (processKeySym): adjust
3028         (dispatch): adjust
3029         (dispatch): change arg name from ev to func, adjust
3030         (sendDispatchMessage): ditto
3031
3032         * lyx_main.C (defaultKeyBindings): adjust keybindings
3033         (deadKeyBindings): ditto
3034
3035         * kbsequence.C (addkey): return a FuncRequest
3036
3037         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3038
3039         * kbmap.C (bind): take a FuncRequest as arg, adjust
3040         (read): adjust
3041         (lookup): adjust
3042         (defkey): change to take a FuncRequest as arg, adjust
3043         (findbinding): take a FuncRequest as arg, adjust.
3044
3045         * funcrequest.h (operator=): added
3046
3047         * funcrequest.C (FuncRequest): default kb_action changed from
3048         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3049
3050         * buffer.C (dispatch): simplify
3051         (dispatch): adjust to take a FuncRequest as arg, adjust
3052
3053         * boost.C (assertion_failed): change assertion message slightly
3054
3055         * ToolbarBackend.C (read): simplify
3056
3057         * MenuBackend.C (binding): adjust call to findbinding, add a
3058         message if no binding is found.
3059         (read): simplify
3060         (expandToc): correct by adding a empty FuncRequest
3061
3062         * LyXAction.C: include <boost/assert.hpp>
3063         (isPseudoAction): delete function
3064         (LookupFunc): change name to...
3065         (lookupFunc): this. change return type to FuncRequest.
3066         (getActionName): take kb_action as arg, simplify
3067         (funcHasFlag): add an assert, simplify.
3068
3069 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * toc.C (action): return a FuncRequest, simplify
3072
3073         * lyxfunc.C (processKeySym): adjust
3074         (getStatus): delete version that takes an int.
3075         (getStatus): adjust
3076         (dispatch): delete version that takes action as int
3077         (dispatch): adjust
3078         (sendDispatchMessage): simplify and adjust
3079
3080         * funcrequest.C (getArg): take unsigned int as arg
3081
3082         * ToolbarBackend.C (read): adjust
3083         (add): delete version that takes func as a string.
3084         (getIton): take a FuncRequest as arg
3085
3086         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3087         action.
3088
3089         * MenuBackend.C (MenuItem): add a new construct that only takes a
3090         Kind, simplify the constructor use for submenus.
3091         (add): adjust
3092         (expandLastfiles): adjust
3093         (expandDocuments): adjust
3094         (expandFormats): adjust
3095         (expandFloatListInsert): adjust
3096         (expandFloatInsert): adjust
3097         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3098
3099         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3100         Remove class variables lyx_pseudo_map and lyx_arg_map
3101
3102         * LyXAction.C (searchActionArg): delete function
3103         (getPseudoAction): delete function
3104         (retrieveActionArg): delete function
3105         (LookupFunc): make it return kb_action, simplify.
3106         (getActionName): simplify
3107
3108         * factory.C (createInset): fix new bug
3109
3110 2003-09-19  Angus Leeming  <leeming@lyx.org>
3111
3112         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3113         masterFilename_ parameter in the include inset.
3114
3115         * factory.C (createInset): changes due to the changes to InsetInclude.
3116
3117 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3118
3119         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3120
3121 2003-09-18  Angus Leeming  <leeming@lyx.org>
3122
3123         * buffer.C:
3124         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3125         Inset::fillWithBibKeys.
3126         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3127
3128 2003-09-18  Angus Leeming  <leeming@lyx.org>
3129
3130         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3131         variables.
3132         (ctor): pass and store a 'Buffer const &'
3133         (buffer): new member function.
3134
3135         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3136         '*this' to the LaTeXFeatures ctor.
3137
3138 2003-09-18  Angus Leeming  <leeming@lyx.org>
3139
3140         * LColor.h:
3141         * lyxfont.C:
3142         * lyxfont.h:
3143         * lyxtext.h:
3144         * text.C: rename EnumLColor as LColor_color.
3145
3146 2003-09-18  Angus Leeming  <leeming@lyx.org>
3147
3148         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3149         remove #include "insets/insetbase.h" from cursor.h.
3150
3151 2003-09-18  Angus Leeming  <leeming@lyx.org>
3152
3153         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3154         InsetOld_code to remove #include "inset.h".
3155
3156         * iterators.C: add #include "insets/inset.h"
3157
3158 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3159
3160         * BufferView.C: remove more locking stuff that apparently doesn't
3161         do anything sensible.
3162
3163 2003-09-16  André Pönitz  <poenitz@gmx.net>
3164
3165         * paragraph.[Ch]:
3166         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3167           performance boost.
3168
3169 2003-09-16  Angus Leeming  <leeming@lyx.org>
3170
3171         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3172
3173         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3174         arg/return type.
3175
3176         * paragraph.h: remove #include "lyxfont.h". Forward declare
3177         LyXFont_size.
3178
3179 2003-09-16  Angus Leeming  <leeming@lyx.org>
3180
3181         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3182         of support/textutils.h.
3183         (isWord): move the contents of support/textutils.h's IsWordChar here.
3184
3185         * buffer.C:
3186         * lyxfind.C:
3187         * rowpainter.C:
3188         * text.C:
3189         * text2.C: add #include "paragraph.h".
3190
3191         * rowpainter.C:
3192         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3193
3194 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * main.C:
3197         * lyx_main.C:
3198         * lyx_cb.C:
3199         * buffer.C:
3200         * LaTeX.C: use namespace alias for lyx::support::os
3201
3202 2003-09-16  Angus Leeming  <leeming@lyx.org>
3203
3204         * bufferparams.C:
3205         * bufferview_funcs.C:
3206         * factory.C:
3207         * lyxfunc.C:
3208         * paragraph_pimpl.C:
3209         * rowpainter.C:
3210         * text.C: add #include "LColor.h".
3211
3212 2003-09-16  Angus Leeming  <leeming@lyx.org>
3213
3214         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3215         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3216         return LyXFont &.
3217         Store the FontBits::color variable as an int rather than as an
3218         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3219         file.
3220
3221         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3222         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3223         string calls together.
3224
3225         * lyxrc.C: add #include "LColor.h".
3226
3227 2003-09-15  Angus Leeming  <leeming@lyx.org>
3228
3229         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3230         a cow_ptr.
3231
3232 2003-09-15  Angus Leeming  <leeming@lyx.org>
3233
3234         * LColor.h: add an EnumLColor wrapper for LColor::color.
3235
3236         * lyxfont.[Ch] (color, setColor, realColor):
3237         * lyxtext.h, text.C (backgroundColor):
3238         pass EnumLColor args to/from the functions, rather than LColor::color
3239         ones.
3240
3241         * lyxfont.h:
3242         * lyxtext.h: forward declare EnumLColor.
3243
3244         * lyx_main.C: add #include "LColor.h".
3245
3246 2003-09-15  Angus Leeming  <leeming@lyx.org>
3247
3248         * .cvsignore: add lyx-gtk.
3249
3250 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * Chktex.C
3253         * LaTeX.C
3254         * LaTeXFeatures.C
3255         * ParagraphParameters.C
3256         * Spacing.C
3257         * buffer.C
3258         * bufferparams.C
3259         * bufferview_funcs.C
3260         * chset.C
3261         * counters.C
3262         * funcrequest.C
3263         * lyxfont.C
3264         * lyxgluelength.C
3265         * lyxlength.C
3266         * paragraph.C
3267         * paragraph_funcs.C
3268         * text3.C
3269         * vc-backend.C: remove usage of STRCONV
3270
3271 2003-09-15  Angus Leeming  <leeming@lyx.org>
3272
3273         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3274         explicitly define the color passed to the painter.
3275
3276 2003-09-15  Angus Leeming  <leeming@lyx.org>
3277
3278         * bufferparams.C (BufferParams): reorder member initializers to avoid
3279         compiler warning.
3280
3281 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3282
3283         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3284         * text.C (updateRowPositions): remove an unusual nop
3285
3286 2003-09-12  André Pönitz  <poenitz@gmx.net>
3287
3288         * BufferView_pimpl.C:
3289         * Bullet.C:
3290         * layout.h:
3291         * lyxfunc.C:
3292         * lyxlayout.[Ch]:
3293         * lyxtextclass.C:
3294         * rowpainter.C:
3295         * text.C:
3296         * text2.C:
3297         * Counters.[Ch]: finish the 'automatic counters' job
3298
3299 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3300
3301         * aspell.C: include <boost/assert.cpp> (compile fix)
3302
3303 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3304
3305         * boost.C (assertion_failed): use lyx::support::abort instead of
3306         assert.
3307
3308 2003-09-10  Angus Leeming  <leeming@lyx.org>
3309
3310         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3311         with their _fwd progeny.
3312
3313 2003-09-09  Angus Leeming  <leeming@lyx.org>
3314
3315         134 files throughtout the source tree: replace 'using namespace abc;'
3316         directives with the appropriate 'using abc::xyz;' declarations.
3317
3318 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3319
3320         * boost.C (emergencyCleanup): moved here from LAssert.c
3321         (assertion_failed): new function, called by BOOST_ASSERT
3322
3323         * several files: change Assert to BOOST_ASSERT
3324
3325 2003-09-09  Angus Leeming  <leeming@lyx.org>
3326
3327         * buffer.[Ch]: Add an Impl class and move Buffer's member
3328         variables into it. As a result move several header files out of
3329         buffer.h.
3330
3331         Add header files to lots of .C files all over the tree as a result.
3332
3333 2003-09-09  Angus Leeming  <leeming@lyx.org>
3334
3335         * buffer.[Ch]: make Buffer's member variables private. Add
3336         accessor functions.
3337
3338         Lots of changes all over the tree as a result.
3339
3340 2003-09-08  Angus Leeming  <leeming@lyx.org>
3341
3342         * graph.C: #include <config.h>.
3343
3344 2003-09-08  Angus Leeming  <leeming@lyx.org>
3345
3346         * BranchList.C:
3347         * BufferView.C:
3348         * BufferView_pimpl.C:
3349         * CutAndPaste.C:
3350         * DepTable.C:
3351         * LaTeX.C:
3352         * LaTeXFeatures.C:
3353         * LyXAction.C:
3354         * MenuBackend.C:
3355         * TextCache.C:
3356         * aspell.C:
3357         * buffer.C:
3358         * bufferlist.C:
3359         * changes.C:
3360         * chset.C:
3361         * converter.C:
3362         * counters.C:
3363         * debug.C:
3364         * graph.C:
3365         * ispell.C:
3366         * lyx_cb.C:
3367         * lyxfind.C:
3368         * lyxfunc.C:
3369         * lyxlex_pimpl.C:
3370         * lyxrc.C:
3371         * lyxrow.C:
3372         * paragraph.C:
3373         * rowpainter.C:
3374         * texrow.C:
3375         * text.C:
3376         * text2.C:
3377         * toc.C: remove redundant using directives.
3378
3379 2003-09-07  Angus Leeming  <leeming@lyx.org>
3380
3381         * LaTeXFeatures.h: remove #include "support/types.h".
3382         * ToolbarBackend.h: remove #include <algorithm>.
3383         * changes.h: remove #include <ctime>.
3384         * debug.h: remove #include <iosfwd>.
3385         * graph.h: remove #include "support/std_string.h".
3386         * lyx_main.h: remove #include <csignal>.
3387         * lyxlex_pimpl.h: remove #include <fstream>.
3388         * sgml.h: remove #include <algorithm>, <utility>.
3389         * toc.h: remove #include "support/std_ostream.h".
3390         Add #include <iosfwd>.
3391
3392 2003-09-07  Angus Leeming  <leeming@lyx.org>
3393
3394         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3395
3396         * converter.h: forward declare LatexRunParams.
3397         * encoding.h: remove #include "lyxrc.h".
3398         * lyxtext.h: remove #include "LColor.h".
3399         * lyxtextclass.h: remove #include "support/types.h".
3400         * trans.h: remove #include "tex-accent.h".
3401         * trans_mgr.h: remove #include "tex-accent.h".
3402         * insets/inset.h: remove #include "support/types.h", <vector>.
3403         * insets/insetcollapsable.h: remove #include "LColor.h".
3404         * insets/insetinclude.h: remove #include "dimension.h".
3405         * insets/insetlatexaccent.h: remove #include "dimension.h".
3406         * insets/insetoptarg.h:: remove #include "insettext.h".
3407         * insets/insettext.h: remove #include "dimension.h",
3408         <boost/shared_ptr.hpp>
3409
3410         * insets/renderers.h: add #include "dimension.h".
3411         * insets/updatableinset.h: add #include "support/types.h".
3412
3413         * many .C files: Associated changes.
3414
3415 2003-09-06  Angus Leeming  <leeming@lyx.org>
3416
3417         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3418         one, inside testInvariant.
3419
3420         * PrinterParams.C: new file.
3421         * PrinterParams.[Ch]: move the function bodies out of line.
3422
3423 2003-09-06  Angus Leeming  <leeming@lyx.org>
3424
3425         * ParagraphParameters.h: forward declare ParameterStruct rather than
3426         including its header file.
3427         (depth): moved out-of-line.
3428
3429 2003-09-06  Angus Leeming  <leeming@lyx.org>
3430
3431         * BufferView_pimpl.h:
3432         * kbmap.h:
3433         * kbsequence.h:
3434         * lyxfunc.h: forward declare LyXKeySym rather than
3435         #include "frontends/LyXKeySym.h".
3436
3437         * BufferView_pimpl.C:
3438         * kbmap.C:
3439         * kbsequence.C:
3440         * lyxfunc.C: associated changes.
3441
3442 2003-09-06  Angus Leeming  <leeming@lyx.org>
3443
3444         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3445         As a result, can remove the #include "insets/inset.h" from BufferView.h
3446
3447 2003-09-06  Angus Leeming  <leeming@lyx.org>
3448
3449         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3450         As a result, can remove the #include "insets/inset.h" from BufferView.h
3451
3452 2003-09-06  Angus Leeming  <leeming@lyx.org>
3453
3454         * buffer_funcs.C:
3455         * buffer.h:
3456         * bufferlist.C:
3457         * BufferView.C:
3458         * bufferview_funcs.C:
3459         * BufferView_pimpl.C:
3460         * CutAndPaste.C:
3461         * lyx_cb.C:
3462         * lyxfunc.C:
3463         * paragraph.h:
3464         * ParagraphParameters.C:
3465         * tabular.C:
3466         * text3.C:
3467         * toc.C:
3468         * undo_funcs.C:
3469         * frontends/controllers/ControlDocument.C:
3470         * insets/insetcaption.C: rearrange the #includes into some sort of
3471         coherent order.
3472
3473         * buffer.h: remove #includes ErrorList.h, undo.h
3474
3475 2003-09-06  Angus Leeming  <leeming@lyx.org>
3476
3477         * support/types.h: add a 'depth_type' typedef, used to store the
3478         nesting depth of a paragraph.
3479
3480         * paragraph.h:
3481         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3482         defining explicitly.
3483
3484         * buffer.h:
3485         * paragraph_funcs.h:
3486         * ParagraphParameters.h:
3487         * sgml.h: use lyx::depth_type rather than Paragraph or
3488         ParameterStruct's depth_type.
3489
3490         * buffer.h
3491         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3492
3493         * BufferView.C:
3494         * BufferView_pimpl.C:
3495         * CutAndPaste.C:
3496         * ParagraphParameters.C:
3497         * buffer_funcs.C:
3498         * bufferlist.C:
3499         * bufferview_funcs.C:
3500         * lyx_cb.C:
3501         * lyxfunc.C:
3502         * tabular.C:
3503         * text3.C:
3504         * toc.C:
3505         * undo_funcs.C:
3506         * frontends/LyXView.C:
3507         * frontends/controllers/ControlDocument.C:
3508         * frontends/controllers/ControlErrorList.C:
3509         * insets/insetbibitem.C:
3510         * insets/insetbranch.C:
3511         * insets/insetcaption.C:
3512         * insets/insetcollapsable.C:
3513         * insets/insetenv.C:
3514         * insets/insetert.C:
3515         * insets/insetfloat.C:
3516         * insets/insetfoot.C:
3517         * insets/insetfootlike.C:
3518         * insets/insetnewline.C:
3519         * insets/insetquotes.C:
3520         * insets/insettabular.C:
3521         * insets/insettext.C:
3522         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3523
3524         * frontends/controllers/ControlChanges.C: #include "changes.h".
3525
3526 2003-09-06  Angus Leeming  <leeming@lyx.org>
3527
3528         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3529         than #including paragraph.h.
3530
3531         * ParagraphList.h:
3532         * RowList.h: deleted. Superfluous.
3533
3534         * CutAndPaste.h:
3535         * iterators.h:
3536         * lyxcursor.h:
3537         * lyxtext.h:
3538         * text_funcs.h:
3539         * undo.h:
3540         * undo_funcs.h:
3541         * insets/inset.h:
3542         * insets/insettext.h: use ParagraphList_fwd.h rather than
3543         ParagraphList.h.
3544
3545         * paragraph.h: don't forward declare ParagraphList.
3546
3547         * buffer.h:
3548         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3549         rather than ParagraphList.h. paragraph.h is still needed for the
3550         Paragraph::depth_type parameters.
3551
3552         * textcursor.h: enable it to compile stand-alone in light of the
3553         above changes.
3554
3555         * bufferview_funcs.C:
3556         * iterators.C:
3557         * lyxfunc.C:
3558         * lyxrow_funcs.C:
3559         * paragraph.C:
3560         * rowpainter.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C:
3564         * text_funcs.C:
3565         * textcursor.C:
3566         * undo.C:
3567         * frontends/controllers/ControlParagraph.C:
3568         * frontends/controllers/ControlTabular.C:
3569         * insets/insetmarginal.C:
3570         * insets/insetminipage.C:
3571         * insets/insetnote.C:
3572         * insets/insetoptarg.C: add header files needed to compile again.
3573
3574 2003-09-06  Angus Leeming  <leeming@lyx.org>
3575
3576         * RowList_fwd.h: new file, forward-declaring Row rather than
3577         #including lyxrow.h.
3578
3579         * lyxrow_funcs.h:
3580         * lyxtext.h:
3581         * paragraph.h:
3582         * insets/insettext.h: use it instead of RowList.h
3583
3584         * bufferview_funcs.C:
3585         * lyxfunc.C:
3586         * lyxrow_funcs.C:
3587         * paragraph.C:
3588         * rowpainter.C:
3589         * text.C:
3590         * text2.C:
3591         * text3.C: #include "RowList.h".
3592
3593 2003-09-05  Angus Leeming  <leeming@lyx.org>
3594
3595         * factory.C (createInset):
3596         * vspace.C (c-tor): replace sscanf call with an istringstream.
3597         * ispell.C: re-add missing HP/UX headers.
3598         * lyxserver.C: re-add missing  os2 headers.
3599
3600 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3601
3602         * BranchList.C:
3603         * graph.C:
3604         * ispell.C:
3605         * lastfiles.C:
3606         * lyx_cb.C:
3607         * lyxserver.C:
3608         * texrow.C:
3609         * text3.C: re-add missing system headers, needed for 2.95.2.
3610
3611 2003-09-05  Angus Leeming  <leeming@lyx.org>
3612
3613         Changes most place everywhere due to the removal of using directives
3614         from support/std_sstream.h.
3615
3616 2003-09-05  Angus Leeming  <leeming@lyx.org>
3617
3618         Replace LString.h with support/std_string.h,
3619         Lsstream.h with support/std_sstream.h,
3620         support/LIstream.h with support/std_istream.h,
3621         support/LOstream.h with support/std_ostream.h.
3622
3623         Changes resulting throughout the tree.
3624
3625 2003-09-05  Angus Leeming  <leeming@lyx.org>
3626
3627         * sgml.h: ensure that the header file can be compiled stand-alone.
3628         * *.C: strip out redundant #includes. (320 in total.)
3629
3630 2003-09-04  Angus Leeming  <leeming@lyx.org>
3631
3632         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3633         here (from getPackages).
3634
3635         * debug.[Ch]: add a new EXTERNAL tag.
3636
3637 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3638
3639         * text2.C (cursorEnd): simplify
3640         (setCursor): adjust
3641         (getColumnNearX): adjust
3642
3643         * text.C (computeBidiTables): adjust
3644         (fill): adjust
3645
3646         * rowpainter.C (paintChars): adjust
3647         (paintSelection): adjust
3648         (paintChangeBar): adjust
3649         (paintText): adjust
3650
3651         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3652         lastPos instead.
3653         (numberOfSeparators): adjust
3654
3655 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3656
3657         * LyXAction.C:
3658         * box.[Ch]:
3659         * lfuns.h:
3660         * lyxfunc.C:
3661         * text3.C: Restricts the mouse click functionality
3662         of insets like bibtex, include, toc and floatlist to the visible
3663         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3664         up the dialogs. Cursor has to be in front of the inset (i.e.
3665         start of row) for this to function.
3666
3667 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3668
3669         * bufferview_funcs.C (currentState): output row information
3670
3671 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3672
3673         * bufferview_funcs.C (currentState): output paragraph position
3674
3675 2003-09-04  Angus Leeming  <leeming@lyx.org>
3676
3677         * FloatList.h: move out #include "Floating.h".
3678         * LaTeX.h: move out #include "DepTable.h".
3679         * LyXAction.h: move out #include "funcrequest.h".
3680         * buffer.h: move out #include "author.h", "iterators.h".
3681         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3682         * lyx_main.h: move out #include "errorlist.h".
3683         * lyxfunc.h: move out #include "FuncStatus.h".
3684         * lyxtext: move out #include "lyxcursor.h".
3685         * paragraph_pimpl.h: move out #include "counters.h".
3686
3687 2003-09-03  Angus Leeming  <leeming@lyx.org>
3688
3689         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3690         preamble_snippets list, enabling us to add snippets to the preamble
3691         only if the snippet was not there already.
3692
3693 2003-09-04  Angus Leeming  <leeming@lyx.org>
3694
3695         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3696
3697 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3700         update
3701
3702 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3703
3704         * BranchList.C: point fix, earlier forgotten
3705
3706 2003-09-02  Angus Leeming  <leeming@lyx.org>
3707
3708         * box.C (contains): renamed from 'contained' after a fantastic
3709         amount of hot air.
3710
3711 2003-09-02  John Levon  <levon@movementarian.org>
3712
3713         * BufferView.C:
3714         * lyxcursor.h:
3715         * lyxcursor.C:
3716         * lyxfunc.C:
3717         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3718
3719 2003-09-02  John Levon  <levon@movementarian.org>
3720
3721         * text2.C: simplification of cursorEnd(), including partial
3722         fix for bug 1376
3723
3724 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * buffer.C (readFile): add a space
3727
3728 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3731
3732 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * buffer.C (readFile): new function, take a filename and a
3735         ParagraphList::iterator
3736         (readFile): adjust
3737         (readFile): adjust, make it private. don't use setStream, make
3738         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3739         always contain the filename.
3740
3741         * BufferView.C (insertLyXFile): simplify and make it work for
3742         gzipped files.
3743
3744 2003-08-30  John Levon  <levon@movementarian.org>
3745
3746         * Makefile.am: fix dist (from Kayvan)
3747
3748 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * most files: change to use const Buffer refs
3751
3752 2003-08-27  André Pönitz  <poenitz@gmx.net>
3753
3754         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3755         on top of ownerPar().
3756
3757 2003-08-27  John Levon  <levon@movementarian.org>
3758
3759         * funcrequest.C: properly initialise POD members
3760
3761 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * lyxtext.h (top_y): move top_y from here
3764         * text.C:
3765         * text2.C:
3766         * text3.C:
3767         * BufferView.[Ch]:
3768         * BufferView_pimpl.[Ch]: to here
3769         * frontends/screen.C:
3770         * insets/insettabular.C:
3771         * insets/insettext.C: adjust
3772         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3773
3774 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * BufferView.[Ch]:
3777         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3778
3779 2003-08-26  André Pönitz  <poenitz@gmx.net>
3780
3781         * paragraph_func.[Ch] (outerPar): new function
3782
3783         * paragraph.C:
3784         * paragraph_funcs.C:
3785         * paragraph_funcs.h:
3786         * paragraph_pimpl.C:
3787         * text2.C: remove Inset::par_owner
3788
3789 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3790
3791         * lyxrow_funcs.C:
3792         * lyxtext.h:
3793         * text.C:
3794         * text2.C: eliminates the needFullRow/display() stuff
3795         altogether, putting the logic in metrics/draw in the insets.
3796
3797 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * text2.C (redoParagraphInternal, redoParagraphs):
3800         * text.C (redoParagraph): add a call to updateRowPositions at the
3801         end of each 'metrics-like' call. Remove all others.
3802         (getRow): remove the 'y-computing' version.
3803         (getRowNearY): do not compute nor return the real y. Solve the
3804         'y < 0' problem and simplify.
3805
3806 2003-08-22  Angus Leeming  <leeming@lyx.org>
3807
3808         * *.[Ch]: clean-up of licence and author blurbs.
3809         Also move config.h out of a few .h files and into a few .C files.
3810
3811 2003-08-22  André Pönitz  <poenitz@gmx.net>
3812
3813         * lyxrow.[Ch]: add x_ and *fill_ members
3814
3815         * lyxtext.h:
3816         * text.C:
3817         * rowpainter.C:
3818         * text2.C: adjust/remove prepareToPrint() calls
3819
3820 2003-08-22  André Pönitz  <poenitz@gmx.net>
3821
3822         * lyxrow.[Ch]: add  end_ member
3823
3824         * lyxrow_funcs.C: use LyXRow::end_
3825
3826         * lyxtext.h (singleWidth): add LyXFont parameter
3827
3828         * rowpainter.C:
3829         * text2.C: adjust LyXText::singleWidth() calls
3830
3831         * text.C (redoParagraph): simplify row breaking logic
3832
3833
3834 2003-08-19  André Pönitz  <poenitz@gmx.net>
3835
3836         * funcrequest.C: initialize button_ member
3837
3838         * text3.C:
3839         * rowpainter.[Ch]: interface consolidation
3840
3841 2003-08-18  André Pönitz  <poenitz@gmx.net>
3842
3843         * BufferView.C:
3844         * BufferView_pimpl.C:
3845         * lyxfind.C:
3846         * paragraph_funcs.C:
3847         * rowpainter.C:
3848         * text3.C: remove LyXScreen::draw() and fitCursor calls
3849
3850         * BranchList.h: remove spurious semicolons
3851
3852         * MenuBackend.C: fix branchlist related crash
3853
3854 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3855
3856         * BranchList.[Ch]:
3857         * InsetList.[Ch]:
3858         * LColor.[Ch]:
3859         * LyXAction.C:
3860         * Makefile.am:
3861         * MenuBackend.[Ch]:
3862         * bufferparams.[Ch]:
3863         * factory.C:
3864         * lfuns.h:
3865         * lyxfunc.C:
3866         * text3.C: implements the 'branch inset'
3867         idea. This allows the output of various versions of a document
3868         from a single source version, selectively outputing or suppressing
3869         output of parts of the text.
3870         This implementation contains a 'branch list editor' in a separate
3871         tab of the document settings dialog. Branches are user definable
3872         and have a "display colour" to distinguish them on-screen.
3873
3874         ColorHandler was somewhat cleaned up.
3875         (1) make possible a dynamically growing LColor list by allowing
3876         the graphic context cache to grow along (vector);
3877         (2) eliminate an IMHO unnecessary step in colour allocation.
3878
3879 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3880
3881         * BufferView_pimpl.C: compile fix
3882
3883 2003-08-15  André Pönitz  <poenitz@gmx.net>
3884
3885         * rowpainter.C: remove extra metrics calls
3886
3887         * lyxtext.h: merge the two constructors into a single one,
3888           pass reference to owner's par list
3889
3890         * BufferView_pimpl.C:
3891         * text.C:
3892         * text2.C: adjust
3893
3894 2003-08-15  André Pönitz  <poenitz@gmx.net>
3895
3896         * lyxrow_funcs.[Ch]:
3897         * lyxtext.h:
3898         * paragraph.h:
3899         * paragraph_funcs.C:
3900         * rowpainter.C:
3901         * text.C:
3902         * text2.C:
3903         * text3.C:
3904         * text_funcs.C: split LyXText::rowlist_ into individual
3905         Paragraph::rows_ chunks
3906
3907         * BufferView.[Ch]:
3908         * BufferView_pimpl.[Ch]:
3909         * lyxfind.C:
3910         * lyxtext.h:
3911         * text3.C: remove toggleSelection()
3912
3913 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3914
3915         * bufferlist.C: beautify two alerts (shorter text of buttons)
3916         * buffer.C: Remove redundant ' ' from message
3917         * tabular.h:
3918         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3919         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3920         rename VALIGN_CENTER to VALIGN_MIDDLE
3921
3922 2003-08-11  André Pönitz  <poenitz@gmx.net>
3923
3924         * lyxtext.h (getPar):
3925         * text.C: new function
3926
3927 2003-08-11  André Pönitz  <poenitz@gmx.net>
3928
3929         * Makefile.am:
3930         * tracer.[Ch]: remove unneeded files
3931
3932         * InsetList.[Ch]: remove resizeInsetsLyXText()
3933
3934         * lyxtext.h:
3935         * text.C:
3936         * text2.C:
3937         * text3.C: merge insertParagraphs() and appendParagraph()
3938         remove breakAgain(), update()
3939
3940         * BufferView_pimpl.[Ch]:
3941         * bufferview_funcs.[Ch]:
3942         * lyxfunc.C:
3943         * paragraph.[Ch]:
3944         * rowpainter.C:
3945         * tabular.C: adjust after text & InsetList changes.
3946
3947 2003-08-08  André Pönitz  <poenitz@gmx.net>
3948
3949         * text.C (insertChar, backspace): replace rowlist fiddling
3950         with rebreak of full par
3951
3952         * lyxtext.h:
3953         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3954         checkParagraph, updateInset): removed
3955
3956 2003-08-07  André Pönitz  <poenitz@gmx.net>
3957
3958         * paragraph.C:
3959         * text3.C: merge some LFUN handlers, remove dead code
3960
3961 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3962
3963         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3964
3965 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3966
3967         * text2.C (DEPM): fix part of bug 1255 and 1256
3968
3969 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3970
3971         * BufferView_pimpl.C (workAreaDispatch): change to use
3972         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3973         that are no mouse related.
3974
3975 2003-08-05  André Pönitz  <poenitz@gmx.net>
3976
3977         * BufferView.[Ch]:
3978         * BufferView_pimpl.[Ch]:
3979         * bufferview_funcs.C:
3980         * text2.C:
3981         * text3.C: rip out "deep update"
3982
3983         * textcursor.[Ch] (last_sel_cursor): remove unused member
3984
3985 2003-08-04  André Pönitz  <poenitz@gmx.net>
3986
3987         * BufferView.[Ch]:
3988         * BufferView_pimpl.[Ch]:
3989         * ParagraphParameters.C:
3990         * bufferview_funcs.C:
3991         * lyx_cb.C:
3992         * lyxfind.C:
3993         * lyxfunc.C:
3994         * text.C:
3995         * text2.C:
3996         * text3.C: replace "complicated" BufferView::update(...) calls with
3997         simpler ones.
3998
3999         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4000
4001 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4002
4003         * Makefile.am (lyx_SOURCES): add paper.h
4004
4005 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4006
4007         * Makefile.am: move things around so that both lyx-qt and
4008         lyx-xforms can be built (according to --with-frontend). Then lyx
4009         is a symbolic link to lyx-[firstfrontend]
4010
4011 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4012
4013         * Always use std::endl with lyxerr
4014
4015 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4016
4017         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4018
4019 2003-08-01  André Pönitz  <poenitz@gmx.net>
4020
4021         * BufferView.[Ch]:
4022         * BufferView_pimpl.[Ch]:
4023         * lyxfunc.C:
4024         * text3.C: merge BufferView::repaint() and BufferView::update()
4025
4026 2003-08-01  José Matos  <jamatos@lyx.org>
4027
4028         * buffer.[Ch]: file_format is no longer a buffer data element.
4029
4030 2003-08-01  André Pönitz  <poenitz@gmx.net>
4031
4032         * BufferView.C:
4033         * lyxtext.h:
4034         * text.C:
4035         * text2.C: make redoParagraph more independent of current cursor
4036
4037         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4038         * text.C:
4039         * text2.C: remove unneeded members
4040
4041 2003-07-30  André Pönitz  <poenitz@gmx.net>
4042
4043         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4044
4045         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4046           create a single function...
4047
4048         * paragraph_funcs.C (moveItem): ... here.
4049
4050         * text.C:
4051           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4052
4053 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4054
4055         * LColor.[Ch]: Add comment and greyedout logical colors.
4056
4057 2003-07-30  André Pönitz  <poenitz@gmx.net>
4058
4059         * tabular.C: don't use Assert too heavily. This crashes where it
4060           shouldn't
4061
4062 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4063
4064         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4065         is disabled (bug 1232)
4066
4067 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4068
4069         * factory.C: limited 'arg' scope
4070
4071 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4072
4073         * factory.C: fixed Note submenu issues
4074
4075 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4076
4077         * factory.C: submenu for Note/Comment/Greyedout
4078
4079 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4080
4081         * lyx_main.C (LyX):
4082         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4083
4084 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * LaTeXFeatures.C:
4087         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4088         greyedout. Patch provided by Jürgen Spitzmüller.
4089
4090 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4091
4092         * kbmap.C (read): fix error message when reading bind files
4093
4094 2003-07-29  Angus Leeming  <leeming@lyx.org>
4095
4096         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4097         certainly does not do what it purports to do. I am doing it, and
4098         us, a favour by killing it.
4099
4100 2003-07-28  José Matos  <jamatos@lyx.org>
4101
4102         * buffer.C (readBody, do_writeFile):
4103         * paragraph.C(readParagraph): \end_document replaces \the_end.
4104
4105 2003-07-29  André Pönitz  <poenitz@gmx.net>
4106
4107         * BufferView.[Ch]:
4108         * BufferView_pimpl.[Ch]:
4109         * lyxfunc.C:
4110         * text2.C:
4111         * text3.C:
4112         * textcursor.[Ch]: remove toggleToggle & Co
4113
4114 2003-07-28  José Matos  <jamatos@fep.up.pt>
4115
4116         * buffer.C (readParagraph):
4117         * params_func (readParToken, readParagraph):
4118         * paragraph.C (write): \layout -> \begin_layout.
4119
4120 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * lyxlex_pimpl.C (setFile): clean up slightly.
4123
4124         * bufferparams.h: add compressed var
4125
4126         * buffer_funcs.C (readFile): adjust for LyXLex change
4127         (newFile): ditto + simplify
4128
4129         * buffer.C (writeFile): handle writing of compressed files
4130
4131         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4132         Check if the file is compressed and set a bufferparm if so.
4133
4134         * Makefile.am (lyx_LDADD): remove explicit -lz
4135
4136 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4137
4138         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4139         makeDocBookFile): put the real LyX version in the first line of
4140         the file
4141
4142         * version.h:
4143         * version.C.in: remove lyx_docversion
4144
4145         * tabular.C (write_attribute): add a template-based version to
4146         write enums properly
4147
4148 2003-07-28  André Pönitz  <poenitz@gmx.net>
4149
4150         * lyxtext.h:
4151         * text.C:
4152         * text2.C:
4153         * text3.C: use doubles again for x-coordinates. They are needed.
4154
4155 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * messages.C (getLocaleDir): use lyx_localedir()
4158
4159         * lyxlex_pimpl.C (setFile): compress stuff
4160
4161         * buffer.C (writeFile): add some compression stuff
4162         (do_writeFile): new func, dont call expliti close... will this
4163         breake anything?
4164
4165         * Makefile.am (lyx_LDADD): add -lz
4166
4167 2003-07-28  José Matos  <jamatos@fep.up.pt>
4168
4169         * buffer.C: increment file format.
4170         * paragraph_funcs (readParagraph, readParToken):
4171         * paragraph.C (readParagraph): add \end_layout.
4172
4173 2003-07-27  Angus Leeming  <leeming@lyx.org>
4174
4175         * Makefile.am: remove special casing for configure-time setting of
4176         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4177
4178         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4179         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4180
4181 2003-07-26  André Pönitz  <poenitz@gmx.net>
4182
4183         * paragraph_func.[Ch]:
4184         * paragraph.C (realizeFont): inline it whereever it is used
4185
4186         * rowpainter.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4190
4191
4192 2003-07-26  André Pönitz  <poenitz@gmx.net>
4193
4194         *       lyxtext.h:
4195         * text.C:
4196         * text2.C: get rid of LyXText::need_break_row
4197
4198 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * toc.[Ch]: put namespace toc inside namespace lyx
4201
4202         * MenuBackend.C (expandToc2): adjust for lyx::toc
4203         (expandToc): ditto
4204
4205         * lyxfunc.C (dispatch): adjust for lyx::find
4206
4207         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4208         lyx::find instead. Reorganize a bit.
4209         (LyXReplace): rename to replace
4210         (LyXFind): rename to find
4211
4212         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4213         (dispatch): ditto
4214
4215 2003-07-26  André Pönitz  <poenitz@gmx.net>
4216
4217         * text.C (setHeightOfRow): restrict scope of temporary variable
4218
4219         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4220           code (never has been used?)
4221
4222 2003-07-27  Asger Alstrup  <alstrup@local>
4223
4224         * text.C (fill): Optimise algorithm to exploit that we can reuse
4225         the LyXFont for many characters.
4226         (setHeightOfRow): Same thing.
4227         (rowBreakPoint): Same thing.
4228
4229 2003-07-26  Asger Alstrup  <alstrup@local>
4230
4231         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4232
4233         * text.C (singleWidth): Spurious font copying in hot-spot
4234         singleWidth avoided. Reorder tests for arabic for efficiency.
4235
4236         * text.C (fill): handle empty paragraphs better.
4237
4238 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4239
4240         * ispell.C:
4241         * encoding.h: add includes
4242
4243         * lyxrc.C: remove reading of bind files
4244
4245         * lyx_main.C (init): setup bindings and menus only if we have a
4246         gui.
4247
4248         * kbmap.C (read): new method. Do the actual reading of bind
4249         files.
4250
4251         * converter.C (dvipdfm_options):
4252         * bufferparams.C:
4253         * lyxrc.C (read):
4254         (output): adapt PAPER_* enums.
4255
4256         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4257
4258         * bufferparams.h: remove paper-related enums from there
4259
4260         * paper.h: New file. A trivial header file to hold paper-related
4261         enums. It should later expand to contain many paper-related
4262         horrors access.
4263
4264         * lyxrc.C: declare extern displayTranslator
4265
4266 2003-07-27  José Matos  <jamatos@fep.up.pt>
4267
4268         * tabular.[Ch] (linuxdoc): add support for tables and figures
4269         (linuxdoc).
4270
4271 2003-07-27  José Matos  <jamatos@fep.up.pt>
4272
4273         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4274         consistency in both functions.
4275         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4276
4277 2003-07-26  Asger Alstrup  <alstrup@local>
4278
4279         * rowpainter.C (paintRows): Change algorithm to work directly on
4280         the insets rather than asking every character in the document
4281         whether its an inset.
4282
4283 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * buffer.C (openFileWrite): factorize some code
4286
4287 2003-07-26  Angus Leeming  <leeming@lyx.org>
4288
4289         * lyx_cb.C:
4290         * lyx_main.[Ch]: replace occurances of system_tempdir with
4291         os::getTmpDir().
4292
4293 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * rename Inset to InsetOld
4296
4297 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4298
4299         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4300         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4301         which I think is a bit clearer. EDIT is gone, since it was
4302         premature optimisation, and broken for mathed anyway.
4303         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4304         with cursor positioning in insets as well (math insets still do not
4305         work, but that's a different story anyway.) It mysteriously
4306         crashes sometimes with undo in the first paragraph, but I'm fairly
4307         confident that this is a compiler bug.
4308
4309 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * paragraph.C (Paragraph): adjust for new clone return type
4312         (operator==): ditto
4313         (copyIntoMinibuffer): ditto
4314
4315 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4316
4317         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4318         by not having a special case, and always doing a full rebreak of
4319         the document after undo.
4320
4321 2003-07-23  Angus Leeming  <leeming@lyx.org>
4322
4323         * factory.C (createInset): InsetExternal::setParams now takes a
4324         Buffer const * arg.
4325
4326 2003-07-23  Angus Leeming  <leeming@lyx.org>
4327
4328         * factory.C (createInset): changed interface to the external and
4329         graphics mailers' string2params functions.
4330
4331 2003-07-23  Angus Leeming  <leeming@lyx.org>
4332
4333         * factory.C (createInset): pass a
4334         Buffer const * parameter to InsetExternalMailer's string2params.
4335
4336 2003-07-22  John Levon  <levon@movementarian.org>
4337
4338         * Thesaurus.h: include the right aiksaurus header
4339
4340 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4341
4342         * MenuBackend.C (expand): check menu shortcuts unconditionally
4343
4344 2003-07-21  Angus Leeming  <leeming@lyx.org>
4345
4346         * factory.C (createInset): pass a
4347         buffer_path parameter to InsetGraphicsMailer's string2params.
4348
4349 2003-07-21  Angus Leeming  <leeming@lyx.org>
4350
4351         * BufferView_pimpl.C (buffer):
4352         * buffer.C (d-tor):
4353         * lyx_main.C (LyX):
4354         * lyxfunc.C (dispatch):
4355         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4356         rather than the grfx shortcut.
4357
4358 2003-07-21  André Pönitz  <poenitz@gmx.net>
4359
4360         * rowpainter.C: remove unused variables
4361
4362         * tabular_funcs.C:
4363         * tabular_funcs.h: move to tabular.C
4364         * Makefile.am: adjust
4365
4366         * tabular.[Ch]: basic optical cleaning
4367
4368         * author.h: pass references, not values
4369
4370 2003-07-18  André Pönitz  <poenitz@gmx.net>
4371
4372         * lyxtext.h:
4373         * metricsinfo.C:
4374         * metricsinfo.h:
4375         * rowpainter.C:
4376         * text.C:
4377         * text2.C:
4378         * text3.C: two-phase drawing for InsetText and InsetTabular
4379         some float -> int changes.
4380
4381 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * lyx_main.C: fix the fix
4384
4385 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * lyx_main.C: fix a crash in batch mode if no files specified
4388         * converter.C: ws
4389
4390 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * format.[Ch] (papersize): moved to BufferParams
4393         * converter.[Ch] (dvips_options): moved to BufferParams
4394         (dvipdfm_options): moved to anon namespace
4395         * bufferparams.[Ch]: added above functions.
4396
4397 2003-07-17  André Pönitz  <poenitz@gmx.net>
4398
4399         * lyxtext.h:
4400         * rowpainter.C:
4401         * text2.C: don't call inset->update() anymore
4402
4403         * metricsinfo.[Ch]: add convenience constructor
4404
4405 2003-07-16  André Pönitz  <poenitz@gmx.net>
4406
4407         * lyxcursor.[Ch]:
4408         * lyxfunc.[Ch]:
4409         * text.C:
4410         * text2.C: replace the LyXCursor::irow_ member with
4411          on-demand computation of the value
4412
4413 2003-07-16  John Levon  <levon@movementarian.org>
4414
4415         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4416
4417 2003-07-15  André Pönitz  <poenitz@gmx.net>
4418
4419         * text.C:
4420         * text2.C: remove no more needed refresh_row
4421
4422 2003-07-15  André Pönitz  <poenitz@gmx.net>
4423
4424         * lyxtext.h:
4425         * rowpainter.C:
4426         * text2.C:
4427         * text3.C: refresh_status tristate -> need_update bool
4428
4429 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * lyxtext.h (init): remove reinit argument (act as if always true)
4432         * text2.C: adjust to that
4433
4434 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4435
4436         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4437         * text3.C: use it to delete selections in some cases
4438         (bugs 441, 673, 702, 954).
4439
4440 2003-07-14  André Pönitz  <poenitz@gmx.net>
4441
4442         * rowpainter.[Ch]: reduce interface
4443
4444 2003-07-14  André Pönitz  <poenitz@gmx.net>
4445
4446         * BufferView_pimpl.C:
4447         * text2.C: adjust after removing unused BufferView * argument
4448
4449 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * text2.C (init): fix a crash fired on resize
4452
4453 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * buffer.[Ch]: added new closing signal
4456         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4457         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4458         BufferView::Pimpl via the closing the signal
4459
4460 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * buffer.[Ch]: take out all bv-related from buffer
4463         * BufferView.C:
4464         * BufferView_pimpl.[Ch]: connect to new signals
4465         * CutAndPaste.C: removed useless asserts
4466         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4467         * lyxvc.[Ch]:
4468         * vc-backend.[Ch]:
4469         * lyxfunc.C: moved view-related funciontality from vc here
4470         * paragraph.C: removed outdated comments
4471         * text.C: ws
4472
4473 2003-07-10  André Pönitz  <poenitz@gmx.net>
4474
4475         * BufferView_pimpl.C:
4476         * tabular.h:
4477         * tabular_funcs.C:
4478         * text.C:
4479         * text2.C: remove InsetText::InnerCache, clean up consequences
4480
4481 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4482
4483         * ispell.C: fix two typos in error messages
4484
4485 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4486
4487         * Extend Note inset to other forms of annotation like Comment
4488         and Greyedout. Right button click gives dialog.
4489
4490         Files modified or added (+):
4491
4492         * insetnote.[Ch]
4493         * FormNote.[Ch]      +
4494         * ControlNote.[Ch]   +
4495         * form_note.fd       +
4496         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4497         frontends/controllers
4498         * xforms/Dialogs.C
4499         * factory.C
4500
4501 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4502
4503         * aspell.C: add missing namespace lyx::support
4504
4505 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * BufferView.[Ch] (newFile): Add
4508         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4509         * LaTeX.[Ch] (message): added this signal and use it
4510         * buffer.[Ch] (busy, message): added these signals and use them
4511         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4512         * converter.C:
4513         * exporter.C:
4514         * format.C:
4515         * importer.C: use buffer signals instead of direct bv calling
4516         * lyx_cb.[Ch] (ShowMessage): removed
4517         * lyx_main.C:
4518         * lyxfunc.C:
4519         * paragraph_funcs.C:
4520         * text2.C: use buffer signals
4521
4522 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4523
4524         * introduce namespace lyx::graphics
4525
4526 2003-07-02  André Pönitz  <poenitz@gmx.net>
4527
4528         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4529
4530 2003-07-01  André Pönitz  <poenitz@gmx.net>
4531
4532         * text.C:
4533         * text2.C:
4534         * text3.C:
4535         * text_funcs.[Ch]:
4536         * textcursor.h:
4537         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4538           text*.C to text_func.C
4539
4540 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * introduce namespace lyx::support
4543
4544 2003-06-30  André Pönitz  <poenitz@gmx.net>
4545
4546         * Chktex.C:
4547         * funcrequest.C:
4548         * lyxtext.h:
4549         * text.C: re-enable --with-included-string
4550
4551 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * textcursor.C: add <config.h>
4554
4555         * text.C (getWord): remove const from word_location arg
4556
4557         * lyxvc.C (getLogFile): fix const type order
4558
4559         * lyxtext.h: remove const from word_location arg, add arg name
4560
4561         * lyxlayout.h: currect type on labeltype.
4562
4563         * importer.C: correct \file
4564
4565         * converter.C (intToFormat): use std:: on ret val, ws changes
4566
4567         * bufferlist.h: correct \file
4568
4569         * buffer.C (makeLinuxDocFile): fix const type order
4570         (makeDocBookFile): ditto
4571         (fillWithBibKeys): use std:: on stdlib args.
4572
4573         * CutAndPaste.C: fix authors.
4574         (availableSelections): use std:: on return vector
4575
4576 2003-06-27  André Pönitz  <poenitz@gmx.net>
4577
4578         * BufferView_pimpl.C:
4579         * bufferview_funcs.C:
4580         * lyxcursor.C:
4581         * lyxcursor.h:
4582         * lyxfunc.C:
4583         * lyxtext.h:
4584         * rowpainter.C:
4585         * text.C:
4586         * text2.C:
4587         * text3.C: remove LyXCursor::row_ member
4588
4589         * lyxtext.h:
4590         * text.C: rename fullRebreak() to partialRebreak() and implement
4591           a fullRebreak() that really bereks fully
4592
4593         * textcursor.h: new struct for cursor-related data
4594
4595 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4596
4597         * lyx_main.C (LyX): get full path of document loaded on the
4598         command line
4599
4600 2003-06-26  André Pönitz  <poenitz@gmx.net>
4601
4602         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4603           remove unused/broken operator>,<,>=.
4604
4605         *       text.C: remove only use of broken operator<= in an Assert().
4606
4607 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4608
4609         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4610         moved errorlist_.clear to showErrorList
4611
4612 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4613
4614         * converter.C (scanLog, runLaTeX):
4615         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4616         move the bv->showErrorList call to the callers
4617         * lyxfunc.C: i.e. here...
4618         * text2.C: and here
4619         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4620         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4621         namespace, the second to...
4622         * buffer_funcs (BufferFormat, parseErrors): added
4623         * errorlist.C (ErrorList(TeXErrors const &)): removed
4624
4625 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4626
4627         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4628
4629 2003-06-24  "Garst R. Reese" <reese@isn.net>
4630
4631         * debug.C: fix typo
4632
4633 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4634
4635         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4636
4637         * version.C.in: change docversion to 1.4
4638
4639 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4640
4641         * buffer.C: fix a bug just introduced
4642
4643 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * buffer.[Ch]: added the parseError signal and use it, removed
4646         sgmlError
4647         * BufferView.[Ch] (addError): moved to ...
4648         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4649         to the Buffer::parseError signal to catch (guess what) parse errors
4650         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4651
4652 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4655         ability to create a buffer and to return an existing one from
4656         the list. Moved these functions to...
4657         * buffer_funcs.[Ch]: added
4658         * BufferView.[Ch] (loadLyXFile): added
4659         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4660         job removed from bufferlist::loadLyXFile.
4661         * buffer.C (setReadOnly): make it work without view
4662         (i.e added an if (users))
4663
4664 2003-06-19  Angus Leeming  <leeming@lyx.org>
4665
4666         * lfuns.h:
4667         * LyXAction.C (init):
4668         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4669         with LFUN_DIALOG_SHOW <name> <data>.
4670
4671 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4672
4673         * CutAndPaste.C (availableSelections): small compilation fix for
4674         ancient (gcc 2.9x) compilers
4675
4676 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * text3.C (cursorNext): add tmp var
4679
4680         * text2.C (updateCounters): for function calling out of for clause
4681         (replaceSelectionWithString): ditto
4682         (insertStringAsParagraphs): ditto
4683         (getColumnNearX): add tmp var
4684         (setCursorFromCoordinates): add tmp var
4685         (cursorDownParagraph): add tmp var
4686         (deleteEmptyParagraphMechanism): add tmp var
4687
4688         * text.C (insertChar): add tmp var
4689
4690         * rowpainter.C (paintDepthBar): add tmp var
4691
4692         * CutAndPaste.C (availableSelections): potentially check all
4693         paragraphs in a cut to fill the shown strings.
4694
4695 2003-06-18  André Pönitz  <poenitz@gmx.net>
4696
4697         * kbmap.[Ch]: use vector<> instead of list<>
4698
4699 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4700
4701         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4702         pasteSelection with index
4703
4704         * text2.C (pasteSelection): modify, call pasteSelection with index
4705
4706         * paragraph.C (asString): reimplement version with no interval to
4707         call the one with interval.
4708
4709         * lyxtext.h: add index arg to pasteSelection
4710
4711         * MenuBackend.C (MenuItem): handle PasteRecent
4712         (Menu::read::Menutags): add md_pasterecent
4713         (read): handle it
4714         (expandPasteRecent): new function
4715         (expand): use it
4716
4717         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4718
4719         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4720         the limited stack
4721         (availableSelections): new function
4722
4723 2003-06-17  Angus Leeming  <leeming@lyx.org>
4724
4725         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4726
4727 2003-06-17  Angus Leeming  <leeming@lyx.org>
4728
4729         * lfuns.h:
4730         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4731
4732         * lyxfunc.C (dispatch): invoke it.
4733
4734 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4735
4736         * iterators.C (operator++, ParPosition): reintroduce some
4737         const_cast for the benefit of older compilers.
4738
4739 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4740
4741         * text3.C (dispatch): do not modify clipboard when doing
4742         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4743         LFUN_DELETE_SKIP on a selection selection
4744
4745 2003-06-16  André Pönitz  <poenitz@gmx.net>
4746
4747         * BufferView.C:
4748         * buffer.C:
4749         * buffer.h:
4750         * paragraph.C:
4751         * tabular.[Ch]: IU of clone() and getLabelList();
4752
4753 2003-06-13  André Pönitz  <poenitz@gmx.net>
4754
4755         * tabular.h: compactification
4756
4757 2003-06-12  André Pönitz  <poenitz@gmx.net>
4758
4759         * tabular.C:
4760         * tabular.h:
4761         * tabular_funcs.h: some renaming plus whitespace
4762
4763 2003-06-12  André Pönitz  <poenitz@gmx.net>
4764
4765         * BufferView.C:
4766         * BufferView_pimpl.C:
4767         * CutAndPaste.C:
4768         * buffer.C:
4769         * iterators.[Ch]:
4770         * lyxfunc.C:
4771         * text.C:
4772         * toc.C: Return a Paragraph & for ParIterator::operator*()
4773
4774 2003-06-11  John Levon  <levon@movementarian.org>
4775
4776         * lyx_main.C:
4777         * ToolbarBackend.h:
4778         * ToolbarBackend.C: add "Toolbars" section and
4779         put the flags there
4780
4781 2003-06-10  Angus Leeming  <leeming@lyx.org>
4782
4783         * lfuns.h:
4784         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4785
4786         * lyxfunc.C (dispatch): invoke it.
4787
4788 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * main.C: protect <ios> with HAVE_IOS
4791         (main): protect sync_with_stdio with HAVE_IOS
4792
4793 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4794
4795         * text2.C (cutSelection): adjust
4796         (pasteSelection): adjust
4797
4798         * messages.C: handle get of empty string
4799
4800         * main.C (main): use sync_with_stdio(false)
4801
4802         * lyxfunc.C (dispatch): adjust
4803
4804         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4805         (WriteAs): remove unneeded BufferView arg.
4806
4807         * bufferparams.h: use correct types on papersize, papersize2 and
4808         paperpackage.
4809
4810         * bufferparams.C (readToken): adjust for type
4811         (writeLaTeX): add missing cases to switch.
4812
4813         * bufferlist.C (quitWriteBuffer): adjust
4814         (close): adjust
4815
4816         * buffer.C (asciiParagraph): remove some commented code.
4817
4818         * CutAndPaste.C: remove current_view extern variable.
4819         (cutSelection): add BufferParams arg.
4820         (eraseSelection): add BufferParams arg.
4821         (pasteSelection): add Buffer const & arg
4822
4823 2003-06-07  John Levon  <levon@movementarian.org>
4824
4825         * buffer.C:
4826         * paragraph_funcs.C:
4827         * paragraph_pimpl.C:
4828         * text.C:
4829         * text2.C:
4830         * paragraph.h:
4831         * paragraph.C: allow InsetERT to freely space lines,
4832         and some consolidation of code
4833
4834 2003-06-06  José Matos  <jamatos@fep.up.pt>
4835
4836         * buffer.C (makeDocBookFile): fix bug #821
4837
4838 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4841
4842 2003-06-04  Angus Leeming  <leeming@lyx.org>
4843
4844         * buffer.C: bump format to 224.
4845
4846 2003-06-05  André Pönitz  <poenitz@gmx.net>
4847
4848         * text2.C (redoParagraphs): remove two const_cast<>
4849
4850 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4851
4852         * ParagraphList.h: remove last remnants of NO_STD_LIST
4853
4854 2003-06-03  Angus Leeming  <leeming@lyx.org>
4855
4856         * factory.C (createInset): small change to the way InsetExternal's params
4857         are set.
4858
4859 2003-06-04  André Pönitz  <poenitz@gmx.net>
4860
4861         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4862
4863         * paragraph_pimpl.h:
4864         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4865
4866         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4867
4868         * undo_funcs.C: make some simple cases of undo work again
4869
4870 2003-06-03  John Levon  <levon@movementarian.org>
4871
4872         * ispell.C: HPUX doesn't have sys/select.h
4873         (from Albert Chin)
4874
4875 2003-06-03  John Levon  <levon@movementarian.org>
4876
4877         * CutAndPaste.C: update tabular and include inset
4878         buffer references
4879
4880         * buffer.h:
4881         * paragraph.h:
4882         * paragraph.C: remove owningBuffer(), don't pass Buffer
4883         to clone()
4884
4885         * factory.C: insetGraphicsParams changed
4886
4887 2003-06-02  John Levon  <levon@movementarian.org>
4888
4889         * LyXAction.C:
4890         * factory.C:
4891         * lfuns.h:
4892         * lyxfunc.C:
4893         * text3.C: remove insetparent
4894
4895 2003-06-02  John Levon  <levon@movementarian.org>
4896
4897         * buffer.h:
4898         * buffer.C: fix inset_iterator.end(), move out of line
4899         (bug 1149)
4900
4901 2003-06-01  John Levon  <levon@movementarian.org>
4902
4903         * text3.C: use a proper cut/paste when doing inset
4904         insert (from Jürgen Spitzmüller)
4905
4906 2003-06-01  John Levon  <levon@movementarian.org>
4907
4908         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4909
4910 2003-05-30  André Pönitz  <poenitz@gmx.net>
4911
4912         * rowpainter.C: unify second drawing phase
4913
4914 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * trans_mgr.C: remove one case of current_view
4917
4918         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4919
4920         * paragraph_funcs.h: remove paragraph.h include
4921
4922         * paragraph.h: delete NO_STD_LIST stuff
4923
4924         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4925
4926         * buffer.h: remove paragraph.h include
4927
4928         * ParagraphList.C: delete file
4929
4930         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4931
4932         * toc.C (getTocList): adjust
4933
4934         * paragraph_pimpl.C (validate): adjust
4935
4936         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4937
4938         * paragraph.C (Paragraph): adjust
4939         (getPositionOfInset): use const_iterator, adjust
4940         (bibitem): use const_iterator, adjust
4941         (setInsetOwner): adjust
4942
4943         * iterators.C (operator++): adjust
4944
4945         * InsetList.[Ch]: Replace selfmade iterator with standard
4946         vector::iterator also introduce const_iterator. Remove getPos,
4947         getInset and setInset from InsetTable. Adjust accordingly.
4948
4949         * BufferView.C (lockInset): adjust
4950         (ChangeInsets): adjust
4951
4952         * tabular.[Ch]: delete commented same_id functions
4953
4954 2003-05-28  John Levon  <levon@movementarian.org>
4955
4956         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4957
4958 2003-05-28  André Pönitz  <poenitz@gmx.net>
4959
4960         * metricsinfo.[Ch]: remove 'fullredraw' member
4961
4962 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4963
4964         * lyxtextclass.C (operator): remove caching.
4965
4966 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * text3.C: adjust
4969
4970         * text2.C (cursorBottom): adjust
4971         (setCounter): use ParagraphList::find, adjust
4972
4973         * text.C (workWidth): use ParagraphList::find, adjust
4974
4975         * lyxcursor.C (LyXCursor): adjust
4976
4977         * buffer.C (inset_iterator): adjust
4978
4979         * ParagraphList.h: make iterator(value_type) private, make
4980         ParagraphList a friend of iterator.
4981
4982         * ParagraphList.C (find): new function
4983
4984         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4985
4986 2003-05-27  André Pönitz  <poenitz@gmx.net>
4987
4988         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4989
4990 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4991
4992         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4993
4994 2003-05-26  John Levon  <levon@movementarian.org>
4995
4996         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4997
4998 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * remove same_id from function signatures, adjust.
5001
5002 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5005
5006         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5007
5008         * paragraph.C (Paragraph): get rid of same_ids parameter
5009
5010         * ParagraphList.C (insert): adjust
5011         (push_back): adjust
5012
5013 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * paragraph_funcs.C (breakParagraph): adjust
5016         (breakParagraphConservative): adjust
5017
5018         * buffer.C (readParagraph): adjust
5019
5020         * ParagraphList.C (insert): take a reference instead of a pointer
5021         (insert): adjust
5022
5023         * paragraph.[Ch] (id): new function
5024
5025         * bufferlist.C (newFile): adjust
5026
5027         * ParagraphList.C (ParagraphList): adjust
5028         (assign): adjust
5029         (push_back): take a reference instead of a pointer.
5030
5031         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5032
5033         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5034         instead.
5035
5036         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5037         set else use old code.
5038
5039         * ParagraphList.C: remove all NO_NEXT code and only compile this
5040         code of NO_STD_LIST is set.
5041
5042 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * BufferView_pimpl.C:
5045         * TextCache.C:
5046         * TextCache.h:
5047         * bufferlist.C:
5048         * errorlist.h:
5049         * format.C:
5050         * format.h:
5051         * graph.C:
5052         * lyxfunc.C:
5053         * lyxrc.C:
5054         * graphics/GraphicsConverter.C:
5055         * graphics/PreviewLoader.C: header adjustment
5056
5057 2003-05-23  Angus Leeming  <leeming@lyx.org>
5058
5059         * LaTeXFeatures.[Ch] (useBabel): new method.
5060         * bufferparams.C (writeLaTeX): use it.
5061
5062 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * ParagraphList.h (set): remove unused function.
5065
5066 2003-05-23  André Pönitz  <poenitz@gmx.net>
5067
5068         * BufferView.C:
5069         * BufferView_pimpl.C:
5070         * buffer.C:
5071         * buffer.h:
5072         * lyxfunc.C:
5073         * undo_funcs.C: setUndo reworked
5074
5075         * iterators.[Ch]: add access to topmost ParagraphList
5076
5077         * lyxtext.[Ch] (workWidth): add a const
5078
5079 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * texrow.[Ch] (increasePos): remove function
5082         * exporter.C (export): removed unused var and outdated comment
5083
5084 2003-05-23  Angus Leeming  <leeming@lyx.org>
5085
5086         * latexrunparams.h: rename fragile as moving_arg.
5087         * paragraph.C (simpleTeXOnePar): ditto.
5088         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5089
5090 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5093         (createUndo): ditto
5094         (textUndoOrRedo): comment out a currently unused var.
5095
5096         * paragraph.h (NO_NEXT): enable NO_NEXT
5097
5098         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5099
5100         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5101
5102         * exporter.C (Export): adjust for removeAutoInsets removal.
5103
5104         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5105
5106         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5107
5108         * BufferView.[Ch] (removeAutoInsets): delete function
5109
5110 2003-05-22  Angus Leeming  <leeming@lyx.org>
5111
5112         * latexrunparams.h: add a free_spacing variable.
5113
5114         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5115         to pass moving_arg, as the data is stored in runparams.fragile.
5116
5117         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5118         to Inset::latexOptional or to simpleTeXOnePar.
5119
5120         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5121         free_spacing arg to Inset::latexOptional.
5122
5123         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5124         free_spacing arg.
5125
5126 2003-05-22  Angus Leeming  <leeming@lyx.org>
5127
5128         * latexrunparams.h: add fragile and use_babel variables.
5129
5130         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5131         * buffer.C (makeLaTeXFile): store this returned value in
5132         runparams.use_babel, thus passing it to the inset::latex methods.
5133
5134         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5135         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5136
5137         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5138         longer has a fragile arg, as it is stored in runparams.fragile.
5139
5140         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5141         moving_arg parameter as the data is stored in runparams.fragile.
5142
5143         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5144         a fragile parameter as the data is stored in runparams.fragile.
5145
5146 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5149
5150 2003-05-22  Angus Leeming  <leeming@lyx.org>
5151
5152         * latexrunparams.h: add a 'bool nice' which defaults to false.
5153
5154         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5155         now encapsulated within runparams.
5156
5157         * bufferlist.C (updateIncludedTeXfiles):
5158         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5159
5160 2003-05-22  Angus Leeming  <leeming@lyx.org>
5161
5162         * latexrunparams.h: new file containing struct LatexRunParams.
5163         * Makefile.am: add new file.
5164
5165         * LaTeX.[Ch] (c-tor, run):
5166         * buffer.[Ch] (makeLaTeXFile):
5167         * bufferlist.[Ch] (updateIncludedTeXfiles):
5168         * converter.C (convert, scanLog):
5169         * converter.[Ch] (runLaTeX):
5170         * exporter.C (Export):
5171         * paragraph.[Ch] (simpleTeXOnePar):
5172         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5173         * paragraph_funcs.[Ch] (latexParagraphs):
5174         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5175         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5176         pass around a LatexRunParams parameter.
5177
5178 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * paragraph.[Ch]: remove unused constructor
5181
5182         * ParagraphList.C (erase): new function, taking two iterators
5183
5184 2003-05-22  André Pönitz  <poenitz@gmx.net>
5185
5186         * undo_funcs.C: remove duplicated code
5187
5188         * iterator.[Ch]: operator=
5189
5190 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5191
5192         * tabular.C (SetMultiColumn): ws changes
5193
5194         * rowpainter.C (paintFirst): get rid of a ->previous
5195
5196         * lyx_cb.C (getPossibleLabel): parlist simplification
5197
5198         * BufferView.C (ChangeInsets): simplify slightly.
5199
5200 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5201
5202         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5203         * lfuns.h: new LFUN_SPACE
5204         * lyxfunc.C: protected space has a new lfun
5205         * paragraph_funcs.C: read new space insets
5206         * text3.C:
5207         * factory.C: handle new space insets
5208
5209 2003-05-22  André Pönitz  <poenitz@gmx.net>
5210
5211         * BufferView.C:
5212         * BufferView_pimpl.C:
5213         * buffer.[Ch]:
5214         * lyxfunc.C:
5215         * undo_funcs.C: return a ParIterator from getParFromID.
5216
5217         * iterators.[Ch]: add two const's
5218
5219 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5220
5221         * toc.C (getTocList): adjust
5222
5223         * iterators.[Ch]: rework for parlist
5224
5225         * buffer.C (par_iterator_begin): adjust
5226         (par_iterator_end): adjust
5227
5228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5229
5230         * BufferView.C (removeAutoInsets): adjust
5231         (ChangeInsets): adjust
5232
5233 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * text.C (top_y): fix bug 1110
5236
5237 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5238
5239         * errorlist.[Ch]: added
5240         * buffer.C:
5241         * BufferView.[Ch]:
5242         * BufferView_pimpl.C:
5243         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5244         instead
5245
5246 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * Makefile.am: ensure that lyx is relinked upon changes to the
5249         various "convenience" libs.
5250
5251 2003-05-20  Angus Leeming  <leeming@lyx.org>
5252
5253         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5254         files are compiled in alphabetical order again.
5255
5256         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5257
5258 2003-05-19  Angus Leeming  <leeming@lyx.org>
5259
5260         * gettext.[Ch]: remove "char const * _(char const *)".
5261
5262 2003-05-19  André Pönitz  <poenitz@gmx.net>
5263
5264         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5265
5266         * Makefile.am:
5267         * BufferView.C:
5268         * DepTable.h:
5269         * LaTeXFeatures.C:
5270         * buffer.C:
5271         * lyxfont.C:
5272         * lyxlex.h:
5273         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5274
5275 2003-05-19  André Pönitz  <poenitz@gmx.net>
5276
5277         * buffer.C:
5278         * lyxlayout.[Ch]:
5279         * lyxtextclass.[Ch]:
5280         * paragraph.C:
5281         * paragraph_funcs.[Ch]:
5282         * text2.C:
5283         * text3.C: more insetenv work
5284
5285 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5286
5287         * ParagraphParameters.C (params2string): small bug fixed
5288
5289 2003-05-16  André Pönitz  <poenitz@gmx.net>
5290
5291         * debug.C:
5292         * bufferview_funcs.C: patch from Kornel Benko to prevent
5293           crash when _(...) is called twice in a statement
5294
5295 2003-05-16  André Pönitz  <poenitz@gmx.net>
5296
5297         * BufferView.C:
5298         * lyxfunc.C:
5299         * text.C:
5300         * text2.C:
5301         * text3.C:
5302         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5303
5304 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5305
5306         * lyx_main.C (init): remove spurious static_cast
5307
5308 2003-05-14  André Pönitz  <poenitz@gmx.net>
5309
5310         * BufferView.C: fix format string
5311
5312 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * BufferView.[Ch] (insertErrors): removed
5315         * BufferView.[Ch] (showErrorList): added
5316         * buffer.C (runChkTeX):
5317         * converter.C (scanLog): call showErrorList instead of inserterrors
5318
5319 2003-05-13  André Pönitz  <poenitz@gmx.net>
5320
5321         * BufferView_pimpl.C:
5322         * buffer.C:
5323         * bufferview_func.C:
5324         * MenuBackend.C:
5325         * lyxfunc.C:
5326         * lyxrc.C:
5327         * tex-accent.C:
5328         * text3.C:
5329         * toc.C:
5330         * tabular_funcs.h: tostr() from its own header
5331
5332         * ParagraphParameters.C:
5333         * ToolbarBackend.C:
5334         * bufferparams.C:
5335         * format.C:
5336         * lyxlex_pimpl.C:
5337         * text3.C: STRCONV()
5338
5339 2003-05-12  André Pönitz  <poenitz@gmx.net>
5340
5341         * BufferView.C:
5342         * BufferView_pimpl.C:
5343         * CutAndPaste.C:
5344         * LaTeX.C:
5345         * LaTeXFeatures.C:
5346         * ParagraphParameters.C:
5347         * buffer.C:
5348         * bufferlist.C:
5349         * bufferparams.C:
5350         * bufferview_funcs.C:
5351         * converter.C:
5352         * counters.C:
5353         * debug.C:
5354         * exporter.C:
5355         * format.C:
5356         * importer.C:
5357         * lyx_cb.C:
5358         * lyx_main.C:
5359         * lyxfont.C:
5360         * lyxfunc.C:
5361         * lyxvc.C:
5362         * paragraph.C:
5363         * paragraph_funcs.C:
5364         * tabular.C:
5365         * tabular_funcs.C:
5366         * text2.C:
5367         * text3.C:  boost::format -> bformat  all over the place
5368
5369
5370 2003-05-09  André Pönitz  <poenitz@gmx.net>
5371
5372         * LColor.[Ch]: Pimpl the #include <map> away
5373
5374 2003-05-09  John Levon  <levon@movementarian.org>
5375
5376         * bufferlist.C: never remove emergency saves
5377
5378 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * Makefile.am: better lib building
5381
5382 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5385         instead.
5386         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5387         (simpleTeXSpecialChars): adjust
5388         (simpleTeXSpecialChars): adjust
5389         * paragraph.C (simpleTeXOnePar): adjust
5390         * buffer.C (makeLaTeXFile): adjust
5391
5392         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5393
5394         * text2.C (changeDepth): parlist cleanup
5395         (getColumnNearX): ditto
5396
5397         * rowpainter.C (getLabelFont): parlist cleanup
5398
5399         * bufferlist.C (newFile): parlist cleanup
5400
5401         * CutAndPaste.C (eraseSelection): parlist cleanup
5402
5403         * BufferView_pimpl.C (trackChanges): parlist cleanup
5404         (dispatch): ditto
5405
5406         * BufferView.C (lockInset): parlist cleanup.
5407         (ChangeInsets): ditto
5408
5409 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * CutAndPaste.h: Update file header.
5412
5413         * CutAndPaste.C: Update file header.
5414         Store the parts cut out of the Document in a limited_stack.
5415         (copySelection): adjust
5416         (pasteSelection): new function, takes the index in the limited stack.
5417         (nrOfParagraphs): adjust
5418         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5419         simplify error inset insertion.
5420         (checkPastePossible): adjust
5421
5422 2003-05-06  John Levon  <levon@movementarian.org>
5423
5424         * text2.C: don't cast wrap inset to float
5425
5426 2003-05-05  André Pönitz  <poenitz@gmx.net>
5427
5428         * iterator.C:
5429         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5430
5431         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5432           few naked Paragraph *.
5433
5434 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5435
5436         * bufferparams.C: Output warning if a document with missing
5437         TeX document class is loaded
5438         * exporter.C: Disable TeX exports if the document class is missing
5439         * lyxtextclass.C:
5440         * lyxtextclass.h:
5441         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5442         isTeXClassAvailable()
5443
5444 2003-05-03  John Levon  <levon@movementarian.org>
5445
5446         * BufferView.h:
5447         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5448         explicit cursor show/hide
5449
5450         * BufferView_pimpl.h:
5451         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5452         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5453
5454         * lyxfunc.C: hide cursor before dispatching.
5455
5456         * lyx_cb.C:
5457         * lyxfind.C:
5458         * text.C:
5459         * text3.C: remove explicit cursor hides
5460
5461 2003-05-02  André Pönitz  <poenitz@gmx.net>
5462
5463         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5464
5465         * undo_funcs.C:
5466         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5467           linked lists
5468
5469         * text2.C: tiny whitespace
5470
5471 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * undo_funcs.C: almost only ws changes.
5474
5475         * ParagraphList.C (splice): just return if pl is empty.
5476
5477 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * ParagraphList.C (splice): new function.
5480
5481         * CutAndPaste.C (pasteSelection): use it
5482
5483 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * CutAndPaste.C (pasteSelection): remove the last next and
5486         previous from this file.
5487
5488 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * CutAndPaste.C (pasteSelection): more clean up, user proper
5491         ParagraphList functions for pasteing.
5492
5493         * ParagraphList.C (insert): new function, three arg insert
5494
5495 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * ParagraphList.C (insert): new function, three arg insert
5498
5499         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5500         not on paragraphs.
5501
5502 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5505
5506 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5509
5510 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5513         (copySelection): clean up a bit.
5514         (pasteSelection): use make_pair
5515
5516         * ParagraphList.C (ParagraphList): implement copy constructor
5517         (operator=): implement, base on copy constructor.
5518         (assign): new func
5519
5520         * paragraph.C (erase): return a bool
5521
5522         * paragraph_pimpl.C (erasePos): remove function, move contents...
5523         (erase): ... here. Return a bool.
5524         (erase): call erase instead of erasePos.
5525
5526 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5527
5528         * ParagraphList.h: define PitPosPair
5529         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5530         ParagraphList, fix a bug on pasting multiple pars
5531         * text2.C: change interface to C&P
5532
5533 2003-04-30  André Pönitz  <poenitz@gmx.net>
5534
5535         * undo_func.C: revert part of yesterday's patch 2
5536
5537 2003-04-30  John Levon  <levon@movementarian.org>
5538
5539         * LColor.C: s/tabular/table/
5540
5541 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * text3.C (dispatch): do not convert iterator -> pointer
5544         * undo_funcs.C (setCursorParUndo): ditto
5545         * text_funcs.C (transposeChars): ditto
5546
5547         * text2.C (setLayout): ws changes only
5548
5549         * text.C (breakParagraph): do not convert iterator -> pointer
5550         (insertChar): ditto
5551         (acceptChange): ditto
5552         (rejectChange): ditto
5553         (changeCase): ditto
5554         (Delete): ditto
5555         (backspace): ditto
5556
5557         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5558         pointer
5559
5560 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5561
5562         * text3.C (gotoInset): YABG (yet another bad getChar)
5563
5564 2003-04-29  André Pönitz  <poenitz@gmx.net>
5565
5566         * paragraph.h: make operator= private unimplemented as long as
5567           it is unusable
5568
5569         * ParagraphList.C: whitespace
5570
5571         * paragraph.[Ch]:
5572         * paragraph_pimpl.[Ch]:
5573         * paragraph_funcs.C:
5574         * CutAndPaste.C:
5575         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5576
5577         * text2.C:
5578           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5579
5580 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5583         * paragraph.[Ch] (erase):
5584         * paragraph_pimpl.[Ch] (erase): change return type and value
5585         * text2.C (cutSelection): some rework
5586
5587 2003-04-28  John Levon  <levon@movementarian.org>
5588
5589         * bufferlist.C: changes for unsaved changes dialog
5590
5591 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5592
5593         * bufferlist.C (newFile): set language (messages_) for new
5594         documents also.
5595
5596         * buffer.C (readFile): ws changes only.
5597
5598 2003-04-28  André Pönitz  <poenitz@gmx.net>
5599
5600         * undo_funcs.C:
5601         * lyxfunc.C:
5602         * buffer.[Ch]:
5603         * BufferView_pimpl.C:
5604         * BufferView.C: getParFromID related ParagraphList::iterator changes
5605
5606 2003-04-28  André Pönitz  <poenitz@gmx.net>
5607
5608         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5609           Changes
5610
5611 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * messages.C: remove one more localedir class variable.
5614
5615 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * messages.C (getLocaleDir): singleton generation function
5618         (Pimpl): use it.
5619         (Messages): add a default constructor.
5620
5621         * main.C (main): do not setup localedir here, do not call
5622         gettext_init.
5623
5624         * gettext.C (_): use it.
5625         (gettext_init): delete funciton
5626
5627 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * gettext.C (getLyXMessages): new singleton generating function.
5630
5631         * buffer.C (updateDocLang): adjust
5632
5633         * Makefile.am (messages.o): add target
5634         (main.o): remove target
5635
5636 2003-04-27  John Levon  <levon@movementarian.org>
5637
5638         * bufferlist.C:
5639         * lyx_cb.C:
5640         * lyxfunc.C:
5641         * lyxvc.C: specify cancel button in Alert::prompt
5642
5643 2003-04-26  John Levon  <levon@movementarian.org>
5644
5645         * text3.C:
5646         * lyxfunc.C:
5647         * lfuns.h:
5648         * LyXAction.C: add LFUN_INSET_SETTINGS
5649
5650         * lyxfunc.C: don't enable tabular-feature when there's
5651         just any locking inset
5652
5653 2003-04-26  John Levon  <levon@movementarian.org>
5654
5655         * bufferlist.C: re-add Cancel to buffer close question
5656
5657         * lyxfunc.C: fix import UI a bit
5658
5659 2003-04-25  John Levon  <levon@movementarian.org>
5660
5661         * gettext.C: remove the broken asserts for now
5662
5663 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * messages.C: make case where setlocale cannot comply work better.
5666
5667         * buffer.C (updateDocLang): new function
5668         (changeLanguage): use it
5669         (readFile): use it
5670
5671         * text2.C (setCounter): use B_ a bit.
5672
5673         * lyxlayout.C (Read): be sure to trim the label strings.
5674
5675         * messages.C (Messages): fix typo in comment
5676
5677         * buffer.C (readFile): set message_ after file is loaded.
5678         (makeDocBookFile): remove double return
5679         (changeLanguage): reset message_ upon language change.
5680         (B_): new func, use this to get translated buffer strings.
5681
5682         * main.C: add myself and Jean Marc as authors.
5683
5684 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * messages.[hC]: pimplify Messages, and three different pimpls to be
5687         used in different circumstances.
5688
5689         * gettext.[Ch]: change for use with new message code.
5690
5691 2003-04-24 André Pönitz <poenitz@gmx.net>
5692
5693         * factory.C: support for eqref
5694
5695 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * messages.[Ch]: add missing char
5698
5699         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5700
5701         * messages.[Ch]: New files
5702
5703 2003-04-18  John Levon  <levon@movementarian.org>
5704
5705         * BufferView.h:
5706         * BufferView.C:
5707         * BufferView_pimpl.C:
5708         * lfuns.h:
5709         * LyXAction.C:
5710         * lyxtext.h:
5711         * text2.C: remove layout-copy/paste (bug 778)
5712
5713 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5716
5717 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5720         if they succeed. Act accordingly.
5721
5722 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * text2.C (setCharFont): adjust
5725         (setCounter): adjust
5726         (insertStringAsLines): adjust
5727
5728         * text.C (leftMargin): adjust
5729         (setHeightOfRow): adjust
5730
5731         * rowpainter.C (paintFirst): adjust
5732         (paintLast): adjust
5733
5734         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5735         (outerHook): ditto
5736         (isFirstInSequence): ditto
5737         (getEndLabel): ditto
5738         (outerFont): adjust
5739
5740         * paragraph.C (getParLanguage): comment out some hard stuff.
5741
5742         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5743         (sgmlError): ditto
5744         (simpleDocBookOnePar): ditto
5745         (makeDocBookFile): use ParagraphList::iterator
5746
5747         * CutAndPaste.C (pasteSelection): adjust
5748
5749 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * text2.C (getFont): adjust
5752         (getLayoutFont): adjust
5753         (getLabelFont): adjust
5754
5755         * paragraph_funcs.C (TeXOnePar): adjust
5756
5757         * buffer.C (simpleLinuxDocOnePar): adjust
5758         (simpleDocBookOnePar): adjust
5759
5760         * CutAndPaste.C (pasteSelection): adjust
5761
5762         * BufferView.C (getEncoding): adjust
5763
5764         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5765
5766 2003-04-16  John Levon  <levon@movementarian.org>
5767
5768         * lyxfind.C: use parlist stuff for search/changes
5769
5770 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5771
5772         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5773
5774         * text2.C (deleteEmptyParagraphMechanism): adjust
5775
5776         * text2.[Ch] (ownerParagraph): delete func (both of them
5777
5778 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5781
5782 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * ParagraphList.C: prepare for NO_NEXT
5785
5786 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * text2.C (getFont): adjust
5789         (getLayoutFont): adjust
5790         (getLabelFont): adjust
5791
5792         * paragraph.C (getFont): adjust
5793         (getLabelFont): adjust
5794         (getLayoutFont): adjust
5795
5796         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5797
5798 2003-04-15  John Levon  <levon@movementarian.org>
5799
5800         From Angus Leeming
5801
5802         * lyx_main.C: handle Include in .ui files
5803
5804 2003-04-15  John Levon  <levon@movementarian.org>
5805
5806         * MenuBackend.C: make the doc files length shorter
5807
5808         * ToolbarBackend.h:
5809         * ToolbarBackend.C: handle toolbar placement flags,
5810         Minibuffer
5811
5812 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5815         adjust
5816
5817         * paragraph_funcs.C (TeXOnePar): adjust
5818
5819         * paragraph.C (getLabelFont): add outerfont arg, adjust
5820         (getLayoutFont): ditto
5821         (simpleTeXOnePar): adjust
5822
5823         * paragraph_pimpl.C (realizeFont): delete func
5824
5825 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5826
5827         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5828         row argument, constify cur argument.
5829
5830 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * text2.C (getFont): adjust
5833         (getLayoutFont): adjust
5834         (getLabelFont): adjust
5835
5836         * paragraph_funcs.C (TeXOnePar): adjust
5837         (outerFont): new func...
5838         (realizeFont): ...moved out from here, changed this to facilitate
5839         transition
5840
5841         * paragraph.C (getFont): take outerfont as arg, adjust
5842         (simpleTeXOnePar): add outerfont arg, adjust
5843
5844         * buffer.C (simpleLinuxDocOnePar): adjust
5845         (simpleDocBookOnePar): adjust
5846
5847         * CutAndPaste.C (pasteSelection): adjust
5848
5849         * BufferView.C (getEncoding): adjust
5850
5851 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * text2.C (setCharFont): adjust
5854         (setCounter): adjust
5855
5856         * text.C (leftMargin): adjust
5857         (setHeightOfRow): adjust
5858
5859         * rowpainter.C (paintFirst): adjust
5860         (paintLast): adjust
5861
5862         * paragraph_pimpl.C (realizeFont): adjust
5863
5864         * paragraph.C (isFirstInSequence): move from here...
5865         * paragraph_funcs.C (isFirstInSequence): ...to here
5866
5867         * paragraph.C (outerHook): move from here...
5868         * paragraph_funcs.C (outerHook): ...to here
5869
5870         * paragraph.C (depthHook): move from here...
5871         * paragraph_funcs.C (depthHook): ...to here
5872
5873         * paragraph.C (getEndLabel): move from here...
5874         * paragraph_funcs.C (getEndLabel): ...to here
5875
5876         * text2.C (realizeFont): move from here...
5877         * paragraph_funcs.C (realizeFont): ...to here
5878
5879 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5882
5883 2003-04-14  Angus Leeming  <leeming@lyx.org>
5884
5885         * LColor.[Ch]: scrap LColor mathcursor.
5886
5887 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * lyxlex.[Ch] (text): delete function
5890         * trans.C (Load): adjust
5891         * paragraph_funcs.C (readParToken): adjust
5892
5893 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5896         vector<char> instead of a char[].
5897
5898         * lyxlex_pimpl.C (getString): adjust
5899         (next): adjust
5900         (lex): use getString
5901         (eatLine): adjust
5902         (nextToken): adjust
5903
5904         * lyxlex.C (text): use pimpl_->getString()
5905         (getBool): ditto
5906         (findToken): ditto
5907
5908 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5911         (makeFontEntriesLayoutSpecific): temp var for par.size()
5912         (setLayout): temp var for ownerParagraphs().end()
5913         (fullRebreak): temp var for rows().end()
5914         (selectionAsString): temp var for boost::next(startpit), realize
5915         that the while really is a regular for loop.
5916         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5917         setCursor in one place.
5918         (setParagraph): temp vr for ownerParagraphs().end()
5919         (updateCounters): make the while loop a for loop
5920         (cutSelection): temp var for ownerParagraphs().end()
5921         (updateInset): make the do {} while() a regular for loop
5922         (getCursorX): use temp vars
5923         (setCurrentFont): use temp vars
5924         (getColumnNearX): use temp vars
5925
5926 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * text.C (transformChar): use temp var for getChar
5929         (computeBidiTables): use temp var for row->par()
5930         (fill): move temp vars for row->par() and pit->layout() earlier in
5931         the function.
5932         (labelFill): use temp var for row->par()
5933         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5934         asc and desc, realize that pit never changes and that firstpit is
5935         just a duplicate and not needed. Exchange rit->par() with pit in a
5936         lot of places.
5937         (breakAgain): use a temp var for boost::next(rit)
5938         (breakAgainOneRow): ditto
5939         (breakParagraph): use a temp var for rows().begin()
5940         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5941         (cursorRightOneWord): use temp var for cursor.par() and
5942         cursor.pos(), remove usage of tmpcursor.
5943         (cursorLeftOneWord): use temp var for cursor.par() and
5944         cursor.pos() only set cur at end of function.
5945
5946 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * text.C, text2.C: exchange all usage of Paragraph::next with
5949         boost::next(ParagraphList::iterator)
5950
5951         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5952
5953         * text2.C (cursorTop): simplify implementation
5954         (cursorBottom): ditto
5955         (setParagraph): use ParagraphList::iterator
5956         (setCurrentFont): adjust
5957         (getColumnNearX): adjust
5958         (cursorRight): adjust
5959         (cursorLeft): remove usage of Paragraph::previous
5960         (cursorUpParagraph): ditto
5961         (deleteEmptyParagraphMechanism): slight cleanup
5962
5963         * text.C (isBoundary): take a Paragraph const & instead of a
5964         pointer as arg.
5965         (addressBreakPoint): ditto
5966         (leftMargin): remove usage of Paragraph::previous.
5967         (setHeightOfRow): ditto
5968         (cursorLeftOneWord): ditto
5969         (selectNextWordToSpellcheck): ditto
5970         (Delete): ditto
5971         (backspace): ditto
5972         (breakParagraph): remove one usage of Paragraph::next
5973         (redoParagraph): ditto
5974         (acceptChange): ditto
5975         (insertChar): adjust
5976         (rowBreakPoint): adjust
5977
5978         * bufferview_funcs.C (toggleAndShow): adjust
5979
5980 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5983         methods to access it.
5984         * lyxtext.h:
5985         * text.C: Added updateRowPositions to compute all row positions.
5986         Make top_y and getRowNearY() to use the cached y position
5987
5988 2003-04-11  John Levon  <levon@movementarian.org>
5989
5990         * text.C (rowBreakPoint): reintroduce the labelEnd
5991         checks, code copied from the row fill stuff. Deep voodoo.
5992
5993         * text.C (fill): add a comment and debugging for the
5994         next poor soul.
5995
5996 2003-04-11  John Levon  <levon@movementarian.org>
5997
5998         * text.C: make sure fullrow insets get wrapped to the next line,
5999         even when they're in a manual label
6000
6001 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * text2.C (insertParagraph): make it take ParagraphList::iterator
6004         as arg.
6005         (setLayout): make it return ParagraphList::iterator
6006         (redoParagraphs): ditto
6007         (setCounter): ditto
6008         (checkParagraph): ditto
6009
6010         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6011
6012         * text2.C: adjust several funcs.
6013         (realizeFont): take a ParagraphList::iterator as arg.
6014         (getLayoutFont): ditto
6015         (getLabelFont): ditto
6016         (setCharFont): ditto
6017
6018         * text.C: adjust several funcs.
6019
6020 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * text.C (selectNextWordToSpellcheck): don't accidentally
6023         skip insets
6024
6025 2003-04-10  John Levon  <levon@movementarian.org>
6026
6027         * ToolbarBackend.C (getIcon): special handling for
6028         LFUN_MATH_DELIM
6029
6030 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * text2.C (cursorRight): a getChar assert fixed
6033
6034 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * text2.C (getFont): change to take a ParagraphList::iterator
6037         instead of Paragraph*
6038         Adjust several functions.
6039
6040         * text.C (transformChar): change to take a ParagraphList::iterator
6041         instead of Paragraph*
6042         (singleWidth): ditto
6043         Adjust several functions.
6044
6045         * rowpainter.C: adjust several functions
6046         * rowpainter.h:store a ParagraphList::iterator and not a
6047         Paragraph&.
6048
6049
6050 2003-04-09  John Levon  <levon@movementarian.org>
6051
6052         * lyxfunc.C:
6053         * lfuns.h:
6054         * LyXAction.h:
6055         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6056         and the "help" bits as well
6057
6058 2003-04-09  John Levon  <levon@movementarian.org>
6059
6060         * ToolbarBackend.h:
6061         * ToolbarBackend.C: allow multiple toolbars
6062
6063 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * undo_funcs.C (setCursorParUndo): adjust
6066
6067         * text_funcs.C (transposeChars): adjust
6068
6069         * text3.C (gotoNextInset): adjust
6070         (dispatch): adjust
6071
6072         * text2.C (setLayout): adjust
6073         (changeDepth): adjust
6074         (setFont): adjust
6075         (redoParagraphs): adjust
6076         (selectionAsString): adjust
6077         (setParagraph): adjust
6078         (insertInset): adjust
6079         (cutSelection): adjust
6080         (copySelection): adjust
6081         (pasteSelection): adjust
6082         (insertStringAsLines): adjust
6083         (updateInset): adjust
6084         (setCursor): change to take a ParagraphList::iterator parameter
6085         (setCursorIntern): change to take a ParagraphList::iterator parameter
6086         (setCurrentFont): adjust
6087         (cursorLeft): adjust
6088         (cursorRight): adjust
6089         (deleteEmptyParagraphMechanism): adjust
6090
6091         * text.C (breakParagraph): adjust
6092         (insertChar): adjust
6093         (acceptChange): adjust
6094         (rejectChange): adjust
6095         (selectNextWordToSpellcheck): adjust
6096         (changeCase): adjust
6097         (Delete): adjust
6098         (backspace): adjust
6099
6100         * lyxfind.C (SearchForward): adjust
6101         (SearchBackward): adjust
6102         (nextChange): adjust
6103
6104         * lyxcursor.C (par): adjust
6105
6106         * lyxcursor.h: store a ParagraphList::iterator instead of a
6107         Paragraph*
6108
6109         * lyx_cb.C (getPossibleLabel): adjust
6110
6111         * bufferview_funcs.C (toggleAndShow): adjust
6112
6113         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6114         (dispatch): adjust
6115
6116         * BufferView.C (removeAutoInsets): adjust
6117         (lockedInsetStoreUndo): adjust
6118
6119 2003-04-09  John Levon  <levon@movementarian.org>
6120
6121         * ToolbarBackend.C: try icon without argument
6122         if with argument fails
6123
6124 2003-04-08  John Levon  <levon@movementarian.org>
6125
6126         * ToolbarBackend.h:
6127         * ToolbarBackend.C: add getIcon(), handle tooltip,
6128         and change from "Icon" to "Item".
6129
6130 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6131
6132         * BufferView.C (lockInset): another bad getchar crunched
6133
6134 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6135
6136         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6137         again)
6138
6139 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6140
6141         * lyxfind.C (searchForward, searchBackwards): bug 782
6142
6143 2003-04-07  John Levon  <levon@movementarian.org>
6144
6145         * paragraph.C: remove dead comment
6146
6147         * text.C: remove troublesome depth-fiddling code
6148         in leftMargin() and rightMargin() (bug 1017)
6149
6150         * text.C: fix breaking of rows in nested lists
6151         (bug 1004)
6152
6153         * text2.C (updateCounters): fix up depth values
6154         (bug 1013)
6155
6156 2003-04-07  John Levon  <levon@movementarian.org>
6157
6158         * BufferView_pimpl.C: clear message when doc finishes resizing,
6159         and after a mouse event
6160
6161         * lyxfunc.C: clear message after exiting inset
6162
6163 2003-04-07  John Levon  <levon@movementarian.org>
6164
6165         * bufferview_funcs.C: show math status not outside
6166         status in the statusbar
6167
6168 2003-04-07  John Levon  <levon@movementarian.org>
6169
6170         * lyxfunc.C: note status changed after a depth change
6171
6172 2003-04-04  Angus Leeming  <leeming@lyx.org>
6173
6174         * LaTeX.h: move AuxInfo operator==, != out of line.
6175         Remove LaTeX virtual destructor; nothing derives from it.
6176         Move operator()() out of public area and rename it startscript().
6177         Change protected for private.
6178
6179 2003-04-04  Angus Leeming  <leeming@lyx.org>
6180
6181         * lyxfunc.C:
6182         * text2.C: remove unneeded #includes.
6183
6184 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * text2.C (dEPM): fix the heigth of the next row
6187
6188 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6189
6190         * text.C: squashed an invalid getChar requester + some ws changes
6191
6192 2003-04-03  John Levon  <levon@movementarian.org>
6193
6194         * bufferview_funcs.h:
6195         * bufferview_funcs.C:
6196         * lyxfunc.C:
6197         * lyxtext.h:
6198         * text2.C: make getStatus work for the env depth lfuns
6199
6200 2003-04-03  John Levon  <levon@movementarian.org>
6201
6202         * bufferview_funcs.h:
6203         * bufferview_funcs.C:
6204         * lyxfunc.C:
6205         * lyxtext.h:
6206         * text2.C: parlistize decDepth(), by merging it with incDepth()
6207
6208 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * lyxrow.h: store a ParagraphList::iterator instead of a
6211         Paragraph* and adjust other class functions to suit.
6212
6213         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6214         above.
6215
6216 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6217
6218         * text2.C (setCursor): do not anchor to cursor row for the time being
6219
6220 2003-04-02  John Levon  <levon@movementarian.org>
6221
6222         * LyXAction.C:
6223         * lfuns.h:
6224         * lyx_main.C:
6225         * lyxtext.h:
6226         * text.C:
6227         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6228
6229 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * paragraph.h: make ParagraphList and ParagraphList::iterator
6232         friends of Paragraph.
6233
6234         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6235
6236         * ParagraphList.C: Use the private next_ and previous_ from
6237         Paragraph.
6238
6239 2003-04-01  John Levon  <levon@movementarian.org>
6240
6241         * ToolbarBackend.h:
6242         * ToolbarBackend.C:
6243         * Makefile.am: rename, remove defaults gunk
6244
6245         * MenuBackend.h:
6246         * MenuBackend.C: remove defaults gunk
6247
6248         * Languages.h:
6249         * Languages.C: remove defaults gunk
6250
6251         * lyx_main.h:
6252         * lyx_main.C: error out if files couldn't be found.
6253
6254 2003-04-02  John Levon  <levon@movementarian.org>
6255
6256         * text2.C: make incDepth() use parlist
6257
6258 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * undo_funcs.C (firstUndoParagraph): adjust
6261
6262         * text3.C (gotoInset): adjust
6263         (dispatch): adjust, and rewrite loop.
6264
6265         * text2.C (init): adjust, and rewrite loop.
6266         (redoParagraphs): adjust
6267         (updateInset): adjust, and rewrite loop.
6268         (deleteEmptyParagraphMechanism): adjust
6269
6270         * tabular.C (LyXTabular): adjust
6271         (SetMultiColumn): adjust
6272         (TeXRow): adjust
6273
6274         * lyxtext.[Ch] (ownerParagraph): delete function
6275         (ownerParagraphs): new function returns a ParagraphList.
6276
6277         * BufferView.C (removeAutoInsets): adjust
6278         (insertErrors): adjust
6279         (setCursorFromRow): adjust
6280
6281 2003-04-01  Angus Leeming  <leeming@lyx.org>
6282
6283         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6284         in the frontends.
6285
6286 2003-04-02  John Levon  <levon@movementarian.org>
6287
6288         * lyxtext.h:
6289         * text.C:
6290         * Makefile.am:
6291         * text_funcs.h:
6292         * text_funcs.C: make transposeChars a free function
6293
6294         * lyxrow_funcs.C: remove wrong comment
6295
6296 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * lyxtext.h: adjust
6299         * rowpainter.C: adjust
6300         * text.C: adjust
6301         * text2.C: adjust
6302         * text3.C: adjust
6303
6304         * lyxrow_funcs. [Ch]: new files
6305
6306         * lyxrow.[Ch]: remove next and previous pointers
6307         (next,previous): remove accessor functions
6308         (isParEnd): move to lyxrow_funcs
6309         (lastPos): move to lyxrow_funcs
6310         (nextRowIsAllInset): move to lyxrow_funcs
6311         (lastPrintablePos): move to lyxrow_funcs
6312         (numberOfSeparators): move to lyxrow_funcs
6313         (numberOfHfills): move to lyxrow_funcs
6314         (numberOfLabelHfills): move to lyxrow_funcs
6315         (hfillExpansion): move to lyxrow_funcs
6316
6317         * lyxfunc.C: adjust
6318
6319         * bufferview_funcs.C (toggleAndShow): adjust
6320
6321         * RowList.h: Remove class RowList from file leave just a
6322         std::list<Row>.
6323
6324         * RowList.C: delete file
6325
6326         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6327         and lyxrow_funcs.h
6328
6329 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * text3.C (cursorPrevious): adjust
6332         (cursorNext): adjust
6333         (dispatch): adjust
6334
6335         * text2.C (redoHeightOfParagraph): adjust
6336         (redoDrawingOfParagraph): adjust
6337         (setCursor): adjust
6338
6339         * text.C (breakParagraph): adjust
6340         (insertChar): adjust
6341         (backspace): adjust
6342
6343         * rowpainter.C (RowPainter): adjust
6344         (leftMargin): simplify and adjust
6345         (most rowpainter functions): adjust.
6346
6347         * rowpainter.h: store the row as RowList::iterator not as Row*
6348
6349         * lyxcursor.C (row): taka RowList::iterator as arg
6350         (irow): ditto
6351
6352         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6353         of Row*.
6354
6355 2003-04-01  Angus Leeming  <leeming@lyx.org>
6356
6357         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6358         stuff like bool Bool.
6359
6360 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6361
6362         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6363         rewrite a loop
6364
6365 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6368         RowList::iterator.
6369
6370         * lyxtext.h (rows): drop one version and leve a const variant that
6371         returns a RowList::iterator.
6372
6373 2003-03-31  Angus Leeming  <leeming@lyx.org>
6374
6375         * text.C (fill): ensure that the signature is the same as that in the
6376         header file.
6377
6378 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * text2.C (redoParagraphs): adjust
6381         (updateCounters): adjust
6382         (checkParagraph): adjust
6383         (getColumnNearX): adjust and reformat a bit.
6384
6385         * text.C (top_y): adjust
6386         (workWidth): adjust
6387         (leftMargin): adjust
6388         (prepareToPrint): adjust
6389         (getRow): adjust
6390         (getRowNearY): adjust
6391
6392         * lyxtext.h: make rowlist_ mutable.
6393
6394         * RowList.h: add const_iterator
6395         * RowList.C: adjust for RowList::const_iterator.
6396
6397         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6398         adjust.
6399
6400 2003-03-31  John Levon  <levon@movementarian.org>
6401
6402         * lyxrc.h:
6403         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6404
6405         * lyx_main.C: set default fonts from using lyx_gui funcs
6406
6407         * exporter.C: pdf_mode moved from lyxrc
6408
6409         * lyx_cb.C:
6410         * lyxfunc.C: changes from above
6411
6412 2003-03-31  John Levon  <levon@movementarian.org>
6413
6414         * lyx_main.C: fix to the last fix
6415
6416 2003-03-31  John Levon  <levon@movementarian.org>
6417
6418         * bufferlist.C: "Load original" -> "Load Original"
6419
6420         * converter.C:
6421         * exporter.C:
6422         * importer.C:
6423         * lyx_main.C:
6424         * format.C: more Alert cleanups
6425
6426 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * text2.C (removeParagraph): make it take a RowList::iterator as
6429         arg, adjust.
6430         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6431         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6432
6433         * text.C (anchor_row): make it take a RowList::iterator as arg,
6434         adjust.
6435         (computeBidiTables): make it take a const reference to Row instead
6436         of Row pointer, adjust.
6437         (leftMargin): make it take a RowList::iterator as arg, adjust.
6438         (rowBreakPoint): adjust
6439         (breakAgainOneRow): make it take a RowList::iterator as arg,
6440         adjust.
6441         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6442
6443         * bufferview_funcs.C (toggleAndShow): adjust
6444
6445 2003-03-30  John Levon  <levon@movementarian.org>
6446
6447         * Makefile.am:
6448         * BoostFormat.h:
6449         * boost-inst.C: moved to support
6450
6451         * several files: changes as a result
6452
6453 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * text2.C (LyXText): adjust.
6456         (init): adjust
6457         (removeRow): make it take a RowList::iterator as arg, adjust.
6458         (fullRebreak): adjust
6459         (deleteEmptyParagraphMechanism): adjust
6460         (clearPaint): adjust
6461         (postPaint): adjust
6462
6463         * text.C (top_y): adjust
6464         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6465         (breakAgain): make it take a RowList::iterator as arg, adjust.
6466         (breakParagraph): adjust
6467         (insertChar): adjust
6468         (backspace): adjust
6469
6470         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6471         need_break_row, and refresh_row.
6472
6473         * text3.C (dispatch): adjust
6474
6475         * text2.C (checkParagraph): adjust
6476         (setCursor): adjust
6477         (setCursorFromCoordinates): adjust
6478
6479         * text.C (top_y): adjust
6480         (workWidth): adjust
6481         (getRow): make it return a RowList::iterator, adjust
6482         (getRowNearY): make it return a RowList::iterator, adjust
6483
6484         * text2.C (init): adjust
6485         (insertRow): remove function
6486         (insertParagraph): adjust
6487         (redoParagraphs): adjust
6488         (fullRebreak): adjust
6489         (updateCounters): adjust
6490
6491         * text.C (top_y): rewrite to use RowList iterators.
6492         (top_y): adjust
6493         (setHeightOfRow): rewrite to sue RowList iterators.
6494         (appendParagraph): adjust
6495         (breakAgain): adjust
6496         (breakAgainOneRow): adjust
6497         (breakParagraph): adjust
6498         (getRow): adjust
6499         (getRowNearY): adjust, and remove commented code.
6500
6501         * lyxtext.h (firstRow): delete function
6502         (lastRow): delete function
6503         (rows): new function (const and non-const versions.)
6504         (insertRow): delete function
6505
6506         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6507
6508 2003-03-29  John Levon  <levon@movementarian.org>
6509
6510         * BufferView_pimpl.C: always update scrollbar top
6511         because pasting text when we're anchored could mean we
6512         miss an update altogether
6513
6514 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * text2.C (init): use rowlist_.end() and not 0.
6517         (insertRow): change to take a RowList::iterator as arg, adjust
6518         for this.
6519         (insertParagraph): change to take a RowList::iterator as arg,
6520         adjust for this.
6521         (redoParagraphs): remove some debug msgs.
6522
6523         * text.C (appendParagraph): change to take a RowList::iterator
6524         arg, adjust for this.
6525         (breakAgain): add an assert
6526         (breakAgainOneRow): ditto
6527
6528 2003-03-29  John Levon  <levon@movementarian.org>
6529
6530         * text2.C: do not clear selection after inc/decDepth
6531         (bug 550)
6532
6533 2003-03-29  John Levon  <levon@movementarian.org>
6534
6535         * BufferView.C:
6536         * buffer.C: fix broken strerrors according to Lars
6537
6538 2003-03-29  John Levon  <levon@movementarian.org>
6539
6540         * converters.C: more Alert cleanups
6541
6542 2003-03-29  John Levon  <levon@movementarian.org>
6543
6544         * bufferview_funcs.C: remove pointless Alert
6545
6546         * buffer.C: fix confusing error message when
6547         a template is chmoded 000
6548
6549 2003-03-29  John Levon  <levon@movementarian.org>
6550
6551         * BufferView.C:
6552         * BufferView.h:
6553         * BufferView_pimpl.C: Alert fixes
6554
6555         * Makefile.am:
6556         * tabular.C:
6557         * tabular-old.C: remove unused table compat reading
6558
6559 2003-03-29  John Levon  <levon@movementarian.org>
6560
6561         * BufferView.C:
6562         * buffer.C:
6563         * lyx_cb.h:
6564         * lyx_cb.C: more Alert cleanups
6565
6566         * lyxfunc.C: don't allow chktex if not latex document
6567
6568 2003-03-29  John Levon  <levon@movementarian.org>
6569
6570         * lyx_cb.C:
6571         * BufferView.C:
6572         * buffer.C: warnings pushed down from support/,
6573         kill err_alert
6574
6575 2003-03-29  John Levon  <levon@movementarian.org>
6576
6577         * lyxfunc.C: safety check for C-r (revert)
6578
6579 2003-03-29  John Levon  <levon@movementarian.org>
6580
6581         * bufferlist.h:
6582         * bufferlist.C: several UI fixes using Alert::prompt.
6583         Fix the pointless looping quit code. Fix stupid revert
6584         behaviour (bug 938)
6585
6586         * lyxvc.h:
6587         * lyxvc.C:
6588         * lyx_cb.C: use Alert::prompt
6589
6590         * lyx_main.C: remove a silly question
6591
6592         * lyxfunc.C: remove a couple of silly questions,
6593         use Alert::prompt
6594
6595 2003-03-28  John Levon  <levon@movementarian.org>
6596
6597         * text2.C: fix bug 974 (End on empty par)
6598
6599 2003-03-28  John Levon  <levon@movementarian.org>
6600
6601         * BufferView_pimpl.C:
6602         * LyXAction.C:
6603         * lfuns.h: remove do-nothing math greek lfuns
6604
6605 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * lyxgluelength.h (isValidGlueLength): add default arg on
6608         parameter 2. Remove default arg from friend in class.
6609
6610         * lyxlength.h (isValidLength): add default arg on parameter 2.
6611         Remove default arg from friend in class.
6612
6613         * text2.C (LyXText): adjust, initialize refresh_row.
6614         (init): adjust
6615         (removeRow): adjust
6616         (insertRow): adjust
6617         (insertParagraph): adjst
6618         (redoParagraphs): adjust
6619         (fullRebreak): adjust
6620         (updateCounters): adjust
6621         (deleteEmptyParagraphMechanism): first attempt at fixing a
6622         crashing bug.
6623
6624         * text.C (top_y): adjust
6625         (setHeightOfRow): adjust
6626         (getRow): adjust
6627         (getRowNearY): adjust
6628
6629         * lyxtext.h: include RowList.h
6630         (~LyXText): not needed anymore, deleted.
6631         (firstRow): modify for RowList
6632         (lastRow): new function
6633         Delete firstrow and lastrow class variables, add a Rowlist
6634         rowlist_ class variable.
6635
6636         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6637         paragraph is empty.
6638
6639         * RowList.C (insert): fix case where it == begin().
6640
6641 2003-03-26  Angus Leeming  <leeming@lyx.org>
6642
6643         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6644         the thesaurus dialog.
6645
6646 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6649
6650         * RowList.[Ch]: new files
6651
6652         * ParagraphList.C (erase): handle the case where it == begin
6653         correctly.
6654
6655 2003-03-25  John Levon  <levon@movementarian.org>
6656
6657         * Makefile.am:
6658         * aspell_local.h:
6659         * aspell.C: add new aspell support
6660
6661         * lyxrc.h:
6662         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6663         have it accessible.
6664
6665 2003-03-25  Angus Leeming  <leeming@lyx.org>
6666
6667         * lfuns.h:
6668         * LyXAction.C (init): new LFUN_INSET_INSERT.
6669
6670         * BufferView_pimpl.C (dispatch): split out part of the
6671         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6672
6673         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6674         LFUN_INSET_APPLY.
6675
6676 2003-03-25  Angus Leeming  <leeming@lyx.org>
6677
6678         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6679
6680 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6681
6682         * text2.C:
6683         * text3.C: remove useless row->height(0)
6684
6685 2003-03-25  John Levon  <levon@movementarian.org>
6686
6687         * lyxtext.h:
6688         * text2.C:
6689         * text3.C: rename the refreshing stuff to better names
6690
6691 2003-03-24  John Levon  <levon@movementarian.org>
6692
6693         * BufferView_pimpl.h:
6694         * BufferView_pimpl.C: update layout choice on a mouse
6695         press/release
6696
6697 2003-03-23  John Levon  <levon@movementarian.org>
6698
6699         * Makefile.am: fix commandtags.h reference
6700
6701 2003-03-22  John Levon  <levon@movementarian.org>
6702
6703         * BufferView_pimpl.C:
6704         * lyxtext.h:
6705         * rowpainter.C:
6706         * rowpainter.h:
6707         * text.C:
6708         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6709
6710 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * lyxtext.h:
6713         * text.C: take the rtl methods out of line
6714
6715 2003-03-21 André Pönitz <poenitz@gmx.net>
6716
6717         * metricsinfo.[Ch]: new files containing structures to be passed around
6718         during the two-phase-drawing...
6719
6720 2003-03-21 André Pönitz <poenitz@gmx.net>
6721
6722         * lyxtextclass.C: read 'environment' tag.
6723
6724 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * text2.C (removeRow): fix bug 964
6727
6728 2003-03-20  John Levon  <levon@movementarian.org>
6729
6730         * rowpainter.C:
6731         * text.C:
6732         * text2.C: paint cleanups. Inset::update() dropped font
6733         parameter
6734
6735 2003-03-19  John Levon  <levon@movementarian.org>
6736
6737         * lyxfunc.C: only fitcursor/markDirty if available()
6738
6739 2003-03-19  John Levon  <levon@movementarian.org>
6740
6741         * commandtags.h: rename to ...
6742
6743         * lfuns.h: ... this, and renumber / cleanup
6744
6745 2003-03-19  John Levon  <levon@movementarian.org>
6746
6747         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6748         fit the cursor after an lfun
6749
6750         * BufferView.h:
6751         * BufferView.C:
6752         * BufferView_pimpl.h:
6753         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6754
6755         * LyXAction.C: layout-character should have ReadOnly
6756
6757         * ParagraphParameters.C:
6758         * buffer.C:
6759         * bufferview_funcs.C:
6760         * lyx_cb.C:
6761         * lyxfind.C:
6762         * lyxtext.h:
6763         * text.C:
6764         * text2.C:
6765         * text3.C:
6766         * undo_funcs.C: changes from above
6767
6768 2003-03-18  John Levon  <levon@movementarian.org>
6769
6770         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6771         remove it from update()
6772
6773         * lyxfunc.C: update layout choice after an lfun
6774
6775         * text3.C: remove extra updateLayoutChoice()s
6776
6777 2003-03-18  John Levon  <levon@movementarian.org>
6778
6779         * text.C: top_y change means full repaint, fix
6780         a drawing bug with cursor movement
6781
6782 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6783
6784         * lyxtext.h:
6785         * text.C:
6786         * text2.C: anchor row on setCursor
6787
6788 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6789
6790         * lyxtext.h: remove almost all mutable keywords
6791         * text.C:
6792         * text2.C:
6793         * text3.C: remove const keywords accordingly
6794
6795 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6798         anon namespace
6799         (TeXEnvironment): ditto
6800         (TeXOnePar): ditto
6801
6802 2003-03-17  John Levon  <levon@movementarian.org>
6803
6804         * text.C (rowBreakPoint): remove attempt to fix displayed
6805         math insets inside a manual label
6806
6807 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * lyxtext.h: remove BufferView* as first arg from almost all class
6810         functions.
6811         * other files: adjust.
6812
6813 2003-03-17  John Levon  <levon@movementarian.org>
6814
6815         * lyxtext.h:
6816         * undo_funcs.C:
6817         * text2.C: more paint cleanups
6818
6819         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6820
6821         * rowpainter.h:
6822         * rowpainter.C: remove "smart" background painting code
6823
6824 2003-03-16  John Levon  <levon@movementarian.org>
6825
6826         * lyxtext.h:
6827         * text.C:
6828         * text2.C:
6829         * text3.C: add helper functions for setting refresh_row/y
6830
6831 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6832
6833         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6834         newline inset which *can* get inserted in the pass_thru layouts.
6835         This is primarily for literate documents.
6836
6837 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6838
6839         * buffer.C: increment LYX_FORMAT to 223
6840
6841 2003-03-14 André Pönitz <poenitz@gmx.net>
6842
6843         * textclass.h: prepare for environment handling, ws changes
6844         * lyxlayout.C: read latexheader and latexfooter tags
6845
6846 2003-03-14  John Levon  <levon@movementarian.org>
6847
6848         * text2.C: rewrite ::status() a bit
6849
6850 2003-03-13  John Levon  <levon@movementarian.org>
6851
6852         * lyxtext.h: add some docs
6853
6854 2003-03-13  John Levon  <levon@movementarian.org>
6855
6856         * lyxtext.h:
6857         * text.C:
6858         * text2.C:
6859         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6860
6861 2003-03-13  John Levon  <levon@movementarian.org>
6862
6863         * text3.C: fix appendix redrawing
6864
6865 2003-03-13  John Levon  <levon@movementarian.org>
6866
6867         * text.C (setHeightOfRow):
6868         * rowpainter.h:
6869         * rowpainter.C: make appendix mark have the text
6870           "Appendix" so the user knows what it is
6871
6872         * LColor.h:
6873         * LColor.C: s/appendixline/appendix/ from above
6874
6875 2003-03-13  John Levon  <levon@movementarian.org>
6876
6877         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6878
6879         * text.C: fix a getChar(pos) bug properly
6880
6881 2003-03-13  Angus Leeming  <leeming@lyx.org>
6882
6883         * commandtags.h:
6884         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6885         Probably only temporary. Let's see how things pan out.
6886
6887         * BufferView.C (unlockInset):
6888         * BufferView_pimpl.C (fitCursor):
6889         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6890
6891         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6892         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6893
6894         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6895         new functions that convert ParagraphParameters to and from a string.
6896
6897         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6898         BufferView::Pimpl's dispatch.
6899         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6900
6901 2003-03-13 André Pönitz <poenitz@gmx.net>
6902
6903         * lyxfunc.C:
6904         * text3.C:
6905         * factory.C: make it aware of InsetEnv
6906
6907 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6908
6909         * text2.C (setCursor): never ask for one past last
6910         (setCursor): add some debugging messages.
6911
6912         * text.C (singleWidth): never ask for one past last
6913         (singleWidth): ditto
6914         (leftMargin): ditto
6915         (rightMargin): ditto
6916         (rowBreakPoint): ditto
6917         (setHeightOfRow): ditto
6918         (prepareToPrint): ditto
6919
6920         * rowpainter.C (paintBackground): never ask for one past last
6921         (paintText): never ask for one past last
6922
6923         * paragraph_pimpl.C (getChar): make the assert stricter, never
6924         allow the one past last pos to be taken
6925
6926         * paragraph.C (getChar): ws changes only
6927
6928         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6929         (numberOfSeparators): ditto
6930         (numberOfHfills): ditto
6931
6932 2003-03-12  John Levon  <levon@movementarian.org>
6933
6934         * author.h:
6935         * author.C:
6936         * bufferparams.h:
6937         * bufferparams.C:
6938         * paragraph_funcs.C: fix per-buffer authorlists
6939
6940 2003-03-12  John Levon  <levon@movementarian.org>
6941
6942         * text.C: fix newline in right address
6943
6944 2003-03-12  Angus Leeming  <leeming@lyx.org>
6945
6946         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6947         duplicate those in LyXFunc::dispatch.
6948
6949         * commandtags.h:
6950         * LyXAction.C:
6951         * ToolbarDefaults.C:
6952         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6953         Add LFUN_FONTFREE_UPDATE.
6954
6955         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6956         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6957
6958         * bufferview_func.[Ch]: several new functions to facilliate
6959         transfer of data to and from the character dialog.
6960
6961 2003-03-12  John Levon  <levon@movementarian.org>
6962
6963         * buffer.C:
6964         * paragraph.h:
6965         * paragraph.C:
6966         * paragraph_funcs.C:
6967         * paragraph_pimpl.C:
6968         * sgml.C:
6969         * tabular.C:
6970         * text.C:
6971         * text3.C: remove META_NEWLINE in favour of an inset
6972
6973         * rowpainter.h:
6974         * rowpainter.C: remove paintNewline (done by inset)
6975
6976 2003-03-12  John Levon  <levon@movementarian.org>
6977
6978         * paragraph_pimpl.C: complain about bad getChar()s
6979         for a while at least
6980
6981 2003-03-12  John Levon  <levon@movementarian.org>
6982
6983         * buffer.h:
6984         * buffer.C: move paragraph read into a separate function,
6985         a little renaming to reflect that.
6986
6987         * bufferparams.h:
6988         * bufferparams.C: remove the author_ids map, not necessary now
6989
6990         * factory.h:
6991         * factory.C: moved Buffer::readInset to here
6992
6993         * paragraph_funcs.h:
6994         * paragraph_funcs.C: readParagraph free function moved from
6995         buffer.C
6996
6997         * tabular.C: name change
6998
6999 2003-03-12  John Levon  <levon@movementarian.org>
7000
7001         * buffer.C:
7002         * ParagraphParameters.C: move par params input to
7003         a read() method
7004
7005         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7006         behave like a normal read from the stream wrt reading
7007         a line vs. a \\token
7008
7009 2003-03-12  John Levon  <levon@movementarian.org>
7010
7011         * paragraph.C:
7012         * ParagraphParameters.h:
7013         * ParagraphParameters.C: move output code to a
7014         ::write() method
7015
7016 2003-03-12  John Levon  <levon@movementarian.org>
7017
7018         * BufferView.C (insertLyXFile):
7019         * buffer.h:
7020         * buffer.C:
7021         * tabular.C: use a parlist iterator for creating the
7022           document.
7023
7024 2003-03-12  John Levon  <levon@movementarian.org>
7025
7026         * buffer.C: make current_change static local not
7027           static file-scope
7028
7029 2003-03-12  John Levon  <levon@movementarian.org>
7030
7031         * buffer.C: fix insertStringAsLines for change tracking
7032
7033 2003-03-12  John Levon  <levon@movementarian.org>
7034
7035         * BufferView.C:
7036         * tabular.C:
7037         * buffer.h:
7038         * buffer.C:
7039         * bufferparams.h:
7040         * bufferparams.C: move author list into params. Rename some
7041           functions. Move the header reading into a separate token
7042           loop. Move the header token reading into BufferParams.
7043
7044 2003-03-12  John Levon  <levon@movementarian.org>
7045
7046         * changes.C: put debug inside lyxerr.debugging() checks
7047
7048 2003-03-11 André Pönitz <poenitz@gmx.net>
7049
7050         * factory.C: make it aware of InsetHFill
7051
7052 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7053
7054         * buffer.C (latexParagraphs): move function from here...
7055         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7056         args.
7057
7058 2003-03-10  Angus Leeming  <leeming@lyx.org>
7059
7060         * LyXAction.C (init): fix bug in poplating array with multiple entries
7061         with the same LFUN (spotted by JMarc).
7062
7063 2003-03-10  John Levon  <levon@movementarian.org>
7064
7065         * text.C:
7066         * text2.C: move getColumnNearX() near its
7067         only call site
7068
7069 2003-03-10  John Levon  <levon@movementarian.org>
7070
7071         * text.C: fix break before a minipage
7072
7073 2003-03-10  John Levon  <levon@movementarian.org>
7074
7075         * text.C: fix the last commit
7076
7077 2003-03-09  John Levon  <levon@movementarian.org>
7078
7079         * lyxtext.h:
7080         * text.C:
7081         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7082         bug 365 (don't break before insets unless needed). Don't
7083         return a value > last under any circumstances.
7084
7085 2003-03-09  Angus Leeming  <leeming@lyx.org>
7086
7087         * BufferView_pimpl.C (trackChanges, dispatch): call
7088         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7089
7090 2003-03-09  Angus Leeming  <leeming@lyx.org>
7091
7092         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7093         than Dialogs::showAboutlyx().
7094
7095 2003-03-09  Angus Leeming  <leeming@lyx.org>
7096
7097         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7098         than Dialogs::showTabularCreate().
7099
7100 2003-03-09  John Levon  <levon@movementarian.org>
7101
7102         * lyxtext.h:
7103         * text.C:
7104         * text2.C: 3rd arg to nextBreakPoint was always the same.
7105           Use references.
7106
7107 2003-03-08  John Levon  <levon@movementarian.org>
7108
7109         * lyxrow.C:
7110         * paragraph.C:
7111         * paragraph.h:
7112         * rowpainter.C:
7113         * text.C:
7114         * text2.C: Remove the "main" bit from the "main body"
7115           notion.
7116
7117 2003-03-08  John Levon  <levon@movementarian.org>
7118
7119         * text.C (leftMargin): The left margin of an empty
7120         manual label paragraph should not include the label width
7121         string length.
7122
7123         * text.C (prepareToPrint): don't attempt to measure hfills
7124         for empty manual label paragraphs - the answer should be 0
7125
7126 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * CutAndPaste.C: remove commented code and reindent.
7129
7130 2003-03-08  John Levon  <levon@movementarian.org>
7131
7132         * lyxfunc.h:
7133         * lyxfunc.C: move reloadBuffer()
7134
7135         * BufferView.h:
7136         * BufferView.C: to here
7137
7138         * lyxvc.C: add comment
7139
7140         * vc-backend.h:
7141         * vc-backend.C: call bv->reload() to avoid
7142           getStatus() check on MENURELOAD
7143
7144 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7145
7146         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7147         to an old format .dep file.
7148
7149 2003-03-07  Angus Leeming  <leeming@lyx.org>
7150
7151         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7152         when the LFUN_MOUSE_RELEASE should have been handled by
7153         inset->localDispatch.
7154
7155 2003-03-07  Angus Leeming  <leeming@lyx.org>
7156
7157         * BufferView_pimpl.C (dispatch):
7158         * LyXAction.C (init):
7159         * ToolbarDefaults.C (init):
7160         * commandtags.h:
7161         * lyxfunc.C (getStatus):
7162         remove LFUN_INSET_GRAPHICS.
7163
7164         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7165
7166 2003-03-07  Angus Leeming  <leeming@lyx.org>
7167
7168         * commandtags.h:
7169         * LyXAction.C (init):
7170         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7171
7172         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7173
7174         * commandtags.h:
7175         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7176
7177         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7178         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7179
7180 2003-03-07  Angus Leeming  <leeming@lyx.org>
7181
7182         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7183         remove "ert".
7184
7185 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * ParagraphList.C (front): new function
7188         (back): implement
7189
7190 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7193         and top_row_offset_. removed var first_y.
7194         * text.C (top_y):
7195         * text2.C (LyXText, removeRow):
7196         * text3.C:
7197         * BufferView_pimpl.C:
7198         use these methods instead of using first_y
7199
7200 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7201
7202         * text2.C (pasteSelection): adjust for checkPastePossible
7203
7204         * CutAndPaste.C: remove Paragraph * buf and replace with
7205         ParagraphList paragraphs.
7206         (DeleteBuffer): delete
7207         (cutSelection): change the tc type to textclass_type
7208         (copySelection): change the tc type to textclass_type
7209         (copySelection): adjust for ParagraphList
7210         (pasteSelection): change the tc type to textclass_type
7211         (pasteSelection): adjust for Paragraphlist
7212         (nrOfParagraphs): simplify for ParagraphList
7213         (checkPastePossible): simplify for ParagraphList
7214         (checkPastePossible): remove unused arg
7215
7216         * ParagraphList.C (insert): handle the case where there are no
7217         paragraphs yet.
7218
7219         * CutAndPaste.h: make CutAndPaste a namespace.
7220
7221         * text3.C (dispatch): adjust
7222
7223         * text.C (breakParagraph): add a ParagraphList as arg
7224
7225         * paragraph_funcs.C (breakParagraph): change to take a
7226         BufferParams and a ParagraphList as args.
7227         (breakParagraphConservative): ditto
7228         (mergeParagraph): ditto
7229         (TeXDeeper): add a ParagraphList arg
7230         (TeXEnvironment): ditto
7231         (TeXOnePar): ditto
7232
7233         * buffer.C (readLyXformat2): adjust
7234         (insertStringAsLines): adjust
7235         (latexParagraphs): adjust
7236
7237         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7238         (cutSelection): adjust
7239         (pasteSelection): adjust
7240
7241         * BufferView_pimpl.C (insertInset): adjust
7242
7243 2003-03-05  Angus Leeming  <leeming@lyx.org>
7244
7245         * commandtags.h:
7246         * LyXAction.C (init):
7247         * BufferView_pimpl.C (dispatch):
7248         * lyxfunc.C (getStatus):
7249         remove LFUN_CHILD_INSERT.
7250
7251         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7252
7253 2003-03-05  Angus Leeming  <leeming@lyx.org>
7254
7255         * commandtags.h:
7256         * LyXAction.C (init):
7257         * src/factory.C (createInset):
7258         * lyxfunc.C (getStatus):
7259         * text3.C (dispatch):
7260         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7261
7262         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7263
7264 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * ParagraphList.C (insert): handle insert right before end()
7267         (erase): fix cases where it can be first or last paragraph.
7268
7269 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7272         Paragraph::next and Paragraph::previous
7273         (TeXOnePar): ditto
7274
7275         * text.C (breakParagraph): adjust
7276
7277         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7278         BufferParams& as arg.
7279         (breakParagraph): use ParagraphList::insert
7280         (breakParagraphConservative): take a Buffer* instead of a
7281         BufferParams& as arg.
7282         (breakParagraphConservative): use ParagraphList::insert.
7283
7284         * buffer.C (insertStringAsLines): un-const it
7285         (insertStringAsLines): adjust
7286
7287         * ParagraphList.C (insert): new function
7288
7289         * CutAndPaste.C (pasteSelection): adjust
7290
7291         * text.C (backspace): adjust
7292
7293         * tabular.C (SetMultiColumn): adjust
7294
7295         * CutAndPaste.C (cutSelection): adjust
7296         (pasteSelection): adjust
7297
7298         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7299         Buffer const * as arg
7300
7301         * ParagraphList.C (erase): new function
7302         * paragraph_funcs.C (mergeParagraph): use it
7303         (mergeParagraph): make it take a Buffer* instead of a
7304         BufferParams* as arg
7305
7306         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7307         as arg
7308         (breakParagraphConservative): ditto
7309
7310         * paragraph.h: remove the breakParagraph friend
7311
7312         * paragraph.C (eraseIntern): new function
7313         (setChange): new function
7314
7315         * paragraph_funcs.C (mergeParagraph): make it take a
7316         ParagraphList::iterator instead of a Paragraph *, adjust
7317         accordingly.
7318
7319         * paragraph.h: move an #endif so that the change tracking stuff
7320         also works in the NO_NEXT case.
7321
7322 2003-03-04  Angus Leeming  <leeming@lyx.org>
7323
7324         * commandtags.h:
7325         * LyXAction.C: new LFUN_INSET_MODIFY.
7326
7327         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7328         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7329
7330 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * several files: ws changes only
7333
7334         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7335         (TeXEnvironment): ditto
7336         (TeXDeeper): ditto
7337
7338         * buffer.C (makeLaTeXFile): adjust
7339         (latexParagraphs): make it take ParagraphList::iterator as args
7340
7341 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * buffer.C (latexParagraphs): adjust
7344
7345         * paragraph.C (TeXOnePar): move function...
7346         (optArgInset): move function...
7347         (TeXEnvironment): move function...
7348         * paragraph_pimpl.C (TeXDeeper): move function...
7349         * paragraph_funcs.C: ...here
7350
7351         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7352
7353 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * buffer.C (readInset): remove compability code for old Figure and
7356         InsetInfo insets
7357
7358 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * buffer.C: ws changes
7361         (readInset):
7362
7363         * BufferView_pimpl.C: ditto
7364         * author.C: ditto
7365         * buffer.h: ditto
7366         * bufferlist.h: ditto
7367         * changes.h: ditto
7368         * lyxfunc.C: ditto
7369
7370 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7371
7372         * converter.[Ch]: split into itself +
7373         * graph.[Ch]
7374         * format.[Ch]
7375         * Makefile.am: += graph.[Ch] + format.[Ch]
7376         * MenuBackend.C
7377         * buffer.C
7378         * exporter.C
7379         * importer.C
7380         * lyx_main.C
7381         * lyxfunc.C
7382         * lyxrc.C: added #include "format.h"
7383
7384 2003-02-27  Angus Leeming  <leeming@lyx.org>
7385
7386         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7387           a label.
7388
7389         * factory.C (createInset): add "label" to the factory.
7390
7391         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7392           string and do no more.
7393
7394 2003-02-27  Angus Leeming  <leeming@lyx.org>
7395
7396         * commandtags.h:
7397         * LyXAction.C (init):
7398         * factory.C (createInset):
7399         * BufferView_pimpl.C (dispatch):
7400           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7401
7402         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7403
7404         * lyxfunc.C (dispatch):
7405         * text3.C (dispatch): pass name to params2string.
7406
7407 2003-02-26  Angus Leeming  <leeming@lyx.org>
7408
7409         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7410           blocks together.
7411           Rearrange the ~includes. Strip out the unnecessary ones.
7412
7413         * factory.C (createInset): reformat.
7414           create new insets for the various LFUN_XYZ_APPLY lfuns.
7415
7416 2003-02-26  John Levon  <levon@movementarian.org>
7417
7418         * lyxrow.h:
7419         * lyxrow.C: add isParStart,isParEnd helpers
7420
7421         * paragraph.h: make isInserted/DeletedText take refs
7422
7423         * paragraph_funcs.h:
7424         * paragraph_funcs.C: remove #if 0'd code
7425
7426         * lyxtext.h:
7427         * text3.C:
7428         * text2.C:
7429         * text.C: use lyxrow helpers above.
7430           Move draw and paint routines to RowPainter.
7431           Make several methods use refs not pointers.
7432           Make backgroundColor() const.
7433           Add markChangeInDraw(), isInInset().
7434           Merge changeRegionCase into changeCase.
7435           Make workWidth() shouldn't-happen code into an Assert.
7436
7437         * rowpainter.h:
7438         * rowpainter.C: new class for painting a row.
7439
7440         * vspace.h:
7441         * vspace.C: make inPixels take a ref
7442
7443 2003-02-26  Angus Leeming  <leeming@lyx.org>
7444
7445         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7446         LFUN_REF_APPLY.
7447
7448 2003-02-25  John Levon  <levon@movementarian.org>
7449
7450         * ispell.C: give the forked command a more accurate name
7451
7452 2003-02-22  John Levon  <levon@movementarian.org>
7453
7454         * toc.h:
7455         * toc.C: make TocItem store an id not a Paragraph *
7456           (bug #913)
7457
7458 2003-02-21  Angus Leeming  <leeming@lyx.org>
7459
7460         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7461           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7462           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7463           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7464           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7465           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7466
7467         * BufferView_pimpl.C (dispatch):
7468         * LyXAction.C (init):
7469         * factory.C (createInset):
7470         * lyxfunc.C (getStatus, dispatch):
7471         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7472
7473 2003-02-21  Angus Leeming  <leeming@lyx.org>
7474
7475         * BufferView_pimpl.C (MenuInsertLyXFile):
7476         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7477         * lyxfunc.C (menuNew, open, doImport):
7478           no longer pass a LyXView & to fileDlg.
7479
7480 2003-02-21  Angus Leeming  <leeming@lyx.org>
7481
7482         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7483         * LyXAction.C: change, BIBKEY to BIBITEM.
7484         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7485         Change InsetBibKey to InsetBibitem.
7486         Change BIBKEY_CODE to BIBITEM_CODE.
7487         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7488         * factory.C: replace insetbib.h with insetbibitem.h.
7489         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7490         * paragraph.C: replace insetbib.h with insetbibitem.h.
7491         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7492         Change bibkey() to bibitem().
7493         * text.C: remove insetbib.h.
7494         * text2.C: replace insetbib.h with insetbibitem.h.
7495         change bibkey() to bibitem().
7496         * text3.C: remove insetbib.h.
7497         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7498
7499 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7500
7501         * lyxrc.C (output): enclose user email in quotes (in case there are
7502         several words)
7503
7504 2003-02-18  John Levon  <levon@movementarian.org>
7505
7506         * buffer.h: add std::
7507
7508 2003-02-17  John Levon  <levon@movementarian.org>
7509
7510         * SpellBase.h:
7511         * ispell.h:
7512         * ispell.C:
7513         * pspell.h:
7514         * pspell.C: reworking. Especially in ispell, a large
7515           number of clean ups and bug fixes.
7516
7517         * lyxfunc.C: fix revert to behave sensibly
7518
7519 2003-02-17 André Pönitz <poenitz@gmx.net>
7520
7521         * LyXAction.C:
7522         * commandtags.h: new LFUN_INSERT_BIBKEY
7523
7524         * layout.h:
7525         * lyxlayout.C:
7526         * buffer.C:
7527         * factory.C:
7528         * text.C:
7529         * text2.C:
7530         * text3.C:
7531         * paragraph.[Ch]:
7532         * paragraph_func.C: remove special bibkey handling
7533
7534 2003-02-17  John Levon  <levon@movementarian.org>
7535
7536         * text.C (Delete): fix case where delete at the end of
7537           the very first paragraph would not merge the pars
7538
7539 2003-02-17  John Levon  <levon@movementarian.org>
7540
7541         * lyxrow.C: fix lastPrintablePos()
7542
7543 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7544
7545         * bufferparams.C (writeLaTeX): add a std:here
7546
7547         * buffer.C: and remove a using directive there
7548
7549 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * buffer.C (makeLaTeXFile): move the code that generates the
7552           preamble...
7553
7554         * bufferparams.C (writeLaTeX): ... in this new method
7555
7556         * LaTeXFeatures.C (getEncodingSet): make const
7557           (getLanguages): make const
7558
7559         * MenuBackend.C (binding): returns the binding associated to this
7560           action
7561           (add): sets the status of each item by calling getStatus. Adds
7562           some intelligence.
7563           (read): add support for OptSubMenu
7564           (expand): remove extra separator at the end of expanded menu
7565
7566 2003-02-15  John Levon  <levon@movementarian.org>
7567
7568         * BufferView.C:
7569         * BufferView_pimpl.C:
7570         * bufferlist.h:
7571         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7572           inset code that had no actual effect. Remove unneeded status
7573           code.
7574
7575 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7576
7577         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7578           in preamble
7579
7580 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7581
7582         * text.C (drawLengthMarker): also draw an arrow marker for
7583           symbolic lengths (medskip...)
7584
7585 2003-02-14  John Levon  <levon@movementarian.org>
7586
7587         * tabular.h:
7588         * tabular.C: better method names
7589
7590 2003-02-14  John Levon  <levon@movementarian.org>
7591
7592         * BufferView_pimpl.C:
7593         * bufferlist.C:
7594         * buffer.C:
7595         * converter.C:
7596         * lyx_cb.C:
7597         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7598           it's a more accurate name. Remove some pointless uses.
7599
7600 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7601
7602         * text2.C (LyXText): change order of initilizers to shut off
7603           warnings
7604
7605 2003-02-14  John Levon  <levon@movementarian.org>
7606
7607         * buffer.C: use ParIterator for getParFromID()
7608
7609         * paragraph.h:
7610         * paragraph.C:
7611         * paragraph_pimpl.h:
7612         * paragraph_pimpl.C: remove unused getParFromID()
7613
7614 2003-02-14  John Levon  <levon@movementarian.org>
7615
7616         * buffer.C: remove some very old #if 0'd parse code
7617
7618 2003-02-13  John Levon  <levon@movementarian.org>
7619
7620         * text.h:
7621         * text.C:
7622         * text2.C: move hfillExpansion(), numberOfSeparators(),
7623           rowLast(), rowLastPrintable(), numberofHfills(),
7624           numberOfLabelHfills() ...
7625
7626         * lyxrow.h:
7627         * lyxrow.C: ... to member functions here.
7628
7629         * paragraph.h:
7630         * paragraph.C:
7631         * lyxtext.h:
7632         * text.C: remove LyXText::beginningOfMainBody(), and call
7633           p->beginningOfMainBody() directly. Move the check for
7634           LABEL_MANUAL into the latter.
7635
7636         * text.h:
7637         * text.C:
7638         * text2.C:
7639         * vspace.C:
7640         * BufferView.h:
7641         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7642
7643         * text.h:
7644         * text.C:
7645         * text2.C:
7646         * text3.C:
7647         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7648           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7649
7650 2003-02-13  John Levon  <levon@movementarian.org>
7651
7652         * CutAndPaste.C: remove debug
7653
7654 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7655
7656         * paragraph.C (asString): remove two unused variables
7657
7658         * lyxtextclass.C (readTitleType):
7659           (Read):
7660           (LyXTextClass): handle new members titletype_ and titlename_
7661
7662         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7663
7664 2003-02-09  John Levon  <levon@movementarian.org>
7665
7666         * buffer.h:
7667         * buffer.C: replace hand-coded list with a map for the dep clean
7668
7669 2003-02-08  John Levon  <levon@movementarian.org>
7670
7671         * LaTeX.C: consolidate code into showRunMessage() helper
7672
7673 2003-02-08  John Levon  <levon@movementarian.org>
7674
7675         * lyxfind.C:
7676         * lyxtext.h:
7677         * text2.C:
7678         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7679           and pass the size in explicitly
7680
7681         * BufferView_pimpl.h:
7682         * BufferView_pimpl.C:
7683         * BufferView.h:
7684         * BufferView.C: add getCurrentChange()
7685
7686         * BufferView_pimpl.h:
7687         * BufferView_pimpl.C: handle change lfuns
7688
7689         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7690           for changes. Mark pasted paragraphs as new.
7691
7692         * support/lyxtime.h:
7693         * support/lyxtime.C:
7694         * DepTable.C: abstract time_t as lyx::time_type
7695
7696         * LColor.h:
7697         * LColor.C: add colours for new text, deleted text, changebars
7698
7699         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7700           package use "usenames" option.
7701
7702         * commandtags.h:
7703         * lyxfunc.C:
7704         * LyXAction.C: add change lfuns
7705
7706         * Makefile.am:
7707         * author.h:
7708         * author.C: author handling
7709
7710         * buffer.h:
7711         * buffer.C: add a per-buffer author list, with first entry as
7712           current author. Handle new .lyx tokens for change tracking. Output
7713           author list to .lyx file. Output dvipost stuff to .tex preamble.
7714           Bump lyx format to 222.
7715
7716         * bufferlist.h:
7717         * bufferlist.C: add setCurrentAuthor() to reset current author details
7718           in all buffers.
7719
7720         * bufferparams.h:
7721         * bufferparams.C: add param for tracking
7722
7723         * bufferview_funcs.C: output change info in minibuffer
7724
7725         * Makefile.am:
7726         * changes.h:
7727         * changes.C: add change-tracking structure
7728
7729         * debug.h:
7730         * debug.C: add CHANGES debug flag
7731
7732         * lyxfind.h:
7733         * lyxfind.C: add code for finding the next change piece
7734
7735         * lyxrc.h:
7736         * lyxrc.C: add user_name and user_email
7737
7738         * lyxrow.h:
7739         * lyxrow.C: add a metric for the top of the text line
7740
7741         * lyxtext.h:
7742         * text.C: implement accept/rejectChange()
7743
7744         * lyxtext.h:
7745         * text.C: paint changebars. Paint new/deleted text in the chosen
7746         colours. Strike through deleted text.
7747
7748         * paragraph.h:
7749         * paragraph.C:
7750         * paragraph_pimpl.h:
7751         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7752           in the current change to the insert functions. Rework erase to
7753           mark text as deleted, adding an eraseIntern() and a range-based
7754           erase(). Implement per-paragraph change lookup and
7755           accept/reject.
7756
7757         * paragraph_funcs.C: Fixup paste for change tracking.
7758
7759         * tabular.C: mark added row/columns as new.
7760
7761         * text.C: fix rowLast() to never return -1. Don't allow
7762           spellchecking of deleted text. Track transpose changes. Don't
7763           allow paragraph break or merge where appropriate.
7764
7765         * text2.C: leave cursor at end of selection after a cut.
7766
7767 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7768
7769         * text.C (getLengthMarkerHeight):
7770         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7771         visible on screen too.
7772
7773 2003-02-07  John Levon  <levon@movementarian.org>
7774
7775         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7776
7777 2003-02-05  Angus Leeming  <leeming@lyx.org>
7778
7779         * lyxserver.C (read_ready): revert my patch of 11 September last year
7780         as it sends PC cpu through the roof. Presumably this means that
7781         the lyxserver will no longer run on an Alpha...
7782
7783 2003-01-30  Angus Leeming  <leeming@lyx.org>
7784
7785         * factory.C (createInset): create an InsetCommandParam of type "index"
7786         and use it to 'do the right thing'.
7787
7788         * text2.C (getStringToIndex): ensure that cursor position is always
7789         reset to the reset_cursor position.
7790
7791 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7792
7793         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7794         disabled.
7795
7796 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7797
7798         * bufferview.C:
7799         * lyxcb.C:
7800         * lyxfunc.C: Output messages with identical spelling, punctuation,
7801         and spaces
7802
7803 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7804
7805         * MenuBackend.C (expandFormats): List only viewable export formats
7806         in "View" menu
7807
7808         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7809         message
7810
7811         * lyxfunc.C (getStatus): Make sure that formats other than
7812         "fax" can also be disabled
7813
7814 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7815
7816         * text3.C (dispatch): put the lfuns that insert insets in 3
7817         groups, and call doInsertInset with appropriate arguments.
7818         (doInsertInset): new function, that creates an inset and inserts
7819         it according to some boolean parameters.
7820
7821 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * buffer.C (readFile): remember to pass on 'par' when calling
7824         readFile recursively.
7825
7826 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7827
7828         * MenuBackend.C (expandFormats): add "..." to import formats.
7829
7830 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * paragraph.C (asString): Remove XForms RTL hacks.
7833
7834 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7835         * buffer.C: fix typo
7836
7837 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * Makefile.am (LIBS): delete var
7840         (lyx_LDADD): add @LIBS@ here instead.
7841
7842 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7843
7844         * Clarify the meaning of "wheel mouse jump"
7845
7846 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7847
7848         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7849         tabular in a float
7850
7851 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7852
7853         * importer.C (Loaders): do not preallocate 3 elements in the
7854         vector, since one ends up with 6 elements otherwise
7855
7856 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7857
7858         * DepTable.C (write): write the file name as last element of the
7859         .dep file (because it may contain spaces)
7860         (read): read info in the right order
7861
7862 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7863
7864         * paragraph_pimpl.C (simpleTeXBlanks):
7865         (simpleTeXSpecialChars):
7866         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7867
7868         * tabular.C (latex): add some missing case statements. Reindent.
7869
7870         * MenuBackend.C (expandToc): remove unused variable.
7871
7872 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7873
7874         * LColor.C:
7875         * LaTeX.C:
7876         * LyXAction.C:
7877         * MenuBackend.C:
7878         * buffer.C:
7879         * exporter.C:
7880         * lyxfunc.C:
7881         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7882         and the like.
7883
7884 2003-01-05  John Levon  <levon@movementarian.org>
7885
7886         * BufferView.h:
7887         * BufferView.C: add getEncoding()
7888
7889         * kbsequence.h:
7890         * kbsequence.C: do not store last keypress
7891
7892         * lyxfunc.h:
7893         * lyxfunc.C: store last keypress here instead. Pass encoding
7894           to getISOEncoded()
7895
7896 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7897
7898         * lyx_main.C (init): remove annoying error message when following
7899         symbolic links (bug #780)
7900
7901 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7902
7903         * text.C (insertChar):
7904         * lyxrc.C (getDescription): remove extra spaces
7905
7906 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7907
7908         * lyxrc.C (getDescription): remove extra spaces
7909
7910 2002-12-20  John Levon  <levon@movementarian.org>
7911
7912         * text3.C: hack fix for page up/down across tall rows
7913
7914 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7915
7916         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7917         not been invoked
7918
7919 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7920
7921         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7922         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7923         thesaurus is not compiled in
7924
7925 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7926
7927         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7928
7929 2002-12-16  Angus Leeming  <leeming@lyx.org>
7930
7931         * lyxrc.[Ch]:
7932         * lyx_main.C (init): remove override_x_deadkeys stuff.
7933
7934 2002-12-12  John Levon  <levon@movementarian.org>
7935
7936         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7937           insert. Only remove shift modifier under strict
7938           circumstances.
7939
7940 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * MenuBackend.C (expandToc): fix crash.
7943
7944 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * MenuBackend.C (expandToc): gettext on float names.
7947
7948 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7949
7950         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7951         implement bool empty() [bug 490]
7952
7953 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7956
7957 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7958
7959         * several files: ws changes
7960
7961 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * text2.C (setCounter): clean up a bit, use boost.format.
7964         (updateCounters): initialize par upon declaration.
7965
7966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7967         if the layout exists. We do not just store the layout any more.
7968         (SwitchLayoutsBetweenClasses): use boost.format
7969
7970 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7971
7972         * converter.C (convert): if from and to files are the same, use a
7973         temporary files as intermediary
7974
7975 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7976
7977         * commandtags.h:
7978         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7979
7980 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7981
7982         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7983
7984 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * tabular.C (asciiPrintCell): use string(size, char) instead of
7987         explicit loop.
7988
7989         * sgml.C (openTag): fix order of arguments to string constructor
7990         (closeTag): ditto
7991
7992         * lyxfunc.C (dispatch): use boost.format
7993
7994         * lots of files: change "c" -> 'c'
7995
7996 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7997
7998         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7999
8000 2002-11-25  Angus Leeming  <leeming@lyx.org>
8001
8002         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8003
8004         * lyx_main.C (init): compile fix.
8005
8006 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * lyx_cb.C (start): boost.formatify
8009         do not include <iostream>
8010
8011         * lengthcommon.C: ws only
8012
8013         * boost-inst.C,BoostFormat.h: add more explict instantations
8014
8015 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * lots of files: handle USE_BOOST_FORMAT
8018
8019 2002-11-21  John Levon  <levon@movementarian.org>
8020
8021         * pspell.C: fix compile
8022
8023 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8024
8025         * lyxfunc.C (dispatch): use boost::format
8026         (open): ditto
8027         (doImport): ditto
8028
8029         * lyxfont.C (stateText): use boost::format
8030
8031         * lyx_main.C (LyX): use boost::format
8032         (init): ditto
8033         (queryUserLyXDir): ditto
8034         (readRcFile): ditto
8035         (parse_dbg): ditto
8036         (typedef boost::function): use the recommened syntax.
8037
8038         * importer.C (Import): use boost::format
8039
8040         * debug.C (showLevel): use boost::format
8041
8042         * converter.C (view): use boost::format
8043         (convert): ditto
8044         (move): ditto
8045         (scanLog): ditto
8046
8047         * bufferview_funcs.C (currentState): use boost::format
8048
8049         * bufferlist.C (emergencyWrite): use boost::format
8050
8051         * buffer.C (readLyXformat2): use boost::format
8052         (parseSingleLyXformat2Token): ditto
8053
8054         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8055
8056         * LaTeX.C (run): use boost::format
8057
8058         * Chktex.C (scanLogFile): use boost::format
8059
8060         * BufferView_pimpl.C (savePosition): use boost::format
8061         (restorePosition): ditto
8062         (MenuInsertLyXFile): ditto
8063
8064         * BoostFormat.h: help file for explicit instation.
8065
8066 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8067
8068         * tabular.C (latex): Support for block alignment in fixed width
8069         columns.
8070
8071 2002-11-17  John Levon  <levon@movementarian.org>
8072
8073         * BufferView_pimpl.C:
8074         * lyx_cb.C:
8075         * lyxfunc.C: split filedialog into open/save
8076
8077 2002-11-08  Juergen Vigna  <jug@sad.it>
8078
8079         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8080         by my last patch (hopefully).
8081
8082 2002-11-08  John Levon  <levon@movementarian.org>
8083
8084         * iterators.h:
8085         * iterators.C:
8086         * buffer.h:
8087         * buffer.C:
8088         * paragraph.h:
8089         * paragraph.C:
8090         * toc.h:
8091         * toc.C: ParConstIterator, and use it (from Lars)
8092
8093 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8094
8095         * lyxtextclass.[Ch]: revise and add doxygen comments
8096
8097 2002-11-07  John Levon  <levon@movementarian.org>
8098
8099         * text.C: fix progress value for spellchecker
8100
8101         * toc.C: fix navigate menu for insetwrap inside minipage
8102
8103         * paragraph_funcs.C: added FIXME for suspect code
8104
8105 2002-11-07  John Levon  <levon@movementarian.org>
8106
8107         * BufferView_pimpl.C: fix redrawing of insets
8108           on buffer switch
8109
8110 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8111
8112         * text2.C (updateCounters): fix bug 668
8113
8114 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8115
8116         * text3.C (dispatch): Do not make the buffer dirty when moving the
8117         cursor.
8118
8119 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * vc-backend.C: STRCONV
8122         (scanMaster): ditto
8123
8124         * text2.C (setCounter): STRCONV
8125
8126         * paragraph.C (asString): STRCONV
8127
8128         * lyxlength.C (asString): STRCONV
8129         (asLatexString): ditto
8130
8131         * lyxgluelength.C (asString): STRCONV
8132         (asLatexString): ditto
8133
8134         * lyxfunc.C (dispatch): STRCONV
8135         (open): ditto
8136
8137         * lyxfont.C (stateText): STRCONV
8138
8139         * importer.C (Import): STRCONV
8140
8141         * counters.C (labelItem): STRCONV
8142         (numberLabel): ditto
8143         (numberLabel): remove unused ostringstream o
8144
8145         * chset.C: STRCONV
8146         (loadFile): ditto
8147
8148         * bufferview_funcs.C (currentState): STRCONV
8149
8150         * buffer.C (readFile): STRCONV
8151         (asciiParagraph): ditto
8152         (makeLaTeXFile): ditto
8153
8154         * Spacing.C (writeEnvirBegin): STRCONV
8155
8156         * LaTeXFeatures.C (getLanguages): STRCONV
8157         (getPackages): ditto
8158         (getMacros): ditto
8159         (getBabelOptions): ditto
8160         (getTClassPreamble): ditto
8161         (getLyXSGMLEntities): ditto
8162         (getIncludedFiles): ditto
8163
8164         * LaTeX.C: STRCONV
8165         (run): ditto
8166         (scanAuxFile): ditto
8167         (deplog): ditto
8168
8169         * LString.h: add the STRCONV macros
8170
8171         * BufferView_pimpl.C (savePosition): STRCONV
8172         (restorePosition): ditto
8173         (MenuInsertLyXFile): ditto
8174
8175         * vc-backend.C (scanMaster): change from submatch[...] to
8176         submatch.str(...)
8177
8178         * funcrequest.C: include config.h
8179
8180         * factory.C: include config.h
8181
8182         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8183
8184         * box.C: include config.h
8185
8186         * LaTeX.C (scanAuxFile): change from submatch[...] to
8187         submatch.str(...)
8188         (deplog): ditto
8189
8190 2002-10-25  Angus Leeming  <leeming@lyx.org>
8191
8192         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8193
8194         * ispell.[Ch] (setError): new method.
8195         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8196         Use setError() insetead of goto END.
8197
8198         * lyx_cb.C (AutoSave): move out child process into new class
8199         AutoSaveBuffer.
8200
8201 2002-10-30  John Levon  <levon@movementarian.org>
8202
8203         * text3.C: make start appendix undoable
8204
8205 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8206
8207         * lyxlength.C (inPixels): Fix returned value.
8208
8209         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8210         environment.
8211
8212 2002-10-24  Angus Leeming  <leeming@lyx.org>
8213
8214         * lyxgluelength.h: no need to forward declare BufferParams
8215         or BufferView, so don't.
8216
8217 2002-10-21  John Levon  <levon@movementarian.org>
8218
8219         * BufferView.C: menuUndo ->undo, redo
8220
8221         * BufferView.h: document, remove dead, make some methods private
8222
8223         * paragraph_funcs.h:
8224         * paragraph_funcs.C:
8225         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8226
8227         * buffer.h:
8228         * buffer.C:
8229         * sgml.h:
8230         * sgml.C: move sgml open/close tag into sgml.C
8231
8232         * bufferview_funcs.h: unused prototype
8233
8234         * lyxfunc.h:
8235         * lyxfunc.C: remove unused
8236
8237         * lyxtext.h:
8238         * text.C: remove unused
8239
8240 2002-10-21  John Levon  <levon@movementarian.org>
8241
8242         * BufferView.h:
8243         * BufferView.C:
8244         * BufferView_pimpl.h:
8245         * BufferView_pimpl.C: fix mouse wheel handling based on
8246           patch from Darren Freeman
8247
8248 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8249
8250         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8251
8252 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8253
8254         * lyxlength.C (inPixels): Fix hanfling of negative length.
8255         Fix LyXLength::MU case.
8256
8257 2002-10-16  John Levon  <levon@movementarian.org>
8258
8259         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8260
8261 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8262
8263         * converter.C (view): add support for $$i (file name) and $$p
8264         (file path) for the viewer command. If $$i is not specified, then
8265         it is appended to the command (for compatibility with old syntax)
8266
8267 2002-10-14  Juergen Vigna  <jug@sad.it>
8268
8269         * undo_funcs.C (textHandleUndo): alter the order in which the
8270         new undopar is added to the LyXText, as we have to set first
8271         the right prev/next and then add it as otherwise the rebuild of
8272         LyXText is not correct. Also reset the cursor to the right paragraph,
8273         with this IMO we could remove the hack in "redoParagraphs()".
8274
8275 2002-10-09  Angus Leeming  <leeming@lyx.org>
8276
8277         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8278         to turn off an optimisation if a new inset is to be inserted.
8279
8280 2002-10-11 André Pönitz <poenitz@gmx.net>
8281
8282         * lyxtext.h: make some functions public to allow access
8283         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8284
8285 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8286
8287         * text3.C (dispatch): when changing layout, avoid an infinite loop
8288         [bug #652]
8289
8290 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8291
8292         * lyxrc.C (read): treat a viewer or converter command of "none" as
8293         if it were empty.
8294
8295         * MenuBackend.C (expandFormats): for an update, also allow the
8296         formats that are not viewable
8297
8298         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8299         script if it is newer than the lyxrc.defaults in user directory
8300
8301 2002-10-07 André Pönitz <poenitz@gmx.net>
8302
8303         * text.C: Vitaly Lipatov's small i18n fix
8304
8305 2002-09-25  Angus Leeming  <leeming@lyx.org>
8306
8307         * ispell.h: doxygen fix.
8308
8309 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8310
8311         * buffer.h (readFile): Add a new argument to the method, to allow
8312         reading of old-format templates.
8313
8314 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8315
8316         * toc.C (getTocList): Get TOC from InsetWrap.
8317
8318 2002-09-16  John Levon  <levon@movementarian.org>
8319
8320         * lyxfunc.C: check tabular for cut/copy too
8321
8322 2002-09-12  John Levon  <levon@movementarian.org>
8323
8324         * LyXAction.C: tidy
8325
8326         * factory.h:
8327         * factory.C: add header
8328
8329         * paragraph_funcs.h:
8330         * paragraph_funcs.C: cleanup
8331
8332 2002-09-11  John Levon  <levon@movementarian.org>
8333
8334         * PrinterParams.h: odd/even default to true
8335
8336 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8337
8338         * PrinterParams.h: update printer parameters for new xforms dialog
8339
8340 2002-09-11  Angus Leeming  <leeming@lyx.org>
8341
8342         * lyxserver.C (read_ready): re-write to make it more transparent
8343         and to make it work in coherent fashion under Tru64 Unix.
8344
8345 2002-09-11  André Pönitz <poenitz@gmx.net>
8346
8347         * commandtags.h:
8348         * LyXAction.C:
8349         * text3.C: implement LFUN_WORDSEL
8350
8351 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8354         make floatlist_ a boost::shared_ptr<FloatList>
8355
8356         * lyxtextclass.C: include FloatList.h
8357         (LyXTextClass): initialize floatlist_
8358         (TextClassTags): add TC_NOFLOAT
8359         (Read): match "nofloat" to TC_NOFLOAT and use it.
8360         (readFloat): modify call to floatlist_
8361         (floats): ditto
8362         (floats): ditto
8363
8364         * FloatList.[Ch] (FloatList): remove commented out float
8365         initialization.
8366         (erase): new function
8367
8368 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8369
8370         * MenuBackend.C (expandToc): fix crash when there is no document
8371         open
8372
8373 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8374
8375         * many files: Add insetwrap.
8376
8377 2002-09-09  John Levon  <levon@movementarian.org>
8378
8379         * text2.C: remove confusing and awkward depth wraparound
8380
8381 2002-09-09  John Levon  <levon@movementarian.org>
8382
8383         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8384
8385         * buffer.h:
8386         * buffer.C: remove getIncludeonlyList()
8387
8388         * paragraph.C:
8389         * lyxfunc.C: remove headers
8390
8391 2002-09-09  Juergen Vigna  <jug@sad.it>
8392
8393         * text.C (getColumnNearX): fix form Michael this is most
8394         probably a cut&paste bug.
8395
8396 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8399
8400         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8401         references, ws changes.
8402
8403         * text2.C (init): update counters after init
8404         (insertParagraph): no need to set counter on idividual paragraphs.
8405         (setCounter): access the counters object in the textclass object
8406         on in the buffer object.
8407         (updateCounters): ditto
8408
8409         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8410         shared_ptr<Counters> to avoid loading counters.h in all
8411         compilation units.
8412         (LyXTextClass): initialize ctrs_
8413         (TextClassTags): add TC_COUNTER, and ...
8414         (Read): use it here.
8415         (CounterTags): new tags
8416         (readCounter): new function
8417         (counters): new funtion
8418         (defaultLayoutName): return a const reference
8419
8420         * counters.C (Counters): remove contructor
8421         (newCounter): remove a couple of unneeded statements.
8422         (newCounter): simplify a bit.
8423         (numberLabel): some small formatting changes.
8424
8425         * buffer.[Ch]: remove all traces of counters, move the Counters
8426         object to the LyXTextClass.
8427
8428 2002-09-06  Alain Castera  <castera@in2p3.fr>
8429
8430         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8431         package to set the horizontal alignment on fixed width columns.
8432
8433         * lyx_sty.C:
8434         * lyx_sty.h: added tabularnewline macro def.
8435
8436         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8437
8438 2002-09-06  John Levon  <levon@movementarian.org>
8439
8440         * LyXAction.C: tooltips for sub/superscript
8441
8442         * MenuBackend.C: a bit more verbose
8443
8444         * lyxfunc.C: tiny clean
8445
8446         * undo_funcs.C: document undo_frozen
8447
8448 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * counters.C (Counters): add missing algorithm counter.
8451
8452         * text2.C (setCounter): lookup the counter with layouts latexname
8453         instead of by section number.
8454         (setCounter): use a hackish way to lookup the correct enum
8455         counter.
8456         a float name->type change
8457         reset enum couners with counter name directly instead of depth value.
8458
8459         * counters.C (Counters): remove the push_backs, change to use the
8460         float type not the float name.
8461         (labelItem): remove unused string, float name->type change
8462
8463         * counters.h: don't include vector, loose the enums and sects vectors
8464
8465 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8468         (Read): add float->TC_FLOAT to textclassTags
8469         (Read): and handle it in the switch
8470         (readFloat): new function
8471
8472         * FloatList.C (FloatList): comment out the hardcoded float
8473         definitions.
8474
8475         * lyxlayout.h: ws change.
8476
8477 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8478
8479         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8480
8481 2002-09-03  Angus Leeming  <leeming@lyx.org>
8482
8483         * BufferView_pimpl.h: qualified name is not allowed in member
8484         declaration: WorkArea & Pimpl::workarea() const;
8485
8486         * factory.C: added using std::endl directive.
8487
8488         * text3.C: added using std::find and std::vector directives.
8489
8490 2002-08-29  André Pönitz <poenitz@gmx.net>
8491
8492         * lyxtext.h:
8493         * text2.C: remove unused member number_of_rows
8494
8495         * Makefile.am:
8496         * BufferView2.C: remove file, move contents to...
8497         * BufferView.C: ... here
8498
8499         * BufferView_pimpl.C:
8500         * factory.C: move more inset creation to factory
8501
8502         * vspace.C: avoid direct usage of LyXText, ws changes
8503
8504         * BufferView.[Ch]:
8505                 don't provide direct access to WorkArea, use two simple
8506                 acessors haveSelction() and workHeight() instead
8507
8508
8509 2002-08-29  John Levon  <levon@movementarian.org>
8510
8511         * BufferView_pimpl.C (dispatch): do not continue when
8512           no buffer
8513
8514 2002-08-28  André Pönitz <poenitz@gmx.net>
8515
8516         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8517
8518         * BufferView.h:
8519         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8520
8521 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8522
8523         * buffer.C: increment LYX_FORMAT to 221
8524
8525         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8526         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8527
8528         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8529
8530         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8531
8532 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * factory.C (createInset): use LyXTextClass::floats
8535
8536         * MenuBackend.C (expandFloatListInsert):
8537         (expandFloatInsert):
8538         (expandToc):
8539
8540         * text2.C (setCounter):
8541
8542         * LaTeXFeatures.C (useFloat):
8543         (getFloatDefinitions):
8544
8545         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8546
8547         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8548         floatlist_, with accessor floats().
8549
8550         * FloatList.h: remove global FloatList
8551
8552 2002-08-26  André Pönitz <poenitz@gmx.net>
8553
8554         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8555
8556         * BufferView.h:
8557         * BufferView2.C:
8558         * BufferView_pimpl.C:
8559         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8560
8561 2002-08-25  John Levon  <levon@movementarian.org>
8562
8563         * LyXAction.C: fix margin note description
8564
8565 2002-08-24  John Levon  <levon@movementarian.org>
8566
8567         * buffer.C:
8568         * bufferlist.C:
8569         * bufferview_funcs.C:
8570         * lyxfont.C:
8571         * undo_funcs.C: cleanups
8572
8573         * lyxfunc.C: disable CUT/COPY when no selection
8574
8575 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8576
8577         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8578         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8579
8580         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8581         Add backward compatibility to "mono", "gray" and "no".
8582
8583 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8586         (and file_format >= 200).
8587
8588 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8589
8590         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8591
8592 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8593
8594         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8595
8596 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8597
8598         * BufferView_pimpl.C:
8599         * LyXAction.C:
8600         * buffer.C:
8601         * commandtags.h:
8602         * lyxfunc.C:
8603         * paragraph.[Ch]:
8604         * text2.C:
8605         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8606         inset and code to make it  work with the paragraph code. The inset
8607         can be anywhere in the paragraph, but will only do the expected
8608         thing in LaTeX if the layout file contains the parameter line
8609                         OptionalArgs    1
8610         (or more generally, a nonzero value) for that layout.
8611
8612 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8613
8614         * paragraph.h: remove the declaration of undefined counters class
8615         function.
8616
8617 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8618
8619         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8620         Dr. Richard Hawkins.
8621
8622 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8623
8624         * paragraph_funcs.h: remove some unneeded includes
8625
8626         * text.C (backspace): pasteParagraph now in global scipe
8627
8628         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8629         (pasteSelection): ditto
8630
8631         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8632         * paragraph_funcs.C (pasteParagraph): ... here
8633
8634 2002-08-20  André Pönitz <poenitz@gmx.net>
8635
8636         * commandtags.h: new LFUNs for swapping/copying table row/colums
8637
8638         * LyXAction.C:
8639         * lyxfunc.C: support for new lfuns
8640
8641 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * tabular.C:
8644         * buffer.[Ch]: remove NO_COMPABILITY stuff
8645
8646 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * boost.C (throw_exception): new file, with helper function for
8649         boost compiled without exceptions.
8650
8651         * paragraph.h:
8652         * lyxlength.C:
8653         * buffer.C:
8654         * ParameterStruct.h:
8655         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8656
8657         * bufferlist.C (emergencyWriteAll): use boost bind
8658
8659         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8660
8661         * text.C: include paragraph_funcs.h
8662         (breakParagraph): breakParagraph is now in global scope
8663
8664         * paragraph_funcs.[Ch]: new files
8665
8666         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8667         global scope
8668
8669         * buffer.C: include paragraph_funcs.h
8670         (insertStringAsLines): breakParagraph is now in global scope
8671
8672         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8673         paragraph_funcs.C
8674
8675         * CutAndPaste.C: include paragraph_funcs.h
8676         (cutSelection): breakParagraphConservative is now in global scope
8677         (pasteSelection): ditto
8678
8679         * buffer.h: declare oprator== and operator!= for
8680         Buffer::inset_iterator
8681
8682         * bufferlist.C (emergencyWrite): don't use fmt(...)
8683
8684         * text3.C: add using std::endl
8685
8686         * BufferView.C (moveCursorUpdate): remove default arg
8687
8688 2002-08-20  André Pönitz <poenitz@gmx.net>
8689
8690         * buffer.[Ch]: move inline functions to .C
8691
8692         * BufferView2.C:
8693         * BufferView_pimpl.C:
8694         * text.C:
8695         * buffer.[Ch]: use improved inset_iterator
8696
8697         * buffer.C:
8698         * paragraph.[Ch]: write one paragraph at a time
8699
8700 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8701
8702         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8703         style if style is not specified.
8704
8705 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * text2.C (setCounter): when searching for right label for a
8708         caption, make sure to recurse to parent insets (so that a caption
8709         in a minipage in a figure float works) (bug #568)
8710
8711 2002-08-20  André Pönitz <poenitz@gmx.net>
8712
8713         * text3.C: new file for LyXText::dispatch() and helpers
8714
8715         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8716
8717         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8718
8719 2002-08-19  André Pönitz <poenitz@gmx.net>
8720
8721         * lyxtext.h:
8722         * text.C: new LyXText::dispatch()
8723
8724         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8725
8726 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8727
8728         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8729
8730         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8731         Hebrew text.
8732
8733 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * Makefile.am: use $(variables) instead of @substitutions@
8736
8737 2002-08-15  André Pönitz <poenitz@gmx.net>
8738
8739         * lyxfunc.C:
8740         * BufferView_pimpl.C: streamlining mathed <-> outer world
8741         interaction
8742
8743         * commandtags.h:
8744         * LyXAction.C: remove unused LFUN_MATH
8745
8746 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8749
8750 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * paragraph.C (Paragraph): reformat a bit
8753         (cutIntoMinibuffer): use builtin InsetList function instad of
8754         doing it manually.
8755         (getInset): ditto
8756
8757         * buffer.C: include boost/bind.hpp, add using std::for_each
8758         (writeFileAscii): use ParagraphList iterators
8759         (validate): use for_each for validate traversal of paragraphs
8760         (getBibkeyList): use ParagraphList iterators
8761         (resizeInsets): use for_each to resizeInsetsLyXText for all
8762         paragraphs.
8763         (getParFromID): use ParagraphList iterators
8764
8765         * BufferView2.C (lockInset): use paragraph list and iterators
8766
8767 2002-08-14  John Levon  <levon@movementarian.org>
8768
8769         * lyxserver.C: remove spurious xforms include
8770
8771 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8774
8775 2002-08-13  André Pönitz <poenitz@gmx.net>
8776
8777         * LyXAction.[Ch]:
8778         * lyxfunc.C: further cleaning
8779
8780 2002-08-13  André Pönitz <poenitz@gmx.net>
8781
8782         * funcrequest.h: new constructor
8783
8784         * funcrequest.C: move stuff here from .h
8785
8786         * Makefile.am:
8787         * BufferView_pimpl.C:
8788         * LyXAction.C:
8789         * toc.C:
8790         * lyxfunc.C: subsequent changes
8791
8792         * lyxfunc.h: new view() member function
8793
8794         * lyxfunc.C: subsequent changes
8795
8796 2002-08-13  Angus Leeming  <leeming@lyx.org>
8797
8798         * BufferView2.C:
8799         * BufferView_pimpl.C:
8800         * buffer.C:
8801         * converter.C:
8802         * importer.C:
8803         * lyxfunc.C:
8804         * lyxvc.C:
8805         * toc.C:
8806         * vc-backend.C:
8807         changes due to the changed LyXView interface that now returns references
8808         to member variables not pointers.
8809
8810 2002-08-13  Angus Leeming  <leeming@lyx.org>
8811
8812         * WordLangTuple (word, lang_code): return references to strings,
8813         not strings.
8814
8815         * BufferView.h:
8816         * SpellBase.h:
8817         * lyxtext.h: forward-declare WordLangTuple.
8818
8819         * BufferView2.C:
8820         * ispell.C:
8821         * pspell.C:
8822         * text.C: #include "WordLangTuple.h".
8823
8824         * lyxtext.h:
8825         * text.C: (selectNextWordToSpellcheck): constify return type.
8826
8827 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8828
8829         * buffer.C:
8830         * buffer.h:
8831         * lyxtext.h:
8832         * paragraph.C:
8833         * paragraph_pimpl.h:
8834         * text.C:
8835         * text2.C:
8836         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8837         suggested by Angus.
8838         Made updateCounter always count from start of buffer, and removed
8839         second argument (par).
8840         Reverted floats number display to '#'. Perhaps I'll try again when the
8841         code base is sanitized a bit.
8842
8843 2002-08-12  Angus Leeming  <leeming@lyx.org>
8844
8845         * buffer.[Ch] (getLabelList): constify.
8846
8847 2002-08-07  André Pönitz <poenitz@gmx.net>
8848
8849         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8850
8851         * funcrequest.h: extension to keep mouse (x,y) position
8852
8853 2002-08-12  Juergen Vigna  <jug@sad.it>
8854
8855         * BufferView2.C (insertErrors): forbid undo when inserting error
8856         insets.
8857
8858         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8859
8860 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8861
8862         * ParagraphList.[Ch]: new files
8863
8864         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8865
8866         * BufferView2.C (lockInset): ParagraphList changes
8867         * toc.C: ditto
8868         * text2.C: ditto
8869         * bufferlist.C: ditto
8870         * buffer.h: ditto
8871         * buffer.C: ditto
8872
8873 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8876         unused class variable counter_,
8877
8878         * paragraph.[Ch] (getFirstCounter): delete unused function
8879
8880         * counters.C: include LAssert.h
8881         (reset): add a new function with no arg, change other version to
8882         not have def. arg and to not allow empty arg.
8883
8884         * text2.C (setCounter): remove empty arg from call to Counters::reset
8885
8886 2002-08-11  John Levon  <levon@movementarian.org>
8887
8888         * Makefile.am: add WordLangTuple.h
8889
8890 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8893         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8894
8895         * insets/insettext.C: InsetList changes
8896
8897         * graphics/GraphicsSupport.C (operator()): InsetList changes
8898
8899         * toc.C (getTocList): InsetList changes
8900
8901         * paragraph_pimpl.[Ch]: InsetList changes
8902
8903         * paragraph.[Ch]: InsetList changes
8904
8905         * buffer.C (inset_iterator): InsetList changes
8906         (setParagraph): ditto
8907         * buffer.h (inset_iterator): ditto
8908         * iterators.C (operator++): ditto
8909         * iterators.h: ditto
8910
8911         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8912
8913         * InsetList.[Ch]: new files, most InsetList handling moved out of
8914         paragraph.C.
8915
8916         * BufferView2.C (removeAutoInsets): InsetList changes
8917         (lockInset): ditto
8918         (ChangeInsets): ditto
8919
8920 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * paragraph_pimpl.h (empty): new function
8923
8924         * paragraph.[Ch] (empty): new function
8925
8926         * other files: use the new Paragraph::empty function
8927
8928 2002-08-09  John Levon  <levon@movementarian.org>
8929
8930         * lyxtext.h: remove unused refresh_height
8931
8932 2002-08-09  John Levon  <levon@movementarian.org>
8933
8934         * Makefile.am:
8935         * sgml.h:
8936         * sgml.C:
8937         * buffer.C:
8938         * paragraph.h:
8939         * paragraph.C: move sgml char escaping out of paragraph
8940
8941         * paragraph.h:
8942         * paragraph.C: remove id setter
8943
8944         * buffer.C:
8945         * paragraph.C:
8946         * paragraph_pimpl.C: remove dead tex_code_break_column
8947
8948         * bufferview_funcs.C: small cleanup
8949
8950         * lyxfunc.C: remove dead proto
8951
8952         * lyxtext.h: make some stuff private. Remove some dead stuff.
8953
8954         * lyxgluelength.C: make as[LyX]String() readable
8955
8956 2002-08-08  John Levon  <levon@movementarian.org>
8957
8958         * LyXAction.h:
8959         * LyXAction.C:
8960         * MenuBackend.C:
8961         * ToolbarDefaults.C:
8962         * lyxfunc.C:
8963         * lyxrc.C:
8964         * toc.C: lyxaction cleanup
8965
8966 2002-08-08  John Levon  <levon@movementarian.org>
8967
8968         * BufferView2.C: small cleanup
8969
8970         * lyxfind.h:
8971         * lyxfind.C: move unnecessary header into the .C
8972
8973 2002-08-08  John Levon  <levon@movementarian.org>
8974
8975         * funcrequest.h: just tedious nonsense
8976
8977         * lyx_main.h:
8978         * lyx_main.C: cleanups
8979
8980         * buffer.C:
8981         * vspace.C: remove dead header lyx_main.h
8982
8983 2002-08-07  Angus Leeming  <leeming@lyx.org>
8984
8985         * Paragraph.[Ch]:
8986         * paragraph_pimpl.h:
8987         Forward declare class Counters in paragraph.h by moving the ctrs member
8988         variable into Paragraph::Pimpl.
8989         (counters): new method, returning a reference to pimpl_->ctrs.
8990
8991         * text2.C: ensuing changes.
8992
8993 2002-08-07  John Levon  <levon@movementarian.org>
8994
8995         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8996
8997         * BufferView_pimpl.C: announce X selection on double/triple
8998           click
8999
9000         * lyx_main.C: use correct bool in batch dispatch
9001
9002         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9003
9004 2002-08-07  André Pönitz <poenitz@gmx.net>
9005
9006         * funcrequest.h: new class to wrap a kb_action and its argument
9007
9008         * BufferView.[Ch]:
9009         * BufferView_pimpl[Ch]:
9010         * LaTeX.C:
9011         * LyXAction.[Ch]:
9012         * lyxfunc.[Ch]:
9013         * lyxrc.C: subsequent changes
9014
9015
9016 2002-08-07  John Levon  <levon@movementarian.org>
9017
9018         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9019           document options change.
9020
9021 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9022
9023         * counters.[Ch]
9024         * text2.C
9025         * paragraph.[Ch]
9026         * makefile.am: move counters functionality over from
9027         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9028
9029 2002-08-06  John Levon  <levon@movementarian.org>
9030
9031         * WordLangTuple.h: new file for word + language code tuple
9032
9033         * SpellBase.h:
9034         * pspell.h:
9035         * pspell.C:
9036         * ispell.h:
9037         * ispell.C:
9038         * lyxtext.h:
9039         * text.C:
9040         * text2.C:
9041         * BufferView.h:
9042         * BufferView2.C: use WordLangTuple
9043
9044         * layout.h:
9045         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9046
9047 2002-08-06  John Levon  <levon@movementarian.org>
9048
9049         * lyx_main.C: fix cmdline batch handling
9050
9051 2002-08-06  André Pönitz <poenitz@gmx.net>
9052
9053         * lyxrc.C: set default for show_banner to true
9054
9055 2002-08-06  John Levon  <levon@movementarian.org>
9056
9057         * pspell.C: fix a crash, and allow new aspell to work
9058
9059 2002-08-06  John Levon  <levon@movementarian.org>
9060
9061         * lyxfunc.C:
9062         * kbmap.C: small cleanup
9063
9064         * vspace.h:
9065         * vspace.C: add const
9066
9067 2002-08-05  John Levon  <levon@movementarian.org>
9068
9069         * LyXAction.C: back to tabular-insert
9070
9071 2002-08-04  John Levon  <levon@movementarian.org>
9072
9073         * BufferView.h:
9074         * BufferView.C: cosmetic change
9075
9076         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9077
9078         * bufferlist.C:
9079         * buffer.h:
9080         * buffer.C:
9081         * lyxcb.h:
9082         * lyxcb.C:
9083         * lyxserver.C:
9084         * lyxvc.C:
9085         * vc-backend.C:
9086         * BufferView2.C: purge all "Lyx" not "LyX" strings
9087
9088         * lyxcursor.h:
9089         * lyxcursor.C: attempt to add some documentation
9090
9091         * lyxfunc.C:
9092         * commandtags.h:
9093         * LyXAction.C:
9094         * ToolbarDefaults.C:
9095         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9096           merge with LFUN_TABULAR_INSERT
9097
9098         * Makefile.am:
9099         * SpellBase.h:
9100         * ispell.h:
9101         * ispell.C:
9102         * pspell.h:
9103         * pspell.C: split up i/pspell implementations into separate
9104           files, many cleanups
9105
9106         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9107
9108         * text2.C: some cleanup
9109
9110         * lyxfunc.C: don't check for isp_command == "none" any more, it
9111           didn't make any sense
9112
9113 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9114
9115         * counters.[Ch]
9116         * text2.C
9117         * paragraph.[Ch]
9118         * makefile.am: move counters functionality over
9119         from text2.C/paragraph.[Ch] to counters.[Ch], and
9120         make proper C++.
9121 2002-08-02  John Levon  <levon@movementarian.org>
9122
9123         * buffer.C: s/lyxconvert/lyx2lyx/
9124
9125 2002-08-02  Angus Leeming  <leeming@lyx.org>
9126
9127         * lyxlex.C: revert John's change as it breaks reading of the user
9128         preamble.
9129
9130 2002-08-02  Angus Leeming  <leeming@lyx.org>
9131
9132         * importer.C (Import):
9133         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9134         changes due to LyXView::view() now returning a boost::shared_ptr.
9135
9136 2002-08-02  John Levon  <levon@movementarian.org>
9137
9138         * lyxlex.C: small cleanup
9139
9140 2002-08-02  John Levon  <levon@movementarian.org>
9141
9142         * text2.C (status): small cleanup, no logic change
9143
9144 2002-08-01  John Levon  <levon@movementarian.org>
9145
9146         * buffer.h:
9147         * buffer.C (writeFile): don't output alerts, caller
9148           handles this
9149
9150         * bufferlist.C:
9151         * lyx_cb.C: from above
9152
9153         * lyxfunc.C: allow to open non-existent files
9154
9155 2002-07-31  John Levon  <levon@movementarian.org>
9156
9157         * lyxserver.C: don't let incidental errors get
9158           in the way (errno)
9159
9160 2002-07-30  John Levon  <levon@movementarian.org>
9161
9162         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9163
9164 2002-07-30  John Levon  <levon@movementarian.org>
9165
9166         * lyxserver.h:
9167         * lyxserver.C: remove I/O callback too
9168
9169 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9172         log.
9173
9174 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9175
9176         * many files: strip,frontStrip -> trim,ltrim,rtrim
9177
9178 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * PrinterParams.h: remove extern containsOnly, and include
9181         support/lstrings.h instead.
9182
9183         * LaTeX.C (scanAuxFile): modify because of strip changes
9184         (deplog): ditto
9185         * buffer.C (makeLaTeXFile): ditto
9186         * bufferparams.C (writeFile): ditt
9187         * lyxfont.C (stateText): ditto
9188         * lyxserver.C (read_ready): ditto
9189         * vc-backend.C (scanMaster): ditto
9190
9191         * BufferView_pimpl.h: ws changes
9192
9193         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9194
9195 2002-07-26  André Pönitz <poenitz@gmx.net>
9196
9197         * kb_sequence.C: remove unnedred usings
9198
9199 2002-07-26  Juergen Vigna  <jug@sad.it>
9200
9201         * lyxfind.C (LyXReplace): we have to check better if the returned
9202         text is not of theLockingInset()->getLockingInset().
9203
9204 2002-07-25  Juergen Vigna  <jug@sad.it>
9205
9206         * lyxfind.C (LyXReplace): don't replace if we don't get the
9207         right LyXText.
9208
9209         * undo_funcs.C (createUndo): remove debugging code.
9210
9211 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9212
9213         * buffer.C (parseSingleLyXformat2Token): Use default placement
9214         when reading old floats.
9215
9216         * FloatList.C (FloatList): Change the default placement of figure
9217         and tables to "tbp".
9218
9219 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * MenuBackend.C: using std::max
9222
9223 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * MenuBackend.C (expandToc):
9226         (expandToc2): code moved from xforms menu frontend. It is now
9227         generic and TOCs are transparent to menu frontends.
9228
9229 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9230
9231         * toc.C (getTocList): protect against buf=0
9232
9233         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9234         Menu as first parameter. Now, this calls itself recursively to
9235         expand a whole tree (this will be useful for TOC handling)
9236         (expandFloatInsert): remove 'wide' version of floats
9237
9238         * MenuBackend.h (submenuname): returns the name of the submenu.
9239         (submenu): returns the submenu itself, provided it has been
9240         created by MenuBackend::expand
9241
9242 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9243
9244         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9245         insets which have noFontChange == true. (bug #172)
9246
9247 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * BufferView_pimpl.C: add connection objects and use them...
9250         (Pimpl): here.
9251
9252 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * MenuBackend.C (expandLastfiles):
9255         (expandDocuments):
9256         (expandFormats):
9257         (expandFloatListInsert):
9258         (expandFloatInsert):
9259         (expand): split expand in parts
9260
9261 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * lyx_gui.C: use lyx_gui::exit()
9264
9265 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * LyXAction.C: show the failing pseudo action
9268
9269 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * buffer.C (readFile): Run the lyxconvert script in order to read
9272         old files.
9273
9274 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * LyXAction.C:
9277         * commandtags.h:
9278         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9279
9280 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * LyXAction.C:
9283         * commandtags.h:
9284         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9285
9286 2002-07-22  Herbert Voss  <voss@lyx.org>
9287
9288         * lengthcommon.C:
9289         * lyxlength.[Ch]: add support for the vertical lengths
9290
9291 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * toc.[Ch]: std:: fixes
9294
9295 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9296
9297         * lyxrc.C: do not include lyx_main.h
9298
9299         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9300         for layouts
9301
9302         * lyxrc.C:
9303         * encoding.C:
9304         * bufferlist.C:
9305         * BufferView2.C: include "lyxlex.h"
9306
9307         * tabular.h:
9308         * bufferparams.h: do not #include "lyxlex.h"
9309
9310         * lyxtextclasslist.C (Add): remove method
9311         (classlist): renamed to classlist_
9312
9313         * paragraph_pimpl.C:
9314         * paragraph.C:
9315         * text2.C:
9316         * CutAndPaste.C:
9317         * bufferview_funcs.C:
9318         * bufferlist.C:
9319         * text.C:
9320         * LaTeXFeatures.C:
9321         * buffer.C:
9322         * toc.C (getTocList): use BufferParams::getLyXTextClass
9323
9324         * toc.C (getTocList): use InsetFloat::addToToc
9325
9326         * toc.[Ch]: new files, containing helper functions to handle table
9327         of contents
9328
9329         * lyxfunc.C (dispatch): no need to remove spaces around command
9330         given as a string
9331         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9332         first command of the sequence; it is not very clever, but I do not
9333         have a better idea, actually
9334
9335         * LyXAction.C (LookupFunc): make sure to remove space at the
9336         beginning and end of the command
9337
9338 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9339
9340         * MenuBackend.C (getMenubar): new method: return the menubar of
9341         this menu set
9342         (read): treat differently reading of menu and menubar (in
9343         particular, the menubar has no name now)
9344         (Menu::menubar): remove
9345
9346         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9347         saving is finished
9348
9349 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9350
9351         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9352         a bibitem inset in a RTL paragraph.
9353
9354 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * paragraph_pimpl.C: constify
9357
9358         * BufferView_pimpl.C:
9359         * LaTeX.C:
9360         * lyxfunc.C: fix dispatch in a nicer way
9361
9362 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * lyxfunc.C (dispatch):
9365         * BufferView_pimpl.C:
9366         * BufferView_pimpl.h:
9367         * BufferView.C:
9368         * BufferView.h: rename Dispatch() to dispatch()
9369
9370         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9371
9372         * lyxlayout.C (Read): honor DependsOn tag
9373
9374         * lyxlayout.[Ch] (depends_on): new method
9375
9376         * version.C.in: update lyx_docversion
9377
9378         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9379
9380         * paragraph.C (validate): remove from here...
9381         * paragraph_pimpl.C (validate): ... and move here
9382         (isTextAt): make it const
9383
9384         * buffer.C (getLists): ws cleanup
9385
9386 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9387
9388         * language.C (read): Use iso8859-1 encoding in latex_lang
9389         (this prevents LyX from crashing when using iso10646-1 encoding).
9390
9391 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * text2.C (toggleInset): if cursor is inside an inset, close the
9394         inset and leave cursor _after_ it
9395
9396 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * lyxfunc.C: move minibuffer completion handling out of here
9399
9400 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView_pimpl.C:
9403         * LaTeX.C: fix dispatch calls
9404
9405 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9406
9407         * text.C (drawChars): Fix Arabic text rendering.
9408
9409 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * LyXAction.C:
9412         * commandtags.h:
9413         * lyxfunc.C: remove message-push/pop
9414
9415         * lyxserver.C:
9416         * lyxfunc.h:
9417         * lyxfunc.C: rationalise some code by removing verboseDispatch
9418           in favour of a bool argument to dispatch()
9419
9420 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * lyx_main.C (init): make sure to read symlinks as absolute paths
9423
9424 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * lyxfunc.h:
9427         * lyxfunc.C: no need for commandshortcut to be a member
9428
9429 2002-07-15  André Pönitz <poenitz@gmx.net>
9430
9431         * converter.C: add support for $$s (scripts from lib/scripts dir)
9432         * lyx_main.C: white space
9433
9434 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * bufferlist.C:
9437         * lyxrc.h:
9438         * lyxrc.C: remove second exit confirmation
9439
9440 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * BufferView.h:
9443         * BufferView.C:
9444         * BufferView2.C:
9445         * BufferView_pimpl.h:
9446         * BufferView_pimpl.C:
9447         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9448
9449 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9450
9451         * MenuBackend.C (expand): add numeric shortcuts to document menu
9452
9453         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9454
9455 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * lyxfont.C (setLyXFamily):
9458         (setLyXSeries):
9459         (setLyXShape):
9460         (setLyXSize):
9461         (setLyXMisc):
9462         (lyxRead):
9463         * debug.C (value):
9464         * buffer.C (asciiParagraph): use ascii_lowercase
9465
9466 2002-07-15  Mike Fabian  <mfabian@suse.de>
9467
9468         * lyxlex_pimpl.C (search_kw):
9469         * lyxlex.C (getLongString):
9470         * converter.h (operator<):
9471         * converter.C (operator<):
9472         * buffer.C (parseSingleLyXformat2Token):
9473         (asciiParagraph):
9474         * ToolbarDefaults.C (read):
9475         * MenuBackend.C (checkShortcuts):
9476         (read):
9477         * LColor.C (getFromGUIName):
9478         (getFromLyXName): use the compare_ascii_no_case instead of
9479         compare_no_case, because in turkish, 'i' is not the lowercase
9480         version of 'I', and thus turkish locale breaks parsing of tags.
9481
9482 2002-07-16  Angus Leeming  <leeming@lyx.org>
9483
9484         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9485         now takes a Buffer const & argument.
9486
9487 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * BufferView.C (resize): check there's a buffer to resize
9490
9491 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * lyxfunc.C: remove dead code
9494
9495         * lyxserver.h:
9496         * lyxserver.C: use lyx_guii::set_read_callback
9497
9498 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9499
9500         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9501         an inset in a RTL paragraph.
9502
9503 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9504
9505         * lyxfunc.C: repaint after a font size update
9506
9507 2002-07-15  André Pönitz <poenitz@gmx.net>
9508
9509         * lyxlength.C: inBP should be able to return negative values
9510
9511 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9512
9513         * lyxfunc.C: use lyx_gui::update_fonts()
9514
9515 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * lyxfunc.C: use lyx_gui::update_color()
9518
9519 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * bufferlist.C:
9522         * lyxfunc.h:
9523         * lyxfunc.C:
9524         * lyxrc.h:
9525         * lyxrc.C: remove file->new asks for name option, and let
9526           buffer-new take an argument
9527
9528 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * BufferView_pimpl.C: remove unneeded extra repaint()
9531
9532 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * LyXAction.C: allow command-sequence with NoBuffer
9535
9536         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9537
9538 2002-07-10  Angus Leeming  <leeming@lyx.org>
9539
9540         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9541
9542 2002-07-09  Angus Leeming  <leeming@lyx.org>
9543
9544         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9545
9546 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9547
9548         * lengthcommon.h: whitespace
9549
9550         * lyxfunc.C: update scrollbar after goto paragraph
9551
9552         * lyxtext.h: factor out page break drawing, and fix it so
9553           page break/added space paints as selected nicely
9554
9555 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * BufferView_pimpl.C: add FIXMEs, clean up a little
9558
9559 2002-07-09  André Pönitz <poenitz@gmx.net>
9560
9561         * lyxfont.[Ch]: support for wasy symbols
9562
9563 2002-07-08  André Pönitz <poenitz@gmx.net>
9564
9565         * BufferView_pimpl.C: apply John's patch for #93.
9566
9567 2002-07-05  Angus Leeming  <leeming@lyx.org>
9568
9569         * BufferView_pimpl.C (buffer): generate previews if desired.
9570
9571         * LColor.h: add "preview" to the color enum.
9572
9573         * LColor.C (LColor): add a corresponding entry to the items array.
9574
9575         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9576         with this buffer.
9577
9578 2002-07-05  Angus Leeming  <leeming@lyx.org>
9579
9580         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9581         The body of the code is now in the method that is passed an ostream &
9582         rather than a file name.
9583         Pass an additional only_preamble parameter, useful for the forthcoming
9584         preview stuff.
9585
9586 2002-07-03  André Pönitz <poenitz@gmx.net>
9587
9588         * lyxfunc.C: simplify getStatus() a bit for math stuff
9589
9590 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9591
9592         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9593
9594 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * text.C (changeRegionCase): do not change case of all the
9597         document when region ends at paragraph end (bug #461)
9598
9599 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * paragraph.C (startTeXParParams):
9602         (endTeXParParams): add \protect when necessary
9603
9604 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * BufferView_pimpl.C (workAreaExpose): remove warning
9607
9608 2002-06-27  Angus Leeming  <leeming@lyx.org>
9609
9610         * Makefile.am: add lyxlayout_ptr_fwd.h.
9611
9612 2002-06-26  André Pönitz <poenitz@gmx.net>
9613
9614         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9615
9616 2002-06-25  Angus Leeming  <leeming@lyx.org>
9617
9618         * lyxfunc.C (dispatch): Comment out the call to
9619         grfx::GCache::changeDisplay. The method no longer exists now that the
9620         pixmap generation part of the graphics loader has been moved into
9621         InsetGraphics.
9622
9623 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * text2.C: layout as layout
9626
9627         * text.C: layout as layout
9628
9629         * tabular.C (OldFormatRead): layout as layout
9630
9631         * paragraph_pimpl.C (TeXDeeper): layout as layout
9632         (realizeFont): layout as layout
9633
9634         * paragraph.C (writeFile): layout as layout
9635         (validate): layout as layout
9636         (getFont): layout as layout
9637         (getLabelFont): layout as layout
9638         (getLayoutFont): layout as layout
9639         (breakParagraph): layout as layout
9640         (stripLeadingSpaces): layout as layout
9641         (getEndLabel): layout as layout
9642         (getMaxDepthAfter): layout as layout
9643         (applyLayout): layout as layout
9644         (TeXOnePar): layout as layout
9645         (simpleTeXOnePar): layout as layout
9646         (TeXEnvironment): layout as layout
9647         (layout): layout as layout
9648         (layout): layout as layout
9649
9650         * lyxtextclass.C (compare_name): new functor to work with
9651         shared_ptr, layout as layout
9652         (Read): layout as layout
9653         (hasLayout): layout as layout
9654         (operator): layout as layout
9655         (delete_layout): layout as layout
9656         (defaultLayout): layout as layout
9657
9658         * lyxlayout_ptr_fwd.h: new file
9659
9660         * lyxlayout.C (Read): layout as layout
9661
9662         * lyx_cb.C (MenuInsertLabel): layout as layout
9663
9664         * bufferlist.C (newFile): layout as layout
9665
9666         * buffer.C (readLyXformat2): layout as layout
9667         (parseSingleLyXformat2Token): layout as layout
9668         (insertStringAsLines): layout as layout
9669         (asciiParagraph): layout as layout
9670         (latexParagraphs): layout as layout
9671         (makeLinuxDocFile): layout as layout
9672         (simpleLinuxDocOnePar): layout as layout
9673         (makeDocBookFile): layout as layout
9674         (simpleDocBookOnePar): layout as layout
9675         (getLists): layout as layout
9676
9677         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9678
9679         * CutAndPaste.C (cutSelection): layout as layout
9680         (pasteSelection): layout as layout
9681         (SwitchLayoutsBetweenClasses): layout as layout
9682
9683         * BufferView_pimpl.C (Dispatch): layout as layout
9684         (smartQuote): layout as layout
9685
9686         * BufferView2.C (unlockInset): layout as layout
9687
9688 2002-06-24  André Pönitz <poenitz@gmx.net>
9689
9690         * lyxfunc.C: fix #487
9691
9692 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * lyxrc.h:
9695         * lyxrc.C:
9696         * lyxfunc.C: remove display_shortcuts, show_banner
9697
9698 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * Buffer_pimpl.C: oops, update on resize
9701
9702 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * buffer.C:
9705         * converter.C:
9706         * exporter.C:
9707         * lyxfunc.C:
9708         * BufferView.h:
9709         * BufferView.C: use repaint()
9710
9711         * BufferView_pimpl.h:
9712         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9713           as it's a clearer description. Remove superfluous
9714           redraws.
9715
9716 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * text.C: fix bug 488. Not ideal, but getting
9719           getWord() to work properly for the insets that
9720           matter is more difficult ...
9721
9722 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * BufferView_pimpl.C:
9725         * LyXAction.C:
9726         * commandtags.h:
9727         * lyxfunc.C: remove the six million index lyxfuncs to just
9728           one, and DTRT (bug 458)
9729
9730 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9731
9732         * BufferView.h:
9733         * BufferView.C:
9734         * BufferView_pimpl.h:
9735         * BufferView_pimpl.C: clean up resize() stuff,
9736           and unnecessary updateScreen()s
9737
9738 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9739
9740         * BufferView.h:
9741         * BufferView.C:
9742         * BufferView_pimpl.h:
9743         * BufferView_pimpl.C:
9744         * lyxfind.h:
9745         * lyxfind.C:
9746         * minibuffer.C: remove focus management of workarea,
9747           not needed. Use screen's greyOut()
9748
9749 2002-06-17  Herbert Voss  <voss@lyx.org>
9750
9751         * converter.C: (convert) do not post a message, when converting
9752         fails, let the calling function decide what to do in this case
9753
9754 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * lyxfunc.C: tidy up a little
9757
9758 2002-06-16    <alstrup@diku.dk>
9759
9760         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9761         Got rid of FORMS_H_LOCATION include. Now we are
9762         GUII.
9763
9764 2002-06-15  LyX Development team  <lyx@rilke>
9765
9766         * buffer.[Ch] (sgmlOpenTag):
9767         (sgmlCloseTag): Added support for avoiding pernicious mixed
9768         content. Return number of lines written.
9769
9770         (makeLinuxDocFile):
9771         (makeDocBookFile): Fixed calls to sgml*Tag.
9772         Simple white space clean.
9773
9774         (simpleDocBookOnePar): Simple white space clean.
9775
9776         * tabular.[Ch] (docBook): Renamed to docbook and got another
9777         argument to related with the pernicious mixed content.
9778
9779         (docbookRow): Fixed calls for docbook inset method.
9780
9781 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9782
9783         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9784         so it's X11 independent.
9785
9786         * kb*.[Ch]: ditto.
9787
9788         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9789
9790 2002-06-15  Lyx Development team  <lyx@electronia>
9791
9792         * intl.h: Renamed getTrans to getTransManager.
9793
9794 2002-06-14  Angus Leeming  <leeming@lyx.org>
9795
9796         * Makefile.am: nuke forgotten stl_string_fwd.h.
9797
9798 2002-06-12  Angus Leeming  <leeming@lyx.org>
9799
9800         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9801
9802 2002-06-13  Angus Leeming  <leeming@lyx.org>
9803
9804         * LaTeX.C:
9805         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9806
9807 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9808
9809         * kbmap.C (getiso): add support for cyrillic and greek
9810
9811 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView.h:
9814         * BufferView.C:
9815         * BufferView_pimpl.h:
9816         * BufferView_pimpl.C: move bogus scrolling logic
9817           to xforms
9818
9819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * lyxfunc.C:
9822         * BufferView_pimpl.C: view->resize() change
9823
9824 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * BufferView_pimpl.C: topCursorVisible
9827           prototype change
9828
9829 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * Makefile.am:
9832         * lyx_gui.h:
9833         * lyx_gui.C: move to frontends/
9834
9835         * main.C:
9836         * lyx_main.h:
9837         * lyx_main.C: changes from above
9838
9839 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * intl.C:
9842         * intl.h:
9843         * kbmap.C:
9844         * kbsequence.C:
9845         * lyx_cb.C:
9846         * lyx_main.C: minor tidy
9847
9848 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * BufferView_pimpl.h:
9851         * BufferView_pimpl.C:
9852         * BufferView.h:
9853         * BufferView.C: make painter() const,
9854           remove dead code
9855
9856         * BufferView2.C: use screen() accessor
9857
9858         * lyx_main.h:
9859         * lyx_main.C: some minor cleanup
9860
9861 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9862
9863         * BufferView_pimpl.h:
9864         * BufferView_pimpl.C: remove enter/leaveView,
9865           use workHeight()
9866
9867 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * BufferView.h:
9870         * BufferView.C:
9871         * BufferView2.C:
9872         * BufferView_pimpl.h:
9873         * BufferView_pimpl.C: only construct screen once,
9874           rename
9875
9876         * lyxrc.C: remove pointless comment
9877
9878 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * BufferView.h:
9881         * BufferView.C: remove active() and belowMouse()
9882
9883         * BufferView_pimpl.h:
9884         * BufferView_pimpl.C: use workarea() not workarea_,
9885           and make it use a scoped_ptr instead
9886
9887 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * lyx_gui.C: add debug message on BadWindow
9890
9891 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * sp_spell.C: fdopen is not part of the C++ standard.
9894
9895         * paragraph.C (InsetIterator): use >= instead of ==
9896
9897 2002-06-07  Angus Leeming  <leeming@lyx.org>
9898
9899         Fixes needed to compile with Compaq cxx 6.5.
9900         * BufferView_pimpl.C:
9901         * DepTable.C:
9902         * buffer.C:
9903         * converter.C:
9904         * encoding.C:
9905         * lyx_gui.C:
9906         * lyx_main.C:
9907         * lyxtextclasslist.C:
9908         * minibuffer.C:
9909         * sp_spell.C:
9910         * tabular_funcs.C:
9911         * vc-backend.C:
9912         all c-library variables have been moved into namespace std. Wrap
9913         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9914
9915         * lyxlength.C:
9916         * tabular-old.C:
9917         * tabular.C:
9918         Add a using std::abs declaration.
9919
9920         * kbmap.h (modifier_pair):
9921         * paragraph.h (InsetTable, InsetList):
9922         * lyxfont.h (FontBits):
9923         type definition made public.
9924
9925         * bufferlist.C (emergencyWriteAll): the compiler complains that
9926         there is more than one possible lyx::class_fun template to choose from.
9927         I re-named the void specialisation as lyx::void_class_fun.
9928
9929         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9930
9931         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9932         the compiler is is unable to find tostr in write_attribute.
9933
9934 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9935
9936         * buffer.C (sgmlError): hide #warning
9937
9938 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * xtl/*: get rid of xtl, which is not in use anyway
9941
9942         * LyXAction.C (init):
9943         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9944         were unimplemented xtl experimentation
9945
9946 2002-06-04  André Pönitz <poenitz@gmx.net>
9947
9948         * lyxfunc.C: disable array operation on simple formulae
9949
9950 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * converter.C: constify a bit
9953
9954 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * lyx_gui.C: check xforms version correctly
9957
9958 2002-04-30  Herbert Voss  <voss@lyx.org>
9959
9960         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9961         "keep" option
9962
9963 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9964
9965         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9966           attempt to register it with a VCS)
9967
9968 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * lyx_main.C (init): honor variables LYX_DIR_13x and
9971         LYX_USERDIR_13x
9972
9973 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * buffer.h:
9976         * buffer.C:
9977         * lyx_main.C: fix a crash on bad command line,
9978           and give a useful exit status on error
9979
9980         * lyxfunc.C (doImport): allow -i lyx to work
9981
9982 2002-03-30  André Pönitz <poenitz@gmx.net>
9983
9984         * lyxfunc.C: mathed font changes
9985
9986 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * LaTeX.C:
9989         * importer.h:
9990         * importer.C:
9991         * lyx_sty.h:
9992         * lyx_sty.C:
9993         * lyxlex.C:
9994         * lyxrow.h:
9995         * lyxtext.h:
9996         * paragraph.h:
9997         * paragraph.C:
9998         * texrow.h:
9999         * texrow.C:
10000         * text.C:
10001         * trans_mgr.h: srcdocs, and some minor cleanups
10002
10003 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10006         call getFont all the time)
10007
10008 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * switch from SigC signals to boost::signals
10011
10012 2002-05-29  André Pönitz <poenitz@gmx.net>
10013
10014         * paragraph_pimpl.C (getChar): don't call size() too often...
10015
10016 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10017
10018         * paragraph_pimpl.C (insertChar): do not try to update tables when
10019         appending (pos == size())
10020
10021         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10022         in order to reduce drastically the number of comparisons needed to
10023         parse a large document
10024
10025 2002-05-29  André Pönitz <poenitz@gmx.net>
10026
10027         * text.C:
10028         * text2.C:
10029         * lyxtextclass.C:
10030         * sp_pspell.h:
10031         * textclasslist.[Ch]:
10032         * sp_ispell.h: whitespace change
10033
10034 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10035
10036         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10037         lyxaction directly now.
10038
10039 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * trans.C:
10042         * lyxfont.C:
10043         * lyxvc.C: remove unused headers
10044
10045 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * Makefile.am:
10048         * buffer.h:
10049         * undostack.h:
10050         * undostack.C:
10051         * undo_funcs.h:
10052         * undo_funcs.C: some cleanups. Use shared_ptr
10053           and a template for the undo stacks.
10054
10055 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * BufferView_pimpl.h:
10058         * BufferView_pimpl.C:
10059         * kbmap.h:
10060         * kbmap.C:
10061         * kbsequence.h:
10062         * kbsequence.C:
10063         * lyxfunc.h:
10064         * lyxfunc.C:
10065         * text2.C: use key_state/mouse_state
10066
10067 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10070         and LSubstring
10071
10072         * chset.C: change include order
10073         (loadFile): use boost regex and get rid of LRegex and LSubstring
10074
10075         * Makefile.am (BOOST_LIBS): new variable
10076         (lyx_LDADD): use it
10077
10078         * LaTeX.C: change include order.
10079         (scanAuxFile): use boost regex and get rid of LRegex and
10080         LSubstring
10081         (deplog): ditto
10082
10083 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * ColorHandler.h:
10086         * ColorHandler.C:
10087         * FontInfo.h:
10088         * FontInfo.C: moved to frontends/xforms/
10089
10090         * FontLoader.h:
10091         * FontLoader.C: moved into frontends for GUIIzation
10092
10093         * Makefile.am:
10094         * lyx_gui.C:
10095         * lyxfont.C:
10096         * lyxfunc.C: changes from above
10097
10098 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * LColor.C: remove spurious X include
10101
10102         * BufferView_pimpl.C:
10103         * Makefile.am:
10104         * font.h:
10105         * font.C:
10106         * text.C:
10107         * text2.C: move font metrics to frontends/
10108
10109 2002-05-24  Juergen Vigna  <jug@sad.it>
10110
10111         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10112         setting the undo_cursor.
10113
10114         * ParagraphParameters.h: include local includes first.
10115
10116 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * BufferView_pimpl.C:
10119         * BufferView_pimpl.h:
10120         * Makefile.am:
10121         * WorkArea.h:
10122         * WorkArea.C:
10123         * screen.C: move WorkArea into frontends/
10124
10125         * lyxscreen.h:
10126         * screen.C:
10127         * text.C:
10128         * BufferView.C:
10129         * BufferView2.C: move LyXScreen into frontends/
10130
10131         * lyxlookup.h:
10132         * lyxlookup.C:
10133         * lyx_gui.C: move lyxlookup into frontends/xforms/
10134
10135 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * BufferView2.C:
10138         * BufferView_pimpl.C:
10139         * FontLoader.C:
10140         * LyXView.h:
10141         * LyXView.C:
10142         * Makefile.am:
10143         * WorkArea.C:
10144         * XFormsView.h:
10145         * XFormsView.C:
10146         * buffer.C:
10147         * bufferlist.C:
10148         * bufferview_funcs.C:
10149         * converter.C:
10150         * importer.C:
10151         * lyx_cb.C:
10152         * lyx_gui.C:
10153         * lyx_main.C:
10154         * lyx_find.C:
10155         * lyxfunc.C:
10156         * lyxvc.C:
10157         * minibuffer.C:
10158         * text.C:
10159         * text2.C:
10160         * trans.C:
10161         * vc-backend.C: move LyX/XFormsView into frontends/
10162
10163 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * Makefile.am:
10166         * PainterBase.C:
10167         * PainterBase.h:
10168         * Painter.C:
10169         * Painter.h:
10170         * WorkArea.C:
10171         * WorkArea.h:
10172         * screen.C:
10173         * tabular.C:
10174         * text.C:
10175         * text2.C: move Painter to frontends/
10176
10177 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * buffer.C: comment out some some code that depend upon lyx_format
10180         < 220
10181
10182         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10183         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10184
10185         * buffer.h (NO_COMPABILITY): turn off compability
10186
10187         * ColorHandler.C: include scoped_array.hpp
10188
10189         * font.C: Use more specific smart_ptr header.
10190         * Painter.C: ditto
10191         * gettext.C: ditto
10192         * ShareContainer.h: ditto
10193         * lyx_main.h: ditto
10194         * kbmap.h: ditto
10195         * FontInfo.h: ditto
10196         * BufferView_pimpl.h: ditto
10197         * ColorHandler.h: ditto
10198
10199         * kbmap.C (defkey): change call to shared_ptr::reset
10200
10201 2002-05-21  Juergen Vigna  <jug@sad.it>
10202
10203         * buffer.C (insertErtContents): fix to insert ert asis if it is
10204         non empty. Skip it completely if it contains only whitespaces.
10205
10206 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * BufferView_pimpl.C:
10209         * BufferView2.C: clear selection on paste (bug 393)
10210
10211 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10212
10213         * DepTable.C: include ctime
10214
10215 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10218
10219 2002-05-14  Juergen Vigna  <jug@sad.it>
10220
10221         * text.C (breakParagraph): fixed function to honor the keepempty
10222         layout in the right maner and also to permit the right breaking
10223         algorithm on empty or non empyt keepempty paragraphs.
10224
10225         * paragraph.C (breakParagraph): we have to check also if the par
10226         is really empty (!size()) for isempty otherwise we do the wrong
10227         paragraph break.
10228
10229 2002-05-10  Juergen Vigna  <jug@sad.it>
10230
10231         * buffer.[Ch] : The following are only changes to the ert
10232         compatibility read reading old LaTeX layout and font stuff and
10233         convert it to ERTInsets.
10234
10235         * buffer.h: added isErtInset().
10236
10237         * buffer.C (struct ErtComp): add a fromlayout bool to check
10238         if we're inside a LaTeX layout.
10239         (isErtInset): new helper function.
10240         (insertErtContents): look for other ert insets before this one
10241         and insert the contents there, so that we don't have subsequent
10242         ERT insets with nothing between them. This way we create only one
10243         inset with multiple paragraphs. Also check if we don't insert only
10244         spaces ' ' as they are ignored anyway afterwards in the .tex file
10245         so if we have only spaces we will ignore this latex part in the
10246         new file.
10247         (parseSingleLyXformat2Token \\layout): better compatibility when
10248         reading layout-latex stuff.
10249         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10250         language tag.
10251         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10252         stuff after reading the inset only get the information back from
10253         the stack.
10254
10255 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10258
10259         * LaTeXFeatures.C (getBabelOptions): New method.
10260
10261 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * BufferView_pimpl.C (Dispatch): work around missing argument for
10264         'layout'
10265
10266 2002-05-08  Juergen Vigna  <jug@sad.it>
10267
10268         * text.C (leftMargin): handle paragraph leftindent.
10269
10270         * paragraph.C (writeFile): write the new \\leftindent tag.
10271         (validate): handle leftindent code.
10272         (TeXEnvironment): handle paragraphleftindent code again.
10273
10274         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10275
10276         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10277         for paragrap_extra indent code and new token \\leftindent.
10278         (latexParagraphs): handle the leftindent as environment.
10279
10280         * ParameterStruct.h: added leftindent support.
10281
10282         * ParagraphParameters.C (leftIndent): added support functions for
10283         the paragraph left indent.
10284
10285         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10286         more appropriate.
10287
10288 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10289
10290         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10291         inside insetERT.
10292
10293         * text.C (computeBidiTables): No bidi in insetERT.
10294
10295         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10296         in RTL documents.
10297
10298 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10299
10300         * version.C.in: pre 5
10301
10302 2002-05-02  José Matos  <jamatos@fep.up.pt>
10303         * buffer.C (makeDocBookFile): white space changes, add newline to
10304         command styles.
10305         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10306
10307         * tabular.C (docBook): fix typo.
10308
10309 2002-05-03  Juergen Vigna  <jug@sad.it>
10310
10311         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10312         change in LyXText as we can not be sure it was not freed.
10313         (drawOneRow): remove unused code.
10314
10315         * text.C (drawInset): redo the calculation of the need_break_row as
10316         it could have a row which was already freed.
10317         (draw): look at the return value of drawInset and return false if
10318         it also returned false.
10319         (paintRowText): look at the return value of draw and return false if
10320         it also returned false.
10321
10322         * lyxtext.h: added bool return type to drawInset() and draw() so that
10323         if we have a change in the row so that the rowbreak has to be redone
10324         we abort drawing as it will be called again.
10325
10326 2002-05-02  Juergen Vigna  <jug@sad.it>
10327
10328         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10329         a change in the maintext also if we're inside an inset.
10330         (Dispatch): set the cursor again after a break line and after the
10331         screen has been updated as it could be we're in a different row.
10332
10333         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10334         to set the cursor behind the pargraph with > size().
10335         (setCursor): check also for the same paragraph when checking where
10336         to put the cursor if we have a NFR inset.
10337
10338         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10339         parts of layout read further up as it still was in the wrong
10340         position.
10341
10342 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * screen.C (drawFromTo): change sine fullRebreak always return
10345         true.
10346
10347         * buffer.C (parseSingleLyXformat2Token): reindent some
10348
10349         * BufferView_pimpl.C (update): change since fullRebreak always
10350         return true.
10351         (Dispatch): git rid of the last hardcoded "Standard"s.
10352
10353 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * text2.[Ch] (fullRebreak): make it return void now that we always
10356         returned true.
10357
10358 2002-04-30  Juergen Vigna  <jug@sad.it>
10359
10360         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10361         ert compatibility check for "latex" layout.
10362
10363 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10366         minipages: use col% instead of p%, and also use the current font.
10367         (makeLaTeXFile): Fix use babel condition.
10368         (parseSingleLyXformat2Token): Correct font when reading old floats.
10369
10370 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10371
10372         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10373         inserting list of floats.
10374
10375 2002-04-25  Herbert Voss  <voss@lyx.org>
10376
10377         * MenuBackend.C (expand): don't add the graphics extensions to the
10378         export menu
10379
10380 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10381
10382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10383         non-existing layout, do not complain if it was the default layout
10384         of the original class (bug #342)
10385
10386 2002-04-24  Juergen Vigna  <jug@sad.it>
10387
10388         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10389         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10390
10391 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10392
10393         * buffer.C (getBibkeyList): If using \bibliography, return the
10394         option field with the reference itself. Enables us to provide natbib
10395         support when using \bibliography.
10396
10397 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10398
10399         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10400
10401         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10402         natbib is provided by the LaTeX class.
10403
10404 2002-04-23  Juergen Vigna  <jug@sad.it>
10405
10406         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10407         Wakeup functions.
10408
10409         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10410
10411 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10414
10415         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10416         ensuremath around textordmasculine, textordfeminine and
10417         textdegree.
10418
10419 2002-04-19  Juergen Vigna  <jug@sad.it>
10420
10421         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10422         reinitializing the buffer otherwise row-dimensions may be wrong.
10423         (update): reset also the selection cursors if they do exits otherwise
10424         their x/y positions may be wrong.
10425
10426         * text2.C (cursorDown): don't enter the inset if we came from a row
10427         above and are one row over the inset.
10428
10429         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10430         really leaving an inset.
10431
10432 2002-04-18  Juergen Vigna  <jug@sad.it>
10433
10434         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10435         of the selected paragraph does not have the selected layout also if
10436         the last one had!
10437
10438         * text2.C (setLayout): fixed bug which did not change last selected
10439         paragraph.
10440
10441         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10442         changed the read and substituted \\end_float with \\end_inset!
10443
10444         * BufferView_pimpl.C (cursorPrevious):
10445         (cursorNext): fixed to make it work with rows heigher than the work
10446         area without moving the cursor only the draw of the row.
10447         (workAreaMotionNotify): fix jumping over high rows.
10448
10449 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10450
10451         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10452         Ressler.
10453
10454 2002-04-16  Juergen Vigna  <jug@sad.it>
10455
10456         * text2.C (setCursor): set also the irow().
10457         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10458         (cursorUp):
10459         (cursorDown): support for locking an inset if the x_fix value goes
10460         inside it. That way I can transverse insets too with cursor up/down.
10461
10462         * lyxrow.h: added irow helper function same as other (i) functions.
10463
10464         * BufferView_pimpl.C (cursorPrevious):
10465         (cursorNext): fixed for insets!
10466
10467 2002-04-15  Juergen Vigna  <jug@sad.it>
10468
10469         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10470         position otherwise it is wrong in some cases.
10471
10472         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10473         inside the inset before the call.
10474
10475 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10476
10477         * buffer.[Ch] (getBibkeyList): make it const.
10478
10479 2002-04-12  Juergen Vigna  <jug@sad.it>
10480
10481         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10482
10483         * text2.C (getCursorX): new helper function
10484         (setCursor): compute also ix_
10485         (setCursorFromCoordinates): set also ix.
10486
10487         * lyxcursor.h: added ix_ and helper functions.
10488
10489         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10490
10491         * buffer.C (insertStringAsLines): dont break paragraph if the this
10492         paragraph is inside an inset which does not permit it!
10493
10494         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10495         also with no chars on this paragraph.
10496         (paintRowText): only paint stuff if it's inside the workarea!
10497
10498         * paragraph.C (breakParagraph): honor keepempty flag and break the
10499         paragraph always below not above.
10500
10501         * BufferView2.C (unlockInset): update the paragraph layout on inset
10502         unlock as we changed paragraph in such a case.
10503
10504         * lyxfind.C (LyXFind): clear the former selection if not found!
10505
10506         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10507         again called in insertChar().
10508
10509         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10510         an inset which uses the whole row!
10511         (rightMargin): ditto.
10512         (insertChar): force a rebreak if we inserted an inset!
10513
10514 2002-03-28  Herbert Voss  <voss@lyx.org>
10515
10516         * lyxlength.[Ch]: add inBP() to get the right PS-point
10517         units (BigPoint). With inPixels we have rounding errors
10518
10519 2002-04-11  Juergen Vigna  <jug@sad.it>
10520
10521         * text2.C (setCursorFromCoordinates): set iy to the right value.
10522         (setCursor): add check if row->previous exists!
10523
10524         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10525         an old float_type as this was the case in the old code!
10526
10527         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10528
10529         * BufferView2.C (showLockedInsetCursor): use iy
10530         (fitLockedInsetCursor): ditto
10531
10532         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10533         locked insets as there we have the right value now.
10534
10535         * lyxcursor.C: added iy_ variable and iy functions to set to the
10536         baseline of cursor-y of the locked inset.
10537
10538         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10539         (setCursor): fixed for insets which need a full row.
10540
10541         * text.C (rowLastPrintable): don't ignore the last space when before
10542         an inset which needs a full row.
10543         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10544         as last character of a row when before a inset which needs a full row.
10545
10546 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * version.C.in: update date
10549
10550         * text2.C (fullRebreak): try to always return true and see what
10551         happens...
10552
10553 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * MenuBackend.C (expand): use Floating::listName
10556
10557         * FloatList.C (FloatList): add listName argument to the built-in
10558         floats
10559
10560         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10561         text associated with the float.
10562
10563 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10566
10567 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * ShareContainer.h: add a couple of missing typenames.
10570
10571 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10572
10573         * lyxrc.C (getDescription): use _() correctly rather than N_().
10574
10575 2002-03-28  Herbert Voss  <voss@lyx.org>
10576
10577         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10578         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10579
10580 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10583         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10584
10585 2002-03-29  Juergen Vigna  <jug@sad.it>
10586
10587         * lyxfunc.C (dispatch): add a missing fitCursor call.
10588
10589         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10590         it was scrolled by a cursor move, so return the bool status.
10591
10592         * BufferView.C (fitCursor): return the bool flag also to the outside
10593         world as this is needed.
10594
10595         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10596
10597         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10598         call the edit() as it is not needed (and wrong) IMO.
10599         (workAreaButtonPress): set the screen_first variable before evt.
10600         unlock the inset as this may change screen_first and then we have
10601         a wrong y position for the click!
10602
10603 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * MenuBackend.C (expand): another translation that I missed
10606
10607 2002-03-28  Juergen Vigna  <jug@sad.it>
10608
10609         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10610
10611         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10612
10613 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10616
10617         * MenuBackend.C (expand): fix export/view/update when there is no
10618         document open.
10619
10620 2002-03-27  Herbert Voss  <voss@lyx.org>
10621
10622         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10623         and text%
10624
10625 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * bufferview_funcs.C (currentState): only show paragraph number
10628         for is DEVEL_VERSION is set.
10629
10630         * lyxfunc.C (dispatch): put warning in INFO channel
10631
10632         * MenuBackend.C (expand): translate the name of floats
10633
10634         * FloatList.C (FloatList): mark the float names for translation
10635
10636         * converter.C (convert): use LibScriptSearch
10637
10638 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * MenuBackend.C (defaults): fix default menu (we might as well get
10641         rid of it...)
10642
10643 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10644
10645         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10646         directory.
10647
10648 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10649
10650         * lyxvc.C: reorder includes.
10651
10652 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10655           properly
10656
10657 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * CutAndPaste.C: change layouts earlier on paste
10660           to avoid crashing when calling getFont()
10661
10662 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10663
10664         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10665         irritating #error.
10666
10667 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * WorkArea.C: remove 'Pending' debug message.
10670
10671         * most files: ws cleanup
10672
10673         * buffer.[Ch]: ws changes
10674
10675         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10676
10677 2002-03-21  Juergen Vigna  <jug@sad.it>
10678
10679         * tabular.C (SetMultiColumn): collapse also the contents of the
10680         cells and set the last border right. Added a Buffer const * param.
10681
10682 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10683
10684         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10685         linking or not.
10686
10687 2002-03-19  Juergen Vigna  <jug@sad.it>
10688
10689         * text2.C (clearSelection): reset also xsel_cache.
10690
10691         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10692         where it needs to be called (John tells us to do so too :)
10693         (selectionLost): reset sel_cache.
10694
10695         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10696
10697 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * text2.C (setCursorIntern): put debuging code in INSETS channel
10700
10701 2002-03-19  André Pönitz <poenitz@gmx.net>
10702
10703         * lyxfunc.C: tiny whitespace change
10704
10705 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10706
10707         * ToolbarDefaults.C (init):
10708         * LyXAction.C (init):
10709         * commandtags.h:
10710         * BufferView_pimpl.C (Dispatch):
10711         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10712
10713 2002-03-19  Allan Rae  <rae@lyx.org>
10714
10715         * exporter.C (Export): removeAutoInsets before doing anything else.
10716         While I've just introduced a dependency on BufferView this really is
10717         the best place to clean the buffer otherwise you need to cleanup in
10718         a dozen places before calling export or cleanup in a dozen functions
10719         that export calls.
10720
10721         * converter.C (runLaTeX):
10722         (scanLog): Better handling of removeAutoInsets and screen updates.
10723
10724         * lyxfunc.C (dispatch): small whitespace changes
10725
10726 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * WorkArea.C (C_WorkAreaEvent): return a value.
10729         (event_cb): return 1 if we handled the event, 0 otherwise.
10730
10731         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10732
10733 2002-03-18  Juergen Vigna  <jug@sad.it>
10734
10735         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10736         (GetAdditionalWidth): ditto.
10737         (RightLine): ditto.
10738         (LeftLine): ditto.
10739
10740         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10741         inset if we're there actually (probably not used right now but this
10742         is the direction to go for unifying code).
10743         (paste): disable code to clear the selection.
10744
10745         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10746         inside an InsetText and move the check further up as it is in the
10747         wrong place.
10748
10749         * text2.C (pasteSelection): set a selection over the pasted text.
10750
10751 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10752
10753         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10754         and libgraphics to build on Cygwin.
10755
10756 2002-03-15  Juergen Vigna  <jug@sad.it>
10757
10758         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10759         inserting an Inset into the paragraph. I know this is not the best
10760         fix but we already use current_view in CutAndPaste so we will remove
10761         all of it's using at the same time.
10762
10763         * buffer.C (sgmlError): deactivated function till it is rewritten in
10764         the right mode, now it can create problems.
10765
10766         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10767         before accessing it.
10768
10769 2002-03-14  Juergen Vigna  <jug@sad.it>
10770
10771         * undo_funcs.C (textHandleUndo): do the right thing when updating
10772         the inset after the undo/redo.
10773
10774         * text2.C (setCursor): just some testcode for #44 not ready yet.
10775
10776         * undo_funcs.C (textHandleUndo): set the next() and previous()
10777         pointers of the paragraph to 0 before deleting otherwise we have
10778         problems with the Paragraph::[destructor].
10779
10780         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10781         on a paragraph insertion.
10782
10783 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10784
10785         * buffer.C (asciiParagraph): use += operator for char append to
10786         string.
10787
10788         * paragraph.C (getFontSettings): compare >= not just >
10789         (highestFontInRange): ditto
10790         (setFont): ditto
10791
10792 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10793
10794         * paragraph.C: change several algorithm to be more appripriate for
10795         the problem domain. This is lookip in FontList and in the InsetList.
10796
10797 2002-03-13  André Pönitz <poenitz@gmx.net>
10798
10799         * commandtags.h:
10800         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10801
10802 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * commandtags.h:
10805         * LyXAction.C:
10806         * lyxfunc.C:
10807         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10808
10809 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * Painter.C (display): anon helper function, adjust code for this
10812         change.
10813         (pixmap): remove function.
10814
10815         * Painter.h: remove private display variable.
10816
10817         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10818
10819 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * WorkArea.[Ch]: remove figinset_canvas cruft.
10822
10823 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10824
10825         * lyxtextclass.C (operator): add one item cache optimization.
10826
10827         * bufferlist.h: doxy changes
10828
10829         * bufferlist.C: ws changes
10830
10831         * DepTable.[Ch] (ext_exist): place const in the right spot.
10832
10833         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10834         call resizeInsets.
10835         (workAreaExpose): call resizeInsets when the with BufferView changes.
10836         (Dispatch): adjust for protectedBlank removal
10837         (specialChar): call updateInset if the insert went ok.
10838
10839         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10840         specialChar instead.
10841
10842         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10843
10844         * BufferView.h: doxy change
10845
10846         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10847
10848         * lyxtextclass.C (operator[]): remove non-const version
10849         (defaultLayout): remove non-const version
10850
10851 2002-03-12  Juergen Vigna  <jug@sad.it>
10852
10853         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10854         did resize the LyXText too.
10855
10856         * buffer.C (readLyXformat2): set layout information on newly allocated
10857         paragraphs.
10858
10859         * tabular.C (OldFormatRead): set layout information on the paragraph.
10860
10861 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10862
10863         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10864
10865 2002-03-11  Juergen Vigna  <jug@sad.it>
10866
10867         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10868         plainly wrong.
10869         (resizeCurrentBuffer): force also the insets to resize themselfes.
10870         (moveCursorUpdate): fixed up for InsetText.
10871
10872 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * commandtags.h:
10875         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10876         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10877         value of Dialogs::tooltipsEnabled().
10878         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10879
10880 2002-03-08  Juergen Vigna  <jug@sad.it>
10881
10882         * BufferView_pimpl.C (updateInset): update inset inside inset also
10883         if it isn't inside theLockingInset().
10884
10885 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * buffer.C (asciiParagraph): redo some of the word and line length
10888         handling.
10889         (getLists): look for Caption instead of caption.
10890
10891 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * buffer.C (Buffer): initialize niceFile to true
10894         (makeLaTeXFile):
10895         (makeLinuxDocFile):
10896         (makeDocBookFile): make sure niceFile is true on exit
10897
10898 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10901
10902 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10903
10904         * LyXSendto.C: remove.
10905         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10906         * lyx_gui.C: remove now-redundant comment.
10907         * ColorHandler.h: remove forward declaration of class WorkArea.
10908         * lyxfunc.C: remove #include "WorkArea.h".
10909
10910 2002-03-07  Juergen Vigna  <jug@sad.it>
10911
10912         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10913         got moved away with the DEPM and also set the inset_owner always
10914         right which before could have been omitted.
10915
10916 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10919         wanted layout is not found.
10920
10921 2002-03-07  Juergen Vigna  <jug@sad.it>
10922
10923         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10924
10925 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * paragraph.C (breakParagraph): use default layout not layout of
10928         prev paragraph.
10929         (Paragraph): clear ParagraphParameters.
10930
10931 2002-03-06  Juergen Vigna  <jug@sad.it>
10932
10933         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10934         otherwise it would not be a valid lenght. Fixed a special case in
10935         the minipage compatibility read where we end the document with a
10936         minipage.
10937
10938         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10939         was set as it could be 0 for InsetTexts first entry.
10940
10941 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10942
10943         * paragraph.C (writeFile): if layout is empty write out
10944         defaultLayoutName().
10945
10946         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10947         file without named layout we set layout to defaultLayoutName().
10948
10949 2002-03-06  Juergen Vigna  <jug@sad.it>
10950
10951         * CutAndPaste.C (copySelection): set layout for new paragraph.
10952
10953         * text.C (prepareToPrint): leave ERT inset left aligned
10954         (leftMargin): don't indent paragraphs inside ERT insets
10955
10956 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * paragraph.C (breakParagraph): dont call clear do the work manually
10959
10960         * paragraph.[Ch] (clear): remove function
10961
10962 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * paragraph.C (Paragraph): dont call clear, the work has already
10965         been done.
10966
10967         * lyxtextclass.C (operator): assert if n is empty
10968
10969         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10970         work manually instead.
10971
10972 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * BufferView_pimpl.C: protect selectionLost against text == 0
10975
10976 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * text.C (breakParagraph): fix a setting layout to '0' problem.
10979
10980 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10981
10982         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10983         final location of file, for the included files, and graphics.
10984
10985 2002-03-05  Juergen Vigna  <jug@sad.it>
10986
10987         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10988
10989 2002-03-04  Juergen Vigna  <jug@sad.it>
10990
10991         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10992
10993         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10994         last column of multicolumn cells.
10995         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10996
10997 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10998
10999         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11000         file if it doesn't go to a temporary file.
11001
11002         * buffer.C (sgmlOpenTag):
11003         (sgmlCloseTag):  remove extra newline insertion.
11004
11005 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11006
11007         * text.C (getRowNearY): comment out debug msg
11008
11009 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * text2.C: first -> first_y
11012
11013         * text.C (getRowNearY): add some attemts at a possible
11014         optimization, not working.
11015
11016         * tabular.[Ch]: add BufferParams to several function so that newly
11017         created paragraph can be initialized to he default layotu for the
11018         buffers textclass.
11019
11020         * tabular-old.C (ReadOld): add buf->params to call of Init
11021
11022         * screen.C: rename text->first to text->first_y
11023
11024         * paragraph.C (breakParagraph): always set layout in the broken
11025         paragraph
11026
11027         * lyxtextclass.C (Read): remove lowercase
11028         (hasLayout): ditto
11029         (operator): ditto
11030         (delete_layout): ditto
11031
11032         * lyxtext.h: rename first -> first_y
11033
11034         * lyxlayout.C (Read): remove lowercase
11035         (name): ditto
11036         (setName): ditto
11037         (obsoleted_by): ditto
11038
11039         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11040
11041         * buffer.C (insertErtContents): add params are to InsetERT
11042         (parseSingleLyXformat2Token): add code to check if a paragraphs
11043         layout really exist.
11044         (parseSingleLyXformat2Token): add params to several inset
11045         constructors
11046         (asciiParagraph): remove lowercase, do the layout comparisons with
11047         no_case
11048
11049         * BufferView_pimpl.C (cursorNext): first -> first_y
11050         (resizeCurrentBuffer): first -> first_y
11051         (updateScrollbar): first -> first_y
11052         (scrollCB): first -> first_y
11053         (workAreaMotionNotify): first -> first_y
11054         (workAreaButtonPress): first -> first_y
11055         (checkInsetHit): first -> first_y
11056         (cursorPrevious): first -> first_y
11057         (cursorNext): first -> first_y
11058         (Dispatch): add buffer_->params to severl inset contructors
11059
11060 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11061
11062         * lyxlayout.C (Read): remove some debug info that I forgot.
11063
11064         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11065         clean up the code slightly.
11066         (makeLinuxDocFile): ditto
11067         (makeDocBookFile): ditto
11068
11069         * text2.C: layout as string
11070
11071         * text.C: layout as string
11072
11073         * paragraph_pimpl.C: layout as string
11074
11075         * paragraph.[Ch]: layout as string
11076
11077         * lyxtextclasslist.[Ch]: layout as string
11078
11079         * lyxtextclass.[Ch]: layout as string
11080
11081         * lyxtext.h: layout as string
11082
11083         * lyxlayout.[Ch]: layout as string
11084
11085         * lyx_cb.C: layout as string
11086
11087         * bufferview_funcs.C: layout as string
11088
11089         * bufferparams.C: layout as string
11090
11091         * buffer.C: layout as string
11092
11093         * LyXView.[Ch]: layout as string
11094
11095         * LaTeXFeatures.[Ch]: layout as string
11096
11097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11098
11099         * BufferView_pimpl.C: change current_layout to string, remove
11100         lyx::layout_type.
11101         (Dispatch):
11102         (smartQuote):
11103         (insertInset):
11104         (workAreaButtonRelease): layout as string
11105
11106         * BufferView2.C (unlockInset): adjust
11107
11108         * vspace.C (asLatexCommand): use an explict temp variable.
11109
11110 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * Makefile.am: use FRONTEND_*
11113
11114 2002-03-01  Juergen Vigna  <jug@sad.it>
11115
11116         * tabular.C (SetWidthOfMulticolCell): changed to something better
11117         I hope but still work in progress.
11118         (recalculateMulticolumnsOfColumn): renamed function from
11119         recalculateMulticolCells as it is more appropriate now.
11120         (SetWidthOfCell): calculate multicols better.
11121
11122 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11125
11126         * lyxfunc.C (processKeySym): print sequence also if it is
11127         `deleted' (complete)
11128
11129         * kbsequence.C (print): print sequence even if it is deleted
11130         (complete would be a better word, actually).
11131
11132         * lyxfunc.C (dispatch): print complete options after a prefix key
11133
11134         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11135
11136 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11137
11138         * text2.C (setCharFont): eliminate setCharFont code duplication.
11139
11140 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11141
11142         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11143         LFUN_TABULAR_FEATURE (bug #177)
11144
11145 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * Makefile.am: remove figure.h
11148
11149 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11150
11151         * Bufferview_pimpl.C:
11152         * CutAndPasteC:
11153         * LaTeX.C:
11154         * LyXSendto.C:
11155         * buffer.C:
11156         * bufferlist.C:
11157         * converter.C:
11158         * language.C:
11159         * lyxfunc.C:
11160         * lyxvc.C:
11161         * paragraph.C:
11162         * text.C:
11163         * text2.C: remove #include "lyx_gui_misc.h".
11164
11165         * LaTeX.C: added #include <cstdio>
11166
11167 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11170         that the paragraph following this one can have.
11171
11172         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11173
11174         * vspace.C (asLatexCommand): fix bogus gcc warning
11175
11176         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11177
11178 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11179
11180         * text2.C (setLayout): get rid of redundant code
11181
11182 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11183
11184         * text2.C (incDepth): make sure depth cannot be increased beyond
11185         reasonable values.
11186
11187 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11190         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11191
11192         * PainterBase.h (image):
11193         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11194         a LyXImage const *.
11195
11196 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView.C:
11199         * BufferView.h:
11200         * BufferView_pimpl.C:
11201         * BufferView_pimpl.h:
11202         * LaTeXFeatures.C:
11203         * LyXAction.C:
11204         * LyXView.C:
11205         * Makefile.am:
11206         * UpdateList.h:
11207         * UpdateList.C:
11208         * buffer.C:
11209         * figure.h:
11210         * figureForm.C:
11211         * figureForm.h:
11212         * figure_form.C:
11213         * figure_form.h:
11214         * lyx_cb.C:
11215         * lyx_gui.C:
11216         * lyx_gui_misc.C:
11217         * lyxfunc.C:
11218         * sp_base.h:
11219         * sp_ispell.h:
11220         * sp_pspell.h:
11221         * sp_spell.C: remove fig inset, and the crap house of
11222           cards that follows it
11223
11224 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * Makefile.am:
11227         * lyxserver.C:
11228         * os2_defines.h:
11229         * os2_errortable.h:
11230         * nt_defines.h: move .h into support/
11231
11232         * vms_defines.h: remove
11233
11234         * WorkArea.C: add space in debug output
11235
11236         * text2.C:
11237         * paragraph.C:
11238         * buffer.C: add WITH_WARNINGS
11239
11240         * vc-backend.h:
11241         * vc-backend.C:
11242         * bufferlist.C: s/retrive/retrieve/, add docs
11243
11244         * vspace.h:
11245         * vspace.C:
11246         * kbmap.h:
11247         * lyxlength.h:
11248         * lyxgluelength.h:
11249         * length_common.h:
11250         * chset.h:
11251         * chset.C: add docs
11252
11253         * lyxgui.C: add ID to X error handler
11254
11255         * lyxtestclass.c: fix typo
11256
11257 2002-02-26  Juergen Vigna  <jug@sad.it>
11258
11259         * tabular_funcs.C (write_attribute): changed so that some default
11260         attributes are not written at all.
11261         (getTokenValue): set default values before trying to read the
11262         value so we have the return value always set as default if we don't
11263         find the token we search for.
11264
11265         * tabular.C (Write): write bools as bools not as strings!
11266
11267 2002-02-22  Juergen Vigna  <jug@sad.it>
11268
11269         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11270         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11271
11272         * text.C (leftMargin): don't add an indent for paragraphs inside
11273         tabular cells (fix #208).
11274
11275 2002-02-21  José Matos  <jamatos@fep.up.pt>
11276
11277         * tabular.C (docBook): fixed support for long tables.
11278
11279 2002-02-20  Juergen Vigna  <jug@sad.it>
11280
11281         * text2.C (getFont): get the drawing font of the Inset if this
11282         paragraph is inside an inset (only important for InsetERT for now).
11283
11284         * buffer.C (insertErtContents): use new lanugage params in ERT
11285         constructor.
11286
11287         * CutAndPaste.C: commenting out seemingly uneeded code.
11288
11289 2002-02-19  Allan Rae  <rae@lyx.org>
11290
11291         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11292         Iterators might be simple to use but they also get invalidated.
11293         (removeAutoInsets): renamed saved cursor tracking variables and added
11294         some comments to clarify what everything does.
11295
11296 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * Chktex.C:
11299         * LaTeX.C:
11300         * LyXSendto.C:
11301         * converter.C:
11302         * lyx_cb.C:
11303         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11304         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11305
11306         * lyxfunc.C:
11307         * vc-backend.h: remove #include "support/syscall.h"
11308
11309         * LaTeX.C:
11310         * LyXSendto.C:
11311         * converter.C: rearrange #includes in Lars' approved fashion.
11312
11313         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11314         forward declare class Timeout in the header file.
11315
11316         * XFormsView.C: changes due to the above.
11317
11318         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11319         similar to LyXView.
11320
11321         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11322         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11323
11324 2002-02-18  José Matos  <jamatos@fep.up.pt>
11325
11326         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11327         insets contents.
11328
11329 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11330
11331         * a lot of small ws changes
11332         * add a lot of using std::XXX
11333         * use std construcs some places where approp.
11334         * use some exisint stuff from lyxfunctional where approp.
11335         * Make file changes to use partial linking (lets test this now...)
11336
11337 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11338
11339         * Chktex.C:
11340         * buffer.C:
11341         remove #include "support/syscontr.h" as it's redundant. Always has been.
11342
11343         * Chktex.C:
11344         * LaTeX.C:
11345         * LyXSendto.C:
11346         * converter.C:
11347         * lyx_cb.C:
11348         * vc-backend.C:
11349         change Systemcalls::System to Systemcalls::Wait and
11350         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11351         No change of functionality, just reflects the stripped down Systemcalls
11352         class.
11353
11354 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11355
11356         * debug.[Ch]: add a GRAPHICS type to the enum.
11357
11358 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11359
11360         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11361
11362         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11363         there is an inset.
11364
11365 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11368         match the changes below.
11369
11370         * text2.C (toggleInset): if there is not editable inset at cursor
11371         position, try to see if cursor is _inside_ a collapsable inset
11372         and close it.
11373
11374 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11375
11376         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11377         document menu has a nice checkbox
11378
11379 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * lyxlength.C (asLatexString): change PW to output as percent of
11382         \textwidth.
11383
11384         * lengthcommon.C: change '%' to 't%'
11385
11386         * lyxfunc.C (dispatch): a few comments from Martin
11387
11388 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * WorkArea.h:
11391         * WorkArea.C:
11392         * BufferView_pimpl.h:
11393         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11394           the X selection.
11395
11396 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * vspace.C (inPixels): fix compiler warning
11399
11400 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11401
11402         * lyxfunc.C (getStatus): fix status message for disabled commands.
11403
11404 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * BufferView_pimpl.C: fix crash on close buffer
11407         during selection (#227)
11408
11409 2002-01-27  Herbert Voss  <voss@lyx.org>
11410
11411         * buffer.C: link old Figure to new graphic inset
11412
11413 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11414
11415         * FontLoader.C (getFontinfo): Change the latex font names in order
11416         to match the names of type1inst.
11417
11418 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11419
11420         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11421
11422         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11423         (extchanged): ditto
11424         (ext_exist): ditto
11425         (remove_files_with_extension): ditto
11426         (remove_file): ditto
11427         (write): ditto
11428
11429         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11430         document is smaller than the work area height. Do not initialize
11431         static variables to 0.
11432
11433 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11436
11437         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11438         LFUN_LAYOUT_PARAGRAPHS.
11439
11440         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11441         tabular. It is possible to provide a possible cell, which will
11442         typically be the actcell from the corresponding insettabular
11443
11444         * lyxfunc.C (getStatus): small cleanup; disable
11445         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11446         true
11447
11448 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11451
11452         * paragraph.C (startTeXParParams):
11453         (endTeXParParams): new methods. The LaTeX code to
11454         start/end paragraph formatting
11455         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11456         empty (fixes bug #200)
11457
11458         * vspace.C (inPixels): adapt to the change below
11459         (inPixels): [later] more cleanups (remove unused variables)
11460
11461         * lyxlength.C (inPixels): change to use a width and a height as
11462         parameter.
11463
11464 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11467         Replaced with \paperwidth
11468
11469         * DepTable.C (insert): add std:: qualifier
11470
11471 2002-01-18  Allan Rae  <rae@lyx.org>
11472
11473         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11474         updated also?
11475
11476         * text.C (drawInset): Turned out I didn't know enough about how
11477         rebreaking worked.  This fixes most of the redraw problems.  I see
11478         an occasional cursor trail when a line is broken now and the cursor
11479         placement can seem out by a few pixels also after a rebreak.
11480
11481 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * buffer.C (parseSingleLyXformat2Token): update because minipage
11484         width is now a LyXLength
11485
11486         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11487
11488         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11489         math insets
11490
11491 2002-01-17  Juergen Vigna  <jug@sad.it>
11492
11493         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11494
11495         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11496         is set correctly and the inset is updated correctly.
11497
11498 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11501         the beginning of the loop.
11502
11503 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxrc.C: improve help for use_scalable_fonts
11506
11507 2002-01-17  Allan Rae  <rae@lyx.org>
11508
11509         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11510
11511 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11514         make sure to set their inset_owner to the right value (bug #171)
11515
11516 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11517
11518         * DepTable.h
11519         * DepTable.C: Implement mtime checking to reduce time spent doing
11520         CRCs.
11521
11522 2002-01-16  Juergen Vigna  <jug@sad.it>
11523
11524         * tabular.C (GetAdditionalHeight): one of error fixed.
11525
11526         * lyxrc.C (output): small fix in writing use_pspell.
11527
11528 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11529
11530         * sp_base.h: #include LString.h
11531
11532 2002-01-16  Allan Rae  <rae@lyx.org>
11533
11534         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11535         Can someone check this please?
11536
11537         * text.C (drawInset): It was possible that p.row would be removed by
11538         breakAgainOneRow upsetting a few other settings.  There may be another
11539         small tweak possible by setting need_break_row = 0 when p.row has been
11540         removed but I don't know enough about the logic here.
11541
11542 2002-01-15  Allan Rae  <rae@lyx.org>
11543
11544         * text.C (insertChar): removed conditional truism.
11545
11546         * BufferView2.C (removeAutoInsets): More tweaks.
11547         cur_par_prev could be a stray pointer.  Check for trailing empty line
11548         in case last line was cur_par and only had an error inset on it.
11549
11550 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11553         absolute
11554
11555         * vc-backend.C (most methods):
11556         * exporter.C (Export):
11557         * converter.C (convert):
11558         (runLaTeX):
11559         * LyXSendto.C (SendtoApplyCB):
11560         * lyxfunc.C (dispatch):
11561         (menuNew):
11562         (open):
11563         (doImport):
11564         * lyx_cb.C (AutoSave):
11565         (InsertAsciiFile):
11566         * BufferView_pimpl.C (MenuInsertLyXFile):
11567         * buffer.C (runChktex): use Buffer::filePath().
11568
11569         * buffer.h: rename filename to filename_; rename filepath to
11570         filepath_ and make it private
11571         (filePath): new method
11572
11573         * buffer.C (writeFile): use fileName()
11574         (getLatexName):
11575
11576         * lyx_main.C (init): fix starting  of LyX when the binary is a
11577         link from so,ewhere else.
11578
11579         * minibuffer.C: include <cctype> for isprint
11580
11581 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11582
11583         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11584         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11585         name clash with InsetCollapsable's width function.
11586
11587 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * lastfiles.C: include <iterator>
11590
11591 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11594         std::count.
11595
11596         * buffer.C (makeLaTeXFile): ditto.
11597         Also make loop operation more transparent.
11598
11599 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11600
11601         * ToolbarDefaults.C: remove trailing comma closing namespace.
11602
11603         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11604
11605         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11606         as in WorkArea.
11607
11608         * trans.C (Load): comment out unused variable, allowed.
11609
11610 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * minibuffer.[Ch] (append_char): new method to recieve input from the
11613         drop-down completion browser. If a key was pressed, then recieve this
11614         char and append it to the existing string.
11615         (peek_event): modify the positioning data passed to the completion
11616         browser so that it can be placed above the minibuffer rather than below.
11617 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * LyXAction.C (init): alloe error-next for readonly documents.
11620
11621         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11622         count.
11623
11624 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * bufferlist.C (readFile): create the buffer _after_ checking that
11627         the file exists.
11628
11629         * lyxfunc.C (verboseDispatch): fix handling of arguments
11630
11631         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11632
11633         * lyxrc.C: use string::erase() instead of initializing to "".
11634
11635
11636 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView_pimpl.h:
11639         * BufferView_pimpl.C:
11640         * WorkArea.h:
11641         * WorkArea.C:
11642         * text2.C: tell X when we have made a selection for copying
11643
11644 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11645
11646         * BufferView_pimpl.C (MenuInsertLyXFile):
11647         * lyxfunc.C (menuNew):
11648         (open):
11649         (doImport): add shortcuts to directory buttons
11650
11651         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11652         open a float)
11653
11654         * lyxfunc.C (setStatusMessage):
11655         (getStatusMessage): new methods
11656         (getStatus):use setStatusMessage instead of setErrorMessage
11657         (dispatch): when function is disabled, set error message here
11658         [instead of in getStatus previously]
11659
11660         * BufferView_pimpl.C (workAreaButtonRelease): update
11661         toolbar/menubar here too.
11662
11663 2002-01-13  Allan Rae  <rae@lyx.org>
11664
11665         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11666         Now seems indestructible.  Remaining task is to audit all other
11667         code affected by deleteEmptyParagraphMechanism.  One small quirk
11668         left is that an empty document with an error in the preamble can
11669         be made to report an error but no error box appears.  I don't know
11670         where it goes.
11671         (removeAutoInsets): Improved comments.
11672
11673 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * Thesaurus.h:
11676         * Thesaurus.C: update for Aiksaurus 0.14
11677
11678 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * text2.C (firstParagraph): removed member function, all uses
11681         replaces with ownerParagraph
11682         (redoParagraphs): here
11683         (updateInset): here
11684         (toggleAppendix): here
11685         * BufferView2.C (insertErrors): here
11686         (setCursorFromRow): here
11687
11688 2002-01-13  Allan Rae  <rae@lyx.org>
11689
11690         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11691         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11692         There is still a way to segfault this although you may have to do this
11693         multiple times: Have an InsetERT with an unknown command in it.
11694         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11695         <down-arrow>, <Enter> again, View->DVI, BANG!
11696
11697         * text2.C (setCursor):
11698         (deleteEmptyParagraphMechanism):
11699         * lyxtext.h (setCursor):
11700         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11701         Making use of the return value may help fix other bugs.
11702
11703 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11704
11705         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11706
11707         * LyXView.C (updateMenubar): call MenuBar::update here
11708         (updateToolbar): but not here
11709         (showState): do not update toolbar/menubar
11710
11711         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11712         should need to care about that.
11713
11714         * lyxfunc.C (verboseDispatch): simplify a bit
11715         (getStatus): have a version which takes a pseudoaction, and
11716         another which requires a (kb_action,string).
11717
11718         * LyXAction.C (retrieveActionArg): make it work also when action
11719         is not a pseudo-action.
11720         (getActionName): simplify a bit
11721         (helpText):
11722
11723 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11724
11725         * lyxfunc.C (verboseDispatch): new families of methods with
11726         several ways to specify a command and a bool to indicate whether
11727         the command name and shortcut should be displayed in minibuffer
11728         (eventually, we could extend that to a finer bitmask like
11729         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11730         (dispatch): the pristine dispatch command which just, well,
11731         dispatchs! Note it still sets its result to minibuffer; I'm not
11732         sure we want that.
11733
11734         * lyxfunc.h: remove setHintMessage
11735
11736         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11737
11738 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11739
11740         * BufferView_pimpl.C (specialChar): delete new inset if we have
11741         not been able to insert it.
11742
11743         * kbmap.C: revert to using int instead of kb_action, since all we
11744         are dealing with is pseudo-actions.
11745
11746         * LyXAction.C (searchActionArg): change to return int instead of
11747         kb_action, since the result is a pseudoaction.
11748
11749 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11750
11751         * buffer.C (insertErtContents): Fix (partially) the font bug.
11752
11753 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11754
11755         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11756         as the other one is broken on my machine!
11757
11758 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11759
11760         * commandtags.h:
11761         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11762
11763 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11766         reflect their actual use. Provide compatibility code for older lyxrc
11767         files.
11768
11769         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11770         FL_NORMAL_STYLE.
11771         change names of popup font variables in line with the changes to lyxrc.C
11772
11773 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * buffer.C (asciiParagraph): avoid outputing a word twice after
11776         an inset.
11777
11778         * lyxrc.C (getDescription): document that document_path and
11779         template_path can be empty.
11780
11781 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11782
11783         * LaTeXFeatures.C (getMacros):
11784         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11785
11786         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11787
11788         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11789         getPackages.
11790         (getPackages): rename feature "floats" to "float". Use an array to
11791         iterate over 'simple' features (i.e. just a \usepackage). Add
11792         handling of "amsmath" (renamed from "amsstyle").
11793
11794 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11795
11796         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11797         features list.
11798
11799 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11802         FuncStaus::FuncStatus & FuncStaus::some_method().
11803
11804 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11805
11806         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11807         of the func_satus stuff. Edited and massaged in various ways by
11808         JMarc.
11809
11810         * lyxfunc.C (getStatus): use FuncStatus
11811
11812 2002-01-08  Juergen Vigna  <jug@sad.it>
11813
11814         * text.C (nextBreakPoint): use function Inset::isChar().
11815
11816         * paragraph.C (TeXOnePar): use function
11817         Inset::forceDefaultParagraphs.
11818
11819         * buffer.C (latexParagraphs): use function
11820         Inset::forceDefaultParagraphs.
11821
11822 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * lyx_gui.C (init): set the style of the menu popups to
11825         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11826
11827 2002-01-07  Juergen Vigna  <jug@sad.it>
11828
11829         * text.C (setHeightOfRow): small fix
11830         (prepareToPrint): don't look at alignment if we don't have the place
11831         for doing it.
11832
11833 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11834
11835         * box.C: New file. Move the Box methods and functions out of box.h,
11836         following Lars' suggestion.
11837
11838 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11839
11840         * box.h: #include "support/LOstream.h", needed for inlined function.
11841
11842         * lyxtextclass.C:
11843         * lyxtextclasslist.C: added some using std declarations.
11844
11845 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * box.h: make signed dimensions to allow insets wider than
11848           the screen (bug #162)
11849
11850         * BufferView_pimpl.C: add some insetHit debug
11851
11852 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * vc-backend.C: add FIXME
11855
11856 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * lyxfunc.C (getStatus): enable code for showing math font status
11859         in toolbar/menu.
11860
11861 2002-01-07  Juergen Vigna  <jug@sad.it>
11862
11863         * text.C (nextBreakPoint): removed debug output not needed anymore.
11864
11865 2002-01-06  Juergen Vigna  <jug@sad.it>
11866
11867         * text.C (nextBreakPoint): fixed up this function we had this bug
11868         since ever but now hopefully we break row better.
11869         (insertChar): we have to check if an inset is the next char as it
11870         could now happen that a large inset is causing a break.
11871
11872 2002-01-05  Juergen Vigna  <jug@sad.it>
11873
11874         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11875         if it doesn't like to be drawed.
11876
11877 2002-01-04  Juergen Vigna  <jug@sad.it>
11878
11879         * BufferView2.C (lockInset): forgot to set a cursor.
11880
11881         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11882
11883 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11884
11885         * FormMathsPanel.C:
11886         * FormMathsPanel.h
11887         * MathsSymbols.C:
11888         * form_maths_panel.C:
11889         * form_maths_panel.h:
11890         * form_maths_panel.fd: implemented sub- and super- buttons in math
11891         panel.
11892
11893         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11894         (or ^ space) to be used as in TeX (req'd by André).
11895
11896         * lyxfunc.C: Allow ^ and _ again to be used both as
11897         super/subscript (mathed) and as themselves (in text).
11898
11899 2002-01-03  Allan Rae  <rae@lyx.org>
11900
11901         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11902         "LyX" or the filename of the current buffer if it has one.  This is a
11903         modified form of John Levon's patch.
11904
11905         * XFormsView.C (setWindowTitle): also set icon title.
11906
11907         * LyXView.h (setWindowTitle): signature changed.
11908         * XFormsView.h (setWindowTitle): ditto.
11909
11910 2002-01-02  Juergen Vigna  <jug@sad.it>
11911
11912         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11913
11914 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * screen.C (topCursorVisible): introduce a temp var for
11917         text->cursor.row(), handle the case where this row is null. (kindo
11918         hachish)
11919
11920         * text2.C (setCursor): add a couple of asserts.
11921
11922         * paragraph.h (inset_iterator): add -> operator
11923
11924         * paragraph.[Ch] (autoDeleteInsets): remove member function
11925
11926         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11927         cursor pos correctly and handle inset deletion by itself.
11928         (insertErrors): move iterator declaration out of for expression
11929
11930         * lyxtextclass.C: add <algorithm>
11931
11932         * Makefile.am: added the new files to sources, removed layout.C
11933
11934         * layout.C: removed file
11935
11936         * layout.h: remove LYX_DUMMY_LAYOUT
11937
11938         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11939         layout.
11940
11941         * lyxlayout.[Ch]:
11942         * lyxtextclass.[Ch]:
11943         * lyxtextclasslist.[Ch]: new files
11944
11945         * include order changes to a lot of files, also changes because of
11946         the six new files.
11947
11948 2001-12-27  Juergen Vigna  <jug@sad.it>
11949
11950         * buffer.C (asciiParagraph): more fixes.
11951
11952         * tabular.C (ascii): make ascii export support export of only the
11953         data separated by a column-delimiter.
11954         (ascii): better support for ascii export.
11955
11956         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11957
11958 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11959
11960         * tabular_funcs.C: use a "using std::getline" instead of the
11961         previous fix from Angus (necessary for cxx + lyxstring)
11962
11963 2001-12-24  Juergen Vigna  <jug@sad.it>
11964
11965         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11966
11967         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11968         problems. First check a minipage also if we have some ert-contents
11969         (not only on par->size(), second set the right depth of the paragraph
11970         on the relink to the root-paragraph-list!
11971
11972         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11973         which then did not anymore update the main paragraphs on undo/redo!
11974
11975 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11978         code. Support all font-changing funcs (even those which are not in
11979         menu currently). Support for reporting font settings in
11980         mathed (disabled until Andre provides a function on mathed's side).
11981
11982         * func_status.h (toggle): small helper function to set toggle
11983         state on a flag.
11984
11985 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11986
11987         * tabular_funcs.C: getline -> std::getline
11988
11989 2001-12-21  Juergen Vigna  <jug@sad.it>
11990
11991         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11992         accessed and could be 0 (I couldn't generate this but it seems
11993         Michael could!).
11994
11995 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11998         * tabular_funcs.h: here and include iosfwd
11999
12000 2001-12-20  Juergen Vigna  <jug@sad.it>
12001
12002         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12003         inside inset but undo_par was.
12004
12005 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * Thesaurus.C: always include <config.h> in sources.
12008
12009         * Painter.h:
12010         * lyxlookup.h:
12011         * box.h: do not include <config.h> in header files
12012
12013         * text.C (paintLastRow): remove unused variable
12014
12015         * text.C (transformChar):
12016         (insertChar):
12017         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12018
12019         * Painter.C (text):
12020         * font.C (width): rewrite to use uppercase() instead of
12021         islower/toupper.
12022
12023         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12024
12025 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * lyxfind.C: clean up of find failure position change
12028
12029 2001-12-20  Juergen Vigna  <jug@sad.it>
12030
12031         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12032
12033         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12034         (TeXRow): added to LaTeX a single tabular row.
12035         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12036         (Latex): simplified and finally good LT-h/f support.
12037         (various_functions): just small adaptions for LT-h/f support.
12038
12039         * tabular_funcs.[hC]: added and moved here all not classfunctions
12040         of LyXTabular.
12041
12042 2001-12-19  Juergen Vigna  <jug@sad.it>
12043
12044         * tabular.[Ch]: better support for longtabular options (not finished
12045         yet!)
12046
12047 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12048
12049         * text.C (paintLastRow): use the label font instead of the font of
12050         the last character to compute the size of *_BOX. This makes more
12051         sense and avoids a crash with empty paragraphs.
12052         Use Painter::rectangle to draw EMPTY_BOX.
12053
12054 2001-12-19  Juergen Vigna  <jug@sad.it>
12055
12056         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12057         the paragraphs if the replaced paragraph is not the first one!
12058         Tried to delete not used paragraphs but does not work yet so for
12059         now it's inside #ifdef's and by default off!
12060
12061 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * MenuBackend.C: include "lyx_main.h" instead of declaring
12064         lastfiles (actually was declared as LastFiles* instead of a
12065         scoped_ptr).
12066
12067 2001-12-17  Juergen Vigna  <jug@sad.it>
12068
12069         * tabular.C (AppendColumn): applied John's fix
12070
12071 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView.h:
12074         * BufferView.C:
12075         * BufferView_pimpl.h:
12076         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12077
12078         * Makefile.am:
12079         * box.h: new start of class for above
12080
12081         * lyxfunc.C: ignore space-only minibuffer dispatches.
12082           Show the command name when it doesn't exist
12083
12084         * minibuffer.C: don't add empty lines to the history
12085
12086         * minibuffer.C: add a space on dropdown completion
12087
12088 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * text.C: fix line above/below drawing in insets
12091
12092 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * lyxlength.C (LyXLength): Initialize private variables.
12095
12096 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12097
12098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12099         when inserting error insets.
12100
12101 2001-12-13  Juergen Vigna  <jug@sad.it>
12102
12103         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12104         actually sometimes the before-paragraph.
12105         (setUndo): don't clear the redostack if we're not actually undoing!
12106
12107 2001-12-06  Juergen Vigna  <jug@sad.it>
12108
12109         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12110         and fixed redoing of main paragraph, so we can use it now ;)
12111
12112         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12113
12114 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12117         Juergen's request
12118
12119 2001-12-13  André Pönitz <poenitz@gmx.net>
12120
12121         * undostack.[Ch]:
12122         * undo_func.C: minor cleanup
12123
12124 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12127         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12128         font in urw-fonts package which is marked as -urw-fontspecific and
12129         does not work (incidentally, changing the encoding in the
12130         fonts.dir of this package to -adobe-fontspecific fixes the
12131         problem).
12132
12133         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12134         is a crash when undoing first paragraph (Juergen, please take a
12135         look). THis does not mean the undo fix is wrong, just that it
12136         uncovers problems.
12137
12138         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12139         the (Paragraph*) version when needed instead of duplicating the
12140         code.
12141
12142         * text.C (workWidth): use Inset::parOwner to find out where the
12143         inset has been inserted. This is a huge performance gain for large
12144         documents with lots of insets. If Inset::parOwner is not set, fall
12145         back on the brute force method
12146
12147         * paragraph_pimpl.C (insertInset):
12148         * paragraph.C (Paragraph):
12149         (cutIntoMinibuffer): set parOwner of insets when
12150         inserting/removing them
12151
12152         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12153
12154 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12155
12156         * commandtags.h:
12157         * LyXAction.C:
12158         * lyx_main.C:
12159         * lyxfunc.C:
12160         * mathed/formulabase.C:
12161         * mathed/math_cursor.[Ch]:
12162         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12163
12164
12165 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * lyxlength.[Ch] (operator!=): new function
12168
12169 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12170
12171         * text.C (workWidth): use Inset::parOwner to find out where the
12172         inset has been inserted. This is a huge performance gain for large
12173         documents with lots of insets. If Inset::parOwner is not set, fall
12174         back on the brute force method
12175
12176         * paragraph_pimpl.C (insertInset):
12177         * paragraph.C (Paragraph):
12178         (cutIntoMinibuffer): set parOwner of insets when
12179         inserting/removing them
12180
12181         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12182
12183 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * tabular-old.C (getTokenValue):
12186         * tabular.C (getTokenValue):
12187         (write_attribute): new versions for LyXLength
12188         (everywhere): adjust the use of widths
12189
12190         * tabular.h: change the type of widths from string to LyXLength
12191
12192 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12193
12194         * paragraph.C: fixed missing line number count when exporting
12195         Environments to LaTeX file
12196
12197         * buffer.C: added informational message for checking line numbers.
12198
12199 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12200
12201         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12202         paragraph, do the 'double space' part, but not the 'empty
12203         paragraph' one.
12204
12205         * text.C (workWidth): small optimization
12206         (getLengthMarkerHeight): use minimal size for negative lengths.
12207
12208 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12211
12212         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12213
12214 2001-12-11  André Pönitz <poenitz@gmx.net>
12215
12216         * FontLoader.C:
12217         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12218
12219 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * text2.C: keep selection on a setFont()
12222
12223 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * lyx_cb.C: another bv->text misuse, from insert label
12226
12227 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * kbsequence.h:
12230         * kbsequence.C: re-instate nmodifier mask
12231
12232 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12233
12234         * lyx_main.h: make lyxGUI private.
12235
12236 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * lyxfind.C: place the cursor correctly on failed search
12239
12240 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * text.C (getLengthMarkerHeight): for small heights, the arrows
12243         are not always on top/bottom of the text
12244         (drawLengthMarker): smaller arrows; take the left margin in
12245         account; draw also vfills.
12246         (paintFirstRow):
12247         (paintLastRow): remove special code for vfill and standard spaces,
12248         since everything is handled in drawLengthMarker now.
12249
12250 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * buffer.C (insertErtContents): try to handle font and language
12253         interaction a bit better.g
12254
12255         * ColorHandler.C (updateColor): change the hash to cover the whole
12256         LColor enum, ws cleanup
12257         (getGCLinepars): ditto
12258         (getGCLinepars): only lookup in the linecache once.
12259
12260 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12261
12262         * iterators.C (operator++): Make the iterator more robust
12263
12264         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12265         (John's patch)
12266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12267
12268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * lyxtext.h:
12271         * text.C: better added space drawing
12272
12273 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * LyXView.C:
12276         * BufferView2.C: fix layout combo update on inset unlock
12277
12278 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * Makefile.am: don't compile unused files
12281
12282 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * lyxfunc.C:
12285         * commandtags.h:
12286         * LyXAction.C: remove old LFUN_LAYOUTNO
12287
12288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * paragraph_pimpl.h:
12291         * paragraph_pimpl.C: isTextAt() doesn't need font param
12292
12293 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * lyxlex.h:
12296         * lyxlex.C: little cleanup
12297
12298 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * BufferView_pimpl.C: fix insertAscii for insets
12301
12302 2001-12-05  Juergen Vigna  <jug@sad.it>
12303
12304         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12305         set the right font on the "multi" paragraph paste!
12306
12307 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * trans_decl.h:
12310         * trans_mgr.[Ch]:
12311         * trans.[Ch]:
12312         * lyxgluelength.C:
12313         * lyxlength.C: remove out-commented code.
12314
12315         * BufferView_pimpl:
12316         * CutAndPaste.C:
12317         * DepTable.C:
12318         * buffer.C:
12319         * chset.C:
12320         * lastfiles.C:
12321         * lyxlex.C:
12322         * lyxlex_pimpl.C:
12323         * lyxserver.C:
12324         * screen.C:
12325         * tabular-old.C:
12326         * tabular.C:
12327         * text.C:
12328         * trans_mgr.C:
12329         * vc-backend.C: change "while(" to "while ("
12330
12331         * lyxlength.[Ch]: add zero function to check if length is zero or
12332         not
12333         * lyxgluelength.C: use it
12334
12335 2001-12-05  Allan Rae  <rae@lyx.org>
12336
12337         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12338         Works for 2.95.3, from what I understand of Garst's reports this should
12339         work for other g++ versions.  We're screwed if the abs(int) definition
12340         changed between bugfix releases of gcc.
12341
12342 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * text.C: fix chapter label offset !
12345
12346 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * lyxtext.h:
12349         * text.C: fix hfill at end of line, clean up
12350
12351 2001-12-04  Juergen Vigna  <jug@sad.it>
12352
12353         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12354         that we force an update of the inset and it's owners if neccessary.
12355
12356 2001-12-03  Juergen Vigna  <jug@sad.it>
12357
12358         * text.C (rowLast): simplified code
12359
12360 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * lyxfunc.C: fix show options on timeout
12363
12364 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * screen.C (topCursorVisible): scroll half a page when the cursor
12367         reached top of bottom of screen
12368
12369 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * minibuffer.C: deactivate on loss of focus
12372
12373 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * vspace.[Ch] (operator!=): add operator.
12376
12377 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * BufferView_pimpl.C: refuse to open an inset when
12380         there's a selection.
12381
12382 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * BufferView_pimpl.C: allow to click on RHS of full row insets
12385
12386 2001-11-30  Juergen Vigna  <jug@sad.it>
12387
12388         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12389         insets for undo reasons.
12390
12391 2001-11-28  André Pönitz <poenitz@gmx.net>
12392
12393         * vspace.[Ch]: cosmetical changes
12394
12395 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * LyXAction.h:
12398         * LyXAction.C:
12399         * lyxfunc.h:
12400         * lyxfunc.C:
12401         * kbmap.h:
12402         * kbmap.C:
12403         * lyxrc.C:
12404         * kbsequence.h:
12405         * kbsequence.C: part re-write of old kb code
12406
12407         * Painter.C:
12408         * WorkArea.C: remove Lgb_bug_find_hack
12409
12410 2001-11-30  José Matos <jamatos@fep.up.pt>
12411
12412         * buffer.C (makeDocBookFile): add a comment to point a hack.
12413         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12414         Fixed a double write of labels.
12415
12416 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12417
12418         * LaTeX.C:
12419         * LaTeX.h Fixed bug in LaTeX class where it would not
12420         re-run latex if no depfiles were changed, but the .dvi was removed.
12421
12422 2001-11-28  André Pönitz <poenitz@gmx.net>
12423
12424         * all the files from the change on 2001/11/26:
12425         use lyx::layout_type instead of LyXTextClass::size_type
12426         use lyx::textclass_type instead of LyXTextClassList::size_type
12427
12428 2001-11-29  Juergen Vigna  <jug@sad.it>
12429
12430         * text.C: added support for paragraph::isFreeSpacing()
12431
12432         * buffer.C: same as above
12433
12434         * paragraph.h: inserted isFreeSpacing() function to enable
12435         FreeSpacing inside InsetERT.
12436
12437         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12438         of the paragraph's in the cut/copy buffer to 0!
12439
12440         * text2.C (removeRow): remove the assert as it can!
12441
12442         * lyxtext.h: added helper function firstRow returning firstrow and
12443         made firstrow private again.
12444
12445         * BufferView2.C (lockInset): don't relock if we're already locked!
12446
12447         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12448         the only paragraph.
12449         (removeRow): added Assert::(firstrow)
12450
12451         * debug.C: forgot to add INSETTEXT here.
12452
12453 2001-11-28  Juergen Vigna  <jug@sad.it>
12454
12455         * sp_spell.C (initialize): changed error text to more general
12456         spellchecker command use (not only ispell!)
12457
12458         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12459
12460         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12461
12462 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * vspace.C: initialise lyxgluelength on failure
12465
12466 2001-11-28  Allan Rae  <rae@lyx.org>
12467
12468         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12469         declaration & definition that looks like a function declaration.
12470
12471 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * BufferView2.C (copy):
12474         (copyEnvironment): do not clear the selection when doing a copy.
12475
12476         * text.C (paintFirstRow): compilation fix
12477
12478 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12479
12480         * tabular.C (Latex): correct line count when writing latex.
12481
12482 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * paragraph_pimpl.h:
12485         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12486           bug a bit
12487
12488 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * text.C:
12491         * LColor.h:
12492         * LColor.C: change vfillline->added_space
12493
12494         * text.C: add markers and text for added space
12495
12496         * vspace.C: fix comment
12497
12498 2001-11-28  André Pönitz <poenitz@gmx.net>
12499
12500         * paragraph.C: whitespace changes
12501         * all the other files from the change on 2001/11/26:
12502         change *::pos_type into lyx::pos_type
12503
12504 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12505
12506         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12507         language of the document when inserting error insets.
12508
12509 2001-11-26  André Pönitz <poenitz@gmx.net>
12510
12511         * BufferView_pimpl.[Ch]:
12512         *       CutAndPaste.C:
12513         * buffer.[Ch]:
12514         * lyxcursor.[Ch]:
12515         * lyxfind.C:
12516         * lyxfunc.C:
12517         * lyxrow.[Ch]:
12518         * paragraph.[Ch]:
12519         * paragraph_pimpl.[Ch]:
12520         * sp_spell.C:
12521         * text.C:
12522         * text2.C: reduce header dependencies, introduce type for positions
12523
12524 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * <various>: change to use Alert.h
12527
12528 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12529
12530         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12531         when encountering an unknown token.
12532         (readLyXformat2): Show an error message if there were unknown tokens.
12533
12534 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * BufferView2.C:
12537         * BufferView_pimpl.C:
12538         * buffer.C:
12539         * paragraph.h:
12540         * text.C:
12541         * text2.C: use par->isInset()
12542
12543 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * paragraph_pimpl.h:
12546         * paragraph_pimpl.C: cleanup
12547
12548 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12549
12550         * text2.C (removeRow):
12551         * text.C (setHeightOfRow): remove useless (and costly) call to
12552         getRow.
12553
12554 2001-11-20  Allan Rae  <rae@lyx.org>
12555
12556         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12557         Now need Inset*::checkInsertChar() to return true for appropriate
12558         cases so that the characters in the minibuffer will actually be
12559         inserted.
12560
12561 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * text.C: change the order of the includes.
12564         (workWidth): initialize it at once.
12565         (workWidth): make maxw unsigned
12566         (setHeightOfRow): remove unused variable (inset)
12567         (selectSelectedWord): remove unused variable (inset)
12568         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12569
12570 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12573         server is not running.
12574         (openConnection):
12575         (closeConnection): add debug info when server is disabled.
12576
12577         * ColorHandler.C (getGCForeground): send debug message to GUI
12578         channel.
12579
12580         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12581
12582         * kbmap.C (bind): modify because return conventions of
12583         kb_sequence::parse have changed.
12584
12585         * kbsequence.C (parse): only ignore spaces and not any stupid
12586         control character. This avoids tests like s[i] <= ' ', which are
12587         guaranteed to fail with 8bit characters and signed chars.
12588         Change return code to string::npos when there have been no error
12589         (0 was a bad idea when error is at first character)
12590
12591 2001-11-14  José Matos  <jamatos@fep.up.pt>
12592
12593         * buffer.h:
12594         * buffer.C (simpleDocBookOnePar): removed unused argument.
12595
12596 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12599         insets which are part of a word. Paragraph::isLetter takes care of
12600         that now. Use Paragraph::isInset to identify insets.
12601         (selectSelectedWord): do not test for hyphenation break.
12602
12603         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12604         that protected spaces are considered as spaces.
12605
12606         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12607         Inset::isLetter.
12608
12609 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * lyxserver.h:
12612         * lyxserver.C: fix it. and small cleanup.
12613
12614 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * BufferView_pimpl.C: use inline helpers
12617
12618         * LaTeXFeatures.h:
12619         * LaTeXFeatures.C: fix typos
12620
12621         * Spacing.h:
12622         * Spacing.C: move spacing_string into class
12623
12624         * ToolbarDefaults.C: move stuff into namespace anon
12625
12626         * layout.h: update enum
12627
12628         * lyxfunc.C: use better debug
12629
12630         * minibuffer.h: fix typo
12631
12632         * debug.h:
12633         * debug.C:
12634         * WorkArea.C: add and use Debug::WORKAREA
12635
12636         * lyxtext.h:
12637         * text.C:
12638         * text2.C: code re-organisation, inline helpers
12639
12640 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12641
12642         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12643         std::vector.empty().
12644
12645 2001-11-09  Allan Rae  <rae@lyx.org>
12646
12647         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12648         '\n's after tables.  Tabular and ERT inset work now makes this no
12649         longer necessary.
12650
12651 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * minibuffer.h:
12654         * minibuffer.C: fix crash, improve drop-down completion
12655
12656 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * lyxserver.h:
12659         * lyxserver.C: invalidate fd's when doing endPipe()
12660
12661 2001-11-08  José Matos  <jamatos@fep.up.pt>
12662
12663         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12664         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12665
12666         * paragraph.h:
12667         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12668
12669 2001-11-07  José Matos  <jamatos@fep.up.pt>
12670
12671         * buffer.h:
12672         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12673         const qualifier.
12674
12675         * buffer.C (sgmlOpenTag):
12676         * buffer.C (sgmlCloseTag): removed debug info.
12677
12678         * buffer.h (sgmlOpenTag):
12679         * buffer.h (sgmlCloseTag): made public.
12680
12681 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * buffer.C (saveParamsAsDefaults):
12684         * lyx_cb.C (MenuLayoutSave): remove
12685
12686         * LyXAction.C (init):
12687         * commandtags.h:
12688         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12689
12690 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * buffer.C (setPaperStuff): removed from here...
12693
12694         * bufferparams.C (setPaperStuff): ... and moved there.
12695
12696 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * minibuffer.h:
12699         * minibuffer.C:
12700         * XFormsView.C: add support for drop-down completion
12701
12702 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12703
12704         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12705         commands.
12706
12707 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12710         disabled.
12711
12712 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * lyx_main.C: change ref to known bugs
12715
12716 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12717
12718         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12719         to work around older babel problems.
12720
12721 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12722
12723         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12724
12725 2001-10-24  Juergen Vigna  <jug@sad.it>
12726
12727         * tabular-old.C (ReadOld): below variable changes reflected.
12728
12729         * tabular.[Ch]: added ltType struct for longtable header/footer
12730         defines and changed all instances where they are used. Added
12731         future support for double top/bottom rows.
12732
12733 2001-10-24  José Matos  <jamatos@fep.up.pt>
12734
12735         * buffer.h (docbookHandleCaption):
12736         * buffer.C (docbookHandleCaption): removed unused function.
12737         (makeDocBookFile): moved docbook supported version to v4.1.
12738
12739 2001-10-24  José Matos  <jamatos@fep.up.pt>
12740
12741         * tabular.h:
12742         * tabular.C (docbookRow): new function to export docbook code of a row.
12743         (DocBook): now honors the longtable flags.
12744
12745 2001-10-23  José Matos  <jamatos@fep.up.pt>
12746
12747         * LaTeXFeatures.h:
12748         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12749         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12750
12751         * buffer.C (makeLinuxDocFile):
12752         (makeDocBookFile): reworked the preamble, more clean, and with
12753         support for lyx defined entities. Changed the document declaration
12754         to be more XML friendly.
12755
12756         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12757         if we need to output XML that should be done with a filter.
12758
12759 2001-10-22  Juergen Vigna  <jug@sad.it>
12760
12761         * sp_pspell.h (class PSpell): add alive function needed in the
12762         controller to see if the spellchecker could be started.
12763
12764 2001-10-22  Juergen Vigna  <jug@sad.it>
12765
12766         * buffer.C (insertStringAsLines): modify the font for inserting
12767         chars in certain conditions by calling checkInsertChar(font).
12768
12769 2001-10-19  Juergen Vigna  <jug@sad.it>
12770
12771         * text.C (workWidth): use getRow instead of wrong algorithm.
12772         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12773
12774 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12775
12776         * lyxserver.h:
12777         * lyxserver.C:
12778         * lyx_main.h:
12779         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12780
12781 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * text.C (workWidth): do not search for the exact row when
12784         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12785         optimization for big documents.
12786
12787 2001-10-18  Juergen Vigna  <jug@sad.it>
12788
12789         * text.C (workWidth): new function with added Inset * parameter.
12790
12791 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12794
12795         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12796         change return type of getColumnNearX.
12797
12798
12799         * text.C (changeRegionCase): use uppercase/lowercase instead of
12800         toupper/tolower.
12801         (leftMargin):
12802         (rightMargin): simplify code by factoring out the uses of
12803         textclasslist.
12804         (labelFill):
12805         (numberOfHfills):
12806         (setHeightOfRow):
12807         (appendParagraph): use Paragraph::size_type
12808
12809 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810
12811         * vspace.C (asLatexString): add a missing break
12812
12813 2001-10-15  Herbert Voss  <voss@perce.de>
12814
12815         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12816
12817 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12818
12819         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12820         is not available.
12821
12822 2001-10-10  André Pönitz <poenitz@gmx.net>
12823
12824         * lyxfunc.C: removed greek_kb_flag.
12825
12826 2001-10-10  Herbert Voss  <voss@perce.de>
12827
12828         * lyx_main.C: delete global string help_lyxdir.
12829
12830 2001-10-09  Herbert Voss  <voss@perce.de>
12831
12832         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12833
12834         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12835
12836         * lyx_main.C: added global string help_lyxdir.
12837
12838         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12839
12840 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12841
12842         * lyxrc.C (set_font_norm_type): support iso8859-4
12843
12844 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12845
12846         * LaTeX.C (deplog): add another regex for MikTeX
12847
12848 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12849
12850         * lyxrc.C (set_font_norm_type): support iso8859-3
12851
12852 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12855
12856         * LaTeXFeatures.C: remove special case of french and index
12857
12858         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12859         before \begin{document}). This solves several incompatibilities.
12860
12861 2001-10-03  Garst Reese  <reese@isn.net>
12862
12863         * lyx_cb.C: change CheckTex error msg.
12864
12865 2001-10-03  José Matos  <jamatos@fep.up.pt>
12866
12867         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12868
12869 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12870
12871         * .cvsignore: update
12872
12873         * lyx_main.C (commandLineVersionInfo): use new style version info.
12874
12875         * buffer.C (writeFile):
12876         (makeLaTeXFile):
12877         (makeLinuxDocFile):
12878         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12879
12880         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12881
12882         * version.h: update to use stuff in version.C
12883
12884         * version.C.in: new file. Contains version information determined
12885         at compile time. This is a merging of version.h and
12886         version_info.h.in.
12887
12888 2001-10-03  Juergen Vigna  <jug@sad.it>
12889
12890         * BufferView_pimpl.C (update): don't change "dirty" status in
12891         updateInset call.
12892
12893 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * WorkArea.C (c-tor): re-position version string slightly.
12896
12897 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12898
12899         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12900         revert to previous code.
12901
12902         WorkArea.[Ch]: (show, destroySplash): methods removed.
12903
12904         WorkArea.C: rework code so that it's an amalgam of the codes before and
12905         after the splash screen was moved to WorkArea.
12906
12907 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * lyxrc.C (read):
12910         * vspace.C (inPixels):
12911         (lyx_advance):
12912         * kbmap.C (bind):
12913         * buffer.C (insertStringAsLines):
12914         (asciiParagraph): fix types to be large enough
12915
12916         * lyxlex_pimpl.h: change member status from short to int
12917
12918         * layout.h: fix type of endlabeltype
12919
12920         * kbmap.C (bind):
12921         * kbsequence.C (parse): change return type to string::size_type
12922
12923         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12924         variable
12925
12926         * Bullet.C (bulletSize):
12927         (bulletEntry): do not use short ints as parameters
12928
12929         * BufferView2.C (insertLyXFile): change a char to an int.
12930
12931         * WorkArea.C (WorkArea): remove unneeded floats in computation
12932
12933 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12936
12937         * paragraph.C (asString): Do not ignore newline/hfill chars when
12938         copying to the clipboard.
12939
12940 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12941
12942         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12943         after a multi-line inset.
12944
12945 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12946
12947         * paragraph.C (validate): Set NeedLyXFootnoteCode
12948
12949 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12952         and decrease-error to decrease.
12953
12954 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12955
12956         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12957         it more readable (should be equivalent)
12958
12959 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12960
12961         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12962
12963 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12966         of a cursor (row, etc.) after a character has been deleted
12967         (deleteEmptyParagraphMechanism): call the method above on _all_
12968         cursors held by the LyXText when a double space has been
12969         detected/deleted.
12970
12971 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12972
12973         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12974         pixmap.
12975         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12976
12977         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12978         background. Use greyOut() and the new show() methods to toggle between
12979         the foreground and background. Add code to remove the splash after
12980         its initial showing.
12981
12982         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12983         (create_forms): no longer call Dialogs::showSplash.
12984
12985 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * .cvsignore: add version_info.h
12988
12989 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * version_info.h.in: new file
12992
12993         * Makefile.am: add version_info.h.in
12994
12995         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12996         version_info.h instead of VERSION_INFO
12997
12998 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13001         The ERT inset now returns string().
13002
13003 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * lyxtext.h, text.C (selectNextWord): renamed as
13006         selectNextWordToSpellcheck.
13007
13008         * text.C (selectNextWordToSpellcheck): Modified to not select
13009         words inside an ERT inset.
13010
13011 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13012
13013         * lyx_cb.C (MenuLayoutSave): change a bit the question
13014
13015         * sp_base.h: include <sys/types.h>
13016
13017 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13020
13021 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13022
13023         * several files: fix typos in user-visible strings
13024
13025 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * text2.C (pasteSelection): do not set the selection, since it
13028         will be cleared later. Actually, the intent was to fix the way the
13029         selection was set, but I figured rmoving the code was just as good.
13030
13031 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13032
13033         * FontLoader.C (available): Check if font is available without
13034         loading the font.
13035
13036 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13037
13038         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13039
13040 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13041
13042         * lyxrc.[Ch]: added display_graphics variable and associated code.
13043
13044 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * bufferparams.C (hasClassDefaults): new method. Returns true if
13047         the buffer parameters correspond to known class defaults
13048
13049 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * XFormsView.C (show): set minimum size to the main window.
13052
13053 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * text2.C (copySelection):
13056         (cutSelection):
13057         * lyxfind.C (LyXReplace):
13058         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13059         LyXText::selectionAsString.
13060
13061         * paragraph.C (asString): add "label" argument to the second form
13062
13063         * text2.C (selectionAsString): add "label" argument and pass it to
13064         Paragraph::asString.
13065
13066 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * lyx_main.C (commandLineHelp): remove version information
13069
13070 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13071
13072         * lyx_main.C: add -version commandline option
13073
13074 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * paragraph.h: make the optional constructor arg required instead.
13077         some modifications to other files because of this.
13078
13079         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13080
13081         * lyxserver.C (C_LyXComm_callback): make it static
13082
13083         * lyx_main.C (error_handler): make it static
13084
13085         * lyx_gui.C (LyX_XErrHandler): make it static
13086
13087         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13088
13089         * WorkArea.C: make the extern "C" methods static.
13090
13091         * Makefile.am (lyx_LDADD): simplify
13092
13093 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13094
13095         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13096         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13097
13098         * LyXAction.C (init):
13099         * lyxfunc.C (dispatch): associated code removal.
13100
13101 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * lyxfont.h (isSymbolFont): shut off warning
13104
13105         * text.C (setHeightOfRow):
13106         (getVisibleRow): fix crash with empty paragraphs which have a
13107         bottom line
13108
13109 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13110
13111         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13112         code.
13113
13114 2001-09-04  José Matos  <jamatos@fep.up.pt>
13115         * buffer.C
13116         * buffer.h
13117         * tabular.C (docbook): rename docBook method to docbook.
13118
13119 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * Makefile.am: add dependencies to main.o.
13122
13123 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13124
13125         * FontLoader.C (available): Return false if !lyxrc.use_gui
13126
13127 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13128
13129         * FontInfo.C (query):
13130         * converter.C (view):
13131         * importer.C (Import):
13132         * exporter.C (Export): Can not -> cannot.
13133
13134 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * BufferView_pimpl.C: allow to create index inset even if
13137           string is empty
13138
13139 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13140
13141         * buffer.C (getLists): replace boost::tie code with an explicit pair
13142         as boost::tie can break some compilers.
13143
13144         * iterators.h: Added a std:: declaration to the return type of
13145         ParIterator::size.
13146
13147 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13150           case.
13151
13152 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13153
13154         * iterators.[Ch]: New files. Provide paragraph iterators.
13155
13156         * buffer.C (changeLanguage): Use paragraph iterators.
13157         (isMultiLingual): ditto
13158
13159         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13160
13161 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13162
13163         * FontLoader.C: Support for cmr font.
13164
13165 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13166
13167         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13168         (available): New method.
13169
13170         * FontInfo.C (getFontname): Use scalable fonts even when
13171         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13172         found.
13173
13174 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * converter.C (Formats::view): reverted! Incorrect fix.
13177
13178 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13179
13180         * converter.C (Formats::view): only output the -paper option
13181         if the dvi viewer is xdvi, thereby fixing bug #233429.
13182
13183 2001-08-23  Herbert Voss  <voss@perce>
13184
13185         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13186
13187 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13188
13189         * Spacing.h (Spacing): Set space to Default on in the default
13190         constructor.
13191
13192 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * vc-backend.h (RCS::versionString): add RCS to version
13195         (CVS::versionString): add CVS to version
13196
13197         * vc-backend.C (scanMaster): do not add CVS to version.
13198         (scanMaster): do not add RCS to version
13199
13200         * lyxvc.C (versionString): new method
13201
13202         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13203
13204 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * Spacing.C (set): initialize fval
13207
13208 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13209
13210         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13211         " or \.
13212
13213 2001-08-16  Juergen Vigna  <jug@sad.it>
13214
13215         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13216
13217 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * BufferView_pimpl.C:
13220         * figureForm.C:
13221         * lyxtext.h:
13222         * text2.C: setParagraph takes linespacing now
13223
13224 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * LyxAction.C: add internal LFUN_CITATION_INSERT
13227
13228         * LyXView.C: actually apply fix
13229
13230         * bufferlist.C: fix open non-existent file
13231
13232         * lyxfind.C: fix indentation
13233
13234         * lyxfunc.C: remove unneeded assert, fix typo
13235
13236 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * MenuBackend.C: use "Floatname List"
13239
13240 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13241
13242         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13243         when converting LaTeX layout to insetERT.
13244         Generate a non-collapsed float when reading old float
13245
13246 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13249         ERT insets.
13250
13251 2001-08-13  Juergen Vigna  <jug@sad.it>
13252
13253         * text.C (fill): return 0 instead of 20 as this seems to be the more
13254         correct value.
13255
13256 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13257
13258         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13259         lyxrc.font_norm.
13260
13261 2001-08-13  Juergen Vigna  <jug@sad.it>
13262
13263         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13264         casesensitive off.
13265         (SearchBackward): comment out the unlocking of the inset_owner this
13266         should not be needed!
13267
13268 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * Many files: Remove inherit_language, and add latex_language
13271
13272         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13273         collapsible insets.
13274
13275 2001-08-10  Juergen Vigna  <jug@sad.it>
13276
13277         * text.C (prepareToPrint): fixed hfill-width in draw!
13278
13279         * BufferView2.C (selectLastWord): save the selection cursor as this
13280         now is cleared in the function LyXText::clearSelection!
13281
13282 2001-08-08  Juergen Vigna  <jug@sad.it>
13283
13284         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13285         BACKSPACE type functions.
13286
13287         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13288         is only cutted from the document but not put in the cut-buffer, where
13289         still the old stuff should be.
13290
13291         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13292
13293         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13294
13295         * tabular.C (SetWidthOfCell): fixed special case where the width
13296         was not updated!
13297         (LeftLine): handle '|' in align_special.
13298         (RightLine): ditto
13299         (LeftAlreadyDrawed): ditto
13300         (SetWidthOfCell): ditto
13301
13302 2001-08-07  Juergen Vigna  <jug@sad.it>
13303
13304         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13305
13306 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13309         * lyxlex.[hC]: ditto
13310
13311 2001-08-06  Juergen Vigna  <jug@sad.it>
13312
13313         * text.C (getVisibleRow): fix up row clearing a bit.
13314
13315 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * minibuffer.C: make sure the X server sees the changes in the input.
13318
13319 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * paragraph.C (getFont): split into...
13322         (getLabelFont): this
13323         (getLayoutFont): and this
13324         * paragraph_pimpl.C (realizeFont): calling this
13325
13326         * text2.C (getFont): split into...
13327         (getLayoutFont): this
13328         (getLabelFont): and this
13329         (realizeFont): all three calling this
13330
13331         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13332         files where used.
13333
13334 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13337
13338 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13339
13340         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13341         layouts from the Quote inset insertion.
13342
13343 2001-08-03  Juergen Vigna  <jug@sad.it>
13344
13345         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13346
13347         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13348         only if status not is already CHANGED_IN_DRAW (second level).
13349
13350         * text.C (draw): don't set the need_break_row when inside an
13351         InsetText LyXText.
13352
13353 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * buffer.C (parseSingleLyXformat2Token): handle more latex
13356         conversion cases.
13357
13358         * bufferview_funcs.[hC]: change function names to
13359         begin with small char, adjust other files.
13360
13361 2001-08-02  André Pönitz <poenitz@gmx.net>
13362
13363         * lyxfunc.C:
13364         BufferView_pimpl.C: remove broken special code for math-greek
13365
13366 2001-08-02  Juergen Vigna  <jug@sad.it>
13367
13368         * BufferView_pimpl.C (update): redone this function so that we
13369         update the text again if there was a CHANGE_IN_DRAW.
13370
13371         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13372         (drawFromTo): added a new internal bool which is used by draw() and
13373         redraw() function.
13374         (general): some cursor drawing problems fixed.
13375
13376 2001-08-01  Juergen Vigna  <jug@sad.it>
13377
13378         * lyxfind.C (LyXFind): fixed
13379         (SearchForward): ditto
13380         (SearchBackward): ditto
13381
13382         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13383         spurius drawing of the cursor in the main area.
13384
13385         * text2.C (status): small fix which could lead to a segfault!
13386         (clearSelection): remove unneeded BufferView param.
13387
13388 2001-08-01  André Pönitz <poenitz@gmx.net>
13389
13390         * lyxfunc.C: small change due to changed mathed interface
13391
13392 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13395
13396 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * lyxfunc.c: fail gracefully if file doesn't exist
13399
13400         * LyXSendto.C:
13401         * buffer.C:
13402         * lyxfunc.C:
13403         * BufferView_pimpl.C: IsDirWriteable() proto changed
13404
13405         * LyXView.C: fix updateWindowTitle() to store the last title
13406
13407 2001-07-31  Juergen Vigna  <jug@sad.it>
13408
13409         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13410         the font (wrong since using of Paragraph::highestFontInRange).
13411
13412         * paragraph.C (highestFontInRange): added a default_size parameter.
13413
13414         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13415         (setHeightOfRow): reformat
13416
13417 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * converter.[hC] + affected files: move to (inital-char)lowercase
13420         function names.
13421
13422         * ParagraphParameters.C (ParagraphParameters): remove commented code
13423
13424         * PainterBase.[Ch]: remove commented code
13425
13426         * LaTeXFeatures.h: add "bool floats" for float.sty
13427
13428         * LaTeXFeatures.C (LaTeXFeatures): init floats
13429         (require): handle float
13430         (getPackages): do it with floats
13431
13432 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * BufferView_pimpl.C (Dispatch): improve handling of
13435         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13436
13437         * commandtags.h: #include lyxfont.h here temporarily to avoid
13438         keybinding bug.
13439
13440         * bufferlist.h: include LString.h here.
13441
13442 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * text2.C (getStringToIndex): new method.
13445
13446 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13447
13448         * *: Reduced header file dependencies all over.
13449
13450 2001-07-30  Baruch Even  <baruch@lyx.org>
13451
13452         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13453
13454 2001-07-29  Baruch Even  <baruch@lyx.org>
13455
13456         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13457
13458 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * ParameterStruct.h (endif): add a default constructor to make
13461         sure that all variables is initialized.
13462
13463         * ParagraphParameters.C (ParagraphParameters): adjust
13464
13465 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13468         index; also, check that there is something to index, and that it
13469         does not span over several paragraphs.
13470         (doubleClick): use WHOLE_WORD_STRICT for double click.
13471
13472         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13473
13474         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13475         scheme.
13476
13477 2001-07-26  Baruch Even  <baruch@lyx.org>
13478
13479         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13480         an InsetFig figure, backwards compatible reading of old figure code.
13481
13482 2001-07-27  Juergen Vigna  <jug@sad.it>
13483
13484         * text2.C: font.realize function adaption.
13485
13486         * text.C (draw): add a warnings lyxerr text if needed.
13487
13488         * layout.C: font.realize function adaption.
13489
13490         * language.C: add inherit_language and implement it's handlings
13491
13492         * bufferview_funcs.C (StyleReset): remove language parameter from
13493         font creation (should be language_inherit now).
13494
13495         * bufferparams.C (writeFile): handle ignore_language.
13496
13497         * paragraph.C (getFontSettings): the language has to be resolved
13498         otherwise we have problems in LyXFont!
13499
13500         * lyxfont.C (lyxWriteChanges): added document_language parameter
13501         (update): removed unneeded language parameter
13502
13503         * paragraph.C (validate): fixed wrong output of color-package when
13504         using interface colors for certain fonts in certain environments,
13505         which should not seen as that on the final output.
13506
13507 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * BufferView_pimpl.C:
13510         * Thesaurus.h:
13511         * Thesaurus.C:
13512         * Makefile.am:
13513         * commandtags.h:
13514         * LyXAction.C: add thesaurus support
13515
13516         * lyxfind.h:
13517         * lyxfind.C: add "once" parameter, for thesaurus, to not
13518           move to the next match
13519
13520 2001-07-26  Juergen Vigna  <jug@sad.it>
13521
13522         * lyxfont.C (realize): honor ignore_language too!
13523         (resolved): ditto.
13524
13525         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13526
13527         * text.C (draw): one place more for ignore_language to not draw
13528         itself!
13529
13530 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13531
13532         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13533
13534 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13537         the minipage conversion problem.
13538
13539 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13542         insert an inset.
13543
13544 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * BufferView.h: don't forward declare WorkArea
13547
13548         * BufferView.C: don't include WorkArea.h
13549
13550 2001-07-25  André Pönitz <poenitz@gmx.net>
13551
13552         * commandtags.h:
13553         * LyXAction.C:
13554         * lyxfunc.C:  new LFUN 'math-space'
13555
13556         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13557
13558 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * text2.C (toggleInset): call open/close
13561
13562 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * lyxfunc.C (dispatch): add debug for the disabled case
13565
13566         * font.C (buttonText): make similar to rectText
13567
13568         * buffer.C (readInset): comment out parsing of insetlist and
13569         insttheorem
13570
13571         * PainterBase.C (rectText): small correction
13572
13573         * BufferView_pimpl.C: comment out insettheorem and insetlist
13574         * LyXAction.C: ditto
13575         * commandtags.h: ditto
13576
13577 2001-07-24  Juergen Vigna  <jug@sad.it>
13578
13579         * text.C (draw): honor the ignore_language.
13580
13581         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13582
13583 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13586         char inset.
13587
13588 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13589
13590         * lyxtext.h: remove unused (and unimplemented) methods
13591
13592 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13593
13594         * text.C (getVisibleRow): honor background color
13595
13596         * PainterBase.h:
13597         * Painter.h: remove default color argument for fillRectangle
13598
13599         * text.C (backgroundColor): new method
13600
13601 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * text.C (getVisibleRow): adjust
13604
13605         * font.[Ch] (rectText): new method, metrics
13606         (buttonText): new method, metrics
13607
13608         * PainterBase.[hC]: make rectText and buttonText always draw and take
13609         fewer paramteres.
13610
13611 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13612
13613         * ToolbarDefaults.C (read):
13614         * MenuBackend.C (read): allow escaping in all strings
13615
13616         * BufferView_pimpl.C (insertAndEditInset): new method.
13617         (Dispatch): use insertAndEditInset whenever appropriate.
13618
13619         * BufferView_pimpl.C (insertNote): removed
13620
13621         * BufferView_pimpl.C (smartQuote): new method, moved from
13622         BufferView; if an insetquote cannot be inserted, insert a '"'
13623         character instead.
13624
13625         * BufferView2.C: remove insertCorrectQuote();
13626
13627         * lyxfunc.C (getStatus): Add support for all remaingin
13628         inset-insert lfuns.
13629
13630         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13631
13632         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13633         command (necessary to pass " as parameter of self-insert.
13634
13635         * text.C (selectWordWhenUnderCursor):
13636         (selectWord): add word_location parameter
13637         (selectWordWhenUnderCursor): same + remove special code for word
13638         boundary.
13639         (selectNextWord): use kind() to guess type of insetspecialchar,
13640         not latex().
13641
13642         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13643         (insertErtContents): create ert insets as collapsed.
13644         (readInset): better compatibility code for Info inset.
13645
13646 2001-07-20  Juergen Vigna  <jug@sad.it>
13647
13648         * lyxfunc.C (dispatch): use always LyXFind now!
13649
13650         * text2.C (init): add a reinit flag so that the LyXText can be
13651         reinited instead of deleted and reallocated (used in InsetText).
13652
13653         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13654
13655         * text.C: ditto
13656
13657         * text2.C: ditto
13658
13659 2001-07-18  Juergen Vigna  <jug@sad.it>
13660
13661         * text.C (selectNextWord): handle insets inside inset by calling
13662         always the bv->text functions so that we can go up the_locking_inset!
13663
13664         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13665         in strange locations when inside an inset!
13666
13667         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13668         handling to include insets.
13669
13670         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13671
13672 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * LyXAction.C (init):
13675         * commandtags.h:
13676         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13677         LIGATURE_BREAK, since the name is so stupid.
13678
13679 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13682         InsetInfos.
13683
13684         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13685
13686         * sp_form.[Ch]: remove.
13687
13688         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13689
13690         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13691         InsetInfo.
13692
13693         * src/buffer.C (readInset): ditto.
13694
13695 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13696
13697         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13698         menuSeparator(), endOfSentenceDot(), ldots() and
13699         hyphenationPoint(), which are therefore removed.
13700         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13701
13702         * LyXAction.C (init):
13703         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13704
13705         * paragraph.C (getWord): removed.
13706
13707         * BufferView_pimpl.C (Dispatch): use last word or selection for
13708         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13709
13710         * lyx_main.C (queryUserLyXDir): do not ask before creating
13711         user_dir, except if it has been named explicitely.
13712
13713 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13714
13715         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13716         a document of zero size.
13717
13718 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13721         approriately in the c-tor and in require().
13722         (getPackages): output the appropriate LaTeX for natbib support.
13723
13724         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13725         variables "use_natbib" and "use_numerical_citations" when reading the
13726         LyX file.
13727         (readInset): read the various natbib cite commands.
13728         (validate): white-space change.
13729
13730         * bufferparams.[Ch]: new variables "bool use_natbib" and
13731         "bool use_numerical_citations".
13732         (writeFile): output them in the LyX file.
13733
13734 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13735
13736         * lyxfunc.C (getStatus): add support for all the inset insertion
13737         commands.
13738
13739         * text2.C (insertInset):
13740         * paragraph.C (insetAllowed):
13741         * BufferView_pimpl.C (insertInset): update to take in account the
13742         renaming of insertInsetAllowed
13743
13744         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13745
13746         * text2.C (getInset): new method. returns inset at cursor position.
13747
13748         * BufferView_pimpl.C (Dispatch): changes because of this.
13749
13750         * LyXAction.C (init): rename open-stuff to inset-toggle.
13751
13752         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13753
13754         * text2.C (toggleInset): renamed from openStuff; use
13755         Inset::open().
13756
13757 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13758
13759         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13760
13761         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13762
13763 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * buffer.C (readLyXformat2): Add filename to the error dialog
13766
13767 2001-07-18  Juergen Vigna  <jug@sad.it>
13768
13769         * tabular.C (GetCellNumber): put an assert here instead of the check!
13770
13771 2001-07-17  Juergen Vigna  <jug@sad.it>
13772
13773         * BufferView_pimpl.C (toggleSelection): adapted too.
13774
13775         * text.C (selectNextWord): adapted for use with insets.
13776         (selectSelectedWord): ditto
13777
13778 2001-07-17  Juergen Vigna  <jug@sad.it>
13779
13780         * sp_spell.C (PSpell): fix initialitation order.
13781
13782 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * paragraph.C: spacing
13785
13786 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13787
13788         * sp_spell.C: repair language selection for pspell
13789
13790 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * lyxfunc.h: change more methods to begin with lower char.
13793
13794 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13795
13796         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13797         for unknown layouts.
13798
13799 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * buffer.C (readLyXformat2): Generate an error dialog if there are
13802         unknown layouts.
13803
13804 2001-07-16  Juergen Vigna  <jug@sad.it>
13805
13806         * sp_spell.C: always compile ISpell part.
13807
13808         * lyxrc.C: added use_pspell entry and it's handling.
13809
13810 2001-07-13  Juergen Vigna  <jug@sad.it>
13811
13812         * sp_spell.C: removed double includes.
13813
13814 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13815
13816         Consistent use of Lsstream.h:
13817         * Lsstream.h: added using std::stringstream for consistencies sake.
13818
13819         * buffer.C: removed using std::stringstream
13820
13821         * lyxfont.C (stateText):
13822         * paragraph.C (asString):
13823         * text.C (selectNextWord, selectSelectedWord):
13824         * text2.C (setCounter):
13825         * vspace.C (asString, asLatexString):
13826         std::ostringstream -> ostringstream.
13827
13828 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13829
13830         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13831         * commandtags.h: add LFUN_HELP_ABOUTLYX
13832         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13833
13834 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13835
13836         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13837         cursorToggle()
13838         * lyx_gui_misc.C: remove spellchecker
13839         * lyxfunc.C: showSpellchecker
13840         * sp_base.h: added
13841         * sp_ispell.h: added
13842         * sp_pspell.h: added
13843         * sp_spell.C: added
13844         * sp_form.[Ch]: removed
13845         * spellchecker.[Ch]: removed
13846
13847 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13848
13849         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13850         is set.
13851         (simpleTeXSpecialChars): Simply print the input character without
13852         any special translation if pass_thru is set.
13853
13854         * layout.h: Added bool pass_thru to layout class for being able to
13855         implement pass through of a paragraph for Literate Programming.
13856
13857         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13858         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13859         * layout.C (Read): add "passthru" to list of layout tags and add
13860         code to set the pass_thru boolean when it is read.
13861
13862 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * trans_decl.h: remove allowed from KmodInfo
13865
13866         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13867         remove allowed code
13868         (Load): adjust
13869
13870         * paragraph_pimpl.C (erase): use boost::prior
13871
13872         * Painter.C (text): use data() instead of c_str() when length is
13873         also provided.
13874         * WorkArea.C (putClipboard): ditto
13875         * font.h (width): ditto
13876
13877         * BufferView2.C: use it-> instead of (*it). for iterators
13878         * texrow.C: ditto
13879         * paragraph_pimpl.C: ditto
13880         * paragraph.C: ditto
13881         * minibuffer.C: ditto
13882         * language.C: ditto
13883         * kbmap.C: ditto
13884         * encoding.C: ditto
13885         * counters.C: ditto
13886         * converter.C: ditto
13887         * chset.C: ditto
13888         * Variables.C: ditto
13889         * TextCache.C: ditto
13890         * MenuBackend.C: ditto
13891         * LyXAction.C: ditto
13892         * LColor.C: ditto
13893         * FloatList.C: ditto
13894         * DepTable.C: ditto
13895         * ColorHandler.C (LyXColorHandler): ditto
13896
13897 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13900
13901         * text2.C (openStuff): reintroduce this method (which had been
13902         nuked in NEW_INSETS frenzy).
13903
13904         * lyxfunc.C (Dispatch): when an action has not been handled, use
13905         its name in the error message, not its number.
13906
13907         * paragraph.C (inInset): change method name to begin with lowercase.
13908
13909         * undo_funcs.C:
13910         * text2.C: updates because of this.
13911
13912 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * ToolbarDefaults.C (add): add spaces in error message
13915
13916 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13917
13918         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13919         (readLyXformat2): rename return_par to first_par, use lyxlex's
13920         pushToken and remove the manual push handling.
13921         (parseSingleLyXformat2Token): add another ert comp. variable:
13922         in_tabular, rename return_par to first_par. handle newlines better
13923
13924 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13927
13928 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * text2.C (getParFromID): removed
13931
13932         * buffer.C (getParFromID): new method moved form lyxtext.
13933         * BufferView2.C (insertErrors): adjust
13934         (setCursorFromRow): adjust
13935         * BufferView_pimpl.C (restorePosition): adjust
13936         * lyxfunc.C (Dispatch): adjust
13937         * undo_funcs.C (textUndo): adjust
13938         (textRedo): adjust
13939         (textHandleUndo): adjust
13940         (textHandleUndo): adjust
13941
13942 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13943
13944         * buffer.C: up' the LYX_FORMAT
13945
13946         * lyxfont.h: turn NO_LATEX on as default
13947
13948         * buffer.C (insertErtContents): new methods of tex style compability.
13949         (parseSingleLyXformat2Token): use it several places.
13950         * tabular.C (OldFormatRead): and here
13951
13952 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * text2.C: remove some commented code.
13955         reindent file.
13956
13957         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13958         * trans.C: changes because of the above.
13959
13960 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13961
13962         * text2.C (setCounter): Fix counters bug with bibliography layout.
13963
13964 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13965
13966         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13967         own member functions
13968         (simpleTeXSpecialChars): ditto
13969
13970 2001-07-06  Juergen Vigna  <jug@sad.it>
13971
13972         * a lot of files: changed the access to LyXText::status and the
13973         call of undo-functions.
13974
13975         * undo.[Ch]: added a inset_id to the undo informations.
13976
13977         * undo_funcs.[Ch]: added and moved here all undo functions.
13978
13979         * lyxtext.h: give the status enum a weight, made status_ a private
13980         variable and made accessor functions for it, removed the whole bunch
13981         of undo-functions as they are now in their own file, make some
13982         functions publically available. Added function ownerParagraph with
13983         int parameter.
13984
13985         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13986         made InInset() a const function, added getParFromID() function.
13987
13988         * buffer.[Ch]: added const version for inset_iterator functions,
13989         added getInsetFromID() function.
13990
13991         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13992         changed undo functions for new version.
13993
13994 2001-07-05  Juergen Vigna  <jug@sad.it>
13995
13996         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13997         unknow mechanism does not call the proper constructor but only this
13998         one also if I request the other!?
13999
14000 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14003
14004         * text2.C (LyXText): use initialization lists.
14005
14006         * lyxtext.h (Selection): initialize set_ and mark_
14007         (init): remove method
14008
14009 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14012
14013 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14014
14015         * screen.[Ch]: change method names to begin with lowercase
14016
14017         * BufferView_pimpl.C (updateScrollbar): simplify further and
14018         hopefully make it a bit faster.
14019
14020 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14023         calling directly xforms functions.
14024
14025         * Painter.C (Painter):
14026         * lyx_cb.C (MenuWrite):
14027         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14028         fl_display.
14029
14030         * lyx_gui.C: remove bogus guiruntime extern declaration.
14031
14032 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14035         in NEW_INSETS
14036         (redoDrawingOfParagraph): ditto
14037         (redoParagraphs): ditto
14038         (cutSelection): don't create a object for CutAndPaste use the
14039         static method directly
14040         (pasteSelection): ditto
14041
14042         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14043         LyXview (+ rename)
14044
14045 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * modifications to some other files because of this.
14048
14049         * Makefile.am (lyx_SOURCES): add XFormsView
14050
14051         * XFormsView.[Ch]: new files
14052
14053         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14054         the main window. Move the gui dependent stuff to XFormsView
14055
14056 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * tabular.C (GetCellInset): update cur_cell also in the row/col
14059         version of this function.
14060
14061         * lyxfunc.C: no need to include figure_form.h here.
14062
14063         * FontLoader.h:
14064         * lyxfunc.h:
14065         * lyxscreen.h:
14066         * text2.C:
14067         * lyxvc.C: no need to include forms.h here.
14068
14069 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14072
14073         * lyxfunc.C (Dispatch):
14074         * Spacing.C (set):
14075         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14076         constructor argument.
14077
14078 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * paragraph.C (Paragraph): dont't clear, and just set layout.
14081         (makeSameLayout): use params's copy contructor.
14082
14083         * ParagraphParameters.[Ch] (makeSame): delete method
14084
14085 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * Variables.[Ch]: fix indentation, rename set to isSet
14088
14089 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14090
14091         * lyxfunc.C (Dispatch): fix typo
14092
14093 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14094
14095         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14096         upper_bound.
14097
14098         * bufferlist.C: include assert.h for emergencyWrite().
14099
14100 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14101
14102         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14103           give up at last (bug #425202) !
14104
14105 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * lyx_gui_misc.C:
14108         * sp_form.h:
14109         * sp_form.C:
14110         * spellchecker.h:
14111         * spellchecker.C: strip spellchecker options and bring up
14112           preferences tab instead
14113
14114 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14117         the istringstream constructor
14118
14119 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * paragraph.C (getLayout): fix return value
14122
14123         * paragraph.h: do not declare getLayout as inline.
14124
14125         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14126
14127 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * lyxcursor.h (operator<): new func
14130         (operator>): new func
14131         (operator>=): new func
14132         (operator<=): new func
14133
14134         * text.C (changeCase): use selection.start and selection.end
14135         (changeRegionCase): require from to be <= to. Require par to be a
14136         valid paragraph.
14137
14138         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14139
14140 2001-06-27  Juergen Vigna  <jug@sad.it>
14141
14142         * text.C (cursorLeftOneWord): changed to return the cursor and added
14143         overlay with BufferView * parameter which calls this one.
14144         (getWord): added
14145         (selectWord): use new getWord function.
14146         (changeCase): renamed from changeWordCase as and extended to work
14147         also on selections.
14148
14149         * lyxtext.h: added enum word_location
14150
14151         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14152         changeCase as this operates now also on selections.
14153
14154 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14155
14156         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14157
14158         * many files: send debug output to Debug::INFO instead of
14159         Debug::ANY.
14160
14161         * converter.C (View):
14162         (Convert):
14163         (Move): send debug output to Debug::FILES instead of console.
14164
14165 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14166
14167         * lyxfunc.C (getStatus): use func_status
14168
14169         * func_status.h: new header, describing the results of
14170         LyXFunc::getStatus;
14171
14172         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14173         LFUN_MATH_HALIGN.
14174
14175 2001-06-25  The LyX Project  <jug@sad.it>
14176
14177         * buffer.C (sgmlOpenTag):
14178         (sgmlCloseTag):
14179         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14180
14181 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * text2.C: remove some dead code
14184
14185         * tabular.C (GetCellInset): store the last cell checked (gotten)
14186
14187         * tabular.h: add the helper for the speedup
14188
14189         * lyxtext.h: remove some dead code
14190
14191 2001-06-26  The LyX Project  <Asger>
14192
14193         * paragraph.C: Change export to LaTeX of alignment to
14194         \begin{center} and family for better roundtrip work with reLyX.
14195
14196         * Tune the math drawing a bit.
14197
14198 2001-06-25  The LyX Project  <Asger>
14199
14200         * LColor.C (LColor): New color for math background. New color
14201         for buttons.
14202
14203 2001-06-25  The LyX Project  <jug@sad.it>
14204
14205         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14206
14207         * lyxfunc.C (Open):
14208         * bufferlist.C (newFile): do not restrict to files ending with
14209         .lyx
14210
14211         * BufferView_pimpl.C (MenuInsertLyXFile):
14212
14213 2001-06-24  The LyX Project  <jug@sad.it>
14214
14215         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14216         of compare_no_case
14217
14218 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * lyxtext.h: rename most methods to begin with a small char.
14221         Lots of changes because of this.
14222
14223         * paragraph.C (Paragraph): do not call fitToSize
14224         (erase): call Pimpl::erase
14225         (insertChar): call Pimpl::insertChar
14226         (insertInset): call Pipl::insertInset
14227         (breakParagraph): do not call fitToSize
14228         (breakParagraphConservative): do not call fitToSize
14229         (fitToSize): remove method
14230
14231         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14232
14233 2001-06-24  The LyX Project  <Asger>
14234
14235         * Fix Qt compilation^2
14236
14237 2001-06-24  The LyX Project  <jug@sad.it>
14238
14239         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14240         depthHook(getDepth()-1).
14241
14242         * paragraph.h:
14243         * ParagraphParameters.h:
14244         * ParameterStruct.h: change type of depth to unsigned int ==
14245         depth_type. Many adaptations to other files before of that.
14246
14247 2001-06-24  The LyX Project  <Asger>
14248
14249         * Fix Qt compilation.
14250
14251 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * paragraph.h: renamed several methods to begin with small letter.
14254         several changes to many parts of the code because of this.
14255
14256 2001-06-23  The LyX Project  <jug@sad.it>
14257
14258         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14259         rewritten to discard all double spaces when KeepEmpty is off
14260         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14261         to only handle newlines but not fiddle with spaces and friends.
14262
14263         * lyxfunc.C (MenuNew): when doing 'new from template', use
14264         template_path as default directory
14265
14266 2001-06-23  The LyX Project  <Asger>
14267
14268         * Clean-up of header file includes all over
14269         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14270
14271 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14272
14273         * paragraph.h: renamed from lyxparagraph.h
14274
14275 2001-06-23  Asger  <lyx@violet.home.sad.it>
14276
14277         * Buffer.h: Removed Buffer::resize
14278         * BufferList.h: Removed BufferList::resize
14279         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14280         the document lazily when we change the width, or the font settings.
14281
14282 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14285
14286 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14287
14288         * buffer.h: remove out of date comment
14289
14290 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * lyxscreen.h:
14293         * screen.C: fix "theoretical" GC leak
14294
14295 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14296
14297         * LaTeX.C (scanAuxFile):
14298         (deplog): remove trailing \r when reading stream (useful under
14299         win32)
14300
14301 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14304         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14305         and BufferView::theLockingInset(Inset*), so should use them and not
14306         access bv_->text->the_locking_inset directly.
14307
14308         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14309
14310 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14311
14312         * Makefile.am:
14313         * tex-defs.h: remove old unused file
14314
14315 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14316
14317         * BufferView_pimpl.C: fix typo, remove minibuffer message
14318           when buffer has loaded
14319
14320 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * lyxfunc.C (Dispatch): use stringstream
14323         (MenuNew): use stringstream
14324         (Open): use stringstream
14325
14326         * importer.C (Import): use stringstream
14327
14328         * bufferview_funcs.C (CurrentState): use stringstream
14329
14330         * LaTeX.C (run): use stringstream
14331
14332         * BufferView_pimpl.C (savePosition): use stringstream
14333         (restorePosition): use stringstream
14334         (MenuInsertLyXFile): use stringstream
14335
14336 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * BufferView.C:
14339         * Bullet.C:
14340         * ColorHandler.C:
14341         * FontInfo.C:
14342         * FontLoader.C:
14343         * LColor.C:
14344         * LaTeXFeatures.C:
14345         * Painter.C:
14346         * gettext.C:
14347         * lyx_gui_misc.C:
14348         * lyxserver.C:
14349         * vspace.C: removed // -*- C++ -*- as first line.
14350
14351         * lyxfind.h:
14352         * version.h: added // -*- C++ -*- as first line.
14353
14354 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14357
14358         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14359         of string
14360
14361 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14364         of floats.
14365
14366 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * gettext.C: include LString.h even when --disable-nls is on.
14369
14370 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * converter.h (Get): changed argument type from int to
14373         FormatList::size_type to avoid unnecessary conversion.
14374
14375         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14376         before using it.
14377
14378 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * gettext.h: include LString.h even when --disable-nls is on.
14381
14382 2001-06-07  Juergen Vigna  <jug@sad.it>
14383
14384         * text.C (BreakAgain): subst spaces with tabs.
14385
14386         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14387         (resizeInsetsLyXText): set force on resizeLyXText.
14388
14389 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * gettext.h (gettext_init):
14392         (locale_init): use a real definition instead of a macro
14393
14394 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * Bufferview_pimpl.C:
14397         * LColor.h:
14398         * LColor.C: further lcolor tidies
14399
14400 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14401
14402         * BufferView_pimpl.C (updateScrollbar): simplify.
14403
14404         * BufferView2.C: don't include insets/insetinfo.h, change
14405         prototype for insertInset and call the Pimpl version. let
14406         updateInset call Pimpl version.
14407
14408         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14409         gotoInset to BufferView::Pimpl
14410
14411 2001-06-01  Juergen Vigna  <jug@sad.it>
14412
14413         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14414         inside a LockingInset (is the update needed at all?).
14415
14416 2001-05-31  Juergen Vigna  <jug@sad.it>
14417
14418         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14419         here not the old one otherwise how should we compare it afterwards
14420         if it's the same!
14421
14422 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * lyxfont.C:
14425         * tabular.C:
14426         * tabular-old.C:
14427         * FontInfo.C: bring C functions into global namespace when
14428         necessary
14429
14430 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * LString.h: make sure config.h has been loaded before LString.h.
14433
14434         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14435         (one for each char read by EatLine!).
14436
14437         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14438         variables.
14439
14440 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14443         to the same as the par we break from
14444
14445 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14448
14449         * MenuBackend.C (expand): also create menu entries for wide
14450         versions of the floats.
14451
14452         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14453
14454         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14455
14456         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14457         frontends/Makefile.am
14458
14459         * text2.C: adjust
14460         * text.C: adjust
14461
14462
14463         * tabular.C (getTokenValue): add std::
14464
14465         * tabular-old.C (getTokenValue): add std::
14466         (getTokenValue): ditto
14467         (getTokenValue): ditto
14468
14469         * screen.C (ToggleSelection): adjust
14470
14471         * lyxtext.h: put selection cursors inside a Selection struct.
14472
14473         * lyxfunc.C (moveCursorUpdate): adjust
14474
14475         * lyxfont.C (latexWriteStartChanges): add std::
14476
14477         * lyxfind.C: adjust
14478
14479         * font.h: delete with(char const *, LyXFont const &)
14480
14481         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14482
14483         * FontInfo.C (getFontname): add std::
14484
14485         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14486         (workAreaButtonPress): adjust
14487         (tripleClick): adjust
14488         (update): adjust
14489         (moveCursorUpdate): adjust
14490         (Dispatch): adjust
14491
14492         * BufferView2.C (gotoInset): adjust
14493
14494 2001-05-30  Juergen Vigna  <jug@sad.it>
14495
14496         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14497         to check pspell I add this as default as I now have new pspell
14498         libraries and they seem to use this.
14499
14500 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * text2.C (CutSelection): make the cursor valid before the call to
14503         ClearSelection.
14504
14505 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14508         relied on 0 terminated strings and other horrors. Bug found due to
14509         the new assert in lyxstring!
14510
14511         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14512         KP_ keys.
14513
14514 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14515
14516         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14517         to latinkeys.bind.
14518
14519         * lyxfunc.C (processKeySym): change method of getting to the
14520         self-insert char.
14521
14522         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14523         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14524         * BufferView_pimpl.[Ch]: here as private methods.
14525
14526 2001-05-28  Juergen Vigna  <jug@sad.it>
14527
14528         * text.C (SetHeightOfRow): added the update() call again as it is
14529         needed to initialize inset dimensions!
14530
14531 2001-05-16  Juergen Vigna  <jug@sad.it>
14532
14533         * text2.C (SetCharFont): Add new function with BufferView * and
14534         bool toggleall parameters for setting insets internal fonts.
14535         (SetFont): Freeze the undo as we may change fonts in Insets and
14536         all this change should be inside only one Undo!
14537
14538         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14539         setting font's in insets as for them we have the SetFont function!
14540
14541 2001-05-15  Juergen Vigna  <jug@sad.it>
14542
14543         * text2.C (ClearSelection): to be sure we REALLY don't have any
14544         selection anymore!
14545
14546         * tabular.C (TeXCellPreamble): fixed the left border problem for
14547         multicolumn cells.
14548
14549 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14552         dependancy file
14553
14554 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14557         LFUN_BREAKPARAGRAPH.
14558
14559         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14560         help test to "internal only", similar for LFUN_INSERT_URL
14561
14562         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14563         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14564         auto_region_delete and deadkeys.
14565
14566 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * LColor.h:
14569         * LColor.C: remove some dead entries, tidy a little
14570
14571 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14574         commented code.
14575         (Dispatch): implement LFUN_ESCAPE
14576
14577         * commandtags.h: add LFUN_ESCAPE
14578
14579         * LyXAction.C (init): add entry for LFUN_ESCAPE
14580
14581         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14582         Remove commented code.
14583         (insertNote): moved here
14584         (open_new_inset): moved here
14585
14586         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14587         BufferView_pimpl
14588
14589 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * kbmap.C (findbinding): clean it up and make it work correctly.
14592
14593         * lyx_main.C (init): do not pass argc and argv as parameters
14594
14595 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14596
14597         * buffer.C: fix path for OS/2 & Win32
14598
14599         * lyx_gui.C:
14600         * lyx_main:
14601         * lyx_main.C: Added os:: class.
14602
14603         * os2_defines.h: update
14604
14605 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14606
14607         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14608         better by trying again with reduced state.
14609
14610 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14611
14612         * lyxrc.C (read): print error about invalid key sequence only when
14613         debugging (because not all latinX keysyms are known to some X
14614         servers)
14615
14616         * kbsequence.C (getiso): add a few std:: qualifiers
14617         (getiso): comment out extra return statement.
14618
14619 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14622         handling.
14623         (Dispatch): enhance the accent inset a bit. (not perfect)
14624
14625 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14626
14627         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14628
14629 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * bufferlist.C (emergencyWrite): fix assert() call
14632
14633 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14634
14635         * text.C (InsertChar): Added trivial patch to only send the "you
14636         can not do multiple spaces this way" message once during a
14637         session.
14638
14639 2001-05-08  Baruch Even  <baruch@lyx.org>
14640
14641         * Makefile.am: Changed order of libraries to get LyX to link properly
14642         with the gnome frontend.
14643
14644 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14645
14646         * LaTeXFeatures.h: add a std:: qualifier
14647
14648 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * paragraph.C (String): use stringstream
14651
14652 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * paragraph.C (writeFile): remove footflag arg
14655
14656         * buffer.C (makeLaTeXFile): use stringstream
14657         (latexParagraphs): remove footnot gurba
14658
14659         * LaTeXFeatures.C (getPackages): use stringstream
14660         (getMacros): likewise
14661         (getTClassPreamble): likewise
14662         (getFloatDefinitions): new method
14663
14664         * paragraph.C (writeFile): reindent
14665         (Erase): reindent
14666
14667         * WorkArea.h: revert the xpos + etc changes.
14668
14669         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14670
14671         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14672
14673         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14674         (pasteSelection): likewise
14675         * text2.C (CreateUndo): likewise
14676
14677 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * minibuffer.C (peek_event): temporarily reduce the functionality
14680         of the minibuffer (to allow args on lfuns)
14681
14682         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14683         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14684
14685         * buffer.C (readInset): add compability reading of old float
14686         lists, add reading of new style float list.
14687         (readInset): avoid reevaluation of inscmd.getCmdName()
14688         (getLists): reindent
14689
14690         * MenuBackend.C (MenuItem): implement parsing of
14691         md_floatlistinsert and md_floatinsert.
14692         (expand::LastFiles): move initalizaton of iterators out of loop,
14693         avoid reevaluation.
14694         (expand::Documents): introduce typdedef vector<string> Strings,
14695         and use it.
14696         (expand::ExportFormats): introduce typedef vector<Format const *>
14697         Formats, and use it.
14698         (expand): implement FloatListInsert and FloatInsert.
14699
14700         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14701         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14702         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14703
14704         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14705         handling.
14706         (Dispatch::LFUN_FLOAT_LIST): implement
14707
14708 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14709
14710         * LaTeX.C (run): Fix problem with --export code.
14711
14712 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14713
14714         * BufferView.[Ch] (workarea): removed.
14715         (getClipboard) new method; wrapper for workarea()->getClipboard()
14716
14717         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14718         bug.
14719
14720         * WorkArea.h (width, height, xpos, ypos): These methods all
14721         returned the dimensions of the work_area sub-area of WorkArea,
14722         resulting in a position error if the WorkArea were resized. Now
14723         return the dimensions of the entire WorkArea.
14724
14725         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14726
14727 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * LaTeX.C (deplog): correct the syntax of regex reg1
14730
14731 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * undo.C: remove !NEW_INSETS cruft
14734
14735 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * text2.C: remove !NEW_INSETS cruft
14738
14739         * text.C: remove !NEW_INSETS cruft
14740
14741         * tabular.C: remove !NEW_INSETS cruft
14742
14743         * spellchecker.C: remove !NEW_INSETS cruft
14744
14745         * lyxtext.h: remove !NEW_INSETS cruft
14746
14747         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14748
14749         * lyxfunc.C: remove !NEW_INSETS cruft
14750
14751         * lyxfind.C: remove !NEW_INSETS cruft
14752
14753         * lyx_cb.C: remove !NEW_INSETS cruft
14754
14755         * figureForm.C: remove  !NEW_INSETS cruft
14756
14757         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14758
14759         * buffer.[Ch]: remove !NEW_INSETS cruft
14760
14761         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14762
14763         * CutAndPaste.C: remove !NEW_INSETS cruft
14764
14765         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14766
14767         * BufferView2.C: remove !NEW_INSETS cruft
14768
14769         * BufferView.h: remove !NEW_INSETS cruft
14770
14771 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * Lsstream.h: include LString.h before the sstream headers to
14774         fix problem with gcc 2.95.3 and lyxstring
14775
14776 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * lyx_main.C: add using directives when needed for C functions
14779         declared in std:: namespace.
14780
14781 2001-04-27  Juergen Vigna  <jug@sad.it>
14782
14783         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14784         (SetHeightOfRow): comment out the update call should not be needed!
14785
14786 2001-04-13  Juergen Vigna  <jug@sad.it>
14787
14788         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14789         (LyXTabular): tried to minimize operator= operations (and realized
14790         hopfully Lars wish).
14791
14792 2001-04-27  Juergen Vigna  <jug@sad.it>
14793
14794         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14795
14796 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14797
14798         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14799
14800         * buffer.C (readInset): hack to make listof algorithm work
14801
14802         * BufferView_pimpl.C: hack to make listof algorithm work
14803
14804 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * LyXAction.C: removed all !NEW_INSETS cruft
14807         (init): moved lfun_item in method
14808
14809         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14810
14811 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14812
14813         * BufferView2.C (theLockingInset): white space.
14814
14815 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * minibuffer.C: include <iostream>
14818
14819         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14820
14821         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14822
14823         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14824
14825         * text.[Ch] (TransposeChars): new method
14826
14827 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * call message directly through LyXView instead of through LyXFunc
14830         * BufferView2.C: adjust
14831         * BufferView_pimpl.C: adjust
14832         * FontLoader.C: adjust
14833         * buffer.C: adjust
14834         * bufferview_funcs.C: adjust
14835         * converter.C: adjust
14836         * figureForm.C: adjust
14837         * importer.C: adjust
14838         * lyx_cb.C: adjust
14839         * lyx_gui_misc.C: adjust
14840         * lyxfunc.C: adjust
14841         * lyxvc.C: adjust
14842         * text2.C: adjust
14843         + more files in subdirs
14844
14845         * lyxparagraph.h (size): move up int file
14846         (GetLayout): ditto
14847
14848         * adjust all uses of Assert to lyx::Assert.
14849
14850         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14851         lyxfunctional in namespace lyx
14852         * layout.C (hasLayout): ditto
14853         (GetLayout): ditto
14854         (GetLayout): ditto
14855         (delete_layout): ditto
14856         (NumberOfClass): ditto
14857         * converter.C (GetFormat): ditto
14858         (GetNumber): ditto
14859         (Add): ditto
14860         (Delete): ditto
14861         (SetViewer): ditto
14862         * bufferlist.C (getFileNames): ditto
14863         (emergencyWriteAll): ditto
14864         (exists): ditto
14865         (getBuffer): ditto
14866         * MenuBackend.C (hasSubmenu): ditto
14867         (hasMenu): ditto
14868         (getMenu): ditto
14869         * BufferView_pimpl.C (getInsetByCode): ditto
14870
14871 2001-04-18  Juergen Vigna  <jug@sad.it>
14872
14873         * vspace.C (asLatexString): fixed the 100% problem.
14874
14875 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14876
14877         * lyxfunc.C (Dispatch):
14878         * minibuffer.C:
14879         * minibuffer.h: add a few std:: qualifiers
14880
14881 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * minibuffer.[Ch]: reimplement so that commands is initiated and
14884         run from lyxfunc, simplified som handling, and made the completion
14885         and history code for complete. wip.
14886
14887         * lyxfunc.C (processKeySym): call message
14888         (miniDispatch): new temporary method
14889         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14890         (LFUN_MESSAGE): implement
14891         (LFUN_MESSAGE_PUSH): implement
14892         (LFUN_MESSAGE_POP): implement
14893         (initMiniBuffer): the initial/defualt minibuffer message.
14894
14895         * lyxfont.[Ch]: inline some more getters
14896
14897         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14898
14899         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14900
14901         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14902         (AutoSave): use LFUN_MESSAGE
14903         (Reconfigure): ditto
14904
14905         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14906
14907         * figureForm.C: use LFUN_MESSAGE
14908
14909         * converter.C (runLaTeX): use LFUN_MESSAGE
14910
14911         * bufferview_funcs.C: use LFUN_MESSAGE
14912         (Melt): ditto
14913         (changeDepth): ditto
14914
14915         * bufferparams.h: use boost::
14916
14917         * bufferlist.h: inherit privately from noncopyable
14918
14919         * bufferlist.C (loadLyXFile): remove some commented code.
14920
14921         * buffer.C (runChktex): use LFUN_MESSAGE
14922
14923         * ShareContainer.h: inherit privately from noncopyable
14924
14925         * ParagraphParameters.[hC] (depth): inline it.
14926
14927         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14928         methods.
14929         (message): new method
14930         (messagePush): ditto
14931         (messagePop): ditto
14932         (show): init minibuffer
14933         (showState): direct call
14934
14935         * LaTeX.[Ch]: inherit privately from noncopyable
14936         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14937         instead of WriteStatus.
14938
14939         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14940
14941         * BufferView_pimpl.C (buffer): don't init minibuffer
14942         (workAreaButtonPress): use LFUN_MESSAGE
14943         (workAreaButtonRelease): ditto
14944         (savePosition): ditto
14945         (restorePosition): ditto
14946         (MenuInsertLyXFile): ditto
14947         (workAreaExpose): don't init minibuffer
14948         (update): remove commented code, simplify
14949
14950         * BufferView2.C (openStuff): use LFUN_MESSAGE
14951         (toggleFloat): ditto
14952         (menuUndo): ditto
14953         (menuRedo): ditto
14954         (copyEnvironment): ditto
14955         (pasteEnvironment): ditto
14956         (copy): ditto
14957         (cut): ditto
14958         (paste): ditto
14959         (gotoInset): ditto
14960         (updateInset): remove some commented code
14961
14962         * lastfiles.h: inherit privately from noncopyable
14963         * layout.h: ditto
14964         * lyx_gui.h: ditto
14965         * lyx_main.h: ditto
14966         * lyxlex.h: ditto
14967         * lyxlex_pimpl.h: ditto
14968
14969         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14970         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14971         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14972
14973         * LyXAction.h: inherit privately from noncopyable, add methods
14974         func_begin, func_end, returning iterators to the func map.
14975
14976         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14977         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14978         (func_begin): new method
14979         (func_end): new method
14980
14981         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14982         and not)
14983         (copySelection): ditto
14984         (pasteSelection): ditto
14985
14986         * BufferView.C: whitespace change
14987         * BufferView.h: inherit privately from noncopyable
14988
14989 2001-04-16  Allan Rae  <rae@lyx.org>
14990
14991         * tabular-old.C (l_getline):
14992         * spellchecker.C (sc_check_word):
14993         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14994         an unrecognised preprocessor directive.  So ensure they're wrapped.
14995
14996 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14997
14998         * src/exporter.C (Export): Give an error message when path to file
14999         contains spaces.
15000
15001 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15002
15003         * LaTeX.C (deplog): Always check that foundfile exists.
15004
15005 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * lyx_main.h:
15008         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15009
15010 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15011
15012         * tabular.[Ch] (getLabelList): implement new method
15013
15014         * minibuffer.h: comment ouf setTiimer
15015
15016         * minibuffer.C (ExecutingCB): constify res
15017         (peek_event): constify s
15018         (Set): constify ntext
15019         (Init): constify nicename
15020
15021         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15022
15023         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15024         (savePosition): use two params to Minibuffer::Set
15025         (restorePosition): ditto
15026
15027 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * lyx_main.C: include language.h
15030
15031         * Makefile.am (lyx_main.o): add language.h
15032
15033 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * exporter.C:
15036         * paragraph.C:
15037         * screen.C:
15038         * tabular.C:
15039         * CutAndPaste.C: include gettext.h
15040
15041         * lyxfont.h: remove old hack with ON and OFF.
15042
15043         * lyxparagraph.h:
15044         * lyxfont.h: do not include language.h...
15045
15046         * BufferView2.C:
15047         * LaTeXFeatures.C:
15048         * Painter.C:
15049         * bufferview_funcs.C:
15050         * font.C:
15051         * lyxfont.C:
15052         * text.C:
15053         * text2.C:
15054         * trans_mgr.C:
15055         * paragraph.C: ... but do it here instead
15056
15057 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15060
15061         * tabular.C: small reformat
15062
15063         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15064         NEW_INSETS version
15065         (GetChar): ditto
15066         (BreakParagraph): ditto
15067         (SetOnlyLayout): ditto
15068         (SetLayout): ditto
15069
15070         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15071         with one arg less.
15072
15073         * lastfiles.C: removed most using decl, add std:: where needed
15074
15075         * buffer.C: ws changes
15076
15077         * MenuBackend.C (class compare_format): put into anon namespace
15078         (expand): constify label, names, action, action2
15079         (expand):
15080
15081         * text.C (SingleWidth): constify font
15082         (IsBoundary): constify rtl2
15083         (GetVisibleRow): constify ww
15084
15085         * LaTeX.C (deplog): constify logfile
15086
15087         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15088         start_x, end_x
15089         (workAreaExpose): constify widthChange, heightChange
15090
15091         * lyxrow.C (par): moved
15092         (height): moved
15093         (next): moved
15094         * lyxrow.h: as inlines here
15095
15096         * lyxfont.h (shape): moved from lyxfont.C
15097         (emph): moved from lyxfont.C
15098
15099         * lyxfont.C (LyXFont): use initialization list for all
15100         constructors
15101         (shape): move to lyxfont.h as inline
15102         (emph): move to lyxfont.h as inline
15103
15104
15105 2001-04-04  Juergen Vigna  <jug@sad.it>
15106
15107         * vspace.C: had to include stdio.h for use of sscanf
15108
15109 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15110
15111         * BufferView.h:
15112         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15113         independent of xforms.
15114
15115 2001-04-02  Juergen Vigna  <jug@sad.it>
15116
15117         * spellchecker.C: fixed namespace placing!
15118
15119 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15120
15121         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15122         the LyXParagraph * is 0.
15123
15124 2001-03-29  Juergen Vigna  <jug@sad.it>
15125
15126         * vspace.C: added support for %, c%, p%, l%.
15127         (stringFromUnit): added helper function.
15128         (asLatexString): changed to give right results for the %-values.
15129
15130         * buffer.C: convert the widthp in a width%.
15131
15132 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15135         figureForm.[Ch].
15136
15137         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15138         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15139
15140         * lyx_cb.[Ch]: see above.
15141
15142         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15143         form1.[Ch].
15144
15145         * form1.[Ch]:
15146         * lyx.[Ch]: replaced by figure_form.[Ch].
15147
15148         * lyx_gui.C:
15149         * lyx_gui_misc.C:
15150         * lyxfunc.C: changed headers associated with above changes.
15151
15152 2001-03-27  Juergen Vigna  <jug@sad.it>
15153
15154         * BufferView_pimpl.C: set the temporary cursor right!
15155
15156 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15157
15158         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15159
15160 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15161
15162         * LString.h: removed "using std::getline"!
15163
15164         * BufferView_pimpl.C (Dispatch): changes due to changes in
15165         InsetInclude::Params.
15166
15167         * buffer.C (tag_name): removed redundant break statements as they were
15168         producing lots of warnings with my compiler.
15169
15170 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * LString.h: add "using std::getline" when using the real <string>.
15173
15174 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15175
15176         * buffer.C: removed bitset usage.
15177         PAR_TAG moved to an anonymous name space.
15178         (tag_name): new funtion, also in the anonymous namespace.
15179         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15180         (makeDocBookFile): clean code. Completed transition from string arrays
15181         to string vectors.
15182         (SimpleDocBookOnePar): code clean.
15183
15184 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15185
15186         * tabular.C: add some comments.
15187
15188 2001-03-22  Juergen Vigna  <jug@sad.it>
15189
15190         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15191         compatibility read a bit and fixed bug with minipage in different
15192         depth.
15193
15194 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15195
15196         * buffer.C (pop_tag): removed.
15197         (push_tag): removed.
15198         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15199         array replaced with vector. Added support for CDATA sections.
15200         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15201         at any nest level.
15202         (makeDocBookFile): XML conformant declaration of CDATA section,
15203         fixed bug related to <emphasis> in the first paragraph char.
15204         (sgmlOpenTag): exclude empty tags.
15205         (sgmlCloseTag): ditto.
15206
15207         * buffer.h (pop_tag): removed.
15208         (push_tag): removed.
15209
15210 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15211
15212         * language.h (Languages): added size_type and size().
15213
15214 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15215
15216         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15217         response on compability reading of minipages. One probliem is that
15218         the old usage of minipages was «flertydig»
15219
15220         * several files here and in subdirs: don't use static at file
15221         scope use anon namespaces instead.
15222
15223 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15224
15225         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15226         LaTeX output. This is necessary for Literate document
15227         processing.
15228
15229 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15230
15231         * buffer.C: insert hfill when needed.
15232
15233         * tabular.C (l_getline): use string::erase, small whitespace change.
15234
15235         * BufferView_pimpl.C: try the anon namespace.
15236         * WorkArea.C: ditto
15237
15238 2001-03-16  Juergen Vigna  <jug@sad.it>
15239
15240         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15241         otherwise it won't open options-dialogs.
15242
15243         * buffer.C: honor pextraWidth(p) on converting minipages.
15244
15245         * tabular.C (l_getline): changed the functions to strip trailing \r.
15246
15247 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15248
15249         * BufferView_pimpl.C:
15250         * minibuffer..C: added "using SigC::slot" declaration.
15251
15252 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15253
15254         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15255
15256         * text2.C: ditto
15257
15258         * text.C: ditto
15259
15260         * paragraph.C: ditto
15261
15262         * lyxtext.h: NO_PEXTRA
15263
15264         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15265
15266         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15267         * ParameterStruct.h: ditto
15268         * ParagraphParameters.h: ditto
15269         * lyxparagraph.h: ditto
15270
15271 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15272
15273         * buffer.C: add compability for minipage alignment.
15274         (latexParagraphs): remove unwanted pextra check.
15275
15276         * several files: remove CXX_WORKING_NAMESPACES
15277
15278         * buffer.C (pop_tag): tie is in namespace boost
15279
15280         * BufferView.h: noncopyable is in namespace boost
15281         * lyxlex.h: ditto
15282         * lyx_main.h: ditto
15283         * lyx_gui.h: ditto
15284         * layout.h: ditto
15285         * lastfiles.h: ditto
15286         * bufferlist.h: ditto
15287         * ShareContainer.h: ditto
15288         * LyXView.h: ditto
15289         * LyXAction.h: ditto
15290         * LaTeX.h: ditto
15291
15292 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15293
15294         * Merging changes from BRANCH_MVC back into HEAD.
15295
15296         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15297
15298 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15299
15300         * BufferView_pimpl.C: change from intl.C
15301
15302         * combox.h:
15303         * combox.C:
15304         * Makefile.am: move combox.*
15305
15306         * form1.h:
15307         * form1.C:
15308         * lyx_gui.C:
15309         * intl.h:
15310         * intl.C: remove dialog (covered by prefs)
15311
15312 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15313
15314         * lyxfunc.C (Dispatch): removed redundant break statement.
15315
15316 2001-03-14  Juergen Vigna  <jug@sad.it>
15317
15318         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15319
15320 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15321
15322         * buffer.C: add hack to fix compability reading of minipages.
15323
15324 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15325
15326         * buffer.C (getLists): Cleanup.
15327
15328 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * lyxfont.C (update): don't honor toggleall on font size.
15331
15332 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15333
15334         * bmtable.c:
15335         * bmtable.h:
15336         * Makefile.am: moved to frontends/xforms/
15337
15338         * lyx_gui_misc.C:
15339         * lyxfunc.C:
15340         * BufferView_pimpl.C: changes for moved mathpanel
15341
15342 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15343
15344         * gettext.h: fix gettext_init() in --disable-nls
15345
15346 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15349
15350 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15351
15352         * lyx.C:
15353         * lyx.h: strip external form
15354
15355 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15356
15357         * BufferView_pimpl.C: add comment, destroySplash()
15358
15359 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * BufferView_pimpl.C:
15362         * LyXAction.C:
15363         * buffer.C:
15364         * commandtags.h:
15365         * lyxfunc.C: use re-worked insetinclude
15366
15367 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15368
15369         * buffer.C: add using std::stringstream.
15370
15371         * lyx_cb.C: readd using std::ios.
15372
15373         * buffer.C: add using std::map.
15374
15375         * BufferView_pimpl.C: add using std::vector.
15376
15377         * ShareContainer.h: add std:: to swap.
15378
15379         * buffer.h: add some typedefs
15380         * buffer.C (getLists): use them
15381         (getLists): renamed from getTocList.
15382         add a counter for the different float types and use it in the
15383         generated string.
15384         (getLists): use the same counter for the NEW_INSETS and the "non"
15385         NEW_INSETS
15386
15387         * lyx_cb.h: remove unused items, includes, using etc.
15388
15389         * ShareContainer.h: remove some commented code, add more comments
15390         and "documentation".
15391
15392 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15393
15394         * buffer.C (getTocList): make the list also when NEW_INSETS is
15395         defined.
15396
15397         * buffer.h: remove TocType
15398
15399         * buffer.C (getTocList): change to return a map<string,
15400         vector<TocItem> >, implement for dynamic number of list.
15401
15402         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15403         * text2.C (PasteSelection): adjust
15404         * CutAndPaste.C (pasteSelection): adjust
15405
15406         * FloatList.C (FloatList): update from the new_insets branch.
15407         * Floating.[Ch]: ditto
15408         * LaTeXFeatures.C: ditto
15409         * buffer.C: ditto
15410         * lyxlex_pimpl.C: ditto
15411
15412         * paragraph.C (Last): remove when NEW_INSETS is defined.
15413
15414         * other file: changes because of the above.
15415
15416 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15417
15418         * lyxparagraph.h: rename next to next_, previous to previous_,
15419         make them private for NEW_INSETS. Rename Next() to next(),
15420         Previous() to previous().
15421
15422         * other files: changes because of the above.
15423
15424 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15425
15426         * BufferView.h:
15427         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15428         problem.
15429
15430 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * main.C (main): pass lyx_localedir to gettext_init().
15433
15434         * gettext.h: remove locale_init and gettext_init macros
15435
15436         * gettext.C (locale_init): new function
15437         (gettext_init): new function
15438
15439         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15440         setlocale().
15441
15442 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15443
15444         * Moved credits to frontends:
15445         * credits.[Ch]: removed
15446         * credits_form.[Ch]: removed
15447         * lyx_gui_misc.C: remove credits stuff
15448         * Makefile.am:
15449
15450 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15451
15452         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15453
15454         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15455         unneeded destructor.
15456
15457         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15458         a standalone pointer again.
15459
15460         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15461
15462 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15463
15464         * Makefile.am:
15465         * filedlg.h:
15466         * filedlg.C:
15467         * LyXAction.C:
15468         * ToolbarDefaults.C:
15469         * bufferlist.C:
15470         * commandtags.h:
15471         * form1.C:
15472         * form1.h:
15473         * lyx_cb.C:
15474         * lyx_cb.h:
15475         * lyxfunc.h:
15476         * lyxfunc.C:
15477         * BufferView_pimpl.C: use new file dialog in GUII
15478
15479         * lyx_cb.h:
15480         * lyx_cb.C: remove LayoutsCB to Toolbar
15481
15482 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * ShareContainer.h (get): add std:: qualifier
15485
15486 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15487
15488         * ShareContainer.h: define a proper ShareContainer::value_type
15489         type (and use typename to please compaq cxx)
15490
15491 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15492
15493         * lyxparagraph.h: move serveral local vars to
15494         ParameterStruct/ParagraphParameters., use ShareContainer in
15495         FontTable., make vars in FontTable private and add getter and
15496         setter.
15497
15498         * paragraph.C: changes because of the above.
15499
15500         * lyxfont.h: remove copy constructor and copy assignment. (the
15501         default ones is ok), move number inside FontBits. move inlines to
15502         lyxfont.C
15503
15504         * lyxfont.C: add number to initializaton of statics, move several
15505         inlines here. constify several local vars. some whitespace
15506         cleanup. Dont hide outerscope variables.
15507
15508         * Spacing.h: add two new constructors to match the set methods.
15509
15510         * ShareContainer.h: new file, will perhaps be moved to support
15511
15512         * ParameterStruct.h: new file
15513
15514         * ParagraphParameters.h: new file
15515
15516         * ParagraphParameters.C: new file
15517
15518         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15519         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15520
15521         * BufferView_pimpl.C: ParagraphParameter changes.
15522         * buffer.C: Likewise.
15523         * bufferview_funcs.C: Likewise.
15524         * text.C: Likewise.
15525         * text2.C: Likewise.
15526
15527 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * lyxfind.C (LyXReplace): do not redefine default argument in
15530         implementation.
15531         (IsStringInText): ditto
15532         (SearchForward): ditto
15533         (SearchBackward): ditto
15534
15535 2001-03-06  Juergen Vigna  <jug@sad.it>
15536
15537         * lyxfind.C (IsStringInText): put parentes around expressions.
15538
15539 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15540
15541         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15542
15543 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15546
15547         * stl_string_fwd.h: add comment
15548
15549         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15550
15551         * tabular.h:
15552         * tabular.C: remove unused DocBook methods
15553
15554         * intl.C:
15555         * language.C:
15556         * paragraph.C:
15557         * buffer.C:
15558         killed DO_USE_DEFAULT_LANGUAGE
15559
15560 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * lyx_gui.C: do not include language.h.
15563
15564         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15565         arguments in function implementation.
15566
15567 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15568
15569         * BufferView_pimpl.C: add <ctime>
15570
15571 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15572
15573         * BufferView_pimpl.C: add using std::find_if
15574
15575 2001-02-27  José Matos  <jamatos@fep.up.pt>
15576
15577         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15578         by OnlyPath.
15579
15580 2001-02-11  José Matos  <jamatos@fep.up.pt>
15581
15582         * buffer.C (makeDocBookFile): command styles now have a parameter as
15583         "title" by default.
15584
15585 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15586
15587         * layout_forms.[Ch]: removed
15588         * lyx_cb.[Ch]: out character
15589         * lyx_gui.C: out character
15590         * lyx_gui_misc.C: out character
15591         * bufferview_funcs.C: : out character,
15592         added toggleall as parameter in ToggleAndShow
15593
15594 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15597
15598         * text2.C (SetCurrentFont): Disable number property at boundary.
15599
15600 2001-02-26  Juergen Vigna  <jug@sad.it>
15601
15602         * lyxfunc.C (getStatus): added a string argument override function so
15603         that this is correctly called from LyXFunc::Dispatch if it contains a
15604         do_not_use_argument which is used!
15605         (Dispatch): added check for "custom" export and call appropriate func.
15606
15607 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15608
15609         * lyxrc.C: Add language_command_local, language_use_babel and
15610         language_global_options.
15611
15612         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15613
15614         * buffer.C (makeLaTeXFile): Use language_use_babel and
15615         language_global_options.
15616
15617 2001-02-23  Juergen Vigna  <jug@sad.it>
15618
15619         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15620         which works with LyXText and putted it inside BufferView. Here now we
15621         only call for that part the BufferView::Dispatch() function.
15622
15623         * BufferView.C (Dispatch): added.
15624
15625         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15626         functions which needs to use a LyXText over from LyXFunc.
15627         (MenuInsertLyXFile): added
15628         (getInsetByCode): added
15629         (moveCursorUpdate): added
15630         (static TEXT): added
15631
15632 2001-02-22  Juergen Vigna  <jug@sad.it>
15633
15634         * BufferView_pimpl.C (update): call a status update to see if LyXText
15635         needs it.
15636
15637 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15638
15639         * vc-backend.C (revert): implement for CVS
15640         (getLog): implement for CVS
15641
15642 2001-02-20  Juergen Vigna  <jug@sad.it>
15643
15644         * text2.C (ClearSelection): added BufferView param for inset_owner call
15645
15646         * lyxfunc.C (TEXT): added this function and use it instead of
15647         directly owner->view()-text of getLyXText().
15648
15649 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15650
15651         * src/layout_forms.C: out preamble
15652         * src/layout_forms.h: out preamble
15653         * src/lyx_cb.C: out preamble
15654         * src/lyx_cb.h: out preamble
15655         * src/lyx_gui.C: out preamble
15656         * src/lyx_gui_misc.C: out preamble
15657         * src/lyxfunc.C: connect with guii preamble
15658
15659 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15662
15663 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15666         whether to run bibtex.
15667
15668 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15669
15670         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15671
15672 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15673
15674         * Makefile.am (lyx_SOURCES): removed bibforms.h
15675
15676         * vspace.h: doxygen
15677
15678         * text.C (GetVisibleRow): make several local vars const
15679
15680         * tabular.C: small cleanup.
15681
15682         * lyxserver.C (callback): use compare instead of strncmp
15683
15684         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15685         inlines to after class or to paragraph.C
15686
15687         * lyxfont.h: remove friend operator!=
15688
15689         * converter.h: move friend bool operator< to non friend and after
15690         class def.
15691
15692         * combox.h: small cleanup
15693
15694         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15695         to inlines after class def.
15696
15697         * buffer.C (pop_tag): use string operations instead of strcmp
15698
15699         * bmtable.c: doxygen, small cleanup
15700
15701         * LaTeX.h: remove friend operator==
15702
15703 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15704
15705         * screen.C:
15706         * lyxrc.[Ch]:
15707         * lyxfunc.C:
15708         * lyxfont.[Ch]:
15709         * lyx_cb.C:
15710         * intl.[Ch]:
15711         * commandtags.h:
15712         * buffer.C:
15713         * WorkArea.[Ch]:
15714         * LyXAction.C:
15715         * BufferView_pimpl.C:
15716         * BufferView.[Ch]: remove cruft
15717
15718 2001-02-14  Juergen Vigna  <jug@sad.it>
15719
15720         * lyxfunc.C: removed #if 0 unused code
15721
15722         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15723
15724         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15725
15726         * text2.C (SetSelection): added a BufferView * parameter
15727
15728 2001-02-13  Juergen Vigna  <jug@sad.it>
15729
15730         * lyxfunc.C (Dispatch): fixed protected blank problem.
15731         * BufferView2.C (protectedBlank): added LyxText * parameter.
15732
15733         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15734         (AppendColumn): same as above for column_info.
15735
15736         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15737         (moveCursorUpdate): use a LyXText param for support of InsetText.
15738
15739         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15740         (tripleClick): ditto
15741
15742         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15743
15744         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15745
15746         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15747
15748         * text2.C (SetSelection): set correct update status if inset_owner
15749         (ToggleFree): ditto
15750
15751 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15752
15753         * tabular.C: remove some commented code.
15754
15755 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15756
15757         * BufferView_pimpl.C: call hideSplash()
15758
15759         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15760
15761         * include_form.h:
15762         * bibforms.h: remove
15763
15764         * lyxfunc.C:
15765         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15766           add LFUN_CHILD_CREATE
15767
15768         * counters.h: fix tiny typo
15769
15770         * lyx_cb.C:
15771         * lyx.h:
15772         * lyx_gui.C:
15773         * lyx.C: move splash to frontends/xforms/
15774
15775         * lyx_gui_misc.C: move Include and Bibform to frontends
15776
15777         * lyxvc.h: clarify comment
15778
15779         * vspace.C: tiny housekeeping
15780
15781 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * text.C (PrepareToPrint): RTL Fix.
15784
15785         * paragraph.C (GetUChar): New method.
15786         (String):  Use GetUChar.
15787
15788         * buffer.C (asciiParagraph): Use GetUChar.
15789
15790 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15791
15792         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15793
15794 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15795
15796         * buffer.h:
15797         * buffer.C: rename to getLogName(), handle
15798           build log / latex log nicely
15799
15800 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * MenuBackend.C:
15803         * MenuBackend.h: remove support for reference menuitem type.
15804
15805 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15806
15807         * BufferView_pimpl.C: housekeeping
15808         * BufferView_pimpl.h:
15809         * LyXView.h:
15810         * Makefile.am:
15811         * Timeout.C:
15812         * Timeout.h:
15813         * minibuffer.h: move Timeout GUI-I
15814
15815 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15816
15817         * lyxrc.C (read): Update converters data-structures.
15818
15819 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15820
15821         * LaTeX.h (operator!=): add operator != for Aux_Info
15822
15823 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15824
15825         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15826
15827         * LaTeXLog.C: deleted, useful code moved to Buffer
15828
15829         * buffer.h:
15830         * buffer.C: new function getLatexLogName()
15831
15832         * lyx_gui_misc.C:
15833         * lyx_gui.C:
15834         * lyxvc.C:
15835         * lyxvc.h:
15836         * lyxfunc.C: use frontends for LaTeX and VC logs
15837
15838 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * LaTeX.h: yet another std:: that Allan forgot.
15841
15842         * Variables.C (set): renamed from isset(), because this clashes
15843         with some HP-UX macros (grr).
15844
15845 2001-02-06  Allan Rae  <rae@lyx.org>
15846
15847         * LaTeX.h: Another bug fix.  Missing std:: this time.
15848
15849 2001-02-04  Allan Rae  <rae@lyx.org>
15850
15851         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15852         floats problem. I've left it commented out because it's not quite
15853         correct.  It should also test that the current object is a table or
15854         figure inset.  But I haven't gotten around to figuring out how to do
15855         that.  I *think* it'll be something like: "table" == inset.type()
15856
15857         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15858         bool.
15859
15860 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15861
15862         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15863         all the citation/databases/styles in the auxilary file.
15864         (run): Rerun latex if there was a babel language error.
15865
15866 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15867
15868         * text.C (Backspace): Preserve the font when changing newline char
15869         with a space.
15870         (BreakParagraph): If the cursor is before a space, delete the space.
15871
15872         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15873
15874 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15875
15876         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15877         new argument (code).
15878         (ChangeCitationsIfUnique): New method.
15879
15880         * paragraph.C (GetPositionOfInset): Handle bibkey.
15881
15882 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * BufferView_pimpl.h: change type of Position::par_pos to
15885         LyXParagraph::size_type.
15886
15887 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15888
15889         * BufferView_pimpl.C (savePosition, restorePosition): Write
15890         messages to minibuffer.
15891
15892 2001-01-28  José Matos  <jamatos@fep.up.pt>
15893
15894         * buffer.C (makeDocBookFile): adds support for document language.
15895         A silly restriction on the name of LatexCommand types where removed.
15896         Added support for CDATA sections, allows to chars unescaped, used
15897         among others in code, to avoid escape < and >.
15898
15899 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15900
15901         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15902         saved positions instrad of a stack. Furthermore, a position is
15903         stored using paragraph id/paragraph position.
15904
15905         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15906         Remove LFUN_REF_BACK.
15907
15908 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15909
15910         * converter.C (dvipdfm_options): New method.
15911
15912 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15913
15914         * vspace.C (isValidLength): Fix for empty input string.
15915
15916 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15917
15918         * LyXAction.C (init): change description of LFUN_FIGURE to
15919         "Insert Graphics"
15920
15921 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15922
15923         * LaTeX.C: add using directive
15924
15925 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15926
15927         * MenuBackend.C (expand): Fix the sorting of the formats.
15928
15929 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15930
15931         * lyx_main.C: tiny error message fix
15932
15933 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15934
15935         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15936         calling fl_initialize(). This fixes the problem with ',' as
15937         decimal separator in text files.
15938
15939 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * trans.C (process): Fix the keymap bug.
15942
15943 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15944
15945         * LaTeX.C (scanAuxFiles): New method. Provides support for
15946         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15947         (scanLogFile) Scan for "run BibTeX" messages.
15948
15949         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15950         OT1 font encoding. Also, load the aecompl package if the ae
15951         package is loaded.
15952
15953         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15954
15955 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * texrow.C (increasePos): turn two error messages into debug
15958         messages.
15959
15960 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * LaTeX.C (scanAux): Handle the \@input macro.
15963         (runBibTeX): Use scanAux().
15964
15965         * language.C (latex_options_): New field.
15966
15967         * LaTeXFeatures.C (getMacros): Add language macros.
15968
15969         * buffer.C (makeLaTeXFile): Small fix.
15970
15971 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15974
15975         * text2.C: add a using directive.
15976
15977 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15978
15979         * BufferView2.C:
15980         * lyx_gui_misc.h:
15981         * lyxfr1.C:
15982         * lyxfunc.C: kill LyXBell.
15983
15984 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15985
15986         * text.C (IsBoundary): Remove the error message
15987
15988         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15989
15990         * lyxrc.C (setDefaults): Correct initialization value for
15991         font_norm_type.
15992
15993 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15996         gotoError().
15997
15998         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15999         and GotoNextNote().
16000
16001         * src/LyXAction.C: Added reference-next.
16002
16003         * text.C (InsertChar): Use contains instead of strchr.
16004
16005         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16006
16007 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16008
16009         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16010         alignment commands (when needed).
16011
16012         * text.C (InsertChar): Add ':' to number separator chars.