]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
060df91447072510ffd5ce63440b66b3dba43569
[lyx.git] / src / ChangeLog
1 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * pch.h: do not use include boost/format.hpp, multiple symbols
4                 will result (gcc bug)
5
6
7 2004-08-23  José Matos  <jamatos@lyx.org>
8
9         * bufferparams.C (readToken): fix reading of the author field.
10
11 2004-08-20  José Matos  <jamatos@lyx.org>
12
13         * lyxrc.C: remove support/translator.h inclusion since it is not used.
14
15 2004-08-20  José Matos  <jamatos@lyx.org>
16
17         * lyxlex.[Ch] (findToken): remove function.
18
19         * ParagraphParameters.C (findToken):
20         * bufferparams.C (findToken): replace call for previous function
21         with local copy. This local function has one more argument, the
22         read string argument.
23
24 2004-08-16  José Matos  <jamatos@lyx.org>
25
26         * ParagraphParameters.C (write):
27         * Spacing.C (writeFile):
28         * bufferparams.C (writeLaTeX):
29         * lyx_cb.C (Reconfigure):
30         * paragraph.C (write):
31         * tabular.C (write): remove unnecessary space at end of line.
32
33
34 2004-08-16  José Matos  <jamatos@lyx.org>
35
36         * text.C (readParagraph): remove debug message.
37
38 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
41         crash
42
43         * output_plaintext.C (asciiParagraph): set depth correctly
44
45         * outputparams.h: add member depth
46
47         * paragraph_funcs.C (ownerPar): remove.
48
49         * text2.C (setCounter): remove first_pit; comment out some
50         non-working code that uses ownerPar
51
52         * BufferView.C (getParentLanguage): remove. Not used anymore, and
53         uses ownerPar
54
55 2004-08-16  José Matos  <jamatos@lyx.org>
56
57         * text.C (readParToken, readParagraph, read): report all unknown tokens.
58         For the same level of importance use the same chanel to report problems.
59         (read): add code to deal with \begin_body and \end_body.
60
61
62 2004-08-15  José Matos  <jamatos@lyx.org>
63
64         * lyxlex.C (getString): fix comment, buffer::readBody is now
65         buffer:readDocument.
66
67         * tex-strings.C (string_papersize): Default -> default,
68         Custom -> custom, for consistency with other options.
69
70 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
71
72         * pch.h: new file
73
74         * Makefile.am: support pch
75
76 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * text.C (readParToken): remove the static LyXFont variable and
79         pass it as a parameter instead. This fixes a nasty bug where an
80         inset will be inserted with a bad font in some situations
81         (readParagraph): adapt
82
83         * text2.C (setCounter): reduce number of calls to pars_[pit]
84
85         * text.C (singleWidth): add an assert, fix a test
86
87         * rowpainter.C (paintText): reduce number of calls to singleWidth
88
89         * paragraph.C (isHfill):
90         (isNewline): ws only
91
92 2004-08-14  André Pönitz  <poenitz@gmx.net>
93
94         * text.C:
95         * text2.C:
96         * rowpainter.C:
97         * lyxtext.h (several functions): use a Paragraph & argument
98         instead of par_type
99
100 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * metricsinfo.h: add a new field ltr_pos to PainterInfo
103
104         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
105
106         * text.C (singleWidth): remove useless test
107
108 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * tabular.h: remove bogus comments
111
112         * tabular.C (getDescentOfRow):
113         (isPartOfMultiColumn): add assertions
114
115         * lyxlength.C (inPixels): remove #warning
116
117 2004-08-14  André Pönitz  <poenitz@gmx.net>
118
119         * paragraph.h: inline getChar()
120
121         * BufferView.h: remove unused declarations
122
123 2004-08-14  José Matos  <jamatos@lyx.org>
124
125         * Buffer.[Ch] (readDocument): new name for old readBody.
126         * Buffer.C: new file format, new keywords: \begin_document,
127         \begin_header, \begin_body, \end_body.
128
129         * bufferparams.C (readToken): replace all calls to lex.nextToken
130         by lex.next(). Do the same to eatLine except where really needed.
131
132         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
133         line when writing to the lyx file.
134
135         * output_plaintext.C (asciiParagraph): fix Bibliography style
136         handling.
137
138         * text.C (read): fix end of file handling.
139
140 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * MenuBackend.C (Menu::operator[]): new method to access
143         individual menu items
144         (Menu::hasFunc): new method. search for an item that corresponds
145         to a given func
146         (MenuBackend::specialMenu): new method
147         (MenuBackend::expand): if a special menu has been set, skip
148         entries whose func() appears in this menu
149
150 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
151
152         * text3.C: use Debug::DEBUG a bit more
153
154         * text.C (leftMargin): try to simplify a tiny bit change var x to
155         l_margin. Dont output the wide margins always.
156         (rightMargin): no margin in inner texts
157
158         * rowpainter.h (nestMargin): new func
159         (changebarMargin): new func
160         (rightMargin): new func
161
162         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
163         now functions.
164         (paintLast): ditto
165
166         * factory.C (createInset): modify setDrawFrame
167
168         * cursor.C: use Debug::DEBUG a bit more
169
170 2004-08-14  André Pönitz  <poenitz@gmx.net>
171
172         * coordcache.[Ch]:
173         * Makefile.am: new files to accomodate an 'external' (x,y)-position
174         cache for all insets in (at least partially) visible (top-level)
175         paragraphs.
176
177         * BufferView_pimpl.C: reset external coord cache before every update.
178         This means the coord cache only contains valid entries.
179
180 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
181
182         bug 1096
183         * BufferView_pimpl.C (getInsetByCode): move function out of class
184         and change in to a template in anon namespace. Also fix to do what
185         suits us better.
186
187 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
188
189         bug 1305
190         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
191         of char
192         (breakParagraph): rename par to par_offset and use a local
193         reference. Add code to keep the language over a rebreak.
194         (breakParagraphConservative): rename par to par_offset, use a
195         local reference
196         (mergeParagraph): ditto
197         (outerHook): ditto
198         (isFirstInSequence): ditto
199         (outerFont): rename pit to par_offset
200
201         * paragraph.C: ws change
202         * paragraph.h: ditto
203         * text3.C: ditto
204         * text.C: ditto
205
206 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
209         treatment for ']'
210
211         * paragraph.C (simpleTeXOnePar): when we have a \item with
212         optional argument, enclose the argument with curly brackets (in
213         case it contains a closing square bracket)
214
215         * text2.C (editXY):
216         * text2.C (editXY):
217         * text3.C (checkInsetHit): constify
218
219 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
222         documents (bug 1629)
223
224 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         Fix toggling of collapsable insets with the mouse (bug 1558)
227
228         * lyxfunc.C (dispatch): adapt to LCursor changes
229
230         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
231         make sure that dispatch is not invoked twice
232
233         * cursor.C (needsUpdate): new method
234         (dispatch): return void
235         (result): new method, to access the DispatchResult of the cursor.
236
237 2004-08-13  José Matos  <jamatos@lyx.org>
238
239         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
240
241 2004-08-13  André Pönitz  <poenitz@gmx.net>
242
243         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
244
245         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
246           multiple cells
247
248 2004-08-12  André Pönitz  <poenitz@gmx.net>
249
250         * text3.C: take out the 'cursor right' form insertInset and only
251         do it in those places when it is really needed. Fixes crash on
252         C-m...
253
254 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
257
258         * BufferView_pimpl.C (setBuffer): initialize the current font of
259         the underlying LyXText
260
261 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * kbsequence.C (print): use UI native formatting for menu
264         shortcuts
265
266         * text.C (insertChar): call Paragraph::insertChar with a font
267         argument (cosmetic)
268
269         * paragraph.C (insertInset, insertChar): the version that takes a
270         LyXFont argument is now a wrapper around the other one (the
271         opposite used to be true).
272
273         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
274         argument. Font setting is done in Paragraph now.
275
276 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * outputparams.h: add new members intitle and lang.
279
280         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
281         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
282
283 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
284
285         * text3.C (dispatch): remove special handling of button 4 and 5,
286         it is now taken care of in the frontend code.
287
288 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * Spacing.h: add <string> (STLPort compile fix)
291
292 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
293
294         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
295
296 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
297
298         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
299         to bool.
300
301         * converter.C (showMessage): inherit from unary_function, make
302         operator() const.
303
304         * buffer.C (writeFile): initialize retval
305
306         * InsetList.h: rename private variable list to list_
307         * InsetList.[Ch]: adjust accordingly.
308
309 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
312         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
313         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
314         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
315         * ParagraphParameters.C, LaTeXFeatures.C: replace
316         "support/std_sstream.h" with <sstream>
317
318 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
319
320         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
321         * lyxsocket.C (LyXServerSocket): ditto
322         (serverCallback): ditto
323
324 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
325
326         * LaTeXFeatures.C: check release date when loading jurabib.
327
328 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
329
330         * lyxserver.C (startPipe): call register_socket_callback
331         (endPipe): call unregister_socket_callback
332
333 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
336         (LyXServerSocket): register the callback
337         (LyXServerSocket): unregister the callback
338         (fd): delete function
339         (serverCallback): improve error checking and setup the callbacks.
340         (dataCallback): change arg to fd.
341         (writeln): new func (copied fro the client socket) used for server
342         write to client.
343         (LyXDataSocket): simplify
344         (~LyXDataSocket): close ann unregiser callback
345         (server): delete function
346         (fd): delete function
347         (readln): small changes, improve some std::string usage
348         (writeln): constify a bit
349
350 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
353         Qt frontend
354
355 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * BufferView_pimpl.C (setBuffer): set the layout combox value only
358         after it has been populated
359
360 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * text2.C (insertInset): move cursor when inserting inset.
363
364 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * kbmap.C (findbindings): a couple of new methods. returns a
367         container of kb_sequence objects. The real work is done by the
368         private recursive version
369         (printbindings): uses findbindings to print out a bracketed list
370         of bindings (renamed from findbinding).
371
372         * MenuBackend.C (binding): use kb_keymap::findbindings
373
374         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
375
376 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
379
380 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * paragraph.C (isWord): return true on insets that report
383         isLetter().
384
385         * text.C (getWord): use Paragraph::isWord to decide what is in a
386         word and what is not; fix bug 1609.
387
388 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * tex-strings.C: add "none" to string_paperpackages[], fixes
391         off-by-one-error in the paperpackage selection.
392
393         * lyxlex.[Ch]:
394         * tex-strings.[Ch]: char const * string[n]
395         -> char const * const string[]
396
397 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
400         command, return early.
401
402 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
403
404         * debug.h: add DEBUG to enum and fix size of ANY.
405
406         * debug.C: add support for Debug::DEBUG
407         (showTags): cast errorTags.level to unsigned int
408
409         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
410         (redoCurrentBuffer): ditto
411         (updateScrollbar): ditto
412         * cursor.C (dispatch): ditto
413         * text2.C (setLayout): ditto
414         (setFont): ditto
415         (updateCounters): ditto
416         (editXY): ditto
417         (deleteEmptyParagraphMechanism): ditto
418
419 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
420
421         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
422         annotations to cleanup the Makefile slightly.
423
424 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * lyxrc.C: do not set user_email to a default value but use empty
427         instead. The entry used to be translated, which does not work
428         since at the point where lyxrc is constructed there is no
429         translation service available
430
431         * messages.C (getLocaleDir): remove and use directly
432         lyx_localedir() instead
433
434 2004-06-02  Angus Leeming  <leeming@lyx.org>
435
436         Fix crash caused by dereferencing null pointer 'exportdata' in
437         OutputParams by creating a new ExportData variable on the heap,
438         storing it in a boost::shared_ptr.
439         The crash was triggered when generating an Instant Preview
440         of an external inset.
441
442         * Makefile.am: add outputparams.C
443
444         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
445         (c-tor): allocate memory to it.
446
447         * exporter.C (c-tor): associated changes.
448
449 2004-06-01  Angus Leeming  <leeming@lyx.org>
450
451         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
452         contains data before calling isInset(0). (Bug 1513.)
453
454 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
455
456         * exporter.C (checkOverwrite): new method
457         * exporter.C (copyFile): new method
458         * exporter.C (Export): copy referenced files to the document dir
459         * exporter.[Ch]: new class ExportedFile
460         * exporter.[Ch]: new class ExportData. Contains currently the
461         names of referenced external files
462         * outputparams.h: add exportdata member.
463
464 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
465
466         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
467         version.C-tmp
468
469 2004-05-19  Angus Leeming  <leeming@lyx.org>
470
471         * LaTeXFeatures.C:
472         * ToolbarBackend.C:
473         * bufferparams.C:
474         * lyxfunc.C: small changes due to the introduction of namespace
475         lyx::frontend and the moving of namespace biblio to lyx::biblio.
476
477 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
478
479         * text3.C (dispatch): supress update when only moving the cursor
480         * cursor.C (selHandle): remove commented code
481
482 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
483
484         * paragraph.C (startTeXParParams): correct column count
485         * CutAndPaste.C (pasteSelection): remove const_cast
486         * output_docbook.C (docbookParagraphs): remove const_cast
487         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
488         const_cast and return ParagraphList::const_iterator
489         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
490         * output_plaintext.C (writeFileAscii): remove const_cast
491         * paragraph.[Ch] (simpleTeXOnePar): make const
492         * paragraph_funcs.C (outerPar): use const iterators
493         * paragraph_pimpl.C (validate): use const iterators
494         * text.C (setHeightOfRow): use const iterators
495
496 2004-05-17  Angus Leeming  <leeming@lyx.org>
497
498         * lfuns.h:
499         * LyXAction.C (init): new LFUN_INSET_REFRESH.
500
501         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
502         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
503         if the citation engine has changed.
504
505 2004-05-14  José Matos  <jamatos@lyx.org>
506
507         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
508         if the textclass does not provide it. Have it different for sgml and
509         xml.
510         support the language of document.
511         * output_docbook.C (docbookParagraphs):
512         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
513         first anchor as the id of the paragraph, remove special case code.
514         * sgml.C (escapeChar): escape only < & >.
515
516 2004-05-14  Angus Leeming  <leeming@lyx.org>
517
518         * bufferparams.h: move biblio::CiteEngine enum here to minimize
519         dependencies on src/frontends/controllers/biblio.h. Define a
520         CiteEngine_enum wrapper class to enable the enum to be forward
521         declared.
522
523 2004-05-12  Angus Leeming  <leeming@lyx.org>
524
525         * buffer.C: up LYX_FORMAT to 234.
526         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
527         use_numerical_citations with a single biblio::CiteEngine cite_engine
528         variable.
529         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
530
531 2004-05-13  José Matos  <jamatos@lyx.org>
532
533         * converter.h:
534         * converter.C (Converter, readFlags): add xml member.
535         * outputparams.h: add XML flavor.
536         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
537
538 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * lyxfunc.C (dispatch):
541         (getStatus): fix handling of LFUN_SEQUENCE
542
543 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * debug.C (showLevel): do not forget the end-of-line marker
546
547 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * kbmap.C (read): do not stop parsing a bind file when an error
550         occurs (bug 1575)
551
552 2004-04-29  Angus Leeming  <leeming@lyx.org>
553
554         * cursor.C:
555         * factory.C:
556         * pariterator.C:
557         * text2.C: wrap a bunch of #warning statements
558         inside #ifdef WITH_WARNINGS blocks.
559
560 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * buffer.C: increment format to 233.
563
564 2004-04-28  Angus Leeming  <leeming@lyx.org>
565
566         * BufferView_pimpl.C:
567         * lyxfunc.C:
568         * text3.C:
569         s/updateToolbar()/updateToolbars()/
570         s/Toolbar.h/Toolbars.h/
571
572 2004-04-28  Angus Leeming  <leeming@lyx.org>
573
574         * BufferView.[Ch] (c-tor):
575         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
576         No longer passes these data to the WorkArea generator.
577
578 2004-04-28  Angus Leeming  <leeming@lyx.org>
579
580         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
581
582 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
583
584         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
585
586 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * output_latex.C (TeXEnvironment): make sure that there is a line
589         break before \end{foo} for the last paragraph of a document
590         (TeXOnePar): if the paragraph is at the end of the document (or
591         inset) and the language has to be reset, then make sure that the
592         line break is _before_ the language command, not after (fixes bug
593         1225); also make sure that the language reset command is the first
594         thing after the paragraph (to ensure proper nesting of
595         environments and thus fix bug 1404)
596
597 2004-04-21  John Levon  <levon@movementarian.org>
598
599         * ToolbarBackend.h:
600         * ToolbarBackend.C: make "name" be a programmatic name
601         and a gui_name field.
602
603         * lyxfunc.C: display the minibuffer on M-x
604
605 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
608         (bug 1526)
609
610 2004-04-19  Angus Leeming  <leeming@lyx.org>
611
612         * BufferView_pimpl.C (setBuffer): changed preview interface.
613
614         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
615         possible values.
616
617 2004-04-19  John Levon  <levon@movementarian.org>
618
619         * BufferView_pimpl.C:
620         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
621
622 2004-04-05  Angus Leeming  <leeming@lyx.org>
623
624         * text.C (redoParagraphs): add call to updateCounters(), thereby
625         fixing the missing "Figure #:" label from the caption of a
626         figure float.
627
628 2004-04-13  Angus Leeming  <leeming@lyx.org>
629
630         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
631         cursor is clicked out of an inset.
632
633 2004-04-13  Angus Leeming  <leeming@lyx.org>
634
635         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
636         than an InsetOld one.
637
638 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
639
640         * format.[Ch]: add editor to Format
641         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
642         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
643
644 2004-04-08  André Pönitz  <poenitz@gmx.net>
645
646         * metricsinfo.h: remove PainterInfo::width member
647
648 2004-04-08  Angus Leeming  <leeming@lyx.org>
649
650         * lyx_sty.C (boldsymbol_def): modify so that it outputs
651         "\providecommand" rather than "\newcommand", thereby preventing
652         clashes with packages that define "\boldsymbol" themselves.
653         Eg, beamer.
654
655 2004-04-08  Angus Leeming  <leeming@lyx.org>
656
657         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
658         thereby squashing an unnecessary warning.
659
660 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
661
662         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
663         setBuffer()
664
665 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * BufferView.C (setCursor): call redoParagraph (some insets could
668         have been opened)
669         (putSelectionAt): remove the 'double update' trick
670
671         * BufferView_pimpl.C (fitCursor): call refreshPar
672         (workAreaDispatch): remove an uneeded update call
673         (dispatch): remove some manual update calls
674
675         * cursor.[Ch]: remove cached_y_, updatePos
676         (selHandle): set noUpdate when appropriate
677
678         * lyxfunc.C (dispatch): track if we need an update
679
680         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
681
682         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
683         (paintSelection): cheap optimization, do not call cursorX when not
684         needed
685         (paintPars): change signature
686         (refreshPar): add
687         (paintText): adjust
688         (paintTextInset): adjust
689
690         * text.C: adjust
691
692 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * lengthcommon.C: compilation fix: remove explicit array size from
695         unit_name[] and friends
696
697 2004-04-05  Angus Leeming  <leeming@lyx.org>
698
699         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
700
701         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
702         present only for the preferences dialog.
703         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
704
705 2004-04-05  Angus Leeming  <leeming@lyx.org>
706
707         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
708         to enable the frontends to export changes to lyxrc correctly.
709
710         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
711
712 2004-04-07  André Pönitz  <poenitz@gmx.net>
713
714         * cursor.[Ch] (selClear, adjust): remove math
715
716         * cursor_slice.C: more agressive assert
717
718         * lyxfunc.C:
719         * BufferView_pimpl.C: rework mouse event dispatch
720
721         * dociterator.C:
722         * paragraph.C:
723         * text2.C:
724         * text3.C: adjust
725
726 2004-04-05  André Pönitz  <poenitz@gmx.net>
727
728         * cursor.[Ch] (valign, halign...): remove unneeded functions
729
730 2004-04-05  Angus Leeming  <leeming@lyx.org>
731
732         * lyxlength.[Ch] (unit_name et al.): const-correct.
733
734 2004-04-05  Angus Leeming  <leeming@lyx.org>
735
736         * BufferView_pimpl.C:
737         * buffer.C:
738         * counters.C:
739         * cursor.C:
740         * lyxfunc.C
741         * paragraph.C:
742         * pariterator.C:
743         * text.C:
744         * text2.C:
745         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
746
747 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
748
749         * text3.C (getStatus): add LFUN_BEGINNINGBUF
750
751 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * lyxfind.C: add a couple of inTexted() tests + other small fixes
754         * BufferView_pimpl.[Ch] (getStatus)
755         * BufferView.[Ch] (getStatus): add
756         * lyxfunc.C (getStatus): move lfuns handled in
757         BufferView::dispatch to te function above
758         * Cursor.C (setSelection): set selection() = true
759
760 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
761
762         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
763
764 2004-03-31  Angus Leeming  <leeming@lyx.org>
765
766         * lyxfunc.C (dispatch): Fall through to the generic
767         Dialogs::show("preamble").
768
769 2004-03-31  Angus Leeming  <leeming@lyx.org>
770
771         * lyxfunc.C (dispatch): Fall through to the generic
772         Dialogs::show("spellchecker").
773
774 2004-03-31  Angus Leeming  <leeming@lyx.org>
775
776         * lyxfunc.C (getStatus, dispatch): changed invocation of the
777         preferences dialog.
778
779 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * BufferView.C
782         * cursor.[Ch]
783         * dociterator.[Ch]:
784         * insetiterator.[Ch]:
785         * lyxfind.C:
786         * lyxfunc.C:
787         * pariterator.[Ch]:
788         * text2.C:
789         * undo.[Ch]: s/DocumentIterator/DocIterator/g
790
791 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * BufferView.C (setCursor, putSelectionAt): call edit to open the
794         insets where we are putting the cursor.
795
796 2004-03-31  Angus Leeming  <leeming@lyx.org>
797
798         * lfuns.h:
799         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
800
801         * lyxrc.[Ch] (read, write): overloaded member functions taking
802         a std::[io]stream arguments.
803
804         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
805
806 2004-03-31  Angus Leeming  <leeming@lyx.org>
807
808         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
809         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
810
811         * lyxtextclass.C (load): if the text class couldn't be loaded, then
812         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
813
814 2004-03-31  Angus Leeming  <leeming@lyx.org>
815
816         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
817         the LFUN_ALL_INSETS_TOGGLE code.
818
819 2004-03-30  Angus Leeming  <leeming@lyx.org>
820
821         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
822         has died. Fall through to the generic Dialogs::show("document").
823
824 2004-03-30  Angus Leeming  <leeming@lyx.org>
825
826         * lfuns.h:
827         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
828         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
829
830         * lyxfunc.C (getStatus, dispatch): define the actions for these
831         lfuns. Little more than a cut and pste job from ControlDocument.C
832
833         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
834
835 2004-03-30  Angus Leeming  <leeming@lyx.org>
836
837         * lfuns.h:
838         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
839         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
840
841         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
842         open/closed state of ollapsable insets. Usage:
843
844         all-inset-toggle <state> <name>, where
845         <state> == "open" || "closed" || "toggle" and
846         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
847
848         * lyxtext.h, text2.C (toggleInset): removed.
849
850         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
851         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
852         now passes LFUN_INSET_TOGGLE to the found inset.
853
854         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
855         is now invoked as "all-insets-toggle toggle branch".
856
857 2004-03-30  Angus Leeming  <leeming@lyx.org>
858
859         * dociterator.C:
860         * insetiterator.C:
861         * pariterator.[Ch]: added/corrected header blurb.
862
863 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * dociterator.[Ch]: add an inset_ member
866         (backwardPos): implemented
867         (backwardPos, forwardPos): use inset_ when the stack is empty.
868         (doc_iterator_begin, doc_iterator_end): implemented
869         * pariterator.[Ch]: adjust, add begin, end
870         * insetiterator.[Ch]: adjust, add begin, end
871         * cursor.C:
872         * document.C:
873         * BufferView.C:
874         * BufferView_pimpl.C:
875         * CutAndPaste.C: adjust
876
877 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
878
879         * buffer.C: increment file format to 232.
880         * LaTeXFeatures.C: add bibtopic package.
881         * bufferparams.[Ch]: param \use_bibtopic.
882
883         * lyxrc.[Ch]: add lyxrc bibtex_command
884         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
885
886         * buffer.C: increment file format to 231.
887
888 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * dociterator.C: implement forwardPar
891         * iterators.[Ch]: remove, replaced by
892         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
893         * BufferView.C:
894         * BufferView_pimpl.C:
895         * CutAndPaste.C:
896         * buffer.C:
897         * bufferview_funcs.C:
898         * cursor.C:
899         * lyxfind.C
900         * lyxfunc.C
901         * paragraph_funcs.C
902         * toc.C:
903         * Makefile.am: adjust
904
905 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * CutAndPaste.C (pasteSelection): fix 2 crashes
908         (eraseSelection): fix a crash
909         * paragraph_funcs.C: remove a warning
910
911 2004-03-28  Angus Leeming  <leeming@lyx.org>
912
913         * lfuns.h:
914         * LyXAction.C (init): new LFUN_PRINT.
915
916         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
917
918 2004-03-27  Angus Leeming  <leeming@lyx.org>
919
920         * lfuns.h:
921         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
922
923         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
924
925 2004-03-27  Angus Leeming  <leeming@lyx.org>
926
927         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
928         insetlist always contains non-null pointers to insets.
929
930 2004-03-26  Angus Leeming  <leeming@lyx.org>
931
932         * src/BufferView_pimpl.C:
933         * src/CutAndPaste.C:
934         * src/buffer.C:
935         * src/iterators.C:
936         * src/output_plaintext.C:
937         * src/outputparams.h:
938         * src/paragraph_funcs.C:
939         * src/rowpainter.C:
940         * src/text.C:
941         * src/text2.C:
942         * src/frontends/controllers/ControlErrorList.C:
943         * src/frontends/gtk/FileDialogPrivate.C:
944         * src/frontends/gtk/GPainter.C:
945         * src/frontends/gtk/GToolbar.C:
946         * src/frontends/qt2/QRef.C:
947         * src/mathed/math_scriptinset.C: squash compiler warnings.
948
949 2004-03-26  Angus Leeming  <leeming@lyx.org>
950
951         * ispell.C (LaunchIspell::start):
952         * lyx_cb.C (AutoSaveBuffer::start):
953         invoke run(DontWait) rather than runNonBlocking().
954
955 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
958
959 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
960
961         * kbsequence.C (print): adjust
962
963         * kbmap.C (printKeySym): rename and change signature
964         (printKey): use LyXKeySym::print()
965
966 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * undo.C: add using std::advance to compile for stlport
969
970 2004-03-24  Angus Leeming  <leeming@lyx.org>
971
972         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
973         it leads to a crash when no buffer is present.
974
975 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976             Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * lyxfunc.C (dispatch):
979         * bufferparams.C (readToken): use the new LColor::setColor
980
981         * LColor.[Ch] (setColor): new version that takes two strings as
982         argument and creates a new color entry if necessary
983
984 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
985
986         * buffer.C (makeLaTeXFile): if the main latex file that is
987         processed is usually a subdocument of some master, then pretend
988         for a while that it is actually the master
989
990 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
991
992         * buffer.C (getLabelList):
993         (getBibkeyList): use getMasterBuffer()
994         (getMasterBuffer): new method. Returns the main document in the
995         case where one is using included documents.
996
997 2004-03-25  André Pönitz  <poenitz@gmx.net>
998
999         * Makefile.am:
1000         * iterators.[Ch]:
1001         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1002
1003         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1004
1005         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1006         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1007
1008         * ParameterStruct.h: merge with ParagraphParameters
1009
1010         * lyxtext.h: remove LyXText::parOffset() and getPar()
1011
1012         * text3.C: Remove all 'manual' update calls. We do now one per user
1013         interaction which is completely sufficient.
1014
1015         * Bidi.C:
1016         * BufferView.[Ch]:
1017         * BufferView_pimpl.C:
1018         * FontIterator.[Ch]:
1019         * MenuBackend.C:
1020         * ParagraphParameters.[Ch]:
1021         * buffer.C:
1022         * buffer.h:
1023         * bufferlist.C:
1024         * cursor.[Ch]:
1025         * cursor_slice.[Ch]:
1026         * dociterator.[Ch]:
1027         * errorlist.[Ch]:
1028         * factory.C:
1029         * lfuns.h:
1030         * lyxfind.C:
1031         * lyxfunc.C:
1032         * output_docbook.[Ch]:
1033         * output_latex.[Ch]:
1034         * output_linuxdoc.[Ch]:
1035         * output_plaintext.[Ch]:
1036         * paragraph.[Ch]:
1037         * paragraph_funcs.[Ch]:
1038         * paragraph_pimpl.[Ch]:
1039         * rowpainter.C:
1040         * tabular.[Ch]:
1041         * text.C:
1042         * text2.C:
1043         * toc.C:
1044         * undo.[Ch]: adjust
1045
1046         * frontends/controllers/ControlDocument.C:
1047         * frontends/controllers/ControlErrorList.C:
1048         * frontends/controllers/ControlSpellchecker.C:
1049         * insets/inset.C:
1050         * insets/inset.h:
1051         * insets/insetbase.h:
1052         * insets/insetbibitem.C:
1053         * insets/insetbox.C:
1054         * insets/insetbranch.C:
1055         * insets/insetcaption.C:
1056         * insets/insetcharstyle.C:
1057         * insets/insetcharstyle.h:
1058         * insets/insetcollapsable.C:
1059         * insets/insetcollapsable.h:
1060         * insets/insetert.C:
1061         * insets/insetfloat.C:
1062         * insets/insetfoot.C:
1063         * insets/insetmarginal.C:
1064         * insets/insetnote.C:
1065         * insets/insetoptarg.C:
1066         * insets/insettabular.C:
1067         * insets/insettext.C:
1068         * insets/insettext.h:
1069         * insets/insetwrap.C:
1070         * mathed/math_mboxinset.C:
1071         * mathed/math_nestinset.C:
1072         * mathed/math_scriptinset.C:
1073         * mathed/math_scriptinset.h:
1074         * support/types.h:
1075
1076 2004-03-24  Angus Leeming  <leeming@lyx.org>
1077
1078         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1079         deal with any child processes that have finished but are waiting to
1080         communicate this fact to the rest of LyX.
1081
1082 2004-03-24  Angus Leeming  <leeming@lyx.org>
1083
1084         64-bit compile fixes.
1085
1086         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1087         (c-tor): pass lyx::pos_types rather than ints.
1088
1089         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1090         lyx::pos_type.
1091
1092         * text.C (Delete): compile fix.
1093         (getPar): ensure that function declaration is the same as that in
1094         the header file.
1095
1096 2004-03-23  Angus Leeming  <leeming@lyx.org>
1097
1098         * ispell.C (LaunchIspell):
1099         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1100         a boost::shred_ptr rather than a std::auto_ptr.
1101
1102 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1105         handle LFUN_FILE_INSERT_*
1106
1107         * lyxrc.C (setDefaults, getDescription, output, read):
1108         * lyxrc.h: remove ps_command
1109
1110 2004-03-22  Angus Leeming  <leeming@lyx.org>
1111
1112         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1113         Ensure that error_handler is processed once only and that all data
1114         is saved before attempting to output any warning messages.
1115
1116         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1117
1118 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1119
1120         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1121
1122 2004-03-19  André Pönitz  <poenitz@gmx.net>
1123
1124         * cursor.[Ch] (reset): take main text inset as argument
1125
1126         * BufferView: adjust
1127         * BufferView_pimpl.C: adjust
1128
1129         * paragraph.[Ch]: fix completely broken operator=()
1130
1131 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * LColor.C (getFromLyXName): make sure that the color name is used
1134         as lowercase.
1135
1136 2004-03-17  Angus Leeming  <leeming@lyx.org>
1137
1138         * lfuns.h:
1139         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1140
1141         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1142         dialog and to kill a forked process.
1143
1144 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1145
1146         * text2.C (setCursorFromCoordinates): fix font problem
1147
1148 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1151         bogus "rebuild cursor" code
1152
1153 2004-03-11  André Pönitz  <poenitz@gmx.net>
1154
1155         * buffer.[Ch]: use InsetText instead of LyXText as container for
1156         the main lyx text.
1157
1158         * dociterator.[Ch]: drop the BufferView * member which is not needed
1159         anymore after the change to buffer.C
1160
1161         * paragraph_funcs.C:
1162         * text.C:
1163         * text2.C:
1164         * BufferView.[Ch]:
1165         * BufferView_pimpl.[Ch]:
1166         * cursor.[Ch]:
1167         * cursor_slice.[Ch]: adjust
1168
1169         * text3.C: fix bug in mathDispatch
1170
1171 2004-03-08  André Pönitz  <poenitz@gmx.net>
1172
1173         * undo.[Ch]: use 'StableDocumentIterator' as base for
1174         the Undo struct.
1175
1176 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1177
1178         * LaTeXFeatures.C:
1179         * bufferparams.[Ch]: add jurabib support and param.
1180
1181         * LaTeX.C: add FIXME/comment.
1182
1183 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1184
1185         * buffer.C: increment file format to 230.
1186
1187 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1188
1189         * cursor.C (dispatch): avoid infinite loops
1190
1191 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1192
1193         * rowpainter.C (paintSelection): fix x coordinates
1194
1195 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1196
1197         * text.C (rowBreakPoint): fix breaking before displayed insets
1198
1199 2004-03-01  André Pönitz  <poenitz@gmx.net>
1200
1201         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1202
1203         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1204
1205         * Makefile.am:
1206         * BufferView.C:
1207         * BufferView_pimpl.C:
1208         * buffer.C:
1209         * lyxfind.C:
1210         * lyxfunc.C:
1211         * text.C:
1212         * text2.C:
1213         * text3.C: adjust
1214
1215 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1216
1217         * lyxtext.h:
1218         * text.C:
1219         * text2.C:
1220         * rowpainter.C:
1221         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1222         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1223
1224 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * Bidi.[Ch] (computeTables): const correctness
1227         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1228         fill_hfill, fill_label_hfill and x from Row
1229         * lyxtext.h: prepareToPrint returns a RowMetrics
1230         * rowPainter.C: adjust
1231         * text.C (prepareToPrint): use width, not textWidth. adjust
1232         (redoParagraphInternal, cursorX): adjust
1233         * text2.C (getColumnNearX): adjust
1234         (init): put a default value to the top LyXText::width
1235
1236 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1237
1238         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1239
1240 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * lyxtext.h: add FontIterator class
1243
1244         * text.C (FontIterator, operator*, operator->, operator++): add
1245         (rowBreakPoint, setRowWidth): adjust (fixing a
1246         rebreaking bug)
1247
1248 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * BufferView_pimpl.C (workAreaDispatch): allow also
1251         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1252
1253 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1254
1255         * text.C (rowBreakPoint): fix a bug showing with very large insets
1256
1257 2004-02-25  André Pönitz  <poenitz@gmx.net>
1258
1259         * text3.C:
1260         * cursor.[Ch]: move some mathed specific code to mathed
1261
1262 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1265         use_tempdir in preferences
1266         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1267         tempfile creation
1268         * lyx_main.C: ensure that tempdir is valid
1269         * lyxlex.h: correct typo
1270         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1271         * paragraph.[Ch] (isMultiLingual): make const
1272         * cursor.[Ch] (openable): make const
1273
1274 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1275
1276         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1277
1278 2004-02-20  André Pönitz  <poenitz@gmx.net>
1279
1280         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1281
1282         * cursor.[Ch]: prepare for localized getStatus()
1283
1284         * lyxtext.h:
1285         * tabular.C:
1286         * text.C:
1287         * text2.C:
1288         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1289
1290 2004-02-20  André Pönitz  <poenitz@gmx.net>
1291
1292         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1293
1294 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1295
1296         * text2.C (setCursorFromCoordinates): switch to absolute coords
1297         (cursorUp): adjust
1298         (cursorDown): adjust
1299         * text3.C (dispatch): adjust
1300
1301 2004-02-16  André Pönitz  <poenitz@gmx.net>
1302
1303         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1304           insets/ChangeLog)
1305
1306         * cursor_slice.[Ch]: remove unneeded acessor function
1307
1308         * lyxtext.h: rename rtl() to isRTL()
1309
1310         * rowpainter.C:
1311         * tabular.C:
1312         * text.C:
1313         * text2.C:
1314         * text3.C: adjust
1315
1316 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * rowpainter.C (paintSelection): coord fix
1319
1320 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1321
1322         * Spacing.C: compile fix
1323
1324 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * cursor.C (dispatch): restore current_ before returning
1327
1328 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1329
1330         * text2.C (cursorUp, cursorDown): fix coords
1331         (moveUp): fix crash
1332
1333 2004-02-12  André Pönitz  <poenitz@gmx.net>
1334
1335         * lyxtext.h:
1336         * text.C:
1337         * text2.C:
1338         * text3.C: add LCursor & parameter to most cursor movement functions
1339           remove usage of LyXText::cursorRow() and cursorPar()
1340
1341         * cursor.[Ch]: add textRow() needed members
1342
1343         * BufferView.C:
1344         * BufferView_pimpl.C:
1345         * paragraph.[Ch]:
1346         * BufferView.C:
1347         * BufferView_pimpl.C: adjust
1348
1349 2004-02-11  André Pönitz  <poenitz@gmx.net>
1350
1351         * lyxfunc.C:
1352         * BufferView.[Ch]:
1353         * BufferView_pimpl.C: shift undo/redo handling
1354
1355         * cursor.[Ch]: fix mathed crash
1356
1357         * lyxfind.C:
1358         * lyxtext.h: move selectionAsText to LCursor
1359
1360         * output_latex.C:
1361         * paragraph.C:
1362         * text.C:
1363         * text2.C:
1364         * text3.C: adjust
1365
1366         * rowpainter.C: fix excessive drawing
1367
1368 2004-02-06  André Pönitz  <poenitz@gmx.net>
1369
1370         * BufferView.[Ch]:
1371         * BufferView_pimpl.[Ch]:
1372         * text3.C: move some text specific LFUN handling
1373
1374 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1375
1376         * text3.C (checkInsetHit): adjust coords
1377         * text2.C (getColumnNearX): adjust coords
1378         (edit): adjust coords
1379         * text.C (getRowNearY): add two asserts
1380
1381 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1382
1383         * converter.C:
1384         * format.C: add using std::distance to compile on gcc 2.95/stlport
1385
1386 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1387
1388         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1389
1390 2004-02-04  André Pönitz  <poenitz@gmx.net>
1391
1392         * BufferView.[Ch] (insertInset):
1393         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1394
1395         * text2.C:
1396         * text3.C: adjust
1397
1398 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1401         on the default clause of the switch
1402         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1403         wasn't catched by LCursor::dispatch
1404
1405 2004-02-03  André Pönitz  <poenitz@gmx.net>
1406
1407         * BufferView.C:
1408         * cursor.[Ch]: some additional asserts
1409
1410         * undo.[Ch]: remove LyXText dependency in interface
1411
1412         * lyxfunc.C: adjust
1413
1414         * lyxtext.h (firstPar, lastPar): remove dead functions
1415
1416         * text.C:
1417         * text2.C:
1418         * text3.C:
1419         * paragraph.[Ch]: adjust
1420
1421 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * lyxfind.C (find): fix argument order in call to ::find
1424
1425 2004-02-02  André Pönitz  <poenitz@gmx.net>
1426
1427         * cursor.[Ch]: remove direct access to anchor
1428
1429         * text.C: remove findText() hack
1430
1431 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * iterators.[Ch] (lockPath): remove in favour of...
1434         * BufferView.[Ch] (setCursor): this addition
1435         * BufferView.C (putSelectionAt): adjust
1436         * undo.C (performUndoOrRedo): adjust
1437         * lyxfunc.C (dispatch): adjust
1438
1439 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1440
1441         * iterators.C (lockPath): add a missing slice
1442         * undo.C (performUndoOrRedo): remove redundant positioning code
1443
1444 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1445
1446         * vc-backend.C (scanMaster): ";" -> ';'
1447
1448 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1449
1450         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1451         std::binary_function
1452
1453         * lyxtextclass.C (compare_name): rename to...
1454         (LayoutNamesEqual): ...this
1455
1456         * lyxlex_pimpl.C (compare_tags): inherit from
1457         std::binary_function, put back into anon namespace
1458
1459         * lyxfind.C (MatchString): inherig from std::binary_function
1460         (findChange): use empty() istead of !size()
1461
1462         * format.C (FormatNamesEqual): new functor
1463         (getFormat): use it
1464         (getNumber): use it
1465         (add): use it
1466         (erase): use it
1467         (setViewer): use it
1468
1469         * converter.C (compare_Converter): rename to...
1470         (ConverterEqual): ...this, and fixup a bit.
1471         (getConverter): use it, and make function const
1472         (getNumber): use it, and make function const
1473         (add): use it
1474         (erase): use it:
1475
1476         * bufferlist.C: add using boost::bind
1477
1478         * MenuBackend.C (MenuNamesEqual): new functor
1479         (hasMenu): use it, and make function const
1480         (hasSubmenu): use nested bind to get rid of compare_memfun.
1481
1482 2004-01-30  André Pönitz  <poenitz@gmx.net>
1483
1484         * BufferView_pimpl.C:
1485         * cursor.C:
1486         * cursor.h:
1487         * cursor_slice.[Ch]:
1488         * lyxfunc.C:
1489         * lyxtext.h:
1490         * paragraph_funcs.C:
1491         * paragraph_funcs.h:
1492         * rowpainter.C:
1493         * text.C:
1494         * text2.C:
1495         * text3.C: move some of the edit(x,y) handling to the insets
1496         some coordinate changes.
1497
1498 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1499
1500         * text.C: add using statements for std::advance and std::distance
1501
1502         * paragraph.C: add using statement for std::distance
1503
1504         * lyxfind.C: add using statement for std::advance
1505
1506         * cursor.C (region): remove std:: from swap
1507         (openable): use nucleus in stead of operator->
1508
1509         * BufferView.C: add using statements for std::distance and std::swap
1510
1511 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1512
1513         * iterators.C: Remove the pimple, move the needed structures to
1514         the header file. Create accessor for the positions stack.
1515         (asPosIterator): remove function
1516
1517         * PosIterator.C (PosIterator): move constructors to top of file
1518         (PosIterator): reimplement the constructor taking a ParIterator in
1519         terms of setFrom.
1520         (setFrom): new function
1521         (operator!=): inline it
1522
1523 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * lyxfind.C (replaceAll): use std::advance
1526
1527         * iterators.h: inherit from std::iterator.
1528
1529         * PosIterator.C (advance, distance): remove
1530         * PosIterator.h: interit from std::iterator.
1531
1532 2004-01-26  André Pönitz  <poenitz@gmx.net>
1533
1534         * BufferView.[Ch]:
1535         * BufferView_pimpl.[Ch]:
1536         * InsetList.[Ch]:
1537         * PosIterator.[Ch]:
1538         * buffer.h:
1539         * bufferview_funcs.C:
1540         * cursor.[Ch]:
1541         * cursor_slice.h:
1542         * factory.[Ch]:
1543         * iterators.[Ch]:
1544         * lyxfind.C:
1545         * lyxfunc.C:
1546         * lyxtext.h:
1547         * output_docbook.C:
1548         * output_latex.C:
1549         * output_linuxdoc.C:
1550         * output_plaintext.C:
1551         * paragraph.[Ch]:
1552         * paragraph_funcs.[Ch]:
1553         * paragraph_pimpl.[Ch]:
1554         * rowpainter.C:
1555         * tabular.C:
1556         * tabular.h:
1557         * text.C:
1558         * text2.C:
1559         * text3.C: more IU:  dumps most of the rest of the mathcursor
1560     implementation into cursor.[Ch]; "globalize" a bit of it.
1561
1562 2004-01-25  Angus Leeming  <leeming@lyx.org>
1563
1564         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1565
1566 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1567
1568         * LaTeXFeatures.h: add nice_ and nice() const
1569         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1570
1571 2004-01-20  André Pönitz  <poenitz@gmx.net>
1572
1573         * BufferView.[Ch]:
1574         * BufferView_pimpl.C:
1575         * PosIterator.C:
1576         * bufferview_funcs.C:
1577         * cursor.[Ch]:
1578         * cursor_slice.[Ch]:
1579         * factory.C:
1580         * iterators.C:
1581         * lyx_cb.C:
1582         * lyxfind.C:
1583         * lyxfunc.C:
1584         * lyxtext.h:
1585         * rowpainter.C:
1586         * text.C:
1587         * text2.C:
1588         * text3.C:
1589         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1590           LCursor and mathcursor parts to LCursor and InsetBase.
1591
1592 2004-01-15  André Pönitz  <poenitz@gmx.net>
1593
1594         * cursor_slice.[Ch]: add a few covienience functions
1595
1596         * funcrequest.[Ch]: remove BufferView * member
1597
1598         * BufferView_pimpl.C:
1599         * cursor.C:
1600         * factory.[Ch]:
1601         * lyxfind.[Ch]:
1602         * lyxfunc.C:
1603         * lyxtext.h:
1604         * text3.C:
1605         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1606
1607 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1610         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1611
1612 2004-01-13  André Pönitz  <poenitz@gmx.net>
1613
1614         * textcursor.[Ch]:
1615         * lyxtext.h: hide cursor and selection anchor behind accessor function
1616
1617         * BufferView.C:
1618         * BufferView_pimpl.[Ch]:
1619         * PosIterator.C:
1620         * bufferview_funcs.C:
1621         * cursor.h:
1622         * lyxfind.C:
1623         * lyxfunc.C:
1624         * text.C:
1625         * text2.C:
1626         * text3.C:
1627         * undo.C: adjust
1628
1629         * cursor.h:
1630         * cursor_slice.[Ch]: some integer type changes for inset unification
1631
1632         * lyxcursor.[hC]: remove, it's CursorSlice now.
1633
1634         * Makefile.am:
1635         * BufferView_pimpl.[Ch]:
1636         * bufferview_funcs.C:
1637         * cursor_slice.C:
1638         * lyxtext.h:
1639         * text.C:
1640         * text2.C:
1641         * text3.C:
1642         * textcursor.[Ch]: adjust
1643
1644 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1645
1646         * text2.C (undoSpan): add and use
1647         * text.C (breakParagraph): use undoSpan (fix bug 578)
1648         * lyxtext.h: adjust
1649
1650 2004-01-08  Angus Leeming  <leeming@lyx.org>
1651
1652         * BufferView_pimpl.C (MenuInsertLyXFile):
1653         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1654         * lyxfunc.C (menuNew, open, doImport):
1655         FileFilterList change to the FileDialog open and save functions.
1656
1657 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1658
1659         * ShareContainer.h: make isEqual and isUnique adaptable
1660
1661         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1662
1663 2004-01-07  Angus Leeming  <leeming@lyx.org>
1664
1665         * LyXAction.C:
1666         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1667
1668         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1669
1670         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1671         functions replacing find, replace and replaceAll.
1672
1673         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1674         LFUN_WORDFIND(FORWARD|BACKWARD).
1675
1676 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * text.C (breakParagraph): remove an outdated #warning
1679
1680 2004-01-07  André Pönitz  <poenitz@gmx.net>
1681
1682         * lyxfind.C: somewhat clearer logic
1683
1684         * text.C: prevent crash in cursorX on unitialized row cache
1685
1686 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1687
1688         * lyxcursor.[Ch] (operator>): add
1689         * textcursor.C (selStart, selEnd): use std::min and std::max
1690
1691 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1692
1693         * Chktex.C: include boost/format.hpp
1694
1695 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1696
1697         * InsetList.C: replace functor MathcIt with adaptable functor
1698         InsetTablePosLess
1699         (insetIterator): modify accordingly
1700
1701         * BranchList.h: move the BranchNamesEqual functor here from...
1702         * BranchList.C: ... to here
1703
1704         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1705         SameName and match.
1706         (add): replace a finding loop with std::find_if.
1707
1708 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1709
1710         * output_docbook.C: moving LatexParam functionality into
1711         .layout files
1712
1713 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1714
1715         * buffer.C: increment format to 229.
1716
1717 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1718
1719         * LaTeXFeatures.C:
1720         * lyx_sty.[Ch]: remove minipageindent_def
1721
1722         * LyXAction.C:
1723         * factory.C:
1724         * lfuns.h:
1725         * lyxfunc.C:
1726         * text3.C: remove LFUN_INSET_MINIPAGE
1727
1728 2003-12-28  Angus Leeming  <leeming@lyx.org>
1729
1730         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1731
1732 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * text2.C (setParagraph): fix off-by-one crash
1735
1736 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1737
1738         * output_docbook.C: header stuff for AGU
1739
1740 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * text2.C (redoCursor): remove
1743         * text.C:
1744         * text3.C:
1745         * BufferView_pimpl.C: remove calls to redoCursor and
1746         setCursor(cursor.par(), cursor.pos()) all around
1747
1748 2003-12-15  Angus Leeming  <leeming@lyx.org>
1749
1750         * buffer.C: up the format to 228.
1751
1752 2003-12-15  André Pönitz  <poenitz@gmx.net>
1753
1754         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1755         slices
1756
1757         * Makefile.am:
1758
1759         * BufferView_pimpl.C:
1760         * cursor.[Ch]:
1761         * lyxcursor.[Ch]:
1762         * rowpainter.[Ch]:
1763         * lyxtext.h:
1764         * text.C:
1765         * text2.C:
1766         * text3.C: adjust
1767
1768 2003-12-15  Angus Leeming  <leeming@lyx.org>
1769
1770         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1771         than getFromGUIName to manipulate the color.
1772
1773 2003-12-14  Angus Leeming  <leeming@lyx.org>
1774
1775         * BranchList.[Ch]: minimize the API.
1776         (Branch::getBranch, getColor): now return a 'const &'.
1777         (Branch::setSelected) now returns a bool set to true if the
1778         selection status changes.
1779         (BranchList::clear, size, getColor, setColor, setSelected,
1780         allBranches, allSelected, separator): removed.
1781         (BranchList::find): new functions, returning the Branch with
1782         the given name.
1783         (BranchList::add, remove): return a bool indicating that
1784         the operation was successful.
1785
1786         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1787         new InsetBranch::isBranchSlected member function.
1788
1789         * LColor.[Ch]: mimimize the API.
1790         (fill): renamed as addColor and made private.
1791         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1792         versions of these functions taking a string arg have been removed.
1793
1794         * bufferparams.C (readToken):
1795         * lyxfunc.C (dispatch):
1796         * lyxrc.C (read): changes due to the altered BranchList and
1797         LColor APIs.
1798
1799         * factory.C (createInset, readInset): changes due to altered
1800         InsetBranch c-tor.
1801
1802 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1803
1804         * factory.C:
1805         * lyxfunc.C: remove insetminipage. "minipage-insert"
1806         now produces a frameless minipage box inset.
1807
1808 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * textcursor.[Ch] (selStart,selEnd): add new methods
1811         remove selection::start, end, use LyXCursor::operator<
1812         * lyxcursor.[Ch] (operator<): add
1813         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1814         * BufferView.[Ch] (unsetXSel): add
1815         * text2.C (clearSelection): use unsetXSel,adjust
1816         * text.C: adjust
1817         * text3.C: adjust
1818         * rowpainter.C: adjust
1819         * bufferview_funcs.C (put_selection_at): adjust
1820
1821 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * BufferView_pimpl.C: small coord. correction
1824
1825 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1828         dragging over the splash screen.
1829
1830 2003-12-11  Angus Leeming  <leeming@lyx.org>
1831
1832         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1833         as it is now handled in LyXText::dispatch.
1834
1835         * text3.C (doInsertInset): remove a level of nesting.
1836
1837 2003-12-11  Angus Leeming  <leeming@lyx.org>
1838
1839         * factory.C (createInset): changes due to the changed interface to
1840         InsetCommandMailer::string2params.
1841
1842 2003-12-10  Angus Leeming  <leeming@lyx.org>
1843
1844         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1845         'dialog-show-new-inset <inset name>'
1846
1847 2003-12-10  Angus Leeming  <leeming@lyx.org>
1848
1849         * buffer.C: up the format to 227.
1850
1851         * factory.C: the box inset is now identified simply by 'Box'.
1852
1853 2003-12-10  Angus Leeming  <leeming@lyx.org>
1854
1855         * buffer.C: up the format to 226.
1856
1857         * factory.C: the note inset is now identified simply by 'Note'.
1858
1859 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1860
1861         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1862         when a pit is enough. Standarize a couple of loops.
1863
1864 2003-12-05  Angus Leeming  <leeming@lyx.org>
1865
1866         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1867         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1868         data to the re-worked "log" dialog.
1869
1870 2003-12-03  André Pönitz  <poenitz@gmx.net>
1871
1872         * PosIterator.C:
1873         * iterators.C:
1874         * lyxtext.h:
1875         * output_latex.C:
1876         * paragraph_funcs.C:
1877         * text.C:
1878         * text2.C: use Inset::getText instead of Inset::getParagraph
1879
1880 2003-12-03  André Pönitz  <poenitz@gmx.net>
1881
1882         * buffer.[Ch]:
1883         * lyxtext.h:
1884         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1885         InsetText::read() as LyXText::read()
1886
1887 2003-12-02  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1890         type. Add a comment in the implementation that the function uses
1891         the stream's bad() function rather than fail() as the std::streams
1892         would do.
1893
1894 2003-12-02  André Pönitz  <poenitz@gmx.net>
1895
1896         * lyxlex.[Ch]: make interface more similar to std::stream
1897
1898         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1899
1900 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1901
1902         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1903
1904 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1905
1906         * vspace.[Ch]: remove VSpace::NONE
1907
1908 2003-12-01  André Pönitz  <poenitz@gmx.net>
1909
1910         * buffer.[Ch]:
1911         * lyxtext.h: move ParagraphList member to LyXText
1912         rename LyXText::ownerParagraphs to LyXText::paragraph
1913
1914         * CutAndPaste.C:
1915         * bufferview_funcs.C:
1916         * iterators.[Ch]:
1917         * lyx_cb.C:
1918         * paragraph.C:
1919         * rowpainter.C:
1920         * tabular.C:
1921         * text.C:
1922         * text2.C:
1923         * text3.C: adjust
1924
1925         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1926
1927         * undo.C: fix cursor positioning
1928
1929 2003-12-01  John Levon  <levon@movementarian.org>
1930
1931         * BufferView_pimpl.C: fix a crash on exit with
1932         a buffer open
1933
1934 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * BranchList.C: fix setSelected() method.
1937
1938 2003-11-28  André Pönitz  <poenitz@gmx.net>
1939
1940         * ParagraphParameters.[Ch]:
1941         * ParameterStruct.h: remove space above/below from Paragraph to
1942          InsetVSpace
1943
1944         * BufferView_pimpl.C:
1945         * factory.C:
1946         * lyxfunc.C:
1947         * lyxtext.h:
1948         * output_latex.C:
1949         * paragraph.C:
1950         * paragraph_funcs.C:
1951         * rowpainter.[Ch]:
1952         * text.C:
1953         * text2.C:
1954         * text3.C: adjust
1955
1956 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1957
1958         * factory.C: Syntax change for CharStyles
1959
1960 2003-11-28  André Pönitz  <poenitz@gmx.net>
1961
1962         * BufferView.[Ch]:
1963         * BufferView.[Ch]:
1964         * buffer.[Ch]:
1965         * buffer.[Ch]: move LyXText member
1966
1967 2003-11-28  André Pönitz  <poenitz@gmx.net>
1968
1969         * BufferView.[Ch]: make LyXText * text a private member
1970
1971         * BufferView_pimpl.C:
1972         * cursor.C:
1973         * iterators.C:
1974         * lyx_cb.C:
1975         * lyxfind.C:
1976         * lyxtext.h:
1977         * rowpainter.[Ch]:
1978         * text.C:
1979         * text2.C:
1980         * undo.C: adjust
1981
1982         * output_plaintext.C: cleanup
1983
1984 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * buffer.C:
1987         * lyxtextclass.[Ch]: parametrize SGML document header
1988
1989 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1990
1991         * converter.[Ch]:
1992         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1993         getFlavor().
1994
1995 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1996
1997         * text2.C (setFont): rework using PosIterator (no more recursive)
1998         (setCharFont): no more needed
1999         (setLayout): no more selection cursors fiddling (done by redoCursor)
2000         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2001         destroy remaining ones)
2002
2003 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2004
2005         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2006         * lyxtext.h: ditto
2007         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2008         selection cursors
2009         * lyxfunc.C: adjust
2010         * text3.C: adjust + re-allow multi par depth changes
2011         * textcursor.C: simplify a bit
2012
2013 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * src/buffer.C:
2016         * src/lyxlayout.C:
2017         * src/lyxlayout.h:
2018         * src/lyxtext.h:
2019         * src/output_docbook.C:
2020         * src/output_latex.C:
2021         * src/paragraph.C:
2022         * src/paragraph.h:
2023         * src/sgml.C:
2024         * src/sgml.h:
2025         * src/text2.C: Introducing a number of tags parametrizing various
2026         XML formats that we may want to support
2027
2028 2003-11-25  André Pönitz  <poenitz@gmx.net>
2029
2030         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2031
2032         * lyxtext.h (leftMargin/rightMargin): simplify interface
2033
2034         * rowpainter.C:
2035         * text.C:
2036         * text2.C:
2037         * text3.C: adjust
2038
2039 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2040
2041         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2042         master file to any child files. Fixes bug 546.
2043
2044 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2045
2046         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2047
2048 2003-11-24  André Pönitz  <poenitz@gmx.net>
2049
2050         * rowpainter.C: simplification
2051
2052         * text2.C (updateCounters): remove call to redoParagraph on
2053         changed labels as this is far too expensive.
2054
2055 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * converter.C (convert): fix a crash: this function gets
2058         called with buffer == 0 from importer code.
2059
2060 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2061
2062         * text3.C (cursorPrevious): make sure that we do not compare
2063         iterators form different containers.
2064         (cursorNext): ditto
2065
2066         * rowpainter.C (paintSelection): make sure that we do not compare
2067         iterators from different containers.
2068
2069         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2070         iterators from different ParagraphList containers.
2071         [NEXT] ditto
2072
2073         * text2.C (LyXText): change order of initialization slightly
2074         (operator=): new function. copy all variables except cache_par_
2075         (moveUp): make sure that we do not compare iterators from
2076         different ParagraphList constainers.
2077         (moveDown): ditto
2078
2079         * text.C (firstPar): new function
2080         (lastPar): new function
2081         (endPar): new function
2082
2083         * lyxtext.h: move things around and group public functions, public
2084         variables, private functions, private variables
2085
2086 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2087
2088         * factory.C: change call to InsetERT constructor to avoid
2089         additional invocation of method status
2090         * text2.C (toggleInset): remove redundant update() call
2091         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2092         instead of a Bufferview pointer
2093
2094 2003-11-21  André Pönitz  <poenitz@gmx.net>
2095
2096         * rowpainter.C: simplification
2097
2098 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2099
2100         * text3.C (dispatch): make possible to extend a word/row selection
2101         with the mouse
2102
2103 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2104
2105         * lyxtext.h: x0_,y0_ -> xo_,yo_
2106         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2107         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2108         * rowpainter.C (paintRows): paint full paragraphs
2109
2110 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2113         screen coordinates)
2114
2115 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * lyxtext.h: add x0_, y0_
2118         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2119         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2120
2121 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * text2.C (setCursorIntern): move the x_target update here *
2124         * text3.C: change some bv() to true/false in calls to
2125         cursorUp/Down/Right/Left
2126         * cursor.C: use helper function.
2127
2128 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2131         * paragraph_funcs.[Ch]: correct comment
2132         * rowpainter.C: do not paint selections away from bv->cursor()
2133         Fix a long standing selection painting bug.
2134         * text3.C: generalize mouse-selection code to LyXTexts other that
2135         top one
2136         * textcursor.C: do not use y coords if we can use par offsets
2137
2138 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2141         cursor position after e.g. inset insert)
2142
2143 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2144
2145         * lyxfind.C (replace): adjust to locking removal + some
2146         code simplification
2147
2148 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2151         of the path
2152
2153 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2154
2155         * lyxlayout.[Ch]:
2156         * output_docbook.C: XML sanitation: new layout
2157         parameters InnerTag and CommandDepth
2158
2159 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2160
2161         * BufferView_pimpl.C:
2162         * factory.C:
2163         * text3.C: Fix the insertion and modification of button-style
2164         insets
2165
2166 2003-11-13  André Pönitz  <poenitz@gmx.net>
2167
2168         * InsetList.[Ch]: remove deleteLyXText
2169
2170         * paragraph.[Ch]: cache beginOfBody position
2171
2172         * Bidi.C:
2173         * text.C:
2174         * text2.C:
2175         * text3.C: remove superfluous update() calls
2176
2177         * vspace.C: cleanup
2178
2179 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2180
2181         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2182         * BufferView.C (fitLockedInsetCursor): remove
2183         * cursor.[Ch] (getDim): add
2184         * text.C (getRowNearY): add faster version
2185         * text3.C: remove some update calls
2186
2187 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2188
2189         * LaTeXFeatures.C:
2190         * LyXAction.C:
2191         * MenuBackend.C:
2192         * MenuBackend.h:
2193         * dispatchresult.h:
2194         * factory.C:
2195         * lfuns.h:
2196         * lyxfunc.C:
2197         * lyxtextclass.C:
2198         * lyxtextclass.h:
2199         * text3.C: The Character Style /XML short element patch.
2200
2201 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2202
2203         * text3.C:
2204         * factory.C: Small step to solving 'unable to insert some insets'
2205         problem
2206
2207 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2208
2209         * cursor.[Ch] (updatePos): new function for updating the y
2210         position of the tip inset
2211         * bufferview_funcs.C (put_selection_at):
2212         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2213
2214 2003-11-11  André Pönitz  <poenitz@gmx.net>
2215
2216         * text.C: remove big comment on invalid Paragraph pointers as it is
2217         not valid anymore
2218
2219 2003-11-11  André Pönitz  <poenitz@gmx.net>
2220
2221         * text_funcs.[Ch]: merge with ...
2222
2223         * text.C: ... this
2224
2225         * lyxtext.h:
2226         * text2.C:
2227         * text3.C: adjust
2228
2229         * Makefile.am: remove text_funcs.[Ch]
2230
2231 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2232
2233         * cursor.C (getPos): return absolute cached y coord
2234
2235         * BufferView_pimpl.C (fitCursor): new simplistic code
2236         (workAreaDispatch): add a fitCursor call
2237
2238 2003-11-10  André Pönitz  <poenitz@gmx.net>
2239
2240         * BufferView.[Ch]:
2241         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2242
2243 2003-11-10  André Pönitz  <poenitz@gmx.net>
2244
2245         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2246         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2247         indicate that the cursor needs to leave an inset
2248
2249         * lyxtext.h: remove inset locking
2250
2251         * cursor.[Ch]: re-implement functionality provided by inset locking
2252
2253         * BufferView.[Ch]:
2254         * BufferView_pimpl.[Ch]:
2255         * LyXAction.C:
2256         * bufferview_funcs.[Ch]:
2257         * factory.C:
2258         * funcrequest.[Ch]:
2259         * iterators.C:
2260         * lyx_cb.C:
2261         * lyxfind.C:
2262         * lyxfunc.C:
2263         * text.C:
2264         * text2.C:
2265         * text3.C:
2266         * undo.C: adjust
2267
2268 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2269
2270         * PosIterator.[Ch]: replace the stack with a vector, add inset
2271         accesor
2272         * iterators.[C]: adjust
2273
2274 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2275
2276         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2277         replaced
2278         * paragraph_funcs.C (readParToken): put the correct id in the
2279         error item, not the id of the top paragraph
2280
2281 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2282
2283         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2284         * bufferview_funcs.C (put_selection_at): use the above
2285
2286 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2287
2288         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2289
2290 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * output_linuxdoc.h:
2293         * output_plaintext.h:
2294         * output.h:
2295         * output_docbook.h: add #include statements
2296
2297 2003-11-05  José Matos  <jamatos@lyx.org>
2298
2299         * output_docbook.[Ch]:
2300         * output_latex.[Ch]:
2301         * output_linuxdoc.[Ch]:
2302         * output_plaintext.[Ch]: New files for output formats.
2303         * output.[Ch]: New file for helper functions.
2304
2305         * buffer.[Ch]:
2306         * paragraph_funcs.[Ch]: output functions moved to new files.
2307
2308         * outputparams.h: rename of latexrunparams.h
2309
2310         * LaTeX.[Ch]:
2311         * buffer.[Ch]:
2312         * bufferlist.[Ch]:
2313         * converter.[Ch]:
2314         * exporter.C:
2315         * paragraph.[Ch]:
2316         * paragraph_funcs.[Ch]:
2317         * paragraph_pimpl.[Ch]:
2318         * tabular.[Ch]: rename ascii to plaintext
2319         and LatexRunParams to OutputParams.
2320
2321 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * iterators.[Ch] (text): require bv argument
2324         * undo.C (recordUndo):
2325         * lyxfunc.C (dispatch):
2326         * bufferview_funcs.C (put_selection_at): adjust
2327
2328 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2329
2330         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2331
2332 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2333
2334         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2335         nestings
2336
2337 2003-11-04  André Pönitz  <poenitz@gmx.net>
2338
2339         * cursor.[Ch]: restructure
2340
2341         * BufferView.[Ch]:
2342         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2343
2344         * iterators.[Ch] (asCursor): remove
2345
2346         * lfuns.h: remove LFUN_INSET_EDIT
2347
2348         * lyxfunc.C:
2349         * tabular.C:
2350         * text.C:
2351         * text2.C:
2352         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2353
2354 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2355
2356         * lyxfind.[Ch]: complete overhaul
2357         * BufferView_pimpl.C:
2358         * lyxfunc.C: adjust
2359         * paragraph.[Ch] (insert): add
2360
2361 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2362
2363         * BufferView.[Ch]:
2364         * lyxtext.h:
2365         * text.C: remove dead spellcheck code
2366
2367 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * dispatchresult.h: add a val setter
2370
2371         * cursor.C (dispatch): use a tempvar for data_[i]
2372
2373 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * PosIterator.[Ch]: compile fix
2376
2377 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2378
2379         * text.C (cursorPar): deactivate the cursor cache
2380
2381 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2382
2383         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2384
2385 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * text3.C (dispatch): adjust for new DisptchResult semantics.
2388
2389         * lyxfunc.C (dispatch): handle update when return from
2390         Cursor::dispatch, adjust for new DispatchResult semantics.
2391
2392         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2393         DispatchResult(true) mean to not update. Add class functions for
2394         setting dispatched and update, as well as reading.
2395
2396         * cursor.C (dispatch): don't handle update here
2397
2398 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2401         * trans_mgr.C: adjust
2402
2403         * paragraph_funcs.C (readParToken): exception safety
2404
2405         * lyxvc.h: store the vcs pointer in a scoped_ptr
2406         * lyxvc.C: adjust
2407
2408         * lyxsocket.C (serverCallback): exception safety
2409
2410         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2411
2412         * ispell.C (clone): make it return a auto_ptr
2413
2414         * factory.C (createInset): exception safety
2415         (readInset): exception safety
2416
2417         * bufferlist.C (newBuffer): exception safety
2418
2419         * Thesaurus.C (Thesaurus): use initialization for aik_
2420
2421         * MenuBackend.C (expandToc): exception safety.
2422
2423 2003-11-03  André Pönitz  <poenitz@gmx.net>
2424
2425         * buffer.C:
2426         * buffer.h:
2427         * bufferview_funcs.C: remove getInsetFromId()
2428
2429         * lyxcursor.[Ch]:
2430         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2431
2432         * lyxfunc.C:
2433         * text2.C:
2434         * text3.C: adjust
2435
2436 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * PosIterator.C (distance, advance): new
2439         * bufferview_funcs.[Ch] (put_selection_at): new
2440         * iterators.[Ch] (lockPath): new
2441
2442 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * iterators.[Ch] (asPosIterator): added
2445         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2446         * PosIterator.[Ch]: added
2447
2448 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * text3.C:
2451         * lyxfunc.C:
2452         * cursor.C (dispatch):
2453         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2454
2455         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2456         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2457         contructor, add a class function dispatched. Remove operator>=
2458
2459 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * debug.C: only use the default constructor for debugstream
2462         (lyxerr) here.
2463
2464         * main.C (main): include debug.h and setup the lyxerr streambuf
2465         here.
2466
2467 2003-10-31  José Matos  <jamatos@lyx.org>
2468
2469         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2470
2471         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2472         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2473         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2474         * paragraph_pimpl.C (simpleTeXSpecialC):
2475         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2476         add LatexRunParams argument.
2477
2478         * exporter.C (Export): change call accordingly.
2479
2480         * latexrunparams.h: add new member to take care of the other backends.
2481 2003-10-30  José Matos  <jamatos@lyx.org>
2482
2483         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2484         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2485         factorise code for paragraph output.
2486         * buffer.[Ch]:
2487         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2488         move functions.
2489
2490 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * text3.C (dispatch):
2493         * lyxfunc.C (dispatch):
2494         * cursor.C (dispatch):
2495         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2496
2497         * dispatchresult.h: make the dispatch_result_t ctor explicit
2498
2499 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2500
2501         * sgml.[Ch]:
2502         * buffer.C: small refactoring of docbook stuff
2503
2504 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2507         meaning.
2508
2509 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2512         operator dispatch_result_t, and operators for == != and >=
2513
2514         * cursor.C (dispatch): adjust for operator dispatch_result_t
2515         removal. comment out call to update
2516
2517         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2518
2519 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * text3.C:
2522         * text2.C:
2523         * text.C:
2524         * lyxtext.h:
2525         * lyxfunc.C:
2526         * cursor.C:
2527         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2528         (dispatch):
2529
2530         * dispatchresult.h: new file, DispatchResult broken out of
2531         insets/insetbase.h
2532
2533         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2534
2535 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2536
2537         * text.C (rowBreakPoint): put a hack inside #if 0
2538
2539 2003-10-28  André Pönitz  <poenitz@gmx.net>
2540
2541         * lyxtext.h:
2542         * metricsinfo.C:
2543         * paragraph_funcs.C:
2544         * rowpainter.C:
2545         * text.C:
2546         * text2.C: general cleanup (lots of small stuff)
2547
2548 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2549
2550         * text2.C (cursorEnd): simple fix to the "end key goes to one
2551         before the end on last row" bug
2552
2553 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2554
2555         * text.C (backspace): fix the "zombie characters"
2556
2557 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2558
2559         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2560
2561 2003-10-27  André Pönitz  <poenitz@gmx.net>
2562
2563         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2564
2565         * factory.C: handle new InsetPagebreak, InsetLine
2566
2567         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2568         and move handling into new InsetPagebreak, InsetLine
2569
2570         * BufferView_pimpl.C:
2571         * LyXAction.C:
2572         * ParagraphParameters.C:
2573         * ParameterStruct.h:
2574         * lyxfunc.C:
2575         * lyxtext.h:
2576         * paragraph.C:
2577         * paragraph.h:
2578         * paragraph_funcs.C:
2579         * paragraph_pimpl.C:
2580         * rowpainter.C:
2581         * text.C:
2582         * text2.C:
2583         * text3.C: adjust
2584
2585 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * text.C:
2588         * lyxrow_funcs.[Ch]:
2589         * Bidi.C:
2590         * paragraph.C:
2591         * lyxtext.h:
2592         * rowpainter.C:
2593         * text2.C:
2594         * text3.C: remove lastPos uses in favour of Row::endpos
2595
2596 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * undo.C (performUndoOrRedo): fix two crashes by setting a
2599         cursor by hand and reordering some calls. Use bv->lockInset instead
2600         of inset->edit because the latter loses cursor information
2601
2602 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2605         by Martin
2606         (rowBreakPoint): fix width. change point to point + 1.
2607         Add a missing check.
2608
2609 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2610
2611         * MenuBackend.C:
2612         * lyxfunc.C: fix (at least partly) the problems
2613         with the Nav menu and headers inside branch insets
2614         reported by Kayvan
2615
2616 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * paragraph.C (getChar): add strong asserts
2619
2620         * lyxrow_funcs.C (lastPos): remove hideous hack
2621
2622         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2623         (fill): adjust to that (avoid an infinite loop)
2624
2625 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2628
2629 2003-10-23  André Pönitz  <poenitz@gmx.net>
2630
2631         * RowList_fwd.h: change list<> to vector<> to gain speed
2632         after suggestion from Alfredo
2633
2634 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * lyxtext.h: move the bidi stuff from here...
2637         * text.C: and here
2638         * text2.C: and here
2639         * Bidi.[Ch]: ... to here
2640
2641 2003-10-23  André Pönitz  <poenitz@gmx.net>
2642
2643         * lyxtext.h:
2644         * text.C (isLastRow, isFirstRow): new functions
2645
2646         * paragraph.h: new width cache member
2647
2648         * rowpainter.C: replace RowList::iterator with Row & where possible
2649
2650         * lyxfunc.C: replace several view()->text with a single call
2651
2652         * toc.C: fix 'unused' warning
2653
2654 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2657         when woring with stream::pos_type
2658         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2659
2660 2003-10-22  André Pönitz  <poenitz@gmx.net>
2661
2662         * lyxtext.h:
2663         * text.C: use Row & instead of RowList::iterator
2664
2665         * lyxrow.h: rename end() to endpos()
2666
2667         * rowpainter.C:
2668         * text.C:
2669         * text2.C: adjust
2670
2671 2003-10-22  Angus Leeming  <leeming@lyx.org>
2672
2673         * buffer.[Ch] (fully_loaded): new member function, returning true
2674         only when the file has been loaded fully.
2675         Used to prevent the premature generation of previews and by the
2676         citation inset to prevent computation of the natbib-style label.
2677
2678         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2679         templates are all set up.
2680
2681         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2682
2683 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2684
2685         * text.C: fixed an "oops" in the "is a bit silly"
2686         bug fix
2687
2688 2003-10-21  André Pönitz  <poenitz@gmx.net>
2689
2690         * FuncStatus.[Ch]: small stuff, whitespace
2691
2692         * lyxfont.[Ch]: operator<<() for debug reasons
2693
2694         * lyxfunc.C:
2695         * lyxrow_funcs.C:
2696         * lyxtext.h: whitespace, spelling
2697
2698         * paragraph.C: naming of variables
2699
2700         * text.C:
2701         * text2.C: small stuff
2702
2703
2704 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2705
2706         * text.C: (1) finish off the inset display() work;
2707         (2) fix the "is a bit silly" bug (accessing char
2708         past end of par).
2709
2710 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2711
2712         * text.C: re-introduce display() for insets, fixing the
2713         various bugs (stretch of line above, math inset
2714         positioning, ...)
2715
2716 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2717
2718         * text.C (rightMargin): remove spurious semicolon
2719
2720         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2721         1415)
2722
2723 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * text3.C: fix one crash due to wrong cursor def
2726
2727 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * vc-backend.C (scanMaster): make the regex static
2730
2731         * LaTeX.C (scanAuxFile): make the regexs static
2732
2733         * text3.C (doInsertInset, dispatch, dispatch):
2734         * text2.C (cursorUp, cursorDown):
2735         * text.C (selectNextWordToSpellcheck):
2736         * BufferView_pimpl.C (dispatch):
2737         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2738
2739 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2740
2741         * lyxsocket.C: include <cerrno>
2742
2743 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * lyxfunc.C (dispatch): remove textcache stuff
2746
2747         * bufferlist.C (release): remove textcache stuff
2748         (closeAll): ditto
2749
2750         * TextCache.C: delete file
2751         * TextCache.h: delete file
2752
2753         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2754
2755         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2756         delete of the bv_->text.
2757         (resizeCurrentBuffer): remove texcache stuff
2758         (workAreaResize): ditto
2759
2760 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2763         action.
2764
2765 2003-10-16  André Pönitz  <poenitz@gmx.net>
2766
2767         * lyxrow.[Ch]:
2768         * paragraph.h:
2769         * rowpainter.C:
2770         * text.C:
2771         * text2.C:
2772         * text3.C: speed up by storing y positions per paragraph plus per-row
2773         offset instead of having a 'full' y position in the row.
2774
2775 2003-10-15  André Pönitz  <poenitz@gmx.net>
2776
2777         * iterators.[Ch]:
2778         * iterators.[Ch]:
2779         * undo.[Ch]: make undo aware of inner insets
2780
2781 2003-10-14  Angus Leeming  <leeming@lyx.org>
2782
2783         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2784         static member functions LyX::ref() and LyX::cref.
2785         (lastfiles): new accessor functions for the new lastfiles_ member var.
2786         (addLyXView, views_): add a new LyXView to the list of views_.
2787         (updateInset): loop over all LyXViews to call their own updateInset
2788         member function, returning a pointer to the Buffer owning the inset.
2789
2790         * BufferView_pimpl.C (loadLyXFile):
2791         * MenuBackend.C (expandLastfiles):
2792         * bufferlist.C (MenuWrite, QuitLyX):
2793         lastfiles is no longer a global variable.
2794         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2795
2796         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2797         static function. Access through LyX::cref().emergencyCleanup().
2798
2799 2003-10-14  André Pönitz  <poenitz@gmx.net>
2800
2801         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2802
2803         * undo.[Ch]: restoring part of 'undo in insets'
2804
2805         * Makefile.am:
2806         * undo_funcs.[Ch]: merge with undo.[Ch]
2807
2808         * tabular.C: small cleansing stuff
2809
2810 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * paragraph_funcs.C (readParToken): report unknown insets as error
2813         boxes. Use the outer paragraph as location (also for unknown
2814         tokens).
2815
2816         * factory.C (readInset): do not abort on reading an unknown inset.
2817         Eat it and return 0.
2818
2819 2003-10-13  Angus Leeming  <leeming@lyx.org>
2820
2821         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2822
2823         * lyxrc.C: displayTranslator is now a function,
2824         declared in GraphicsTypes.h.
2825
2826 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2827
2828         * format.C: new placeholder $$a to pass the socket address.
2829
2830         * bufferlist.[Ch]: new function getBufferFromTmp.
2831
2832         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2833           files in the temporary dir.
2834
2835 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2836
2837         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2838
2839         * Makefile.am: add lyxsocket.[Ch].
2840
2841         * lyx_main.C (error_handler): handle SIGPIPE.
2842
2843 2003-10-13  André Pönitz  <poenitz@gmx.net>
2844
2845         * BufferView_pimpl.C:
2846         * lyxtext.h:
2847         * text.C:
2848         * text2.C:
2849         * text3.C:
2850         * undo_funcs.[Ch]: use paroffset_type instead of
2851           ParagraphList::iterators to prevent multiple conversion
2852           (and get a more robust interface)
2853
2854 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2857         * lyxtext.h: ditto
2858         * text3.C (dispatch): ditto
2859
2860 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2861
2862         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2863         move the onlyfile, use onlyfile instead of foundfile in a couple
2864         of places.
2865
2866         * DepTable.C (update): flush the error stream a bit more
2867
2868 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * lyxserver.C (callback): adjust
2871
2872         * lyxfunc.C (getStatus): add a missing brace in commented code
2873         (ensureBufferClean): reindent
2874         (dispatch): delete version taking a string
2875
2876 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * LaTeX.C (deplog): move found file handlig from here...
2879         (handleFoundFile): .. to new function here.
2880         (deplog): make sure to discover several files mentioned on the
2881         same log line.
2882
2883 2003-10-10  André Pönitz  <poenitz@gmx.net>
2884
2885         * lyxfunc.C:
2886         * lyxtext.h:
2887         * tabular.C:
2888         * text.C:
2889         * text2.C:
2890         * text3.C: fix some of the tabular crashes
2891
2892 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2893
2894         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2895
2896         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2897
2898 2003-10-09  André Pönitz  <poenitz@gmx.net>
2899
2900         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2901
2902         * BufferView.C:
2903         * BufferView_pimpl.C:
2904         * bufferview_funcs.C:
2905         * lyx_cb.C:
2906         * lyxcursor.C:
2907         * lyxfind.C:
2908         * lyxfunc.C:
2909         * lyxtext.h:
2910         * text.C:
2911         * text2.C:
2912         * text3.C:
2913         * text_funcs.[Ch]:
2914         * textcursor.[Ch]:
2915         * undo_funcs.C: adjust
2916
2917 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * text2.C (incrementItemDepth): new function, use a backtracking
2920         algorithm to discover the correct item depth.
2921         (resetEnumCounterIfNeeded): new function, use a backtracking
2922         algorithm to discover if counter reset is needed.
2923         (setCounter): use them. Simplify a bit. Add different labels for
2924         different item depths for itemize.
2925
2926         * paragraph.C (Paragraph): remove initialization of enumdepth
2927         (operator=): ditto
2928
2929         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2930         enumerate and itemize. Change the type of itemdepth to signed char.
2931
2932 2003-10-08  André Pönitz  <poenitz@gmx.net>
2933
2934         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2935           thing assignable.
2936         * text.C:
2937         * text2.C: adjust
2938
2939         * tabular.[Ch]: fix crash after 'row-insert'
2940
2941 2003-10-08  Angus Leeming  <leeming@lyx.org>
2942
2943         Fix doxygen warnings.
2944
2945         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2946         Remove CutAndPaste:: prefix from header file declaration.
2947
2948         * LColor.h (fill): remove LColor:: prefix from declaration.
2949
2950         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2951         use lyx::depth_type rather than Paragraph::depth_type so that
2952         header file and .C file match.
2953
2954         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2955
2956         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2957         * aspell.C: \file aspell_local.C -> \file aspell.C
2958         * gettext.C: \file gettext.C -> \file src/gettext.C
2959         * gettext.h: \file gettext.h -> \file src/gettext.h
2960         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2961         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2962         * text.C: \file text.C -> \file src/text.C
2963
2964         * toc.C: move comment so that doxygen is not confused.
2965
2966 2003-10-07  Angus Leeming  <leeming@lyx.org>
2967
2968         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2969
2970 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2971
2972         * aspell.C:
2973         * aspell_local.h: add forgotten std::string's.
2974
2975 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2976
2977         * LaTeXFeatures.C:
2978         * LyXAction.C:
2979         * factory.C:
2980         * lfuns.h:
2981         * lyxfunc.C:
2982         * text3.C: The Box patch. Fancybox support, minipage, parbox
2983
2984 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2985
2986         * CutAndPaste.h:
2987         * DepTable.h:
2988         * FloatList.h:
2989         * LaTeXFeatures.h:
2990         * ParagraphParameters.h:
2991         * TextCache.h:
2992         * Thesaurus.h:
2993         * bufferlist.h:
2994         * exporter.h:
2995         * importer.h:
2996         * lastfiles.h:
2997         * lyxfind.h:
2998         * lyxfont.h:
2999         * lyxlex.h:
3000         * lyxtextclasslist.h:
3001         * messages.h:
3002         * paragraph.h:
3003         * paragraph_pimpl.C:
3004         * textcursor.h: add <string> and other small fixes to make Lars'
3005         std::string patch compile with STLport.
3006
3007 2003-10-06  Angus Leeming  <leeming@lyx.org>
3008
3009         * LColor.h: Add missing #include <string>.
3010
3011 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * All most all file in all subdirs: Make <string> be the prefered
3014         way of getting to std::string, add using declarations.
3015
3016 2003-10-06  André Pönitz  <poenitz@gmx.net>
3017
3018         * metricsinfo.C: initialize LyXFont before changing attribute.
3019         (fixes the 'math in \emph is upright' bug)
3020
3021 2003-10-06  André Pönitz  <poenitz@gmx.net>
3022
3023         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3024
3025 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * graph.C:
3028         * paragraph_pimpl.C: Small fixes to build using STLport
3029
3030 2003-10-02  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxfunc.C:
3033         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3034
3035 2003-10-01  André Pönitz  <poenitz@gmx.net>
3036
3037         * factory.C: assert early
3038
3039 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * lyx_main.C: remove the global debug object
3042
3043         * debug.h: adjust for new debugstream
3044
3045         * debug.C: adjust for new debugstream and keep the global debug
3046         object here.
3047
3048 2003-09-22  Angus Leeming  <leeming@lyx.org>
3049
3050         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3051         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3052         an incomplete class LyXFont.
3053
3054 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3055
3056         * factory.C: bug fix in branches
3057
3058 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * lyxfunc.C (processKeySym): adjust
3061         (dispatch): adjust
3062         (dispatch): change arg name from ev to func, adjust
3063         (sendDispatchMessage): ditto
3064
3065         * lyx_main.C (defaultKeyBindings): adjust keybindings
3066         (deadKeyBindings): ditto
3067
3068         * kbsequence.C (addkey): return a FuncRequest
3069
3070         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3071
3072         * kbmap.C (bind): take a FuncRequest as arg, adjust
3073         (read): adjust
3074         (lookup): adjust
3075         (defkey): change to take a FuncRequest as arg, adjust
3076         (findbinding): take a FuncRequest as arg, adjust.
3077
3078         * funcrequest.h (operator=): added
3079
3080         * funcrequest.C (FuncRequest): default kb_action changed from
3081         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3082
3083         * buffer.C (dispatch): simplify
3084         (dispatch): adjust to take a FuncRequest as arg, adjust
3085
3086         * boost.C (assertion_failed): change assertion message slightly
3087
3088         * ToolbarBackend.C (read): simplify
3089
3090         * MenuBackend.C (binding): adjust call to findbinding, add a
3091         message if no binding is found.
3092         (read): simplify
3093         (expandToc): correct by adding a empty FuncRequest
3094
3095         * LyXAction.C: include <boost/assert.hpp>
3096         (isPseudoAction): delete function
3097         (LookupFunc): change name to...
3098         (lookupFunc): this. change return type to FuncRequest.
3099         (getActionName): take kb_action as arg, simplify
3100         (funcHasFlag): add an assert, simplify.
3101
3102 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * toc.C (action): return a FuncRequest, simplify
3105
3106         * lyxfunc.C (processKeySym): adjust
3107         (getStatus): delete version that takes an int.
3108         (getStatus): adjust
3109         (dispatch): delete version that takes action as int
3110         (dispatch): adjust
3111         (sendDispatchMessage): simplify and adjust
3112
3113         * funcrequest.C (getArg): take unsigned int as arg
3114
3115         * ToolbarBackend.C (read): adjust
3116         (add): delete version that takes func as a string.
3117         (getIton): take a FuncRequest as arg
3118
3119         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3120         action.
3121
3122         * MenuBackend.C (MenuItem): add a new construct that only takes a
3123         Kind, simplify the constructor use for submenus.
3124         (add): adjust
3125         (expandLastfiles): adjust
3126         (expandDocuments): adjust
3127         (expandFormats): adjust
3128         (expandFloatListInsert): adjust
3129         (expandFloatInsert): adjust
3130         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3131
3132         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3133         Remove class variables lyx_pseudo_map and lyx_arg_map
3134
3135         * LyXAction.C (searchActionArg): delete function
3136         (getPseudoAction): delete function
3137         (retrieveActionArg): delete function
3138         (LookupFunc): make it return kb_action, simplify.
3139         (getActionName): simplify
3140
3141         * factory.C (createInset): fix new bug
3142
3143 2003-09-19  Angus Leeming  <leeming@lyx.org>
3144
3145         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3146         masterFilename_ parameter in the include inset.
3147
3148         * factory.C (createInset): changes due to the changes to InsetInclude.
3149
3150 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3151
3152         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3153
3154 2003-09-18  Angus Leeming  <leeming@lyx.org>
3155
3156         * buffer.C:
3157         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3158         Inset::fillWithBibKeys.
3159         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3160
3161 2003-09-18  Angus Leeming  <leeming@lyx.org>
3162
3163         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3164         variables.
3165         (ctor): pass and store a 'Buffer const &'
3166         (buffer): new member function.
3167
3168         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3169         '*this' to the LaTeXFeatures ctor.
3170
3171 2003-09-18  Angus Leeming  <leeming@lyx.org>
3172
3173         * LColor.h:
3174         * lyxfont.C:
3175         * lyxfont.h:
3176         * lyxtext.h:
3177         * text.C: rename EnumLColor as LColor_color.
3178
3179 2003-09-18  Angus Leeming  <leeming@lyx.org>
3180
3181         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3182         remove #include "insets/insetbase.h" from cursor.h.
3183
3184 2003-09-18  Angus Leeming  <leeming@lyx.org>
3185
3186         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3187         InsetOld_code to remove #include "inset.h".
3188
3189         * iterators.C: add #include "insets/inset.h"
3190
3191 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3192
3193         * BufferView.C: remove more locking stuff that apparently doesn't
3194         do anything sensible.
3195
3196 2003-09-16  André Pönitz  <poenitz@gmx.net>
3197
3198         * paragraph.[Ch]:
3199         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3200           performance boost.
3201
3202 2003-09-16  Angus Leeming  <leeming@lyx.org>
3203
3204         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3205
3206         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3207         arg/return type.
3208
3209         * paragraph.h: remove #include "lyxfont.h". Forward declare
3210         LyXFont_size.
3211
3212 2003-09-16  Angus Leeming  <leeming@lyx.org>
3213
3214         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3215         of support/textutils.h.
3216         (isWord): move the contents of support/textutils.h's IsWordChar here.
3217
3218         * buffer.C:
3219         * lyxfind.C:
3220         * rowpainter.C:
3221         * text.C:
3222         * text2.C: add #include "paragraph.h".
3223
3224         * rowpainter.C:
3225         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3226
3227 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * main.C:
3230         * lyx_main.C:
3231         * lyx_cb.C:
3232         * buffer.C:
3233         * LaTeX.C: use namespace alias for lyx::support::os
3234
3235 2003-09-16  Angus Leeming  <leeming@lyx.org>
3236
3237         * bufferparams.C:
3238         * bufferview_funcs.C:
3239         * factory.C:
3240         * lyxfunc.C:
3241         * paragraph_pimpl.C:
3242         * rowpainter.C:
3243         * text.C: add #include "LColor.h".
3244
3245 2003-09-16  Angus Leeming  <leeming@lyx.org>
3246
3247         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3248         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3249         return LyXFont &.
3250         Store the FontBits::color variable as an int rather than as an
3251         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3252         file.
3253
3254         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3255         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3256         string calls together.
3257
3258         * lyxrc.C: add #include "LColor.h".
3259
3260 2003-09-15  Angus Leeming  <leeming@lyx.org>
3261
3262         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3263         a cow_ptr.
3264
3265 2003-09-15  Angus Leeming  <leeming@lyx.org>
3266
3267         * LColor.h: add an EnumLColor wrapper for LColor::color.
3268
3269         * lyxfont.[Ch] (color, setColor, realColor):
3270         * lyxtext.h, text.C (backgroundColor):
3271         pass EnumLColor args to/from the functions, rather than LColor::color
3272         ones.
3273
3274         * lyxfont.h:
3275         * lyxtext.h: forward declare EnumLColor.
3276
3277         * lyx_main.C: add #include "LColor.h".
3278
3279 2003-09-15  Angus Leeming  <leeming@lyx.org>
3280
3281         * .cvsignore: add lyx-gtk.
3282
3283 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * Chktex.C
3286         * LaTeX.C
3287         * LaTeXFeatures.C
3288         * ParagraphParameters.C
3289         * Spacing.C
3290         * buffer.C
3291         * bufferparams.C
3292         * bufferview_funcs.C
3293         * chset.C
3294         * counters.C
3295         * funcrequest.C
3296         * lyxfont.C
3297         * lyxgluelength.C
3298         * lyxlength.C
3299         * paragraph.C
3300         * paragraph_funcs.C
3301         * text3.C
3302         * vc-backend.C: remove usage of STRCONV
3303
3304 2003-09-15  Angus Leeming  <leeming@lyx.org>
3305
3306         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3307         explicitly define the color passed to the painter.
3308
3309 2003-09-15  Angus Leeming  <leeming@lyx.org>
3310
3311         * bufferparams.C (BufferParams): reorder member initializers to avoid
3312         compiler warning.
3313
3314 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3317         * text.C (updateRowPositions): remove an unusual nop
3318
3319 2003-09-12  André Pönitz  <poenitz@gmx.net>
3320
3321         * BufferView_pimpl.C:
3322         * Bullet.C:
3323         * layout.h:
3324         * lyxfunc.C:
3325         * lyxlayout.[Ch]:
3326         * lyxtextclass.C:
3327         * rowpainter.C:
3328         * text.C:
3329         * text2.C:
3330         * Counters.[Ch]: finish the 'automatic counters' job
3331
3332 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3333
3334         * aspell.C: include <boost/assert.cpp> (compile fix)
3335
3336 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3337
3338         * boost.C (assertion_failed): use lyx::support::abort instead of
3339         assert.
3340
3341 2003-09-10  Angus Leeming  <leeming@lyx.org>
3342
3343         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3344         with their _fwd progeny.
3345
3346 2003-09-09  Angus Leeming  <leeming@lyx.org>
3347
3348         134 files throughtout the source tree: replace 'using namespace abc;'
3349         directives with the appropriate 'using abc::xyz;' declarations.
3350
3351 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3352
3353         * boost.C (emergencyCleanup): moved here from LAssert.c
3354         (assertion_failed): new function, called by BOOST_ASSERT
3355
3356         * several files: change Assert to BOOST_ASSERT
3357
3358 2003-09-09  Angus Leeming  <leeming@lyx.org>
3359
3360         * buffer.[Ch]: Add an Impl class and move Buffer's member
3361         variables into it. As a result move several header files out of
3362         buffer.h.
3363
3364         Add header files to lots of .C files all over the tree as a result.
3365
3366 2003-09-09  Angus Leeming  <leeming@lyx.org>
3367
3368         * buffer.[Ch]: make Buffer's member variables private. Add
3369         accessor functions.
3370
3371         Lots of changes all over the tree as a result.
3372
3373 2003-09-08  Angus Leeming  <leeming@lyx.org>
3374
3375         * graph.C: #include <config.h>.
3376
3377 2003-09-08  Angus Leeming  <leeming@lyx.org>
3378
3379         * BranchList.C:
3380         * BufferView.C:
3381         * BufferView_pimpl.C:
3382         * CutAndPaste.C:
3383         * DepTable.C:
3384         * LaTeX.C:
3385         * LaTeXFeatures.C:
3386         * LyXAction.C:
3387         * MenuBackend.C:
3388         * TextCache.C:
3389         * aspell.C:
3390         * buffer.C:
3391         * bufferlist.C:
3392         * changes.C:
3393         * chset.C:
3394         * converter.C:
3395         * counters.C:
3396         * debug.C:
3397         * graph.C:
3398         * ispell.C:
3399         * lyx_cb.C:
3400         * lyxfind.C:
3401         * lyxfunc.C:
3402         * lyxlex_pimpl.C:
3403         * lyxrc.C:
3404         * lyxrow.C:
3405         * paragraph.C:
3406         * rowpainter.C:
3407         * texrow.C:
3408         * text.C:
3409         * text2.C:
3410         * toc.C: remove redundant using directives.
3411
3412 2003-09-07  Angus Leeming  <leeming@lyx.org>
3413
3414         * LaTeXFeatures.h: remove #include "support/types.h".
3415         * ToolbarBackend.h: remove #include <algorithm>.
3416         * changes.h: remove #include <ctime>.
3417         * debug.h: remove #include <iosfwd>.
3418         * graph.h: remove #include "support/std_string.h".
3419         * lyx_main.h: remove #include <csignal>.
3420         * lyxlex_pimpl.h: remove #include <fstream>.
3421         * sgml.h: remove #include <algorithm>, <utility>.
3422         * toc.h: remove #include "support/std_ostream.h".
3423         Add #include <iosfwd>.
3424
3425 2003-09-07  Angus Leeming  <leeming@lyx.org>
3426
3427         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3428
3429         * converter.h: forward declare LatexRunParams.
3430         * encoding.h: remove #include "lyxrc.h".
3431         * lyxtext.h: remove #include "LColor.h".
3432         * lyxtextclass.h: remove #include "support/types.h".
3433         * trans.h: remove #include "tex-accent.h".
3434         * trans_mgr.h: remove #include "tex-accent.h".
3435         * insets/inset.h: remove #include "support/types.h", <vector>.
3436         * insets/insetcollapsable.h: remove #include "LColor.h".
3437         * insets/insetinclude.h: remove #include "dimension.h".
3438         * insets/insetlatexaccent.h: remove #include "dimension.h".
3439         * insets/insetoptarg.h:: remove #include "insettext.h".
3440         * insets/insettext.h: remove #include "dimension.h",
3441         <boost/shared_ptr.hpp>
3442
3443         * insets/renderers.h: add #include "dimension.h".
3444         * insets/updatableinset.h: add #include "support/types.h".
3445
3446         * many .C files: Associated changes.
3447
3448 2003-09-06  Angus Leeming  <leeming@lyx.org>
3449
3450         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3451         one, inside testInvariant.
3452
3453         * PrinterParams.C: new file.
3454         * PrinterParams.[Ch]: move the function bodies out of line.
3455
3456 2003-09-06  Angus Leeming  <leeming@lyx.org>
3457
3458         * ParagraphParameters.h: forward declare ParameterStruct rather than
3459         including its header file.
3460         (depth): moved out-of-line.
3461
3462 2003-09-06  Angus Leeming  <leeming@lyx.org>
3463
3464         * BufferView_pimpl.h:
3465         * kbmap.h:
3466         * kbsequence.h:
3467         * lyxfunc.h: forward declare LyXKeySym rather than
3468         #include "frontends/LyXKeySym.h".
3469
3470         * BufferView_pimpl.C:
3471         * kbmap.C:
3472         * kbsequence.C:
3473         * lyxfunc.C: associated changes.
3474
3475 2003-09-06  Angus Leeming  <leeming@lyx.org>
3476
3477         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3478         As a result, can remove the #include "insets/inset.h" from BufferView.h
3479
3480 2003-09-06  Angus Leeming  <leeming@lyx.org>
3481
3482         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3483         As a result, can remove the #include "insets/inset.h" from BufferView.h
3484
3485 2003-09-06  Angus Leeming  <leeming@lyx.org>
3486
3487         * buffer_funcs.C:
3488         * buffer.h:
3489         * bufferlist.C:
3490         * BufferView.C:
3491         * bufferview_funcs.C:
3492         * BufferView_pimpl.C:
3493         * CutAndPaste.C:
3494         * lyx_cb.C:
3495         * lyxfunc.C:
3496         * paragraph.h:
3497         * ParagraphParameters.C:
3498         * tabular.C:
3499         * text3.C:
3500         * toc.C:
3501         * undo_funcs.C:
3502         * frontends/controllers/ControlDocument.C:
3503         * insets/insetcaption.C: rearrange the #includes into some sort of
3504         coherent order.
3505
3506         * buffer.h: remove #includes ErrorList.h, undo.h
3507
3508 2003-09-06  Angus Leeming  <leeming@lyx.org>
3509
3510         * support/types.h: add a 'depth_type' typedef, used to store the
3511         nesting depth of a paragraph.
3512
3513         * paragraph.h:
3514         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3515         defining explicitly.
3516
3517         * buffer.h:
3518         * paragraph_funcs.h:
3519         * ParagraphParameters.h:
3520         * sgml.h: use lyx::depth_type rather than Paragraph or
3521         ParameterStruct's depth_type.
3522
3523         * buffer.h
3524         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3525
3526         * BufferView.C:
3527         * BufferView_pimpl.C:
3528         * CutAndPaste.C:
3529         * ParagraphParameters.C:
3530         * buffer_funcs.C:
3531         * bufferlist.C:
3532         * bufferview_funcs.C:
3533         * lyx_cb.C:
3534         * lyxfunc.C:
3535         * tabular.C:
3536         * text3.C:
3537         * toc.C:
3538         * undo_funcs.C:
3539         * frontends/LyXView.C:
3540         * frontends/controllers/ControlDocument.C:
3541         * frontends/controllers/ControlErrorList.C:
3542         * insets/insetbibitem.C:
3543         * insets/insetbranch.C:
3544         * insets/insetcaption.C:
3545         * insets/insetcollapsable.C:
3546         * insets/insetenv.C:
3547         * insets/insetert.C:
3548         * insets/insetfloat.C:
3549         * insets/insetfoot.C:
3550         * insets/insetfootlike.C:
3551         * insets/insetnewline.C:
3552         * insets/insetquotes.C:
3553         * insets/insettabular.C:
3554         * insets/insettext.C:
3555         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3556
3557         * frontends/controllers/ControlChanges.C: #include "changes.h".
3558
3559 2003-09-06  Angus Leeming  <leeming@lyx.org>
3560
3561         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3562         than #including paragraph.h.
3563
3564         * ParagraphList.h:
3565         * RowList.h: deleted. Superfluous.
3566
3567         * CutAndPaste.h:
3568         * iterators.h:
3569         * lyxcursor.h:
3570         * lyxtext.h:
3571         * text_funcs.h:
3572         * undo.h:
3573         * undo_funcs.h:
3574         * insets/inset.h:
3575         * insets/insettext.h: use ParagraphList_fwd.h rather than
3576         ParagraphList.h.
3577
3578         * paragraph.h: don't forward declare ParagraphList.
3579
3580         * buffer.h:
3581         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3582         rather than ParagraphList.h. paragraph.h is still needed for the
3583         Paragraph::depth_type parameters.
3584
3585         * textcursor.h: enable it to compile stand-alone in light of the
3586         above changes.
3587
3588         * bufferview_funcs.C:
3589         * iterators.C:
3590         * lyxfunc.C:
3591         * lyxrow_funcs.C:
3592         * paragraph.C:
3593         * rowpainter.C:
3594         * text.C:
3595         * text2.C:
3596         * text3.C:
3597         * text_funcs.C:
3598         * textcursor.C:
3599         * undo.C:
3600         * frontends/controllers/ControlParagraph.C:
3601         * frontends/controllers/ControlTabular.C:
3602         * insets/insetmarginal.C:
3603         * insets/insetminipage.C:
3604         * insets/insetnote.C:
3605         * insets/insetoptarg.C: add header files needed to compile again.
3606
3607 2003-09-06  Angus Leeming  <leeming@lyx.org>
3608
3609         * RowList_fwd.h: new file, forward-declaring Row rather than
3610         #including lyxrow.h.
3611
3612         * lyxrow_funcs.h:
3613         * lyxtext.h:
3614         * paragraph.h:
3615         * insets/insettext.h: use it instead of RowList.h
3616
3617         * bufferview_funcs.C:
3618         * lyxfunc.C:
3619         * lyxrow_funcs.C:
3620         * paragraph.C:
3621         * rowpainter.C:
3622         * text.C:
3623         * text2.C:
3624         * text3.C: #include "RowList.h".
3625
3626 2003-09-05  Angus Leeming  <leeming@lyx.org>
3627
3628         * factory.C (createInset):
3629         * vspace.C (c-tor): replace sscanf call with an istringstream.
3630         * ispell.C: re-add missing HP/UX headers.
3631         * lyxserver.C: re-add missing  os2 headers.
3632
3633 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3634
3635         * BranchList.C:
3636         * graph.C:
3637         * ispell.C:
3638         * lastfiles.C:
3639         * lyx_cb.C:
3640         * lyxserver.C:
3641         * texrow.C:
3642         * text3.C: re-add missing system headers, needed for 2.95.2.
3643
3644 2003-09-05  Angus Leeming  <leeming@lyx.org>
3645
3646         Changes most place everywhere due to the removal of using directives
3647         from support/std_sstream.h.
3648
3649 2003-09-05  Angus Leeming  <leeming@lyx.org>
3650
3651         Replace LString.h with support/std_string.h,
3652         Lsstream.h with support/std_sstream.h,
3653         support/LIstream.h with support/std_istream.h,
3654         support/LOstream.h with support/std_ostream.h.
3655
3656         Changes resulting throughout the tree.
3657
3658 2003-09-05  Angus Leeming  <leeming@lyx.org>
3659
3660         * sgml.h: ensure that the header file can be compiled stand-alone.
3661         * *.C: strip out redundant #includes. (320 in total.)
3662
3663 2003-09-04  Angus Leeming  <leeming@lyx.org>
3664
3665         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3666         here (from getPackages).
3667
3668         * debug.[Ch]: add a new EXTERNAL tag.
3669
3670 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3671
3672         * text2.C (cursorEnd): simplify
3673         (setCursor): adjust
3674         (getColumnNearX): adjust
3675
3676         * text.C (computeBidiTables): adjust
3677         (fill): adjust
3678
3679         * rowpainter.C (paintChars): adjust
3680         (paintSelection): adjust
3681         (paintChangeBar): adjust
3682         (paintText): adjust
3683
3684         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3685         lastPos instead.
3686         (numberOfSeparators): adjust
3687
3688 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3689
3690         * LyXAction.C:
3691         * box.[Ch]:
3692         * lfuns.h:
3693         * lyxfunc.C:
3694         * text3.C: Restricts the mouse click functionality
3695         of insets like bibtex, include, toc and floatlist to the visible
3696         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3697         up the dialogs. Cursor has to be in front of the inset (i.e.
3698         start of row) for this to function.
3699
3700 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3701
3702         * bufferview_funcs.C (currentState): output row information
3703
3704 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3705
3706         * bufferview_funcs.C (currentState): output paragraph position
3707
3708 2003-09-04  Angus Leeming  <leeming@lyx.org>
3709
3710         * FloatList.h: move out #include "Floating.h".
3711         * LaTeX.h: move out #include "DepTable.h".
3712         * LyXAction.h: move out #include "funcrequest.h".
3713         * buffer.h: move out #include "author.h", "iterators.h".
3714         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3715         * lyx_main.h: move out #include "errorlist.h".
3716         * lyxfunc.h: move out #include "FuncStatus.h".
3717         * lyxtext: move out #include "lyxcursor.h".
3718         * paragraph_pimpl.h: move out #include "counters.h".
3719
3720 2003-09-03  Angus Leeming  <leeming@lyx.org>
3721
3722         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3723         preamble_snippets list, enabling us to add snippets to the preamble
3724         only if the snippet was not there already.
3725
3726 2003-09-04  Angus Leeming  <leeming@lyx.org>
3727
3728         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3729
3730 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3733         update
3734
3735 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3736
3737         * BranchList.C: point fix, earlier forgotten
3738
3739 2003-09-02  Angus Leeming  <leeming@lyx.org>
3740
3741         * box.C (contains): renamed from 'contained' after a fantastic
3742         amount of hot air.
3743
3744 2003-09-02  John Levon  <levon@movementarian.org>
3745
3746         * BufferView.C:
3747         * lyxcursor.h:
3748         * lyxcursor.C:
3749         * lyxfunc.C:
3750         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3751
3752 2003-09-02  John Levon  <levon@movementarian.org>
3753
3754         * text2.C: simplification of cursorEnd(), including partial
3755         fix for bug 1376
3756
3757 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * buffer.C (readFile): add a space
3760
3761 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3764
3765 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * buffer.C (readFile): new function, take a filename and a
3768         ParagraphList::iterator
3769         (readFile): adjust
3770         (readFile): adjust, make it private. don't use setStream, make
3771         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3772         always contain the filename.
3773
3774         * BufferView.C (insertLyXFile): simplify and make it work for
3775         gzipped files.
3776
3777 2003-08-30  John Levon  <levon@movementarian.org>
3778
3779         * Makefile.am: fix dist (from Kayvan)
3780
3781 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * most files: change to use const Buffer refs
3784
3785 2003-08-27  André Pönitz  <poenitz@gmx.net>
3786
3787         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3788         on top of ownerPar().
3789
3790 2003-08-27  John Levon  <levon@movementarian.org>
3791
3792         * funcrequest.C: properly initialise POD members
3793
3794 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3795
3796         * lyxtext.h (top_y): move top_y from here
3797         * text.C:
3798         * text2.C:
3799         * text3.C:
3800         * BufferView.[Ch]:
3801         * BufferView_pimpl.[Ch]: to here
3802         * frontends/screen.C:
3803         * insets/insettabular.C:
3804         * insets/insettext.C: adjust
3805         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3806
3807 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * BufferView.[Ch]:
3810         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3811
3812 2003-08-26  André Pönitz  <poenitz@gmx.net>
3813
3814         * paragraph_func.[Ch] (outerPar): new function
3815
3816         * paragraph.C:
3817         * paragraph_funcs.C:
3818         * paragraph_funcs.h:
3819         * paragraph_pimpl.C:
3820         * text2.C: remove Inset::par_owner
3821
3822 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * lyxrow_funcs.C:
3825         * lyxtext.h:
3826         * text.C:
3827         * text2.C: eliminates the needFullRow/display() stuff
3828         altogether, putting the logic in metrics/draw in the insets.
3829
3830 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3831
3832         * text2.C (redoParagraphInternal, redoParagraphs):
3833         * text.C (redoParagraph): add a call to updateRowPositions at the
3834         end of each 'metrics-like' call. Remove all others.
3835         (getRow): remove the 'y-computing' version.
3836         (getRowNearY): do not compute nor return the real y. Solve the
3837         'y < 0' problem and simplify.
3838
3839 2003-08-22  Angus Leeming  <leeming@lyx.org>
3840
3841         * *.[Ch]: clean-up of licence and author blurbs.
3842         Also move config.h out of a few .h files and into a few .C files.
3843
3844 2003-08-22  André Pönitz  <poenitz@gmx.net>
3845
3846         * lyxrow.[Ch]: add x_ and *fill_ members
3847
3848         * lyxtext.h:
3849         * text.C:
3850         * rowpainter.C:
3851         * text2.C: adjust/remove prepareToPrint() calls
3852
3853 2003-08-22  André Pönitz  <poenitz@gmx.net>
3854
3855         * lyxrow.[Ch]: add  end_ member
3856
3857         * lyxrow_funcs.C: use LyXRow::end_
3858
3859         * lyxtext.h (singleWidth): add LyXFont parameter
3860
3861         * rowpainter.C:
3862         * text2.C: adjust LyXText::singleWidth() calls
3863
3864         * text.C (redoParagraph): simplify row breaking logic
3865
3866
3867 2003-08-19  André Pönitz  <poenitz@gmx.net>
3868
3869         * funcrequest.C: initialize button_ member
3870
3871         * text3.C:
3872         * rowpainter.[Ch]: interface consolidation
3873
3874 2003-08-18  André Pönitz  <poenitz@gmx.net>
3875
3876         * BufferView.C:
3877         * BufferView_pimpl.C:
3878         * lyxfind.C:
3879         * paragraph_funcs.C:
3880         * rowpainter.C:
3881         * text3.C: remove LyXScreen::draw() and fitCursor calls
3882
3883         * BranchList.h: remove spurious semicolons
3884
3885         * MenuBackend.C: fix branchlist related crash
3886
3887 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3888
3889         * BranchList.[Ch]:
3890         * InsetList.[Ch]:
3891         * LColor.[Ch]:
3892         * LyXAction.C:
3893         * Makefile.am:
3894         * MenuBackend.[Ch]:
3895         * bufferparams.[Ch]:
3896         * factory.C:
3897         * lfuns.h:
3898         * lyxfunc.C:
3899         * text3.C: implements the 'branch inset'
3900         idea. This allows the output of various versions of a document
3901         from a single source version, selectively outputing or suppressing
3902         output of parts of the text.
3903         This implementation contains a 'branch list editor' in a separate
3904         tab of the document settings dialog. Branches are user definable
3905         and have a "display colour" to distinguish them on-screen.
3906
3907         ColorHandler was somewhat cleaned up.
3908         (1) make possible a dynamically growing LColor list by allowing
3909         the graphic context cache to grow along (vector);
3910         (2) eliminate an IMHO unnecessary step in colour allocation.
3911
3912 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3913
3914         * BufferView_pimpl.C: compile fix
3915
3916 2003-08-15  André Pönitz  <poenitz@gmx.net>
3917
3918         * rowpainter.C: remove extra metrics calls
3919
3920         * lyxtext.h: merge the two constructors into a single one,
3921           pass reference to owner's par list
3922
3923         * BufferView_pimpl.C:
3924         * text.C:
3925         * text2.C: adjust
3926
3927 2003-08-15  André Pönitz  <poenitz@gmx.net>
3928
3929         * lyxrow_funcs.[Ch]:
3930         * lyxtext.h:
3931         * paragraph.h:
3932         * paragraph_funcs.C:
3933         * rowpainter.C:
3934         * text.C:
3935         * text2.C:
3936         * text3.C:
3937         * text_funcs.C: split LyXText::rowlist_ into individual
3938         Paragraph::rows_ chunks
3939
3940         * BufferView.[Ch]:
3941         * BufferView_pimpl.[Ch]:
3942         * lyxfind.C:
3943         * lyxtext.h:
3944         * text3.C: remove toggleSelection()
3945
3946 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3947
3948         * bufferlist.C: beautify two alerts (shorter text of buttons)
3949         * buffer.C: Remove redundant ' ' from message
3950         * tabular.h:
3951         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3952         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3953         rename VALIGN_CENTER to VALIGN_MIDDLE
3954
3955 2003-08-11  André Pönitz  <poenitz@gmx.net>
3956
3957         * lyxtext.h (getPar):
3958         * text.C: new function
3959
3960 2003-08-11  André Pönitz  <poenitz@gmx.net>
3961
3962         * Makefile.am:
3963         * tracer.[Ch]: remove unneeded files
3964
3965         * InsetList.[Ch]: remove resizeInsetsLyXText()
3966
3967         * lyxtext.h:
3968         * text.C:
3969         * text2.C:
3970         * text3.C: merge insertParagraphs() and appendParagraph()
3971         remove breakAgain(), update()
3972
3973         * BufferView_pimpl.[Ch]:
3974         * bufferview_funcs.[Ch]:
3975         * lyxfunc.C:
3976         * paragraph.[Ch]:
3977         * rowpainter.C:
3978         * tabular.C: adjust after text & InsetList changes.
3979
3980 2003-08-08  André Pönitz  <poenitz@gmx.net>
3981
3982         * text.C (insertChar, backspace): replace rowlist fiddling
3983         with rebreak of full par
3984
3985         * lyxtext.h:
3986         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3987         checkParagraph, updateInset): removed
3988
3989 2003-08-07  André Pönitz  <poenitz@gmx.net>
3990
3991         * paragraph.C:
3992         * text3.C: merge some LFUN handlers, remove dead code
3993
3994 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3995
3996         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3997
3998 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3999
4000         * text2.C (DEPM): fix part of bug 1255 and 1256
4001
4002 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4003
4004         * BufferView_pimpl.C (workAreaDispatch): change to use
4005         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4006         that are no mouse related.
4007
4008 2003-08-05  André Pönitz  <poenitz@gmx.net>
4009
4010         * BufferView.[Ch]:
4011         * BufferView_pimpl.[Ch]:
4012         * bufferview_funcs.C:
4013         * text2.C:
4014         * text3.C: rip out "deep update"
4015
4016         * textcursor.[Ch] (last_sel_cursor): remove unused member
4017
4018 2003-08-04  André Pönitz  <poenitz@gmx.net>
4019
4020         * BufferView.[Ch]:
4021         * BufferView_pimpl.[Ch]:
4022         * ParagraphParameters.C:
4023         * bufferview_funcs.C:
4024         * lyx_cb.C:
4025         * lyxfind.C:
4026         * lyxfunc.C:
4027         * text.C:
4028         * text2.C:
4029         * text3.C: replace "complicated" BufferView::update(...) calls with
4030         simpler ones.
4031
4032         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4033
4034 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4035
4036         * Makefile.am (lyx_SOURCES): add paper.h
4037
4038 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4039
4040         * Makefile.am: move things around so that both lyx-qt and
4041         lyx-xforms can be built (according to --with-frontend). Then lyx
4042         is a symbolic link to lyx-[firstfrontend]
4043
4044 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4045
4046         * Always use std::endl with lyxerr
4047
4048 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4049
4050         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4051
4052 2003-08-01  André Pönitz  <poenitz@gmx.net>
4053
4054         * BufferView.[Ch]:
4055         * BufferView_pimpl.[Ch]:
4056         * lyxfunc.C:
4057         * text3.C: merge BufferView::repaint() and BufferView::update()
4058
4059 2003-08-01  José Matos  <jamatos@lyx.org>
4060
4061         * buffer.[Ch]: file_format is no longer a buffer data element.
4062
4063 2003-08-01  André Pönitz  <poenitz@gmx.net>
4064
4065         * BufferView.C:
4066         * lyxtext.h:
4067         * text.C:
4068         * text2.C: make redoParagraph more independent of current cursor
4069
4070         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4071         * text.C:
4072         * text2.C: remove unneeded members
4073
4074 2003-07-30  André Pönitz  <poenitz@gmx.net>
4075
4076         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4077
4078         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4079           create a single function...
4080
4081         * paragraph_funcs.C (moveItem): ... here.
4082
4083         * text.C:
4084           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4085
4086 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4087
4088         * LColor.[Ch]: Add comment and greyedout logical colors.
4089
4090 2003-07-30  André Pönitz  <poenitz@gmx.net>
4091
4092         * tabular.C: don't use Assert too heavily. This crashes where it
4093           shouldn't
4094
4095 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4098         is disabled (bug 1232)
4099
4100 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4101
4102         * factory.C: limited 'arg' scope
4103
4104 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4105
4106         * factory.C: fixed Note submenu issues
4107
4108 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * factory.C: submenu for Note/Comment/Greyedout
4111
4112 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4113
4114         * lyx_main.C (LyX):
4115         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4116
4117 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4118
4119         * LaTeXFeatures.C:
4120         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4121         greyedout. Patch provided by Jürgen Spitzmüller.
4122
4123 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4124
4125         * kbmap.C (read): fix error message when reading bind files
4126
4127 2003-07-29  Angus Leeming  <leeming@lyx.org>
4128
4129         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4130         certainly does not do what it purports to do. I am doing it, and
4131         us, a favour by killing it.
4132
4133 2003-07-28  José Matos  <jamatos@lyx.org>
4134
4135         * buffer.C (readBody, do_writeFile):
4136         * paragraph.C(readParagraph): \end_document replaces \the_end.
4137
4138 2003-07-29  André Pönitz  <poenitz@gmx.net>
4139
4140         * BufferView.[Ch]:
4141         * BufferView_pimpl.[Ch]:
4142         * lyxfunc.C:
4143         * text2.C:
4144         * text3.C:
4145         * textcursor.[Ch]: remove toggleToggle & Co
4146
4147 2003-07-28  José Matos  <jamatos@fep.up.pt>
4148
4149         * buffer.C (readParagraph):
4150         * params_func (readParToken, readParagraph):
4151         * paragraph.C (write): \layout -> \begin_layout.
4152
4153 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * lyxlex_pimpl.C (setFile): clean up slightly.
4156
4157         * bufferparams.h: add compressed var
4158
4159         * buffer_funcs.C (readFile): adjust for LyXLex change
4160         (newFile): ditto + simplify
4161
4162         * buffer.C (writeFile): handle writing of compressed files
4163
4164         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4165         Check if the file is compressed and set a bufferparm if so.
4166
4167         * Makefile.am (lyx_LDADD): remove explicit -lz
4168
4169 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4170
4171         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4172         makeDocBookFile): put the real LyX version in the first line of
4173         the file
4174
4175         * version.h:
4176         * version.C.in: remove lyx_docversion
4177
4178         * tabular.C (write_attribute): add a template-based version to
4179         write enums properly
4180
4181 2003-07-28  André Pönitz  <poenitz@gmx.net>
4182
4183         * lyxtext.h:
4184         * text.C:
4185         * text2.C:
4186         * text3.C: use doubles again for x-coordinates. They are needed.
4187
4188 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * messages.C (getLocaleDir): use lyx_localedir()
4191
4192         * lyxlex_pimpl.C (setFile): compress stuff
4193
4194         * buffer.C (writeFile): add some compression stuff
4195         (do_writeFile): new func, dont call expliti close... will this
4196         breake anything?
4197
4198         * Makefile.am (lyx_LDADD): add -lz
4199
4200 2003-07-28  José Matos  <jamatos@fep.up.pt>
4201
4202         * buffer.C: increment file format.
4203         * paragraph_funcs (readParagraph, readParToken):
4204         * paragraph.C (readParagraph): add \end_layout.
4205
4206 2003-07-27  Angus Leeming  <leeming@lyx.org>
4207
4208         * Makefile.am: remove special casing for configure-time setting of
4209         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4210
4211         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4212         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4213
4214 2003-07-26  André Pönitz  <poenitz@gmx.net>
4215
4216         * paragraph_func.[Ch]:
4217         * paragraph.C (realizeFont): inline it whereever it is used
4218
4219         * rowpainter.C:
4220         * text.C:
4221         * text2.C:
4222         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4223
4224
4225 2003-07-26  André Pönitz  <poenitz@gmx.net>
4226
4227         *       lyxtext.h:
4228         * text.C:
4229         * text2.C: get rid of LyXText::need_break_row
4230
4231 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4232
4233         * toc.[Ch]: put namespace toc inside namespace lyx
4234
4235         * MenuBackend.C (expandToc2): adjust for lyx::toc
4236         (expandToc): ditto
4237
4238         * lyxfunc.C (dispatch): adjust for lyx::find
4239
4240         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4241         lyx::find instead. Reorganize a bit.
4242         (LyXReplace): rename to replace
4243         (LyXFind): rename to find
4244
4245         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4246         (dispatch): ditto
4247
4248 2003-07-26  André Pönitz  <poenitz@gmx.net>
4249
4250         * text.C (setHeightOfRow): restrict scope of temporary variable
4251
4252         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4253           code (never has been used?)
4254
4255 2003-07-27  Asger Alstrup  <alstrup@local>
4256
4257         * text.C (fill): Optimise algorithm to exploit that we can reuse
4258         the LyXFont for many characters.
4259         (setHeightOfRow): Same thing.
4260         (rowBreakPoint): Same thing.
4261
4262 2003-07-26  Asger Alstrup  <alstrup@local>
4263
4264         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4265
4266         * text.C (singleWidth): Spurious font copying in hot-spot
4267         singleWidth avoided. Reorder tests for arabic for efficiency.
4268
4269         * text.C (fill): handle empty paragraphs better.
4270
4271 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4272
4273         * ispell.C:
4274         * encoding.h: add includes
4275
4276         * lyxrc.C: remove reading of bind files
4277
4278         * lyx_main.C (init): setup bindings and menus only if we have a
4279         gui.
4280
4281         * kbmap.C (read): new method. Do the actual reading of bind
4282         files.
4283
4284         * converter.C (dvipdfm_options):
4285         * bufferparams.C:
4286         * lyxrc.C (read):
4287         (output): adapt PAPER_* enums.
4288
4289         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4290
4291         * bufferparams.h: remove paper-related enums from there
4292
4293         * paper.h: New file. A trivial header file to hold paper-related
4294         enums. It should later expand to contain many paper-related
4295         horrors access.
4296
4297         * lyxrc.C: declare extern displayTranslator
4298
4299 2003-07-27  José Matos  <jamatos@fep.up.pt>
4300
4301         * tabular.[Ch] (linuxdoc): add support for tables and figures
4302         (linuxdoc).
4303
4304 2003-07-27  José Matos  <jamatos@fep.up.pt>
4305
4306         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4307         consistency in both functions.
4308         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4309
4310 2003-07-26  Asger Alstrup  <alstrup@local>
4311
4312         * rowpainter.C (paintRows): Change algorithm to work directly on
4313         the insets rather than asking every character in the document
4314         whether its an inset.
4315
4316 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4317
4318         * buffer.C (openFileWrite): factorize some code
4319
4320 2003-07-26  Angus Leeming  <leeming@lyx.org>
4321
4322         * lyx_cb.C:
4323         * lyx_main.[Ch]: replace occurances of system_tempdir with
4324         os::getTmpDir().
4325
4326 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * rename Inset to InsetOld
4329
4330 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4331
4332         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4333         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4334         which I think is a bit clearer. EDIT is gone, since it was
4335         premature optimisation, and broken for mathed anyway.
4336         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4337         with cursor positioning in insets as well (math insets still do not
4338         work, but that's a different story anyway.) It mysteriously
4339         crashes sometimes with undo in the first paragraph, but I'm fairly
4340         confident that this is a compiler bug.
4341
4342 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * paragraph.C (Paragraph): adjust for new clone return type
4345         (operator==): ditto
4346         (copyIntoMinibuffer): ditto
4347
4348 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4349
4350         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4351         by not having a special case, and always doing a full rebreak of
4352         the document after undo.
4353
4354 2003-07-23  Angus Leeming  <leeming@lyx.org>
4355
4356         * factory.C (createInset): InsetExternal::setParams now takes a
4357         Buffer const * arg.
4358
4359 2003-07-23  Angus Leeming  <leeming@lyx.org>
4360
4361         * factory.C (createInset): changed interface to the external and
4362         graphics mailers' string2params functions.
4363
4364 2003-07-23  Angus Leeming  <leeming@lyx.org>
4365
4366         * factory.C (createInset): pass a
4367         Buffer const * parameter to InsetExternalMailer's string2params.
4368
4369 2003-07-22  John Levon  <levon@movementarian.org>
4370
4371         * Thesaurus.h: include the right aiksaurus header
4372
4373 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4374
4375         * MenuBackend.C (expand): check menu shortcuts unconditionally
4376
4377 2003-07-21  Angus Leeming  <leeming@lyx.org>
4378
4379         * factory.C (createInset): pass a
4380         buffer_path parameter to InsetGraphicsMailer's string2params.
4381
4382 2003-07-21  Angus Leeming  <leeming@lyx.org>
4383
4384         * BufferView_pimpl.C (buffer):
4385         * buffer.C (d-tor):
4386         * lyx_main.C (LyX):
4387         * lyxfunc.C (dispatch):
4388         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4389         rather than the grfx shortcut.
4390
4391 2003-07-21  André Pönitz  <poenitz@gmx.net>
4392
4393         * rowpainter.C: remove unused variables
4394
4395         * tabular_funcs.C:
4396         * tabular_funcs.h: move to tabular.C
4397         * Makefile.am: adjust
4398
4399         * tabular.[Ch]: basic optical cleaning
4400
4401         * author.h: pass references, not values
4402
4403 2003-07-18  André Pönitz  <poenitz@gmx.net>
4404
4405         * lyxtext.h:
4406         * metricsinfo.C:
4407         * metricsinfo.h:
4408         * rowpainter.C:
4409         * text.C:
4410         * text2.C:
4411         * text3.C: two-phase drawing for InsetText and InsetTabular
4412         some float -> int changes.
4413
4414 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * lyx_main.C: fix the fix
4417
4418 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * lyx_main.C: fix a crash in batch mode if no files specified
4421         * converter.C: ws
4422
4423 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * format.[Ch] (papersize): moved to BufferParams
4426         * converter.[Ch] (dvips_options): moved to BufferParams
4427         (dvipdfm_options): moved to anon namespace
4428         * bufferparams.[Ch]: added above functions.
4429
4430 2003-07-17  André Pönitz  <poenitz@gmx.net>
4431
4432         * lyxtext.h:
4433         * rowpainter.C:
4434         * text2.C: don't call inset->update() anymore
4435
4436         * metricsinfo.[Ch]: add convenience constructor
4437
4438 2003-07-16  André Pönitz  <poenitz@gmx.net>
4439
4440         * lyxcursor.[Ch]:
4441         * lyxfunc.[Ch]:
4442         * text.C:
4443         * text2.C: replace the LyXCursor::irow_ member with
4444          on-demand computation of the value
4445
4446 2003-07-16  John Levon  <levon@movementarian.org>
4447
4448         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4449
4450 2003-07-15  André Pönitz  <poenitz@gmx.net>
4451
4452         * text.C:
4453         * text2.C: remove no more needed refresh_row
4454
4455 2003-07-15  André Pönitz  <poenitz@gmx.net>
4456
4457         * lyxtext.h:
4458         * rowpainter.C:
4459         * text2.C:
4460         * text3.C: refresh_status tristate -> need_update bool
4461
4462 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * lyxtext.h (init): remove reinit argument (act as if always true)
4465         * text2.C: adjust to that
4466
4467 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4468
4469         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4470         * text3.C: use it to delete selections in some cases
4471         (bugs 441, 673, 702, 954).
4472
4473 2003-07-14  André Pönitz  <poenitz@gmx.net>
4474
4475         * rowpainter.[Ch]: reduce interface
4476
4477 2003-07-14  André Pönitz  <poenitz@gmx.net>
4478
4479         * BufferView_pimpl.C:
4480         * text2.C: adjust after removing unused BufferView * argument
4481
4482 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * text2.C (init): fix a crash fired on resize
4485
4486 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * buffer.[Ch]: added new closing signal
4489         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4490         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4491         BufferView::Pimpl via the closing the signal
4492
4493 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * buffer.[Ch]: take out all bv-related from buffer
4496         * BufferView.C:
4497         * BufferView_pimpl.[Ch]: connect to new signals
4498         * CutAndPaste.C: removed useless asserts
4499         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4500         * lyxvc.[Ch]:
4501         * vc-backend.[Ch]:
4502         * lyxfunc.C: moved view-related funciontality from vc here
4503         * paragraph.C: removed outdated comments
4504         * text.C: ws
4505
4506 2003-07-10  André Pönitz  <poenitz@gmx.net>
4507
4508         * BufferView_pimpl.C:
4509         * tabular.h:
4510         * tabular_funcs.C:
4511         * text.C:
4512         * text2.C: remove InsetText::InnerCache, clean up consequences
4513
4514 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4515
4516         * ispell.C: fix two typos in error messages
4517
4518 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4519
4520         * Extend Note inset to other forms of annotation like Comment
4521         and Greyedout. Right button click gives dialog.
4522
4523         Files modified or added (+):
4524
4525         * insetnote.[Ch]
4526         * FormNote.[Ch]      +
4527         * ControlNote.[Ch]   +
4528         * form_note.fd       +
4529         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4530         frontends/controllers
4531         * xforms/Dialogs.C
4532         * factory.C
4533
4534 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4535
4536         * aspell.C: add missing namespace lyx::support
4537
4538 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4539
4540         * BufferView.[Ch] (newFile): Add
4541         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4542         * LaTeX.[Ch] (message): added this signal and use it
4543         * buffer.[Ch] (busy, message): added these signals and use them
4544         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4545         * converter.C:
4546         * exporter.C:
4547         * format.C:
4548         * importer.C: use buffer signals instead of direct bv calling
4549         * lyx_cb.[Ch] (ShowMessage): removed
4550         * lyx_main.C:
4551         * lyxfunc.C:
4552         * paragraph_funcs.C:
4553         * text2.C: use buffer signals
4554
4555 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * introduce namespace lyx::graphics
4558
4559 2003-07-02  André Pönitz  <poenitz@gmx.net>
4560
4561         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4562
4563 2003-07-01  André Pönitz  <poenitz@gmx.net>
4564
4565         * text.C:
4566         * text2.C:
4567         * text3.C:
4568         * text_funcs.[Ch]:
4569         * textcursor.h:
4570         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4571           text*.C to text_func.C
4572
4573 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * introduce namespace lyx::support
4576
4577 2003-06-30  André Pönitz  <poenitz@gmx.net>
4578
4579         * Chktex.C:
4580         * funcrequest.C:
4581         * lyxtext.h:
4582         * text.C: re-enable --with-included-string
4583
4584 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * textcursor.C: add <config.h>
4587
4588         * text.C (getWord): remove const from word_location arg
4589
4590         * lyxvc.C (getLogFile): fix const type order
4591
4592         * lyxtext.h: remove const from word_location arg, add arg name
4593
4594         * lyxlayout.h: currect type on labeltype.
4595
4596         * importer.C: correct \file
4597
4598         * converter.C (intToFormat): use std:: on ret val, ws changes
4599
4600         * bufferlist.h: correct \file
4601
4602         * buffer.C (makeLinuxDocFile): fix const type order
4603         (makeDocBookFile): ditto
4604         (fillWithBibKeys): use std:: on stdlib args.
4605
4606         * CutAndPaste.C: fix authors.
4607         (availableSelections): use std:: on return vector
4608
4609 2003-06-27  André Pönitz  <poenitz@gmx.net>
4610
4611         * BufferView_pimpl.C:
4612         * bufferview_funcs.C:
4613         * lyxcursor.C:
4614         * lyxcursor.h:
4615         * lyxfunc.C:
4616         * lyxtext.h:
4617         * rowpainter.C:
4618         * text.C:
4619         * text2.C:
4620         * text3.C: remove LyXCursor::row_ member
4621
4622         * lyxtext.h:
4623         * text.C: rename fullRebreak() to partialRebreak() and implement
4624           a fullRebreak() that really bereks fully
4625
4626         * textcursor.h: new struct for cursor-related data
4627
4628 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4629
4630         * lyx_main.C (LyX): get full path of document loaded on the
4631         command line
4632
4633 2003-06-26  André Pönitz  <poenitz@gmx.net>
4634
4635         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4636           remove unused/broken operator>,<,>=.
4637
4638         *       text.C: remove only use of broken operator<= in an Assert().
4639
4640 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4641
4642         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4643         moved errorlist_.clear to showErrorList
4644
4645 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4646
4647         * converter.C (scanLog, runLaTeX):
4648         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4649         move the bv->showErrorList call to the callers
4650         * lyxfunc.C: i.e. here...
4651         * text2.C: and here
4652         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4653         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4654         namespace, the second to...
4655         * buffer_funcs (BufferFormat, parseErrors): added
4656         * errorlist.C (ErrorList(TeXErrors const &)): removed
4657
4658 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4659
4660         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4661
4662 2003-06-24  "Garst R. Reese" <reese@isn.net>
4663
4664         * debug.C: fix typo
4665
4666 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4667
4668         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4669
4670         * version.C.in: change docversion to 1.4
4671
4672 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4673
4674         * buffer.C: fix a bug just introduced
4675
4676 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * buffer.[Ch]: added the parseError signal and use it, removed
4679         sgmlError
4680         * BufferView.[Ch] (addError): moved to ...
4681         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4682         to the Buffer::parseError signal to catch (guess what) parse errors
4683         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4684
4685 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4686
4687         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4688         ability to create a buffer and to return an existing one from
4689         the list. Moved these functions to...
4690         * buffer_funcs.[Ch]: added
4691         * BufferView.[Ch] (loadLyXFile): added
4692         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4693         job removed from bufferlist::loadLyXFile.
4694         * buffer.C (setReadOnly): make it work without view
4695         (i.e added an if (users))
4696
4697 2003-06-19  Angus Leeming  <leeming@lyx.org>
4698
4699         * lfuns.h:
4700         * LyXAction.C (init):
4701         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4702         with LFUN_DIALOG_SHOW <name> <data>.
4703
4704 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4705
4706         * CutAndPaste.C (availableSelections): small compilation fix for
4707         ancient (gcc 2.9x) compilers
4708
4709 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * text3.C (cursorNext): add tmp var
4712
4713         * text2.C (updateCounters): for function calling out of for clause
4714         (replaceSelectionWithString): ditto
4715         (insertStringAsParagraphs): ditto
4716         (getColumnNearX): add tmp var
4717         (setCursorFromCoordinates): add tmp var
4718         (cursorDownParagraph): add tmp var
4719         (deleteEmptyParagraphMechanism): add tmp var
4720
4721         * text.C (insertChar): add tmp var
4722
4723         * rowpainter.C (paintDepthBar): add tmp var
4724
4725         * CutAndPaste.C (availableSelections): potentially check all
4726         paragraphs in a cut to fill the shown strings.
4727
4728 2003-06-18  André Pönitz  <poenitz@gmx.net>
4729
4730         * kbmap.[Ch]: use vector<> instead of list<>
4731
4732 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4733
4734         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4735         pasteSelection with index
4736
4737         * text2.C (pasteSelection): modify, call pasteSelection with index
4738
4739         * paragraph.C (asString): reimplement version with no interval to
4740         call the one with interval.
4741
4742         * lyxtext.h: add index arg to pasteSelection
4743
4744         * MenuBackend.C (MenuItem): handle PasteRecent
4745         (Menu::read::Menutags): add md_pasterecent
4746         (read): handle it
4747         (expandPasteRecent): new function
4748         (expand): use it
4749
4750         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4751
4752         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4753         the limited stack
4754         (availableSelections): new function
4755
4756 2003-06-17  Angus Leeming  <leeming@lyx.org>
4757
4758         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4759
4760 2003-06-17  Angus Leeming  <leeming@lyx.org>
4761
4762         * lfuns.h:
4763         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4764
4765         * lyxfunc.C (dispatch): invoke it.
4766
4767 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4768
4769         * iterators.C (operator++, ParPosition): reintroduce some
4770         const_cast for the benefit of older compilers.
4771
4772 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4773
4774         * text3.C (dispatch): do not modify clipboard when doing
4775         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4776         LFUN_DELETE_SKIP on a selection selection
4777
4778 2003-06-16  André Pönitz  <poenitz@gmx.net>
4779
4780         * BufferView.C:
4781         * buffer.C:
4782         * buffer.h:
4783         * paragraph.C:
4784         * tabular.[Ch]: IU of clone() and getLabelList();
4785
4786 2003-06-13  André Pönitz  <poenitz@gmx.net>
4787
4788         * tabular.h: compactification
4789
4790 2003-06-12  André Pönitz  <poenitz@gmx.net>
4791
4792         * tabular.C:
4793         * tabular.h:
4794         * tabular_funcs.h: some renaming plus whitespace
4795
4796 2003-06-12  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.C:
4799         * BufferView_pimpl.C:
4800         * CutAndPaste.C:
4801         * buffer.C:
4802         * iterators.[Ch]:
4803         * lyxfunc.C:
4804         * text.C:
4805         * toc.C: Return a Paragraph & for ParIterator::operator*()
4806
4807 2003-06-11  John Levon  <levon@movementarian.org>
4808
4809         * lyx_main.C:
4810         * ToolbarBackend.h:
4811         * ToolbarBackend.C: add "Toolbars" section and
4812         put the flags there
4813
4814 2003-06-10  Angus Leeming  <leeming@lyx.org>
4815
4816         * lfuns.h:
4817         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4818
4819         * lyxfunc.C (dispatch): invoke it.
4820
4821 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * main.C: protect <ios> with HAVE_IOS
4824         (main): protect sync_with_stdio with HAVE_IOS
4825
4826 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4827
4828         * text2.C (cutSelection): adjust
4829         (pasteSelection): adjust
4830
4831         * messages.C: handle get of empty string
4832
4833         * main.C (main): use sync_with_stdio(false)
4834
4835         * lyxfunc.C (dispatch): adjust
4836
4837         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4838         (WriteAs): remove unneeded BufferView arg.
4839
4840         * bufferparams.h: use correct types on papersize, papersize2 and
4841         paperpackage.
4842
4843         * bufferparams.C (readToken): adjust for type
4844         (writeLaTeX): add missing cases to switch.
4845
4846         * bufferlist.C (quitWriteBuffer): adjust
4847         (close): adjust
4848
4849         * buffer.C (asciiParagraph): remove some commented code.
4850
4851         * CutAndPaste.C: remove current_view extern variable.
4852         (cutSelection): add BufferParams arg.
4853         (eraseSelection): add BufferParams arg.
4854         (pasteSelection): add Buffer const & arg
4855
4856 2003-06-07  John Levon  <levon@movementarian.org>
4857
4858         * buffer.C:
4859         * paragraph_funcs.C:
4860         * paragraph_pimpl.C:
4861         * text.C:
4862         * text2.C:
4863         * paragraph.h:
4864         * paragraph.C: allow InsetERT to freely space lines,
4865         and some consolidation of code
4866
4867 2003-06-06  José Matos  <jamatos@fep.up.pt>
4868
4869         * buffer.C (makeDocBookFile): fix bug #821
4870
4871 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4874
4875 2003-06-04  Angus Leeming  <leeming@lyx.org>
4876
4877         * buffer.C: bump format to 224.
4878
4879 2003-06-05  André Pönitz  <poenitz@gmx.net>
4880
4881         * text2.C (redoParagraphs): remove two const_cast<>
4882
4883 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4884
4885         * ParagraphList.h: remove last remnants of NO_STD_LIST
4886
4887 2003-06-03  Angus Leeming  <leeming@lyx.org>
4888
4889         * factory.C (createInset): small change to the way InsetExternal's params
4890         are set.
4891
4892 2003-06-04  André Pönitz  <poenitz@gmx.net>
4893
4894         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4895
4896         * paragraph_pimpl.h:
4897         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4898
4899         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4900
4901         * undo_funcs.C: make some simple cases of undo work again
4902
4903 2003-06-03  John Levon  <levon@movementarian.org>
4904
4905         * ispell.C: HPUX doesn't have sys/select.h
4906         (from Albert Chin)
4907
4908 2003-06-03  John Levon  <levon@movementarian.org>
4909
4910         * CutAndPaste.C: update tabular and include inset
4911         buffer references
4912
4913         * buffer.h:
4914         * paragraph.h:
4915         * paragraph.C: remove owningBuffer(), don't pass Buffer
4916         to clone()
4917
4918         * factory.C: insetGraphicsParams changed
4919
4920 2003-06-02  John Levon  <levon@movementarian.org>
4921
4922         * LyXAction.C:
4923         * factory.C:
4924         * lfuns.h:
4925         * lyxfunc.C:
4926         * text3.C: remove insetparent
4927
4928 2003-06-02  John Levon  <levon@movementarian.org>
4929
4930         * buffer.h:
4931         * buffer.C: fix inset_iterator.end(), move out of line
4932         (bug 1149)
4933
4934 2003-06-01  John Levon  <levon@movementarian.org>
4935
4936         * text3.C: use a proper cut/paste when doing inset
4937         insert (from Jürgen Spitzmüller)
4938
4939 2003-06-01  John Levon  <levon@movementarian.org>
4940
4941         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4942
4943 2003-05-30  André Pönitz  <poenitz@gmx.net>
4944
4945         * rowpainter.C: unify second drawing phase
4946
4947 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * trans_mgr.C: remove one case of current_view
4950
4951         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4952
4953         * paragraph_funcs.h: remove paragraph.h include
4954
4955         * paragraph.h: delete NO_STD_LIST stuff
4956
4957         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4958
4959         * buffer.h: remove paragraph.h include
4960
4961         * ParagraphList.C: delete file
4962
4963         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4964
4965         * toc.C (getTocList): adjust
4966
4967         * paragraph_pimpl.C (validate): adjust
4968
4969         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4970
4971         * paragraph.C (Paragraph): adjust
4972         (getPositionOfInset): use const_iterator, adjust
4973         (bibitem): use const_iterator, adjust
4974         (setInsetOwner): adjust
4975
4976         * iterators.C (operator++): adjust
4977
4978         * InsetList.[Ch]: Replace selfmade iterator with standard
4979         vector::iterator also introduce const_iterator. Remove getPos,
4980         getInset and setInset from InsetTable. Adjust accordingly.
4981
4982         * BufferView.C (lockInset): adjust
4983         (ChangeInsets): adjust
4984
4985         * tabular.[Ch]: delete commented same_id functions
4986
4987 2003-05-28  John Levon  <levon@movementarian.org>
4988
4989         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4990
4991 2003-05-28  André Pönitz  <poenitz@gmx.net>
4992
4993         * metricsinfo.[Ch]: remove 'fullredraw' member
4994
4995 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4996
4997         * lyxtextclass.C (operator): remove caching.
4998
4999 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * text3.C: adjust
5002
5003         * text2.C (cursorBottom): adjust
5004         (setCounter): use ParagraphList::find, adjust
5005
5006         * text.C (workWidth): use ParagraphList::find, adjust
5007
5008         * lyxcursor.C (LyXCursor): adjust
5009
5010         * buffer.C (inset_iterator): adjust
5011
5012         * ParagraphList.h: make iterator(value_type) private, make
5013         ParagraphList a friend of iterator.
5014
5015         * ParagraphList.C (find): new function
5016
5017         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5018
5019 2003-05-27  André Pönitz  <poenitz@gmx.net>
5020
5021         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5022
5023 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5024
5025         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5026
5027 2003-05-26  John Levon  <levon@movementarian.org>
5028
5029         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5030
5031 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * remove same_id from function signatures, adjust.
5034
5035 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5038
5039         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5040
5041         * paragraph.C (Paragraph): get rid of same_ids parameter
5042
5043         * ParagraphList.C (insert): adjust
5044         (push_back): adjust
5045
5046 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * paragraph_funcs.C (breakParagraph): adjust
5049         (breakParagraphConservative): adjust
5050
5051         * buffer.C (readParagraph): adjust
5052
5053         * ParagraphList.C (insert): take a reference instead of a pointer
5054         (insert): adjust
5055
5056         * paragraph.[Ch] (id): new function
5057
5058         * bufferlist.C (newFile): adjust
5059
5060         * ParagraphList.C (ParagraphList): adjust
5061         (assign): adjust
5062         (push_back): take a reference instead of a pointer.
5063
5064         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5065
5066         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5067         instead.
5068
5069         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5070         set else use old code.
5071
5072         * ParagraphList.C: remove all NO_NEXT code and only compile this
5073         code of NO_STD_LIST is set.
5074
5075 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * BufferView_pimpl.C:
5078         * TextCache.C:
5079         * TextCache.h:
5080         * bufferlist.C:
5081         * errorlist.h:
5082         * format.C:
5083         * format.h:
5084         * graph.C:
5085         * lyxfunc.C:
5086         * lyxrc.C:
5087         * graphics/GraphicsConverter.C:
5088         * graphics/PreviewLoader.C: header adjustment
5089
5090 2003-05-23  Angus Leeming  <leeming@lyx.org>
5091
5092         * LaTeXFeatures.[Ch] (useBabel): new method.
5093         * bufferparams.C (writeLaTeX): use it.
5094
5095 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * ParagraphList.h (set): remove unused function.
5098
5099 2003-05-23  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView.C:
5102         * BufferView_pimpl.C:
5103         * buffer.C:
5104         * buffer.h:
5105         * lyxfunc.C:
5106         * undo_funcs.C: setUndo reworked
5107
5108         * iterators.[Ch]: add access to topmost ParagraphList
5109
5110         * lyxtext.[Ch] (workWidth): add a const
5111
5112 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * texrow.[Ch] (increasePos): remove function
5115         * exporter.C (export): removed unused var and outdated comment
5116
5117 2003-05-23  Angus Leeming  <leeming@lyx.org>
5118
5119         * latexrunparams.h: rename fragile as moving_arg.
5120         * paragraph.C (simpleTeXOnePar): ditto.
5121         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5122
5123 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5126         (createUndo): ditto
5127         (textUndoOrRedo): comment out a currently unused var.
5128
5129         * paragraph.h (NO_NEXT): enable NO_NEXT
5130
5131         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5132
5133         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5134
5135         * exporter.C (Export): adjust for removeAutoInsets removal.
5136
5137         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5138
5139         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5140
5141         * BufferView.[Ch] (removeAutoInsets): delete function
5142
5143 2003-05-22  Angus Leeming  <leeming@lyx.org>
5144
5145         * latexrunparams.h: add a free_spacing variable.
5146
5147         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5148         to pass moving_arg, as the data is stored in runparams.fragile.
5149
5150         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5151         to Inset::latexOptional or to simpleTeXOnePar.
5152
5153         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5154         free_spacing arg to Inset::latexOptional.
5155
5156         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5157         free_spacing arg.
5158
5159 2003-05-22  Angus Leeming  <leeming@lyx.org>
5160
5161         * latexrunparams.h: add fragile and use_babel variables.
5162
5163         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5164         * buffer.C (makeLaTeXFile): store this returned value in
5165         runparams.use_babel, thus passing it to the inset::latex methods.
5166
5167         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5168         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5169
5170         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5171         longer has a fragile arg, as it is stored in runparams.fragile.
5172
5173         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5174         moving_arg parameter as the data is stored in runparams.fragile.
5175
5176         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5177         a fragile parameter as the data is stored in runparams.fragile.
5178
5179 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5182
5183 2003-05-22  Angus Leeming  <leeming@lyx.org>
5184
5185         * latexrunparams.h: add a 'bool nice' which defaults to false.
5186
5187         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5188         now encapsulated within runparams.
5189
5190         * bufferlist.C (updateIncludedTeXfiles):
5191         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5192
5193 2003-05-22  Angus Leeming  <leeming@lyx.org>
5194
5195         * latexrunparams.h: new file containing struct LatexRunParams.
5196         * Makefile.am: add new file.
5197
5198         * LaTeX.[Ch] (c-tor, run):
5199         * buffer.[Ch] (makeLaTeXFile):
5200         * bufferlist.[Ch] (updateIncludedTeXfiles):
5201         * converter.C (convert, scanLog):
5202         * converter.[Ch] (runLaTeX):
5203         * exporter.C (Export):
5204         * paragraph.[Ch] (simpleTeXOnePar):
5205         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5206         * paragraph_funcs.[Ch] (latexParagraphs):
5207         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5208         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5209         pass around a LatexRunParams parameter.
5210
5211 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * paragraph.[Ch]: remove unused constructor
5214
5215         * ParagraphList.C (erase): new function, taking two iterators
5216
5217 2003-05-22  André Pönitz  <poenitz@gmx.net>
5218
5219         * undo_funcs.C: remove duplicated code
5220
5221         * iterator.[Ch]: operator=
5222
5223 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * tabular.C (SetMultiColumn): ws changes
5226
5227         * rowpainter.C (paintFirst): get rid of a ->previous
5228
5229         * lyx_cb.C (getPossibleLabel): parlist simplification
5230
5231         * BufferView.C (ChangeInsets): simplify slightly.
5232
5233 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5234
5235         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5236         * lfuns.h: new LFUN_SPACE
5237         * lyxfunc.C: protected space has a new lfun
5238         * paragraph_funcs.C: read new space insets
5239         * text3.C:
5240         * factory.C: handle new space insets
5241
5242 2003-05-22  André Pönitz  <poenitz@gmx.net>
5243
5244         * BufferView.C:
5245         * BufferView_pimpl.C:
5246         * buffer.[Ch]:
5247         * lyxfunc.C:
5248         * undo_funcs.C: return a ParIterator from getParFromID.
5249
5250         * iterators.[Ch]: add two const's
5251
5252 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * toc.C (getTocList): adjust
5255
5256         * iterators.[Ch]: rework for parlist
5257
5258         * buffer.C (par_iterator_begin): adjust
5259         (par_iterator_end): adjust
5260
5261         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5262
5263         * BufferView.C (removeAutoInsets): adjust
5264         (ChangeInsets): adjust
5265
5266 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * text.C (top_y): fix bug 1110
5269
5270 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5271
5272         * errorlist.[Ch]: added
5273         * buffer.C:
5274         * BufferView.[Ch]:
5275         * BufferView_pimpl.C:
5276         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5277         instead
5278
5279 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * Makefile.am: ensure that lyx is relinked upon changes to the
5282         various "convenience" libs.
5283
5284 2003-05-20  Angus Leeming  <leeming@lyx.org>
5285
5286         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5287         files are compiled in alphabetical order again.
5288
5289         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5290
5291 2003-05-19  Angus Leeming  <leeming@lyx.org>
5292
5293         * gettext.[Ch]: remove "char const * _(char const *)".
5294
5295 2003-05-19  André Pönitz  <poenitz@gmx.net>
5296
5297         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5298
5299         * Makefile.am:
5300         * BufferView.C:
5301         * DepTable.h:
5302         * LaTeXFeatures.C:
5303         * buffer.C:
5304         * lyxfont.C:
5305         * lyxlex.h:
5306         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5307
5308 2003-05-19  André Pönitz  <poenitz@gmx.net>
5309
5310         * buffer.C:
5311         * lyxlayout.[Ch]:
5312         * lyxtextclass.[Ch]:
5313         * paragraph.C:
5314         * paragraph_funcs.[Ch]:
5315         * text2.C:
5316         * text3.C: more insetenv work
5317
5318 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * ParagraphParameters.C (params2string): small bug fixed
5321
5322 2003-05-16  André Pönitz  <poenitz@gmx.net>
5323
5324         * debug.C:
5325         * bufferview_funcs.C: patch from Kornel Benko to prevent
5326           crash when _(...) is called twice in a statement
5327
5328 2003-05-16  André Pönitz  <poenitz@gmx.net>
5329
5330         * BufferView.C:
5331         * lyxfunc.C:
5332         * text.C:
5333         * text2.C:
5334         * text3.C:
5335         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5336
5337 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * lyx_main.C (init): remove spurious static_cast
5340
5341 2003-05-14  André Pönitz  <poenitz@gmx.net>
5342
5343         * BufferView.C: fix format string
5344
5345 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * BufferView.[Ch] (insertErrors): removed
5348         * BufferView.[Ch] (showErrorList): added
5349         * buffer.C (runChkTeX):
5350         * converter.C (scanLog): call showErrorList instead of inserterrors
5351
5352 2003-05-13  André Pönitz  <poenitz@gmx.net>
5353
5354         * BufferView_pimpl.C:
5355         * buffer.C:
5356         * bufferview_func.C:
5357         * MenuBackend.C:
5358         * lyxfunc.C:
5359         * lyxrc.C:
5360         * tex-accent.C:
5361         * text3.C:
5362         * toc.C:
5363         * tabular_funcs.h: tostr() from its own header
5364
5365         * ParagraphParameters.C:
5366         * ToolbarBackend.C:
5367         * bufferparams.C:
5368         * format.C:
5369         * lyxlex_pimpl.C:
5370         * text3.C: STRCONV()
5371
5372 2003-05-12  André Pönitz  <poenitz@gmx.net>
5373
5374         * BufferView.C:
5375         * BufferView_pimpl.C:
5376         * CutAndPaste.C:
5377         * LaTeX.C:
5378         * LaTeXFeatures.C:
5379         * ParagraphParameters.C:
5380         * buffer.C:
5381         * bufferlist.C:
5382         * bufferparams.C:
5383         * bufferview_funcs.C:
5384         * converter.C:
5385         * counters.C:
5386         * debug.C:
5387         * exporter.C:
5388         * format.C:
5389         * importer.C:
5390         * lyx_cb.C:
5391         * lyx_main.C:
5392         * lyxfont.C:
5393         * lyxfunc.C:
5394         * lyxvc.C:
5395         * paragraph.C:
5396         * paragraph_funcs.C:
5397         * tabular.C:
5398         * tabular_funcs.C:
5399         * text2.C:
5400         * text3.C:  boost::format -> bformat  all over the place
5401
5402
5403 2003-05-09  André Pönitz  <poenitz@gmx.net>
5404
5405         * LColor.[Ch]: Pimpl the #include <map> away
5406
5407 2003-05-09  John Levon  <levon@movementarian.org>
5408
5409         * bufferlist.C: never remove emergency saves
5410
5411 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * Makefile.am: better lib building
5414
5415 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5418         instead.
5419         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5420         (simpleTeXSpecialChars): adjust
5421         (simpleTeXSpecialChars): adjust
5422         * paragraph.C (simpleTeXOnePar): adjust
5423         * buffer.C (makeLaTeXFile): adjust
5424
5425         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5426
5427         * text2.C (changeDepth): parlist cleanup
5428         (getColumnNearX): ditto
5429
5430         * rowpainter.C (getLabelFont): parlist cleanup
5431
5432         * bufferlist.C (newFile): parlist cleanup
5433
5434         * CutAndPaste.C (eraseSelection): parlist cleanup
5435
5436         * BufferView_pimpl.C (trackChanges): parlist cleanup
5437         (dispatch): ditto
5438
5439         * BufferView.C (lockInset): parlist cleanup.
5440         (ChangeInsets): ditto
5441
5442 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * CutAndPaste.h: Update file header.
5445
5446         * CutAndPaste.C: Update file header.
5447         Store the parts cut out of the Document in a limited_stack.
5448         (copySelection): adjust
5449         (pasteSelection): new function, takes the index in the limited stack.
5450         (nrOfParagraphs): adjust
5451         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5452         simplify error inset insertion.
5453         (checkPastePossible): adjust
5454
5455 2003-05-06  John Levon  <levon@movementarian.org>
5456
5457         * text2.C: don't cast wrap inset to float
5458
5459 2003-05-05  André Pönitz  <poenitz@gmx.net>
5460
5461         * iterator.C:
5462         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5463
5464         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5465           few naked Paragraph *.
5466
5467 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5468
5469         * bufferparams.C: Output warning if a document with missing
5470         TeX document class is loaded
5471         * exporter.C: Disable TeX exports if the document class is missing
5472         * lyxtextclass.C:
5473         * lyxtextclass.h:
5474         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5475         isTeXClassAvailable()
5476
5477 2003-05-03  John Levon  <levon@movementarian.org>
5478
5479         * BufferView.h:
5480         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5481         explicit cursor show/hide
5482
5483         * BufferView_pimpl.h:
5484         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5485         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5486
5487         * lyxfunc.C: hide cursor before dispatching.
5488
5489         * lyx_cb.C:
5490         * lyxfind.C:
5491         * text.C:
5492         * text3.C: remove explicit cursor hides
5493
5494 2003-05-02  André Pönitz  <poenitz@gmx.net>
5495
5496         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5497
5498         * undo_funcs.C:
5499         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5500           linked lists
5501
5502         * text2.C: tiny whitespace
5503
5504 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * undo_funcs.C: almost only ws changes.
5507
5508         * ParagraphList.C (splice): just return if pl is empty.
5509
5510 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * ParagraphList.C (splice): new function.
5513
5514         * CutAndPaste.C (pasteSelection): use it
5515
5516 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * CutAndPaste.C (pasteSelection): remove the last next and
5519         previous from this file.
5520
5521 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * CutAndPaste.C (pasteSelection): more clean up, user proper
5524         ParagraphList functions for pasteing.
5525
5526         * ParagraphList.C (insert): new function, three arg insert
5527
5528 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * ParagraphList.C (insert): new function, three arg insert
5531
5532         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5533         not on paragraphs.
5534
5535 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5538
5539 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5542
5543 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5546         (copySelection): clean up a bit.
5547         (pasteSelection): use make_pair
5548
5549         * ParagraphList.C (ParagraphList): implement copy constructor
5550         (operator=): implement, base on copy constructor.
5551         (assign): new func
5552
5553         * paragraph.C (erase): return a bool
5554
5555         * paragraph_pimpl.C (erasePos): remove function, move contents...
5556         (erase): ... here. Return a bool.
5557         (erase): call erase instead of erasePos.
5558
5559 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * ParagraphList.h: define PitPosPair
5562         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5563         ParagraphList, fix a bug on pasting multiple pars
5564         * text2.C: change interface to C&P
5565
5566 2003-04-30  André Pönitz  <poenitz@gmx.net>
5567
5568         * undo_func.C: revert part of yesterday's patch 2
5569
5570 2003-04-30  John Levon  <levon@movementarian.org>
5571
5572         * LColor.C: s/tabular/table/
5573
5574 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * text3.C (dispatch): do not convert iterator -> pointer
5577         * undo_funcs.C (setCursorParUndo): ditto
5578         * text_funcs.C (transposeChars): ditto
5579
5580         * text2.C (setLayout): ws changes only
5581
5582         * text.C (breakParagraph): do not convert iterator -> pointer
5583         (insertChar): ditto
5584         (acceptChange): ditto
5585         (rejectChange): ditto
5586         (changeCase): ditto
5587         (Delete): ditto
5588         (backspace): ditto
5589
5590         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5591         pointer
5592
5593 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5594
5595         * text3.C (gotoInset): YABG (yet another bad getChar)
5596
5597 2003-04-29  André Pönitz  <poenitz@gmx.net>
5598
5599         * paragraph.h: make operator= private unimplemented as long as
5600           it is unusable
5601
5602         * ParagraphList.C: whitespace
5603
5604         * paragraph.[Ch]:
5605         * paragraph_pimpl.[Ch]:
5606         * paragraph_funcs.C:
5607         * CutAndPaste.C:
5608         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5609
5610         * text2.C:
5611           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5612
5613 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5616         * paragraph.[Ch] (erase):
5617         * paragraph_pimpl.[Ch] (erase): change return type and value
5618         * text2.C (cutSelection): some rework
5619
5620 2003-04-28  John Levon  <levon@movementarian.org>
5621
5622         * bufferlist.C: changes for unsaved changes dialog
5623
5624 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * bufferlist.C (newFile): set language (messages_) for new
5627         documents also.
5628
5629         * buffer.C (readFile): ws changes only.
5630
5631 2003-04-28  André Pönitz  <poenitz@gmx.net>
5632
5633         * undo_funcs.C:
5634         * lyxfunc.C:
5635         * buffer.[Ch]:
5636         * BufferView_pimpl.C:
5637         * BufferView.C: getParFromID related ParagraphList::iterator changes
5638
5639 2003-04-28  André Pönitz  <poenitz@gmx.net>
5640
5641         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5642           Changes
5643
5644 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * messages.C: remove one more localedir class variable.
5647
5648 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * messages.C (getLocaleDir): singleton generation function
5651         (Pimpl): use it.
5652         (Messages): add a default constructor.
5653
5654         * main.C (main): do not setup localedir here, do not call
5655         gettext_init.
5656
5657         * gettext.C (_): use it.
5658         (gettext_init): delete funciton
5659
5660 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * gettext.C (getLyXMessages): new singleton generating function.
5663
5664         * buffer.C (updateDocLang): adjust
5665
5666         * Makefile.am (messages.o): add target
5667         (main.o): remove target
5668
5669 2003-04-27  John Levon  <levon@movementarian.org>
5670
5671         * bufferlist.C:
5672         * lyx_cb.C:
5673         * lyxfunc.C:
5674         * lyxvc.C: specify cancel button in Alert::prompt
5675
5676 2003-04-26  John Levon  <levon@movementarian.org>
5677
5678         * text3.C:
5679         * lyxfunc.C:
5680         * lfuns.h:
5681         * LyXAction.C: add LFUN_INSET_SETTINGS
5682
5683         * lyxfunc.C: don't enable tabular-feature when there's
5684         just any locking inset
5685
5686 2003-04-26  John Levon  <levon@movementarian.org>
5687
5688         * bufferlist.C: re-add Cancel to buffer close question
5689
5690         * lyxfunc.C: fix import UI a bit
5691
5692 2003-04-25  John Levon  <levon@movementarian.org>
5693
5694         * gettext.C: remove the broken asserts for now
5695
5696 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * messages.C: make case where setlocale cannot comply work better.
5699
5700         * buffer.C (updateDocLang): new function
5701         (changeLanguage): use it
5702         (readFile): use it
5703
5704         * text2.C (setCounter): use B_ a bit.
5705
5706         * lyxlayout.C (Read): be sure to trim the label strings.
5707
5708         * messages.C (Messages): fix typo in comment
5709
5710         * buffer.C (readFile): set message_ after file is loaded.
5711         (makeDocBookFile): remove double return
5712         (changeLanguage): reset message_ upon language change.
5713         (B_): new func, use this to get translated buffer strings.
5714
5715         * main.C: add myself and Jean Marc as authors.
5716
5717 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * messages.[hC]: pimplify Messages, and three different pimpls to be
5720         used in different circumstances.
5721
5722         * gettext.[Ch]: change for use with new message code.
5723
5724 2003-04-24 André Pönitz <poenitz@gmx.net>
5725
5726         * factory.C: support for eqref
5727
5728 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * messages.[Ch]: add missing char
5731
5732         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5733
5734         * messages.[Ch]: New files
5735
5736 2003-04-18  John Levon  <levon@movementarian.org>
5737
5738         * BufferView.h:
5739         * BufferView.C:
5740         * BufferView_pimpl.C:
5741         * lfuns.h:
5742         * LyXAction.C:
5743         * lyxtext.h:
5744         * text2.C: remove layout-copy/paste (bug 778)
5745
5746 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5749
5750 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5751
5752         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5753         if they succeed. Act accordingly.
5754
5755 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * text2.C (setCharFont): adjust
5758         (setCounter): adjust
5759         (insertStringAsLines): adjust
5760
5761         * text.C (leftMargin): adjust
5762         (setHeightOfRow): adjust
5763
5764         * rowpainter.C (paintFirst): adjust
5765         (paintLast): adjust
5766
5767         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5768         (outerHook): ditto
5769         (isFirstInSequence): ditto
5770         (getEndLabel): ditto
5771         (outerFont): adjust
5772
5773         * paragraph.C (getParLanguage): comment out some hard stuff.
5774
5775         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5776         (sgmlError): ditto
5777         (simpleDocBookOnePar): ditto
5778         (makeDocBookFile): use ParagraphList::iterator
5779
5780         * CutAndPaste.C (pasteSelection): adjust
5781
5782 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * text2.C (getFont): adjust
5785         (getLayoutFont): adjust
5786         (getLabelFont): adjust
5787
5788         * paragraph_funcs.C (TeXOnePar): adjust
5789
5790         * buffer.C (simpleLinuxDocOnePar): adjust
5791         (simpleDocBookOnePar): adjust
5792
5793         * CutAndPaste.C (pasteSelection): adjust
5794
5795         * BufferView.C (getEncoding): adjust
5796
5797         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5798
5799 2003-04-16  John Levon  <levon@movementarian.org>
5800
5801         * lyxfind.C: use parlist stuff for search/changes
5802
5803 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5806
5807         * text2.C (deleteEmptyParagraphMechanism): adjust
5808
5809         * text2.[Ch] (ownerParagraph): delete func (both of them
5810
5811 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5814
5815 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * ParagraphList.C: prepare for NO_NEXT
5818
5819 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5820
5821         * text2.C (getFont): adjust
5822         (getLayoutFont): adjust
5823         (getLabelFont): adjust
5824
5825         * paragraph.C (getFont): adjust
5826         (getLabelFont): adjust
5827         (getLayoutFont): adjust
5828
5829         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5830
5831 2003-04-15  John Levon  <levon@movementarian.org>
5832
5833         From Angus Leeming
5834
5835         * lyx_main.C: handle Include in .ui files
5836
5837 2003-04-15  John Levon  <levon@movementarian.org>
5838
5839         * MenuBackend.C: make the doc files length shorter
5840
5841         * ToolbarBackend.h:
5842         * ToolbarBackend.C: handle toolbar placement flags,
5843         Minibuffer
5844
5845 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5848         adjust
5849
5850         * paragraph_funcs.C (TeXOnePar): adjust
5851
5852         * paragraph.C (getLabelFont): add outerfont arg, adjust
5853         (getLayoutFont): ditto
5854         (simpleTeXOnePar): adjust
5855
5856         * paragraph_pimpl.C (realizeFont): delete func
5857
5858 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5861         row argument, constify cur argument.
5862
5863 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * text2.C (getFont): adjust
5866         (getLayoutFont): adjust
5867         (getLabelFont): adjust
5868
5869         * paragraph_funcs.C (TeXOnePar): adjust
5870         (outerFont): new func...
5871         (realizeFont): ...moved out from here, changed this to facilitate
5872         transition
5873
5874         * paragraph.C (getFont): take outerfont as arg, adjust
5875         (simpleTeXOnePar): add outerfont arg, adjust
5876
5877         * buffer.C (simpleLinuxDocOnePar): adjust
5878         (simpleDocBookOnePar): adjust
5879
5880         * CutAndPaste.C (pasteSelection): adjust
5881
5882         * BufferView.C (getEncoding): adjust
5883
5884 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * text2.C (setCharFont): adjust
5887         (setCounter): adjust
5888
5889         * text.C (leftMargin): adjust
5890         (setHeightOfRow): adjust
5891
5892         * rowpainter.C (paintFirst): adjust
5893         (paintLast): adjust
5894
5895         * paragraph_pimpl.C (realizeFont): adjust
5896
5897         * paragraph.C (isFirstInSequence): move from here...
5898         * paragraph_funcs.C (isFirstInSequence): ...to here
5899
5900         * paragraph.C (outerHook): move from here...
5901         * paragraph_funcs.C (outerHook): ...to here
5902
5903         * paragraph.C (depthHook): move from here...
5904         * paragraph_funcs.C (depthHook): ...to here
5905
5906         * paragraph.C (getEndLabel): move from here...
5907         * paragraph_funcs.C (getEndLabel): ...to here
5908
5909         * text2.C (realizeFont): move from here...
5910         * paragraph_funcs.C (realizeFont): ...to here
5911
5912 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5915
5916 2003-04-14  Angus Leeming  <leeming@lyx.org>
5917
5918         * LColor.[Ch]: scrap LColor mathcursor.
5919
5920 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * lyxlex.[Ch] (text): delete function
5923         * trans.C (Load): adjust
5924         * paragraph_funcs.C (readParToken): adjust
5925
5926 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5929         vector<char> instead of a char[].
5930
5931         * lyxlex_pimpl.C (getString): adjust
5932         (next): adjust
5933         (lex): use getString
5934         (eatLine): adjust
5935         (nextToken): adjust
5936
5937         * lyxlex.C (text): use pimpl_->getString()
5938         (getBool): ditto
5939         (findToken): ditto
5940
5941 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5944         (makeFontEntriesLayoutSpecific): temp var for par.size()
5945         (setLayout): temp var for ownerParagraphs().end()
5946         (fullRebreak): temp var for rows().end()
5947         (selectionAsString): temp var for boost::next(startpit), realize
5948         that the while really is a regular for loop.
5949         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5950         setCursor in one place.
5951         (setParagraph): temp vr for ownerParagraphs().end()
5952         (updateCounters): make the while loop a for loop
5953         (cutSelection): temp var for ownerParagraphs().end()
5954         (updateInset): make the do {} while() a regular for loop
5955         (getCursorX): use temp vars
5956         (setCurrentFont): use temp vars
5957         (getColumnNearX): use temp vars
5958
5959 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * text.C (transformChar): use temp var for getChar
5962         (computeBidiTables): use temp var for row->par()
5963         (fill): move temp vars for row->par() and pit->layout() earlier in
5964         the function.
5965         (labelFill): use temp var for row->par()
5966         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5967         asc and desc, realize that pit never changes and that firstpit is
5968         just a duplicate and not needed. Exchange rit->par() with pit in a
5969         lot of places.
5970         (breakAgain): use a temp var for boost::next(rit)
5971         (breakAgainOneRow): ditto
5972         (breakParagraph): use a temp var for rows().begin()
5973         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5974         (cursorRightOneWord): use temp var for cursor.par() and
5975         cursor.pos(), remove usage of tmpcursor.
5976         (cursorLeftOneWord): use temp var for cursor.par() and
5977         cursor.pos() only set cur at end of function.
5978
5979 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * text.C, text2.C: exchange all usage of Paragraph::next with
5982         boost::next(ParagraphList::iterator)
5983
5984         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5985
5986         * text2.C (cursorTop): simplify implementation
5987         (cursorBottom): ditto
5988         (setParagraph): use ParagraphList::iterator
5989         (setCurrentFont): adjust
5990         (getColumnNearX): adjust
5991         (cursorRight): adjust
5992         (cursorLeft): remove usage of Paragraph::previous
5993         (cursorUpParagraph): ditto
5994         (deleteEmptyParagraphMechanism): slight cleanup
5995
5996         * text.C (isBoundary): take a Paragraph const & instead of a
5997         pointer as arg.
5998         (addressBreakPoint): ditto
5999         (leftMargin): remove usage of Paragraph::previous.
6000         (setHeightOfRow): ditto
6001         (cursorLeftOneWord): ditto
6002         (selectNextWordToSpellcheck): ditto
6003         (Delete): ditto
6004         (backspace): ditto
6005         (breakParagraph): remove one usage of Paragraph::next
6006         (redoParagraph): ditto
6007         (acceptChange): ditto
6008         (insertChar): adjust
6009         (rowBreakPoint): adjust
6010
6011         * bufferview_funcs.C (toggleAndShow): adjust
6012
6013 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6014
6015         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6016         methods to access it.
6017         * lyxtext.h:
6018         * text.C: Added updateRowPositions to compute all row positions.
6019         Make top_y and getRowNearY() to use the cached y position
6020
6021 2003-04-11  John Levon  <levon@movementarian.org>
6022
6023         * text.C (rowBreakPoint): reintroduce the labelEnd
6024         checks, code copied from the row fill stuff. Deep voodoo.
6025
6026         * text.C (fill): add a comment and debugging for the
6027         next poor soul.
6028
6029 2003-04-11  John Levon  <levon@movementarian.org>
6030
6031         * text.C: make sure fullrow insets get wrapped to the next line,
6032         even when they're in a manual label
6033
6034 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * text2.C (insertParagraph): make it take ParagraphList::iterator
6037         as arg.
6038         (setLayout): make it return ParagraphList::iterator
6039         (redoParagraphs): ditto
6040         (setCounter): ditto
6041         (checkParagraph): ditto
6042
6043         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6044
6045         * text2.C: adjust several funcs.
6046         (realizeFont): take a ParagraphList::iterator as arg.
6047         (getLayoutFont): ditto
6048         (getLabelFont): ditto
6049         (setCharFont): ditto
6050
6051         * text.C: adjust several funcs.
6052
6053 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * text.C (selectNextWordToSpellcheck): don't accidentally
6056         skip insets
6057
6058 2003-04-10  John Levon  <levon@movementarian.org>
6059
6060         * ToolbarBackend.C (getIcon): special handling for
6061         LFUN_MATH_DELIM
6062
6063 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6064
6065         * text2.C (cursorRight): a getChar assert fixed
6066
6067 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * text2.C (getFont): change to take a ParagraphList::iterator
6070         instead of Paragraph*
6071         Adjust several functions.
6072
6073         * text.C (transformChar): change to take a ParagraphList::iterator
6074         instead of Paragraph*
6075         (singleWidth): ditto
6076         Adjust several functions.
6077
6078         * rowpainter.C: adjust several functions
6079         * rowpainter.h:store a ParagraphList::iterator and not a
6080         Paragraph&.
6081
6082
6083 2003-04-09  John Levon  <levon@movementarian.org>
6084
6085         * lyxfunc.C:
6086         * lfuns.h:
6087         * LyXAction.h:
6088         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6089         and the "help" bits as well
6090
6091 2003-04-09  John Levon  <levon@movementarian.org>
6092
6093         * ToolbarBackend.h:
6094         * ToolbarBackend.C: allow multiple toolbars
6095
6096 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * undo_funcs.C (setCursorParUndo): adjust
6099
6100         * text_funcs.C (transposeChars): adjust
6101
6102         * text3.C (gotoNextInset): adjust
6103         (dispatch): adjust
6104
6105         * text2.C (setLayout): adjust
6106         (changeDepth): adjust
6107         (setFont): adjust
6108         (redoParagraphs): adjust
6109         (selectionAsString): adjust
6110         (setParagraph): adjust
6111         (insertInset): adjust
6112         (cutSelection): adjust
6113         (copySelection): adjust
6114         (pasteSelection): adjust
6115         (insertStringAsLines): adjust
6116         (updateInset): adjust
6117         (setCursor): change to take a ParagraphList::iterator parameter
6118         (setCursorIntern): change to take a ParagraphList::iterator parameter
6119         (setCurrentFont): adjust
6120         (cursorLeft): adjust
6121         (cursorRight): adjust
6122         (deleteEmptyParagraphMechanism): adjust
6123
6124         * text.C (breakParagraph): adjust
6125         (insertChar): adjust
6126         (acceptChange): adjust
6127         (rejectChange): adjust
6128         (selectNextWordToSpellcheck): adjust
6129         (changeCase): adjust
6130         (Delete): adjust
6131         (backspace): adjust
6132
6133         * lyxfind.C (SearchForward): adjust
6134         (SearchBackward): adjust
6135         (nextChange): adjust
6136
6137         * lyxcursor.C (par): adjust
6138
6139         * lyxcursor.h: store a ParagraphList::iterator instead of a
6140         Paragraph*
6141
6142         * lyx_cb.C (getPossibleLabel): adjust
6143
6144         * bufferview_funcs.C (toggleAndShow): adjust
6145
6146         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6147         (dispatch): adjust
6148
6149         * BufferView.C (removeAutoInsets): adjust
6150         (lockedInsetStoreUndo): adjust
6151
6152 2003-04-09  John Levon  <levon@movementarian.org>
6153
6154         * ToolbarBackend.C: try icon without argument
6155         if with argument fails
6156
6157 2003-04-08  John Levon  <levon@movementarian.org>
6158
6159         * ToolbarBackend.h:
6160         * ToolbarBackend.C: add getIcon(), handle tooltip,
6161         and change from "Icon" to "Item".
6162
6163 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6164
6165         * BufferView.C (lockInset): another bad getchar crunched
6166
6167 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6168
6169         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6170         again)
6171
6172 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6173
6174         * lyxfind.C (searchForward, searchBackwards): bug 782
6175
6176 2003-04-07  John Levon  <levon@movementarian.org>
6177
6178         * paragraph.C: remove dead comment
6179
6180         * text.C: remove troublesome depth-fiddling code
6181         in leftMargin() and rightMargin() (bug 1017)
6182
6183         * text.C: fix breaking of rows in nested lists
6184         (bug 1004)
6185
6186         * text2.C (updateCounters): fix up depth values
6187         (bug 1013)
6188
6189 2003-04-07  John Levon  <levon@movementarian.org>
6190
6191         * BufferView_pimpl.C: clear message when doc finishes resizing,
6192         and after a mouse event
6193
6194         * lyxfunc.C: clear message after exiting inset
6195
6196 2003-04-07  John Levon  <levon@movementarian.org>
6197
6198         * bufferview_funcs.C: show math status not outside
6199         status in the statusbar
6200
6201 2003-04-07  John Levon  <levon@movementarian.org>
6202
6203         * lyxfunc.C: note status changed after a depth change
6204
6205 2003-04-04  Angus Leeming  <leeming@lyx.org>
6206
6207         * LaTeX.h: move AuxInfo operator==, != out of line.
6208         Remove LaTeX virtual destructor; nothing derives from it.
6209         Move operator()() out of public area and rename it startscript().
6210         Change protected for private.
6211
6212 2003-04-04  Angus Leeming  <leeming@lyx.org>
6213
6214         * lyxfunc.C:
6215         * text2.C: remove unneeded #includes.
6216
6217 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * text2.C (dEPM): fix the heigth of the next row
6220
6221 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6222
6223         * text.C: squashed an invalid getChar requester + some ws changes
6224
6225 2003-04-03  John Levon  <levon@movementarian.org>
6226
6227         * bufferview_funcs.h:
6228         * bufferview_funcs.C:
6229         * lyxfunc.C:
6230         * lyxtext.h:
6231         * text2.C: make getStatus work for the env depth lfuns
6232
6233 2003-04-03  John Levon  <levon@movementarian.org>
6234
6235         * bufferview_funcs.h:
6236         * bufferview_funcs.C:
6237         * lyxfunc.C:
6238         * lyxtext.h:
6239         * text2.C: parlistize decDepth(), by merging it with incDepth()
6240
6241 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * lyxrow.h: store a ParagraphList::iterator instead of a
6244         Paragraph* and adjust other class functions to suit.
6245
6246         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6247         above.
6248
6249 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * text2.C (setCursor): do not anchor to cursor row for the time being
6252
6253 2003-04-02  John Levon  <levon@movementarian.org>
6254
6255         * LyXAction.C:
6256         * lfuns.h:
6257         * lyx_main.C:
6258         * lyxtext.h:
6259         * text.C:
6260         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6261
6262 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * paragraph.h: make ParagraphList and ParagraphList::iterator
6265         friends of Paragraph.
6266
6267         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6268
6269         * ParagraphList.C: Use the private next_ and previous_ from
6270         Paragraph.
6271
6272 2003-04-01  John Levon  <levon@movementarian.org>
6273
6274         * ToolbarBackend.h:
6275         * ToolbarBackend.C:
6276         * Makefile.am: rename, remove defaults gunk
6277
6278         * MenuBackend.h:
6279         * MenuBackend.C: remove defaults gunk
6280
6281         * Languages.h:
6282         * Languages.C: remove defaults gunk
6283
6284         * lyx_main.h:
6285         * lyx_main.C: error out if files couldn't be found.
6286
6287 2003-04-02  John Levon  <levon@movementarian.org>
6288
6289         * text2.C: make incDepth() use parlist
6290
6291 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * undo_funcs.C (firstUndoParagraph): adjust
6294
6295         * text3.C (gotoInset): adjust
6296         (dispatch): adjust, and rewrite loop.
6297
6298         * text2.C (init): adjust, and rewrite loop.
6299         (redoParagraphs): adjust
6300         (updateInset): adjust, and rewrite loop.
6301         (deleteEmptyParagraphMechanism): adjust
6302
6303         * tabular.C (LyXTabular): adjust
6304         (SetMultiColumn): adjust
6305         (TeXRow): adjust
6306
6307         * lyxtext.[Ch] (ownerParagraph): delete function
6308         (ownerParagraphs): new function returns a ParagraphList.
6309
6310         * BufferView.C (removeAutoInsets): adjust
6311         (insertErrors): adjust
6312         (setCursorFromRow): adjust
6313
6314 2003-04-01  Angus Leeming  <leeming@lyx.org>
6315
6316         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6317         in the frontends.
6318
6319 2003-04-02  John Levon  <levon@movementarian.org>
6320
6321         * lyxtext.h:
6322         * text.C:
6323         * Makefile.am:
6324         * text_funcs.h:
6325         * text_funcs.C: make transposeChars a free function
6326
6327         * lyxrow_funcs.C: remove wrong comment
6328
6329 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * lyxtext.h: adjust
6332         * rowpainter.C: adjust
6333         * text.C: adjust
6334         * text2.C: adjust
6335         * text3.C: adjust
6336
6337         * lyxrow_funcs. [Ch]: new files
6338
6339         * lyxrow.[Ch]: remove next and previous pointers
6340         (next,previous): remove accessor functions
6341         (isParEnd): move to lyxrow_funcs
6342         (lastPos): move to lyxrow_funcs
6343         (nextRowIsAllInset): move to lyxrow_funcs
6344         (lastPrintablePos): move to lyxrow_funcs
6345         (numberOfSeparators): move to lyxrow_funcs
6346         (numberOfHfills): move to lyxrow_funcs
6347         (numberOfLabelHfills): move to lyxrow_funcs
6348         (hfillExpansion): move to lyxrow_funcs
6349
6350         * lyxfunc.C: adjust
6351
6352         * bufferview_funcs.C (toggleAndShow): adjust
6353
6354         * RowList.h: Remove class RowList from file leave just a
6355         std::list<Row>.
6356
6357         * RowList.C: delete file
6358
6359         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6360         and lyxrow_funcs.h
6361
6362 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6363
6364         * text3.C (cursorPrevious): adjust
6365         (cursorNext): adjust
6366         (dispatch): adjust
6367
6368         * text2.C (redoHeightOfParagraph): adjust
6369         (redoDrawingOfParagraph): adjust
6370         (setCursor): adjust
6371
6372         * text.C (breakParagraph): adjust
6373         (insertChar): adjust
6374         (backspace): adjust
6375
6376         * rowpainter.C (RowPainter): adjust
6377         (leftMargin): simplify and adjust
6378         (most rowpainter functions): adjust.
6379
6380         * rowpainter.h: store the row as RowList::iterator not as Row*
6381
6382         * lyxcursor.C (row): taka RowList::iterator as arg
6383         (irow): ditto
6384
6385         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6386         of Row*.
6387
6388 2003-04-01  Angus Leeming  <leeming@lyx.org>
6389
6390         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6391         stuff like bool Bool.
6392
6393 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6394
6395         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6396         rewrite a loop
6397
6398 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6401         RowList::iterator.
6402
6403         * lyxtext.h (rows): drop one version and leve a const variant that
6404         returns a RowList::iterator.
6405
6406 2003-03-31  Angus Leeming  <leeming@lyx.org>
6407
6408         * text.C (fill): ensure that the signature is the same as that in the
6409         header file.
6410
6411 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * text2.C (redoParagraphs): adjust
6414         (updateCounters): adjust
6415         (checkParagraph): adjust
6416         (getColumnNearX): adjust and reformat a bit.
6417
6418         * text.C (top_y): adjust
6419         (workWidth): adjust
6420         (leftMargin): adjust
6421         (prepareToPrint): adjust
6422         (getRow): adjust
6423         (getRowNearY): adjust
6424
6425         * lyxtext.h: make rowlist_ mutable.
6426
6427         * RowList.h: add const_iterator
6428         * RowList.C: adjust for RowList::const_iterator.
6429
6430         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6431         adjust.
6432
6433 2003-03-31  John Levon  <levon@movementarian.org>
6434
6435         * lyxrc.h:
6436         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6437
6438         * lyx_main.C: set default fonts from using lyx_gui funcs
6439
6440         * exporter.C: pdf_mode moved from lyxrc
6441
6442         * lyx_cb.C:
6443         * lyxfunc.C: changes from above
6444
6445 2003-03-31  John Levon  <levon@movementarian.org>
6446
6447         * lyx_main.C: fix to the last fix
6448
6449 2003-03-31  John Levon  <levon@movementarian.org>
6450
6451         * bufferlist.C: "Load original" -> "Load Original"
6452
6453         * converter.C:
6454         * exporter.C:
6455         * importer.C:
6456         * lyx_main.C:
6457         * format.C: more Alert cleanups
6458
6459 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6460
6461         * text2.C (removeParagraph): make it take a RowList::iterator as
6462         arg, adjust.
6463         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6464         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6465
6466         * text.C (anchor_row): make it take a RowList::iterator as arg,
6467         adjust.
6468         (computeBidiTables): make it take a const reference to Row instead
6469         of Row pointer, adjust.
6470         (leftMargin): make it take a RowList::iterator as arg, adjust.
6471         (rowBreakPoint): adjust
6472         (breakAgainOneRow): make it take a RowList::iterator as arg,
6473         adjust.
6474         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6475
6476         * bufferview_funcs.C (toggleAndShow): adjust
6477
6478 2003-03-30  John Levon  <levon@movementarian.org>
6479
6480         * Makefile.am:
6481         * BoostFormat.h:
6482         * boost-inst.C: moved to support
6483
6484         * several files: changes as a result
6485
6486 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * text2.C (LyXText): adjust.
6489         (init): adjust
6490         (removeRow): make it take a RowList::iterator as arg, adjust.
6491         (fullRebreak): adjust
6492         (deleteEmptyParagraphMechanism): adjust
6493         (clearPaint): adjust
6494         (postPaint): adjust
6495
6496         * text.C (top_y): adjust
6497         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6498         (breakAgain): make it take a RowList::iterator as arg, adjust.
6499         (breakParagraph): adjust
6500         (insertChar): adjust
6501         (backspace): adjust
6502
6503         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6504         need_break_row, and refresh_row.
6505
6506         * text3.C (dispatch): adjust
6507
6508         * text2.C (checkParagraph): adjust
6509         (setCursor): adjust
6510         (setCursorFromCoordinates): adjust
6511
6512         * text.C (top_y): adjust
6513         (workWidth): adjust
6514         (getRow): make it return a RowList::iterator, adjust
6515         (getRowNearY): make it return a RowList::iterator, adjust
6516
6517         * text2.C (init): adjust
6518         (insertRow): remove function
6519         (insertParagraph): adjust
6520         (redoParagraphs): adjust
6521         (fullRebreak): adjust
6522         (updateCounters): adjust
6523
6524         * text.C (top_y): rewrite to use RowList iterators.
6525         (top_y): adjust
6526         (setHeightOfRow): rewrite to sue RowList iterators.
6527         (appendParagraph): adjust
6528         (breakAgain): adjust
6529         (breakAgainOneRow): adjust
6530         (breakParagraph): adjust
6531         (getRow): adjust
6532         (getRowNearY): adjust, and remove commented code.
6533
6534         * lyxtext.h (firstRow): delete function
6535         (lastRow): delete function
6536         (rows): new function (const and non-const versions.)
6537         (insertRow): delete function
6538
6539         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6540
6541 2003-03-29  John Levon  <levon@movementarian.org>
6542
6543         * BufferView_pimpl.C: always update scrollbar top
6544         because pasting text when we're anchored could mean we
6545         miss an update altogether
6546
6547 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * text2.C (init): use rowlist_.end() and not 0.
6550         (insertRow): change to take a RowList::iterator as arg, adjust
6551         for this.
6552         (insertParagraph): change to take a RowList::iterator as arg,
6553         adjust for this.
6554         (redoParagraphs): remove some debug msgs.
6555
6556         * text.C (appendParagraph): change to take a RowList::iterator
6557         arg, adjust for this.
6558         (breakAgain): add an assert
6559         (breakAgainOneRow): ditto
6560
6561 2003-03-29  John Levon  <levon@movementarian.org>
6562
6563         * text2.C: do not clear selection after inc/decDepth
6564         (bug 550)
6565
6566 2003-03-29  John Levon  <levon@movementarian.org>
6567
6568         * BufferView.C:
6569         * buffer.C: fix broken strerrors according to Lars
6570
6571 2003-03-29  John Levon  <levon@movementarian.org>
6572
6573         * converters.C: more Alert cleanups
6574
6575 2003-03-29  John Levon  <levon@movementarian.org>
6576
6577         * bufferview_funcs.C: remove pointless Alert
6578
6579         * buffer.C: fix confusing error message when
6580         a template is chmoded 000
6581
6582 2003-03-29  John Levon  <levon@movementarian.org>
6583
6584         * BufferView.C:
6585         * BufferView.h:
6586         * BufferView_pimpl.C: Alert fixes
6587
6588         * Makefile.am:
6589         * tabular.C:
6590         * tabular-old.C: remove unused table compat reading
6591
6592 2003-03-29  John Levon  <levon@movementarian.org>
6593
6594         * BufferView.C:
6595         * buffer.C:
6596         * lyx_cb.h:
6597         * lyx_cb.C: more Alert cleanups
6598
6599         * lyxfunc.C: don't allow chktex if not latex document
6600
6601 2003-03-29  John Levon  <levon@movementarian.org>
6602
6603         * lyx_cb.C:
6604         * BufferView.C:
6605         * buffer.C: warnings pushed down from support/,
6606         kill err_alert
6607
6608 2003-03-29  John Levon  <levon@movementarian.org>
6609
6610         * lyxfunc.C: safety check for C-r (revert)
6611
6612 2003-03-29  John Levon  <levon@movementarian.org>
6613
6614         * bufferlist.h:
6615         * bufferlist.C: several UI fixes using Alert::prompt.
6616         Fix the pointless looping quit code. Fix stupid revert
6617         behaviour (bug 938)
6618
6619         * lyxvc.h:
6620         * lyxvc.C:
6621         * lyx_cb.C: use Alert::prompt
6622
6623         * lyx_main.C: remove a silly question
6624
6625         * lyxfunc.C: remove a couple of silly questions,
6626         use Alert::prompt
6627
6628 2003-03-28  John Levon  <levon@movementarian.org>
6629
6630         * text2.C: fix bug 974 (End on empty par)
6631
6632 2003-03-28  John Levon  <levon@movementarian.org>
6633
6634         * BufferView_pimpl.C:
6635         * LyXAction.C:
6636         * lfuns.h: remove do-nothing math greek lfuns
6637
6638 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * lyxgluelength.h (isValidGlueLength): add default arg on
6641         parameter 2. Remove default arg from friend in class.
6642
6643         * lyxlength.h (isValidLength): add default arg on parameter 2.
6644         Remove default arg from friend in class.
6645
6646         * text2.C (LyXText): adjust, initialize refresh_row.
6647         (init): adjust
6648         (removeRow): adjust
6649         (insertRow): adjust
6650         (insertParagraph): adjst
6651         (redoParagraphs): adjust
6652         (fullRebreak): adjust
6653         (updateCounters): adjust
6654         (deleteEmptyParagraphMechanism): first attempt at fixing a
6655         crashing bug.
6656
6657         * text.C (top_y): adjust
6658         (setHeightOfRow): adjust
6659         (getRow): adjust
6660         (getRowNearY): adjust
6661
6662         * lyxtext.h: include RowList.h
6663         (~LyXText): not needed anymore, deleted.
6664         (firstRow): modify for RowList
6665         (lastRow): new function
6666         Delete firstrow and lastrow class variables, add a Rowlist
6667         rowlist_ class variable.
6668
6669         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6670         paragraph is empty.
6671
6672         * RowList.C (insert): fix case where it == begin().
6673
6674 2003-03-26  Angus Leeming  <leeming@lyx.org>
6675
6676         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6677         the thesaurus dialog.
6678
6679 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6682
6683         * RowList.[Ch]: new files
6684
6685         * ParagraphList.C (erase): handle the case where it == begin
6686         correctly.
6687
6688 2003-03-25  John Levon  <levon@movementarian.org>
6689
6690         * Makefile.am:
6691         * aspell_local.h:
6692         * aspell.C: add new aspell support
6693
6694         * lyxrc.h:
6695         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6696         have it accessible.
6697
6698 2003-03-25  Angus Leeming  <leeming@lyx.org>
6699
6700         * lfuns.h:
6701         * LyXAction.C (init): new LFUN_INSET_INSERT.
6702
6703         * BufferView_pimpl.C (dispatch): split out part of the
6704         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6705
6706         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6707         LFUN_INSET_APPLY.
6708
6709 2003-03-25  Angus Leeming  <leeming@lyx.org>
6710
6711         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6712
6713 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6714
6715         * text2.C:
6716         * text3.C: remove useless row->height(0)
6717
6718 2003-03-25  John Levon  <levon@movementarian.org>
6719
6720         * lyxtext.h:
6721         * text2.C:
6722         * text3.C: rename the refreshing stuff to better names
6723
6724 2003-03-24  John Levon  <levon@movementarian.org>
6725
6726         * BufferView_pimpl.h:
6727         * BufferView_pimpl.C: update layout choice on a mouse
6728         press/release
6729
6730 2003-03-23  John Levon  <levon@movementarian.org>
6731
6732         * Makefile.am: fix commandtags.h reference
6733
6734 2003-03-22  John Levon  <levon@movementarian.org>
6735
6736         * BufferView_pimpl.C:
6737         * lyxtext.h:
6738         * rowpainter.C:
6739         * rowpainter.h:
6740         * text.C:
6741         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6742
6743 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * lyxtext.h:
6746         * text.C: take the rtl methods out of line
6747
6748 2003-03-21 André Pönitz <poenitz@gmx.net>
6749
6750         * metricsinfo.[Ch]: new files containing structures to be passed around
6751         during the two-phase-drawing...
6752
6753 2003-03-21 André Pönitz <poenitz@gmx.net>
6754
6755         * lyxtextclass.C: read 'environment' tag.
6756
6757 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6758
6759         * text2.C (removeRow): fix bug 964
6760
6761 2003-03-20  John Levon  <levon@movementarian.org>
6762
6763         * rowpainter.C:
6764         * text.C:
6765         * text2.C: paint cleanups. Inset::update() dropped font
6766         parameter
6767
6768 2003-03-19  John Levon  <levon@movementarian.org>
6769
6770         * lyxfunc.C: only fitcursor/markDirty if available()
6771
6772 2003-03-19  John Levon  <levon@movementarian.org>
6773
6774         * commandtags.h: rename to ...
6775
6776         * lfuns.h: ... this, and renumber / cleanup
6777
6778 2003-03-19  John Levon  <levon@movementarian.org>
6779
6780         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6781         fit the cursor after an lfun
6782
6783         * BufferView.h:
6784         * BufferView.C:
6785         * BufferView_pimpl.h:
6786         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6787
6788         * LyXAction.C: layout-character should have ReadOnly
6789
6790         * ParagraphParameters.C:
6791         * buffer.C:
6792         * bufferview_funcs.C:
6793         * lyx_cb.C:
6794         * lyxfind.C:
6795         * lyxtext.h:
6796         * text.C:
6797         * text2.C:
6798         * text3.C:
6799         * undo_funcs.C: changes from above
6800
6801 2003-03-18  John Levon  <levon@movementarian.org>
6802
6803         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6804         remove it from update()
6805
6806         * lyxfunc.C: update layout choice after an lfun
6807
6808         * text3.C: remove extra updateLayoutChoice()s
6809
6810 2003-03-18  John Levon  <levon@movementarian.org>
6811
6812         * text.C: top_y change means full repaint, fix
6813         a drawing bug with cursor movement
6814
6815 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * lyxtext.h:
6818         * text.C:
6819         * text2.C: anchor row on setCursor
6820
6821 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * lyxtext.h: remove almost all mutable keywords
6824         * text.C:
6825         * text2.C:
6826         * text3.C: remove const keywords accordingly
6827
6828 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6831         anon namespace
6832         (TeXEnvironment): ditto
6833         (TeXOnePar): ditto
6834
6835 2003-03-17  John Levon  <levon@movementarian.org>
6836
6837         * text.C (rowBreakPoint): remove attempt to fix displayed
6838         math insets inside a manual label
6839
6840 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * lyxtext.h: remove BufferView* as first arg from almost all class
6843         functions.
6844         * other files: adjust.
6845
6846 2003-03-17  John Levon  <levon@movementarian.org>
6847
6848         * lyxtext.h:
6849         * undo_funcs.C:
6850         * text2.C: more paint cleanups
6851
6852         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6853
6854         * rowpainter.h:
6855         * rowpainter.C: remove "smart" background painting code
6856
6857 2003-03-16  John Levon  <levon@movementarian.org>
6858
6859         * lyxtext.h:
6860         * text.C:
6861         * text2.C:
6862         * text3.C: add helper functions for setting refresh_row/y
6863
6864 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6865
6866         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6867         newline inset which *can* get inserted in the pass_thru layouts.
6868         This is primarily for literate documents.
6869
6870 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6871
6872         * buffer.C: increment LYX_FORMAT to 223
6873
6874 2003-03-14 André Pönitz <poenitz@gmx.net>
6875
6876         * textclass.h: prepare for environment handling, ws changes
6877         * lyxlayout.C: read latexheader and latexfooter tags
6878
6879 2003-03-14  John Levon  <levon@movementarian.org>
6880
6881         * text2.C: rewrite ::status() a bit
6882
6883 2003-03-13  John Levon  <levon@movementarian.org>
6884
6885         * lyxtext.h: add some docs
6886
6887 2003-03-13  John Levon  <levon@movementarian.org>
6888
6889         * lyxtext.h:
6890         * text.C:
6891         * text2.C:
6892         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6893
6894 2003-03-13  John Levon  <levon@movementarian.org>
6895
6896         * text3.C: fix appendix redrawing
6897
6898 2003-03-13  John Levon  <levon@movementarian.org>
6899
6900         * text.C (setHeightOfRow):
6901         * rowpainter.h:
6902         * rowpainter.C: make appendix mark have the text
6903           "Appendix" so the user knows what it is
6904
6905         * LColor.h:
6906         * LColor.C: s/appendixline/appendix/ from above
6907
6908 2003-03-13  John Levon  <levon@movementarian.org>
6909
6910         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6911
6912         * text.C: fix a getChar(pos) bug properly
6913
6914 2003-03-13  Angus Leeming  <leeming@lyx.org>
6915
6916         * commandtags.h:
6917         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6918         Probably only temporary. Let's see how things pan out.
6919
6920         * BufferView.C (unlockInset):
6921         * BufferView_pimpl.C (fitCursor):
6922         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6923
6924         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6925         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6926
6927         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6928         new functions that convert ParagraphParameters to and from a string.
6929
6930         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6931         BufferView::Pimpl's dispatch.
6932         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6933
6934 2003-03-13 André Pönitz <poenitz@gmx.net>
6935
6936         * lyxfunc.C:
6937         * text3.C:
6938         * factory.C: make it aware of InsetEnv
6939
6940 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * text2.C (setCursor): never ask for one past last
6943         (setCursor): add some debugging messages.
6944
6945         * text.C (singleWidth): never ask for one past last
6946         (singleWidth): ditto
6947         (leftMargin): ditto
6948         (rightMargin): ditto
6949         (rowBreakPoint): ditto
6950         (setHeightOfRow): ditto
6951         (prepareToPrint): ditto
6952
6953         * rowpainter.C (paintBackground): never ask for one past last
6954         (paintText): never ask for one past last
6955
6956         * paragraph_pimpl.C (getChar): make the assert stricter, never
6957         allow the one past last pos to be taken
6958
6959         * paragraph.C (getChar): ws changes only
6960
6961         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6962         (numberOfSeparators): ditto
6963         (numberOfHfills): ditto
6964
6965 2003-03-12  John Levon  <levon@movementarian.org>
6966
6967         * author.h:
6968         * author.C:
6969         * bufferparams.h:
6970         * bufferparams.C:
6971         * paragraph_funcs.C: fix per-buffer authorlists
6972
6973 2003-03-12  John Levon  <levon@movementarian.org>
6974
6975         * text.C: fix newline in right address
6976
6977 2003-03-12  Angus Leeming  <leeming@lyx.org>
6978
6979         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6980         duplicate those in LyXFunc::dispatch.
6981
6982         * commandtags.h:
6983         * LyXAction.C:
6984         * ToolbarDefaults.C:
6985         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6986         Add LFUN_FONTFREE_UPDATE.
6987
6988         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6989         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6990
6991         * bufferview_func.[Ch]: several new functions to facilliate
6992         transfer of data to and from the character dialog.
6993
6994 2003-03-12  John Levon  <levon@movementarian.org>
6995
6996         * buffer.C:
6997         * paragraph.h:
6998         * paragraph.C:
6999         * paragraph_funcs.C:
7000         * paragraph_pimpl.C:
7001         * sgml.C:
7002         * tabular.C:
7003         * text.C:
7004         * text3.C: remove META_NEWLINE in favour of an inset
7005
7006         * rowpainter.h:
7007         * rowpainter.C: remove paintNewline (done by inset)
7008
7009 2003-03-12  John Levon  <levon@movementarian.org>
7010
7011         * paragraph_pimpl.C: complain about bad getChar()s
7012         for a while at least
7013
7014 2003-03-12  John Levon  <levon@movementarian.org>
7015
7016         * buffer.h:
7017         * buffer.C: move paragraph read into a separate function,
7018         a little renaming to reflect that.
7019
7020         * bufferparams.h:
7021         * bufferparams.C: remove the author_ids map, not necessary now
7022
7023         * factory.h:
7024         * factory.C: moved Buffer::readInset to here
7025
7026         * paragraph_funcs.h:
7027         * paragraph_funcs.C: readParagraph free function moved from
7028         buffer.C
7029
7030         * tabular.C: name change
7031
7032 2003-03-12  John Levon  <levon@movementarian.org>
7033
7034         * buffer.C:
7035         * ParagraphParameters.C: move par params input to
7036         a read() method
7037
7038         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7039         behave like a normal read from the stream wrt reading
7040         a line vs. a \\token
7041
7042 2003-03-12  John Levon  <levon@movementarian.org>
7043
7044         * paragraph.C:
7045         * ParagraphParameters.h:
7046         * ParagraphParameters.C: move output code to a
7047         ::write() method
7048
7049 2003-03-12  John Levon  <levon@movementarian.org>
7050
7051         * BufferView.C (insertLyXFile):
7052         * buffer.h:
7053         * buffer.C:
7054         * tabular.C: use a parlist iterator for creating the
7055           document.
7056
7057 2003-03-12  John Levon  <levon@movementarian.org>
7058
7059         * buffer.C: make current_change static local not
7060           static file-scope
7061
7062 2003-03-12  John Levon  <levon@movementarian.org>
7063
7064         * buffer.C: fix insertStringAsLines for change tracking
7065
7066 2003-03-12  John Levon  <levon@movementarian.org>
7067
7068         * BufferView.C:
7069         * tabular.C:
7070         * buffer.h:
7071         * buffer.C:
7072         * bufferparams.h:
7073         * bufferparams.C: move author list into params. Rename some
7074           functions. Move the header reading into a separate token
7075           loop. Move the header token reading into BufferParams.
7076
7077 2003-03-12  John Levon  <levon@movementarian.org>
7078
7079         * changes.C: put debug inside lyxerr.debugging() checks
7080
7081 2003-03-11 André Pönitz <poenitz@gmx.net>
7082
7083         * factory.C: make it aware of InsetHFill
7084
7085 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7086
7087         * buffer.C (latexParagraphs): move function from here...
7088         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7089         args.
7090
7091 2003-03-10  Angus Leeming  <leeming@lyx.org>
7092
7093         * LyXAction.C (init): fix bug in poplating array with multiple entries
7094         with the same LFUN (spotted by JMarc).
7095
7096 2003-03-10  John Levon  <levon@movementarian.org>
7097
7098         * text.C:
7099         * text2.C: move getColumnNearX() near its
7100         only call site
7101
7102 2003-03-10  John Levon  <levon@movementarian.org>
7103
7104         * text.C: fix break before a minipage
7105
7106 2003-03-10  John Levon  <levon@movementarian.org>
7107
7108         * text.C: fix the last commit
7109
7110 2003-03-09  John Levon  <levon@movementarian.org>
7111
7112         * lyxtext.h:
7113         * text.C:
7114         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7115         bug 365 (don't break before insets unless needed). Don't
7116         return a value > last under any circumstances.
7117
7118 2003-03-09  Angus Leeming  <leeming@lyx.org>
7119
7120         * BufferView_pimpl.C (trackChanges, dispatch): call
7121         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7122
7123 2003-03-09  Angus Leeming  <leeming@lyx.org>
7124
7125         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7126         than Dialogs::showAboutlyx().
7127
7128 2003-03-09  Angus Leeming  <leeming@lyx.org>
7129
7130         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7131         than Dialogs::showTabularCreate().
7132
7133 2003-03-09  John Levon  <levon@movementarian.org>
7134
7135         * lyxtext.h:
7136         * text.C:
7137         * text2.C: 3rd arg to nextBreakPoint was always the same.
7138           Use references.
7139
7140 2003-03-08  John Levon  <levon@movementarian.org>
7141
7142         * lyxrow.C:
7143         * paragraph.C:
7144         * paragraph.h:
7145         * rowpainter.C:
7146         * text.C:
7147         * text2.C: Remove the "main" bit from the "main body"
7148           notion.
7149
7150 2003-03-08  John Levon  <levon@movementarian.org>
7151
7152         * text.C (leftMargin): The left margin of an empty
7153         manual label paragraph should not include the label width
7154         string length.
7155
7156         * text.C (prepareToPrint): don't attempt to measure hfills
7157         for empty manual label paragraphs - the answer should be 0
7158
7159 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * CutAndPaste.C: remove commented code and reindent.
7162
7163 2003-03-08  John Levon  <levon@movementarian.org>
7164
7165         * lyxfunc.h:
7166         * lyxfunc.C: move reloadBuffer()
7167
7168         * BufferView.h:
7169         * BufferView.C: to here
7170
7171         * lyxvc.C: add comment
7172
7173         * vc-backend.h:
7174         * vc-backend.C: call bv->reload() to avoid
7175           getStatus() check on MENURELOAD
7176
7177 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7178
7179         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7180         to an old format .dep file.
7181
7182 2003-03-07  Angus Leeming  <leeming@lyx.org>
7183
7184         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7185         when the LFUN_MOUSE_RELEASE should have been handled by
7186         inset->localDispatch.
7187
7188 2003-03-07  Angus Leeming  <leeming@lyx.org>
7189
7190         * BufferView_pimpl.C (dispatch):
7191         * LyXAction.C (init):
7192         * ToolbarDefaults.C (init):
7193         * commandtags.h:
7194         * lyxfunc.C (getStatus):
7195         remove LFUN_INSET_GRAPHICS.
7196
7197         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7198
7199 2003-03-07  Angus Leeming  <leeming@lyx.org>
7200
7201         * commandtags.h:
7202         * LyXAction.C (init):
7203         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7204
7205         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7206
7207         * commandtags.h:
7208         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7209
7210         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7211         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7212
7213 2003-03-07  Angus Leeming  <leeming@lyx.org>
7214
7215         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7216         remove "ert".
7217
7218 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * ParagraphList.C (front): new function
7221         (back): implement
7222
7223 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7224
7225         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7226         and top_row_offset_. removed var first_y.
7227         * text.C (top_y):
7228         * text2.C (LyXText, removeRow):
7229         * text3.C:
7230         * BufferView_pimpl.C:
7231         use these methods instead of using first_y
7232
7233 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * text2.C (pasteSelection): adjust for checkPastePossible
7236
7237         * CutAndPaste.C: remove Paragraph * buf and replace with
7238         ParagraphList paragraphs.
7239         (DeleteBuffer): delete
7240         (cutSelection): change the tc type to textclass_type
7241         (copySelection): change the tc type to textclass_type
7242         (copySelection): adjust for ParagraphList
7243         (pasteSelection): change the tc type to textclass_type
7244         (pasteSelection): adjust for Paragraphlist
7245         (nrOfParagraphs): simplify for ParagraphList
7246         (checkPastePossible): simplify for ParagraphList
7247         (checkPastePossible): remove unused arg
7248
7249         * ParagraphList.C (insert): handle the case where there are no
7250         paragraphs yet.
7251
7252         * CutAndPaste.h: make CutAndPaste a namespace.
7253
7254         * text3.C (dispatch): adjust
7255
7256         * text.C (breakParagraph): add a ParagraphList as arg
7257
7258         * paragraph_funcs.C (breakParagraph): change to take a
7259         BufferParams and a ParagraphList as args.
7260         (breakParagraphConservative): ditto
7261         (mergeParagraph): ditto
7262         (TeXDeeper): add a ParagraphList arg
7263         (TeXEnvironment): ditto
7264         (TeXOnePar): ditto
7265
7266         * buffer.C (readLyXformat2): adjust
7267         (insertStringAsLines): adjust
7268         (latexParagraphs): adjust
7269
7270         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7271         (cutSelection): adjust
7272         (pasteSelection): adjust
7273
7274         * BufferView_pimpl.C (insertInset): adjust
7275
7276 2003-03-05  Angus Leeming  <leeming@lyx.org>
7277
7278         * commandtags.h:
7279         * LyXAction.C (init):
7280         * BufferView_pimpl.C (dispatch):
7281         * lyxfunc.C (getStatus):
7282         remove LFUN_CHILD_INSERT.
7283
7284         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7285
7286 2003-03-05  Angus Leeming  <leeming@lyx.org>
7287
7288         * commandtags.h:
7289         * LyXAction.C (init):
7290         * src/factory.C (createInset):
7291         * lyxfunc.C (getStatus):
7292         * text3.C (dispatch):
7293         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7294
7295         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7296
7297 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * ParagraphList.C (insert): handle insert right before end()
7300         (erase): fix cases where it can be first or last paragraph.
7301
7302 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7305         Paragraph::next and Paragraph::previous
7306         (TeXOnePar): ditto
7307
7308         * text.C (breakParagraph): adjust
7309
7310         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7311         BufferParams& as arg.
7312         (breakParagraph): use ParagraphList::insert
7313         (breakParagraphConservative): take a Buffer* instead of a
7314         BufferParams& as arg.
7315         (breakParagraphConservative): use ParagraphList::insert.
7316
7317         * buffer.C (insertStringAsLines): un-const it
7318         (insertStringAsLines): adjust
7319
7320         * ParagraphList.C (insert): new function
7321
7322         * CutAndPaste.C (pasteSelection): adjust
7323
7324         * text.C (backspace): adjust
7325
7326         * tabular.C (SetMultiColumn): adjust
7327
7328         * CutAndPaste.C (cutSelection): adjust
7329         (pasteSelection): adjust
7330
7331         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7332         Buffer const * as arg
7333
7334         * ParagraphList.C (erase): new function
7335         * paragraph_funcs.C (mergeParagraph): use it
7336         (mergeParagraph): make it take a Buffer* instead of a
7337         BufferParams* as arg
7338
7339         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7340         as arg
7341         (breakParagraphConservative): ditto
7342
7343         * paragraph.h: remove the breakParagraph friend
7344
7345         * paragraph.C (eraseIntern): new function
7346         (setChange): new function
7347
7348         * paragraph_funcs.C (mergeParagraph): make it take a
7349         ParagraphList::iterator instead of a Paragraph *, adjust
7350         accordingly.
7351
7352         * paragraph.h: move an #endif so that the change tracking stuff
7353         also works in the NO_NEXT case.
7354
7355 2003-03-04  Angus Leeming  <leeming@lyx.org>
7356
7357         * commandtags.h:
7358         * LyXAction.C: new LFUN_INSET_MODIFY.
7359
7360         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7361         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7362
7363 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * several files: ws changes only
7366
7367         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7368         (TeXEnvironment): ditto
7369         (TeXDeeper): ditto
7370
7371         * buffer.C (makeLaTeXFile): adjust
7372         (latexParagraphs): make it take ParagraphList::iterator as args
7373
7374 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * buffer.C (latexParagraphs): adjust
7377
7378         * paragraph.C (TeXOnePar): move function...
7379         (optArgInset): move function...
7380         (TeXEnvironment): move function...
7381         * paragraph_pimpl.C (TeXDeeper): move function...
7382         * paragraph_funcs.C: ...here
7383
7384         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7385
7386 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * buffer.C (readInset): remove compability code for old Figure and
7389         InsetInfo insets
7390
7391 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * buffer.C: ws changes
7394         (readInset):
7395
7396         * BufferView_pimpl.C: ditto
7397         * author.C: ditto
7398         * buffer.h: ditto
7399         * bufferlist.h: ditto
7400         * changes.h: ditto
7401         * lyxfunc.C: ditto
7402
7403 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7404
7405         * converter.[Ch]: split into itself +
7406         * graph.[Ch]
7407         * format.[Ch]
7408         * Makefile.am: += graph.[Ch] + format.[Ch]
7409         * MenuBackend.C
7410         * buffer.C
7411         * exporter.C
7412         * importer.C
7413         * lyx_main.C
7414         * lyxfunc.C
7415         * lyxrc.C: added #include "format.h"
7416
7417 2003-02-27  Angus Leeming  <leeming@lyx.org>
7418
7419         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7420           a label.
7421
7422         * factory.C (createInset): add "label" to the factory.
7423
7424         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7425           string and do no more.
7426
7427 2003-02-27  Angus Leeming  <leeming@lyx.org>
7428
7429         * commandtags.h:
7430         * LyXAction.C (init):
7431         * factory.C (createInset):
7432         * BufferView_pimpl.C (dispatch):
7433           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7434
7435         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7436
7437         * lyxfunc.C (dispatch):
7438         * text3.C (dispatch): pass name to params2string.
7439
7440 2003-02-26  Angus Leeming  <leeming@lyx.org>
7441
7442         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7443           blocks together.
7444           Rearrange the ~includes. Strip out the unnecessary ones.
7445
7446         * factory.C (createInset): reformat.
7447           create new insets for the various LFUN_XYZ_APPLY lfuns.
7448
7449 2003-02-26  John Levon  <levon@movementarian.org>
7450
7451         * lyxrow.h:
7452         * lyxrow.C: add isParStart,isParEnd helpers
7453
7454         * paragraph.h: make isInserted/DeletedText take refs
7455
7456         * paragraph_funcs.h:
7457         * paragraph_funcs.C: remove #if 0'd code
7458
7459         * lyxtext.h:
7460         * text3.C:
7461         * text2.C:
7462         * text.C: use lyxrow helpers above.
7463           Move draw and paint routines to RowPainter.
7464           Make several methods use refs not pointers.
7465           Make backgroundColor() const.
7466           Add markChangeInDraw(), isInInset().
7467           Merge changeRegionCase into changeCase.
7468           Make workWidth() shouldn't-happen code into an Assert.
7469
7470         * rowpainter.h:
7471         * rowpainter.C: new class for painting a row.
7472
7473         * vspace.h:
7474         * vspace.C: make inPixels take a ref
7475
7476 2003-02-26  Angus Leeming  <leeming@lyx.org>
7477
7478         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7479         LFUN_REF_APPLY.
7480
7481 2003-02-25  John Levon  <levon@movementarian.org>
7482
7483         * ispell.C: give the forked command a more accurate name
7484
7485 2003-02-22  John Levon  <levon@movementarian.org>
7486
7487         * toc.h:
7488         * toc.C: make TocItem store an id not a Paragraph *
7489           (bug #913)
7490
7491 2003-02-21  Angus Leeming  <leeming@lyx.org>
7492
7493         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7494           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7495           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7496           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7497           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7498           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7499
7500         * BufferView_pimpl.C (dispatch):
7501         * LyXAction.C (init):
7502         * factory.C (createInset):
7503         * lyxfunc.C (getStatus, dispatch):
7504         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7505
7506 2003-02-21  Angus Leeming  <leeming@lyx.org>
7507
7508         * BufferView_pimpl.C (MenuInsertLyXFile):
7509         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7510         * lyxfunc.C (menuNew, open, doImport):
7511           no longer pass a LyXView & to fileDlg.
7512
7513 2003-02-21  Angus Leeming  <leeming@lyx.org>
7514
7515         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7516         * LyXAction.C: change, BIBKEY to BIBITEM.
7517         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7518         Change InsetBibKey to InsetBibitem.
7519         Change BIBKEY_CODE to BIBITEM_CODE.
7520         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7521         * factory.C: replace insetbib.h with insetbibitem.h.
7522         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7523         * paragraph.C: replace insetbib.h with insetbibitem.h.
7524         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7525         Change bibkey() to bibitem().
7526         * text.C: remove insetbib.h.
7527         * text2.C: replace insetbib.h with insetbibitem.h.
7528         change bibkey() to bibitem().
7529         * text3.C: remove insetbib.h.
7530         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7531
7532 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7533
7534         * lyxrc.C (output): enclose user email in quotes (in case there are
7535         several words)
7536
7537 2003-02-18  John Levon  <levon@movementarian.org>
7538
7539         * buffer.h: add std::
7540
7541 2003-02-17  John Levon  <levon@movementarian.org>
7542
7543         * SpellBase.h:
7544         * ispell.h:
7545         * ispell.C:
7546         * pspell.h:
7547         * pspell.C: reworking. Especially in ispell, a large
7548           number of clean ups and bug fixes.
7549
7550         * lyxfunc.C: fix revert to behave sensibly
7551
7552 2003-02-17 André Pönitz <poenitz@gmx.net>
7553
7554         * LyXAction.C:
7555         * commandtags.h: new LFUN_INSERT_BIBKEY
7556
7557         * layout.h:
7558         * lyxlayout.C:
7559         * buffer.C:
7560         * factory.C:
7561         * text.C:
7562         * text2.C:
7563         * text3.C:
7564         * paragraph.[Ch]:
7565         * paragraph_func.C: remove special bibkey handling
7566
7567 2003-02-17  John Levon  <levon@movementarian.org>
7568
7569         * text.C (Delete): fix case where delete at the end of
7570           the very first paragraph would not merge the pars
7571
7572 2003-02-17  John Levon  <levon@movementarian.org>
7573
7574         * lyxrow.C: fix lastPrintablePos()
7575
7576 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * bufferparams.C (writeLaTeX): add a std:here
7579
7580         * buffer.C: and remove a using directive there
7581
7582 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7583
7584         * buffer.C (makeLaTeXFile): move the code that generates the
7585           preamble...
7586
7587         * bufferparams.C (writeLaTeX): ... in this new method
7588
7589         * LaTeXFeatures.C (getEncodingSet): make const
7590           (getLanguages): make const
7591
7592         * MenuBackend.C (binding): returns the binding associated to this
7593           action
7594           (add): sets the status of each item by calling getStatus. Adds
7595           some intelligence.
7596           (read): add support for OptSubMenu
7597           (expand): remove extra separator at the end of expanded menu
7598
7599 2003-02-15  John Levon  <levon@movementarian.org>
7600
7601         * BufferView.C:
7602         * BufferView_pimpl.C:
7603         * bufferlist.h:
7604         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7605           inset code that had no actual effect. Remove unneeded status
7606           code.
7607
7608 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7609
7610         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7611           in preamble
7612
7613 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7614
7615         * text.C (drawLengthMarker): also draw an arrow marker for
7616           symbolic lengths (medskip...)
7617
7618 2003-02-14  John Levon  <levon@movementarian.org>
7619
7620         * tabular.h:
7621         * tabular.C: better method names
7622
7623 2003-02-14  John Levon  <levon@movementarian.org>
7624
7625         * BufferView_pimpl.C:
7626         * bufferlist.C:
7627         * buffer.C:
7628         * converter.C:
7629         * lyx_cb.C:
7630         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7631           it's a more accurate name. Remove some pointless uses.
7632
7633 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7634
7635         * text2.C (LyXText): change order of initilizers to shut off
7636           warnings
7637
7638 2003-02-14  John Levon  <levon@movementarian.org>
7639
7640         * buffer.C: use ParIterator for getParFromID()
7641
7642         * paragraph.h:
7643         * paragraph.C:
7644         * paragraph_pimpl.h:
7645         * paragraph_pimpl.C: remove unused getParFromID()
7646
7647 2003-02-14  John Levon  <levon@movementarian.org>
7648
7649         * buffer.C: remove some very old #if 0'd parse code
7650
7651 2003-02-13  John Levon  <levon@movementarian.org>
7652
7653         * text.h:
7654         * text.C:
7655         * text2.C: move hfillExpansion(), numberOfSeparators(),
7656           rowLast(), rowLastPrintable(), numberofHfills(),
7657           numberOfLabelHfills() ...
7658
7659         * lyxrow.h:
7660         * lyxrow.C: ... to member functions here.
7661
7662         * paragraph.h:
7663         * paragraph.C:
7664         * lyxtext.h:
7665         * text.C: remove LyXText::beginningOfMainBody(), and call
7666           p->beginningOfMainBody() directly. Move the check for
7667           LABEL_MANUAL into the latter.
7668
7669         * text.h:
7670         * text.C:
7671         * text2.C:
7672         * vspace.C:
7673         * BufferView.h:
7674         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7675
7676         * text.h:
7677         * text.C:
7678         * text2.C:
7679         * text3.C:
7680         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7681           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7682
7683 2003-02-13  John Levon  <levon@movementarian.org>
7684
7685         * CutAndPaste.C: remove debug
7686
7687 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * paragraph.C (asString): remove two unused variables
7690
7691         * lyxtextclass.C (readTitleType):
7692           (Read):
7693           (LyXTextClass): handle new members titletype_ and titlename_
7694
7695         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7696
7697 2003-02-09  John Levon  <levon@movementarian.org>
7698
7699         * buffer.h:
7700         * buffer.C: replace hand-coded list with a map for the dep clean
7701
7702 2003-02-08  John Levon  <levon@movementarian.org>
7703
7704         * LaTeX.C: consolidate code into showRunMessage() helper
7705
7706 2003-02-08  John Levon  <levon@movementarian.org>
7707
7708         * lyxfind.C:
7709         * lyxtext.h:
7710         * text2.C:
7711         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7712           and pass the size in explicitly
7713
7714         * BufferView_pimpl.h:
7715         * BufferView_pimpl.C:
7716         * BufferView.h:
7717         * BufferView.C: add getCurrentChange()
7718
7719         * BufferView_pimpl.h:
7720         * BufferView_pimpl.C: handle change lfuns
7721
7722         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7723           for changes. Mark pasted paragraphs as new.
7724
7725         * support/lyxtime.h:
7726         * support/lyxtime.C:
7727         * DepTable.C: abstract time_t as lyx::time_type
7728
7729         * LColor.h:
7730         * LColor.C: add colours for new text, deleted text, changebars
7731
7732         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7733           package use "usenames" option.
7734
7735         * commandtags.h:
7736         * lyxfunc.C:
7737         * LyXAction.C: add change lfuns
7738
7739         * Makefile.am:
7740         * author.h:
7741         * author.C: author handling
7742
7743         * buffer.h:
7744         * buffer.C: add a per-buffer author list, with first entry as
7745           current author. Handle new .lyx tokens for change tracking. Output
7746           author list to .lyx file. Output dvipost stuff to .tex preamble.
7747           Bump lyx format to 222.
7748
7749         * bufferlist.h:
7750         * bufferlist.C: add setCurrentAuthor() to reset current author details
7751           in all buffers.
7752
7753         * bufferparams.h:
7754         * bufferparams.C: add param for tracking
7755
7756         * bufferview_funcs.C: output change info in minibuffer
7757
7758         * Makefile.am:
7759         * changes.h:
7760         * changes.C: add change-tracking structure
7761
7762         * debug.h:
7763         * debug.C: add CHANGES debug flag
7764
7765         * lyxfind.h:
7766         * lyxfind.C: add code for finding the next change piece
7767
7768         * lyxrc.h:
7769         * lyxrc.C: add user_name and user_email
7770
7771         * lyxrow.h:
7772         * lyxrow.C: add a metric for the top of the text line
7773
7774         * lyxtext.h:
7775         * text.C: implement accept/rejectChange()
7776
7777         * lyxtext.h:
7778         * text.C: paint changebars. Paint new/deleted text in the chosen
7779         colours. Strike through deleted text.
7780
7781         * paragraph.h:
7782         * paragraph.C:
7783         * paragraph_pimpl.h:
7784         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7785           in the current change to the insert functions. Rework erase to
7786           mark text as deleted, adding an eraseIntern() and a range-based
7787           erase(). Implement per-paragraph change lookup and
7788           accept/reject.
7789
7790         * paragraph_funcs.C: Fixup paste for change tracking.
7791
7792         * tabular.C: mark added row/columns as new.
7793
7794         * text.C: fix rowLast() to never return -1. Don't allow
7795           spellchecking of deleted text. Track transpose changes. Don't
7796           allow paragraph break or merge where appropriate.
7797
7798         * text2.C: leave cursor at end of selection after a cut.
7799
7800 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7801
7802         * text.C (getLengthMarkerHeight):
7803         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7804         visible on screen too.
7805
7806 2003-02-07  John Levon  <levon@movementarian.org>
7807
7808         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7809
7810 2003-02-05  Angus Leeming  <leeming@lyx.org>
7811
7812         * lyxserver.C (read_ready): revert my patch of 11 September last year
7813         as it sends PC cpu through the roof. Presumably this means that
7814         the lyxserver will no longer run on an Alpha...
7815
7816 2003-01-30  Angus Leeming  <leeming@lyx.org>
7817
7818         * factory.C (createInset): create an InsetCommandParam of type "index"
7819         and use it to 'do the right thing'.
7820
7821         * text2.C (getStringToIndex): ensure that cursor position is always
7822         reset to the reset_cursor position.
7823
7824 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7825
7826         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7827         disabled.
7828
7829 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7830
7831         * bufferview.C:
7832         * lyxcb.C:
7833         * lyxfunc.C: Output messages with identical spelling, punctuation,
7834         and spaces
7835
7836 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7837
7838         * MenuBackend.C (expandFormats): List only viewable export formats
7839         in "View" menu
7840
7841         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7842         message
7843
7844         * lyxfunc.C (getStatus): Make sure that formats other than
7845         "fax" can also be disabled
7846
7847 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7848
7849         * text3.C (dispatch): put the lfuns that insert insets in 3
7850         groups, and call doInsertInset with appropriate arguments.
7851         (doInsertInset): new function, that creates an inset and inserts
7852         it according to some boolean parameters.
7853
7854 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * buffer.C (readFile): remember to pass on 'par' when calling
7857         readFile recursively.
7858
7859 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7860
7861         * MenuBackend.C (expandFormats): add "..." to import formats.
7862
7863 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7864
7865         * paragraph.C (asString): Remove XForms RTL hacks.
7866
7867 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7868         * buffer.C: fix typo
7869
7870 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * Makefile.am (LIBS): delete var
7873         (lyx_LDADD): add @LIBS@ here instead.
7874
7875 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7876
7877         * Clarify the meaning of "wheel mouse jump"
7878
7879 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7880
7881         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7882         tabular in a float
7883
7884 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7885
7886         * importer.C (Loaders): do not preallocate 3 elements in the
7887         vector, since one ends up with 6 elements otherwise
7888
7889 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7890
7891         * DepTable.C (write): write the file name as last element of the
7892         .dep file (because it may contain spaces)
7893         (read): read info in the right order
7894
7895 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7896
7897         * paragraph_pimpl.C (simpleTeXBlanks):
7898         (simpleTeXSpecialChars):
7899         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7900
7901         * tabular.C (latex): add some missing case statements. Reindent.
7902
7903         * MenuBackend.C (expandToc): remove unused variable.
7904
7905 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7906
7907         * LColor.C:
7908         * LaTeX.C:
7909         * LyXAction.C:
7910         * MenuBackend.C:
7911         * buffer.C:
7912         * exporter.C:
7913         * lyxfunc.C:
7914         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7915         and the like.
7916
7917 2003-01-05  John Levon  <levon@movementarian.org>
7918
7919         * BufferView.h:
7920         * BufferView.C: add getEncoding()
7921
7922         * kbsequence.h:
7923         * kbsequence.C: do not store last keypress
7924
7925         * lyxfunc.h:
7926         * lyxfunc.C: store last keypress here instead. Pass encoding
7927           to getISOEncoded()
7928
7929 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7930
7931         * lyx_main.C (init): remove annoying error message when following
7932         symbolic links (bug #780)
7933
7934 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7935
7936         * text.C (insertChar):
7937         * lyxrc.C (getDescription): remove extra spaces
7938
7939 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7940
7941         * lyxrc.C (getDescription): remove extra spaces
7942
7943 2002-12-20  John Levon  <levon@movementarian.org>
7944
7945         * text3.C: hack fix for page up/down across tall rows
7946
7947 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7948
7949         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7950         not been invoked
7951
7952 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7953
7954         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7955         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7956         thesaurus is not compiled in
7957
7958 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7959
7960         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7961
7962 2002-12-16  Angus Leeming  <leeming@lyx.org>
7963
7964         * lyxrc.[Ch]:
7965         * lyx_main.C (init): remove override_x_deadkeys stuff.
7966
7967 2002-12-12  John Levon  <levon@movementarian.org>
7968
7969         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7970           insert. Only remove shift modifier under strict
7971           circumstances.
7972
7973 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * MenuBackend.C (expandToc): fix crash.
7976
7977 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * MenuBackend.C (expandToc): gettext on float names.
7980
7981 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7982
7983         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7984         implement bool empty() [bug 490]
7985
7986 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7987
7988         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7989
7990 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7991
7992         * several files: ws changes
7993
7994 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7995
7996         * text2.C (setCounter): clean up a bit, use boost.format.
7997         (updateCounters): initialize par upon declaration.
7998
7999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8000         if the layout exists. We do not just store the layout any more.
8001         (SwitchLayoutsBetweenClasses): use boost.format
8002
8003 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8004
8005         * converter.C (convert): if from and to files are the same, use a
8006         temporary files as intermediary
8007
8008 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8009
8010         * commandtags.h:
8011         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8012
8013 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8014
8015         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8016
8017 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * tabular.C (asciiPrintCell): use string(size, char) instead of
8020         explicit loop.
8021
8022         * sgml.C (openTag): fix order of arguments to string constructor
8023         (closeTag): ditto
8024
8025         * lyxfunc.C (dispatch): use boost.format
8026
8027         * lots of files: change "c" -> 'c'
8028
8029 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8030
8031         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8032
8033 2002-11-25  Angus Leeming  <leeming@lyx.org>
8034
8035         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8036
8037         * lyx_main.C (init): compile fix.
8038
8039 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8040
8041         * lyx_cb.C (start): boost.formatify
8042         do not include <iostream>
8043
8044         * lengthcommon.C: ws only
8045
8046         * boost-inst.C,BoostFormat.h: add more explict instantations
8047
8048 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * lots of files: handle USE_BOOST_FORMAT
8051
8052 2002-11-21  John Levon  <levon@movementarian.org>
8053
8054         * pspell.C: fix compile
8055
8056 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8057
8058         * lyxfunc.C (dispatch): use boost::format
8059         (open): ditto
8060         (doImport): ditto
8061
8062         * lyxfont.C (stateText): use boost::format
8063
8064         * lyx_main.C (LyX): use boost::format
8065         (init): ditto
8066         (queryUserLyXDir): ditto
8067         (readRcFile): ditto
8068         (parse_dbg): ditto
8069         (typedef boost::function): use the recommened syntax.
8070
8071         * importer.C (Import): use boost::format
8072
8073         * debug.C (showLevel): use boost::format
8074
8075         * converter.C (view): use boost::format
8076         (convert): ditto
8077         (move): ditto
8078         (scanLog): ditto
8079
8080         * bufferview_funcs.C (currentState): use boost::format
8081
8082         * bufferlist.C (emergencyWrite): use boost::format
8083
8084         * buffer.C (readLyXformat2): use boost::format
8085         (parseSingleLyXformat2Token): ditto
8086
8087         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8088
8089         * LaTeX.C (run): use boost::format
8090
8091         * Chktex.C (scanLogFile): use boost::format
8092
8093         * BufferView_pimpl.C (savePosition): use boost::format
8094         (restorePosition): ditto
8095         (MenuInsertLyXFile): ditto
8096
8097         * BoostFormat.h: help file for explicit instation.
8098
8099 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8100
8101         * tabular.C (latex): Support for block alignment in fixed width
8102         columns.
8103
8104 2002-11-17  John Levon  <levon@movementarian.org>
8105
8106         * BufferView_pimpl.C:
8107         * lyx_cb.C:
8108         * lyxfunc.C: split filedialog into open/save
8109
8110 2002-11-08  Juergen Vigna  <jug@sad.it>
8111
8112         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8113         by my last patch (hopefully).
8114
8115 2002-11-08  John Levon  <levon@movementarian.org>
8116
8117         * iterators.h:
8118         * iterators.C:
8119         * buffer.h:
8120         * buffer.C:
8121         * paragraph.h:
8122         * paragraph.C:
8123         * toc.h:
8124         * toc.C: ParConstIterator, and use it (from Lars)
8125
8126 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8127
8128         * lyxtextclass.[Ch]: revise and add doxygen comments
8129
8130 2002-11-07  John Levon  <levon@movementarian.org>
8131
8132         * text.C: fix progress value for spellchecker
8133
8134         * toc.C: fix navigate menu for insetwrap inside minipage
8135
8136         * paragraph_funcs.C: added FIXME for suspect code
8137
8138 2002-11-07  John Levon  <levon@movementarian.org>
8139
8140         * BufferView_pimpl.C: fix redrawing of insets
8141           on buffer switch
8142
8143 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8144
8145         * text2.C (updateCounters): fix bug 668
8146
8147 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8148
8149         * text3.C (dispatch): Do not make the buffer dirty when moving the
8150         cursor.
8151
8152 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8153
8154         * vc-backend.C: STRCONV
8155         (scanMaster): ditto
8156
8157         * text2.C (setCounter): STRCONV
8158
8159         * paragraph.C (asString): STRCONV
8160
8161         * lyxlength.C (asString): STRCONV
8162         (asLatexString): ditto
8163
8164         * lyxgluelength.C (asString): STRCONV
8165         (asLatexString): ditto
8166
8167         * lyxfunc.C (dispatch): STRCONV
8168         (open): ditto
8169
8170         * lyxfont.C (stateText): STRCONV
8171
8172         * importer.C (Import): STRCONV
8173
8174         * counters.C (labelItem): STRCONV
8175         (numberLabel): ditto
8176         (numberLabel): remove unused ostringstream o
8177
8178         * chset.C: STRCONV
8179         (loadFile): ditto
8180
8181         * bufferview_funcs.C (currentState): STRCONV
8182
8183         * buffer.C (readFile): STRCONV
8184         (asciiParagraph): ditto
8185         (makeLaTeXFile): ditto
8186
8187         * Spacing.C (writeEnvirBegin): STRCONV
8188
8189         * LaTeXFeatures.C (getLanguages): STRCONV
8190         (getPackages): ditto
8191         (getMacros): ditto
8192         (getBabelOptions): ditto
8193         (getTClassPreamble): ditto
8194         (getLyXSGMLEntities): ditto
8195         (getIncludedFiles): ditto
8196
8197         * LaTeX.C: STRCONV
8198         (run): ditto
8199         (scanAuxFile): ditto
8200         (deplog): ditto
8201
8202         * LString.h: add the STRCONV macros
8203
8204         * BufferView_pimpl.C (savePosition): STRCONV
8205         (restorePosition): ditto
8206         (MenuInsertLyXFile): ditto
8207
8208         * vc-backend.C (scanMaster): change from submatch[...] to
8209         submatch.str(...)
8210
8211         * funcrequest.C: include config.h
8212
8213         * factory.C: include config.h
8214
8215         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8216
8217         * box.C: include config.h
8218
8219         * LaTeX.C (scanAuxFile): change from submatch[...] to
8220         submatch.str(...)
8221         (deplog): ditto
8222
8223 2002-10-25  Angus Leeming  <leeming@lyx.org>
8224
8225         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8226
8227         * ispell.[Ch] (setError): new method.
8228         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8229         Use setError() insetead of goto END.
8230
8231         * lyx_cb.C (AutoSave): move out child process into new class
8232         AutoSaveBuffer.
8233
8234 2002-10-30  John Levon  <levon@movementarian.org>
8235
8236         * text3.C: make start appendix undoable
8237
8238 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8239
8240         * lyxlength.C (inPixels): Fix returned value.
8241
8242         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8243         environment.
8244
8245 2002-10-24  Angus Leeming  <leeming@lyx.org>
8246
8247         * lyxgluelength.h: no need to forward declare BufferParams
8248         or BufferView, so don't.
8249
8250 2002-10-21  John Levon  <levon@movementarian.org>
8251
8252         * BufferView.C: menuUndo ->undo, redo
8253
8254         * BufferView.h: document, remove dead, make some methods private
8255
8256         * paragraph_funcs.h:
8257         * paragraph_funcs.C:
8258         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8259
8260         * buffer.h:
8261         * buffer.C:
8262         * sgml.h:
8263         * sgml.C: move sgml open/close tag into sgml.C
8264
8265         * bufferview_funcs.h: unused prototype
8266
8267         * lyxfunc.h:
8268         * lyxfunc.C: remove unused
8269
8270         * lyxtext.h:
8271         * text.C: remove unused
8272
8273 2002-10-21  John Levon  <levon@movementarian.org>
8274
8275         * BufferView.h:
8276         * BufferView.C:
8277         * BufferView_pimpl.h:
8278         * BufferView_pimpl.C: fix mouse wheel handling based on
8279           patch from Darren Freeman
8280
8281 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8282
8283         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8284
8285 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8286
8287         * lyxlength.C (inPixels): Fix hanfling of negative length.
8288         Fix LyXLength::MU case.
8289
8290 2002-10-16  John Levon  <levon@movementarian.org>
8291
8292         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8293
8294 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8295
8296         * converter.C (view): add support for $$i (file name) and $$p
8297         (file path) for the viewer command. If $$i is not specified, then
8298         it is appended to the command (for compatibility with old syntax)
8299
8300 2002-10-14  Juergen Vigna  <jug@sad.it>
8301
8302         * undo_funcs.C (textHandleUndo): alter the order in which the
8303         new undopar is added to the LyXText, as we have to set first
8304         the right prev/next and then add it as otherwise the rebuild of
8305         LyXText is not correct. Also reset the cursor to the right paragraph,
8306         with this IMO we could remove the hack in "redoParagraphs()".
8307
8308 2002-10-09  Angus Leeming  <leeming@lyx.org>
8309
8310         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8311         to turn off an optimisation if a new inset is to be inserted.
8312
8313 2002-10-11 André Pönitz <poenitz@gmx.net>
8314
8315         * lyxtext.h: make some functions public to allow access
8316         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8317
8318 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8319
8320         * text3.C (dispatch): when changing layout, avoid an infinite loop
8321         [bug #652]
8322
8323 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8324
8325         * lyxrc.C (read): treat a viewer or converter command of "none" as
8326         if it were empty.
8327
8328         * MenuBackend.C (expandFormats): for an update, also allow the
8329         formats that are not viewable
8330
8331         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8332         script if it is newer than the lyxrc.defaults in user directory
8333
8334 2002-10-07 André Pönitz <poenitz@gmx.net>
8335
8336         * text.C: Vitaly Lipatov's small i18n fix
8337
8338 2002-09-25  Angus Leeming  <leeming@lyx.org>
8339
8340         * ispell.h: doxygen fix.
8341
8342 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8343
8344         * buffer.h (readFile): Add a new argument to the method, to allow
8345         reading of old-format templates.
8346
8347 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8348
8349         * toc.C (getTocList): Get TOC from InsetWrap.
8350
8351 2002-09-16  John Levon  <levon@movementarian.org>
8352
8353         * lyxfunc.C: check tabular for cut/copy too
8354
8355 2002-09-12  John Levon  <levon@movementarian.org>
8356
8357         * LyXAction.C: tidy
8358
8359         * factory.h:
8360         * factory.C: add header
8361
8362         * paragraph_funcs.h:
8363         * paragraph_funcs.C: cleanup
8364
8365 2002-09-11  John Levon  <levon@movementarian.org>
8366
8367         * PrinterParams.h: odd/even default to true
8368
8369 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8370
8371         * PrinterParams.h: update printer parameters for new xforms dialog
8372
8373 2002-09-11  Angus Leeming  <leeming@lyx.org>
8374
8375         * lyxserver.C (read_ready): re-write to make it more transparent
8376         and to make it work in coherent fashion under Tru64 Unix.
8377
8378 2002-09-11  André Pönitz <poenitz@gmx.net>
8379
8380         * commandtags.h:
8381         * LyXAction.C:
8382         * text3.C: implement LFUN_WORDSEL
8383
8384 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8387         make floatlist_ a boost::shared_ptr<FloatList>
8388
8389         * lyxtextclass.C: include FloatList.h
8390         (LyXTextClass): initialize floatlist_
8391         (TextClassTags): add TC_NOFLOAT
8392         (Read): match "nofloat" to TC_NOFLOAT and use it.
8393         (readFloat): modify call to floatlist_
8394         (floats): ditto
8395         (floats): ditto
8396
8397         * FloatList.[Ch] (FloatList): remove commented out float
8398         initialization.
8399         (erase): new function
8400
8401 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8402
8403         * MenuBackend.C (expandToc): fix crash when there is no document
8404         open
8405
8406 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8407
8408         * many files: Add insetwrap.
8409
8410 2002-09-09  John Levon  <levon@movementarian.org>
8411
8412         * text2.C: remove confusing and awkward depth wraparound
8413
8414 2002-09-09  John Levon  <levon@movementarian.org>
8415
8416         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8417
8418         * buffer.h:
8419         * buffer.C: remove getIncludeonlyList()
8420
8421         * paragraph.C:
8422         * lyxfunc.C: remove headers
8423
8424 2002-09-09  Juergen Vigna  <jug@sad.it>
8425
8426         * text.C (getColumnNearX): fix form Michael this is most
8427         probably a cut&paste bug.
8428
8429 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8432
8433         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8434         references, ws changes.
8435
8436         * text2.C (init): update counters after init
8437         (insertParagraph): no need to set counter on idividual paragraphs.
8438         (setCounter): access the counters object in the textclass object
8439         on in the buffer object.
8440         (updateCounters): ditto
8441
8442         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8443         shared_ptr<Counters> to avoid loading counters.h in all
8444         compilation units.
8445         (LyXTextClass): initialize ctrs_
8446         (TextClassTags): add TC_COUNTER, and ...
8447         (Read): use it here.
8448         (CounterTags): new tags
8449         (readCounter): new function
8450         (counters): new funtion
8451         (defaultLayoutName): return a const reference
8452
8453         * counters.C (Counters): remove contructor
8454         (newCounter): remove a couple of unneeded statements.
8455         (newCounter): simplify a bit.
8456         (numberLabel): some small formatting changes.
8457
8458         * buffer.[Ch]: remove all traces of counters, move the Counters
8459         object to the LyXTextClass.
8460
8461 2002-09-06  Alain Castera  <castera@in2p3.fr>
8462
8463         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8464         package to set the horizontal alignment on fixed width columns.
8465
8466         * lyx_sty.C:
8467         * lyx_sty.h: added tabularnewline macro def.
8468
8469         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8470
8471 2002-09-06  John Levon  <levon@movementarian.org>
8472
8473         * LyXAction.C: tooltips for sub/superscript
8474
8475         * MenuBackend.C: a bit more verbose
8476
8477         * lyxfunc.C: tiny clean
8478
8479         * undo_funcs.C: document undo_frozen
8480
8481 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * counters.C (Counters): add missing algorithm counter.
8484
8485         * text2.C (setCounter): lookup the counter with layouts latexname
8486         instead of by section number.
8487         (setCounter): use a hackish way to lookup the correct enum
8488         counter.
8489         a float name->type change
8490         reset enum couners with counter name directly instead of depth value.
8491
8492         * counters.C (Counters): remove the push_backs, change to use the
8493         float type not the float name.
8494         (labelItem): remove unused string, float name->type change
8495
8496         * counters.h: don't include vector, loose the enums and sects vectors
8497
8498 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8499
8500         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8501         (Read): add float->TC_FLOAT to textclassTags
8502         (Read): and handle it in the switch
8503         (readFloat): new function
8504
8505         * FloatList.C (FloatList): comment out the hardcoded float
8506         definitions.
8507
8508         * lyxlayout.h: ws change.
8509
8510 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8511
8512         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8513
8514 2002-09-03  Angus Leeming  <leeming@lyx.org>
8515
8516         * BufferView_pimpl.h: qualified name is not allowed in member
8517         declaration: WorkArea & Pimpl::workarea() const;
8518
8519         * factory.C: added using std::endl directive.
8520
8521         * text3.C: added using std::find and std::vector directives.
8522
8523 2002-08-29  André Pönitz <poenitz@gmx.net>
8524
8525         * lyxtext.h:
8526         * text2.C: remove unused member number_of_rows
8527
8528         * Makefile.am:
8529         * BufferView2.C: remove file, move contents to...
8530         * BufferView.C: ... here
8531
8532         * BufferView_pimpl.C:
8533         * factory.C: move more inset creation to factory
8534
8535         * vspace.C: avoid direct usage of LyXText, ws changes
8536
8537         * BufferView.[Ch]:
8538                 don't provide direct access to WorkArea, use two simple
8539                 acessors haveSelction() and workHeight() instead
8540
8541
8542 2002-08-29  John Levon  <levon@movementarian.org>
8543
8544         * BufferView_pimpl.C (dispatch): do not continue when
8545           no buffer
8546
8547 2002-08-28  André Pönitz <poenitz@gmx.net>
8548
8549         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8550
8551         * BufferView.h:
8552         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8553
8554 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8555
8556         * buffer.C: increment LYX_FORMAT to 221
8557
8558         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8559         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8560
8561         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8562
8563         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8564
8565 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * factory.C (createInset): use LyXTextClass::floats
8568
8569         * MenuBackend.C (expandFloatListInsert):
8570         (expandFloatInsert):
8571         (expandToc):
8572
8573         * text2.C (setCounter):
8574
8575         * LaTeXFeatures.C (useFloat):
8576         (getFloatDefinitions):
8577
8578         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8579
8580         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8581         floatlist_, with accessor floats().
8582
8583         * FloatList.h: remove global FloatList
8584
8585 2002-08-26  André Pönitz <poenitz@gmx.net>
8586
8587         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8588
8589         * BufferView.h:
8590         * BufferView2.C:
8591         * BufferView_pimpl.C:
8592         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8593
8594 2002-08-25  John Levon  <levon@movementarian.org>
8595
8596         * LyXAction.C: fix margin note description
8597
8598 2002-08-24  John Levon  <levon@movementarian.org>
8599
8600         * buffer.C:
8601         * bufferlist.C:
8602         * bufferview_funcs.C:
8603         * lyxfont.C:
8604         * undo_funcs.C: cleanups
8605
8606         * lyxfunc.C: disable CUT/COPY when no selection
8607
8608 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8609
8610         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8611         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8612
8613         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8614         Add backward compatibility to "mono", "gray" and "no".
8615
8616 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8617
8618         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8619         (and file_format >= 200).
8620
8621 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8622
8623         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8624
8625 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8626
8627         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8628
8629 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8630
8631         * BufferView_pimpl.C:
8632         * LyXAction.C:
8633         * buffer.C:
8634         * commandtags.h:
8635         * lyxfunc.C:
8636         * paragraph.[Ch]:
8637         * text2.C:
8638         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8639         inset and code to make it  work with the paragraph code. The inset
8640         can be anywhere in the paragraph, but will only do the expected
8641         thing in LaTeX if the layout file contains the parameter line
8642                         OptionalArgs    1
8643         (or more generally, a nonzero value) for that layout.
8644
8645 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * paragraph.h: remove the declaration of undefined counters class
8648         function.
8649
8650 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8651
8652         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8653         Dr. Richard Hawkins.
8654
8655 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8656
8657         * paragraph_funcs.h: remove some unneeded includes
8658
8659         * text.C (backspace): pasteParagraph now in global scipe
8660
8661         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8662         (pasteSelection): ditto
8663
8664         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8665         * paragraph_funcs.C (pasteParagraph): ... here
8666
8667 2002-08-20  André Pönitz <poenitz@gmx.net>
8668
8669         * commandtags.h: new LFUNs for swapping/copying table row/colums
8670
8671         * LyXAction.C:
8672         * lyxfunc.C: support for new lfuns
8673
8674 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * tabular.C:
8677         * buffer.[Ch]: remove NO_COMPABILITY stuff
8678
8679 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * boost.C (throw_exception): new file, with helper function for
8682         boost compiled without exceptions.
8683
8684         * paragraph.h:
8685         * lyxlength.C:
8686         * buffer.C:
8687         * ParameterStruct.h:
8688         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8689
8690         * bufferlist.C (emergencyWriteAll): use boost bind
8691
8692         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8693
8694         * text.C: include paragraph_funcs.h
8695         (breakParagraph): breakParagraph is now in global scope
8696
8697         * paragraph_funcs.[Ch]: new files
8698
8699         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8700         global scope
8701
8702         * buffer.C: include paragraph_funcs.h
8703         (insertStringAsLines): breakParagraph is now in global scope
8704
8705         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8706         paragraph_funcs.C
8707
8708         * CutAndPaste.C: include paragraph_funcs.h
8709         (cutSelection): breakParagraphConservative is now in global scope
8710         (pasteSelection): ditto
8711
8712         * buffer.h: declare oprator== and operator!= for
8713         Buffer::inset_iterator
8714
8715         * bufferlist.C (emergencyWrite): don't use fmt(...)
8716
8717         * text3.C: add using std::endl
8718
8719         * BufferView.C (moveCursorUpdate): remove default arg
8720
8721 2002-08-20  André Pönitz <poenitz@gmx.net>
8722
8723         * buffer.[Ch]: move inline functions to .C
8724
8725         * BufferView2.C:
8726         * BufferView_pimpl.C:
8727         * text.C:
8728         * buffer.[Ch]: use improved inset_iterator
8729
8730         * buffer.C:
8731         * paragraph.[Ch]: write one paragraph at a time
8732
8733 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8734
8735         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8736         style if style is not specified.
8737
8738 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * text2.C (setCounter): when searching for right label for a
8741         caption, make sure to recurse to parent insets (so that a caption
8742         in a minipage in a figure float works) (bug #568)
8743
8744 2002-08-20  André Pönitz <poenitz@gmx.net>
8745
8746         * text3.C: new file for LyXText::dispatch() and helpers
8747
8748         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8749
8750         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8751
8752 2002-08-19  André Pönitz <poenitz@gmx.net>
8753
8754         * lyxtext.h:
8755         * text.C: new LyXText::dispatch()
8756
8757         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8758
8759 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8760
8761         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8762
8763         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8764         Hebrew text.
8765
8766 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * Makefile.am: use $(variables) instead of @substitutions@
8769
8770 2002-08-15  André Pönitz <poenitz@gmx.net>
8771
8772         * lyxfunc.C:
8773         * BufferView_pimpl.C: streamlining mathed <-> outer world
8774         interaction
8775
8776         * commandtags.h:
8777         * LyXAction.C: remove unused LFUN_MATH
8778
8779 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8782
8783 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * paragraph.C (Paragraph): reformat a bit
8786         (cutIntoMinibuffer): use builtin InsetList function instad of
8787         doing it manually.
8788         (getInset): ditto
8789
8790         * buffer.C: include boost/bind.hpp, add using std::for_each
8791         (writeFileAscii): use ParagraphList iterators
8792         (validate): use for_each for validate traversal of paragraphs
8793         (getBibkeyList): use ParagraphList iterators
8794         (resizeInsets): use for_each to resizeInsetsLyXText for all
8795         paragraphs.
8796         (getParFromID): use ParagraphList iterators
8797
8798         * BufferView2.C (lockInset): use paragraph list and iterators
8799
8800 2002-08-14  John Levon  <levon@movementarian.org>
8801
8802         * lyxserver.C: remove spurious xforms include
8803
8804 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8805
8806         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8807
8808 2002-08-13  André Pönitz <poenitz@gmx.net>
8809
8810         * LyXAction.[Ch]:
8811         * lyxfunc.C: further cleaning
8812
8813 2002-08-13  André Pönitz <poenitz@gmx.net>
8814
8815         * funcrequest.h: new constructor
8816
8817         * funcrequest.C: move stuff here from .h
8818
8819         * Makefile.am:
8820         * BufferView_pimpl.C:
8821         * LyXAction.C:
8822         * toc.C:
8823         * lyxfunc.C: subsequent changes
8824
8825         * lyxfunc.h: new view() member function
8826
8827         * lyxfunc.C: subsequent changes
8828
8829 2002-08-13  Angus Leeming  <leeming@lyx.org>
8830
8831         * BufferView2.C:
8832         * BufferView_pimpl.C:
8833         * buffer.C:
8834         * converter.C:
8835         * importer.C:
8836         * lyxfunc.C:
8837         * lyxvc.C:
8838         * toc.C:
8839         * vc-backend.C:
8840         changes due to the changed LyXView interface that now returns references
8841         to member variables not pointers.
8842
8843 2002-08-13  Angus Leeming  <leeming@lyx.org>
8844
8845         * WordLangTuple (word, lang_code): return references to strings,
8846         not strings.
8847
8848         * BufferView.h:
8849         * SpellBase.h:
8850         * lyxtext.h: forward-declare WordLangTuple.
8851
8852         * BufferView2.C:
8853         * ispell.C:
8854         * pspell.C:
8855         * text.C: #include "WordLangTuple.h".
8856
8857         * lyxtext.h:
8858         * text.C: (selectNextWordToSpellcheck): constify return type.
8859
8860 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8861
8862         * buffer.C:
8863         * buffer.h:
8864         * lyxtext.h:
8865         * paragraph.C:
8866         * paragraph_pimpl.h:
8867         * text.C:
8868         * text2.C:
8869         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8870         suggested by Angus.
8871         Made updateCounter always count from start of buffer, and removed
8872         second argument (par).
8873         Reverted floats number display to '#'. Perhaps I'll try again when the
8874         code base is sanitized a bit.
8875
8876 2002-08-12  Angus Leeming  <leeming@lyx.org>
8877
8878         * buffer.[Ch] (getLabelList): constify.
8879
8880 2002-08-07  André Pönitz <poenitz@gmx.net>
8881
8882         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8883
8884         * funcrequest.h: extension to keep mouse (x,y) position
8885
8886 2002-08-12  Juergen Vigna  <jug@sad.it>
8887
8888         * BufferView2.C (insertErrors): forbid undo when inserting error
8889         insets.
8890
8891         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8892
8893 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8894
8895         * ParagraphList.[Ch]: new files
8896
8897         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8898
8899         * BufferView2.C (lockInset): ParagraphList changes
8900         * toc.C: ditto
8901         * text2.C: ditto
8902         * bufferlist.C: ditto
8903         * buffer.h: ditto
8904         * buffer.C: ditto
8905
8906 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8907
8908         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8909         unused class variable counter_,
8910
8911         * paragraph.[Ch] (getFirstCounter): delete unused function
8912
8913         * counters.C: include LAssert.h
8914         (reset): add a new function with no arg, change other version to
8915         not have def. arg and to not allow empty arg.
8916
8917         * text2.C (setCounter): remove empty arg from call to Counters::reset
8918
8919 2002-08-11  John Levon  <levon@movementarian.org>
8920
8921         * Makefile.am: add WordLangTuple.h
8922
8923 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8926         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8927
8928         * insets/insettext.C: InsetList changes
8929
8930         * graphics/GraphicsSupport.C (operator()): InsetList changes
8931
8932         * toc.C (getTocList): InsetList changes
8933
8934         * paragraph_pimpl.[Ch]: InsetList changes
8935
8936         * paragraph.[Ch]: InsetList changes
8937
8938         * buffer.C (inset_iterator): InsetList changes
8939         (setParagraph): ditto
8940         * buffer.h (inset_iterator): ditto
8941         * iterators.C (operator++): ditto
8942         * iterators.h: ditto
8943
8944         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8945
8946         * InsetList.[Ch]: new files, most InsetList handling moved out of
8947         paragraph.C.
8948
8949         * BufferView2.C (removeAutoInsets): InsetList changes
8950         (lockInset): ditto
8951         (ChangeInsets): ditto
8952
8953 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8954
8955         * paragraph_pimpl.h (empty): new function
8956
8957         * paragraph.[Ch] (empty): new function
8958
8959         * other files: use the new Paragraph::empty function
8960
8961 2002-08-09  John Levon  <levon@movementarian.org>
8962
8963         * lyxtext.h: remove unused refresh_height
8964
8965 2002-08-09  John Levon  <levon@movementarian.org>
8966
8967         * Makefile.am:
8968         * sgml.h:
8969         * sgml.C:
8970         * buffer.C:
8971         * paragraph.h:
8972         * paragraph.C: move sgml char escaping out of paragraph
8973
8974         * paragraph.h:
8975         * paragraph.C: remove id setter
8976
8977         * buffer.C:
8978         * paragraph.C:
8979         * paragraph_pimpl.C: remove dead tex_code_break_column
8980
8981         * bufferview_funcs.C: small cleanup
8982
8983         * lyxfunc.C: remove dead proto
8984
8985         * lyxtext.h: make some stuff private. Remove some dead stuff.
8986
8987         * lyxgluelength.C: make as[LyX]String() readable
8988
8989 2002-08-08  John Levon  <levon@movementarian.org>
8990
8991         * LyXAction.h:
8992         * LyXAction.C:
8993         * MenuBackend.C:
8994         * ToolbarDefaults.C:
8995         * lyxfunc.C:
8996         * lyxrc.C:
8997         * toc.C: lyxaction cleanup
8998
8999 2002-08-08  John Levon  <levon@movementarian.org>
9000
9001         * BufferView2.C: small cleanup
9002
9003         * lyxfind.h:
9004         * lyxfind.C: move unnecessary header into the .C
9005
9006 2002-08-08  John Levon  <levon@movementarian.org>
9007
9008         * funcrequest.h: just tedious nonsense
9009
9010         * lyx_main.h:
9011         * lyx_main.C: cleanups
9012
9013         * buffer.C:
9014         * vspace.C: remove dead header lyx_main.h
9015
9016 2002-08-07  Angus Leeming  <leeming@lyx.org>
9017
9018         * Paragraph.[Ch]:
9019         * paragraph_pimpl.h:
9020         Forward declare class Counters in paragraph.h by moving the ctrs member
9021         variable into Paragraph::Pimpl.
9022         (counters): new method, returning a reference to pimpl_->ctrs.
9023
9024         * text2.C: ensuing changes.
9025
9026 2002-08-07  John Levon  <levon@movementarian.org>
9027
9028         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9029
9030         * BufferView_pimpl.C: announce X selection on double/triple
9031           click
9032
9033         * lyx_main.C: use correct bool in batch dispatch
9034
9035         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9036
9037 2002-08-07  André Pönitz <poenitz@gmx.net>
9038
9039         * funcrequest.h: new class to wrap a kb_action and its argument
9040
9041         * BufferView.[Ch]:
9042         * BufferView_pimpl[Ch]:
9043         * LaTeX.C:
9044         * LyXAction.[Ch]:
9045         * lyxfunc.[Ch]:
9046         * lyxrc.C: subsequent changes
9047
9048
9049 2002-08-07  John Levon  <levon@movementarian.org>
9050
9051         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9052           document options change.
9053
9054 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9055
9056         * counters.[Ch]
9057         * text2.C
9058         * paragraph.[Ch]
9059         * makefile.am: move counters functionality over from
9060         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9061
9062 2002-08-06  John Levon  <levon@movementarian.org>
9063
9064         * WordLangTuple.h: new file for word + language code tuple
9065
9066         * SpellBase.h:
9067         * pspell.h:
9068         * pspell.C:
9069         * ispell.h:
9070         * ispell.C:
9071         * lyxtext.h:
9072         * text.C:
9073         * text2.C:
9074         * BufferView.h:
9075         * BufferView2.C: use WordLangTuple
9076
9077         * layout.h:
9078         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9079
9080 2002-08-06  John Levon  <levon@movementarian.org>
9081
9082         * lyx_main.C: fix cmdline batch handling
9083
9084 2002-08-06  André Pönitz <poenitz@gmx.net>
9085
9086         * lyxrc.C: set default for show_banner to true
9087
9088 2002-08-06  John Levon  <levon@movementarian.org>
9089
9090         * pspell.C: fix a crash, and allow new aspell to work
9091
9092 2002-08-06  John Levon  <levon@movementarian.org>
9093
9094         * lyxfunc.C:
9095         * kbmap.C: small cleanup
9096
9097         * vspace.h:
9098         * vspace.C: add const
9099
9100 2002-08-05  John Levon  <levon@movementarian.org>
9101
9102         * LyXAction.C: back to tabular-insert
9103
9104 2002-08-04  John Levon  <levon@movementarian.org>
9105
9106         * BufferView.h:
9107         * BufferView.C: cosmetic change
9108
9109         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9110
9111         * bufferlist.C:
9112         * buffer.h:
9113         * buffer.C:
9114         * lyxcb.h:
9115         * lyxcb.C:
9116         * lyxserver.C:
9117         * lyxvc.C:
9118         * vc-backend.C:
9119         * BufferView2.C: purge all "Lyx" not "LyX" strings
9120
9121         * lyxcursor.h:
9122         * lyxcursor.C: attempt to add some documentation
9123
9124         * lyxfunc.C:
9125         * commandtags.h:
9126         * LyXAction.C:
9127         * ToolbarDefaults.C:
9128         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9129           merge with LFUN_TABULAR_INSERT
9130
9131         * Makefile.am:
9132         * SpellBase.h:
9133         * ispell.h:
9134         * ispell.C:
9135         * pspell.h:
9136         * pspell.C: split up i/pspell implementations into separate
9137           files, many cleanups
9138
9139         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9140
9141         * text2.C: some cleanup
9142
9143         * lyxfunc.C: don't check for isp_command == "none" any more, it
9144           didn't make any sense
9145
9146 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9147
9148         * counters.[Ch]
9149         * text2.C
9150         * paragraph.[Ch]
9151         * makefile.am: move counters functionality over
9152         from text2.C/paragraph.[Ch] to counters.[Ch], and
9153         make proper C++.
9154 2002-08-02  John Levon  <levon@movementarian.org>
9155
9156         * buffer.C: s/lyxconvert/lyx2lyx/
9157
9158 2002-08-02  Angus Leeming  <leeming@lyx.org>
9159
9160         * lyxlex.C: revert John's change as it breaks reading of the user
9161         preamble.
9162
9163 2002-08-02  Angus Leeming  <leeming@lyx.org>
9164
9165         * importer.C (Import):
9166         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9167         changes due to LyXView::view() now returning a boost::shared_ptr.
9168
9169 2002-08-02  John Levon  <levon@movementarian.org>
9170
9171         * lyxlex.C: small cleanup
9172
9173 2002-08-02  John Levon  <levon@movementarian.org>
9174
9175         * text2.C (status): small cleanup, no logic change
9176
9177 2002-08-01  John Levon  <levon@movementarian.org>
9178
9179         * buffer.h:
9180         * buffer.C (writeFile): don't output alerts, caller
9181           handles this
9182
9183         * bufferlist.C:
9184         * lyx_cb.C: from above
9185
9186         * lyxfunc.C: allow to open non-existent files
9187
9188 2002-07-31  John Levon  <levon@movementarian.org>
9189
9190         * lyxserver.C: don't let incidental errors get
9191           in the way (errno)
9192
9193 2002-07-30  John Levon  <levon@movementarian.org>
9194
9195         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9196
9197 2002-07-30  John Levon  <levon@movementarian.org>
9198
9199         * lyxserver.h:
9200         * lyxserver.C: remove I/O callback too
9201
9202 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9205         log.
9206
9207 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * many files: strip,frontStrip -> trim,ltrim,rtrim
9210
9211 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * PrinterParams.h: remove extern containsOnly, and include
9214         support/lstrings.h instead.
9215
9216         * LaTeX.C (scanAuxFile): modify because of strip changes
9217         (deplog): ditto
9218         * buffer.C (makeLaTeXFile): ditto
9219         * bufferparams.C (writeFile): ditt
9220         * lyxfont.C (stateText): ditto
9221         * lyxserver.C (read_ready): ditto
9222         * vc-backend.C (scanMaster): ditto
9223
9224         * BufferView_pimpl.h: ws changes
9225
9226         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9227
9228 2002-07-26  André Pönitz <poenitz@gmx.net>
9229
9230         * kb_sequence.C: remove unnedred usings
9231
9232 2002-07-26  Juergen Vigna  <jug@sad.it>
9233
9234         * lyxfind.C (LyXReplace): we have to check better if the returned
9235         text is not of theLockingInset()->getLockingInset().
9236
9237 2002-07-25  Juergen Vigna  <jug@sad.it>
9238
9239         * lyxfind.C (LyXReplace): don't replace if we don't get the
9240         right LyXText.
9241
9242         * undo_funcs.C (createUndo): remove debugging code.
9243
9244 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9245
9246         * buffer.C (parseSingleLyXformat2Token): Use default placement
9247         when reading old floats.
9248
9249         * FloatList.C (FloatList): Change the default placement of figure
9250         and tables to "tbp".
9251
9252 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * MenuBackend.C: using std::max
9255
9256 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * MenuBackend.C (expandToc):
9259         (expandToc2): code moved from xforms menu frontend. It is now
9260         generic and TOCs are transparent to menu frontends.
9261
9262 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * toc.C (getTocList): protect against buf=0
9265
9266         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9267         Menu as first parameter. Now, this calls itself recursively to
9268         expand a whole tree (this will be useful for TOC handling)
9269         (expandFloatInsert): remove 'wide' version of floats
9270
9271         * MenuBackend.h (submenuname): returns the name of the submenu.
9272         (submenu): returns the submenu itself, provided it has been
9273         created by MenuBackend::expand
9274
9275 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9278         insets which have noFontChange == true. (bug #172)
9279
9280 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * BufferView_pimpl.C: add connection objects and use them...
9283         (Pimpl): here.
9284
9285 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * MenuBackend.C (expandLastfiles):
9288         (expandDocuments):
9289         (expandFormats):
9290         (expandFloatListInsert):
9291         (expandFloatInsert):
9292         (expand): split expand in parts
9293
9294 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9295
9296         * lyx_gui.C: use lyx_gui::exit()
9297
9298 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * LyXAction.C: show the failing pseudo action
9301
9302 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9303
9304         * buffer.C (readFile): Run the lyxconvert script in order to read
9305         old files.
9306
9307 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * LyXAction.C:
9310         * commandtags.h:
9311         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9312
9313 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * LyXAction.C:
9316         * commandtags.h:
9317         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9318
9319 2002-07-22  Herbert Voss  <voss@lyx.org>
9320
9321         * lengthcommon.C:
9322         * lyxlength.[Ch]: add support for the vertical lengths
9323
9324 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * toc.[Ch]: std:: fixes
9327
9328 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9329
9330         * lyxrc.C: do not include lyx_main.h
9331
9332         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9333         for layouts
9334
9335         * lyxrc.C:
9336         * encoding.C:
9337         * bufferlist.C:
9338         * BufferView2.C: include "lyxlex.h"
9339
9340         * tabular.h:
9341         * bufferparams.h: do not #include "lyxlex.h"
9342
9343         * lyxtextclasslist.C (Add): remove method
9344         (classlist): renamed to classlist_
9345
9346         * paragraph_pimpl.C:
9347         * paragraph.C:
9348         * text2.C:
9349         * CutAndPaste.C:
9350         * bufferview_funcs.C:
9351         * bufferlist.C:
9352         * text.C:
9353         * LaTeXFeatures.C:
9354         * buffer.C:
9355         * toc.C (getTocList): use BufferParams::getLyXTextClass
9356
9357         * toc.C (getTocList): use InsetFloat::addToToc
9358
9359         * toc.[Ch]: new files, containing helper functions to handle table
9360         of contents
9361
9362         * lyxfunc.C (dispatch): no need to remove spaces around command
9363         given as a string
9364         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9365         first command of the sequence; it is not very clever, but I do not
9366         have a better idea, actually
9367
9368         * LyXAction.C (LookupFunc): make sure to remove space at the
9369         beginning and end of the command
9370
9371 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9372
9373         * MenuBackend.C (getMenubar): new method: return the menubar of
9374         this menu set
9375         (read): treat differently reading of menu and menubar (in
9376         particular, the menubar has no name now)
9377         (Menu::menubar): remove
9378
9379         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9380         saving is finished
9381
9382 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9383
9384         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9385         a bibitem inset in a RTL paragraph.
9386
9387 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * paragraph_pimpl.C: constify
9390
9391         * BufferView_pimpl.C:
9392         * LaTeX.C:
9393         * lyxfunc.C: fix dispatch in a nicer way
9394
9395 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9396
9397         * lyxfunc.C (dispatch):
9398         * BufferView_pimpl.C:
9399         * BufferView_pimpl.h:
9400         * BufferView.C:
9401         * BufferView.h: rename Dispatch() to dispatch()
9402
9403         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9404
9405         * lyxlayout.C (Read): honor DependsOn tag
9406
9407         * lyxlayout.[Ch] (depends_on): new method
9408
9409         * version.C.in: update lyx_docversion
9410
9411         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9412
9413         * paragraph.C (validate): remove from here...
9414         * paragraph_pimpl.C (validate): ... and move here
9415         (isTextAt): make it const
9416
9417         * buffer.C (getLists): ws cleanup
9418
9419 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9420
9421         * language.C (read): Use iso8859-1 encoding in latex_lang
9422         (this prevents LyX from crashing when using iso10646-1 encoding).
9423
9424 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * text2.C (toggleInset): if cursor is inside an inset, close the
9427         inset and leave cursor _after_ it
9428
9429 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * lyxfunc.C: move minibuffer completion handling out of here
9432
9433 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9434
9435         * BufferView_pimpl.C:
9436         * LaTeX.C: fix dispatch calls
9437
9438 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9439
9440         * text.C (drawChars): Fix Arabic text rendering.
9441
9442 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9443
9444         * LyXAction.C:
9445         * commandtags.h:
9446         * lyxfunc.C: remove message-push/pop
9447
9448         * lyxserver.C:
9449         * lyxfunc.h:
9450         * lyxfunc.C: rationalise some code by removing verboseDispatch
9451           in favour of a bool argument to dispatch()
9452
9453 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * lyx_main.C (init): make sure to read symlinks as absolute paths
9456
9457 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * lyxfunc.h:
9460         * lyxfunc.C: no need for commandshortcut to be a member
9461
9462 2002-07-15  André Pönitz <poenitz@gmx.net>
9463
9464         * converter.C: add support for $$s (scripts from lib/scripts dir)
9465         * lyx_main.C: white space
9466
9467 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * bufferlist.C:
9470         * lyxrc.h:
9471         * lyxrc.C: remove second exit confirmation
9472
9473 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9474
9475         * BufferView.h:
9476         * BufferView.C:
9477         * BufferView2.C:
9478         * BufferView_pimpl.h:
9479         * BufferView_pimpl.C:
9480         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9481
9482 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * MenuBackend.C (expand): add numeric shortcuts to document menu
9485
9486         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9487
9488 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * lyxfont.C (setLyXFamily):
9491         (setLyXSeries):
9492         (setLyXShape):
9493         (setLyXSize):
9494         (setLyXMisc):
9495         (lyxRead):
9496         * debug.C (value):
9497         * buffer.C (asciiParagraph): use ascii_lowercase
9498
9499 2002-07-15  Mike Fabian  <mfabian@suse.de>
9500
9501         * lyxlex_pimpl.C (search_kw):
9502         * lyxlex.C (getLongString):
9503         * converter.h (operator<):
9504         * converter.C (operator<):
9505         * buffer.C (parseSingleLyXformat2Token):
9506         (asciiParagraph):
9507         * ToolbarDefaults.C (read):
9508         * MenuBackend.C (checkShortcuts):
9509         (read):
9510         * LColor.C (getFromGUIName):
9511         (getFromLyXName): use the compare_ascii_no_case instead of
9512         compare_no_case, because in turkish, 'i' is not the lowercase
9513         version of 'I', and thus turkish locale breaks parsing of tags.
9514
9515 2002-07-16  Angus Leeming  <leeming@lyx.org>
9516
9517         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9518         now takes a Buffer const & argument.
9519
9520 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9521
9522         * BufferView.C (resize): check there's a buffer to resize
9523
9524 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * lyxfunc.C: remove dead code
9527
9528         * lyxserver.h:
9529         * lyxserver.C: use lyx_guii::set_read_callback
9530
9531 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9532
9533         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9534         an inset in a RTL paragraph.
9535
9536 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * lyxfunc.C: repaint after a font size update
9539
9540 2002-07-15  André Pönitz <poenitz@gmx.net>
9541
9542         * lyxlength.C: inBP should be able to return negative values
9543
9544 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * lyxfunc.C: use lyx_gui::update_fonts()
9547
9548 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * lyxfunc.C: use lyx_gui::update_color()
9551
9552 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9553
9554         * bufferlist.C:
9555         * lyxfunc.h:
9556         * lyxfunc.C:
9557         * lyxrc.h:
9558         * lyxrc.C: remove file->new asks for name option, and let
9559           buffer-new take an argument
9560
9561 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * BufferView_pimpl.C: remove unneeded extra repaint()
9564
9565 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9566
9567         * LyXAction.C: allow command-sequence with NoBuffer
9568
9569         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9570
9571 2002-07-10  Angus Leeming  <leeming@lyx.org>
9572
9573         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9574
9575 2002-07-09  Angus Leeming  <leeming@lyx.org>
9576
9577         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9578
9579 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * lengthcommon.h: whitespace
9582
9583         * lyxfunc.C: update scrollbar after goto paragraph
9584
9585         * lyxtext.h: factor out page break drawing, and fix it so
9586           page break/added space paints as selected nicely
9587
9588 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9589
9590         * BufferView_pimpl.C: add FIXMEs, clean up a little
9591
9592 2002-07-09  André Pönitz <poenitz@gmx.net>
9593
9594         * lyxfont.[Ch]: support for wasy symbols
9595
9596 2002-07-08  André Pönitz <poenitz@gmx.net>
9597
9598         * BufferView_pimpl.C: apply John's patch for #93.
9599
9600 2002-07-05  Angus Leeming  <leeming@lyx.org>
9601
9602         * BufferView_pimpl.C (buffer): generate previews if desired.
9603
9604         * LColor.h: add "preview" to the color enum.
9605
9606         * LColor.C (LColor): add a corresponding entry to the items array.
9607
9608         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9609         with this buffer.
9610
9611 2002-07-05  Angus Leeming  <leeming@lyx.org>
9612
9613         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9614         The body of the code is now in the method that is passed an ostream &
9615         rather than a file name.
9616         Pass an additional only_preamble parameter, useful for the forthcoming
9617         preview stuff.
9618
9619 2002-07-03  André Pönitz <poenitz@gmx.net>
9620
9621         * lyxfunc.C: simplify getStatus() a bit for math stuff
9622
9623 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9626
9627 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628
9629         * text.C (changeRegionCase): do not change case of all the
9630         document when region ends at paragraph end (bug #461)
9631
9632 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * paragraph.C (startTeXParParams):
9635         (endTeXParParams): add \protect when necessary
9636
9637 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9638
9639         * BufferView_pimpl.C (workAreaExpose): remove warning
9640
9641 2002-06-27  Angus Leeming  <leeming@lyx.org>
9642
9643         * Makefile.am: add lyxlayout_ptr_fwd.h.
9644
9645 2002-06-26  André Pönitz <poenitz@gmx.net>
9646
9647         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9648
9649 2002-06-25  Angus Leeming  <leeming@lyx.org>
9650
9651         * lyxfunc.C (dispatch): Comment out the call to
9652         grfx::GCache::changeDisplay. The method no longer exists now that the
9653         pixmap generation part of the graphics loader has been moved into
9654         InsetGraphics.
9655
9656 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9657
9658         * text2.C: layout as layout
9659
9660         * text.C: layout as layout
9661
9662         * tabular.C (OldFormatRead): layout as layout
9663
9664         * paragraph_pimpl.C (TeXDeeper): layout as layout
9665         (realizeFont): layout as layout
9666
9667         * paragraph.C (writeFile): layout as layout
9668         (validate): layout as layout
9669         (getFont): layout as layout
9670         (getLabelFont): layout as layout
9671         (getLayoutFont): layout as layout
9672         (breakParagraph): layout as layout
9673         (stripLeadingSpaces): layout as layout
9674         (getEndLabel): layout as layout
9675         (getMaxDepthAfter): layout as layout
9676         (applyLayout): layout as layout
9677         (TeXOnePar): layout as layout
9678         (simpleTeXOnePar): layout as layout
9679         (TeXEnvironment): layout as layout
9680         (layout): layout as layout
9681         (layout): layout as layout
9682
9683         * lyxtextclass.C (compare_name): new functor to work with
9684         shared_ptr, layout as layout
9685         (Read): layout as layout
9686         (hasLayout): layout as layout
9687         (operator): layout as layout
9688         (delete_layout): layout as layout
9689         (defaultLayout): layout as layout
9690
9691         * lyxlayout_ptr_fwd.h: new file
9692
9693         * lyxlayout.C (Read): layout as layout
9694
9695         * lyx_cb.C (MenuInsertLabel): layout as layout
9696
9697         * bufferlist.C (newFile): layout as layout
9698
9699         * buffer.C (readLyXformat2): layout as layout
9700         (parseSingleLyXformat2Token): layout as layout
9701         (insertStringAsLines): layout as layout
9702         (asciiParagraph): layout as layout
9703         (latexParagraphs): layout as layout
9704         (makeLinuxDocFile): layout as layout
9705         (simpleLinuxDocOnePar): layout as layout
9706         (makeDocBookFile): layout as layout
9707         (simpleDocBookOnePar): layout as layout
9708         (getLists): layout as layout
9709
9710         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9711
9712         * CutAndPaste.C (cutSelection): layout as layout
9713         (pasteSelection): layout as layout
9714         (SwitchLayoutsBetweenClasses): layout as layout
9715
9716         * BufferView_pimpl.C (Dispatch): layout as layout
9717         (smartQuote): layout as layout
9718
9719         * BufferView2.C (unlockInset): layout as layout
9720
9721 2002-06-24  André Pönitz <poenitz@gmx.net>
9722
9723         * lyxfunc.C: fix #487
9724
9725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * lyxrc.h:
9728         * lyxrc.C:
9729         * lyxfunc.C: remove display_shortcuts, show_banner
9730
9731 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * Buffer_pimpl.C: oops, update on resize
9734
9735 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * buffer.C:
9738         * converter.C:
9739         * exporter.C:
9740         * lyxfunc.C:
9741         * BufferView.h:
9742         * BufferView.C: use repaint()
9743
9744         * BufferView_pimpl.h:
9745         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9746           as it's a clearer description. Remove superfluous
9747           redraws.
9748
9749 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * text.C: fix bug 488. Not ideal, but getting
9752           getWord() to work properly for the insets that
9753           matter is more difficult ...
9754
9755 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * BufferView_pimpl.C:
9758         * LyXAction.C:
9759         * commandtags.h:
9760         * lyxfunc.C: remove the six million index lyxfuncs to just
9761           one, and DTRT (bug 458)
9762
9763 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * BufferView.h:
9766         * BufferView.C:
9767         * BufferView_pimpl.h:
9768         * BufferView_pimpl.C: clean up resize() stuff,
9769           and unnecessary updateScreen()s
9770
9771 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView.h:
9774         * BufferView.C:
9775         * BufferView_pimpl.h:
9776         * BufferView_pimpl.C:
9777         * lyxfind.h:
9778         * lyxfind.C:
9779         * minibuffer.C: remove focus management of workarea,
9780           not needed. Use screen's greyOut()
9781
9782 2002-06-17  Herbert Voss  <voss@lyx.org>
9783
9784         * converter.C: (convert) do not post a message, when converting
9785         fails, let the calling function decide what to do in this case
9786
9787 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * lyxfunc.C: tidy up a little
9790
9791 2002-06-16    <alstrup@diku.dk>
9792
9793         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9794         Got rid of FORMS_H_LOCATION include. Now we are
9795         GUII.
9796
9797 2002-06-15  LyX Development team  <lyx@rilke>
9798
9799         * buffer.[Ch] (sgmlOpenTag):
9800         (sgmlCloseTag): Added support for avoiding pernicious mixed
9801         content. Return number of lines written.
9802
9803         (makeLinuxDocFile):
9804         (makeDocBookFile): Fixed calls to sgml*Tag.
9805         Simple white space clean.
9806
9807         (simpleDocBookOnePar): Simple white space clean.
9808
9809         * tabular.[Ch] (docBook): Renamed to docbook and got another
9810         argument to related with the pernicious mixed content.
9811
9812         (docbookRow): Fixed calls for docbook inset method.
9813
9814 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9815
9816         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9817         so it's X11 independent.
9818
9819         * kb*.[Ch]: ditto.
9820
9821         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9822
9823 2002-06-15  Lyx Development team  <lyx@electronia>
9824
9825         * intl.h: Renamed getTrans to getTransManager.
9826
9827 2002-06-14  Angus Leeming  <leeming@lyx.org>
9828
9829         * Makefile.am: nuke forgotten stl_string_fwd.h.
9830
9831 2002-06-12  Angus Leeming  <leeming@lyx.org>
9832
9833         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9834
9835 2002-06-13  Angus Leeming  <leeming@lyx.org>
9836
9837         * LaTeX.C:
9838         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9839
9840 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9841
9842         * kbmap.C (getiso): add support for cyrillic and greek
9843
9844 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9845
9846         * BufferView.h:
9847         * BufferView.C:
9848         * BufferView_pimpl.h:
9849         * BufferView_pimpl.C: move bogus scrolling logic
9850           to xforms
9851
9852 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * lyxfunc.C:
9855         * BufferView_pimpl.C: view->resize() change
9856
9857 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * BufferView_pimpl.C: topCursorVisible
9860           prototype change
9861
9862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * Makefile.am:
9865         * lyx_gui.h:
9866         * lyx_gui.C: move to frontends/
9867
9868         * main.C:
9869         * lyx_main.h:
9870         * lyx_main.C: changes from above
9871
9872 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * intl.C:
9875         * intl.h:
9876         * kbmap.C:
9877         * kbsequence.C:
9878         * lyx_cb.C:
9879         * lyx_main.C: minor tidy
9880
9881 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * BufferView_pimpl.h:
9884         * BufferView_pimpl.C:
9885         * BufferView.h:
9886         * BufferView.C: make painter() const,
9887           remove dead code
9888
9889         * BufferView2.C: use screen() accessor
9890
9891         * lyx_main.h:
9892         * lyx_main.C: some minor cleanup
9893
9894 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView_pimpl.h:
9897         * BufferView_pimpl.C: remove enter/leaveView,
9898           use workHeight()
9899
9900 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * BufferView.h:
9903         * BufferView.C:
9904         * BufferView2.C:
9905         * BufferView_pimpl.h:
9906         * BufferView_pimpl.C: only construct screen once,
9907           rename
9908
9909         * lyxrc.C: remove pointless comment
9910
9911 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * BufferView.h:
9914         * BufferView.C: remove active() and belowMouse()
9915
9916         * BufferView_pimpl.h:
9917         * BufferView_pimpl.C: use workarea() not workarea_,
9918           and make it use a scoped_ptr instead
9919
9920 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * lyx_gui.C: add debug message on BadWindow
9923
9924 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * sp_spell.C: fdopen is not part of the C++ standard.
9927
9928         * paragraph.C (InsetIterator): use >= instead of ==
9929
9930 2002-06-07  Angus Leeming  <leeming@lyx.org>
9931
9932         Fixes needed to compile with Compaq cxx 6.5.
9933         * BufferView_pimpl.C:
9934         * DepTable.C:
9935         * buffer.C:
9936         * converter.C:
9937         * encoding.C:
9938         * lyx_gui.C:
9939         * lyx_main.C:
9940         * lyxtextclasslist.C:
9941         * minibuffer.C:
9942         * sp_spell.C:
9943         * tabular_funcs.C:
9944         * vc-backend.C:
9945         all c-library variables have been moved into namespace std. Wrap
9946         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9947
9948         * lyxlength.C:
9949         * tabular-old.C:
9950         * tabular.C:
9951         Add a using std::abs declaration.
9952
9953         * kbmap.h (modifier_pair):
9954         * paragraph.h (InsetTable, InsetList):
9955         * lyxfont.h (FontBits):
9956         type definition made public.
9957
9958         * bufferlist.C (emergencyWriteAll): the compiler complains that
9959         there is more than one possible lyx::class_fun template to choose from.
9960         I re-named the void specialisation as lyx::void_class_fun.
9961
9962         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9963
9964         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9965         the compiler is is unable to find tostr in write_attribute.
9966
9967 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9968
9969         * buffer.C (sgmlError): hide #warning
9970
9971 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * xtl/*: get rid of xtl, which is not in use anyway
9974
9975         * LyXAction.C (init):
9976         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9977         were unimplemented xtl experimentation
9978
9979 2002-06-04  André Pönitz <poenitz@gmx.net>
9980
9981         * lyxfunc.C: disable array operation on simple formulae
9982
9983 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * converter.C: constify a bit
9986
9987 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * lyx_gui.C: check xforms version correctly
9990
9991 2002-04-30  Herbert Voss  <voss@lyx.org>
9992
9993         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9994         "keep" option
9995
9996 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9999           attempt to register it with a VCS)
10000
10001 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * lyx_main.C (init): honor variables LYX_DIR_13x and
10004         LYX_USERDIR_13x
10005
10006 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10007
10008         * buffer.h:
10009         * buffer.C:
10010         * lyx_main.C: fix a crash on bad command line,
10011           and give a useful exit status on error
10012
10013         * lyxfunc.C (doImport): allow -i lyx to work
10014
10015 2002-03-30  André Pönitz <poenitz@gmx.net>
10016
10017         * lyxfunc.C: mathed font changes
10018
10019 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * LaTeX.C:
10022         * importer.h:
10023         * importer.C:
10024         * lyx_sty.h:
10025         * lyx_sty.C:
10026         * lyxlex.C:
10027         * lyxrow.h:
10028         * lyxtext.h:
10029         * paragraph.h:
10030         * paragraph.C:
10031         * texrow.h:
10032         * texrow.C:
10033         * text.C:
10034         * trans_mgr.h: srcdocs, and some minor cleanups
10035
10036 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10037
10038         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10039         call getFont all the time)
10040
10041 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * switch from SigC signals to boost::signals
10044
10045 2002-05-29  André Pönitz <poenitz@gmx.net>
10046
10047         * paragraph_pimpl.C (getChar): don't call size() too often...
10048
10049 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * paragraph_pimpl.C (insertChar): do not try to update tables when
10052         appending (pos == size())
10053
10054         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10055         in order to reduce drastically the number of comparisons needed to
10056         parse a large document
10057
10058 2002-05-29  André Pönitz <poenitz@gmx.net>
10059
10060         * text.C:
10061         * text2.C:
10062         * lyxtextclass.C:
10063         * sp_pspell.h:
10064         * textclasslist.[Ch]:
10065         * sp_ispell.h: whitespace change
10066
10067 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10070         lyxaction directly now.
10071
10072 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * trans.C:
10075         * lyxfont.C:
10076         * lyxvc.C: remove unused headers
10077
10078 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * Makefile.am:
10081         * buffer.h:
10082         * undostack.h:
10083         * undostack.C:
10084         * undo_funcs.h:
10085         * undo_funcs.C: some cleanups. Use shared_ptr
10086           and a template for the undo stacks.
10087
10088 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * BufferView_pimpl.h:
10091         * BufferView_pimpl.C:
10092         * kbmap.h:
10093         * kbmap.C:
10094         * kbsequence.h:
10095         * kbsequence.C:
10096         * lyxfunc.h:
10097         * lyxfunc.C:
10098         * text2.C: use key_state/mouse_state
10099
10100 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10103         and LSubstring
10104
10105         * chset.C: change include order
10106         (loadFile): use boost regex and get rid of LRegex and LSubstring
10107
10108         * Makefile.am (BOOST_LIBS): new variable
10109         (lyx_LDADD): use it
10110
10111         * LaTeX.C: change include order.
10112         (scanAuxFile): use boost regex and get rid of LRegex and
10113         LSubstring
10114         (deplog): ditto
10115
10116 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * ColorHandler.h:
10119         * ColorHandler.C:
10120         * FontInfo.h:
10121         * FontInfo.C: moved to frontends/xforms/
10122
10123         * FontLoader.h:
10124         * FontLoader.C: moved into frontends for GUIIzation
10125
10126         * Makefile.am:
10127         * lyx_gui.C:
10128         * lyxfont.C:
10129         * lyxfunc.C: changes from above
10130
10131 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * LColor.C: remove spurious X include
10134
10135         * BufferView_pimpl.C:
10136         * Makefile.am:
10137         * font.h:
10138         * font.C:
10139         * text.C:
10140         * text2.C: move font metrics to frontends/
10141
10142 2002-05-24  Juergen Vigna  <jug@sad.it>
10143
10144         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10145         setting the undo_cursor.
10146
10147         * ParagraphParameters.h: include local includes first.
10148
10149 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * BufferView_pimpl.C:
10152         * BufferView_pimpl.h:
10153         * Makefile.am:
10154         * WorkArea.h:
10155         * WorkArea.C:
10156         * screen.C: move WorkArea into frontends/
10157
10158         * lyxscreen.h:
10159         * screen.C:
10160         * text.C:
10161         * BufferView.C:
10162         * BufferView2.C: move LyXScreen into frontends/
10163
10164         * lyxlookup.h:
10165         * lyxlookup.C:
10166         * lyx_gui.C: move lyxlookup into frontends/xforms/
10167
10168 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * BufferView2.C:
10171         * BufferView_pimpl.C:
10172         * FontLoader.C:
10173         * LyXView.h:
10174         * LyXView.C:
10175         * Makefile.am:
10176         * WorkArea.C:
10177         * XFormsView.h:
10178         * XFormsView.C:
10179         * buffer.C:
10180         * bufferlist.C:
10181         * bufferview_funcs.C:
10182         * converter.C:
10183         * importer.C:
10184         * lyx_cb.C:
10185         * lyx_gui.C:
10186         * lyx_main.C:
10187         * lyx_find.C:
10188         * lyxfunc.C:
10189         * lyxvc.C:
10190         * minibuffer.C:
10191         * text.C:
10192         * text2.C:
10193         * trans.C:
10194         * vc-backend.C: move LyX/XFormsView into frontends/
10195
10196 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * Makefile.am:
10199         * PainterBase.C:
10200         * PainterBase.h:
10201         * Painter.C:
10202         * Painter.h:
10203         * WorkArea.C:
10204         * WorkArea.h:
10205         * screen.C:
10206         * tabular.C:
10207         * text.C:
10208         * text2.C: move Painter to frontends/
10209
10210 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10211
10212         * buffer.C: comment out some some code that depend upon lyx_format
10213         < 220
10214
10215         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10216         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10217
10218         * buffer.h (NO_COMPABILITY): turn off compability
10219
10220         * ColorHandler.C: include scoped_array.hpp
10221
10222         * font.C: Use more specific smart_ptr header.
10223         * Painter.C: ditto
10224         * gettext.C: ditto
10225         * ShareContainer.h: ditto
10226         * lyx_main.h: ditto
10227         * kbmap.h: ditto
10228         * FontInfo.h: ditto
10229         * BufferView_pimpl.h: ditto
10230         * ColorHandler.h: ditto
10231
10232         * kbmap.C (defkey): change call to shared_ptr::reset
10233
10234 2002-05-21  Juergen Vigna  <jug@sad.it>
10235
10236         * buffer.C (insertErtContents): fix to insert ert asis if it is
10237         non empty. Skip it completely if it contains only whitespaces.
10238
10239 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10240
10241         * BufferView_pimpl.C:
10242         * BufferView2.C: clear selection on paste (bug 393)
10243
10244 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10245
10246         * DepTable.C: include ctime
10247
10248 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10249
10250         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10251
10252 2002-05-14  Juergen Vigna  <jug@sad.it>
10253
10254         * text.C (breakParagraph): fixed function to honor the keepempty
10255         layout in the right maner and also to permit the right breaking
10256         algorithm on empty or non empyt keepempty paragraphs.
10257
10258         * paragraph.C (breakParagraph): we have to check also if the par
10259         is really empty (!size()) for isempty otherwise we do the wrong
10260         paragraph break.
10261
10262 2002-05-10  Juergen Vigna  <jug@sad.it>
10263
10264         * buffer.[Ch] : The following are only changes to the ert
10265         compatibility read reading old LaTeX layout and font stuff and
10266         convert it to ERTInsets.
10267
10268         * buffer.h: added isErtInset().
10269
10270         * buffer.C (struct ErtComp): add a fromlayout bool to check
10271         if we're inside a LaTeX layout.
10272         (isErtInset): new helper function.
10273         (insertErtContents): look for other ert insets before this one
10274         and insert the contents there, so that we don't have subsequent
10275         ERT insets with nothing between them. This way we create only one
10276         inset with multiple paragraphs. Also check if we don't insert only
10277         spaces ' ' as they are ignored anyway afterwards in the .tex file
10278         so if we have only spaces we will ignore this latex part in the
10279         new file.
10280         (parseSingleLyXformat2Token \\layout): better compatibility when
10281         reading layout-latex stuff.
10282         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10283         language tag.
10284         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10285         stuff after reading the inset only get the information back from
10286         the stack.
10287
10288 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10289
10290         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10291
10292         * LaTeXFeatures.C (getBabelOptions): New method.
10293
10294 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10295
10296         * BufferView_pimpl.C (Dispatch): work around missing argument for
10297         'layout'
10298
10299 2002-05-08  Juergen Vigna  <jug@sad.it>
10300
10301         * text.C (leftMargin): handle paragraph leftindent.
10302
10303         * paragraph.C (writeFile): write the new \\leftindent tag.
10304         (validate): handle leftindent code.
10305         (TeXEnvironment): handle paragraphleftindent code again.
10306
10307         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10308
10309         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10310         for paragrap_extra indent code and new token \\leftindent.
10311         (latexParagraphs): handle the leftindent as environment.
10312
10313         * ParameterStruct.h: added leftindent support.
10314
10315         * ParagraphParameters.C (leftIndent): added support functions for
10316         the paragraph left indent.
10317
10318         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10319         more appropriate.
10320
10321 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10322
10323         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10324         inside insetERT.
10325
10326         * text.C (computeBidiTables): No bidi in insetERT.
10327
10328         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10329         in RTL documents.
10330
10331 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10332
10333         * version.C.in: pre 5
10334
10335 2002-05-02  José Matos  <jamatos@fep.up.pt>
10336         * buffer.C (makeDocBookFile): white space changes, add newline to
10337         command styles.
10338         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10339
10340         * tabular.C (docBook): fix typo.
10341
10342 2002-05-03  Juergen Vigna  <jug@sad.it>
10343
10344         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10345         change in LyXText as we can not be sure it was not freed.
10346         (drawOneRow): remove unused code.
10347
10348         * text.C (drawInset): redo the calculation of the need_break_row as
10349         it could have a row which was already freed.
10350         (draw): look at the return value of drawInset and return false if
10351         it also returned false.
10352         (paintRowText): look at the return value of draw and return false if
10353         it also returned false.
10354
10355         * lyxtext.h: added bool return type to drawInset() and draw() so that
10356         if we have a change in the row so that the rowbreak has to be redone
10357         we abort drawing as it will be called again.
10358
10359 2002-05-02  Juergen Vigna  <jug@sad.it>
10360
10361         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10362         a change in the maintext also if we're inside an inset.
10363         (Dispatch): set the cursor again after a break line and after the
10364         screen has been updated as it could be we're in a different row.
10365
10366         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10367         to set the cursor behind the pargraph with > size().
10368         (setCursor): check also for the same paragraph when checking where
10369         to put the cursor if we have a NFR inset.
10370
10371         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10372         parts of layout read further up as it still was in the wrong
10373         position.
10374
10375 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * screen.C (drawFromTo): change sine fullRebreak always return
10378         true.
10379
10380         * buffer.C (parseSingleLyXformat2Token): reindent some
10381
10382         * BufferView_pimpl.C (update): change since fullRebreak always
10383         return true.
10384         (Dispatch): git rid of the last hardcoded "Standard"s.
10385
10386 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * text2.[Ch] (fullRebreak): make it return void now that we always
10389         returned true.
10390
10391 2002-04-30  Juergen Vigna  <jug@sad.it>
10392
10393         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10394         ert compatibility check for "latex" layout.
10395
10396 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10397
10398         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10399         minipages: use col% instead of p%, and also use the current font.
10400         (makeLaTeXFile): Fix use babel condition.
10401         (parseSingleLyXformat2Token): Correct font when reading old floats.
10402
10403 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10404
10405         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10406         inserting list of floats.
10407
10408 2002-04-25  Herbert Voss  <voss@lyx.org>
10409
10410         * MenuBackend.C (expand): don't add the graphics extensions to the
10411         export menu
10412
10413 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10416         non-existing layout, do not complain if it was the default layout
10417         of the original class (bug #342)
10418
10419 2002-04-24  Juergen Vigna  <jug@sad.it>
10420
10421         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10422         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10423
10424 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10425
10426         * buffer.C (getBibkeyList): If using \bibliography, return the
10427         option field with the reference itself. Enables us to provide natbib
10428         support when using \bibliography.
10429
10430 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10431
10432         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10433
10434         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10435         natbib is provided by the LaTeX class.
10436
10437 2002-04-23  Juergen Vigna  <jug@sad.it>
10438
10439         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10440         Wakeup functions.
10441
10442         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10443
10444 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10447
10448         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10449         ensuremath around textordmasculine, textordfeminine and
10450         textdegree.
10451
10452 2002-04-19  Juergen Vigna  <jug@sad.it>
10453
10454         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10455         reinitializing the buffer otherwise row-dimensions may be wrong.
10456         (update): reset also the selection cursors if they do exits otherwise
10457         their x/y positions may be wrong.
10458
10459         * text2.C (cursorDown): don't enter the inset if we came from a row
10460         above and are one row over the inset.
10461
10462         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10463         really leaving an inset.
10464
10465 2002-04-18  Juergen Vigna  <jug@sad.it>
10466
10467         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10468         of the selected paragraph does not have the selected layout also if
10469         the last one had!
10470
10471         * text2.C (setLayout): fixed bug which did not change last selected
10472         paragraph.
10473
10474         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10475         changed the read and substituted \\end_float with \\end_inset!
10476
10477         * BufferView_pimpl.C (cursorPrevious):
10478         (cursorNext): fixed to make it work with rows heigher than the work
10479         area without moving the cursor only the draw of the row.
10480         (workAreaMotionNotify): fix jumping over high rows.
10481
10482 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10485         Ressler.
10486
10487 2002-04-16  Juergen Vigna  <jug@sad.it>
10488
10489         * text2.C (setCursor): set also the irow().
10490         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10491         (cursorUp):
10492         (cursorDown): support for locking an inset if the x_fix value goes
10493         inside it. That way I can transverse insets too with cursor up/down.
10494
10495         * lyxrow.h: added irow helper function same as other (i) functions.
10496
10497         * BufferView_pimpl.C (cursorPrevious):
10498         (cursorNext): fixed for insets!
10499
10500 2002-04-15  Juergen Vigna  <jug@sad.it>
10501
10502         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10503         position otherwise it is wrong in some cases.
10504
10505         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10506         inside the inset before the call.
10507
10508 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10509
10510         * buffer.[Ch] (getBibkeyList): make it const.
10511
10512 2002-04-12  Juergen Vigna  <jug@sad.it>
10513
10514         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10515
10516         * text2.C (getCursorX): new helper function
10517         (setCursor): compute also ix_
10518         (setCursorFromCoordinates): set also ix.
10519
10520         * lyxcursor.h: added ix_ and helper functions.
10521
10522         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10523
10524         * buffer.C (insertStringAsLines): dont break paragraph if the this
10525         paragraph is inside an inset which does not permit it!
10526
10527         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10528         also with no chars on this paragraph.
10529         (paintRowText): only paint stuff if it's inside the workarea!
10530
10531         * paragraph.C (breakParagraph): honor keepempty flag and break the
10532         paragraph always below not above.
10533
10534         * BufferView2.C (unlockInset): update the paragraph layout on inset
10535         unlock as we changed paragraph in such a case.
10536
10537         * lyxfind.C (LyXFind): clear the former selection if not found!
10538
10539         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10540         again called in insertChar().
10541
10542         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10543         an inset which uses the whole row!
10544         (rightMargin): ditto.
10545         (insertChar): force a rebreak if we inserted an inset!
10546
10547 2002-03-28  Herbert Voss  <voss@lyx.org>
10548
10549         * lyxlength.[Ch]: add inBP() to get the right PS-point
10550         units (BigPoint). With inPixels we have rounding errors
10551
10552 2002-04-11  Juergen Vigna  <jug@sad.it>
10553
10554         * text2.C (setCursorFromCoordinates): set iy to the right value.
10555         (setCursor): add check if row->previous exists!
10556
10557         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10558         an old float_type as this was the case in the old code!
10559
10560         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10561
10562         * BufferView2.C (showLockedInsetCursor): use iy
10563         (fitLockedInsetCursor): ditto
10564
10565         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10566         locked insets as there we have the right value now.
10567
10568         * lyxcursor.C: added iy_ variable and iy functions to set to the
10569         baseline of cursor-y of the locked inset.
10570
10571         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10572         (setCursor): fixed for insets which need a full row.
10573
10574         * text.C (rowLastPrintable): don't ignore the last space when before
10575         an inset which needs a full row.
10576         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10577         as last character of a row when before a inset which needs a full row.
10578
10579 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * version.C.in: update date
10582
10583         * text2.C (fullRebreak): try to always return true and see what
10584         happens...
10585
10586 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * MenuBackend.C (expand): use Floating::listName
10589
10590         * FloatList.C (FloatList): add listName argument to the built-in
10591         floats
10592
10593         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10594         text associated with the float.
10595
10596 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10599
10600 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10601
10602         * ShareContainer.h: add a couple of missing typenames.
10603
10604 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10605
10606         * lyxrc.C (getDescription): use _() correctly rather than N_().
10607
10608 2002-03-28  Herbert Voss  <voss@lyx.org>
10609
10610         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10611         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10612
10613 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10616         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10617
10618 2002-03-29  Juergen Vigna  <jug@sad.it>
10619
10620         * lyxfunc.C (dispatch): add a missing fitCursor call.
10621
10622         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10623         it was scrolled by a cursor move, so return the bool status.
10624
10625         * BufferView.C (fitCursor): return the bool flag also to the outside
10626         world as this is needed.
10627
10628         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10629
10630         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10631         call the edit() as it is not needed (and wrong) IMO.
10632         (workAreaButtonPress): set the screen_first variable before evt.
10633         unlock the inset as this may change screen_first and then we have
10634         a wrong y position for the click!
10635
10636 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * MenuBackend.C (expand): another translation that I missed
10639
10640 2002-03-28  Juergen Vigna  <jug@sad.it>
10641
10642         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10643
10644         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10645
10646 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10647
10648         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10649
10650         * MenuBackend.C (expand): fix export/view/update when there is no
10651         document open.
10652
10653 2002-03-27  Herbert Voss  <voss@lyx.org>
10654
10655         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10656         and text%
10657
10658 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * bufferview_funcs.C (currentState): only show paragraph number
10661         for is DEVEL_VERSION is set.
10662
10663         * lyxfunc.C (dispatch): put warning in INFO channel
10664
10665         * MenuBackend.C (expand): translate the name of floats
10666
10667         * FloatList.C (FloatList): mark the float names for translation
10668
10669         * converter.C (convert): use LibScriptSearch
10670
10671 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * MenuBackend.C (defaults): fix default menu (we might as well get
10674         rid of it...)
10675
10676 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10679         directory.
10680
10681 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * lyxvc.C: reorder includes.
10684
10685 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10688           properly
10689
10690 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * CutAndPaste.C: change layouts earlier on paste
10693           to avoid crashing when calling getFont()
10694
10695 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10696
10697         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10698         irritating #error.
10699
10700 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * WorkArea.C: remove 'Pending' debug message.
10703
10704         * most files: ws cleanup
10705
10706         * buffer.[Ch]: ws changes
10707
10708         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10709
10710 2002-03-21  Juergen Vigna  <jug@sad.it>
10711
10712         * tabular.C (SetMultiColumn): collapse also the contents of the
10713         cells and set the last border right. Added a Buffer const * param.
10714
10715 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10718         linking or not.
10719
10720 2002-03-19  Juergen Vigna  <jug@sad.it>
10721
10722         * text2.C (clearSelection): reset also xsel_cache.
10723
10724         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10725         where it needs to be called (John tells us to do so too :)
10726         (selectionLost): reset sel_cache.
10727
10728         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10729
10730 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * text2.C (setCursorIntern): put debuging code in INSETS channel
10733
10734 2002-03-19  André Pönitz <poenitz@gmx.net>
10735
10736         * lyxfunc.C: tiny whitespace change
10737
10738 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * ToolbarDefaults.C (init):
10741         * LyXAction.C (init):
10742         * commandtags.h:
10743         * BufferView_pimpl.C (Dispatch):
10744         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10745
10746 2002-03-19  Allan Rae  <rae@lyx.org>
10747
10748         * exporter.C (Export): removeAutoInsets before doing anything else.
10749         While I've just introduced a dependency on BufferView this really is
10750         the best place to clean the buffer otherwise you need to cleanup in
10751         a dozen places before calling export or cleanup in a dozen functions
10752         that export calls.
10753
10754         * converter.C (runLaTeX):
10755         (scanLog): Better handling of removeAutoInsets and screen updates.
10756
10757         * lyxfunc.C (dispatch): small whitespace changes
10758
10759 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10760
10761         * WorkArea.C (C_WorkAreaEvent): return a value.
10762         (event_cb): return 1 if we handled the event, 0 otherwise.
10763
10764         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10765
10766 2002-03-18  Juergen Vigna  <jug@sad.it>
10767
10768         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10769         (GetAdditionalWidth): ditto.
10770         (RightLine): ditto.
10771         (LeftLine): ditto.
10772
10773         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10774         inset if we're there actually (probably not used right now but this
10775         is the direction to go for unifying code).
10776         (paste): disable code to clear the selection.
10777
10778         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10779         inside an InsetText and move the check further up as it is in the
10780         wrong place.
10781
10782         * text2.C (pasteSelection): set a selection over the pasted text.
10783
10784 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10785
10786         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10787         and libgraphics to build on Cygwin.
10788
10789 2002-03-15  Juergen Vigna  <jug@sad.it>
10790
10791         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10792         inserting an Inset into the paragraph. I know this is not the best
10793         fix but we already use current_view in CutAndPaste so we will remove
10794         all of it's using at the same time.
10795
10796         * buffer.C (sgmlError): deactivated function till it is rewritten in
10797         the right mode, now it can create problems.
10798
10799         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10800         before accessing it.
10801
10802 2002-03-14  Juergen Vigna  <jug@sad.it>
10803
10804         * undo_funcs.C (textHandleUndo): do the right thing when updating
10805         the inset after the undo/redo.
10806
10807         * text2.C (setCursor): just some testcode for #44 not ready yet.
10808
10809         * undo_funcs.C (textHandleUndo): set the next() and previous()
10810         pointers of the paragraph to 0 before deleting otherwise we have
10811         problems with the Paragraph::[destructor].
10812
10813         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10814         on a paragraph insertion.
10815
10816 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * buffer.C (asciiParagraph): use += operator for char append to
10819         string.
10820
10821         * paragraph.C (getFontSettings): compare >= not just >
10822         (highestFontInRange): ditto
10823         (setFont): ditto
10824
10825 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * paragraph.C: change several algorithm to be more appripriate for
10828         the problem domain. This is lookip in FontList and in the InsetList.
10829
10830 2002-03-13  André Pönitz <poenitz@gmx.net>
10831
10832         * commandtags.h:
10833         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10834
10835 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * commandtags.h:
10838         * LyXAction.C:
10839         * lyxfunc.C:
10840         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10841
10842 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * Painter.C (display): anon helper function, adjust code for this
10845         change.
10846         (pixmap): remove function.
10847
10848         * Painter.h: remove private display variable.
10849
10850         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10851
10852 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10853
10854         * WorkArea.[Ch]: remove figinset_canvas cruft.
10855
10856 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * lyxtextclass.C (operator): add one item cache optimization.
10859
10860         * bufferlist.h: doxy changes
10861
10862         * bufferlist.C: ws changes
10863
10864         * DepTable.[Ch] (ext_exist): place const in the right spot.
10865
10866         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10867         call resizeInsets.
10868         (workAreaExpose): call resizeInsets when the with BufferView changes.
10869         (Dispatch): adjust for protectedBlank removal
10870         (specialChar): call updateInset if the insert went ok.
10871
10872         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10873         specialChar instead.
10874
10875         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10876
10877         * BufferView.h: doxy change
10878
10879         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10880
10881         * lyxtextclass.C (operator[]): remove non-const version
10882         (defaultLayout): remove non-const version
10883
10884 2002-03-12  Juergen Vigna  <jug@sad.it>
10885
10886         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10887         did resize the LyXText too.
10888
10889         * buffer.C (readLyXformat2): set layout information on newly allocated
10890         paragraphs.
10891
10892         * tabular.C (OldFormatRead): set layout information on the paragraph.
10893
10894 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10895
10896         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10897
10898 2002-03-11  Juergen Vigna  <jug@sad.it>
10899
10900         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10901         plainly wrong.
10902         (resizeCurrentBuffer): force also the insets to resize themselfes.
10903         (moveCursorUpdate): fixed up for InsetText.
10904
10905 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10906
10907         * commandtags.h:
10908         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10909         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10910         value of Dialogs::tooltipsEnabled().
10911         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10912
10913 2002-03-08  Juergen Vigna  <jug@sad.it>
10914
10915         * BufferView_pimpl.C (updateInset): update inset inside inset also
10916         if it isn't inside theLockingInset().
10917
10918 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * buffer.C (asciiParagraph): redo some of the word and line length
10921         handling.
10922         (getLists): look for Caption instead of caption.
10923
10924 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * buffer.C (Buffer): initialize niceFile to true
10927         (makeLaTeXFile):
10928         (makeLinuxDocFile):
10929         (makeDocBookFile): make sure niceFile is true on exit
10930
10931 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10934
10935 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * LyXSendto.C: remove.
10938         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10939         * lyx_gui.C: remove now-redundant comment.
10940         * ColorHandler.h: remove forward declaration of class WorkArea.
10941         * lyxfunc.C: remove #include "WorkArea.h".
10942
10943 2002-03-07  Juergen Vigna  <jug@sad.it>
10944
10945         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10946         got moved away with the DEPM and also set the inset_owner always
10947         right which before could have been omitted.
10948
10949 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10950
10951         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10952         wanted layout is not found.
10953
10954 2002-03-07  Juergen Vigna  <jug@sad.it>
10955
10956         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10957
10958 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * paragraph.C (breakParagraph): use default layout not layout of
10961         prev paragraph.
10962         (Paragraph): clear ParagraphParameters.
10963
10964 2002-03-06  Juergen Vigna  <jug@sad.it>
10965
10966         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10967         otherwise it would not be a valid lenght. Fixed a special case in
10968         the minipage compatibility read where we end the document with a
10969         minipage.
10970
10971         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10972         was set as it could be 0 for InsetTexts first entry.
10973
10974 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10975
10976         * paragraph.C (writeFile): if layout is empty write out
10977         defaultLayoutName().
10978
10979         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10980         file without named layout we set layout to defaultLayoutName().
10981
10982 2002-03-06  Juergen Vigna  <jug@sad.it>
10983
10984         * CutAndPaste.C (copySelection): set layout for new paragraph.
10985
10986         * text.C (prepareToPrint): leave ERT inset left aligned
10987         (leftMargin): don't indent paragraphs inside ERT insets
10988
10989 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * paragraph.C (breakParagraph): dont call clear do the work manually
10992
10993         * paragraph.[Ch] (clear): remove function
10994
10995 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10996
10997         * paragraph.C (Paragraph): dont call clear, the work has already
10998         been done.
10999
11000         * lyxtextclass.C (operator): assert if n is empty
11001
11002         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11003         work manually instead.
11004
11005 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * BufferView_pimpl.C: protect selectionLost against text == 0
11008
11009 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * text.C (breakParagraph): fix a setting layout to '0' problem.
11012
11013 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11014
11015         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11016         final location of file, for the included files, and graphics.
11017
11018 2002-03-05  Juergen Vigna  <jug@sad.it>
11019
11020         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11021
11022 2002-03-04  Juergen Vigna  <jug@sad.it>
11023
11024         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11025
11026         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11027         last column of multicolumn cells.
11028         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11029
11030 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11031
11032         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11033         file if it doesn't go to a temporary file.
11034
11035         * buffer.C (sgmlOpenTag):
11036         (sgmlCloseTag):  remove extra newline insertion.
11037
11038 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * text.C (getRowNearY): comment out debug msg
11041
11042 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * text2.C: first -> first_y
11045
11046         * text.C (getRowNearY): add some attemts at a possible
11047         optimization, not working.
11048
11049         * tabular.[Ch]: add BufferParams to several function so that newly
11050         created paragraph can be initialized to he default layotu for the
11051         buffers textclass.
11052
11053         * tabular-old.C (ReadOld): add buf->params to call of Init
11054
11055         * screen.C: rename text->first to text->first_y
11056
11057         * paragraph.C (breakParagraph): always set layout in the broken
11058         paragraph
11059
11060         * lyxtextclass.C (Read): remove lowercase
11061         (hasLayout): ditto
11062         (operator): ditto
11063         (delete_layout): ditto
11064
11065         * lyxtext.h: rename first -> first_y
11066
11067         * lyxlayout.C (Read): remove lowercase
11068         (name): ditto
11069         (setName): ditto
11070         (obsoleted_by): ditto
11071
11072         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11073
11074         * buffer.C (insertErtContents): add params are to InsetERT
11075         (parseSingleLyXformat2Token): add code to check if a paragraphs
11076         layout really exist.
11077         (parseSingleLyXformat2Token): add params to several inset
11078         constructors
11079         (asciiParagraph): remove lowercase, do the layout comparisons with
11080         no_case
11081
11082         * BufferView_pimpl.C (cursorNext): first -> first_y
11083         (resizeCurrentBuffer): first -> first_y
11084         (updateScrollbar): first -> first_y
11085         (scrollCB): first -> first_y
11086         (workAreaMotionNotify): first -> first_y
11087         (workAreaButtonPress): first -> first_y
11088         (checkInsetHit): first -> first_y
11089         (cursorPrevious): first -> first_y
11090         (cursorNext): first -> first_y
11091         (Dispatch): add buffer_->params to severl inset contructors
11092
11093 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * lyxlayout.C (Read): remove some debug info that I forgot.
11096
11097         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11098         clean up the code slightly.
11099         (makeLinuxDocFile): ditto
11100         (makeDocBookFile): ditto
11101
11102         * text2.C: layout as string
11103
11104         * text.C: layout as string
11105
11106         * paragraph_pimpl.C: layout as string
11107
11108         * paragraph.[Ch]: layout as string
11109
11110         * lyxtextclasslist.[Ch]: layout as string
11111
11112         * lyxtextclass.[Ch]: layout as string
11113
11114         * lyxtext.h: layout as string
11115
11116         * lyxlayout.[Ch]: layout as string
11117
11118         * lyx_cb.C: layout as string
11119
11120         * bufferview_funcs.C: layout as string
11121
11122         * bufferparams.C: layout as string
11123
11124         * buffer.C: layout as string
11125
11126         * LyXView.[Ch]: layout as string
11127
11128         * LaTeXFeatures.[Ch]: layout as string
11129
11130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11131
11132         * BufferView_pimpl.C: change current_layout to string, remove
11133         lyx::layout_type.
11134         (Dispatch):
11135         (smartQuote):
11136         (insertInset):
11137         (workAreaButtonRelease): layout as string
11138
11139         * BufferView2.C (unlockInset): adjust
11140
11141         * vspace.C (asLatexCommand): use an explict temp variable.
11142
11143 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * Makefile.am: use FRONTEND_*
11146
11147 2002-03-01  Juergen Vigna  <jug@sad.it>
11148
11149         * tabular.C (SetWidthOfMulticolCell): changed to something better
11150         I hope but still work in progress.
11151         (recalculateMulticolumnsOfColumn): renamed function from
11152         recalculateMulticolCells as it is more appropriate now.
11153         (SetWidthOfCell): calculate multicols better.
11154
11155 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11156
11157         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11158
11159         * lyxfunc.C (processKeySym): print sequence also if it is
11160         `deleted' (complete)
11161
11162         * kbsequence.C (print): print sequence even if it is deleted
11163         (complete would be a better word, actually).
11164
11165         * lyxfunc.C (dispatch): print complete options after a prefix key
11166
11167         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11168
11169 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11170
11171         * text2.C (setCharFont): eliminate setCharFont code duplication.
11172
11173 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11176         LFUN_TABULAR_FEATURE (bug #177)
11177
11178 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * Makefile.am: remove figure.h
11181
11182 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11183
11184         * Bufferview_pimpl.C:
11185         * CutAndPasteC:
11186         * LaTeX.C:
11187         * LyXSendto.C:
11188         * buffer.C:
11189         * bufferlist.C:
11190         * converter.C:
11191         * language.C:
11192         * lyxfunc.C:
11193         * lyxvc.C:
11194         * paragraph.C:
11195         * text.C:
11196         * text2.C: remove #include "lyx_gui_misc.h".
11197
11198         * LaTeX.C: added #include <cstdio>
11199
11200 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11201
11202         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11203         that the paragraph following this one can have.
11204
11205         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11206
11207         * vspace.C (asLatexCommand): fix bogus gcc warning
11208
11209         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11210
11211 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11212
11213         * text2.C (setLayout): get rid of redundant code
11214
11215 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11216
11217         * text2.C (incDepth): make sure depth cannot be increased beyond
11218         reasonable values.
11219
11220 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11221
11222         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11223         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11224
11225         * PainterBase.h (image):
11226         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11227         a LyXImage const *.
11228
11229 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * BufferView.C:
11232         * BufferView.h:
11233         * BufferView_pimpl.C:
11234         * BufferView_pimpl.h:
11235         * LaTeXFeatures.C:
11236         * LyXAction.C:
11237         * LyXView.C:
11238         * Makefile.am:
11239         * UpdateList.h:
11240         * UpdateList.C:
11241         * buffer.C:
11242         * figure.h:
11243         * figureForm.C:
11244         * figureForm.h:
11245         * figure_form.C:
11246         * figure_form.h:
11247         * lyx_cb.C:
11248         * lyx_gui.C:
11249         * lyx_gui_misc.C:
11250         * lyxfunc.C:
11251         * sp_base.h:
11252         * sp_ispell.h:
11253         * sp_pspell.h:
11254         * sp_spell.C: remove fig inset, and the crap house of
11255           cards that follows it
11256
11257 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * Makefile.am:
11260         * lyxserver.C:
11261         * os2_defines.h:
11262         * os2_errortable.h:
11263         * nt_defines.h: move .h into support/
11264
11265         * vms_defines.h: remove
11266
11267         * WorkArea.C: add space in debug output
11268
11269         * text2.C:
11270         * paragraph.C:
11271         * buffer.C: add WITH_WARNINGS
11272
11273         * vc-backend.h:
11274         * vc-backend.C:
11275         * bufferlist.C: s/retrive/retrieve/, add docs
11276
11277         * vspace.h:
11278         * vspace.C:
11279         * kbmap.h:
11280         * lyxlength.h:
11281         * lyxgluelength.h:
11282         * length_common.h:
11283         * chset.h:
11284         * chset.C: add docs
11285
11286         * lyxgui.C: add ID to X error handler
11287
11288         * lyxtestclass.c: fix typo
11289
11290 2002-02-26  Juergen Vigna  <jug@sad.it>
11291
11292         * tabular_funcs.C (write_attribute): changed so that some default
11293         attributes are not written at all.
11294         (getTokenValue): set default values before trying to read the
11295         value so we have the return value always set as default if we don't
11296         find the token we search for.
11297
11298         * tabular.C (Write): write bools as bools not as strings!
11299
11300 2002-02-22  Juergen Vigna  <jug@sad.it>
11301
11302         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11303         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11304
11305         * text.C (leftMargin): don't add an indent for paragraphs inside
11306         tabular cells (fix #208).
11307
11308 2002-02-21  José Matos  <jamatos@fep.up.pt>
11309
11310         * tabular.C (docBook): fixed support for long tables.
11311
11312 2002-02-20  Juergen Vigna  <jug@sad.it>
11313
11314         * text2.C (getFont): get the drawing font of the Inset if this
11315         paragraph is inside an inset (only important for InsetERT for now).
11316
11317         * buffer.C (insertErtContents): use new lanugage params in ERT
11318         constructor.
11319
11320         * CutAndPaste.C: commenting out seemingly uneeded code.
11321
11322 2002-02-19  Allan Rae  <rae@lyx.org>
11323
11324         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11325         Iterators might be simple to use but they also get invalidated.
11326         (removeAutoInsets): renamed saved cursor tracking variables and added
11327         some comments to clarify what everything does.
11328
11329 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * Chktex.C:
11332         * LaTeX.C:
11333         * LyXSendto.C:
11334         * converter.C:
11335         * lyx_cb.C:
11336         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11337         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11338
11339         * lyxfunc.C:
11340         * vc-backend.h: remove #include "support/syscall.h"
11341
11342         * LaTeX.C:
11343         * LyXSendto.C:
11344         * converter.C: rearrange #includes in Lars' approved fashion.
11345
11346         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11347         forward declare class Timeout in the header file.
11348
11349         * XFormsView.C: changes due to the above.
11350
11351         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11352         similar to LyXView.
11353
11354         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11355         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11356
11357 2002-02-18  José Matos  <jamatos@fep.up.pt>
11358
11359         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11360         insets contents.
11361
11362 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11363
11364         * a lot of small ws changes
11365         * add a lot of using std::XXX
11366         * use std construcs some places where approp.
11367         * use some exisint stuff from lyxfunctional where approp.
11368         * Make file changes to use partial linking (lets test this now...)
11369
11370 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11371
11372         * Chktex.C:
11373         * buffer.C:
11374         remove #include "support/syscontr.h" as it's redundant. Always has been.
11375
11376         * Chktex.C:
11377         * LaTeX.C:
11378         * LyXSendto.C:
11379         * converter.C:
11380         * lyx_cb.C:
11381         * vc-backend.C:
11382         change Systemcalls::System to Systemcalls::Wait and
11383         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11384         No change of functionality, just reflects the stripped down Systemcalls
11385         class.
11386
11387 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * debug.[Ch]: add a GRAPHICS type to the enum.
11390
11391 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11394
11395         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11396         there is an inset.
11397
11398 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11401         match the changes below.
11402
11403         * text2.C (toggleInset): if there is not editable inset at cursor
11404         position, try to see if cursor is _inside_ a collapsable inset
11405         and close it.
11406
11407 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11410         document menu has a nice checkbox
11411
11412 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * lyxlength.C (asLatexString): change PW to output as percent of
11415         \textwidth.
11416
11417         * lengthcommon.C: change '%' to 't%'
11418
11419         * lyxfunc.C (dispatch): a few comments from Martin
11420
11421 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * WorkArea.h:
11424         * WorkArea.C:
11425         * BufferView_pimpl.h:
11426         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11427           the X selection.
11428
11429 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * vspace.C (inPixels): fix compiler warning
11432
11433 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * lyxfunc.C (getStatus): fix status message for disabled commands.
11436
11437 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView_pimpl.C: fix crash on close buffer
11440         during selection (#227)
11441
11442 2002-01-27  Herbert Voss  <voss@lyx.org>
11443
11444         * buffer.C: link old Figure to new graphic inset
11445
11446 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11447
11448         * FontLoader.C (getFontinfo): Change the latex font names in order
11449         to match the names of type1inst.
11450
11451 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11454
11455         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11456         (extchanged): ditto
11457         (ext_exist): ditto
11458         (remove_files_with_extension): ditto
11459         (remove_file): ditto
11460         (write): ditto
11461
11462         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11463         document is smaller than the work area height. Do not initialize
11464         static variables to 0.
11465
11466 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11469
11470         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11471         LFUN_LAYOUT_PARAGRAPHS.
11472
11473         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11474         tabular. It is possible to provide a possible cell, which will
11475         typically be the actcell from the corresponding insettabular
11476
11477         * lyxfunc.C (getStatus): small cleanup; disable
11478         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11479         true
11480
11481 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11484
11485         * paragraph.C (startTeXParParams):
11486         (endTeXParParams): new methods. The LaTeX code to
11487         start/end paragraph formatting
11488         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11489         empty (fixes bug #200)
11490
11491         * vspace.C (inPixels): adapt to the change below
11492         (inPixels): [later] more cleanups (remove unused variables)
11493
11494         * lyxlength.C (inPixels): change to use a width and a height as
11495         parameter.
11496
11497 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11498
11499         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11500         Replaced with \paperwidth
11501
11502         * DepTable.C (insert): add std:: qualifier
11503
11504 2002-01-18  Allan Rae  <rae@lyx.org>
11505
11506         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11507         updated also?
11508
11509         * text.C (drawInset): Turned out I didn't know enough about how
11510         rebreaking worked.  This fixes most of the redraw problems.  I see
11511         an occasional cursor trail when a line is broken now and the cursor
11512         placement can seem out by a few pixels also after a rebreak.
11513
11514 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * buffer.C (parseSingleLyXformat2Token): update because minipage
11517         width is now a LyXLength
11518
11519         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11520
11521         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11522         math insets
11523
11524 2002-01-17  Juergen Vigna  <jug@sad.it>
11525
11526         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11527
11528         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11529         is set correctly and the inset is updated correctly.
11530
11531 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11534         the beginning of the loop.
11535
11536 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * lyxrc.C: improve help for use_scalable_fonts
11539
11540 2002-01-17  Allan Rae  <rae@lyx.org>
11541
11542         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11543
11544 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11547         make sure to set their inset_owner to the right value (bug #171)
11548
11549 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11550
11551         * DepTable.h
11552         * DepTable.C: Implement mtime checking to reduce time spent doing
11553         CRCs.
11554
11555 2002-01-16  Juergen Vigna  <jug@sad.it>
11556
11557         * tabular.C (GetAdditionalHeight): one of error fixed.
11558
11559         * lyxrc.C (output): small fix in writing use_pspell.
11560
11561 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11562
11563         * sp_base.h: #include LString.h
11564
11565 2002-01-16  Allan Rae  <rae@lyx.org>
11566
11567         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11568         Can someone check this please?
11569
11570         * text.C (drawInset): It was possible that p.row would be removed by
11571         breakAgainOneRow upsetting a few other settings.  There may be another
11572         small tweak possible by setting need_break_row = 0 when p.row has been
11573         removed but I don't know enough about the logic here.
11574
11575 2002-01-15  Allan Rae  <rae@lyx.org>
11576
11577         * text.C (insertChar): removed conditional truism.
11578
11579         * BufferView2.C (removeAutoInsets): More tweaks.
11580         cur_par_prev could be a stray pointer.  Check for trailing empty line
11581         in case last line was cur_par and only had an error inset on it.
11582
11583 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11586         absolute
11587
11588         * vc-backend.C (most methods):
11589         * exporter.C (Export):
11590         * converter.C (convert):
11591         (runLaTeX):
11592         * LyXSendto.C (SendtoApplyCB):
11593         * lyxfunc.C (dispatch):
11594         (menuNew):
11595         (open):
11596         (doImport):
11597         * lyx_cb.C (AutoSave):
11598         (InsertAsciiFile):
11599         * BufferView_pimpl.C (MenuInsertLyXFile):
11600         * buffer.C (runChktex): use Buffer::filePath().
11601
11602         * buffer.h: rename filename to filename_; rename filepath to
11603         filepath_ and make it private
11604         (filePath): new method
11605
11606         * buffer.C (writeFile): use fileName()
11607         (getLatexName):
11608
11609         * lyx_main.C (init): fix starting  of LyX when the binary is a
11610         link from so,ewhere else.
11611
11612         * minibuffer.C: include <cctype> for isprint
11613
11614 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11615
11616         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11617         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11618         name clash with InsetCollapsable's width function.
11619
11620 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * lastfiles.C: include <iterator>
11623
11624 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11625
11626         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11627         std::count.
11628
11629         * buffer.C (makeLaTeXFile): ditto.
11630         Also make loop operation more transparent.
11631
11632 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11633
11634         * ToolbarDefaults.C: remove trailing comma closing namespace.
11635
11636         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11637
11638         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11639         as in WorkArea.
11640
11641         * trans.C (Load): comment out unused variable, allowed.
11642
11643 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * minibuffer.[Ch] (append_char): new method to recieve input from the
11646         drop-down completion browser. If a key was pressed, then recieve this
11647         char and append it to the existing string.
11648         (peek_event): modify the positioning data passed to the completion
11649         browser so that it can be placed above the minibuffer rather than below.
11650 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * LyXAction.C (init): alloe error-next for readonly documents.
11653
11654         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11655         count.
11656
11657 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * bufferlist.C (readFile): create the buffer _after_ checking that
11660         the file exists.
11661
11662         * lyxfunc.C (verboseDispatch): fix handling of arguments
11663
11664         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11665
11666         * lyxrc.C: use string::erase() instead of initializing to "".
11667
11668
11669 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * BufferView_pimpl.h:
11672         * BufferView_pimpl.C:
11673         * WorkArea.h:
11674         * WorkArea.C:
11675         * text2.C: tell X when we have made a selection for copying
11676
11677 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11678
11679         * BufferView_pimpl.C (MenuInsertLyXFile):
11680         * lyxfunc.C (menuNew):
11681         (open):
11682         (doImport): add shortcuts to directory buttons
11683
11684         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11685         open a float)
11686
11687         * lyxfunc.C (setStatusMessage):
11688         (getStatusMessage): new methods
11689         (getStatus):use setStatusMessage instead of setErrorMessage
11690         (dispatch): when function is disabled, set error message here
11691         [instead of in getStatus previously]
11692
11693         * BufferView_pimpl.C (workAreaButtonRelease): update
11694         toolbar/menubar here too.
11695
11696 2002-01-13  Allan Rae  <rae@lyx.org>
11697
11698         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11699         Now seems indestructible.  Remaining task is to audit all other
11700         code affected by deleteEmptyParagraphMechanism.  One small quirk
11701         left is that an empty document with an error in the preamble can
11702         be made to report an error but no error box appears.  I don't know
11703         where it goes.
11704         (removeAutoInsets): Improved comments.
11705
11706 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * Thesaurus.h:
11709         * Thesaurus.C: update for Aiksaurus 0.14
11710
11711 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text2.C (firstParagraph): removed member function, all uses
11714         replaces with ownerParagraph
11715         (redoParagraphs): here
11716         (updateInset): here
11717         (toggleAppendix): here
11718         * BufferView2.C (insertErrors): here
11719         (setCursorFromRow): here
11720
11721 2002-01-13  Allan Rae  <rae@lyx.org>
11722
11723         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11724         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11725         There is still a way to segfault this although you may have to do this
11726         multiple times: Have an InsetERT with an unknown command in it.
11727         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11728         <down-arrow>, <Enter> again, View->DVI, BANG!
11729
11730         * text2.C (setCursor):
11731         (deleteEmptyParagraphMechanism):
11732         * lyxtext.h (setCursor):
11733         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11734         Making use of the return value may help fix other bugs.
11735
11736 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11737
11738         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11739
11740         * LyXView.C (updateMenubar): call MenuBar::update here
11741         (updateToolbar): but not here
11742         (showState): do not update toolbar/menubar
11743
11744         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11745         should need to care about that.
11746
11747         * lyxfunc.C (verboseDispatch): simplify a bit
11748         (getStatus): have a version which takes a pseudoaction, and
11749         another which requires a (kb_action,string).
11750
11751         * LyXAction.C (retrieveActionArg): make it work also when action
11752         is not a pseudo-action.
11753         (getActionName): simplify a bit
11754         (helpText):
11755
11756 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * lyxfunc.C (verboseDispatch): new families of methods with
11759         several ways to specify a command and a bool to indicate whether
11760         the command name and shortcut should be displayed in minibuffer
11761         (eventually, we could extend that to a finer bitmask like
11762         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11763         (dispatch): the pristine dispatch command which just, well,
11764         dispatchs! Note it still sets its result to minibuffer; I'm not
11765         sure we want that.
11766
11767         * lyxfunc.h: remove setHintMessage
11768
11769         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11770
11771 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11772
11773         * BufferView_pimpl.C (specialChar): delete new inset if we have
11774         not been able to insert it.
11775
11776         * kbmap.C: revert to using int instead of kb_action, since all we
11777         are dealing with is pseudo-actions.
11778
11779         * LyXAction.C (searchActionArg): change to return int instead of
11780         kb_action, since the result is a pseudoaction.
11781
11782 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11783
11784         * buffer.C (insertErtContents): Fix (partially) the font bug.
11785
11786 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11789         as the other one is broken on my machine!
11790
11791 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11792
11793         * commandtags.h:
11794         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11795
11796 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11797
11798         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11799         reflect their actual use. Provide compatibility code for older lyxrc
11800         files.
11801
11802         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11803         FL_NORMAL_STYLE.
11804         change names of popup font variables in line with the changes to lyxrc.C
11805
11806 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * buffer.C (asciiParagraph): avoid outputing a word twice after
11809         an inset.
11810
11811         * lyxrc.C (getDescription): document that document_path and
11812         template_path can be empty.
11813
11814 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * LaTeXFeatures.C (getMacros):
11817         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11818
11819         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11820
11821         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11822         getPackages.
11823         (getPackages): rename feature "floats" to "float". Use an array to
11824         iterate over 'simple' features (i.e. just a \usepackage). Add
11825         handling of "amsmath" (renamed from "amsstyle").
11826
11827 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11828
11829         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11830         features list.
11831
11832 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11835         FuncStaus::FuncStatus & FuncStaus::some_method().
11836
11837 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11838
11839         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11840         of the func_satus stuff. Edited and massaged in various ways by
11841         JMarc.
11842
11843         * lyxfunc.C (getStatus): use FuncStatus
11844
11845 2002-01-08  Juergen Vigna  <jug@sad.it>
11846
11847         * text.C (nextBreakPoint): use function Inset::isChar().
11848
11849         * paragraph.C (TeXOnePar): use function
11850         Inset::forceDefaultParagraphs.
11851
11852         * buffer.C (latexParagraphs): use function
11853         Inset::forceDefaultParagraphs.
11854
11855 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * lyx_gui.C (init): set the style of the menu popups to
11858         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11859
11860 2002-01-07  Juergen Vigna  <jug@sad.it>
11861
11862         * text.C (setHeightOfRow): small fix
11863         (prepareToPrint): don't look at alignment if we don't have the place
11864         for doing it.
11865
11866 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11867
11868         * box.C: New file. Move the Box methods and functions out of box.h,
11869         following Lars' suggestion.
11870
11871 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * box.h: #include "support/LOstream.h", needed for inlined function.
11874
11875         * lyxtextclass.C:
11876         * lyxtextclasslist.C: added some using std declarations.
11877
11878 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * box.h: make signed dimensions to allow insets wider than
11881           the screen (bug #162)
11882
11883         * BufferView_pimpl.C: add some insetHit debug
11884
11885 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * vc-backend.C: add FIXME
11888
11889 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * lyxfunc.C (getStatus): enable code for showing math font status
11892         in toolbar/menu.
11893
11894 2002-01-07  Juergen Vigna  <jug@sad.it>
11895
11896         * text.C (nextBreakPoint): removed debug output not needed anymore.
11897
11898 2002-01-06  Juergen Vigna  <jug@sad.it>
11899
11900         * text.C (nextBreakPoint): fixed up this function we had this bug
11901         since ever but now hopefully we break row better.
11902         (insertChar): we have to check if an inset is the next char as it
11903         could now happen that a large inset is causing a break.
11904
11905 2002-01-05  Juergen Vigna  <jug@sad.it>
11906
11907         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11908         if it doesn't like to be drawed.
11909
11910 2002-01-04  Juergen Vigna  <jug@sad.it>
11911
11912         * BufferView2.C (lockInset): forgot to set a cursor.
11913
11914         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11915
11916 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11917
11918         * FormMathsPanel.C:
11919         * FormMathsPanel.h
11920         * MathsSymbols.C:
11921         * form_maths_panel.C:
11922         * form_maths_panel.h:
11923         * form_maths_panel.fd: implemented sub- and super- buttons in math
11924         panel.
11925
11926         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11927         (or ^ space) to be used as in TeX (req'd by André).
11928
11929         * lyxfunc.C: Allow ^ and _ again to be used both as
11930         super/subscript (mathed) and as themselves (in text).
11931
11932 2002-01-03  Allan Rae  <rae@lyx.org>
11933
11934         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11935         "LyX" or the filename of the current buffer if it has one.  This is a
11936         modified form of John Levon's patch.
11937
11938         * XFormsView.C (setWindowTitle): also set icon title.
11939
11940         * LyXView.h (setWindowTitle): signature changed.
11941         * XFormsView.h (setWindowTitle): ditto.
11942
11943 2002-01-02  Juergen Vigna  <jug@sad.it>
11944
11945         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11946
11947 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * screen.C (topCursorVisible): introduce a temp var for
11950         text->cursor.row(), handle the case where this row is null. (kindo
11951         hachish)
11952
11953         * text2.C (setCursor): add a couple of asserts.
11954
11955         * paragraph.h (inset_iterator): add -> operator
11956
11957         * paragraph.[Ch] (autoDeleteInsets): remove member function
11958
11959         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11960         cursor pos correctly and handle inset deletion by itself.
11961         (insertErrors): move iterator declaration out of for expression
11962
11963         * lyxtextclass.C: add <algorithm>
11964
11965         * Makefile.am: added the new files to sources, removed layout.C
11966
11967         * layout.C: removed file
11968
11969         * layout.h: remove LYX_DUMMY_LAYOUT
11970
11971         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11972         layout.
11973
11974         * lyxlayout.[Ch]:
11975         * lyxtextclass.[Ch]:
11976         * lyxtextclasslist.[Ch]: new files
11977
11978         * include order changes to a lot of files, also changes because of
11979         the six new files.
11980
11981 2001-12-27  Juergen Vigna  <jug@sad.it>
11982
11983         * buffer.C (asciiParagraph): more fixes.
11984
11985         * tabular.C (ascii): make ascii export support export of only the
11986         data separated by a column-delimiter.
11987         (ascii): better support for ascii export.
11988
11989         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11990
11991 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * tabular_funcs.C: use a "using std::getline" instead of the
11994         previous fix from Angus (necessary for cxx + lyxstring)
11995
11996 2001-12-24  Juergen Vigna  <jug@sad.it>
11997
11998         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11999
12000         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12001         problems. First check a minipage also if we have some ert-contents
12002         (not only on par->size(), second set the right depth of the paragraph
12003         on the relink to the root-paragraph-list!
12004
12005         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12006         which then did not anymore update the main paragraphs on undo/redo!
12007
12008 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12011         code. Support all font-changing funcs (even those which are not in
12012         menu currently). Support for reporting font settings in
12013         mathed (disabled until Andre provides a function on mathed's side).
12014
12015         * func_status.h (toggle): small helper function to set toggle
12016         state on a flag.
12017
12018 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * tabular_funcs.C: getline -> std::getline
12021
12022 2001-12-21  Juergen Vigna  <jug@sad.it>
12023
12024         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12025         accessed and could be 0 (I couldn't generate this but it seems
12026         Michael could!).
12027
12028 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12031         * tabular_funcs.h: here and include iosfwd
12032
12033 2001-12-20  Juergen Vigna  <jug@sad.it>
12034
12035         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12036         inside inset but undo_par was.
12037
12038 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * Thesaurus.C: always include <config.h> in sources.
12041
12042         * Painter.h:
12043         * lyxlookup.h:
12044         * box.h: do not include <config.h> in header files
12045
12046         * text.C (paintLastRow): remove unused variable
12047
12048         * text.C (transformChar):
12049         (insertChar):
12050         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12051
12052         * Painter.C (text):
12053         * font.C (width): rewrite to use uppercase() instead of
12054         islower/toupper.
12055
12056         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12057
12058 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * lyxfind.C: clean up of find failure position change
12061
12062 2001-12-20  Juergen Vigna  <jug@sad.it>
12063
12064         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12065
12066         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12067         (TeXRow): added to LaTeX a single tabular row.
12068         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12069         (Latex): simplified and finally good LT-h/f support.
12070         (various_functions): just small adaptions for LT-h/f support.
12071
12072         * tabular_funcs.[hC]: added and moved here all not classfunctions
12073         of LyXTabular.
12074
12075 2001-12-19  Juergen Vigna  <jug@sad.it>
12076
12077         * tabular.[Ch]: better support for longtabular options (not finished
12078         yet!)
12079
12080 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * text.C (paintLastRow): use the label font instead of the font of
12083         the last character to compute the size of *_BOX. This makes more
12084         sense and avoids a crash with empty paragraphs.
12085         Use Painter::rectangle to draw EMPTY_BOX.
12086
12087 2001-12-19  Juergen Vigna  <jug@sad.it>
12088
12089         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12090         the paragraphs if the replaced paragraph is not the first one!
12091         Tried to delete not used paragraphs but does not work yet so for
12092         now it's inside #ifdef's and by default off!
12093
12094 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * MenuBackend.C: include "lyx_main.h" instead of declaring
12097         lastfiles (actually was declared as LastFiles* instead of a
12098         scoped_ptr).
12099
12100 2001-12-17  Juergen Vigna  <jug@sad.it>
12101
12102         * tabular.C (AppendColumn): applied John's fix
12103
12104 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView.h:
12107         * BufferView.C:
12108         * BufferView_pimpl.h:
12109         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12110
12111         * Makefile.am:
12112         * box.h: new start of class for above
12113
12114         * lyxfunc.C: ignore space-only minibuffer dispatches.
12115           Show the command name when it doesn't exist
12116
12117         * minibuffer.C: don't add empty lines to the history
12118
12119         * minibuffer.C: add a space on dropdown completion
12120
12121 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * text.C: fix line above/below drawing in insets
12124
12125 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * lyxlength.C (LyXLength): Initialize private variables.
12128
12129 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12130
12131         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12132         when inserting error insets.
12133
12134 2001-12-13  Juergen Vigna  <jug@sad.it>
12135
12136         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12137         actually sometimes the before-paragraph.
12138         (setUndo): don't clear the redostack if we're not actually undoing!
12139
12140 2001-12-06  Juergen Vigna  <jug@sad.it>
12141
12142         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12143         and fixed redoing of main paragraph, so we can use it now ;)
12144
12145         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12146
12147 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12150         Juergen's request
12151
12152 2001-12-13  André Pönitz <poenitz@gmx.net>
12153
12154         * undostack.[Ch]:
12155         * undo_func.C: minor cleanup
12156
12157 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12160         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12161         font in urw-fonts package which is marked as -urw-fontspecific and
12162         does not work (incidentally, changing the encoding in the
12163         fonts.dir of this package to -adobe-fontspecific fixes the
12164         problem).
12165
12166         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12167         is a crash when undoing first paragraph (Juergen, please take a
12168         look). THis does not mean the undo fix is wrong, just that it
12169         uncovers problems.
12170
12171         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12172         the (Paragraph*) version when needed instead of duplicating the
12173         code.
12174
12175         * text.C (workWidth): use Inset::parOwner to find out where the
12176         inset has been inserted. This is a huge performance gain for large
12177         documents with lots of insets. If Inset::parOwner is not set, fall
12178         back on the brute force method
12179
12180         * paragraph_pimpl.C (insertInset):
12181         * paragraph.C (Paragraph):
12182         (cutIntoMinibuffer): set parOwner of insets when
12183         inserting/removing them
12184
12185         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12186
12187 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12188
12189         * commandtags.h:
12190         * LyXAction.C:
12191         * lyx_main.C:
12192         * lyxfunc.C:
12193         * mathed/formulabase.C:
12194         * mathed/math_cursor.[Ch]:
12195         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12196
12197
12198 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * lyxlength.[Ch] (operator!=): new function
12201
12202 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * text.C (workWidth): use Inset::parOwner to find out where the
12205         inset has been inserted. This is a huge performance gain for large
12206         documents with lots of insets. If Inset::parOwner is not set, fall
12207         back on the brute force method
12208
12209         * paragraph_pimpl.C (insertInset):
12210         * paragraph.C (Paragraph):
12211         (cutIntoMinibuffer): set parOwner of insets when
12212         inserting/removing them
12213
12214         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12215
12216 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * tabular-old.C (getTokenValue):
12219         * tabular.C (getTokenValue):
12220         (write_attribute): new versions for LyXLength
12221         (everywhere): adjust the use of widths
12222
12223         * tabular.h: change the type of widths from string to LyXLength
12224
12225 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12226
12227         * paragraph.C: fixed missing line number count when exporting
12228         Environments to LaTeX file
12229
12230         * buffer.C: added informational message for checking line numbers.
12231
12232 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12235         paragraph, do the 'double space' part, but not the 'empty
12236         paragraph' one.
12237
12238         * text.C (workWidth): small optimization
12239         (getLengthMarkerHeight): use minimal size for negative lengths.
12240
12241 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12242
12243         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12244
12245         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12246
12247 2001-12-11  André Pönitz <poenitz@gmx.net>
12248
12249         * FontLoader.C:
12250         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12251
12252 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * text2.C: keep selection on a setFont()
12255
12256 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyx_cb.C: another bv->text misuse, from insert label
12259
12260 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * kbsequence.h:
12263         * kbsequence.C: re-instate nmodifier mask
12264
12265 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12266
12267         * lyx_main.h: make lyxGUI private.
12268
12269 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * lyxfind.C: place the cursor correctly on failed search
12272
12273 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * text.C (getLengthMarkerHeight): for small heights, the arrows
12276         are not always on top/bottom of the text
12277         (drawLengthMarker): smaller arrows; take the left margin in
12278         account; draw also vfills.
12279         (paintFirstRow):
12280         (paintLastRow): remove special code for vfill and standard spaces,
12281         since everything is handled in drawLengthMarker now.
12282
12283 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12284
12285         * buffer.C (insertErtContents): try to handle font and language
12286         interaction a bit better.g
12287
12288         * ColorHandler.C (updateColor): change the hash to cover the whole
12289         LColor enum, ws cleanup
12290         (getGCLinepars): ditto
12291         (getGCLinepars): only lookup in the linecache once.
12292
12293 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * iterators.C (operator++): Make the iterator more robust
12296
12297         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12298         (John's patch)
12299         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12300
12301 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * lyxtext.h:
12304         * text.C: better added space drawing
12305
12306 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * LyXView.C:
12309         * BufferView2.C: fix layout combo update on inset unlock
12310
12311 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * Makefile.am: don't compile unused files
12314
12315 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * lyxfunc.C:
12318         * commandtags.h:
12319         * LyXAction.C: remove old LFUN_LAYOUTNO
12320
12321 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * paragraph_pimpl.h:
12324         * paragraph_pimpl.C: isTextAt() doesn't need font param
12325
12326 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyxlex.h:
12329         * lyxlex.C: little cleanup
12330
12331 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * BufferView_pimpl.C: fix insertAscii for insets
12334
12335 2001-12-05  Juergen Vigna  <jug@sad.it>
12336
12337         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12338         set the right font on the "multi" paragraph paste!
12339
12340 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * trans_decl.h:
12343         * trans_mgr.[Ch]:
12344         * trans.[Ch]:
12345         * lyxgluelength.C:
12346         * lyxlength.C: remove out-commented code.
12347
12348         * BufferView_pimpl:
12349         * CutAndPaste.C:
12350         * DepTable.C:
12351         * buffer.C:
12352         * chset.C:
12353         * lastfiles.C:
12354         * lyxlex.C:
12355         * lyxlex_pimpl.C:
12356         * lyxserver.C:
12357         * screen.C:
12358         * tabular-old.C:
12359         * tabular.C:
12360         * text.C:
12361         * trans_mgr.C:
12362         * vc-backend.C: change "while(" to "while ("
12363
12364         * lyxlength.[Ch]: add zero function to check if length is zero or
12365         not
12366         * lyxgluelength.C: use it
12367
12368 2001-12-05  Allan Rae  <rae@lyx.org>
12369
12370         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12371         Works for 2.95.3, from what I understand of Garst's reports this should
12372         work for other g++ versions.  We're screwed if the abs(int) definition
12373         changed between bugfix releases of gcc.
12374
12375 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * text.C: fix chapter label offset !
12378
12379 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * lyxtext.h:
12382         * text.C: fix hfill at end of line, clean up
12383
12384 2001-12-04  Juergen Vigna  <jug@sad.it>
12385
12386         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12387         that we force an update of the inset and it's owners if neccessary.
12388
12389 2001-12-03  Juergen Vigna  <jug@sad.it>
12390
12391         * text.C (rowLast): simplified code
12392
12393 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * lyxfunc.C: fix show options on timeout
12396
12397 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * screen.C (topCursorVisible): scroll half a page when the cursor
12400         reached top of bottom of screen
12401
12402 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * minibuffer.C: deactivate on loss of focus
12405
12406 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * vspace.[Ch] (operator!=): add operator.
12409
12410 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * BufferView_pimpl.C: refuse to open an inset when
12413         there's a selection.
12414
12415 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.C: allow to click on RHS of full row insets
12418
12419 2001-11-30  Juergen Vigna  <jug@sad.it>
12420
12421         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12422         insets for undo reasons.
12423
12424 2001-11-28  André Pönitz <poenitz@gmx.net>
12425
12426         * vspace.[Ch]: cosmetical changes
12427
12428 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * LyXAction.h:
12431         * LyXAction.C:
12432         * lyxfunc.h:
12433         * lyxfunc.C:
12434         * kbmap.h:
12435         * kbmap.C:
12436         * lyxrc.C:
12437         * kbsequence.h:
12438         * kbsequence.C: part re-write of old kb code
12439
12440         * Painter.C:
12441         * WorkArea.C: remove Lgb_bug_find_hack
12442
12443 2001-11-30  José Matos <jamatos@fep.up.pt>
12444
12445         * buffer.C (makeDocBookFile): add a comment to point a hack.
12446         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12447         Fixed a double write of labels.
12448
12449 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12450
12451         * LaTeX.C:
12452         * LaTeX.h Fixed bug in LaTeX class where it would not
12453         re-run latex if no depfiles were changed, but the .dvi was removed.
12454
12455 2001-11-28  André Pönitz <poenitz@gmx.net>
12456
12457         * all the files from the change on 2001/11/26:
12458         use lyx::layout_type instead of LyXTextClass::size_type
12459         use lyx::textclass_type instead of LyXTextClassList::size_type
12460
12461 2001-11-29  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C: added support for paragraph::isFreeSpacing()
12464
12465         * buffer.C: same as above
12466
12467         * paragraph.h: inserted isFreeSpacing() function to enable
12468         FreeSpacing inside InsetERT.
12469
12470         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12471         of the paragraph's in the cut/copy buffer to 0!
12472
12473         * text2.C (removeRow): remove the assert as it can!
12474
12475         * lyxtext.h: added helper function firstRow returning firstrow and
12476         made firstrow private again.
12477
12478         * BufferView2.C (lockInset): don't relock if we're already locked!
12479
12480         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12481         the only paragraph.
12482         (removeRow): added Assert::(firstrow)
12483
12484         * debug.C: forgot to add INSETTEXT here.
12485
12486 2001-11-28  Juergen Vigna  <jug@sad.it>
12487
12488         * sp_spell.C (initialize): changed error text to more general
12489         spellchecker command use (not only ispell!)
12490
12491         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12492
12493         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12494
12495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * vspace.C: initialise lyxgluelength on failure
12498
12499 2001-11-28  Allan Rae  <rae@lyx.org>
12500
12501         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12502         declaration & definition that looks like a function declaration.
12503
12504 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * BufferView2.C (copy):
12507         (copyEnvironment): do not clear the selection when doing a copy.
12508
12509         * text.C (paintFirstRow): compilation fix
12510
12511 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12512
12513         * tabular.C (Latex): correct line count when writing latex.
12514
12515 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * paragraph_pimpl.h:
12518         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12519           bug a bit
12520
12521 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * text.C:
12524         * LColor.h:
12525         * LColor.C: change vfillline->added_space
12526
12527         * text.C: add markers and text for added space
12528
12529         * vspace.C: fix comment
12530
12531 2001-11-28  André Pönitz <poenitz@gmx.net>
12532
12533         * paragraph.C: whitespace changes
12534         * all the other files from the change on 2001/11/26:
12535         change *::pos_type into lyx::pos_type
12536
12537 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12538
12539         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12540         language of the document when inserting error insets.
12541
12542 2001-11-26  André Pönitz <poenitz@gmx.net>
12543
12544         * BufferView_pimpl.[Ch]:
12545         *       CutAndPaste.C:
12546         * buffer.[Ch]:
12547         * lyxcursor.[Ch]:
12548         * lyxfind.C:
12549         * lyxfunc.C:
12550         * lyxrow.[Ch]:
12551         * paragraph.[Ch]:
12552         * paragraph_pimpl.[Ch]:
12553         * sp_spell.C:
12554         * text.C:
12555         * text2.C: reduce header dependencies, introduce type for positions
12556
12557 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * <various>: change to use Alert.h
12560
12561 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12562
12563         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12564         when encountering an unknown token.
12565         (readLyXformat2): Show an error message if there were unknown tokens.
12566
12567 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * BufferView2.C:
12570         * BufferView_pimpl.C:
12571         * buffer.C:
12572         * paragraph.h:
12573         * text.C:
12574         * text2.C: use par->isInset()
12575
12576 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * paragraph_pimpl.h:
12579         * paragraph_pimpl.C: cleanup
12580
12581 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * text2.C (removeRow):
12584         * text.C (setHeightOfRow): remove useless (and costly) call to
12585         getRow.
12586
12587 2001-11-20  Allan Rae  <rae@lyx.org>
12588
12589         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12590         Now need Inset*::checkInsertChar() to return true for appropriate
12591         cases so that the characters in the minibuffer will actually be
12592         inserted.
12593
12594 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * text.C: change the order of the includes.
12597         (workWidth): initialize it at once.
12598         (workWidth): make maxw unsigned
12599         (setHeightOfRow): remove unused variable (inset)
12600         (selectSelectedWord): remove unused variable (inset)
12601         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12602
12603 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12606         server is not running.
12607         (openConnection):
12608         (closeConnection): add debug info when server is disabled.
12609
12610         * ColorHandler.C (getGCForeground): send debug message to GUI
12611         channel.
12612
12613         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12614
12615         * kbmap.C (bind): modify because return conventions of
12616         kb_sequence::parse have changed.
12617
12618         * kbsequence.C (parse): only ignore spaces and not any stupid
12619         control character. This avoids tests like s[i] <= ' ', which are
12620         guaranteed to fail with 8bit characters and signed chars.
12621         Change return code to string::npos when there have been no error
12622         (0 was a bad idea when error is at first character)
12623
12624 2001-11-14  José Matos  <jamatos@fep.up.pt>
12625
12626         * buffer.h:
12627         * buffer.C (simpleDocBookOnePar): removed unused argument.
12628
12629 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12630
12631         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12632         insets which are part of a word. Paragraph::isLetter takes care of
12633         that now. Use Paragraph::isInset to identify insets.
12634         (selectSelectedWord): do not test for hyphenation break.
12635
12636         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12637         that protected spaces are considered as spaces.
12638
12639         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12640         Inset::isLetter.
12641
12642 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyxserver.h:
12645         * lyxserver.C: fix it. and small cleanup.
12646
12647 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * BufferView_pimpl.C: use inline helpers
12650
12651         * LaTeXFeatures.h:
12652         * LaTeXFeatures.C: fix typos
12653
12654         * Spacing.h:
12655         * Spacing.C: move spacing_string into class
12656
12657         * ToolbarDefaults.C: move stuff into namespace anon
12658
12659         * layout.h: update enum
12660
12661         * lyxfunc.C: use better debug
12662
12663         * minibuffer.h: fix typo
12664
12665         * debug.h:
12666         * debug.C:
12667         * WorkArea.C: add and use Debug::WORKAREA
12668
12669         * lyxtext.h:
12670         * text.C:
12671         * text2.C: code re-organisation, inline helpers
12672
12673 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12674
12675         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12676         std::vector.empty().
12677
12678 2001-11-09  Allan Rae  <rae@lyx.org>
12679
12680         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12681         '\n's after tables.  Tabular and ERT inset work now makes this no
12682         longer necessary.
12683
12684 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * minibuffer.h:
12687         * minibuffer.C: fix crash, improve drop-down completion
12688
12689 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * lyxserver.h:
12692         * lyxserver.C: invalidate fd's when doing endPipe()
12693
12694 2001-11-08  José Matos  <jamatos@fep.up.pt>
12695
12696         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12697         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12698
12699         * paragraph.h:
12700         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12701
12702 2001-11-07  José Matos  <jamatos@fep.up.pt>
12703
12704         * buffer.h:
12705         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12706         const qualifier.
12707
12708         * buffer.C (sgmlOpenTag):
12709         * buffer.C (sgmlCloseTag): removed debug info.
12710
12711         * buffer.h (sgmlOpenTag):
12712         * buffer.h (sgmlCloseTag): made public.
12713
12714 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * buffer.C (saveParamsAsDefaults):
12717         * lyx_cb.C (MenuLayoutSave): remove
12718
12719         * LyXAction.C (init):
12720         * commandtags.h:
12721         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12722
12723 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * buffer.C (setPaperStuff): removed from here...
12726
12727         * bufferparams.C (setPaperStuff): ... and moved there.
12728
12729 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * minibuffer.h:
12732         * minibuffer.C:
12733         * XFormsView.C: add support for drop-down completion
12734
12735 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12736
12737         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12738         commands.
12739
12740 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12743         disabled.
12744
12745 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * lyx_main.C: change ref to known bugs
12748
12749 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12750
12751         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12752         to work around older babel problems.
12753
12754 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12755
12756         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12757
12758 2001-10-24  Juergen Vigna  <jug@sad.it>
12759
12760         * tabular-old.C (ReadOld): below variable changes reflected.
12761
12762         * tabular.[Ch]: added ltType struct for longtable header/footer
12763         defines and changed all instances where they are used. Added
12764         future support for double top/bottom rows.
12765
12766 2001-10-24  José Matos  <jamatos@fep.up.pt>
12767
12768         * buffer.h (docbookHandleCaption):
12769         * buffer.C (docbookHandleCaption): removed unused function.
12770         (makeDocBookFile): moved docbook supported version to v4.1.
12771
12772 2001-10-24  José Matos  <jamatos@fep.up.pt>
12773
12774         * tabular.h:
12775         * tabular.C (docbookRow): new function to export docbook code of a row.
12776         (DocBook): now honors the longtable flags.
12777
12778 2001-10-23  José Matos  <jamatos@fep.up.pt>
12779
12780         * LaTeXFeatures.h:
12781         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12782         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12783
12784         * buffer.C (makeLinuxDocFile):
12785         (makeDocBookFile): reworked the preamble, more clean, and with
12786         support for lyx defined entities. Changed the document declaration
12787         to be more XML friendly.
12788
12789         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12790         if we need to output XML that should be done with a filter.
12791
12792 2001-10-22  Juergen Vigna  <jug@sad.it>
12793
12794         * sp_pspell.h (class PSpell): add alive function needed in the
12795         controller to see if the spellchecker could be started.
12796
12797 2001-10-22  Juergen Vigna  <jug@sad.it>
12798
12799         * buffer.C (insertStringAsLines): modify the font for inserting
12800         chars in certain conditions by calling checkInsertChar(font).
12801
12802 2001-10-19  Juergen Vigna  <jug@sad.it>
12803
12804         * text.C (workWidth): use getRow instead of wrong algorithm.
12805         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12806
12807 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * lyxserver.h:
12810         * lyxserver.C:
12811         * lyx_main.h:
12812         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12813
12814 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * text.C (workWidth): do not search for the exact row when
12817         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12818         optimization for big documents.
12819
12820 2001-10-18  Juergen Vigna  <jug@sad.it>
12821
12822         * text.C (workWidth): new function with added Inset * parameter.
12823
12824 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12827
12828         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12829         change return type of getColumnNearX.
12830
12831
12832         * text.C (changeRegionCase): use uppercase/lowercase instead of
12833         toupper/tolower.
12834         (leftMargin):
12835         (rightMargin): simplify code by factoring out the uses of
12836         textclasslist.
12837         (labelFill):
12838         (numberOfHfills):
12839         (setHeightOfRow):
12840         (appendParagraph): use Paragraph::size_type
12841
12842 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * vspace.C (asLatexString): add a missing break
12845
12846 2001-10-15  Herbert Voss  <voss@perce.de>
12847
12848         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12849
12850 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12853         is not available.
12854
12855 2001-10-10  André Pönitz <poenitz@gmx.net>
12856
12857         * lyxfunc.C: removed greek_kb_flag.
12858
12859 2001-10-10  Herbert Voss  <voss@perce.de>
12860
12861         * lyx_main.C: delete global string help_lyxdir.
12862
12863 2001-10-09  Herbert Voss  <voss@perce.de>
12864
12865         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12866
12867         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12868
12869         * lyx_main.C: added global string help_lyxdir.
12870
12871         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12872
12873 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12874
12875         * lyxrc.C (set_font_norm_type): support iso8859-4
12876
12877 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12878
12879         * LaTeX.C (deplog): add another regex for MikTeX
12880
12881 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12882
12883         * lyxrc.C (set_font_norm_type): support iso8859-3
12884
12885 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12886
12887         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12888
12889         * LaTeXFeatures.C: remove special case of french and index
12890
12891         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12892         before \begin{document}). This solves several incompatibilities.
12893
12894 2001-10-03  Garst Reese  <reese@isn.net>
12895
12896         * lyx_cb.C: change CheckTex error msg.
12897
12898 2001-10-03  José Matos  <jamatos@fep.up.pt>
12899
12900         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12901
12902 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * .cvsignore: update
12905
12906         * lyx_main.C (commandLineVersionInfo): use new style version info.
12907
12908         * buffer.C (writeFile):
12909         (makeLaTeXFile):
12910         (makeLinuxDocFile):
12911         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12912
12913         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12914
12915         * version.h: update to use stuff in version.C
12916
12917         * version.C.in: new file. Contains version information determined
12918         at compile time. This is a merging of version.h and
12919         version_info.h.in.
12920
12921 2001-10-03  Juergen Vigna  <jug@sad.it>
12922
12923         * BufferView_pimpl.C (update): don't change "dirty" status in
12924         updateInset call.
12925
12926 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12927
12928         * WorkArea.C (c-tor): re-position version string slightly.
12929
12930 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12931
12932         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12933         revert to previous code.
12934
12935         WorkArea.[Ch]: (show, destroySplash): methods removed.
12936
12937         WorkArea.C: rework code so that it's an amalgam of the codes before and
12938         after the splash screen was moved to WorkArea.
12939
12940 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * lyxrc.C (read):
12943         * vspace.C (inPixels):
12944         (lyx_advance):
12945         * kbmap.C (bind):
12946         * buffer.C (insertStringAsLines):
12947         (asciiParagraph): fix types to be large enough
12948
12949         * lyxlex_pimpl.h: change member status from short to int
12950
12951         * layout.h: fix type of endlabeltype
12952
12953         * kbmap.C (bind):
12954         * kbsequence.C (parse): change return type to string::size_type
12955
12956         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12957         variable
12958
12959         * Bullet.C (bulletSize):
12960         (bulletEntry): do not use short ints as parameters
12961
12962         * BufferView2.C (insertLyXFile): change a char to an int.
12963
12964         * WorkArea.C (WorkArea): remove unneeded floats in computation
12965
12966 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12969
12970         * paragraph.C (asString): Do not ignore newline/hfill chars when
12971         copying to the clipboard.
12972
12973 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12976         after a multi-line inset.
12977
12978 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12979
12980         * paragraph.C (validate): Set NeedLyXFootnoteCode
12981
12982 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12983
12984         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12985         and decrease-error to decrease.
12986
12987 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12990         it more readable (should be equivalent)
12991
12992 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12993
12994         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12995
12996 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12999         of a cursor (row, etc.) after a character has been deleted
13000         (deleteEmptyParagraphMechanism): call the method above on _all_
13001         cursors held by the LyXText when a double space has been
13002         detected/deleted.
13003
13004 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13007         pixmap.
13008         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13009
13010         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13011         background. Use greyOut() and the new show() methods to toggle between
13012         the foreground and background. Add code to remove the splash after
13013         its initial showing.
13014
13015         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13016         (create_forms): no longer call Dialogs::showSplash.
13017
13018 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13019
13020         * .cvsignore: add version_info.h
13021
13022 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * version_info.h.in: new file
13025
13026         * Makefile.am: add version_info.h.in
13027
13028         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13029         version_info.h instead of VERSION_INFO
13030
13031 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13032
13033         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13034         The ERT inset now returns string().
13035
13036 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13037
13038         * lyxtext.h, text.C (selectNextWord): renamed as
13039         selectNextWordToSpellcheck.
13040
13041         * text.C (selectNextWordToSpellcheck): Modified to not select
13042         words inside an ERT inset.
13043
13044 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * lyx_cb.C (MenuLayoutSave): change a bit the question
13047
13048         * sp_base.h: include <sys/types.h>
13049
13050 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13053
13054 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13055
13056         * several files: fix typos in user-visible strings
13057
13058 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13059
13060         * text2.C (pasteSelection): do not set the selection, since it
13061         will be cleared later. Actually, the intent was to fix the way the
13062         selection was set, but I figured rmoving the code was just as good.
13063
13064 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * FontLoader.C (available): Check if font is available without
13067         loading the font.
13068
13069 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13070
13071         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13072
13073 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13074
13075         * lyxrc.[Ch]: added display_graphics variable and associated code.
13076
13077 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13078
13079         * bufferparams.C (hasClassDefaults): new method. Returns true if
13080         the buffer parameters correspond to known class defaults
13081
13082 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * XFormsView.C (show): set minimum size to the main window.
13085
13086 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13087
13088         * text2.C (copySelection):
13089         (cutSelection):
13090         * lyxfind.C (LyXReplace):
13091         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13092         LyXText::selectionAsString.
13093
13094         * paragraph.C (asString): add "label" argument to the second form
13095
13096         * text2.C (selectionAsString): add "label" argument and pass it to
13097         Paragraph::asString.
13098
13099 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * lyx_main.C (commandLineHelp): remove version information
13102
13103 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13104
13105         * lyx_main.C: add -version commandline option
13106
13107 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * paragraph.h: make the optional constructor arg required instead.
13110         some modifications to other files because of this.
13111
13112         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13113
13114         * lyxserver.C (C_LyXComm_callback): make it static
13115
13116         * lyx_main.C (error_handler): make it static
13117
13118         * lyx_gui.C (LyX_XErrHandler): make it static
13119
13120         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13121
13122         * WorkArea.C: make the extern "C" methods static.
13123
13124         * Makefile.am (lyx_LDADD): simplify
13125
13126 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13129         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13130
13131         * LyXAction.C (init):
13132         * lyxfunc.C (dispatch): associated code removal.
13133
13134 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * lyxfont.h (isSymbolFont): shut off warning
13137
13138         * text.C (setHeightOfRow):
13139         (getVisibleRow): fix crash with empty paragraphs which have a
13140         bottom line
13141
13142 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13143
13144         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13145         code.
13146
13147 2001-09-04  José Matos  <jamatos@fep.up.pt>
13148         * buffer.C
13149         * buffer.h
13150         * tabular.C (docbook): rename docBook method to docbook.
13151
13152 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * Makefile.am: add dependencies to main.o.
13155
13156 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13157
13158         * FontLoader.C (available): Return false if !lyxrc.use_gui
13159
13160 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13161
13162         * FontInfo.C (query):
13163         * converter.C (view):
13164         * importer.C (Import):
13165         * exporter.C (Export): Can not -> cannot.
13166
13167 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView_pimpl.C: allow to create index inset even if
13170           string is empty
13171
13172 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * buffer.C (getLists): replace boost::tie code with an explicit pair
13175         as boost::tie can break some compilers.
13176
13177         * iterators.h: Added a std:: declaration to the return type of
13178         ParIterator::size.
13179
13180 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13183           case.
13184
13185 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * iterators.[Ch]: New files. Provide paragraph iterators.
13188
13189         * buffer.C (changeLanguage): Use paragraph iterators.
13190         (isMultiLingual): ditto
13191
13192         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13193
13194 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13195
13196         * FontLoader.C: Support for cmr font.
13197
13198 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13199
13200         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13201         (available): New method.
13202
13203         * FontInfo.C (getFontname): Use scalable fonts even when
13204         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13205         found.
13206
13207 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * converter.C (Formats::view): reverted! Incorrect fix.
13210
13211 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * converter.C (Formats::view): only output the -paper option
13214         if the dvi viewer is xdvi, thereby fixing bug #233429.
13215
13216 2001-08-23  Herbert Voss  <voss@perce>
13217
13218         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13219
13220 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * Spacing.h (Spacing): Set space to Default on in the default
13223         constructor.
13224
13225 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * vc-backend.h (RCS::versionString): add RCS to version
13228         (CVS::versionString): add CVS to version
13229
13230         * vc-backend.C (scanMaster): do not add CVS to version.
13231         (scanMaster): do not add RCS to version
13232
13233         * lyxvc.C (versionString): new method
13234
13235         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13236
13237 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * Spacing.C (set): initialize fval
13240
13241 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13242
13243         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13244         " or \.
13245
13246 2001-08-16  Juergen Vigna  <jug@sad.it>
13247
13248         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13249
13250 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13251
13252         * BufferView_pimpl.C:
13253         * figureForm.C:
13254         * lyxtext.h:
13255         * text2.C: setParagraph takes linespacing now
13256
13257 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * LyxAction.C: add internal LFUN_CITATION_INSERT
13260
13261         * LyXView.C: actually apply fix
13262
13263         * bufferlist.C: fix open non-existent file
13264
13265         * lyxfind.C: fix indentation
13266
13267         * lyxfunc.C: remove unneeded assert, fix typo
13268
13269 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * MenuBackend.C: use "Floatname List"
13272
13273 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13276         when converting LaTeX layout to insetERT.
13277         Generate a non-collapsed float when reading old float
13278
13279 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13280
13281         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13282         ERT insets.
13283
13284 2001-08-13  Juergen Vigna  <jug@sad.it>
13285
13286         * text.C (fill): return 0 instead of 20 as this seems to be the more
13287         correct value.
13288
13289 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13290
13291         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13292         lyxrc.font_norm.
13293
13294 2001-08-13  Juergen Vigna  <jug@sad.it>
13295
13296         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13297         casesensitive off.
13298         (SearchBackward): comment out the unlocking of the inset_owner this
13299         should not be needed!
13300
13301 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13302
13303         * Many files: Remove inherit_language, and add latex_language
13304
13305         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13306         collapsible insets.
13307
13308 2001-08-10  Juergen Vigna  <jug@sad.it>
13309
13310         * text.C (prepareToPrint): fixed hfill-width in draw!
13311
13312         * BufferView2.C (selectLastWord): save the selection cursor as this
13313         now is cleared in the function LyXText::clearSelection!
13314
13315 2001-08-08  Juergen Vigna  <jug@sad.it>
13316
13317         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13318         BACKSPACE type functions.
13319
13320         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13321         is only cutted from the document but not put in the cut-buffer, where
13322         still the old stuff should be.
13323
13324         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13325
13326         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13327
13328         * tabular.C (SetWidthOfCell): fixed special case where the width
13329         was not updated!
13330         (LeftLine): handle '|' in align_special.
13331         (RightLine): ditto
13332         (LeftAlreadyDrawed): ditto
13333         (SetWidthOfCell): ditto
13334
13335 2001-08-07  Juergen Vigna  <jug@sad.it>
13336
13337         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13338
13339 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13342         * lyxlex.[hC]: ditto
13343
13344 2001-08-06  Juergen Vigna  <jug@sad.it>
13345
13346         * text.C (getVisibleRow): fix up row clearing a bit.
13347
13348 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * minibuffer.C: make sure the X server sees the changes in the input.
13351
13352 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * paragraph.C (getFont): split into...
13355         (getLabelFont): this
13356         (getLayoutFont): and this
13357         * paragraph_pimpl.C (realizeFont): calling this
13358
13359         * text2.C (getFont): split into...
13360         (getLayoutFont): this
13361         (getLabelFont): and this
13362         (realizeFont): all three calling this
13363
13364         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13365         files where used.
13366
13367 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13368
13369         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13370
13371 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13372
13373         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13374         layouts from the Quote inset insertion.
13375
13376 2001-08-03  Juergen Vigna  <jug@sad.it>
13377
13378         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13379
13380         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13381         only if status not is already CHANGED_IN_DRAW (second level).
13382
13383         * text.C (draw): don't set the need_break_row when inside an
13384         InsetText LyXText.
13385
13386 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * buffer.C (parseSingleLyXformat2Token): handle more latex
13389         conversion cases.
13390
13391         * bufferview_funcs.[hC]: change function names to
13392         begin with small char, adjust other files.
13393
13394 2001-08-02  André Pönitz <poenitz@gmx.net>
13395
13396         * lyxfunc.C:
13397         BufferView_pimpl.C: remove broken special code for math-greek
13398
13399 2001-08-02  Juergen Vigna  <jug@sad.it>
13400
13401         * BufferView_pimpl.C (update): redone this function so that we
13402         update the text again if there was a CHANGE_IN_DRAW.
13403
13404         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13405         (drawFromTo): added a new internal bool which is used by draw() and
13406         redraw() function.
13407         (general): some cursor drawing problems fixed.
13408
13409 2001-08-01  Juergen Vigna  <jug@sad.it>
13410
13411         * lyxfind.C (LyXFind): fixed
13412         (SearchForward): ditto
13413         (SearchBackward): ditto
13414
13415         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13416         spurius drawing of the cursor in the main area.
13417
13418         * text2.C (status): small fix which could lead to a segfault!
13419         (clearSelection): remove unneeded BufferView param.
13420
13421 2001-08-01  André Pönitz <poenitz@gmx.net>
13422
13423         * lyxfunc.C: small change due to changed mathed interface
13424
13425 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13428
13429 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * lyxfunc.c: fail gracefully if file doesn't exist
13432
13433         * LyXSendto.C:
13434         * buffer.C:
13435         * lyxfunc.C:
13436         * BufferView_pimpl.C: IsDirWriteable() proto changed
13437
13438         * LyXView.C: fix updateWindowTitle() to store the last title
13439
13440 2001-07-31  Juergen Vigna  <jug@sad.it>
13441
13442         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13443         the font (wrong since using of Paragraph::highestFontInRange).
13444
13445         * paragraph.C (highestFontInRange): added a default_size parameter.
13446
13447         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13448         (setHeightOfRow): reformat
13449
13450 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * converter.[hC] + affected files: move to (inital-char)lowercase
13453         function names.
13454
13455         * ParagraphParameters.C (ParagraphParameters): remove commented code
13456
13457         * PainterBase.[Ch]: remove commented code
13458
13459         * LaTeXFeatures.h: add "bool floats" for float.sty
13460
13461         * LaTeXFeatures.C (LaTeXFeatures): init floats
13462         (require): handle float
13463         (getPackages): do it with floats
13464
13465 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * BufferView_pimpl.C (Dispatch): improve handling of
13468         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13469
13470         * commandtags.h: #include lyxfont.h here temporarily to avoid
13471         keybinding bug.
13472
13473         * bufferlist.h: include LString.h here.
13474
13475 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * text2.C (getStringToIndex): new method.
13478
13479 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13480
13481         * *: Reduced header file dependencies all over.
13482
13483 2001-07-30  Baruch Even  <baruch@lyx.org>
13484
13485         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13486
13487 2001-07-29  Baruch Even  <baruch@lyx.org>
13488
13489         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13490
13491 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * ParameterStruct.h (endif): add a default constructor to make
13494         sure that all variables is initialized.
13495
13496         * ParagraphParameters.C (ParagraphParameters): adjust
13497
13498 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13501         index; also, check that there is something to index, and that it
13502         does not span over several paragraphs.
13503         (doubleClick): use WHOLE_WORD_STRICT for double click.
13504
13505         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13506
13507         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13508         scheme.
13509
13510 2001-07-26  Baruch Even  <baruch@lyx.org>
13511
13512         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13513         an InsetFig figure, backwards compatible reading of old figure code.
13514
13515 2001-07-27  Juergen Vigna  <jug@sad.it>
13516
13517         * text2.C: font.realize function adaption.
13518
13519         * text.C (draw): add a warnings lyxerr text if needed.
13520
13521         * layout.C: font.realize function adaption.
13522
13523         * language.C: add inherit_language and implement it's handlings
13524
13525         * bufferview_funcs.C (StyleReset): remove language parameter from
13526         font creation (should be language_inherit now).
13527
13528         * bufferparams.C (writeFile): handle ignore_language.
13529
13530         * paragraph.C (getFontSettings): the language has to be resolved
13531         otherwise we have problems in LyXFont!
13532
13533         * lyxfont.C (lyxWriteChanges): added document_language parameter
13534         (update): removed unneeded language parameter
13535
13536         * paragraph.C (validate): fixed wrong output of color-package when
13537         using interface colors for certain fonts in certain environments,
13538         which should not seen as that on the final output.
13539
13540 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * BufferView_pimpl.C:
13543         * Thesaurus.h:
13544         * Thesaurus.C:
13545         * Makefile.am:
13546         * commandtags.h:
13547         * LyXAction.C: add thesaurus support
13548
13549         * lyxfind.h:
13550         * lyxfind.C: add "once" parameter, for thesaurus, to not
13551           move to the next match
13552
13553 2001-07-26  Juergen Vigna  <jug@sad.it>
13554
13555         * lyxfont.C (realize): honor ignore_language too!
13556         (resolved): ditto.
13557
13558         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13559
13560         * text.C (draw): one place more for ignore_language to not draw
13561         itself!
13562
13563 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13564
13565         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13566
13567 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13570         the minipage conversion problem.
13571
13572 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13575         insert an inset.
13576
13577 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * BufferView.h: don't forward declare WorkArea
13580
13581         * BufferView.C: don't include WorkArea.h
13582
13583 2001-07-25  André Pönitz <poenitz@gmx.net>
13584
13585         * commandtags.h:
13586         * LyXAction.C:
13587         * lyxfunc.C:  new LFUN 'math-space'
13588
13589         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13590
13591 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * text2.C (toggleInset): call open/close
13594
13595 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * lyxfunc.C (dispatch): add debug for the disabled case
13598
13599         * font.C (buttonText): make similar to rectText
13600
13601         * buffer.C (readInset): comment out parsing of insetlist and
13602         insttheorem
13603
13604         * PainterBase.C (rectText): small correction
13605
13606         * BufferView_pimpl.C: comment out insettheorem and insetlist
13607         * LyXAction.C: ditto
13608         * commandtags.h: ditto
13609
13610 2001-07-24  Juergen Vigna  <jug@sad.it>
13611
13612         * text.C (draw): honor the ignore_language.
13613
13614         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13615
13616 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13619         char inset.
13620
13621 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13622
13623         * lyxtext.h: remove unused (and unimplemented) methods
13624
13625 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13626
13627         * text.C (getVisibleRow): honor background color
13628
13629         * PainterBase.h:
13630         * Painter.h: remove default color argument for fillRectangle
13631
13632         * text.C (backgroundColor): new method
13633
13634 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13635
13636         * text.C (getVisibleRow): adjust
13637
13638         * font.[Ch] (rectText): new method, metrics
13639         (buttonText): new method, metrics
13640
13641         * PainterBase.[hC]: make rectText and buttonText always draw and take
13642         fewer paramteres.
13643
13644 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13645
13646         * ToolbarDefaults.C (read):
13647         * MenuBackend.C (read): allow escaping in all strings
13648
13649         * BufferView_pimpl.C (insertAndEditInset): new method.
13650         (Dispatch): use insertAndEditInset whenever appropriate.
13651
13652         * BufferView_pimpl.C (insertNote): removed
13653
13654         * BufferView_pimpl.C (smartQuote): new method, moved from
13655         BufferView; if an insetquote cannot be inserted, insert a '"'
13656         character instead.
13657
13658         * BufferView2.C: remove insertCorrectQuote();
13659
13660         * lyxfunc.C (getStatus): Add support for all remaingin
13661         inset-insert lfuns.
13662
13663         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13664
13665         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13666         command (necessary to pass " as parameter of self-insert.
13667
13668         * text.C (selectWordWhenUnderCursor):
13669         (selectWord): add word_location parameter
13670         (selectWordWhenUnderCursor): same + remove special code for word
13671         boundary.
13672         (selectNextWord): use kind() to guess type of insetspecialchar,
13673         not latex().
13674
13675         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13676         (insertErtContents): create ert insets as collapsed.
13677         (readInset): better compatibility code for Info inset.
13678
13679 2001-07-20  Juergen Vigna  <jug@sad.it>
13680
13681         * lyxfunc.C (dispatch): use always LyXFind now!
13682
13683         * text2.C (init): add a reinit flag so that the LyXText can be
13684         reinited instead of deleted and reallocated (used in InsetText).
13685
13686         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13687
13688         * text.C: ditto
13689
13690         * text2.C: ditto
13691
13692 2001-07-18  Juergen Vigna  <jug@sad.it>
13693
13694         * text.C (selectNextWord): handle insets inside inset by calling
13695         always the bv->text functions so that we can go up the_locking_inset!
13696
13697         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13698         in strange locations when inside an inset!
13699
13700         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13701         handling to include insets.
13702
13703         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13704
13705 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * LyXAction.C (init):
13708         * commandtags.h:
13709         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13710         LIGATURE_BREAK, since the name is so stupid.
13711
13712 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13713
13714         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13715         InsetInfos.
13716
13717         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13718
13719         * sp_form.[Ch]: remove.
13720
13721         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13722
13723         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13724         InsetInfo.
13725
13726         * src/buffer.C (readInset): ditto.
13727
13728 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13729
13730         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13731         menuSeparator(), endOfSentenceDot(), ldots() and
13732         hyphenationPoint(), which are therefore removed.
13733         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13734
13735         * LyXAction.C (init):
13736         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13737
13738         * paragraph.C (getWord): removed.
13739
13740         * BufferView_pimpl.C (Dispatch): use last word or selection for
13741         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13742
13743         * lyx_main.C (queryUserLyXDir): do not ask before creating
13744         user_dir, except if it has been named explicitely.
13745
13746 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13747
13748         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13749         a document of zero size.
13750
13751 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13754         approriately in the c-tor and in require().
13755         (getPackages): output the appropriate LaTeX for natbib support.
13756
13757         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13758         variables "use_natbib" and "use_numerical_citations" when reading the
13759         LyX file.
13760         (readInset): read the various natbib cite commands.
13761         (validate): white-space change.
13762
13763         * bufferparams.[Ch]: new variables "bool use_natbib" and
13764         "bool use_numerical_citations".
13765         (writeFile): output them in the LyX file.
13766
13767 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13768
13769         * lyxfunc.C (getStatus): add support for all the inset insertion
13770         commands.
13771
13772         * text2.C (insertInset):
13773         * paragraph.C (insetAllowed):
13774         * BufferView_pimpl.C (insertInset): update to take in account the
13775         renaming of insertInsetAllowed
13776
13777         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13778
13779         * text2.C (getInset): new method. returns inset at cursor position.
13780
13781         * BufferView_pimpl.C (Dispatch): changes because of this.
13782
13783         * LyXAction.C (init): rename open-stuff to inset-toggle.
13784
13785         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13786
13787         * text2.C (toggleInset): renamed from openStuff; use
13788         Inset::open().
13789
13790 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13791
13792         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13793
13794         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13795
13796 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * buffer.C (readLyXformat2): Add filename to the error dialog
13799
13800 2001-07-18  Juergen Vigna  <jug@sad.it>
13801
13802         * tabular.C (GetCellNumber): put an assert here instead of the check!
13803
13804 2001-07-17  Juergen Vigna  <jug@sad.it>
13805
13806         * BufferView_pimpl.C (toggleSelection): adapted too.
13807
13808         * text.C (selectNextWord): adapted for use with insets.
13809         (selectSelectedWord): ditto
13810
13811 2001-07-17  Juergen Vigna  <jug@sad.it>
13812
13813         * sp_spell.C (PSpell): fix initialitation order.
13814
13815 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * paragraph.C: spacing
13818
13819 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13820
13821         * sp_spell.C: repair language selection for pspell
13822
13823 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * lyxfunc.h: change more methods to begin with lower char.
13826
13827 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13828
13829         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13830         for unknown layouts.
13831
13832 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13833
13834         * buffer.C (readLyXformat2): Generate an error dialog if there are
13835         unknown layouts.
13836
13837 2001-07-16  Juergen Vigna  <jug@sad.it>
13838
13839         * sp_spell.C: always compile ISpell part.
13840
13841         * lyxrc.C: added use_pspell entry and it's handling.
13842
13843 2001-07-13  Juergen Vigna  <jug@sad.it>
13844
13845         * sp_spell.C: removed double includes.
13846
13847 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13848
13849         Consistent use of Lsstream.h:
13850         * Lsstream.h: added using std::stringstream for consistencies sake.
13851
13852         * buffer.C: removed using std::stringstream
13853
13854         * lyxfont.C (stateText):
13855         * paragraph.C (asString):
13856         * text.C (selectNextWord, selectSelectedWord):
13857         * text2.C (setCounter):
13858         * vspace.C (asString, asLatexString):
13859         std::ostringstream -> ostringstream.
13860
13861 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13862
13863         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13864         * commandtags.h: add LFUN_HELP_ABOUTLYX
13865         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13866
13867 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13868
13869         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13870         cursorToggle()
13871         * lyx_gui_misc.C: remove spellchecker
13872         * lyxfunc.C: showSpellchecker
13873         * sp_base.h: added
13874         * sp_ispell.h: added
13875         * sp_pspell.h: added
13876         * sp_spell.C: added
13877         * sp_form.[Ch]: removed
13878         * spellchecker.[Ch]: removed
13879
13880 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13881
13882         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13883         is set.
13884         (simpleTeXSpecialChars): Simply print the input character without
13885         any special translation if pass_thru is set.
13886
13887         * layout.h: Added bool pass_thru to layout class for being able to
13888         implement pass through of a paragraph for Literate Programming.
13889
13890         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13891         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13892         * layout.C (Read): add "passthru" to list of layout tags and add
13893         code to set the pass_thru boolean when it is read.
13894
13895 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13896
13897         * trans_decl.h: remove allowed from KmodInfo
13898
13899         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13900         remove allowed code
13901         (Load): adjust
13902
13903         * paragraph_pimpl.C (erase): use boost::prior
13904
13905         * Painter.C (text): use data() instead of c_str() when length is
13906         also provided.
13907         * WorkArea.C (putClipboard): ditto
13908         * font.h (width): ditto
13909
13910         * BufferView2.C: use it-> instead of (*it). for iterators
13911         * texrow.C: ditto
13912         * paragraph_pimpl.C: ditto
13913         * paragraph.C: ditto
13914         * minibuffer.C: ditto
13915         * language.C: ditto
13916         * kbmap.C: ditto
13917         * encoding.C: ditto
13918         * counters.C: ditto
13919         * converter.C: ditto
13920         * chset.C: ditto
13921         * Variables.C: ditto
13922         * TextCache.C: ditto
13923         * MenuBackend.C: ditto
13924         * LyXAction.C: ditto
13925         * LColor.C: ditto
13926         * FloatList.C: ditto
13927         * DepTable.C: ditto
13928         * ColorHandler.C (LyXColorHandler): ditto
13929
13930 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13931
13932         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13933
13934         * text2.C (openStuff): reintroduce this method (which had been
13935         nuked in NEW_INSETS frenzy).
13936
13937         * lyxfunc.C (Dispatch): when an action has not been handled, use
13938         its name in the error message, not its number.
13939
13940         * paragraph.C (inInset): change method name to begin with lowercase.
13941
13942         * undo_funcs.C:
13943         * text2.C: updates because of this.
13944
13945 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * ToolbarDefaults.C (add): add spaces in error message
13948
13949 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13952         (readLyXformat2): rename return_par to first_par, use lyxlex's
13953         pushToken and remove the manual push handling.
13954         (parseSingleLyXformat2Token): add another ert comp. variable:
13955         in_tabular, rename return_par to first_par. handle newlines better
13956
13957 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13958
13959         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13960
13961 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * text2.C (getParFromID): removed
13964
13965         * buffer.C (getParFromID): new method moved form lyxtext.
13966         * BufferView2.C (insertErrors): adjust
13967         (setCursorFromRow): adjust
13968         * BufferView_pimpl.C (restorePosition): adjust
13969         * lyxfunc.C (Dispatch): adjust
13970         * undo_funcs.C (textUndo): adjust
13971         (textRedo): adjust
13972         (textHandleUndo): adjust
13973         (textHandleUndo): adjust
13974
13975 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * buffer.C: up' the LYX_FORMAT
13978
13979         * lyxfont.h: turn NO_LATEX on as default
13980
13981         * buffer.C (insertErtContents): new methods of tex style compability.
13982         (parseSingleLyXformat2Token): use it several places.
13983         * tabular.C (OldFormatRead): and here
13984
13985 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13986
13987         * text2.C: remove some commented code.
13988         reindent file.
13989
13990         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13991         * trans.C: changes because of the above.
13992
13993 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * text2.C (setCounter): Fix counters bug with bibliography layout.
13996
13997 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13998
13999         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14000         own member functions
14001         (simpleTeXSpecialChars): ditto
14002
14003 2001-07-06  Juergen Vigna  <jug@sad.it>
14004
14005         * a lot of files: changed the access to LyXText::status and the
14006         call of undo-functions.
14007
14008         * undo.[Ch]: added a inset_id to the undo informations.
14009
14010         * undo_funcs.[Ch]: added and moved here all undo functions.
14011
14012         * lyxtext.h: give the status enum a weight, made status_ a private
14013         variable and made accessor functions for it, removed the whole bunch
14014         of undo-functions as they are now in their own file, make some
14015         functions publically available. Added function ownerParagraph with
14016         int parameter.
14017
14018         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14019         made InInset() a const function, added getParFromID() function.
14020
14021         * buffer.[Ch]: added const version for inset_iterator functions,
14022         added getInsetFromID() function.
14023
14024         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14025         changed undo functions for new version.
14026
14027 2001-07-05  Juergen Vigna  <jug@sad.it>
14028
14029         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14030         unknow mechanism does not call the proper constructor but only this
14031         one also if I request the other!?
14032
14033 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14034
14035         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14036
14037         * text2.C (LyXText): use initialization lists.
14038
14039         * lyxtext.h (Selection): initialize set_ and mark_
14040         (init): remove method
14041
14042 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14043
14044         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14045
14046 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * screen.[Ch]: change method names to begin with lowercase
14049
14050         * BufferView_pimpl.C (updateScrollbar): simplify further and
14051         hopefully make it a bit faster.
14052
14053 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14056         calling directly xforms functions.
14057
14058         * Painter.C (Painter):
14059         * lyx_cb.C (MenuWrite):
14060         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14061         fl_display.
14062
14063         * lyx_gui.C: remove bogus guiruntime extern declaration.
14064
14065 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14068         in NEW_INSETS
14069         (redoDrawingOfParagraph): ditto
14070         (redoParagraphs): ditto
14071         (cutSelection): don't create a object for CutAndPaste use the
14072         static method directly
14073         (pasteSelection): ditto
14074
14075         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14076         LyXview (+ rename)
14077
14078 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * modifications to some other files because of this.
14081
14082         * Makefile.am (lyx_SOURCES): add XFormsView
14083
14084         * XFormsView.[Ch]: new files
14085
14086         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14087         the main window. Move the gui dependent stuff to XFormsView
14088
14089 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14090
14091         * tabular.C (GetCellInset): update cur_cell also in the row/col
14092         version of this function.
14093
14094         * lyxfunc.C: no need to include figure_form.h here.
14095
14096         * FontLoader.h:
14097         * lyxfunc.h:
14098         * lyxscreen.h:
14099         * text2.C:
14100         * lyxvc.C: no need to include forms.h here.
14101
14102 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14105
14106         * lyxfunc.C (Dispatch):
14107         * Spacing.C (set):
14108         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14109         constructor argument.
14110
14111 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14112
14113         * paragraph.C (Paragraph): dont't clear, and just set layout.
14114         (makeSameLayout): use params's copy contructor.
14115
14116         * ParagraphParameters.[Ch] (makeSame): delete method
14117
14118 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * Variables.[Ch]: fix indentation, rename set to isSet
14121
14122 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * lyxfunc.C (Dispatch): fix typo
14125
14126 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14129         upper_bound.
14130
14131         * bufferlist.C: include assert.h for emergencyWrite().
14132
14133 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14136           give up at last (bug #425202) !
14137
14138 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * lyx_gui_misc.C:
14141         * sp_form.h:
14142         * sp_form.C:
14143         * spellchecker.h:
14144         * spellchecker.C: strip spellchecker options and bring up
14145           preferences tab instead
14146
14147 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14150         the istringstream constructor
14151
14152 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * paragraph.C (getLayout): fix return value
14155
14156         * paragraph.h: do not declare getLayout as inline.
14157
14158         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14159
14160 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * lyxcursor.h (operator<): new func
14163         (operator>): new func
14164         (operator>=): new func
14165         (operator<=): new func
14166
14167         * text.C (changeCase): use selection.start and selection.end
14168         (changeRegionCase): require from to be <= to. Require par to be a
14169         valid paragraph.
14170
14171         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14172
14173 2001-06-27  Juergen Vigna  <jug@sad.it>
14174
14175         * text.C (cursorLeftOneWord): changed to return the cursor and added
14176         overlay with BufferView * parameter which calls this one.
14177         (getWord): added
14178         (selectWord): use new getWord function.
14179         (changeCase): renamed from changeWordCase as and extended to work
14180         also on selections.
14181
14182         * lyxtext.h: added enum word_location
14183
14184         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14185         changeCase as this operates now also on selections.
14186
14187 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14188
14189         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14190
14191         * many files: send debug output to Debug::INFO instead of
14192         Debug::ANY.
14193
14194         * converter.C (View):
14195         (Convert):
14196         (Move): send debug output to Debug::FILES instead of console.
14197
14198 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14199
14200         * lyxfunc.C (getStatus): use func_status
14201
14202         * func_status.h: new header, describing the results of
14203         LyXFunc::getStatus;
14204
14205         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14206         LFUN_MATH_HALIGN.
14207
14208 2001-06-25  The LyX Project  <jug@sad.it>
14209
14210         * buffer.C (sgmlOpenTag):
14211         (sgmlCloseTag):
14212         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14213
14214 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * text2.C: remove some dead code
14217
14218         * tabular.C (GetCellInset): store the last cell checked (gotten)
14219
14220         * tabular.h: add the helper for the speedup
14221
14222         * lyxtext.h: remove some dead code
14223
14224 2001-06-26  The LyX Project  <Asger>
14225
14226         * paragraph.C: Change export to LaTeX of alignment to
14227         \begin{center} and family for better roundtrip work with reLyX.
14228
14229         * Tune the math drawing a bit.
14230
14231 2001-06-25  The LyX Project  <Asger>
14232
14233         * LColor.C (LColor): New color for math background. New color
14234         for buttons.
14235
14236 2001-06-25  The LyX Project  <jug@sad.it>
14237
14238         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14239
14240         * lyxfunc.C (Open):
14241         * bufferlist.C (newFile): do not restrict to files ending with
14242         .lyx
14243
14244         * BufferView_pimpl.C (MenuInsertLyXFile):
14245
14246 2001-06-24  The LyX Project  <jug@sad.it>
14247
14248         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14249         of compare_no_case
14250
14251 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * lyxtext.h: rename most methods to begin with a small char.
14254         Lots of changes because of this.
14255
14256         * paragraph.C (Paragraph): do not call fitToSize
14257         (erase): call Pimpl::erase
14258         (insertChar): call Pimpl::insertChar
14259         (insertInset): call Pipl::insertInset
14260         (breakParagraph): do not call fitToSize
14261         (breakParagraphConservative): do not call fitToSize
14262         (fitToSize): remove method
14263
14264         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14265
14266 2001-06-24  The LyX Project  <Asger>
14267
14268         * Fix Qt compilation^2
14269
14270 2001-06-24  The LyX Project  <jug@sad.it>
14271
14272         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14273         depthHook(getDepth()-1).
14274
14275         * paragraph.h:
14276         * ParagraphParameters.h:
14277         * ParameterStruct.h: change type of depth to unsigned int ==
14278         depth_type. Many adaptations to other files before of that.
14279
14280 2001-06-24  The LyX Project  <Asger>
14281
14282         * Fix Qt compilation.
14283
14284 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * paragraph.h: renamed several methods to begin with small letter.
14287         several changes to many parts of the code because of this.
14288
14289 2001-06-23  The LyX Project  <jug@sad.it>
14290
14291         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14292         rewritten to discard all double spaces when KeepEmpty is off
14293         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14294         to only handle newlines but not fiddle with spaces and friends.
14295
14296         * lyxfunc.C (MenuNew): when doing 'new from template', use
14297         template_path as default directory
14298
14299 2001-06-23  The LyX Project  <Asger>
14300
14301         * Clean-up of header file includes all over
14302         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14303
14304 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * paragraph.h: renamed from lyxparagraph.h
14307
14308 2001-06-23  Asger  <lyx@violet.home.sad.it>
14309
14310         * Buffer.h: Removed Buffer::resize
14311         * BufferList.h: Removed BufferList::resize
14312         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14313         the document lazily when we change the width, or the font settings.
14314
14315 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14316
14317         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14318
14319 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14320
14321         * buffer.h: remove out of date comment
14322
14323 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * lyxscreen.h:
14326         * screen.C: fix "theoretical" GC leak
14327
14328 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * LaTeX.C (scanAuxFile):
14331         (deplog): remove trailing \r when reading stream (useful under
14332         win32)
14333
14334 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14337         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14338         and BufferView::theLockingInset(Inset*), so should use them and not
14339         access bv_->text->the_locking_inset directly.
14340
14341         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14342
14343 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14344
14345         * Makefile.am:
14346         * tex-defs.h: remove old unused file
14347
14348 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * BufferView_pimpl.C: fix typo, remove minibuffer message
14351           when buffer has loaded
14352
14353 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14354
14355         * lyxfunc.C (Dispatch): use stringstream
14356         (MenuNew): use stringstream
14357         (Open): use stringstream
14358
14359         * importer.C (Import): use stringstream
14360
14361         * bufferview_funcs.C (CurrentState): use stringstream
14362
14363         * LaTeX.C (run): use stringstream
14364
14365         * BufferView_pimpl.C (savePosition): use stringstream
14366         (restorePosition): use stringstream
14367         (MenuInsertLyXFile): use stringstream
14368
14369 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * BufferView.C:
14372         * Bullet.C:
14373         * ColorHandler.C:
14374         * FontInfo.C:
14375         * FontLoader.C:
14376         * LColor.C:
14377         * LaTeXFeatures.C:
14378         * Painter.C:
14379         * gettext.C:
14380         * lyx_gui_misc.C:
14381         * lyxserver.C:
14382         * vspace.C: removed // -*- C++ -*- as first line.
14383
14384         * lyxfind.h:
14385         * version.h: added // -*- C++ -*- as first line.
14386
14387 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14390
14391         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14392         of string
14393
14394 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14395
14396         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14397         of floats.
14398
14399 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * gettext.C: include LString.h even when --disable-nls is on.
14402
14403 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14404
14405         * converter.h (Get): changed argument type from int to
14406         FormatList::size_type to avoid unnecessary conversion.
14407
14408         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14409         before using it.
14410
14411 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * gettext.h: include LString.h even when --disable-nls is on.
14414
14415 2001-06-07  Juergen Vigna  <jug@sad.it>
14416
14417         * text.C (BreakAgain): subst spaces with tabs.
14418
14419         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14420         (resizeInsetsLyXText): set force on resizeLyXText.
14421
14422 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * gettext.h (gettext_init):
14425         (locale_init): use a real definition instead of a macro
14426
14427 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * Bufferview_pimpl.C:
14430         * LColor.h:
14431         * LColor.C: further lcolor tidies
14432
14433 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * BufferView_pimpl.C (updateScrollbar): simplify.
14436
14437         * BufferView2.C: don't include insets/insetinfo.h, change
14438         prototype for insertInset and call the Pimpl version. let
14439         updateInset call Pimpl version.
14440
14441         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14442         gotoInset to BufferView::Pimpl
14443
14444 2001-06-01  Juergen Vigna  <jug@sad.it>
14445
14446         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14447         inside a LockingInset (is the update needed at all?).
14448
14449 2001-05-31  Juergen Vigna  <jug@sad.it>
14450
14451         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14452         here not the old one otherwise how should we compare it afterwards
14453         if it's the same!
14454
14455 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14456
14457         * lyxfont.C:
14458         * tabular.C:
14459         * tabular-old.C:
14460         * FontInfo.C: bring C functions into global namespace when
14461         necessary
14462
14463 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * LString.h: make sure config.h has been loaded before LString.h.
14466
14467         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14468         (one for each char read by EatLine!).
14469
14470         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14471         variables.
14472
14473 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14476         to the same as the par we break from
14477
14478 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14481
14482         * MenuBackend.C (expand): also create menu entries for wide
14483         versions of the floats.
14484
14485         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14486
14487         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14488
14489         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14490         frontends/Makefile.am
14491
14492         * text2.C: adjust
14493         * text.C: adjust
14494
14495
14496         * tabular.C (getTokenValue): add std::
14497
14498         * tabular-old.C (getTokenValue): add std::
14499         (getTokenValue): ditto
14500         (getTokenValue): ditto
14501
14502         * screen.C (ToggleSelection): adjust
14503
14504         * lyxtext.h: put selection cursors inside a Selection struct.
14505
14506         * lyxfunc.C (moveCursorUpdate): adjust
14507
14508         * lyxfont.C (latexWriteStartChanges): add std::
14509
14510         * lyxfind.C: adjust
14511
14512         * font.h: delete with(char const *, LyXFont const &)
14513
14514         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14515
14516         * FontInfo.C (getFontname): add std::
14517
14518         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14519         (workAreaButtonPress): adjust
14520         (tripleClick): adjust
14521         (update): adjust
14522         (moveCursorUpdate): adjust
14523         (Dispatch): adjust
14524
14525         * BufferView2.C (gotoInset): adjust
14526
14527 2001-05-30  Juergen Vigna  <jug@sad.it>
14528
14529         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14530         to check pspell I add this as default as I now have new pspell
14531         libraries and they seem to use this.
14532
14533 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * text2.C (CutSelection): make the cursor valid before the call to
14536         ClearSelection.
14537
14538 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14541         relied on 0 terminated strings and other horrors. Bug found due to
14542         the new assert in lyxstring!
14543
14544         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14545         KP_ keys.
14546
14547 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14550         to latinkeys.bind.
14551
14552         * lyxfunc.C (processKeySym): change method of getting to the
14553         self-insert char.
14554
14555         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14556         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14557         * BufferView_pimpl.[Ch]: here as private methods.
14558
14559 2001-05-28  Juergen Vigna  <jug@sad.it>
14560
14561         * text.C (SetHeightOfRow): added the update() call again as it is
14562         needed to initialize inset dimensions!
14563
14564 2001-05-16  Juergen Vigna  <jug@sad.it>
14565
14566         * text2.C (SetCharFont): Add new function with BufferView * and
14567         bool toggleall parameters for setting insets internal fonts.
14568         (SetFont): Freeze the undo as we may change fonts in Insets and
14569         all this change should be inside only one Undo!
14570
14571         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14572         setting font's in insets as for them we have the SetFont function!
14573
14574 2001-05-15  Juergen Vigna  <jug@sad.it>
14575
14576         * text2.C (ClearSelection): to be sure we REALLY don't have any
14577         selection anymore!
14578
14579         * tabular.C (TeXCellPreamble): fixed the left border problem for
14580         multicolumn cells.
14581
14582 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14583
14584         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14585         dependancy file
14586
14587 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14590         LFUN_BREAKPARAGRAPH.
14591
14592         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14593         help test to "internal only", similar for LFUN_INSERT_URL
14594
14595         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14596         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14597         auto_region_delete and deadkeys.
14598
14599 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * LColor.h:
14602         * LColor.C: remove some dead entries, tidy a little
14603
14604 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14605
14606         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14607         commented code.
14608         (Dispatch): implement LFUN_ESCAPE
14609
14610         * commandtags.h: add LFUN_ESCAPE
14611
14612         * LyXAction.C (init): add entry for LFUN_ESCAPE
14613
14614         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14615         Remove commented code.
14616         (insertNote): moved here
14617         (open_new_inset): moved here
14618
14619         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14620         BufferView_pimpl
14621
14622 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * kbmap.C (findbinding): clean it up and make it work correctly.
14625
14626         * lyx_main.C (init): do not pass argc and argv as parameters
14627
14628 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14629
14630         * buffer.C: fix path for OS/2 & Win32
14631
14632         * lyx_gui.C:
14633         * lyx_main:
14634         * lyx_main.C: Added os:: class.
14635
14636         * os2_defines.h: update
14637
14638 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14641         better by trying again with reduced state.
14642
14643 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * lyxrc.C (read): print error about invalid key sequence only when
14646         debugging (because not all latinX keysyms are known to some X
14647         servers)
14648
14649         * kbsequence.C (getiso): add a few std:: qualifiers
14650         (getiso): comment out extra return statement.
14651
14652 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14655         handling.
14656         (Dispatch): enhance the accent inset a bit. (not perfect)
14657
14658 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14661
14662 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * bufferlist.C (emergencyWrite): fix assert() call
14665
14666 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14667
14668         * text.C (InsertChar): Added trivial patch to only send the "you
14669         can not do multiple spaces this way" message once during a
14670         session.
14671
14672 2001-05-08  Baruch Even  <baruch@lyx.org>
14673
14674         * Makefile.am: Changed order of libraries to get LyX to link properly
14675         with the gnome frontend.
14676
14677 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * LaTeXFeatures.h: add a std:: qualifier
14680
14681 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * paragraph.C (String): use stringstream
14684
14685 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14686
14687         * paragraph.C (writeFile): remove footflag arg
14688
14689         * buffer.C (makeLaTeXFile): use stringstream
14690         (latexParagraphs): remove footnot gurba
14691
14692         * LaTeXFeatures.C (getPackages): use stringstream
14693         (getMacros): likewise
14694         (getTClassPreamble): likewise
14695         (getFloatDefinitions): new method
14696
14697         * paragraph.C (writeFile): reindent
14698         (Erase): reindent
14699
14700         * WorkArea.h: revert the xpos + etc changes.
14701
14702         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14703
14704         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14705
14706         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14707         (pasteSelection): likewise
14708         * text2.C (CreateUndo): likewise
14709
14710 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * minibuffer.C (peek_event): temporarily reduce the functionality
14713         of the minibuffer (to allow args on lfuns)
14714
14715         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14716         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14717
14718         * buffer.C (readInset): add compability reading of old float
14719         lists, add reading of new style float list.
14720         (readInset): avoid reevaluation of inscmd.getCmdName()
14721         (getLists): reindent
14722
14723         * MenuBackend.C (MenuItem): implement parsing of
14724         md_floatlistinsert and md_floatinsert.
14725         (expand::LastFiles): move initalizaton of iterators out of loop,
14726         avoid reevaluation.
14727         (expand::Documents): introduce typdedef vector<string> Strings,
14728         and use it.
14729         (expand::ExportFormats): introduce typedef vector<Format const *>
14730         Formats, and use it.
14731         (expand): implement FloatListInsert and FloatInsert.
14732
14733         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14734         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14735         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14736
14737         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14738         handling.
14739         (Dispatch::LFUN_FLOAT_LIST): implement
14740
14741 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14742
14743         * LaTeX.C (run): Fix problem with --export code.
14744
14745 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14746
14747         * BufferView.[Ch] (workarea): removed.
14748         (getClipboard) new method; wrapper for workarea()->getClipboard()
14749
14750         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14751         bug.
14752
14753         * WorkArea.h (width, height, xpos, ypos): These methods all
14754         returned the dimensions of the work_area sub-area of WorkArea,
14755         resulting in a position error if the WorkArea were resized. Now
14756         return the dimensions of the entire WorkArea.
14757
14758         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14759
14760 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * LaTeX.C (deplog): correct the syntax of regex reg1
14763
14764 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * undo.C: remove !NEW_INSETS cruft
14767
14768 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * text2.C: remove !NEW_INSETS cruft
14771
14772         * text.C: remove !NEW_INSETS cruft
14773
14774         * tabular.C: remove !NEW_INSETS cruft
14775
14776         * spellchecker.C: remove !NEW_INSETS cruft
14777
14778         * lyxtext.h: remove !NEW_INSETS cruft
14779
14780         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14781
14782         * lyxfunc.C: remove !NEW_INSETS cruft
14783
14784         * lyxfind.C: remove !NEW_INSETS cruft
14785
14786         * lyx_cb.C: remove !NEW_INSETS cruft
14787
14788         * figureForm.C: remove  !NEW_INSETS cruft
14789
14790         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14791
14792         * buffer.[Ch]: remove !NEW_INSETS cruft
14793
14794         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14795
14796         * CutAndPaste.C: remove !NEW_INSETS cruft
14797
14798         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14799
14800         * BufferView2.C: remove !NEW_INSETS cruft
14801
14802         * BufferView.h: remove !NEW_INSETS cruft
14803
14804 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * Lsstream.h: include LString.h before the sstream headers to
14807         fix problem with gcc 2.95.3 and lyxstring
14808
14809 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * lyx_main.C: add using directives when needed for C functions
14812         declared in std:: namespace.
14813
14814 2001-04-27  Juergen Vigna  <jug@sad.it>
14815
14816         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14817         (SetHeightOfRow): comment out the update call should not be needed!
14818
14819 2001-04-13  Juergen Vigna  <jug@sad.it>
14820
14821         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14822         (LyXTabular): tried to minimize operator= operations (and realized
14823         hopfully Lars wish).
14824
14825 2001-04-27  Juergen Vigna  <jug@sad.it>
14826
14827         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14828
14829 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14832
14833         * buffer.C (readInset): hack to make listof algorithm work
14834
14835         * BufferView_pimpl.C: hack to make listof algorithm work
14836
14837 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14838
14839         * LyXAction.C: removed all !NEW_INSETS cruft
14840         (init): moved lfun_item in method
14841
14842         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14843
14844 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14845
14846         * BufferView2.C (theLockingInset): white space.
14847
14848 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14849
14850         * minibuffer.C: include <iostream>
14851
14852         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14853
14854         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14855
14856         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14857
14858         * text.[Ch] (TransposeChars): new method
14859
14860 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * call message directly through LyXView instead of through LyXFunc
14863         * BufferView2.C: adjust
14864         * BufferView_pimpl.C: adjust
14865         * FontLoader.C: adjust
14866         * buffer.C: adjust
14867         * bufferview_funcs.C: adjust
14868         * converter.C: adjust
14869         * figureForm.C: adjust
14870         * importer.C: adjust
14871         * lyx_cb.C: adjust
14872         * lyx_gui_misc.C: adjust
14873         * lyxfunc.C: adjust
14874         * lyxvc.C: adjust
14875         * text2.C: adjust
14876         + more files in subdirs
14877
14878         * lyxparagraph.h (size): move up int file
14879         (GetLayout): ditto
14880
14881         * adjust all uses of Assert to lyx::Assert.
14882
14883         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14884         lyxfunctional in namespace lyx
14885         * layout.C (hasLayout): ditto
14886         (GetLayout): ditto
14887         (GetLayout): ditto
14888         (delete_layout): ditto
14889         (NumberOfClass): ditto
14890         * converter.C (GetFormat): ditto
14891         (GetNumber): ditto
14892         (Add): ditto
14893         (Delete): ditto
14894         (SetViewer): ditto
14895         * bufferlist.C (getFileNames): ditto
14896         (emergencyWriteAll): ditto
14897         (exists): ditto
14898         (getBuffer): ditto
14899         * MenuBackend.C (hasSubmenu): ditto
14900         (hasMenu): ditto
14901         (getMenu): ditto
14902         * BufferView_pimpl.C (getInsetByCode): ditto
14903
14904 2001-04-18  Juergen Vigna  <jug@sad.it>
14905
14906         * vspace.C (asLatexString): fixed the 100% problem.
14907
14908 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * lyxfunc.C (Dispatch):
14911         * minibuffer.C:
14912         * minibuffer.h: add a few std:: qualifiers
14913
14914 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * minibuffer.[Ch]: reimplement so that commands is initiated and
14917         run from lyxfunc, simplified som handling, and made the completion
14918         and history code for complete. wip.
14919
14920         * lyxfunc.C (processKeySym): call message
14921         (miniDispatch): new temporary method
14922         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14923         (LFUN_MESSAGE): implement
14924         (LFUN_MESSAGE_PUSH): implement
14925         (LFUN_MESSAGE_POP): implement
14926         (initMiniBuffer): the initial/defualt minibuffer message.
14927
14928         * lyxfont.[Ch]: inline some more getters
14929
14930         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14931
14932         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14933
14934         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14935         (AutoSave): use LFUN_MESSAGE
14936         (Reconfigure): ditto
14937
14938         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14939
14940         * figureForm.C: use LFUN_MESSAGE
14941
14942         * converter.C (runLaTeX): use LFUN_MESSAGE
14943
14944         * bufferview_funcs.C: use LFUN_MESSAGE
14945         (Melt): ditto
14946         (changeDepth): ditto
14947
14948         * bufferparams.h: use boost::
14949
14950         * bufferlist.h: inherit privately from noncopyable
14951
14952         * bufferlist.C (loadLyXFile): remove some commented code.
14953
14954         * buffer.C (runChktex): use LFUN_MESSAGE
14955
14956         * ShareContainer.h: inherit privately from noncopyable
14957
14958         * ParagraphParameters.[hC] (depth): inline it.
14959
14960         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14961         methods.
14962         (message): new method
14963         (messagePush): ditto
14964         (messagePop): ditto
14965         (show): init minibuffer
14966         (showState): direct call
14967
14968         * LaTeX.[Ch]: inherit privately from noncopyable
14969         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14970         instead of WriteStatus.
14971
14972         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14973
14974         * BufferView_pimpl.C (buffer): don't init minibuffer
14975         (workAreaButtonPress): use LFUN_MESSAGE
14976         (workAreaButtonRelease): ditto
14977         (savePosition): ditto
14978         (restorePosition): ditto
14979         (MenuInsertLyXFile): ditto
14980         (workAreaExpose): don't init minibuffer
14981         (update): remove commented code, simplify
14982
14983         * BufferView2.C (openStuff): use LFUN_MESSAGE
14984         (toggleFloat): ditto
14985         (menuUndo): ditto
14986         (menuRedo): ditto
14987         (copyEnvironment): ditto
14988         (pasteEnvironment): ditto
14989         (copy): ditto
14990         (cut): ditto
14991         (paste): ditto
14992         (gotoInset): ditto
14993         (updateInset): remove some commented code
14994
14995         * lastfiles.h: inherit privately from noncopyable
14996         * layout.h: ditto
14997         * lyx_gui.h: ditto
14998         * lyx_main.h: ditto
14999         * lyxlex.h: ditto
15000         * lyxlex_pimpl.h: ditto
15001
15002         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15003         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15004         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15005
15006         * LyXAction.h: inherit privately from noncopyable, add methods
15007         func_begin, func_end, returning iterators to the func map.
15008
15009         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15010         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15011         (func_begin): new method
15012         (func_end): new method
15013
15014         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15015         and not)
15016         (copySelection): ditto
15017         (pasteSelection): ditto
15018
15019         * BufferView.C: whitespace change
15020         * BufferView.h: inherit privately from noncopyable
15021
15022 2001-04-16  Allan Rae  <rae@lyx.org>
15023
15024         * tabular-old.C (l_getline):
15025         * spellchecker.C (sc_check_word):
15026         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15027         an unrecognised preprocessor directive.  So ensure they're wrapped.
15028
15029 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * src/exporter.C (Export): Give an error message when path to file
15032         contains spaces.
15033
15034 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * LaTeX.C (deplog): Always check that foundfile exists.
15037
15038 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * lyx_main.h:
15041         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15042
15043 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * tabular.[Ch] (getLabelList): implement new method
15046
15047         * minibuffer.h: comment ouf setTiimer
15048
15049         * minibuffer.C (ExecutingCB): constify res
15050         (peek_event): constify s
15051         (Set): constify ntext
15052         (Init): constify nicename
15053
15054         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15055
15056         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15057         (savePosition): use two params to Minibuffer::Set
15058         (restorePosition): ditto
15059
15060 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * lyx_main.C: include language.h
15063
15064         * Makefile.am (lyx_main.o): add language.h
15065
15066 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * exporter.C:
15069         * paragraph.C:
15070         * screen.C:
15071         * tabular.C:
15072         * CutAndPaste.C: include gettext.h
15073
15074         * lyxfont.h: remove old hack with ON and OFF.
15075
15076         * lyxparagraph.h:
15077         * lyxfont.h: do not include language.h...
15078
15079         * BufferView2.C:
15080         * LaTeXFeatures.C:
15081         * Painter.C:
15082         * bufferview_funcs.C:
15083         * font.C:
15084         * lyxfont.C:
15085         * text.C:
15086         * text2.C:
15087         * trans_mgr.C:
15088         * paragraph.C: ... but do it here instead
15089
15090 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15093
15094         * tabular.C: small reformat
15095
15096         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15097         NEW_INSETS version
15098         (GetChar): ditto
15099         (BreakParagraph): ditto
15100         (SetOnlyLayout): ditto
15101         (SetLayout): ditto
15102
15103         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15104         with one arg less.
15105
15106         * lastfiles.C: removed most using decl, add std:: where needed
15107
15108         * buffer.C: ws changes
15109
15110         * MenuBackend.C (class compare_format): put into anon namespace
15111         (expand): constify label, names, action, action2
15112         (expand):
15113
15114         * text.C (SingleWidth): constify font
15115         (IsBoundary): constify rtl2
15116         (GetVisibleRow): constify ww
15117
15118         * LaTeX.C (deplog): constify logfile
15119
15120         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15121         start_x, end_x
15122         (workAreaExpose): constify widthChange, heightChange
15123
15124         * lyxrow.C (par): moved
15125         (height): moved
15126         (next): moved
15127         * lyxrow.h: as inlines here
15128
15129         * lyxfont.h (shape): moved from lyxfont.C
15130         (emph): moved from lyxfont.C
15131
15132         * lyxfont.C (LyXFont): use initialization list for all
15133         constructors
15134         (shape): move to lyxfont.h as inline
15135         (emph): move to lyxfont.h as inline
15136
15137
15138 2001-04-04  Juergen Vigna  <jug@sad.it>
15139
15140         * vspace.C: had to include stdio.h for use of sscanf
15141
15142 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15143
15144         * BufferView.h:
15145         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15146         independent of xforms.
15147
15148 2001-04-02  Juergen Vigna  <jug@sad.it>
15149
15150         * spellchecker.C: fixed namespace placing!
15151
15152 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15155         the LyXParagraph * is 0.
15156
15157 2001-03-29  Juergen Vigna  <jug@sad.it>
15158
15159         * vspace.C: added support for %, c%, p%, l%.
15160         (stringFromUnit): added helper function.
15161         (asLatexString): changed to give right results for the %-values.
15162
15163         * buffer.C: convert the widthp in a width%.
15164
15165 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15166
15167         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15168         figureForm.[Ch].
15169
15170         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15171         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15172
15173         * lyx_cb.[Ch]: see above.
15174
15175         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15176         form1.[Ch].
15177
15178         * form1.[Ch]:
15179         * lyx.[Ch]: replaced by figure_form.[Ch].
15180
15181         * lyx_gui.C:
15182         * lyx_gui_misc.C:
15183         * lyxfunc.C: changed headers associated with above changes.
15184
15185 2001-03-27  Juergen Vigna  <jug@sad.it>
15186
15187         * BufferView_pimpl.C: set the temporary cursor right!
15188
15189 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15190
15191         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15192
15193 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15194
15195         * LString.h: removed "using std::getline"!
15196
15197         * BufferView_pimpl.C (Dispatch): changes due to changes in
15198         InsetInclude::Params.
15199
15200         * buffer.C (tag_name): removed redundant break statements as they were
15201         producing lots of warnings with my compiler.
15202
15203 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * LString.h: add "using std::getline" when using the real <string>.
15206
15207 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15208
15209         * buffer.C: removed bitset usage.
15210         PAR_TAG moved to an anonymous name space.
15211         (tag_name): new funtion, also in the anonymous namespace.
15212         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15213         (makeDocBookFile): clean code. Completed transition from string arrays
15214         to string vectors.
15215         (SimpleDocBookOnePar): code clean.
15216
15217 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15218
15219         * tabular.C: add some comments.
15220
15221 2001-03-22  Juergen Vigna  <jug@sad.it>
15222
15223         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15224         compatibility read a bit and fixed bug with minipage in different
15225         depth.
15226
15227 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15228
15229         * buffer.C (pop_tag): removed.
15230         (push_tag): removed.
15231         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15232         array replaced with vector. Added support for CDATA sections.
15233         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15234         at any nest level.
15235         (makeDocBookFile): XML conformant declaration of CDATA section,
15236         fixed bug related to <emphasis> in the first paragraph char.
15237         (sgmlOpenTag): exclude empty tags.
15238         (sgmlCloseTag): ditto.
15239
15240         * buffer.h (pop_tag): removed.
15241         (push_tag): removed.
15242
15243 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15244
15245         * language.h (Languages): added size_type and size().
15246
15247 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15248
15249         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15250         response on compability reading of minipages. One probliem is that
15251         the old usage of minipages was «flertydig»
15252
15253         * several files here and in subdirs: don't use static at file
15254         scope use anon namespaces instead.
15255
15256 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15257
15258         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15259         LaTeX output. This is necessary for Literate document
15260         processing.
15261
15262 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15263
15264         * buffer.C: insert hfill when needed.
15265
15266         * tabular.C (l_getline): use string::erase, small whitespace change.
15267
15268         * BufferView_pimpl.C: try the anon namespace.
15269         * WorkArea.C: ditto
15270
15271 2001-03-16  Juergen Vigna  <jug@sad.it>
15272
15273         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15274         otherwise it won't open options-dialogs.
15275
15276         * buffer.C: honor pextraWidth(p) on converting minipages.
15277
15278         * tabular.C (l_getline): changed the functions to strip trailing \r.
15279
15280 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15281
15282         * BufferView_pimpl.C:
15283         * minibuffer..C: added "using SigC::slot" declaration.
15284
15285 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15286
15287         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15288
15289         * text2.C: ditto
15290
15291         * text.C: ditto
15292
15293         * paragraph.C: ditto
15294
15295         * lyxtext.h: NO_PEXTRA
15296
15297         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15298
15299         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15300         * ParameterStruct.h: ditto
15301         * ParagraphParameters.h: ditto
15302         * lyxparagraph.h: ditto
15303
15304 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15305
15306         * buffer.C: add compability for minipage alignment.
15307         (latexParagraphs): remove unwanted pextra check.
15308
15309         * several files: remove CXX_WORKING_NAMESPACES
15310
15311         * buffer.C (pop_tag): tie is in namespace boost
15312
15313         * BufferView.h: noncopyable is in namespace boost
15314         * lyxlex.h: ditto
15315         * lyx_main.h: ditto
15316         * lyx_gui.h: ditto
15317         * layout.h: ditto
15318         * lastfiles.h: ditto
15319         * bufferlist.h: ditto
15320         * ShareContainer.h: ditto
15321         * LyXView.h: ditto
15322         * LyXAction.h: ditto
15323         * LaTeX.h: ditto
15324
15325 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15326
15327         * Merging changes from BRANCH_MVC back into HEAD.
15328
15329         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15330
15331 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * BufferView_pimpl.C: change from intl.C
15334
15335         * combox.h:
15336         * combox.C:
15337         * Makefile.am: move combox.*
15338
15339         * form1.h:
15340         * form1.C:
15341         * lyx_gui.C:
15342         * intl.h:
15343         * intl.C: remove dialog (covered by prefs)
15344
15345 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15346
15347         * lyxfunc.C (Dispatch): removed redundant break statement.
15348
15349 2001-03-14  Juergen Vigna  <jug@sad.it>
15350
15351         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15352
15353 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15354
15355         * buffer.C: add hack to fix compability reading of minipages.
15356
15357 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15358
15359         * buffer.C (getLists): Cleanup.
15360
15361 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * lyxfont.C (update): don't honor toggleall on font size.
15364
15365 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * bmtable.c:
15368         * bmtable.h:
15369         * Makefile.am: moved to frontends/xforms/
15370
15371         * lyx_gui_misc.C:
15372         * lyxfunc.C:
15373         * BufferView_pimpl.C: changes for moved mathpanel
15374
15375 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15376
15377         * gettext.h: fix gettext_init() in --disable-nls
15378
15379 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15382
15383 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15384
15385         * lyx.C:
15386         * lyx.h: strip external form
15387
15388 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * BufferView_pimpl.C: add comment, destroySplash()
15391
15392 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * BufferView_pimpl.C:
15395         * LyXAction.C:
15396         * buffer.C:
15397         * commandtags.h:
15398         * lyxfunc.C: use re-worked insetinclude
15399
15400 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15401
15402         * buffer.C: add using std::stringstream.
15403
15404         * lyx_cb.C: readd using std::ios.
15405
15406         * buffer.C: add using std::map.
15407
15408         * BufferView_pimpl.C: add using std::vector.
15409
15410         * ShareContainer.h: add std:: to swap.
15411
15412         * buffer.h: add some typedefs
15413         * buffer.C (getLists): use them
15414         (getLists): renamed from getTocList.
15415         add a counter for the different float types and use it in the
15416         generated string.
15417         (getLists): use the same counter for the NEW_INSETS and the "non"
15418         NEW_INSETS
15419
15420         * lyx_cb.h: remove unused items, includes, using etc.
15421
15422         * ShareContainer.h: remove some commented code, add more comments
15423         and "documentation".
15424
15425 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15426
15427         * buffer.C (getTocList): make the list also when NEW_INSETS is
15428         defined.
15429
15430         * buffer.h: remove TocType
15431
15432         * buffer.C (getTocList): change to return a map<string,
15433         vector<TocItem> >, implement for dynamic number of list.
15434
15435         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15436         * text2.C (PasteSelection): adjust
15437         * CutAndPaste.C (pasteSelection): adjust
15438
15439         * FloatList.C (FloatList): update from the new_insets branch.
15440         * Floating.[Ch]: ditto
15441         * LaTeXFeatures.C: ditto
15442         * buffer.C: ditto
15443         * lyxlex_pimpl.C: ditto
15444
15445         * paragraph.C (Last): remove when NEW_INSETS is defined.
15446
15447         * other file: changes because of the above.
15448
15449 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15450
15451         * lyxparagraph.h: rename next to next_, previous to previous_,
15452         make them private for NEW_INSETS. Rename Next() to next(),
15453         Previous() to previous().
15454
15455         * other files: changes because of the above.
15456
15457 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15458
15459         * BufferView.h:
15460         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15461         problem.
15462
15463 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15464
15465         * main.C (main): pass lyx_localedir to gettext_init().
15466
15467         * gettext.h: remove locale_init and gettext_init macros
15468
15469         * gettext.C (locale_init): new function
15470         (gettext_init): new function
15471
15472         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15473         setlocale().
15474
15475 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15476
15477         * Moved credits to frontends:
15478         * credits.[Ch]: removed
15479         * credits_form.[Ch]: removed
15480         * lyx_gui_misc.C: remove credits stuff
15481         * Makefile.am:
15482
15483 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15484
15485         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15486
15487         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15488         unneeded destructor.
15489
15490         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15491         a standalone pointer again.
15492
15493         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15494
15495 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15496
15497         * Makefile.am:
15498         * filedlg.h:
15499         * filedlg.C:
15500         * LyXAction.C:
15501         * ToolbarDefaults.C:
15502         * bufferlist.C:
15503         * commandtags.h:
15504         * form1.C:
15505         * form1.h:
15506         * lyx_cb.C:
15507         * lyx_cb.h:
15508         * lyxfunc.h:
15509         * lyxfunc.C:
15510         * BufferView_pimpl.C: use new file dialog in GUII
15511
15512         * lyx_cb.h:
15513         * lyx_cb.C: remove LayoutsCB to Toolbar
15514
15515 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15516
15517         * ShareContainer.h (get): add std:: qualifier
15518
15519 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * ShareContainer.h: define a proper ShareContainer::value_type
15522         type (and use typename to please compaq cxx)
15523
15524 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15525
15526         * lyxparagraph.h: move serveral local vars to
15527         ParameterStruct/ParagraphParameters., use ShareContainer in
15528         FontTable., make vars in FontTable private and add getter and
15529         setter.
15530
15531         * paragraph.C: changes because of the above.
15532
15533         * lyxfont.h: remove copy constructor and copy assignment. (the
15534         default ones is ok), move number inside FontBits. move inlines to
15535         lyxfont.C
15536
15537         * lyxfont.C: add number to initializaton of statics, move several
15538         inlines here. constify several local vars. some whitespace
15539         cleanup. Dont hide outerscope variables.
15540
15541         * Spacing.h: add two new constructors to match the set methods.
15542
15543         * ShareContainer.h: new file, will perhaps be moved to support
15544
15545         * ParameterStruct.h: new file
15546
15547         * ParagraphParameters.h: new file
15548
15549         * ParagraphParameters.C: new file
15550
15551         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15552         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15553
15554         * BufferView_pimpl.C: ParagraphParameter changes.
15555         * buffer.C: Likewise.
15556         * bufferview_funcs.C: Likewise.
15557         * text.C: Likewise.
15558         * text2.C: Likewise.
15559
15560 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * lyxfind.C (LyXReplace): do not redefine default argument in
15563         implementation.
15564         (IsStringInText): ditto
15565         (SearchForward): ditto
15566         (SearchBackward): ditto
15567
15568 2001-03-06  Juergen Vigna  <jug@sad.it>
15569
15570         * lyxfind.C (IsStringInText): put parentes around expressions.
15571
15572 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15573
15574         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15575
15576 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15577
15578         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15579
15580         * stl_string_fwd.h: add comment
15581
15582         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15583
15584         * tabular.h:
15585         * tabular.C: remove unused DocBook methods
15586
15587         * intl.C:
15588         * language.C:
15589         * paragraph.C:
15590         * buffer.C:
15591         killed DO_USE_DEFAULT_LANGUAGE
15592
15593 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * lyx_gui.C: do not include language.h.
15596
15597         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15598         arguments in function implementation.
15599
15600 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15601
15602         * BufferView_pimpl.C: add <ctime>
15603
15604 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15605
15606         * BufferView_pimpl.C: add using std::find_if
15607
15608 2001-02-27  José Matos  <jamatos@fep.up.pt>
15609
15610         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15611         by OnlyPath.
15612
15613 2001-02-11  José Matos  <jamatos@fep.up.pt>
15614
15615         * buffer.C (makeDocBookFile): command styles now have a parameter as
15616         "title" by default.
15617
15618 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15619
15620         * layout_forms.[Ch]: removed
15621         * lyx_cb.[Ch]: out character
15622         * lyx_gui.C: out character
15623         * lyx_gui_misc.C: out character
15624         * bufferview_funcs.C: : out character,
15625         added toggleall as parameter in ToggleAndShow
15626
15627 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15630
15631         * text2.C (SetCurrentFont): Disable number property at boundary.
15632
15633 2001-02-26  Juergen Vigna  <jug@sad.it>
15634
15635         * lyxfunc.C (getStatus): added a string argument override function so
15636         that this is correctly called from LyXFunc::Dispatch if it contains a
15637         do_not_use_argument which is used!
15638         (Dispatch): added check for "custom" export and call appropriate func.
15639
15640 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15641
15642         * lyxrc.C: Add language_command_local, language_use_babel and
15643         language_global_options.
15644
15645         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15646
15647         * buffer.C (makeLaTeXFile): Use language_use_babel and
15648         language_global_options.
15649
15650 2001-02-23  Juergen Vigna  <jug@sad.it>
15651
15652         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15653         which works with LyXText and putted it inside BufferView. Here now we
15654         only call for that part the BufferView::Dispatch() function.
15655
15656         * BufferView.C (Dispatch): added.
15657
15658         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15659         functions which needs to use a LyXText over from LyXFunc.
15660         (MenuInsertLyXFile): added
15661         (getInsetByCode): added
15662         (moveCursorUpdate): added
15663         (static TEXT): added
15664
15665 2001-02-22  Juergen Vigna  <jug@sad.it>
15666
15667         * BufferView_pimpl.C (update): call a status update to see if LyXText
15668         needs it.
15669
15670 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15671
15672         * vc-backend.C (revert): implement for CVS
15673         (getLog): implement for CVS
15674
15675 2001-02-20  Juergen Vigna  <jug@sad.it>
15676
15677         * text2.C (ClearSelection): added BufferView param for inset_owner call
15678
15679         * lyxfunc.C (TEXT): added this function and use it instead of
15680         directly owner->view()-text of getLyXText().
15681
15682 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15683
15684         * src/layout_forms.C: out preamble
15685         * src/layout_forms.h: out preamble
15686         * src/lyx_cb.C: out preamble
15687         * src/lyx_cb.h: out preamble
15688         * src/lyx_gui.C: out preamble
15689         * src/lyx_gui_misc.C: out preamble
15690         * src/lyxfunc.C: connect with guii preamble
15691
15692 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15695
15696 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15697
15698         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15699         whether to run bibtex.
15700
15701 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15704
15705 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15706
15707         * Makefile.am (lyx_SOURCES): removed bibforms.h
15708
15709         * vspace.h: doxygen
15710
15711         * text.C (GetVisibleRow): make several local vars const
15712
15713         * tabular.C: small cleanup.
15714
15715         * lyxserver.C (callback): use compare instead of strncmp
15716
15717         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15718         inlines to after class or to paragraph.C
15719
15720         * lyxfont.h: remove friend operator!=
15721
15722         * converter.h: move friend bool operator< to non friend and after
15723         class def.
15724
15725         * combox.h: small cleanup
15726
15727         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15728         to inlines after class def.
15729
15730         * buffer.C (pop_tag): use string operations instead of strcmp
15731
15732         * bmtable.c: doxygen, small cleanup
15733
15734         * LaTeX.h: remove friend operator==
15735
15736 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15737
15738         * screen.C:
15739         * lyxrc.[Ch]:
15740         * lyxfunc.C:
15741         * lyxfont.[Ch]:
15742         * lyx_cb.C:
15743         * intl.[Ch]:
15744         * commandtags.h:
15745         * buffer.C:
15746         * WorkArea.[Ch]:
15747         * LyXAction.C:
15748         * BufferView_pimpl.C:
15749         * BufferView.[Ch]: remove cruft
15750
15751 2001-02-14  Juergen Vigna  <jug@sad.it>
15752
15753         * lyxfunc.C: removed #if 0 unused code
15754
15755         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15756
15757         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15758
15759         * text2.C (SetSelection): added a BufferView * parameter
15760
15761 2001-02-13  Juergen Vigna  <jug@sad.it>
15762
15763         * lyxfunc.C (Dispatch): fixed protected blank problem.
15764         * BufferView2.C (protectedBlank): added LyxText * parameter.
15765
15766         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15767         (AppendColumn): same as above for column_info.
15768
15769         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15770         (moveCursorUpdate): use a LyXText param for support of InsetText.
15771
15772         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15773         (tripleClick): ditto
15774
15775         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15776
15777         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15778
15779         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15780
15781         * text2.C (SetSelection): set correct update status if inset_owner
15782         (ToggleFree): ditto
15783
15784 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15785
15786         * tabular.C: remove some commented code.
15787
15788 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15789
15790         * BufferView_pimpl.C: call hideSplash()
15791
15792         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15793
15794         * include_form.h:
15795         * bibforms.h: remove
15796
15797         * lyxfunc.C:
15798         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15799           add LFUN_CHILD_CREATE
15800
15801         * counters.h: fix tiny typo
15802
15803         * lyx_cb.C:
15804         * lyx.h:
15805         * lyx_gui.C:
15806         * lyx.C: move splash to frontends/xforms/
15807
15808         * lyx_gui_misc.C: move Include and Bibform to frontends
15809
15810         * lyxvc.h: clarify comment
15811
15812         * vspace.C: tiny housekeeping
15813
15814 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * text.C (PrepareToPrint): RTL Fix.
15817
15818         * paragraph.C (GetUChar): New method.
15819         (String):  Use GetUChar.
15820
15821         * buffer.C (asciiParagraph): Use GetUChar.
15822
15823 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15826
15827 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15828
15829         * buffer.h:
15830         * buffer.C: rename to getLogName(), handle
15831           build log / latex log nicely
15832
15833 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * MenuBackend.C:
15836         * MenuBackend.h: remove support for reference menuitem type.
15837
15838 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15839
15840         * BufferView_pimpl.C: housekeeping
15841         * BufferView_pimpl.h:
15842         * LyXView.h:
15843         * Makefile.am:
15844         * Timeout.C:
15845         * Timeout.h:
15846         * minibuffer.h: move Timeout GUI-I
15847
15848 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15849
15850         * lyxrc.C (read): Update converters data-structures.
15851
15852 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15853
15854         * LaTeX.h (operator!=): add operator != for Aux_Info
15855
15856 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15857
15858         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15859
15860         * LaTeXLog.C: deleted, useful code moved to Buffer
15861
15862         * buffer.h:
15863         * buffer.C: new function getLatexLogName()
15864
15865         * lyx_gui_misc.C:
15866         * lyx_gui.C:
15867         * lyxvc.C:
15868         * lyxvc.h:
15869         * lyxfunc.C: use frontends for LaTeX and VC logs
15870
15871 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15872
15873         * LaTeX.h: yet another std:: that Allan forgot.
15874
15875         * Variables.C (set): renamed from isset(), because this clashes
15876         with some HP-UX macros (grr).
15877
15878 2001-02-06  Allan Rae  <rae@lyx.org>
15879
15880         * LaTeX.h: Another bug fix.  Missing std:: this time.
15881
15882 2001-02-04  Allan Rae  <rae@lyx.org>
15883
15884         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15885         floats problem. I've left it commented out because it's not quite
15886         correct.  It should also test that the current object is a table or
15887         figure inset.  But I haven't gotten around to figuring out how to do
15888         that.  I *think* it'll be something like: "table" == inset.type()
15889
15890         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15891         bool.
15892
15893 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15896         all the citation/databases/styles in the auxilary file.
15897         (run): Rerun latex if there was a babel language error.
15898
15899 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15900
15901         * text.C (Backspace): Preserve the font when changing newline char
15902         with a space.
15903         (BreakParagraph): If the cursor is before a space, delete the space.
15904
15905         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15906
15907 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15908
15909         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15910         new argument (code).
15911         (ChangeCitationsIfUnique): New method.
15912
15913         * paragraph.C (GetPositionOfInset): Handle bibkey.
15914
15915 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15916
15917         * BufferView_pimpl.h: change type of Position::par_pos to
15918         LyXParagraph::size_type.
15919
15920 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15921
15922         * BufferView_pimpl.C (savePosition, restorePosition): Write
15923         messages to minibuffer.
15924
15925 2001-01-28  José Matos  <jamatos@fep.up.pt>
15926
15927         * buffer.C (makeDocBookFile): adds support for document language.
15928         A silly restriction on the name of LatexCommand types where removed.
15929         Added support for CDATA sections, allows to chars unescaped, used
15930         among others in code, to avoid escape < and >.
15931
15932 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15933
15934         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15935         saved positions instrad of a stack. Furthermore, a position is
15936         stored using paragraph id/paragraph position.
15937
15938         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15939         Remove LFUN_REF_BACK.
15940
15941 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15942
15943         * converter.C (dvipdfm_options): New method.
15944
15945 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15946
15947         * vspace.C (isValidLength): Fix for empty input string.
15948
15949 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950
15951         * LyXAction.C (init): change description of LFUN_FIGURE to
15952         "Insert Graphics"
15953
15954 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * LaTeX.C: add using directive
15957
15958 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15959
15960         * MenuBackend.C (expand): Fix the sorting of the formats.
15961
15962 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15963
15964         * lyx_main.C: tiny error message fix
15965
15966 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15969         calling fl_initialize(). This fixes the problem with ',' as
15970         decimal separator in text files.
15971
15972 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15973
15974         * trans.C (process): Fix the keymap bug.
15975
15976 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15977
15978         * LaTeX.C (scanAuxFiles): New method. Provides support for
15979         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15980         (scanLogFile) Scan for "run BibTeX" messages.
15981
15982         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15983         OT1 font encoding. Also, load the aecompl package if the ae
15984         package is loaded.
15985
15986         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15987
15988 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15989
15990         * texrow.C (increasePos): turn two error messages into debug
15991         messages.
15992
15993 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * LaTeX.C (scanAux): Handle the \@input macro.
15996         (runBibTeX): Use scanAux().
15997
15998         * language.C (latex_options_): New field.
15999
16000         * LaTeXFeatures.C (getMacros): Add language macros.
16001
16002         * buffer.C (makeLaTeXFile): Small fix.
16003
16004 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16005
16006         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16007
16008         * text2.C: add a using directive.
16009
16010 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16011
16012         * BufferView2.C:
16013         * lyx_gui_misc.h:
16014         * lyxfr1.C:
16015         * lyxfunc.C: kill LyXBell.
16016
16017 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * text.C (IsBoundary): Remove the error message
16020
16021         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16022
16023         * lyxrc.C (setDefaults): Correct initialization value for
16024         font_norm_type.
16025
16026 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16027
16028         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16029         gotoError().
16030
16031         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16032         and GotoNextNote().
16033
16034         * src/LyXAction.C: Added reference-next.
16035
16036         * text.C (InsertChar): Use contains instead of strchr.
16037
16038         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16039
16040 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16043         alignment commands (when needed).
16044
16045         * text.C (InsertChar): Add ':' to number separator chars.