]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ed860f8eb78bc075f926c39d6a4f4abbdfe570a4
[lyx.git] / src / ChangeLog
1 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * client: new dir
4
5         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
6         (BOOST_LIBS): use top_buildir when looking for the file
7
8 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
9
10         * pch.h: do not use include boost/format.hpp, multiple symbols
11                 will result (gcc bug)
12
13
14 2004-08-23  José Matos  <jamatos@lyx.org>
15
16         * bufferparams.C (readToken): fix reading of the author field.
17
18 2004-08-20  José Matos  <jamatos@lyx.org>
19
20         * lyxrc.C: remove support/translator.h inclusion since it is not used.
21
22 2004-08-20  José Matos  <jamatos@lyx.org>
23
24         * lyxlex.[Ch] (findToken): remove function.
25
26         * ParagraphParameters.C (findToken):
27         * bufferparams.C (findToken): replace call for previous function
28         with local copy. This local function has one more argument, the
29         read string argument.
30
31 2004-08-16  José Matos  <jamatos@lyx.org>
32
33         * ParagraphParameters.C (write):
34         * Spacing.C (writeFile):
35         * bufferparams.C (writeLaTeX):
36         * lyx_cb.C (Reconfigure):
37         * paragraph.C (write):
38         * tabular.C (write): remove unnecessary space at end of line.
39
40
41 2004-08-16  José Matos  <jamatos@lyx.org>
42
43         * text.C (readParagraph): remove debug message.
44
45 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
48         crash
49
50         * output_plaintext.C (asciiParagraph): set depth correctly
51
52         * outputparams.h: add member depth
53
54         * paragraph_funcs.C (ownerPar): remove.
55
56         * text2.C (setCounter): remove first_pit; comment out some
57         non-working code that uses ownerPar
58
59         * BufferView.C (getParentLanguage): remove. Not used anymore, and
60         uses ownerPar
61
62 2004-08-16  José Matos  <jamatos@lyx.org>
63
64         * text.C (readParToken, readParagraph, read): report all unknown tokens.
65         For the same level of importance use the same chanel to report problems.
66         (read): add code to deal with \begin_body and \end_body.
67
68
69 2004-08-15  José Matos  <jamatos@lyx.org>
70
71         * lyxlex.C (getString): fix comment, buffer::readBody is now
72         buffer:readDocument.
73
74         * tex-strings.C (string_papersize): Default -> default,
75         Custom -> custom, for consistency with other options.
76
77 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
78
79         * pch.h: new file
80
81         * Makefile.am: support pch
82
83 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * text.C (readParToken): remove the static LyXFont variable and
86         pass it as a parameter instead. This fixes a nasty bug where an
87         inset will be inserted with a bad font in some situations
88         (readParagraph): adapt
89
90         * text2.C (setCounter): reduce number of calls to pars_[pit]
91
92         * text.C (singleWidth): add an assert, fix a test
93
94         * rowpainter.C (paintText): reduce number of calls to singleWidth
95
96         * paragraph.C (isHfill):
97         (isNewline): ws only
98
99 2004-08-14  André Pönitz  <poenitz@gmx.net>
100
101         * text.C:
102         * text2.C:
103         * rowpainter.C:
104         * lyxtext.h (several functions): use a Paragraph & argument
105         instead of par_type
106
107 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * metricsinfo.h: add a new field ltr_pos to PainterInfo
110
111         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
112
113         * text.C (singleWidth): remove useless test
114
115 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * tabular.h: remove bogus comments
118
119         * tabular.C (getDescentOfRow):
120         (isPartOfMultiColumn): add assertions
121
122         * lyxlength.C (inPixels): remove #warning
123
124 2004-08-14  André Pönitz  <poenitz@gmx.net>
125
126         * paragraph.h: inline getChar()
127
128         * BufferView.h: remove unused declarations
129
130 2004-08-14  José Matos  <jamatos@lyx.org>
131
132         * Buffer.[Ch] (readDocument): new name for old readBody.
133         * Buffer.C: new file format, new keywords: \begin_document,
134         \begin_header, \begin_body, \end_body.
135
136         * bufferparams.C (readToken): replace all calls to lex.nextToken
137         by lex.next(). Do the same to eatLine except where really needed.
138
139         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
140         line when writing to the lyx file.
141
142         * output_plaintext.C (asciiParagraph): fix Bibliography style
143         handling.
144
145         * text.C (read): fix end of file handling.
146
147 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * MenuBackend.C (Menu::operator[]): new method to access
150         individual menu items
151         (Menu::hasFunc): new method. search for an item that corresponds
152         to a given func
153         (MenuBackend::specialMenu): new method
154         (MenuBackend::expand): if a special menu has been set, skip
155         entries whose func() appears in this menu
156
157 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
158
159         * text3.C: use Debug::DEBUG a bit more
160
161         * text.C (leftMargin): try to simplify a tiny bit change var x to
162         l_margin. Dont output the wide margins always.
163         (rightMargin): no margin in inner texts
164
165         * rowpainter.h (nestMargin): new func
166         (changebarMargin): new func
167         (rightMargin): new func
168
169         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
170         now functions.
171         (paintLast): ditto
172
173         * factory.C (createInset): modify setDrawFrame
174
175         * cursor.C: use Debug::DEBUG a bit more
176
177 2004-08-14  André Pönitz  <poenitz@gmx.net>
178
179         * coordcache.[Ch]:
180         * Makefile.am: new files to accomodate an 'external' (x,y)-position
181         cache for all insets in (at least partially) visible (top-level)
182         paragraphs.
183
184         * BufferView_pimpl.C: reset external coord cache before every update.
185         This means the coord cache only contains valid entries.
186
187 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
188
189         bug 1096
190         * BufferView_pimpl.C (getInsetByCode): move function out of class
191         and change in to a template in anon namespace. Also fix to do what
192         suits us better.
193
194 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
195
196         bug 1305
197         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
198         of char
199         (breakParagraph): rename par to par_offset and use a local
200         reference. Add code to keep the language over a rebreak.
201         (breakParagraphConservative): rename par to par_offset, use a
202         local reference
203         (mergeParagraph): ditto
204         (outerHook): ditto
205         (isFirstInSequence): ditto
206         (outerFont): rename pit to par_offset
207
208         * paragraph.C: ws change
209         * paragraph.h: ditto
210         * text3.C: ditto
211         * text.C: ditto
212
213 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
216         treatment for ']'
217
218         * paragraph.C (simpleTeXOnePar): when we have a \item with
219         optional argument, enclose the argument with curly brackets (in
220         case it contains a closing square bracket)
221
222         * text2.C (editXY):
223         * text2.C (editXY):
224         * text3.C (checkInsetHit): constify
225
226 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
229         documents (bug 1629)
230
231 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         Fix toggling of collapsable insets with the mouse (bug 1558)
234
235         * lyxfunc.C (dispatch): adapt to LCursor changes
236
237         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
238         make sure that dispatch is not invoked twice
239
240         * cursor.C (needsUpdate): new method
241         (dispatch): return void
242         (result): new method, to access the DispatchResult of the cursor.
243
244 2004-08-13  José Matos  <jamatos@lyx.org>
245
246         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
247
248 2004-08-13  André Pönitz  <poenitz@gmx.net>
249
250         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
251
252         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
253           multiple cells
254
255 2004-08-12  André Pönitz  <poenitz@gmx.net>
256
257         * text3.C: take out the 'cursor right' form insertInset and only
258         do it in those places when it is really needed. Fixes crash on
259         C-m...
260
261 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
264
265         * BufferView_pimpl.C (setBuffer): initialize the current font of
266         the underlying LyXText
267
268 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * kbsequence.C (print): use UI native formatting for menu
271         shortcuts
272
273         * text.C (insertChar): call Paragraph::insertChar with a font
274         argument (cosmetic)
275
276         * paragraph.C (insertInset, insertChar): the version that takes a
277         LyXFont argument is now a wrapper around the other one (the
278         opposite used to be true).
279
280         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
281         argument. Font setting is done in Paragraph now.
282
283 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * outputparams.h: add new members intitle and lang.
286
287         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
288         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
289
290 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
291
292         * text3.C (dispatch): remove special handling of button 4 and 5,
293         it is now taken care of in the frontend code.
294
295 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
296
297         * Spacing.h: add <string> (STLPort compile fix)
298
299 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
300
301         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
302
303 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
304
305         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
306         to bool.
307
308         * converter.C (showMessage): inherit from unary_function, make
309         operator() const.
310
311         * buffer.C (writeFile): initialize retval
312
313         * InsetList.h: rename private variable list to list_
314         * InsetList.[Ch]: adjust accordingly.
315
316 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
317
318         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
319         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
320         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
321         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
322         * ParagraphParameters.C, LaTeXFeatures.C: replace
323         "support/std_sstream.h" with <sstream>
324
325 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
328         * lyxsocket.C (LyXServerSocket): ditto
329         (serverCallback): ditto
330
331 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
332
333         * LaTeXFeatures.C: check release date when loading jurabib.
334
335 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
336
337         * lyxserver.C (startPipe): call register_socket_callback
338         (endPipe): call unregister_socket_callback
339
340 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
341
342         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
343         (LyXServerSocket): register the callback
344         (LyXServerSocket): unregister the callback
345         (fd): delete function
346         (serverCallback): improve error checking and setup the callbacks.
347         (dataCallback): change arg to fd.
348         (writeln): new func (copied fro the client socket) used for server
349         write to client.
350         (LyXDataSocket): simplify
351         (~LyXDataSocket): close ann unregiser callback
352         (server): delete function
353         (fd): delete function
354         (readln): small changes, improve some std::string usage
355         (writeln): constify a bit
356
357 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
360         Qt frontend
361
362 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * BufferView_pimpl.C (setBuffer): set the layout combox value only
365         after it has been populated
366
367 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * text2.C (insertInset): move cursor when inserting inset.
370
371 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * kbmap.C (findbindings): a couple of new methods. returns a
374         container of kb_sequence objects. The real work is done by the
375         private recursive version
376         (printbindings): uses findbindings to print out a bracketed list
377         of bindings (renamed from findbinding).
378
379         * MenuBackend.C (binding): use kb_keymap::findbindings
380
381         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
382
383 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
384
385         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
386
387 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * paragraph.C (isWord): return true on insets that report
390         isLetter().
391
392         * text.C (getWord): use Paragraph::isWord to decide what is in a
393         word and what is not; fix bug 1609.
394
395 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
396
397         * tex-strings.C: add "none" to string_paperpackages[], fixes
398         off-by-one-error in the paperpackage selection.
399
400         * lyxlex.[Ch]:
401         * tex-strings.[Ch]: char const * string[n]
402         -> char const * const string[]
403
404 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
407         command, return early.
408
409 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * debug.h: add DEBUG to enum and fix size of ANY.
412
413         * debug.C: add support for Debug::DEBUG
414         (showTags): cast errorTags.level to unsigned int
415
416         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
417         (redoCurrentBuffer): ditto
418         (updateScrollbar): ditto
419         * cursor.C (dispatch): ditto
420         * text2.C (setLayout): ditto
421         (setFont): ditto
422         (updateCounters): ditto
423         (editXY): ditto
424         (deleteEmptyParagraphMechanism): ditto
425
426 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
427
428         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
429         annotations to cleanup the Makefile slightly.
430
431 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * lyxrc.C: do not set user_email to a default value but use empty
434         instead. The entry used to be translated, which does not work
435         since at the point where lyxrc is constructed there is no
436         translation service available
437
438         * messages.C (getLocaleDir): remove and use directly
439         lyx_localedir() instead
440
441 2004-06-02  Angus Leeming  <leeming@lyx.org>
442
443         Fix crash caused by dereferencing null pointer 'exportdata' in
444         OutputParams by creating a new ExportData variable on the heap,
445         storing it in a boost::shared_ptr.
446         The crash was triggered when generating an Instant Preview
447         of an external inset.
448
449         * Makefile.am: add outputparams.C
450
451         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
452         (c-tor): allocate memory to it.
453
454         * exporter.C (c-tor): associated changes.
455
456 2004-06-01  Angus Leeming  <leeming@lyx.org>
457
458         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
459         contains data before calling isInset(0). (Bug 1513.)
460
461 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
462
463         * exporter.C (checkOverwrite): new method
464         * exporter.C (copyFile): new method
465         * exporter.C (Export): copy referenced files to the document dir
466         * exporter.[Ch]: new class ExportedFile
467         * exporter.[Ch]: new class ExportData. Contains currently the
468         names of referenced external files
469         * outputparams.h: add exportdata member.
470
471 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
472
473         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
474         version.C-tmp
475
476 2004-05-19  Angus Leeming  <leeming@lyx.org>
477
478         * LaTeXFeatures.C:
479         * ToolbarBackend.C:
480         * bufferparams.C:
481         * lyxfunc.C: small changes due to the introduction of namespace
482         lyx::frontend and the moving of namespace biblio to lyx::biblio.
483
484 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
485
486         * text3.C (dispatch): supress update when only moving the cursor
487         * cursor.C (selHandle): remove commented code
488
489 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
490
491         * paragraph.C (startTeXParParams): correct column count
492         * CutAndPaste.C (pasteSelection): remove const_cast
493         * output_docbook.C (docbookParagraphs): remove const_cast
494         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
495         const_cast and return ParagraphList::const_iterator
496         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
497         * output_plaintext.C (writeFileAscii): remove const_cast
498         * paragraph.[Ch] (simpleTeXOnePar): make const
499         * paragraph_funcs.C (outerPar): use const iterators
500         * paragraph_pimpl.C (validate): use const iterators
501         * text.C (setHeightOfRow): use const iterators
502
503 2004-05-17  Angus Leeming  <leeming@lyx.org>
504
505         * lfuns.h:
506         * LyXAction.C (init): new LFUN_INSET_REFRESH.
507
508         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
509         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
510         if the citation engine has changed.
511
512 2004-05-14  José Matos  <jamatos@lyx.org>
513
514         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
515         if the textclass does not provide it. Have it different for sgml and
516         xml.
517         support the language of document.
518         * output_docbook.C (docbookParagraphs):
519         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
520         first anchor as the id of the paragraph, remove special case code.
521         * sgml.C (escapeChar): escape only < & >.
522
523 2004-05-14  Angus Leeming  <leeming@lyx.org>
524
525         * bufferparams.h: move biblio::CiteEngine enum here to minimize
526         dependencies on src/frontends/controllers/biblio.h. Define a
527         CiteEngine_enum wrapper class to enable the enum to be forward
528         declared.
529
530 2004-05-12  Angus Leeming  <leeming@lyx.org>
531
532         * buffer.C: up LYX_FORMAT to 234.
533         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
534         use_numerical_citations with a single biblio::CiteEngine cite_engine
535         variable.
536         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
537
538 2004-05-13  José Matos  <jamatos@lyx.org>
539
540         * converter.h:
541         * converter.C (Converter, readFlags): add xml member.
542         * outputparams.h: add XML flavor.
543         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
544
545 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * lyxfunc.C (dispatch):
548         (getStatus): fix handling of LFUN_SEQUENCE
549
550 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * debug.C (showLevel): do not forget the end-of-line marker
553
554 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * kbmap.C (read): do not stop parsing a bind file when an error
557         occurs (bug 1575)
558
559 2004-04-29  Angus Leeming  <leeming@lyx.org>
560
561         * cursor.C:
562         * factory.C:
563         * pariterator.C:
564         * text2.C: wrap a bunch of #warning statements
565         inside #ifdef WITH_WARNINGS blocks.
566
567 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
568
569         * buffer.C: increment format to 233.
570
571 2004-04-28  Angus Leeming  <leeming@lyx.org>
572
573         * BufferView_pimpl.C:
574         * lyxfunc.C:
575         * text3.C:
576         s/updateToolbar()/updateToolbars()/
577         s/Toolbar.h/Toolbars.h/
578
579 2004-04-28  Angus Leeming  <leeming@lyx.org>
580
581         * BufferView.[Ch] (c-tor):
582         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
583         No longer passes these data to the WorkArea generator.
584
585 2004-04-28  Angus Leeming  <leeming@lyx.org>
586
587         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
588
589 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
592
593 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * output_latex.C (TeXEnvironment): make sure that there is a line
596         break before \end{foo} for the last paragraph of a document
597         (TeXOnePar): if the paragraph is at the end of the document (or
598         inset) and the language has to be reset, then make sure that the
599         line break is _before_ the language command, not after (fixes bug
600         1225); also make sure that the language reset command is the first
601         thing after the paragraph (to ensure proper nesting of
602         environments and thus fix bug 1404)
603
604 2004-04-21  John Levon  <levon@movementarian.org>
605
606         * ToolbarBackend.h:
607         * ToolbarBackend.C: make "name" be a programmatic name
608         and a gui_name field.
609
610         * lyxfunc.C: display the minibuffer on M-x
611
612 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
615         (bug 1526)
616
617 2004-04-19  Angus Leeming  <leeming@lyx.org>
618
619         * BufferView_pimpl.C (setBuffer): changed preview interface.
620
621         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
622         possible values.
623
624 2004-04-19  John Levon  <levon@movementarian.org>
625
626         * BufferView_pimpl.C:
627         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
628
629 2004-04-05  Angus Leeming  <leeming@lyx.org>
630
631         * text.C (redoParagraphs): add call to updateCounters(), thereby
632         fixing the missing "Figure #:" label from the caption of a
633         figure float.
634
635 2004-04-13  Angus Leeming  <leeming@lyx.org>
636
637         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
638         cursor is clicked out of an inset.
639
640 2004-04-13  Angus Leeming  <leeming@lyx.org>
641
642         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
643         than an InsetOld one.
644
645 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
646
647         * format.[Ch]: add editor to Format
648         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
649         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
650
651 2004-04-08  André Pönitz  <poenitz@gmx.net>
652
653         * metricsinfo.h: remove PainterInfo::width member
654
655 2004-04-08  Angus Leeming  <leeming@lyx.org>
656
657         * lyx_sty.C (boldsymbol_def): modify so that it outputs
658         "\providecommand" rather than "\newcommand", thereby preventing
659         clashes with packages that define "\boldsymbol" themselves.
660         Eg, beamer.
661
662 2004-04-08  Angus Leeming  <leeming@lyx.org>
663
664         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
665         thereby squashing an unnecessary warning.
666
667 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
668
669         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
670         setBuffer()
671
672 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * BufferView.C (setCursor): call redoParagraph (some insets could
675         have been opened)
676         (putSelectionAt): remove the 'double update' trick
677
678         * BufferView_pimpl.C (fitCursor): call refreshPar
679         (workAreaDispatch): remove an uneeded update call
680         (dispatch): remove some manual update calls
681
682         * cursor.[Ch]: remove cached_y_, updatePos
683         (selHandle): set noUpdate when appropriate
684
685         * lyxfunc.C (dispatch): track if we need an update
686
687         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
688
689         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
690         (paintSelection): cheap optimization, do not call cursorX when not
691         needed
692         (paintPars): change signature
693         (refreshPar): add
694         (paintText): adjust
695         (paintTextInset): adjust
696
697         * text.C: adjust
698
699 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lengthcommon.C: compilation fix: remove explicit array size from
702         unit_name[] and friends
703
704 2004-04-05  Angus Leeming  <leeming@lyx.org>
705
706         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
707
708         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
709         present only for the preferences dialog.
710         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
711
712 2004-04-05  Angus Leeming  <leeming@lyx.org>
713
714         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
715         to enable the frontends to export changes to lyxrc correctly.
716
717         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
718
719 2004-04-07  André Pönitz  <poenitz@gmx.net>
720
721         * cursor.[Ch] (selClear, adjust): remove math
722
723         * cursor_slice.C: more agressive assert
724
725         * lyxfunc.C:
726         * BufferView_pimpl.C: rework mouse event dispatch
727
728         * dociterator.C:
729         * paragraph.C:
730         * text2.C:
731         * text3.C: adjust
732
733 2004-04-05  André Pönitz  <poenitz@gmx.net>
734
735         * cursor.[Ch] (valign, halign...): remove unneeded functions
736
737 2004-04-05  Angus Leeming  <leeming@lyx.org>
738
739         * lyxlength.[Ch] (unit_name et al.): const-correct.
740
741 2004-04-05  Angus Leeming  <leeming@lyx.org>
742
743         * BufferView_pimpl.C:
744         * buffer.C:
745         * counters.C:
746         * cursor.C:
747         * lyxfunc.C
748         * paragraph.C:
749         * pariterator.C:
750         * text.C:
751         * text2.C:
752         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
753
754 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
755
756         * text3.C (getStatus): add LFUN_BEGINNINGBUF
757
758 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * lyxfind.C: add a couple of inTexted() tests + other small fixes
761         * BufferView_pimpl.[Ch] (getStatus)
762         * BufferView.[Ch] (getStatus): add
763         * lyxfunc.C (getStatus): move lfuns handled in
764         BufferView::dispatch to te function above
765         * Cursor.C (setSelection): set selection() = true
766
767 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
768
769         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
770
771 2004-03-31  Angus Leeming  <leeming@lyx.org>
772
773         * lyxfunc.C (dispatch): Fall through to the generic
774         Dialogs::show("preamble").
775
776 2004-03-31  Angus Leeming  <leeming@lyx.org>
777
778         * lyxfunc.C (dispatch): Fall through to the generic
779         Dialogs::show("spellchecker").
780
781 2004-03-31  Angus Leeming  <leeming@lyx.org>
782
783         * lyxfunc.C (getStatus, dispatch): changed invocation of the
784         preferences dialog.
785
786 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
787
788         * BufferView.C
789         * cursor.[Ch]
790         * dociterator.[Ch]:
791         * insetiterator.[Ch]:
792         * lyxfind.C:
793         * lyxfunc.C:
794         * pariterator.[Ch]:
795         * text2.C:
796         * undo.[Ch]: s/DocumentIterator/DocIterator/g
797
798 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
799
800         * BufferView.C (setCursor, putSelectionAt): call edit to open the
801         insets where we are putting the cursor.
802
803 2004-03-31  Angus Leeming  <leeming@lyx.org>
804
805         * lfuns.h:
806         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
807
808         * lyxrc.[Ch] (read, write): overloaded member functions taking
809         a std::[io]stream arguments.
810
811         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
812
813 2004-03-31  Angus Leeming  <leeming@lyx.org>
814
815         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
816         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
817
818         * lyxtextclass.C (load): if the text class couldn't be loaded, then
819         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
820
821 2004-03-31  Angus Leeming  <leeming@lyx.org>
822
823         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
824         the LFUN_ALL_INSETS_TOGGLE code.
825
826 2004-03-30  Angus Leeming  <leeming@lyx.org>
827
828         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
829         has died. Fall through to the generic Dialogs::show("document").
830
831 2004-03-30  Angus Leeming  <leeming@lyx.org>
832
833         * lfuns.h:
834         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
835         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
836
837         * lyxfunc.C (getStatus, dispatch): define the actions for these
838         lfuns. Little more than a cut and pste job from ControlDocument.C
839
840         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
841
842 2004-03-30  Angus Leeming  <leeming@lyx.org>
843
844         * lfuns.h:
845         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
846         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
847
848         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
849         open/closed state of ollapsable insets. Usage:
850
851         all-inset-toggle <state> <name>, where
852         <state> == "open" || "closed" || "toggle" and
853         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
854
855         * lyxtext.h, text2.C (toggleInset): removed.
856
857         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
858         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
859         now passes LFUN_INSET_TOGGLE to the found inset.
860
861         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
862         is now invoked as "all-insets-toggle toggle branch".
863
864 2004-03-30  Angus Leeming  <leeming@lyx.org>
865
866         * dociterator.C:
867         * insetiterator.C:
868         * pariterator.[Ch]: added/corrected header blurb.
869
870 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
871
872         * dociterator.[Ch]: add an inset_ member
873         (backwardPos): implemented
874         (backwardPos, forwardPos): use inset_ when the stack is empty.
875         (doc_iterator_begin, doc_iterator_end): implemented
876         * pariterator.[Ch]: adjust, add begin, end
877         * insetiterator.[Ch]: adjust, add begin, end
878         * cursor.C:
879         * document.C:
880         * BufferView.C:
881         * BufferView_pimpl.C:
882         * CutAndPaste.C: adjust
883
884 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
885
886         * buffer.C: increment file format to 232.
887         * LaTeXFeatures.C: add bibtopic package.
888         * bufferparams.[Ch]: param \use_bibtopic.
889
890         * lyxrc.[Ch]: add lyxrc bibtex_command
891         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
892
893         * buffer.C: increment file format to 231.
894
895 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * dociterator.C: implement forwardPar
898         * iterators.[Ch]: remove, replaced by
899         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
900         * BufferView.C:
901         * BufferView_pimpl.C:
902         * CutAndPaste.C:
903         * buffer.C:
904         * bufferview_funcs.C:
905         * cursor.C:
906         * lyxfind.C
907         * lyxfunc.C
908         * paragraph_funcs.C
909         * toc.C:
910         * Makefile.am: adjust
911
912 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
913
914         * CutAndPaste.C (pasteSelection): fix 2 crashes
915         (eraseSelection): fix a crash
916         * paragraph_funcs.C: remove a warning
917
918 2004-03-28  Angus Leeming  <leeming@lyx.org>
919
920         * lfuns.h:
921         * LyXAction.C (init): new LFUN_PRINT.
922
923         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
924
925 2004-03-27  Angus Leeming  <leeming@lyx.org>
926
927         * lfuns.h:
928         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
929
930         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
931
932 2004-03-27  Angus Leeming  <leeming@lyx.org>
933
934         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
935         insetlist always contains non-null pointers to insets.
936
937 2004-03-26  Angus Leeming  <leeming@lyx.org>
938
939         * src/BufferView_pimpl.C:
940         * src/CutAndPaste.C:
941         * src/buffer.C:
942         * src/iterators.C:
943         * src/output_plaintext.C:
944         * src/outputparams.h:
945         * src/paragraph_funcs.C:
946         * src/rowpainter.C:
947         * src/text.C:
948         * src/text2.C:
949         * src/frontends/controllers/ControlErrorList.C:
950         * src/frontends/gtk/FileDialogPrivate.C:
951         * src/frontends/gtk/GPainter.C:
952         * src/frontends/gtk/GToolbar.C:
953         * src/frontends/qt2/QRef.C:
954         * src/mathed/math_scriptinset.C: squash compiler warnings.
955
956 2004-03-26  Angus Leeming  <leeming@lyx.org>
957
958         * ispell.C (LaunchIspell::start):
959         * lyx_cb.C (AutoSaveBuffer::start):
960         invoke run(DontWait) rather than runNonBlocking().
961
962 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
963
964         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
965
966 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * kbsequence.C (print): adjust
969
970         * kbmap.C (printKeySym): rename and change signature
971         (printKey): use LyXKeySym::print()
972
973 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * undo.C: add using std::advance to compile for stlport
976
977 2004-03-24  Angus Leeming  <leeming@lyx.org>
978
979         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
980         it leads to a crash when no buffer is present.
981
982 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983             Martin Vermeer  <martin.vermeer@hut.fi>
984
985         * lyxfunc.C (dispatch):
986         * bufferparams.C (readToken): use the new LColor::setColor
987
988         * LColor.[Ch] (setColor): new version that takes two strings as
989         argument and creates a new color entry if necessary
990
991 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
992
993         * buffer.C (makeLaTeXFile): if the main latex file that is
994         processed is usually a subdocument of some master, then pretend
995         for a while that it is actually the master
996
997 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
998
999         * buffer.C (getLabelList):
1000         (getBibkeyList): use getMasterBuffer()
1001         (getMasterBuffer): new method. Returns the main document in the
1002         case where one is using included documents.
1003
1004 2004-03-25  André Pönitz  <poenitz@gmx.net>
1005
1006         * Makefile.am:
1007         * iterators.[Ch]:
1008         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1009
1010         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1011
1012         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1013         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1014
1015         * ParameterStruct.h: merge with ParagraphParameters
1016
1017         * lyxtext.h: remove LyXText::parOffset() and getPar()
1018
1019         * text3.C: Remove all 'manual' update calls. We do now one per user
1020         interaction which is completely sufficient.
1021
1022         * Bidi.C:
1023         * BufferView.[Ch]:
1024         * BufferView_pimpl.C:
1025         * FontIterator.[Ch]:
1026         * MenuBackend.C:
1027         * ParagraphParameters.[Ch]:
1028         * buffer.C:
1029         * buffer.h:
1030         * bufferlist.C:
1031         * cursor.[Ch]:
1032         * cursor_slice.[Ch]:
1033         * dociterator.[Ch]:
1034         * errorlist.[Ch]:
1035         * factory.C:
1036         * lfuns.h:
1037         * lyxfind.C:
1038         * lyxfunc.C:
1039         * output_docbook.[Ch]:
1040         * output_latex.[Ch]:
1041         * output_linuxdoc.[Ch]:
1042         * output_plaintext.[Ch]:
1043         * paragraph.[Ch]:
1044         * paragraph_funcs.[Ch]:
1045         * paragraph_pimpl.[Ch]:
1046         * rowpainter.C:
1047         * tabular.[Ch]:
1048         * text.C:
1049         * text2.C:
1050         * toc.C:
1051         * undo.[Ch]: adjust
1052
1053         * frontends/controllers/ControlDocument.C:
1054         * frontends/controllers/ControlErrorList.C:
1055         * frontends/controllers/ControlSpellchecker.C:
1056         * insets/inset.C:
1057         * insets/inset.h:
1058         * insets/insetbase.h:
1059         * insets/insetbibitem.C:
1060         * insets/insetbox.C:
1061         * insets/insetbranch.C:
1062         * insets/insetcaption.C:
1063         * insets/insetcharstyle.C:
1064         * insets/insetcharstyle.h:
1065         * insets/insetcollapsable.C:
1066         * insets/insetcollapsable.h:
1067         * insets/insetert.C:
1068         * insets/insetfloat.C:
1069         * insets/insetfoot.C:
1070         * insets/insetmarginal.C:
1071         * insets/insetnote.C:
1072         * insets/insetoptarg.C:
1073         * insets/insettabular.C:
1074         * insets/insettext.C:
1075         * insets/insettext.h:
1076         * insets/insetwrap.C:
1077         * mathed/math_mboxinset.C:
1078         * mathed/math_nestinset.C:
1079         * mathed/math_scriptinset.C:
1080         * mathed/math_scriptinset.h:
1081         * support/types.h:
1082
1083 2004-03-24  Angus Leeming  <leeming@lyx.org>
1084
1085         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1086         deal with any child processes that have finished but are waiting to
1087         communicate this fact to the rest of LyX.
1088
1089 2004-03-24  Angus Leeming  <leeming@lyx.org>
1090
1091         64-bit compile fixes.
1092
1093         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1094         (c-tor): pass lyx::pos_types rather than ints.
1095
1096         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1097         lyx::pos_type.
1098
1099         * text.C (Delete): compile fix.
1100         (getPar): ensure that function declaration is the same as that in
1101         the header file.
1102
1103 2004-03-23  Angus Leeming  <leeming@lyx.org>
1104
1105         * ispell.C (LaunchIspell):
1106         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1107         a boost::shred_ptr rather than a std::auto_ptr.
1108
1109 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1112         handle LFUN_FILE_INSERT_*
1113
1114         * lyxrc.C (setDefaults, getDescription, output, read):
1115         * lyxrc.h: remove ps_command
1116
1117 2004-03-22  Angus Leeming  <leeming@lyx.org>
1118
1119         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1120         Ensure that error_handler is processed once only and that all data
1121         is saved before attempting to output any warning messages.
1122
1123         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1124
1125 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1126
1127         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1128
1129 2004-03-19  André Pönitz  <poenitz@gmx.net>
1130
1131         * cursor.[Ch] (reset): take main text inset as argument
1132
1133         * BufferView: adjust
1134         * BufferView_pimpl.C: adjust
1135
1136         * paragraph.[Ch]: fix completely broken operator=()
1137
1138 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1139
1140         * LColor.C (getFromLyXName): make sure that the color name is used
1141         as lowercase.
1142
1143 2004-03-17  Angus Leeming  <leeming@lyx.org>
1144
1145         * lfuns.h:
1146         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1147
1148         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1149         dialog and to kill a forked process.
1150
1151 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1152
1153         * text2.C (setCursorFromCoordinates): fix font problem
1154
1155 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1158         bogus "rebuild cursor" code
1159
1160 2004-03-11  André Pönitz  <poenitz@gmx.net>
1161
1162         * buffer.[Ch]: use InsetText instead of LyXText as container for
1163         the main lyx text.
1164
1165         * dociterator.[Ch]: drop the BufferView * member which is not needed
1166         anymore after the change to buffer.C
1167
1168         * paragraph_funcs.C:
1169         * text.C:
1170         * text2.C:
1171         * BufferView.[Ch]:
1172         * BufferView_pimpl.[Ch]:
1173         * cursor.[Ch]:
1174         * cursor_slice.[Ch]: adjust
1175
1176         * text3.C: fix bug in mathDispatch
1177
1178 2004-03-08  André Pönitz  <poenitz@gmx.net>
1179
1180         * undo.[Ch]: use 'StableDocumentIterator' as base for
1181         the Undo struct.
1182
1183 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1184
1185         * LaTeXFeatures.C:
1186         * bufferparams.[Ch]: add jurabib support and param.
1187
1188         * LaTeX.C: add FIXME/comment.
1189
1190 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1191
1192         * buffer.C: increment file format to 230.
1193
1194 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1195
1196         * cursor.C (dispatch): avoid infinite loops
1197
1198 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1199
1200         * rowpainter.C (paintSelection): fix x coordinates
1201
1202 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1203
1204         * text.C (rowBreakPoint): fix breaking before displayed insets
1205
1206 2004-03-01  André Pönitz  <poenitz@gmx.net>
1207
1208         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1209
1210         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1211
1212         * Makefile.am:
1213         * BufferView.C:
1214         * BufferView_pimpl.C:
1215         * buffer.C:
1216         * lyxfind.C:
1217         * lyxfunc.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C: adjust
1221
1222 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1223
1224         * lyxtext.h:
1225         * text.C:
1226         * text2.C:
1227         * rowpainter.C:
1228         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1229         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1230
1231 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * Bidi.[Ch] (computeTables): const correctness
1234         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1235         fill_hfill, fill_label_hfill and x from Row
1236         * lyxtext.h: prepareToPrint returns a RowMetrics
1237         * rowPainter.C: adjust
1238         * text.C (prepareToPrint): use width, not textWidth. adjust
1239         (redoParagraphInternal, cursorX): adjust
1240         * text2.C (getColumnNearX): adjust
1241         (init): put a default value to the top LyXText::width
1242
1243 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1246
1247 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * lyxtext.h: add FontIterator class
1250
1251         * text.C (FontIterator, operator*, operator->, operator++): add
1252         (rowBreakPoint, setRowWidth): adjust (fixing a
1253         rebreaking bug)
1254
1255 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * BufferView_pimpl.C (workAreaDispatch): allow also
1258         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1259
1260 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1261
1262         * text.C (rowBreakPoint): fix a bug showing with very large insets
1263
1264 2004-02-25  André Pönitz  <poenitz@gmx.net>
1265
1266         * text3.C:
1267         * cursor.[Ch]: move some mathed specific code to mathed
1268
1269 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1270
1271         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1272         use_tempdir in preferences
1273         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1274         tempfile creation
1275         * lyx_main.C: ensure that tempdir is valid
1276         * lyxlex.h: correct typo
1277         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1278         * paragraph.[Ch] (isMultiLingual): make const
1279         * cursor.[Ch] (openable): make const
1280
1281 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1284
1285 2004-02-20  André Pönitz  <poenitz@gmx.net>
1286
1287         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1288
1289         * cursor.[Ch]: prepare for localized getStatus()
1290
1291         * lyxtext.h:
1292         * tabular.C:
1293         * text.C:
1294         * text2.C:
1295         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1296
1297 2004-02-20  André Pönitz  <poenitz@gmx.net>
1298
1299         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1300
1301 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * text2.C (setCursorFromCoordinates): switch to absolute coords
1304         (cursorUp): adjust
1305         (cursorDown): adjust
1306         * text3.C (dispatch): adjust
1307
1308 2004-02-16  André Pönitz  <poenitz@gmx.net>
1309
1310         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1311           insets/ChangeLog)
1312
1313         * cursor_slice.[Ch]: remove unneeded acessor function
1314
1315         * lyxtext.h: rename rtl() to isRTL()
1316
1317         * rowpainter.C:
1318         * tabular.C:
1319         * text.C:
1320         * text2.C:
1321         * text3.C: adjust
1322
1323 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * rowpainter.C (paintSelection): coord fix
1326
1327 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1328
1329         * Spacing.C: compile fix
1330
1331 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * cursor.C (dispatch): restore current_ before returning
1334
1335 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * text2.C (cursorUp, cursorDown): fix coords
1338         (moveUp): fix crash
1339
1340 2004-02-12  André Pönitz  <poenitz@gmx.net>
1341
1342         * lyxtext.h:
1343         * text.C:
1344         * text2.C:
1345         * text3.C: add LCursor & parameter to most cursor movement functions
1346           remove usage of LyXText::cursorRow() and cursorPar()
1347
1348         * cursor.[Ch]: add textRow() needed members
1349
1350         * BufferView.C:
1351         * BufferView_pimpl.C:
1352         * paragraph.[Ch]:
1353         * BufferView.C:
1354         * BufferView_pimpl.C: adjust
1355
1356 2004-02-11  André Pönitz  <poenitz@gmx.net>
1357
1358         * lyxfunc.C:
1359         * BufferView.[Ch]:
1360         * BufferView_pimpl.C: shift undo/redo handling
1361
1362         * cursor.[Ch]: fix mathed crash
1363
1364         * lyxfind.C:
1365         * lyxtext.h: move selectionAsText to LCursor
1366
1367         * output_latex.C:
1368         * paragraph.C:
1369         * text.C:
1370         * text2.C:
1371         * text3.C: adjust
1372
1373         * rowpainter.C: fix excessive drawing
1374
1375 2004-02-06  André Pönitz  <poenitz@gmx.net>
1376
1377         * BufferView.[Ch]:
1378         * BufferView_pimpl.[Ch]:
1379         * text3.C: move some text specific LFUN handling
1380
1381 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * text3.C (checkInsetHit): adjust coords
1384         * text2.C (getColumnNearX): adjust coords
1385         (edit): adjust coords
1386         * text.C (getRowNearY): add two asserts
1387
1388 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1389
1390         * converter.C:
1391         * format.C: add using std::distance to compile on gcc 2.95/stlport
1392
1393 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1394
1395         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1396
1397 2004-02-04  André Pönitz  <poenitz@gmx.net>
1398
1399         * BufferView.[Ch] (insertInset):
1400         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1401
1402         * text2.C:
1403         * text3.C: adjust
1404
1405 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1406
1407         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1408         on the default clause of the switch
1409         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1410         wasn't catched by LCursor::dispatch
1411
1412 2004-02-03  André Pönitz  <poenitz@gmx.net>
1413
1414         * BufferView.C:
1415         * cursor.[Ch]: some additional asserts
1416
1417         * undo.[Ch]: remove LyXText dependency in interface
1418
1419         * lyxfunc.C: adjust
1420
1421         * lyxtext.h (firstPar, lastPar): remove dead functions
1422
1423         * text.C:
1424         * text2.C:
1425         * text3.C:
1426         * paragraph.[Ch]: adjust
1427
1428 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1429
1430         * lyxfind.C (find): fix argument order in call to ::find
1431
1432 2004-02-02  André Pönitz  <poenitz@gmx.net>
1433
1434         * cursor.[Ch]: remove direct access to anchor
1435
1436         * text.C: remove findText() hack
1437
1438 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * iterators.[Ch] (lockPath): remove in favour of...
1441         * BufferView.[Ch] (setCursor): this addition
1442         * BufferView.C (putSelectionAt): adjust
1443         * undo.C (performUndoOrRedo): adjust
1444         * lyxfunc.C (dispatch): adjust
1445
1446 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * iterators.C (lockPath): add a missing slice
1449         * undo.C (performUndoOrRedo): remove redundant positioning code
1450
1451 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1452
1453         * vc-backend.C (scanMaster): ";" -> ';'
1454
1455 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1458         std::binary_function
1459
1460         * lyxtextclass.C (compare_name): rename to...
1461         (LayoutNamesEqual): ...this
1462
1463         * lyxlex_pimpl.C (compare_tags): inherit from
1464         std::binary_function, put back into anon namespace
1465
1466         * lyxfind.C (MatchString): inherig from std::binary_function
1467         (findChange): use empty() istead of !size()
1468
1469         * format.C (FormatNamesEqual): new functor
1470         (getFormat): use it
1471         (getNumber): use it
1472         (add): use it
1473         (erase): use it
1474         (setViewer): use it
1475
1476         * converter.C (compare_Converter): rename to...
1477         (ConverterEqual): ...this, and fixup a bit.
1478         (getConverter): use it, and make function const
1479         (getNumber): use it, and make function const
1480         (add): use it
1481         (erase): use it:
1482
1483         * bufferlist.C: add using boost::bind
1484
1485         * MenuBackend.C (MenuNamesEqual): new functor
1486         (hasMenu): use it, and make function const
1487         (hasSubmenu): use nested bind to get rid of compare_memfun.
1488
1489 2004-01-30  André Pönitz  <poenitz@gmx.net>
1490
1491         * BufferView_pimpl.C:
1492         * cursor.C:
1493         * cursor.h:
1494         * cursor_slice.[Ch]:
1495         * lyxfunc.C:
1496         * lyxtext.h:
1497         * paragraph_funcs.C:
1498         * paragraph_funcs.h:
1499         * rowpainter.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C: move some of the edit(x,y) handling to the insets
1503         some coordinate changes.
1504
1505 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * text.C: add using statements for std::advance and std::distance
1508
1509         * paragraph.C: add using statement for std::distance
1510
1511         * lyxfind.C: add using statement for std::advance
1512
1513         * cursor.C (region): remove std:: from swap
1514         (openable): use nucleus in stead of operator->
1515
1516         * BufferView.C: add using statements for std::distance and std::swap
1517
1518 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1519
1520         * iterators.C: Remove the pimple, move the needed structures to
1521         the header file. Create accessor for the positions stack.
1522         (asPosIterator): remove function
1523
1524         * PosIterator.C (PosIterator): move constructors to top of file
1525         (PosIterator): reimplement the constructor taking a ParIterator in
1526         terms of setFrom.
1527         (setFrom): new function
1528         (operator!=): inline it
1529
1530 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * lyxfind.C (replaceAll): use std::advance
1533
1534         * iterators.h: inherit from std::iterator.
1535
1536         * PosIterator.C (advance, distance): remove
1537         * PosIterator.h: interit from std::iterator.
1538
1539 2004-01-26  André Pönitz  <poenitz@gmx.net>
1540
1541         * BufferView.[Ch]:
1542         * BufferView_pimpl.[Ch]:
1543         * InsetList.[Ch]:
1544         * PosIterator.[Ch]:
1545         * buffer.h:
1546         * bufferview_funcs.C:
1547         * cursor.[Ch]:
1548         * cursor_slice.h:
1549         * factory.[Ch]:
1550         * iterators.[Ch]:
1551         * lyxfind.C:
1552         * lyxfunc.C:
1553         * lyxtext.h:
1554         * output_docbook.C:
1555         * output_latex.C:
1556         * output_linuxdoc.C:
1557         * output_plaintext.C:
1558         * paragraph.[Ch]:
1559         * paragraph_funcs.[Ch]:
1560         * paragraph_pimpl.[Ch]:
1561         * rowpainter.C:
1562         * tabular.C:
1563         * tabular.h:
1564         * text.C:
1565         * text2.C:
1566         * text3.C: more IU:  dumps most of the rest of the mathcursor
1567     implementation into cursor.[Ch]; "globalize" a bit of it.
1568
1569 2004-01-25  Angus Leeming  <leeming@lyx.org>
1570
1571         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1572
1573 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1574
1575         * LaTeXFeatures.h: add nice_ and nice() const
1576         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1577
1578 2004-01-20  André Pönitz  <poenitz@gmx.net>
1579
1580         * BufferView.[Ch]:
1581         * BufferView_pimpl.C:
1582         * PosIterator.C:
1583         * bufferview_funcs.C:
1584         * cursor.[Ch]:
1585         * cursor_slice.[Ch]:
1586         * factory.C:
1587         * iterators.C:
1588         * lyx_cb.C:
1589         * lyxfind.C:
1590         * lyxfunc.C:
1591         * lyxtext.h:
1592         * rowpainter.C:
1593         * text.C:
1594         * text2.C:
1595         * text3.C:
1596         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1597           LCursor and mathcursor parts to LCursor and InsetBase.
1598
1599 2004-01-15  André Pönitz  <poenitz@gmx.net>
1600
1601         * cursor_slice.[Ch]: add a few covienience functions
1602
1603         * funcrequest.[Ch]: remove BufferView * member
1604
1605         * BufferView_pimpl.C:
1606         * cursor.C:
1607         * factory.[Ch]:
1608         * lyxfind.[Ch]:
1609         * lyxfunc.C:
1610         * lyxtext.h:
1611         * text3.C:
1612         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1613
1614 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1617         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1618
1619 2004-01-13  André Pönitz  <poenitz@gmx.net>
1620
1621         * textcursor.[Ch]:
1622         * lyxtext.h: hide cursor and selection anchor behind accessor function
1623
1624         * BufferView.C:
1625         * BufferView_pimpl.[Ch]:
1626         * PosIterator.C:
1627         * bufferview_funcs.C:
1628         * cursor.h:
1629         * lyxfind.C:
1630         * lyxfunc.C:
1631         * text.C:
1632         * text2.C:
1633         * text3.C:
1634         * undo.C: adjust
1635
1636         * cursor.h:
1637         * cursor_slice.[Ch]: some integer type changes for inset unification
1638
1639         * lyxcursor.[hC]: remove, it's CursorSlice now.
1640
1641         * Makefile.am:
1642         * BufferView_pimpl.[Ch]:
1643         * bufferview_funcs.C:
1644         * cursor_slice.C:
1645         * lyxtext.h:
1646         * text.C:
1647         * text2.C:
1648         * text3.C:
1649         * textcursor.[Ch]: adjust
1650
1651 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1652
1653         * text2.C (undoSpan): add and use
1654         * text.C (breakParagraph): use undoSpan (fix bug 578)
1655         * lyxtext.h: adjust
1656
1657 2004-01-08  Angus Leeming  <leeming@lyx.org>
1658
1659         * BufferView_pimpl.C (MenuInsertLyXFile):
1660         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1661         * lyxfunc.C (menuNew, open, doImport):
1662         FileFilterList change to the FileDialog open and save functions.
1663
1664 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1665
1666         * ShareContainer.h: make isEqual and isUnique adaptable
1667
1668         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1669
1670 2004-01-07  Angus Leeming  <leeming@lyx.org>
1671
1672         * LyXAction.C:
1673         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1674
1675         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1676
1677         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1678         functions replacing find, replace and replaceAll.
1679
1680         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1681         LFUN_WORDFIND(FORWARD|BACKWARD).
1682
1683 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * text.C (breakParagraph): remove an outdated #warning
1686
1687 2004-01-07  André Pönitz  <poenitz@gmx.net>
1688
1689         * lyxfind.C: somewhat clearer logic
1690
1691         * text.C: prevent crash in cursorX on unitialized row cache
1692
1693 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1694
1695         * lyxcursor.[Ch] (operator>): add
1696         * textcursor.C (selStart, selEnd): use std::min and std::max
1697
1698 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1699
1700         * Chktex.C: include boost/format.hpp
1701
1702 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1703
1704         * InsetList.C: replace functor MathcIt with adaptable functor
1705         InsetTablePosLess
1706         (insetIterator): modify accordingly
1707
1708         * BranchList.h: move the BranchNamesEqual functor here from...
1709         * BranchList.C: ... to here
1710
1711         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1712         SameName and match.
1713         (add): replace a finding loop with std::find_if.
1714
1715 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1716
1717         * output_docbook.C: moving LatexParam functionality into
1718         .layout files
1719
1720 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1721
1722         * buffer.C: increment format to 229.
1723
1724 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1725
1726         * LaTeXFeatures.C:
1727         * lyx_sty.[Ch]: remove minipageindent_def
1728
1729         * LyXAction.C:
1730         * factory.C:
1731         * lfuns.h:
1732         * lyxfunc.C:
1733         * text3.C: remove LFUN_INSET_MINIPAGE
1734
1735 2003-12-28  Angus Leeming  <leeming@lyx.org>
1736
1737         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1738
1739 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * text2.C (setParagraph): fix off-by-one crash
1742
1743 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1744
1745         * output_docbook.C: header stuff for AGU
1746
1747 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * text2.C (redoCursor): remove
1750         * text.C:
1751         * text3.C:
1752         * BufferView_pimpl.C: remove calls to redoCursor and
1753         setCursor(cursor.par(), cursor.pos()) all around
1754
1755 2003-12-15  Angus Leeming  <leeming@lyx.org>
1756
1757         * buffer.C: up the format to 228.
1758
1759 2003-12-15  André Pönitz  <poenitz@gmx.net>
1760
1761         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1762         slices
1763
1764         * Makefile.am:
1765
1766         * BufferView_pimpl.C:
1767         * cursor.[Ch]:
1768         * lyxcursor.[Ch]:
1769         * rowpainter.[Ch]:
1770         * lyxtext.h:
1771         * text.C:
1772         * text2.C:
1773         * text3.C: adjust
1774
1775 2003-12-15  Angus Leeming  <leeming@lyx.org>
1776
1777         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1778         than getFromGUIName to manipulate the color.
1779
1780 2003-12-14  Angus Leeming  <leeming@lyx.org>
1781
1782         * BranchList.[Ch]: minimize the API.
1783         (Branch::getBranch, getColor): now return a 'const &'.
1784         (Branch::setSelected) now returns a bool set to true if the
1785         selection status changes.
1786         (BranchList::clear, size, getColor, setColor, setSelected,
1787         allBranches, allSelected, separator): removed.
1788         (BranchList::find): new functions, returning the Branch with
1789         the given name.
1790         (BranchList::add, remove): return a bool indicating that
1791         the operation was successful.
1792
1793         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1794         new InsetBranch::isBranchSlected member function.
1795
1796         * LColor.[Ch]: mimimize the API.
1797         (fill): renamed as addColor and made private.
1798         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1799         versions of these functions taking a string arg have been removed.
1800
1801         * bufferparams.C (readToken):
1802         * lyxfunc.C (dispatch):
1803         * lyxrc.C (read): changes due to the altered BranchList and
1804         LColor APIs.
1805
1806         * factory.C (createInset, readInset): changes due to altered
1807         InsetBranch c-tor.
1808
1809 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1810
1811         * factory.C:
1812         * lyxfunc.C: remove insetminipage. "minipage-insert"
1813         now produces a frameless minipage box inset.
1814
1815 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * textcursor.[Ch] (selStart,selEnd): add new methods
1818         remove selection::start, end, use LyXCursor::operator<
1819         * lyxcursor.[Ch] (operator<): add
1820         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1821         * BufferView.[Ch] (unsetXSel): add
1822         * text2.C (clearSelection): use unsetXSel,adjust
1823         * text.C: adjust
1824         * text3.C: adjust
1825         * rowpainter.C: adjust
1826         * bufferview_funcs.C (put_selection_at): adjust
1827
1828 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1829
1830         * BufferView_pimpl.C: small coord. correction
1831
1832 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1833
1834         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1835         dragging over the splash screen.
1836
1837 2003-12-11  Angus Leeming  <leeming@lyx.org>
1838
1839         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1840         as it is now handled in LyXText::dispatch.
1841
1842         * text3.C (doInsertInset): remove a level of nesting.
1843
1844 2003-12-11  Angus Leeming  <leeming@lyx.org>
1845
1846         * factory.C (createInset): changes due to the changed interface to
1847         InsetCommandMailer::string2params.
1848
1849 2003-12-10  Angus Leeming  <leeming@lyx.org>
1850
1851         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1852         'dialog-show-new-inset <inset name>'
1853
1854 2003-12-10  Angus Leeming  <leeming@lyx.org>
1855
1856         * buffer.C: up the format to 227.
1857
1858         * factory.C: the box inset is now identified simply by 'Box'.
1859
1860 2003-12-10  Angus Leeming  <leeming@lyx.org>
1861
1862         * buffer.C: up the format to 226.
1863
1864         * factory.C: the note inset is now identified simply by 'Note'.
1865
1866 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1867
1868         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1869         when a pit is enough. Standarize a couple of loops.
1870
1871 2003-12-05  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1874         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1875         data to the re-worked "log" dialog.
1876
1877 2003-12-03  André Pönitz  <poenitz@gmx.net>
1878
1879         * PosIterator.C:
1880         * iterators.C:
1881         * lyxtext.h:
1882         * output_latex.C:
1883         * paragraph_funcs.C:
1884         * text.C:
1885         * text2.C: use Inset::getText instead of Inset::getParagraph
1886
1887 2003-12-03  André Pönitz  <poenitz@gmx.net>
1888
1889         * buffer.[Ch]:
1890         * lyxtext.h:
1891         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1892         InsetText::read() as LyXText::read()
1893
1894 2003-12-02  Angus Leeming  <leeming@lyx.org>
1895
1896         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1897         type. Add a comment in the implementation that the function uses
1898         the stream's bad() function rather than fail() as the std::streams
1899         would do.
1900
1901 2003-12-02  André Pönitz  <poenitz@gmx.net>
1902
1903         * lyxlex.[Ch]: make interface more similar to std::stream
1904
1905         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1906
1907 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1908
1909         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1910
1911 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1912
1913         * vspace.[Ch]: remove VSpace::NONE
1914
1915 2003-12-01  André Pönitz  <poenitz@gmx.net>
1916
1917         * buffer.[Ch]:
1918         * lyxtext.h: move ParagraphList member to LyXText
1919         rename LyXText::ownerParagraphs to LyXText::paragraph
1920
1921         * CutAndPaste.C:
1922         * bufferview_funcs.C:
1923         * iterators.[Ch]:
1924         * lyx_cb.C:
1925         * paragraph.C:
1926         * rowpainter.C:
1927         * tabular.C:
1928         * text.C:
1929         * text2.C:
1930         * text3.C: adjust
1931
1932         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1933
1934         * undo.C: fix cursor positioning
1935
1936 2003-12-01  John Levon  <levon@movementarian.org>
1937
1938         * BufferView_pimpl.C: fix a crash on exit with
1939         a buffer open
1940
1941 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1942
1943         * BranchList.C: fix setSelected() method.
1944
1945 2003-11-28  André Pönitz  <poenitz@gmx.net>
1946
1947         * ParagraphParameters.[Ch]:
1948         * ParameterStruct.h: remove space above/below from Paragraph to
1949          InsetVSpace
1950
1951         * BufferView_pimpl.C:
1952         * factory.C:
1953         * lyxfunc.C:
1954         * lyxtext.h:
1955         * output_latex.C:
1956         * paragraph.C:
1957         * paragraph_funcs.C:
1958         * rowpainter.[Ch]:
1959         * text.C:
1960         * text2.C:
1961         * text3.C: adjust
1962
1963 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1964
1965         * factory.C: Syntax change for CharStyles
1966
1967 2003-11-28  André Pönitz  <poenitz@gmx.net>
1968
1969         * BufferView.[Ch]:
1970         * BufferView.[Ch]:
1971         * buffer.[Ch]:
1972         * buffer.[Ch]: move LyXText member
1973
1974 2003-11-28  André Pönitz  <poenitz@gmx.net>
1975
1976         * BufferView.[Ch]: make LyXText * text a private member
1977
1978         * BufferView_pimpl.C:
1979         * cursor.C:
1980         * iterators.C:
1981         * lyx_cb.C:
1982         * lyxfind.C:
1983         * lyxtext.h:
1984         * rowpainter.[Ch]:
1985         * text.C:
1986         * text2.C:
1987         * undo.C: adjust
1988
1989         * output_plaintext.C: cleanup
1990
1991 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1992
1993         * buffer.C:
1994         * lyxtextclass.[Ch]: parametrize SGML document header
1995
1996 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1997
1998         * converter.[Ch]:
1999         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2000         getFlavor().
2001
2002 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * text2.C (setFont): rework using PosIterator (no more recursive)
2005         (setCharFont): no more needed
2006         (setLayout): no more selection cursors fiddling (done by redoCursor)
2007         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2008         destroy remaining ones)
2009
2010 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2013         * lyxtext.h: ditto
2014         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2015         selection cursors
2016         * lyxfunc.C: adjust
2017         * text3.C: adjust + re-allow multi par depth changes
2018         * textcursor.C: simplify a bit
2019
2020 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2021
2022         * src/buffer.C:
2023         * src/lyxlayout.C:
2024         * src/lyxlayout.h:
2025         * src/lyxtext.h:
2026         * src/output_docbook.C:
2027         * src/output_latex.C:
2028         * src/paragraph.C:
2029         * src/paragraph.h:
2030         * src/sgml.C:
2031         * src/sgml.h:
2032         * src/text2.C: Introducing a number of tags parametrizing various
2033         XML formats that we may want to support
2034
2035 2003-11-25  André Pönitz  <poenitz@gmx.net>
2036
2037         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2038
2039         * lyxtext.h (leftMargin/rightMargin): simplify interface
2040
2041         * rowpainter.C:
2042         * text.C:
2043         * text2.C:
2044         * text3.C: adjust
2045
2046 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2047
2048         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2049         master file to any child files. Fixes bug 546.
2050
2051 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2054
2055 2003-11-24  André Pönitz  <poenitz@gmx.net>
2056
2057         * rowpainter.C: simplification
2058
2059         * text2.C (updateCounters): remove call to redoParagraph on
2060         changed labels as this is far too expensive.
2061
2062 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2063
2064         * converter.C (convert): fix a crash: this function gets
2065         called with buffer == 0 from importer code.
2066
2067 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2068
2069         * text3.C (cursorPrevious): make sure that we do not compare
2070         iterators form different containers.
2071         (cursorNext): ditto
2072
2073         * rowpainter.C (paintSelection): make sure that we do not compare
2074         iterators from different containers.
2075
2076         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2077         iterators from different ParagraphList containers.
2078         [NEXT] ditto
2079
2080         * text2.C (LyXText): change order of initialization slightly
2081         (operator=): new function. copy all variables except cache_par_
2082         (moveUp): make sure that we do not compare iterators from
2083         different ParagraphList constainers.
2084         (moveDown): ditto
2085
2086         * text.C (firstPar): new function
2087         (lastPar): new function
2088         (endPar): new function
2089
2090         * lyxtext.h: move things around and group public functions, public
2091         variables, private functions, private variables
2092
2093 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2094
2095         * factory.C: change call to InsetERT constructor to avoid
2096         additional invocation of method status
2097         * text2.C (toggleInset): remove redundant update() call
2098         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2099         instead of a Bufferview pointer
2100
2101 2003-11-21  André Pönitz  <poenitz@gmx.net>
2102
2103         * rowpainter.C: simplification
2104
2105 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * text3.C (dispatch): make possible to extend a word/row selection
2108         with the mouse
2109
2110 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * lyxtext.h: x0_,y0_ -> xo_,yo_
2113         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2114         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2115         * rowpainter.C (paintRows): paint full paragraphs
2116
2117 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2120         screen coordinates)
2121
2122 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2123
2124         * lyxtext.h: add x0_, y0_
2125         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2126         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2127
2128 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * text2.C (setCursorIntern): move the x_target update here *
2131         * text3.C: change some bv() to true/false in calls to
2132         cursorUp/Down/Right/Left
2133         * cursor.C: use helper function.
2134
2135 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2136
2137         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2138         * paragraph_funcs.[Ch]: correct comment
2139         * rowpainter.C: do not paint selections away from bv->cursor()
2140         Fix a long standing selection painting bug.
2141         * text3.C: generalize mouse-selection code to LyXTexts other that
2142         top one
2143         * textcursor.C: do not use y coords if we can use par offsets
2144
2145 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2146
2147         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2148         cursor position after e.g. inset insert)
2149
2150 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2151
2152         * lyxfind.C (replace): adjust to locking removal + some
2153         code simplification
2154
2155 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2158         of the path
2159
2160 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2161
2162         * lyxlayout.[Ch]:
2163         * output_docbook.C: XML sanitation: new layout
2164         parameters InnerTag and CommandDepth
2165
2166 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * BufferView_pimpl.C:
2169         * factory.C:
2170         * text3.C: Fix the insertion and modification of button-style
2171         insets
2172
2173 2003-11-13  André Pönitz  <poenitz@gmx.net>
2174
2175         * InsetList.[Ch]: remove deleteLyXText
2176
2177         * paragraph.[Ch]: cache beginOfBody position
2178
2179         * Bidi.C:
2180         * text.C:
2181         * text2.C:
2182         * text3.C: remove superfluous update() calls
2183
2184         * vspace.C: cleanup
2185
2186 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2189         * BufferView.C (fitLockedInsetCursor): remove
2190         * cursor.[Ch] (getDim): add
2191         * text.C (getRowNearY): add faster version
2192         * text3.C: remove some update calls
2193
2194 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2195
2196         * LaTeXFeatures.C:
2197         * LyXAction.C:
2198         * MenuBackend.C:
2199         * MenuBackend.h:
2200         * dispatchresult.h:
2201         * factory.C:
2202         * lfuns.h:
2203         * lyxfunc.C:
2204         * lyxtextclass.C:
2205         * lyxtextclass.h:
2206         * text3.C: The Character Style /XML short element patch.
2207
2208 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * text3.C:
2211         * factory.C: Small step to solving 'unable to insert some insets'
2212         problem
2213
2214 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * cursor.[Ch] (updatePos): new function for updating the y
2217         position of the tip inset
2218         * bufferview_funcs.C (put_selection_at):
2219         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2220
2221 2003-11-11  André Pönitz  <poenitz@gmx.net>
2222
2223         * text.C: remove big comment on invalid Paragraph pointers as it is
2224         not valid anymore
2225
2226 2003-11-11  André Pönitz  <poenitz@gmx.net>
2227
2228         * text_funcs.[Ch]: merge with ...
2229
2230         * text.C: ... this
2231
2232         * lyxtext.h:
2233         * text2.C:
2234         * text3.C: adjust
2235
2236         * Makefile.am: remove text_funcs.[Ch]
2237
2238 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * cursor.C (getPos): return absolute cached y coord
2241
2242         * BufferView_pimpl.C (fitCursor): new simplistic code
2243         (workAreaDispatch): add a fitCursor call
2244
2245 2003-11-10  André Pönitz  <poenitz@gmx.net>
2246
2247         * BufferView.[Ch]:
2248         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2249
2250 2003-11-10  André Pönitz  <poenitz@gmx.net>
2251
2252         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2253         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2254         indicate that the cursor needs to leave an inset
2255
2256         * lyxtext.h: remove inset locking
2257
2258         * cursor.[Ch]: re-implement functionality provided by inset locking
2259
2260         * BufferView.[Ch]:
2261         * BufferView_pimpl.[Ch]:
2262         * LyXAction.C:
2263         * bufferview_funcs.[Ch]:
2264         * factory.C:
2265         * funcrequest.[Ch]:
2266         * iterators.C:
2267         * lyx_cb.C:
2268         * lyxfind.C:
2269         * lyxfunc.C:
2270         * text.C:
2271         * text2.C:
2272         * text3.C:
2273         * undo.C: adjust
2274
2275 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * PosIterator.[Ch]: replace the stack with a vector, add inset
2278         accesor
2279         * iterators.[C]: adjust
2280
2281 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2282
2283         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2284         replaced
2285         * paragraph_funcs.C (readParToken): put the correct id in the
2286         error item, not the id of the top paragraph
2287
2288 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2291         * bufferview_funcs.C (put_selection_at): use the above
2292
2293 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2296
2297 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * output_linuxdoc.h:
2300         * output_plaintext.h:
2301         * output.h:
2302         * output_docbook.h: add #include statements
2303
2304 2003-11-05  José Matos  <jamatos@lyx.org>
2305
2306         * output_docbook.[Ch]:
2307         * output_latex.[Ch]:
2308         * output_linuxdoc.[Ch]:
2309         * output_plaintext.[Ch]: New files for output formats.
2310         * output.[Ch]: New file for helper functions.
2311
2312         * buffer.[Ch]:
2313         * paragraph_funcs.[Ch]: output functions moved to new files.
2314
2315         * outputparams.h: rename of latexrunparams.h
2316
2317         * LaTeX.[Ch]:
2318         * buffer.[Ch]:
2319         * bufferlist.[Ch]:
2320         * converter.[Ch]:
2321         * exporter.C:
2322         * paragraph.[Ch]:
2323         * paragraph_funcs.[Ch]:
2324         * paragraph_pimpl.[Ch]:
2325         * tabular.[Ch]: rename ascii to plaintext
2326         and LatexRunParams to OutputParams.
2327
2328 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2329
2330         * iterators.[Ch] (text): require bv argument
2331         * undo.C (recordUndo):
2332         * lyxfunc.C (dispatch):
2333         * bufferview_funcs.C (put_selection_at): adjust
2334
2335 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2336
2337         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2338
2339 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2340
2341         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2342         nestings
2343
2344 2003-11-04  André Pönitz  <poenitz@gmx.net>
2345
2346         * cursor.[Ch]: restructure
2347
2348         * BufferView.[Ch]:
2349         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2350
2351         * iterators.[Ch] (asCursor): remove
2352
2353         * lfuns.h: remove LFUN_INSET_EDIT
2354
2355         * lyxfunc.C:
2356         * tabular.C:
2357         * text.C:
2358         * text2.C:
2359         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2360
2361 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2362
2363         * lyxfind.[Ch]: complete overhaul
2364         * BufferView_pimpl.C:
2365         * lyxfunc.C: adjust
2366         * paragraph.[Ch] (insert): add
2367
2368 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2369
2370         * BufferView.[Ch]:
2371         * lyxtext.h:
2372         * text.C: remove dead spellcheck code
2373
2374 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2375
2376         * dispatchresult.h: add a val setter
2377
2378         * cursor.C (dispatch): use a tempvar for data_[i]
2379
2380 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * PosIterator.[Ch]: compile fix
2383
2384 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2385
2386         * text.C (cursorPar): deactivate the cursor cache
2387
2388 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2391
2392 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * text3.C (dispatch): adjust for new DisptchResult semantics.
2395
2396         * lyxfunc.C (dispatch): handle update when return from
2397         Cursor::dispatch, adjust for new DispatchResult semantics.
2398
2399         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2400         DispatchResult(true) mean to not update. Add class functions for
2401         setting dispatched and update, as well as reading.
2402
2403         * cursor.C (dispatch): don't handle update here
2404
2405 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2406
2407         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2408         * trans_mgr.C: adjust
2409
2410         * paragraph_funcs.C (readParToken): exception safety
2411
2412         * lyxvc.h: store the vcs pointer in a scoped_ptr
2413         * lyxvc.C: adjust
2414
2415         * lyxsocket.C (serverCallback): exception safety
2416
2417         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2418
2419         * ispell.C (clone): make it return a auto_ptr
2420
2421         * factory.C (createInset): exception safety
2422         (readInset): exception safety
2423
2424         * bufferlist.C (newBuffer): exception safety
2425
2426         * Thesaurus.C (Thesaurus): use initialization for aik_
2427
2428         * MenuBackend.C (expandToc): exception safety.
2429
2430 2003-11-03  André Pönitz  <poenitz@gmx.net>
2431
2432         * buffer.C:
2433         * buffer.h:
2434         * bufferview_funcs.C: remove getInsetFromId()
2435
2436         * lyxcursor.[Ch]:
2437         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2438
2439         * lyxfunc.C:
2440         * text2.C:
2441         * text3.C: adjust
2442
2443 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2444
2445         * PosIterator.C (distance, advance): new
2446         * bufferview_funcs.[Ch] (put_selection_at): new
2447         * iterators.[Ch] (lockPath): new
2448
2449 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2450
2451         * iterators.[Ch] (asPosIterator): added
2452         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2453         * PosIterator.[Ch]: added
2454
2455 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * text3.C:
2458         * lyxfunc.C:
2459         * cursor.C (dispatch):
2460         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2461
2462         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2463         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2464         contructor, add a class function dispatched. Remove operator>=
2465
2466 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * debug.C: only use the default constructor for debugstream
2469         (lyxerr) here.
2470
2471         * main.C (main): include debug.h and setup the lyxerr streambuf
2472         here.
2473
2474 2003-10-31  José Matos  <jamatos@lyx.org>
2475
2476         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2477
2478         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2479         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2480         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2481         * paragraph_pimpl.C (simpleTeXSpecialC):
2482         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2483         add LatexRunParams argument.
2484
2485         * exporter.C (Export): change call accordingly.
2486
2487         * latexrunparams.h: add new member to take care of the other backends.
2488 2003-10-30  José Matos  <jamatos@lyx.org>
2489
2490         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2491         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2492         factorise code for paragraph output.
2493         * buffer.[Ch]:
2494         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2495         move functions.
2496
2497 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * text3.C (dispatch):
2500         * lyxfunc.C (dispatch):
2501         * cursor.C (dispatch):
2502         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2503
2504         * dispatchresult.h: make the dispatch_result_t ctor explicit
2505
2506 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2507
2508         * sgml.[Ch]:
2509         * buffer.C: small refactoring of docbook stuff
2510
2511 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2514         meaning.
2515
2516 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2519         operator dispatch_result_t, and operators for == != and >=
2520
2521         * cursor.C (dispatch): adjust for operator dispatch_result_t
2522         removal. comment out call to update
2523
2524         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2525
2526 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * text3.C:
2529         * text2.C:
2530         * text.C:
2531         * lyxtext.h:
2532         * lyxfunc.C:
2533         * cursor.C:
2534         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2535         (dispatch):
2536
2537         * dispatchresult.h: new file, DispatchResult broken out of
2538         insets/insetbase.h
2539
2540         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2541
2542 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2543
2544         * text.C (rowBreakPoint): put a hack inside #if 0
2545
2546 2003-10-28  André Pönitz  <poenitz@gmx.net>
2547
2548         * lyxtext.h:
2549         * metricsinfo.C:
2550         * paragraph_funcs.C:
2551         * rowpainter.C:
2552         * text.C:
2553         * text2.C: general cleanup (lots of small stuff)
2554
2555 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * text2.C (cursorEnd): simple fix to the "end key goes to one
2558         before the end on last row" bug
2559
2560 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2561
2562         * text.C (backspace): fix the "zombie characters"
2563
2564 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2565
2566         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2567
2568 2003-10-27  André Pönitz  <poenitz@gmx.net>
2569
2570         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2571
2572         * factory.C: handle new InsetPagebreak, InsetLine
2573
2574         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2575         and move handling into new InsetPagebreak, InsetLine
2576
2577         * BufferView_pimpl.C:
2578         * LyXAction.C:
2579         * ParagraphParameters.C:
2580         * ParameterStruct.h:
2581         * lyxfunc.C:
2582         * lyxtext.h:
2583         * paragraph.C:
2584         * paragraph.h:
2585         * paragraph_funcs.C:
2586         * paragraph_pimpl.C:
2587         * rowpainter.C:
2588         * text.C:
2589         * text2.C:
2590         * text3.C: adjust
2591
2592 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * text.C:
2595         * lyxrow_funcs.[Ch]:
2596         * Bidi.C:
2597         * paragraph.C:
2598         * lyxtext.h:
2599         * rowpainter.C:
2600         * text2.C:
2601         * text3.C: remove lastPos uses in favour of Row::endpos
2602
2603 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2604
2605         * undo.C (performUndoOrRedo): fix two crashes by setting a
2606         cursor by hand and reordering some calls. Use bv->lockInset instead
2607         of inset->edit because the latter loses cursor information
2608
2609 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2610
2611         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2612         by Martin
2613         (rowBreakPoint): fix width. change point to point + 1.
2614         Add a missing check.
2615
2616 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2617
2618         * MenuBackend.C:
2619         * lyxfunc.C: fix (at least partly) the problems
2620         with the Nav menu and headers inside branch insets
2621         reported by Kayvan
2622
2623 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2624
2625         * paragraph.C (getChar): add strong asserts
2626
2627         * lyxrow_funcs.C (lastPos): remove hideous hack
2628
2629         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2630         (fill): adjust to that (avoid an infinite loop)
2631
2632 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2635
2636 2003-10-23  André Pönitz  <poenitz@gmx.net>
2637
2638         * RowList_fwd.h: change list<> to vector<> to gain speed
2639         after suggestion from Alfredo
2640
2641 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * lyxtext.h: move the bidi stuff from here...
2644         * text.C: and here
2645         * text2.C: and here
2646         * Bidi.[Ch]: ... to here
2647
2648 2003-10-23  André Pönitz  <poenitz@gmx.net>
2649
2650         * lyxtext.h:
2651         * text.C (isLastRow, isFirstRow): new functions
2652
2653         * paragraph.h: new width cache member
2654
2655         * rowpainter.C: replace RowList::iterator with Row & where possible
2656
2657         * lyxfunc.C: replace several view()->text with a single call
2658
2659         * toc.C: fix 'unused' warning
2660
2661 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2664         when woring with stream::pos_type
2665         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2666
2667 2003-10-22  André Pönitz  <poenitz@gmx.net>
2668
2669         * lyxtext.h:
2670         * text.C: use Row & instead of RowList::iterator
2671
2672         * lyxrow.h: rename end() to endpos()
2673
2674         * rowpainter.C:
2675         * text.C:
2676         * text2.C: adjust
2677
2678 2003-10-22  Angus Leeming  <leeming@lyx.org>
2679
2680         * buffer.[Ch] (fully_loaded): new member function, returning true
2681         only when the file has been loaded fully.
2682         Used to prevent the premature generation of previews and by the
2683         citation inset to prevent computation of the natbib-style label.
2684
2685         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2686         templates are all set up.
2687
2688         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2689
2690 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2691
2692         * text.C: fixed an "oops" in the "is a bit silly"
2693         bug fix
2694
2695 2003-10-21  André Pönitz  <poenitz@gmx.net>
2696
2697         * FuncStatus.[Ch]: small stuff, whitespace
2698
2699         * lyxfont.[Ch]: operator<<() for debug reasons
2700
2701         * lyxfunc.C:
2702         * lyxrow_funcs.C:
2703         * lyxtext.h: whitespace, spelling
2704
2705         * paragraph.C: naming of variables
2706
2707         * text.C:
2708         * text2.C: small stuff
2709
2710
2711 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2712
2713         * text.C: (1) finish off the inset display() work;
2714         (2) fix the "is a bit silly" bug (accessing char
2715         past end of par).
2716
2717 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2718
2719         * text.C: re-introduce display() for insets, fixing the
2720         various bugs (stretch of line above, math inset
2721         positioning, ...)
2722
2723 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2724
2725         * text.C (rightMargin): remove spurious semicolon
2726
2727         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2728         1415)
2729
2730 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2731
2732         * text3.C: fix one crash due to wrong cursor def
2733
2734 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * vc-backend.C (scanMaster): make the regex static
2737
2738         * LaTeX.C (scanAuxFile): make the regexs static
2739
2740         * text3.C (doInsertInset, dispatch, dispatch):
2741         * text2.C (cursorUp, cursorDown):
2742         * text.C (selectNextWordToSpellcheck):
2743         * BufferView_pimpl.C (dispatch):
2744         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2745
2746 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2747
2748         * lyxsocket.C: include <cerrno>
2749
2750 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * lyxfunc.C (dispatch): remove textcache stuff
2753
2754         * bufferlist.C (release): remove textcache stuff
2755         (closeAll): ditto
2756
2757         * TextCache.C: delete file
2758         * TextCache.h: delete file
2759
2760         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2761
2762         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2763         delete of the bv_->text.
2764         (resizeCurrentBuffer): remove texcache stuff
2765         (workAreaResize): ditto
2766
2767 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2770         action.
2771
2772 2003-10-16  André Pönitz  <poenitz@gmx.net>
2773
2774         * lyxrow.[Ch]:
2775         * paragraph.h:
2776         * rowpainter.C:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: speed up by storing y positions per paragraph plus per-row
2780         offset instead of having a 'full' y position in the row.
2781
2782 2003-10-15  André Pönitz  <poenitz@gmx.net>
2783
2784         * iterators.[Ch]:
2785         * iterators.[Ch]:
2786         * undo.[Ch]: make undo aware of inner insets
2787
2788 2003-10-14  Angus Leeming  <leeming@lyx.org>
2789
2790         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2791         static member functions LyX::ref() and LyX::cref.
2792         (lastfiles): new accessor functions for the new lastfiles_ member var.
2793         (addLyXView, views_): add a new LyXView to the list of views_.
2794         (updateInset): loop over all LyXViews to call their own updateInset
2795         member function, returning a pointer to the Buffer owning the inset.
2796
2797         * BufferView_pimpl.C (loadLyXFile):
2798         * MenuBackend.C (expandLastfiles):
2799         * bufferlist.C (MenuWrite, QuitLyX):
2800         lastfiles is no longer a global variable.
2801         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2802
2803         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2804         static function. Access through LyX::cref().emergencyCleanup().
2805
2806 2003-10-14  André Pönitz  <poenitz@gmx.net>
2807
2808         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2809
2810         * undo.[Ch]: restoring part of 'undo in insets'
2811
2812         * Makefile.am:
2813         * undo_funcs.[Ch]: merge with undo.[Ch]
2814
2815         * tabular.C: small cleansing stuff
2816
2817 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2818
2819         * paragraph_funcs.C (readParToken): report unknown insets as error
2820         boxes. Use the outer paragraph as location (also for unknown
2821         tokens).
2822
2823         * factory.C (readInset): do not abort on reading an unknown inset.
2824         Eat it and return 0.
2825
2826 2003-10-13  Angus Leeming  <leeming@lyx.org>
2827
2828         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2829
2830         * lyxrc.C: displayTranslator is now a function,
2831         declared in GraphicsTypes.h.
2832
2833 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2834
2835         * format.C: new placeholder $$a to pass the socket address.
2836
2837         * bufferlist.[Ch]: new function getBufferFromTmp.
2838
2839         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2840           files in the temporary dir.
2841
2842 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2843
2844         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2845
2846         * Makefile.am: add lyxsocket.[Ch].
2847
2848         * lyx_main.C (error_handler): handle SIGPIPE.
2849
2850 2003-10-13  André Pönitz  <poenitz@gmx.net>
2851
2852         * BufferView_pimpl.C:
2853         * lyxtext.h:
2854         * text.C:
2855         * text2.C:
2856         * text3.C:
2857         * undo_funcs.[Ch]: use paroffset_type instead of
2858           ParagraphList::iterators to prevent multiple conversion
2859           (and get a more robust interface)
2860
2861 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2864         * lyxtext.h: ditto
2865         * text3.C (dispatch): ditto
2866
2867 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2870         move the onlyfile, use onlyfile instead of foundfile in a couple
2871         of places.
2872
2873         * DepTable.C (update): flush the error stream a bit more
2874
2875 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * lyxserver.C (callback): adjust
2878
2879         * lyxfunc.C (getStatus): add a missing brace in commented code
2880         (ensureBufferClean): reindent
2881         (dispatch): delete version taking a string
2882
2883 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * LaTeX.C (deplog): move found file handlig from here...
2886         (handleFoundFile): .. to new function here.
2887         (deplog): make sure to discover several files mentioned on the
2888         same log line.
2889
2890 2003-10-10  André Pönitz  <poenitz@gmx.net>
2891
2892         * lyxfunc.C:
2893         * lyxtext.h:
2894         * tabular.C:
2895         * text.C:
2896         * text2.C:
2897         * text3.C: fix some of the tabular crashes
2898
2899 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2900
2901         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2902
2903         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2904
2905 2003-10-09  André Pönitz  <poenitz@gmx.net>
2906
2907         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2908
2909         * BufferView.C:
2910         * BufferView_pimpl.C:
2911         * bufferview_funcs.C:
2912         * lyx_cb.C:
2913         * lyxcursor.C:
2914         * lyxfind.C:
2915         * lyxfunc.C:
2916         * lyxtext.h:
2917         * text.C:
2918         * text2.C:
2919         * text3.C:
2920         * text_funcs.[Ch]:
2921         * textcursor.[Ch]:
2922         * undo_funcs.C: adjust
2923
2924 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * text2.C (incrementItemDepth): new function, use a backtracking
2927         algorithm to discover the correct item depth.
2928         (resetEnumCounterIfNeeded): new function, use a backtracking
2929         algorithm to discover if counter reset is needed.
2930         (setCounter): use them. Simplify a bit. Add different labels for
2931         different item depths for itemize.
2932
2933         * paragraph.C (Paragraph): remove initialization of enumdepth
2934         (operator=): ditto
2935
2936         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2937         enumerate and itemize. Change the type of itemdepth to signed char.
2938
2939 2003-10-08  André Pönitz  <poenitz@gmx.net>
2940
2941         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2942           thing assignable.
2943         * text.C:
2944         * text2.C: adjust
2945
2946         * tabular.[Ch]: fix crash after 'row-insert'
2947
2948 2003-10-08  Angus Leeming  <leeming@lyx.org>
2949
2950         Fix doxygen warnings.
2951
2952         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2953         Remove CutAndPaste:: prefix from header file declaration.
2954
2955         * LColor.h (fill): remove LColor:: prefix from declaration.
2956
2957         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2958         use lyx::depth_type rather than Paragraph::depth_type so that
2959         header file and .C file match.
2960
2961         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2962
2963         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2964         * aspell.C: \file aspell_local.C -> \file aspell.C
2965         * gettext.C: \file gettext.C -> \file src/gettext.C
2966         * gettext.h: \file gettext.h -> \file src/gettext.h
2967         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2968         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2969         * text.C: \file text.C -> \file src/text.C
2970
2971         * toc.C: move comment so that doxygen is not confused.
2972
2973 2003-10-07  Angus Leeming  <leeming@lyx.org>
2974
2975         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2976
2977 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2978
2979         * aspell.C:
2980         * aspell_local.h: add forgotten std::string's.
2981
2982 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2983
2984         * LaTeXFeatures.C:
2985         * LyXAction.C:
2986         * factory.C:
2987         * lfuns.h:
2988         * lyxfunc.C:
2989         * text3.C: The Box patch. Fancybox support, minipage, parbox
2990
2991 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2992
2993         * CutAndPaste.h:
2994         * DepTable.h:
2995         * FloatList.h:
2996         * LaTeXFeatures.h:
2997         * ParagraphParameters.h:
2998         * TextCache.h:
2999         * Thesaurus.h:
3000         * bufferlist.h:
3001         * exporter.h:
3002         * importer.h:
3003         * lastfiles.h:
3004         * lyxfind.h:
3005         * lyxfont.h:
3006         * lyxlex.h:
3007         * lyxtextclasslist.h:
3008         * messages.h:
3009         * paragraph.h:
3010         * paragraph_pimpl.C:
3011         * textcursor.h: add <string> and other small fixes to make Lars'
3012         std::string patch compile with STLport.
3013
3014 2003-10-06  Angus Leeming  <leeming@lyx.org>
3015
3016         * LColor.h: Add missing #include <string>.
3017
3018 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * All most all file in all subdirs: Make <string> be the prefered
3021         way of getting to std::string, add using declarations.
3022
3023 2003-10-06  André Pönitz  <poenitz@gmx.net>
3024
3025         * metricsinfo.C: initialize LyXFont before changing attribute.
3026         (fixes the 'math in \emph is upright' bug)
3027
3028 2003-10-06  André Pönitz  <poenitz@gmx.net>
3029
3030         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3031
3032 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3033
3034         * graph.C:
3035         * paragraph_pimpl.C: Small fixes to build using STLport
3036
3037 2003-10-02  André Pönitz  <poenitz@gmx.net>
3038
3039         * lyxfunc.C:
3040         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3041
3042 2003-10-01  André Pönitz  <poenitz@gmx.net>
3043
3044         * factory.C: assert early
3045
3046 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * lyx_main.C: remove the global debug object
3049
3050         * debug.h: adjust for new debugstream
3051
3052         * debug.C: adjust for new debugstream and keep the global debug
3053         object here.
3054
3055 2003-09-22  Angus Leeming  <leeming@lyx.org>
3056
3057         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3058         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3059         an incomplete class LyXFont.
3060
3061 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * factory.C: bug fix in branches
3064
3065 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3066
3067         * lyxfunc.C (processKeySym): adjust
3068         (dispatch): adjust
3069         (dispatch): change arg name from ev to func, adjust
3070         (sendDispatchMessage): ditto
3071
3072         * lyx_main.C (defaultKeyBindings): adjust keybindings
3073         (deadKeyBindings): ditto
3074
3075         * kbsequence.C (addkey): return a FuncRequest
3076
3077         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3078
3079         * kbmap.C (bind): take a FuncRequest as arg, adjust
3080         (read): adjust
3081         (lookup): adjust
3082         (defkey): change to take a FuncRequest as arg, adjust
3083         (findbinding): take a FuncRequest as arg, adjust.
3084
3085         * funcrequest.h (operator=): added
3086
3087         * funcrequest.C (FuncRequest): default kb_action changed from
3088         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3089
3090         * buffer.C (dispatch): simplify
3091         (dispatch): adjust to take a FuncRequest as arg, adjust
3092
3093         * boost.C (assertion_failed): change assertion message slightly
3094
3095         * ToolbarBackend.C (read): simplify
3096
3097         * MenuBackend.C (binding): adjust call to findbinding, add a
3098         message if no binding is found.
3099         (read): simplify
3100         (expandToc): correct by adding a empty FuncRequest
3101
3102         * LyXAction.C: include <boost/assert.hpp>
3103         (isPseudoAction): delete function
3104         (LookupFunc): change name to...
3105         (lookupFunc): this. change return type to FuncRequest.
3106         (getActionName): take kb_action as arg, simplify
3107         (funcHasFlag): add an assert, simplify.
3108
3109 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * toc.C (action): return a FuncRequest, simplify
3112
3113         * lyxfunc.C (processKeySym): adjust
3114         (getStatus): delete version that takes an int.
3115         (getStatus): adjust
3116         (dispatch): delete version that takes action as int
3117         (dispatch): adjust
3118         (sendDispatchMessage): simplify and adjust
3119
3120         * funcrequest.C (getArg): take unsigned int as arg
3121
3122         * ToolbarBackend.C (read): adjust
3123         (add): delete version that takes func as a string.
3124         (getIton): take a FuncRequest as arg
3125
3126         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3127         action.
3128
3129         * MenuBackend.C (MenuItem): add a new construct that only takes a
3130         Kind, simplify the constructor use for submenus.
3131         (add): adjust
3132         (expandLastfiles): adjust
3133         (expandDocuments): adjust
3134         (expandFormats): adjust
3135         (expandFloatListInsert): adjust
3136         (expandFloatInsert): adjust
3137         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3138
3139         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3140         Remove class variables lyx_pseudo_map and lyx_arg_map
3141
3142         * LyXAction.C (searchActionArg): delete function
3143         (getPseudoAction): delete function
3144         (retrieveActionArg): delete function
3145         (LookupFunc): make it return kb_action, simplify.
3146         (getActionName): simplify
3147
3148         * factory.C (createInset): fix new bug
3149
3150 2003-09-19  Angus Leeming  <leeming@lyx.org>
3151
3152         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3153         masterFilename_ parameter in the include inset.
3154
3155         * factory.C (createInset): changes due to the changes to InsetInclude.
3156
3157 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3158
3159         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3160
3161 2003-09-18  Angus Leeming  <leeming@lyx.org>
3162
3163         * buffer.C:
3164         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3165         Inset::fillWithBibKeys.
3166         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3167
3168 2003-09-18  Angus Leeming  <leeming@lyx.org>
3169
3170         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3171         variables.
3172         (ctor): pass and store a 'Buffer const &'
3173         (buffer): new member function.
3174
3175         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3176         '*this' to the LaTeXFeatures ctor.
3177
3178 2003-09-18  Angus Leeming  <leeming@lyx.org>
3179
3180         * LColor.h:
3181         * lyxfont.C:
3182         * lyxfont.h:
3183         * lyxtext.h:
3184         * text.C: rename EnumLColor as LColor_color.
3185
3186 2003-09-18  Angus Leeming  <leeming@lyx.org>
3187
3188         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3189         remove #include "insets/insetbase.h" from cursor.h.
3190
3191 2003-09-18  Angus Leeming  <leeming@lyx.org>
3192
3193         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3194         InsetOld_code to remove #include "inset.h".
3195
3196         * iterators.C: add #include "insets/inset.h"
3197
3198 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3199
3200         * BufferView.C: remove more locking stuff that apparently doesn't
3201         do anything sensible.
3202
3203 2003-09-16  André Pönitz  <poenitz@gmx.net>
3204
3205         * paragraph.[Ch]:
3206         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3207           performance boost.
3208
3209 2003-09-16  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3212
3213         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3214         arg/return type.
3215
3216         * paragraph.h: remove #include "lyxfont.h". Forward declare
3217         LyXFont_size.
3218
3219 2003-09-16  Angus Leeming  <leeming@lyx.org>
3220
3221         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3222         of support/textutils.h.
3223         (isWord): move the contents of support/textutils.h's IsWordChar here.
3224
3225         * buffer.C:
3226         * lyxfind.C:
3227         * rowpainter.C:
3228         * text.C:
3229         * text2.C: add #include "paragraph.h".
3230
3231         * rowpainter.C:
3232         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3233
3234 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * main.C:
3237         * lyx_main.C:
3238         * lyx_cb.C:
3239         * buffer.C:
3240         * LaTeX.C: use namespace alias for lyx::support::os
3241
3242 2003-09-16  Angus Leeming  <leeming@lyx.org>
3243
3244         * bufferparams.C:
3245         * bufferview_funcs.C:
3246         * factory.C:
3247         * lyxfunc.C:
3248         * paragraph_pimpl.C:
3249         * rowpainter.C:
3250         * text.C: add #include "LColor.h".
3251
3252 2003-09-16  Angus Leeming  <leeming@lyx.org>
3253
3254         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3255         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3256         return LyXFont &.
3257         Store the FontBits::color variable as an int rather than as an
3258         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3259         file.
3260
3261         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3262         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3263         string calls together.
3264
3265         * lyxrc.C: add #include "LColor.h".
3266
3267 2003-09-15  Angus Leeming  <leeming@lyx.org>
3268
3269         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3270         a cow_ptr.
3271
3272 2003-09-15  Angus Leeming  <leeming@lyx.org>
3273
3274         * LColor.h: add an EnumLColor wrapper for LColor::color.
3275
3276         * lyxfont.[Ch] (color, setColor, realColor):
3277         * lyxtext.h, text.C (backgroundColor):
3278         pass EnumLColor args to/from the functions, rather than LColor::color
3279         ones.
3280
3281         * lyxfont.h:
3282         * lyxtext.h: forward declare EnumLColor.
3283
3284         * lyx_main.C: add #include "LColor.h".
3285
3286 2003-09-15  Angus Leeming  <leeming@lyx.org>
3287
3288         * .cvsignore: add lyx-gtk.
3289
3290 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3291
3292         * Chktex.C
3293         * LaTeX.C
3294         * LaTeXFeatures.C
3295         * ParagraphParameters.C
3296         * Spacing.C
3297         * buffer.C
3298         * bufferparams.C
3299         * bufferview_funcs.C
3300         * chset.C
3301         * counters.C
3302         * funcrequest.C
3303         * lyxfont.C
3304         * lyxgluelength.C
3305         * lyxlength.C
3306         * paragraph.C
3307         * paragraph_funcs.C
3308         * text3.C
3309         * vc-backend.C: remove usage of STRCONV
3310
3311 2003-09-15  Angus Leeming  <leeming@lyx.org>
3312
3313         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3314         explicitly define the color passed to the painter.
3315
3316 2003-09-15  Angus Leeming  <leeming@lyx.org>
3317
3318         * bufferparams.C (BufferParams): reorder member initializers to avoid
3319         compiler warning.
3320
3321 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3324         * text.C (updateRowPositions): remove an unusual nop
3325
3326 2003-09-12  André Pönitz  <poenitz@gmx.net>
3327
3328         * BufferView_pimpl.C:
3329         * Bullet.C:
3330         * layout.h:
3331         * lyxfunc.C:
3332         * lyxlayout.[Ch]:
3333         * lyxtextclass.C:
3334         * rowpainter.C:
3335         * text.C:
3336         * text2.C:
3337         * Counters.[Ch]: finish the 'automatic counters' job
3338
3339 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3340
3341         * aspell.C: include <boost/assert.cpp> (compile fix)
3342
3343 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3344
3345         * boost.C (assertion_failed): use lyx::support::abort instead of
3346         assert.
3347
3348 2003-09-10  Angus Leeming  <leeming@lyx.org>
3349
3350         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3351         with their _fwd progeny.
3352
3353 2003-09-09  Angus Leeming  <leeming@lyx.org>
3354
3355         134 files throughtout the source tree: replace 'using namespace abc;'
3356         directives with the appropriate 'using abc::xyz;' declarations.
3357
3358 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3359
3360         * boost.C (emergencyCleanup): moved here from LAssert.c
3361         (assertion_failed): new function, called by BOOST_ASSERT
3362
3363         * several files: change Assert to BOOST_ASSERT
3364
3365 2003-09-09  Angus Leeming  <leeming@lyx.org>
3366
3367         * buffer.[Ch]: Add an Impl class and move Buffer's member
3368         variables into it. As a result move several header files out of
3369         buffer.h.
3370
3371         Add header files to lots of .C files all over the tree as a result.
3372
3373 2003-09-09  Angus Leeming  <leeming@lyx.org>
3374
3375         * buffer.[Ch]: make Buffer's member variables private. Add
3376         accessor functions.
3377
3378         Lots of changes all over the tree as a result.
3379
3380 2003-09-08  Angus Leeming  <leeming@lyx.org>
3381
3382         * graph.C: #include <config.h>.
3383
3384 2003-09-08  Angus Leeming  <leeming@lyx.org>
3385
3386         * BranchList.C:
3387         * BufferView.C:
3388         * BufferView_pimpl.C:
3389         * CutAndPaste.C:
3390         * DepTable.C:
3391         * LaTeX.C:
3392         * LaTeXFeatures.C:
3393         * LyXAction.C:
3394         * MenuBackend.C:
3395         * TextCache.C:
3396         * aspell.C:
3397         * buffer.C:
3398         * bufferlist.C:
3399         * changes.C:
3400         * chset.C:
3401         * converter.C:
3402         * counters.C:
3403         * debug.C:
3404         * graph.C:
3405         * ispell.C:
3406         * lyx_cb.C:
3407         * lyxfind.C:
3408         * lyxfunc.C:
3409         * lyxlex_pimpl.C:
3410         * lyxrc.C:
3411         * lyxrow.C:
3412         * paragraph.C:
3413         * rowpainter.C:
3414         * texrow.C:
3415         * text.C:
3416         * text2.C:
3417         * toc.C: remove redundant using directives.
3418
3419 2003-09-07  Angus Leeming  <leeming@lyx.org>
3420
3421         * LaTeXFeatures.h: remove #include "support/types.h".
3422         * ToolbarBackend.h: remove #include <algorithm>.
3423         * changes.h: remove #include <ctime>.
3424         * debug.h: remove #include <iosfwd>.
3425         * graph.h: remove #include "support/std_string.h".
3426         * lyx_main.h: remove #include <csignal>.
3427         * lyxlex_pimpl.h: remove #include <fstream>.
3428         * sgml.h: remove #include <algorithm>, <utility>.
3429         * toc.h: remove #include "support/std_ostream.h".
3430         Add #include <iosfwd>.
3431
3432 2003-09-07  Angus Leeming  <leeming@lyx.org>
3433
3434         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3435
3436         * converter.h: forward declare LatexRunParams.
3437         * encoding.h: remove #include "lyxrc.h".
3438         * lyxtext.h: remove #include "LColor.h".
3439         * lyxtextclass.h: remove #include "support/types.h".
3440         * trans.h: remove #include "tex-accent.h".
3441         * trans_mgr.h: remove #include "tex-accent.h".
3442         * insets/inset.h: remove #include "support/types.h", <vector>.
3443         * insets/insetcollapsable.h: remove #include "LColor.h".
3444         * insets/insetinclude.h: remove #include "dimension.h".
3445         * insets/insetlatexaccent.h: remove #include "dimension.h".
3446         * insets/insetoptarg.h:: remove #include "insettext.h".
3447         * insets/insettext.h: remove #include "dimension.h",
3448         <boost/shared_ptr.hpp>
3449
3450         * insets/renderers.h: add #include "dimension.h".
3451         * insets/updatableinset.h: add #include "support/types.h".
3452
3453         * many .C files: Associated changes.
3454
3455 2003-09-06  Angus Leeming  <leeming@lyx.org>
3456
3457         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3458         one, inside testInvariant.
3459
3460         * PrinterParams.C: new file.
3461         * PrinterParams.[Ch]: move the function bodies out of line.
3462
3463 2003-09-06  Angus Leeming  <leeming@lyx.org>
3464
3465         * ParagraphParameters.h: forward declare ParameterStruct rather than
3466         including its header file.
3467         (depth): moved out-of-line.
3468
3469 2003-09-06  Angus Leeming  <leeming@lyx.org>
3470
3471         * BufferView_pimpl.h:
3472         * kbmap.h:
3473         * kbsequence.h:
3474         * lyxfunc.h: forward declare LyXKeySym rather than
3475         #include "frontends/LyXKeySym.h".
3476
3477         * BufferView_pimpl.C:
3478         * kbmap.C:
3479         * kbsequence.C:
3480         * lyxfunc.C: associated changes.
3481
3482 2003-09-06  Angus Leeming  <leeming@lyx.org>
3483
3484         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3485         As a result, can remove the #include "insets/inset.h" from BufferView.h
3486
3487 2003-09-06  Angus Leeming  <leeming@lyx.org>
3488
3489         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3490         As a result, can remove the #include "insets/inset.h" from BufferView.h
3491
3492 2003-09-06  Angus Leeming  <leeming@lyx.org>
3493
3494         * buffer_funcs.C:
3495         * buffer.h:
3496         * bufferlist.C:
3497         * BufferView.C:
3498         * bufferview_funcs.C:
3499         * BufferView_pimpl.C:
3500         * CutAndPaste.C:
3501         * lyx_cb.C:
3502         * lyxfunc.C:
3503         * paragraph.h:
3504         * ParagraphParameters.C:
3505         * tabular.C:
3506         * text3.C:
3507         * toc.C:
3508         * undo_funcs.C:
3509         * frontends/controllers/ControlDocument.C:
3510         * insets/insetcaption.C: rearrange the #includes into some sort of
3511         coherent order.
3512
3513         * buffer.h: remove #includes ErrorList.h, undo.h
3514
3515 2003-09-06  Angus Leeming  <leeming@lyx.org>
3516
3517         * support/types.h: add a 'depth_type' typedef, used to store the
3518         nesting depth of a paragraph.
3519
3520         * paragraph.h:
3521         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3522         defining explicitly.
3523
3524         * buffer.h:
3525         * paragraph_funcs.h:
3526         * ParagraphParameters.h:
3527         * sgml.h: use lyx::depth_type rather than Paragraph or
3528         ParameterStruct's depth_type.
3529
3530         * buffer.h
3531         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3532
3533         * BufferView.C:
3534         * BufferView_pimpl.C:
3535         * CutAndPaste.C:
3536         * ParagraphParameters.C:
3537         * buffer_funcs.C:
3538         * bufferlist.C:
3539         * bufferview_funcs.C:
3540         * lyx_cb.C:
3541         * lyxfunc.C:
3542         * tabular.C:
3543         * text3.C:
3544         * toc.C:
3545         * undo_funcs.C:
3546         * frontends/LyXView.C:
3547         * frontends/controllers/ControlDocument.C:
3548         * frontends/controllers/ControlErrorList.C:
3549         * insets/insetbibitem.C:
3550         * insets/insetbranch.C:
3551         * insets/insetcaption.C:
3552         * insets/insetcollapsable.C:
3553         * insets/insetenv.C:
3554         * insets/insetert.C:
3555         * insets/insetfloat.C:
3556         * insets/insetfoot.C:
3557         * insets/insetfootlike.C:
3558         * insets/insetnewline.C:
3559         * insets/insetquotes.C:
3560         * insets/insettabular.C:
3561         * insets/insettext.C:
3562         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3563
3564         * frontends/controllers/ControlChanges.C: #include "changes.h".
3565
3566 2003-09-06  Angus Leeming  <leeming@lyx.org>
3567
3568         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3569         than #including paragraph.h.
3570
3571         * ParagraphList.h:
3572         * RowList.h: deleted. Superfluous.
3573
3574         * CutAndPaste.h:
3575         * iterators.h:
3576         * lyxcursor.h:
3577         * lyxtext.h:
3578         * text_funcs.h:
3579         * undo.h:
3580         * undo_funcs.h:
3581         * insets/inset.h:
3582         * insets/insettext.h: use ParagraphList_fwd.h rather than
3583         ParagraphList.h.
3584
3585         * paragraph.h: don't forward declare ParagraphList.
3586
3587         * buffer.h:
3588         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3589         rather than ParagraphList.h. paragraph.h is still needed for the
3590         Paragraph::depth_type parameters.
3591
3592         * textcursor.h: enable it to compile stand-alone in light of the
3593         above changes.
3594
3595         * bufferview_funcs.C:
3596         * iterators.C:
3597         * lyxfunc.C:
3598         * lyxrow_funcs.C:
3599         * paragraph.C:
3600         * rowpainter.C:
3601         * text.C:
3602         * text2.C:
3603         * text3.C:
3604         * text_funcs.C:
3605         * textcursor.C:
3606         * undo.C:
3607         * frontends/controllers/ControlParagraph.C:
3608         * frontends/controllers/ControlTabular.C:
3609         * insets/insetmarginal.C:
3610         * insets/insetminipage.C:
3611         * insets/insetnote.C:
3612         * insets/insetoptarg.C: add header files needed to compile again.
3613
3614 2003-09-06  Angus Leeming  <leeming@lyx.org>
3615
3616         * RowList_fwd.h: new file, forward-declaring Row rather than
3617         #including lyxrow.h.
3618
3619         * lyxrow_funcs.h:
3620         * lyxtext.h:
3621         * paragraph.h:
3622         * insets/insettext.h: use it instead of RowList.h
3623
3624         * bufferview_funcs.C:
3625         * lyxfunc.C:
3626         * lyxrow_funcs.C:
3627         * paragraph.C:
3628         * rowpainter.C:
3629         * text.C:
3630         * text2.C:
3631         * text3.C: #include "RowList.h".
3632
3633 2003-09-05  Angus Leeming  <leeming@lyx.org>
3634
3635         * factory.C (createInset):
3636         * vspace.C (c-tor): replace sscanf call with an istringstream.
3637         * ispell.C: re-add missing HP/UX headers.
3638         * lyxserver.C: re-add missing  os2 headers.
3639
3640 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * BranchList.C:
3643         * graph.C:
3644         * ispell.C:
3645         * lastfiles.C:
3646         * lyx_cb.C:
3647         * lyxserver.C:
3648         * texrow.C:
3649         * text3.C: re-add missing system headers, needed for 2.95.2.
3650
3651 2003-09-05  Angus Leeming  <leeming@lyx.org>
3652
3653         Changes most place everywhere due to the removal of using directives
3654         from support/std_sstream.h.
3655
3656 2003-09-05  Angus Leeming  <leeming@lyx.org>
3657
3658         Replace LString.h with support/std_string.h,
3659         Lsstream.h with support/std_sstream.h,
3660         support/LIstream.h with support/std_istream.h,
3661         support/LOstream.h with support/std_ostream.h.
3662
3663         Changes resulting throughout the tree.
3664
3665 2003-09-05  Angus Leeming  <leeming@lyx.org>
3666
3667         * sgml.h: ensure that the header file can be compiled stand-alone.
3668         * *.C: strip out redundant #includes. (320 in total.)
3669
3670 2003-09-04  Angus Leeming  <leeming@lyx.org>
3671
3672         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3673         here (from getPackages).
3674
3675         * debug.[Ch]: add a new EXTERNAL tag.
3676
3677 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3678
3679         * text2.C (cursorEnd): simplify
3680         (setCursor): adjust
3681         (getColumnNearX): adjust
3682
3683         * text.C (computeBidiTables): adjust
3684         (fill): adjust
3685
3686         * rowpainter.C (paintChars): adjust
3687         (paintSelection): adjust
3688         (paintChangeBar): adjust
3689         (paintText): adjust
3690
3691         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3692         lastPos instead.
3693         (numberOfSeparators): adjust
3694
3695 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * LyXAction.C:
3698         * box.[Ch]:
3699         * lfuns.h:
3700         * lyxfunc.C:
3701         * text3.C: Restricts the mouse click functionality
3702         of insets like bibtex, include, toc and floatlist to the visible
3703         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3704         up the dialogs. Cursor has to be in front of the inset (i.e.
3705         start of row) for this to function.
3706
3707 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3708
3709         * bufferview_funcs.C (currentState): output row information
3710
3711 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3712
3713         * bufferview_funcs.C (currentState): output paragraph position
3714
3715 2003-09-04  Angus Leeming  <leeming@lyx.org>
3716
3717         * FloatList.h: move out #include "Floating.h".
3718         * LaTeX.h: move out #include "DepTable.h".
3719         * LyXAction.h: move out #include "funcrequest.h".
3720         * buffer.h: move out #include "author.h", "iterators.h".
3721         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3722         * lyx_main.h: move out #include "errorlist.h".
3723         * lyxfunc.h: move out #include "FuncStatus.h".
3724         * lyxtext: move out #include "lyxcursor.h".
3725         * paragraph_pimpl.h: move out #include "counters.h".
3726
3727 2003-09-03  Angus Leeming  <leeming@lyx.org>
3728
3729         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3730         preamble_snippets list, enabling us to add snippets to the preamble
3731         only if the snippet was not there already.
3732
3733 2003-09-04  Angus Leeming  <leeming@lyx.org>
3734
3735         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3736
3737 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3738
3739         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3740         update
3741
3742 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * BranchList.C: point fix, earlier forgotten
3745
3746 2003-09-02  Angus Leeming  <leeming@lyx.org>
3747
3748         * box.C (contains): renamed from 'contained' after a fantastic
3749         amount of hot air.
3750
3751 2003-09-02  John Levon  <levon@movementarian.org>
3752
3753         * BufferView.C:
3754         * lyxcursor.h:
3755         * lyxcursor.C:
3756         * lyxfunc.C:
3757         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3758
3759 2003-09-02  John Levon  <levon@movementarian.org>
3760
3761         * text2.C: simplification of cursorEnd(), including partial
3762         fix for bug 1376
3763
3764 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * buffer.C (readFile): add a space
3767
3768 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3771
3772 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * buffer.C (readFile): new function, take a filename and a
3775         ParagraphList::iterator
3776         (readFile): adjust
3777         (readFile): adjust, make it private. don't use setStream, make
3778         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3779         always contain the filename.
3780
3781         * BufferView.C (insertLyXFile): simplify and make it work for
3782         gzipped files.
3783
3784 2003-08-30  John Levon  <levon@movementarian.org>
3785
3786         * Makefile.am: fix dist (from Kayvan)
3787
3788 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * most files: change to use const Buffer refs
3791
3792 2003-08-27  André Pönitz  <poenitz@gmx.net>
3793
3794         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3795         on top of ownerPar().
3796
3797 2003-08-27  John Levon  <levon@movementarian.org>
3798
3799         * funcrequest.C: properly initialise POD members
3800
3801 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * lyxtext.h (top_y): move top_y from here
3804         * text.C:
3805         * text2.C:
3806         * text3.C:
3807         * BufferView.[Ch]:
3808         * BufferView_pimpl.[Ch]: to here
3809         * frontends/screen.C:
3810         * insets/insettabular.C:
3811         * insets/insettext.C: adjust
3812         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3813
3814 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * BufferView.[Ch]:
3817         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3818
3819 2003-08-26  André Pönitz  <poenitz@gmx.net>
3820
3821         * paragraph_func.[Ch] (outerPar): new function
3822
3823         * paragraph.C:
3824         * paragraph_funcs.C:
3825         * paragraph_funcs.h:
3826         * paragraph_pimpl.C:
3827         * text2.C: remove Inset::par_owner
3828
3829 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3830
3831         * lyxrow_funcs.C:
3832         * lyxtext.h:
3833         * text.C:
3834         * text2.C: eliminates the needFullRow/display() stuff
3835         altogether, putting the logic in metrics/draw in the insets.
3836
3837 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * text2.C (redoParagraphInternal, redoParagraphs):
3840         * text.C (redoParagraph): add a call to updateRowPositions at the
3841         end of each 'metrics-like' call. Remove all others.
3842         (getRow): remove the 'y-computing' version.
3843         (getRowNearY): do not compute nor return the real y. Solve the
3844         'y < 0' problem and simplify.
3845
3846 2003-08-22  Angus Leeming  <leeming@lyx.org>
3847
3848         * *.[Ch]: clean-up of licence and author blurbs.
3849         Also move config.h out of a few .h files and into a few .C files.
3850
3851 2003-08-22  André Pönitz  <poenitz@gmx.net>
3852
3853         * lyxrow.[Ch]: add x_ and *fill_ members
3854
3855         * lyxtext.h:
3856         * text.C:
3857         * rowpainter.C:
3858         * text2.C: adjust/remove prepareToPrint() calls
3859
3860 2003-08-22  André Pönitz  <poenitz@gmx.net>
3861
3862         * lyxrow.[Ch]: add  end_ member
3863
3864         * lyxrow_funcs.C: use LyXRow::end_
3865
3866         * lyxtext.h (singleWidth): add LyXFont parameter
3867
3868         * rowpainter.C:
3869         * text2.C: adjust LyXText::singleWidth() calls
3870
3871         * text.C (redoParagraph): simplify row breaking logic
3872
3873
3874 2003-08-19  André Pönitz  <poenitz@gmx.net>
3875
3876         * funcrequest.C: initialize button_ member
3877
3878         * text3.C:
3879         * rowpainter.[Ch]: interface consolidation
3880
3881 2003-08-18  André Pönitz  <poenitz@gmx.net>
3882
3883         * BufferView.C:
3884         * BufferView_pimpl.C:
3885         * lyxfind.C:
3886         * paragraph_funcs.C:
3887         * rowpainter.C:
3888         * text3.C: remove LyXScreen::draw() and fitCursor calls
3889
3890         * BranchList.h: remove spurious semicolons
3891
3892         * MenuBackend.C: fix branchlist related crash
3893
3894 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * BranchList.[Ch]:
3897         * InsetList.[Ch]:
3898         * LColor.[Ch]:
3899         * LyXAction.C:
3900         * Makefile.am:
3901         * MenuBackend.[Ch]:
3902         * bufferparams.[Ch]:
3903         * factory.C:
3904         * lfuns.h:
3905         * lyxfunc.C:
3906         * text3.C: implements the 'branch inset'
3907         idea. This allows the output of various versions of a document
3908         from a single source version, selectively outputing or suppressing
3909         output of parts of the text.
3910         This implementation contains a 'branch list editor' in a separate
3911         tab of the document settings dialog. Branches are user definable
3912         and have a "display colour" to distinguish them on-screen.
3913
3914         ColorHandler was somewhat cleaned up.
3915         (1) make possible a dynamically growing LColor list by allowing
3916         the graphic context cache to grow along (vector);
3917         (2) eliminate an IMHO unnecessary step in colour allocation.
3918
3919 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3920
3921         * BufferView_pimpl.C: compile fix
3922
3923 2003-08-15  André Pönitz  <poenitz@gmx.net>
3924
3925         * rowpainter.C: remove extra metrics calls
3926
3927         * lyxtext.h: merge the two constructors into a single one,
3928           pass reference to owner's par list
3929
3930         * BufferView_pimpl.C:
3931         * text.C:
3932         * text2.C: adjust
3933
3934 2003-08-15  André Pönitz  <poenitz@gmx.net>
3935
3936         * lyxrow_funcs.[Ch]:
3937         * lyxtext.h:
3938         * paragraph.h:
3939         * paragraph_funcs.C:
3940         * rowpainter.C:
3941         * text.C:
3942         * text2.C:
3943         * text3.C:
3944         * text_funcs.C: split LyXText::rowlist_ into individual
3945         Paragraph::rows_ chunks
3946
3947         * BufferView.[Ch]:
3948         * BufferView_pimpl.[Ch]:
3949         * lyxfind.C:
3950         * lyxtext.h:
3951         * text3.C: remove toggleSelection()
3952
3953 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3954
3955         * bufferlist.C: beautify two alerts (shorter text of buttons)
3956         * buffer.C: Remove redundant ' ' from message
3957         * tabular.h:
3958         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3959         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3960         rename VALIGN_CENTER to VALIGN_MIDDLE
3961
3962 2003-08-11  André Pönitz  <poenitz@gmx.net>
3963
3964         * lyxtext.h (getPar):
3965         * text.C: new function
3966
3967 2003-08-11  André Pönitz  <poenitz@gmx.net>
3968
3969         * Makefile.am:
3970         * tracer.[Ch]: remove unneeded files
3971
3972         * InsetList.[Ch]: remove resizeInsetsLyXText()
3973
3974         * lyxtext.h:
3975         * text.C:
3976         * text2.C:
3977         * text3.C: merge insertParagraphs() and appendParagraph()
3978         remove breakAgain(), update()
3979
3980         * BufferView_pimpl.[Ch]:
3981         * bufferview_funcs.[Ch]:
3982         * lyxfunc.C:
3983         * paragraph.[Ch]:
3984         * rowpainter.C:
3985         * tabular.C: adjust after text & InsetList changes.
3986
3987 2003-08-08  André Pönitz  <poenitz@gmx.net>
3988
3989         * text.C (insertChar, backspace): replace rowlist fiddling
3990         with rebreak of full par
3991
3992         * lyxtext.h:
3993         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3994         checkParagraph, updateInset): removed
3995
3996 2003-08-07  André Pönitz  <poenitz@gmx.net>
3997
3998         * paragraph.C:
3999         * text3.C: merge some LFUN handlers, remove dead code
4000
4001 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4002
4003         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4004
4005 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4006
4007         * text2.C (DEPM): fix part of bug 1255 and 1256
4008
4009 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4010
4011         * BufferView_pimpl.C (workAreaDispatch): change to use
4012         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4013         that are no mouse related.
4014
4015 2003-08-05  André Pönitz  <poenitz@gmx.net>
4016
4017         * BufferView.[Ch]:
4018         * BufferView_pimpl.[Ch]:
4019         * bufferview_funcs.C:
4020         * text2.C:
4021         * text3.C: rip out "deep update"
4022
4023         * textcursor.[Ch] (last_sel_cursor): remove unused member
4024
4025 2003-08-04  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView.[Ch]:
4028         * BufferView_pimpl.[Ch]:
4029         * ParagraphParameters.C:
4030         * bufferview_funcs.C:
4031         * lyx_cb.C:
4032         * lyxfind.C:
4033         * lyxfunc.C:
4034         * text.C:
4035         * text2.C:
4036         * text3.C: replace "complicated" BufferView::update(...) calls with
4037         simpler ones.
4038
4039         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4040
4041 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4042
4043         * Makefile.am (lyx_SOURCES): add paper.h
4044
4045 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4046
4047         * Makefile.am: move things around so that both lyx-qt and
4048         lyx-xforms can be built (according to --with-frontend). Then lyx
4049         is a symbolic link to lyx-[firstfrontend]
4050
4051 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4052
4053         * Always use std::endl with lyxerr
4054
4055 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4056
4057         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4058
4059 2003-08-01  André Pönitz  <poenitz@gmx.net>
4060
4061         * BufferView.[Ch]:
4062         * BufferView_pimpl.[Ch]:
4063         * lyxfunc.C:
4064         * text3.C: merge BufferView::repaint() and BufferView::update()
4065
4066 2003-08-01  José Matos  <jamatos@lyx.org>
4067
4068         * buffer.[Ch]: file_format is no longer a buffer data element.
4069
4070 2003-08-01  André Pönitz  <poenitz@gmx.net>
4071
4072         * BufferView.C:
4073         * lyxtext.h:
4074         * text.C:
4075         * text2.C: make redoParagraph more independent of current cursor
4076
4077         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4078         * text.C:
4079         * text2.C: remove unneeded members
4080
4081 2003-07-30  André Pönitz  <poenitz@gmx.net>
4082
4083         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4084
4085         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4086           create a single function...
4087
4088         * paragraph_funcs.C (moveItem): ... here.
4089
4090         * text.C:
4091           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4092
4093 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4094
4095         * LColor.[Ch]: Add comment and greyedout logical colors.
4096
4097 2003-07-30  André Pönitz  <poenitz@gmx.net>
4098
4099         * tabular.C: don't use Assert too heavily. This crashes where it
4100           shouldn't
4101
4102 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4103
4104         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4105         is disabled (bug 1232)
4106
4107 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * factory.C: limited 'arg' scope
4110
4111 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * factory.C: fixed Note submenu issues
4114
4115 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4116
4117         * factory.C: submenu for Note/Comment/Greyedout
4118
4119 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * lyx_main.C (LyX):
4122         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4123
4124 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4125
4126         * LaTeXFeatures.C:
4127         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4128         greyedout. Patch provided by Jürgen Spitzmüller.
4129
4130 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4131
4132         * kbmap.C (read): fix error message when reading bind files
4133
4134 2003-07-29  Angus Leeming  <leeming@lyx.org>
4135
4136         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4137         certainly does not do what it purports to do. I am doing it, and
4138         us, a favour by killing it.
4139
4140 2003-07-28  José Matos  <jamatos@lyx.org>
4141
4142         * buffer.C (readBody, do_writeFile):
4143         * paragraph.C(readParagraph): \end_document replaces \the_end.
4144
4145 2003-07-29  André Pönitz  <poenitz@gmx.net>
4146
4147         * BufferView.[Ch]:
4148         * BufferView_pimpl.[Ch]:
4149         * lyxfunc.C:
4150         * text2.C:
4151         * text3.C:
4152         * textcursor.[Ch]: remove toggleToggle & Co
4153
4154 2003-07-28  José Matos  <jamatos@fep.up.pt>
4155
4156         * buffer.C (readParagraph):
4157         * params_func (readParToken, readParagraph):
4158         * paragraph.C (write): \layout -> \begin_layout.
4159
4160 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * lyxlex_pimpl.C (setFile): clean up slightly.
4163
4164         * bufferparams.h: add compressed var
4165
4166         * buffer_funcs.C (readFile): adjust for LyXLex change
4167         (newFile): ditto + simplify
4168
4169         * buffer.C (writeFile): handle writing of compressed files
4170
4171         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4172         Check if the file is compressed and set a bufferparm if so.
4173
4174         * Makefile.am (lyx_LDADD): remove explicit -lz
4175
4176 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4177
4178         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4179         makeDocBookFile): put the real LyX version in the first line of
4180         the file
4181
4182         * version.h:
4183         * version.C.in: remove lyx_docversion
4184
4185         * tabular.C (write_attribute): add a template-based version to
4186         write enums properly
4187
4188 2003-07-28  André Pönitz  <poenitz@gmx.net>
4189
4190         * lyxtext.h:
4191         * text.C:
4192         * text2.C:
4193         * text3.C: use doubles again for x-coordinates. They are needed.
4194
4195 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * messages.C (getLocaleDir): use lyx_localedir()
4198
4199         * lyxlex_pimpl.C (setFile): compress stuff
4200
4201         * buffer.C (writeFile): add some compression stuff
4202         (do_writeFile): new func, dont call expliti close... will this
4203         breake anything?
4204
4205         * Makefile.am (lyx_LDADD): add -lz
4206
4207 2003-07-28  José Matos  <jamatos@fep.up.pt>
4208
4209         * buffer.C: increment file format.
4210         * paragraph_funcs (readParagraph, readParToken):
4211         * paragraph.C (readParagraph): add \end_layout.
4212
4213 2003-07-27  Angus Leeming  <leeming@lyx.org>
4214
4215         * Makefile.am: remove special casing for configure-time setting of
4216         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4217
4218         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4219         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4220
4221 2003-07-26  André Pönitz  <poenitz@gmx.net>
4222
4223         * paragraph_func.[Ch]:
4224         * paragraph.C (realizeFont): inline it whereever it is used
4225
4226         * rowpainter.C:
4227         * text.C:
4228         * text2.C:
4229         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4230
4231
4232 2003-07-26  André Pönitz  <poenitz@gmx.net>
4233
4234         *       lyxtext.h:
4235         * text.C:
4236         * text2.C: get rid of LyXText::need_break_row
4237
4238 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * toc.[Ch]: put namespace toc inside namespace lyx
4241
4242         * MenuBackend.C (expandToc2): adjust for lyx::toc
4243         (expandToc): ditto
4244
4245         * lyxfunc.C (dispatch): adjust for lyx::find
4246
4247         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4248         lyx::find instead. Reorganize a bit.
4249         (LyXReplace): rename to replace
4250         (LyXFind): rename to find
4251
4252         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4253         (dispatch): ditto
4254
4255 2003-07-26  André Pönitz  <poenitz@gmx.net>
4256
4257         * text.C (setHeightOfRow): restrict scope of temporary variable
4258
4259         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4260           code (never has been used?)
4261
4262 2003-07-27  Asger Alstrup  <alstrup@local>
4263
4264         * text.C (fill): Optimise algorithm to exploit that we can reuse
4265         the LyXFont for many characters.
4266         (setHeightOfRow): Same thing.
4267         (rowBreakPoint): Same thing.
4268
4269 2003-07-26  Asger Alstrup  <alstrup@local>
4270
4271         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4272
4273         * text.C (singleWidth): Spurious font copying in hot-spot
4274         singleWidth avoided. Reorder tests for arabic for efficiency.
4275
4276         * text.C (fill): handle empty paragraphs better.
4277
4278 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4279
4280         * ispell.C:
4281         * encoding.h: add includes
4282
4283         * lyxrc.C: remove reading of bind files
4284
4285         * lyx_main.C (init): setup bindings and menus only if we have a
4286         gui.
4287
4288         * kbmap.C (read): new method. Do the actual reading of bind
4289         files.
4290
4291         * converter.C (dvipdfm_options):
4292         * bufferparams.C:
4293         * lyxrc.C (read):
4294         (output): adapt PAPER_* enums.
4295
4296         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4297
4298         * bufferparams.h: remove paper-related enums from there
4299
4300         * paper.h: New file. A trivial header file to hold paper-related
4301         enums. It should later expand to contain many paper-related
4302         horrors access.
4303
4304         * lyxrc.C: declare extern displayTranslator
4305
4306 2003-07-27  José Matos  <jamatos@fep.up.pt>
4307
4308         * tabular.[Ch] (linuxdoc): add support for tables and figures
4309         (linuxdoc).
4310
4311 2003-07-27  José Matos  <jamatos@fep.up.pt>
4312
4313         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4314         consistency in both functions.
4315         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4316
4317 2003-07-26  Asger Alstrup  <alstrup@local>
4318
4319         * rowpainter.C (paintRows): Change algorithm to work directly on
4320         the insets rather than asking every character in the document
4321         whether its an inset.
4322
4323 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * buffer.C (openFileWrite): factorize some code
4326
4327 2003-07-26  Angus Leeming  <leeming@lyx.org>
4328
4329         * lyx_cb.C:
4330         * lyx_main.[Ch]: replace occurances of system_tempdir with
4331         os::getTmpDir().
4332
4333 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * rename Inset to InsetOld
4336
4337 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4338
4339         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4340         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4341         which I think is a bit clearer. EDIT is gone, since it was
4342         premature optimisation, and broken for mathed anyway.
4343         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4344         with cursor positioning in insets as well (math insets still do not
4345         work, but that's a different story anyway.) It mysteriously
4346         crashes sometimes with undo in the first paragraph, but I'm fairly
4347         confident that this is a compiler bug.
4348
4349 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * paragraph.C (Paragraph): adjust for new clone return type
4352         (operator==): ditto
4353         (copyIntoMinibuffer): ditto
4354
4355 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4356
4357         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4358         by not having a special case, and always doing a full rebreak of
4359         the document after undo.
4360
4361 2003-07-23  Angus Leeming  <leeming@lyx.org>
4362
4363         * factory.C (createInset): InsetExternal::setParams now takes a
4364         Buffer const * arg.
4365
4366 2003-07-23  Angus Leeming  <leeming@lyx.org>
4367
4368         * factory.C (createInset): changed interface to the external and
4369         graphics mailers' string2params functions.
4370
4371 2003-07-23  Angus Leeming  <leeming@lyx.org>
4372
4373         * factory.C (createInset): pass a
4374         Buffer const * parameter to InsetExternalMailer's string2params.
4375
4376 2003-07-22  John Levon  <levon@movementarian.org>
4377
4378         * Thesaurus.h: include the right aiksaurus header
4379
4380 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4381
4382         * MenuBackend.C (expand): check menu shortcuts unconditionally
4383
4384 2003-07-21  Angus Leeming  <leeming@lyx.org>
4385
4386         * factory.C (createInset): pass a
4387         buffer_path parameter to InsetGraphicsMailer's string2params.
4388
4389 2003-07-21  Angus Leeming  <leeming@lyx.org>
4390
4391         * BufferView_pimpl.C (buffer):
4392         * buffer.C (d-tor):
4393         * lyx_main.C (LyX):
4394         * lyxfunc.C (dispatch):
4395         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4396         rather than the grfx shortcut.
4397
4398 2003-07-21  André Pönitz  <poenitz@gmx.net>
4399
4400         * rowpainter.C: remove unused variables
4401
4402         * tabular_funcs.C:
4403         * tabular_funcs.h: move to tabular.C
4404         * Makefile.am: adjust
4405
4406         * tabular.[Ch]: basic optical cleaning
4407
4408         * author.h: pass references, not values
4409
4410 2003-07-18  André Pönitz  <poenitz@gmx.net>
4411
4412         * lyxtext.h:
4413         * metricsinfo.C:
4414         * metricsinfo.h:
4415         * rowpainter.C:
4416         * text.C:
4417         * text2.C:
4418         * text3.C: two-phase drawing for InsetText and InsetTabular
4419         some float -> int changes.
4420
4421 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * lyx_main.C: fix the fix
4424
4425 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * lyx_main.C: fix a crash in batch mode if no files specified
4428         * converter.C: ws
4429
4430 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4431
4432         * format.[Ch] (papersize): moved to BufferParams
4433         * converter.[Ch] (dvips_options): moved to BufferParams
4434         (dvipdfm_options): moved to anon namespace
4435         * bufferparams.[Ch]: added above functions.
4436
4437 2003-07-17  André Pönitz  <poenitz@gmx.net>
4438
4439         * lyxtext.h:
4440         * rowpainter.C:
4441         * text2.C: don't call inset->update() anymore
4442
4443         * metricsinfo.[Ch]: add convenience constructor
4444
4445 2003-07-16  André Pönitz  <poenitz@gmx.net>
4446
4447         * lyxcursor.[Ch]:
4448         * lyxfunc.[Ch]:
4449         * text.C:
4450         * text2.C: replace the LyXCursor::irow_ member with
4451          on-demand computation of the value
4452
4453 2003-07-16  John Levon  <levon@movementarian.org>
4454
4455         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4456
4457 2003-07-15  André Pönitz  <poenitz@gmx.net>
4458
4459         * text.C:
4460         * text2.C: remove no more needed refresh_row
4461
4462 2003-07-15  André Pönitz  <poenitz@gmx.net>
4463
4464         * lyxtext.h:
4465         * rowpainter.C:
4466         * text2.C:
4467         * text3.C: refresh_status tristate -> need_update bool
4468
4469 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4470
4471         * lyxtext.h (init): remove reinit argument (act as if always true)
4472         * text2.C: adjust to that
4473
4474 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4475
4476         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4477         * text3.C: use it to delete selections in some cases
4478         (bugs 441, 673, 702, 954).
4479
4480 2003-07-14  André Pönitz  <poenitz@gmx.net>
4481
4482         * rowpainter.[Ch]: reduce interface
4483
4484 2003-07-14  André Pönitz  <poenitz@gmx.net>
4485
4486         * BufferView_pimpl.C:
4487         * text2.C: adjust after removing unused BufferView * argument
4488
4489 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4490
4491         * text2.C (init): fix a crash fired on resize
4492
4493 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * buffer.[Ch]: added new closing signal
4496         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4497         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4498         BufferView::Pimpl via the closing the signal
4499
4500 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4501
4502         * buffer.[Ch]: take out all bv-related from buffer
4503         * BufferView.C:
4504         * BufferView_pimpl.[Ch]: connect to new signals
4505         * CutAndPaste.C: removed useless asserts
4506         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4507         * lyxvc.[Ch]:
4508         * vc-backend.[Ch]:
4509         * lyxfunc.C: moved view-related funciontality from vc here
4510         * paragraph.C: removed outdated comments
4511         * text.C: ws
4512
4513 2003-07-10  André Pönitz  <poenitz@gmx.net>
4514
4515         * BufferView_pimpl.C:
4516         * tabular.h:
4517         * tabular_funcs.C:
4518         * text.C:
4519         * text2.C: remove InsetText::InnerCache, clean up consequences
4520
4521 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4522
4523         * ispell.C: fix two typos in error messages
4524
4525 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4526
4527         * Extend Note inset to other forms of annotation like Comment
4528         and Greyedout. Right button click gives dialog.
4529
4530         Files modified or added (+):
4531
4532         * insetnote.[Ch]
4533         * FormNote.[Ch]      +
4534         * ControlNote.[Ch]   +
4535         * form_note.fd       +
4536         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4537         frontends/controllers
4538         * xforms/Dialogs.C
4539         * factory.C
4540
4541 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4542
4543         * aspell.C: add missing namespace lyx::support
4544
4545 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * BufferView.[Ch] (newFile): Add
4548         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4549         * LaTeX.[Ch] (message): added this signal and use it
4550         * buffer.[Ch] (busy, message): added these signals and use them
4551         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4552         * converter.C:
4553         * exporter.C:
4554         * format.C:
4555         * importer.C: use buffer signals instead of direct bv calling
4556         * lyx_cb.[Ch] (ShowMessage): removed
4557         * lyx_main.C:
4558         * lyxfunc.C:
4559         * paragraph_funcs.C:
4560         * text2.C: use buffer signals
4561
4562 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * introduce namespace lyx::graphics
4565
4566 2003-07-02  André Pönitz  <poenitz@gmx.net>
4567
4568         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4569
4570 2003-07-01  André Pönitz  <poenitz@gmx.net>
4571
4572         * text.C:
4573         * text2.C:
4574         * text3.C:
4575         * text_funcs.[Ch]:
4576         * textcursor.h:
4577         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4578           text*.C to text_func.C
4579
4580 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * introduce namespace lyx::support
4583
4584 2003-06-30  André Pönitz  <poenitz@gmx.net>
4585
4586         * Chktex.C:
4587         * funcrequest.C:
4588         * lyxtext.h:
4589         * text.C: re-enable --with-included-string
4590
4591 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * textcursor.C: add <config.h>
4594
4595         * text.C (getWord): remove const from word_location arg
4596
4597         * lyxvc.C (getLogFile): fix const type order
4598
4599         * lyxtext.h: remove const from word_location arg, add arg name
4600
4601         * lyxlayout.h: currect type on labeltype.
4602
4603         * importer.C: correct \file
4604
4605         * converter.C (intToFormat): use std:: on ret val, ws changes
4606
4607         * bufferlist.h: correct \file
4608
4609         * buffer.C (makeLinuxDocFile): fix const type order
4610         (makeDocBookFile): ditto
4611         (fillWithBibKeys): use std:: on stdlib args.
4612
4613         * CutAndPaste.C: fix authors.
4614         (availableSelections): use std:: on return vector
4615
4616 2003-06-27  André Pönitz  <poenitz@gmx.net>
4617
4618         * BufferView_pimpl.C:
4619         * bufferview_funcs.C:
4620         * lyxcursor.C:
4621         * lyxcursor.h:
4622         * lyxfunc.C:
4623         * lyxtext.h:
4624         * rowpainter.C:
4625         * text.C:
4626         * text2.C:
4627         * text3.C: remove LyXCursor::row_ member
4628
4629         * lyxtext.h:
4630         * text.C: rename fullRebreak() to partialRebreak() and implement
4631           a fullRebreak() that really bereks fully
4632
4633         * textcursor.h: new struct for cursor-related data
4634
4635 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4636
4637         * lyx_main.C (LyX): get full path of document loaded on the
4638         command line
4639
4640 2003-06-26  André Pönitz  <poenitz@gmx.net>
4641
4642         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4643           remove unused/broken operator>,<,>=.
4644
4645         *       text.C: remove only use of broken operator<= in an Assert().
4646
4647 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4648
4649         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4650         moved errorlist_.clear to showErrorList
4651
4652 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4653
4654         * converter.C (scanLog, runLaTeX):
4655         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4656         move the bv->showErrorList call to the callers
4657         * lyxfunc.C: i.e. here...
4658         * text2.C: and here
4659         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4660         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4661         namespace, the second to...
4662         * buffer_funcs (BufferFormat, parseErrors): added
4663         * errorlist.C (ErrorList(TeXErrors const &)): removed
4664
4665 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4666
4667         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4668
4669 2003-06-24  "Garst R. Reese" <reese@isn.net>
4670
4671         * debug.C: fix typo
4672
4673 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4674
4675         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4676
4677         * version.C.in: change docversion to 1.4
4678
4679 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * buffer.C: fix a bug just introduced
4682
4683 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * buffer.[Ch]: added the parseError signal and use it, removed
4686         sgmlError
4687         * BufferView.[Ch] (addError): moved to ...
4688         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4689         to the Buffer::parseError signal to catch (guess what) parse errors
4690         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4691
4692 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4695         ability to create a buffer and to return an existing one from
4696         the list. Moved these functions to...
4697         * buffer_funcs.[Ch]: added
4698         * BufferView.[Ch] (loadLyXFile): added
4699         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4700         job removed from bufferlist::loadLyXFile.
4701         * buffer.C (setReadOnly): make it work without view
4702         (i.e added an if (users))
4703
4704 2003-06-19  Angus Leeming  <leeming@lyx.org>
4705
4706         * lfuns.h:
4707         * LyXAction.C (init):
4708         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4709         with LFUN_DIALOG_SHOW <name> <data>.
4710
4711 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4712
4713         * CutAndPaste.C (availableSelections): small compilation fix for
4714         ancient (gcc 2.9x) compilers
4715
4716 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * text3.C (cursorNext): add tmp var
4719
4720         * text2.C (updateCounters): for function calling out of for clause
4721         (replaceSelectionWithString): ditto
4722         (insertStringAsParagraphs): ditto
4723         (getColumnNearX): add tmp var
4724         (setCursorFromCoordinates): add tmp var
4725         (cursorDownParagraph): add tmp var
4726         (deleteEmptyParagraphMechanism): add tmp var
4727
4728         * text.C (insertChar): add tmp var
4729
4730         * rowpainter.C (paintDepthBar): add tmp var
4731
4732         * CutAndPaste.C (availableSelections): potentially check all
4733         paragraphs in a cut to fill the shown strings.
4734
4735 2003-06-18  André Pönitz  <poenitz@gmx.net>
4736
4737         * kbmap.[Ch]: use vector<> instead of list<>
4738
4739 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4740
4741         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4742         pasteSelection with index
4743
4744         * text2.C (pasteSelection): modify, call pasteSelection with index
4745
4746         * paragraph.C (asString): reimplement version with no interval to
4747         call the one with interval.
4748
4749         * lyxtext.h: add index arg to pasteSelection
4750
4751         * MenuBackend.C (MenuItem): handle PasteRecent
4752         (Menu::read::Menutags): add md_pasterecent
4753         (read): handle it
4754         (expandPasteRecent): new function
4755         (expand): use it
4756
4757         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4758
4759         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4760         the limited stack
4761         (availableSelections): new function
4762
4763 2003-06-17  Angus Leeming  <leeming@lyx.org>
4764
4765         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4766
4767 2003-06-17  Angus Leeming  <leeming@lyx.org>
4768
4769         * lfuns.h:
4770         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4771
4772         * lyxfunc.C (dispatch): invoke it.
4773
4774 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4775
4776         * iterators.C (operator++, ParPosition): reintroduce some
4777         const_cast for the benefit of older compilers.
4778
4779 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4780
4781         * text3.C (dispatch): do not modify clipboard when doing
4782         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4783         LFUN_DELETE_SKIP on a selection selection
4784
4785 2003-06-16  André Pönitz  <poenitz@gmx.net>
4786
4787         * BufferView.C:
4788         * buffer.C:
4789         * buffer.h:
4790         * paragraph.C:
4791         * tabular.[Ch]: IU of clone() and getLabelList();
4792
4793 2003-06-13  André Pönitz  <poenitz@gmx.net>
4794
4795         * tabular.h: compactification
4796
4797 2003-06-12  André Pönitz  <poenitz@gmx.net>
4798
4799         * tabular.C:
4800         * tabular.h:
4801         * tabular_funcs.h: some renaming plus whitespace
4802
4803 2003-06-12  André Pönitz  <poenitz@gmx.net>
4804
4805         * BufferView.C:
4806         * BufferView_pimpl.C:
4807         * CutAndPaste.C:
4808         * buffer.C:
4809         * iterators.[Ch]:
4810         * lyxfunc.C:
4811         * text.C:
4812         * toc.C: Return a Paragraph & for ParIterator::operator*()
4813
4814 2003-06-11  John Levon  <levon@movementarian.org>
4815
4816         * lyx_main.C:
4817         * ToolbarBackend.h:
4818         * ToolbarBackend.C: add "Toolbars" section and
4819         put the flags there
4820
4821 2003-06-10  Angus Leeming  <leeming@lyx.org>
4822
4823         * lfuns.h:
4824         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4825
4826         * lyxfunc.C (dispatch): invoke it.
4827
4828 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * main.C: protect <ios> with HAVE_IOS
4831         (main): protect sync_with_stdio with HAVE_IOS
4832
4833 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4834
4835         * text2.C (cutSelection): adjust
4836         (pasteSelection): adjust
4837
4838         * messages.C: handle get of empty string
4839
4840         * main.C (main): use sync_with_stdio(false)
4841
4842         * lyxfunc.C (dispatch): adjust
4843
4844         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4845         (WriteAs): remove unneeded BufferView arg.
4846
4847         * bufferparams.h: use correct types on papersize, papersize2 and
4848         paperpackage.
4849
4850         * bufferparams.C (readToken): adjust for type
4851         (writeLaTeX): add missing cases to switch.
4852
4853         * bufferlist.C (quitWriteBuffer): adjust
4854         (close): adjust
4855
4856         * buffer.C (asciiParagraph): remove some commented code.
4857
4858         * CutAndPaste.C: remove current_view extern variable.
4859         (cutSelection): add BufferParams arg.
4860         (eraseSelection): add BufferParams arg.
4861         (pasteSelection): add Buffer const & arg
4862
4863 2003-06-07  John Levon  <levon@movementarian.org>
4864
4865         * buffer.C:
4866         * paragraph_funcs.C:
4867         * paragraph_pimpl.C:
4868         * text.C:
4869         * text2.C:
4870         * paragraph.h:
4871         * paragraph.C: allow InsetERT to freely space lines,
4872         and some consolidation of code
4873
4874 2003-06-06  José Matos  <jamatos@fep.up.pt>
4875
4876         * buffer.C (makeDocBookFile): fix bug #821
4877
4878 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4881
4882 2003-06-04  Angus Leeming  <leeming@lyx.org>
4883
4884         * buffer.C: bump format to 224.
4885
4886 2003-06-05  André Pönitz  <poenitz@gmx.net>
4887
4888         * text2.C (redoParagraphs): remove two const_cast<>
4889
4890 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4891
4892         * ParagraphList.h: remove last remnants of NO_STD_LIST
4893
4894 2003-06-03  Angus Leeming  <leeming@lyx.org>
4895
4896         * factory.C (createInset): small change to the way InsetExternal's params
4897         are set.
4898
4899 2003-06-04  André Pönitz  <poenitz@gmx.net>
4900
4901         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4902
4903         * paragraph_pimpl.h:
4904         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4905
4906         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4907
4908         * undo_funcs.C: make some simple cases of undo work again
4909
4910 2003-06-03  John Levon  <levon@movementarian.org>
4911
4912         * ispell.C: HPUX doesn't have sys/select.h
4913         (from Albert Chin)
4914
4915 2003-06-03  John Levon  <levon@movementarian.org>
4916
4917         * CutAndPaste.C: update tabular and include inset
4918         buffer references
4919
4920         * buffer.h:
4921         * paragraph.h:
4922         * paragraph.C: remove owningBuffer(), don't pass Buffer
4923         to clone()
4924
4925         * factory.C: insetGraphicsParams changed
4926
4927 2003-06-02  John Levon  <levon@movementarian.org>
4928
4929         * LyXAction.C:
4930         * factory.C:
4931         * lfuns.h:
4932         * lyxfunc.C:
4933         * text3.C: remove insetparent
4934
4935 2003-06-02  John Levon  <levon@movementarian.org>
4936
4937         * buffer.h:
4938         * buffer.C: fix inset_iterator.end(), move out of line
4939         (bug 1149)
4940
4941 2003-06-01  John Levon  <levon@movementarian.org>
4942
4943         * text3.C: use a proper cut/paste when doing inset
4944         insert (from Jürgen Spitzmüller)
4945
4946 2003-06-01  John Levon  <levon@movementarian.org>
4947
4948         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4949
4950 2003-05-30  André Pönitz  <poenitz@gmx.net>
4951
4952         * rowpainter.C: unify second drawing phase
4953
4954 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * trans_mgr.C: remove one case of current_view
4957
4958         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4959
4960         * paragraph_funcs.h: remove paragraph.h include
4961
4962         * paragraph.h: delete NO_STD_LIST stuff
4963
4964         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4965
4966         * buffer.h: remove paragraph.h include
4967
4968         * ParagraphList.C: delete file
4969
4970         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4971
4972         * toc.C (getTocList): adjust
4973
4974         * paragraph_pimpl.C (validate): adjust
4975
4976         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4977
4978         * paragraph.C (Paragraph): adjust
4979         (getPositionOfInset): use const_iterator, adjust
4980         (bibitem): use const_iterator, adjust
4981         (setInsetOwner): adjust
4982
4983         * iterators.C (operator++): adjust
4984
4985         * InsetList.[Ch]: Replace selfmade iterator with standard
4986         vector::iterator also introduce const_iterator. Remove getPos,
4987         getInset and setInset from InsetTable. Adjust accordingly.
4988
4989         * BufferView.C (lockInset): adjust
4990         (ChangeInsets): adjust
4991
4992         * tabular.[Ch]: delete commented same_id functions
4993
4994 2003-05-28  John Levon  <levon@movementarian.org>
4995
4996         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4997
4998 2003-05-28  André Pönitz  <poenitz@gmx.net>
4999
5000         * metricsinfo.[Ch]: remove 'fullredraw' member
5001
5002 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5003
5004         * lyxtextclass.C (operator): remove caching.
5005
5006 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * text3.C: adjust
5009
5010         * text2.C (cursorBottom): adjust
5011         (setCounter): use ParagraphList::find, adjust
5012
5013         * text.C (workWidth): use ParagraphList::find, adjust
5014
5015         * lyxcursor.C (LyXCursor): adjust
5016
5017         * buffer.C (inset_iterator): adjust
5018
5019         * ParagraphList.h: make iterator(value_type) private, make
5020         ParagraphList a friend of iterator.
5021
5022         * ParagraphList.C (find): new function
5023
5024         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5025
5026 2003-05-27  André Pönitz  <poenitz@gmx.net>
5027
5028         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5029
5030 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5031
5032         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5033
5034 2003-05-26  John Levon  <levon@movementarian.org>
5035
5036         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5037
5038 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * remove same_id from function signatures, adjust.
5041
5042 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5045
5046         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5047
5048         * paragraph.C (Paragraph): get rid of same_ids parameter
5049
5050         * ParagraphList.C (insert): adjust
5051         (push_back): adjust
5052
5053 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * paragraph_funcs.C (breakParagraph): adjust
5056         (breakParagraphConservative): adjust
5057
5058         * buffer.C (readParagraph): adjust
5059
5060         * ParagraphList.C (insert): take a reference instead of a pointer
5061         (insert): adjust
5062
5063         * paragraph.[Ch] (id): new function
5064
5065         * bufferlist.C (newFile): adjust
5066
5067         * ParagraphList.C (ParagraphList): adjust
5068         (assign): adjust
5069         (push_back): take a reference instead of a pointer.
5070
5071         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5072
5073         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5074         instead.
5075
5076         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5077         set else use old code.
5078
5079         * ParagraphList.C: remove all NO_NEXT code and only compile this
5080         code of NO_STD_LIST is set.
5081
5082 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * BufferView_pimpl.C:
5085         * TextCache.C:
5086         * TextCache.h:
5087         * bufferlist.C:
5088         * errorlist.h:
5089         * format.C:
5090         * format.h:
5091         * graph.C:
5092         * lyxfunc.C:
5093         * lyxrc.C:
5094         * graphics/GraphicsConverter.C:
5095         * graphics/PreviewLoader.C: header adjustment
5096
5097 2003-05-23  Angus Leeming  <leeming@lyx.org>
5098
5099         * LaTeXFeatures.[Ch] (useBabel): new method.
5100         * bufferparams.C (writeLaTeX): use it.
5101
5102 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * ParagraphList.h (set): remove unused function.
5105
5106 2003-05-23  André Pönitz  <poenitz@gmx.net>
5107
5108         * BufferView.C:
5109         * BufferView_pimpl.C:
5110         * buffer.C:
5111         * buffer.h:
5112         * lyxfunc.C:
5113         * undo_funcs.C: setUndo reworked
5114
5115         * iterators.[Ch]: add access to topmost ParagraphList
5116
5117         * lyxtext.[Ch] (workWidth): add a const
5118
5119 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * texrow.[Ch] (increasePos): remove function
5122         * exporter.C (export): removed unused var and outdated comment
5123
5124 2003-05-23  Angus Leeming  <leeming@lyx.org>
5125
5126         * latexrunparams.h: rename fragile as moving_arg.
5127         * paragraph.C (simpleTeXOnePar): ditto.
5128         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5129
5130 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5133         (createUndo): ditto
5134         (textUndoOrRedo): comment out a currently unused var.
5135
5136         * paragraph.h (NO_NEXT): enable NO_NEXT
5137
5138         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5139
5140         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5141
5142         * exporter.C (Export): adjust for removeAutoInsets removal.
5143
5144         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5145
5146         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5147
5148         * BufferView.[Ch] (removeAutoInsets): delete function
5149
5150 2003-05-22  Angus Leeming  <leeming@lyx.org>
5151
5152         * latexrunparams.h: add a free_spacing variable.
5153
5154         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5155         to pass moving_arg, as the data is stored in runparams.fragile.
5156
5157         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5158         to Inset::latexOptional or to simpleTeXOnePar.
5159
5160         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5161         free_spacing arg to Inset::latexOptional.
5162
5163         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5164         free_spacing arg.
5165
5166 2003-05-22  Angus Leeming  <leeming@lyx.org>
5167
5168         * latexrunparams.h: add fragile and use_babel variables.
5169
5170         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5171         * buffer.C (makeLaTeXFile): store this returned value in
5172         runparams.use_babel, thus passing it to the inset::latex methods.
5173
5174         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5175         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5176
5177         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5178         longer has a fragile arg, as it is stored in runparams.fragile.
5179
5180         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5181         moving_arg parameter as the data is stored in runparams.fragile.
5182
5183         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5184         a fragile parameter as the data is stored in runparams.fragile.
5185
5186 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5189
5190 2003-05-22  Angus Leeming  <leeming@lyx.org>
5191
5192         * latexrunparams.h: add a 'bool nice' which defaults to false.
5193
5194         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5195         now encapsulated within runparams.
5196
5197         * bufferlist.C (updateIncludedTeXfiles):
5198         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5199
5200 2003-05-22  Angus Leeming  <leeming@lyx.org>
5201
5202         * latexrunparams.h: new file containing struct LatexRunParams.
5203         * Makefile.am: add new file.
5204
5205         * LaTeX.[Ch] (c-tor, run):
5206         * buffer.[Ch] (makeLaTeXFile):
5207         * bufferlist.[Ch] (updateIncludedTeXfiles):
5208         * converter.C (convert, scanLog):
5209         * converter.[Ch] (runLaTeX):
5210         * exporter.C (Export):
5211         * paragraph.[Ch] (simpleTeXOnePar):
5212         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5213         * paragraph_funcs.[Ch] (latexParagraphs):
5214         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5215         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5216         pass around a LatexRunParams parameter.
5217
5218 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * paragraph.[Ch]: remove unused constructor
5221
5222         * ParagraphList.C (erase): new function, taking two iterators
5223
5224 2003-05-22  André Pönitz  <poenitz@gmx.net>
5225
5226         * undo_funcs.C: remove duplicated code
5227
5228         * iterator.[Ch]: operator=
5229
5230 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * tabular.C (SetMultiColumn): ws changes
5233
5234         * rowpainter.C (paintFirst): get rid of a ->previous
5235
5236         * lyx_cb.C (getPossibleLabel): parlist simplification
5237
5238         * BufferView.C (ChangeInsets): simplify slightly.
5239
5240 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5241
5242         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5243         * lfuns.h: new LFUN_SPACE
5244         * lyxfunc.C: protected space has a new lfun
5245         * paragraph_funcs.C: read new space insets
5246         * text3.C:
5247         * factory.C: handle new space insets
5248
5249 2003-05-22  André Pönitz  <poenitz@gmx.net>
5250
5251         * BufferView.C:
5252         * BufferView_pimpl.C:
5253         * buffer.[Ch]:
5254         * lyxfunc.C:
5255         * undo_funcs.C: return a ParIterator from getParFromID.
5256
5257         * iterators.[Ch]: add two const's
5258
5259 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * toc.C (getTocList): adjust
5262
5263         * iterators.[Ch]: rework for parlist
5264
5265         * buffer.C (par_iterator_begin): adjust
5266         (par_iterator_end): adjust
5267
5268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5269
5270         * BufferView.C (removeAutoInsets): adjust
5271         (ChangeInsets): adjust
5272
5273 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * text.C (top_y): fix bug 1110
5276
5277 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * errorlist.[Ch]: added
5280         * buffer.C:
5281         * BufferView.[Ch]:
5282         * BufferView_pimpl.C:
5283         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5284         instead
5285
5286 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * Makefile.am: ensure that lyx is relinked upon changes to the
5289         various "convenience" libs.
5290
5291 2003-05-20  Angus Leeming  <leeming@lyx.org>
5292
5293         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5294         files are compiled in alphabetical order again.
5295
5296         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5297
5298 2003-05-19  Angus Leeming  <leeming@lyx.org>
5299
5300         * gettext.[Ch]: remove "char const * _(char const *)".
5301
5302 2003-05-19  André Pönitz  <poenitz@gmx.net>
5303
5304         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5305
5306         * Makefile.am:
5307         * BufferView.C:
5308         * DepTable.h:
5309         * LaTeXFeatures.C:
5310         * buffer.C:
5311         * lyxfont.C:
5312         * lyxlex.h:
5313         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5314
5315 2003-05-19  André Pönitz  <poenitz@gmx.net>
5316
5317         * buffer.C:
5318         * lyxlayout.[Ch]:
5319         * lyxtextclass.[Ch]:
5320         * paragraph.C:
5321         * paragraph_funcs.[Ch]:
5322         * text2.C:
5323         * text3.C: more insetenv work
5324
5325 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * ParagraphParameters.C (params2string): small bug fixed
5328
5329 2003-05-16  André Pönitz  <poenitz@gmx.net>
5330
5331         * debug.C:
5332         * bufferview_funcs.C: patch from Kornel Benko to prevent
5333           crash when _(...) is called twice in a statement
5334
5335 2003-05-16  André Pönitz  <poenitz@gmx.net>
5336
5337         * BufferView.C:
5338         * lyxfunc.C:
5339         * text.C:
5340         * text2.C:
5341         * text3.C:
5342         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5343
5344 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5345
5346         * lyx_main.C (init): remove spurious static_cast
5347
5348 2003-05-14  André Pönitz  <poenitz@gmx.net>
5349
5350         * BufferView.C: fix format string
5351
5352 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * BufferView.[Ch] (insertErrors): removed
5355         * BufferView.[Ch] (showErrorList): added
5356         * buffer.C (runChkTeX):
5357         * converter.C (scanLog): call showErrorList instead of inserterrors
5358
5359 2003-05-13  André Pönitz  <poenitz@gmx.net>
5360
5361         * BufferView_pimpl.C:
5362         * buffer.C:
5363         * bufferview_func.C:
5364         * MenuBackend.C:
5365         * lyxfunc.C:
5366         * lyxrc.C:
5367         * tex-accent.C:
5368         * text3.C:
5369         * toc.C:
5370         * tabular_funcs.h: tostr() from its own header
5371
5372         * ParagraphParameters.C:
5373         * ToolbarBackend.C:
5374         * bufferparams.C:
5375         * format.C:
5376         * lyxlex_pimpl.C:
5377         * text3.C: STRCONV()
5378
5379 2003-05-12  André Pönitz  <poenitz@gmx.net>
5380
5381         * BufferView.C:
5382         * BufferView_pimpl.C:
5383         * CutAndPaste.C:
5384         * LaTeX.C:
5385         * LaTeXFeatures.C:
5386         * ParagraphParameters.C:
5387         * buffer.C:
5388         * bufferlist.C:
5389         * bufferparams.C:
5390         * bufferview_funcs.C:
5391         * converter.C:
5392         * counters.C:
5393         * debug.C:
5394         * exporter.C:
5395         * format.C:
5396         * importer.C:
5397         * lyx_cb.C:
5398         * lyx_main.C:
5399         * lyxfont.C:
5400         * lyxfunc.C:
5401         * lyxvc.C:
5402         * paragraph.C:
5403         * paragraph_funcs.C:
5404         * tabular.C:
5405         * tabular_funcs.C:
5406         * text2.C:
5407         * text3.C:  boost::format -> bformat  all over the place
5408
5409
5410 2003-05-09  André Pönitz  <poenitz@gmx.net>
5411
5412         * LColor.[Ch]: Pimpl the #include <map> away
5413
5414 2003-05-09  John Levon  <levon@movementarian.org>
5415
5416         * bufferlist.C: never remove emergency saves
5417
5418 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * Makefile.am: better lib building
5421
5422 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5425         instead.
5426         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5427         (simpleTeXSpecialChars): adjust
5428         (simpleTeXSpecialChars): adjust
5429         * paragraph.C (simpleTeXOnePar): adjust
5430         * buffer.C (makeLaTeXFile): adjust
5431
5432         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5433
5434         * text2.C (changeDepth): parlist cleanup
5435         (getColumnNearX): ditto
5436
5437         * rowpainter.C (getLabelFont): parlist cleanup
5438
5439         * bufferlist.C (newFile): parlist cleanup
5440
5441         * CutAndPaste.C (eraseSelection): parlist cleanup
5442
5443         * BufferView_pimpl.C (trackChanges): parlist cleanup
5444         (dispatch): ditto
5445
5446         * BufferView.C (lockInset): parlist cleanup.
5447         (ChangeInsets): ditto
5448
5449 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * CutAndPaste.h: Update file header.
5452
5453         * CutAndPaste.C: Update file header.
5454         Store the parts cut out of the Document in a limited_stack.
5455         (copySelection): adjust
5456         (pasteSelection): new function, takes the index in the limited stack.
5457         (nrOfParagraphs): adjust
5458         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5459         simplify error inset insertion.
5460         (checkPastePossible): adjust
5461
5462 2003-05-06  John Levon  <levon@movementarian.org>
5463
5464         * text2.C: don't cast wrap inset to float
5465
5466 2003-05-05  André Pönitz  <poenitz@gmx.net>
5467
5468         * iterator.C:
5469         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5470
5471         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5472           few naked Paragraph *.
5473
5474 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5475
5476         * bufferparams.C: Output warning if a document with missing
5477         TeX document class is loaded
5478         * exporter.C: Disable TeX exports if the document class is missing
5479         * lyxtextclass.C:
5480         * lyxtextclass.h:
5481         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5482         isTeXClassAvailable()
5483
5484 2003-05-03  John Levon  <levon@movementarian.org>
5485
5486         * BufferView.h:
5487         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5488         explicit cursor show/hide
5489
5490         * BufferView_pimpl.h:
5491         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5492         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5493
5494         * lyxfunc.C: hide cursor before dispatching.
5495
5496         * lyx_cb.C:
5497         * lyxfind.C:
5498         * text.C:
5499         * text3.C: remove explicit cursor hides
5500
5501 2003-05-02  André Pönitz  <poenitz@gmx.net>
5502
5503         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5504
5505         * undo_funcs.C:
5506         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5507           linked lists
5508
5509         * text2.C: tiny whitespace
5510
5511 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * undo_funcs.C: almost only ws changes.
5514
5515         * ParagraphList.C (splice): just return if pl is empty.
5516
5517 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * ParagraphList.C (splice): new function.
5520
5521         * CutAndPaste.C (pasteSelection): use it
5522
5523 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * CutAndPaste.C (pasteSelection): remove the last next and
5526         previous from this file.
5527
5528 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * CutAndPaste.C (pasteSelection): more clean up, user proper
5531         ParagraphList functions for pasteing.
5532
5533         * ParagraphList.C (insert): new function, three arg insert
5534
5535 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * ParagraphList.C (insert): new function, three arg insert
5538
5539         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5540         not on paragraphs.
5541
5542 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5545
5546 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5549
5550 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5553         (copySelection): clean up a bit.
5554         (pasteSelection): use make_pair
5555
5556         * ParagraphList.C (ParagraphList): implement copy constructor
5557         (operator=): implement, base on copy constructor.
5558         (assign): new func
5559
5560         * paragraph.C (erase): return a bool
5561
5562         * paragraph_pimpl.C (erasePos): remove function, move contents...
5563         (erase): ... here. Return a bool.
5564         (erase): call erase instead of erasePos.
5565
5566 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5567
5568         * ParagraphList.h: define PitPosPair
5569         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5570         ParagraphList, fix a bug on pasting multiple pars
5571         * text2.C: change interface to C&P
5572
5573 2003-04-30  André Pönitz  <poenitz@gmx.net>
5574
5575         * undo_func.C: revert part of yesterday's patch 2
5576
5577 2003-04-30  John Levon  <levon@movementarian.org>
5578
5579         * LColor.C: s/tabular/table/
5580
5581 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * text3.C (dispatch): do not convert iterator -> pointer
5584         * undo_funcs.C (setCursorParUndo): ditto
5585         * text_funcs.C (transposeChars): ditto
5586
5587         * text2.C (setLayout): ws changes only
5588
5589         * text.C (breakParagraph): do not convert iterator -> pointer
5590         (insertChar): ditto
5591         (acceptChange): ditto
5592         (rejectChange): ditto
5593         (changeCase): ditto
5594         (Delete): ditto
5595         (backspace): ditto
5596
5597         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5598         pointer
5599
5600 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * text3.C (gotoInset): YABG (yet another bad getChar)
5603
5604 2003-04-29  André Pönitz  <poenitz@gmx.net>
5605
5606         * paragraph.h: make operator= private unimplemented as long as
5607           it is unusable
5608
5609         * ParagraphList.C: whitespace
5610
5611         * paragraph.[Ch]:
5612         * paragraph_pimpl.[Ch]:
5613         * paragraph_funcs.C:
5614         * CutAndPaste.C:
5615         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5616
5617         * text2.C:
5618           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5619
5620 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5623         * paragraph.[Ch] (erase):
5624         * paragraph_pimpl.[Ch] (erase): change return type and value
5625         * text2.C (cutSelection): some rework
5626
5627 2003-04-28  John Levon  <levon@movementarian.org>
5628
5629         * bufferlist.C: changes for unsaved changes dialog
5630
5631 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * bufferlist.C (newFile): set language (messages_) for new
5634         documents also.
5635
5636         * buffer.C (readFile): ws changes only.
5637
5638 2003-04-28  André Pönitz  <poenitz@gmx.net>
5639
5640         * undo_funcs.C:
5641         * lyxfunc.C:
5642         * buffer.[Ch]:
5643         * BufferView_pimpl.C:
5644         * BufferView.C: getParFromID related ParagraphList::iterator changes
5645
5646 2003-04-28  André Pönitz  <poenitz@gmx.net>
5647
5648         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5649           Changes
5650
5651 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * messages.C: remove one more localedir class variable.
5654
5655 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * messages.C (getLocaleDir): singleton generation function
5658         (Pimpl): use it.
5659         (Messages): add a default constructor.
5660
5661         * main.C (main): do not setup localedir here, do not call
5662         gettext_init.
5663
5664         * gettext.C (_): use it.
5665         (gettext_init): delete funciton
5666
5667 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * gettext.C (getLyXMessages): new singleton generating function.
5670
5671         * buffer.C (updateDocLang): adjust
5672
5673         * Makefile.am (messages.o): add target
5674         (main.o): remove target
5675
5676 2003-04-27  John Levon  <levon@movementarian.org>
5677
5678         * bufferlist.C:
5679         * lyx_cb.C:
5680         * lyxfunc.C:
5681         * lyxvc.C: specify cancel button in Alert::prompt
5682
5683 2003-04-26  John Levon  <levon@movementarian.org>
5684
5685         * text3.C:
5686         * lyxfunc.C:
5687         * lfuns.h:
5688         * LyXAction.C: add LFUN_INSET_SETTINGS
5689
5690         * lyxfunc.C: don't enable tabular-feature when there's
5691         just any locking inset
5692
5693 2003-04-26  John Levon  <levon@movementarian.org>
5694
5695         * bufferlist.C: re-add Cancel to buffer close question
5696
5697         * lyxfunc.C: fix import UI a bit
5698
5699 2003-04-25  John Levon  <levon@movementarian.org>
5700
5701         * gettext.C: remove the broken asserts for now
5702
5703 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * messages.C: make case where setlocale cannot comply work better.
5706
5707         * buffer.C (updateDocLang): new function
5708         (changeLanguage): use it
5709         (readFile): use it
5710
5711         * text2.C (setCounter): use B_ a bit.
5712
5713         * lyxlayout.C (Read): be sure to trim the label strings.
5714
5715         * messages.C (Messages): fix typo in comment
5716
5717         * buffer.C (readFile): set message_ after file is loaded.
5718         (makeDocBookFile): remove double return
5719         (changeLanguage): reset message_ upon language change.
5720         (B_): new func, use this to get translated buffer strings.
5721
5722         * main.C: add myself and Jean Marc as authors.
5723
5724 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * messages.[hC]: pimplify Messages, and three different pimpls to be
5727         used in different circumstances.
5728
5729         * gettext.[Ch]: change for use with new message code.
5730
5731 2003-04-24 André Pönitz <poenitz@gmx.net>
5732
5733         * factory.C: support for eqref
5734
5735 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * messages.[Ch]: add missing char
5738
5739         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5740
5741         * messages.[Ch]: New files
5742
5743 2003-04-18  John Levon  <levon@movementarian.org>
5744
5745         * BufferView.h:
5746         * BufferView.C:
5747         * BufferView_pimpl.C:
5748         * lfuns.h:
5749         * LyXAction.C:
5750         * lyxtext.h:
5751         * text2.C: remove layout-copy/paste (bug 778)
5752
5753 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5756
5757 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5760         if they succeed. Act accordingly.
5761
5762 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * text2.C (setCharFont): adjust
5765         (setCounter): adjust
5766         (insertStringAsLines): adjust
5767
5768         * text.C (leftMargin): adjust
5769         (setHeightOfRow): adjust
5770
5771         * rowpainter.C (paintFirst): adjust
5772         (paintLast): adjust
5773
5774         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5775         (outerHook): ditto
5776         (isFirstInSequence): ditto
5777         (getEndLabel): ditto
5778         (outerFont): adjust
5779
5780         * paragraph.C (getParLanguage): comment out some hard stuff.
5781
5782         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5783         (sgmlError): ditto
5784         (simpleDocBookOnePar): ditto
5785         (makeDocBookFile): use ParagraphList::iterator
5786
5787         * CutAndPaste.C (pasteSelection): adjust
5788
5789 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * text2.C (getFont): adjust
5792         (getLayoutFont): adjust
5793         (getLabelFont): adjust
5794
5795         * paragraph_funcs.C (TeXOnePar): adjust
5796
5797         * buffer.C (simpleLinuxDocOnePar): adjust
5798         (simpleDocBookOnePar): adjust
5799
5800         * CutAndPaste.C (pasteSelection): adjust
5801
5802         * BufferView.C (getEncoding): adjust
5803
5804         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5805
5806 2003-04-16  John Levon  <levon@movementarian.org>
5807
5808         * lyxfind.C: use parlist stuff for search/changes
5809
5810 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5813
5814         * text2.C (deleteEmptyParagraphMechanism): adjust
5815
5816         * text2.[Ch] (ownerParagraph): delete func (both of them
5817
5818 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5821
5822 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * ParagraphList.C: prepare for NO_NEXT
5825
5826 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5827
5828         * text2.C (getFont): adjust
5829         (getLayoutFont): adjust
5830         (getLabelFont): adjust
5831
5832         * paragraph.C (getFont): adjust
5833         (getLabelFont): adjust
5834         (getLayoutFont): adjust
5835
5836         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5837
5838 2003-04-15  John Levon  <levon@movementarian.org>
5839
5840         From Angus Leeming
5841
5842         * lyx_main.C: handle Include in .ui files
5843
5844 2003-04-15  John Levon  <levon@movementarian.org>
5845
5846         * MenuBackend.C: make the doc files length shorter
5847
5848         * ToolbarBackend.h:
5849         * ToolbarBackend.C: handle toolbar placement flags,
5850         Minibuffer
5851
5852 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5855         adjust
5856
5857         * paragraph_funcs.C (TeXOnePar): adjust
5858
5859         * paragraph.C (getLabelFont): add outerfont arg, adjust
5860         (getLayoutFont): ditto
5861         (simpleTeXOnePar): adjust
5862
5863         * paragraph_pimpl.C (realizeFont): delete func
5864
5865 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5866
5867         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5868         row argument, constify cur argument.
5869
5870 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * text2.C (getFont): adjust
5873         (getLayoutFont): adjust
5874         (getLabelFont): adjust
5875
5876         * paragraph_funcs.C (TeXOnePar): adjust
5877         (outerFont): new func...
5878         (realizeFont): ...moved out from here, changed this to facilitate
5879         transition
5880
5881         * paragraph.C (getFont): take outerfont as arg, adjust
5882         (simpleTeXOnePar): add outerfont arg, adjust
5883
5884         * buffer.C (simpleLinuxDocOnePar): adjust
5885         (simpleDocBookOnePar): adjust
5886
5887         * CutAndPaste.C (pasteSelection): adjust
5888
5889         * BufferView.C (getEncoding): adjust
5890
5891 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * text2.C (setCharFont): adjust
5894         (setCounter): adjust
5895
5896         * text.C (leftMargin): adjust
5897         (setHeightOfRow): adjust
5898
5899         * rowpainter.C (paintFirst): adjust
5900         (paintLast): adjust
5901
5902         * paragraph_pimpl.C (realizeFont): adjust
5903
5904         * paragraph.C (isFirstInSequence): move from here...
5905         * paragraph_funcs.C (isFirstInSequence): ...to here
5906
5907         * paragraph.C (outerHook): move from here...
5908         * paragraph_funcs.C (outerHook): ...to here
5909
5910         * paragraph.C (depthHook): move from here...
5911         * paragraph_funcs.C (depthHook): ...to here
5912
5913         * paragraph.C (getEndLabel): move from here...
5914         * paragraph_funcs.C (getEndLabel): ...to here
5915
5916         * text2.C (realizeFont): move from here...
5917         * paragraph_funcs.C (realizeFont): ...to here
5918
5919 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5922
5923 2003-04-14  Angus Leeming  <leeming@lyx.org>
5924
5925         * LColor.[Ch]: scrap LColor mathcursor.
5926
5927 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * lyxlex.[Ch] (text): delete function
5930         * trans.C (Load): adjust
5931         * paragraph_funcs.C (readParToken): adjust
5932
5933 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5936         vector<char> instead of a char[].
5937
5938         * lyxlex_pimpl.C (getString): adjust
5939         (next): adjust
5940         (lex): use getString
5941         (eatLine): adjust
5942         (nextToken): adjust
5943
5944         * lyxlex.C (text): use pimpl_->getString()
5945         (getBool): ditto
5946         (findToken): ditto
5947
5948 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5951         (makeFontEntriesLayoutSpecific): temp var for par.size()
5952         (setLayout): temp var for ownerParagraphs().end()
5953         (fullRebreak): temp var for rows().end()
5954         (selectionAsString): temp var for boost::next(startpit), realize
5955         that the while really is a regular for loop.
5956         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5957         setCursor in one place.
5958         (setParagraph): temp vr for ownerParagraphs().end()
5959         (updateCounters): make the while loop a for loop
5960         (cutSelection): temp var for ownerParagraphs().end()
5961         (updateInset): make the do {} while() a regular for loop
5962         (getCursorX): use temp vars
5963         (setCurrentFont): use temp vars
5964         (getColumnNearX): use temp vars
5965
5966 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * text.C (transformChar): use temp var for getChar
5969         (computeBidiTables): use temp var for row->par()
5970         (fill): move temp vars for row->par() and pit->layout() earlier in
5971         the function.
5972         (labelFill): use temp var for row->par()
5973         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5974         asc and desc, realize that pit never changes and that firstpit is
5975         just a duplicate and not needed. Exchange rit->par() with pit in a
5976         lot of places.
5977         (breakAgain): use a temp var for boost::next(rit)
5978         (breakAgainOneRow): ditto
5979         (breakParagraph): use a temp var for rows().begin()
5980         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5981         (cursorRightOneWord): use temp var for cursor.par() and
5982         cursor.pos(), remove usage of tmpcursor.
5983         (cursorLeftOneWord): use temp var for cursor.par() and
5984         cursor.pos() only set cur at end of function.
5985
5986 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * text.C, text2.C: exchange all usage of Paragraph::next with
5989         boost::next(ParagraphList::iterator)
5990
5991         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5992
5993         * text2.C (cursorTop): simplify implementation
5994         (cursorBottom): ditto
5995         (setParagraph): use ParagraphList::iterator
5996         (setCurrentFont): adjust
5997         (getColumnNearX): adjust
5998         (cursorRight): adjust
5999         (cursorLeft): remove usage of Paragraph::previous
6000         (cursorUpParagraph): ditto
6001         (deleteEmptyParagraphMechanism): slight cleanup
6002
6003         * text.C (isBoundary): take a Paragraph const & instead of a
6004         pointer as arg.
6005         (addressBreakPoint): ditto
6006         (leftMargin): remove usage of Paragraph::previous.
6007         (setHeightOfRow): ditto
6008         (cursorLeftOneWord): ditto
6009         (selectNextWordToSpellcheck): ditto
6010         (Delete): ditto
6011         (backspace): ditto
6012         (breakParagraph): remove one usage of Paragraph::next
6013         (redoParagraph): ditto
6014         (acceptChange): ditto
6015         (insertChar): adjust
6016         (rowBreakPoint): adjust
6017
6018         * bufferview_funcs.C (toggleAndShow): adjust
6019
6020 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6023         methods to access it.
6024         * lyxtext.h:
6025         * text.C: Added updateRowPositions to compute all row positions.
6026         Make top_y and getRowNearY() to use the cached y position
6027
6028 2003-04-11  John Levon  <levon@movementarian.org>
6029
6030         * text.C (rowBreakPoint): reintroduce the labelEnd
6031         checks, code copied from the row fill stuff. Deep voodoo.
6032
6033         * text.C (fill): add a comment and debugging for the
6034         next poor soul.
6035
6036 2003-04-11  John Levon  <levon@movementarian.org>
6037
6038         * text.C: make sure fullrow insets get wrapped to the next line,
6039         even when they're in a manual label
6040
6041 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * text2.C (insertParagraph): make it take ParagraphList::iterator
6044         as arg.
6045         (setLayout): make it return ParagraphList::iterator
6046         (redoParagraphs): ditto
6047         (setCounter): ditto
6048         (checkParagraph): ditto
6049
6050         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6051
6052         * text2.C: adjust several funcs.
6053         (realizeFont): take a ParagraphList::iterator as arg.
6054         (getLayoutFont): ditto
6055         (getLabelFont): ditto
6056         (setCharFont): ditto
6057
6058         * text.C: adjust several funcs.
6059
6060 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * text.C (selectNextWordToSpellcheck): don't accidentally
6063         skip insets
6064
6065 2003-04-10  John Levon  <levon@movementarian.org>
6066
6067         * ToolbarBackend.C (getIcon): special handling for
6068         LFUN_MATH_DELIM
6069
6070 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * text2.C (cursorRight): a getChar assert fixed
6073
6074 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * text2.C (getFont): change to take a ParagraphList::iterator
6077         instead of Paragraph*
6078         Adjust several functions.
6079
6080         * text.C (transformChar): change to take a ParagraphList::iterator
6081         instead of Paragraph*
6082         (singleWidth): ditto
6083         Adjust several functions.
6084
6085         * rowpainter.C: adjust several functions
6086         * rowpainter.h:store a ParagraphList::iterator and not a
6087         Paragraph&.
6088
6089
6090 2003-04-09  John Levon  <levon@movementarian.org>
6091
6092         * lyxfunc.C:
6093         * lfuns.h:
6094         * LyXAction.h:
6095         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6096         and the "help" bits as well
6097
6098 2003-04-09  John Levon  <levon@movementarian.org>
6099
6100         * ToolbarBackend.h:
6101         * ToolbarBackend.C: allow multiple toolbars
6102
6103 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * undo_funcs.C (setCursorParUndo): adjust
6106
6107         * text_funcs.C (transposeChars): adjust
6108
6109         * text3.C (gotoNextInset): adjust
6110         (dispatch): adjust
6111
6112         * text2.C (setLayout): adjust
6113         (changeDepth): adjust
6114         (setFont): adjust
6115         (redoParagraphs): adjust
6116         (selectionAsString): adjust
6117         (setParagraph): adjust
6118         (insertInset): adjust
6119         (cutSelection): adjust
6120         (copySelection): adjust
6121         (pasteSelection): adjust
6122         (insertStringAsLines): adjust
6123         (updateInset): adjust
6124         (setCursor): change to take a ParagraphList::iterator parameter
6125         (setCursorIntern): change to take a ParagraphList::iterator parameter
6126         (setCurrentFont): adjust
6127         (cursorLeft): adjust
6128         (cursorRight): adjust
6129         (deleteEmptyParagraphMechanism): adjust
6130
6131         * text.C (breakParagraph): adjust
6132         (insertChar): adjust
6133         (acceptChange): adjust
6134         (rejectChange): adjust
6135         (selectNextWordToSpellcheck): adjust
6136         (changeCase): adjust
6137         (Delete): adjust
6138         (backspace): adjust
6139
6140         * lyxfind.C (SearchForward): adjust
6141         (SearchBackward): adjust
6142         (nextChange): adjust
6143
6144         * lyxcursor.C (par): adjust
6145
6146         * lyxcursor.h: store a ParagraphList::iterator instead of a
6147         Paragraph*
6148
6149         * lyx_cb.C (getPossibleLabel): adjust
6150
6151         * bufferview_funcs.C (toggleAndShow): adjust
6152
6153         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6154         (dispatch): adjust
6155
6156         * BufferView.C (removeAutoInsets): adjust
6157         (lockedInsetStoreUndo): adjust
6158
6159 2003-04-09  John Levon  <levon@movementarian.org>
6160
6161         * ToolbarBackend.C: try icon without argument
6162         if with argument fails
6163
6164 2003-04-08  John Levon  <levon@movementarian.org>
6165
6166         * ToolbarBackend.h:
6167         * ToolbarBackend.C: add getIcon(), handle tooltip,
6168         and change from "Icon" to "Item".
6169
6170 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * BufferView.C (lockInset): another bad getchar crunched
6173
6174 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6177         again)
6178
6179 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * lyxfind.C (searchForward, searchBackwards): bug 782
6182
6183 2003-04-07  John Levon  <levon@movementarian.org>
6184
6185         * paragraph.C: remove dead comment
6186
6187         * text.C: remove troublesome depth-fiddling code
6188         in leftMargin() and rightMargin() (bug 1017)
6189
6190         * text.C: fix breaking of rows in nested lists
6191         (bug 1004)
6192
6193         * text2.C (updateCounters): fix up depth values
6194         (bug 1013)
6195
6196 2003-04-07  John Levon  <levon@movementarian.org>
6197
6198         * BufferView_pimpl.C: clear message when doc finishes resizing,
6199         and after a mouse event
6200
6201         * lyxfunc.C: clear message after exiting inset
6202
6203 2003-04-07  John Levon  <levon@movementarian.org>
6204
6205         * bufferview_funcs.C: show math status not outside
6206         status in the statusbar
6207
6208 2003-04-07  John Levon  <levon@movementarian.org>
6209
6210         * lyxfunc.C: note status changed after a depth change
6211
6212 2003-04-04  Angus Leeming  <leeming@lyx.org>
6213
6214         * LaTeX.h: move AuxInfo operator==, != out of line.
6215         Remove LaTeX virtual destructor; nothing derives from it.
6216         Move operator()() out of public area and rename it startscript().
6217         Change protected for private.
6218
6219 2003-04-04  Angus Leeming  <leeming@lyx.org>
6220
6221         * lyxfunc.C:
6222         * text2.C: remove unneeded #includes.
6223
6224 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * text2.C (dEPM): fix the heigth of the next row
6227
6228 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6229
6230         * text.C: squashed an invalid getChar requester + some ws changes
6231
6232 2003-04-03  John Levon  <levon@movementarian.org>
6233
6234         * bufferview_funcs.h:
6235         * bufferview_funcs.C:
6236         * lyxfunc.C:
6237         * lyxtext.h:
6238         * text2.C: make getStatus work for the env depth lfuns
6239
6240 2003-04-03  John Levon  <levon@movementarian.org>
6241
6242         * bufferview_funcs.h:
6243         * bufferview_funcs.C:
6244         * lyxfunc.C:
6245         * lyxtext.h:
6246         * text2.C: parlistize decDepth(), by merging it with incDepth()
6247
6248 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * lyxrow.h: store a ParagraphList::iterator instead of a
6251         Paragraph* and adjust other class functions to suit.
6252
6253         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6254         above.
6255
6256 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6257
6258         * text2.C (setCursor): do not anchor to cursor row for the time being
6259
6260 2003-04-02  John Levon  <levon@movementarian.org>
6261
6262         * LyXAction.C:
6263         * lfuns.h:
6264         * lyx_main.C:
6265         * lyxtext.h:
6266         * text.C:
6267         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6268
6269 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * paragraph.h: make ParagraphList and ParagraphList::iterator
6272         friends of Paragraph.
6273
6274         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6275
6276         * ParagraphList.C: Use the private next_ and previous_ from
6277         Paragraph.
6278
6279 2003-04-01  John Levon  <levon@movementarian.org>
6280
6281         * ToolbarBackend.h:
6282         * ToolbarBackend.C:
6283         * Makefile.am: rename, remove defaults gunk
6284
6285         * MenuBackend.h:
6286         * MenuBackend.C: remove defaults gunk
6287
6288         * Languages.h:
6289         * Languages.C: remove defaults gunk
6290
6291         * lyx_main.h:
6292         * lyx_main.C: error out if files couldn't be found.
6293
6294 2003-04-02  John Levon  <levon@movementarian.org>
6295
6296         * text2.C: make incDepth() use parlist
6297
6298 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * undo_funcs.C (firstUndoParagraph): adjust
6301
6302         * text3.C (gotoInset): adjust
6303         (dispatch): adjust, and rewrite loop.
6304
6305         * text2.C (init): adjust, and rewrite loop.
6306         (redoParagraphs): adjust
6307         (updateInset): adjust, and rewrite loop.
6308         (deleteEmptyParagraphMechanism): adjust
6309
6310         * tabular.C (LyXTabular): adjust
6311         (SetMultiColumn): adjust
6312         (TeXRow): adjust
6313
6314         * lyxtext.[Ch] (ownerParagraph): delete function
6315         (ownerParagraphs): new function returns a ParagraphList.
6316
6317         * BufferView.C (removeAutoInsets): adjust
6318         (insertErrors): adjust
6319         (setCursorFromRow): adjust
6320
6321 2003-04-01  Angus Leeming  <leeming@lyx.org>
6322
6323         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6324         in the frontends.
6325
6326 2003-04-02  John Levon  <levon@movementarian.org>
6327
6328         * lyxtext.h:
6329         * text.C:
6330         * Makefile.am:
6331         * text_funcs.h:
6332         * text_funcs.C: make transposeChars a free function
6333
6334         * lyxrow_funcs.C: remove wrong comment
6335
6336 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * lyxtext.h: adjust
6339         * rowpainter.C: adjust
6340         * text.C: adjust
6341         * text2.C: adjust
6342         * text3.C: adjust
6343
6344         * lyxrow_funcs. [Ch]: new files
6345
6346         * lyxrow.[Ch]: remove next and previous pointers
6347         (next,previous): remove accessor functions
6348         (isParEnd): move to lyxrow_funcs
6349         (lastPos): move to lyxrow_funcs
6350         (nextRowIsAllInset): move to lyxrow_funcs
6351         (lastPrintablePos): move to lyxrow_funcs
6352         (numberOfSeparators): move to lyxrow_funcs
6353         (numberOfHfills): move to lyxrow_funcs
6354         (numberOfLabelHfills): move to lyxrow_funcs
6355         (hfillExpansion): move to lyxrow_funcs
6356
6357         * lyxfunc.C: adjust
6358
6359         * bufferview_funcs.C (toggleAndShow): adjust
6360
6361         * RowList.h: Remove class RowList from file leave just a
6362         std::list<Row>.
6363
6364         * RowList.C: delete file
6365
6366         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6367         and lyxrow_funcs.h
6368
6369 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * text3.C (cursorPrevious): adjust
6372         (cursorNext): adjust
6373         (dispatch): adjust
6374
6375         * text2.C (redoHeightOfParagraph): adjust
6376         (redoDrawingOfParagraph): adjust
6377         (setCursor): adjust
6378
6379         * text.C (breakParagraph): adjust
6380         (insertChar): adjust
6381         (backspace): adjust
6382
6383         * rowpainter.C (RowPainter): adjust
6384         (leftMargin): simplify and adjust
6385         (most rowpainter functions): adjust.
6386
6387         * rowpainter.h: store the row as RowList::iterator not as Row*
6388
6389         * lyxcursor.C (row): taka RowList::iterator as arg
6390         (irow): ditto
6391
6392         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6393         of Row*.
6394
6395 2003-04-01  Angus Leeming  <leeming@lyx.org>
6396
6397         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6398         stuff like bool Bool.
6399
6400 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6403         rewrite a loop
6404
6405 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6408         RowList::iterator.
6409
6410         * lyxtext.h (rows): drop one version and leve a const variant that
6411         returns a RowList::iterator.
6412
6413 2003-03-31  Angus Leeming  <leeming@lyx.org>
6414
6415         * text.C (fill): ensure that the signature is the same as that in the
6416         header file.
6417
6418 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * text2.C (redoParagraphs): adjust
6421         (updateCounters): adjust
6422         (checkParagraph): adjust
6423         (getColumnNearX): adjust and reformat a bit.
6424
6425         * text.C (top_y): adjust
6426         (workWidth): adjust
6427         (leftMargin): adjust
6428         (prepareToPrint): adjust
6429         (getRow): adjust
6430         (getRowNearY): adjust
6431
6432         * lyxtext.h: make rowlist_ mutable.
6433
6434         * RowList.h: add const_iterator
6435         * RowList.C: adjust for RowList::const_iterator.
6436
6437         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6438         adjust.
6439
6440 2003-03-31  John Levon  <levon@movementarian.org>
6441
6442         * lyxrc.h:
6443         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6444
6445         * lyx_main.C: set default fonts from using lyx_gui funcs
6446
6447         * exporter.C: pdf_mode moved from lyxrc
6448
6449         * lyx_cb.C:
6450         * lyxfunc.C: changes from above
6451
6452 2003-03-31  John Levon  <levon@movementarian.org>
6453
6454         * lyx_main.C: fix to the last fix
6455
6456 2003-03-31  John Levon  <levon@movementarian.org>
6457
6458         * bufferlist.C: "Load original" -> "Load Original"
6459
6460         * converter.C:
6461         * exporter.C:
6462         * importer.C:
6463         * lyx_main.C:
6464         * format.C: more Alert cleanups
6465
6466 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * text2.C (removeParagraph): make it take a RowList::iterator as
6469         arg, adjust.
6470         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6471         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6472
6473         * text.C (anchor_row): make it take a RowList::iterator as arg,
6474         adjust.
6475         (computeBidiTables): make it take a const reference to Row instead
6476         of Row pointer, adjust.
6477         (leftMargin): make it take a RowList::iterator as arg, adjust.
6478         (rowBreakPoint): adjust
6479         (breakAgainOneRow): make it take a RowList::iterator as arg,
6480         adjust.
6481         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6482
6483         * bufferview_funcs.C (toggleAndShow): adjust
6484
6485 2003-03-30  John Levon  <levon@movementarian.org>
6486
6487         * Makefile.am:
6488         * BoostFormat.h:
6489         * boost-inst.C: moved to support
6490
6491         * several files: changes as a result
6492
6493 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * text2.C (LyXText): adjust.
6496         (init): adjust
6497         (removeRow): make it take a RowList::iterator as arg, adjust.
6498         (fullRebreak): adjust
6499         (deleteEmptyParagraphMechanism): adjust
6500         (clearPaint): adjust
6501         (postPaint): adjust
6502
6503         * text.C (top_y): adjust
6504         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6505         (breakAgain): make it take a RowList::iterator as arg, adjust.
6506         (breakParagraph): adjust
6507         (insertChar): adjust
6508         (backspace): adjust
6509
6510         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6511         need_break_row, and refresh_row.
6512
6513         * text3.C (dispatch): adjust
6514
6515         * text2.C (checkParagraph): adjust
6516         (setCursor): adjust
6517         (setCursorFromCoordinates): adjust
6518
6519         * text.C (top_y): adjust
6520         (workWidth): adjust
6521         (getRow): make it return a RowList::iterator, adjust
6522         (getRowNearY): make it return a RowList::iterator, adjust
6523
6524         * text2.C (init): adjust
6525         (insertRow): remove function
6526         (insertParagraph): adjust
6527         (redoParagraphs): adjust
6528         (fullRebreak): adjust
6529         (updateCounters): adjust
6530
6531         * text.C (top_y): rewrite to use RowList iterators.
6532         (top_y): adjust
6533         (setHeightOfRow): rewrite to sue RowList iterators.
6534         (appendParagraph): adjust
6535         (breakAgain): adjust
6536         (breakAgainOneRow): adjust
6537         (breakParagraph): adjust
6538         (getRow): adjust
6539         (getRowNearY): adjust, and remove commented code.
6540
6541         * lyxtext.h (firstRow): delete function
6542         (lastRow): delete function
6543         (rows): new function (const and non-const versions.)
6544         (insertRow): delete function
6545
6546         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6547
6548 2003-03-29  John Levon  <levon@movementarian.org>
6549
6550         * BufferView_pimpl.C: always update scrollbar top
6551         because pasting text when we're anchored could mean we
6552         miss an update altogether
6553
6554 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * text2.C (init): use rowlist_.end() and not 0.
6557         (insertRow): change to take a RowList::iterator as arg, adjust
6558         for this.
6559         (insertParagraph): change to take a RowList::iterator as arg,
6560         adjust for this.
6561         (redoParagraphs): remove some debug msgs.
6562
6563         * text.C (appendParagraph): change to take a RowList::iterator
6564         arg, adjust for this.
6565         (breakAgain): add an assert
6566         (breakAgainOneRow): ditto
6567
6568 2003-03-29  John Levon  <levon@movementarian.org>
6569
6570         * text2.C: do not clear selection after inc/decDepth
6571         (bug 550)
6572
6573 2003-03-29  John Levon  <levon@movementarian.org>
6574
6575         * BufferView.C:
6576         * buffer.C: fix broken strerrors according to Lars
6577
6578 2003-03-29  John Levon  <levon@movementarian.org>
6579
6580         * converters.C: more Alert cleanups
6581
6582 2003-03-29  John Levon  <levon@movementarian.org>
6583
6584         * bufferview_funcs.C: remove pointless Alert
6585
6586         * buffer.C: fix confusing error message when
6587         a template is chmoded 000
6588
6589 2003-03-29  John Levon  <levon@movementarian.org>
6590
6591         * BufferView.C:
6592         * BufferView.h:
6593         * BufferView_pimpl.C: Alert fixes
6594
6595         * Makefile.am:
6596         * tabular.C:
6597         * tabular-old.C: remove unused table compat reading
6598
6599 2003-03-29  John Levon  <levon@movementarian.org>
6600
6601         * BufferView.C:
6602         * buffer.C:
6603         * lyx_cb.h:
6604         * lyx_cb.C: more Alert cleanups
6605
6606         * lyxfunc.C: don't allow chktex if not latex document
6607
6608 2003-03-29  John Levon  <levon@movementarian.org>
6609
6610         * lyx_cb.C:
6611         * BufferView.C:
6612         * buffer.C: warnings pushed down from support/,
6613         kill err_alert
6614
6615 2003-03-29  John Levon  <levon@movementarian.org>
6616
6617         * lyxfunc.C: safety check for C-r (revert)
6618
6619 2003-03-29  John Levon  <levon@movementarian.org>
6620
6621         * bufferlist.h:
6622         * bufferlist.C: several UI fixes using Alert::prompt.
6623         Fix the pointless looping quit code. Fix stupid revert
6624         behaviour (bug 938)
6625
6626         * lyxvc.h:
6627         * lyxvc.C:
6628         * lyx_cb.C: use Alert::prompt
6629
6630         * lyx_main.C: remove a silly question
6631
6632         * lyxfunc.C: remove a couple of silly questions,
6633         use Alert::prompt
6634
6635 2003-03-28  John Levon  <levon@movementarian.org>
6636
6637         * text2.C: fix bug 974 (End on empty par)
6638
6639 2003-03-28  John Levon  <levon@movementarian.org>
6640
6641         * BufferView_pimpl.C:
6642         * LyXAction.C:
6643         * lfuns.h: remove do-nothing math greek lfuns
6644
6645 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * lyxgluelength.h (isValidGlueLength): add default arg on
6648         parameter 2. Remove default arg from friend in class.
6649
6650         * lyxlength.h (isValidLength): add default arg on parameter 2.
6651         Remove default arg from friend in class.
6652
6653         * text2.C (LyXText): adjust, initialize refresh_row.
6654         (init): adjust
6655         (removeRow): adjust
6656         (insertRow): adjust
6657         (insertParagraph): adjst
6658         (redoParagraphs): adjust
6659         (fullRebreak): adjust
6660         (updateCounters): adjust
6661         (deleteEmptyParagraphMechanism): first attempt at fixing a
6662         crashing bug.
6663
6664         * text.C (top_y): adjust
6665         (setHeightOfRow): adjust
6666         (getRow): adjust
6667         (getRowNearY): adjust
6668
6669         * lyxtext.h: include RowList.h
6670         (~LyXText): not needed anymore, deleted.
6671         (firstRow): modify for RowList
6672         (lastRow): new function
6673         Delete firstrow and lastrow class variables, add a Rowlist
6674         rowlist_ class variable.
6675
6676         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6677         paragraph is empty.
6678
6679         * RowList.C (insert): fix case where it == begin().
6680
6681 2003-03-26  Angus Leeming  <leeming@lyx.org>
6682
6683         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6684         the thesaurus dialog.
6685
6686 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6689
6690         * RowList.[Ch]: new files
6691
6692         * ParagraphList.C (erase): handle the case where it == begin
6693         correctly.
6694
6695 2003-03-25  John Levon  <levon@movementarian.org>
6696
6697         * Makefile.am:
6698         * aspell_local.h:
6699         * aspell.C: add new aspell support
6700
6701         * lyxrc.h:
6702         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6703         have it accessible.
6704
6705 2003-03-25  Angus Leeming  <leeming@lyx.org>
6706
6707         * lfuns.h:
6708         * LyXAction.C (init): new LFUN_INSET_INSERT.
6709
6710         * BufferView_pimpl.C (dispatch): split out part of the
6711         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6712
6713         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6714         LFUN_INSET_APPLY.
6715
6716 2003-03-25  Angus Leeming  <leeming@lyx.org>
6717
6718         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6719
6720 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6721
6722         * text2.C:
6723         * text3.C: remove useless row->height(0)
6724
6725 2003-03-25  John Levon  <levon@movementarian.org>
6726
6727         * lyxtext.h:
6728         * text2.C:
6729         * text3.C: rename the refreshing stuff to better names
6730
6731 2003-03-24  John Levon  <levon@movementarian.org>
6732
6733         * BufferView_pimpl.h:
6734         * BufferView_pimpl.C: update layout choice on a mouse
6735         press/release
6736
6737 2003-03-23  John Levon  <levon@movementarian.org>
6738
6739         * Makefile.am: fix commandtags.h reference
6740
6741 2003-03-22  John Levon  <levon@movementarian.org>
6742
6743         * BufferView_pimpl.C:
6744         * lyxtext.h:
6745         * rowpainter.C:
6746         * rowpainter.h:
6747         * text.C:
6748         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6749
6750 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * lyxtext.h:
6753         * text.C: take the rtl methods out of line
6754
6755 2003-03-21 André Pönitz <poenitz@gmx.net>
6756
6757         * metricsinfo.[Ch]: new files containing structures to be passed around
6758         during the two-phase-drawing...
6759
6760 2003-03-21 André Pönitz <poenitz@gmx.net>
6761
6762         * lyxtextclass.C: read 'environment' tag.
6763
6764 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * text2.C (removeRow): fix bug 964
6767
6768 2003-03-20  John Levon  <levon@movementarian.org>
6769
6770         * rowpainter.C:
6771         * text.C:
6772         * text2.C: paint cleanups. Inset::update() dropped font
6773         parameter
6774
6775 2003-03-19  John Levon  <levon@movementarian.org>
6776
6777         * lyxfunc.C: only fitcursor/markDirty if available()
6778
6779 2003-03-19  John Levon  <levon@movementarian.org>
6780
6781         * commandtags.h: rename to ...
6782
6783         * lfuns.h: ... this, and renumber / cleanup
6784
6785 2003-03-19  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6788         fit the cursor after an lfun
6789
6790         * BufferView.h:
6791         * BufferView.C:
6792         * BufferView_pimpl.h:
6793         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6794
6795         * LyXAction.C: layout-character should have ReadOnly
6796
6797         * ParagraphParameters.C:
6798         * buffer.C:
6799         * bufferview_funcs.C:
6800         * lyx_cb.C:
6801         * lyxfind.C:
6802         * lyxtext.h:
6803         * text.C:
6804         * text2.C:
6805         * text3.C:
6806         * undo_funcs.C: changes from above
6807
6808 2003-03-18  John Levon  <levon@movementarian.org>
6809
6810         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6811         remove it from update()
6812
6813         * lyxfunc.C: update layout choice after an lfun
6814
6815         * text3.C: remove extra updateLayoutChoice()s
6816
6817 2003-03-18  John Levon  <levon@movementarian.org>
6818
6819         * text.C: top_y change means full repaint, fix
6820         a drawing bug with cursor movement
6821
6822 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * lyxtext.h:
6825         * text.C:
6826         * text2.C: anchor row on setCursor
6827
6828 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * lyxtext.h: remove almost all mutable keywords
6831         * text.C:
6832         * text2.C:
6833         * text3.C: remove const keywords accordingly
6834
6835 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6838         anon namespace
6839         (TeXEnvironment): ditto
6840         (TeXOnePar): ditto
6841
6842 2003-03-17  John Levon  <levon@movementarian.org>
6843
6844         * text.C (rowBreakPoint): remove attempt to fix displayed
6845         math insets inside a manual label
6846
6847 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * lyxtext.h: remove BufferView* as first arg from almost all class
6850         functions.
6851         * other files: adjust.
6852
6853 2003-03-17  John Levon  <levon@movementarian.org>
6854
6855         * lyxtext.h:
6856         * undo_funcs.C:
6857         * text2.C: more paint cleanups
6858
6859         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6860
6861         * rowpainter.h:
6862         * rowpainter.C: remove "smart" background painting code
6863
6864 2003-03-16  John Levon  <levon@movementarian.org>
6865
6866         * lyxtext.h:
6867         * text.C:
6868         * text2.C:
6869         * text3.C: add helper functions for setting refresh_row/y
6870
6871 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6872
6873         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6874         newline inset which *can* get inserted in the pass_thru layouts.
6875         This is primarily for literate documents.
6876
6877 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6878
6879         * buffer.C: increment LYX_FORMAT to 223
6880
6881 2003-03-14 André Pönitz <poenitz@gmx.net>
6882
6883         * textclass.h: prepare for environment handling, ws changes
6884         * lyxlayout.C: read latexheader and latexfooter tags
6885
6886 2003-03-14  John Levon  <levon@movementarian.org>
6887
6888         * text2.C: rewrite ::status() a bit
6889
6890 2003-03-13  John Levon  <levon@movementarian.org>
6891
6892         * lyxtext.h: add some docs
6893
6894 2003-03-13  John Levon  <levon@movementarian.org>
6895
6896         * lyxtext.h:
6897         * text.C:
6898         * text2.C:
6899         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6900
6901 2003-03-13  John Levon  <levon@movementarian.org>
6902
6903         * text3.C: fix appendix redrawing
6904
6905 2003-03-13  John Levon  <levon@movementarian.org>
6906
6907         * text.C (setHeightOfRow):
6908         * rowpainter.h:
6909         * rowpainter.C: make appendix mark have the text
6910           "Appendix" so the user knows what it is
6911
6912         * LColor.h:
6913         * LColor.C: s/appendixline/appendix/ from above
6914
6915 2003-03-13  John Levon  <levon@movementarian.org>
6916
6917         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6918
6919         * text.C: fix a getChar(pos) bug properly
6920
6921 2003-03-13  Angus Leeming  <leeming@lyx.org>
6922
6923         * commandtags.h:
6924         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6925         Probably only temporary. Let's see how things pan out.
6926
6927         * BufferView.C (unlockInset):
6928         * BufferView_pimpl.C (fitCursor):
6929         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6930
6931         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6932         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6933
6934         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6935         new functions that convert ParagraphParameters to and from a string.
6936
6937         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6938         BufferView::Pimpl's dispatch.
6939         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6940
6941 2003-03-13 André Pönitz <poenitz@gmx.net>
6942
6943         * lyxfunc.C:
6944         * text3.C:
6945         * factory.C: make it aware of InsetEnv
6946
6947 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * text2.C (setCursor): never ask for one past last
6950         (setCursor): add some debugging messages.
6951
6952         * text.C (singleWidth): never ask for one past last
6953         (singleWidth): ditto
6954         (leftMargin): ditto
6955         (rightMargin): ditto
6956         (rowBreakPoint): ditto
6957         (setHeightOfRow): ditto
6958         (prepareToPrint): ditto
6959
6960         * rowpainter.C (paintBackground): never ask for one past last
6961         (paintText): never ask for one past last
6962
6963         * paragraph_pimpl.C (getChar): make the assert stricter, never
6964         allow the one past last pos to be taken
6965
6966         * paragraph.C (getChar): ws changes only
6967
6968         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6969         (numberOfSeparators): ditto
6970         (numberOfHfills): ditto
6971
6972 2003-03-12  John Levon  <levon@movementarian.org>
6973
6974         * author.h:
6975         * author.C:
6976         * bufferparams.h:
6977         * bufferparams.C:
6978         * paragraph_funcs.C: fix per-buffer authorlists
6979
6980 2003-03-12  John Levon  <levon@movementarian.org>
6981
6982         * text.C: fix newline in right address
6983
6984 2003-03-12  Angus Leeming  <leeming@lyx.org>
6985
6986         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6987         duplicate those in LyXFunc::dispatch.
6988
6989         * commandtags.h:
6990         * LyXAction.C:
6991         * ToolbarDefaults.C:
6992         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6993         Add LFUN_FONTFREE_UPDATE.
6994
6995         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6996         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6997
6998         * bufferview_func.[Ch]: several new functions to facilliate
6999         transfer of data to and from the character dialog.
7000
7001 2003-03-12  John Levon  <levon@movementarian.org>
7002
7003         * buffer.C:
7004         * paragraph.h:
7005         * paragraph.C:
7006         * paragraph_funcs.C:
7007         * paragraph_pimpl.C:
7008         * sgml.C:
7009         * tabular.C:
7010         * text.C:
7011         * text3.C: remove META_NEWLINE in favour of an inset
7012
7013         * rowpainter.h:
7014         * rowpainter.C: remove paintNewline (done by inset)
7015
7016 2003-03-12  John Levon  <levon@movementarian.org>
7017
7018         * paragraph_pimpl.C: complain about bad getChar()s
7019         for a while at least
7020
7021 2003-03-12  John Levon  <levon@movementarian.org>
7022
7023         * buffer.h:
7024         * buffer.C: move paragraph read into a separate function,
7025         a little renaming to reflect that.
7026
7027         * bufferparams.h:
7028         * bufferparams.C: remove the author_ids map, not necessary now
7029
7030         * factory.h:
7031         * factory.C: moved Buffer::readInset to here
7032
7033         * paragraph_funcs.h:
7034         * paragraph_funcs.C: readParagraph free function moved from
7035         buffer.C
7036
7037         * tabular.C: name change
7038
7039 2003-03-12  John Levon  <levon@movementarian.org>
7040
7041         * buffer.C:
7042         * ParagraphParameters.C: move par params input to
7043         a read() method
7044
7045         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7046         behave like a normal read from the stream wrt reading
7047         a line vs. a \\token
7048
7049 2003-03-12  John Levon  <levon@movementarian.org>
7050
7051         * paragraph.C:
7052         * ParagraphParameters.h:
7053         * ParagraphParameters.C: move output code to a
7054         ::write() method
7055
7056 2003-03-12  John Levon  <levon@movementarian.org>
7057
7058         * BufferView.C (insertLyXFile):
7059         * buffer.h:
7060         * buffer.C:
7061         * tabular.C: use a parlist iterator for creating the
7062           document.
7063
7064 2003-03-12  John Levon  <levon@movementarian.org>
7065
7066         * buffer.C: make current_change static local not
7067           static file-scope
7068
7069 2003-03-12  John Levon  <levon@movementarian.org>
7070
7071         * buffer.C: fix insertStringAsLines for change tracking
7072
7073 2003-03-12  John Levon  <levon@movementarian.org>
7074
7075         * BufferView.C:
7076         * tabular.C:
7077         * buffer.h:
7078         * buffer.C:
7079         * bufferparams.h:
7080         * bufferparams.C: move author list into params. Rename some
7081           functions. Move the header reading into a separate token
7082           loop. Move the header token reading into BufferParams.
7083
7084 2003-03-12  John Levon  <levon@movementarian.org>
7085
7086         * changes.C: put debug inside lyxerr.debugging() checks
7087
7088 2003-03-11 André Pönitz <poenitz@gmx.net>
7089
7090         * factory.C: make it aware of InsetHFill
7091
7092 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7093
7094         * buffer.C (latexParagraphs): move function from here...
7095         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7096         args.
7097
7098 2003-03-10  Angus Leeming  <leeming@lyx.org>
7099
7100         * LyXAction.C (init): fix bug in poplating array with multiple entries
7101         with the same LFUN (spotted by JMarc).
7102
7103 2003-03-10  John Levon  <levon@movementarian.org>
7104
7105         * text.C:
7106         * text2.C: move getColumnNearX() near its
7107         only call site
7108
7109 2003-03-10  John Levon  <levon@movementarian.org>
7110
7111         * text.C: fix break before a minipage
7112
7113 2003-03-10  John Levon  <levon@movementarian.org>
7114
7115         * text.C: fix the last commit
7116
7117 2003-03-09  John Levon  <levon@movementarian.org>
7118
7119         * lyxtext.h:
7120         * text.C:
7121         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7122         bug 365 (don't break before insets unless needed). Don't
7123         return a value > last under any circumstances.
7124
7125 2003-03-09  Angus Leeming  <leeming@lyx.org>
7126
7127         * BufferView_pimpl.C (trackChanges, dispatch): call
7128         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7129
7130 2003-03-09  Angus Leeming  <leeming@lyx.org>
7131
7132         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7133         than Dialogs::showAboutlyx().
7134
7135 2003-03-09  Angus Leeming  <leeming@lyx.org>
7136
7137         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7138         than Dialogs::showTabularCreate().
7139
7140 2003-03-09  John Levon  <levon@movementarian.org>
7141
7142         * lyxtext.h:
7143         * text.C:
7144         * text2.C: 3rd arg to nextBreakPoint was always the same.
7145           Use references.
7146
7147 2003-03-08  John Levon  <levon@movementarian.org>
7148
7149         * lyxrow.C:
7150         * paragraph.C:
7151         * paragraph.h:
7152         * rowpainter.C:
7153         * text.C:
7154         * text2.C: Remove the "main" bit from the "main body"
7155           notion.
7156
7157 2003-03-08  John Levon  <levon@movementarian.org>
7158
7159         * text.C (leftMargin): The left margin of an empty
7160         manual label paragraph should not include the label width
7161         string length.
7162
7163         * text.C (prepareToPrint): don't attempt to measure hfills
7164         for empty manual label paragraphs - the answer should be 0
7165
7166 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * CutAndPaste.C: remove commented code and reindent.
7169
7170 2003-03-08  John Levon  <levon@movementarian.org>
7171
7172         * lyxfunc.h:
7173         * lyxfunc.C: move reloadBuffer()
7174
7175         * BufferView.h:
7176         * BufferView.C: to here
7177
7178         * lyxvc.C: add comment
7179
7180         * vc-backend.h:
7181         * vc-backend.C: call bv->reload() to avoid
7182           getStatus() check on MENURELOAD
7183
7184 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7185
7186         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7187         to an old format .dep file.
7188
7189 2003-03-07  Angus Leeming  <leeming@lyx.org>
7190
7191         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7192         when the LFUN_MOUSE_RELEASE should have been handled by
7193         inset->localDispatch.
7194
7195 2003-03-07  Angus Leeming  <leeming@lyx.org>
7196
7197         * BufferView_pimpl.C (dispatch):
7198         * LyXAction.C (init):
7199         * ToolbarDefaults.C (init):
7200         * commandtags.h:
7201         * lyxfunc.C (getStatus):
7202         remove LFUN_INSET_GRAPHICS.
7203
7204         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7205
7206 2003-03-07  Angus Leeming  <leeming@lyx.org>
7207
7208         * commandtags.h:
7209         * LyXAction.C (init):
7210         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7211
7212         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7213
7214         * commandtags.h:
7215         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7216
7217         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7218         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7219
7220 2003-03-07  Angus Leeming  <leeming@lyx.org>
7221
7222         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7223         remove "ert".
7224
7225 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * ParagraphList.C (front): new function
7228         (back): implement
7229
7230 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7233         and top_row_offset_. removed var first_y.
7234         * text.C (top_y):
7235         * text2.C (LyXText, removeRow):
7236         * text3.C:
7237         * BufferView_pimpl.C:
7238         use these methods instead of using first_y
7239
7240 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * text2.C (pasteSelection): adjust for checkPastePossible
7243
7244         * CutAndPaste.C: remove Paragraph * buf and replace with
7245         ParagraphList paragraphs.
7246         (DeleteBuffer): delete
7247         (cutSelection): change the tc type to textclass_type
7248         (copySelection): change the tc type to textclass_type
7249         (copySelection): adjust for ParagraphList
7250         (pasteSelection): change the tc type to textclass_type
7251         (pasteSelection): adjust for Paragraphlist
7252         (nrOfParagraphs): simplify for ParagraphList
7253         (checkPastePossible): simplify for ParagraphList
7254         (checkPastePossible): remove unused arg
7255
7256         * ParagraphList.C (insert): handle the case where there are no
7257         paragraphs yet.
7258
7259         * CutAndPaste.h: make CutAndPaste a namespace.
7260
7261         * text3.C (dispatch): adjust
7262
7263         * text.C (breakParagraph): add a ParagraphList as arg
7264
7265         * paragraph_funcs.C (breakParagraph): change to take a
7266         BufferParams and a ParagraphList as args.
7267         (breakParagraphConservative): ditto
7268         (mergeParagraph): ditto
7269         (TeXDeeper): add a ParagraphList arg
7270         (TeXEnvironment): ditto
7271         (TeXOnePar): ditto
7272
7273         * buffer.C (readLyXformat2): adjust
7274         (insertStringAsLines): adjust
7275         (latexParagraphs): adjust
7276
7277         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7278         (cutSelection): adjust
7279         (pasteSelection): adjust
7280
7281         * BufferView_pimpl.C (insertInset): adjust
7282
7283 2003-03-05  Angus Leeming  <leeming@lyx.org>
7284
7285         * commandtags.h:
7286         * LyXAction.C (init):
7287         * BufferView_pimpl.C (dispatch):
7288         * lyxfunc.C (getStatus):
7289         remove LFUN_CHILD_INSERT.
7290
7291         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7292
7293 2003-03-05  Angus Leeming  <leeming@lyx.org>
7294
7295         * commandtags.h:
7296         * LyXAction.C (init):
7297         * src/factory.C (createInset):
7298         * lyxfunc.C (getStatus):
7299         * text3.C (dispatch):
7300         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7301
7302         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7303
7304 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * ParagraphList.C (insert): handle insert right before end()
7307         (erase): fix cases where it can be first or last paragraph.
7308
7309 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7312         Paragraph::next and Paragraph::previous
7313         (TeXOnePar): ditto
7314
7315         * text.C (breakParagraph): adjust
7316
7317         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7318         BufferParams& as arg.
7319         (breakParagraph): use ParagraphList::insert
7320         (breakParagraphConservative): take a Buffer* instead of a
7321         BufferParams& as arg.
7322         (breakParagraphConservative): use ParagraphList::insert.
7323
7324         * buffer.C (insertStringAsLines): un-const it
7325         (insertStringAsLines): adjust
7326
7327         * ParagraphList.C (insert): new function
7328
7329         * CutAndPaste.C (pasteSelection): adjust
7330
7331         * text.C (backspace): adjust
7332
7333         * tabular.C (SetMultiColumn): adjust
7334
7335         * CutAndPaste.C (cutSelection): adjust
7336         (pasteSelection): adjust
7337
7338         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7339         Buffer const * as arg
7340
7341         * ParagraphList.C (erase): new function
7342         * paragraph_funcs.C (mergeParagraph): use it
7343         (mergeParagraph): make it take a Buffer* instead of a
7344         BufferParams* as arg
7345
7346         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7347         as arg
7348         (breakParagraphConservative): ditto
7349
7350         * paragraph.h: remove the breakParagraph friend
7351
7352         * paragraph.C (eraseIntern): new function
7353         (setChange): new function
7354
7355         * paragraph_funcs.C (mergeParagraph): make it take a
7356         ParagraphList::iterator instead of a Paragraph *, adjust
7357         accordingly.
7358
7359         * paragraph.h: move an #endif so that the change tracking stuff
7360         also works in the NO_NEXT case.
7361
7362 2003-03-04  Angus Leeming  <leeming@lyx.org>
7363
7364         * commandtags.h:
7365         * LyXAction.C: new LFUN_INSET_MODIFY.
7366
7367         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7368         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7369
7370 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * several files: ws changes only
7373
7374         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7375         (TeXEnvironment): ditto
7376         (TeXDeeper): ditto
7377
7378         * buffer.C (makeLaTeXFile): adjust
7379         (latexParagraphs): make it take ParagraphList::iterator as args
7380
7381 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * buffer.C (latexParagraphs): adjust
7384
7385         * paragraph.C (TeXOnePar): move function...
7386         (optArgInset): move function...
7387         (TeXEnvironment): move function...
7388         * paragraph_pimpl.C (TeXDeeper): move function...
7389         * paragraph_funcs.C: ...here
7390
7391         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7392
7393 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * buffer.C (readInset): remove compability code for old Figure and
7396         InsetInfo insets
7397
7398 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * buffer.C: ws changes
7401         (readInset):
7402
7403         * BufferView_pimpl.C: ditto
7404         * author.C: ditto
7405         * buffer.h: ditto
7406         * bufferlist.h: ditto
7407         * changes.h: ditto
7408         * lyxfunc.C: ditto
7409
7410 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7411
7412         * converter.[Ch]: split into itself +
7413         * graph.[Ch]
7414         * format.[Ch]
7415         * Makefile.am: += graph.[Ch] + format.[Ch]
7416         * MenuBackend.C
7417         * buffer.C
7418         * exporter.C
7419         * importer.C
7420         * lyx_main.C
7421         * lyxfunc.C
7422         * lyxrc.C: added #include "format.h"
7423
7424 2003-02-27  Angus Leeming  <leeming@lyx.org>
7425
7426         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7427           a label.
7428
7429         * factory.C (createInset): add "label" to the factory.
7430
7431         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7432           string and do no more.
7433
7434 2003-02-27  Angus Leeming  <leeming@lyx.org>
7435
7436         * commandtags.h:
7437         * LyXAction.C (init):
7438         * factory.C (createInset):
7439         * BufferView_pimpl.C (dispatch):
7440           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7441
7442         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7443
7444         * lyxfunc.C (dispatch):
7445         * text3.C (dispatch): pass name to params2string.
7446
7447 2003-02-26  Angus Leeming  <leeming@lyx.org>
7448
7449         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7450           blocks together.
7451           Rearrange the ~includes. Strip out the unnecessary ones.
7452
7453         * factory.C (createInset): reformat.
7454           create new insets for the various LFUN_XYZ_APPLY lfuns.
7455
7456 2003-02-26  John Levon  <levon@movementarian.org>
7457
7458         * lyxrow.h:
7459         * lyxrow.C: add isParStart,isParEnd helpers
7460
7461         * paragraph.h: make isInserted/DeletedText take refs
7462
7463         * paragraph_funcs.h:
7464         * paragraph_funcs.C: remove #if 0'd code
7465
7466         * lyxtext.h:
7467         * text3.C:
7468         * text2.C:
7469         * text.C: use lyxrow helpers above.
7470           Move draw and paint routines to RowPainter.
7471           Make several methods use refs not pointers.
7472           Make backgroundColor() const.
7473           Add markChangeInDraw(), isInInset().
7474           Merge changeRegionCase into changeCase.
7475           Make workWidth() shouldn't-happen code into an Assert.
7476
7477         * rowpainter.h:
7478         * rowpainter.C: new class for painting a row.
7479
7480         * vspace.h:
7481         * vspace.C: make inPixels take a ref
7482
7483 2003-02-26  Angus Leeming  <leeming@lyx.org>
7484
7485         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7486         LFUN_REF_APPLY.
7487
7488 2003-02-25  John Levon  <levon@movementarian.org>
7489
7490         * ispell.C: give the forked command a more accurate name
7491
7492 2003-02-22  John Levon  <levon@movementarian.org>
7493
7494         * toc.h:
7495         * toc.C: make TocItem store an id not a Paragraph *
7496           (bug #913)
7497
7498 2003-02-21  Angus Leeming  <leeming@lyx.org>
7499
7500         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7501           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7502           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7503           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7504           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7505           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7506
7507         * BufferView_pimpl.C (dispatch):
7508         * LyXAction.C (init):
7509         * factory.C (createInset):
7510         * lyxfunc.C (getStatus, dispatch):
7511         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7512
7513 2003-02-21  Angus Leeming  <leeming@lyx.org>
7514
7515         * BufferView_pimpl.C (MenuInsertLyXFile):
7516         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7517         * lyxfunc.C (menuNew, open, doImport):
7518           no longer pass a LyXView & to fileDlg.
7519
7520 2003-02-21  Angus Leeming  <leeming@lyx.org>
7521
7522         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7523         * LyXAction.C: change, BIBKEY to BIBITEM.
7524         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7525         Change InsetBibKey to InsetBibitem.
7526         Change BIBKEY_CODE to BIBITEM_CODE.
7527         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7528         * factory.C: replace insetbib.h with insetbibitem.h.
7529         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7530         * paragraph.C: replace insetbib.h with insetbibitem.h.
7531         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7532         Change bibkey() to bibitem().
7533         * text.C: remove insetbib.h.
7534         * text2.C: replace insetbib.h with insetbibitem.h.
7535         change bibkey() to bibitem().
7536         * text3.C: remove insetbib.h.
7537         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7538
7539 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7540
7541         * lyxrc.C (output): enclose user email in quotes (in case there are
7542         several words)
7543
7544 2003-02-18  John Levon  <levon@movementarian.org>
7545
7546         * buffer.h: add std::
7547
7548 2003-02-17  John Levon  <levon@movementarian.org>
7549
7550         * SpellBase.h:
7551         * ispell.h:
7552         * ispell.C:
7553         * pspell.h:
7554         * pspell.C: reworking. Especially in ispell, a large
7555           number of clean ups and bug fixes.
7556
7557         * lyxfunc.C: fix revert to behave sensibly
7558
7559 2003-02-17 André Pönitz <poenitz@gmx.net>
7560
7561         * LyXAction.C:
7562         * commandtags.h: new LFUN_INSERT_BIBKEY
7563
7564         * layout.h:
7565         * lyxlayout.C:
7566         * buffer.C:
7567         * factory.C:
7568         * text.C:
7569         * text2.C:
7570         * text3.C:
7571         * paragraph.[Ch]:
7572         * paragraph_func.C: remove special bibkey handling
7573
7574 2003-02-17  John Levon  <levon@movementarian.org>
7575
7576         * text.C (Delete): fix case where delete at the end of
7577           the very first paragraph would not merge the pars
7578
7579 2003-02-17  John Levon  <levon@movementarian.org>
7580
7581         * lyxrow.C: fix lastPrintablePos()
7582
7583 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7584
7585         * bufferparams.C (writeLaTeX): add a std:here
7586
7587         * buffer.C: and remove a using directive there
7588
7589 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * buffer.C (makeLaTeXFile): move the code that generates the
7592           preamble...
7593
7594         * bufferparams.C (writeLaTeX): ... in this new method
7595
7596         * LaTeXFeatures.C (getEncodingSet): make const
7597           (getLanguages): make const
7598
7599         * MenuBackend.C (binding): returns the binding associated to this
7600           action
7601           (add): sets the status of each item by calling getStatus. Adds
7602           some intelligence.
7603           (read): add support for OptSubMenu
7604           (expand): remove extra separator at the end of expanded menu
7605
7606 2003-02-15  John Levon  <levon@movementarian.org>
7607
7608         * BufferView.C:
7609         * BufferView_pimpl.C:
7610         * bufferlist.h:
7611         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7612           inset code that had no actual effect. Remove unneeded status
7613           code.
7614
7615 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7616
7617         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7618           in preamble
7619
7620 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7621
7622         * text.C (drawLengthMarker): also draw an arrow marker for
7623           symbolic lengths (medskip...)
7624
7625 2003-02-14  John Levon  <levon@movementarian.org>
7626
7627         * tabular.h:
7628         * tabular.C: better method names
7629
7630 2003-02-14  John Levon  <levon@movementarian.org>
7631
7632         * BufferView_pimpl.C:
7633         * bufferlist.C:
7634         * buffer.C:
7635         * converter.C:
7636         * lyx_cb.C:
7637         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7638           it's a more accurate name. Remove some pointless uses.
7639
7640 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7641
7642         * text2.C (LyXText): change order of initilizers to shut off
7643           warnings
7644
7645 2003-02-14  John Levon  <levon@movementarian.org>
7646
7647         * buffer.C: use ParIterator for getParFromID()
7648
7649         * paragraph.h:
7650         * paragraph.C:
7651         * paragraph_pimpl.h:
7652         * paragraph_pimpl.C: remove unused getParFromID()
7653
7654 2003-02-14  John Levon  <levon@movementarian.org>
7655
7656         * buffer.C: remove some very old #if 0'd parse code
7657
7658 2003-02-13  John Levon  <levon@movementarian.org>
7659
7660         * text.h:
7661         * text.C:
7662         * text2.C: move hfillExpansion(), numberOfSeparators(),
7663           rowLast(), rowLastPrintable(), numberofHfills(),
7664           numberOfLabelHfills() ...
7665
7666         * lyxrow.h:
7667         * lyxrow.C: ... to member functions here.
7668
7669         * paragraph.h:
7670         * paragraph.C:
7671         * lyxtext.h:
7672         * text.C: remove LyXText::beginningOfMainBody(), and call
7673           p->beginningOfMainBody() directly. Move the check for
7674           LABEL_MANUAL into the latter.
7675
7676         * text.h:
7677         * text.C:
7678         * text2.C:
7679         * vspace.C:
7680         * BufferView.h:
7681         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7682
7683         * text.h:
7684         * text.C:
7685         * text2.C:
7686         * text3.C:
7687         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7688           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7689
7690 2003-02-13  John Levon  <levon@movementarian.org>
7691
7692         * CutAndPaste.C: remove debug
7693
7694 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7695
7696         * paragraph.C (asString): remove two unused variables
7697
7698         * lyxtextclass.C (readTitleType):
7699           (Read):
7700           (LyXTextClass): handle new members titletype_ and titlename_
7701
7702         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7703
7704 2003-02-09  John Levon  <levon@movementarian.org>
7705
7706         * buffer.h:
7707         * buffer.C: replace hand-coded list with a map for the dep clean
7708
7709 2003-02-08  John Levon  <levon@movementarian.org>
7710
7711         * LaTeX.C: consolidate code into showRunMessage() helper
7712
7713 2003-02-08  John Levon  <levon@movementarian.org>
7714
7715         * lyxfind.C:
7716         * lyxtext.h:
7717         * text2.C:
7718         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7719           and pass the size in explicitly
7720
7721         * BufferView_pimpl.h:
7722         * BufferView_pimpl.C:
7723         * BufferView.h:
7724         * BufferView.C: add getCurrentChange()
7725
7726         * BufferView_pimpl.h:
7727         * BufferView_pimpl.C: handle change lfuns
7728
7729         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7730           for changes. Mark pasted paragraphs as new.
7731
7732         * support/lyxtime.h:
7733         * support/lyxtime.C:
7734         * DepTable.C: abstract time_t as lyx::time_type
7735
7736         * LColor.h:
7737         * LColor.C: add colours for new text, deleted text, changebars
7738
7739         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7740           package use "usenames" option.
7741
7742         * commandtags.h:
7743         * lyxfunc.C:
7744         * LyXAction.C: add change lfuns
7745
7746         * Makefile.am:
7747         * author.h:
7748         * author.C: author handling
7749
7750         * buffer.h:
7751         * buffer.C: add a per-buffer author list, with first entry as
7752           current author. Handle new .lyx tokens for change tracking. Output
7753           author list to .lyx file. Output dvipost stuff to .tex preamble.
7754           Bump lyx format to 222.
7755
7756         * bufferlist.h:
7757         * bufferlist.C: add setCurrentAuthor() to reset current author details
7758           in all buffers.
7759
7760         * bufferparams.h:
7761         * bufferparams.C: add param for tracking
7762
7763         * bufferview_funcs.C: output change info in minibuffer
7764
7765         * Makefile.am:
7766         * changes.h:
7767         * changes.C: add change-tracking structure
7768
7769         * debug.h:
7770         * debug.C: add CHANGES debug flag
7771
7772         * lyxfind.h:
7773         * lyxfind.C: add code for finding the next change piece
7774
7775         * lyxrc.h:
7776         * lyxrc.C: add user_name and user_email
7777
7778         * lyxrow.h:
7779         * lyxrow.C: add a metric for the top of the text line
7780
7781         * lyxtext.h:
7782         * text.C: implement accept/rejectChange()
7783
7784         * lyxtext.h:
7785         * text.C: paint changebars. Paint new/deleted text in the chosen
7786         colours. Strike through deleted text.
7787
7788         * paragraph.h:
7789         * paragraph.C:
7790         * paragraph_pimpl.h:
7791         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7792           in the current change to the insert functions. Rework erase to
7793           mark text as deleted, adding an eraseIntern() and a range-based
7794           erase(). Implement per-paragraph change lookup and
7795           accept/reject.
7796
7797         * paragraph_funcs.C: Fixup paste for change tracking.
7798
7799         * tabular.C: mark added row/columns as new.
7800
7801         * text.C: fix rowLast() to never return -1. Don't allow
7802           spellchecking of deleted text. Track transpose changes. Don't
7803           allow paragraph break or merge where appropriate.
7804
7805         * text2.C: leave cursor at end of selection after a cut.
7806
7807 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7808
7809         * text.C (getLengthMarkerHeight):
7810         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7811         visible on screen too.
7812
7813 2003-02-07  John Levon  <levon@movementarian.org>
7814
7815         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7816
7817 2003-02-05  Angus Leeming  <leeming@lyx.org>
7818
7819         * lyxserver.C (read_ready): revert my patch of 11 September last year
7820         as it sends PC cpu through the roof. Presumably this means that
7821         the lyxserver will no longer run on an Alpha...
7822
7823 2003-01-30  Angus Leeming  <leeming@lyx.org>
7824
7825         * factory.C (createInset): create an InsetCommandParam of type "index"
7826         and use it to 'do the right thing'.
7827
7828         * text2.C (getStringToIndex): ensure that cursor position is always
7829         reset to the reset_cursor position.
7830
7831 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7832
7833         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7834         disabled.
7835
7836 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7837
7838         * bufferview.C:
7839         * lyxcb.C:
7840         * lyxfunc.C: Output messages with identical spelling, punctuation,
7841         and spaces
7842
7843 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7844
7845         * MenuBackend.C (expandFormats): List only viewable export formats
7846         in "View" menu
7847
7848         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7849         message
7850
7851         * lyxfunc.C (getStatus): Make sure that formats other than
7852         "fax" can also be disabled
7853
7854 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7855
7856         * text3.C (dispatch): put the lfuns that insert insets in 3
7857         groups, and call doInsertInset with appropriate arguments.
7858         (doInsertInset): new function, that creates an inset and inserts
7859         it according to some boolean parameters.
7860
7861 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * buffer.C (readFile): remember to pass on 'par' when calling
7864         readFile recursively.
7865
7866 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7867
7868         * MenuBackend.C (expandFormats): add "..." to import formats.
7869
7870 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7871
7872         * paragraph.C (asString): Remove XForms RTL hacks.
7873
7874 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7875         * buffer.C: fix typo
7876
7877 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * Makefile.am (LIBS): delete var
7880         (lyx_LDADD): add @LIBS@ here instead.
7881
7882 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7883
7884         * Clarify the meaning of "wheel mouse jump"
7885
7886 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7887
7888         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7889         tabular in a float
7890
7891 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7892
7893         * importer.C (Loaders): do not preallocate 3 elements in the
7894         vector, since one ends up with 6 elements otherwise
7895
7896 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7897
7898         * DepTable.C (write): write the file name as last element of the
7899         .dep file (because it may contain spaces)
7900         (read): read info in the right order
7901
7902 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7903
7904         * paragraph_pimpl.C (simpleTeXBlanks):
7905         (simpleTeXSpecialChars):
7906         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7907
7908         * tabular.C (latex): add some missing case statements. Reindent.
7909
7910         * MenuBackend.C (expandToc): remove unused variable.
7911
7912 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7913
7914         * LColor.C:
7915         * LaTeX.C:
7916         * LyXAction.C:
7917         * MenuBackend.C:
7918         * buffer.C:
7919         * exporter.C:
7920         * lyxfunc.C:
7921         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7922         and the like.
7923
7924 2003-01-05  John Levon  <levon@movementarian.org>
7925
7926         * BufferView.h:
7927         * BufferView.C: add getEncoding()
7928
7929         * kbsequence.h:
7930         * kbsequence.C: do not store last keypress
7931
7932         * lyxfunc.h:
7933         * lyxfunc.C: store last keypress here instead. Pass encoding
7934           to getISOEncoded()
7935
7936 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7937
7938         * lyx_main.C (init): remove annoying error message when following
7939         symbolic links (bug #780)
7940
7941 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7942
7943         * text.C (insertChar):
7944         * lyxrc.C (getDescription): remove extra spaces
7945
7946 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7947
7948         * lyxrc.C (getDescription): remove extra spaces
7949
7950 2002-12-20  John Levon  <levon@movementarian.org>
7951
7952         * text3.C: hack fix for page up/down across tall rows
7953
7954 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7955
7956         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7957         not been invoked
7958
7959 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7960
7961         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7962         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7963         thesaurus is not compiled in
7964
7965 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7966
7967         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7968
7969 2002-12-16  Angus Leeming  <leeming@lyx.org>
7970
7971         * lyxrc.[Ch]:
7972         * lyx_main.C (init): remove override_x_deadkeys stuff.
7973
7974 2002-12-12  John Levon  <levon@movementarian.org>
7975
7976         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7977           insert. Only remove shift modifier under strict
7978           circumstances.
7979
7980 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * MenuBackend.C (expandToc): fix crash.
7983
7984 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * MenuBackend.C (expandToc): gettext on float names.
7987
7988 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7989
7990         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7991         implement bool empty() [bug 490]
7992
7993 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7996
7997 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * several files: ws changes
8000
8001 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * text2.C (setCounter): clean up a bit, use boost.format.
8004         (updateCounters): initialize par upon declaration.
8005
8006         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8007         if the layout exists. We do not just store the layout any more.
8008         (SwitchLayoutsBetweenClasses): use boost.format
8009
8010 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8011
8012         * converter.C (convert): if from and to files are the same, use a
8013         temporary files as intermediary
8014
8015 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8016
8017         * commandtags.h:
8018         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8019
8020 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8021
8022         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8023
8024 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8025
8026         * tabular.C (asciiPrintCell): use string(size, char) instead of
8027         explicit loop.
8028
8029         * sgml.C (openTag): fix order of arguments to string constructor
8030         (closeTag): ditto
8031
8032         * lyxfunc.C (dispatch): use boost.format
8033
8034         * lots of files: change "c" -> 'c'
8035
8036 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8037
8038         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8039
8040 2002-11-25  Angus Leeming  <leeming@lyx.org>
8041
8042         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8043
8044         * lyx_main.C (init): compile fix.
8045
8046 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * lyx_cb.C (start): boost.formatify
8049         do not include <iostream>
8050
8051         * lengthcommon.C: ws only
8052
8053         * boost-inst.C,BoostFormat.h: add more explict instantations
8054
8055 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * lots of files: handle USE_BOOST_FORMAT
8058
8059 2002-11-21  John Levon  <levon@movementarian.org>
8060
8061         * pspell.C: fix compile
8062
8063 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8064
8065         * lyxfunc.C (dispatch): use boost::format
8066         (open): ditto
8067         (doImport): ditto
8068
8069         * lyxfont.C (stateText): use boost::format
8070
8071         * lyx_main.C (LyX): use boost::format
8072         (init): ditto
8073         (queryUserLyXDir): ditto
8074         (readRcFile): ditto
8075         (parse_dbg): ditto
8076         (typedef boost::function): use the recommened syntax.
8077
8078         * importer.C (Import): use boost::format
8079
8080         * debug.C (showLevel): use boost::format
8081
8082         * converter.C (view): use boost::format
8083         (convert): ditto
8084         (move): ditto
8085         (scanLog): ditto
8086
8087         * bufferview_funcs.C (currentState): use boost::format
8088
8089         * bufferlist.C (emergencyWrite): use boost::format
8090
8091         * buffer.C (readLyXformat2): use boost::format
8092         (parseSingleLyXformat2Token): ditto
8093
8094         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8095
8096         * LaTeX.C (run): use boost::format
8097
8098         * Chktex.C (scanLogFile): use boost::format
8099
8100         * BufferView_pimpl.C (savePosition): use boost::format
8101         (restorePosition): ditto
8102         (MenuInsertLyXFile): ditto
8103
8104         * BoostFormat.h: help file for explicit instation.
8105
8106 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8107
8108         * tabular.C (latex): Support for block alignment in fixed width
8109         columns.
8110
8111 2002-11-17  John Levon  <levon@movementarian.org>
8112
8113         * BufferView_pimpl.C:
8114         * lyx_cb.C:
8115         * lyxfunc.C: split filedialog into open/save
8116
8117 2002-11-08  Juergen Vigna  <jug@sad.it>
8118
8119         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8120         by my last patch (hopefully).
8121
8122 2002-11-08  John Levon  <levon@movementarian.org>
8123
8124         * iterators.h:
8125         * iterators.C:
8126         * buffer.h:
8127         * buffer.C:
8128         * paragraph.h:
8129         * paragraph.C:
8130         * toc.h:
8131         * toc.C: ParConstIterator, and use it (from Lars)
8132
8133 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8134
8135         * lyxtextclass.[Ch]: revise and add doxygen comments
8136
8137 2002-11-07  John Levon  <levon@movementarian.org>
8138
8139         * text.C: fix progress value for spellchecker
8140
8141         * toc.C: fix navigate menu for insetwrap inside minipage
8142
8143         * paragraph_funcs.C: added FIXME for suspect code
8144
8145 2002-11-07  John Levon  <levon@movementarian.org>
8146
8147         * BufferView_pimpl.C: fix redrawing of insets
8148           on buffer switch
8149
8150 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8151
8152         * text2.C (updateCounters): fix bug 668
8153
8154 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8155
8156         * text3.C (dispatch): Do not make the buffer dirty when moving the
8157         cursor.
8158
8159 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * vc-backend.C: STRCONV
8162         (scanMaster): ditto
8163
8164         * text2.C (setCounter): STRCONV
8165
8166         * paragraph.C (asString): STRCONV
8167
8168         * lyxlength.C (asString): STRCONV
8169         (asLatexString): ditto
8170
8171         * lyxgluelength.C (asString): STRCONV
8172         (asLatexString): ditto
8173
8174         * lyxfunc.C (dispatch): STRCONV
8175         (open): ditto
8176
8177         * lyxfont.C (stateText): STRCONV
8178
8179         * importer.C (Import): STRCONV
8180
8181         * counters.C (labelItem): STRCONV
8182         (numberLabel): ditto
8183         (numberLabel): remove unused ostringstream o
8184
8185         * chset.C: STRCONV
8186         (loadFile): ditto
8187
8188         * bufferview_funcs.C (currentState): STRCONV
8189
8190         * buffer.C (readFile): STRCONV
8191         (asciiParagraph): ditto
8192         (makeLaTeXFile): ditto
8193
8194         * Spacing.C (writeEnvirBegin): STRCONV
8195
8196         * LaTeXFeatures.C (getLanguages): STRCONV
8197         (getPackages): ditto
8198         (getMacros): ditto
8199         (getBabelOptions): ditto
8200         (getTClassPreamble): ditto
8201         (getLyXSGMLEntities): ditto
8202         (getIncludedFiles): ditto
8203
8204         * LaTeX.C: STRCONV
8205         (run): ditto
8206         (scanAuxFile): ditto
8207         (deplog): ditto
8208
8209         * LString.h: add the STRCONV macros
8210
8211         * BufferView_pimpl.C (savePosition): STRCONV
8212         (restorePosition): ditto
8213         (MenuInsertLyXFile): ditto
8214
8215         * vc-backend.C (scanMaster): change from submatch[...] to
8216         submatch.str(...)
8217
8218         * funcrequest.C: include config.h
8219
8220         * factory.C: include config.h
8221
8222         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8223
8224         * box.C: include config.h
8225
8226         * LaTeX.C (scanAuxFile): change from submatch[...] to
8227         submatch.str(...)
8228         (deplog): ditto
8229
8230 2002-10-25  Angus Leeming  <leeming@lyx.org>
8231
8232         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8233
8234         * ispell.[Ch] (setError): new method.
8235         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8236         Use setError() insetead of goto END.
8237
8238         * lyx_cb.C (AutoSave): move out child process into new class
8239         AutoSaveBuffer.
8240
8241 2002-10-30  John Levon  <levon@movementarian.org>
8242
8243         * text3.C: make start appendix undoable
8244
8245 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8246
8247         * lyxlength.C (inPixels): Fix returned value.
8248
8249         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8250         environment.
8251
8252 2002-10-24  Angus Leeming  <leeming@lyx.org>
8253
8254         * lyxgluelength.h: no need to forward declare BufferParams
8255         or BufferView, so don't.
8256
8257 2002-10-21  John Levon  <levon@movementarian.org>
8258
8259         * BufferView.C: menuUndo ->undo, redo
8260
8261         * BufferView.h: document, remove dead, make some methods private
8262
8263         * paragraph_funcs.h:
8264         * paragraph_funcs.C:
8265         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8266
8267         * buffer.h:
8268         * buffer.C:
8269         * sgml.h:
8270         * sgml.C: move sgml open/close tag into sgml.C
8271
8272         * bufferview_funcs.h: unused prototype
8273
8274         * lyxfunc.h:
8275         * lyxfunc.C: remove unused
8276
8277         * lyxtext.h:
8278         * text.C: remove unused
8279
8280 2002-10-21  John Levon  <levon@movementarian.org>
8281
8282         * BufferView.h:
8283         * BufferView.C:
8284         * BufferView_pimpl.h:
8285         * BufferView_pimpl.C: fix mouse wheel handling based on
8286           patch from Darren Freeman
8287
8288 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8289
8290         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8291
8292 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8293
8294         * lyxlength.C (inPixels): Fix hanfling of negative length.
8295         Fix LyXLength::MU case.
8296
8297 2002-10-16  John Levon  <levon@movementarian.org>
8298
8299         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8300
8301 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8302
8303         * converter.C (view): add support for $$i (file name) and $$p
8304         (file path) for the viewer command. If $$i is not specified, then
8305         it is appended to the command (for compatibility with old syntax)
8306
8307 2002-10-14  Juergen Vigna  <jug@sad.it>
8308
8309         * undo_funcs.C (textHandleUndo): alter the order in which the
8310         new undopar is added to the LyXText, as we have to set first
8311         the right prev/next and then add it as otherwise the rebuild of
8312         LyXText is not correct. Also reset the cursor to the right paragraph,
8313         with this IMO we could remove the hack in "redoParagraphs()".
8314
8315 2002-10-09  Angus Leeming  <leeming@lyx.org>
8316
8317         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8318         to turn off an optimisation if a new inset is to be inserted.
8319
8320 2002-10-11 André Pönitz <poenitz@gmx.net>
8321
8322         * lyxtext.h: make some functions public to allow access
8323         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8324
8325 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * text3.C (dispatch): when changing layout, avoid an infinite loop
8328         [bug #652]
8329
8330 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8331
8332         * lyxrc.C (read): treat a viewer or converter command of "none" as
8333         if it were empty.
8334
8335         * MenuBackend.C (expandFormats): for an update, also allow the
8336         formats that are not viewable
8337
8338         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8339         script if it is newer than the lyxrc.defaults in user directory
8340
8341 2002-10-07 André Pönitz <poenitz@gmx.net>
8342
8343         * text.C: Vitaly Lipatov's small i18n fix
8344
8345 2002-09-25  Angus Leeming  <leeming@lyx.org>
8346
8347         * ispell.h: doxygen fix.
8348
8349 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * buffer.h (readFile): Add a new argument to the method, to allow
8352         reading of old-format templates.
8353
8354 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8355
8356         * toc.C (getTocList): Get TOC from InsetWrap.
8357
8358 2002-09-16  John Levon  <levon@movementarian.org>
8359
8360         * lyxfunc.C: check tabular for cut/copy too
8361
8362 2002-09-12  John Levon  <levon@movementarian.org>
8363
8364         * LyXAction.C: tidy
8365
8366         * factory.h:
8367         * factory.C: add header
8368
8369         * paragraph_funcs.h:
8370         * paragraph_funcs.C: cleanup
8371
8372 2002-09-11  John Levon  <levon@movementarian.org>
8373
8374         * PrinterParams.h: odd/even default to true
8375
8376 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8377
8378         * PrinterParams.h: update printer parameters for new xforms dialog
8379
8380 2002-09-11  Angus Leeming  <leeming@lyx.org>
8381
8382         * lyxserver.C (read_ready): re-write to make it more transparent
8383         and to make it work in coherent fashion under Tru64 Unix.
8384
8385 2002-09-11  André Pönitz <poenitz@gmx.net>
8386
8387         * commandtags.h:
8388         * LyXAction.C:
8389         * text3.C: implement LFUN_WORDSEL
8390
8391 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8394         make floatlist_ a boost::shared_ptr<FloatList>
8395
8396         * lyxtextclass.C: include FloatList.h
8397         (LyXTextClass): initialize floatlist_
8398         (TextClassTags): add TC_NOFLOAT
8399         (Read): match "nofloat" to TC_NOFLOAT and use it.
8400         (readFloat): modify call to floatlist_
8401         (floats): ditto
8402         (floats): ditto
8403
8404         * FloatList.[Ch] (FloatList): remove commented out float
8405         initialization.
8406         (erase): new function
8407
8408 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8409
8410         * MenuBackend.C (expandToc): fix crash when there is no document
8411         open
8412
8413 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8414
8415         * many files: Add insetwrap.
8416
8417 2002-09-09  John Levon  <levon@movementarian.org>
8418
8419         * text2.C: remove confusing and awkward depth wraparound
8420
8421 2002-09-09  John Levon  <levon@movementarian.org>
8422
8423         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8424
8425         * buffer.h:
8426         * buffer.C: remove getIncludeonlyList()
8427
8428         * paragraph.C:
8429         * lyxfunc.C: remove headers
8430
8431 2002-09-09  Juergen Vigna  <jug@sad.it>
8432
8433         * text.C (getColumnNearX): fix form Michael this is most
8434         probably a cut&paste bug.
8435
8436 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8439
8440         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8441         references, ws changes.
8442
8443         * text2.C (init): update counters after init
8444         (insertParagraph): no need to set counter on idividual paragraphs.
8445         (setCounter): access the counters object in the textclass object
8446         on in the buffer object.
8447         (updateCounters): ditto
8448
8449         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8450         shared_ptr<Counters> to avoid loading counters.h in all
8451         compilation units.
8452         (LyXTextClass): initialize ctrs_
8453         (TextClassTags): add TC_COUNTER, and ...
8454         (Read): use it here.
8455         (CounterTags): new tags
8456         (readCounter): new function
8457         (counters): new funtion
8458         (defaultLayoutName): return a const reference
8459
8460         * counters.C (Counters): remove contructor
8461         (newCounter): remove a couple of unneeded statements.
8462         (newCounter): simplify a bit.
8463         (numberLabel): some small formatting changes.
8464
8465         * buffer.[Ch]: remove all traces of counters, move the Counters
8466         object to the LyXTextClass.
8467
8468 2002-09-06  Alain Castera  <castera@in2p3.fr>
8469
8470         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8471         package to set the horizontal alignment on fixed width columns.
8472
8473         * lyx_sty.C:
8474         * lyx_sty.h: added tabularnewline macro def.
8475
8476         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8477
8478 2002-09-06  John Levon  <levon@movementarian.org>
8479
8480         * LyXAction.C: tooltips for sub/superscript
8481
8482         * MenuBackend.C: a bit more verbose
8483
8484         * lyxfunc.C: tiny clean
8485
8486         * undo_funcs.C: document undo_frozen
8487
8488 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * counters.C (Counters): add missing algorithm counter.
8491
8492         * text2.C (setCounter): lookup the counter with layouts latexname
8493         instead of by section number.
8494         (setCounter): use a hackish way to lookup the correct enum
8495         counter.
8496         a float name->type change
8497         reset enum couners with counter name directly instead of depth value.
8498
8499         * counters.C (Counters): remove the push_backs, change to use the
8500         float type not the float name.
8501         (labelItem): remove unused string, float name->type change
8502
8503         * counters.h: don't include vector, loose the enums and sects vectors
8504
8505 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8508         (Read): add float->TC_FLOAT to textclassTags
8509         (Read): and handle it in the switch
8510         (readFloat): new function
8511
8512         * FloatList.C (FloatList): comment out the hardcoded float
8513         definitions.
8514
8515         * lyxlayout.h: ws change.
8516
8517 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8518
8519         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8520
8521 2002-09-03  Angus Leeming  <leeming@lyx.org>
8522
8523         * BufferView_pimpl.h: qualified name is not allowed in member
8524         declaration: WorkArea & Pimpl::workarea() const;
8525
8526         * factory.C: added using std::endl directive.
8527
8528         * text3.C: added using std::find and std::vector directives.
8529
8530 2002-08-29  André Pönitz <poenitz@gmx.net>
8531
8532         * lyxtext.h:
8533         * text2.C: remove unused member number_of_rows
8534
8535         * Makefile.am:
8536         * BufferView2.C: remove file, move contents to...
8537         * BufferView.C: ... here
8538
8539         * BufferView_pimpl.C:
8540         * factory.C: move more inset creation to factory
8541
8542         * vspace.C: avoid direct usage of LyXText, ws changes
8543
8544         * BufferView.[Ch]:
8545                 don't provide direct access to WorkArea, use two simple
8546                 acessors haveSelction() and workHeight() instead
8547
8548
8549 2002-08-29  John Levon  <levon@movementarian.org>
8550
8551         * BufferView_pimpl.C (dispatch): do not continue when
8552           no buffer
8553
8554 2002-08-28  André Pönitz <poenitz@gmx.net>
8555
8556         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8557
8558         * BufferView.h:
8559         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8560
8561 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8562
8563         * buffer.C: increment LYX_FORMAT to 221
8564
8565         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8566         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8567
8568         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8569
8570         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8571
8572 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * factory.C (createInset): use LyXTextClass::floats
8575
8576         * MenuBackend.C (expandFloatListInsert):
8577         (expandFloatInsert):
8578         (expandToc):
8579
8580         * text2.C (setCounter):
8581
8582         * LaTeXFeatures.C (useFloat):
8583         (getFloatDefinitions):
8584
8585         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8586
8587         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8588         floatlist_, with accessor floats().
8589
8590         * FloatList.h: remove global FloatList
8591
8592 2002-08-26  André Pönitz <poenitz@gmx.net>
8593
8594         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8595
8596         * BufferView.h:
8597         * BufferView2.C:
8598         * BufferView_pimpl.C:
8599         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8600
8601 2002-08-25  John Levon  <levon@movementarian.org>
8602
8603         * LyXAction.C: fix margin note description
8604
8605 2002-08-24  John Levon  <levon@movementarian.org>
8606
8607         * buffer.C:
8608         * bufferlist.C:
8609         * bufferview_funcs.C:
8610         * lyxfont.C:
8611         * undo_funcs.C: cleanups
8612
8613         * lyxfunc.C: disable CUT/COPY when no selection
8614
8615 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8616
8617         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8618         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8619
8620         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8621         Add backward compatibility to "mono", "gray" and "no".
8622
8623 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8624
8625         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8626         (and file_format >= 200).
8627
8628 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8631
8632 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8635
8636 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8637
8638         * BufferView_pimpl.C:
8639         * LyXAction.C:
8640         * buffer.C:
8641         * commandtags.h:
8642         * lyxfunc.C:
8643         * paragraph.[Ch]:
8644         * text2.C:
8645         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8646         inset and code to make it  work with the paragraph code. The inset
8647         can be anywhere in the paragraph, but will only do the expected
8648         thing in LaTeX if the layout file contains the parameter line
8649                         OptionalArgs    1
8650         (or more generally, a nonzero value) for that layout.
8651
8652 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * paragraph.h: remove the declaration of undefined counters class
8655         function.
8656
8657 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8658
8659         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8660         Dr. Richard Hawkins.
8661
8662 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * paragraph_funcs.h: remove some unneeded includes
8665
8666         * text.C (backspace): pasteParagraph now in global scipe
8667
8668         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8669         (pasteSelection): ditto
8670
8671         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8672         * paragraph_funcs.C (pasteParagraph): ... here
8673
8674 2002-08-20  André Pönitz <poenitz@gmx.net>
8675
8676         * commandtags.h: new LFUNs for swapping/copying table row/colums
8677
8678         * LyXAction.C:
8679         * lyxfunc.C: support for new lfuns
8680
8681 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8682
8683         * tabular.C:
8684         * buffer.[Ch]: remove NO_COMPABILITY stuff
8685
8686 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * boost.C (throw_exception): new file, with helper function for
8689         boost compiled without exceptions.
8690
8691         * paragraph.h:
8692         * lyxlength.C:
8693         * buffer.C:
8694         * ParameterStruct.h:
8695         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8696
8697         * bufferlist.C (emergencyWriteAll): use boost bind
8698
8699         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8700
8701         * text.C: include paragraph_funcs.h
8702         (breakParagraph): breakParagraph is now in global scope
8703
8704         * paragraph_funcs.[Ch]: new files
8705
8706         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8707         global scope
8708
8709         * buffer.C: include paragraph_funcs.h
8710         (insertStringAsLines): breakParagraph is now in global scope
8711
8712         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8713         paragraph_funcs.C
8714
8715         * CutAndPaste.C: include paragraph_funcs.h
8716         (cutSelection): breakParagraphConservative is now in global scope
8717         (pasteSelection): ditto
8718
8719         * buffer.h: declare oprator== and operator!= for
8720         Buffer::inset_iterator
8721
8722         * bufferlist.C (emergencyWrite): don't use fmt(...)
8723
8724         * text3.C: add using std::endl
8725
8726         * BufferView.C (moveCursorUpdate): remove default arg
8727
8728 2002-08-20  André Pönitz <poenitz@gmx.net>
8729
8730         * buffer.[Ch]: move inline functions to .C
8731
8732         * BufferView2.C:
8733         * BufferView_pimpl.C:
8734         * text.C:
8735         * buffer.[Ch]: use improved inset_iterator
8736
8737         * buffer.C:
8738         * paragraph.[Ch]: write one paragraph at a time
8739
8740 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8741
8742         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8743         style if style is not specified.
8744
8745 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8746
8747         * text2.C (setCounter): when searching for right label for a
8748         caption, make sure to recurse to parent insets (so that a caption
8749         in a minipage in a figure float works) (bug #568)
8750
8751 2002-08-20  André Pönitz <poenitz@gmx.net>
8752
8753         * text3.C: new file for LyXText::dispatch() and helpers
8754
8755         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8756
8757         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8758
8759 2002-08-19  André Pönitz <poenitz@gmx.net>
8760
8761         * lyxtext.h:
8762         * text.C: new LyXText::dispatch()
8763
8764         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8765
8766 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8767
8768         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8769
8770         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8771         Hebrew text.
8772
8773 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8774
8775         * Makefile.am: use $(variables) instead of @substitutions@
8776
8777 2002-08-15  André Pönitz <poenitz@gmx.net>
8778
8779         * lyxfunc.C:
8780         * BufferView_pimpl.C: streamlining mathed <-> outer world
8781         interaction
8782
8783         * commandtags.h:
8784         * LyXAction.C: remove unused LFUN_MATH
8785
8786 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8789
8790 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * paragraph.C (Paragraph): reformat a bit
8793         (cutIntoMinibuffer): use builtin InsetList function instad of
8794         doing it manually.
8795         (getInset): ditto
8796
8797         * buffer.C: include boost/bind.hpp, add using std::for_each
8798         (writeFileAscii): use ParagraphList iterators
8799         (validate): use for_each for validate traversal of paragraphs
8800         (getBibkeyList): use ParagraphList iterators
8801         (resizeInsets): use for_each to resizeInsetsLyXText for all
8802         paragraphs.
8803         (getParFromID): use ParagraphList iterators
8804
8805         * BufferView2.C (lockInset): use paragraph list and iterators
8806
8807 2002-08-14  John Levon  <levon@movementarian.org>
8808
8809         * lyxserver.C: remove spurious xforms include
8810
8811 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8814
8815 2002-08-13  André Pönitz <poenitz@gmx.net>
8816
8817         * LyXAction.[Ch]:
8818         * lyxfunc.C: further cleaning
8819
8820 2002-08-13  André Pönitz <poenitz@gmx.net>
8821
8822         * funcrequest.h: new constructor
8823
8824         * funcrequest.C: move stuff here from .h
8825
8826         * Makefile.am:
8827         * BufferView_pimpl.C:
8828         * LyXAction.C:
8829         * toc.C:
8830         * lyxfunc.C: subsequent changes
8831
8832         * lyxfunc.h: new view() member function
8833
8834         * lyxfunc.C: subsequent changes
8835
8836 2002-08-13  Angus Leeming  <leeming@lyx.org>
8837
8838         * BufferView2.C:
8839         * BufferView_pimpl.C:
8840         * buffer.C:
8841         * converter.C:
8842         * importer.C:
8843         * lyxfunc.C:
8844         * lyxvc.C:
8845         * toc.C:
8846         * vc-backend.C:
8847         changes due to the changed LyXView interface that now returns references
8848         to member variables not pointers.
8849
8850 2002-08-13  Angus Leeming  <leeming@lyx.org>
8851
8852         * WordLangTuple (word, lang_code): return references to strings,
8853         not strings.
8854
8855         * BufferView.h:
8856         * SpellBase.h:
8857         * lyxtext.h: forward-declare WordLangTuple.
8858
8859         * BufferView2.C:
8860         * ispell.C:
8861         * pspell.C:
8862         * text.C: #include "WordLangTuple.h".
8863
8864         * lyxtext.h:
8865         * text.C: (selectNextWordToSpellcheck): constify return type.
8866
8867 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8868
8869         * buffer.C:
8870         * buffer.h:
8871         * lyxtext.h:
8872         * paragraph.C:
8873         * paragraph_pimpl.h:
8874         * text.C:
8875         * text2.C:
8876         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8877         suggested by Angus.
8878         Made updateCounter always count from start of buffer, and removed
8879         second argument (par).
8880         Reverted floats number display to '#'. Perhaps I'll try again when the
8881         code base is sanitized a bit.
8882
8883 2002-08-12  Angus Leeming  <leeming@lyx.org>
8884
8885         * buffer.[Ch] (getLabelList): constify.
8886
8887 2002-08-07  André Pönitz <poenitz@gmx.net>
8888
8889         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8890
8891         * funcrequest.h: extension to keep mouse (x,y) position
8892
8893 2002-08-12  Juergen Vigna  <jug@sad.it>
8894
8895         * BufferView2.C (insertErrors): forbid undo when inserting error
8896         insets.
8897
8898         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8899
8900 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * ParagraphList.[Ch]: new files
8903
8904         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8905
8906         * BufferView2.C (lockInset): ParagraphList changes
8907         * toc.C: ditto
8908         * text2.C: ditto
8909         * bufferlist.C: ditto
8910         * buffer.h: ditto
8911         * buffer.C: ditto
8912
8913 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8916         unused class variable counter_,
8917
8918         * paragraph.[Ch] (getFirstCounter): delete unused function
8919
8920         * counters.C: include LAssert.h
8921         (reset): add a new function with no arg, change other version to
8922         not have def. arg and to not allow empty arg.
8923
8924         * text2.C (setCounter): remove empty arg from call to Counters::reset
8925
8926 2002-08-11  John Levon  <levon@movementarian.org>
8927
8928         * Makefile.am: add WordLangTuple.h
8929
8930 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8933         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8934
8935         * insets/insettext.C: InsetList changes
8936
8937         * graphics/GraphicsSupport.C (operator()): InsetList changes
8938
8939         * toc.C (getTocList): InsetList changes
8940
8941         * paragraph_pimpl.[Ch]: InsetList changes
8942
8943         * paragraph.[Ch]: InsetList changes
8944
8945         * buffer.C (inset_iterator): InsetList changes
8946         (setParagraph): ditto
8947         * buffer.h (inset_iterator): ditto
8948         * iterators.C (operator++): ditto
8949         * iterators.h: ditto
8950
8951         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8952
8953         * InsetList.[Ch]: new files, most InsetList handling moved out of
8954         paragraph.C.
8955
8956         * BufferView2.C (removeAutoInsets): InsetList changes
8957         (lockInset): ditto
8958         (ChangeInsets): ditto
8959
8960 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * paragraph_pimpl.h (empty): new function
8963
8964         * paragraph.[Ch] (empty): new function
8965
8966         * other files: use the new Paragraph::empty function
8967
8968 2002-08-09  John Levon  <levon@movementarian.org>
8969
8970         * lyxtext.h: remove unused refresh_height
8971
8972 2002-08-09  John Levon  <levon@movementarian.org>
8973
8974         * Makefile.am:
8975         * sgml.h:
8976         * sgml.C:
8977         * buffer.C:
8978         * paragraph.h:
8979         * paragraph.C: move sgml char escaping out of paragraph
8980
8981         * paragraph.h:
8982         * paragraph.C: remove id setter
8983
8984         * buffer.C:
8985         * paragraph.C:
8986         * paragraph_pimpl.C: remove dead tex_code_break_column
8987
8988         * bufferview_funcs.C: small cleanup
8989
8990         * lyxfunc.C: remove dead proto
8991
8992         * lyxtext.h: make some stuff private. Remove some dead stuff.
8993
8994         * lyxgluelength.C: make as[LyX]String() readable
8995
8996 2002-08-08  John Levon  <levon@movementarian.org>
8997
8998         * LyXAction.h:
8999         * LyXAction.C:
9000         * MenuBackend.C:
9001         * ToolbarDefaults.C:
9002         * lyxfunc.C:
9003         * lyxrc.C:
9004         * toc.C: lyxaction cleanup
9005
9006 2002-08-08  John Levon  <levon@movementarian.org>
9007
9008         * BufferView2.C: small cleanup
9009
9010         * lyxfind.h:
9011         * lyxfind.C: move unnecessary header into the .C
9012
9013 2002-08-08  John Levon  <levon@movementarian.org>
9014
9015         * funcrequest.h: just tedious nonsense
9016
9017         * lyx_main.h:
9018         * lyx_main.C: cleanups
9019
9020         * buffer.C:
9021         * vspace.C: remove dead header lyx_main.h
9022
9023 2002-08-07  Angus Leeming  <leeming@lyx.org>
9024
9025         * Paragraph.[Ch]:
9026         * paragraph_pimpl.h:
9027         Forward declare class Counters in paragraph.h by moving the ctrs member
9028         variable into Paragraph::Pimpl.
9029         (counters): new method, returning a reference to pimpl_->ctrs.
9030
9031         * text2.C: ensuing changes.
9032
9033 2002-08-07  John Levon  <levon@movementarian.org>
9034
9035         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9036
9037         * BufferView_pimpl.C: announce X selection on double/triple
9038           click
9039
9040         * lyx_main.C: use correct bool in batch dispatch
9041
9042         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9043
9044 2002-08-07  André Pönitz <poenitz@gmx.net>
9045
9046         * funcrequest.h: new class to wrap a kb_action and its argument
9047
9048         * BufferView.[Ch]:
9049         * BufferView_pimpl[Ch]:
9050         * LaTeX.C:
9051         * LyXAction.[Ch]:
9052         * lyxfunc.[Ch]:
9053         * lyxrc.C: subsequent changes
9054
9055
9056 2002-08-07  John Levon  <levon@movementarian.org>
9057
9058         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9059           document options change.
9060
9061 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9062
9063         * counters.[Ch]
9064         * text2.C
9065         * paragraph.[Ch]
9066         * makefile.am: move counters functionality over from
9067         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9068
9069 2002-08-06  John Levon  <levon@movementarian.org>
9070
9071         * WordLangTuple.h: new file for word + language code tuple
9072
9073         * SpellBase.h:
9074         * pspell.h:
9075         * pspell.C:
9076         * ispell.h:
9077         * ispell.C:
9078         * lyxtext.h:
9079         * text.C:
9080         * text2.C:
9081         * BufferView.h:
9082         * BufferView2.C: use WordLangTuple
9083
9084         * layout.h:
9085         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9086
9087 2002-08-06  John Levon  <levon@movementarian.org>
9088
9089         * lyx_main.C: fix cmdline batch handling
9090
9091 2002-08-06  André Pönitz <poenitz@gmx.net>
9092
9093         * lyxrc.C: set default for show_banner to true
9094
9095 2002-08-06  John Levon  <levon@movementarian.org>
9096
9097         * pspell.C: fix a crash, and allow new aspell to work
9098
9099 2002-08-06  John Levon  <levon@movementarian.org>
9100
9101         * lyxfunc.C:
9102         * kbmap.C: small cleanup
9103
9104         * vspace.h:
9105         * vspace.C: add const
9106
9107 2002-08-05  John Levon  <levon@movementarian.org>
9108
9109         * LyXAction.C: back to tabular-insert
9110
9111 2002-08-04  John Levon  <levon@movementarian.org>
9112
9113         * BufferView.h:
9114         * BufferView.C: cosmetic change
9115
9116         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9117
9118         * bufferlist.C:
9119         * buffer.h:
9120         * buffer.C:
9121         * lyxcb.h:
9122         * lyxcb.C:
9123         * lyxserver.C:
9124         * lyxvc.C:
9125         * vc-backend.C:
9126         * BufferView2.C: purge all "Lyx" not "LyX" strings
9127
9128         * lyxcursor.h:
9129         * lyxcursor.C: attempt to add some documentation
9130
9131         * lyxfunc.C:
9132         * commandtags.h:
9133         * LyXAction.C:
9134         * ToolbarDefaults.C:
9135         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9136           merge with LFUN_TABULAR_INSERT
9137
9138         * Makefile.am:
9139         * SpellBase.h:
9140         * ispell.h:
9141         * ispell.C:
9142         * pspell.h:
9143         * pspell.C: split up i/pspell implementations into separate
9144           files, many cleanups
9145
9146         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9147
9148         * text2.C: some cleanup
9149
9150         * lyxfunc.C: don't check for isp_command == "none" any more, it
9151           didn't make any sense
9152
9153 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9154
9155         * counters.[Ch]
9156         * text2.C
9157         * paragraph.[Ch]
9158         * makefile.am: move counters functionality over
9159         from text2.C/paragraph.[Ch] to counters.[Ch], and
9160         make proper C++.
9161 2002-08-02  John Levon  <levon@movementarian.org>
9162
9163         * buffer.C: s/lyxconvert/lyx2lyx/
9164
9165 2002-08-02  Angus Leeming  <leeming@lyx.org>
9166
9167         * lyxlex.C: revert John's change as it breaks reading of the user
9168         preamble.
9169
9170 2002-08-02  Angus Leeming  <leeming@lyx.org>
9171
9172         * importer.C (Import):
9173         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9174         changes due to LyXView::view() now returning a boost::shared_ptr.
9175
9176 2002-08-02  John Levon  <levon@movementarian.org>
9177
9178         * lyxlex.C: small cleanup
9179
9180 2002-08-02  John Levon  <levon@movementarian.org>
9181
9182         * text2.C (status): small cleanup, no logic change
9183
9184 2002-08-01  John Levon  <levon@movementarian.org>
9185
9186         * buffer.h:
9187         * buffer.C (writeFile): don't output alerts, caller
9188           handles this
9189
9190         * bufferlist.C:
9191         * lyx_cb.C: from above
9192
9193         * lyxfunc.C: allow to open non-existent files
9194
9195 2002-07-31  John Levon  <levon@movementarian.org>
9196
9197         * lyxserver.C: don't let incidental errors get
9198           in the way (errno)
9199
9200 2002-07-30  John Levon  <levon@movementarian.org>
9201
9202         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9203
9204 2002-07-30  John Levon  <levon@movementarian.org>
9205
9206         * lyxserver.h:
9207         * lyxserver.C: remove I/O callback too
9208
9209 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9210
9211         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9212         log.
9213
9214 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9215
9216         * many files: strip,frontStrip -> trim,ltrim,rtrim
9217
9218 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9219
9220         * PrinterParams.h: remove extern containsOnly, and include
9221         support/lstrings.h instead.
9222
9223         * LaTeX.C (scanAuxFile): modify because of strip changes
9224         (deplog): ditto
9225         * buffer.C (makeLaTeXFile): ditto
9226         * bufferparams.C (writeFile): ditt
9227         * lyxfont.C (stateText): ditto
9228         * lyxserver.C (read_ready): ditto
9229         * vc-backend.C (scanMaster): ditto
9230
9231         * BufferView_pimpl.h: ws changes
9232
9233         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9234
9235 2002-07-26  André Pönitz <poenitz@gmx.net>
9236
9237         * kb_sequence.C: remove unnedred usings
9238
9239 2002-07-26  Juergen Vigna  <jug@sad.it>
9240
9241         * lyxfind.C (LyXReplace): we have to check better if the returned
9242         text is not of theLockingInset()->getLockingInset().
9243
9244 2002-07-25  Juergen Vigna  <jug@sad.it>
9245
9246         * lyxfind.C (LyXReplace): don't replace if we don't get the
9247         right LyXText.
9248
9249         * undo_funcs.C (createUndo): remove debugging code.
9250
9251 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9252
9253         * buffer.C (parseSingleLyXformat2Token): Use default placement
9254         when reading old floats.
9255
9256         * FloatList.C (FloatList): Change the default placement of figure
9257         and tables to "tbp".
9258
9259 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9260
9261         * MenuBackend.C: using std::max
9262
9263 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9264
9265         * MenuBackend.C (expandToc):
9266         (expandToc2): code moved from xforms menu frontend. It is now
9267         generic and TOCs are transparent to menu frontends.
9268
9269 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * toc.C (getTocList): protect against buf=0
9272
9273         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9274         Menu as first parameter. Now, this calls itself recursively to
9275         expand a whole tree (this will be useful for TOC handling)
9276         (expandFloatInsert): remove 'wide' version of floats
9277
9278         * MenuBackend.h (submenuname): returns the name of the submenu.
9279         (submenu): returns the submenu itself, provided it has been
9280         created by MenuBackend::expand
9281
9282 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9283
9284         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9285         insets which have noFontChange == true. (bug #172)
9286
9287 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * BufferView_pimpl.C: add connection objects and use them...
9290         (Pimpl): here.
9291
9292 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9293
9294         * MenuBackend.C (expandLastfiles):
9295         (expandDocuments):
9296         (expandFormats):
9297         (expandFloatListInsert):
9298         (expandFloatInsert):
9299         (expand): split expand in parts
9300
9301 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * lyx_gui.C: use lyx_gui::exit()
9304
9305 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * LyXAction.C: show the failing pseudo action
9308
9309 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9310
9311         * buffer.C (readFile): Run the lyxconvert script in order to read
9312         old files.
9313
9314 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * LyXAction.C:
9317         * commandtags.h:
9318         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9319
9320 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * LyXAction.C:
9323         * commandtags.h:
9324         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9325
9326 2002-07-22  Herbert Voss  <voss@lyx.org>
9327
9328         * lengthcommon.C:
9329         * lyxlength.[Ch]: add support for the vertical lengths
9330
9331 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9332
9333         * toc.[Ch]: std:: fixes
9334
9335 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * lyxrc.C: do not include lyx_main.h
9338
9339         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9340         for layouts
9341
9342         * lyxrc.C:
9343         * encoding.C:
9344         * bufferlist.C:
9345         * BufferView2.C: include "lyxlex.h"
9346
9347         * tabular.h:
9348         * bufferparams.h: do not #include "lyxlex.h"
9349
9350         * lyxtextclasslist.C (Add): remove method
9351         (classlist): renamed to classlist_
9352
9353         * paragraph_pimpl.C:
9354         * paragraph.C:
9355         * text2.C:
9356         * CutAndPaste.C:
9357         * bufferview_funcs.C:
9358         * bufferlist.C:
9359         * text.C:
9360         * LaTeXFeatures.C:
9361         * buffer.C:
9362         * toc.C (getTocList): use BufferParams::getLyXTextClass
9363
9364         * toc.C (getTocList): use InsetFloat::addToToc
9365
9366         * toc.[Ch]: new files, containing helper functions to handle table
9367         of contents
9368
9369         * lyxfunc.C (dispatch): no need to remove spaces around command
9370         given as a string
9371         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9372         first command of the sequence; it is not very clever, but I do not
9373         have a better idea, actually
9374
9375         * LyXAction.C (LookupFunc): make sure to remove space at the
9376         beginning and end of the command
9377
9378 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9379
9380         * MenuBackend.C (getMenubar): new method: return the menubar of
9381         this menu set
9382         (read): treat differently reading of menu and menubar (in
9383         particular, the menubar has no name now)
9384         (Menu::menubar): remove
9385
9386         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9387         saving is finished
9388
9389 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9390
9391         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9392         a bibitem inset in a RTL paragraph.
9393
9394 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * paragraph_pimpl.C: constify
9397
9398         * BufferView_pimpl.C:
9399         * LaTeX.C:
9400         * lyxfunc.C: fix dispatch in a nicer way
9401
9402 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9403
9404         * lyxfunc.C (dispatch):
9405         * BufferView_pimpl.C:
9406         * BufferView_pimpl.h:
9407         * BufferView.C:
9408         * BufferView.h: rename Dispatch() to dispatch()
9409
9410         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9411
9412         * lyxlayout.C (Read): honor DependsOn tag
9413
9414         * lyxlayout.[Ch] (depends_on): new method
9415
9416         * version.C.in: update lyx_docversion
9417
9418         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9419
9420         * paragraph.C (validate): remove from here...
9421         * paragraph_pimpl.C (validate): ... and move here
9422         (isTextAt): make it const
9423
9424         * buffer.C (getLists): ws cleanup
9425
9426 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9427
9428         * language.C (read): Use iso8859-1 encoding in latex_lang
9429         (this prevents LyX from crashing when using iso10646-1 encoding).
9430
9431 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * text2.C (toggleInset): if cursor is inside an inset, close the
9434         inset and leave cursor _after_ it
9435
9436 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * lyxfunc.C: move minibuffer completion handling out of here
9439
9440 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * BufferView_pimpl.C:
9443         * LaTeX.C: fix dispatch calls
9444
9445 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9446
9447         * text.C (drawChars): Fix Arabic text rendering.
9448
9449 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9450
9451         * LyXAction.C:
9452         * commandtags.h:
9453         * lyxfunc.C: remove message-push/pop
9454
9455         * lyxserver.C:
9456         * lyxfunc.h:
9457         * lyxfunc.C: rationalise some code by removing verboseDispatch
9458           in favour of a bool argument to dispatch()
9459
9460 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * lyx_main.C (init): make sure to read symlinks as absolute paths
9463
9464 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9465
9466         * lyxfunc.h:
9467         * lyxfunc.C: no need for commandshortcut to be a member
9468
9469 2002-07-15  André Pönitz <poenitz@gmx.net>
9470
9471         * converter.C: add support for $$s (scripts from lib/scripts dir)
9472         * lyx_main.C: white space
9473
9474 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * bufferlist.C:
9477         * lyxrc.h:
9478         * lyxrc.C: remove second exit confirmation
9479
9480 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9481
9482         * BufferView.h:
9483         * BufferView.C:
9484         * BufferView2.C:
9485         * BufferView_pimpl.h:
9486         * BufferView_pimpl.C:
9487         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9488
9489 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * MenuBackend.C (expand): add numeric shortcuts to document menu
9492
9493         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9494
9495 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9496
9497         * lyxfont.C (setLyXFamily):
9498         (setLyXSeries):
9499         (setLyXShape):
9500         (setLyXSize):
9501         (setLyXMisc):
9502         (lyxRead):
9503         * debug.C (value):
9504         * buffer.C (asciiParagraph): use ascii_lowercase
9505
9506 2002-07-15  Mike Fabian  <mfabian@suse.de>
9507
9508         * lyxlex_pimpl.C (search_kw):
9509         * lyxlex.C (getLongString):
9510         * converter.h (operator<):
9511         * converter.C (operator<):
9512         * buffer.C (parseSingleLyXformat2Token):
9513         (asciiParagraph):
9514         * ToolbarDefaults.C (read):
9515         * MenuBackend.C (checkShortcuts):
9516         (read):
9517         * LColor.C (getFromGUIName):
9518         (getFromLyXName): use the compare_ascii_no_case instead of
9519         compare_no_case, because in turkish, 'i' is not the lowercase
9520         version of 'I', and thus turkish locale breaks parsing of tags.
9521
9522 2002-07-16  Angus Leeming  <leeming@lyx.org>
9523
9524         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9525         now takes a Buffer const & argument.
9526
9527 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * BufferView.C (resize): check there's a buffer to resize
9530
9531 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * lyxfunc.C: remove dead code
9534
9535         * lyxserver.h:
9536         * lyxserver.C: use lyx_guii::set_read_callback
9537
9538 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9539
9540         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9541         an inset in a RTL paragraph.
9542
9543 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * lyxfunc.C: repaint after a font size update
9546
9547 2002-07-15  André Pönitz <poenitz@gmx.net>
9548
9549         * lyxlength.C: inBP should be able to return negative values
9550
9551 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * lyxfunc.C: use lyx_gui::update_fonts()
9554
9555 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * lyxfunc.C: use lyx_gui::update_color()
9558
9559 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * bufferlist.C:
9562         * lyxfunc.h:
9563         * lyxfunc.C:
9564         * lyxrc.h:
9565         * lyxrc.C: remove file->new asks for name option, and let
9566           buffer-new take an argument
9567
9568 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9569
9570         * BufferView_pimpl.C: remove unneeded extra repaint()
9571
9572 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9573
9574         * LyXAction.C: allow command-sequence with NoBuffer
9575
9576         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9577
9578 2002-07-10  Angus Leeming  <leeming@lyx.org>
9579
9580         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9581
9582 2002-07-09  Angus Leeming  <leeming@lyx.org>
9583
9584         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9585
9586 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * lengthcommon.h: whitespace
9589
9590         * lyxfunc.C: update scrollbar after goto paragraph
9591
9592         * lyxtext.h: factor out page break drawing, and fix it so
9593           page break/added space paints as selected nicely
9594
9595 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * BufferView_pimpl.C: add FIXMEs, clean up a little
9598
9599 2002-07-09  André Pönitz <poenitz@gmx.net>
9600
9601         * lyxfont.[Ch]: support for wasy symbols
9602
9603 2002-07-08  André Pönitz <poenitz@gmx.net>
9604
9605         * BufferView_pimpl.C: apply John's patch for #93.
9606
9607 2002-07-05  Angus Leeming  <leeming@lyx.org>
9608
9609         * BufferView_pimpl.C (buffer): generate previews if desired.
9610
9611         * LColor.h: add "preview" to the color enum.
9612
9613         * LColor.C (LColor): add a corresponding entry to the items array.
9614
9615         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9616         with this buffer.
9617
9618 2002-07-05  Angus Leeming  <leeming@lyx.org>
9619
9620         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9621         The body of the code is now in the method that is passed an ostream &
9622         rather than a file name.
9623         Pass an additional only_preamble parameter, useful for the forthcoming
9624         preview stuff.
9625
9626 2002-07-03  André Pönitz <poenitz@gmx.net>
9627
9628         * lyxfunc.C: simplify getStatus() a bit for math stuff
9629
9630 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9631
9632         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9633
9634 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * text.C (changeRegionCase): do not change case of all the
9637         document when region ends at paragraph end (bug #461)
9638
9639 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * paragraph.C (startTeXParParams):
9642         (endTeXParParams): add \protect when necessary
9643
9644 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9645
9646         * BufferView_pimpl.C (workAreaExpose): remove warning
9647
9648 2002-06-27  Angus Leeming  <leeming@lyx.org>
9649
9650         * Makefile.am: add lyxlayout_ptr_fwd.h.
9651
9652 2002-06-26  André Pönitz <poenitz@gmx.net>
9653
9654         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9655
9656 2002-06-25  Angus Leeming  <leeming@lyx.org>
9657
9658         * lyxfunc.C (dispatch): Comment out the call to
9659         grfx::GCache::changeDisplay. The method no longer exists now that the
9660         pixmap generation part of the graphics loader has been moved into
9661         InsetGraphics.
9662
9663 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9664
9665         * text2.C: layout as layout
9666
9667         * text.C: layout as layout
9668
9669         * tabular.C (OldFormatRead): layout as layout
9670
9671         * paragraph_pimpl.C (TeXDeeper): layout as layout
9672         (realizeFont): layout as layout
9673
9674         * paragraph.C (writeFile): layout as layout
9675         (validate): layout as layout
9676         (getFont): layout as layout
9677         (getLabelFont): layout as layout
9678         (getLayoutFont): layout as layout
9679         (breakParagraph): layout as layout
9680         (stripLeadingSpaces): layout as layout
9681         (getEndLabel): layout as layout
9682         (getMaxDepthAfter): layout as layout
9683         (applyLayout): layout as layout
9684         (TeXOnePar): layout as layout
9685         (simpleTeXOnePar): layout as layout
9686         (TeXEnvironment): layout as layout
9687         (layout): layout as layout
9688         (layout): layout as layout
9689
9690         * lyxtextclass.C (compare_name): new functor to work with
9691         shared_ptr, layout as layout
9692         (Read): layout as layout
9693         (hasLayout): layout as layout
9694         (operator): layout as layout
9695         (delete_layout): layout as layout
9696         (defaultLayout): layout as layout
9697
9698         * lyxlayout_ptr_fwd.h: new file
9699
9700         * lyxlayout.C (Read): layout as layout
9701
9702         * lyx_cb.C (MenuInsertLabel): layout as layout
9703
9704         * bufferlist.C (newFile): layout as layout
9705
9706         * buffer.C (readLyXformat2): layout as layout
9707         (parseSingleLyXformat2Token): layout as layout
9708         (insertStringAsLines): layout as layout
9709         (asciiParagraph): layout as layout
9710         (latexParagraphs): layout as layout
9711         (makeLinuxDocFile): layout as layout
9712         (simpleLinuxDocOnePar): layout as layout
9713         (makeDocBookFile): layout as layout
9714         (simpleDocBookOnePar): layout as layout
9715         (getLists): layout as layout
9716
9717         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9718
9719         * CutAndPaste.C (cutSelection): layout as layout
9720         (pasteSelection): layout as layout
9721         (SwitchLayoutsBetweenClasses): layout as layout
9722
9723         * BufferView_pimpl.C (Dispatch): layout as layout
9724         (smartQuote): layout as layout
9725
9726         * BufferView2.C (unlockInset): layout as layout
9727
9728 2002-06-24  André Pönitz <poenitz@gmx.net>
9729
9730         * lyxfunc.C: fix #487
9731
9732 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * lyxrc.h:
9735         * lyxrc.C:
9736         * lyxfunc.C: remove display_shortcuts, show_banner
9737
9738 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9739
9740         * Buffer_pimpl.C: oops, update on resize
9741
9742 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * buffer.C:
9745         * converter.C:
9746         * exporter.C:
9747         * lyxfunc.C:
9748         * BufferView.h:
9749         * BufferView.C: use repaint()
9750
9751         * BufferView_pimpl.h:
9752         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9753           as it's a clearer description. Remove superfluous
9754           redraws.
9755
9756 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * text.C: fix bug 488. Not ideal, but getting
9759           getWord() to work properly for the insets that
9760           matter is more difficult ...
9761
9762 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * BufferView_pimpl.C:
9765         * LyXAction.C:
9766         * commandtags.h:
9767         * lyxfunc.C: remove the six million index lyxfuncs to just
9768           one, and DTRT (bug 458)
9769
9770 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * BufferView.h:
9773         * BufferView.C:
9774         * BufferView_pimpl.h:
9775         * BufferView_pimpl.C: clean up resize() stuff,
9776           and unnecessary updateScreen()s
9777
9778 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * BufferView.h:
9781         * BufferView.C:
9782         * BufferView_pimpl.h:
9783         * BufferView_pimpl.C:
9784         * lyxfind.h:
9785         * lyxfind.C:
9786         * minibuffer.C: remove focus management of workarea,
9787           not needed. Use screen's greyOut()
9788
9789 2002-06-17  Herbert Voss  <voss@lyx.org>
9790
9791         * converter.C: (convert) do not post a message, when converting
9792         fails, let the calling function decide what to do in this case
9793
9794 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * lyxfunc.C: tidy up a little
9797
9798 2002-06-16    <alstrup@diku.dk>
9799
9800         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9801         Got rid of FORMS_H_LOCATION include. Now we are
9802         GUII.
9803
9804 2002-06-15  LyX Development team  <lyx@rilke>
9805
9806         * buffer.[Ch] (sgmlOpenTag):
9807         (sgmlCloseTag): Added support for avoiding pernicious mixed
9808         content. Return number of lines written.
9809
9810         (makeLinuxDocFile):
9811         (makeDocBookFile): Fixed calls to sgml*Tag.
9812         Simple white space clean.
9813
9814         (simpleDocBookOnePar): Simple white space clean.
9815
9816         * tabular.[Ch] (docBook): Renamed to docbook and got another
9817         argument to related with the pernicious mixed content.
9818
9819         (docbookRow): Fixed calls for docbook inset method.
9820
9821 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9822
9823         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9824         so it's X11 independent.
9825
9826         * kb*.[Ch]: ditto.
9827
9828         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9829
9830 2002-06-15  Lyx Development team  <lyx@electronia>
9831
9832         * intl.h: Renamed getTrans to getTransManager.
9833
9834 2002-06-14  Angus Leeming  <leeming@lyx.org>
9835
9836         * Makefile.am: nuke forgotten stl_string_fwd.h.
9837
9838 2002-06-12  Angus Leeming  <leeming@lyx.org>
9839
9840         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9841
9842 2002-06-13  Angus Leeming  <leeming@lyx.org>
9843
9844         * LaTeX.C:
9845         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9846
9847 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9848
9849         * kbmap.C (getiso): add support for cyrillic and greek
9850
9851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView.h:
9854         * BufferView.C:
9855         * BufferView_pimpl.h:
9856         * BufferView_pimpl.C: move bogus scrolling logic
9857           to xforms
9858
9859 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * lyxfunc.C:
9862         * BufferView_pimpl.C: view->resize() change
9863
9864 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * BufferView_pimpl.C: topCursorVisible
9867           prototype change
9868
9869 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * Makefile.am:
9872         * lyx_gui.h:
9873         * lyx_gui.C: move to frontends/
9874
9875         * main.C:
9876         * lyx_main.h:
9877         * lyx_main.C: changes from above
9878
9879 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * intl.C:
9882         * intl.h:
9883         * kbmap.C:
9884         * kbsequence.C:
9885         * lyx_cb.C:
9886         * lyx_main.C: minor tidy
9887
9888 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * BufferView_pimpl.h:
9891         * BufferView_pimpl.C:
9892         * BufferView.h:
9893         * BufferView.C: make painter() const,
9894           remove dead code
9895
9896         * BufferView2.C: use screen() accessor
9897
9898         * lyx_main.h:
9899         * lyx_main.C: some minor cleanup
9900
9901 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * BufferView_pimpl.h:
9904         * BufferView_pimpl.C: remove enter/leaveView,
9905           use workHeight()
9906
9907 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9908
9909         * BufferView.h:
9910         * BufferView.C:
9911         * BufferView2.C:
9912         * BufferView_pimpl.h:
9913         * BufferView_pimpl.C: only construct screen once,
9914           rename
9915
9916         * lyxrc.C: remove pointless comment
9917
9918 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * BufferView.h:
9921         * BufferView.C: remove active() and belowMouse()
9922
9923         * BufferView_pimpl.h:
9924         * BufferView_pimpl.C: use workarea() not workarea_,
9925           and make it use a scoped_ptr instead
9926
9927 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * lyx_gui.C: add debug message on BadWindow
9930
9931 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * sp_spell.C: fdopen is not part of the C++ standard.
9934
9935         * paragraph.C (InsetIterator): use >= instead of ==
9936
9937 2002-06-07  Angus Leeming  <leeming@lyx.org>
9938
9939         Fixes needed to compile with Compaq cxx 6.5.
9940         * BufferView_pimpl.C:
9941         * DepTable.C:
9942         * buffer.C:
9943         * converter.C:
9944         * encoding.C:
9945         * lyx_gui.C:
9946         * lyx_main.C:
9947         * lyxtextclasslist.C:
9948         * minibuffer.C:
9949         * sp_spell.C:
9950         * tabular_funcs.C:
9951         * vc-backend.C:
9952         all c-library variables have been moved into namespace std. Wrap
9953         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9954
9955         * lyxlength.C:
9956         * tabular-old.C:
9957         * tabular.C:
9958         Add a using std::abs declaration.
9959
9960         * kbmap.h (modifier_pair):
9961         * paragraph.h (InsetTable, InsetList):
9962         * lyxfont.h (FontBits):
9963         type definition made public.
9964
9965         * bufferlist.C (emergencyWriteAll): the compiler complains that
9966         there is more than one possible lyx::class_fun template to choose from.
9967         I re-named the void specialisation as lyx::void_class_fun.
9968
9969         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9970
9971         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9972         the compiler is is unable to find tostr in write_attribute.
9973
9974 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9975
9976         * buffer.C (sgmlError): hide #warning
9977
9978 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * xtl/*: get rid of xtl, which is not in use anyway
9981
9982         * LyXAction.C (init):
9983         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9984         were unimplemented xtl experimentation
9985
9986 2002-06-04  André Pönitz <poenitz@gmx.net>
9987
9988         * lyxfunc.C: disable array operation on simple formulae
9989
9990 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9991
9992         * converter.C: constify a bit
9993
9994 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * lyx_gui.C: check xforms version correctly
9997
9998 2002-04-30  Herbert Voss  <voss@lyx.org>
9999
10000         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10001         "keep" option
10002
10003 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10006           attempt to register it with a VCS)
10007
10008 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10009
10010         * lyx_main.C (init): honor variables LYX_DIR_13x and
10011         LYX_USERDIR_13x
10012
10013 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * buffer.h:
10016         * buffer.C:
10017         * lyx_main.C: fix a crash on bad command line,
10018           and give a useful exit status on error
10019
10020         * lyxfunc.C (doImport): allow -i lyx to work
10021
10022 2002-03-30  André Pönitz <poenitz@gmx.net>
10023
10024         * lyxfunc.C: mathed font changes
10025
10026 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * LaTeX.C:
10029         * importer.h:
10030         * importer.C:
10031         * lyx_sty.h:
10032         * lyx_sty.C:
10033         * lyxlex.C:
10034         * lyxrow.h:
10035         * lyxtext.h:
10036         * paragraph.h:
10037         * paragraph.C:
10038         * texrow.h:
10039         * texrow.C:
10040         * text.C:
10041         * trans_mgr.h: srcdocs, and some minor cleanups
10042
10043 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10046         call getFont all the time)
10047
10048 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10049
10050         * switch from SigC signals to boost::signals
10051
10052 2002-05-29  André Pönitz <poenitz@gmx.net>
10053
10054         * paragraph_pimpl.C (getChar): don't call size() too often...
10055
10056 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * paragraph_pimpl.C (insertChar): do not try to update tables when
10059         appending (pos == size())
10060
10061         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10062         in order to reduce drastically the number of comparisons needed to
10063         parse a large document
10064
10065 2002-05-29  André Pönitz <poenitz@gmx.net>
10066
10067         * text.C:
10068         * text2.C:
10069         * lyxtextclass.C:
10070         * sp_pspell.h:
10071         * textclasslist.[Ch]:
10072         * sp_ispell.h: whitespace change
10073
10074 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10077         lyxaction directly now.
10078
10079 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * trans.C:
10082         * lyxfont.C:
10083         * lyxvc.C: remove unused headers
10084
10085 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * Makefile.am:
10088         * buffer.h:
10089         * undostack.h:
10090         * undostack.C:
10091         * undo_funcs.h:
10092         * undo_funcs.C: some cleanups. Use shared_ptr
10093           and a template for the undo stacks.
10094
10095 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * BufferView_pimpl.h:
10098         * BufferView_pimpl.C:
10099         * kbmap.h:
10100         * kbmap.C:
10101         * kbsequence.h:
10102         * kbsequence.C:
10103         * lyxfunc.h:
10104         * lyxfunc.C:
10105         * text2.C: use key_state/mouse_state
10106
10107 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10110         and LSubstring
10111
10112         * chset.C: change include order
10113         (loadFile): use boost regex and get rid of LRegex and LSubstring
10114
10115         * Makefile.am (BOOST_LIBS): new variable
10116         (lyx_LDADD): use it
10117
10118         * LaTeX.C: change include order.
10119         (scanAuxFile): use boost regex and get rid of LRegex and
10120         LSubstring
10121         (deplog): ditto
10122
10123 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * ColorHandler.h:
10126         * ColorHandler.C:
10127         * FontInfo.h:
10128         * FontInfo.C: moved to frontends/xforms/
10129
10130         * FontLoader.h:
10131         * FontLoader.C: moved into frontends for GUIIzation
10132
10133         * Makefile.am:
10134         * lyx_gui.C:
10135         * lyxfont.C:
10136         * lyxfunc.C: changes from above
10137
10138 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10139
10140         * LColor.C: remove spurious X include
10141
10142         * BufferView_pimpl.C:
10143         * Makefile.am:
10144         * font.h:
10145         * font.C:
10146         * text.C:
10147         * text2.C: move font metrics to frontends/
10148
10149 2002-05-24  Juergen Vigna  <jug@sad.it>
10150
10151         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10152         setting the undo_cursor.
10153
10154         * ParagraphParameters.h: include local includes first.
10155
10156 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * BufferView_pimpl.C:
10159         * BufferView_pimpl.h:
10160         * Makefile.am:
10161         * WorkArea.h:
10162         * WorkArea.C:
10163         * screen.C: move WorkArea into frontends/
10164
10165         * lyxscreen.h:
10166         * screen.C:
10167         * text.C:
10168         * BufferView.C:
10169         * BufferView2.C: move LyXScreen into frontends/
10170
10171         * lyxlookup.h:
10172         * lyxlookup.C:
10173         * lyx_gui.C: move lyxlookup into frontends/xforms/
10174
10175 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView2.C:
10178         * BufferView_pimpl.C:
10179         * FontLoader.C:
10180         * LyXView.h:
10181         * LyXView.C:
10182         * Makefile.am:
10183         * WorkArea.C:
10184         * XFormsView.h:
10185         * XFormsView.C:
10186         * buffer.C:
10187         * bufferlist.C:
10188         * bufferview_funcs.C:
10189         * converter.C:
10190         * importer.C:
10191         * lyx_cb.C:
10192         * lyx_gui.C:
10193         * lyx_main.C:
10194         * lyx_find.C:
10195         * lyxfunc.C:
10196         * lyxvc.C:
10197         * minibuffer.C:
10198         * text.C:
10199         * text2.C:
10200         * trans.C:
10201         * vc-backend.C: move LyX/XFormsView into frontends/
10202
10203 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * Makefile.am:
10206         * PainterBase.C:
10207         * PainterBase.h:
10208         * Painter.C:
10209         * Painter.h:
10210         * WorkArea.C:
10211         * WorkArea.h:
10212         * screen.C:
10213         * tabular.C:
10214         * text.C:
10215         * text2.C: move Painter to frontends/
10216
10217 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * buffer.C: comment out some some code that depend upon lyx_format
10220         < 220
10221
10222         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10223         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10224
10225         * buffer.h (NO_COMPABILITY): turn off compability
10226
10227         * ColorHandler.C: include scoped_array.hpp
10228
10229         * font.C: Use more specific smart_ptr header.
10230         * Painter.C: ditto
10231         * gettext.C: ditto
10232         * ShareContainer.h: ditto
10233         * lyx_main.h: ditto
10234         * kbmap.h: ditto
10235         * FontInfo.h: ditto
10236         * BufferView_pimpl.h: ditto
10237         * ColorHandler.h: ditto
10238
10239         * kbmap.C (defkey): change call to shared_ptr::reset
10240
10241 2002-05-21  Juergen Vigna  <jug@sad.it>
10242
10243         * buffer.C (insertErtContents): fix to insert ert asis if it is
10244         non empty. Skip it completely if it contains only whitespaces.
10245
10246 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * BufferView_pimpl.C:
10249         * BufferView2.C: clear selection on paste (bug 393)
10250
10251 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10252
10253         * DepTable.C: include ctime
10254
10255 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10258
10259 2002-05-14  Juergen Vigna  <jug@sad.it>
10260
10261         * text.C (breakParagraph): fixed function to honor the keepempty
10262         layout in the right maner and also to permit the right breaking
10263         algorithm on empty or non empyt keepempty paragraphs.
10264
10265         * paragraph.C (breakParagraph): we have to check also if the par
10266         is really empty (!size()) for isempty otherwise we do the wrong
10267         paragraph break.
10268
10269 2002-05-10  Juergen Vigna  <jug@sad.it>
10270
10271         * buffer.[Ch] : The following are only changes to the ert
10272         compatibility read reading old LaTeX layout and font stuff and
10273         convert it to ERTInsets.
10274
10275         * buffer.h: added isErtInset().
10276
10277         * buffer.C (struct ErtComp): add a fromlayout bool to check
10278         if we're inside a LaTeX layout.
10279         (isErtInset): new helper function.
10280         (insertErtContents): look for other ert insets before this one
10281         and insert the contents there, so that we don't have subsequent
10282         ERT insets with nothing between them. This way we create only one
10283         inset with multiple paragraphs. Also check if we don't insert only
10284         spaces ' ' as they are ignored anyway afterwards in the .tex file
10285         so if we have only spaces we will ignore this latex part in the
10286         new file.
10287         (parseSingleLyXformat2Token \\layout): better compatibility when
10288         reading layout-latex stuff.
10289         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10290         language tag.
10291         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10292         stuff after reading the inset only get the information back from
10293         the stack.
10294
10295 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10298
10299         * LaTeXFeatures.C (getBabelOptions): New method.
10300
10301 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * BufferView_pimpl.C (Dispatch): work around missing argument for
10304         'layout'
10305
10306 2002-05-08  Juergen Vigna  <jug@sad.it>
10307
10308         * text.C (leftMargin): handle paragraph leftindent.
10309
10310         * paragraph.C (writeFile): write the new \\leftindent tag.
10311         (validate): handle leftindent code.
10312         (TeXEnvironment): handle paragraphleftindent code again.
10313
10314         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10315
10316         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10317         for paragrap_extra indent code and new token \\leftindent.
10318         (latexParagraphs): handle the leftindent as environment.
10319
10320         * ParameterStruct.h: added leftindent support.
10321
10322         * ParagraphParameters.C (leftIndent): added support functions for
10323         the paragraph left indent.
10324
10325         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10326         more appropriate.
10327
10328 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10329
10330         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10331         inside insetERT.
10332
10333         * text.C (computeBidiTables): No bidi in insetERT.
10334
10335         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10336         in RTL documents.
10337
10338 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * version.C.in: pre 5
10341
10342 2002-05-02  José Matos  <jamatos@fep.up.pt>
10343         * buffer.C (makeDocBookFile): white space changes, add newline to
10344         command styles.
10345         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10346
10347         * tabular.C (docBook): fix typo.
10348
10349 2002-05-03  Juergen Vigna  <jug@sad.it>
10350
10351         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10352         change in LyXText as we can not be sure it was not freed.
10353         (drawOneRow): remove unused code.
10354
10355         * text.C (drawInset): redo the calculation of the need_break_row as
10356         it could have a row which was already freed.
10357         (draw): look at the return value of drawInset and return false if
10358         it also returned false.
10359         (paintRowText): look at the return value of draw and return false if
10360         it also returned false.
10361
10362         * lyxtext.h: added bool return type to drawInset() and draw() so that
10363         if we have a change in the row so that the rowbreak has to be redone
10364         we abort drawing as it will be called again.
10365
10366 2002-05-02  Juergen Vigna  <jug@sad.it>
10367
10368         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10369         a change in the maintext also if we're inside an inset.
10370         (Dispatch): set the cursor again after a break line and after the
10371         screen has been updated as it could be we're in a different row.
10372
10373         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10374         to set the cursor behind the pargraph with > size().
10375         (setCursor): check also for the same paragraph when checking where
10376         to put the cursor if we have a NFR inset.
10377
10378         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10379         parts of layout read further up as it still was in the wrong
10380         position.
10381
10382 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10383
10384         * screen.C (drawFromTo): change sine fullRebreak always return
10385         true.
10386
10387         * buffer.C (parseSingleLyXformat2Token): reindent some
10388
10389         * BufferView_pimpl.C (update): change since fullRebreak always
10390         return true.
10391         (Dispatch): git rid of the last hardcoded "Standard"s.
10392
10393 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * text2.[Ch] (fullRebreak): make it return void now that we always
10396         returned true.
10397
10398 2002-04-30  Juergen Vigna  <jug@sad.it>
10399
10400         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10401         ert compatibility check for "latex" layout.
10402
10403 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10404
10405         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10406         minipages: use col% instead of p%, and also use the current font.
10407         (makeLaTeXFile): Fix use babel condition.
10408         (parseSingleLyXformat2Token): Correct font when reading old floats.
10409
10410 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10411
10412         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10413         inserting list of floats.
10414
10415 2002-04-25  Herbert Voss  <voss@lyx.org>
10416
10417         * MenuBackend.C (expand): don't add the graphics extensions to the
10418         export menu
10419
10420 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10423         non-existing layout, do not complain if it was the default layout
10424         of the original class (bug #342)
10425
10426 2002-04-24  Juergen Vigna  <jug@sad.it>
10427
10428         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10429         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10430
10431 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10432
10433         * buffer.C (getBibkeyList): If using \bibliography, return the
10434         option field with the reference itself. Enables us to provide natbib
10435         support when using \bibliography.
10436
10437 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10438
10439         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10440
10441         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10442         natbib is provided by the LaTeX class.
10443
10444 2002-04-23  Juergen Vigna  <jug@sad.it>
10445
10446         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10447         Wakeup functions.
10448
10449         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10450
10451 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10454
10455         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10456         ensuremath around textordmasculine, textordfeminine and
10457         textdegree.
10458
10459 2002-04-19  Juergen Vigna  <jug@sad.it>
10460
10461         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10462         reinitializing the buffer otherwise row-dimensions may be wrong.
10463         (update): reset also the selection cursors if they do exits otherwise
10464         their x/y positions may be wrong.
10465
10466         * text2.C (cursorDown): don't enter the inset if we came from a row
10467         above and are one row over the inset.
10468
10469         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10470         really leaving an inset.
10471
10472 2002-04-18  Juergen Vigna  <jug@sad.it>
10473
10474         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10475         of the selected paragraph does not have the selected layout also if
10476         the last one had!
10477
10478         * text2.C (setLayout): fixed bug which did not change last selected
10479         paragraph.
10480
10481         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10482         changed the read and substituted \\end_float with \\end_inset!
10483
10484         * BufferView_pimpl.C (cursorPrevious):
10485         (cursorNext): fixed to make it work with rows heigher than the work
10486         area without moving the cursor only the draw of the row.
10487         (workAreaMotionNotify): fix jumping over high rows.
10488
10489 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10492         Ressler.
10493
10494 2002-04-16  Juergen Vigna  <jug@sad.it>
10495
10496         * text2.C (setCursor): set also the irow().
10497         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10498         (cursorUp):
10499         (cursorDown): support for locking an inset if the x_fix value goes
10500         inside it. That way I can transverse insets too with cursor up/down.
10501
10502         * lyxrow.h: added irow helper function same as other (i) functions.
10503
10504         * BufferView_pimpl.C (cursorPrevious):
10505         (cursorNext): fixed for insets!
10506
10507 2002-04-15  Juergen Vigna  <jug@sad.it>
10508
10509         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10510         position otherwise it is wrong in some cases.
10511
10512         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10513         inside the inset before the call.
10514
10515 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10516
10517         * buffer.[Ch] (getBibkeyList): make it const.
10518
10519 2002-04-12  Juergen Vigna  <jug@sad.it>
10520
10521         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10522
10523         * text2.C (getCursorX): new helper function
10524         (setCursor): compute also ix_
10525         (setCursorFromCoordinates): set also ix.
10526
10527         * lyxcursor.h: added ix_ and helper functions.
10528
10529         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10530
10531         * buffer.C (insertStringAsLines): dont break paragraph if the this
10532         paragraph is inside an inset which does not permit it!
10533
10534         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10535         also with no chars on this paragraph.
10536         (paintRowText): only paint stuff if it's inside the workarea!
10537
10538         * paragraph.C (breakParagraph): honor keepempty flag and break the
10539         paragraph always below not above.
10540
10541         * BufferView2.C (unlockInset): update the paragraph layout on inset
10542         unlock as we changed paragraph in such a case.
10543
10544         * lyxfind.C (LyXFind): clear the former selection if not found!
10545
10546         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10547         again called in insertChar().
10548
10549         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10550         an inset which uses the whole row!
10551         (rightMargin): ditto.
10552         (insertChar): force a rebreak if we inserted an inset!
10553
10554 2002-03-28  Herbert Voss  <voss@lyx.org>
10555
10556         * lyxlength.[Ch]: add inBP() to get the right PS-point
10557         units (BigPoint). With inPixels we have rounding errors
10558
10559 2002-04-11  Juergen Vigna  <jug@sad.it>
10560
10561         * text2.C (setCursorFromCoordinates): set iy to the right value.
10562         (setCursor): add check if row->previous exists!
10563
10564         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10565         an old float_type as this was the case in the old code!
10566
10567         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10568
10569         * BufferView2.C (showLockedInsetCursor): use iy
10570         (fitLockedInsetCursor): ditto
10571
10572         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10573         locked insets as there we have the right value now.
10574
10575         * lyxcursor.C: added iy_ variable and iy functions to set to the
10576         baseline of cursor-y of the locked inset.
10577
10578         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10579         (setCursor): fixed for insets which need a full row.
10580
10581         * text.C (rowLastPrintable): don't ignore the last space when before
10582         an inset which needs a full row.
10583         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10584         as last character of a row when before a inset which needs a full row.
10585
10586 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * version.C.in: update date
10589
10590         * text2.C (fullRebreak): try to always return true and see what
10591         happens...
10592
10593 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10594
10595         * MenuBackend.C (expand): use Floating::listName
10596
10597         * FloatList.C (FloatList): add listName argument to the built-in
10598         floats
10599
10600         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10601         text associated with the float.
10602
10603 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10606
10607 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10608
10609         * ShareContainer.h: add a couple of missing typenames.
10610
10611 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10612
10613         * lyxrc.C (getDescription): use _() correctly rather than N_().
10614
10615 2002-03-28  Herbert Voss  <voss@lyx.org>
10616
10617         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10618         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10619
10620 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10623         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10624
10625 2002-03-29  Juergen Vigna  <jug@sad.it>
10626
10627         * lyxfunc.C (dispatch): add a missing fitCursor call.
10628
10629         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10630         it was scrolled by a cursor move, so return the bool status.
10631
10632         * BufferView.C (fitCursor): return the bool flag also to the outside
10633         world as this is needed.
10634
10635         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10636
10637         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10638         call the edit() as it is not needed (and wrong) IMO.
10639         (workAreaButtonPress): set the screen_first variable before evt.
10640         unlock the inset as this may change screen_first and then we have
10641         a wrong y position for the click!
10642
10643 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * MenuBackend.C (expand): another translation that I missed
10646
10647 2002-03-28  Juergen Vigna  <jug@sad.it>
10648
10649         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10650
10651         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10652
10653 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654
10655         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10656
10657         * MenuBackend.C (expand): fix export/view/update when there is no
10658         document open.
10659
10660 2002-03-27  Herbert Voss  <voss@lyx.org>
10661
10662         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10663         and text%
10664
10665 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * bufferview_funcs.C (currentState): only show paragraph number
10668         for is DEVEL_VERSION is set.
10669
10670         * lyxfunc.C (dispatch): put warning in INFO channel
10671
10672         * MenuBackend.C (expand): translate the name of floats
10673
10674         * FloatList.C (FloatList): mark the float names for translation
10675
10676         * converter.C (convert): use LibScriptSearch
10677
10678 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * MenuBackend.C (defaults): fix default menu (we might as well get
10681         rid of it...)
10682
10683 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10686         directory.
10687
10688 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * lyxvc.C: reorder includes.
10691
10692 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10695           properly
10696
10697 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * CutAndPaste.C: change layouts earlier on paste
10700           to avoid crashing when calling getFont()
10701
10702 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10705         irritating #error.
10706
10707 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * WorkArea.C: remove 'Pending' debug message.
10710
10711         * most files: ws cleanup
10712
10713         * buffer.[Ch]: ws changes
10714
10715         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10716
10717 2002-03-21  Juergen Vigna  <jug@sad.it>
10718
10719         * tabular.C (SetMultiColumn): collapse also the contents of the
10720         cells and set the last border right. Added a Buffer const * param.
10721
10722 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10725         linking or not.
10726
10727 2002-03-19  Juergen Vigna  <jug@sad.it>
10728
10729         * text2.C (clearSelection): reset also xsel_cache.
10730
10731         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10732         where it needs to be called (John tells us to do so too :)
10733         (selectionLost): reset sel_cache.
10734
10735         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10736
10737 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * text2.C (setCursorIntern): put debuging code in INSETS channel
10740
10741 2002-03-19  André Pönitz <poenitz@gmx.net>
10742
10743         * lyxfunc.C: tiny whitespace change
10744
10745 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10746
10747         * ToolbarDefaults.C (init):
10748         * LyXAction.C (init):
10749         * commandtags.h:
10750         * BufferView_pimpl.C (Dispatch):
10751         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10752
10753 2002-03-19  Allan Rae  <rae@lyx.org>
10754
10755         * exporter.C (Export): removeAutoInsets before doing anything else.
10756         While I've just introduced a dependency on BufferView this really is
10757         the best place to clean the buffer otherwise you need to cleanup in
10758         a dozen places before calling export or cleanup in a dozen functions
10759         that export calls.
10760
10761         * converter.C (runLaTeX):
10762         (scanLog): Better handling of removeAutoInsets and screen updates.
10763
10764         * lyxfunc.C (dispatch): small whitespace changes
10765
10766 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10767
10768         * WorkArea.C (C_WorkAreaEvent): return a value.
10769         (event_cb): return 1 if we handled the event, 0 otherwise.
10770
10771         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10772
10773 2002-03-18  Juergen Vigna  <jug@sad.it>
10774
10775         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10776         (GetAdditionalWidth): ditto.
10777         (RightLine): ditto.
10778         (LeftLine): ditto.
10779
10780         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10781         inset if we're there actually (probably not used right now but this
10782         is the direction to go for unifying code).
10783         (paste): disable code to clear the selection.
10784
10785         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10786         inside an InsetText and move the check further up as it is in the
10787         wrong place.
10788
10789         * text2.C (pasteSelection): set a selection over the pasted text.
10790
10791 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10792
10793         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10794         and libgraphics to build on Cygwin.
10795
10796 2002-03-15  Juergen Vigna  <jug@sad.it>
10797
10798         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10799         inserting an Inset into the paragraph. I know this is not the best
10800         fix but we already use current_view in CutAndPaste so we will remove
10801         all of it's using at the same time.
10802
10803         * buffer.C (sgmlError): deactivated function till it is rewritten in
10804         the right mode, now it can create problems.
10805
10806         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10807         before accessing it.
10808
10809 2002-03-14  Juergen Vigna  <jug@sad.it>
10810
10811         * undo_funcs.C (textHandleUndo): do the right thing when updating
10812         the inset after the undo/redo.
10813
10814         * text2.C (setCursor): just some testcode for #44 not ready yet.
10815
10816         * undo_funcs.C (textHandleUndo): set the next() and previous()
10817         pointers of the paragraph to 0 before deleting otherwise we have
10818         problems with the Paragraph::[destructor].
10819
10820         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10821         on a paragraph insertion.
10822
10823 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10824
10825         * buffer.C (asciiParagraph): use += operator for char append to
10826         string.
10827
10828         * paragraph.C (getFontSettings): compare >= not just >
10829         (highestFontInRange): ditto
10830         (setFont): ditto
10831
10832 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * paragraph.C: change several algorithm to be more appripriate for
10835         the problem domain. This is lookip in FontList and in the InsetList.
10836
10837 2002-03-13  André Pönitz <poenitz@gmx.net>
10838
10839         * commandtags.h:
10840         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10841
10842 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * commandtags.h:
10845         * LyXAction.C:
10846         * lyxfunc.C:
10847         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10848
10849 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * Painter.C (display): anon helper function, adjust code for this
10852         change.
10853         (pixmap): remove function.
10854
10855         * Painter.h: remove private display variable.
10856
10857         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10858
10859 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10860
10861         * WorkArea.[Ch]: remove figinset_canvas cruft.
10862
10863 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10864
10865         * lyxtextclass.C (operator): add one item cache optimization.
10866
10867         * bufferlist.h: doxy changes
10868
10869         * bufferlist.C: ws changes
10870
10871         * DepTable.[Ch] (ext_exist): place const in the right spot.
10872
10873         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10874         call resizeInsets.
10875         (workAreaExpose): call resizeInsets when the with BufferView changes.
10876         (Dispatch): adjust for protectedBlank removal
10877         (specialChar): call updateInset if the insert went ok.
10878
10879         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10880         specialChar instead.
10881
10882         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10883
10884         * BufferView.h: doxy change
10885
10886         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10887
10888         * lyxtextclass.C (operator[]): remove non-const version
10889         (defaultLayout): remove non-const version
10890
10891 2002-03-12  Juergen Vigna  <jug@sad.it>
10892
10893         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10894         did resize the LyXText too.
10895
10896         * buffer.C (readLyXformat2): set layout information on newly allocated
10897         paragraphs.
10898
10899         * tabular.C (OldFormatRead): set layout information on the paragraph.
10900
10901 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10902
10903         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10904
10905 2002-03-11  Juergen Vigna  <jug@sad.it>
10906
10907         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10908         plainly wrong.
10909         (resizeCurrentBuffer): force also the insets to resize themselfes.
10910         (moveCursorUpdate): fixed up for InsetText.
10911
10912 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * commandtags.h:
10915         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10916         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10917         value of Dialogs::tooltipsEnabled().
10918         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10919
10920 2002-03-08  Juergen Vigna  <jug@sad.it>
10921
10922         * BufferView_pimpl.C (updateInset): update inset inside inset also
10923         if it isn't inside theLockingInset().
10924
10925 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * buffer.C (asciiParagraph): redo some of the word and line length
10928         handling.
10929         (getLists): look for Caption instead of caption.
10930
10931 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * buffer.C (Buffer): initialize niceFile to true
10934         (makeLaTeXFile):
10935         (makeLinuxDocFile):
10936         (makeDocBookFile): make sure niceFile is true on exit
10937
10938 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10941
10942 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * LyXSendto.C: remove.
10945         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10946         * lyx_gui.C: remove now-redundant comment.
10947         * ColorHandler.h: remove forward declaration of class WorkArea.
10948         * lyxfunc.C: remove #include "WorkArea.h".
10949
10950 2002-03-07  Juergen Vigna  <jug@sad.it>
10951
10952         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10953         got moved away with the DEPM and also set the inset_owner always
10954         right which before could have been omitted.
10955
10956 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10959         wanted layout is not found.
10960
10961 2002-03-07  Juergen Vigna  <jug@sad.it>
10962
10963         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10964
10965 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * paragraph.C (breakParagraph): use default layout not layout of
10968         prev paragraph.
10969         (Paragraph): clear ParagraphParameters.
10970
10971 2002-03-06  Juergen Vigna  <jug@sad.it>
10972
10973         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10974         otherwise it would not be a valid lenght. Fixed a special case in
10975         the minipage compatibility read where we end the document with a
10976         minipage.
10977
10978         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10979         was set as it could be 0 for InsetTexts first entry.
10980
10981 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * paragraph.C (writeFile): if layout is empty write out
10984         defaultLayoutName().
10985
10986         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10987         file without named layout we set layout to defaultLayoutName().
10988
10989 2002-03-06  Juergen Vigna  <jug@sad.it>
10990
10991         * CutAndPaste.C (copySelection): set layout for new paragraph.
10992
10993         * text.C (prepareToPrint): leave ERT inset left aligned
10994         (leftMargin): don't indent paragraphs inside ERT insets
10995
10996 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * paragraph.C (breakParagraph): dont call clear do the work manually
10999
11000         * paragraph.[Ch] (clear): remove function
11001
11002 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11003
11004         * paragraph.C (Paragraph): dont call clear, the work has already
11005         been done.
11006
11007         * lyxtextclass.C (operator): assert if n is empty
11008
11009         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11010         work manually instead.
11011
11012 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * BufferView_pimpl.C: protect selectionLost against text == 0
11015
11016 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * text.C (breakParagraph): fix a setting layout to '0' problem.
11019
11020 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11021
11022         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11023         final location of file, for the included files, and graphics.
11024
11025 2002-03-05  Juergen Vigna  <jug@sad.it>
11026
11027         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11028
11029 2002-03-04  Juergen Vigna  <jug@sad.it>
11030
11031         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11032
11033         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11034         last column of multicolumn cells.
11035         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11036
11037 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11038
11039         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11040         file if it doesn't go to a temporary file.
11041
11042         * buffer.C (sgmlOpenTag):
11043         (sgmlCloseTag):  remove extra newline insertion.
11044
11045 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11046
11047         * text.C (getRowNearY): comment out debug msg
11048
11049 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11050
11051         * text2.C: first -> first_y
11052
11053         * text.C (getRowNearY): add some attemts at a possible
11054         optimization, not working.
11055
11056         * tabular.[Ch]: add BufferParams to several function so that newly
11057         created paragraph can be initialized to he default layotu for the
11058         buffers textclass.
11059
11060         * tabular-old.C (ReadOld): add buf->params to call of Init
11061
11062         * screen.C: rename text->first to text->first_y
11063
11064         * paragraph.C (breakParagraph): always set layout in the broken
11065         paragraph
11066
11067         * lyxtextclass.C (Read): remove lowercase
11068         (hasLayout): ditto
11069         (operator): ditto
11070         (delete_layout): ditto
11071
11072         * lyxtext.h: rename first -> first_y
11073
11074         * lyxlayout.C (Read): remove lowercase
11075         (name): ditto
11076         (setName): ditto
11077         (obsoleted_by): ditto
11078
11079         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11080
11081         * buffer.C (insertErtContents): add params are to InsetERT
11082         (parseSingleLyXformat2Token): add code to check if a paragraphs
11083         layout really exist.
11084         (parseSingleLyXformat2Token): add params to several inset
11085         constructors
11086         (asciiParagraph): remove lowercase, do the layout comparisons with
11087         no_case
11088
11089         * BufferView_pimpl.C (cursorNext): first -> first_y
11090         (resizeCurrentBuffer): first -> first_y
11091         (updateScrollbar): first -> first_y
11092         (scrollCB): first -> first_y
11093         (workAreaMotionNotify): first -> first_y
11094         (workAreaButtonPress): first -> first_y
11095         (checkInsetHit): first -> first_y
11096         (cursorPrevious): first -> first_y
11097         (cursorNext): first -> first_y
11098         (Dispatch): add buffer_->params to severl inset contructors
11099
11100 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * lyxlayout.C (Read): remove some debug info that I forgot.
11103
11104         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11105         clean up the code slightly.
11106         (makeLinuxDocFile): ditto
11107         (makeDocBookFile): ditto
11108
11109         * text2.C: layout as string
11110
11111         * text.C: layout as string
11112
11113         * paragraph_pimpl.C: layout as string
11114
11115         * paragraph.[Ch]: layout as string
11116
11117         * lyxtextclasslist.[Ch]: layout as string
11118
11119         * lyxtextclass.[Ch]: layout as string
11120
11121         * lyxtext.h: layout as string
11122
11123         * lyxlayout.[Ch]: layout as string
11124
11125         * lyx_cb.C: layout as string
11126
11127         * bufferview_funcs.C: layout as string
11128
11129         * bufferparams.C: layout as string
11130
11131         * buffer.C: layout as string
11132
11133         * LyXView.[Ch]: layout as string
11134
11135         * LaTeXFeatures.[Ch]: layout as string
11136
11137         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11138
11139         * BufferView_pimpl.C: change current_layout to string, remove
11140         lyx::layout_type.
11141         (Dispatch):
11142         (smartQuote):
11143         (insertInset):
11144         (workAreaButtonRelease): layout as string
11145
11146         * BufferView2.C (unlockInset): adjust
11147
11148         * vspace.C (asLatexCommand): use an explict temp variable.
11149
11150 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * Makefile.am: use FRONTEND_*
11153
11154 2002-03-01  Juergen Vigna  <jug@sad.it>
11155
11156         * tabular.C (SetWidthOfMulticolCell): changed to something better
11157         I hope but still work in progress.
11158         (recalculateMulticolumnsOfColumn): renamed function from
11159         recalculateMulticolCells as it is more appropriate now.
11160         (SetWidthOfCell): calculate multicols better.
11161
11162 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11165
11166         * lyxfunc.C (processKeySym): print sequence also if it is
11167         `deleted' (complete)
11168
11169         * kbsequence.C (print): print sequence even if it is deleted
11170         (complete would be a better word, actually).
11171
11172         * lyxfunc.C (dispatch): print complete options after a prefix key
11173
11174         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11175
11176 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11177
11178         * text2.C (setCharFont): eliminate setCharFont code duplication.
11179
11180 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11183         LFUN_TABULAR_FEATURE (bug #177)
11184
11185 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * Makefile.am: remove figure.h
11188
11189 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11190
11191         * Bufferview_pimpl.C:
11192         * CutAndPasteC:
11193         * LaTeX.C:
11194         * LyXSendto.C:
11195         * buffer.C:
11196         * bufferlist.C:
11197         * converter.C:
11198         * language.C:
11199         * lyxfunc.C:
11200         * lyxvc.C:
11201         * paragraph.C:
11202         * text.C:
11203         * text2.C: remove #include "lyx_gui_misc.h".
11204
11205         * LaTeX.C: added #include <cstdio>
11206
11207 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11210         that the paragraph following this one can have.
11211
11212         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11213
11214         * vspace.C (asLatexCommand): fix bogus gcc warning
11215
11216         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11217
11218 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11219
11220         * text2.C (setLayout): get rid of redundant code
11221
11222 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11223
11224         * text2.C (incDepth): make sure depth cannot be increased beyond
11225         reasonable values.
11226
11227 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11228
11229         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11230         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11231
11232         * PainterBase.h (image):
11233         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11234         a LyXImage const *.
11235
11236 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * BufferView.C:
11239         * BufferView.h:
11240         * BufferView_pimpl.C:
11241         * BufferView_pimpl.h:
11242         * LaTeXFeatures.C:
11243         * LyXAction.C:
11244         * LyXView.C:
11245         * Makefile.am:
11246         * UpdateList.h:
11247         * UpdateList.C:
11248         * buffer.C:
11249         * figure.h:
11250         * figureForm.C:
11251         * figureForm.h:
11252         * figure_form.C:
11253         * figure_form.h:
11254         * lyx_cb.C:
11255         * lyx_gui.C:
11256         * lyx_gui_misc.C:
11257         * lyxfunc.C:
11258         * sp_base.h:
11259         * sp_ispell.h:
11260         * sp_pspell.h:
11261         * sp_spell.C: remove fig inset, and the crap house of
11262           cards that follows it
11263
11264 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * Makefile.am:
11267         * lyxserver.C:
11268         * os2_defines.h:
11269         * os2_errortable.h:
11270         * nt_defines.h: move .h into support/
11271
11272         * vms_defines.h: remove
11273
11274         * WorkArea.C: add space in debug output
11275
11276         * text2.C:
11277         * paragraph.C:
11278         * buffer.C: add WITH_WARNINGS
11279
11280         * vc-backend.h:
11281         * vc-backend.C:
11282         * bufferlist.C: s/retrive/retrieve/, add docs
11283
11284         * vspace.h:
11285         * vspace.C:
11286         * kbmap.h:
11287         * lyxlength.h:
11288         * lyxgluelength.h:
11289         * length_common.h:
11290         * chset.h:
11291         * chset.C: add docs
11292
11293         * lyxgui.C: add ID to X error handler
11294
11295         * lyxtestclass.c: fix typo
11296
11297 2002-02-26  Juergen Vigna  <jug@sad.it>
11298
11299         * tabular_funcs.C (write_attribute): changed so that some default
11300         attributes are not written at all.
11301         (getTokenValue): set default values before trying to read the
11302         value so we have the return value always set as default if we don't
11303         find the token we search for.
11304
11305         * tabular.C (Write): write bools as bools not as strings!
11306
11307 2002-02-22  Juergen Vigna  <jug@sad.it>
11308
11309         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11310         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11311
11312         * text.C (leftMargin): don't add an indent for paragraphs inside
11313         tabular cells (fix #208).
11314
11315 2002-02-21  José Matos  <jamatos@fep.up.pt>
11316
11317         * tabular.C (docBook): fixed support for long tables.
11318
11319 2002-02-20  Juergen Vigna  <jug@sad.it>
11320
11321         * text2.C (getFont): get the drawing font of the Inset if this
11322         paragraph is inside an inset (only important for InsetERT for now).
11323
11324         * buffer.C (insertErtContents): use new lanugage params in ERT
11325         constructor.
11326
11327         * CutAndPaste.C: commenting out seemingly uneeded code.
11328
11329 2002-02-19  Allan Rae  <rae@lyx.org>
11330
11331         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11332         Iterators might be simple to use but they also get invalidated.
11333         (removeAutoInsets): renamed saved cursor tracking variables and added
11334         some comments to clarify what everything does.
11335
11336 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * Chktex.C:
11339         * LaTeX.C:
11340         * LyXSendto.C:
11341         * converter.C:
11342         * lyx_cb.C:
11343         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11344         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11345
11346         * lyxfunc.C:
11347         * vc-backend.h: remove #include "support/syscall.h"
11348
11349         * LaTeX.C:
11350         * LyXSendto.C:
11351         * converter.C: rearrange #includes in Lars' approved fashion.
11352
11353         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11354         forward declare class Timeout in the header file.
11355
11356         * XFormsView.C: changes due to the above.
11357
11358         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11359         similar to LyXView.
11360
11361         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11362         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11363
11364 2002-02-18  José Matos  <jamatos@fep.up.pt>
11365
11366         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11367         insets contents.
11368
11369 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11370
11371         * a lot of small ws changes
11372         * add a lot of using std::XXX
11373         * use std construcs some places where approp.
11374         * use some exisint stuff from lyxfunctional where approp.
11375         * Make file changes to use partial linking (lets test this now...)
11376
11377 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11378
11379         * Chktex.C:
11380         * buffer.C:
11381         remove #include "support/syscontr.h" as it's redundant. Always has been.
11382
11383         * Chktex.C:
11384         * LaTeX.C:
11385         * LyXSendto.C:
11386         * converter.C:
11387         * lyx_cb.C:
11388         * vc-backend.C:
11389         change Systemcalls::System to Systemcalls::Wait and
11390         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11391         No change of functionality, just reflects the stripped down Systemcalls
11392         class.
11393
11394 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11395
11396         * debug.[Ch]: add a GRAPHICS type to the enum.
11397
11398 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11401
11402         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11403         there is an inset.
11404
11405 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11406
11407         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11408         match the changes below.
11409
11410         * text2.C (toggleInset): if there is not editable inset at cursor
11411         position, try to see if cursor is _inside_ a collapsable inset
11412         and close it.
11413
11414 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11417         document menu has a nice checkbox
11418
11419 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * lyxlength.C (asLatexString): change PW to output as percent of
11422         \textwidth.
11423
11424         * lengthcommon.C: change '%' to 't%'
11425
11426         * lyxfunc.C (dispatch): a few comments from Martin
11427
11428 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * WorkArea.h:
11431         * WorkArea.C:
11432         * BufferView_pimpl.h:
11433         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11434           the X selection.
11435
11436 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * vspace.C (inPixels): fix compiler warning
11439
11440 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * lyxfunc.C (getStatus): fix status message for disabled commands.
11443
11444 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * BufferView_pimpl.C: fix crash on close buffer
11447         during selection (#227)
11448
11449 2002-01-27  Herbert Voss  <voss@lyx.org>
11450
11451         * buffer.C: link old Figure to new graphic inset
11452
11453 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11454
11455         * FontLoader.C (getFontinfo): Change the latex font names in order
11456         to match the names of type1inst.
11457
11458 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11461
11462         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11463         (extchanged): ditto
11464         (ext_exist): ditto
11465         (remove_files_with_extension): ditto
11466         (remove_file): ditto
11467         (write): ditto
11468
11469         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11470         document is smaller than the work area height. Do not initialize
11471         static variables to 0.
11472
11473 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11476
11477         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11478         LFUN_LAYOUT_PARAGRAPHS.
11479
11480         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11481         tabular. It is possible to provide a possible cell, which will
11482         typically be the actcell from the corresponding insettabular
11483
11484         * lyxfunc.C (getStatus): small cleanup; disable
11485         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11486         true
11487
11488 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11491
11492         * paragraph.C (startTeXParParams):
11493         (endTeXParParams): new methods. The LaTeX code to
11494         start/end paragraph formatting
11495         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11496         empty (fixes bug #200)
11497
11498         * vspace.C (inPixels): adapt to the change below
11499         (inPixels): [later] more cleanups (remove unused variables)
11500
11501         * lyxlength.C (inPixels): change to use a width and a height as
11502         parameter.
11503
11504 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11505
11506         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11507         Replaced with \paperwidth
11508
11509         * DepTable.C (insert): add std:: qualifier
11510
11511 2002-01-18  Allan Rae  <rae@lyx.org>
11512
11513         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11514         updated also?
11515
11516         * text.C (drawInset): Turned out I didn't know enough about how
11517         rebreaking worked.  This fixes most of the redraw problems.  I see
11518         an occasional cursor trail when a line is broken now and the cursor
11519         placement can seem out by a few pixels also after a rebreak.
11520
11521 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * buffer.C (parseSingleLyXformat2Token): update because minipage
11524         width is now a LyXLength
11525
11526         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11527
11528         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11529         math insets
11530
11531 2002-01-17  Juergen Vigna  <jug@sad.it>
11532
11533         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11534
11535         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11536         is set correctly and the inset is updated correctly.
11537
11538 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11541         the beginning of the loop.
11542
11543 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyxrc.C: improve help for use_scalable_fonts
11546
11547 2002-01-17  Allan Rae  <rae@lyx.org>
11548
11549         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11550
11551 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11552
11553         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11554         make sure to set their inset_owner to the right value (bug #171)
11555
11556 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11557
11558         * DepTable.h
11559         * DepTable.C: Implement mtime checking to reduce time spent doing
11560         CRCs.
11561
11562 2002-01-16  Juergen Vigna  <jug@sad.it>
11563
11564         * tabular.C (GetAdditionalHeight): one of error fixed.
11565
11566         * lyxrc.C (output): small fix in writing use_pspell.
11567
11568 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11569
11570         * sp_base.h: #include LString.h
11571
11572 2002-01-16  Allan Rae  <rae@lyx.org>
11573
11574         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11575         Can someone check this please?
11576
11577         * text.C (drawInset): It was possible that p.row would be removed by
11578         breakAgainOneRow upsetting a few other settings.  There may be another
11579         small tweak possible by setting need_break_row = 0 when p.row has been
11580         removed but I don't know enough about the logic here.
11581
11582 2002-01-15  Allan Rae  <rae@lyx.org>
11583
11584         * text.C (insertChar): removed conditional truism.
11585
11586         * BufferView2.C (removeAutoInsets): More tweaks.
11587         cur_par_prev could be a stray pointer.  Check for trailing empty line
11588         in case last line was cur_par and only had an error inset on it.
11589
11590 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11591
11592         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11593         absolute
11594
11595         * vc-backend.C (most methods):
11596         * exporter.C (Export):
11597         * converter.C (convert):
11598         (runLaTeX):
11599         * LyXSendto.C (SendtoApplyCB):
11600         * lyxfunc.C (dispatch):
11601         (menuNew):
11602         (open):
11603         (doImport):
11604         * lyx_cb.C (AutoSave):
11605         (InsertAsciiFile):
11606         * BufferView_pimpl.C (MenuInsertLyXFile):
11607         * buffer.C (runChktex): use Buffer::filePath().
11608
11609         * buffer.h: rename filename to filename_; rename filepath to
11610         filepath_ and make it private
11611         (filePath): new method
11612
11613         * buffer.C (writeFile): use fileName()
11614         (getLatexName):
11615
11616         * lyx_main.C (init): fix starting  of LyX when the binary is a
11617         link from so,ewhere else.
11618
11619         * minibuffer.C: include <cctype> for isprint
11620
11621 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11622
11623         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11624         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11625         name clash with InsetCollapsable's width function.
11626
11627 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * lastfiles.C: include <iterator>
11630
11631 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11634         std::count.
11635
11636         * buffer.C (makeLaTeXFile): ditto.
11637         Also make loop operation more transparent.
11638
11639 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11640
11641         * ToolbarDefaults.C: remove trailing comma closing namespace.
11642
11643         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11644
11645         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11646         as in WorkArea.
11647
11648         * trans.C (Load): comment out unused variable, allowed.
11649
11650 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11651
11652         * minibuffer.[Ch] (append_char): new method to recieve input from the
11653         drop-down completion browser. If a key was pressed, then recieve this
11654         char and append it to the existing string.
11655         (peek_event): modify the positioning data passed to the completion
11656         browser so that it can be placed above the minibuffer rather than below.
11657 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * LyXAction.C (init): alloe error-next for readonly documents.
11660
11661         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11662         count.
11663
11664 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11665
11666         * bufferlist.C (readFile): create the buffer _after_ checking that
11667         the file exists.
11668
11669         * lyxfunc.C (verboseDispatch): fix handling of arguments
11670
11671         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11672
11673         * lyxrc.C: use string::erase() instead of initializing to "".
11674
11675
11676 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * BufferView_pimpl.h:
11679         * BufferView_pimpl.C:
11680         * WorkArea.h:
11681         * WorkArea.C:
11682         * text2.C: tell X when we have made a selection for copying
11683
11684 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11685
11686         * BufferView_pimpl.C (MenuInsertLyXFile):
11687         * lyxfunc.C (menuNew):
11688         (open):
11689         (doImport): add shortcuts to directory buttons
11690
11691         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11692         open a float)
11693
11694         * lyxfunc.C (setStatusMessage):
11695         (getStatusMessage): new methods
11696         (getStatus):use setStatusMessage instead of setErrorMessage
11697         (dispatch): when function is disabled, set error message here
11698         [instead of in getStatus previously]
11699
11700         * BufferView_pimpl.C (workAreaButtonRelease): update
11701         toolbar/menubar here too.
11702
11703 2002-01-13  Allan Rae  <rae@lyx.org>
11704
11705         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11706         Now seems indestructible.  Remaining task is to audit all other
11707         code affected by deleteEmptyParagraphMechanism.  One small quirk
11708         left is that an empty document with an error in the preamble can
11709         be made to report an error but no error box appears.  I don't know
11710         where it goes.
11711         (removeAutoInsets): Improved comments.
11712
11713 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * Thesaurus.h:
11716         * Thesaurus.C: update for Aiksaurus 0.14
11717
11718 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * text2.C (firstParagraph): removed member function, all uses
11721         replaces with ownerParagraph
11722         (redoParagraphs): here
11723         (updateInset): here
11724         (toggleAppendix): here
11725         * BufferView2.C (insertErrors): here
11726         (setCursorFromRow): here
11727
11728 2002-01-13  Allan Rae  <rae@lyx.org>
11729
11730         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11731         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11732         There is still a way to segfault this although you may have to do this
11733         multiple times: Have an InsetERT with an unknown command in it.
11734         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11735         <down-arrow>, <Enter> again, View->DVI, BANG!
11736
11737         * text2.C (setCursor):
11738         (deleteEmptyParagraphMechanism):
11739         * lyxtext.h (setCursor):
11740         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11741         Making use of the return value may help fix other bugs.
11742
11743 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11746
11747         * LyXView.C (updateMenubar): call MenuBar::update here
11748         (updateToolbar): but not here
11749         (showState): do not update toolbar/menubar
11750
11751         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11752         should need to care about that.
11753
11754         * lyxfunc.C (verboseDispatch): simplify a bit
11755         (getStatus): have a version which takes a pseudoaction, and
11756         another which requires a (kb_action,string).
11757
11758         * LyXAction.C (retrieveActionArg): make it work also when action
11759         is not a pseudo-action.
11760         (getActionName): simplify a bit
11761         (helpText):
11762
11763 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * lyxfunc.C (verboseDispatch): new families of methods with
11766         several ways to specify a command and a bool to indicate whether
11767         the command name and shortcut should be displayed in minibuffer
11768         (eventually, we could extend that to a finer bitmask like
11769         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11770         (dispatch): the pristine dispatch command which just, well,
11771         dispatchs! Note it still sets its result to minibuffer; I'm not
11772         sure we want that.
11773
11774         * lyxfunc.h: remove setHintMessage
11775
11776         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11777
11778 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * BufferView_pimpl.C (specialChar): delete new inset if we have
11781         not been able to insert it.
11782
11783         * kbmap.C: revert to using int instead of kb_action, since all we
11784         are dealing with is pseudo-actions.
11785
11786         * LyXAction.C (searchActionArg): change to return int instead of
11787         kb_action, since the result is a pseudoaction.
11788
11789 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11790
11791         * buffer.C (insertErtContents): Fix (partially) the font bug.
11792
11793 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11794
11795         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11796         as the other one is broken on my machine!
11797
11798 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11799
11800         * commandtags.h:
11801         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11802
11803 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11804
11805         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11806         reflect their actual use. Provide compatibility code for older lyxrc
11807         files.
11808
11809         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11810         FL_NORMAL_STYLE.
11811         change names of popup font variables in line with the changes to lyxrc.C
11812
11813 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11814
11815         * buffer.C (asciiParagraph): avoid outputing a word twice after
11816         an inset.
11817
11818         * lyxrc.C (getDescription): document that document_path and
11819         template_path can be empty.
11820
11821 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11822
11823         * LaTeXFeatures.C (getMacros):
11824         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11825
11826         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11827
11828         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11829         getPackages.
11830         (getPackages): rename feature "floats" to "float". Use an array to
11831         iterate over 'simple' features (i.e. just a \usepackage). Add
11832         handling of "amsmath" (renamed from "amsstyle").
11833
11834 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11835
11836         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11837         features list.
11838
11839 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11840
11841         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11842         FuncStaus::FuncStatus & FuncStaus::some_method().
11843
11844 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11845
11846         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11847         of the func_satus stuff. Edited and massaged in various ways by
11848         JMarc.
11849
11850         * lyxfunc.C (getStatus): use FuncStatus
11851
11852 2002-01-08  Juergen Vigna  <jug@sad.it>
11853
11854         * text.C (nextBreakPoint): use function Inset::isChar().
11855
11856         * paragraph.C (TeXOnePar): use function
11857         Inset::forceDefaultParagraphs.
11858
11859         * buffer.C (latexParagraphs): use function
11860         Inset::forceDefaultParagraphs.
11861
11862 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11863
11864         * lyx_gui.C (init): set the style of the menu popups to
11865         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11866
11867 2002-01-07  Juergen Vigna  <jug@sad.it>
11868
11869         * text.C (setHeightOfRow): small fix
11870         (prepareToPrint): don't look at alignment if we don't have the place
11871         for doing it.
11872
11873 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * box.C: New file. Move the Box methods and functions out of box.h,
11876         following Lars' suggestion.
11877
11878 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * box.h: #include "support/LOstream.h", needed for inlined function.
11881
11882         * lyxtextclass.C:
11883         * lyxtextclasslist.C: added some using std declarations.
11884
11885 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * box.h: make signed dimensions to allow insets wider than
11888           the screen (bug #162)
11889
11890         * BufferView_pimpl.C: add some insetHit debug
11891
11892 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * vc-backend.C: add FIXME
11895
11896 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11897
11898         * lyxfunc.C (getStatus): enable code for showing math font status
11899         in toolbar/menu.
11900
11901 2002-01-07  Juergen Vigna  <jug@sad.it>
11902
11903         * text.C (nextBreakPoint): removed debug output not needed anymore.
11904
11905 2002-01-06  Juergen Vigna  <jug@sad.it>
11906
11907         * text.C (nextBreakPoint): fixed up this function we had this bug
11908         since ever but now hopefully we break row better.
11909         (insertChar): we have to check if an inset is the next char as it
11910         could now happen that a large inset is causing a break.
11911
11912 2002-01-05  Juergen Vigna  <jug@sad.it>
11913
11914         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11915         if it doesn't like to be drawed.
11916
11917 2002-01-04  Juergen Vigna  <jug@sad.it>
11918
11919         * BufferView2.C (lockInset): forgot to set a cursor.
11920
11921         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11922
11923 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11924
11925         * FormMathsPanel.C:
11926         * FormMathsPanel.h
11927         * MathsSymbols.C:
11928         * form_maths_panel.C:
11929         * form_maths_panel.h:
11930         * form_maths_panel.fd: implemented sub- and super- buttons in math
11931         panel.
11932
11933         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11934         (or ^ space) to be used as in TeX (req'd by André).
11935
11936         * lyxfunc.C: Allow ^ and _ again to be used both as
11937         super/subscript (mathed) and as themselves (in text).
11938
11939 2002-01-03  Allan Rae  <rae@lyx.org>
11940
11941         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11942         "LyX" or the filename of the current buffer if it has one.  This is a
11943         modified form of John Levon's patch.
11944
11945         * XFormsView.C (setWindowTitle): also set icon title.
11946
11947         * LyXView.h (setWindowTitle): signature changed.
11948         * XFormsView.h (setWindowTitle): ditto.
11949
11950 2002-01-02  Juergen Vigna  <jug@sad.it>
11951
11952         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11953
11954 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * screen.C (topCursorVisible): introduce a temp var for
11957         text->cursor.row(), handle the case where this row is null. (kindo
11958         hachish)
11959
11960         * text2.C (setCursor): add a couple of asserts.
11961
11962         * paragraph.h (inset_iterator): add -> operator
11963
11964         * paragraph.[Ch] (autoDeleteInsets): remove member function
11965
11966         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11967         cursor pos correctly and handle inset deletion by itself.
11968         (insertErrors): move iterator declaration out of for expression
11969
11970         * lyxtextclass.C: add <algorithm>
11971
11972         * Makefile.am: added the new files to sources, removed layout.C
11973
11974         * layout.C: removed file
11975
11976         * layout.h: remove LYX_DUMMY_LAYOUT
11977
11978         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11979         layout.
11980
11981         * lyxlayout.[Ch]:
11982         * lyxtextclass.[Ch]:
11983         * lyxtextclasslist.[Ch]: new files
11984
11985         * include order changes to a lot of files, also changes because of
11986         the six new files.
11987
11988 2001-12-27  Juergen Vigna  <jug@sad.it>
11989
11990         * buffer.C (asciiParagraph): more fixes.
11991
11992         * tabular.C (ascii): make ascii export support export of only the
11993         data separated by a column-delimiter.
11994         (ascii): better support for ascii export.
11995
11996         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11997
11998 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11999
12000         * tabular_funcs.C: use a "using std::getline" instead of the
12001         previous fix from Angus (necessary for cxx + lyxstring)
12002
12003 2001-12-24  Juergen Vigna  <jug@sad.it>
12004
12005         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12006
12007         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12008         problems. First check a minipage also if we have some ert-contents
12009         (not only on par->size(), second set the right depth of the paragraph
12010         on the relink to the root-paragraph-list!
12011
12012         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12013         which then did not anymore update the main paragraphs on undo/redo!
12014
12015 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12018         code. Support all font-changing funcs (even those which are not in
12019         menu currently). Support for reporting font settings in
12020         mathed (disabled until Andre provides a function on mathed's side).
12021
12022         * func_status.h (toggle): small helper function to set toggle
12023         state on a flag.
12024
12025 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * tabular_funcs.C: getline -> std::getline
12028
12029 2001-12-21  Juergen Vigna  <jug@sad.it>
12030
12031         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12032         accessed and could be 0 (I couldn't generate this but it seems
12033         Michael could!).
12034
12035 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12038         * tabular_funcs.h: here and include iosfwd
12039
12040 2001-12-20  Juergen Vigna  <jug@sad.it>
12041
12042         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12043         inside inset but undo_par was.
12044
12045 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * Thesaurus.C: always include <config.h> in sources.
12048
12049         * Painter.h:
12050         * lyxlookup.h:
12051         * box.h: do not include <config.h> in header files
12052
12053         * text.C (paintLastRow): remove unused variable
12054
12055         * text.C (transformChar):
12056         (insertChar):
12057         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12058
12059         * Painter.C (text):
12060         * font.C (width): rewrite to use uppercase() instead of
12061         islower/toupper.
12062
12063         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12064
12065 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * lyxfind.C: clean up of find failure position change
12068
12069 2001-12-20  Juergen Vigna  <jug@sad.it>
12070
12071         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12072
12073         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12074         (TeXRow): added to LaTeX a single tabular row.
12075         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12076         (Latex): simplified and finally good LT-h/f support.
12077         (various_functions): just small adaptions for LT-h/f support.
12078
12079         * tabular_funcs.[hC]: added and moved here all not classfunctions
12080         of LyXTabular.
12081
12082 2001-12-19  Juergen Vigna  <jug@sad.it>
12083
12084         * tabular.[Ch]: better support for longtabular options (not finished
12085         yet!)
12086
12087 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * text.C (paintLastRow): use the label font instead of the font of
12090         the last character to compute the size of *_BOX. This makes more
12091         sense and avoids a crash with empty paragraphs.
12092         Use Painter::rectangle to draw EMPTY_BOX.
12093
12094 2001-12-19  Juergen Vigna  <jug@sad.it>
12095
12096         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12097         the paragraphs if the replaced paragraph is not the first one!
12098         Tried to delete not used paragraphs but does not work yet so for
12099         now it's inside #ifdef's and by default off!
12100
12101 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * MenuBackend.C: include "lyx_main.h" instead of declaring
12104         lastfiles (actually was declared as LastFiles* instead of a
12105         scoped_ptr).
12106
12107 2001-12-17  Juergen Vigna  <jug@sad.it>
12108
12109         * tabular.C (AppendColumn): applied John's fix
12110
12111 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * BufferView.h:
12114         * BufferView.C:
12115         * BufferView_pimpl.h:
12116         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12117
12118         * Makefile.am:
12119         * box.h: new start of class for above
12120
12121         * lyxfunc.C: ignore space-only minibuffer dispatches.
12122           Show the command name when it doesn't exist
12123
12124         * minibuffer.C: don't add empty lines to the history
12125
12126         * minibuffer.C: add a space on dropdown completion
12127
12128 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * text.C: fix line above/below drawing in insets
12131
12132 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12133
12134         * lyxlength.C (LyXLength): Initialize private variables.
12135
12136 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12139         when inserting error insets.
12140
12141 2001-12-13  Juergen Vigna  <jug@sad.it>
12142
12143         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12144         actually sometimes the before-paragraph.
12145         (setUndo): don't clear the redostack if we're not actually undoing!
12146
12147 2001-12-06  Juergen Vigna  <jug@sad.it>
12148
12149         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12150         and fixed redoing of main paragraph, so we can use it now ;)
12151
12152         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12153
12154 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12155
12156         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12157         Juergen's request
12158
12159 2001-12-13  André Pönitz <poenitz@gmx.net>
12160
12161         * undostack.[Ch]:
12162         * undo_func.C: minor cleanup
12163
12164 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12167         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12168         font in urw-fonts package which is marked as -urw-fontspecific and
12169         does not work (incidentally, changing the encoding in the
12170         fonts.dir of this package to -adobe-fontspecific fixes the
12171         problem).
12172
12173         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12174         is a crash when undoing first paragraph (Juergen, please take a
12175         look). THis does not mean the undo fix is wrong, just that it
12176         uncovers problems.
12177
12178         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12179         the (Paragraph*) version when needed instead of duplicating the
12180         code.
12181
12182         * text.C (workWidth): use Inset::parOwner to find out where the
12183         inset has been inserted. This is a huge performance gain for large
12184         documents with lots of insets. If Inset::parOwner is not set, fall
12185         back on the brute force method
12186
12187         * paragraph_pimpl.C (insertInset):
12188         * paragraph.C (Paragraph):
12189         (cutIntoMinibuffer): set parOwner of insets when
12190         inserting/removing them
12191
12192         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12193
12194 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12195
12196         * commandtags.h:
12197         * LyXAction.C:
12198         * lyx_main.C:
12199         * lyxfunc.C:
12200         * mathed/formulabase.C:
12201         * mathed/math_cursor.[Ch]:
12202         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12203
12204
12205 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * lyxlength.[Ch] (operator!=): new function
12208
12209 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12210
12211         * text.C (workWidth): use Inset::parOwner to find out where the
12212         inset has been inserted. This is a huge performance gain for large
12213         documents with lots of insets. If Inset::parOwner is not set, fall
12214         back on the brute force method
12215
12216         * paragraph_pimpl.C (insertInset):
12217         * paragraph.C (Paragraph):
12218         (cutIntoMinibuffer): set parOwner of insets when
12219         inserting/removing them
12220
12221         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12222
12223 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * tabular-old.C (getTokenValue):
12226         * tabular.C (getTokenValue):
12227         (write_attribute): new versions for LyXLength
12228         (everywhere): adjust the use of widths
12229
12230         * tabular.h: change the type of widths from string to LyXLength
12231
12232 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12233
12234         * paragraph.C: fixed missing line number count when exporting
12235         Environments to LaTeX file
12236
12237         * buffer.C: added informational message for checking line numbers.
12238
12239 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12240
12241         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12242         paragraph, do the 'double space' part, but not the 'empty
12243         paragraph' one.
12244
12245         * text.C (workWidth): small optimization
12246         (getLengthMarkerHeight): use minimal size for negative lengths.
12247
12248 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12249
12250         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12251
12252         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12253
12254 2001-12-11  André Pönitz <poenitz@gmx.net>
12255
12256         * FontLoader.C:
12257         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12258
12259 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * text2.C: keep selection on a setFont()
12262
12263 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * lyx_cb.C: another bv->text misuse, from insert label
12266
12267 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12268
12269         * kbsequence.h:
12270         * kbsequence.C: re-instate nmodifier mask
12271
12272 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * lyx_main.h: make lyxGUI private.
12275
12276 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * lyxfind.C: place the cursor correctly on failed search
12279
12280 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12281
12282         * text.C (getLengthMarkerHeight): for small heights, the arrows
12283         are not always on top/bottom of the text
12284         (drawLengthMarker): smaller arrows; take the left margin in
12285         account; draw also vfills.
12286         (paintFirstRow):
12287         (paintLastRow): remove special code for vfill and standard spaces,
12288         since everything is handled in drawLengthMarker now.
12289
12290 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * buffer.C (insertErtContents): try to handle font and language
12293         interaction a bit better.g
12294
12295         * ColorHandler.C (updateColor): change the hash to cover the whole
12296         LColor enum, ws cleanup
12297         (getGCLinepars): ditto
12298         (getGCLinepars): only lookup in the linecache once.
12299
12300 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12301
12302         * iterators.C (operator++): Make the iterator more robust
12303
12304         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12305         (John's patch)
12306         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12307
12308 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * lyxtext.h:
12311         * text.C: better added space drawing
12312
12313 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * LyXView.C:
12316         * BufferView2.C: fix layout combo update on inset unlock
12317
12318 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * Makefile.am: don't compile unused files
12321
12322 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * lyxfunc.C:
12325         * commandtags.h:
12326         * LyXAction.C: remove old LFUN_LAYOUTNO
12327
12328 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * paragraph_pimpl.h:
12331         * paragraph_pimpl.C: isTextAt() doesn't need font param
12332
12333 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxlex.h:
12336         * lyxlex.C: little cleanup
12337
12338 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView_pimpl.C: fix insertAscii for insets
12341
12342 2001-12-05  Juergen Vigna  <jug@sad.it>
12343
12344         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12345         set the right font on the "multi" paragraph paste!
12346
12347 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12348
12349         * trans_decl.h:
12350         * trans_mgr.[Ch]:
12351         * trans.[Ch]:
12352         * lyxgluelength.C:
12353         * lyxlength.C: remove out-commented code.
12354
12355         * BufferView_pimpl:
12356         * CutAndPaste.C:
12357         * DepTable.C:
12358         * buffer.C:
12359         * chset.C:
12360         * lastfiles.C:
12361         * lyxlex.C:
12362         * lyxlex_pimpl.C:
12363         * lyxserver.C:
12364         * screen.C:
12365         * tabular-old.C:
12366         * tabular.C:
12367         * text.C:
12368         * trans_mgr.C:
12369         * vc-backend.C: change "while(" to "while ("
12370
12371         * lyxlength.[Ch]: add zero function to check if length is zero or
12372         not
12373         * lyxgluelength.C: use it
12374
12375 2001-12-05  Allan Rae  <rae@lyx.org>
12376
12377         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12378         Works for 2.95.3, from what I understand of Garst's reports this should
12379         work for other g++ versions.  We're screwed if the abs(int) definition
12380         changed between bugfix releases of gcc.
12381
12382 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * text.C: fix chapter label offset !
12385
12386 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * lyxtext.h:
12389         * text.C: fix hfill at end of line, clean up
12390
12391 2001-12-04  Juergen Vigna  <jug@sad.it>
12392
12393         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12394         that we force an update of the inset and it's owners if neccessary.
12395
12396 2001-12-03  Juergen Vigna  <jug@sad.it>
12397
12398         * text.C (rowLast): simplified code
12399
12400 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * lyxfunc.C: fix show options on timeout
12403
12404 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * screen.C (topCursorVisible): scroll half a page when the cursor
12407         reached top of bottom of screen
12408
12409 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * minibuffer.C: deactivate on loss of focus
12412
12413 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * vspace.[Ch] (operator!=): add operator.
12416
12417 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * BufferView_pimpl.C: refuse to open an inset when
12420         there's a selection.
12421
12422 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * BufferView_pimpl.C: allow to click on RHS of full row insets
12425
12426 2001-11-30  Juergen Vigna  <jug@sad.it>
12427
12428         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12429         insets for undo reasons.
12430
12431 2001-11-28  André Pönitz <poenitz@gmx.net>
12432
12433         * vspace.[Ch]: cosmetical changes
12434
12435 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * LyXAction.h:
12438         * LyXAction.C:
12439         * lyxfunc.h:
12440         * lyxfunc.C:
12441         * kbmap.h:
12442         * kbmap.C:
12443         * lyxrc.C:
12444         * kbsequence.h:
12445         * kbsequence.C: part re-write of old kb code
12446
12447         * Painter.C:
12448         * WorkArea.C: remove Lgb_bug_find_hack
12449
12450 2001-11-30  José Matos <jamatos@fep.up.pt>
12451
12452         * buffer.C (makeDocBookFile): add a comment to point a hack.
12453         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12454         Fixed a double write of labels.
12455
12456 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12457
12458         * LaTeX.C:
12459         * LaTeX.h Fixed bug in LaTeX class where it would not
12460         re-run latex if no depfiles were changed, but the .dvi was removed.
12461
12462 2001-11-28  André Pönitz <poenitz@gmx.net>
12463
12464         * all the files from the change on 2001/11/26:
12465         use lyx::layout_type instead of LyXTextClass::size_type
12466         use lyx::textclass_type instead of LyXTextClassList::size_type
12467
12468 2001-11-29  Juergen Vigna  <jug@sad.it>
12469
12470         * text.C: added support for paragraph::isFreeSpacing()
12471
12472         * buffer.C: same as above
12473
12474         * paragraph.h: inserted isFreeSpacing() function to enable
12475         FreeSpacing inside InsetERT.
12476
12477         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12478         of the paragraph's in the cut/copy buffer to 0!
12479
12480         * text2.C (removeRow): remove the assert as it can!
12481
12482         * lyxtext.h: added helper function firstRow returning firstrow and
12483         made firstrow private again.
12484
12485         * BufferView2.C (lockInset): don't relock if we're already locked!
12486
12487         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12488         the only paragraph.
12489         (removeRow): added Assert::(firstrow)
12490
12491         * debug.C: forgot to add INSETTEXT here.
12492
12493 2001-11-28  Juergen Vigna  <jug@sad.it>
12494
12495         * sp_spell.C (initialize): changed error text to more general
12496         spellchecker command use (not only ispell!)
12497
12498         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12499
12500         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12501
12502 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * vspace.C: initialise lyxgluelength on failure
12505
12506 2001-11-28  Allan Rae  <rae@lyx.org>
12507
12508         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12509         declaration & definition that looks like a function declaration.
12510
12511 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12512
12513         * BufferView2.C (copy):
12514         (copyEnvironment): do not clear the selection when doing a copy.
12515
12516         * text.C (paintFirstRow): compilation fix
12517
12518 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12519
12520         * tabular.C (Latex): correct line count when writing latex.
12521
12522 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * paragraph_pimpl.h:
12525         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12526           bug a bit
12527
12528 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * text.C:
12531         * LColor.h:
12532         * LColor.C: change vfillline->added_space
12533
12534         * text.C: add markers and text for added space
12535
12536         * vspace.C: fix comment
12537
12538 2001-11-28  André Pönitz <poenitz@gmx.net>
12539
12540         * paragraph.C: whitespace changes
12541         * all the other files from the change on 2001/11/26:
12542         change *::pos_type into lyx::pos_type
12543
12544 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12545
12546         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12547         language of the document when inserting error insets.
12548
12549 2001-11-26  André Pönitz <poenitz@gmx.net>
12550
12551         * BufferView_pimpl.[Ch]:
12552         *       CutAndPaste.C:
12553         * buffer.[Ch]:
12554         * lyxcursor.[Ch]:
12555         * lyxfind.C:
12556         * lyxfunc.C:
12557         * lyxrow.[Ch]:
12558         * paragraph.[Ch]:
12559         * paragraph_pimpl.[Ch]:
12560         * sp_spell.C:
12561         * text.C:
12562         * text2.C: reduce header dependencies, introduce type for positions
12563
12564 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * <various>: change to use Alert.h
12567
12568 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12569
12570         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12571         when encountering an unknown token.
12572         (readLyXformat2): Show an error message if there were unknown tokens.
12573
12574 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * BufferView2.C:
12577         * BufferView_pimpl.C:
12578         * buffer.C:
12579         * paragraph.h:
12580         * text.C:
12581         * text2.C: use par->isInset()
12582
12583 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * paragraph_pimpl.h:
12586         * paragraph_pimpl.C: cleanup
12587
12588 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * text2.C (removeRow):
12591         * text.C (setHeightOfRow): remove useless (and costly) call to
12592         getRow.
12593
12594 2001-11-20  Allan Rae  <rae@lyx.org>
12595
12596         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12597         Now need Inset*::checkInsertChar() to return true for appropriate
12598         cases so that the characters in the minibuffer will actually be
12599         inserted.
12600
12601 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * text.C: change the order of the includes.
12604         (workWidth): initialize it at once.
12605         (workWidth): make maxw unsigned
12606         (setHeightOfRow): remove unused variable (inset)
12607         (selectSelectedWord): remove unused variable (inset)
12608         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12609
12610 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12613         server is not running.
12614         (openConnection):
12615         (closeConnection): add debug info when server is disabled.
12616
12617         * ColorHandler.C (getGCForeground): send debug message to GUI
12618         channel.
12619
12620         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12621
12622         * kbmap.C (bind): modify because return conventions of
12623         kb_sequence::parse have changed.
12624
12625         * kbsequence.C (parse): only ignore spaces and not any stupid
12626         control character. This avoids tests like s[i] <= ' ', which are
12627         guaranteed to fail with 8bit characters and signed chars.
12628         Change return code to string::npos when there have been no error
12629         (0 was a bad idea when error is at first character)
12630
12631 2001-11-14  José Matos  <jamatos@fep.up.pt>
12632
12633         * buffer.h:
12634         * buffer.C (simpleDocBookOnePar): removed unused argument.
12635
12636 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12637
12638         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12639         insets which are part of a word. Paragraph::isLetter takes care of
12640         that now. Use Paragraph::isInset to identify insets.
12641         (selectSelectedWord): do not test for hyphenation break.
12642
12643         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12644         that protected spaces are considered as spaces.
12645
12646         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12647         Inset::isLetter.
12648
12649 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * lyxserver.h:
12652         * lyxserver.C: fix it. and small cleanup.
12653
12654 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * BufferView_pimpl.C: use inline helpers
12657
12658         * LaTeXFeatures.h:
12659         * LaTeXFeatures.C: fix typos
12660
12661         * Spacing.h:
12662         * Spacing.C: move spacing_string into class
12663
12664         * ToolbarDefaults.C: move stuff into namespace anon
12665
12666         * layout.h: update enum
12667
12668         * lyxfunc.C: use better debug
12669
12670         * minibuffer.h: fix typo
12671
12672         * debug.h:
12673         * debug.C:
12674         * WorkArea.C: add and use Debug::WORKAREA
12675
12676         * lyxtext.h:
12677         * text.C:
12678         * text2.C: code re-organisation, inline helpers
12679
12680 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12681
12682         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12683         std::vector.empty().
12684
12685 2001-11-09  Allan Rae  <rae@lyx.org>
12686
12687         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12688         '\n's after tables.  Tabular and ERT inset work now makes this no
12689         longer necessary.
12690
12691 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * minibuffer.h:
12694         * minibuffer.C: fix crash, improve drop-down completion
12695
12696 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * lyxserver.h:
12699         * lyxserver.C: invalidate fd's when doing endPipe()
12700
12701 2001-11-08  José Matos  <jamatos@fep.up.pt>
12702
12703         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12704         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12705
12706         * paragraph.h:
12707         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12708
12709 2001-11-07  José Matos  <jamatos@fep.up.pt>
12710
12711         * buffer.h:
12712         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12713         const qualifier.
12714
12715         * buffer.C (sgmlOpenTag):
12716         * buffer.C (sgmlCloseTag): removed debug info.
12717
12718         * buffer.h (sgmlOpenTag):
12719         * buffer.h (sgmlCloseTag): made public.
12720
12721 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * buffer.C (saveParamsAsDefaults):
12724         * lyx_cb.C (MenuLayoutSave): remove
12725
12726         * LyXAction.C (init):
12727         * commandtags.h:
12728         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12729
12730 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12731
12732         * buffer.C (setPaperStuff): removed from here...
12733
12734         * bufferparams.C (setPaperStuff): ... and moved there.
12735
12736 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * minibuffer.h:
12739         * minibuffer.C:
12740         * XFormsView.C: add support for drop-down completion
12741
12742 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12745         commands.
12746
12747 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12750         disabled.
12751
12752 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * lyx_main.C: change ref to known bugs
12755
12756 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12757
12758         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12759         to work around older babel problems.
12760
12761 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12762
12763         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12764
12765 2001-10-24  Juergen Vigna  <jug@sad.it>
12766
12767         * tabular-old.C (ReadOld): below variable changes reflected.
12768
12769         * tabular.[Ch]: added ltType struct for longtable header/footer
12770         defines and changed all instances where they are used. Added
12771         future support for double top/bottom rows.
12772
12773 2001-10-24  José Matos  <jamatos@fep.up.pt>
12774
12775         * buffer.h (docbookHandleCaption):
12776         * buffer.C (docbookHandleCaption): removed unused function.
12777         (makeDocBookFile): moved docbook supported version to v4.1.
12778
12779 2001-10-24  José Matos  <jamatos@fep.up.pt>
12780
12781         * tabular.h:
12782         * tabular.C (docbookRow): new function to export docbook code of a row.
12783         (DocBook): now honors the longtable flags.
12784
12785 2001-10-23  José Matos  <jamatos@fep.up.pt>
12786
12787         * LaTeXFeatures.h:
12788         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12789         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12790
12791         * buffer.C (makeLinuxDocFile):
12792         (makeDocBookFile): reworked the preamble, more clean, and with
12793         support for lyx defined entities. Changed the document declaration
12794         to be more XML friendly.
12795
12796         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12797         if we need to output XML that should be done with a filter.
12798
12799 2001-10-22  Juergen Vigna  <jug@sad.it>
12800
12801         * sp_pspell.h (class PSpell): add alive function needed in the
12802         controller to see if the spellchecker could be started.
12803
12804 2001-10-22  Juergen Vigna  <jug@sad.it>
12805
12806         * buffer.C (insertStringAsLines): modify the font for inserting
12807         chars in certain conditions by calling checkInsertChar(font).
12808
12809 2001-10-19  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (workWidth): use getRow instead of wrong algorithm.
12812         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12813
12814 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * lyxserver.h:
12817         * lyxserver.C:
12818         * lyx_main.h:
12819         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12820
12821 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * text.C (workWidth): do not search for the exact row when
12824         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12825         optimization for big documents.
12826
12827 2001-10-18  Juergen Vigna  <jug@sad.it>
12828
12829         * text.C (workWidth): new function with added Inset * parameter.
12830
12831 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12834
12835         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12836         change return type of getColumnNearX.
12837
12838
12839         * text.C (changeRegionCase): use uppercase/lowercase instead of
12840         toupper/tolower.
12841         (leftMargin):
12842         (rightMargin): simplify code by factoring out the uses of
12843         textclasslist.
12844         (labelFill):
12845         (numberOfHfills):
12846         (setHeightOfRow):
12847         (appendParagraph): use Paragraph::size_type
12848
12849 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * vspace.C (asLatexString): add a missing break
12852
12853 2001-10-15  Herbert Voss  <voss@perce.de>
12854
12855         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12856
12857 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12860         is not available.
12861
12862 2001-10-10  André Pönitz <poenitz@gmx.net>
12863
12864         * lyxfunc.C: removed greek_kb_flag.
12865
12866 2001-10-10  Herbert Voss  <voss@perce.de>
12867
12868         * lyx_main.C: delete global string help_lyxdir.
12869
12870 2001-10-09  Herbert Voss  <voss@perce.de>
12871
12872         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12873
12874         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12875
12876         * lyx_main.C: added global string help_lyxdir.
12877
12878         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12879
12880 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12881
12882         * lyxrc.C (set_font_norm_type): support iso8859-4
12883
12884 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12885
12886         * LaTeX.C (deplog): add another regex for MikTeX
12887
12888 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12889
12890         * lyxrc.C (set_font_norm_type): support iso8859-3
12891
12892 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12895
12896         * LaTeXFeatures.C: remove special case of french and index
12897
12898         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12899         before \begin{document}). This solves several incompatibilities.
12900
12901 2001-10-03  Garst Reese  <reese@isn.net>
12902
12903         * lyx_cb.C: change CheckTex error msg.
12904
12905 2001-10-03  José Matos  <jamatos@fep.up.pt>
12906
12907         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12908
12909 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12910
12911         * .cvsignore: update
12912
12913         * lyx_main.C (commandLineVersionInfo): use new style version info.
12914
12915         * buffer.C (writeFile):
12916         (makeLaTeXFile):
12917         (makeLinuxDocFile):
12918         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12919
12920         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12921
12922         * version.h: update to use stuff in version.C
12923
12924         * version.C.in: new file. Contains version information determined
12925         at compile time. This is a merging of version.h and
12926         version_info.h.in.
12927
12928 2001-10-03  Juergen Vigna  <jug@sad.it>
12929
12930         * BufferView_pimpl.C (update): don't change "dirty" status in
12931         updateInset call.
12932
12933 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12934
12935         * WorkArea.C (c-tor): re-position version string slightly.
12936
12937 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12938
12939         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12940         revert to previous code.
12941
12942         WorkArea.[Ch]: (show, destroySplash): methods removed.
12943
12944         WorkArea.C: rework code so that it's an amalgam of the codes before and
12945         after the splash screen was moved to WorkArea.
12946
12947 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * lyxrc.C (read):
12950         * vspace.C (inPixels):
12951         (lyx_advance):
12952         * kbmap.C (bind):
12953         * buffer.C (insertStringAsLines):
12954         (asciiParagraph): fix types to be large enough
12955
12956         * lyxlex_pimpl.h: change member status from short to int
12957
12958         * layout.h: fix type of endlabeltype
12959
12960         * kbmap.C (bind):
12961         * kbsequence.C (parse): change return type to string::size_type
12962
12963         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12964         variable
12965
12966         * Bullet.C (bulletSize):
12967         (bulletEntry): do not use short ints as parameters
12968
12969         * BufferView2.C (insertLyXFile): change a char to an int.
12970
12971         * WorkArea.C (WorkArea): remove unneeded floats in computation
12972
12973 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12976
12977         * paragraph.C (asString): Do not ignore newline/hfill chars when
12978         copying to the clipboard.
12979
12980 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12983         after a multi-line inset.
12984
12985 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * paragraph.C (validate): Set NeedLyXFootnoteCode
12988
12989 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12990
12991         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12992         and decrease-error to decrease.
12993
12994 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12995
12996         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12997         it more readable (should be equivalent)
12998
12999 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13000
13001         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13002
13003 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13004
13005         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13006         of a cursor (row, etc.) after a character has been deleted
13007         (deleteEmptyParagraphMechanism): call the method above on _all_
13008         cursors held by the LyXText when a double space has been
13009         detected/deleted.
13010
13011 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13012
13013         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13014         pixmap.
13015         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13016
13017         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13018         background. Use greyOut() and the new show() methods to toggle between
13019         the foreground and background. Add code to remove the splash after
13020         its initial showing.
13021
13022         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13023         (create_forms): no longer call Dialogs::showSplash.
13024
13025 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * .cvsignore: add version_info.h
13028
13029 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13030
13031         * version_info.h.in: new file
13032
13033         * Makefile.am: add version_info.h.in
13034
13035         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13036         version_info.h instead of VERSION_INFO
13037
13038 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13041         The ERT inset now returns string().
13042
13043 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13044
13045         * lyxtext.h, text.C (selectNextWord): renamed as
13046         selectNextWordToSpellcheck.
13047
13048         * text.C (selectNextWordToSpellcheck): Modified to not select
13049         words inside an ERT inset.
13050
13051 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13052
13053         * lyx_cb.C (MenuLayoutSave): change a bit the question
13054
13055         * sp_base.h: include <sys/types.h>
13056
13057 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13060
13061 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13062
13063         * several files: fix typos in user-visible strings
13064
13065 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * text2.C (pasteSelection): do not set the selection, since it
13068         will be cleared later. Actually, the intent was to fix the way the
13069         selection was set, but I figured rmoving the code was just as good.
13070
13071 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13072
13073         * FontLoader.C (available): Check if font is available without
13074         loading the font.
13075
13076 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13077
13078         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13079
13080 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * lyxrc.[Ch]: added display_graphics variable and associated code.
13083
13084 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * bufferparams.C (hasClassDefaults): new method. Returns true if
13087         the buffer parameters correspond to known class defaults
13088
13089 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         * XFormsView.C (show): set minimum size to the main window.
13092
13093 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * text2.C (copySelection):
13096         (cutSelection):
13097         * lyxfind.C (LyXReplace):
13098         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13099         LyXText::selectionAsString.
13100
13101         * paragraph.C (asString): add "label" argument to the second form
13102
13103         * text2.C (selectionAsString): add "label" argument and pass it to
13104         Paragraph::asString.
13105
13106 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * lyx_main.C (commandLineHelp): remove version information
13109
13110 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13111
13112         * lyx_main.C: add -version commandline option
13113
13114 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * paragraph.h: make the optional constructor arg required instead.
13117         some modifications to other files because of this.
13118
13119         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13120
13121         * lyxserver.C (C_LyXComm_callback): make it static
13122
13123         * lyx_main.C (error_handler): make it static
13124
13125         * lyx_gui.C (LyX_XErrHandler): make it static
13126
13127         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13128
13129         * WorkArea.C: make the extern "C" methods static.
13130
13131         * Makefile.am (lyx_LDADD): simplify
13132
13133 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13136         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13137
13138         * LyXAction.C (init):
13139         * lyxfunc.C (dispatch): associated code removal.
13140
13141 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * lyxfont.h (isSymbolFont): shut off warning
13144
13145         * text.C (setHeightOfRow):
13146         (getVisibleRow): fix crash with empty paragraphs which have a
13147         bottom line
13148
13149 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13150
13151         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13152         code.
13153
13154 2001-09-04  José Matos  <jamatos@fep.up.pt>
13155         * buffer.C
13156         * buffer.h
13157         * tabular.C (docbook): rename docBook method to docbook.
13158
13159 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13160
13161         * Makefile.am: add dependencies to main.o.
13162
13163 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13164
13165         * FontLoader.C (available): Return false if !lyxrc.use_gui
13166
13167 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13168
13169         * FontInfo.C (query):
13170         * converter.C (view):
13171         * importer.C (Import):
13172         * exporter.C (Export): Can not -> cannot.
13173
13174 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * BufferView_pimpl.C: allow to create index inset even if
13177           string is empty
13178
13179 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * buffer.C (getLists): replace boost::tie code with an explicit pair
13182         as boost::tie can break some compilers.
13183
13184         * iterators.h: Added a std:: declaration to the return type of
13185         ParIterator::size.
13186
13187 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13190           case.
13191
13192 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13193
13194         * iterators.[Ch]: New files. Provide paragraph iterators.
13195
13196         * buffer.C (changeLanguage): Use paragraph iterators.
13197         (isMultiLingual): ditto
13198
13199         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13200
13201 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13202
13203         * FontLoader.C: Support for cmr font.
13204
13205 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13206
13207         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13208         (available): New method.
13209
13210         * FontInfo.C (getFontname): Use scalable fonts even when
13211         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13212         found.
13213
13214 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * converter.C (Formats::view): reverted! Incorrect fix.
13217
13218 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13219
13220         * converter.C (Formats::view): only output the -paper option
13221         if the dvi viewer is xdvi, thereby fixing bug #233429.
13222
13223 2001-08-23  Herbert Voss  <voss@perce>
13224
13225         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13226
13227 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13228
13229         * Spacing.h (Spacing): Set space to Default on in the default
13230         constructor.
13231
13232 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * vc-backend.h (RCS::versionString): add RCS to version
13235         (CVS::versionString): add CVS to version
13236
13237         * vc-backend.C (scanMaster): do not add CVS to version.
13238         (scanMaster): do not add RCS to version
13239
13240         * lyxvc.C (versionString): new method
13241
13242         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13243
13244 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * Spacing.C (set): initialize fval
13247
13248 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13249
13250         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13251         " or \.
13252
13253 2001-08-16  Juergen Vigna  <jug@sad.it>
13254
13255         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13256
13257 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * BufferView_pimpl.C:
13260         * figureForm.C:
13261         * lyxtext.h:
13262         * text2.C: setParagraph takes linespacing now
13263
13264 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13265
13266         * LyxAction.C: add internal LFUN_CITATION_INSERT
13267
13268         * LyXView.C: actually apply fix
13269
13270         * bufferlist.C: fix open non-existent file
13271
13272         * lyxfind.C: fix indentation
13273
13274         * lyxfunc.C: remove unneeded assert, fix typo
13275
13276 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * MenuBackend.C: use "Floatname List"
13279
13280 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13281
13282         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13283         when converting LaTeX layout to insetERT.
13284         Generate a non-collapsed float when reading old float
13285
13286 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13287
13288         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13289         ERT insets.
13290
13291 2001-08-13  Juergen Vigna  <jug@sad.it>
13292
13293         * text.C (fill): return 0 instead of 20 as this seems to be the more
13294         correct value.
13295
13296 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13297
13298         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13299         lyxrc.font_norm.
13300
13301 2001-08-13  Juergen Vigna  <jug@sad.it>
13302
13303         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13304         casesensitive off.
13305         (SearchBackward): comment out the unlocking of the inset_owner this
13306         should not be needed!
13307
13308 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13309
13310         * Many files: Remove inherit_language, and add latex_language
13311
13312         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13313         collapsible insets.
13314
13315 2001-08-10  Juergen Vigna  <jug@sad.it>
13316
13317         * text.C (prepareToPrint): fixed hfill-width in draw!
13318
13319         * BufferView2.C (selectLastWord): save the selection cursor as this
13320         now is cleared in the function LyXText::clearSelection!
13321
13322 2001-08-08  Juergen Vigna  <jug@sad.it>
13323
13324         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13325         BACKSPACE type functions.
13326
13327         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13328         is only cutted from the document but not put in the cut-buffer, where
13329         still the old stuff should be.
13330
13331         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13332
13333         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13334
13335         * tabular.C (SetWidthOfCell): fixed special case where the width
13336         was not updated!
13337         (LeftLine): handle '|' in align_special.
13338         (RightLine): ditto
13339         (LeftAlreadyDrawed): ditto
13340         (SetWidthOfCell): ditto
13341
13342 2001-08-07  Juergen Vigna  <jug@sad.it>
13343
13344         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13345
13346 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13349         * lyxlex.[hC]: ditto
13350
13351 2001-08-06  Juergen Vigna  <jug@sad.it>
13352
13353         * text.C (getVisibleRow): fix up row clearing a bit.
13354
13355 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * minibuffer.C: make sure the X server sees the changes in the input.
13358
13359 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * paragraph.C (getFont): split into...
13362         (getLabelFont): this
13363         (getLayoutFont): and this
13364         * paragraph_pimpl.C (realizeFont): calling this
13365
13366         * text2.C (getFont): split into...
13367         (getLayoutFont): this
13368         (getLabelFont): and this
13369         (realizeFont): all three calling this
13370
13371         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13372         files where used.
13373
13374 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13377
13378 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13379
13380         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13381         layouts from the Quote inset insertion.
13382
13383 2001-08-03  Juergen Vigna  <jug@sad.it>
13384
13385         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13386
13387         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13388         only if status not is already CHANGED_IN_DRAW (second level).
13389
13390         * text.C (draw): don't set the need_break_row when inside an
13391         InsetText LyXText.
13392
13393 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * buffer.C (parseSingleLyXformat2Token): handle more latex
13396         conversion cases.
13397
13398         * bufferview_funcs.[hC]: change function names to
13399         begin with small char, adjust other files.
13400
13401 2001-08-02  André Pönitz <poenitz@gmx.net>
13402
13403         * lyxfunc.C:
13404         BufferView_pimpl.C: remove broken special code for math-greek
13405
13406 2001-08-02  Juergen Vigna  <jug@sad.it>
13407
13408         * BufferView_pimpl.C (update): redone this function so that we
13409         update the text again if there was a CHANGE_IN_DRAW.
13410
13411         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13412         (drawFromTo): added a new internal bool which is used by draw() and
13413         redraw() function.
13414         (general): some cursor drawing problems fixed.
13415
13416 2001-08-01  Juergen Vigna  <jug@sad.it>
13417
13418         * lyxfind.C (LyXFind): fixed
13419         (SearchForward): ditto
13420         (SearchBackward): ditto
13421
13422         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13423         spurius drawing of the cursor in the main area.
13424
13425         * text2.C (status): small fix which could lead to a segfault!
13426         (clearSelection): remove unneeded BufferView param.
13427
13428 2001-08-01  André Pönitz <poenitz@gmx.net>
13429
13430         * lyxfunc.C: small change due to changed mathed interface
13431
13432 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13435
13436 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * lyxfunc.c: fail gracefully if file doesn't exist
13439
13440         * LyXSendto.C:
13441         * buffer.C:
13442         * lyxfunc.C:
13443         * BufferView_pimpl.C: IsDirWriteable() proto changed
13444
13445         * LyXView.C: fix updateWindowTitle() to store the last title
13446
13447 2001-07-31  Juergen Vigna  <jug@sad.it>
13448
13449         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13450         the font (wrong since using of Paragraph::highestFontInRange).
13451
13452         * paragraph.C (highestFontInRange): added a default_size parameter.
13453
13454         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13455         (setHeightOfRow): reformat
13456
13457 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * converter.[hC] + affected files: move to (inital-char)lowercase
13460         function names.
13461
13462         * ParagraphParameters.C (ParagraphParameters): remove commented code
13463
13464         * PainterBase.[Ch]: remove commented code
13465
13466         * LaTeXFeatures.h: add "bool floats" for float.sty
13467
13468         * LaTeXFeatures.C (LaTeXFeatures): init floats
13469         (require): handle float
13470         (getPackages): do it with floats
13471
13472 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * BufferView_pimpl.C (Dispatch): improve handling of
13475         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13476
13477         * commandtags.h: #include lyxfont.h here temporarily to avoid
13478         keybinding bug.
13479
13480         * bufferlist.h: include LString.h here.
13481
13482 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * text2.C (getStringToIndex): new method.
13485
13486 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13487
13488         * *: Reduced header file dependencies all over.
13489
13490 2001-07-30  Baruch Even  <baruch@lyx.org>
13491
13492         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13493
13494 2001-07-29  Baruch Even  <baruch@lyx.org>
13495
13496         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13497
13498 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * ParameterStruct.h (endif): add a default constructor to make
13501         sure that all variables is initialized.
13502
13503         * ParagraphParameters.C (ParagraphParameters): adjust
13504
13505 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13508         index; also, check that there is something to index, and that it
13509         does not span over several paragraphs.
13510         (doubleClick): use WHOLE_WORD_STRICT for double click.
13511
13512         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13513
13514         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13515         scheme.
13516
13517 2001-07-26  Baruch Even  <baruch@lyx.org>
13518
13519         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13520         an InsetFig figure, backwards compatible reading of old figure code.
13521
13522 2001-07-27  Juergen Vigna  <jug@sad.it>
13523
13524         * text2.C: font.realize function adaption.
13525
13526         * text.C (draw): add a warnings lyxerr text if needed.
13527
13528         * layout.C: font.realize function adaption.
13529
13530         * language.C: add inherit_language and implement it's handlings
13531
13532         * bufferview_funcs.C (StyleReset): remove language parameter from
13533         font creation (should be language_inherit now).
13534
13535         * bufferparams.C (writeFile): handle ignore_language.
13536
13537         * paragraph.C (getFontSettings): the language has to be resolved
13538         otherwise we have problems in LyXFont!
13539
13540         * lyxfont.C (lyxWriteChanges): added document_language parameter
13541         (update): removed unneeded language parameter
13542
13543         * paragraph.C (validate): fixed wrong output of color-package when
13544         using interface colors for certain fonts in certain environments,
13545         which should not seen as that on the final output.
13546
13547 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * BufferView_pimpl.C:
13550         * Thesaurus.h:
13551         * Thesaurus.C:
13552         * Makefile.am:
13553         * commandtags.h:
13554         * LyXAction.C: add thesaurus support
13555
13556         * lyxfind.h:
13557         * lyxfind.C: add "once" parameter, for thesaurus, to not
13558           move to the next match
13559
13560 2001-07-26  Juergen Vigna  <jug@sad.it>
13561
13562         * lyxfont.C (realize): honor ignore_language too!
13563         (resolved): ditto.
13564
13565         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13566
13567         * text.C (draw): one place more for ignore_language to not draw
13568         itself!
13569
13570 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13571
13572         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13573
13574 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13577         the minipage conversion problem.
13578
13579 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13582         insert an inset.
13583
13584 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * BufferView.h: don't forward declare WorkArea
13587
13588         * BufferView.C: don't include WorkArea.h
13589
13590 2001-07-25  André Pönitz <poenitz@gmx.net>
13591
13592         * commandtags.h:
13593         * LyXAction.C:
13594         * lyxfunc.C:  new LFUN 'math-space'
13595
13596         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13597
13598 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * text2.C (toggleInset): call open/close
13601
13602 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * lyxfunc.C (dispatch): add debug for the disabled case
13605
13606         * font.C (buttonText): make similar to rectText
13607
13608         * buffer.C (readInset): comment out parsing of insetlist and
13609         insttheorem
13610
13611         * PainterBase.C (rectText): small correction
13612
13613         * BufferView_pimpl.C: comment out insettheorem and insetlist
13614         * LyXAction.C: ditto
13615         * commandtags.h: ditto
13616
13617 2001-07-24  Juergen Vigna  <jug@sad.it>
13618
13619         * text.C (draw): honor the ignore_language.
13620
13621         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13622
13623 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13626         char inset.
13627
13628 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13629
13630         * lyxtext.h: remove unused (and unimplemented) methods
13631
13632 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13633
13634         * text.C (getVisibleRow): honor background color
13635
13636         * PainterBase.h:
13637         * Painter.h: remove default color argument for fillRectangle
13638
13639         * text.C (backgroundColor): new method
13640
13641 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13642
13643         * text.C (getVisibleRow): adjust
13644
13645         * font.[Ch] (rectText): new method, metrics
13646         (buttonText): new method, metrics
13647
13648         * PainterBase.[hC]: make rectText and buttonText always draw and take
13649         fewer paramteres.
13650
13651 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13652
13653         * ToolbarDefaults.C (read):
13654         * MenuBackend.C (read): allow escaping in all strings
13655
13656         * BufferView_pimpl.C (insertAndEditInset): new method.
13657         (Dispatch): use insertAndEditInset whenever appropriate.
13658
13659         * BufferView_pimpl.C (insertNote): removed
13660
13661         * BufferView_pimpl.C (smartQuote): new method, moved from
13662         BufferView; if an insetquote cannot be inserted, insert a '"'
13663         character instead.
13664
13665         * BufferView2.C: remove insertCorrectQuote();
13666
13667         * lyxfunc.C (getStatus): Add support for all remaingin
13668         inset-insert lfuns.
13669
13670         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13671
13672         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13673         command (necessary to pass " as parameter of self-insert.
13674
13675         * text.C (selectWordWhenUnderCursor):
13676         (selectWord): add word_location parameter
13677         (selectWordWhenUnderCursor): same + remove special code for word
13678         boundary.
13679         (selectNextWord): use kind() to guess type of insetspecialchar,
13680         not latex().
13681
13682         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13683         (insertErtContents): create ert insets as collapsed.
13684         (readInset): better compatibility code for Info inset.
13685
13686 2001-07-20  Juergen Vigna  <jug@sad.it>
13687
13688         * lyxfunc.C (dispatch): use always LyXFind now!
13689
13690         * text2.C (init): add a reinit flag so that the LyXText can be
13691         reinited instead of deleted and reallocated (used in InsetText).
13692
13693         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13694
13695         * text.C: ditto
13696
13697         * text2.C: ditto
13698
13699 2001-07-18  Juergen Vigna  <jug@sad.it>
13700
13701         * text.C (selectNextWord): handle insets inside inset by calling
13702         always the bv->text functions so that we can go up the_locking_inset!
13703
13704         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13705         in strange locations when inside an inset!
13706
13707         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13708         handling to include insets.
13709
13710         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13711
13712 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * LyXAction.C (init):
13715         * commandtags.h:
13716         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13717         LIGATURE_BREAK, since the name is so stupid.
13718
13719 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13722         InsetInfos.
13723
13724         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13725
13726         * sp_form.[Ch]: remove.
13727
13728         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13729
13730         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13731         InsetInfo.
13732
13733         * src/buffer.C (readInset): ditto.
13734
13735 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13736
13737         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13738         menuSeparator(), endOfSentenceDot(), ldots() and
13739         hyphenationPoint(), which are therefore removed.
13740         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13741
13742         * LyXAction.C (init):
13743         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13744
13745         * paragraph.C (getWord): removed.
13746
13747         * BufferView_pimpl.C (Dispatch): use last word or selection for
13748         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13749
13750         * lyx_main.C (queryUserLyXDir): do not ask before creating
13751         user_dir, except if it has been named explicitely.
13752
13753 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13754
13755         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13756         a document of zero size.
13757
13758 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13759
13760         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13761         approriately in the c-tor and in require().
13762         (getPackages): output the appropriate LaTeX for natbib support.
13763
13764         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13765         variables "use_natbib" and "use_numerical_citations" when reading the
13766         LyX file.
13767         (readInset): read the various natbib cite commands.
13768         (validate): white-space change.
13769
13770         * bufferparams.[Ch]: new variables "bool use_natbib" and
13771         "bool use_numerical_citations".
13772         (writeFile): output them in the LyX file.
13773
13774 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13775
13776         * lyxfunc.C (getStatus): add support for all the inset insertion
13777         commands.
13778
13779         * text2.C (insertInset):
13780         * paragraph.C (insetAllowed):
13781         * BufferView_pimpl.C (insertInset): update to take in account the
13782         renaming of insertInsetAllowed
13783
13784         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13785
13786         * text2.C (getInset): new method. returns inset at cursor position.
13787
13788         * BufferView_pimpl.C (Dispatch): changes because of this.
13789
13790         * LyXAction.C (init): rename open-stuff to inset-toggle.
13791
13792         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13793
13794         * text2.C (toggleInset): renamed from openStuff; use
13795         Inset::open().
13796
13797 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13798
13799         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13800
13801         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13802
13803 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13804
13805         * buffer.C (readLyXformat2): Add filename to the error dialog
13806
13807 2001-07-18  Juergen Vigna  <jug@sad.it>
13808
13809         * tabular.C (GetCellNumber): put an assert here instead of the check!
13810
13811 2001-07-17  Juergen Vigna  <jug@sad.it>
13812
13813         * BufferView_pimpl.C (toggleSelection): adapted too.
13814
13815         * text.C (selectNextWord): adapted for use with insets.
13816         (selectSelectedWord): ditto
13817
13818 2001-07-17  Juergen Vigna  <jug@sad.it>
13819
13820         * sp_spell.C (PSpell): fix initialitation order.
13821
13822 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13823
13824         * paragraph.C: spacing
13825
13826 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13827
13828         * sp_spell.C: repair language selection for pspell
13829
13830 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * lyxfunc.h: change more methods to begin with lower char.
13833
13834 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13837         for unknown layouts.
13838
13839 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * buffer.C (readLyXformat2): Generate an error dialog if there are
13842         unknown layouts.
13843
13844 2001-07-16  Juergen Vigna  <jug@sad.it>
13845
13846         * sp_spell.C: always compile ISpell part.
13847
13848         * lyxrc.C: added use_pspell entry and it's handling.
13849
13850 2001-07-13  Juergen Vigna  <jug@sad.it>
13851
13852         * sp_spell.C: removed double includes.
13853
13854 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13855
13856         Consistent use of Lsstream.h:
13857         * Lsstream.h: added using std::stringstream for consistencies sake.
13858
13859         * buffer.C: removed using std::stringstream
13860
13861         * lyxfont.C (stateText):
13862         * paragraph.C (asString):
13863         * text.C (selectNextWord, selectSelectedWord):
13864         * text2.C (setCounter):
13865         * vspace.C (asString, asLatexString):
13866         std::ostringstream -> ostringstream.
13867
13868 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13869
13870         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13871         * commandtags.h: add LFUN_HELP_ABOUTLYX
13872         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13873
13874 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13875
13876         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13877         cursorToggle()
13878         * lyx_gui_misc.C: remove spellchecker
13879         * lyxfunc.C: showSpellchecker
13880         * sp_base.h: added
13881         * sp_ispell.h: added
13882         * sp_pspell.h: added
13883         * sp_spell.C: added
13884         * sp_form.[Ch]: removed
13885         * spellchecker.[Ch]: removed
13886
13887 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13888
13889         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13890         is set.
13891         (simpleTeXSpecialChars): Simply print the input character without
13892         any special translation if pass_thru is set.
13893
13894         * layout.h: Added bool pass_thru to layout class for being able to
13895         implement pass through of a paragraph for Literate Programming.
13896
13897         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13898         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13899         * layout.C (Read): add "passthru" to list of layout tags and add
13900         code to set the pass_thru boolean when it is read.
13901
13902 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13903
13904         * trans_decl.h: remove allowed from KmodInfo
13905
13906         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13907         remove allowed code
13908         (Load): adjust
13909
13910         * paragraph_pimpl.C (erase): use boost::prior
13911
13912         * Painter.C (text): use data() instead of c_str() when length is
13913         also provided.
13914         * WorkArea.C (putClipboard): ditto
13915         * font.h (width): ditto
13916
13917         * BufferView2.C: use it-> instead of (*it). for iterators
13918         * texrow.C: ditto
13919         * paragraph_pimpl.C: ditto
13920         * paragraph.C: ditto
13921         * minibuffer.C: ditto
13922         * language.C: ditto
13923         * kbmap.C: ditto
13924         * encoding.C: ditto
13925         * counters.C: ditto
13926         * converter.C: ditto
13927         * chset.C: ditto
13928         * Variables.C: ditto
13929         * TextCache.C: ditto
13930         * MenuBackend.C: ditto
13931         * LyXAction.C: ditto
13932         * LColor.C: ditto
13933         * FloatList.C: ditto
13934         * DepTable.C: ditto
13935         * ColorHandler.C (LyXColorHandler): ditto
13936
13937 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13940
13941         * text2.C (openStuff): reintroduce this method (which had been
13942         nuked in NEW_INSETS frenzy).
13943
13944         * lyxfunc.C (Dispatch): when an action has not been handled, use
13945         its name in the error message, not its number.
13946
13947         * paragraph.C (inInset): change method name to begin with lowercase.
13948
13949         * undo_funcs.C:
13950         * text2.C: updates because of this.
13951
13952 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * ToolbarDefaults.C (add): add spaces in error message
13955
13956 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13959         (readLyXformat2): rename return_par to first_par, use lyxlex's
13960         pushToken and remove the manual push handling.
13961         (parseSingleLyXformat2Token): add another ert comp. variable:
13962         in_tabular, rename return_par to first_par. handle newlines better
13963
13964 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13967
13968 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * text2.C (getParFromID): removed
13971
13972         * buffer.C (getParFromID): new method moved form lyxtext.
13973         * BufferView2.C (insertErrors): adjust
13974         (setCursorFromRow): adjust
13975         * BufferView_pimpl.C (restorePosition): adjust
13976         * lyxfunc.C (Dispatch): adjust
13977         * undo_funcs.C (textUndo): adjust
13978         (textRedo): adjust
13979         (textHandleUndo): adjust
13980         (textHandleUndo): adjust
13981
13982 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13983
13984         * buffer.C: up' the LYX_FORMAT
13985
13986         * lyxfont.h: turn NO_LATEX on as default
13987
13988         * buffer.C (insertErtContents): new methods of tex style compability.
13989         (parseSingleLyXformat2Token): use it several places.
13990         * tabular.C (OldFormatRead): and here
13991
13992 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * text2.C: remove some commented code.
13995         reindent file.
13996
13997         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13998         * trans.C: changes because of the above.
13999
14000 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * text2.C (setCounter): Fix counters bug with bibliography layout.
14003
14004 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14007         own member functions
14008         (simpleTeXSpecialChars): ditto
14009
14010 2001-07-06  Juergen Vigna  <jug@sad.it>
14011
14012         * a lot of files: changed the access to LyXText::status and the
14013         call of undo-functions.
14014
14015         * undo.[Ch]: added a inset_id to the undo informations.
14016
14017         * undo_funcs.[Ch]: added and moved here all undo functions.
14018
14019         * lyxtext.h: give the status enum a weight, made status_ a private
14020         variable and made accessor functions for it, removed the whole bunch
14021         of undo-functions as they are now in their own file, make some
14022         functions publically available. Added function ownerParagraph with
14023         int parameter.
14024
14025         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14026         made InInset() a const function, added getParFromID() function.
14027
14028         * buffer.[Ch]: added const version for inset_iterator functions,
14029         added getInsetFromID() function.
14030
14031         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14032         changed undo functions for new version.
14033
14034 2001-07-05  Juergen Vigna  <jug@sad.it>
14035
14036         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14037         unknow mechanism does not call the proper constructor but only this
14038         one also if I request the other!?
14039
14040 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14043
14044         * text2.C (LyXText): use initialization lists.
14045
14046         * lyxtext.h (Selection): initialize set_ and mark_
14047         (init): remove method
14048
14049 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14052
14053 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * screen.[Ch]: change method names to begin with lowercase
14056
14057         * BufferView_pimpl.C (updateScrollbar): simplify further and
14058         hopefully make it a bit faster.
14059
14060 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14063         calling directly xforms functions.
14064
14065         * Painter.C (Painter):
14066         * lyx_cb.C (MenuWrite):
14067         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14068         fl_display.
14069
14070         * lyx_gui.C: remove bogus guiruntime extern declaration.
14071
14072 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14075         in NEW_INSETS
14076         (redoDrawingOfParagraph): ditto
14077         (redoParagraphs): ditto
14078         (cutSelection): don't create a object for CutAndPaste use the
14079         static method directly
14080         (pasteSelection): ditto
14081
14082         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14083         LyXview (+ rename)
14084
14085 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14086
14087         * modifications to some other files because of this.
14088
14089         * Makefile.am (lyx_SOURCES): add XFormsView
14090
14091         * XFormsView.[Ch]: new files
14092
14093         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14094         the main window. Move the gui dependent stuff to XFormsView
14095
14096 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * tabular.C (GetCellInset): update cur_cell also in the row/col
14099         version of this function.
14100
14101         * lyxfunc.C: no need to include figure_form.h here.
14102
14103         * FontLoader.h:
14104         * lyxfunc.h:
14105         * lyxscreen.h:
14106         * text2.C:
14107         * lyxvc.C: no need to include forms.h here.
14108
14109 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14110
14111         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14112
14113         * lyxfunc.C (Dispatch):
14114         * Spacing.C (set):
14115         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14116         constructor argument.
14117
14118 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * paragraph.C (Paragraph): dont't clear, and just set layout.
14121         (makeSameLayout): use params's copy contructor.
14122
14123         * ParagraphParameters.[Ch] (makeSame): delete method
14124
14125 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * Variables.[Ch]: fix indentation, rename set to isSet
14128
14129 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * lyxfunc.C (Dispatch): fix typo
14132
14133 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14134
14135         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14136         upper_bound.
14137
14138         * bufferlist.C: include assert.h for emergencyWrite().
14139
14140 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14143           give up at last (bug #425202) !
14144
14145 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * lyx_gui_misc.C:
14148         * sp_form.h:
14149         * sp_form.C:
14150         * spellchecker.h:
14151         * spellchecker.C: strip spellchecker options and bring up
14152           preferences tab instead
14153
14154 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14157         the istringstream constructor
14158
14159 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * paragraph.C (getLayout): fix return value
14162
14163         * paragraph.h: do not declare getLayout as inline.
14164
14165         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14166
14167 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14168
14169         * lyxcursor.h (operator<): new func
14170         (operator>): new func
14171         (operator>=): new func
14172         (operator<=): new func
14173
14174         * text.C (changeCase): use selection.start and selection.end
14175         (changeRegionCase): require from to be <= to. Require par to be a
14176         valid paragraph.
14177
14178         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14179
14180 2001-06-27  Juergen Vigna  <jug@sad.it>
14181
14182         * text.C (cursorLeftOneWord): changed to return the cursor and added
14183         overlay with BufferView * parameter which calls this one.
14184         (getWord): added
14185         (selectWord): use new getWord function.
14186         (changeCase): renamed from changeWordCase as and extended to work
14187         also on selections.
14188
14189         * lyxtext.h: added enum word_location
14190
14191         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14192         changeCase as this operates now also on selections.
14193
14194 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14195
14196         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14197
14198         * many files: send debug output to Debug::INFO instead of
14199         Debug::ANY.
14200
14201         * converter.C (View):
14202         (Convert):
14203         (Move): send debug output to Debug::FILES instead of console.
14204
14205 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14206
14207         * lyxfunc.C (getStatus): use func_status
14208
14209         * func_status.h: new header, describing the results of
14210         LyXFunc::getStatus;
14211
14212         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14213         LFUN_MATH_HALIGN.
14214
14215 2001-06-25  The LyX Project  <jug@sad.it>
14216
14217         * buffer.C (sgmlOpenTag):
14218         (sgmlCloseTag):
14219         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14220
14221 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * text2.C: remove some dead code
14224
14225         * tabular.C (GetCellInset): store the last cell checked (gotten)
14226
14227         * tabular.h: add the helper for the speedup
14228
14229         * lyxtext.h: remove some dead code
14230
14231 2001-06-26  The LyX Project  <Asger>
14232
14233         * paragraph.C: Change export to LaTeX of alignment to
14234         \begin{center} and family for better roundtrip work with reLyX.
14235
14236         * Tune the math drawing a bit.
14237
14238 2001-06-25  The LyX Project  <Asger>
14239
14240         * LColor.C (LColor): New color for math background. New color
14241         for buttons.
14242
14243 2001-06-25  The LyX Project  <jug@sad.it>
14244
14245         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14246
14247         * lyxfunc.C (Open):
14248         * bufferlist.C (newFile): do not restrict to files ending with
14249         .lyx
14250
14251         * BufferView_pimpl.C (MenuInsertLyXFile):
14252
14253 2001-06-24  The LyX Project  <jug@sad.it>
14254
14255         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14256         of compare_no_case
14257
14258 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * lyxtext.h: rename most methods to begin with a small char.
14261         Lots of changes because of this.
14262
14263         * paragraph.C (Paragraph): do not call fitToSize
14264         (erase): call Pimpl::erase
14265         (insertChar): call Pimpl::insertChar
14266         (insertInset): call Pipl::insertInset
14267         (breakParagraph): do not call fitToSize
14268         (breakParagraphConservative): do not call fitToSize
14269         (fitToSize): remove method
14270
14271         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14272
14273 2001-06-24  The LyX Project  <Asger>
14274
14275         * Fix Qt compilation^2
14276
14277 2001-06-24  The LyX Project  <jug@sad.it>
14278
14279         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14280         depthHook(getDepth()-1).
14281
14282         * paragraph.h:
14283         * ParagraphParameters.h:
14284         * ParameterStruct.h: change type of depth to unsigned int ==
14285         depth_type. Many adaptations to other files before of that.
14286
14287 2001-06-24  The LyX Project  <Asger>
14288
14289         * Fix Qt compilation.
14290
14291 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * paragraph.h: renamed several methods to begin with small letter.
14294         several changes to many parts of the code because of this.
14295
14296 2001-06-23  The LyX Project  <jug@sad.it>
14297
14298         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14299         rewritten to discard all double spaces when KeepEmpty is off
14300         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14301         to only handle newlines but not fiddle with spaces and friends.
14302
14303         * lyxfunc.C (MenuNew): when doing 'new from template', use
14304         template_path as default directory
14305
14306 2001-06-23  The LyX Project  <Asger>
14307
14308         * Clean-up of header file includes all over
14309         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14310
14311 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14312
14313         * paragraph.h: renamed from lyxparagraph.h
14314
14315 2001-06-23  Asger  <lyx@violet.home.sad.it>
14316
14317         * Buffer.h: Removed Buffer::resize
14318         * BufferList.h: Removed BufferList::resize
14319         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14320         the document lazily when we change the width, or the font settings.
14321
14322 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14323
14324         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14325
14326 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14327
14328         * buffer.h: remove out of date comment
14329
14330 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * lyxscreen.h:
14333         * screen.C: fix "theoretical" GC leak
14334
14335 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * LaTeX.C (scanAuxFile):
14338         (deplog): remove trailing \r when reading stream (useful under
14339         win32)
14340
14341 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14342
14343         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14344         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14345         and BufferView::theLockingInset(Inset*), so should use them and not
14346         access bv_->text->the_locking_inset directly.
14347
14348         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14349
14350 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * Makefile.am:
14353         * tex-defs.h: remove old unused file
14354
14355 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * BufferView_pimpl.C: fix typo, remove minibuffer message
14358           when buffer has loaded
14359
14360 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14361
14362         * lyxfunc.C (Dispatch): use stringstream
14363         (MenuNew): use stringstream
14364         (Open): use stringstream
14365
14366         * importer.C (Import): use stringstream
14367
14368         * bufferview_funcs.C (CurrentState): use stringstream
14369
14370         * LaTeX.C (run): use stringstream
14371
14372         * BufferView_pimpl.C (savePosition): use stringstream
14373         (restorePosition): use stringstream
14374         (MenuInsertLyXFile): use stringstream
14375
14376 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * BufferView.C:
14379         * Bullet.C:
14380         * ColorHandler.C:
14381         * FontInfo.C:
14382         * FontLoader.C:
14383         * LColor.C:
14384         * LaTeXFeatures.C:
14385         * Painter.C:
14386         * gettext.C:
14387         * lyx_gui_misc.C:
14388         * lyxserver.C:
14389         * vspace.C: removed // -*- C++ -*- as first line.
14390
14391         * lyxfind.h:
14392         * version.h: added // -*- C++ -*- as first line.
14393
14394 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14397
14398         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14399         of string
14400
14401 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14404         of floats.
14405
14406 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * gettext.C: include LString.h even when --disable-nls is on.
14409
14410 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14411
14412         * converter.h (Get): changed argument type from int to
14413         FormatList::size_type to avoid unnecessary conversion.
14414
14415         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14416         before using it.
14417
14418 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * gettext.h: include LString.h even when --disable-nls is on.
14421
14422 2001-06-07  Juergen Vigna  <jug@sad.it>
14423
14424         * text.C (BreakAgain): subst spaces with tabs.
14425
14426         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14427         (resizeInsetsLyXText): set force on resizeLyXText.
14428
14429 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * gettext.h (gettext_init):
14432         (locale_init): use a real definition instead of a macro
14433
14434 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * Bufferview_pimpl.C:
14437         * LColor.h:
14438         * LColor.C: further lcolor tidies
14439
14440 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * BufferView_pimpl.C (updateScrollbar): simplify.
14443
14444         * BufferView2.C: don't include insets/insetinfo.h, change
14445         prototype for insertInset and call the Pimpl version. let
14446         updateInset call Pimpl version.
14447
14448         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14449         gotoInset to BufferView::Pimpl
14450
14451 2001-06-01  Juergen Vigna  <jug@sad.it>
14452
14453         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14454         inside a LockingInset (is the update needed at all?).
14455
14456 2001-05-31  Juergen Vigna  <jug@sad.it>
14457
14458         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14459         here not the old one otherwise how should we compare it afterwards
14460         if it's the same!
14461
14462 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14463
14464         * lyxfont.C:
14465         * tabular.C:
14466         * tabular-old.C:
14467         * FontInfo.C: bring C functions into global namespace when
14468         necessary
14469
14470 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14471
14472         * LString.h: make sure config.h has been loaded before LString.h.
14473
14474         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14475         (one for each char read by EatLine!).
14476
14477         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14478         variables.
14479
14480 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14481
14482         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14483         to the same as the par we break from
14484
14485 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14488
14489         * MenuBackend.C (expand): also create menu entries for wide
14490         versions of the floats.
14491
14492         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14493
14494         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14495
14496         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14497         frontends/Makefile.am
14498
14499         * text2.C: adjust
14500         * text.C: adjust
14501
14502
14503         * tabular.C (getTokenValue): add std::
14504
14505         * tabular-old.C (getTokenValue): add std::
14506         (getTokenValue): ditto
14507         (getTokenValue): ditto
14508
14509         * screen.C (ToggleSelection): adjust
14510
14511         * lyxtext.h: put selection cursors inside a Selection struct.
14512
14513         * lyxfunc.C (moveCursorUpdate): adjust
14514
14515         * lyxfont.C (latexWriteStartChanges): add std::
14516
14517         * lyxfind.C: adjust
14518
14519         * font.h: delete with(char const *, LyXFont const &)
14520
14521         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14522
14523         * FontInfo.C (getFontname): add std::
14524
14525         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14526         (workAreaButtonPress): adjust
14527         (tripleClick): adjust
14528         (update): adjust
14529         (moveCursorUpdate): adjust
14530         (Dispatch): adjust
14531
14532         * BufferView2.C (gotoInset): adjust
14533
14534 2001-05-30  Juergen Vigna  <jug@sad.it>
14535
14536         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14537         to check pspell I add this as default as I now have new pspell
14538         libraries and they seem to use this.
14539
14540 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * text2.C (CutSelection): make the cursor valid before the call to
14543         ClearSelection.
14544
14545 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14548         relied on 0 terminated strings and other horrors. Bug found due to
14549         the new assert in lyxstring!
14550
14551         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14552         KP_ keys.
14553
14554 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14557         to latinkeys.bind.
14558
14559         * lyxfunc.C (processKeySym): change method of getting to the
14560         self-insert char.
14561
14562         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14563         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14564         * BufferView_pimpl.[Ch]: here as private methods.
14565
14566 2001-05-28  Juergen Vigna  <jug@sad.it>
14567
14568         * text.C (SetHeightOfRow): added the update() call again as it is
14569         needed to initialize inset dimensions!
14570
14571 2001-05-16  Juergen Vigna  <jug@sad.it>
14572
14573         * text2.C (SetCharFont): Add new function with BufferView * and
14574         bool toggleall parameters for setting insets internal fonts.
14575         (SetFont): Freeze the undo as we may change fonts in Insets and
14576         all this change should be inside only one Undo!
14577
14578         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14579         setting font's in insets as for them we have the SetFont function!
14580
14581 2001-05-15  Juergen Vigna  <jug@sad.it>
14582
14583         * text2.C (ClearSelection): to be sure we REALLY don't have any
14584         selection anymore!
14585
14586         * tabular.C (TeXCellPreamble): fixed the left border problem for
14587         multicolumn cells.
14588
14589 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14590
14591         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14592         dependancy file
14593
14594 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14597         LFUN_BREAKPARAGRAPH.
14598
14599         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14600         help test to "internal only", similar for LFUN_INSERT_URL
14601
14602         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14603         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14604         auto_region_delete and deadkeys.
14605
14606 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * LColor.h:
14609         * LColor.C: remove some dead entries, tidy a little
14610
14611 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14612
14613         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14614         commented code.
14615         (Dispatch): implement LFUN_ESCAPE
14616
14617         * commandtags.h: add LFUN_ESCAPE
14618
14619         * LyXAction.C (init): add entry for LFUN_ESCAPE
14620
14621         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14622         Remove commented code.
14623         (insertNote): moved here
14624         (open_new_inset): moved here
14625
14626         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14627         BufferView_pimpl
14628
14629 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * kbmap.C (findbinding): clean it up and make it work correctly.
14632
14633         * lyx_main.C (init): do not pass argc and argv as parameters
14634
14635 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14636
14637         * buffer.C: fix path for OS/2 & Win32
14638
14639         * lyx_gui.C:
14640         * lyx_main:
14641         * lyx_main.C: Added os:: class.
14642
14643         * os2_defines.h: update
14644
14645 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14648         better by trying again with reduced state.
14649
14650 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * lyxrc.C (read): print error about invalid key sequence only when
14653         debugging (because not all latinX keysyms are known to some X
14654         servers)
14655
14656         * kbsequence.C (getiso): add a few std:: qualifiers
14657         (getiso): comment out extra return statement.
14658
14659 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14660
14661         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14662         handling.
14663         (Dispatch): enhance the accent inset a bit. (not perfect)
14664
14665 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14668
14669 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * bufferlist.C (emergencyWrite): fix assert() call
14672
14673 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14674
14675         * text.C (InsertChar): Added trivial patch to only send the "you
14676         can not do multiple spaces this way" message once during a
14677         session.
14678
14679 2001-05-08  Baruch Even  <baruch@lyx.org>
14680
14681         * Makefile.am: Changed order of libraries to get LyX to link properly
14682         with the gnome frontend.
14683
14684 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14685
14686         * LaTeXFeatures.h: add a std:: qualifier
14687
14688 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * paragraph.C (String): use stringstream
14691
14692 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14693
14694         * paragraph.C (writeFile): remove footflag arg
14695
14696         * buffer.C (makeLaTeXFile): use stringstream
14697         (latexParagraphs): remove footnot gurba
14698
14699         * LaTeXFeatures.C (getPackages): use stringstream
14700         (getMacros): likewise
14701         (getTClassPreamble): likewise
14702         (getFloatDefinitions): new method
14703
14704         * paragraph.C (writeFile): reindent
14705         (Erase): reindent
14706
14707         * WorkArea.h: revert the xpos + etc changes.
14708
14709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14710
14711         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14712
14713         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14714         (pasteSelection): likewise
14715         * text2.C (CreateUndo): likewise
14716
14717 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14718
14719         * minibuffer.C (peek_event): temporarily reduce the functionality
14720         of the minibuffer (to allow args on lfuns)
14721
14722         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14723         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14724
14725         * buffer.C (readInset): add compability reading of old float
14726         lists, add reading of new style float list.
14727         (readInset): avoid reevaluation of inscmd.getCmdName()
14728         (getLists): reindent
14729
14730         * MenuBackend.C (MenuItem): implement parsing of
14731         md_floatlistinsert and md_floatinsert.
14732         (expand::LastFiles): move initalizaton of iterators out of loop,
14733         avoid reevaluation.
14734         (expand::Documents): introduce typdedef vector<string> Strings,
14735         and use it.
14736         (expand::ExportFormats): introduce typedef vector<Format const *>
14737         Formats, and use it.
14738         (expand): implement FloatListInsert and FloatInsert.
14739
14740         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14741         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14742         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14743
14744         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14745         handling.
14746         (Dispatch::LFUN_FLOAT_LIST): implement
14747
14748 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14749
14750         * LaTeX.C (run): Fix problem with --export code.
14751
14752 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14753
14754         * BufferView.[Ch] (workarea): removed.
14755         (getClipboard) new method; wrapper for workarea()->getClipboard()
14756
14757         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14758         bug.
14759
14760         * WorkArea.h (width, height, xpos, ypos): These methods all
14761         returned the dimensions of the work_area sub-area of WorkArea,
14762         resulting in a position error if the WorkArea were resized. Now
14763         return the dimensions of the entire WorkArea.
14764
14765         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14766
14767 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * LaTeX.C (deplog): correct the syntax of regex reg1
14770
14771 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * undo.C: remove !NEW_INSETS cruft
14774
14775 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14776
14777         * text2.C: remove !NEW_INSETS cruft
14778
14779         * text.C: remove !NEW_INSETS cruft
14780
14781         * tabular.C: remove !NEW_INSETS cruft
14782
14783         * spellchecker.C: remove !NEW_INSETS cruft
14784
14785         * lyxtext.h: remove !NEW_INSETS cruft
14786
14787         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14788
14789         * lyxfunc.C: remove !NEW_INSETS cruft
14790
14791         * lyxfind.C: remove !NEW_INSETS cruft
14792
14793         * lyx_cb.C: remove !NEW_INSETS cruft
14794
14795         * figureForm.C: remove  !NEW_INSETS cruft
14796
14797         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14798
14799         * buffer.[Ch]: remove !NEW_INSETS cruft
14800
14801         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14802
14803         * CutAndPaste.C: remove !NEW_INSETS cruft
14804
14805         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14806
14807         * BufferView2.C: remove !NEW_INSETS cruft
14808
14809         * BufferView.h: remove !NEW_INSETS cruft
14810
14811 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * Lsstream.h: include LString.h before the sstream headers to
14814         fix problem with gcc 2.95.3 and lyxstring
14815
14816 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * lyx_main.C: add using directives when needed for C functions
14819         declared in std:: namespace.
14820
14821 2001-04-27  Juergen Vigna  <jug@sad.it>
14822
14823         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14824         (SetHeightOfRow): comment out the update call should not be needed!
14825
14826 2001-04-13  Juergen Vigna  <jug@sad.it>
14827
14828         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14829         (LyXTabular): tried to minimize operator= operations (and realized
14830         hopfully Lars wish).
14831
14832 2001-04-27  Juergen Vigna  <jug@sad.it>
14833
14834         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14835
14836 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14839
14840         * buffer.C (readInset): hack to make listof algorithm work
14841
14842         * BufferView_pimpl.C: hack to make listof algorithm work
14843
14844 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * LyXAction.C: removed all !NEW_INSETS cruft
14847         (init): moved lfun_item in method
14848
14849         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14850
14851 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14852
14853         * BufferView2.C (theLockingInset): white space.
14854
14855 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * minibuffer.C: include <iostream>
14858
14859         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14860
14861         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14862
14863         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14864
14865         * text.[Ch] (TransposeChars): new method
14866
14867 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14868
14869         * call message directly through LyXView instead of through LyXFunc
14870         * BufferView2.C: adjust
14871         * BufferView_pimpl.C: adjust
14872         * FontLoader.C: adjust
14873         * buffer.C: adjust
14874         * bufferview_funcs.C: adjust
14875         * converter.C: adjust
14876         * figureForm.C: adjust
14877         * importer.C: adjust
14878         * lyx_cb.C: adjust
14879         * lyx_gui_misc.C: adjust
14880         * lyxfunc.C: adjust
14881         * lyxvc.C: adjust
14882         * text2.C: adjust
14883         + more files in subdirs
14884
14885         * lyxparagraph.h (size): move up int file
14886         (GetLayout): ditto
14887
14888         * adjust all uses of Assert to lyx::Assert.
14889
14890         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14891         lyxfunctional in namespace lyx
14892         * layout.C (hasLayout): ditto
14893         (GetLayout): ditto
14894         (GetLayout): ditto
14895         (delete_layout): ditto
14896         (NumberOfClass): ditto
14897         * converter.C (GetFormat): ditto
14898         (GetNumber): ditto
14899         (Add): ditto
14900         (Delete): ditto
14901         (SetViewer): ditto
14902         * bufferlist.C (getFileNames): ditto
14903         (emergencyWriteAll): ditto
14904         (exists): ditto
14905         (getBuffer): ditto
14906         * MenuBackend.C (hasSubmenu): ditto
14907         (hasMenu): ditto
14908         (getMenu): ditto
14909         * BufferView_pimpl.C (getInsetByCode): ditto
14910
14911 2001-04-18  Juergen Vigna  <jug@sad.it>
14912
14913         * vspace.C (asLatexString): fixed the 100% problem.
14914
14915 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * lyxfunc.C (Dispatch):
14918         * minibuffer.C:
14919         * minibuffer.h: add a few std:: qualifiers
14920
14921 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * minibuffer.[Ch]: reimplement so that commands is initiated and
14924         run from lyxfunc, simplified som handling, and made the completion
14925         and history code for complete. wip.
14926
14927         * lyxfunc.C (processKeySym): call message
14928         (miniDispatch): new temporary method
14929         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14930         (LFUN_MESSAGE): implement
14931         (LFUN_MESSAGE_PUSH): implement
14932         (LFUN_MESSAGE_POP): implement
14933         (initMiniBuffer): the initial/defualt minibuffer message.
14934
14935         * lyxfont.[Ch]: inline some more getters
14936
14937         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14938
14939         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14940
14941         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14942         (AutoSave): use LFUN_MESSAGE
14943         (Reconfigure): ditto
14944
14945         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14946
14947         * figureForm.C: use LFUN_MESSAGE
14948
14949         * converter.C (runLaTeX): use LFUN_MESSAGE
14950
14951         * bufferview_funcs.C: use LFUN_MESSAGE
14952         (Melt): ditto
14953         (changeDepth): ditto
14954
14955         * bufferparams.h: use boost::
14956
14957         * bufferlist.h: inherit privately from noncopyable
14958
14959         * bufferlist.C (loadLyXFile): remove some commented code.
14960
14961         * buffer.C (runChktex): use LFUN_MESSAGE
14962
14963         * ShareContainer.h: inherit privately from noncopyable
14964
14965         * ParagraphParameters.[hC] (depth): inline it.
14966
14967         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14968         methods.
14969         (message): new method
14970         (messagePush): ditto
14971         (messagePop): ditto
14972         (show): init minibuffer
14973         (showState): direct call
14974
14975         * LaTeX.[Ch]: inherit privately from noncopyable
14976         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14977         instead of WriteStatus.
14978
14979         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14980
14981         * BufferView_pimpl.C (buffer): don't init minibuffer
14982         (workAreaButtonPress): use LFUN_MESSAGE
14983         (workAreaButtonRelease): ditto
14984         (savePosition): ditto
14985         (restorePosition): ditto
14986         (MenuInsertLyXFile): ditto
14987         (workAreaExpose): don't init minibuffer
14988         (update): remove commented code, simplify
14989
14990         * BufferView2.C (openStuff): use LFUN_MESSAGE
14991         (toggleFloat): ditto
14992         (menuUndo): ditto
14993         (menuRedo): ditto
14994         (copyEnvironment): ditto
14995         (pasteEnvironment): ditto
14996         (copy): ditto
14997         (cut): ditto
14998         (paste): ditto
14999         (gotoInset): ditto
15000         (updateInset): remove some commented code
15001
15002         * lastfiles.h: inherit privately from noncopyable
15003         * layout.h: ditto
15004         * lyx_gui.h: ditto
15005         * lyx_main.h: ditto
15006         * lyxlex.h: ditto
15007         * lyxlex_pimpl.h: ditto
15008
15009         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15010         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15011         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15012
15013         * LyXAction.h: inherit privately from noncopyable, add methods
15014         func_begin, func_end, returning iterators to the func map.
15015
15016         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15017         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15018         (func_begin): new method
15019         (func_end): new method
15020
15021         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15022         and not)
15023         (copySelection): ditto
15024         (pasteSelection): ditto
15025
15026         * BufferView.C: whitespace change
15027         * BufferView.h: inherit privately from noncopyable
15028
15029 2001-04-16  Allan Rae  <rae@lyx.org>
15030
15031         * tabular-old.C (l_getline):
15032         * spellchecker.C (sc_check_word):
15033         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15034         an unrecognised preprocessor directive.  So ensure they're wrapped.
15035
15036 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15037
15038         * src/exporter.C (Export): Give an error message when path to file
15039         contains spaces.
15040
15041 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15042
15043         * LaTeX.C (deplog): Always check that foundfile exists.
15044
15045 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * lyx_main.h:
15048         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15049
15050 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15051
15052         * tabular.[Ch] (getLabelList): implement new method
15053
15054         * minibuffer.h: comment ouf setTiimer
15055
15056         * minibuffer.C (ExecutingCB): constify res
15057         (peek_event): constify s
15058         (Set): constify ntext
15059         (Init): constify nicename
15060
15061         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15062
15063         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15064         (savePosition): use two params to Minibuffer::Set
15065         (restorePosition): ditto
15066
15067 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * lyx_main.C: include language.h
15070
15071         * Makefile.am (lyx_main.o): add language.h
15072
15073 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * exporter.C:
15076         * paragraph.C:
15077         * screen.C:
15078         * tabular.C:
15079         * CutAndPaste.C: include gettext.h
15080
15081         * lyxfont.h: remove old hack with ON and OFF.
15082
15083         * lyxparagraph.h:
15084         * lyxfont.h: do not include language.h...
15085
15086         * BufferView2.C:
15087         * LaTeXFeatures.C:
15088         * Painter.C:
15089         * bufferview_funcs.C:
15090         * font.C:
15091         * lyxfont.C:
15092         * text.C:
15093         * text2.C:
15094         * trans_mgr.C:
15095         * paragraph.C: ... but do it here instead
15096
15097 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15100
15101         * tabular.C: small reformat
15102
15103         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15104         NEW_INSETS version
15105         (GetChar): ditto
15106         (BreakParagraph): ditto
15107         (SetOnlyLayout): ditto
15108         (SetLayout): ditto
15109
15110         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15111         with one arg less.
15112
15113         * lastfiles.C: removed most using decl, add std:: where needed
15114
15115         * buffer.C: ws changes
15116
15117         * MenuBackend.C (class compare_format): put into anon namespace
15118         (expand): constify label, names, action, action2
15119         (expand):
15120
15121         * text.C (SingleWidth): constify font
15122         (IsBoundary): constify rtl2
15123         (GetVisibleRow): constify ww
15124
15125         * LaTeX.C (deplog): constify logfile
15126
15127         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15128         start_x, end_x
15129         (workAreaExpose): constify widthChange, heightChange
15130
15131         * lyxrow.C (par): moved
15132         (height): moved
15133         (next): moved
15134         * lyxrow.h: as inlines here
15135
15136         * lyxfont.h (shape): moved from lyxfont.C
15137         (emph): moved from lyxfont.C
15138
15139         * lyxfont.C (LyXFont): use initialization list for all
15140         constructors
15141         (shape): move to lyxfont.h as inline
15142         (emph): move to lyxfont.h as inline
15143
15144
15145 2001-04-04  Juergen Vigna  <jug@sad.it>
15146
15147         * vspace.C: had to include stdio.h for use of sscanf
15148
15149 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15150
15151         * BufferView.h:
15152         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15153         independent of xforms.
15154
15155 2001-04-02  Juergen Vigna  <jug@sad.it>
15156
15157         * spellchecker.C: fixed namespace placing!
15158
15159 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15160
15161         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15162         the LyXParagraph * is 0.
15163
15164 2001-03-29  Juergen Vigna  <jug@sad.it>
15165
15166         * vspace.C: added support for %, c%, p%, l%.
15167         (stringFromUnit): added helper function.
15168         (asLatexString): changed to give right results for the %-values.
15169
15170         * buffer.C: convert the widthp in a width%.
15171
15172 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15173
15174         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15175         figureForm.[Ch].
15176
15177         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15178         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15179
15180         * lyx_cb.[Ch]: see above.
15181
15182         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15183         form1.[Ch].
15184
15185         * form1.[Ch]:
15186         * lyx.[Ch]: replaced by figure_form.[Ch].
15187
15188         * lyx_gui.C:
15189         * lyx_gui_misc.C:
15190         * lyxfunc.C: changed headers associated with above changes.
15191
15192 2001-03-27  Juergen Vigna  <jug@sad.it>
15193
15194         * BufferView_pimpl.C: set the temporary cursor right!
15195
15196 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15197
15198         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15199
15200 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15201
15202         * LString.h: removed "using std::getline"!
15203
15204         * BufferView_pimpl.C (Dispatch): changes due to changes in
15205         InsetInclude::Params.
15206
15207         * buffer.C (tag_name): removed redundant break statements as they were
15208         producing lots of warnings with my compiler.
15209
15210 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15211
15212         * LString.h: add "using std::getline" when using the real <string>.
15213
15214 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15215
15216         * buffer.C: removed bitset usage.
15217         PAR_TAG moved to an anonymous name space.
15218         (tag_name): new funtion, also in the anonymous namespace.
15219         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15220         (makeDocBookFile): clean code. Completed transition from string arrays
15221         to string vectors.
15222         (SimpleDocBookOnePar): code clean.
15223
15224 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15225
15226         * tabular.C: add some comments.
15227
15228 2001-03-22  Juergen Vigna  <jug@sad.it>
15229
15230         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15231         compatibility read a bit and fixed bug with minipage in different
15232         depth.
15233
15234 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15235
15236         * buffer.C (pop_tag): removed.
15237         (push_tag): removed.
15238         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15239         array replaced with vector. Added support for CDATA sections.
15240         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15241         at any nest level.
15242         (makeDocBookFile): XML conformant declaration of CDATA section,
15243         fixed bug related to <emphasis> in the first paragraph char.
15244         (sgmlOpenTag): exclude empty tags.
15245         (sgmlCloseTag): ditto.
15246
15247         * buffer.h (pop_tag): removed.
15248         (push_tag): removed.
15249
15250 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * language.h (Languages): added size_type and size().
15253
15254 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15255
15256         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15257         response on compability reading of minipages. One probliem is that
15258         the old usage of minipages was «flertydig»
15259
15260         * several files here and in subdirs: don't use static at file
15261         scope use anon namespaces instead.
15262
15263 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15264
15265         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15266         LaTeX output. This is necessary for Literate document
15267         processing.
15268
15269 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15270
15271         * buffer.C: insert hfill when needed.
15272
15273         * tabular.C (l_getline): use string::erase, small whitespace change.
15274
15275         * BufferView_pimpl.C: try the anon namespace.
15276         * WorkArea.C: ditto
15277
15278 2001-03-16  Juergen Vigna  <jug@sad.it>
15279
15280         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15281         otherwise it won't open options-dialogs.
15282
15283         * buffer.C: honor pextraWidth(p) on converting minipages.
15284
15285         * tabular.C (l_getline): changed the functions to strip trailing \r.
15286
15287 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         * BufferView_pimpl.C:
15290         * minibuffer..C: added "using SigC::slot" declaration.
15291
15292 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15293
15294         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15295
15296         * text2.C: ditto
15297
15298         * text.C: ditto
15299
15300         * paragraph.C: ditto
15301
15302         * lyxtext.h: NO_PEXTRA
15303
15304         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15305
15306         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15307         * ParameterStruct.h: ditto
15308         * ParagraphParameters.h: ditto
15309         * lyxparagraph.h: ditto
15310
15311 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15312
15313         * buffer.C: add compability for minipage alignment.
15314         (latexParagraphs): remove unwanted pextra check.
15315
15316         * several files: remove CXX_WORKING_NAMESPACES
15317
15318         * buffer.C (pop_tag): tie is in namespace boost
15319
15320         * BufferView.h: noncopyable is in namespace boost
15321         * lyxlex.h: ditto
15322         * lyx_main.h: ditto
15323         * lyx_gui.h: ditto
15324         * layout.h: ditto
15325         * lastfiles.h: ditto
15326         * bufferlist.h: ditto
15327         * ShareContainer.h: ditto
15328         * LyXView.h: ditto
15329         * LyXAction.h: ditto
15330         * LaTeX.h: ditto
15331
15332 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15333
15334         * Merging changes from BRANCH_MVC back into HEAD.
15335
15336         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15337
15338 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15339
15340         * BufferView_pimpl.C: change from intl.C
15341
15342         * combox.h:
15343         * combox.C:
15344         * Makefile.am: move combox.*
15345
15346         * form1.h:
15347         * form1.C:
15348         * lyx_gui.C:
15349         * intl.h:
15350         * intl.C: remove dialog (covered by prefs)
15351
15352 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15353
15354         * lyxfunc.C (Dispatch): removed redundant break statement.
15355
15356 2001-03-14  Juergen Vigna  <jug@sad.it>
15357
15358         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15359
15360 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15361
15362         * buffer.C: add hack to fix compability reading of minipages.
15363
15364 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15365
15366         * buffer.C (getLists): Cleanup.
15367
15368 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * lyxfont.C (update): don't honor toggleall on font size.
15371
15372 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15373
15374         * bmtable.c:
15375         * bmtable.h:
15376         * Makefile.am: moved to frontends/xforms/
15377
15378         * lyx_gui_misc.C:
15379         * lyxfunc.C:
15380         * BufferView_pimpl.C: changes for moved mathpanel
15381
15382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * gettext.h: fix gettext_init() in --disable-nls
15385
15386 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15389
15390 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15391
15392         * lyx.C:
15393         * lyx.h: strip external form
15394
15395 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15396
15397         * BufferView_pimpl.C: add comment, destroySplash()
15398
15399 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15400
15401         * BufferView_pimpl.C:
15402         * LyXAction.C:
15403         * buffer.C:
15404         * commandtags.h:
15405         * lyxfunc.C: use re-worked insetinclude
15406
15407 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15408
15409         * buffer.C: add using std::stringstream.
15410
15411         * lyx_cb.C: readd using std::ios.
15412
15413         * buffer.C: add using std::map.
15414
15415         * BufferView_pimpl.C: add using std::vector.
15416
15417         * ShareContainer.h: add std:: to swap.
15418
15419         * buffer.h: add some typedefs
15420         * buffer.C (getLists): use them
15421         (getLists): renamed from getTocList.
15422         add a counter for the different float types and use it in the
15423         generated string.
15424         (getLists): use the same counter for the NEW_INSETS and the "non"
15425         NEW_INSETS
15426
15427         * lyx_cb.h: remove unused items, includes, using etc.
15428
15429         * ShareContainer.h: remove some commented code, add more comments
15430         and "documentation".
15431
15432 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15433
15434         * buffer.C (getTocList): make the list also when NEW_INSETS is
15435         defined.
15436
15437         * buffer.h: remove TocType
15438
15439         * buffer.C (getTocList): change to return a map<string,
15440         vector<TocItem> >, implement for dynamic number of list.
15441
15442         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15443         * text2.C (PasteSelection): adjust
15444         * CutAndPaste.C (pasteSelection): adjust
15445
15446         * FloatList.C (FloatList): update from the new_insets branch.
15447         * Floating.[Ch]: ditto
15448         * LaTeXFeatures.C: ditto
15449         * buffer.C: ditto
15450         * lyxlex_pimpl.C: ditto
15451
15452         * paragraph.C (Last): remove when NEW_INSETS is defined.
15453
15454         * other file: changes because of the above.
15455
15456 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15457
15458         * lyxparagraph.h: rename next to next_, previous to previous_,
15459         make them private for NEW_INSETS. Rename Next() to next(),
15460         Previous() to previous().
15461
15462         * other files: changes because of the above.
15463
15464 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15465
15466         * BufferView.h:
15467         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15468         problem.
15469
15470 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * main.C (main): pass lyx_localedir to gettext_init().
15473
15474         * gettext.h: remove locale_init and gettext_init macros
15475
15476         * gettext.C (locale_init): new function
15477         (gettext_init): new function
15478
15479         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15480         setlocale().
15481
15482 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15483
15484         * Moved credits to frontends:
15485         * credits.[Ch]: removed
15486         * credits_form.[Ch]: removed
15487         * lyx_gui_misc.C: remove credits stuff
15488         * Makefile.am:
15489
15490 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15491
15492         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15493
15494         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15495         unneeded destructor.
15496
15497         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15498         a standalone pointer again.
15499
15500         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15501
15502 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15503
15504         * Makefile.am:
15505         * filedlg.h:
15506         * filedlg.C:
15507         * LyXAction.C:
15508         * ToolbarDefaults.C:
15509         * bufferlist.C:
15510         * commandtags.h:
15511         * form1.C:
15512         * form1.h:
15513         * lyx_cb.C:
15514         * lyx_cb.h:
15515         * lyxfunc.h:
15516         * lyxfunc.C:
15517         * BufferView_pimpl.C: use new file dialog in GUII
15518
15519         * lyx_cb.h:
15520         * lyx_cb.C: remove LayoutsCB to Toolbar
15521
15522 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * ShareContainer.h (get): add std:: qualifier
15525
15526 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15527
15528         * ShareContainer.h: define a proper ShareContainer::value_type
15529         type (and use typename to please compaq cxx)
15530
15531 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15532
15533         * lyxparagraph.h: move serveral local vars to
15534         ParameterStruct/ParagraphParameters., use ShareContainer in
15535         FontTable., make vars in FontTable private and add getter and
15536         setter.
15537
15538         * paragraph.C: changes because of the above.
15539
15540         * lyxfont.h: remove copy constructor and copy assignment. (the
15541         default ones is ok), move number inside FontBits. move inlines to
15542         lyxfont.C
15543
15544         * lyxfont.C: add number to initializaton of statics, move several
15545         inlines here. constify several local vars. some whitespace
15546         cleanup. Dont hide outerscope variables.
15547
15548         * Spacing.h: add two new constructors to match the set methods.
15549
15550         * ShareContainer.h: new file, will perhaps be moved to support
15551
15552         * ParameterStruct.h: new file
15553
15554         * ParagraphParameters.h: new file
15555
15556         * ParagraphParameters.C: new file
15557
15558         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15559         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15560
15561         * BufferView_pimpl.C: ParagraphParameter changes.
15562         * buffer.C: Likewise.
15563         * bufferview_funcs.C: Likewise.
15564         * text.C: Likewise.
15565         * text2.C: Likewise.
15566
15567 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * lyxfind.C (LyXReplace): do not redefine default argument in
15570         implementation.
15571         (IsStringInText): ditto
15572         (SearchForward): ditto
15573         (SearchBackward): ditto
15574
15575 2001-03-06  Juergen Vigna  <jug@sad.it>
15576
15577         * lyxfind.C (IsStringInText): put parentes around expressions.
15578
15579 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15580
15581         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15582
15583 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15586
15587         * stl_string_fwd.h: add comment
15588
15589         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15590
15591         * tabular.h:
15592         * tabular.C: remove unused DocBook methods
15593
15594         * intl.C:
15595         * language.C:
15596         * paragraph.C:
15597         * buffer.C:
15598         killed DO_USE_DEFAULT_LANGUAGE
15599
15600 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15601
15602         * lyx_gui.C: do not include language.h.
15603
15604         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15605         arguments in function implementation.
15606
15607 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15608
15609         * BufferView_pimpl.C: add <ctime>
15610
15611 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15612
15613         * BufferView_pimpl.C: add using std::find_if
15614
15615 2001-02-27  José Matos  <jamatos@fep.up.pt>
15616
15617         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15618         by OnlyPath.
15619
15620 2001-02-11  José Matos  <jamatos@fep.up.pt>
15621
15622         * buffer.C (makeDocBookFile): command styles now have a parameter as
15623         "title" by default.
15624
15625 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15626
15627         * layout_forms.[Ch]: removed
15628         * lyx_cb.[Ch]: out character
15629         * lyx_gui.C: out character
15630         * lyx_gui_misc.C: out character
15631         * bufferview_funcs.C: : out character,
15632         added toggleall as parameter in ToggleAndShow
15633
15634 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15637
15638         * text2.C (SetCurrentFont): Disable number property at boundary.
15639
15640 2001-02-26  Juergen Vigna  <jug@sad.it>
15641
15642         * lyxfunc.C (getStatus): added a string argument override function so
15643         that this is correctly called from LyXFunc::Dispatch if it contains a
15644         do_not_use_argument which is used!
15645         (Dispatch): added check for "custom" export and call appropriate func.
15646
15647 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * lyxrc.C: Add language_command_local, language_use_babel and
15650         language_global_options.
15651
15652         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15653
15654         * buffer.C (makeLaTeXFile): Use language_use_babel and
15655         language_global_options.
15656
15657 2001-02-23  Juergen Vigna  <jug@sad.it>
15658
15659         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15660         which works with LyXText and putted it inside BufferView. Here now we
15661         only call for that part the BufferView::Dispatch() function.
15662
15663         * BufferView.C (Dispatch): added.
15664
15665         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15666         functions which needs to use a LyXText over from LyXFunc.
15667         (MenuInsertLyXFile): added
15668         (getInsetByCode): added
15669         (moveCursorUpdate): added
15670         (static TEXT): added
15671
15672 2001-02-22  Juergen Vigna  <jug@sad.it>
15673
15674         * BufferView_pimpl.C (update): call a status update to see if LyXText
15675         needs it.
15676
15677 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15678
15679         * vc-backend.C (revert): implement for CVS
15680         (getLog): implement for CVS
15681
15682 2001-02-20  Juergen Vigna  <jug@sad.it>
15683
15684         * text2.C (ClearSelection): added BufferView param for inset_owner call
15685
15686         * lyxfunc.C (TEXT): added this function and use it instead of
15687         directly owner->view()-text of getLyXText().
15688
15689 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15690
15691         * src/layout_forms.C: out preamble
15692         * src/layout_forms.h: out preamble
15693         * src/lyx_cb.C: out preamble
15694         * src/lyx_cb.h: out preamble
15695         * src/lyx_gui.C: out preamble
15696         * src/lyx_gui_misc.C: out preamble
15697         * src/lyxfunc.C: connect with guii preamble
15698
15699 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15702
15703 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15704
15705         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15706         whether to run bibtex.
15707
15708 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15709
15710         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15711
15712 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15713
15714         * Makefile.am (lyx_SOURCES): removed bibforms.h
15715
15716         * vspace.h: doxygen
15717
15718         * text.C (GetVisibleRow): make several local vars const
15719
15720         * tabular.C: small cleanup.
15721
15722         * lyxserver.C (callback): use compare instead of strncmp
15723
15724         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15725         inlines to after class or to paragraph.C
15726
15727         * lyxfont.h: remove friend operator!=
15728
15729         * converter.h: move friend bool operator< to non friend and after
15730         class def.
15731
15732         * combox.h: small cleanup
15733
15734         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15735         to inlines after class def.
15736
15737         * buffer.C (pop_tag): use string operations instead of strcmp
15738
15739         * bmtable.c: doxygen, small cleanup
15740
15741         * LaTeX.h: remove friend operator==
15742
15743 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15744
15745         * screen.C:
15746         * lyxrc.[Ch]:
15747         * lyxfunc.C:
15748         * lyxfont.[Ch]:
15749         * lyx_cb.C:
15750         * intl.[Ch]:
15751         * commandtags.h:
15752         * buffer.C:
15753         * WorkArea.[Ch]:
15754         * LyXAction.C:
15755         * BufferView_pimpl.C:
15756         * BufferView.[Ch]: remove cruft
15757
15758 2001-02-14  Juergen Vigna  <jug@sad.it>
15759
15760         * lyxfunc.C: removed #if 0 unused code
15761
15762         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15763
15764         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15765
15766         * text2.C (SetSelection): added a BufferView * parameter
15767
15768 2001-02-13  Juergen Vigna  <jug@sad.it>
15769
15770         * lyxfunc.C (Dispatch): fixed protected blank problem.
15771         * BufferView2.C (protectedBlank): added LyxText * parameter.
15772
15773         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15774         (AppendColumn): same as above for column_info.
15775
15776         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15777         (moveCursorUpdate): use a LyXText param for support of InsetText.
15778
15779         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15780         (tripleClick): ditto
15781
15782         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15783
15784         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15785
15786         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15787
15788         * text2.C (SetSelection): set correct update status if inset_owner
15789         (ToggleFree): ditto
15790
15791 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15792
15793         * tabular.C: remove some commented code.
15794
15795 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15796
15797         * BufferView_pimpl.C: call hideSplash()
15798
15799         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15800
15801         * include_form.h:
15802         * bibforms.h: remove
15803
15804         * lyxfunc.C:
15805         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15806           add LFUN_CHILD_CREATE
15807
15808         * counters.h: fix tiny typo
15809
15810         * lyx_cb.C:
15811         * lyx.h:
15812         * lyx_gui.C:
15813         * lyx.C: move splash to frontends/xforms/
15814
15815         * lyx_gui_misc.C: move Include and Bibform to frontends
15816
15817         * lyxvc.h: clarify comment
15818
15819         * vspace.C: tiny housekeeping
15820
15821 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15822
15823         * text.C (PrepareToPrint): RTL Fix.
15824
15825         * paragraph.C (GetUChar): New method.
15826         (String):  Use GetUChar.
15827
15828         * buffer.C (asciiParagraph): Use GetUChar.
15829
15830 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15833
15834 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15835
15836         * buffer.h:
15837         * buffer.C: rename to getLogName(), handle
15838           build log / latex log nicely
15839
15840 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * MenuBackend.C:
15843         * MenuBackend.h: remove support for reference menuitem type.
15844
15845 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15846
15847         * BufferView_pimpl.C: housekeeping
15848         * BufferView_pimpl.h:
15849         * LyXView.h:
15850         * Makefile.am:
15851         * Timeout.C:
15852         * Timeout.h:
15853         * minibuffer.h: move Timeout GUI-I
15854
15855 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15856
15857         * lyxrc.C (read): Update converters data-structures.
15858
15859 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15860
15861         * LaTeX.h (operator!=): add operator != for Aux_Info
15862
15863 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15864
15865         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15866
15867         * LaTeXLog.C: deleted, useful code moved to Buffer
15868
15869         * buffer.h:
15870         * buffer.C: new function getLatexLogName()
15871
15872         * lyx_gui_misc.C:
15873         * lyx_gui.C:
15874         * lyxvc.C:
15875         * lyxvc.h:
15876         * lyxfunc.C: use frontends for LaTeX and VC logs
15877
15878 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * LaTeX.h: yet another std:: that Allan forgot.
15881
15882         * Variables.C (set): renamed from isset(), because this clashes
15883         with some HP-UX macros (grr).
15884
15885 2001-02-06  Allan Rae  <rae@lyx.org>
15886
15887         * LaTeX.h: Another bug fix.  Missing std:: this time.
15888
15889 2001-02-04  Allan Rae  <rae@lyx.org>
15890
15891         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15892         floats problem. I've left it commented out because it's not quite
15893         correct.  It should also test that the current object is a table or
15894         figure inset.  But I haven't gotten around to figuring out how to do
15895         that.  I *think* it'll be something like: "table" == inset.type()
15896
15897         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15898         bool.
15899
15900 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15901
15902         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15903         all the citation/databases/styles in the auxilary file.
15904         (run): Rerun latex if there was a babel language error.
15905
15906 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15907
15908         * text.C (Backspace): Preserve the font when changing newline char
15909         with a space.
15910         (BreakParagraph): If the cursor is before a space, delete the space.
15911
15912         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15913
15914 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15915
15916         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15917         new argument (code).
15918         (ChangeCitationsIfUnique): New method.
15919
15920         * paragraph.C (GetPositionOfInset): Handle bibkey.
15921
15922 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * BufferView_pimpl.h: change type of Position::par_pos to
15925         LyXParagraph::size_type.
15926
15927 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * BufferView_pimpl.C (savePosition, restorePosition): Write
15930         messages to minibuffer.
15931
15932 2001-01-28  José Matos  <jamatos@fep.up.pt>
15933
15934         * buffer.C (makeDocBookFile): adds support for document language.
15935         A silly restriction on the name of LatexCommand types where removed.
15936         Added support for CDATA sections, allows to chars unescaped, used
15937         among others in code, to avoid escape < and >.
15938
15939 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15942         saved positions instrad of a stack. Furthermore, a position is
15943         stored using paragraph id/paragraph position.
15944
15945         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15946         Remove LFUN_REF_BACK.
15947
15948 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * converter.C (dvipdfm_options): New method.
15951
15952 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15953
15954         * vspace.C (isValidLength): Fix for empty input string.
15955
15956 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * LyXAction.C (init): change description of LFUN_FIGURE to
15959         "Insert Graphics"
15960
15961 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15962
15963         * LaTeX.C: add using directive
15964
15965 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * MenuBackend.C (expand): Fix the sorting of the formats.
15968
15969 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15970
15971         * lyx_main.C: tiny error message fix
15972
15973 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15974
15975         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15976         calling fl_initialize(). This fixes the problem with ',' as
15977         decimal separator in text files.
15978
15979 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15980
15981         * trans.C (process): Fix the keymap bug.
15982
15983 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * LaTeX.C (scanAuxFiles): New method. Provides support for
15986         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15987         (scanLogFile) Scan for "run BibTeX" messages.
15988
15989         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15990         OT1 font encoding. Also, load the aecompl package if the ae
15991         package is loaded.
15992
15993         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15994
15995 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15996
15997         * texrow.C (increasePos): turn two error messages into debug
15998         messages.
15999
16000 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * LaTeX.C (scanAux): Handle the \@input macro.
16003         (runBibTeX): Use scanAux().
16004
16005         * language.C (latex_options_): New field.
16006
16007         * LaTeXFeatures.C (getMacros): Add language macros.
16008
16009         * buffer.C (makeLaTeXFile): Small fix.
16010
16011 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16014
16015         * text2.C: add a using directive.
16016
16017 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16018
16019         * BufferView2.C:
16020         * lyx_gui_misc.h:
16021         * lyxfr1.C:
16022         * lyxfunc.C: kill LyXBell.
16023
16024 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16025
16026         * text.C (IsBoundary): Remove the error message
16027
16028         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16029
16030         * lyxrc.C (setDefaults): Correct initialization value for
16031         font_norm_type.
16032
16033 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16034
16035         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16036         gotoError().
16037
16038         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16039         and GotoNextNote().
16040
16041         * src/LyXAction.C: Added reference-next.
16042
16043         * text.C (InsertChar): Use contains instead of strchr.
16044
16045         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16046
16047 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16048
16049         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16050         alignment commands (when needed).
16051
16052         * text.C (InsertChar): Add ':' to number separator chars.