]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix reading the author field.
[lyx.git] / src / ChangeLog
1 2004-08-23  José Matos  <jamatos@lyx.org>
2
3         * bufferparams.C (readToken): fix reading of the author field.
4
5 2004-08-20  José Matos  <jamatos@lyx.org>
6
7         * lyxrc.C: remove support/translator.h inclusion since it is not used.
8
9 2004-08-20  José Matos  <jamatos@lyx.org>
10
11         * lyxlex.[Ch] (findToken): remove function.
12
13         * ParagraphParameters.C (findToken):
14         * bufferparams.C (findToken): replace call for previous function
15         with local copy. This local function has one more argument, the
16         read string argument.
17
18 2004-08-16  José Matos  <jamatos@lyx.org>
19
20         * ParagraphParameters.C (write):
21         * Spacing.C (writeFile):
22         * bufferparams.C (writeLaTeX):
23         * lyx_cb.C (Reconfigure):
24         * paragraph.C (write):
25         * tabular.C (write): remove unnecessary space at end of line.
26
27
28 2004-08-16  José Matos  <jamatos@lyx.org>
29
30         * text.C (readParagraph): remove debug message.
31
32 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
35         crash
36
37         * output_plaintext.C (asciiParagraph): set depth correctly
38
39         * outputparams.h: add member depth
40
41         * paragraph_funcs.C (ownerPar): remove.
42
43         * text2.C (setCounter): remove first_pit; comment out some
44         non-working code that uses ownerPar
45
46         * BufferView.C (getParentLanguage): remove. Not used anymore, and
47         uses ownerPar
48
49 2004-08-16  José Matos  <jamatos@lyx.org>
50
51         * text.C (readParToken, readParagraph, read): report all unknown tokens.
52         For the same level of importance use the same chanel to report problems.
53         (read): add code to deal with \begin_body and \end_body.
54
55
56 2004-08-15  José Matos  <jamatos@lyx.org>
57
58         * lyxlex.C (getString): fix comment, buffer::readBody is now
59         buffer:readDocument.
60         
61         * tex-strings.C (string_papersize): Default -> default,
62         Custom -> custom, for consistency with other options.
63
64 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
65
66         * pch.h: new file
67
68         * Makefile.am: support pch
69
70 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * text.C (readParToken): remove the static LyXFont variable and
73         pass it as a parameter instead. This fixes a nasty bug where an
74         inset will be inserted with a bad font in some situations
75         (readParagraph): adapt
76
77         * text2.C (setCounter): reduce number of calls to pars_[pit]
78
79         * text.C (singleWidth): add an assert, fix a test
80
81         * rowpainter.C (paintText): reduce number of calls to singleWidth
82
83         * paragraph.C (isHfill):
84         (isNewline): ws only
85
86 2004-08-14  André Pönitz  <poenitz@gmx.net>
87
88         * text.C:
89         * text2.C:
90         * rowpainter.C:
91         * lyxtext.h (several functions): use a Paragraph & argument
92         instead of par_type
93
94 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * metricsinfo.h: add a new field ltr_pos to PainterInfo
97
98         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
99
100         * text.C (singleWidth): remove useless test
101
102 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * tabular.h: remove bogus comments
105
106         * tabular.C (getDescentOfRow):
107         (isPartOfMultiColumn): add assertions
108
109         * lyxlength.C (inPixels): remove #warning
110
111 2004-08-14  André Pönitz  <poenitz@gmx.net>
112
113         * paragraph.h: inline getChar()
114
115         * BufferView.h: remove unused declarations
116
117 2004-08-14  José Matos  <jamatos@lyx.org>
118
119         * Buffer.[Ch] (readDocument): new name for old readBody.
120         * Buffer.C: new file format, new keywords: \begin_document,
121         \begin_header, \begin_body, \end_body.
122
123         * bufferparams.C (readToken): replace all calls to lex.nextToken
124         by lex.next(). Do the same to eatLine except where really needed.
125
126         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
127         line when writing to the lyx file.
128
129         * output_plaintext.C (asciiParagraph): fix Bibliography style
130         handling.
131
132         * text.C (read): fix end of file handling.
133
134 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * MenuBackend.C (Menu::operator[]): new method to access
137         individual menu items
138         (Menu::hasFunc): new method. search for an item that corresponds
139         to a given func
140         (MenuBackend::specialMenu): new method
141         (MenuBackend::expand): if a special menu has been set, skip
142         entries whose func() appears in this menu
143
144 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
145
146         * text3.C: use Debug::DEBUG a bit more
147
148         * text.C (leftMargin): try to simplify a tiny bit change var x to
149         l_margin. Dont output the wide margins always.
150         (rightMargin): no margin in inner texts
151
152         * rowpainter.h (nestMargin): new func
153         (changebarMargin): new func
154         (rightMargin): new func
155
156         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
157         now functions.
158         (paintLast): ditto
159
160         * factory.C (createInset): modify setDrawFrame
161
162         * cursor.C: use Debug::DEBUG a bit more
163
164 2004-08-14  André Pönitz  <poenitz@gmx.net>
165
166         * coordcache.[Ch]:
167         * Makefile.am: new files to accomodate an 'external' (x,y)-position
168         cache for all insets in (at least partially) visible (top-level)
169         paragraphs.
170
171         * BufferView_pimpl.C: reset external coord cache before every update.
172         This means the coord cache only contains valid entries.
173
174 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
175
176         bug 1096
177         * BufferView_pimpl.C (getInsetByCode): move function out of class
178         and change in to a template in anon namespace. Also fix to do what
179         suits us better.
180
181 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
182
183         bug 1305
184         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
185         of char
186         (breakParagraph): rename par to par_offset and use a local
187         reference. Add code to keep the language over a rebreak.
188         (breakParagraphConservative): rename par to par_offset, use a
189         local reference
190         (mergeParagraph): ditto
191         (outerHook): ditto
192         (isFirstInSequence): ditto
193         (outerFont): rename pit to par_offset
194
195         * paragraph.C: ws change
196         * paragraph.h: ditto
197         * text3.C: ditto
198         * text.C: ditto
199
200 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
203         treatment for ']'
204
205         * paragraph.C (simpleTeXOnePar): when we have a \item with
206         optional argument, enclose the argument with curly brackets (in
207         case it contains a closing square bracket)
208
209         * text2.C (editXY):
210         * text2.C (editXY):
211         * text3.C (checkInsetHit): constify
212
213 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
216         documents (bug 1629)
217
218 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         Fix toggling of collapsable insets with the mouse (bug 1558)
221
222         * lyxfunc.C (dispatch): adapt to LCursor changes
223
224         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
225         make sure that dispatch is not invoked twice
226
227         * cursor.C (needsUpdate): new method
228         (dispatch): return void
229         (result): new method, to access the DispatchResult of the cursor.
230
231 2004-08-13  José Matos  <jamatos@lyx.org>
232
233         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
234
235 2004-08-13  André Pönitz  <poenitz@gmx.net>
236
237         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
238
239         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
240           multiple cells
241
242 2004-08-12  André Pönitz  <poenitz@gmx.net>
243
244         * text3.C: take out the 'cursor right' form insertInset and only
245         do it in those places when it is really needed. Fixes crash on
246         C-m...
247
248 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
251
252         * BufferView_pimpl.C (setBuffer): initialize the current font of
253         the underlying LyXText
254
255 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * kbsequence.C (print): use UI native formatting for menu
258         shortcuts
259
260         * text.C (insertChar): call Paragraph::insertChar with a font
261         argument (cosmetic)
262
263         * paragraph.C (insertInset, insertChar): the version that takes a
264         LyXFont argument is now a wrapper around the other one (the
265         opposite used to be true).
266
267         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
268         argument. Font setting is done in Paragraph now.
269
270 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * outputparams.h: add new members intitle and lang.
273
274         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
275         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
276
277 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
278
279         * text3.C (dispatch): remove special handling of button 4 and 5,
280         it is now taken care of in the frontend code.
281
282 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
283
284         * Spacing.h: add <string> (STLPort compile fix)
285
286 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
287
288         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
289
290 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
291
292         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
293         to bool.
294
295         * converter.C (showMessage): inherit from unary_function, make
296         operator() const.
297
298         * buffer.C (writeFile): initialize retval
299
300         * InsetList.h: rename private variable list to list_
301         * InsetList.[Ch]: adjust accordingly.
302
303 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
304
305         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
306         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
307         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
308         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
309         * ParagraphParameters.C, LaTeXFeatures.C: replace
310         "support/std_sstream.h" with <sstream>
311
312 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
315         * lyxsocket.C (LyXServerSocket): ditto
316         (serverCallback): ditto
317
318 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
319
320         * LaTeXFeatures.C: check release date when loading jurabib.
321
322 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
323
324         * lyxserver.C (startPipe): call register_socket_callback
325         (endPipe): call unregister_socket_callback
326
327 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
328
329         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
330         (LyXServerSocket): register the callback
331         (LyXServerSocket): unregister the callback
332         (fd): delete function
333         (serverCallback): improve error checking and setup the callbacks.
334         (dataCallback): change arg to fd.
335         (writeln): new func (copied fro the client socket) used for server
336         write to client.
337         (LyXDataSocket): simplify
338         (~LyXDataSocket): close ann unregiser callback
339         (server): delete function
340         (fd): delete function
341         (readln): small changes, improve some std::string usage
342         (writeln): constify a bit
343
344 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
347         Qt frontend
348
349 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * BufferView_pimpl.C (setBuffer): set the layout combox value only
352         after it has been populated
353
354 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * text2.C (insertInset): move cursor when inserting inset.
357
358 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * kbmap.C (findbindings): a couple of new methods. returns a
361         container of kb_sequence objects. The real work is done by the
362         private recursive version
363         (printbindings): uses findbindings to print out a bracketed list
364         of bindings (renamed from findbinding).
365
366         * MenuBackend.C (binding): use kb_keymap::findbindings
367
368         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
369
370 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
371
372         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
373
374 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * paragraph.C (isWord): return true on insets that report
377         isLetter().
378
379         * text.C (getWord): use Paragraph::isWord to decide what is in a
380         word and what is not; fix bug 1609.
381
382 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * tex-strings.C: add "none" to string_paperpackages[], fixes
385         off-by-one-error in the paperpackage selection.
386
387         * lyxlex.[Ch]:
388         * tex-strings.[Ch]: char const * string[n]
389         -> char const * const string[]
390
391 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
394         command, return early.
395
396 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * debug.h: add DEBUG to enum and fix size of ANY.
399
400         * debug.C: add support for Debug::DEBUG
401         (showTags): cast errorTags.level to unsigned int
402
403         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
404         (redoCurrentBuffer): ditto
405         (updateScrollbar): ditto
406         * cursor.C (dispatch): ditto
407         * text2.C (setLayout): ditto
408         (setFont): ditto
409         (updateCounters): ditto
410         (editXY): ditto
411         (deleteEmptyParagraphMechanism): ditto
412
413 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
414
415         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
416         annotations to cleanup the Makefile slightly.
417
418 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * lyxrc.C: do not set user_email to a default value but use empty
421         instead. The entry used to be translated, which does not work
422         since at the point where lyxrc is constructed there is no
423         translation service available
424
425         * messages.C (getLocaleDir): remove and use directly
426         lyx_localedir() instead
427
428 2004-06-02  Angus Leeming  <leeming@lyx.org>
429
430         Fix crash caused by dereferencing null pointer 'exportdata' in
431         OutputParams by creating a new ExportData variable on the heap,
432         storing it in a boost::shared_ptr.
433         The crash was triggered when generating an Instant Preview
434         of an external inset.
435
436         * Makefile.am: add outputparams.C
437
438         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
439         (c-tor): allocate memory to it.
440
441         * exporter.C (c-tor): associated changes.
442
443 2004-06-01  Angus Leeming  <leeming@lyx.org>
444
445         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
446         contains data before calling isInset(0). (Bug 1513.)
447
448 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
449
450         * exporter.C (checkOverwrite): new method
451         * exporter.C (copyFile): new method
452         * exporter.C (Export): copy referenced files to the document dir
453         * exporter.[Ch]: new class ExportedFile
454         * exporter.[Ch]: new class ExportData. Contains currently the
455         names of referenced external files
456         * outputparams.h: add exportdata member.
457
458 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
459
460         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
461         version.C-tmp
462
463 2004-05-19  Angus Leeming  <leeming@lyx.org>
464
465         * LaTeXFeatures.C:
466         * ToolbarBackend.C:
467         * bufferparams.C:
468         * lyxfunc.C: small changes due to the introduction of namespace
469         lyx::frontend and the moving of namespace biblio to lyx::biblio.
470
471 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * text3.C (dispatch): supress update when only moving the cursor
474         * cursor.C (selHandle): remove commented code
475
476 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
477
478         * paragraph.C (startTeXParParams): correct column count
479         * CutAndPaste.C (pasteSelection): remove const_cast
480         * output_docbook.C (docbookParagraphs): remove const_cast
481         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
482         const_cast and return ParagraphList::const_iterator
483         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
484         * output_plaintext.C (writeFileAscii): remove const_cast
485         * paragraph.[Ch] (simpleTeXOnePar): make const
486         * paragraph_funcs.C (outerPar): use const iterators
487         * paragraph_pimpl.C (validate): use const iterators
488         * text.C (setHeightOfRow): use const iterators
489
490 2004-05-17  Angus Leeming  <leeming@lyx.org>
491
492         * lfuns.h:
493         * LyXAction.C (init): new LFUN_INSET_REFRESH.
494
495         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
496         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
497         if the citation engine has changed.
498
499 2004-05-14  José Matos  <jamatos@lyx.org>
500
501         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
502         if the textclass does not provide it. Have it different for sgml and
503         xml.
504         support the language of document.
505         * output_docbook.C (docbookParagraphs):
506         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
507         first anchor as the id of the paragraph, remove special case code.
508         * sgml.C (escapeChar): escape only < & >.
509
510 2004-05-14  Angus Leeming  <leeming@lyx.org>
511
512         * bufferparams.h: move biblio::CiteEngine enum here to minimize
513         dependencies on src/frontends/controllers/biblio.h. Define a
514         CiteEngine_enum wrapper class to enable the enum to be forward
515         declared.
516
517 2004-05-12  Angus Leeming  <leeming@lyx.org>
518
519         * buffer.C: up LYX_FORMAT to 234.
520         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
521         use_numerical_citations with a single biblio::CiteEngine cite_engine
522         variable.
523         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
524
525 2004-05-13  José Matos  <jamatos@lyx.org>
526
527         * converter.h:
528         * converter.C (Converter, readFlags): add xml member.
529         * outputparams.h: add XML flavor.
530         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
531
532 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * lyxfunc.C (dispatch):
535         (getStatus): fix handling of LFUN_SEQUENCE
536
537 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * debug.C (showLevel): do not forget the end-of-line marker
540
541 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * kbmap.C (read): do not stop parsing a bind file when an error
544         occurs (bug 1575)
545
546 2004-04-29  Angus Leeming  <leeming@lyx.org>
547
548         * cursor.C:
549         * factory.C:
550         * pariterator.C:
551         * text2.C: wrap a bunch of #warning statements
552         inside #ifdef WITH_WARNINGS blocks.
553
554 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
555
556         * buffer.C: increment format to 233.
557
558 2004-04-28  Angus Leeming  <leeming@lyx.org>
559
560         * BufferView_pimpl.C:
561         * lyxfunc.C:
562         * text3.C:
563         s/updateToolbar()/updateToolbars()/
564         s/Toolbar.h/Toolbars.h/
565
566 2004-04-28  Angus Leeming  <leeming@lyx.org>
567
568         * BufferView.[Ch] (c-tor):
569         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
570         No longer passes these data to the WorkArea generator.
571
572 2004-04-28  Angus Leeming  <leeming@lyx.org>
573
574         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
575
576 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
577
578         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
579
580 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * output_latex.C (TeXEnvironment): make sure that there is a line
583         break before \end{foo} for the last paragraph of a document
584         (TeXOnePar): if the paragraph is at the end of the document (or
585         inset) and the language has to be reset, then make sure that the
586         line break is _before_ the language command, not after (fixes bug
587         1225); also make sure that the language reset command is the first
588         thing after the paragraph (to ensure proper nesting of
589         environments and thus fix bug 1404)
590
591 2004-04-21  John Levon  <levon@movementarian.org>
592
593         * ToolbarBackend.h:
594         * ToolbarBackend.C: make "name" be a programmatic name
595         and a gui_name field.
596
597         * lyxfunc.C: display the minibuffer on M-x
598
599 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
602         (bug 1526)
603
604 2004-04-19  Angus Leeming  <leeming@lyx.org>
605
606         * BufferView_pimpl.C (setBuffer): changed preview interface.
607
608         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
609         possible values.
610
611 2004-04-19  John Levon  <levon@movementarian.org>
612
613         * BufferView_pimpl.C:
614         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
615
616 2004-04-05  Angus Leeming  <leeming@lyx.org>
617
618         * text.C (redoParagraphs): add call to updateCounters(), thereby
619         fixing the missing "Figure #:" label from the caption of a
620         figure float.
621
622 2004-04-13  Angus Leeming  <leeming@lyx.org>
623
624         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
625         cursor is clicked out of an inset.
626
627 2004-04-13  Angus Leeming  <leeming@lyx.org>
628
629         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
630         than an InsetOld one.
631
632 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * format.[Ch]: add editor to Format
635         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
636         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
637
638 2004-04-08  André Pönitz  <poenitz@gmx.net>
639
640         * metricsinfo.h: remove PainterInfo::width member
641
642 2004-04-08  Angus Leeming  <leeming@lyx.org>
643
644         * lyx_sty.C (boldsymbol_def): modify so that it outputs
645         "\providecommand" rather than "\newcommand", thereby preventing
646         clashes with packages that define "\boldsymbol" themselves.
647         Eg, beamer.
648
649 2004-04-08  Angus Leeming  <leeming@lyx.org>
650
651         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
652         thereby squashing an unnecessary warning.
653
654 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
657         setBuffer()
658
659 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
660
661         * BufferView.C (setCursor): call redoParagraph (some insets could
662         have been opened)
663         (putSelectionAt): remove the 'double update' trick
664
665         * BufferView_pimpl.C (fitCursor): call refreshPar
666         (workAreaDispatch): remove an uneeded update call
667         (dispatch): remove some manual update calls
668
669         * cursor.[Ch]: remove cached_y_, updatePos
670         (selHandle): set noUpdate when appropriate
671
672         * lyxfunc.C (dispatch): track if we need an update
673
674         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
675
676         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
677         (paintSelection): cheap optimization, do not call cursorX when not
678         needed
679         (paintPars): change signature
680         (refreshPar): add
681         (paintText): adjust
682         (paintTextInset): adjust
683
684         * text.C: adjust
685
686 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * lengthcommon.C: compilation fix: remove explicit array size from
689         unit_name[] and friends
690
691 2004-04-05  Angus Leeming  <leeming@lyx.org>
692
693         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
694
695         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
696         present only for the preferences dialog.
697         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
698
699 2004-04-05  Angus Leeming  <leeming@lyx.org>
700
701         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
702         to enable the frontends to export changes to lyxrc correctly.
703
704         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
705
706 2004-04-07  André Pönitz  <poenitz@gmx.net>
707
708         * cursor.[Ch] (selClear, adjust): remove math
709
710         * cursor_slice.C: more agressive assert
711
712         * lyxfunc.C:
713         * BufferView_pimpl.C: rework mouse event dispatch
714
715         * dociterator.C:
716         * paragraph.C:
717         * text2.C:
718         * text3.C: adjust
719
720 2004-04-05  André Pönitz  <poenitz@gmx.net>
721
722         * cursor.[Ch] (valign, halign...): remove unneeded functions
723
724 2004-04-05  Angus Leeming  <leeming@lyx.org>
725
726         * lyxlength.[Ch] (unit_name et al.): const-correct.
727
728 2004-04-05  Angus Leeming  <leeming@lyx.org>
729
730         * BufferView_pimpl.C:
731         * buffer.C:
732         * counters.C:
733         * cursor.C:
734         * lyxfunc.C
735         * paragraph.C:
736         * pariterator.C:
737         * text.C:
738         * text2.C:
739         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
740
741 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * text3.C (getStatus): add LFUN_BEGINNINGBUF
744
745 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
746
747         * lyxfind.C: add a couple of inTexted() tests + other small fixes
748         * BufferView_pimpl.[Ch] (getStatus)
749         * BufferView.[Ch] (getStatus): add
750         * lyxfunc.C (getStatus): move lfuns handled in
751         BufferView::dispatch to te function above
752         * Cursor.C (setSelection): set selection() = true
753
754 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
755
756         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
757
758 2004-03-31  Angus Leeming  <leeming@lyx.org>
759
760         * lyxfunc.C (dispatch): Fall through to the generic
761         Dialogs::show("preamble").
762
763 2004-03-31  Angus Leeming  <leeming@lyx.org>
764
765         * lyxfunc.C (dispatch): Fall through to the generic
766         Dialogs::show("spellchecker").
767
768 2004-03-31  Angus Leeming  <leeming@lyx.org>
769
770         * lyxfunc.C (getStatus, dispatch): changed invocation of the
771         preferences dialog.
772
773 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
774
775         * BufferView.C
776         * cursor.[Ch]
777         * dociterator.[Ch]:
778         * insetiterator.[Ch]:
779         * lyxfind.C:
780         * lyxfunc.C:
781         * pariterator.[Ch]:
782         * text2.C:
783         * undo.[Ch]: s/DocumentIterator/DocIterator/g
784
785 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
786
787         * BufferView.C (setCursor, putSelectionAt): call edit to open the
788         insets where we are putting the cursor.
789
790 2004-03-31  Angus Leeming  <leeming@lyx.org>
791
792         * lfuns.h:
793         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
794
795         * lyxrc.[Ch] (read, write): overloaded member functions taking
796         a std::[io]stream arguments.
797
798         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
799
800 2004-03-31  Angus Leeming  <leeming@lyx.org>
801
802         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
803         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
804
805         * lyxtextclass.C (load): if the text class couldn't be loaded, then
806         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
807
808 2004-03-31  Angus Leeming  <leeming@lyx.org>
809
810         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
811         the LFUN_ALL_INSETS_TOGGLE code.
812
813 2004-03-30  Angus Leeming  <leeming@lyx.org>
814
815         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
816         has died. Fall through to the generic Dialogs::show("document").
817
818 2004-03-30  Angus Leeming  <leeming@lyx.org>
819
820         * lfuns.h:
821         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
822         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
823
824         * lyxfunc.C (getStatus, dispatch): define the actions for these
825         lfuns. Little more than a cut and pste job from ControlDocument.C
826
827         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
828
829 2004-03-30  Angus Leeming  <leeming@lyx.org>
830
831         * lfuns.h:
832         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
833         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
834
835         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
836         open/closed state of ollapsable insets. Usage:
837
838         all-inset-toggle <state> <name>, where
839         <state> == "open" || "closed" || "toggle" and
840         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
841
842         * lyxtext.h, text2.C (toggleInset): removed.
843
844         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
845         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
846         now passes LFUN_INSET_TOGGLE to the found inset.
847
848         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
849         is now invoked as "all-insets-toggle toggle branch".
850
851 2004-03-30  Angus Leeming  <leeming@lyx.org>
852
853         * dociterator.C:
854         * insetiterator.C:
855         * pariterator.[Ch]: added/corrected header blurb.
856
857 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * dociterator.[Ch]: add an inset_ member
860         (backwardPos): implemented
861         (backwardPos, forwardPos): use inset_ when the stack is empty.
862         (doc_iterator_begin, doc_iterator_end): implemented
863         * pariterator.[Ch]: adjust, add begin, end
864         * insetiterator.[Ch]: adjust, add begin, end
865         * cursor.C:
866         * document.C:
867         * BufferView.C:
868         * BufferView_pimpl.C:
869         * CutAndPaste.C: adjust
870
871 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
872
873         * buffer.C: increment file format to 232.
874         * LaTeXFeatures.C: add bibtopic package.
875         * bufferparams.[Ch]: param \use_bibtopic.
876
877         * lyxrc.[Ch]: add lyxrc bibtex_command
878         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
879
880         * buffer.C: increment file format to 231.
881
882 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
883
884         * dociterator.C: implement forwardPar
885         * iterators.[Ch]: remove, replaced by
886         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
887         * BufferView.C:
888         * BufferView_pimpl.C:
889         * CutAndPaste.C:
890         * buffer.C:
891         * bufferview_funcs.C:
892         * cursor.C:
893         * lyxfind.C
894         * lyxfunc.C
895         * paragraph_funcs.C
896         * toc.C:
897         * Makefile.am: adjust
898
899 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * CutAndPaste.C (pasteSelection): fix 2 crashes
902         (eraseSelection): fix a crash
903         * paragraph_funcs.C: remove a warning
904
905 2004-03-28  Angus Leeming  <leeming@lyx.org>
906
907         * lfuns.h:
908         * LyXAction.C (init): new LFUN_PRINT.
909
910         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
911
912 2004-03-27  Angus Leeming  <leeming@lyx.org>
913
914         * lfuns.h:
915         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
916
917         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
918
919 2004-03-27  Angus Leeming  <leeming@lyx.org>
920
921         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
922         insetlist always contains non-null pointers to insets.
923
924 2004-03-26  Angus Leeming  <leeming@lyx.org>
925
926         * src/BufferView_pimpl.C:
927         * src/CutAndPaste.C:
928         * src/buffer.C:
929         * src/iterators.C:
930         * src/output_plaintext.C:
931         * src/outputparams.h:
932         * src/paragraph_funcs.C:
933         * src/rowpainter.C:
934         * src/text.C:
935         * src/text2.C:
936         * src/frontends/controllers/ControlErrorList.C:
937         * src/frontends/gtk/FileDialogPrivate.C:
938         * src/frontends/gtk/GPainter.C:
939         * src/frontends/gtk/GToolbar.C:
940         * src/frontends/qt2/QRef.C:
941         * src/mathed/math_scriptinset.C: squash compiler warnings.
942
943 2004-03-26  Angus Leeming  <leeming@lyx.org>
944
945         * ispell.C (LaunchIspell::start):
946         * lyx_cb.C (AutoSaveBuffer::start):
947         invoke run(DontWait) rather than runNonBlocking().
948
949 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
952
953 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * kbsequence.C (print): adjust
956
957         * kbmap.C (printKeySym): rename and change signature
958         (printKey): use LyXKeySym::print()
959
960 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
961
962         * undo.C: add using std::advance to compile for stlport
963
964 2004-03-24  Angus Leeming  <leeming@lyx.org>
965
966         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
967         it leads to a crash when no buffer is present.
968
969 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970             Martin Vermeer  <martin.vermeer@hut.fi>
971
972         * lyxfunc.C (dispatch):
973         * bufferparams.C (readToken): use the new LColor::setColor
974
975         * LColor.[Ch] (setColor): new version that takes two strings as
976         argument and creates a new color entry if necessary
977
978 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
979
980         * buffer.C (makeLaTeXFile): if the main latex file that is
981         processed is usually a subdocument of some master, then pretend
982         for a while that it is actually the master
983
984 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
985
986         * buffer.C (getLabelList):
987         (getBibkeyList): use getMasterBuffer()
988         (getMasterBuffer): new method. Returns the main document in the
989         case where one is using included documents.
990
991 2004-03-25  André Pönitz  <poenitz@gmx.net>
992
993         * Makefile.am:
994         * iterators.[Ch]:
995         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
996
997         * ParagraphList_fwd.h: change ParagraphList to a std::vector
998
999         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1000         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1001
1002         * ParameterStruct.h: merge with ParagraphParameters
1003
1004         * lyxtext.h: remove LyXText::parOffset() and getPar()
1005
1006         * text3.C: Remove all 'manual' update calls. We do now one per user
1007         interaction which is completely sufficient.
1008
1009         * Bidi.C:
1010         * BufferView.[Ch]:
1011         * BufferView_pimpl.C:
1012         * FontIterator.[Ch]:
1013         * MenuBackend.C:
1014         * ParagraphParameters.[Ch]:
1015         * buffer.C:
1016         * buffer.h:
1017         * bufferlist.C:
1018         * cursor.[Ch]:
1019         * cursor_slice.[Ch]:
1020         * dociterator.[Ch]:
1021         * errorlist.[Ch]:
1022         * factory.C:
1023         * lfuns.h:
1024         * lyxfind.C:
1025         * lyxfunc.C:
1026         * output_docbook.[Ch]:
1027         * output_latex.[Ch]:
1028         * output_linuxdoc.[Ch]:
1029         * output_plaintext.[Ch]:
1030         * paragraph.[Ch]:
1031         * paragraph_funcs.[Ch]:
1032         * paragraph_pimpl.[Ch]:
1033         * rowpainter.C:
1034         * tabular.[Ch]:
1035         * text.C:
1036         * text2.C:
1037         * toc.C:
1038         * undo.[Ch]: adjust
1039
1040         * frontends/controllers/ControlDocument.C:
1041         * frontends/controllers/ControlErrorList.C:
1042         * frontends/controllers/ControlSpellchecker.C:
1043         * insets/inset.C:
1044         * insets/inset.h:
1045         * insets/insetbase.h:
1046         * insets/insetbibitem.C:
1047         * insets/insetbox.C:
1048         * insets/insetbranch.C:
1049         * insets/insetcaption.C:
1050         * insets/insetcharstyle.C:
1051         * insets/insetcharstyle.h:
1052         * insets/insetcollapsable.C:
1053         * insets/insetcollapsable.h:
1054         * insets/insetert.C:
1055         * insets/insetfloat.C:
1056         * insets/insetfoot.C:
1057         * insets/insetmarginal.C:
1058         * insets/insetnote.C:
1059         * insets/insetoptarg.C:
1060         * insets/insettabular.C:
1061         * insets/insettext.C:
1062         * insets/insettext.h:
1063         * insets/insetwrap.C:
1064         * mathed/math_mboxinset.C:
1065         * mathed/math_nestinset.C:
1066         * mathed/math_scriptinset.C:
1067         * mathed/math_scriptinset.h:
1068         * support/types.h:
1069
1070 2004-03-24  Angus Leeming  <leeming@lyx.org>
1071
1072         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1073         deal with any child processes that have finished but are waiting to
1074         communicate this fact to the rest of LyX.
1075
1076 2004-03-24  Angus Leeming  <leeming@lyx.org>
1077
1078         64-bit compile fixes.
1079
1080         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1081         (c-tor): pass lyx::pos_types rather than ints.
1082
1083         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1084         lyx::pos_type.
1085
1086         * text.C (Delete): compile fix.
1087         (getPar): ensure that function declaration is the same as that in
1088         the header file.
1089
1090 2004-03-23  Angus Leeming  <leeming@lyx.org>
1091
1092         * ispell.C (LaunchIspell):
1093         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1094         a boost::shred_ptr rather than a std::auto_ptr.
1095
1096 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1099         handle LFUN_FILE_INSERT_*
1100
1101         * lyxrc.C (setDefaults, getDescription, output, read):
1102         * lyxrc.h: remove ps_command
1103
1104 2004-03-22  Angus Leeming  <leeming@lyx.org>
1105
1106         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1107         Ensure that error_handler is processed once only and that all data
1108         is saved before attempting to output any warning messages.
1109
1110         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1111
1112 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1115
1116 2004-03-19  André Pönitz  <poenitz@gmx.net>
1117
1118         * cursor.[Ch] (reset): take main text inset as argument
1119
1120         * BufferView: adjust
1121         * BufferView_pimpl.C: adjust
1122
1123         * paragraph.[Ch]: fix completely broken operator=()
1124
1125 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * LColor.C (getFromLyXName): make sure that the color name is used
1128         as lowercase.
1129
1130 2004-03-17  Angus Leeming  <leeming@lyx.org>
1131
1132         * lfuns.h:
1133         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1134
1135         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1136         dialog and to kill a forked process.
1137
1138 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * text2.C (setCursorFromCoordinates): fix font problem
1141
1142 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1143
1144         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1145         bogus "rebuild cursor" code
1146
1147 2004-03-11  André Pönitz  <poenitz@gmx.net>
1148
1149         * buffer.[Ch]: use InsetText instead of LyXText as container for
1150         the main lyx text.
1151
1152         * dociterator.[Ch]: drop the BufferView * member which is not needed
1153         anymore after the change to buffer.C
1154
1155         * paragraph_funcs.C:
1156         * text.C:
1157         * text2.C:
1158         * BufferView.[Ch]:
1159         * BufferView_pimpl.[Ch]:
1160         * cursor.[Ch]:
1161         * cursor_slice.[Ch]: adjust
1162
1163         * text3.C: fix bug in mathDispatch
1164
1165 2004-03-08  André Pönitz  <poenitz@gmx.net>
1166
1167         * undo.[Ch]: use 'StableDocumentIterator' as base for
1168         the Undo struct.
1169
1170 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1171
1172         * LaTeXFeatures.C:
1173         * bufferparams.[Ch]: add jurabib support and param.
1174
1175         * LaTeX.C: add FIXME/comment.
1176
1177 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1178
1179         * buffer.C: increment file format to 230.
1180
1181 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1182
1183         * cursor.C (dispatch): avoid infinite loops
1184
1185 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1186
1187         * rowpainter.C (paintSelection): fix x coordinates
1188
1189 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * text.C (rowBreakPoint): fix breaking before displayed insets
1192
1193 2004-03-01  André Pönitz  <poenitz@gmx.net>
1194
1195         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1196
1197         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1198
1199         * Makefile.am:
1200         * BufferView.C:
1201         * BufferView_pimpl.C:
1202         * buffer.C:
1203         * lyxfind.C:
1204         * lyxfunc.C:
1205         * text.C:
1206         * text2.C:
1207         * text3.C: adjust
1208
1209 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1210
1211         * lyxtext.h:
1212         * text.C:
1213         * text2.C:
1214         * rowpainter.C:
1215         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1216         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1217
1218 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * Bidi.[Ch] (computeTables): const correctness
1221         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1222         fill_hfill, fill_label_hfill and x from Row
1223         * lyxtext.h: prepareToPrint returns a RowMetrics
1224         * rowPainter.C: adjust
1225         * text.C (prepareToPrint): use width, not textWidth. adjust
1226         (redoParagraphInternal, cursorX): adjust
1227         * text2.C (getColumnNearX): adjust
1228         (init): put a default value to the top LyXText::width
1229
1230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1233
1234 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * lyxtext.h: add FontIterator class
1237
1238         * text.C (FontIterator, operator*, operator->, operator++): add
1239         (rowBreakPoint, setRowWidth): adjust (fixing a
1240         rebreaking bug)
1241
1242 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * BufferView_pimpl.C (workAreaDispatch): allow also
1245         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1246
1247 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * text.C (rowBreakPoint): fix a bug showing with very large insets
1250
1251 2004-02-25  André Pönitz  <poenitz@gmx.net>
1252
1253         * text3.C:
1254         * cursor.[Ch]: move some mathed specific code to mathed
1255
1256 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1257
1258         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1259         use_tempdir in preferences
1260         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1261         tempfile creation
1262         * lyx_main.C: ensure that tempdir is valid
1263         * lyxlex.h: correct typo
1264         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1265         * paragraph.[Ch] (isMultiLingual): make const
1266         * cursor.[Ch] (openable): make const
1267
1268 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1269
1270         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1271
1272 2004-02-20  André Pönitz  <poenitz@gmx.net>
1273
1274         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1275
1276         * cursor.[Ch]: prepare for localized getStatus()
1277
1278         * lyxtext.h:
1279         * tabular.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1283
1284 2004-02-20  André Pönitz  <poenitz@gmx.net>
1285
1286         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1287
1288 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1289
1290         * text2.C (setCursorFromCoordinates): switch to absolute coords
1291         (cursorUp): adjust
1292         (cursorDown): adjust
1293         * text3.C (dispatch): adjust
1294
1295 2004-02-16  André Pönitz  <poenitz@gmx.net>
1296
1297         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1298           insets/ChangeLog)
1299
1300         * cursor_slice.[Ch]: remove unneeded acessor function
1301
1302         * lyxtext.h: rename rtl() to isRTL()
1303
1304         * rowpainter.C:
1305         * tabular.C:
1306         * text.C:
1307         * text2.C:
1308         * text3.C: adjust
1309
1310 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * rowpainter.C (paintSelection): coord fix
1313
1314 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1315
1316         * Spacing.C: compile fix
1317
1318 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1319
1320         * cursor.C (dispatch): restore current_ before returning
1321
1322 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1323
1324         * text2.C (cursorUp, cursorDown): fix coords
1325         (moveUp): fix crash
1326
1327 2004-02-12  André Pönitz  <poenitz@gmx.net>
1328
1329         * lyxtext.h:
1330         * text.C:
1331         * text2.C:
1332         * text3.C: add LCursor & parameter to most cursor movement functions
1333           remove usage of LyXText::cursorRow() and cursorPar()
1334
1335         * cursor.[Ch]: add textRow() needed members
1336
1337         * BufferView.C:
1338         * BufferView_pimpl.C:
1339         * paragraph.[Ch]:
1340         * BufferView.C:
1341         * BufferView_pimpl.C: adjust
1342
1343 2004-02-11  André Pönitz  <poenitz@gmx.net>
1344
1345         * lyxfunc.C:
1346         * BufferView.[Ch]:
1347         * BufferView_pimpl.C: shift undo/redo handling
1348
1349         * cursor.[Ch]: fix mathed crash
1350
1351         * lyxfind.C:
1352         * lyxtext.h: move selectionAsText to LCursor
1353
1354         * output_latex.C:
1355         * paragraph.C:
1356         * text.C:
1357         * text2.C:
1358         * text3.C: adjust
1359
1360         * rowpainter.C: fix excessive drawing
1361
1362 2004-02-06  André Pönitz  <poenitz@gmx.net>
1363
1364         * BufferView.[Ch]:
1365         * BufferView_pimpl.[Ch]:
1366         * text3.C: move some text specific LFUN handling
1367
1368 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * text3.C (checkInsetHit): adjust coords
1371         * text2.C (getColumnNearX): adjust coords
1372         (edit): adjust coords
1373         * text.C (getRowNearY): add two asserts
1374
1375 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1376
1377         * converter.C:
1378         * format.C: add using std::distance to compile on gcc 2.95/stlport
1379
1380 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1381
1382         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1383
1384 2004-02-04  André Pönitz  <poenitz@gmx.net>
1385
1386         * BufferView.[Ch] (insertInset):
1387         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1388
1389         * text2.C:
1390         * text3.C: adjust
1391
1392 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1395         on the default clause of the switch
1396         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1397         wasn't catched by LCursor::dispatch
1398
1399 2004-02-03  André Pönitz  <poenitz@gmx.net>
1400
1401         * BufferView.C:
1402         * cursor.[Ch]: some additional asserts
1403
1404         * undo.[Ch]: remove LyXText dependency in interface
1405
1406         * lyxfunc.C: adjust
1407
1408         * lyxtext.h (firstPar, lastPar): remove dead functions
1409
1410         * text.C:
1411         * text2.C:
1412         * text3.C:
1413         * paragraph.[Ch]: adjust
1414
1415 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1416
1417         * lyxfind.C (find): fix argument order in call to ::find
1418
1419 2004-02-02  André Pönitz  <poenitz@gmx.net>
1420
1421         * cursor.[Ch]: remove direct access to anchor
1422
1423         * text.C: remove findText() hack
1424
1425 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * iterators.[Ch] (lockPath): remove in favour of...
1428         * BufferView.[Ch] (setCursor): this addition
1429         * BufferView.C (putSelectionAt): adjust
1430         * undo.C (performUndoOrRedo): adjust
1431         * lyxfunc.C (dispatch): adjust
1432
1433 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * iterators.C (lockPath): add a missing slice
1436         * undo.C (performUndoOrRedo): remove redundant positioning code
1437
1438 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1439
1440         * vc-backend.C (scanMaster): ";" -> ';'
1441
1442 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1443
1444         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1445         std::binary_function
1446
1447         * lyxtextclass.C (compare_name): rename to...
1448         (LayoutNamesEqual): ...this
1449
1450         * lyxlex_pimpl.C (compare_tags): inherit from
1451         std::binary_function, put back into anon namespace
1452
1453         * lyxfind.C (MatchString): inherig from std::binary_function
1454         (findChange): use empty() istead of !size()
1455
1456         * format.C (FormatNamesEqual): new functor
1457         (getFormat): use it
1458         (getNumber): use it
1459         (add): use it
1460         (erase): use it
1461         (setViewer): use it
1462
1463         * converter.C (compare_Converter): rename to...
1464         (ConverterEqual): ...this, and fixup a bit.
1465         (getConverter): use it, and make function const
1466         (getNumber): use it, and make function const
1467         (add): use it
1468         (erase): use it:
1469
1470         * bufferlist.C: add using boost::bind
1471
1472         * MenuBackend.C (MenuNamesEqual): new functor
1473         (hasMenu): use it, and make function const
1474         (hasSubmenu): use nested bind to get rid of compare_memfun.
1475
1476 2004-01-30  André Pönitz  <poenitz@gmx.net>
1477
1478         * BufferView_pimpl.C:
1479         * cursor.C:
1480         * cursor.h:
1481         * cursor_slice.[Ch]:
1482         * lyxfunc.C:
1483         * lyxtext.h:
1484         * paragraph_funcs.C:
1485         * paragraph_funcs.h:
1486         * rowpainter.C:
1487         * text.C:
1488         * text2.C:
1489         * text3.C: move some of the edit(x,y) handling to the insets
1490         some coordinate changes.
1491
1492 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1493
1494         * text.C: add using statements for std::advance and std::distance
1495
1496         * paragraph.C: add using statement for std::distance
1497
1498         * lyxfind.C: add using statement for std::advance
1499
1500         * cursor.C (region): remove std:: from swap
1501         (openable): use nucleus in stead of operator->
1502
1503         * BufferView.C: add using statements for std::distance and std::swap
1504
1505 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * iterators.C: Remove the pimple, move the needed structures to
1508         the header file. Create accessor for the positions stack.
1509         (asPosIterator): remove function
1510
1511         * PosIterator.C (PosIterator): move constructors to top of file
1512         (PosIterator): reimplement the constructor taking a ParIterator in
1513         terms of setFrom.
1514         (setFrom): new function
1515         (operator!=): inline it
1516
1517 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1518
1519         * lyxfind.C (replaceAll): use std::advance
1520
1521         * iterators.h: inherit from std::iterator.
1522
1523         * PosIterator.C (advance, distance): remove
1524         * PosIterator.h: interit from std::iterator.
1525
1526 2004-01-26  André Pönitz  <poenitz@gmx.net>
1527
1528         * BufferView.[Ch]:
1529         * BufferView_pimpl.[Ch]:
1530         * InsetList.[Ch]:
1531         * PosIterator.[Ch]:
1532         * buffer.h:
1533         * bufferview_funcs.C:
1534         * cursor.[Ch]:
1535         * cursor_slice.h:
1536         * factory.[Ch]:
1537         * iterators.[Ch]:
1538         * lyxfind.C:
1539         * lyxfunc.C:
1540         * lyxtext.h:
1541         * output_docbook.C:
1542         * output_latex.C:
1543         * output_linuxdoc.C:
1544         * output_plaintext.C:
1545         * paragraph.[Ch]:
1546         * paragraph_funcs.[Ch]:
1547         * paragraph_pimpl.[Ch]:
1548         * rowpainter.C:
1549         * tabular.C:
1550         * tabular.h:
1551         * text.C:
1552         * text2.C:
1553         * text3.C: more IU:  dumps most of the rest of the mathcursor
1554     implementation into cursor.[Ch]; "globalize" a bit of it.
1555
1556 2004-01-25  Angus Leeming  <leeming@lyx.org>
1557
1558         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1559
1560 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1561
1562         * LaTeXFeatures.h: add nice_ and nice() const
1563         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1564
1565 2004-01-20  André Pönitz  <poenitz@gmx.net>
1566
1567         * BufferView.[Ch]:
1568         * BufferView_pimpl.C:
1569         * PosIterator.C:
1570         * bufferview_funcs.C:
1571         * cursor.[Ch]:
1572         * cursor_slice.[Ch]:
1573         * factory.C:
1574         * iterators.C:
1575         * lyx_cb.C:
1576         * lyxfind.C:
1577         * lyxfunc.C:
1578         * lyxtext.h:
1579         * rowpainter.C:
1580         * text.C:
1581         * text2.C:
1582         * text3.C:
1583         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1584           LCursor and mathcursor parts to LCursor and InsetBase.
1585
1586 2004-01-15  André Pönitz  <poenitz@gmx.net>
1587
1588         * cursor_slice.[Ch]: add a few covienience functions
1589
1590         * funcrequest.[Ch]: remove BufferView * member
1591
1592         * BufferView_pimpl.C:
1593         * cursor.C:
1594         * factory.[Ch]:
1595         * lyxfind.[Ch]:
1596         * lyxfunc.C:
1597         * lyxtext.h:
1598         * text3.C:
1599         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1600
1601 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1604         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1605
1606 2004-01-13  André Pönitz  <poenitz@gmx.net>
1607
1608         * textcursor.[Ch]:
1609         * lyxtext.h: hide cursor and selection anchor behind accessor function
1610
1611         * BufferView.C:
1612         * BufferView_pimpl.[Ch]:
1613         * PosIterator.C:
1614         * bufferview_funcs.C:
1615         * cursor.h:
1616         * lyxfind.C:
1617         * lyxfunc.C:
1618         * text.C:
1619         * text2.C:
1620         * text3.C:
1621         * undo.C: adjust
1622
1623         * cursor.h:
1624         * cursor_slice.[Ch]: some integer type changes for inset unification
1625
1626         * lyxcursor.[hC]: remove, it's CursorSlice now.
1627
1628         * Makefile.am:
1629         * BufferView_pimpl.[Ch]:
1630         * bufferview_funcs.C:
1631         * cursor_slice.C:
1632         * lyxtext.h:
1633         * text.C:
1634         * text2.C:
1635         * text3.C:
1636         * textcursor.[Ch]: adjust
1637
1638 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * text2.C (undoSpan): add and use
1641         * text.C (breakParagraph): use undoSpan (fix bug 578)
1642         * lyxtext.h: adjust
1643
1644 2004-01-08  Angus Leeming  <leeming@lyx.org>
1645
1646         * BufferView_pimpl.C (MenuInsertLyXFile):
1647         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1648         * lyxfunc.C (menuNew, open, doImport):
1649         FileFilterList change to the FileDialog open and save functions.
1650
1651 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1652
1653         * ShareContainer.h: make isEqual and isUnique adaptable
1654
1655         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1656
1657 2004-01-07  Angus Leeming  <leeming@lyx.org>
1658
1659         * LyXAction.C:
1660         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1661
1662         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1663
1664         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1665         functions replacing find, replace and replaceAll.
1666
1667         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1668         LFUN_WORDFIND(FORWARD|BACKWARD).
1669
1670 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1671
1672         * text.C (breakParagraph): remove an outdated #warning
1673
1674 2004-01-07  André Pönitz  <poenitz@gmx.net>
1675
1676         * lyxfind.C: somewhat clearer logic
1677
1678         * text.C: prevent crash in cursorX on unitialized row cache
1679
1680 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * lyxcursor.[Ch] (operator>): add
1683         * textcursor.C (selStart, selEnd): use std::min and std::max
1684
1685 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1686
1687         * Chktex.C: include boost/format.hpp
1688
1689 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1690
1691         * InsetList.C: replace functor MathcIt with adaptable functor
1692         InsetTablePosLess
1693         (insetIterator): modify accordingly
1694
1695         * BranchList.h: move the BranchNamesEqual functor here from...
1696         * BranchList.C: ... to here
1697
1698         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1699         SameName and match.
1700         (add): replace a finding loop with std::find_if.
1701
1702 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1703
1704         * output_docbook.C: moving LatexParam functionality into
1705         .layout files
1706
1707 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1708
1709         * buffer.C: increment format to 229.
1710
1711 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1712
1713         * LaTeXFeatures.C:
1714         * lyx_sty.[Ch]: remove minipageindent_def
1715
1716         * LyXAction.C:
1717         * factory.C:
1718         * lfuns.h:
1719         * lyxfunc.C:
1720         * text3.C: remove LFUN_INSET_MINIPAGE
1721
1722 2003-12-28  Angus Leeming  <leeming@lyx.org>
1723
1724         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1725
1726 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1727
1728         * text2.C (setParagraph): fix off-by-one crash
1729
1730 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1731
1732         * output_docbook.C: header stuff for AGU
1733
1734 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1735
1736         * text2.C (redoCursor): remove
1737         * text.C:
1738         * text3.C:
1739         * BufferView_pimpl.C: remove calls to redoCursor and
1740         setCursor(cursor.par(), cursor.pos()) all around
1741
1742 2003-12-15  Angus Leeming  <leeming@lyx.org>
1743
1744         * buffer.C: up the format to 228.
1745
1746 2003-12-15  André Pönitz  <poenitz@gmx.net>
1747
1748         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1749         slices
1750
1751         * Makefile.am:
1752
1753         * BufferView_pimpl.C:
1754         * cursor.[Ch]:
1755         * lyxcursor.[Ch]:
1756         * rowpainter.[Ch]:
1757         * lyxtext.h:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: adjust
1761
1762 2003-12-15  Angus Leeming  <leeming@lyx.org>
1763
1764         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1765         than getFromGUIName to manipulate the color.
1766
1767 2003-12-14  Angus Leeming  <leeming@lyx.org>
1768
1769         * BranchList.[Ch]: minimize the API.
1770         (Branch::getBranch, getColor): now return a 'const &'.
1771         (Branch::setSelected) now returns a bool set to true if the
1772         selection status changes.
1773         (BranchList::clear, size, getColor, setColor, setSelected,
1774         allBranches, allSelected, separator): removed.
1775         (BranchList::find): new functions, returning the Branch with
1776         the given name.
1777         (BranchList::add, remove): return a bool indicating that
1778         the operation was successful.
1779
1780         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1781         new InsetBranch::isBranchSlected member function.
1782
1783         * LColor.[Ch]: mimimize the API.
1784         (fill): renamed as addColor and made private.
1785         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1786         versions of these functions taking a string arg have been removed.
1787
1788         * bufferparams.C (readToken):
1789         * lyxfunc.C (dispatch):
1790         * lyxrc.C (read): changes due to the altered BranchList and
1791         LColor APIs.
1792
1793         * factory.C (createInset, readInset): changes due to altered
1794         InsetBranch c-tor.
1795
1796 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1797
1798         * factory.C:
1799         * lyxfunc.C: remove insetminipage. "minipage-insert"
1800         now produces a frameless minipage box inset.
1801
1802 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * textcursor.[Ch] (selStart,selEnd): add new methods
1805         remove selection::start, end, use LyXCursor::operator<
1806         * lyxcursor.[Ch] (operator<): add
1807         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1808         * BufferView.[Ch] (unsetXSel): add
1809         * text2.C (clearSelection): use unsetXSel,adjust
1810         * text.C: adjust
1811         * text3.C: adjust
1812         * rowpainter.C: adjust
1813         * bufferview_funcs.C (put_selection_at): adjust
1814
1815 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * BufferView_pimpl.C: small coord. correction
1818
1819 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1822         dragging over the splash screen.
1823
1824 2003-12-11  Angus Leeming  <leeming@lyx.org>
1825
1826         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1827         as it is now handled in LyXText::dispatch.
1828
1829         * text3.C (doInsertInset): remove a level of nesting.
1830
1831 2003-12-11  Angus Leeming  <leeming@lyx.org>
1832
1833         * factory.C (createInset): changes due to the changed interface to
1834         InsetCommandMailer::string2params.
1835
1836 2003-12-10  Angus Leeming  <leeming@lyx.org>
1837
1838         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1839         'dialog-show-new-inset <inset name>'
1840
1841 2003-12-10  Angus Leeming  <leeming@lyx.org>
1842
1843         * buffer.C: up the format to 227.
1844
1845         * factory.C: the box inset is now identified simply by 'Box'.
1846
1847 2003-12-10  Angus Leeming  <leeming@lyx.org>
1848
1849         * buffer.C: up the format to 226.
1850
1851         * factory.C: the note inset is now identified simply by 'Note'.
1852
1853 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1856         when a pit is enough. Standarize a couple of loops.
1857
1858 2003-12-05  Angus Leeming  <leeming@lyx.org>
1859
1860         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1861         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1862         data to the re-worked "log" dialog.
1863
1864 2003-12-03  André Pönitz  <poenitz@gmx.net>
1865
1866         * PosIterator.C:
1867         * iterators.C:
1868         * lyxtext.h:
1869         * output_latex.C:
1870         * paragraph_funcs.C:
1871         * text.C:
1872         * text2.C: use Inset::getText instead of Inset::getParagraph
1873
1874 2003-12-03  André Pönitz  <poenitz@gmx.net>
1875
1876         * buffer.[Ch]:
1877         * lyxtext.h:
1878         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1879         InsetText::read() as LyXText::read()
1880
1881 2003-12-02  Angus Leeming  <leeming@lyx.org>
1882
1883         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1884         type. Add a comment in the implementation that the function uses
1885         the stream's bad() function rather than fail() as the std::streams
1886         would do.
1887
1888 2003-12-02  André Pönitz  <poenitz@gmx.net>
1889
1890         * lyxlex.[Ch]: make interface more similar to std::stream
1891
1892         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1893
1894 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1897
1898 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1899
1900         * vspace.[Ch]: remove VSpace::NONE
1901
1902 2003-12-01  André Pönitz  <poenitz@gmx.net>
1903
1904         * buffer.[Ch]:
1905         * lyxtext.h: move ParagraphList member to LyXText
1906         rename LyXText::ownerParagraphs to LyXText::paragraph
1907
1908         * CutAndPaste.C:
1909         * bufferview_funcs.C:
1910         * iterators.[Ch]:
1911         * lyx_cb.C:
1912         * paragraph.C:
1913         * rowpainter.C:
1914         * tabular.C:
1915         * text.C:
1916         * text2.C:
1917         * text3.C: adjust
1918
1919         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1920
1921         * undo.C: fix cursor positioning
1922
1923 2003-12-01  John Levon  <levon@movementarian.org>
1924
1925         * BufferView_pimpl.C: fix a crash on exit with
1926         a buffer open
1927
1928 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1929
1930         * BranchList.C: fix setSelected() method.
1931
1932 2003-11-28  André Pönitz  <poenitz@gmx.net>
1933
1934         * ParagraphParameters.[Ch]:
1935         * ParameterStruct.h: remove space above/below from Paragraph to
1936          InsetVSpace
1937
1938         * BufferView_pimpl.C:
1939         * factory.C:
1940         * lyxfunc.C:
1941         * lyxtext.h:
1942         * output_latex.C:
1943         * paragraph.C:
1944         * paragraph_funcs.C:
1945         * rowpainter.[Ch]:
1946         * text.C:
1947         * text2.C:
1948         * text3.C: adjust
1949
1950 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * factory.C: Syntax change for CharStyles
1953
1954 2003-11-28  André Pönitz  <poenitz@gmx.net>
1955
1956         * BufferView.[Ch]:
1957         * BufferView.[Ch]:
1958         * buffer.[Ch]:
1959         * buffer.[Ch]: move LyXText member
1960
1961 2003-11-28  André Pönitz  <poenitz@gmx.net>
1962
1963         * BufferView.[Ch]: make LyXText * text a private member
1964
1965         * BufferView_pimpl.C:
1966         * cursor.C:
1967         * iterators.C:
1968         * lyx_cb.C:
1969         * lyxfind.C:
1970         * lyxtext.h:
1971         * rowpainter.[Ch]:
1972         * text.C:
1973         * text2.C:
1974         * undo.C: adjust
1975
1976         * output_plaintext.C: cleanup
1977
1978 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1979
1980         * buffer.C:
1981         * lyxtextclass.[Ch]: parametrize SGML document header
1982
1983 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1984
1985         * converter.[Ch]:
1986         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1987         getFlavor().
1988
1989 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * text2.C (setFont): rework using PosIterator (no more recursive)
1992         (setCharFont): no more needed
1993         (setLayout): no more selection cursors fiddling (done by redoCursor)
1994         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1995         destroy remaining ones)
1996
1997 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2000         * lyxtext.h: ditto
2001         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2002         selection cursors
2003         * lyxfunc.C: adjust
2004         * text3.C: adjust + re-allow multi par depth changes
2005         * textcursor.C: simplify a bit
2006
2007 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2008
2009         * src/buffer.C:
2010         * src/lyxlayout.C:
2011         * src/lyxlayout.h:
2012         * src/lyxtext.h:
2013         * src/output_docbook.C:
2014         * src/output_latex.C:
2015         * src/paragraph.C:
2016         * src/paragraph.h:
2017         * src/sgml.C:
2018         * src/sgml.h:
2019         * src/text2.C: Introducing a number of tags parametrizing various
2020         XML formats that we may want to support
2021
2022 2003-11-25  André Pönitz  <poenitz@gmx.net>
2023
2024         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2025
2026         * lyxtext.h (leftMargin/rightMargin): simplify interface
2027
2028         * rowpainter.C:
2029         * text.C:
2030         * text2.C:
2031         * text3.C: adjust
2032
2033 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2034
2035         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2036         master file to any child files. Fixes bug 546.
2037
2038 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2041
2042 2003-11-24  André Pönitz  <poenitz@gmx.net>
2043
2044         * rowpainter.C: simplification
2045
2046         * text2.C (updateCounters): remove call to redoParagraph on
2047         changed labels as this is far too expensive.
2048
2049 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2050
2051         * converter.C (convert): fix a crash: this function gets
2052         called with buffer == 0 from importer code.
2053
2054 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2055
2056         * text3.C (cursorPrevious): make sure that we do not compare
2057         iterators form different containers.
2058         (cursorNext): ditto
2059
2060         * rowpainter.C (paintSelection): make sure that we do not compare
2061         iterators from different containers.
2062
2063         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2064         iterators from different ParagraphList containers.
2065         [NEXT] ditto
2066
2067         * text2.C (LyXText): change order of initialization slightly
2068         (operator=): new function. copy all variables except cache_par_
2069         (moveUp): make sure that we do not compare iterators from
2070         different ParagraphList constainers.
2071         (moveDown): ditto
2072
2073         * text.C (firstPar): new function
2074         (lastPar): new function
2075         (endPar): new function
2076
2077         * lyxtext.h: move things around and group public functions, public
2078         variables, private functions, private variables
2079
2080 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2081
2082         * factory.C: change call to InsetERT constructor to avoid
2083         additional invocation of method status
2084         * text2.C (toggleInset): remove redundant update() call
2085         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2086         instead of a Bufferview pointer
2087
2088 2003-11-21  André Pönitz  <poenitz@gmx.net>
2089
2090         * rowpainter.C: simplification
2091
2092 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * text3.C (dispatch): make possible to extend a word/row selection
2095         with the mouse
2096
2097 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2098
2099         * lyxtext.h: x0_,y0_ -> xo_,yo_
2100         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2101         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2102         * rowpainter.C (paintRows): paint full paragraphs
2103
2104 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2107         screen coordinates)
2108
2109 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * lyxtext.h: add x0_, y0_
2112         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2113         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2114
2115 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * text2.C (setCursorIntern): move the x_target update here *
2118         * text3.C: change some bv() to true/false in calls to
2119         cursorUp/Down/Right/Left
2120         * cursor.C: use helper function.
2121
2122 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2123
2124         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2125         * paragraph_funcs.[Ch]: correct comment
2126         * rowpainter.C: do not paint selections away from bv->cursor()
2127         Fix a long standing selection painting bug.
2128         * text3.C: generalize mouse-selection code to LyXTexts other that
2129         top one
2130         * textcursor.C: do not use y coords if we can use par offsets
2131
2132 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2135         cursor position after e.g. inset insert)
2136
2137 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2138
2139         * lyxfind.C (replace): adjust to locking removal + some
2140         code simplification
2141
2142 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2145         of the path
2146
2147 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2148
2149         * lyxlayout.[Ch]:
2150         * output_docbook.C: XML sanitation: new layout
2151         parameters InnerTag and CommandDepth
2152
2153 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2154
2155         * BufferView_pimpl.C:
2156         * factory.C:
2157         * text3.C: Fix the insertion and modification of button-style
2158         insets
2159
2160 2003-11-13  André Pönitz  <poenitz@gmx.net>
2161
2162         * InsetList.[Ch]: remove deleteLyXText
2163
2164         * paragraph.[Ch]: cache beginOfBody position
2165
2166         * Bidi.C:
2167         * text.C:
2168         * text2.C:
2169         * text3.C: remove superfluous update() calls
2170
2171         * vspace.C: cleanup
2172
2173 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2174
2175         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2176         * BufferView.C (fitLockedInsetCursor): remove
2177         * cursor.[Ch] (getDim): add
2178         * text.C (getRowNearY): add faster version
2179         * text3.C: remove some update calls
2180
2181 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2182
2183         * LaTeXFeatures.C:
2184         * LyXAction.C:
2185         * MenuBackend.C:
2186         * MenuBackend.h:
2187         * dispatchresult.h:
2188         * factory.C:
2189         * lfuns.h:
2190         * lyxfunc.C:
2191         * lyxtextclass.C:
2192         * lyxtextclass.h:
2193         * text3.C: The Character Style /XML short element patch.
2194
2195 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2196
2197         * text3.C:
2198         * factory.C: Small step to solving 'unable to insert some insets'
2199         problem
2200
2201 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2202
2203         * cursor.[Ch] (updatePos): new function for updating the y
2204         position of the tip inset
2205         * bufferview_funcs.C (put_selection_at):
2206         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2207
2208 2003-11-11  André Pönitz  <poenitz@gmx.net>
2209
2210         * text.C: remove big comment on invalid Paragraph pointers as it is
2211         not valid anymore
2212
2213 2003-11-11  André Pönitz  <poenitz@gmx.net>
2214
2215         * text_funcs.[Ch]: merge with ...
2216
2217         * text.C: ... this
2218
2219         * lyxtext.h:
2220         * text2.C:
2221         * text3.C: adjust
2222
2223         * Makefile.am: remove text_funcs.[Ch]
2224
2225 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2226
2227         * cursor.C (getPos): return absolute cached y coord
2228
2229         * BufferView_pimpl.C (fitCursor): new simplistic code
2230         (workAreaDispatch): add a fitCursor call
2231
2232 2003-11-10  André Pönitz  <poenitz@gmx.net>
2233
2234         * BufferView.[Ch]:
2235         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2236
2237 2003-11-10  André Pönitz  <poenitz@gmx.net>
2238
2239         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2240         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2241         indicate that the cursor needs to leave an inset
2242
2243         * lyxtext.h: remove inset locking
2244
2245         * cursor.[Ch]: re-implement functionality provided by inset locking
2246
2247         * BufferView.[Ch]:
2248         * BufferView_pimpl.[Ch]:
2249         * LyXAction.C:
2250         * bufferview_funcs.[Ch]:
2251         * factory.C:
2252         * funcrequest.[Ch]:
2253         * iterators.C:
2254         * lyx_cb.C:
2255         * lyxfind.C:
2256         * lyxfunc.C:
2257         * text.C:
2258         * text2.C:
2259         * text3.C:
2260         * undo.C: adjust
2261
2262 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * PosIterator.[Ch]: replace the stack with a vector, add inset
2265         accesor
2266         * iterators.[C]: adjust
2267
2268 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2269
2270         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2271         replaced
2272         * paragraph_funcs.C (readParToken): put the correct id in the
2273         error item, not the id of the top paragraph
2274
2275 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2278         * bufferview_funcs.C (put_selection_at): use the above
2279
2280 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2281
2282         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2283
2284 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * output_linuxdoc.h:
2287         * output_plaintext.h:
2288         * output.h:
2289         * output_docbook.h: add #include statements
2290
2291 2003-11-05  José Matos  <jamatos@lyx.org>
2292
2293         * output_docbook.[Ch]:
2294         * output_latex.[Ch]:
2295         * output_linuxdoc.[Ch]:
2296         * output_plaintext.[Ch]: New files for output formats.
2297         * output.[Ch]: New file for helper functions.
2298
2299         * buffer.[Ch]:
2300         * paragraph_funcs.[Ch]: output functions moved to new files.
2301
2302         * outputparams.h: rename of latexrunparams.h
2303
2304         * LaTeX.[Ch]:
2305         * buffer.[Ch]:
2306         * bufferlist.[Ch]:
2307         * converter.[Ch]:
2308         * exporter.C:
2309         * paragraph.[Ch]:
2310         * paragraph_funcs.[Ch]:
2311         * paragraph_pimpl.[Ch]:
2312         * tabular.[Ch]: rename ascii to plaintext
2313         and LatexRunParams to OutputParams.
2314
2315 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2316
2317         * iterators.[Ch] (text): require bv argument
2318         * undo.C (recordUndo):
2319         * lyxfunc.C (dispatch):
2320         * bufferview_funcs.C (put_selection_at): adjust
2321
2322 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2323
2324         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2325
2326 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2329         nestings
2330
2331 2003-11-04  André Pönitz  <poenitz@gmx.net>
2332
2333         * cursor.[Ch]: restructure
2334
2335         * BufferView.[Ch]:
2336         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2337
2338         * iterators.[Ch] (asCursor): remove
2339
2340         * lfuns.h: remove LFUN_INSET_EDIT
2341
2342         * lyxfunc.C:
2343         * tabular.C:
2344         * text.C:
2345         * text2.C:
2346         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2347
2348 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2349
2350         * lyxfind.[Ch]: complete overhaul
2351         * BufferView_pimpl.C:
2352         * lyxfunc.C: adjust
2353         * paragraph.[Ch] (insert): add
2354
2355 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2356
2357         * BufferView.[Ch]:
2358         * lyxtext.h:
2359         * text.C: remove dead spellcheck code
2360
2361 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * dispatchresult.h: add a val setter
2364
2365         * cursor.C (dispatch): use a tempvar for data_[i]
2366
2367 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2368
2369         * PosIterator.[Ch]: compile fix
2370
2371 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2372
2373         * text.C (cursorPar): deactivate the cursor cache
2374
2375 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2376
2377         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2378
2379 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * text3.C (dispatch): adjust for new DisptchResult semantics.
2382
2383         * lyxfunc.C (dispatch): handle update when return from
2384         Cursor::dispatch, adjust for new DispatchResult semantics.
2385
2386         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2387         DispatchResult(true) mean to not update. Add class functions for
2388         setting dispatched and update, as well as reading.
2389
2390         * cursor.C (dispatch): don't handle update here
2391
2392 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2395         * trans_mgr.C: adjust
2396
2397         * paragraph_funcs.C (readParToken): exception safety
2398
2399         * lyxvc.h: store the vcs pointer in a scoped_ptr
2400         * lyxvc.C: adjust
2401
2402         * lyxsocket.C (serverCallback): exception safety
2403
2404         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2405
2406         * ispell.C (clone): make it return a auto_ptr
2407
2408         * factory.C (createInset): exception safety
2409         (readInset): exception safety
2410
2411         * bufferlist.C (newBuffer): exception safety
2412
2413         * Thesaurus.C (Thesaurus): use initialization for aik_
2414
2415         * MenuBackend.C (expandToc): exception safety.
2416
2417 2003-11-03  André Pönitz  <poenitz@gmx.net>
2418
2419         * buffer.C:
2420         * buffer.h:
2421         * bufferview_funcs.C: remove getInsetFromId()
2422
2423         * lyxcursor.[Ch]:
2424         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2425
2426         * lyxfunc.C:
2427         * text2.C:
2428         * text3.C: adjust
2429
2430 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2431
2432         * PosIterator.C (distance, advance): new
2433         * bufferview_funcs.[Ch] (put_selection_at): new
2434         * iterators.[Ch] (lockPath): new
2435
2436 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * iterators.[Ch] (asPosIterator): added
2439         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2440         * PosIterator.[Ch]: added
2441
2442 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * text3.C:
2445         * lyxfunc.C:
2446         * cursor.C (dispatch):
2447         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2448
2449         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2450         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2451         contructor, add a class function dispatched. Remove operator>=
2452
2453 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * debug.C: only use the default constructor for debugstream
2456         (lyxerr) here.
2457
2458         * main.C (main): include debug.h and setup the lyxerr streambuf
2459         here.
2460
2461 2003-10-31  José Matos  <jamatos@lyx.org>
2462
2463         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2464
2465         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2466         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2467         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2468         * paragraph_pimpl.C (simpleTeXSpecialC):
2469         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2470         add LatexRunParams argument.
2471
2472         * exporter.C (Export): change call accordingly.
2473
2474         * latexrunparams.h: add new member to take care of the other backends.
2475 2003-10-30  José Matos  <jamatos@lyx.org>
2476
2477         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2478         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2479         factorise code for paragraph output.
2480         * buffer.[Ch]:
2481         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2482         move functions.
2483
2484 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * text3.C (dispatch):
2487         * lyxfunc.C (dispatch):
2488         * cursor.C (dispatch):
2489         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2490
2491         * dispatchresult.h: make the dispatch_result_t ctor explicit
2492
2493 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2494
2495         * sgml.[Ch]:
2496         * buffer.C: small refactoring of docbook stuff
2497
2498 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2501         meaning.
2502
2503 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2506         operator dispatch_result_t, and operators for == != and >=
2507
2508         * cursor.C (dispatch): adjust for operator dispatch_result_t
2509         removal. comment out call to update
2510
2511         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2512
2513 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * text3.C:
2516         * text2.C:
2517         * text.C:
2518         * lyxtext.h:
2519         * lyxfunc.C:
2520         * cursor.C:
2521         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2522         (dispatch):
2523
2524         * dispatchresult.h: new file, DispatchResult broken out of
2525         insets/insetbase.h
2526
2527         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2528
2529 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2530
2531         * text.C (rowBreakPoint): put a hack inside #if 0
2532
2533 2003-10-28  André Pönitz  <poenitz@gmx.net>
2534
2535         * lyxtext.h:
2536         * metricsinfo.C:
2537         * paragraph_funcs.C:
2538         * rowpainter.C:
2539         * text.C:
2540         * text2.C: general cleanup (lots of small stuff)
2541
2542 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2543
2544         * text2.C (cursorEnd): simple fix to the "end key goes to one
2545         before the end on last row" bug
2546
2547 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * text.C (backspace): fix the "zombie characters"
2550
2551 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2552
2553         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2554
2555 2003-10-27  André Pönitz  <poenitz@gmx.net>
2556
2557         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2558
2559         * factory.C: handle new InsetPagebreak, InsetLine
2560
2561         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2562         and move handling into new InsetPagebreak, InsetLine
2563
2564         * BufferView_pimpl.C:
2565         * LyXAction.C:
2566         * ParagraphParameters.C:
2567         * ParameterStruct.h:
2568         * lyxfunc.C:
2569         * lyxtext.h:
2570         * paragraph.C:
2571         * paragraph.h:
2572         * paragraph_funcs.C:
2573         * paragraph_pimpl.C:
2574         * rowpainter.C:
2575         * text.C:
2576         * text2.C:
2577         * text3.C: adjust
2578
2579 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * text.C:
2582         * lyxrow_funcs.[Ch]:
2583         * Bidi.C:
2584         * paragraph.C:
2585         * lyxtext.h:
2586         * rowpainter.C:
2587         * text2.C:
2588         * text3.C: remove lastPos uses in favour of Row::endpos
2589
2590 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * undo.C (performUndoOrRedo): fix two crashes by setting a
2593         cursor by hand and reordering some calls. Use bv->lockInset instead
2594         of inset->edit because the latter loses cursor information
2595
2596 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2599         by Martin
2600         (rowBreakPoint): fix width. change point to point + 1.
2601         Add a missing check.
2602
2603 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2604
2605         * MenuBackend.C:
2606         * lyxfunc.C: fix (at least partly) the problems
2607         with the Nav menu and headers inside branch insets
2608         reported by Kayvan
2609
2610 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * paragraph.C (getChar): add strong asserts
2613
2614         * lyxrow_funcs.C (lastPos): remove hideous hack
2615
2616         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2617         (fill): adjust to that (avoid an infinite loop)
2618
2619 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2622
2623 2003-10-23  André Pönitz  <poenitz@gmx.net>
2624
2625         * RowList_fwd.h: change list<> to vector<> to gain speed
2626         after suggestion from Alfredo
2627
2628 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2629
2630         * lyxtext.h: move the bidi stuff from here...
2631         * text.C: and here
2632         * text2.C: and here
2633         * Bidi.[Ch]: ... to here
2634
2635 2003-10-23  André Pönitz  <poenitz@gmx.net>
2636
2637         * lyxtext.h:
2638         * text.C (isLastRow, isFirstRow): new functions
2639
2640         * paragraph.h: new width cache member
2641
2642         * rowpainter.C: replace RowList::iterator with Row & where possible
2643
2644         * lyxfunc.C: replace several view()->text with a single call
2645
2646         * toc.C: fix 'unused' warning
2647
2648 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2651         when woring with stream::pos_type
2652         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2653
2654 2003-10-22  André Pönitz  <poenitz@gmx.net>
2655
2656         * lyxtext.h:
2657         * text.C: use Row & instead of RowList::iterator
2658
2659         * lyxrow.h: rename end() to endpos()
2660
2661         * rowpainter.C:
2662         * text.C:
2663         * text2.C: adjust
2664
2665 2003-10-22  Angus Leeming  <leeming@lyx.org>
2666
2667         * buffer.[Ch] (fully_loaded): new member function, returning true
2668         only when the file has been loaded fully.
2669         Used to prevent the premature generation of previews and by the
2670         citation inset to prevent computation of the natbib-style label.
2671
2672         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2673         templates are all set up.
2674
2675         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2676
2677 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2678
2679         * text.C: fixed an "oops" in the "is a bit silly"
2680         bug fix
2681
2682 2003-10-21  André Pönitz  <poenitz@gmx.net>
2683
2684         * FuncStatus.[Ch]: small stuff, whitespace
2685
2686         * lyxfont.[Ch]: operator<<() for debug reasons
2687
2688         * lyxfunc.C:
2689         * lyxrow_funcs.C:
2690         * lyxtext.h: whitespace, spelling
2691
2692         * paragraph.C: naming of variables
2693
2694         * text.C:
2695         * text2.C: small stuff
2696
2697
2698 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2699
2700         * text.C: (1) finish off the inset display() work;
2701         (2) fix the "is a bit silly" bug (accessing char
2702         past end of par).
2703
2704 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2705
2706         * text.C: re-introduce display() for insets, fixing the
2707         various bugs (stretch of line above, math inset
2708         positioning, ...)
2709
2710 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * text.C (rightMargin): remove spurious semicolon
2713
2714         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2715         1415)
2716
2717 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2718
2719         * text3.C: fix one crash due to wrong cursor def
2720
2721 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * vc-backend.C (scanMaster): make the regex static
2724
2725         * LaTeX.C (scanAuxFile): make the regexs static
2726
2727         * text3.C (doInsertInset, dispatch, dispatch):
2728         * text2.C (cursorUp, cursorDown):
2729         * text.C (selectNextWordToSpellcheck):
2730         * BufferView_pimpl.C (dispatch):
2731         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2732
2733 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * lyxsocket.C: include <cerrno>
2736
2737 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2738
2739         * lyxfunc.C (dispatch): remove textcache stuff
2740
2741         * bufferlist.C (release): remove textcache stuff
2742         (closeAll): ditto
2743
2744         * TextCache.C: delete file
2745         * TextCache.h: delete file
2746
2747         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2748
2749         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2750         delete of the bv_->text.
2751         (resizeCurrentBuffer): remove texcache stuff
2752         (workAreaResize): ditto
2753
2754 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2757         action.
2758
2759 2003-10-16  André Pönitz  <poenitz@gmx.net>
2760
2761         * lyxrow.[Ch]:
2762         * paragraph.h:
2763         * rowpainter.C:
2764         * text.C:
2765         * text2.C:
2766         * text3.C: speed up by storing y positions per paragraph plus per-row
2767         offset instead of having a 'full' y position in the row.
2768
2769 2003-10-15  André Pönitz  <poenitz@gmx.net>
2770
2771         * iterators.[Ch]:
2772         * iterators.[Ch]:
2773         * undo.[Ch]: make undo aware of inner insets
2774
2775 2003-10-14  Angus Leeming  <leeming@lyx.org>
2776
2777         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2778         static member functions LyX::ref() and LyX::cref.
2779         (lastfiles): new accessor functions for the new lastfiles_ member var.
2780         (addLyXView, views_): add a new LyXView to the list of views_.
2781         (updateInset): loop over all LyXViews to call their own updateInset
2782         member function, returning a pointer to the Buffer owning the inset.
2783
2784         * BufferView_pimpl.C (loadLyXFile):
2785         * MenuBackend.C (expandLastfiles):
2786         * bufferlist.C (MenuWrite, QuitLyX):
2787         lastfiles is no longer a global variable.
2788         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2789
2790         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2791         static function. Access through LyX::cref().emergencyCleanup().
2792
2793 2003-10-14  André Pönitz  <poenitz@gmx.net>
2794
2795         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2796
2797         * undo.[Ch]: restoring part of 'undo in insets'
2798
2799         * Makefile.am:
2800         * undo_funcs.[Ch]: merge with undo.[Ch]
2801
2802         * tabular.C: small cleansing stuff
2803
2804 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2805
2806         * paragraph_funcs.C (readParToken): report unknown insets as error
2807         boxes. Use the outer paragraph as location (also for unknown
2808         tokens).
2809
2810         * factory.C (readInset): do not abort on reading an unknown inset.
2811         Eat it and return 0.
2812
2813 2003-10-13  Angus Leeming  <leeming@lyx.org>
2814
2815         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2816
2817         * lyxrc.C: displayTranslator is now a function,
2818         declared in GraphicsTypes.h.
2819
2820 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2821
2822         * format.C: new placeholder $$a to pass the socket address.
2823
2824         * bufferlist.[Ch]: new function getBufferFromTmp.
2825
2826         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2827           files in the temporary dir.
2828
2829 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2830
2831         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2832
2833         * Makefile.am: add lyxsocket.[Ch].
2834
2835         * lyx_main.C (error_handler): handle SIGPIPE.
2836
2837 2003-10-13  André Pönitz  <poenitz@gmx.net>
2838
2839         * BufferView_pimpl.C:
2840         * lyxtext.h:
2841         * text.C:
2842         * text2.C:
2843         * text3.C:
2844         * undo_funcs.[Ch]: use paroffset_type instead of
2845           ParagraphList::iterators to prevent multiple conversion
2846           (and get a more robust interface)
2847
2848 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2851         * lyxtext.h: ditto
2852         * text3.C (dispatch): ditto
2853
2854 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2857         move the onlyfile, use onlyfile instead of foundfile in a couple
2858         of places.
2859
2860         * DepTable.C (update): flush the error stream a bit more
2861
2862 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * lyxserver.C (callback): adjust
2865
2866         * lyxfunc.C (getStatus): add a missing brace in commented code
2867         (ensureBufferClean): reindent
2868         (dispatch): delete version taking a string
2869
2870 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * LaTeX.C (deplog): move found file handlig from here...
2873         (handleFoundFile): .. to new function here.
2874         (deplog): make sure to discover several files mentioned on the
2875         same log line.
2876
2877 2003-10-10  André Pönitz  <poenitz@gmx.net>
2878
2879         * lyxfunc.C:
2880         * lyxtext.h:
2881         * tabular.C:
2882         * text.C:
2883         * text2.C:
2884         * text3.C: fix some of the tabular crashes
2885
2886 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2887
2888         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2889
2890         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2891
2892 2003-10-09  André Pönitz  <poenitz@gmx.net>
2893
2894         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2895
2896         * BufferView.C:
2897         * BufferView_pimpl.C:
2898         * bufferview_funcs.C:
2899         * lyx_cb.C:
2900         * lyxcursor.C:
2901         * lyxfind.C:
2902         * lyxfunc.C:
2903         * lyxtext.h:
2904         * text.C:
2905         * text2.C:
2906         * text3.C:
2907         * text_funcs.[Ch]:
2908         * textcursor.[Ch]:
2909         * undo_funcs.C: adjust
2910
2911 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * text2.C (incrementItemDepth): new function, use a backtracking
2914         algorithm to discover the correct item depth.
2915         (resetEnumCounterIfNeeded): new function, use a backtracking
2916         algorithm to discover if counter reset is needed.
2917         (setCounter): use them. Simplify a bit. Add different labels for
2918         different item depths for itemize.
2919
2920         * paragraph.C (Paragraph): remove initialization of enumdepth
2921         (operator=): ditto
2922
2923         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2924         enumerate and itemize. Change the type of itemdepth to signed char.
2925
2926 2003-10-08  André Pönitz  <poenitz@gmx.net>
2927
2928         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2929           thing assignable.
2930         * text.C:
2931         * text2.C: adjust
2932
2933         * tabular.[Ch]: fix crash after 'row-insert'
2934
2935 2003-10-08  Angus Leeming  <leeming@lyx.org>
2936
2937         Fix doxygen warnings.
2938
2939         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2940         Remove CutAndPaste:: prefix from header file declaration.
2941
2942         * LColor.h (fill): remove LColor:: prefix from declaration.
2943
2944         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2945         use lyx::depth_type rather than Paragraph::depth_type so that
2946         header file and .C file match.
2947
2948         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2949
2950         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2951         * aspell.C: \file aspell_local.C -> \file aspell.C
2952         * gettext.C: \file gettext.C -> \file src/gettext.C
2953         * gettext.h: \file gettext.h -> \file src/gettext.h
2954         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2955         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2956         * text.C: \file text.C -> \file src/text.C
2957
2958         * toc.C: move comment so that doxygen is not confused.
2959
2960 2003-10-07  Angus Leeming  <leeming@lyx.org>
2961
2962         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2963
2964 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2965
2966         * aspell.C:
2967         * aspell_local.h: add forgotten std::string's.
2968
2969 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2970
2971         * LaTeXFeatures.C:
2972         * LyXAction.C:
2973         * factory.C:
2974         * lfuns.h:
2975         * lyxfunc.C:
2976         * text3.C: The Box patch. Fancybox support, minipage, parbox
2977
2978 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2979
2980         * CutAndPaste.h:
2981         * DepTable.h:
2982         * FloatList.h:
2983         * LaTeXFeatures.h:
2984         * ParagraphParameters.h:
2985         * TextCache.h:
2986         * Thesaurus.h:
2987         * bufferlist.h:
2988         * exporter.h:
2989         * importer.h:
2990         * lastfiles.h:
2991         * lyxfind.h:
2992         * lyxfont.h:
2993         * lyxlex.h:
2994         * lyxtextclasslist.h:
2995         * messages.h:
2996         * paragraph.h:
2997         * paragraph_pimpl.C:
2998         * textcursor.h: add <string> and other small fixes to make Lars'
2999         std::string patch compile with STLport.
3000
3001 2003-10-06  Angus Leeming  <leeming@lyx.org>
3002
3003         * LColor.h: Add missing #include <string>.
3004
3005 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * All most all file in all subdirs: Make <string> be the prefered
3008         way of getting to std::string, add using declarations.
3009
3010 2003-10-06  André Pönitz  <poenitz@gmx.net>
3011
3012         * metricsinfo.C: initialize LyXFont before changing attribute.
3013         (fixes the 'math in \emph is upright' bug)
3014
3015 2003-10-06  André Pönitz  <poenitz@gmx.net>
3016
3017         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3018
3019 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3020
3021         * graph.C:
3022         * paragraph_pimpl.C: Small fixes to build using STLport
3023
3024 2003-10-02  André Pönitz  <poenitz@gmx.net>
3025
3026         * lyxfunc.C:
3027         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3028
3029 2003-10-01  André Pönitz  <poenitz@gmx.net>
3030
3031         * factory.C: assert early
3032
3033 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * lyx_main.C: remove the global debug object
3036
3037         * debug.h: adjust for new debugstream
3038
3039         * debug.C: adjust for new debugstream and keep the global debug
3040         object here.
3041
3042 2003-09-22  Angus Leeming  <leeming@lyx.org>
3043
3044         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3045         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3046         an incomplete class LyXFont.
3047
3048 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3049
3050         * factory.C: bug fix in branches
3051
3052 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * lyxfunc.C (processKeySym): adjust
3055         (dispatch): adjust
3056         (dispatch): change arg name from ev to func, adjust
3057         (sendDispatchMessage): ditto
3058
3059         * lyx_main.C (defaultKeyBindings): adjust keybindings
3060         (deadKeyBindings): ditto
3061
3062         * kbsequence.C (addkey): return a FuncRequest
3063
3064         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3065
3066         * kbmap.C (bind): take a FuncRequest as arg, adjust
3067         (read): adjust
3068         (lookup): adjust
3069         (defkey): change to take a FuncRequest as arg, adjust
3070         (findbinding): take a FuncRequest as arg, adjust.
3071
3072         * funcrequest.h (operator=): added
3073
3074         * funcrequest.C (FuncRequest): default kb_action changed from
3075         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3076
3077         * buffer.C (dispatch): simplify
3078         (dispatch): adjust to take a FuncRequest as arg, adjust
3079
3080         * boost.C (assertion_failed): change assertion message slightly
3081
3082         * ToolbarBackend.C (read): simplify
3083
3084         * MenuBackend.C (binding): adjust call to findbinding, add a
3085         message if no binding is found.
3086         (read): simplify
3087         (expandToc): correct by adding a empty FuncRequest
3088
3089         * LyXAction.C: include <boost/assert.hpp>
3090         (isPseudoAction): delete function
3091         (LookupFunc): change name to...
3092         (lookupFunc): this. change return type to FuncRequest.
3093         (getActionName): take kb_action as arg, simplify
3094         (funcHasFlag): add an assert, simplify.
3095
3096 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * toc.C (action): return a FuncRequest, simplify
3099
3100         * lyxfunc.C (processKeySym): adjust
3101         (getStatus): delete version that takes an int.
3102         (getStatus): adjust
3103         (dispatch): delete version that takes action as int
3104         (dispatch): adjust
3105         (sendDispatchMessage): simplify and adjust
3106
3107         * funcrequest.C (getArg): take unsigned int as arg
3108
3109         * ToolbarBackend.C (read): adjust
3110         (add): delete version that takes func as a string.
3111         (getIton): take a FuncRequest as arg
3112
3113         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3114         action.
3115
3116         * MenuBackend.C (MenuItem): add a new construct that only takes a
3117         Kind, simplify the constructor use for submenus.
3118         (add): adjust
3119         (expandLastfiles): adjust
3120         (expandDocuments): adjust
3121         (expandFormats): adjust
3122         (expandFloatListInsert): adjust
3123         (expandFloatInsert): adjust
3124         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3125
3126         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3127         Remove class variables lyx_pseudo_map and lyx_arg_map
3128
3129         * LyXAction.C (searchActionArg): delete function
3130         (getPseudoAction): delete function
3131         (retrieveActionArg): delete function
3132         (LookupFunc): make it return kb_action, simplify.
3133         (getActionName): simplify
3134
3135         * factory.C (createInset): fix new bug
3136
3137 2003-09-19  Angus Leeming  <leeming@lyx.org>
3138
3139         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3140         masterFilename_ parameter in the include inset.
3141
3142         * factory.C (createInset): changes due to the changes to InsetInclude.
3143
3144 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3145
3146         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3147
3148 2003-09-18  Angus Leeming  <leeming@lyx.org>
3149
3150         * buffer.C:
3151         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3152         Inset::fillWithBibKeys.
3153         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3154
3155 2003-09-18  Angus Leeming  <leeming@lyx.org>
3156
3157         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3158         variables.
3159         (ctor): pass and store a 'Buffer const &'
3160         (buffer): new member function.
3161
3162         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3163         '*this' to the LaTeXFeatures ctor.
3164
3165 2003-09-18  Angus Leeming  <leeming@lyx.org>
3166
3167         * LColor.h:
3168         * lyxfont.C:
3169         * lyxfont.h:
3170         * lyxtext.h:
3171         * text.C: rename EnumLColor as LColor_color.
3172
3173 2003-09-18  Angus Leeming  <leeming@lyx.org>
3174
3175         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3176         remove #include "insets/insetbase.h" from cursor.h.
3177
3178 2003-09-18  Angus Leeming  <leeming@lyx.org>
3179
3180         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3181         InsetOld_code to remove #include "inset.h".
3182
3183         * iterators.C: add #include "insets/inset.h"
3184
3185 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3186
3187         * BufferView.C: remove more locking stuff that apparently doesn't
3188         do anything sensible.
3189
3190 2003-09-16  André Pönitz  <poenitz@gmx.net>
3191
3192         * paragraph.[Ch]:
3193         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3194           performance boost.
3195
3196 2003-09-16  Angus Leeming  <leeming@lyx.org>
3197
3198         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3199
3200         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3201         arg/return type.
3202
3203         * paragraph.h: remove #include "lyxfont.h". Forward declare
3204         LyXFont_size.
3205
3206 2003-09-16  Angus Leeming  <leeming@lyx.org>
3207
3208         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3209         of support/textutils.h.
3210         (isWord): move the contents of support/textutils.h's IsWordChar here.
3211
3212         * buffer.C:
3213         * lyxfind.C:
3214         * rowpainter.C:
3215         * text.C:
3216         * text2.C: add #include "paragraph.h".
3217
3218         * rowpainter.C:
3219         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3220
3221 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * main.C:
3224         * lyx_main.C:
3225         * lyx_cb.C:
3226         * buffer.C:
3227         * LaTeX.C: use namespace alias for lyx::support::os
3228
3229 2003-09-16  Angus Leeming  <leeming@lyx.org>
3230
3231         * bufferparams.C:
3232         * bufferview_funcs.C:
3233         * factory.C:
3234         * lyxfunc.C:
3235         * paragraph_pimpl.C:
3236         * rowpainter.C:
3237         * text.C: add #include "LColor.h".
3238
3239 2003-09-16  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3242         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3243         return LyXFont &.
3244         Store the FontBits::color variable as an int rather than as an
3245         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3246         file.
3247
3248         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3249         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3250         string calls together.
3251
3252         * lyxrc.C: add #include "LColor.h".
3253
3254 2003-09-15  Angus Leeming  <leeming@lyx.org>
3255
3256         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3257         a cow_ptr.
3258
3259 2003-09-15  Angus Leeming  <leeming@lyx.org>
3260
3261         * LColor.h: add an EnumLColor wrapper for LColor::color.
3262
3263         * lyxfont.[Ch] (color, setColor, realColor):
3264         * lyxtext.h, text.C (backgroundColor):
3265         pass EnumLColor args to/from the functions, rather than LColor::color
3266         ones.
3267
3268         * lyxfont.h:
3269         * lyxtext.h: forward declare EnumLColor.
3270
3271         * lyx_main.C: add #include "LColor.h".
3272
3273 2003-09-15  Angus Leeming  <leeming@lyx.org>
3274
3275         * .cvsignore: add lyx-gtk.
3276
3277 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * Chktex.C
3280         * LaTeX.C
3281         * LaTeXFeatures.C
3282         * ParagraphParameters.C
3283         * Spacing.C
3284         * buffer.C
3285         * bufferparams.C
3286         * bufferview_funcs.C
3287         * chset.C
3288         * counters.C
3289         * funcrequest.C
3290         * lyxfont.C
3291         * lyxgluelength.C
3292         * lyxlength.C
3293         * paragraph.C
3294         * paragraph_funcs.C
3295         * text3.C
3296         * vc-backend.C: remove usage of STRCONV
3297
3298 2003-09-15  Angus Leeming  <leeming@lyx.org>
3299
3300         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3301         explicitly define the color passed to the painter.
3302
3303 2003-09-15  Angus Leeming  <leeming@lyx.org>
3304
3305         * bufferparams.C (BufferParams): reorder member initializers to avoid
3306         compiler warning.
3307
3308 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3309
3310         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3311         * text.C (updateRowPositions): remove an unusual nop
3312
3313 2003-09-12  André Pönitz  <poenitz@gmx.net>
3314
3315         * BufferView_pimpl.C:
3316         * Bullet.C:
3317         * layout.h:
3318         * lyxfunc.C:
3319         * lyxlayout.[Ch]:
3320         * lyxtextclass.C:
3321         * rowpainter.C:
3322         * text.C:
3323         * text2.C:
3324         * Counters.[Ch]: finish the 'automatic counters' job
3325
3326 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3327
3328         * aspell.C: include <boost/assert.cpp> (compile fix)
3329
3330 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3331
3332         * boost.C (assertion_failed): use lyx::support::abort instead of
3333         assert.
3334
3335 2003-09-10  Angus Leeming  <leeming@lyx.org>
3336
3337         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3338         with their _fwd progeny.
3339
3340 2003-09-09  Angus Leeming  <leeming@lyx.org>
3341
3342         134 files throughtout the source tree: replace 'using namespace abc;'
3343         directives with the appropriate 'using abc::xyz;' declarations.
3344
3345 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3346
3347         * boost.C (emergencyCleanup): moved here from LAssert.c
3348         (assertion_failed): new function, called by BOOST_ASSERT
3349
3350         * several files: change Assert to BOOST_ASSERT
3351
3352 2003-09-09  Angus Leeming  <leeming@lyx.org>
3353
3354         * buffer.[Ch]: Add an Impl class and move Buffer's member
3355         variables into it. As a result move several header files out of
3356         buffer.h.
3357
3358         Add header files to lots of .C files all over the tree as a result.
3359
3360 2003-09-09  Angus Leeming  <leeming@lyx.org>
3361
3362         * buffer.[Ch]: make Buffer's member variables private. Add
3363         accessor functions.
3364
3365         Lots of changes all over the tree as a result.
3366
3367 2003-09-08  Angus Leeming  <leeming@lyx.org>
3368
3369         * graph.C: #include <config.h>.
3370
3371 2003-09-08  Angus Leeming  <leeming@lyx.org>
3372
3373         * BranchList.C:
3374         * BufferView.C:
3375         * BufferView_pimpl.C:
3376         * CutAndPaste.C:
3377         * DepTable.C:
3378         * LaTeX.C:
3379         * LaTeXFeatures.C:
3380         * LyXAction.C:
3381         * MenuBackend.C:
3382         * TextCache.C:
3383         * aspell.C:
3384         * buffer.C:
3385         * bufferlist.C:
3386         * changes.C:
3387         * chset.C:
3388         * converter.C:
3389         * counters.C:
3390         * debug.C:
3391         * graph.C:
3392         * ispell.C:
3393         * lyx_cb.C:
3394         * lyxfind.C:
3395         * lyxfunc.C:
3396         * lyxlex_pimpl.C:
3397         * lyxrc.C:
3398         * lyxrow.C:
3399         * paragraph.C:
3400         * rowpainter.C:
3401         * texrow.C:
3402         * text.C:
3403         * text2.C:
3404         * toc.C: remove redundant using directives.
3405
3406 2003-09-07  Angus Leeming  <leeming@lyx.org>
3407
3408         * LaTeXFeatures.h: remove #include "support/types.h".
3409         * ToolbarBackend.h: remove #include <algorithm>.
3410         * changes.h: remove #include <ctime>.
3411         * debug.h: remove #include <iosfwd>.
3412         * graph.h: remove #include "support/std_string.h".
3413         * lyx_main.h: remove #include <csignal>.
3414         * lyxlex_pimpl.h: remove #include <fstream>.
3415         * sgml.h: remove #include <algorithm>, <utility>.
3416         * toc.h: remove #include "support/std_ostream.h".
3417         Add #include <iosfwd>.
3418
3419 2003-09-07  Angus Leeming  <leeming@lyx.org>
3420
3421         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3422
3423         * converter.h: forward declare LatexRunParams.
3424         * encoding.h: remove #include "lyxrc.h".
3425         * lyxtext.h: remove #include "LColor.h".
3426         * lyxtextclass.h: remove #include "support/types.h".
3427         * trans.h: remove #include "tex-accent.h".
3428         * trans_mgr.h: remove #include "tex-accent.h".
3429         * insets/inset.h: remove #include "support/types.h", <vector>.
3430         * insets/insetcollapsable.h: remove #include "LColor.h".
3431         * insets/insetinclude.h: remove #include "dimension.h".
3432         * insets/insetlatexaccent.h: remove #include "dimension.h".
3433         * insets/insetoptarg.h:: remove #include "insettext.h".
3434         * insets/insettext.h: remove #include "dimension.h",
3435         <boost/shared_ptr.hpp>
3436
3437         * insets/renderers.h: add #include "dimension.h".
3438         * insets/updatableinset.h: add #include "support/types.h".
3439
3440         * many .C files: Associated changes.
3441
3442 2003-09-06  Angus Leeming  <leeming@lyx.org>
3443
3444         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3445         one, inside testInvariant.
3446
3447         * PrinterParams.C: new file.
3448         * PrinterParams.[Ch]: move the function bodies out of line.
3449
3450 2003-09-06  Angus Leeming  <leeming@lyx.org>
3451
3452         * ParagraphParameters.h: forward declare ParameterStruct rather than
3453         including its header file.
3454         (depth): moved out-of-line.
3455
3456 2003-09-06  Angus Leeming  <leeming@lyx.org>
3457
3458         * BufferView_pimpl.h:
3459         * kbmap.h:
3460         * kbsequence.h:
3461         * lyxfunc.h: forward declare LyXKeySym rather than
3462         #include "frontends/LyXKeySym.h".
3463
3464         * BufferView_pimpl.C:
3465         * kbmap.C:
3466         * kbsequence.C:
3467         * lyxfunc.C: associated changes.
3468
3469 2003-09-06  Angus Leeming  <leeming@lyx.org>
3470
3471         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3472         As a result, can remove the #include "insets/inset.h" from BufferView.h
3473
3474 2003-09-06  Angus Leeming  <leeming@lyx.org>
3475
3476         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3477         As a result, can remove the #include "insets/inset.h" from BufferView.h
3478
3479 2003-09-06  Angus Leeming  <leeming@lyx.org>
3480
3481         * buffer_funcs.C:
3482         * buffer.h:
3483         * bufferlist.C:
3484         * BufferView.C:
3485         * bufferview_funcs.C:
3486         * BufferView_pimpl.C:
3487         * CutAndPaste.C:
3488         * lyx_cb.C:
3489         * lyxfunc.C:
3490         * paragraph.h:
3491         * ParagraphParameters.C:
3492         * tabular.C:
3493         * text3.C:
3494         * toc.C:
3495         * undo_funcs.C:
3496         * frontends/controllers/ControlDocument.C:
3497         * insets/insetcaption.C: rearrange the #includes into some sort of
3498         coherent order.
3499
3500         * buffer.h: remove #includes ErrorList.h, undo.h
3501
3502 2003-09-06  Angus Leeming  <leeming@lyx.org>
3503
3504         * support/types.h: add a 'depth_type' typedef, used to store the
3505         nesting depth of a paragraph.
3506
3507         * paragraph.h:
3508         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3509         defining explicitly.
3510
3511         * buffer.h:
3512         * paragraph_funcs.h:
3513         * ParagraphParameters.h:
3514         * sgml.h: use lyx::depth_type rather than Paragraph or
3515         ParameterStruct's depth_type.
3516
3517         * buffer.h
3518         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3519
3520         * BufferView.C:
3521         * BufferView_pimpl.C:
3522         * CutAndPaste.C:
3523         * ParagraphParameters.C:
3524         * buffer_funcs.C:
3525         * bufferlist.C:
3526         * bufferview_funcs.C:
3527         * lyx_cb.C:
3528         * lyxfunc.C:
3529         * tabular.C:
3530         * text3.C:
3531         * toc.C:
3532         * undo_funcs.C:
3533         * frontends/LyXView.C:
3534         * frontends/controllers/ControlDocument.C:
3535         * frontends/controllers/ControlErrorList.C:
3536         * insets/insetbibitem.C:
3537         * insets/insetbranch.C:
3538         * insets/insetcaption.C:
3539         * insets/insetcollapsable.C:
3540         * insets/insetenv.C:
3541         * insets/insetert.C:
3542         * insets/insetfloat.C:
3543         * insets/insetfoot.C:
3544         * insets/insetfootlike.C:
3545         * insets/insetnewline.C:
3546         * insets/insetquotes.C:
3547         * insets/insettabular.C:
3548         * insets/insettext.C:
3549         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3550
3551         * frontends/controllers/ControlChanges.C: #include "changes.h".
3552
3553 2003-09-06  Angus Leeming  <leeming@lyx.org>
3554
3555         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3556         than #including paragraph.h.
3557
3558         * ParagraphList.h:
3559         * RowList.h: deleted. Superfluous.
3560
3561         * CutAndPaste.h:
3562         * iterators.h:
3563         * lyxcursor.h:
3564         * lyxtext.h:
3565         * text_funcs.h:
3566         * undo.h:
3567         * undo_funcs.h:
3568         * insets/inset.h:
3569         * insets/insettext.h: use ParagraphList_fwd.h rather than
3570         ParagraphList.h.
3571
3572         * paragraph.h: don't forward declare ParagraphList.
3573
3574         * buffer.h:
3575         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3576         rather than ParagraphList.h. paragraph.h is still needed for the
3577         Paragraph::depth_type parameters.
3578
3579         * textcursor.h: enable it to compile stand-alone in light of the
3580         above changes.
3581
3582         * bufferview_funcs.C:
3583         * iterators.C:
3584         * lyxfunc.C:
3585         * lyxrow_funcs.C:
3586         * paragraph.C:
3587         * rowpainter.C:
3588         * text.C:
3589         * text2.C:
3590         * text3.C:
3591         * text_funcs.C:
3592         * textcursor.C:
3593         * undo.C:
3594         * frontends/controllers/ControlParagraph.C:
3595         * frontends/controllers/ControlTabular.C:
3596         * insets/insetmarginal.C:
3597         * insets/insetminipage.C:
3598         * insets/insetnote.C:
3599         * insets/insetoptarg.C: add header files needed to compile again.
3600
3601 2003-09-06  Angus Leeming  <leeming@lyx.org>
3602
3603         * RowList_fwd.h: new file, forward-declaring Row rather than
3604         #including lyxrow.h.
3605
3606         * lyxrow_funcs.h:
3607         * lyxtext.h:
3608         * paragraph.h:
3609         * insets/insettext.h: use it instead of RowList.h
3610
3611         * bufferview_funcs.C:
3612         * lyxfunc.C:
3613         * lyxrow_funcs.C:
3614         * paragraph.C:
3615         * rowpainter.C:
3616         * text.C:
3617         * text2.C:
3618         * text3.C: #include "RowList.h".
3619
3620 2003-09-05  Angus Leeming  <leeming@lyx.org>
3621
3622         * factory.C (createInset):
3623         * vspace.C (c-tor): replace sscanf call with an istringstream.
3624         * ispell.C: re-add missing HP/UX headers.
3625         * lyxserver.C: re-add missing  os2 headers.
3626
3627 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * BranchList.C:
3630         * graph.C:
3631         * ispell.C:
3632         * lastfiles.C:
3633         * lyx_cb.C:
3634         * lyxserver.C:
3635         * texrow.C:
3636         * text3.C: re-add missing system headers, needed for 2.95.2.
3637
3638 2003-09-05  Angus Leeming  <leeming@lyx.org>
3639
3640         Changes most place everywhere due to the removal of using directives
3641         from support/std_sstream.h.
3642
3643 2003-09-05  Angus Leeming  <leeming@lyx.org>
3644
3645         Replace LString.h with support/std_string.h,
3646         Lsstream.h with support/std_sstream.h,
3647         support/LIstream.h with support/std_istream.h,
3648         support/LOstream.h with support/std_ostream.h.
3649
3650         Changes resulting throughout the tree.
3651
3652 2003-09-05  Angus Leeming  <leeming@lyx.org>
3653
3654         * sgml.h: ensure that the header file can be compiled stand-alone.
3655         * *.C: strip out redundant #includes. (320 in total.)
3656
3657 2003-09-04  Angus Leeming  <leeming@lyx.org>
3658
3659         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3660         here (from getPackages).
3661
3662         * debug.[Ch]: add a new EXTERNAL tag.
3663
3664 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3665
3666         * text2.C (cursorEnd): simplify
3667         (setCursor): adjust
3668         (getColumnNearX): adjust
3669
3670         * text.C (computeBidiTables): adjust
3671         (fill): adjust
3672
3673         * rowpainter.C (paintChars): adjust
3674         (paintSelection): adjust
3675         (paintChangeBar): adjust
3676         (paintText): adjust
3677
3678         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3679         lastPos instead.
3680         (numberOfSeparators): adjust
3681
3682 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3683
3684         * LyXAction.C:
3685         * box.[Ch]:
3686         * lfuns.h:
3687         * lyxfunc.C:
3688         * text3.C: Restricts the mouse click functionality
3689         of insets like bibtex, include, toc and floatlist to the visible
3690         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3691         up the dialogs. Cursor has to be in front of the inset (i.e.
3692         start of row) for this to function.
3693
3694 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3695
3696         * bufferview_funcs.C (currentState): output row information
3697
3698 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3699
3700         * bufferview_funcs.C (currentState): output paragraph position
3701
3702 2003-09-04  Angus Leeming  <leeming@lyx.org>
3703
3704         * FloatList.h: move out #include "Floating.h".
3705         * LaTeX.h: move out #include "DepTable.h".
3706         * LyXAction.h: move out #include "funcrequest.h".
3707         * buffer.h: move out #include "author.h", "iterators.h".
3708         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3709         * lyx_main.h: move out #include "errorlist.h".
3710         * lyxfunc.h: move out #include "FuncStatus.h".
3711         * lyxtext: move out #include "lyxcursor.h".
3712         * paragraph_pimpl.h: move out #include "counters.h".
3713
3714 2003-09-03  Angus Leeming  <leeming@lyx.org>
3715
3716         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3717         preamble_snippets list, enabling us to add snippets to the preamble
3718         only if the snippet was not there already.
3719
3720 2003-09-04  Angus Leeming  <leeming@lyx.org>
3721
3722         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3723
3724 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3727         update
3728
3729 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3730
3731         * BranchList.C: point fix, earlier forgotten
3732
3733 2003-09-02  Angus Leeming  <leeming@lyx.org>
3734
3735         * box.C (contains): renamed from 'contained' after a fantastic
3736         amount of hot air.
3737
3738 2003-09-02  John Levon  <levon@movementarian.org>
3739
3740         * BufferView.C:
3741         * lyxcursor.h:
3742         * lyxcursor.C:
3743         * lyxfunc.C:
3744         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3745
3746 2003-09-02  John Levon  <levon@movementarian.org>
3747
3748         * text2.C: simplification of cursorEnd(), including partial
3749         fix for bug 1376
3750
3751 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3752
3753         * buffer.C (readFile): add a space
3754
3755 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3758
3759 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * buffer.C (readFile): new function, take a filename and a
3762         ParagraphList::iterator
3763         (readFile): adjust
3764         (readFile): adjust, make it private. don't use setStream, make
3765         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3766         always contain the filename.
3767
3768         * BufferView.C (insertLyXFile): simplify and make it work for
3769         gzipped files.
3770
3771 2003-08-30  John Levon  <levon@movementarian.org>
3772
3773         * Makefile.am: fix dist (from Kayvan)
3774
3775 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * most files: change to use const Buffer refs
3778
3779 2003-08-27  André Pönitz  <poenitz@gmx.net>
3780
3781         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3782         on top of ownerPar().
3783
3784 2003-08-27  John Levon  <levon@movementarian.org>
3785
3786         * funcrequest.C: properly initialise POD members
3787
3788 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3789
3790         * lyxtext.h (top_y): move top_y from here
3791         * text.C:
3792         * text2.C:
3793         * text3.C:
3794         * BufferView.[Ch]:
3795         * BufferView_pimpl.[Ch]: to here
3796         * frontends/screen.C:
3797         * insets/insettabular.C:
3798         * insets/insettext.C: adjust
3799         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3800
3801 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * BufferView.[Ch]:
3804         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3805
3806 2003-08-26  André Pönitz  <poenitz@gmx.net>
3807
3808         * paragraph_func.[Ch] (outerPar): new function
3809
3810         * paragraph.C:
3811         * paragraph_funcs.C:
3812         * paragraph_funcs.h:
3813         * paragraph_pimpl.C:
3814         * text2.C: remove Inset::par_owner
3815
3816 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3817
3818         * lyxrow_funcs.C:
3819         * lyxtext.h:
3820         * text.C:
3821         * text2.C: eliminates the needFullRow/display() stuff
3822         altogether, putting the logic in metrics/draw in the insets.
3823
3824 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3825
3826         * text2.C (redoParagraphInternal, redoParagraphs):
3827         * text.C (redoParagraph): add a call to updateRowPositions at the
3828         end of each 'metrics-like' call. Remove all others.
3829         (getRow): remove the 'y-computing' version.
3830         (getRowNearY): do not compute nor return the real y. Solve the
3831         'y < 0' problem and simplify.
3832
3833 2003-08-22  Angus Leeming  <leeming@lyx.org>
3834
3835         * *.[Ch]: clean-up of licence and author blurbs.
3836         Also move config.h out of a few .h files and into a few .C files.
3837
3838 2003-08-22  André Pönitz  <poenitz@gmx.net>
3839
3840         * lyxrow.[Ch]: add x_ and *fill_ members
3841
3842         * lyxtext.h:
3843         * text.C:
3844         * rowpainter.C:
3845         * text2.C: adjust/remove prepareToPrint() calls
3846
3847 2003-08-22  André Pönitz  <poenitz@gmx.net>
3848
3849         * lyxrow.[Ch]: add  end_ member
3850
3851         * lyxrow_funcs.C: use LyXRow::end_
3852
3853         * lyxtext.h (singleWidth): add LyXFont parameter
3854
3855         * rowpainter.C:
3856         * text2.C: adjust LyXText::singleWidth() calls
3857
3858         * text.C (redoParagraph): simplify row breaking logic
3859
3860
3861 2003-08-19  André Pönitz  <poenitz@gmx.net>
3862
3863         * funcrequest.C: initialize button_ member
3864
3865         * text3.C:
3866         * rowpainter.[Ch]: interface consolidation
3867
3868 2003-08-18  André Pönitz  <poenitz@gmx.net>
3869
3870         * BufferView.C:
3871         * BufferView_pimpl.C:
3872         * lyxfind.C:
3873         * paragraph_funcs.C:
3874         * rowpainter.C:
3875         * text3.C: remove LyXScreen::draw() and fitCursor calls
3876
3877         * BranchList.h: remove spurious semicolons
3878
3879         * MenuBackend.C: fix branchlist related crash
3880
3881 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * BranchList.[Ch]:
3884         * InsetList.[Ch]:
3885         * LColor.[Ch]:
3886         * LyXAction.C:
3887         * Makefile.am:
3888         * MenuBackend.[Ch]:
3889         * bufferparams.[Ch]:
3890         * factory.C:
3891         * lfuns.h:
3892         * lyxfunc.C:
3893         * text3.C: implements the 'branch inset'
3894         idea. This allows the output of various versions of a document
3895         from a single source version, selectively outputing or suppressing
3896         output of parts of the text.
3897         This implementation contains a 'branch list editor' in a separate
3898         tab of the document settings dialog. Branches are user definable
3899         and have a "display colour" to distinguish them on-screen.
3900
3901         ColorHandler was somewhat cleaned up.
3902         (1) make possible a dynamically growing LColor list by allowing
3903         the graphic context cache to grow along (vector);
3904         (2) eliminate an IMHO unnecessary step in colour allocation.
3905
3906 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3907
3908         * BufferView_pimpl.C: compile fix
3909
3910 2003-08-15  André Pönitz  <poenitz@gmx.net>
3911
3912         * rowpainter.C: remove extra metrics calls
3913
3914         * lyxtext.h: merge the two constructors into a single one,
3915           pass reference to owner's par list
3916
3917         * BufferView_pimpl.C:
3918         * text.C:
3919         * text2.C: adjust
3920
3921 2003-08-15  André Pönitz  <poenitz@gmx.net>
3922
3923         * lyxrow_funcs.[Ch]:
3924         * lyxtext.h:
3925         * paragraph.h:
3926         * paragraph_funcs.C:
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C:
3930         * text3.C:
3931         * text_funcs.C: split LyXText::rowlist_ into individual
3932         Paragraph::rows_ chunks
3933
3934         * BufferView.[Ch]:
3935         * BufferView_pimpl.[Ch]:
3936         * lyxfind.C:
3937         * lyxtext.h:
3938         * text3.C: remove toggleSelection()
3939
3940 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3941
3942         * bufferlist.C: beautify two alerts (shorter text of buttons)
3943         * buffer.C: Remove redundant ' ' from message
3944         * tabular.h:
3945         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3946         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3947         rename VALIGN_CENTER to VALIGN_MIDDLE
3948
3949 2003-08-11  André Pönitz  <poenitz@gmx.net>
3950
3951         * lyxtext.h (getPar):
3952         * text.C: new function
3953
3954 2003-08-11  André Pönitz  <poenitz@gmx.net>
3955
3956         * Makefile.am:
3957         * tracer.[Ch]: remove unneeded files
3958
3959         * InsetList.[Ch]: remove resizeInsetsLyXText()
3960
3961         * lyxtext.h:
3962         * text.C:
3963         * text2.C:
3964         * text3.C: merge insertParagraphs() and appendParagraph()
3965         remove breakAgain(), update()
3966
3967         * BufferView_pimpl.[Ch]:
3968         * bufferview_funcs.[Ch]:
3969         * lyxfunc.C:
3970         * paragraph.[Ch]:
3971         * rowpainter.C:
3972         * tabular.C: adjust after text & InsetList changes.
3973
3974 2003-08-08  André Pönitz  <poenitz@gmx.net>
3975
3976         * text.C (insertChar, backspace): replace rowlist fiddling
3977         with rebreak of full par
3978
3979         * lyxtext.h:
3980         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3981         checkParagraph, updateInset): removed
3982
3983 2003-08-07  André Pönitz  <poenitz@gmx.net>
3984
3985         * paragraph.C:
3986         * text3.C: merge some LFUN handlers, remove dead code
3987
3988 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3989
3990         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3991
3992 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3993
3994         * text2.C (DEPM): fix part of bug 1255 and 1256
3995
3996 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3997
3998         * BufferView_pimpl.C (workAreaDispatch): change to use
3999         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4000         that are no mouse related.
4001
4002 2003-08-05  André Pönitz  <poenitz@gmx.net>
4003
4004         * BufferView.[Ch]:
4005         * BufferView_pimpl.[Ch]:
4006         * bufferview_funcs.C:
4007         * text2.C:
4008         * text3.C: rip out "deep update"
4009
4010         * textcursor.[Ch] (last_sel_cursor): remove unused member
4011
4012 2003-08-04  André Pönitz  <poenitz@gmx.net>
4013
4014         * BufferView.[Ch]:
4015         * BufferView_pimpl.[Ch]:
4016         * ParagraphParameters.C:
4017         * bufferview_funcs.C:
4018         * lyx_cb.C:
4019         * lyxfind.C:
4020         * lyxfunc.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C: replace "complicated" BufferView::update(...) calls with
4024         simpler ones.
4025
4026         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4027
4028 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4029
4030         * Makefile.am (lyx_SOURCES): add paper.h
4031
4032 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4033
4034         * Makefile.am: move things around so that both lyx-qt and
4035         lyx-xforms can be built (according to --with-frontend). Then lyx
4036         is a symbolic link to lyx-[firstfrontend]
4037
4038 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4039
4040         * Always use std::endl with lyxerr
4041
4042 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4043
4044         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4045
4046 2003-08-01  André Pönitz  <poenitz@gmx.net>
4047
4048         * BufferView.[Ch]:
4049         * BufferView_pimpl.[Ch]:
4050         * lyxfunc.C:
4051         * text3.C: merge BufferView::repaint() and BufferView::update()
4052
4053 2003-08-01  José Matos  <jamatos@lyx.org>
4054
4055         * buffer.[Ch]: file_format is no longer a buffer data element.
4056
4057 2003-08-01  André Pönitz  <poenitz@gmx.net>
4058
4059         * BufferView.C:
4060         * lyxtext.h:
4061         * text.C:
4062         * text2.C: make redoParagraph more independent of current cursor
4063
4064         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4065         * text.C:
4066         * text2.C: remove unneeded members
4067
4068 2003-07-30  André Pönitz  <poenitz@gmx.net>
4069
4070         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4071
4072         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4073           create a single function...
4074
4075         * paragraph_funcs.C (moveItem): ... here.
4076
4077         * text.C:
4078           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4079
4080 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * LColor.[Ch]: Add comment and greyedout logical colors.
4083
4084 2003-07-30  André Pönitz  <poenitz@gmx.net>
4085
4086         * tabular.C: don't use Assert too heavily. This crashes where it
4087           shouldn't
4088
4089 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4092         is disabled (bug 1232)
4093
4094 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4095
4096         * factory.C: limited 'arg' scope
4097
4098 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4099
4100         * factory.C: fixed Note submenu issues
4101
4102 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4103
4104         * factory.C: submenu for Note/Comment/Greyedout
4105
4106 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * lyx_main.C (LyX):
4109         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4110
4111 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * LaTeXFeatures.C:
4114         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4115         greyedout. Patch provided by Jürgen Spitzmüller.
4116
4117 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4118
4119         * kbmap.C (read): fix error message when reading bind files
4120
4121 2003-07-29  Angus Leeming  <leeming@lyx.org>
4122
4123         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4124         certainly does not do what it purports to do. I am doing it, and
4125         us, a favour by killing it.
4126
4127 2003-07-28  José Matos  <jamatos@lyx.org>
4128
4129         * buffer.C (readBody, do_writeFile):
4130         * paragraph.C(readParagraph): \end_document replaces \the_end.
4131
4132 2003-07-29  André Pönitz  <poenitz@gmx.net>
4133
4134         * BufferView.[Ch]:
4135         * BufferView_pimpl.[Ch]:
4136         * lyxfunc.C:
4137         * text2.C:
4138         * text3.C:
4139         * textcursor.[Ch]: remove toggleToggle & Co
4140
4141 2003-07-28  José Matos  <jamatos@fep.up.pt>
4142
4143         * buffer.C (readParagraph):
4144         * params_func (readParToken, readParagraph):
4145         * paragraph.C (write): \layout -> \begin_layout.
4146
4147 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * lyxlex_pimpl.C (setFile): clean up slightly.
4150
4151         * bufferparams.h: add compressed var
4152
4153         * buffer_funcs.C (readFile): adjust for LyXLex change
4154         (newFile): ditto + simplify
4155
4156         * buffer.C (writeFile): handle writing of compressed files
4157
4158         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4159         Check if the file is compressed and set a bufferparm if so.
4160
4161         * Makefile.am (lyx_LDADD): remove explicit -lz
4162
4163 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4164
4165         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4166         makeDocBookFile): put the real LyX version in the first line of
4167         the file
4168
4169         * version.h:
4170         * version.C.in: remove lyx_docversion
4171
4172         * tabular.C (write_attribute): add a template-based version to
4173         write enums properly
4174
4175 2003-07-28  André Pönitz  <poenitz@gmx.net>
4176
4177         * lyxtext.h:
4178         * text.C:
4179         * text2.C:
4180         * text3.C: use doubles again for x-coordinates. They are needed.
4181
4182 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * messages.C (getLocaleDir): use lyx_localedir()
4185
4186         * lyxlex_pimpl.C (setFile): compress stuff
4187
4188         * buffer.C (writeFile): add some compression stuff
4189         (do_writeFile): new func, dont call expliti close... will this
4190         breake anything?
4191
4192         * Makefile.am (lyx_LDADD): add -lz
4193
4194 2003-07-28  José Matos  <jamatos@fep.up.pt>
4195
4196         * buffer.C: increment file format.
4197         * paragraph_funcs (readParagraph, readParToken):
4198         * paragraph.C (readParagraph): add \end_layout.
4199
4200 2003-07-27  Angus Leeming  <leeming@lyx.org>
4201
4202         * Makefile.am: remove special casing for configure-time setting of
4203         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4204
4205         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4206         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4207
4208 2003-07-26  André Pönitz  <poenitz@gmx.net>
4209
4210         * paragraph_func.[Ch]:
4211         * paragraph.C (realizeFont): inline it whereever it is used
4212
4213         * rowpainter.C:
4214         * text.C:
4215         * text2.C:
4216         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4217
4218
4219 2003-07-26  André Pönitz  <poenitz@gmx.net>
4220
4221         *       lyxtext.h:
4222         * text.C:
4223         * text2.C: get rid of LyXText::need_break_row
4224
4225 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * toc.[Ch]: put namespace toc inside namespace lyx
4228
4229         * MenuBackend.C (expandToc2): adjust for lyx::toc
4230         (expandToc): ditto
4231
4232         * lyxfunc.C (dispatch): adjust for lyx::find
4233
4234         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4235         lyx::find instead. Reorganize a bit.
4236         (LyXReplace): rename to replace
4237         (LyXFind): rename to find
4238
4239         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4240         (dispatch): ditto
4241
4242 2003-07-26  André Pönitz  <poenitz@gmx.net>
4243
4244         * text.C (setHeightOfRow): restrict scope of temporary variable
4245
4246         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4247           code (never has been used?)
4248
4249 2003-07-27  Asger Alstrup  <alstrup@local>
4250
4251         * text.C (fill): Optimise algorithm to exploit that we can reuse
4252         the LyXFont for many characters.
4253         (setHeightOfRow): Same thing.
4254         (rowBreakPoint): Same thing.
4255
4256 2003-07-26  Asger Alstrup  <alstrup@local>
4257
4258         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4259
4260         * text.C (singleWidth): Spurious font copying in hot-spot
4261         singleWidth avoided. Reorder tests for arabic for efficiency.
4262
4263         * text.C (fill): handle empty paragraphs better.
4264
4265 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4266
4267         * ispell.C:
4268         * encoding.h: add includes
4269
4270         * lyxrc.C: remove reading of bind files
4271
4272         * lyx_main.C (init): setup bindings and menus only if we have a
4273         gui.
4274
4275         * kbmap.C (read): new method. Do the actual reading of bind
4276         files.
4277
4278         * converter.C (dvipdfm_options):
4279         * bufferparams.C:
4280         * lyxrc.C (read):
4281         (output): adapt PAPER_* enums.
4282
4283         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4284
4285         * bufferparams.h: remove paper-related enums from there
4286
4287         * paper.h: New file. A trivial header file to hold paper-related
4288         enums. It should later expand to contain many paper-related
4289         horrors access.
4290
4291         * lyxrc.C: declare extern displayTranslator
4292
4293 2003-07-27  José Matos  <jamatos@fep.up.pt>
4294
4295         * tabular.[Ch] (linuxdoc): add support for tables and figures
4296         (linuxdoc).
4297
4298 2003-07-27  José Matos  <jamatos@fep.up.pt>
4299
4300         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4301         consistency in both functions.
4302         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4303
4304 2003-07-26  Asger Alstrup  <alstrup@local>
4305
4306         * rowpainter.C (paintRows): Change algorithm to work directly on
4307         the insets rather than asking every character in the document
4308         whether its an inset.
4309
4310 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4311
4312         * buffer.C (openFileWrite): factorize some code
4313
4314 2003-07-26  Angus Leeming  <leeming@lyx.org>
4315
4316         * lyx_cb.C:
4317         * lyx_main.[Ch]: replace occurances of system_tempdir with
4318         os::getTmpDir().
4319
4320 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * rename Inset to InsetOld
4323
4324 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4325
4326         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4327         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4328         which I think is a bit clearer. EDIT is gone, since it was
4329         premature optimisation, and broken for mathed anyway.
4330         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4331         with cursor positioning in insets as well (math insets still do not
4332         work, but that's a different story anyway.) It mysteriously
4333         crashes sometimes with undo in the first paragraph, but I'm fairly
4334         confident that this is a compiler bug.
4335
4336 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * paragraph.C (Paragraph): adjust for new clone return type
4339         (operator==): ditto
4340         (copyIntoMinibuffer): ditto
4341
4342 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4343
4344         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4345         by not having a special case, and always doing a full rebreak of
4346         the document after undo.
4347
4348 2003-07-23  Angus Leeming  <leeming@lyx.org>
4349
4350         * factory.C (createInset): InsetExternal::setParams now takes a
4351         Buffer const * arg.
4352
4353 2003-07-23  Angus Leeming  <leeming@lyx.org>
4354
4355         * factory.C (createInset): changed interface to the external and
4356         graphics mailers' string2params functions.
4357
4358 2003-07-23  Angus Leeming  <leeming@lyx.org>
4359
4360         * factory.C (createInset): pass a
4361         Buffer const * parameter to InsetExternalMailer's string2params.
4362
4363 2003-07-22  John Levon  <levon@movementarian.org>
4364
4365         * Thesaurus.h: include the right aiksaurus header
4366
4367 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4368
4369         * MenuBackend.C (expand): check menu shortcuts unconditionally
4370
4371 2003-07-21  Angus Leeming  <leeming@lyx.org>
4372
4373         * factory.C (createInset): pass a
4374         buffer_path parameter to InsetGraphicsMailer's string2params.
4375
4376 2003-07-21  Angus Leeming  <leeming@lyx.org>
4377
4378         * BufferView_pimpl.C (buffer):
4379         * buffer.C (d-tor):
4380         * lyx_main.C (LyX):
4381         * lyxfunc.C (dispatch):
4382         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4383         rather than the grfx shortcut.
4384
4385 2003-07-21  André Pönitz  <poenitz@gmx.net>
4386
4387         * rowpainter.C: remove unused variables
4388
4389         * tabular_funcs.C:
4390         * tabular_funcs.h: move to tabular.C
4391         * Makefile.am: adjust
4392
4393         * tabular.[Ch]: basic optical cleaning
4394
4395         * author.h: pass references, not values
4396
4397 2003-07-18  André Pönitz  <poenitz@gmx.net>
4398
4399         * lyxtext.h:
4400         * metricsinfo.C:
4401         * metricsinfo.h:
4402         * rowpainter.C:
4403         * text.C:
4404         * text2.C:
4405         * text3.C: two-phase drawing for InsetText and InsetTabular
4406         some float -> int changes.
4407
4408 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * lyx_main.C: fix the fix
4411
4412 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * lyx_main.C: fix a crash in batch mode if no files specified
4415         * converter.C: ws
4416
4417 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4418
4419         * format.[Ch] (papersize): moved to BufferParams
4420         * converter.[Ch] (dvips_options): moved to BufferParams
4421         (dvipdfm_options): moved to anon namespace
4422         * bufferparams.[Ch]: added above functions.
4423
4424 2003-07-17  André Pönitz  <poenitz@gmx.net>
4425
4426         * lyxtext.h:
4427         * rowpainter.C:
4428         * text2.C: don't call inset->update() anymore
4429
4430         * metricsinfo.[Ch]: add convenience constructor
4431
4432 2003-07-16  André Pönitz  <poenitz@gmx.net>
4433
4434         * lyxcursor.[Ch]:
4435         * lyxfunc.[Ch]:
4436         * text.C:
4437         * text2.C: replace the LyXCursor::irow_ member with
4438          on-demand computation of the value
4439
4440 2003-07-16  John Levon  <levon@movementarian.org>
4441
4442         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4443
4444 2003-07-15  André Pönitz  <poenitz@gmx.net>
4445
4446         * text.C:
4447         * text2.C: remove no more needed refresh_row
4448
4449 2003-07-15  André Pönitz  <poenitz@gmx.net>
4450
4451         * lyxtext.h:
4452         * rowpainter.C:
4453         * text2.C:
4454         * text3.C: refresh_status tristate -> need_update bool
4455
4456 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * lyxtext.h (init): remove reinit argument (act as if always true)
4459         * text2.C: adjust to that
4460
4461 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4462
4463         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4464         * text3.C: use it to delete selections in some cases
4465         (bugs 441, 673, 702, 954).
4466
4467 2003-07-14  André Pönitz  <poenitz@gmx.net>
4468
4469         * rowpainter.[Ch]: reduce interface
4470
4471 2003-07-14  André Pönitz  <poenitz@gmx.net>
4472
4473         * BufferView_pimpl.C:
4474         * text2.C: adjust after removing unused BufferView * argument
4475
4476 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * text2.C (init): fix a crash fired on resize
4479
4480 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * buffer.[Ch]: added new closing signal
4483         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4484         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4485         BufferView::Pimpl via the closing the signal
4486
4487 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * buffer.[Ch]: take out all bv-related from buffer
4490         * BufferView.C:
4491         * BufferView_pimpl.[Ch]: connect to new signals
4492         * CutAndPaste.C: removed useless asserts
4493         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4494         * lyxvc.[Ch]:
4495         * vc-backend.[Ch]:
4496         * lyxfunc.C: moved view-related funciontality from vc here
4497         * paragraph.C: removed outdated comments
4498         * text.C: ws
4499
4500 2003-07-10  André Pönitz  <poenitz@gmx.net>
4501
4502         * BufferView_pimpl.C:
4503         * tabular.h:
4504         * tabular_funcs.C:
4505         * text.C:
4506         * text2.C: remove InsetText::InnerCache, clean up consequences
4507
4508 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4509
4510         * ispell.C: fix two typos in error messages
4511
4512 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4513
4514         * Extend Note inset to other forms of annotation like Comment
4515         and Greyedout. Right button click gives dialog.
4516
4517         Files modified or added (+):
4518
4519         * insetnote.[Ch]
4520         * FormNote.[Ch]      +
4521         * ControlNote.[Ch]   +
4522         * form_note.fd       +
4523         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4524         frontends/controllers
4525         * xforms/Dialogs.C
4526         * factory.C
4527
4528 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4529
4530         * aspell.C: add missing namespace lyx::support
4531
4532 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * BufferView.[Ch] (newFile): Add
4535         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4536         * LaTeX.[Ch] (message): added this signal and use it
4537         * buffer.[Ch] (busy, message): added these signals and use them
4538         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4539         * converter.C:
4540         * exporter.C:
4541         * format.C:
4542         * importer.C: use buffer signals instead of direct bv calling
4543         * lyx_cb.[Ch] (ShowMessage): removed
4544         * lyx_main.C:
4545         * lyxfunc.C:
4546         * paragraph_funcs.C:
4547         * text2.C: use buffer signals
4548
4549 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * introduce namespace lyx::graphics
4552
4553 2003-07-02  André Pönitz  <poenitz@gmx.net>
4554
4555         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4556
4557 2003-07-01  André Pönitz  <poenitz@gmx.net>
4558
4559         * text.C:
4560         * text2.C:
4561         * text3.C:
4562         * text_funcs.[Ch]:
4563         * textcursor.h:
4564         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4565           text*.C to text_func.C
4566
4567 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * introduce namespace lyx::support
4570
4571 2003-06-30  André Pönitz  <poenitz@gmx.net>
4572
4573         * Chktex.C:
4574         * funcrequest.C:
4575         * lyxtext.h:
4576         * text.C: re-enable --with-included-string
4577
4578 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * textcursor.C: add <config.h>
4581
4582         * text.C (getWord): remove const from word_location arg
4583
4584         * lyxvc.C (getLogFile): fix const type order
4585
4586         * lyxtext.h: remove const from word_location arg, add arg name
4587
4588         * lyxlayout.h: currect type on labeltype.
4589
4590         * importer.C: correct \file
4591
4592         * converter.C (intToFormat): use std:: on ret val, ws changes
4593
4594         * bufferlist.h: correct \file
4595
4596         * buffer.C (makeLinuxDocFile): fix const type order
4597         (makeDocBookFile): ditto
4598         (fillWithBibKeys): use std:: on stdlib args.
4599
4600         * CutAndPaste.C: fix authors.
4601         (availableSelections): use std:: on return vector
4602
4603 2003-06-27  André Pönitz  <poenitz@gmx.net>
4604
4605         * BufferView_pimpl.C:
4606         * bufferview_funcs.C:
4607         * lyxcursor.C:
4608         * lyxcursor.h:
4609         * lyxfunc.C:
4610         * lyxtext.h:
4611         * rowpainter.C:
4612         * text.C:
4613         * text2.C:
4614         * text3.C: remove LyXCursor::row_ member
4615
4616         * lyxtext.h:
4617         * text.C: rename fullRebreak() to partialRebreak() and implement
4618           a fullRebreak() that really bereks fully
4619
4620         * textcursor.h: new struct for cursor-related data
4621
4622 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4623
4624         * lyx_main.C (LyX): get full path of document loaded on the
4625         command line
4626
4627 2003-06-26  André Pönitz  <poenitz@gmx.net>
4628
4629         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4630           remove unused/broken operator>,<,>=.
4631
4632         *       text.C: remove only use of broken operator<= in an Assert().
4633
4634 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4635
4636         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4637         moved errorlist_.clear to showErrorList
4638
4639 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4640
4641         * converter.C (scanLog, runLaTeX):
4642         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4643         move the bv->showErrorList call to the callers
4644         * lyxfunc.C: i.e. here...
4645         * text2.C: and here
4646         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4647         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4648         namespace, the second to...
4649         * buffer_funcs (BufferFormat, parseErrors): added
4650         * errorlist.C (ErrorList(TeXErrors const &)): removed
4651
4652 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4653
4654         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4655
4656 2003-06-24  "Garst R. Reese" <reese@isn.net>
4657
4658         * debug.C: fix typo
4659
4660 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4661
4662         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4663
4664         * version.C.in: change docversion to 1.4
4665
4666 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * buffer.C: fix a bug just introduced
4669
4670 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * buffer.[Ch]: added the parseError signal and use it, removed
4673         sgmlError
4674         * BufferView.[Ch] (addError): moved to ...
4675         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4676         to the Buffer::parseError signal to catch (guess what) parse errors
4677         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4678
4679 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4682         ability to create a buffer and to return an existing one from
4683         the list. Moved these functions to...
4684         * buffer_funcs.[Ch]: added
4685         * BufferView.[Ch] (loadLyXFile): added
4686         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4687         job removed from bufferlist::loadLyXFile.
4688         * buffer.C (setReadOnly): make it work without view
4689         (i.e added an if (users))
4690
4691 2003-06-19  Angus Leeming  <leeming@lyx.org>
4692
4693         * lfuns.h:
4694         * LyXAction.C (init):
4695         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4696         with LFUN_DIALOG_SHOW <name> <data>.
4697
4698 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4699
4700         * CutAndPaste.C (availableSelections): small compilation fix for
4701         ancient (gcc 2.9x) compilers
4702
4703 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * text3.C (cursorNext): add tmp var
4706
4707         * text2.C (updateCounters): for function calling out of for clause
4708         (replaceSelectionWithString): ditto
4709         (insertStringAsParagraphs): ditto
4710         (getColumnNearX): add tmp var
4711         (setCursorFromCoordinates): add tmp var
4712         (cursorDownParagraph): add tmp var
4713         (deleteEmptyParagraphMechanism): add tmp var
4714
4715         * text.C (insertChar): add tmp var
4716
4717         * rowpainter.C (paintDepthBar): add tmp var
4718
4719         * CutAndPaste.C (availableSelections): potentially check all
4720         paragraphs in a cut to fill the shown strings.
4721
4722 2003-06-18  André Pönitz  <poenitz@gmx.net>
4723
4724         * kbmap.[Ch]: use vector<> instead of list<>
4725
4726 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4727
4728         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4729         pasteSelection with index
4730
4731         * text2.C (pasteSelection): modify, call pasteSelection with index
4732
4733         * paragraph.C (asString): reimplement version with no interval to
4734         call the one with interval.
4735
4736         * lyxtext.h: add index arg to pasteSelection
4737
4738         * MenuBackend.C (MenuItem): handle PasteRecent
4739         (Menu::read::Menutags): add md_pasterecent
4740         (read): handle it
4741         (expandPasteRecent): new function
4742         (expand): use it
4743
4744         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4745
4746         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4747         the limited stack
4748         (availableSelections): new function
4749
4750 2003-06-17  Angus Leeming  <leeming@lyx.org>
4751
4752         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4753
4754 2003-06-17  Angus Leeming  <leeming@lyx.org>
4755
4756         * lfuns.h:
4757         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4758
4759         * lyxfunc.C (dispatch): invoke it.
4760
4761 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4762
4763         * iterators.C (operator++, ParPosition): reintroduce some
4764         const_cast for the benefit of older compilers.
4765
4766 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4767
4768         * text3.C (dispatch): do not modify clipboard when doing
4769         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4770         LFUN_DELETE_SKIP on a selection selection
4771
4772 2003-06-16  André Pönitz  <poenitz@gmx.net>
4773
4774         * BufferView.C:
4775         * buffer.C:
4776         * buffer.h:
4777         * paragraph.C:
4778         * tabular.[Ch]: IU of clone() and getLabelList();
4779
4780 2003-06-13  André Pönitz  <poenitz@gmx.net>
4781
4782         * tabular.h: compactification
4783
4784 2003-06-12  André Pönitz  <poenitz@gmx.net>
4785
4786         * tabular.C:
4787         * tabular.h:
4788         * tabular_funcs.h: some renaming plus whitespace
4789
4790 2003-06-12  André Pönitz  <poenitz@gmx.net>
4791
4792         * BufferView.C:
4793         * BufferView_pimpl.C:
4794         * CutAndPaste.C:
4795         * buffer.C:
4796         * iterators.[Ch]:
4797         * lyxfunc.C:
4798         * text.C:
4799         * toc.C: Return a Paragraph & for ParIterator::operator*()
4800
4801 2003-06-11  John Levon  <levon@movementarian.org>
4802
4803         * lyx_main.C:
4804         * ToolbarBackend.h:
4805         * ToolbarBackend.C: add "Toolbars" section and
4806         put the flags there
4807
4808 2003-06-10  Angus Leeming  <leeming@lyx.org>
4809
4810         * lfuns.h:
4811         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4812
4813         * lyxfunc.C (dispatch): invoke it.
4814
4815 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * main.C: protect <ios> with HAVE_IOS
4818         (main): protect sync_with_stdio with HAVE_IOS
4819
4820 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4821
4822         * text2.C (cutSelection): adjust
4823         (pasteSelection): adjust
4824
4825         * messages.C: handle get of empty string
4826
4827         * main.C (main): use sync_with_stdio(false)
4828
4829         * lyxfunc.C (dispatch): adjust
4830
4831         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4832         (WriteAs): remove unneeded BufferView arg.
4833
4834         * bufferparams.h: use correct types on papersize, papersize2 and
4835         paperpackage.
4836
4837         * bufferparams.C (readToken): adjust for type
4838         (writeLaTeX): add missing cases to switch.
4839
4840         * bufferlist.C (quitWriteBuffer): adjust
4841         (close): adjust
4842
4843         * buffer.C (asciiParagraph): remove some commented code.
4844
4845         * CutAndPaste.C: remove current_view extern variable.
4846         (cutSelection): add BufferParams arg.
4847         (eraseSelection): add BufferParams arg.
4848         (pasteSelection): add Buffer const & arg
4849
4850 2003-06-07  John Levon  <levon@movementarian.org>
4851
4852         * buffer.C:
4853         * paragraph_funcs.C:
4854         * paragraph_pimpl.C:
4855         * text.C:
4856         * text2.C:
4857         * paragraph.h:
4858         * paragraph.C: allow InsetERT to freely space lines,
4859         and some consolidation of code
4860
4861 2003-06-06  José Matos  <jamatos@fep.up.pt>
4862
4863         * buffer.C (makeDocBookFile): fix bug #821
4864
4865 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4868
4869 2003-06-04  Angus Leeming  <leeming@lyx.org>
4870
4871         * buffer.C: bump format to 224.
4872
4873 2003-06-05  André Pönitz  <poenitz@gmx.net>
4874
4875         * text2.C (redoParagraphs): remove two const_cast<>
4876
4877 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4878
4879         * ParagraphList.h: remove last remnants of NO_STD_LIST
4880
4881 2003-06-03  Angus Leeming  <leeming@lyx.org>
4882
4883         * factory.C (createInset): small change to the way InsetExternal's params
4884         are set.
4885
4886 2003-06-04  André Pönitz  <poenitz@gmx.net>
4887
4888         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4889
4890         * paragraph_pimpl.h:
4891         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4892
4893         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4894
4895         * undo_funcs.C: make some simple cases of undo work again
4896
4897 2003-06-03  John Levon  <levon@movementarian.org>
4898
4899         * ispell.C: HPUX doesn't have sys/select.h
4900         (from Albert Chin)
4901
4902 2003-06-03  John Levon  <levon@movementarian.org>
4903
4904         * CutAndPaste.C: update tabular and include inset
4905         buffer references
4906
4907         * buffer.h:
4908         * paragraph.h:
4909         * paragraph.C: remove owningBuffer(), don't pass Buffer
4910         to clone()
4911
4912         * factory.C: insetGraphicsParams changed
4913
4914 2003-06-02  John Levon  <levon@movementarian.org>
4915
4916         * LyXAction.C:
4917         * factory.C:
4918         * lfuns.h:
4919         * lyxfunc.C:
4920         * text3.C: remove insetparent
4921
4922 2003-06-02  John Levon  <levon@movementarian.org>
4923
4924         * buffer.h:
4925         * buffer.C: fix inset_iterator.end(), move out of line
4926         (bug 1149)
4927
4928 2003-06-01  John Levon  <levon@movementarian.org>
4929
4930         * text3.C: use a proper cut/paste when doing inset
4931         insert (from Jürgen Spitzmüller)
4932
4933 2003-06-01  John Levon  <levon@movementarian.org>
4934
4935         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4936
4937 2003-05-30  André Pönitz  <poenitz@gmx.net>
4938
4939         * rowpainter.C: unify second drawing phase
4940
4941 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * trans_mgr.C: remove one case of current_view
4944
4945         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4946
4947         * paragraph_funcs.h: remove paragraph.h include
4948
4949         * paragraph.h: delete NO_STD_LIST stuff
4950
4951         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4952
4953         * buffer.h: remove paragraph.h include
4954
4955         * ParagraphList.C: delete file
4956
4957         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4958
4959         * toc.C (getTocList): adjust
4960
4961         * paragraph_pimpl.C (validate): adjust
4962
4963         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4964
4965         * paragraph.C (Paragraph): adjust
4966         (getPositionOfInset): use const_iterator, adjust
4967         (bibitem): use const_iterator, adjust
4968         (setInsetOwner): adjust
4969
4970         * iterators.C (operator++): adjust
4971
4972         * InsetList.[Ch]: Replace selfmade iterator with standard
4973         vector::iterator also introduce const_iterator. Remove getPos,
4974         getInset and setInset from InsetTable. Adjust accordingly.
4975
4976         * BufferView.C (lockInset): adjust
4977         (ChangeInsets): adjust
4978
4979         * tabular.[Ch]: delete commented same_id functions
4980
4981 2003-05-28  John Levon  <levon@movementarian.org>
4982
4983         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4984
4985 2003-05-28  André Pönitz  <poenitz@gmx.net>
4986
4987         * metricsinfo.[Ch]: remove 'fullredraw' member
4988
4989 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4990
4991         * lyxtextclass.C (operator): remove caching.
4992
4993 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * text3.C: adjust
4996
4997         * text2.C (cursorBottom): adjust
4998         (setCounter): use ParagraphList::find, adjust
4999
5000         * text.C (workWidth): use ParagraphList::find, adjust
5001
5002         * lyxcursor.C (LyXCursor): adjust
5003
5004         * buffer.C (inset_iterator): adjust
5005
5006         * ParagraphList.h: make iterator(value_type) private, make
5007         ParagraphList a friend of iterator.
5008
5009         * ParagraphList.C (find): new function
5010
5011         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5012
5013 2003-05-27  André Pönitz  <poenitz@gmx.net>
5014
5015         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5016
5017 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5018
5019         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5020
5021 2003-05-26  John Levon  <levon@movementarian.org>
5022
5023         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5024
5025 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * remove same_id from function signatures, adjust.
5028
5029 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5032
5033         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5034
5035         * paragraph.C (Paragraph): get rid of same_ids parameter
5036
5037         * ParagraphList.C (insert): adjust
5038         (push_back): adjust
5039
5040 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * paragraph_funcs.C (breakParagraph): adjust
5043         (breakParagraphConservative): adjust
5044
5045         * buffer.C (readParagraph): adjust
5046
5047         * ParagraphList.C (insert): take a reference instead of a pointer
5048         (insert): adjust
5049
5050         * paragraph.[Ch] (id): new function
5051
5052         * bufferlist.C (newFile): adjust
5053
5054         * ParagraphList.C (ParagraphList): adjust
5055         (assign): adjust
5056         (push_back): take a reference instead of a pointer.
5057
5058         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5059
5060         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5061         instead.
5062
5063         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5064         set else use old code.
5065
5066         * ParagraphList.C: remove all NO_NEXT code and only compile this
5067         code of NO_STD_LIST is set.
5068
5069 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5070
5071         * BufferView_pimpl.C:
5072         * TextCache.C:
5073         * TextCache.h:
5074         * bufferlist.C:
5075         * errorlist.h:
5076         * format.C:
5077         * format.h:
5078         * graph.C:
5079         * lyxfunc.C:
5080         * lyxrc.C:
5081         * graphics/GraphicsConverter.C:
5082         * graphics/PreviewLoader.C: header adjustment
5083
5084 2003-05-23  Angus Leeming  <leeming@lyx.org>
5085
5086         * LaTeXFeatures.[Ch] (useBabel): new method.
5087         * bufferparams.C (writeLaTeX): use it.
5088
5089 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * ParagraphList.h (set): remove unused function.
5092
5093 2003-05-23  André Pönitz  <poenitz@gmx.net>
5094
5095         * BufferView.C:
5096         * BufferView_pimpl.C:
5097         * buffer.C:
5098         * buffer.h:
5099         * lyxfunc.C:
5100         * undo_funcs.C: setUndo reworked
5101
5102         * iterators.[Ch]: add access to topmost ParagraphList
5103
5104         * lyxtext.[Ch] (workWidth): add a const
5105
5106 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * texrow.[Ch] (increasePos): remove function
5109         * exporter.C (export): removed unused var and outdated comment
5110
5111 2003-05-23  Angus Leeming  <leeming@lyx.org>
5112
5113         * latexrunparams.h: rename fragile as moving_arg.
5114         * paragraph.C (simpleTeXOnePar): ditto.
5115         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5116
5117 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5118
5119         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5120         (createUndo): ditto
5121         (textUndoOrRedo): comment out a currently unused var.
5122
5123         * paragraph.h (NO_NEXT): enable NO_NEXT
5124
5125         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5126
5127         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5128
5129         * exporter.C (Export): adjust for removeAutoInsets removal.
5130
5131         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5132
5133         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5134
5135         * BufferView.[Ch] (removeAutoInsets): delete function
5136
5137 2003-05-22  Angus Leeming  <leeming@lyx.org>
5138
5139         * latexrunparams.h: add a free_spacing variable.
5140
5141         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5142         to pass moving_arg, as the data is stored in runparams.fragile.
5143
5144         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5145         to Inset::latexOptional or to simpleTeXOnePar.
5146
5147         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5148         free_spacing arg to Inset::latexOptional.
5149
5150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5151         free_spacing arg.
5152
5153 2003-05-22  Angus Leeming  <leeming@lyx.org>
5154
5155         * latexrunparams.h: add fragile and use_babel variables.
5156
5157         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5158         * buffer.C (makeLaTeXFile): store this returned value in
5159         runparams.use_babel, thus passing it to the inset::latex methods.
5160
5161         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5162         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5163
5164         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5165         longer has a fragile arg, as it is stored in runparams.fragile.
5166
5167         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5168         moving_arg parameter as the data is stored in runparams.fragile.
5169
5170         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5171         a fragile parameter as the data is stored in runparams.fragile.
5172
5173 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5176
5177 2003-05-22  Angus Leeming  <leeming@lyx.org>
5178
5179         * latexrunparams.h: add a 'bool nice' which defaults to false.
5180
5181         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5182         now encapsulated within runparams.
5183
5184         * bufferlist.C (updateIncludedTeXfiles):
5185         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5186
5187 2003-05-22  Angus Leeming  <leeming@lyx.org>
5188
5189         * latexrunparams.h: new file containing struct LatexRunParams.
5190         * Makefile.am: add new file.
5191
5192         * LaTeX.[Ch] (c-tor, run):
5193         * buffer.[Ch] (makeLaTeXFile):
5194         * bufferlist.[Ch] (updateIncludedTeXfiles):
5195         * converter.C (convert, scanLog):
5196         * converter.[Ch] (runLaTeX):
5197         * exporter.C (Export):
5198         * paragraph.[Ch] (simpleTeXOnePar):
5199         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5200         * paragraph_funcs.[Ch] (latexParagraphs):
5201         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5202         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5203         pass around a LatexRunParams parameter.
5204
5205 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * paragraph.[Ch]: remove unused constructor
5208
5209         * ParagraphList.C (erase): new function, taking two iterators
5210
5211 2003-05-22  André Pönitz  <poenitz@gmx.net>
5212
5213         * undo_funcs.C: remove duplicated code
5214
5215         * iterator.[Ch]: operator=
5216
5217 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * tabular.C (SetMultiColumn): ws changes
5220
5221         * rowpainter.C (paintFirst): get rid of a ->previous
5222
5223         * lyx_cb.C (getPossibleLabel): parlist simplification
5224
5225         * BufferView.C (ChangeInsets): simplify slightly.
5226
5227 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5228
5229         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5230         * lfuns.h: new LFUN_SPACE
5231         * lyxfunc.C: protected space has a new lfun
5232         * paragraph_funcs.C: read new space insets
5233         * text3.C:
5234         * factory.C: handle new space insets
5235
5236 2003-05-22  André Pönitz  <poenitz@gmx.net>
5237
5238         * BufferView.C:
5239         * BufferView_pimpl.C:
5240         * buffer.[Ch]:
5241         * lyxfunc.C:
5242         * undo_funcs.C: return a ParIterator from getParFromID.
5243
5244         * iterators.[Ch]: add two const's
5245
5246 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * toc.C (getTocList): adjust
5249
5250         * iterators.[Ch]: rework for parlist
5251
5252         * buffer.C (par_iterator_begin): adjust
5253         (par_iterator_end): adjust
5254
5255         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5256
5257         * BufferView.C (removeAutoInsets): adjust
5258         (ChangeInsets): adjust
5259
5260 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * text.C (top_y): fix bug 1110
5263
5264 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * errorlist.[Ch]: added
5267         * buffer.C:
5268         * BufferView.[Ch]:
5269         * BufferView_pimpl.C:
5270         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5271         instead
5272
5273 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * Makefile.am: ensure that lyx is relinked upon changes to the
5276         various "convenience" libs.
5277
5278 2003-05-20  Angus Leeming  <leeming@lyx.org>
5279
5280         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5281         files are compiled in alphabetical order again.
5282
5283         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5284
5285 2003-05-19  Angus Leeming  <leeming@lyx.org>
5286
5287         * gettext.[Ch]: remove "char const * _(char const *)".
5288
5289 2003-05-19  André Pönitz  <poenitz@gmx.net>
5290
5291         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5292
5293         * Makefile.am:
5294         * BufferView.C:
5295         * DepTable.h:
5296         * LaTeXFeatures.C:
5297         * buffer.C:
5298         * lyxfont.C:
5299         * lyxlex.h:
5300         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5301
5302 2003-05-19  André Pönitz  <poenitz@gmx.net>
5303
5304         * buffer.C:
5305         * lyxlayout.[Ch]:
5306         * lyxtextclass.[Ch]:
5307         * paragraph.C:
5308         * paragraph_funcs.[Ch]:
5309         * text2.C:
5310         * text3.C: more insetenv work
5311
5312 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * ParagraphParameters.C (params2string): small bug fixed
5315
5316 2003-05-16  André Pönitz  <poenitz@gmx.net>
5317
5318         * debug.C:
5319         * bufferview_funcs.C: patch from Kornel Benko to prevent
5320           crash when _(...) is called twice in a statement
5321
5322 2003-05-16  André Pönitz  <poenitz@gmx.net>
5323
5324         * BufferView.C:
5325         * lyxfunc.C:
5326         * text.C:
5327         * text2.C:
5328         * text3.C:
5329         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5330
5331 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * lyx_main.C (init): remove spurious static_cast
5334
5335 2003-05-14  André Pönitz  <poenitz@gmx.net>
5336
5337         * BufferView.C: fix format string
5338
5339 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * BufferView.[Ch] (insertErrors): removed
5342         * BufferView.[Ch] (showErrorList): added
5343         * buffer.C (runChkTeX):
5344         * converter.C (scanLog): call showErrorList instead of inserterrors
5345
5346 2003-05-13  André Pönitz  <poenitz@gmx.net>
5347
5348         * BufferView_pimpl.C:
5349         * buffer.C:
5350         * bufferview_func.C:
5351         * MenuBackend.C:
5352         * lyxfunc.C:
5353         * lyxrc.C:
5354         * tex-accent.C:
5355         * text3.C:
5356         * toc.C:
5357         * tabular_funcs.h: tostr() from its own header
5358
5359         * ParagraphParameters.C:
5360         * ToolbarBackend.C:
5361         * bufferparams.C:
5362         * format.C:
5363         * lyxlex_pimpl.C:
5364         * text3.C: STRCONV()
5365
5366 2003-05-12  André Pönitz  <poenitz@gmx.net>
5367
5368         * BufferView.C:
5369         * BufferView_pimpl.C:
5370         * CutAndPaste.C:
5371         * LaTeX.C:
5372         * LaTeXFeatures.C:
5373         * ParagraphParameters.C:
5374         * buffer.C:
5375         * bufferlist.C:
5376         * bufferparams.C:
5377         * bufferview_funcs.C:
5378         * converter.C:
5379         * counters.C:
5380         * debug.C:
5381         * exporter.C:
5382         * format.C:
5383         * importer.C:
5384         * lyx_cb.C:
5385         * lyx_main.C:
5386         * lyxfont.C:
5387         * lyxfunc.C:
5388         * lyxvc.C:
5389         * paragraph.C:
5390         * paragraph_funcs.C:
5391         * tabular.C:
5392         * tabular_funcs.C:
5393         * text2.C:
5394         * text3.C:  boost::format -> bformat  all over the place
5395
5396
5397 2003-05-09  André Pönitz  <poenitz@gmx.net>
5398
5399         * LColor.[Ch]: Pimpl the #include <map> away
5400
5401 2003-05-09  John Levon  <levon@movementarian.org>
5402
5403         * bufferlist.C: never remove emergency saves
5404
5405 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * Makefile.am: better lib building
5408
5409 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5412         instead.
5413         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5414         (simpleTeXSpecialChars): adjust
5415         (simpleTeXSpecialChars): adjust
5416         * paragraph.C (simpleTeXOnePar): adjust
5417         * buffer.C (makeLaTeXFile): adjust
5418
5419         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5420
5421         * text2.C (changeDepth): parlist cleanup
5422         (getColumnNearX): ditto
5423
5424         * rowpainter.C (getLabelFont): parlist cleanup
5425
5426         * bufferlist.C (newFile): parlist cleanup
5427
5428         * CutAndPaste.C (eraseSelection): parlist cleanup
5429
5430         * BufferView_pimpl.C (trackChanges): parlist cleanup
5431         (dispatch): ditto
5432
5433         * BufferView.C (lockInset): parlist cleanup.
5434         (ChangeInsets): ditto
5435
5436 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * CutAndPaste.h: Update file header.
5439
5440         * CutAndPaste.C: Update file header.
5441         Store the parts cut out of the Document in a limited_stack.
5442         (copySelection): adjust
5443         (pasteSelection): new function, takes the index in the limited stack.
5444         (nrOfParagraphs): adjust
5445         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5446         simplify error inset insertion.
5447         (checkPastePossible): adjust
5448
5449 2003-05-06  John Levon  <levon@movementarian.org>
5450
5451         * text2.C: don't cast wrap inset to float
5452
5453 2003-05-05  André Pönitz  <poenitz@gmx.net>
5454
5455         * iterator.C:
5456         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5457
5458         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5459           few naked Paragraph *.
5460
5461 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5462
5463         * bufferparams.C: Output warning if a document with missing
5464         TeX document class is loaded
5465         * exporter.C: Disable TeX exports if the document class is missing
5466         * lyxtextclass.C:
5467         * lyxtextclass.h:
5468         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5469         isTeXClassAvailable()
5470
5471 2003-05-03  John Levon  <levon@movementarian.org>
5472
5473         * BufferView.h:
5474         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5475         explicit cursor show/hide
5476
5477         * BufferView_pimpl.h:
5478         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5479         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5480
5481         * lyxfunc.C: hide cursor before dispatching.
5482
5483         * lyx_cb.C:
5484         * lyxfind.C:
5485         * text.C:
5486         * text3.C: remove explicit cursor hides
5487
5488 2003-05-02  André Pönitz  <poenitz@gmx.net>
5489
5490         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5491
5492         * undo_funcs.C:
5493         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5494           linked lists
5495
5496         * text2.C: tiny whitespace
5497
5498 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * undo_funcs.C: almost only ws changes.
5501
5502         * ParagraphList.C (splice): just return if pl is empty.
5503
5504 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * ParagraphList.C (splice): new function.
5507
5508         * CutAndPaste.C (pasteSelection): use it
5509
5510 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * CutAndPaste.C (pasteSelection): remove the last next and
5513         previous from this file.
5514
5515 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * CutAndPaste.C (pasteSelection): more clean up, user proper
5518         ParagraphList functions for pasteing.
5519
5520         * ParagraphList.C (insert): new function, three arg insert
5521
5522 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * ParagraphList.C (insert): new function, three arg insert
5525
5526         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5527         not on paragraphs.
5528
5529 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5532
5533 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5536
5537 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5540         (copySelection): clean up a bit.
5541         (pasteSelection): use make_pair
5542
5543         * ParagraphList.C (ParagraphList): implement copy constructor
5544         (operator=): implement, base on copy constructor.
5545         (assign): new func
5546
5547         * paragraph.C (erase): return a bool
5548
5549         * paragraph_pimpl.C (erasePos): remove function, move contents...
5550         (erase): ... here. Return a bool.
5551         (erase): call erase instead of erasePos.
5552
5553 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * ParagraphList.h: define PitPosPair
5556         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5557         ParagraphList, fix a bug on pasting multiple pars
5558         * text2.C: change interface to C&P
5559
5560 2003-04-30  André Pönitz  <poenitz@gmx.net>
5561
5562         * undo_func.C: revert part of yesterday's patch 2
5563
5564 2003-04-30  John Levon  <levon@movementarian.org>
5565
5566         * LColor.C: s/tabular/table/
5567
5568 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * text3.C (dispatch): do not convert iterator -> pointer
5571         * undo_funcs.C (setCursorParUndo): ditto
5572         * text_funcs.C (transposeChars): ditto
5573
5574         * text2.C (setLayout): ws changes only
5575
5576         * text.C (breakParagraph): do not convert iterator -> pointer
5577         (insertChar): ditto
5578         (acceptChange): ditto
5579         (rejectChange): ditto
5580         (changeCase): ditto
5581         (Delete): ditto
5582         (backspace): ditto
5583
5584         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5585         pointer
5586
5587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5588
5589         * text3.C (gotoInset): YABG (yet another bad getChar)
5590
5591 2003-04-29  André Pönitz  <poenitz@gmx.net>
5592
5593         * paragraph.h: make operator= private unimplemented as long as
5594           it is unusable
5595
5596         * ParagraphList.C: whitespace
5597
5598         * paragraph.[Ch]:
5599         * paragraph_pimpl.[Ch]:
5600         * paragraph_funcs.C:
5601         * CutAndPaste.C:
5602         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5603
5604         * text2.C:
5605           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5606
5607 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5610         * paragraph.[Ch] (erase):
5611         * paragraph_pimpl.[Ch] (erase): change return type and value
5612         * text2.C (cutSelection): some rework
5613
5614 2003-04-28  John Levon  <levon@movementarian.org>
5615
5616         * bufferlist.C: changes for unsaved changes dialog
5617
5618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * bufferlist.C (newFile): set language (messages_) for new
5621         documents also.
5622
5623         * buffer.C (readFile): ws changes only.
5624
5625 2003-04-28  André Pönitz  <poenitz@gmx.net>
5626
5627         * undo_funcs.C:
5628         * lyxfunc.C:
5629         * buffer.[Ch]:
5630         * BufferView_pimpl.C:
5631         * BufferView.C: getParFromID related ParagraphList::iterator changes
5632
5633 2003-04-28  André Pönitz  <poenitz@gmx.net>
5634
5635         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5636           Changes
5637
5638 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * messages.C: remove one more localedir class variable.
5641
5642 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * messages.C (getLocaleDir): singleton generation function
5645         (Pimpl): use it.
5646         (Messages): add a default constructor.
5647
5648         * main.C (main): do not setup localedir here, do not call
5649         gettext_init.
5650
5651         * gettext.C (_): use it.
5652         (gettext_init): delete funciton
5653
5654 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * gettext.C (getLyXMessages): new singleton generating function.
5657
5658         * buffer.C (updateDocLang): adjust
5659
5660         * Makefile.am (messages.o): add target
5661         (main.o): remove target
5662
5663 2003-04-27  John Levon  <levon@movementarian.org>
5664
5665         * bufferlist.C:
5666         * lyx_cb.C:
5667         * lyxfunc.C:
5668         * lyxvc.C: specify cancel button in Alert::prompt
5669
5670 2003-04-26  John Levon  <levon@movementarian.org>
5671
5672         * text3.C:
5673         * lyxfunc.C:
5674         * lfuns.h:
5675         * LyXAction.C: add LFUN_INSET_SETTINGS
5676
5677         * lyxfunc.C: don't enable tabular-feature when there's
5678         just any locking inset
5679
5680 2003-04-26  John Levon  <levon@movementarian.org>
5681
5682         * bufferlist.C: re-add Cancel to buffer close question
5683
5684         * lyxfunc.C: fix import UI a bit
5685
5686 2003-04-25  John Levon  <levon@movementarian.org>
5687
5688         * gettext.C: remove the broken asserts for now
5689
5690 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * messages.C: make case where setlocale cannot comply work better.
5693
5694         * buffer.C (updateDocLang): new function
5695         (changeLanguage): use it
5696         (readFile): use it
5697
5698         * text2.C (setCounter): use B_ a bit.
5699
5700         * lyxlayout.C (Read): be sure to trim the label strings.
5701
5702         * messages.C (Messages): fix typo in comment
5703
5704         * buffer.C (readFile): set message_ after file is loaded.
5705         (makeDocBookFile): remove double return
5706         (changeLanguage): reset message_ upon language change.
5707         (B_): new func, use this to get translated buffer strings.
5708
5709         * main.C: add myself and Jean Marc as authors.
5710
5711 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * messages.[hC]: pimplify Messages, and three different pimpls to be
5714         used in different circumstances.
5715
5716         * gettext.[Ch]: change for use with new message code.
5717
5718 2003-04-24 André Pönitz <poenitz@gmx.net>
5719
5720         * factory.C: support for eqref
5721
5722 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * messages.[Ch]: add missing char
5725
5726         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5727
5728         * messages.[Ch]: New files
5729
5730 2003-04-18  John Levon  <levon@movementarian.org>
5731
5732         * BufferView.h:
5733         * BufferView.C:
5734         * BufferView_pimpl.C:
5735         * lfuns.h:
5736         * LyXAction.C:
5737         * lyxtext.h:
5738         * text2.C: remove layout-copy/paste (bug 778)
5739
5740 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5743
5744 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5747         if they succeed. Act accordingly.
5748
5749 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * text2.C (setCharFont): adjust
5752         (setCounter): adjust
5753         (insertStringAsLines): adjust
5754
5755         * text.C (leftMargin): adjust
5756         (setHeightOfRow): adjust
5757
5758         * rowpainter.C (paintFirst): adjust
5759         (paintLast): adjust
5760
5761         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5762         (outerHook): ditto
5763         (isFirstInSequence): ditto
5764         (getEndLabel): ditto
5765         (outerFont): adjust
5766
5767         * paragraph.C (getParLanguage): comment out some hard stuff.
5768
5769         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5770         (sgmlError): ditto
5771         (simpleDocBookOnePar): ditto
5772         (makeDocBookFile): use ParagraphList::iterator
5773
5774         * CutAndPaste.C (pasteSelection): adjust
5775
5776 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * text2.C (getFont): adjust
5779         (getLayoutFont): adjust
5780         (getLabelFont): adjust
5781
5782         * paragraph_funcs.C (TeXOnePar): adjust
5783
5784         * buffer.C (simpleLinuxDocOnePar): adjust
5785         (simpleDocBookOnePar): adjust
5786
5787         * CutAndPaste.C (pasteSelection): adjust
5788
5789         * BufferView.C (getEncoding): adjust
5790
5791         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5792
5793 2003-04-16  John Levon  <levon@movementarian.org>
5794
5795         * lyxfind.C: use parlist stuff for search/changes
5796
5797 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5800
5801         * text2.C (deleteEmptyParagraphMechanism): adjust
5802
5803         * text2.[Ch] (ownerParagraph): delete func (both of them
5804
5805 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5808
5809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * ParagraphList.C: prepare for NO_NEXT
5812
5813 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * text2.C (getFont): adjust
5816         (getLayoutFont): adjust
5817         (getLabelFont): adjust
5818
5819         * paragraph.C (getFont): adjust
5820         (getLabelFont): adjust
5821         (getLayoutFont): adjust
5822
5823         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5824
5825 2003-04-15  John Levon  <levon@movementarian.org>
5826
5827         From Angus Leeming
5828
5829         * lyx_main.C: handle Include in .ui files
5830
5831 2003-04-15  John Levon  <levon@movementarian.org>
5832
5833         * MenuBackend.C: make the doc files length shorter
5834
5835         * ToolbarBackend.h:
5836         * ToolbarBackend.C: handle toolbar placement flags,
5837         Minibuffer
5838
5839 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5842         adjust
5843
5844         * paragraph_funcs.C (TeXOnePar): adjust
5845
5846         * paragraph.C (getLabelFont): add outerfont arg, adjust
5847         (getLayoutFont): ditto
5848         (simpleTeXOnePar): adjust
5849
5850         * paragraph_pimpl.C (realizeFont): delete func
5851
5852 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5853
5854         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5855         row argument, constify cur argument.
5856
5857 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * text2.C (getFont): adjust
5860         (getLayoutFont): adjust
5861         (getLabelFont): adjust
5862
5863         * paragraph_funcs.C (TeXOnePar): adjust
5864         (outerFont): new func...
5865         (realizeFont): ...moved out from here, changed this to facilitate
5866         transition
5867
5868         * paragraph.C (getFont): take outerfont as arg, adjust
5869         (simpleTeXOnePar): add outerfont arg, adjust
5870
5871         * buffer.C (simpleLinuxDocOnePar): adjust
5872         (simpleDocBookOnePar): adjust
5873
5874         * CutAndPaste.C (pasteSelection): adjust
5875
5876         * BufferView.C (getEncoding): adjust
5877
5878 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * text2.C (setCharFont): adjust
5881         (setCounter): adjust
5882
5883         * text.C (leftMargin): adjust
5884         (setHeightOfRow): adjust
5885
5886         * rowpainter.C (paintFirst): adjust
5887         (paintLast): adjust
5888
5889         * paragraph_pimpl.C (realizeFont): adjust
5890
5891         * paragraph.C (isFirstInSequence): move from here...
5892         * paragraph_funcs.C (isFirstInSequence): ...to here
5893
5894         * paragraph.C (outerHook): move from here...
5895         * paragraph_funcs.C (outerHook): ...to here
5896
5897         * paragraph.C (depthHook): move from here...
5898         * paragraph_funcs.C (depthHook): ...to here
5899
5900         * paragraph.C (getEndLabel): move from here...
5901         * paragraph_funcs.C (getEndLabel): ...to here
5902
5903         * text2.C (realizeFont): move from here...
5904         * paragraph_funcs.C (realizeFont): ...to here
5905
5906 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5909
5910 2003-04-14  Angus Leeming  <leeming@lyx.org>
5911
5912         * LColor.[Ch]: scrap LColor mathcursor.
5913
5914 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * lyxlex.[Ch] (text): delete function
5917         * trans.C (Load): adjust
5918         * paragraph_funcs.C (readParToken): adjust
5919
5920 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5923         vector<char> instead of a char[].
5924
5925         * lyxlex_pimpl.C (getString): adjust
5926         (next): adjust
5927         (lex): use getString
5928         (eatLine): adjust
5929         (nextToken): adjust
5930
5931         * lyxlex.C (text): use pimpl_->getString()
5932         (getBool): ditto
5933         (findToken): ditto
5934
5935 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5938         (makeFontEntriesLayoutSpecific): temp var for par.size()
5939         (setLayout): temp var for ownerParagraphs().end()
5940         (fullRebreak): temp var for rows().end()
5941         (selectionAsString): temp var for boost::next(startpit), realize
5942         that the while really is a regular for loop.
5943         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5944         setCursor in one place.
5945         (setParagraph): temp vr for ownerParagraphs().end()
5946         (updateCounters): make the while loop a for loop
5947         (cutSelection): temp var for ownerParagraphs().end()
5948         (updateInset): make the do {} while() a regular for loop
5949         (getCursorX): use temp vars
5950         (setCurrentFont): use temp vars
5951         (getColumnNearX): use temp vars
5952
5953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * text.C (transformChar): use temp var for getChar
5956         (computeBidiTables): use temp var for row->par()
5957         (fill): move temp vars for row->par() and pit->layout() earlier in
5958         the function.
5959         (labelFill): use temp var for row->par()
5960         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5961         asc and desc, realize that pit never changes and that firstpit is
5962         just a duplicate and not needed. Exchange rit->par() with pit in a
5963         lot of places.
5964         (breakAgain): use a temp var for boost::next(rit)
5965         (breakAgainOneRow): ditto
5966         (breakParagraph): use a temp var for rows().begin()
5967         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5968         (cursorRightOneWord): use temp var for cursor.par() and
5969         cursor.pos(), remove usage of tmpcursor.
5970         (cursorLeftOneWord): use temp var for cursor.par() and
5971         cursor.pos() only set cur at end of function.
5972
5973 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text.C, text2.C: exchange all usage of Paragraph::next with
5976         boost::next(ParagraphList::iterator)
5977
5978         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5979
5980         * text2.C (cursorTop): simplify implementation
5981         (cursorBottom): ditto
5982         (setParagraph): use ParagraphList::iterator
5983         (setCurrentFont): adjust
5984         (getColumnNearX): adjust
5985         (cursorRight): adjust
5986         (cursorLeft): remove usage of Paragraph::previous
5987         (cursorUpParagraph): ditto
5988         (deleteEmptyParagraphMechanism): slight cleanup
5989
5990         * text.C (isBoundary): take a Paragraph const & instead of a
5991         pointer as arg.
5992         (addressBreakPoint): ditto
5993         (leftMargin): remove usage of Paragraph::previous.
5994         (setHeightOfRow): ditto
5995         (cursorLeftOneWord): ditto
5996         (selectNextWordToSpellcheck): ditto
5997         (Delete): ditto
5998         (backspace): ditto
5999         (breakParagraph): remove one usage of Paragraph::next
6000         (redoParagraph): ditto
6001         (acceptChange): ditto
6002         (insertChar): adjust
6003         (rowBreakPoint): adjust
6004
6005         * bufferview_funcs.C (toggleAndShow): adjust
6006
6007 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6008
6009         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6010         methods to access it.
6011         * lyxtext.h:
6012         * text.C: Added updateRowPositions to compute all row positions.
6013         Make top_y and getRowNearY() to use the cached y position
6014
6015 2003-04-11  John Levon  <levon@movementarian.org>
6016
6017         * text.C (rowBreakPoint): reintroduce the labelEnd
6018         checks, code copied from the row fill stuff. Deep voodoo.
6019
6020         * text.C (fill): add a comment and debugging for the
6021         next poor soul.
6022
6023 2003-04-11  John Levon  <levon@movementarian.org>
6024
6025         * text.C: make sure fullrow insets get wrapped to the next line,
6026         even when they're in a manual label
6027
6028 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * text2.C (insertParagraph): make it take ParagraphList::iterator
6031         as arg.
6032         (setLayout): make it return ParagraphList::iterator
6033         (redoParagraphs): ditto
6034         (setCounter): ditto
6035         (checkParagraph): ditto
6036
6037         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6038
6039         * text2.C: adjust several funcs.
6040         (realizeFont): take a ParagraphList::iterator as arg.
6041         (getLayoutFont): ditto
6042         (getLabelFont): ditto
6043         (setCharFont): ditto
6044
6045         * text.C: adjust several funcs.
6046
6047 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * text.C (selectNextWordToSpellcheck): don't accidentally
6050         skip insets
6051
6052 2003-04-10  John Levon  <levon@movementarian.org>
6053
6054         * ToolbarBackend.C (getIcon): special handling for
6055         LFUN_MATH_DELIM
6056
6057 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * text2.C (cursorRight): a getChar assert fixed
6060
6061 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * text2.C (getFont): change to take a ParagraphList::iterator
6064         instead of Paragraph*
6065         Adjust several functions.
6066
6067         * text.C (transformChar): change to take a ParagraphList::iterator
6068         instead of Paragraph*
6069         (singleWidth): ditto
6070         Adjust several functions.
6071
6072         * rowpainter.C: adjust several functions
6073         * rowpainter.h:store a ParagraphList::iterator and not a
6074         Paragraph&.
6075
6076
6077 2003-04-09  John Levon  <levon@movementarian.org>
6078
6079         * lyxfunc.C:
6080         * lfuns.h:
6081         * LyXAction.h:
6082         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6083         and the "help" bits as well
6084
6085 2003-04-09  John Levon  <levon@movementarian.org>
6086
6087         * ToolbarBackend.h:
6088         * ToolbarBackend.C: allow multiple toolbars
6089
6090 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * undo_funcs.C (setCursorParUndo): adjust
6093
6094         * text_funcs.C (transposeChars): adjust
6095
6096         * text3.C (gotoNextInset): adjust
6097         (dispatch): adjust
6098
6099         * text2.C (setLayout): adjust
6100         (changeDepth): adjust
6101         (setFont): adjust
6102         (redoParagraphs): adjust
6103         (selectionAsString): adjust
6104         (setParagraph): adjust
6105         (insertInset): adjust
6106         (cutSelection): adjust
6107         (copySelection): adjust
6108         (pasteSelection): adjust
6109         (insertStringAsLines): adjust
6110         (updateInset): adjust
6111         (setCursor): change to take a ParagraphList::iterator parameter
6112         (setCursorIntern): change to take a ParagraphList::iterator parameter
6113         (setCurrentFont): adjust
6114         (cursorLeft): adjust
6115         (cursorRight): adjust
6116         (deleteEmptyParagraphMechanism): adjust
6117
6118         * text.C (breakParagraph): adjust
6119         (insertChar): adjust
6120         (acceptChange): adjust
6121         (rejectChange): adjust
6122         (selectNextWordToSpellcheck): adjust
6123         (changeCase): adjust
6124         (Delete): adjust
6125         (backspace): adjust
6126
6127         * lyxfind.C (SearchForward): adjust
6128         (SearchBackward): adjust
6129         (nextChange): adjust
6130
6131         * lyxcursor.C (par): adjust
6132
6133         * lyxcursor.h: store a ParagraphList::iterator instead of a
6134         Paragraph*
6135
6136         * lyx_cb.C (getPossibleLabel): adjust
6137
6138         * bufferview_funcs.C (toggleAndShow): adjust
6139
6140         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6141         (dispatch): adjust
6142
6143         * BufferView.C (removeAutoInsets): adjust
6144         (lockedInsetStoreUndo): adjust
6145
6146 2003-04-09  John Levon  <levon@movementarian.org>
6147
6148         * ToolbarBackend.C: try icon without argument
6149         if with argument fails
6150
6151 2003-04-08  John Levon  <levon@movementarian.org>
6152
6153         * ToolbarBackend.h:
6154         * ToolbarBackend.C: add getIcon(), handle tooltip,
6155         and change from "Icon" to "Item".
6156
6157 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6158
6159         * BufferView.C (lockInset): another bad getchar crunched
6160
6161 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6162
6163         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6164         again)
6165
6166 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6167
6168         * lyxfind.C (searchForward, searchBackwards): bug 782
6169
6170 2003-04-07  John Levon  <levon@movementarian.org>
6171
6172         * paragraph.C: remove dead comment
6173
6174         * text.C: remove troublesome depth-fiddling code
6175         in leftMargin() and rightMargin() (bug 1017)
6176
6177         * text.C: fix breaking of rows in nested lists
6178         (bug 1004)
6179
6180         * text2.C (updateCounters): fix up depth values
6181         (bug 1013)
6182
6183 2003-04-07  John Levon  <levon@movementarian.org>
6184
6185         * BufferView_pimpl.C: clear message when doc finishes resizing,
6186         and after a mouse event
6187
6188         * lyxfunc.C: clear message after exiting inset
6189
6190 2003-04-07  John Levon  <levon@movementarian.org>
6191
6192         * bufferview_funcs.C: show math status not outside
6193         status in the statusbar
6194
6195 2003-04-07  John Levon  <levon@movementarian.org>
6196
6197         * lyxfunc.C: note status changed after a depth change
6198
6199 2003-04-04  Angus Leeming  <leeming@lyx.org>
6200
6201         * LaTeX.h: move AuxInfo operator==, != out of line.
6202         Remove LaTeX virtual destructor; nothing derives from it.
6203         Move operator()() out of public area and rename it startscript().
6204         Change protected for private.
6205
6206 2003-04-04  Angus Leeming  <leeming@lyx.org>
6207
6208         * lyxfunc.C:
6209         * text2.C: remove unneeded #includes.
6210
6211 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * text2.C (dEPM): fix the heigth of the next row
6214
6215 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * text.C: squashed an invalid getChar requester + some ws changes
6218
6219 2003-04-03  John Levon  <levon@movementarian.org>
6220
6221         * bufferview_funcs.h:
6222         * bufferview_funcs.C:
6223         * lyxfunc.C:
6224         * lyxtext.h:
6225         * text2.C: make getStatus work for the env depth lfuns
6226
6227 2003-04-03  John Levon  <levon@movementarian.org>
6228
6229         * bufferview_funcs.h:
6230         * bufferview_funcs.C:
6231         * lyxfunc.C:
6232         * lyxtext.h:
6233         * text2.C: parlistize decDepth(), by merging it with incDepth()
6234
6235 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * lyxrow.h: store a ParagraphList::iterator instead of a
6238         Paragraph* and adjust other class functions to suit.
6239
6240         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6241         above.
6242
6243 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * text2.C (setCursor): do not anchor to cursor row for the time being
6246
6247 2003-04-02  John Levon  <levon@movementarian.org>
6248
6249         * LyXAction.C:
6250         * lfuns.h:
6251         * lyx_main.C:
6252         * lyxtext.h:
6253         * text.C:
6254         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6255
6256 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * paragraph.h: make ParagraphList and ParagraphList::iterator
6259         friends of Paragraph.
6260
6261         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6262
6263         * ParagraphList.C: Use the private next_ and previous_ from
6264         Paragraph.
6265
6266 2003-04-01  John Levon  <levon@movementarian.org>
6267
6268         * ToolbarBackend.h:
6269         * ToolbarBackend.C:
6270         * Makefile.am: rename, remove defaults gunk
6271
6272         * MenuBackend.h:
6273         * MenuBackend.C: remove defaults gunk
6274
6275         * Languages.h:
6276         * Languages.C: remove defaults gunk
6277
6278         * lyx_main.h:
6279         * lyx_main.C: error out if files couldn't be found.
6280
6281 2003-04-02  John Levon  <levon@movementarian.org>
6282
6283         * text2.C: make incDepth() use parlist
6284
6285 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * undo_funcs.C (firstUndoParagraph): adjust
6288
6289         * text3.C (gotoInset): adjust
6290         (dispatch): adjust, and rewrite loop.
6291
6292         * text2.C (init): adjust, and rewrite loop.
6293         (redoParagraphs): adjust
6294         (updateInset): adjust, and rewrite loop.
6295         (deleteEmptyParagraphMechanism): adjust
6296
6297         * tabular.C (LyXTabular): adjust
6298         (SetMultiColumn): adjust
6299         (TeXRow): adjust
6300
6301         * lyxtext.[Ch] (ownerParagraph): delete function
6302         (ownerParagraphs): new function returns a ParagraphList.
6303
6304         * BufferView.C (removeAutoInsets): adjust
6305         (insertErrors): adjust
6306         (setCursorFromRow): adjust
6307
6308 2003-04-01  Angus Leeming  <leeming@lyx.org>
6309
6310         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6311         in the frontends.
6312
6313 2003-04-02  John Levon  <levon@movementarian.org>
6314
6315         * lyxtext.h:
6316         * text.C:
6317         * Makefile.am:
6318         * text_funcs.h:
6319         * text_funcs.C: make transposeChars a free function
6320
6321         * lyxrow_funcs.C: remove wrong comment
6322
6323 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * lyxtext.h: adjust
6326         * rowpainter.C: adjust
6327         * text.C: adjust
6328         * text2.C: adjust
6329         * text3.C: adjust
6330
6331         * lyxrow_funcs. [Ch]: new files
6332
6333         * lyxrow.[Ch]: remove next and previous pointers
6334         (next,previous): remove accessor functions
6335         (isParEnd): move to lyxrow_funcs
6336         (lastPos): move to lyxrow_funcs
6337         (nextRowIsAllInset): move to lyxrow_funcs
6338         (lastPrintablePos): move to lyxrow_funcs
6339         (numberOfSeparators): move to lyxrow_funcs
6340         (numberOfHfills): move to lyxrow_funcs
6341         (numberOfLabelHfills): move to lyxrow_funcs
6342         (hfillExpansion): move to lyxrow_funcs
6343
6344         * lyxfunc.C: adjust
6345
6346         * bufferview_funcs.C (toggleAndShow): adjust
6347
6348         * RowList.h: Remove class RowList from file leave just a
6349         std::list<Row>.
6350
6351         * RowList.C: delete file
6352
6353         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6354         and lyxrow_funcs.h
6355
6356 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * text3.C (cursorPrevious): adjust
6359         (cursorNext): adjust
6360         (dispatch): adjust
6361
6362         * text2.C (redoHeightOfParagraph): adjust
6363         (redoDrawingOfParagraph): adjust
6364         (setCursor): adjust
6365
6366         * text.C (breakParagraph): adjust
6367         (insertChar): adjust
6368         (backspace): adjust
6369
6370         * rowpainter.C (RowPainter): adjust
6371         (leftMargin): simplify and adjust
6372         (most rowpainter functions): adjust.
6373
6374         * rowpainter.h: store the row as RowList::iterator not as Row*
6375
6376         * lyxcursor.C (row): taka RowList::iterator as arg
6377         (irow): ditto
6378
6379         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6380         of Row*.
6381
6382 2003-04-01  Angus Leeming  <leeming@lyx.org>
6383
6384         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6385         stuff like bool Bool.
6386
6387 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6390         rewrite a loop
6391
6392 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6395         RowList::iterator.
6396
6397         * lyxtext.h (rows): drop one version and leve a const variant that
6398         returns a RowList::iterator.
6399
6400 2003-03-31  Angus Leeming  <leeming@lyx.org>
6401
6402         * text.C (fill): ensure that the signature is the same as that in the
6403         header file.
6404
6405 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * text2.C (redoParagraphs): adjust
6408         (updateCounters): adjust
6409         (checkParagraph): adjust
6410         (getColumnNearX): adjust and reformat a bit.
6411
6412         * text.C (top_y): adjust
6413         (workWidth): adjust
6414         (leftMargin): adjust
6415         (prepareToPrint): adjust
6416         (getRow): adjust
6417         (getRowNearY): adjust
6418
6419         * lyxtext.h: make rowlist_ mutable.
6420
6421         * RowList.h: add const_iterator
6422         * RowList.C: adjust for RowList::const_iterator.
6423
6424         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6425         adjust.
6426
6427 2003-03-31  John Levon  <levon@movementarian.org>
6428
6429         * lyxrc.h:
6430         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6431
6432         * lyx_main.C: set default fonts from using lyx_gui funcs
6433
6434         * exporter.C: pdf_mode moved from lyxrc
6435
6436         * lyx_cb.C:
6437         * lyxfunc.C: changes from above
6438
6439 2003-03-31  John Levon  <levon@movementarian.org>
6440
6441         * lyx_main.C: fix to the last fix
6442
6443 2003-03-31  John Levon  <levon@movementarian.org>
6444
6445         * bufferlist.C: "Load original" -> "Load Original"
6446
6447         * converter.C:
6448         * exporter.C:
6449         * importer.C:
6450         * lyx_main.C:
6451         * format.C: more Alert cleanups
6452
6453 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * text2.C (removeParagraph): make it take a RowList::iterator as
6456         arg, adjust.
6457         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6458         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6459
6460         * text.C (anchor_row): make it take a RowList::iterator as arg,
6461         adjust.
6462         (computeBidiTables): make it take a const reference to Row instead
6463         of Row pointer, adjust.
6464         (leftMargin): make it take a RowList::iterator as arg, adjust.
6465         (rowBreakPoint): adjust
6466         (breakAgainOneRow): make it take a RowList::iterator as arg,
6467         adjust.
6468         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6469
6470         * bufferview_funcs.C (toggleAndShow): adjust
6471
6472 2003-03-30  John Levon  <levon@movementarian.org>
6473
6474         * Makefile.am:
6475         * BoostFormat.h:
6476         * boost-inst.C: moved to support
6477
6478         * several files: changes as a result
6479
6480 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * text2.C (LyXText): adjust.
6483         (init): adjust
6484         (removeRow): make it take a RowList::iterator as arg, adjust.
6485         (fullRebreak): adjust
6486         (deleteEmptyParagraphMechanism): adjust
6487         (clearPaint): adjust
6488         (postPaint): adjust
6489
6490         * text.C (top_y): adjust
6491         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6492         (breakAgain): make it take a RowList::iterator as arg, adjust.
6493         (breakParagraph): adjust
6494         (insertChar): adjust
6495         (backspace): adjust
6496
6497         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6498         need_break_row, and refresh_row.
6499
6500         * text3.C (dispatch): adjust
6501
6502         * text2.C (checkParagraph): adjust
6503         (setCursor): adjust
6504         (setCursorFromCoordinates): adjust
6505
6506         * text.C (top_y): adjust
6507         (workWidth): adjust
6508         (getRow): make it return a RowList::iterator, adjust
6509         (getRowNearY): make it return a RowList::iterator, adjust
6510
6511         * text2.C (init): adjust
6512         (insertRow): remove function
6513         (insertParagraph): adjust
6514         (redoParagraphs): adjust
6515         (fullRebreak): adjust
6516         (updateCounters): adjust
6517
6518         * text.C (top_y): rewrite to use RowList iterators.
6519         (top_y): adjust
6520         (setHeightOfRow): rewrite to sue RowList iterators.
6521         (appendParagraph): adjust
6522         (breakAgain): adjust
6523         (breakAgainOneRow): adjust
6524         (breakParagraph): adjust
6525         (getRow): adjust
6526         (getRowNearY): adjust, and remove commented code.
6527
6528         * lyxtext.h (firstRow): delete function
6529         (lastRow): delete function
6530         (rows): new function (const and non-const versions.)
6531         (insertRow): delete function
6532
6533         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6534
6535 2003-03-29  John Levon  <levon@movementarian.org>
6536
6537         * BufferView_pimpl.C: always update scrollbar top
6538         because pasting text when we're anchored could mean we
6539         miss an update altogether
6540
6541 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * text2.C (init): use rowlist_.end() and not 0.
6544         (insertRow): change to take a RowList::iterator as arg, adjust
6545         for this.
6546         (insertParagraph): change to take a RowList::iterator as arg,
6547         adjust for this.
6548         (redoParagraphs): remove some debug msgs.
6549
6550         * text.C (appendParagraph): change to take a RowList::iterator
6551         arg, adjust for this.
6552         (breakAgain): add an assert
6553         (breakAgainOneRow): ditto
6554
6555 2003-03-29  John Levon  <levon@movementarian.org>
6556
6557         * text2.C: do not clear selection after inc/decDepth
6558         (bug 550)
6559
6560 2003-03-29  John Levon  <levon@movementarian.org>
6561
6562         * BufferView.C:
6563         * buffer.C: fix broken strerrors according to Lars
6564
6565 2003-03-29  John Levon  <levon@movementarian.org>
6566
6567         * converters.C: more Alert cleanups
6568
6569 2003-03-29  John Levon  <levon@movementarian.org>
6570
6571         * bufferview_funcs.C: remove pointless Alert
6572
6573         * buffer.C: fix confusing error message when
6574         a template is chmoded 000
6575
6576 2003-03-29  John Levon  <levon@movementarian.org>
6577
6578         * BufferView.C:
6579         * BufferView.h:
6580         * BufferView_pimpl.C: Alert fixes
6581
6582         * Makefile.am:
6583         * tabular.C:
6584         * tabular-old.C: remove unused table compat reading
6585
6586 2003-03-29  John Levon  <levon@movementarian.org>
6587
6588         * BufferView.C:
6589         * buffer.C:
6590         * lyx_cb.h:
6591         * lyx_cb.C: more Alert cleanups
6592
6593         * lyxfunc.C: don't allow chktex if not latex document
6594
6595 2003-03-29  John Levon  <levon@movementarian.org>
6596
6597         * lyx_cb.C:
6598         * BufferView.C:
6599         * buffer.C: warnings pushed down from support/,
6600         kill err_alert
6601
6602 2003-03-29  John Levon  <levon@movementarian.org>
6603
6604         * lyxfunc.C: safety check for C-r (revert)
6605
6606 2003-03-29  John Levon  <levon@movementarian.org>
6607
6608         * bufferlist.h:
6609         * bufferlist.C: several UI fixes using Alert::prompt.
6610         Fix the pointless looping quit code. Fix stupid revert
6611         behaviour (bug 938)
6612
6613         * lyxvc.h:
6614         * lyxvc.C:
6615         * lyx_cb.C: use Alert::prompt
6616
6617         * lyx_main.C: remove a silly question
6618
6619         * lyxfunc.C: remove a couple of silly questions,
6620         use Alert::prompt
6621
6622 2003-03-28  John Levon  <levon@movementarian.org>
6623
6624         * text2.C: fix bug 974 (End on empty par)
6625
6626 2003-03-28  John Levon  <levon@movementarian.org>
6627
6628         * BufferView_pimpl.C:
6629         * LyXAction.C:
6630         * lfuns.h: remove do-nothing math greek lfuns
6631
6632 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * lyxgluelength.h (isValidGlueLength): add default arg on
6635         parameter 2. Remove default arg from friend in class.
6636
6637         * lyxlength.h (isValidLength): add default arg on parameter 2.
6638         Remove default arg from friend in class.
6639
6640         * text2.C (LyXText): adjust, initialize refresh_row.
6641         (init): adjust
6642         (removeRow): adjust
6643         (insertRow): adjust
6644         (insertParagraph): adjst
6645         (redoParagraphs): adjust
6646         (fullRebreak): adjust
6647         (updateCounters): adjust
6648         (deleteEmptyParagraphMechanism): first attempt at fixing a
6649         crashing bug.
6650
6651         * text.C (top_y): adjust
6652         (setHeightOfRow): adjust
6653         (getRow): adjust
6654         (getRowNearY): adjust
6655
6656         * lyxtext.h: include RowList.h
6657         (~LyXText): not needed anymore, deleted.
6658         (firstRow): modify for RowList
6659         (lastRow): new function
6660         Delete firstrow and lastrow class variables, add a Rowlist
6661         rowlist_ class variable.
6662
6663         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6664         paragraph is empty.
6665
6666         * RowList.C (insert): fix case where it == begin().
6667
6668 2003-03-26  Angus Leeming  <leeming@lyx.org>
6669
6670         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6671         the thesaurus dialog.
6672
6673 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6676
6677         * RowList.[Ch]: new files
6678
6679         * ParagraphList.C (erase): handle the case where it == begin
6680         correctly.
6681
6682 2003-03-25  John Levon  <levon@movementarian.org>
6683
6684         * Makefile.am:
6685         * aspell_local.h:
6686         * aspell.C: add new aspell support
6687
6688         * lyxrc.h:
6689         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6690         have it accessible.
6691
6692 2003-03-25  Angus Leeming  <leeming@lyx.org>
6693
6694         * lfuns.h:
6695         * LyXAction.C (init): new LFUN_INSET_INSERT.
6696
6697         * BufferView_pimpl.C (dispatch): split out part of the
6698         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6699
6700         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6701         LFUN_INSET_APPLY.
6702
6703 2003-03-25  Angus Leeming  <leeming@lyx.org>
6704
6705         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6706
6707 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6708
6709         * text2.C:
6710         * text3.C: remove useless row->height(0)
6711
6712 2003-03-25  John Levon  <levon@movementarian.org>
6713
6714         * lyxtext.h:
6715         * text2.C:
6716         * text3.C: rename the refreshing stuff to better names
6717
6718 2003-03-24  John Levon  <levon@movementarian.org>
6719
6720         * BufferView_pimpl.h:
6721         * BufferView_pimpl.C: update layout choice on a mouse
6722         press/release
6723
6724 2003-03-23  John Levon  <levon@movementarian.org>
6725
6726         * Makefile.am: fix commandtags.h reference
6727
6728 2003-03-22  John Levon  <levon@movementarian.org>
6729
6730         * BufferView_pimpl.C:
6731         * lyxtext.h:
6732         * rowpainter.C:
6733         * rowpainter.h:
6734         * text.C:
6735         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6736
6737 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * lyxtext.h:
6740         * text.C: take the rtl methods out of line
6741
6742 2003-03-21 André Pönitz <poenitz@gmx.net>
6743
6744         * metricsinfo.[Ch]: new files containing structures to be passed around
6745         during the two-phase-drawing...
6746
6747 2003-03-21 André Pönitz <poenitz@gmx.net>
6748
6749         * lyxtextclass.C: read 'environment' tag.
6750
6751 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * text2.C (removeRow): fix bug 964
6754
6755 2003-03-20  John Levon  <levon@movementarian.org>
6756
6757         * rowpainter.C:
6758         * text.C:
6759         * text2.C: paint cleanups. Inset::update() dropped font
6760         parameter
6761
6762 2003-03-19  John Levon  <levon@movementarian.org>
6763
6764         * lyxfunc.C: only fitcursor/markDirty if available()
6765
6766 2003-03-19  John Levon  <levon@movementarian.org>
6767
6768         * commandtags.h: rename to ...
6769
6770         * lfuns.h: ... this, and renumber / cleanup
6771
6772 2003-03-19  John Levon  <levon@movementarian.org>
6773
6774         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6775         fit the cursor after an lfun
6776
6777         * BufferView.h:
6778         * BufferView.C:
6779         * BufferView_pimpl.h:
6780         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6781
6782         * LyXAction.C: layout-character should have ReadOnly
6783
6784         * ParagraphParameters.C:
6785         * buffer.C:
6786         * bufferview_funcs.C:
6787         * lyx_cb.C:
6788         * lyxfind.C:
6789         * lyxtext.h:
6790         * text.C:
6791         * text2.C:
6792         * text3.C:
6793         * undo_funcs.C: changes from above
6794
6795 2003-03-18  John Levon  <levon@movementarian.org>
6796
6797         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6798         remove it from update()
6799
6800         * lyxfunc.C: update layout choice after an lfun
6801
6802         * text3.C: remove extra updateLayoutChoice()s
6803
6804 2003-03-18  John Levon  <levon@movementarian.org>
6805
6806         * text.C: top_y change means full repaint, fix
6807         a drawing bug with cursor movement
6808
6809 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * lyxtext.h:
6812         * text.C:
6813         * text2.C: anchor row on setCursor
6814
6815 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * lyxtext.h: remove almost all mutable keywords
6818         * text.C:
6819         * text2.C:
6820         * text3.C: remove const keywords accordingly
6821
6822 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6825         anon namespace
6826         (TeXEnvironment): ditto
6827         (TeXOnePar): ditto
6828
6829 2003-03-17  John Levon  <levon@movementarian.org>
6830
6831         * text.C (rowBreakPoint): remove attempt to fix displayed
6832         math insets inside a manual label
6833
6834 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * lyxtext.h: remove BufferView* as first arg from almost all class
6837         functions.
6838         * other files: adjust.
6839
6840 2003-03-17  John Levon  <levon@movementarian.org>
6841
6842         * lyxtext.h:
6843         * undo_funcs.C:
6844         * text2.C: more paint cleanups
6845
6846         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6847
6848         * rowpainter.h:
6849         * rowpainter.C: remove "smart" background painting code
6850
6851 2003-03-16  John Levon  <levon@movementarian.org>
6852
6853         * lyxtext.h:
6854         * text.C:
6855         * text2.C:
6856         * text3.C: add helper functions for setting refresh_row/y
6857
6858 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6859
6860         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6861         newline inset which *can* get inserted in the pass_thru layouts.
6862         This is primarily for literate documents.
6863
6864 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6865
6866         * buffer.C: increment LYX_FORMAT to 223
6867
6868 2003-03-14 André Pönitz <poenitz@gmx.net>
6869
6870         * textclass.h: prepare for environment handling, ws changes
6871         * lyxlayout.C: read latexheader and latexfooter tags
6872
6873 2003-03-14  John Levon  <levon@movementarian.org>
6874
6875         * text2.C: rewrite ::status() a bit
6876
6877 2003-03-13  John Levon  <levon@movementarian.org>
6878
6879         * lyxtext.h: add some docs
6880
6881 2003-03-13  John Levon  <levon@movementarian.org>
6882
6883         * lyxtext.h:
6884         * text.C:
6885         * text2.C:
6886         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6887
6888 2003-03-13  John Levon  <levon@movementarian.org>
6889
6890         * text3.C: fix appendix redrawing
6891
6892 2003-03-13  John Levon  <levon@movementarian.org>
6893
6894         * text.C (setHeightOfRow):
6895         * rowpainter.h:
6896         * rowpainter.C: make appendix mark have the text
6897           "Appendix" so the user knows what it is
6898
6899         * LColor.h:
6900         * LColor.C: s/appendixline/appendix/ from above
6901
6902 2003-03-13  John Levon  <levon@movementarian.org>
6903
6904         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6905
6906         * text.C: fix a getChar(pos) bug properly
6907
6908 2003-03-13  Angus Leeming  <leeming@lyx.org>
6909
6910         * commandtags.h:
6911         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6912         Probably only temporary. Let's see how things pan out.
6913
6914         * BufferView.C (unlockInset):
6915         * BufferView_pimpl.C (fitCursor):
6916         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6917
6918         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6919         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6920
6921         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6922         new functions that convert ParagraphParameters to and from a string.
6923
6924         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6925         BufferView::Pimpl's dispatch.
6926         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6927
6928 2003-03-13 André Pönitz <poenitz@gmx.net>
6929
6930         * lyxfunc.C:
6931         * text3.C:
6932         * factory.C: make it aware of InsetEnv
6933
6934 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * text2.C (setCursor): never ask for one past last
6937         (setCursor): add some debugging messages.
6938
6939         * text.C (singleWidth): never ask for one past last
6940         (singleWidth): ditto
6941         (leftMargin): ditto
6942         (rightMargin): ditto
6943         (rowBreakPoint): ditto
6944         (setHeightOfRow): ditto
6945         (prepareToPrint): ditto
6946
6947         * rowpainter.C (paintBackground): never ask for one past last
6948         (paintText): never ask for one past last
6949
6950         * paragraph_pimpl.C (getChar): make the assert stricter, never
6951         allow the one past last pos to be taken
6952
6953         * paragraph.C (getChar): ws changes only
6954
6955         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6956         (numberOfSeparators): ditto
6957         (numberOfHfills): ditto
6958
6959 2003-03-12  John Levon  <levon@movementarian.org>
6960
6961         * author.h:
6962         * author.C:
6963         * bufferparams.h:
6964         * bufferparams.C:
6965         * paragraph_funcs.C: fix per-buffer authorlists
6966
6967 2003-03-12  John Levon  <levon@movementarian.org>
6968
6969         * text.C: fix newline in right address
6970
6971 2003-03-12  Angus Leeming  <leeming@lyx.org>
6972
6973         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6974         duplicate those in LyXFunc::dispatch.
6975
6976         * commandtags.h:
6977         * LyXAction.C:
6978         * ToolbarDefaults.C:
6979         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6980         Add LFUN_FONTFREE_UPDATE.
6981
6982         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6983         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6984
6985         * bufferview_func.[Ch]: several new functions to facilliate
6986         transfer of data to and from the character dialog.
6987
6988 2003-03-12  John Levon  <levon@movementarian.org>
6989
6990         * buffer.C:
6991         * paragraph.h:
6992         * paragraph.C:
6993         * paragraph_funcs.C:
6994         * paragraph_pimpl.C:
6995         * sgml.C:
6996         * tabular.C:
6997         * text.C:
6998         * text3.C: remove META_NEWLINE in favour of an inset
6999
7000         * rowpainter.h:
7001         * rowpainter.C: remove paintNewline (done by inset)
7002
7003 2003-03-12  John Levon  <levon@movementarian.org>
7004
7005         * paragraph_pimpl.C: complain about bad getChar()s
7006         for a while at least
7007
7008 2003-03-12  John Levon  <levon@movementarian.org>
7009
7010         * buffer.h:
7011         * buffer.C: move paragraph read into a separate function,
7012         a little renaming to reflect that.
7013
7014         * bufferparams.h:
7015         * bufferparams.C: remove the author_ids map, not necessary now
7016
7017         * factory.h:
7018         * factory.C: moved Buffer::readInset to here
7019
7020         * paragraph_funcs.h:
7021         * paragraph_funcs.C: readParagraph free function moved from
7022         buffer.C
7023
7024         * tabular.C: name change
7025
7026 2003-03-12  John Levon  <levon@movementarian.org>
7027
7028         * buffer.C:
7029         * ParagraphParameters.C: move par params input to
7030         a read() method
7031
7032         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7033         behave like a normal read from the stream wrt reading
7034         a line vs. a \\token
7035
7036 2003-03-12  John Levon  <levon@movementarian.org>
7037
7038         * paragraph.C:
7039         * ParagraphParameters.h:
7040         * ParagraphParameters.C: move output code to a
7041         ::write() method
7042
7043 2003-03-12  John Levon  <levon@movementarian.org>
7044
7045         * BufferView.C (insertLyXFile):
7046         * buffer.h:
7047         * buffer.C:
7048         * tabular.C: use a parlist iterator for creating the
7049           document.
7050
7051 2003-03-12  John Levon  <levon@movementarian.org>
7052
7053         * buffer.C: make current_change static local not
7054           static file-scope
7055
7056 2003-03-12  John Levon  <levon@movementarian.org>
7057
7058         * buffer.C: fix insertStringAsLines for change tracking
7059
7060 2003-03-12  John Levon  <levon@movementarian.org>
7061
7062         * BufferView.C:
7063         * tabular.C:
7064         * buffer.h:
7065         * buffer.C:
7066         * bufferparams.h:
7067         * bufferparams.C: move author list into params. Rename some
7068           functions. Move the header reading into a separate token
7069           loop. Move the header token reading into BufferParams.
7070
7071 2003-03-12  John Levon  <levon@movementarian.org>
7072
7073         * changes.C: put debug inside lyxerr.debugging() checks
7074
7075 2003-03-11 André Pönitz <poenitz@gmx.net>
7076
7077         * factory.C: make it aware of InsetHFill
7078
7079 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7080
7081         * buffer.C (latexParagraphs): move function from here...
7082         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7083         args.
7084
7085 2003-03-10  Angus Leeming  <leeming@lyx.org>
7086
7087         * LyXAction.C (init): fix bug in poplating array with multiple entries
7088         with the same LFUN (spotted by JMarc).
7089
7090 2003-03-10  John Levon  <levon@movementarian.org>
7091
7092         * text.C:
7093         * text2.C: move getColumnNearX() near its
7094         only call site
7095
7096 2003-03-10  John Levon  <levon@movementarian.org>
7097
7098         * text.C: fix break before a minipage
7099
7100 2003-03-10  John Levon  <levon@movementarian.org>
7101
7102         * text.C: fix the last commit
7103
7104 2003-03-09  John Levon  <levon@movementarian.org>
7105
7106         * lyxtext.h:
7107         * text.C:
7108         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7109         bug 365 (don't break before insets unless needed). Don't
7110         return a value > last under any circumstances.
7111
7112 2003-03-09  Angus Leeming  <leeming@lyx.org>
7113
7114         * BufferView_pimpl.C (trackChanges, dispatch): call
7115         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7116
7117 2003-03-09  Angus Leeming  <leeming@lyx.org>
7118
7119         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7120         than Dialogs::showAboutlyx().
7121
7122 2003-03-09  Angus Leeming  <leeming@lyx.org>
7123
7124         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7125         than Dialogs::showTabularCreate().
7126
7127 2003-03-09  John Levon  <levon@movementarian.org>
7128
7129         * lyxtext.h:
7130         * text.C:
7131         * text2.C: 3rd arg to nextBreakPoint was always the same.
7132           Use references.
7133
7134 2003-03-08  John Levon  <levon@movementarian.org>
7135
7136         * lyxrow.C:
7137         * paragraph.C:
7138         * paragraph.h:
7139         * rowpainter.C:
7140         * text.C:
7141         * text2.C: Remove the "main" bit from the "main body"
7142           notion.
7143
7144 2003-03-08  John Levon  <levon@movementarian.org>
7145
7146         * text.C (leftMargin): The left margin of an empty
7147         manual label paragraph should not include the label width
7148         string length.
7149
7150         * text.C (prepareToPrint): don't attempt to measure hfills
7151         for empty manual label paragraphs - the answer should be 0
7152
7153 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * CutAndPaste.C: remove commented code and reindent.
7156
7157 2003-03-08  John Levon  <levon@movementarian.org>
7158
7159         * lyxfunc.h:
7160         * lyxfunc.C: move reloadBuffer()
7161
7162         * BufferView.h:
7163         * BufferView.C: to here
7164
7165         * lyxvc.C: add comment
7166
7167         * vc-backend.h:
7168         * vc-backend.C: call bv->reload() to avoid
7169           getStatus() check on MENURELOAD
7170
7171 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7172
7173         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7174         to an old format .dep file.
7175
7176 2003-03-07  Angus Leeming  <leeming@lyx.org>
7177
7178         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7179         when the LFUN_MOUSE_RELEASE should have been handled by
7180         inset->localDispatch.
7181
7182 2003-03-07  Angus Leeming  <leeming@lyx.org>
7183
7184         * BufferView_pimpl.C (dispatch):
7185         * LyXAction.C (init):
7186         * ToolbarDefaults.C (init):
7187         * commandtags.h:
7188         * lyxfunc.C (getStatus):
7189         remove LFUN_INSET_GRAPHICS.
7190
7191         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7192
7193 2003-03-07  Angus Leeming  <leeming@lyx.org>
7194
7195         * commandtags.h:
7196         * LyXAction.C (init):
7197         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7198
7199         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7200
7201         * commandtags.h:
7202         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7203
7204         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7205         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7206
7207 2003-03-07  Angus Leeming  <leeming@lyx.org>
7208
7209         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7210         remove "ert".
7211
7212 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * ParagraphList.C (front): new function
7215         (back): implement
7216
7217 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7218
7219         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7220         and top_row_offset_. removed var first_y.
7221         * text.C (top_y):
7222         * text2.C (LyXText, removeRow):
7223         * text3.C:
7224         * BufferView_pimpl.C:
7225         use these methods instead of using first_y
7226
7227 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * text2.C (pasteSelection): adjust for checkPastePossible
7230
7231         * CutAndPaste.C: remove Paragraph * buf and replace with
7232         ParagraphList paragraphs.
7233         (DeleteBuffer): delete
7234         (cutSelection): change the tc type to textclass_type
7235         (copySelection): change the tc type to textclass_type
7236         (copySelection): adjust for ParagraphList
7237         (pasteSelection): change the tc type to textclass_type
7238         (pasteSelection): adjust for Paragraphlist
7239         (nrOfParagraphs): simplify for ParagraphList
7240         (checkPastePossible): simplify for ParagraphList
7241         (checkPastePossible): remove unused arg
7242
7243         * ParagraphList.C (insert): handle the case where there are no
7244         paragraphs yet.
7245
7246         * CutAndPaste.h: make CutAndPaste a namespace.
7247
7248         * text3.C (dispatch): adjust
7249
7250         * text.C (breakParagraph): add a ParagraphList as arg
7251
7252         * paragraph_funcs.C (breakParagraph): change to take a
7253         BufferParams and a ParagraphList as args.
7254         (breakParagraphConservative): ditto
7255         (mergeParagraph): ditto
7256         (TeXDeeper): add a ParagraphList arg
7257         (TeXEnvironment): ditto
7258         (TeXOnePar): ditto
7259
7260         * buffer.C (readLyXformat2): adjust
7261         (insertStringAsLines): adjust
7262         (latexParagraphs): adjust
7263
7264         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7265         (cutSelection): adjust
7266         (pasteSelection): adjust
7267
7268         * BufferView_pimpl.C (insertInset): adjust
7269
7270 2003-03-05  Angus Leeming  <leeming@lyx.org>
7271
7272         * commandtags.h:
7273         * LyXAction.C (init):
7274         * BufferView_pimpl.C (dispatch):
7275         * lyxfunc.C (getStatus):
7276         remove LFUN_CHILD_INSERT.
7277
7278         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7279
7280 2003-03-05  Angus Leeming  <leeming@lyx.org>
7281
7282         * commandtags.h:
7283         * LyXAction.C (init):
7284         * src/factory.C (createInset):
7285         * lyxfunc.C (getStatus):
7286         * text3.C (dispatch):
7287         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7288
7289         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7290
7291 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * ParagraphList.C (insert): handle insert right before end()
7294         (erase): fix cases where it can be first or last paragraph.
7295
7296 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7299         Paragraph::next and Paragraph::previous
7300         (TeXOnePar): ditto
7301
7302         * text.C (breakParagraph): adjust
7303
7304         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7305         BufferParams& as arg.
7306         (breakParagraph): use ParagraphList::insert
7307         (breakParagraphConservative): take a Buffer* instead of a
7308         BufferParams& as arg.
7309         (breakParagraphConservative): use ParagraphList::insert.
7310
7311         * buffer.C (insertStringAsLines): un-const it
7312         (insertStringAsLines): adjust
7313
7314         * ParagraphList.C (insert): new function
7315
7316         * CutAndPaste.C (pasteSelection): adjust
7317
7318         * text.C (backspace): adjust
7319
7320         * tabular.C (SetMultiColumn): adjust
7321
7322         * CutAndPaste.C (cutSelection): adjust
7323         (pasteSelection): adjust
7324
7325         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7326         Buffer const * as arg
7327
7328         * ParagraphList.C (erase): new function
7329         * paragraph_funcs.C (mergeParagraph): use it
7330         (mergeParagraph): make it take a Buffer* instead of a
7331         BufferParams* as arg
7332
7333         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7334         as arg
7335         (breakParagraphConservative): ditto
7336
7337         * paragraph.h: remove the breakParagraph friend
7338
7339         * paragraph.C (eraseIntern): new function
7340         (setChange): new function
7341
7342         * paragraph_funcs.C (mergeParagraph): make it take a
7343         ParagraphList::iterator instead of a Paragraph *, adjust
7344         accordingly.
7345
7346         * paragraph.h: move an #endif so that the change tracking stuff
7347         also works in the NO_NEXT case.
7348
7349 2003-03-04  Angus Leeming  <leeming@lyx.org>
7350
7351         * commandtags.h:
7352         * LyXAction.C: new LFUN_INSET_MODIFY.
7353
7354         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7355         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7356
7357 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7358
7359         * several files: ws changes only
7360
7361         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7362         (TeXEnvironment): ditto
7363         (TeXDeeper): ditto
7364
7365         * buffer.C (makeLaTeXFile): adjust
7366         (latexParagraphs): make it take ParagraphList::iterator as args
7367
7368 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * buffer.C (latexParagraphs): adjust
7371
7372         * paragraph.C (TeXOnePar): move function...
7373         (optArgInset): move function...
7374         (TeXEnvironment): move function...
7375         * paragraph_pimpl.C (TeXDeeper): move function...
7376         * paragraph_funcs.C: ...here
7377
7378         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7379
7380 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * buffer.C (readInset): remove compability code for old Figure and
7383         InsetInfo insets
7384
7385 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * buffer.C: ws changes
7388         (readInset):
7389
7390         * BufferView_pimpl.C: ditto
7391         * author.C: ditto
7392         * buffer.h: ditto
7393         * bufferlist.h: ditto
7394         * changes.h: ditto
7395         * lyxfunc.C: ditto
7396
7397 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7398
7399         * converter.[Ch]: split into itself +
7400         * graph.[Ch]
7401         * format.[Ch]
7402         * Makefile.am: += graph.[Ch] + format.[Ch]
7403         * MenuBackend.C
7404         * buffer.C
7405         * exporter.C
7406         * importer.C
7407         * lyx_main.C
7408         * lyxfunc.C
7409         * lyxrc.C: added #include "format.h"
7410
7411 2003-02-27  Angus Leeming  <leeming@lyx.org>
7412
7413         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7414           a label.
7415
7416         * factory.C (createInset): add "label" to the factory.
7417
7418         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7419           string and do no more.
7420
7421 2003-02-27  Angus Leeming  <leeming@lyx.org>
7422
7423         * commandtags.h:
7424         * LyXAction.C (init):
7425         * factory.C (createInset):
7426         * BufferView_pimpl.C (dispatch):
7427           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7428
7429         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7430
7431         * lyxfunc.C (dispatch):
7432         * text3.C (dispatch): pass name to params2string.
7433
7434 2003-02-26  Angus Leeming  <leeming@lyx.org>
7435
7436         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7437           blocks together.
7438           Rearrange the ~includes. Strip out the unnecessary ones.
7439
7440         * factory.C (createInset): reformat.
7441           create new insets for the various LFUN_XYZ_APPLY lfuns.
7442
7443 2003-02-26  John Levon  <levon@movementarian.org>
7444
7445         * lyxrow.h:
7446         * lyxrow.C: add isParStart,isParEnd helpers
7447
7448         * paragraph.h: make isInserted/DeletedText take refs
7449
7450         * paragraph_funcs.h:
7451         * paragraph_funcs.C: remove #if 0'd code
7452
7453         * lyxtext.h:
7454         * text3.C:
7455         * text2.C:
7456         * text.C: use lyxrow helpers above.
7457           Move draw and paint routines to RowPainter.
7458           Make several methods use refs not pointers.
7459           Make backgroundColor() const.
7460           Add markChangeInDraw(), isInInset().
7461           Merge changeRegionCase into changeCase.
7462           Make workWidth() shouldn't-happen code into an Assert.
7463
7464         * rowpainter.h:
7465         * rowpainter.C: new class for painting a row.
7466
7467         * vspace.h:
7468         * vspace.C: make inPixels take a ref
7469
7470 2003-02-26  Angus Leeming  <leeming@lyx.org>
7471
7472         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7473         LFUN_REF_APPLY.
7474
7475 2003-02-25  John Levon  <levon@movementarian.org>
7476
7477         * ispell.C: give the forked command a more accurate name
7478
7479 2003-02-22  John Levon  <levon@movementarian.org>
7480
7481         * toc.h:
7482         * toc.C: make TocItem store an id not a Paragraph *
7483           (bug #913)
7484
7485 2003-02-21  Angus Leeming  <leeming@lyx.org>
7486
7487         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7488           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7489           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7490           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7491           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7492           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7493
7494         * BufferView_pimpl.C (dispatch):
7495         * LyXAction.C (init):
7496         * factory.C (createInset):
7497         * lyxfunc.C (getStatus, dispatch):
7498         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7499
7500 2003-02-21  Angus Leeming  <leeming@lyx.org>
7501
7502         * BufferView_pimpl.C (MenuInsertLyXFile):
7503         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7504         * lyxfunc.C (menuNew, open, doImport):
7505           no longer pass a LyXView & to fileDlg.
7506
7507 2003-02-21  Angus Leeming  <leeming@lyx.org>
7508
7509         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7510         * LyXAction.C: change, BIBKEY to BIBITEM.
7511         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7512         Change InsetBibKey to InsetBibitem.
7513         Change BIBKEY_CODE to BIBITEM_CODE.
7514         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7515         * factory.C: replace insetbib.h with insetbibitem.h.
7516         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7517         * paragraph.C: replace insetbib.h with insetbibitem.h.
7518         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7519         Change bibkey() to bibitem().
7520         * text.C: remove insetbib.h.
7521         * text2.C: replace insetbib.h with insetbibitem.h.
7522         change bibkey() to bibitem().
7523         * text3.C: remove insetbib.h.
7524         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7525
7526 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7527
7528         * lyxrc.C (output): enclose user email in quotes (in case there are
7529         several words)
7530
7531 2003-02-18  John Levon  <levon@movementarian.org>
7532
7533         * buffer.h: add std::
7534
7535 2003-02-17  John Levon  <levon@movementarian.org>
7536
7537         * SpellBase.h:
7538         * ispell.h:
7539         * ispell.C:
7540         * pspell.h:
7541         * pspell.C: reworking. Especially in ispell, a large
7542           number of clean ups and bug fixes.
7543
7544         * lyxfunc.C: fix revert to behave sensibly
7545
7546 2003-02-17 André Pönitz <poenitz@gmx.net>
7547
7548         * LyXAction.C:
7549         * commandtags.h: new LFUN_INSERT_BIBKEY
7550
7551         * layout.h:
7552         * lyxlayout.C:
7553         * buffer.C:
7554         * factory.C:
7555         * text.C:
7556         * text2.C:
7557         * text3.C:
7558         * paragraph.[Ch]:
7559         * paragraph_func.C: remove special bibkey handling
7560
7561 2003-02-17  John Levon  <levon@movementarian.org>
7562
7563         * text.C (Delete): fix case where delete at the end of
7564           the very first paragraph would not merge the pars
7565
7566 2003-02-17  John Levon  <levon@movementarian.org>
7567
7568         * lyxrow.C: fix lastPrintablePos()
7569
7570 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7571
7572         * bufferparams.C (writeLaTeX): add a std:here
7573
7574         * buffer.C: and remove a using directive there
7575
7576 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * buffer.C (makeLaTeXFile): move the code that generates the
7579           preamble...
7580
7581         * bufferparams.C (writeLaTeX): ... in this new method
7582
7583         * LaTeXFeatures.C (getEncodingSet): make const
7584           (getLanguages): make const
7585
7586         * MenuBackend.C (binding): returns the binding associated to this
7587           action
7588           (add): sets the status of each item by calling getStatus. Adds
7589           some intelligence.
7590           (read): add support for OptSubMenu
7591           (expand): remove extra separator at the end of expanded menu
7592
7593 2003-02-15  John Levon  <levon@movementarian.org>
7594
7595         * BufferView.C:
7596         * BufferView_pimpl.C:
7597         * bufferlist.h:
7598         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7599           inset code that had no actual effect. Remove unneeded status
7600           code.
7601
7602 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7603
7604         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7605           in preamble
7606
7607 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7608
7609         * text.C (drawLengthMarker): also draw an arrow marker for
7610           symbolic lengths (medskip...)
7611
7612 2003-02-14  John Levon  <levon@movementarian.org>
7613
7614         * tabular.h:
7615         * tabular.C: better method names
7616
7617 2003-02-14  John Levon  <levon@movementarian.org>
7618
7619         * BufferView_pimpl.C:
7620         * bufferlist.C:
7621         * buffer.C:
7622         * converter.C:
7623         * lyx_cb.C:
7624         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7625           it's a more accurate name. Remove some pointless uses.
7626
7627 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7628
7629         * text2.C (LyXText): change order of initilizers to shut off
7630           warnings
7631
7632 2003-02-14  John Levon  <levon@movementarian.org>
7633
7634         * buffer.C: use ParIterator for getParFromID()
7635
7636         * paragraph.h:
7637         * paragraph.C:
7638         * paragraph_pimpl.h:
7639         * paragraph_pimpl.C: remove unused getParFromID()
7640
7641 2003-02-14  John Levon  <levon@movementarian.org>
7642
7643         * buffer.C: remove some very old #if 0'd parse code
7644
7645 2003-02-13  John Levon  <levon@movementarian.org>
7646
7647         * text.h:
7648         * text.C:
7649         * text2.C: move hfillExpansion(), numberOfSeparators(),
7650           rowLast(), rowLastPrintable(), numberofHfills(),
7651           numberOfLabelHfills() ...
7652
7653         * lyxrow.h:
7654         * lyxrow.C: ... to member functions here.
7655
7656         * paragraph.h:
7657         * paragraph.C:
7658         * lyxtext.h:
7659         * text.C: remove LyXText::beginningOfMainBody(), and call
7660           p->beginningOfMainBody() directly. Move the check for
7661           LABEL_MANUAL into the latter.
7662
7663         * text.h:
7664         * text.C:
7665         * text2.C:
7666         * vspace.C:
7667         * BufferView.h:
7668         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7669
7670         * text.h:
7671         * text.C:
7672         * text2.C:
7673         * text3.C:
7674         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7675           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7676
7677 2003-02-13  John Levon  <levon@movementarian.org>
7678
7679         * CutAndPaste.C: remove debug
7680
7681 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * paragraph.C (asString): remove two unused variables
7684
7685         * lyxtextclass.C (readTitleType):
7686           (Read):
7687           (LyXTextClass): handle new members titletype_ and titlename_
7688
7689         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7690
7691 2003-02-09  John Levon  <levon@movementarian.org>
7692
7693         * buffer.h:
7694         * buffer.C: replace hand-coded list with a map for the dep clean
7695
7696 2003-02-08  John Levon  <levon@movementarian.org>
7697
7698         * LaTeX.C: consolidate code into showRunMessage() helper
7699
7700 2003-02-08  John Levon  <levon@movementarian.org>
7701
7702         * lyxfind.C:
7703         * lyxtext.h:
7704         * text2.C:
7705         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7706           and pass the size in explicitly
7707
7708         * BufferView_pimpl.h:
7709         * BufferView_pimpl.C:
7710         * BufferView.h:
7711         * BufferView.C: add getCurrentChange()
7712
7713         * BufferView_pimpl.h:
7714         * BufferView_pimpl.C: handle change lfuns
7715
7716         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7717           for changes. Mark pasted paragraphs as new.
7718
7719         * support/lyxtime.h:
7720         * support/lyxtime.C:
7721         * DepTable.C: abstract time_t as lyx::time_type
7722
7723         * LColor.h:
7724         * LColor.C: add colours for new text, deleted text, changebars
7725
7726         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7727           package use "usenames" option.
7728
7729         * commandtags.h:
7730         * lyxfunc.C:
7731         * LyXAction.C: add change lfuns
7732
7733         * Makefile.am:
7734         * author.h:
7735         * author.C: author handling
7736
7737         * buffer.h:
7738         * buffer.C: add a per-buffer author list, with first entry as
7739           current author. Handle new .lyx tokens for change tracking. Output
7740           author list to .lyx file. Output dvipost stuff to .tex preamble.
7741           Bump lyx format to 222.
7742
7743         * bufferlist.h:
7744         * bufferlist.C: add setCurrentAuthor() to reset current author details
7745           in all buffers.
7746
7747         * bufferparams.h:
7748         * bufferparams.C: add param for tracking
7749
7750         * bufferview_funcs.C: output change info in minibuffer
7751
7752         * Makefile.am:
7753         * changes.h:
7754         * changes.C: add change-tracking structure
7755
7756         * debug.h:
7757         * debug.C: add CHANGES debug flag
7758
7759         * lyxfind.h:
7760         * lyxfind.C: add code for finding the next change piece
7761
7762         * lyxrc.h:
7763         * lyxrc.C: add user_name and user_email
7764
7765         * lyxrow.h:
7766         * lyxrow.C: add a metric for the top of the text line
7767
7768         * lyxtext.h:
7769         * text.C: implement accept/rejectChange()
7770
7771         * lyxtext.h:
7772         * text.C: paint changebars. Paint new/deleted text in the chosen
7773         colours. Strike through deleted text.
7774
7775         * paragraph.h:
7776         * paragraph.C:
7777         * paragraph_pimpl.h:
7778         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7779           in the current change to the insert functions. Rework erase to
7780           mark text as deleted, adding an eraseIntern() and a range-based
7781           erase(). Implement per-paragraph change lookup and
7782           accept/reject.
7783
7784         * paragraph_funcs.C: Fixup paste for change tracking.
7785
7786         * tabular.C: mark added row/columns as new.
7787
7788         * text.C: fix rowLast() to never return -1. Don't allow
7789           spellchecking of deleted text. Track transpose changes. Don't
7790           allow paragraph break or merge where appropriate.
7791
7792         * text2.C: leave cursor at end of selection after a cut.
7793
7794 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7795
7796         * text.C (getLengthMarkerHeight):
7797         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7798         visible on screen too.
7799
7800 2003-02-07  John Levon  <levon@movementarian.org>
7801
7802         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7803
7804 2003-02-05  Angus Leeming  <leeming@lyx.org>
7805
7806         * lyxserver.C (read_ready): revert my patch of 11 September last year
7807         as it sends PC cpu through the roof. Presumably this means that
7808         the lyxserver will no longer run on an Alpha...
7809
7810 2003-01-30  Angus Leeming  <leeming@lyx.org>
7811
7812         * factory.C (createInset): create an InsetCommandParam of type "index"
7813         and use it to 'do the right thing'.
7814
7815         * text2.C (getStringToIndex): ensure that cursor position is always
7816         reset to the reset_cursor position.
7817
7818 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7819
7820         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7821         disabled.
7822
7823 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7824
7825         * bufferview.C:
7826         * lyxcb.C:
7827         * lyxfunc.C: Output messages with identical spelling, punctuation,
7828         and spaces
7829
7830 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7831
7832         * MenuBackend.C (expandFormats): List only viewable export formats
7833         in "View" menu
7834
7835         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7836         message
7837
7838         * lyxfunc.C (getStatus): Make sure that formats other than
7839         "fax" can also be disabled
7840
7841 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7842
7843         * text3.C (dispatch): put the lfuns that insert insets in 3
7844         groups, and call doInsertInset with appropriate arguments.
7845         (doInsertInset): new function, that creates an inset and inserts
7846         it according to some boolean parameters.
7847
7848 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * buffer.C (readFile): remember to pass on 'par' when calling
7851         readFile recursively.
7852
7853 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7854
7855         * MenuBackend.C (expandFormats): add "..." to import formats.
7856
7857 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7858
7859         * paragraph.C (asString): Remove XForms RTL hacks.
7860
7861 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7862         * buffer.C: fix typo
7863
7864 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * Makefile.am (LIBS): delete var
7867         (lyx_LDADD): add @LIBS@ here instead.
7868
7869 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7870
7871         * Clarify the meaning of "wheel mouse jump"
7872
7873 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7874
7875         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7876         tabular in a float
7877
7878 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7879
7880         * importer.C (Loaders): do not preallocate 3 elements in the
7881         vector, since one ends up with 6 elements otherwise
7882
7883 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7884
7885         * DepTable.C (write): write the file name as last element of the
7886         .dep file (because it may contain spaces)
7887         (read): read info in the right order
7888
7889 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7890
7891         * paragraph_pimpl.C (simpleTeXBlanks):
7892         (simpleTeXSpecialChars):
7893         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7894
7895         * tabular.C (latex): add some missing case statements. Reindent.
7896
7897         * MenuBackend.C (expandToc): remove unused variable.
7898
7899 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7900
7901         * LColor.C:
7902         * LaTeX.C:
7903         * LyXAction.C:
7904         * MenuBackend.C:
7905         * buffer.C:
7906         * exporter.C:
7907         * lyxfunc.C:
7908         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7909         and the like.
7910
7911 2003-01-05  John Levon  <levon@movementarian.org>
7912
7913         * BufferView.h:
7914         * BufferView.C: add getEncoding()
7915
7916         * kbsequence.h:
7917         * kbsequence.C: do not store last keypress
7918
7919         * lyxfunc.h:
7920         * lyxfunc.C: store last keypress here instead. Pass encoding
7921           to getISOEncoded()
7922
7923 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7924
7925         * lyx_main.C (init): remove annoying error message when following
7926         symbolic links (bug #780)
7927
7928 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7929
7930         * text.C (insertChar):
7931         * lyxrc.C (getDescription): remove extra spaces
7932
7933 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7934
7935         * lyxrc.C (getDescription): remove extra spaces
7936
7937 2002-12-20  John Levon  <levon@movementarian.org>
7938
7939         * text3.C: hack fix for page up/down across tall rows
7940
7941 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7942
7943         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7944         not been invoked
7945
7946 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7947
7948         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7949         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7950         thesaurus is not compiled in
7951
7952 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7953
7954         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7955
7956 2002-12-16  Angus Leeming  <leeming@lyx.org>
7957
7958         * lyxrc.[Ch]:
7959         * lyx_main.C (init): remove override_x_deadkeys stuff.
7960
7961 2002-12-12  John Levon  <levon@movementarian.org>
7962
7963         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7964           insert. Only remove shift modifier under strict
7965           circumstances.
7966
7967 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * MenuBackend.C (expandToc): fix crash.
7970
7971 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * MenuBackend.C (expandToc): gettext on float names.
7974
7975 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7976
7977         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7978         implement bool empty() [bug 490]
7979
7980 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7983
7984 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * several files: ws changes
7987
7988 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * text2.C (setCounter): clean up a bit, use boost.format.
7991         (updateCounters): initialize par upon declaration.
7992
7993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7994         if the layout exists. We do not just store the layout any more.
7995         (SwitchLayoutsBetweenClasses): use boost.format
7996
7997 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7998
7999         * converter.C (convert): if from and to files are the same, use a
8000         temporary files as intermediary
8001
8002 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8003
8004         * commandtags.h:
8005         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8006
8007 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8008
8009         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8010
8011 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * tabular.C (asciiPrintCell): use string(size, char) instead of
8014         explicit loop.
8015
8016         * sgml.C (openTag): fix order of arguments to string constructor
8017         (closeTag): ditto
8018
8019         * lyxfunc.C (dispatch): use boost.format
8020
8021         * lots of files: change "c" -> 'c'
8022
8023 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8024
8025         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8026
8027 2002-11-25  Angus Leeming  <leeming@lyx.org>
8028
8029         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8030
8031         * lyx_main.C (init): compile fix.
8032
8033 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * lyx_cb.C (start): boost.formatify
8036         do not include <iostream>
8037
8038         * lengthcommon.C: ws only
8039
8040         * boost-inst.C,BoostFormat.h: add more explict instantations
8041
8042 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * lots of files: handle USE_BOOST_FORMAT
8045
8046 2002-11-21  John Levon  <levon@movementarian.org>
8047
8048         * pspell.C: fix compile
8049
8050 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8051
8052         * lyxfunc.C (dispatch): use boost::format
8053         (open): ditto
8054         (doImport): ditto
8055
8056         * lyxfont.C (stateText): use boost::format
8057
8058         * lyx_main.C (LyX): use boost::format
8059         (init): ditto
8060         (queryUserLyXDir): ditto
8061         (readRcFile): ditto
8062         (parse_dbg): ditto
8063         (typedef boost::function): use the recommened syntax.
8064
8065         * importer.C (Import): use boost::format
8066
8067         * debug.C (showLevel): use boost::format
8068
8069         * converter.C (view): use boost::format
8070         (convert): ditto
8071         (move): ditto
8072         (scanLog): ditto
8073
8074         * bufferview_funcs.C (currentState): use boost::format
8075
8076         * bufferlist.C (emergencyWrite): use boost::format
8077
8078         * buffer.C (readLyXformat2): use boost::format
8079         (parseSingleLyXformat2Token): ditto
8080
8081         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8082
8083         * LaTeX.C (run): use boost::format
8084
8085         * Chktex.C (scanLogFile): use boost::format
8086
8087         * BufferView_pimpl.C (savePosition): use boost::format
8088         (restorePosition): ditto
8089         (MenuInsertLyXFile): ditto
8090
8091         * BoostFormat.h: help file for explicit instation.
8092
8093 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8094
8095         * tabular.C (latex): Support for block alignment in fixed width
8096         columns.
8097
8098 2002-11-17  John Levon  <levon@movementarian.org>
8099
8100         * BufferView_pimpl.C:
8101         * lyx_cb.C:
8102         * lyxfunc.C: split filedialog into open/save
8103
8104 2002-11-08  Juergen Vigna  <jug@sad.it>
8105
8106         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8107         by my last patch (hopefully).
8108
8109 2002-11-08  John Levon  <levon@movementarian.org>
8110
8111         * iterators.h:
8112         * iterators.C:
8113         * buffer.h:
8114         * buffer.C:
8115         * paragraph.h:
8116         * paragraph.C:
8117         * toc.h:
8118         * toc.C: ParConstIterator, and use it (from Lars)
8119
8120 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8121
8122         * lyxtextclass.[Ch]: revise and add doxygen comments
8123
8124 2002-11-07  John Levon  <levon@movementarian.org>
8125
8126         * text.C: fix progress value for spellchecker
8127
8128         * toc.C: fix navigate menu for insetwrap inside minipage
8129
8130         * paragraph_funcs.C: added FIXME for suspect code
8131
8132 2002-11-07  John Levon  <levon@movementarian.org>
8133
8134         * BufferView_pimpl.C: fix redrawing of insets
8135           on buffer switch
8136
8137 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8138
8139         * text2.C (updateCounters): fix bug 668
8140
8141 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8142
8143         * text3.C (dispatch): Do not make the buffer dirty when moving the
8144         cursor.
8145
8146 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * vc-backend.C: STRCONV
8149         (scanMaster): ditto
8150
8151         * text2.C (setCounter): STRCONV
8152
8153         * paragraph.C (asString): STRCONV
8154
8155         * lyxlength.C (asString): STRCONV
8156         (asLatexString): ditto
8157
8158         * lyxgluelength.C (asString): STRCONV
8159         (asLatexString): ditto
8160
8161         * lyxfunc.C (dispatch): STRCONV
8162         (open): ditto
8163
8164         * lyxfont.C (stateText): STRCONV
8165
8166         * importer.C (Import): STRCONV
8167
8168         * counters.C (labelItem): STRCONV
8169         (numberLabel): ditto
8170         (numberLabel): remove unused ostringstream o
8171
8172         * chset.C: STRCONV
8173         (loadFile): ditto
8174
8175         * bufferview_funcs.C (currentState): STRCONV
8176
8177         * buffer.C (readFile): STRCONV
8178         (asciiParagraph): ditto
8179         (makeLaTeXFile): ditto
8180
8181         * Spacing.C (writeEnvirBegin): STRCONV
8182
8183         * LaTeXFeatures.C (getLanguages): STRCONV
8184         (getPackages): ditto
8185         (getMacros): ditto
8186         (getBabelOptions): ditto
8187         (getTClassPreamble): ditto
8188         (getLyXSGMLEntities): ditto
8189         (getIncludedFiles): ditto
8190
8191         * LaTeX.C: STRCONV
8192         (run): ditto
8193         (scanAuxFile): ditto
8194         (deplog): ditto
8195
8196         * LString.h: add the STRCONV macros
8197
8198         * BufferView_pimpl.C (savePosition): STRCONV
8199         (restorePosition): ditto
8200         (MenuInsertLyXFile): ditto
8201
8202         * vc-backend.C (scanMaster): change from submatch[...] to
8203         submatch.str(...)
8204
8205         * funcrequest.C: include config.h
8206
8207         * factory.C: include config.h
8208
8209         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8210
8211         * box.C: include config.h
8212
8213         * LaTeX.C (scanAuxFile): change from submatch[...] to
8214         submatch.str(...)
8215         (deplog): ditto
8216
8217 2002-10-25  Angus Leeming  <leeming@lyx.org>
8218
8219         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8220
8221         * ispell.[Ch] (setError): new method.
8222         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8223         Use setError() insetead of goto END.
8224
8225         * lyx_cb.C (AutoSave): move out child process into new class
8226         AutoSaveBuffer.
8227
8228 2002-10-30  John Levon  <levon@movementarian.org>
8229
8230         * text3.C: make start appendix undoable
8231
8232 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8233
8234         * lyxlength.C (inPixels): Fix returned value.
8235
8236         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8237         environment.
8238
8239 2002-10-24  Angus Leeming  <leeming@lyx.org>
8240
8241         * lyxgluelength.h: no need to forward declare BufferParams
8242         or BufferView, so don't.
8243
8244 2002-10-21  John Levon  <levon@movementarian.org>
8245
8246         * BufferView.C: menuUndo ->undo, redo
8247
8248         * BufferView.h: document, remove dead, make some methods private
8249
8250         * paragraph_funcs.h:
8251         * paragraph_funcs.C:
8252         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8253
8254         * buffer.h:
8255         * buffer.C:
8256         * sgml.h:
8257         * sgml.C: move sgml open/close tag into sgml.C
8258
8259         * bufferview_funcs.h: unused prototype
8260
8261         * lyxfunc.h:
8262         * lyxfunc.C: remove unused
8263
8264         * lyxtext.h:
8265         * text.C: remove unused
8266
8267 2002-10-21  John Levon  <levon@movementarian.org>
8268
8269         * BufferView.h:
8270         * BufferView.C:
8271         * BufferView_pimpl.h:
8272         * BufferView_pimpl.C: fix mouse wheel handling based on
8273           patch from Darren Freeman
8274
8275 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8276
8277         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8278
8279 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8280
8281         * lyxlength.C (inPixels): Fix hanfling of negative length.
8282         Fix LyXLength::MU case.
8283
8284 2002-10-16  John Levon  <levon@movementarian.org>
8285
8286         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8287
8288 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8289
8290         * converter.C (view): add support for $$i (file name) and $$p
8291         (file path) for the viewer command. If $$i is not specified, then
8292         it is appended to the command (for compatibility with old syntax)
8293
8294 2002-10-14  Juergen Vigna  <jug@sad.it>
8295
8296         * undo_funcs.C (textHandleUndo): alter the order in which the
8297         new undopar is added to the LyXText, as we have to set first
8298         the right prev/next and then add it as otherwise the rebuild of
8299         LyXText is not correct. Also reset the cursor to the right paragraph,
8300         with this IMO we could remove the hack in "redoParagraphs()".
8301
8302 2002-10-09  Angus Leeming  <leeming@lyx.org>
8303
8304         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8305         to turn off an optimisation if a new inset is to be inserted.
8306
8307 2002-10-11 André Pönitz <poenitz@gmx.net>
8308
8309         * lyxtext.h: make some functions public to allow access
8310         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8311
8312 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8313
8314         * text3.C (dispatch): when changing layout, avoid an infinite loop
8315         [bug #652]
8316
8317 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8318
8319         * lyxrc.C (read): treat a viewer or converter command of "none" as
8320         if it were empty.
8321
8322         * MenuBackend.C (expandFormats): for an update, also allow the
8323         formats that are not viewable
8324
8325         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8326         script if it is newer than the lyxrc.defaults in user directory
8327
8328 2002-10-07 André Pönitz <poenitz@gmx.net>
8329
8330         * text.C: Vitaly Lipatov's small i18n fix
8331
8332 2002-09-25  Angus Leeming  <leeming@lyx.org>
8333
8334         * ispell.h: doxygen fix.
8335
8336 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8337
8338         * buffer.h (readFile): Add a new argument to the method, to allow
8339         reading of old-format templates.
8340
8341 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8342
8343         * toc.C (getTocList): Get TOC from InsetWrap.
8344
8345 2002-09-16  John Levon  <levon@movementarian.org>
8346
8347         * lyxfunc.C: check tabular for cut/copy too
8348
8349 2002-09-12  John Levon  <levon@movementarian.org>
8350
8351         * LyXAction.C: tidy
8352
8353         * factory.h:
8354         * factory.C: add header
8355
8356         * paragraph_funcs.h:
8357         * paragraph_funcs.C: cleanup
8358
8359 2002-09-11  John Levon  <levon@movementarian.org>
8360
8361         * PrinterParams.h: odd/even default to true
8362
8363 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8364
8365         * PrinterParams.h: update printer parameters for new xforms dialog
8366
8367 2002-09-11  Angus Leeming  <leeming@lyx.org>
8368
8369         * lyxserver.C (read_ready): re-write to make it more transparent
8370         and to make it work in coherent fashion under Tru64 Unix.
8371
8372 2002-09-11  André Pönitz <poenitz@gmx.net>
8373
8374         * commandtags.h:
8375         * LyXAction.C:
8376         * text3.C: implement LFUN_WORDSEL
8377
8378 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8381         make floatlist_ a boost::shared_ptr<FloatList>
8382
8383         * lyxtextclass.C: include FloatList.h
8384         (LyXTextClass): initialize floatlist_
8385         (TextClassTags): add TC_NOFLOAT
8386         (Read): match "nofloat" to TC_NOFLOAT and use it.
8387         (readFloat): modify call to floatlist_
8388         (floats): ditto
8389         (floats): ditto
8390
8391         * FloatList.[Ch] (FloatList): remove commented out float
8392         initialization.
8393         (erase): new function
8394
8395 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8396
8397         * MenuBackend.C (expandToc): fix crash when there is no document
8398         open
8399
8400 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8401
8402         * many files: Add insetwrap.
8403
8404 2002-09-09  John Levon  <levon@movementarian.org>
8405
8406         * text2.C: remove confusing and awkward depth wraparound
8407
8408 2002-09-09  John Levon  <levon@movementarian.org>
8409
8410         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8411
8412         * buffer.h:
8413         * buffer.C: remove getIncludeonlyList()
8414
8415         * paragraph.C:
8416         * lyxfunc.C: remove headers
8417
8418 2002-09-09  Juergen Vigna  <jug@sad.it>
8419
8420         * text.C (getColumnNearX): fix form Michael this is most
8421         probably a cut&paste bug.
8422
8423 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8426
8427         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8428         references, ws changes.
8429
8430         * text2.C (init): update counters after init
8431         (insertParagraph): no need to set counter on idividual paragraphs.
8432         (setCounter): access the counters object in the textclass object
8433         on in the buffer object.
8434         (updateCounters): ditto
8435
8436         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8437         shared_ptr<Counters> to avoid loading counters.h in all
8438         compilation units.
8439         (LyXTextClass): initialize ctrs_
8440         (TextClassTags): add TC_COUNTER, and ...
8441         (Read): use it here.
8442         (CounterTags): new tags
8443         (readCounter): new function
8444         (counters): new funtion
8445         (defaultLayoutName): return a const reference
8446
8447         * counters.C (Counters): remove contructor
8448         (newCounter): remove a couple of unneeded statements.
8449         (newCounter): simplify a bit.
8450         (numberLabel): some small formatting changes.
8451
8452         * buffer.[Ch]: remove all traces of counters, move the Counters
8453         object to the LyXTextClass.
8454
8455 2002-09-06  Alain Castera  <castera@in2p3.fr>
8456
8457         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8458         package to set the horizontal alignment on fixed width columns.
8459
8460         * lyx_sty.C:
8461         * lyx_sty.h: added tabularnewline macro def.
8462
8463         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8464
8465 2002-09-06  John Levon  <levon@movementarian.org>
8466
8467         * LyXAction.C: tooltips for sub/superscript
8468
8469         * MenuBackend.C: a bit more verbose
8470
8471         * lyxfunc.C: tiny clean
8472
8473         * undo_funcs.C: document undo_frozen
8474
8475 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * counters.C (Counters): add missing algorithm counter.
8478
8479         * text2.C (setCounter): lookup the counter with layouts latexname
8480         instead of by section number.
8481         (setCounter): use a hackish way to lookup the correct enum
8482         counter.
8483         a float name->type change
8484         reset enum couners with counter name directly instead of depth value.
8485
8486         * counters.C (Counters): remove the push_backs, change to use the
8487         float type not the float name.
8488         (labelItem): remove unused string, float name->type change
8489
8490         * counters.h: don't include vector, loose the enums and sects vectors
8491
8492 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8495         (Read): add float->TC_FLOAT to textclassTags
8496         (Read): and handle it in the switch
8497         (readFloat): new function
8498
8499         * FloatList.C (FloatList): comment out the hardcoded float
8500         definitions.
8501
8502         * lyxlayout.h: ws change.
8503
8504 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8505
8506         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8507
8508 2002-09-03  Angus Leeming  <leeming@lyx.org>
8509
8510         * BufferView_pimpl.h: qualified name is not allowed in member
8511         declaration: WorkArea & Pimpl::workarea() const;
8512
8513         * factory.C: added using std::endl directive.
8514
8515         * text3.C: added using std::find and std::vector directives.
8516
8517 2002-08-29  André Pönitz <poenitz@gmx.net>
8518
8519         * lyxtext.h:
8520         * text2.C: remove unused member number_of_rows
8521
8522         * Makefile.am:
8523         * BufferView2.C: remove file, move contents to...
8524         * BufferView.C: ... here
8525
8526         * BufferView_pimpl.C:
8527         * factory.C: move more inset creation to factory
8528
8529         * vspace.C: avoid direct usage of LyXText, ws changes
8530
8531         * BufferView.[Ch]:
8532                 don't provide direct access to WorkArea, use two simple
8533                 acessors haveSelction() and workHeight() instead
8534
8535
8536 2002-08-29  John Levon  <levon@movementarian.org>
8537
8538         * BufferView_pimpl.C (dispatch): do not continue when
8539           no buffer
8540
8541 2002-08-28  André Pönitz <poenitz@gmx.net>
8542
8543         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8544
8545         * BufferView.h:
8546         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8547
8548 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8549
8550         * buffer.C: increment LYX_FORMAT to 221
8551
8552         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8553         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8554
8555         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8556
8557         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8558
8559 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8560
8561         * factory.C (createInset): use LyXTextClass::floats
8562
8563         * MenuBackend.C (expandFloatListInsert):
8564         (expandFloatInsert):
8565         (expandToc):
8566
8567         * text2.C (setCounter):
8568
8569         * LaTeXFeatures.C (useFloat):
8570         (getFloatDefinitions):
8571
8572         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8573
8574         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8575         floatlist_, with accessor floats().
8576
8577         * FloatList.h: remove global FloatList
8578
8579 2002-08-26  André Pönitz <poenitz@gmx.net>
8580
8581         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8582
8583         * BufferView.h:
8584         * BufferView2.C:
8585         * BufferView_pimpl.C:
8586         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8587
8588 2002-08-25  John Levon  <levon@movementarian.org>
8589
8590         * LyXAction.C: fix margin note description
8591
8592 2002-08-24  John Levon  <levon@movementarian.org>
8593
8594         * buffer.C:
8595         * bufferlist.C:
8596         * bufferview_funcs.C:
8597         * lyxfont.C:
8598         * undo_funcs.C: cleanups
8599
8600         * lyxfunc.C: disable CUT/COPY when no selection
8601
8602 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8603
8604         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8605         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8606
8607         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8608         Add backward compatibility to "mono", "gray" and "no".
8609
8610 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8611
8612         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8613         (and file_format >= 200).
8614
8615 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8618
8619 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8622
8623 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8624
8625         * BufferView_pimpl.C:
8626         * LyXAction.C:
8627         * buffer.C:
8628         * commandtags.h:
8629         * lyxfunc.C:
8630         * paragraph.[Ch]:
8631         * text2.C:
8632         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8633         inset and code to make it  work with the paragraph code. The inset
8634         can be anywhere in the paragraph, but will only do the expected
8635         thing in LaTeX if the layout file contains the parameter line
8636                         OptionalArgs    1
8637         (or more generally, a nonzero value) for that layout.
8638
8639 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * paragraph.h: remove the declaration of undefined counters class
8642         function.
8643
8644 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8645
8646         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8647         Dr. Richard Hawkins.
8648
8649 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8650
8651         * paragraph_funcs.h: remove some unneeded includes
8652
8653         * text.C (backspace): pasteParagraph now in global scipe
8654
8655         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8656         (pasteSelection): ditto
8657
8658         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8659         * paragraph_funcs.C (pasteParagraph): ... here
8660
8661 2002-08-20  André Pönitz <poenitz@gmx.net>
8662
8663         * commandtags.h: new LFUNs for swapping/copying table row/colums
8664
8665         * LyXAction.C:
8666         * lyxfunc.C: support for new lfuns
8667
8668 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8669
8670         * tabular.C:
8671         * buffer.[Ch]: remove NO_COMPABILITY stuff
8672
8673 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * boost.C (throw_exception): new file, with helper function for
8676         boost compiled without exceptions.
8677
8678         * paragraph.h:
8679         * lyxlength.C:
8680         * buffer.C:
8681         * ParameterStruct.h:
8682         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8683
8684         * bufferlist.C (emergencyWriteAll): use boost bind
8685
8686         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8687
8688         * text.C: include paragraph_funcs.h
8689         (breakParagraph): breakParagraph is now in global scope
8690
8691         * paragraph_funcs.[Ch]: new files
8692
8693         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8694         global scope
8695
8696         * buffer.C: include paragraph_funcs.h
8697         (insertStringAsLines): breakParagraph is now in global scope
8698
8699         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8700         paragraph_funcs.C
8701
8702         * CutAndPaste.C: include paragraph_funcs.h
8703         (cutSelection): breakParagraphConservative is now in global scope
8704         (pasteSelection): ditto
8705
8706         * buffer.h: declare oprator== and operator!= for
8707         Buffer::inset_iterator
8708
8709         * bufferlist.C (emergencyWrite): don't use fmt(...)
8710
8711         * text3.C: add using std::endl
8712
8713         * BufferView.C (moveCursorUpdate): remove default arg
8714
8715 2002-08-20  André Pönitz <poenitz@gmx.net>
8716
8717         * buffer.[Ch]: move inline functions to .C
8718
8719         * BufferView2.C:
8720         * BufferView_pimpl.C:
8721         * text.C:
8722         * buffer.[Ch]: use improved inset_iterator
8723
8724         * buffer.C:
8725         * paragraph.[Ch]: write one paragraph at a time
8726
8727 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8728
8729         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8730         style if style is not specified.
8731
8732 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8733
8734         * text2.C (setCounter): when searching for right label for a
8735         caption, make sure to recurse to parent insets (so that a caption
8736         in a minipage in a figure float works) (bug #568)
8737
8738 2002-08-20  André Pönitz <poenitz@gmx.net>
8739
8740         * text3.C: new file for LyXText::dispatch() and helpers
8741
8742         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8743
8744         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8745
8746 2002-08-19  André Pönitz <poenitz@gmx.net>
8747
8748         * lyxtext.h:
8749         * text.C: new LyXText::dispatch()
8750
8751         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8752
8753 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8754
8755         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8756
8757         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8758         Hebrew text.
8759
8760 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * Makefile.am: use $(variables) instead of @substitutions@
8763
8764 2002-08-15  André Pönitz <poenitz@gmx.net>
8765
8766         * lyxfunc.C:
8767         * BufferView_pimpl.C: streamlining mathed <-> outer world
8768         interaction
8769
8770         * commandtags.h:
8771         * LyXAction.C: remove unused LFUN_MATH
8772
8773 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8776
8777 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * paragraph.C (Paragraph): reformat a bit
8780         (cutIntoMinibuffer): use builtin InsetList function instad of
8781         doing it manually.
8782         (getInset): ditto
8783
8784         * buffer.C: include boost/bind.hpp, add using std::for_each
8785         (writeFileAscii): use ParagraphList iterators
8786         (validate): use for_each for validate traversal of paragraphs
8787         (getBibkeyList): use ParagraphList iterators
8788         (resizeInsets): use for_each to resizeInsetsLyXText for all
8789         paragraphs.
8790         (getParFromID): use ParagraphList iterators
8791
8792         * BufferView2.C (lockInset): use paragraph list and iterators
8793
8794 2002-08-14  John Levon  <levon@movementarian.org>
8795
8796         * lyxserver.C: remove spurious xforms include
8797
8798 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8801
8802 2002-08-13  André Pönitz <poenitz@gmx.net>
8803
8804         * LyXAction.[Ch]:
8805         * lyxfunc.C: further cleaning
8806
8807 2002-08-13  André Pönitz <poenitz@gmx.net>
8808
8809         * funcrequest.h: new constructor
8810
8811         * funcrequest.C: move stuff here from .h
8812
8813         * Makefile.am:
8814         * BufferView_pimpl.C:
8815         * LyXAction.C:
8816         * toc.C:
8817         * lyxfunc.C: subsequent changes
8818
8819         * lyxfunc.h: new view() member function
8820
8821         * lyxfunc.C: subsequent changes
8822
8823 2002-08-13  Angus Leeming  <leeming@lyx.org>
8824
8825         * BufferView2.C:
8826         * BufferView_pimpl.C:
8827         * buffer.C:
8828         * converter.C:
8829         * importer.C:
8830         * lyxfunc.C:
8831         * lyxvc.C:
8832         * toc.C:
8833         * vc-backend.C:
8834         changes due to the changed LyXView interface that now returns references
8835         to member variables not pointers.
8836
8837 2002-08-13  Angus Leeming  <leeming@lyx.org>
8838
8839         * WordLangTuple (word, lang_code): return references to strings,
8840         not strings.
8841
8842         * BufferView.h:
8843         * SpellBase.h:
8844         * lyxtext.h: forward-declare WordLangTuple.
8845
8846         * BufferView2.C:
8847         * ispell.C:
8848         * pspell.C:
8849         * text.C: #include "WordLangTuple.h".
8850
8851         * lyxtext.h:
8852         * text.C: (selectNextWordToSpellcheck): constify return type.
8853
8854 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8855
8856         * buffer.C:
8857         * buffer.h:
8858         * lyxtext.h:
8859         * paragraph.C:
8860         * paragraph_pimpl.h:
8861         * text.C:
8862         * text2.C:
8863         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8864         suggested by Angus.
8865         Made updateCounter always count from start of buffer, and removed
8866         second argument (par).
8867         Reverted floats number display to '#'. Perhaps I'll try again when the
8868         code base is sanitized a bit.
8869
8870 2002-08-12  Angus Leeming  <leeming@lyx.org>
8871
8872         * buffer.[Ch] (getLabelList): constify.
8873
8874 2002-08-07  André Pönitz <poenitz@gmx.net>
8875
8876         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8877
8878         * funcrequest.h: extension to keep mouse (x,y) position
8879
8880 2002-08-12  Juergen Vigna  <jug@sad.it>
8881
8882         * BufferView2.C (insertErrors): forbid undo when inserting error
8883         insets.
8884
8885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8886
8887 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8888
8889         * ParagraphList.[Ch]: new files
8890
8891         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8892
8893         * BufferView2.C (lockInset): ParagraphList changes
8894         * toc.C: ditto
8895         * text2.C: ditto
8896         * bufferlist.C: ditto
8897         * buffer.h: ditto
8898         * buffer.C: ditto
8899
8900 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8903         unused class variable counter_,
8904
8905         * paragraph.[Ch] (getFirstCounter): delete unused function
8906
8907         * counters.C: include LAssert.h
8908         (reset): add a new function with no arg, change other version to
8909         not have def. arg and to not allow empty arg.
8910
8911         * text2.C (setCounter): remove empty arg from call to Counters::reset
8912
8913 2002-08-11  John Levon  <levon@movementarian.org>
8914
8915         * Makefile.am: add WordLangTuple.h
8916
8917 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8918
8919         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8920         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8921
8922         * insets/insettext.C: InsetList changes
8923
8924         * graphics/GraphicsSupport.C (operator()): InsetList changes
8925
8926         * toc.C (getTocList): InsetList changes
8927
8928         * paragraph_pimpl.[Ch]: InsetList changes
8929
8930         * paragraph.[Ch]: InsetList changes
8931
8932         * buffer.C (inset_iterator): InsetList changes
8933         (setParagraph): ditto
8934         * buffer.h (inset_iterator): ditto
8935         * iterators.C (operator++): ditto
8936         * iterators.h: ditto
8937
8938         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8939
8940         * InsetList.[Ch]: new files, most InsetList handling moved out of
8941         paragraph.C.
8942
8943         * BufferView2.C (removeAutoInsets): InsetList changes
8944         (lockInset): ditto
8945         (ChangeInsets): ditto
8946
8947 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * paragraph_pimpl.h (empty): new function
8950
8951         * paragraph.[Ch] (empty): new function
8952
8953         * other files: use the new Paragraph::empty function
8954
8955 2002-08-09  John Levon  <levon@movementarian.org>
8956
8957         * lyxtext.h: remove unused refresh_height
8958
8959 2002-08-09  John Levon  <levon@movementarian.org>
8960
8961         * Makefile.am:
8962         * sgml.h:
8963         * sgml.C:
8964         * buffer.C:
8965         * paragraph.h:
8966         * paragraph.C: move sgml char escaping out of paragraph
8967
8968         * paragraph.h:
8969         * paragraph.C: remove id setter
8970
8971         * buffer.C:
8972         * paragraph.C:
8973         * paragraph_pimpl.C: remove dead tex_code_break_column
8974
8975         * bufferview_funcs.C: small cleanup
8976
8977         * lyxfunc.C: remove dead proto
8978
8979         * lyxtext.h: make some stuff private. Remove some dead stuff.
8980
8981         * lyxgluelength.C: make as[LyX]String() readable
8982
8983 2002-08-08  John Levon  <levon@movementarian.org>
8984
8985         * LyXAction.h:
8986         * LyXAction.C:
8987         * MenuBackend.C:
8988         * ToolbarDefaults.C:
8989         * lyxfunc.C:
8990         * lyxrc.C:
8991         * toc.C: lyxaction cleanup
8992
8993 2002-08-08  John Levon  <levon@movementarian.org>
8994
8995         * BufferView2.C: small cleanup
8996
8997         * lyxfind.h:
8998         * lyxfind.C: move unnecessary header into the .C
8999
9000 2002-08-08  John Levon  <levon@movementarian.org>
9001
9002         * funcrequest.h: just tedious nonsense
9003
9004         * lyx_main.h:
9005         * lyx_main.C: cleanups
9006
9007         * buffer.C:
9008         * vspace.C: remove dead header lyx_main.h
9009
9010 2002-08-07  Angus Leeming  <leeming@lyx.org>
9011
9012         * Paragraph.[Ch]:
9013         * paragraph_pimpl.h:
9014         Forward declare class Counters in paragraph.h by moving the ctrs member
9015         variable into Paragraph::Pimpl.
9016         (counters): new method, returning a reference to pimpl_->ctrs.
9017
9018         * text2.C: ensuing changes.
9019
9020 2002-08-07  John Levon  <levon@movementarian.org>
9021
9022         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9023
9024         * BufferView_pimpl.C: announce X selection on double/triple
9025           click
9026
9027         * lyx_main.C: use correct bool in batch dispatch
9028
9029         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9030
9031 2002-08-07  André Pönitz <poenitz@gmx.net>
9032
9033         * funcrequest.h: new class to wrap a kb_action and its argument
9034
9035         * BufferView.[Ch]:
9036         * BufferView_pimpl[Ch]:
9037         * LaTeX.C:
9038         * LyXAction.[Ch]:
9039         * lyxfunc.[Ch]:
9040         * lyxrc.C: subsequent changes
9041
9042
9043 2002-08-07  John Levon  <levon@movementarian.org>
9044
9045         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9046           document options change.
9047
9048 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9049
9050         * counters.[Ch]
9051         * text2.C
9052         * paragraph.[Ch]
9053         * makefile.am: move counters functionality over from
9054         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9055
9056 2002-08-06  John Levon  <levon@movementarian.org>
9057
9058         * WordLangTuple.h: new file for word + language code tuple
9059
9060         * SpellBase.h:
9061         * pspell.h:
9062         * pspell.C:
9063         * ispell.h:
9064         * ispell.C:
9065         * lyxtext.h:
9066         * text.C:
9067         * text2.C:
9068         * BufferView.h:
9069         * BufferView2.C: use WordLangTuple
9070
9071         * layout.h:
9072         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9073
9074 2002-08-06  John Levon  <levon@movementarian.org>
9075
9076         * lyx_main.C: fix cmdline batch handling
9077
9078 2002-08-06  André Pönitz <poenitz@gmx.net>
9079
9080         * lyxrc.C: set default for show_banner to true
9081
9082 2002-08-06  John Levon  <levon@movementarian.org>
9083
9084         * pspell.C: fix a crash, and allow new aspell to work
9085
9086 2002-08-06  John Levon  <levon@movementarian.org>
9087
9088         * lyxfunc.C:
9089         * kbmap.C: small cleanup
9090
9091         * vspace.h:
9092         * vspace.C: add const
9093
9094 2002-08-05  John Levon  <levon@movementarian.org>
9095
9096         * LyXAction.C: back to tabular-insert
9097
9098 2002-08-04  John Levon  <levon@movementarian.org>
9099
9100         * BufferView.h:
9101         * BufferView.C: cosmetic change
9102
9103         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9104
9105         * bufferlist.C:
9106         * buffer.h:
9107         * buffer.C:
9108         * lyxcb.h:
9109         * lyxcb.C:
9110         * lyxserver.C:
9111         * lyxvc.C:
9112         * vc-backend.C:
9113         * BufferView2.C: purge all "Lyx" not "LyX" strings
9114
9115         * lyxcursor.h:
9116         * lyxcursor.C: attempt to add some documentation
9117
9118         * lyxfunc.C:
9119         * commandtags.h:
9120         * LyXAction.C:
9121         * ToolbarDefaults.C:
9122         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9123           merge with LFUN_TABULAR_INSERT
9124
9125         * Makefile.am:
9126         * SpellBase.h:
9127         * ispell.h:
9128         * ispell.C:
9129         * pspell.h:
9130         * pspell.C: split up i/pspell implementations into separate
9131           files, many cleanups
9132
9133         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9134
9135         * text2.C: some cleanup
9136
9137         * lyxfunc.C: don't check for isp_command == "none" any more, it
9138           didn't make any sense
9139
9140 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9141
9142         * counters.[Ch]
9143         * text2.C
9144         * paragraph.[Ch]
9145         * makefile.am: move counters functionality over
9146         from text2.C/paragraph.[Ch] to counters.[Ch], and
9147         make proper C++.
9148 2002-08-02  John Levon  <levon@movementarian.org>
9149
9150         * buffer.C: s/lyxconvert/lyx2lyx/
9151
9152 2002-08-02  Angus Leeming  <leeming@lyx.org>
9153
9154         * lyxlex.C: revert John's change as it breaks reading of the user
9155         preamble.
9156
9157 2002-08-02  Angus Leeming  <leeming@lyx.org>
9158
9159         * importer.C (Import):
9160         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9161         changes due to LyXView::view() now returning a boost::shared_ptr.
9162
9163 2002-08-02  John Levon  <levon@movementarian.org>
9164
9165         * lyxlex.C: small cleanup
9166
9167 2002-08-02  John Levon  <levon@movementarian.org>
9168
9169         * text2.C (status): small cleanup, no logic change
9170
9171 2002-08-01  John Levon  <levon@movementarian.org>
9172
9173         * buffer.h:
9174         * buffer.C (writeFile): don't output alerts, caller
9175           handles this
9176
9177         * bufferlist.C:
9178         * lyx_cb.C: from above
9179
9180         * lyxfunc.C: allow to open non-existent files
9181
9182 2002-07-31  John Levon  <levon@movementarian.org>
9183
9184         * lyxserver.C: don't let incidental errors get
9185           in the way (errno)
9186
9187 2002-07-30  John Levon  <levon@movementarian.org>
9188
9189         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9190
9191 2002-07-30  John Levon  <levon@movementarian.org>
9192
9193         * lyxserver.h:
9194         * lyxserver.C: remove I/O callback too
9195
9196 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9199         log.
9200
9201 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9202
9203         * many files: strip,frontStrip -> trim,ltrim,rtrim
9204
9205 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * PrinterParams.h: remove extern containsOnly, and include
9208         support/lstrings.h instead.
9209
9210         * LaTeX.C (scanAuxFile): modify because of strip changes
9211         (deplog): ditto
9212         * buffer.C (makeLaTeXFile): ditto
9213         * bufferparams.C (writeFile): ditt
9214         * lyxfont.C (stateText): ditto
9215         * lyxserver.C (read_ready): ditto
9216         * vc-backend.C (scanMaster): ditto
9217
9218         * BufferView_pimpl.h: ws changes
9219
9220         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9221
9222 2002-07-26  André Pönitz <poenitz@gmx.net>
9223
9224         * kb_sequence.C: remove unnedred usings
9225
9226 2002-07-26  Juergen Vigna  <jug@sad.it>
9227
9228         * lyxfind.C (LyXReplace): we have to check better if the returned
9229         text is not of theLockingInset()->getLockingInset().
9230
9231 2002-07-25  Juergen Vigna  <jug@sad.it>
9232
9233         * lyxfind.C (LyXReplace): don't replace if we don't get the
9234         right LyXText.
9235
9236         * undo_funcs.C (createUndo): remove debugging code.
9237
9238 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9239
9240         * buffer.C (parseSingleLyXformat2Token): Use default placement
9241         when reading old floats.
9242
9243         * FloatList.C (FloatList): Change the default placement of figure
9244         and tables to "tbp".
9245
9246 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * MenuBackend.C: using std::max
9249
9250 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9251
9252         * MenuBackend.C (expandToc):
9253         (expandToc2): code moved from xforms menu frontend. It is now
9254         generic and TOCs are transparent to menu frontends.
9255
9256 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * toc.C (getTocList): protect against buf=0
9259
9260         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9261         Menu as first parameter. Now, this calls itself recursively to
9262         expand a whole tree (this will be useful for TOC handling)
9263         (expandFloatInsert): remove 'wide' version of floats
9264
9265         * MenuBackend.h (submenuname): returns the name of the submenu.
9266         (submenu): returns the submenu itself, provided it has been
9267         created by MenuBackend::expand
9268
9269 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9272         insets which have noFontChange == true. (bug #172)
9273
9274 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * BufferView_pimpl.C: add connection objects and use them...
9277         (Pimpl): here.
9278
9279 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9280
9281         * MenuBackend.C (expandLastfiles):
9282         (expandDocuments):
9283         (expandFormats):
9284         (expandFloatListInsert):
9285         (expandFloatInsert):
9286         (expand): split expand in parts
9287
9288 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lyx_gui.C: use lyx_gui::exit()
9291
9292 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9293
9294         * LyXAction.C: show the failing pseudo action
9295
9296 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9297
9298         * buffer.C (readFile): Run the lyxconvert script in order to read
9299         old files.
9300
9301 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * LyXAction.C:
9304         * commandtags.h:
9305         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9306
9307 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * LyXAction.C:
9310         * commandtags.h:
9311         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9312
9313 2002-07-22  Herbert Voss  <voss@lyx.org>
9314
9315         * lengthcommon.C:
9316         * lyxlength.[Ch]: add support for the vertical lengths
9317
9318 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * toc.[Ch]: std:: fixes
9321
9322 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * lyxrc.C: do not include lyx_main.h
9325
9326         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9327         for layouts
9328
9329         * lyxrc.C:
9330         * encoding.C:
9331         * bufferlist.C:
9332         * BufferView2.C: include "lyxlex.h"
9333
9334         * tabular.h:
9335         * bufferparams.h: do not #include "lyxlex.h"
9336
9337         * lyxtextclasslist.C (Add): remove method
9338         (classlist): renamed to classlist_
9339
9340         * paragraph_pimpl.C:
9341         * paragraph.C:
9342         * text2.C:
9343         * CutAndPaste.C:
9344         * bufferview_funcs.C:
9345         * bufferlist.C:
9346         * text.C:
9347         * LaTeXFeatures.C:
9348         * buffer.C:
9349         * toc.C (getTocList): use BufferParams::getLyXTextClass
9350
9351         * toc.C (getTocList): use InsetFloat::addToToc
9352
9353         * toc.[Ch]: new files, containing helper functions to handle table
9354         of contents
9355
9356         * lyxfunc.C (dispatch): no need to remove spaces around command
9357         given as a string
9358         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9359         first command of the sequence; it is not very clever, but I do not
9360         have a better idea, actually
9361
9362         * LyXAction.C (LookupFunc): make sure to remove space at the
9363         beginning and end of the command
9364
9365 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9366
9367         * MenuBackend.C (getMenubar): new method: return the menubar of
9368         this menu set
9369         (read): treat differently reading of menu and menubar (in
9370         particular, the menubar has no name now)
9371         (Menu::menubar): remove
9372
9373         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9374         saving is finished
9375
9376 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9377
9378         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9379         a bibitem inset in a RTL paragraph.
9380
9381 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * paragraph_pimpl.C: constify
9384
9385         * BufferView_pimpl.C:
9386         * LaTeX.C:
9387         * lyxfunc.C: fix dispatch in a nicer way
9388
9389 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9390
9391         * lyxfunc.C (dispatch):
9392         * BufferView_pimpl.C:
9393         * BufferView_pimpl.h:
9394         * BufferView.C:
9395         * BufferView.h: rename Dispatch() to dispatch()
9396
9397         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9398
9399         * lyxlayout.C (Read): honor DependsOn tag
9400
9401         * lyxlayout.[Ch] (depends_on): new method
9402
9403         * version.C.in: update lyx_docversion
9404
9405         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9406
9407         * paragraph.C (validate): remove from here...
9408         * paragraph_pimpl.C (validate): ... and move here
9409         (isTextAt): make it const
9410
9411         * buffer.C (getLists): ws cleanup
9412
9413 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9414
9415         * language.C (read): Use iso8859-1 encoding in latex_lang
9416         (this prevents LyX from crashing when using iso10646-1 encoding).
9417
9418 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9419
9420         * text2.C (toggleInset): if cursor is inside an inset, close the
9421         inset and leave cursor _after_ it
9422
9423 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * lyxfunc.C: move minibuffer completion handling out of here
9426
9427 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9428
9429         * BufferView_pimpl.C:
9430         * LaTeX.C: fix dispatch calls
9431
9432 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * text.C (drawChars): Fix Arabic text rendering.
9435
9436 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * LyXAction.C:
9439         * commandtags.h:
9440         * lyxfunc.C: remove message-push/pop
9441
9442         * lyxserver.C:
9443         * lyxfunc.h:
9444         * lyxfunc.C: rationalise some code by removing verboseDispatch
9445           in favour of a bool argument to dispatch()
9446
9447 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * lyx_main.C (init): make sure to read symlinks as absolute paths
9450
9451 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * lyxfunc.h:
9454         * lyxfunc.C: no need for commandshortcut to be a member
9455
9456 2002-07-15  André Pönitz <poenitz@gmx.net>
9457
9458         * converter.C: add support for $$s (scripts from lib/scripts dir)
9459         * lyx_main.C: white space
9460
9461 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * bufferlist.C:
9464         * lyxrc.h:
9465         * lyxrc.C: remove second exit confirmation
9466
9467 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * BufferView.h:
9470         * BufferView.C:
9471         * BufferView2.C:
9472         * BufferView_pimpl.h:
9473         * BufferView_pimpl.C:
9474         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9475
9476 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * MenuBackend.C (expand): add numeric shortcuts to document menu
9479
9480         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9481
9482 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * lyxfont.C (setLyXFamily):
9485         (setLyXSeries):
9486         (setLyXShape):
9487         (setLyXSize):
9488         (setLyXMisc):
9489         (lyxRead):
9490         * debug.C (value):
9491         * buffer.C (asciiParagraph): use ascii_lowercase
9492
9493 2002-07-15  Mike Fabian  <mfabian@suse.de>
9494
9495         * lyxlex_pimpl.C (search_kw):
9496         * lyxlex.C (getLongString):
9497         * converter.h (operator<):
9498         * converter.C (operator<):
9499         * buffer.C (parseSingleLyXformat2Token):
9500         (asciiParagraph):
9501         * ToolbarDefaults.C (read):
9502         * MenuBackend.C (checkShortcuts):
9503         (read):
9504         * LColor.C (getFromGUIName):
9505         (getFromLyXName): use the compare_ascii_no_case instead of
9506         compare_no_case, because in turkish, 'i' is not the lowercase
9507         version of 'I', and thus turkish locale breaks parsing of tags.
9508
9509 2002-07-16  Angus Leeming  <leeming@lyx.org>
9510
9511         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9512         now takes a Buffer const & argument.
9513
9514 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9515
9516         * BufferView.C (resize): check there's a buffer to resize
9517
9518 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * lyxfunc.C: remove dead code
9521
9522         * lyxserver.h:
9523         * lyxserver.C: use lyx_guii::set_read_callback
9524
9525 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9528         an inset in a RTL paragraph.
9529
9530 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * lyxfunc.C: repaint after a font size update
9533
9534 2002-07-15  André Pönitz <poenitz@gmx.net>
9535
9536         * lyxlength.C: inBP should be able to return negative values
9537
9538 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * lyxfunc.C: use lyx_gui::update_fonts()
9541
9542 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * lyxfunc.C: use lyx_gui::update_color()
9545
9546 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9547
9548         * bufferlist.C:
9549         * lyxfunc.h:
9550         * lyxfunc.C:
9551         * lyxrc.h:
9552         * lyxrc.C: remove file->new asks for name option, and let
9553           buffer-new take an argument
9554
9555 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * BufferView_pimpl.C: remove unneeded extra repaint()
9558
9559 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * LyXAction.C: allow command-sequence with NoBuffer
9562
9563         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9564
9565 2002-07-10  Angus Leeming  <leeming@lyx.org>
9566
9567         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9568
9569 2002-07-09  Angus Leeming  <leeming@lyx.org>
9570
9571         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9572
9573 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * lengthcommon.h: whitespace
9576
9577         * lyxfunc.C: update scrollbar after goto paragraph
9578
9579         * lyxtext.h: factor out page break drawing, and fix it so
9580           page break/added space paints as selected nicely
9581
9582 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * BufferView_pimpl.C: add FIXMEs, clean up a little
9585
9586 2002-07-09  André Pönitz <poenitz@gmx.net>
9587
9588         * lyxfont.[Ch]: support for wasy symbols
9589
9590 2002-07-08  André Pönitz <poenitz@gmx.net>
9591
9592         * BufferView_pimpl.C: apply John's patch for #93.
9593
9594 2002-07-05  Angus Leeming  <leeming@lyx.org>
9595
9596         * BufferView_pimpl.C (buffer): generate previews if desired.
9597
9598         * LColor.h: add "preview" to the color enum.
9599
9600         * LColor.C (LColor): add a corresponding entry to the items array.
9601
9602         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9603         with this buffer.
9604
9605 2002-07-05  Angus Leeming  <leeming@lyx.org>
9606
9607         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9608         The body of the code is now in the method that is passed an ostream &
9609         rather than a file name.
9610         Pass an additional only_preamble parameter, useful for the forthcoming
9611         preview stuff.
9612
9613 2002-07-03  André Pönitz <poenitz@gmx.net>
9614
9615         * lyxfunc.C: simplify getStatus() a bit for math stuff
9616
9617 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9620
9621 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * text.C (changeRegionCase): do not change case of all the
9624         document when region ends at paragraph end (bug #461)
9625
9626 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * paragraph.C (startTeXParParams):
9629         (endTeXParParams): add \protect when necessary
9630
9631 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * BufferView_pimpl.C (workAreaExpose): remove warning
9634
9635 2002-06-27  Angus Leeming  <leeming@lyx.org>
9636
9637         * Makefile.am: add lyxlayout_ptr_fwd.h.
9638
9639 2002-06-26  André Pönitz <poenitz@gmx.net>
9640
9641         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9642
9643 2002-06-25  Angus Leeming  <leeming@lyx.org>
9644
9645         * lyxfunc.C (dispatch): Comment out the call to
9646         grfx::GCache::changeDisplay. The method no longer exists now that the
9647         pixmap generation part of the graphics loader has been moved into
9648         InsetGraphics.
9649
9650 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * text2.C: layout as layout
9653
9654         * text.C: layout as layout
9655
9656         * tabular.C (OldFormatRead): layout as layout
9657
9658         * paragraph_pimpl.C (TeXDeeper): layout as layout
9659         (realizeFont): layout as layout
9660
9661         * paragraph.C (writeFile): layout as layout
9662         (validate): layout as layout
9663         (getFont): layout as layout
9664         (getLabelFont): layout as layout
9665         (getLayoutFont): layout as layout
9666         (breakParagraph): layout as layout
9667         (stripLeadingSpaces): layout as layout
9668         (getEndLabel): layout as layout
9669         (getMaxDepthAfter): layout as layout
9670         (applyLayout): layout as layout
9671         (TeXOnePar): layout as layout
9672         (simpleTeXOnePar): layout as layout
9673         (TeXEnvironment): layout as layout
9674         (layout): layout as layout
9675         (layout): layout as layout
9676
9677         * lyxtextclass.C (compare_name): new functor to work with
9678         shared_ptr, layout as layout
9679         (Read): layout as layout
9680         (hasLayout): layout as layout
9681         (operator): layout as layout
9682         (delete_layout): layout as layout
9683         (defaultLayout): layout as layout
9684
9685         * lyxlayout_ptr_fwd.h: new file
9686
9687         * lyxlayout.C (Read): layout as layout
9688
9689         * lyx_cb.C (MenuInsertLabel): layout as layout
9690
9691         * bufferlist.C (newFile): layout as layout
9692
9693         * buffer.C (readLyXformat2): layout as layout
9694         (parseSingleLyXformat2Token): layout as layout
9695         (insertStringAsLines): layout as layout
9696         (asciiParagraph): layout as layout
9697         (latexParagraphs): layout as layout
9698         (makeLinuxDocFile): layout as layout
9699         (simpleLinuxDocOnePar): layout as layout
9700         (makeDocBookFile): layout as layout
9701         (simpleDocBookOnePar): layout as layout
9702         (getLists): layout as layout
9703
9704         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9705
9706         * CutAndPaste.C (cutSelection): layout as layout
9707         (pasteSelection): layout as layout
9708         (SwitchLayoutsBetweenClasses): layout as layout
9709
9710         * BufferView_pimpl.C (Dispatch): layout as layout
9711         (smartQuote): layout as layout
9712
9713         * BufferView2.C (unlockInset): layout as layout
9714
9715 2002-06-24  André Pönitz <poenitz@gmx.net>
9716
9717         * lyxfunc.C: fix #487
9718
9719 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * lyxrc.h:
9722         * lyxrc.C:
9723         * lyxfunc.C: remove display_shortcuts, show_banner
9724
9725 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * Buffer_pimpl.C: oops, update on resize
9728
9729 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * buffer.C:
9732         * converter.C:
9733         * exporter.C:
9734         * lyxfunc.C:
9735         * BufferView.h:
9736         * BufferView.C: use repaint()
9737
9738         * BufferView_pimpl.h:
9739         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9740           as it's a clearer description. Remove superfluous
9741           redraws.
9742
9743 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * text.C: fix bug 488. Not ideal, but getting
9746           getWord() to work properly for the insets that
9747           matter is more difficult ...
9748
9749 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * BufferView_pimpl.C:
9752         * LyXAction.C:
9753         * commandtags.h:
9754         * lyxfunc.C: remove the six million index lyxfuncs to just
9755           one, and DTRT (bug 458)
9756
9757 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9758
9759         * BufferView.h:
9760         * BufferView.C:
9761         * BufferView_pimpl.h:
9762         * BufferView_pimpl.C: clean up resize() stuff,
9763           and unnecessary updateScreen()s
9764
9765 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * BufferView.h:
9768         * BufferView.C:
9769         * BufferView_pimpl.h:
9770         * BufferView_pimpl.C:
9771         * lyxfind.h:
9772         * lyxfind.C:
9773         * minibuffer.C: remove focus management of workarea,
9774           not needed. Use screen's greyOut()
9775
9776 2002-06-17  Herbert Voss  <voss@lyx.org>
9777
9778         * converter.C: (convert) do not post a message, when converting
9779         fails, let the calling function decide what to do in this case
9780
9781 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * lyxfunc.C: tidy up a little
9784
9785 2002-06-16    <alstrup@diku.dk>
9786
9787         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9788         Got rid of FORMS_H_LOCATION include. Now we are
9789         GUII.
9790
9791 2002-06-15  LyX Development team  <lyx@rilke>
9792
9793         * buffer.[Ch] (sgmlOpenTag):
9794         (sgmlCloseTag): Added support for avoiding pernicious mixed
9795         content. Return number of lines written.
9796
9797         (makeLinuxDocFile):
9798         (makeDocBookFile): Fixed calls to sgml*Tag.
9799         Simple white space clean.
9800
9801         (simpleDocBookOnePar): Simple white space clean.
9802
9803         * tabular.[Ch] (docBook): Renamed to docbook and got another
9804         argument to related with the pernicious mixed content.
9805
9806         (docbookRow): Fixed calls for docbook inset method.
9807
9808 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9809
9810         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9811         so it's X11 independent.
9812
9813         * kb*.[Ch]: ditto.
9814
9815         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9816
9817 2002-06-15  Lyx Development team  <lyx@electronia>
9818
9819         * intl.h: Renamed getTrans to getTransManager.
9820
9821 2002-06-14  Angus Leeming  <leeming@lyx.org>
9822
9823         * Makefile.am: nuke forgotten stl_string_fwd.h.
9824
9825 2002-06-12  Angus Leeming  <leeming@lyx.org>
9826
9827         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9828
9829 2002-06-13  Angus Leeming  <leeming@lyx.org>
9830
9831         * LaTeX.C:
9832         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9833
9834 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9835
9836         * kbmap.C (getiso): add support for cyrillic and greek
9837
9838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * BufferView.h:
9841         * BufferView.C:
9842         * BufferView_pimpl.h:
9843         * BufferView_pimpl.C: move bogus scrolling logic
9844           to xforms
9845
9846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * lyxfunc.C:
9849         * BufferView_pimpl.C: view->resize() change
9850
9851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView_pimpl.C: topCursorVisible
9854           prototype change
9855
9856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * Makefile.am:
9859         * lyx_gui.h:
9860         * lyx_gui.C: move to frontends/
9861
9862         * main.C:
9863         * lyx_main.h:
9864         * lyx_main.C: changes from above
9865
9866 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9867
9868         * intl.C:
9869         * intl.h:
9870         * kbmap.C:
9871         * kbsequence.C:
9872         * lyx_cb.C:
9873         * lyx_main.C: minor tidy
9874
9875 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * BufferView_pimpl.h:
9878         * BufferView_pimpl.C:
9879         * BufferView.h:
9880         * BufferView.C: make painter() const,
9881           remove dead code
9882
9883         * BufferView2.C: use screen() accessor
9884
9885         * lyx_main.h:
9886         * lyx_main.C: some minor cleanup
9887
9888 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * BufferView_pimpl.h:
9891         * BufferView_pimpl.C: remove enter/leaveView,
9892           use workHeight()
9893
9894 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView.h:
9897         * BufferView.C:
9898         * BufferView2.C:
9899         * BufferView_pimpl.h:
9900         * BufferView_pimpl.C: only construct screen once,
9901           rename
9902
9903         * lyxrc.C: remove pointless comment
9904
9905 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * BufferView.h:
9908         * BufferView.C: remove active() and belowMouse()
9909
9910         * BufferView_pimpl.h:
9911         * BufferView_pimpl.C: use workarea() not workarea_,
9912           and make it use a scoped_ptr instead
9913
9914 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * lyx_gui.C: add debug message on BadWindow
9917
9918 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * sp_spell.C: fdopen is not part of the C++ standard.
9921
9922         * paragraph.C (InsetIterator): use >= instead of ==
9923
9924 2002-06-07  Angus Leeming  <leeming@lyx.org>
9925
9926         Fixes needed to compile with Compaq cxx 6.5.
9927         * BufferView_pimpl.C:
9928         * DepTable.C:
9929         * buffer.C:
9930         * converter.C:
9931         * encoding.C:
9932         * lyx_gui.C:
9933         * lyx_main.C:
9934         * lyxtextclasslist.C:
9935         * minibuffer.C:
9936         * sp_spell.C:
9937         * tabular_funcs.C:
9938         * vc-backend.C:
9939         all c-library variables have been moved into namespace std. Wrap
9940         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9941
9942         * lyxlength.C:
9943         * tabular-old.C:
9944         * tabular.C:
9945         Add a using std::abs declaration.
9946
9947         * kbmap.h (modifier_pair):
9948         * paragraph.h (InsetTable, InsetList):
9949         * lyxfont.h (FontBits):
9950         type definition made public.
9951
9952         * bufferlist.C (emergencyWriteAll): the compiler complains that
9953         there is more than one possible lyx::class_fun template to choose from.
9954         I re-named the void specialisation as lyx::void_class_fun.
9955
9956         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9957
9958         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9959         the compiler is is unable to find tostr in write_attribute.
9960
9961 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * buffer.C (sgmlError): hide #warning
9964
9965 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * xtl/*: get rid of xtl, which is not in use anyway
9968
9969         * LyXAction.C (init):
9970         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9971         were unimplemented xtl experimentation
9972
9973 2002-06-04  André Pönitz <poenitz@gmx.net>
9974
9975         * lyxfunc.C: disable array operation on simple formulae
9976
9977 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9978
9979         * converter.C: constify a bit
9980
9981 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * lyx_gui.C: check xforms version correctly
9984
9985 2002-04-30  Herbert Voss  <voss@lyx.org>
9986
9987         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9988         "keep" option
9989
9990 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9991
9992         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9993           attempt to register it with a VCS)
9994
9995 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyx_main.C (init): honor variables LYX_DIR_13x and
9998         LYX_USERDIR_13x
9999
10000 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * buffer.h:
10003         * buffer.C:
10004         * lyx_main.C: fix a crash on bad command line,
10005           and give a useful exit status on error
10006
10007         * lyxfunc.C (doImport): allow -i lyx to work
10008
10009 2002-03-30  André Pönitz <poenitz@gmx.net>
10010
10011         * lyxfunc.C: mathed font changes
10012
10013 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * LaTeX.C:
10016         * importer.h:
10017         * importer.C:
10018         * lyx_sty.h:
10019         * lyx_sty.C:
10020         * lyxlex.C:
10021         * lyxrow.h:
10022         * lyxtext.h:
10023         * paragraph.h:
10024         * paragraph.C:
10025         * texrow.h:
10026         * texrow.C:
10027         * text.C:
10028         * trans_mgr.h: srcdocs, and some minor cleanups
10029
10030 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10031
10032         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10033         call getFont all the time)
10034
10035 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10036
10037         * switch from SigC signals to boost::signals
10038
10039 2002-05-29  André Pönitz <poenitz@gmx.net>
10040
10041         * paragraph_pimpl.C (getChar): don't call size() too often...
10042
10043 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * paragraph_pimpl.C (insertChar): do not try to update tables when
10046         appending (pos == size())
10047
10048         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10049         in order to reduce drastically the number of comparisons needed to
10050         parse a large document
10051
10052 2002-05-29  André Pönitz <poenitz@gmx.net>
10053
10054         * text.C:
10055         * text2.C:
10056         * lyxtextclass.C:
10057         * sp_pspell.h:
10058         * textclasslist.[Ch]:
10059         * sp_ispell.h: whitespace change
10060
10061 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10064         lyxaction directly now.
10065
10066 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * trans.C:
10069         * lyxfont.C:
10070         * lyxvc.C: remove unused headers
10071
10072 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * Makefile.am:
10075         * buffer.h:
10076         * undostack.h:
10077         * undostack.C:
10078         * undo_funcs.h:
10079         * undo_funcs.C: some cleanups. Use shared_ptr
10080           and a template for the undo stacks.
10081
10082 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * BufferView_pimpl.h:
10085         * BufferView_pimpl.C:
10086         * kbmap.h:
10087         * kbmap.C:
10088         * kbsequence.h:
10089         * kbsequence.C:
10090         * lyxfunc.h:
10091         * lyxfunc.C:
10092         * text2.C: use key_state/mouse_state
10093
10094 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10095
10096         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10097         and LSubstring
10098
10099         * chset.C: change include order
10100         (loadFile): use boost regex and get rid of LRegex and LSubstring
10101
10102         * Makefile.am (BOOST_LIBS): new variable
10103         (lyx_LDADD): use it
10104
10105         * LaTeX.C: change include order.
10106         (scanAuxFile): use boost regex and get rid of LRegex and
10107         LSubstring
10108         (deplog): ditto
10109
10110 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * ColorHandler.h:
10113         * ColorHandler.C:
10114         * FontInfo.h:
10115         * FontInfo.C: moved to frontends/xforms/
10116
10117         * FontLoader.h:
10118         * FontLoader.C: moved into frontends for GUIIzation
10119
10120         * Makefile.am:
10121         * lyx_gui.C:
10122         * lyxfont.C:
10123         * lyxfunc.C: changes from above
10124
10125 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * LColor.C: remove spurious X include
10128
10129         * BufferView_pimpl.C:
10130         * Makefile.am:
10131         * font.h:
10132         * font.C:
10133         * text.C:
10134         * text2.C: move font metrics to frontends/
10135
10136 2002-05-24  Juergen Vigna  <jug@sad.it>
10137
10138         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10139         setting the undo_cursor.
10140
10141         * ParagraphParameters.h: include local includes first.
10142
10143 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * BufferView_pimpl.C:
10146         * BufferView_pimpl.h:
10147         * Makefile.am:
10148         * WorkArea.h:
10149         * WorkArea.C:
10150         * screen.C: move WorkArea into frontends/
10151
10152         * lyxscreen.h:
10153         * screen.C:
10154         * text.C:
10155         * BufferView.C:
10156         * BufferView2.C: move LyXScreen into frontends/
10157
10158         * lyxlookup.h:
10159         * lyxlookup.C:
10160         * lyx_gui.C: move lyxlookup into frontends/xforms/
10161
10162 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * BufferView2.C:
10165         * BufferView_pimpl.C:
10166         * FontLoader.C:
10167         * LyXView.h:
10168         * LyXView.C:
10169         * Makefile.am:
10170         * WorkArea.C:
10171         * XFormsView.h:
10172         * XFormsView.C:
10173         * buffer.C:
10174         * bufferlist.C:
10175         * bufferview_funcs.C:
10176         * converter.C:
10177         * importer.C:
10178         * lyx_cb.C:
10179         * lyx_gui.C:
10180         * lyx_main.C:
10181         * lyx_find.C:
10182         * lyxfunc.C:
10183         * lyxvc.C:
10184         * minibuffer.C:
10185         * text.C:
10186         * text2.C:
10187         * trans.C:
10188         * vc-backend.C: move LyX/XFormsView into frontends/
10189
10190 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * Makefile.am:
10193         * PainterBase.C:
10194         * PainterBase.h:
10195         * Painter.C:
10196         * Painter.h:
10197         * WorkArea.C:
10198         * WorkArea.h:
10199         * screen.C:
10200         * tabular.C:
10201         * text.C:
10202         * text2.C: move Painter to frontends/
10203
10204 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * buffer.C: comment out some some code that depend upon lyx_format
10207         < 220
10208
10209         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10210         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10211
10212         * buffer.h (NO_COMPABILITY): turn off compability
10213
10214         * ColorHandler.C: include scoped_array.hpp
10215
10216         * font.C: Use more specific smart_ptr header.
10217         * Painter.C: ditto
10218         * gettext.C: ditto
10219         * ShareContainer.h: ditto
10220         * lyx_main.h: ditto
10221         * kbmap.h: ditto
10222         * FontInfo.h: ditto
10223         * BufferView_pimpl.h: ditto
10224         * ColorHandler.h: ditto
10225
10226         * kbmap.C (defkey): change call to shared_ptr::reset
10227
10228 2002-05-21  Juergen Vigna  <jug@sad.it>
10229
10230         * buffer.C (insertErtContents): fix to insert ert asis if it is
10231         non empty. Skip it completely if it contains only whitespaces.
10232
10233 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * BufferView_pimpl.C:
10236         * BufferView2.C: clear selection on paste (bug 393)
10237
10238 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10239
10240         * DepTable.C: include ctime
10241
10242 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10243
10244         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10245
10246 2002-05-14  Juergen Vigna  <jug@sad.it>
10247
10248         * text.C (breakParagraph): fixed function to honor the keepempty
10249         layout in the right maner and also to permit the right breaking
10250         algorithm on empty or non empyt keepempty paragraphs.
10251
10252         * paragraph.C (breakParagraph): we have to check also if the par
10253         is really empty (!size()) for isempty otherwise we do the wrong
10254         paragraph break.
10255
10256 2002-05-10  Juergen Vigna  <jug@sad.it>
10257
10258         * buffer.[Ch] : The following are only changes to the ert
10259         compatibility read reading old LaTeX layout and font stuff and
10260         convert it to ERTInsets.
10261
10262         * buffer.h: added isErtInset().
10263
10264         * buffer.C (struct ErtComp): add a fromlayout bool to check
10265         if we're inside a LaTeX layout.
10266         (isErtInset): new helper function.
10267         (insertErtContents): look for other ert insets before this one
10268         and insert the contents there, so that we don't have subsequent
10269         ERT insets with nothing between them. This way we create only one
10270         inset with multiple paragraphs. Also check if we don't insert only
10271         spaces ' ' as they are ignored anyway afterwards in the .tex file
10272         so if we have only spaces we will ignore this latex part in the
10273         new file.
10274         (parseSingleLyXformat2Token \\layout): better compatibility when
10275         reading layout-latex stuff.
10276         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10277         language tag.
10278         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10279         stuff after reading the inset only get the information back from
10280         the stack.
10281
10282 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10283
10284         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10285
10286         * LaTeXFeatures.C (getBabelOptions): New method.
10287
10288 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * BufferView_pimpl.C (Dispatch): work around missing argument for
10291         'layout'
10292
10293 2002-05-08  Juergen Vigna  <jug@sad.it>
10294
10295         * text.C (leftMargin): handle paragraph leftindent.
10296
10297         * paragraph.C (writeFile): write the new \\leftindent tag.
10298         (validate): handle leftindent code.
10299         (TeXEnvironment): handle paragraphleftindent code again.
10300
10301         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10302
10303         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10304         for paragrap_extra indent code and new token \\leftindent.
10305         (latexParagraphs): handle the leftindent as environment.
10306
10307         * ParameterStruct.h: added leftindent support.
10308
10309         * ParagraphParameters.C (leftIndent): added support functions for
10310         the paragraph left indent.
10311
10312         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10313         more appropriate.
10314
10315 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10316
10317         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10318         inside insetERT.
10319
10320         * text.C (computeBidiTables): No bidi in insetERT.
10321
10322         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10323         in RTL documents.
10324
10325 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * version.C.in: pre 5
10328
10329 2002-05-02  José Matos  <jamatos@fep.up.pt>
10330         * buffer.C (makeDocBookFile): white space changes, add newline to
10331         command styles.
10332         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10333
10334         * tabular.C (docBook): fix typo.
10335
10336 2002-05-03  Juergen Vigna  <jug@sad.it>
10337
10338         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10339         change in LyXText as we can not be sure it was not freed.
10340         (drawOneRow): remove unused code.
10341
10342         * text.C (drawInset): redo the calculation of the need_break_row as
10343         it could have a row which was already freed.
10344         (draw): look at the return value of drawInset and return false if
10345         it also returned false.
10346         (paintRowText): look at the return value of draw and return false if
10347         it also returned false.
10348
10349         * lyxtext.h: added bool return type to drawInset() and draw() so that
10350         if we have a change in the row so that the rowbreak has to be redone
10351         we abort drawing as it will be called again.
10352
10353 2002-05-02  Juergen Vigna  <jug@sad.it>
10354
10355         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10356         a change in the maintext also if we're inside an inset.
10357         (Dispatch): set the cursor again after a break line and after the
10358         screen has been updated as it could be we're in a different row.
10359
10360         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10361         to set the cursor behind the pargraph with > size().
10362         (setCursor): check also for the same paragraph when checking where
10363         to put the cursor if we have a NFR inset.
10364
10365         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10366         parts of layout read further up as it still was in the wrong
10367         position.
10368
10369 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10370
10371         * screen.C (drawFromTo): change sine fullRebreak always return
10372         true.
10373
10374         * buffer.C (parseSingleLyXformat2Token): reindent some
10375
10376         * BufferView_pimpl.C (update): change since fullRebreak always
10377         return true.
10378         (Dispatch): git rid of the last hardcoded "Standard"s.
10379
10380 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * text2.[Ch] (fullRebreak): make it return void now that we always
10383         returned true.
10384
10385 2002-04-30  Juergen Vigna  <jug@sad.it>
10386
10387         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10388         ert compatibility check for "latex" layout.
10389
10390 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10391
10392         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10393         minipages: use col% instead of p%, and also use the current font.
10394         (makeLaTeXFile): Fix use babel condition.
10395         (parseSingleLyXformat2Token): Correct font when reading old floats.
10396
10397 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10398
10399         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10400         inserting list of floats.
10401
10402 2002-04-25  Herbert Voss  <voss@lyx.org>
10403
10404         * MenuBackend.C (expand): don't add the graphics extensions to the
10405         export menu
10406
10407 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10408
10409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10410         non-existing layout, do not complain if it was the default layout
10411         of the original class (bug #342)
10412
10413 2002-04-24  Juergen Vigna  <jug@sad.it>
10414
10415         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10416         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10417
10418 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10419
10420         * buffer.C (getBibkeyList): If using \bibliography, return the
10421         option field with the reference itself. Enables us to provide natbib
10422         support when using \bibliography.
10423
10424 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10425
10426         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10427
10428         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10429         natbib is provided by the LaTeX class.
10430
10431 2002-04-23  Juergen Vigna  <jug@sad.it>
10432
10433         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10434         Wakeup functions.
10435
10436         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10437
10438 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10441
10442         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10443         ensuremath around textordmasculine, textordfeminine and
10444         textdegree.
10445
10446 2002-04-19  Juergen Vigna  <jug@sad.it>
10447
10448         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10449         reinitializing the buffer otherwise row-dimensions may be wrong.
10450         (update): reset also the selection cursors if they do exits otherwise
10451         their x/y positions may be wrong.
10452
10453         * text2.C (cursorDown): don't enter the inset if we came from a row
10454         above and are one row over the inset.
10455
10456         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10457         really leaving an inset.
10458
10459 2002-04-18  Juergen Vigna  <jug@sad.it>
10460
10461         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10462         of the selected paragraph does not have the selected layout also if
10463         the last one had!
10464
10465         * text2.C (setLayout): fixed bug which did not change last selected
10466         paragraph.
10467
10468         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10469         changed the read and substituted \\end_float with \\end_inset!
10470
10471         * BufferView_pimpl.C (cursorPrevious):
10472         (cursorNext): fixed to make it work with rows heigher than the work
10473         area without moving the cursor only the draw of the row.
10474         (workAreaMotionNotify): fix jumping over high rows.
10475
10476 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10477
10478         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10479         Ressler.
10480
10481 2002-04-16  Juergen Vigna  <jug@sad.it>
10482
10483         * text2.C (setCursor): set also the irow().
10484         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10485         (cursorUp):
10486         (cursorDown): support for locking an inset if the x_fix value goes
10487         inside it. That way I can transverse insets too with cursor up/down.
10488
10489         * lyxrow.h: added irow helper function same as other (i) functions.
10490
10491         * BufferView_pimpl.C (cursorPrevious):
10492         (cursorNext): fixed for insets!
10493
10494 2002-04-15  Juergen Vigna  <jug@sad.it>
10495
10496         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10497         position otherwise it is wrong in some cases.
10498
10499         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10500         inside the inset before the call.
10501
10502 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * buffer.[Ch] (getBibkeyList): make it const.
10505
10506 2002-04-12  Juergen Vigna  <jug@sad.it>
10507
10508         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10509
10510         * text2.C (getCursorX): new helper function
10511         (setCursor): compute also ix_
10512         (setCursorFromCoordinates): set also ix.
10513
10514         * lyxcursor.h: added ix_ and helper functions.
10515
10516         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10517
10518         * buffer.C (insertStringAsLines): dont break paragraph if the this
10519         paragraph is inside an inset which does not permit it!
10520
10521         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10522         also with no chars on this paragraph.
10523         (paintRowText): only paint stuff if it's inside the workarea!
10524
10525         * paragraph.C (breakParagraph): honor keepempty flag and break the
10526         paragraph always below not above.
10527
10528         * BufferView2.C (unlockInset): update the paragraph layout on inset
10529         unlock as we changed paragraph in such a case.
10530
10531         * lyxfind.C (LyXFind): clear the former selection if not found!
10532
10533         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10534         again called in insertChar().
10535
10536         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10537         an inset which uses the whole row!
10538         (rightMargin): ditto.
10539         (insertChar): force a rebreak if we inserted an inset!
10540
10541 2002-03-28  Herbert Voss  <voss@lyx.org>
10542
10543         * lyxlength.[Ch]: add inBP() to get the right PS-point
10544         units (BigPoint). With inPixels we have rounding errors
10545
10546 2002-04-11  Juergen Vigna  <jug@sad.it>
10547
10548         * text2.C (setCursorFromCoordinates): set iy to the right value.
10549         (setCursor): add check if row->previous exists!
10550
10551         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10552         an old float_type as this was the case in the old code!
10553
10554         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10555
10556         * BufferView2.C (showLockedInsetCursor): use iy
10557         (fitLockedInsetCursor): ditto
10558
10559         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10560         locked insets as there we have the right value now.
10561
10562         * lyxcursor.C: added iy_ variable and iy functions to set to the
10563         baseline of cursor-y of the locked inset.
10564
10565         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10566         (setCursor): fixed for insets which need a full row.
10567
10568         * text.C (rowLastPrintable): don't ignore the last space when before
10569         an inset which needs a full row.
10570         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10571         as last character of a row when before a inset which needs a full row.
10572
10573 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * version.C.in: update date
10576
10577         * text2.C (fullRebreak): try to always return true and see what
10578         happens...
10579
10580 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * MenuBackend.C (expand): use Floating::listName
10583
10584         * FloatList.C (FloatList): add listName argument to the built-in
10585         floats
10586
10587         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10588         text associated with the float.
10589
10590 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10593
10594 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10595
10596         * ShareContainer.h: add a couple of missing typenames.
10597
10598 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10599
10600         * lyxrc.C (getDescription): use _() correctly rather than N_().
10601
10602 2002-03-28  Herbert Voss  <voss@lyx.org>
10603
10604         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10605         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10606
10607 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10610         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10611
10612 2002-03-29  Juergen Vigna  <jug@sad.it>
10613
10614         * lyxfunc.C (dispatch): add a missing fitCursor call.
10615
10616         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10617         it was scrolled by a cursor move, so return the bool status.
10618
10619         * BufferView.C (fitCursor): return the bool flag also to the outside
10620         world as this is needed.
10621
10622         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10623
10624         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10625         call the edit() as it is not needed (and wrong) IMO.
10626         (workAreaButtonPress): set the screen_first variable before evt.
10627         unlock the inset as this may change screen_first and then we have
10628         a wrong y position for the click!
10629
10630 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * MenuBackend.C (expand): another translation that I missed
10633
10634 2002-03-28  Juergen Vigna  <jug@sad.it>
10635
10636         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10637
10638         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10639
10640 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10643
10644         * MenuBackend.C (expand): fix export/view/update when there is no
10645         document open.
10646
10647 2002-03-27  Herbert Voss  <voss@lyx.org>
10648
10649         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10650         and text%
10651
10652 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10653
10654         * bufferview_funcs.C (currentState): only show paragraph number
10655         for is DEVEL_VERSION is set.
10656
10657         * lyxfunc.C (dispatch): put warning in INFO channel
10658
10659         * MenuBackend.C (expand): translate the name of floats
10660
10661         * FloatList.C (FloatList): mark the float names for translation
10662
10663         * converter.C (convert): use LibScriptSearch
10664
10665 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * MenuBackend.C (defaults): fix default menu (we might as well get
10668         rid of it...)
10669
10670 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10673         directory.
10674
10675 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10676
10677         * lyxvc.C: reorder includes.
10678
10679 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10682           properly
10683
10684 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * CutAndPaste.C: change layouts earlier on paste
10687           to avoid crashing when calling getFont()
10688
10689 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10690
10691         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10692         irritating #error.
10693
10694 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * WorkArea.C: remove 'Pending' debug message.
10697
10698         * most files: ws cleanup
10699
10700         * buffer.[Ch]: ws changes
10701
10702         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10703
10704 2002-03-21  Juergen Vigna  <jug@sad.it>
10705
10706         * tabular.C (SetMultiColumn): collapse also the contents of the
10707         cells and set the last border right. Added a Buffer const * param.
10708
10709 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10712         linking or not.
10713
10714 2002-03-19  Juergen Vigna  <jug@sad.it>
10715
10716         * text2.C (clearSelection): reset also xsel_cache.
10717
10718         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10719         where it needs to be called (John tells us to do so too :)
10720         (selectionLost): reset sel_cache.
10721
10722         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10723
10724 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * text2.C (setCursorIntern): put debuging code in INSETS channel
10727
10728 2002-03-19  André Pönitz <poenitz@gmx.net>
10729
10730         * lyxfunc.C: tiny whitespace change
10731
10732 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10733
10734         * ToolbarDefaults.C (init):
10735         * LyXAction.C (init):
10736         * commandtags.h:
10737         * BufferView_pimpl.C (Dispatch):
10738         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10739
10740 2002-03-19  Allan Rae  <rae@lyx.org>
10741
10742         * exporter.C (Export): removeAutoInsets before doing anything else.
10743         While I've just introduced a dependency on BufferView this really is
10744         the best place to clean the buffer otherwise you need to cleanup in
10745         a dozen places before calling export or cleanup in a dozen functions
10746         that export calls.
10747
10748         * converter.C (runLaTeX):
10749         (scanLog): Better handling of removeAutoInsets and screen updates.
10750
10751         * lyxfunc.C (dispatch): small whitespace changes
10752
10753 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * WorkArea.C (C_WorkAreaEvent): return a value.
10756         (event_cb): return 1 if we handled the event, 0 otherwise.
10757
10758         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10759
10760 2002-03-18  Juergen Vigna  <jug@sad.it>
10761
10762         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10763         (GetAdditionalWidth): ditto.
10764         (RightLine): ditto.
10765         (LeftLine): ditto.
10766
10767         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10768         inset if we're there actually (probably not used right now but this
10769         is the direction to go for unifying code).
10770         (paste): disable code to clear the selection.
10771
10772         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10773         inside an InsetText and move the check further up as it is in the
10774         wrong place.
10775
10776         * text2.C (pasteSelection): set a selection over the pasted text.
10777
10778 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10779
10780         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10781         and libgraphics to build on Cygwin.
10782
10783 2002-03-15  Juergen Vigna  <jug@sad.it>
10784
10785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10786         inserting an Inset into the paragraph. I know this is not the best
10787         fix but we already use current_view in CutAndPaste so we will remove
10788         all of it's using at the same time.
10789
10790         * buffer.C (sgmlError): deactivated function till it is rewritten in
10791         the right mode, now it can create problems.
10792
10793         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10794         before accessing it.
10795
10796 2002-03-14  Juergen Vigna  <jug@sad.it>
10797
10798         * undo_funcs.C (textHandleUndo): do the right thing when updating
10799         the inset after the undo/redo.
10800
10801         * text2.C (setCursor): just some testcode for #44 not ready yet.
10802
10803         * undo_funcs.C (textHandleUndo): set the next() and previous()
10804         pointers of the paragraph to 0 before deleting otherwise we have
10805         problems with the Paragraph::[destructor].
10806
10807         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10808         on a paragraph insertion.
10809
10810 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10811
10812         * buffer.C (asciiParagraph): use += operator for char append to
10813         string.
10814
10815         * paragraph.C (getFontSettings): compare >= not just >
10816         (highestFontInRange): ditto
10817         (setFont): ditto
10818
10819 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10820
10821         * paragraph.C: change several algorithm to be more appripriate for
10822         the problem domain. This is lookip in FontList and in the InsetList.
10823
10824 2002-03-13  André Pönitz <poenitz@gmx.net>
10825
10826         * commandtags.h:
10827         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10828
10829 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10830
10831         * commandtags.h:
10832         * LyXAction.C:
10833         * lyxfunc.C:
10834         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10835
10836 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * Painter.C (display): anon helper function, adjust code for this
10839         change.
10840         (pixmap): remove function.
10841
10842         * Painter.h: remove private display variable.
10843
10844         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10845
10846 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10847
10848         * WorkArea.[Ch]: remove figinset_canvas cruft.
10849
10850 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * lyxtextclass.C (operator): add one item cache optimization.
10853
10854         * bufferlist.h: doxy changes
10855
10856         * bufferlist.C: ws changes
10857
10858         * DepTable.[Ch] (ext_exist): place const in the right spot.
10859
10860         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10861         call resizeInsets.
10862         (workAreaExpose): call resizeInsets when the with BufferView changes.
10863         (Dispatch): adjust for protectedBlank removal
10864         (specialChar): call updateInset if the insert went ok.
10865
10866         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10867         specialChar instead.
10868
10869         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10870
10871         * BufferView.h: doxy change
10872
10873         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10874
10875         * lyxtextclass.C (operator[]): remove non-const version
10876         (defaultLayout): remove non-const version
10877
10878 2002-03-12  Juergen Vigna  <jug@sad.it>
10879
10880         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10881         did resize the LyXText too.
10882
10883         * buffer.C (readLyXformat2): set layout information on newly allocated
10884         paragraphs.
10885
10886         * tabular.C (OldFormatRead): set layout information on the paragraph.
10887
10888 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10889
10890         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10891
10892 2002-03-11  Juergen Vigna  <jug@sad.it>
10893
10894         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10895         plainly wrong.
10896         (resizeCurrentBuffer): force also the insets to resize themselfes.
10897         (moveCursorUpdate): fixed up for InsetText.
10898
10899 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10900
10901         * commandtags.h:
10902         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10903         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10904         value of Dialogs::tooltipsEnabled().
10905         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10906
10907 2002-03-08  Juergen Vigna  <jug@sad.it>
10908
10909         * BufferView_pimpl.C (updateInset): update inset inside inset also
10910         if it isn't inside theLockingInset().
10911
10912 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10913
10914         * buffer.C (asciiParagraph): redo some of the word and line length
10915         handling.
10916         (getLists): look for Caption instead of caption.
10917
10918 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * buffer.C (Buffer): initialize niceFile to true
10921         (makeLaTeXFile):
10922         (makeLinuxDocFile):
10923         (makeDocBookFile): make sure niceFile is true on exit
10924
10925 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10926
10927         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10928
10929 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * LyXSendto.C: remove.
10932         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10933         * lyx_gui.C: remove now-redundant comment.
10934         * ColorHandler.h: remove forward declaration of class WorkArea.
10935         * lyxfunc.C: remove #include "WorkArea.h".
10936
10937 2002-03-07  Juergen Vigna  <jug@sad.it>
10938
10939         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10940         got moved away with the DEPM and also set the inset_owner always
10941         right which before could have been omitted.
10942
10943 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10946         wanted layout is not found.
10947
10948 2002-03-07  Juergen Vigna  <jug@sad.it>
10949
10950         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10951
10952 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * paragraph.C (breakParagraph): use default layout not layout of
10955         prev paragraph.
10956         (Paragraph): clear ParagraphParameters.
10957
10958 2002-03-06  Juergen Vigna  <jug@sad.it>
10959
10960         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10961         otherwise it would not be a valid lenght. Fixed a special case in
10962         the minipage compatibility read where we end the document with a
10963         minipage.
10964
10965         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10966         was set as it could be 0 for InsetTexts first entry.
10967
10968 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * paragraph.C (writeFile): if layout is empty write out
10971         defaultLayoutName().
10972
10973         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10974         file without named layout we set layout to defaultLayoutName().
10975
10976 2002-03-06  Juergen Vigna  <jug@sad.it>
10977
10978         * CutAndPaste.C (copySelection): set layout for new paragraph.
10979
10980         * text.C (prepareToPrint): leave ERT inset left aligned
10981         (leftMargin): don't indent paragraphs inside ERT insets
10982
10983 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * paragraph.C (breakParagraph): dont call clear do the work manually
10986
10987         * paragraph.[Ch] (clear): remove function
10988
10989 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * paragraph.C (Paragraph): dont call clear, the work has already
10992         been done.
10993
10994         * lyxtextclass.C (operator): assert if n is empty
10995
10996         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10997         work manually instead.
10998
10999 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * BufferView_pimpl.C: protect selectionLost against text == 0
11002
11003 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11004
11005         * text.C (breakParagraph): fix a setting layout to '0' problem.
11006
11007 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11008
11009         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11010         final location of file, for the included files, and graphics.
11011
11012 2002-03-05  Juergen Vigna  <jug@sad.it>
11013
11014         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11015
11016 2002-03-04  Juergen Vigna  <jug@sad.it>
11017
11018         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11019
11020         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11021         last column of multicolumn cells.
11022         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11023
11024 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11025
11026         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11027         file if it doesn't go to a temporary file.
11028
11029         * buffer.C (sgmlOpenTag):
11030         (sgmlCloseTag):  remove extra newline insertion.
11031
11032 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * text.C (getRowNearY): comment out debug msg
11035
11036 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * text2.C: first -> first_y
11039
11040         * text.C (getRowNearY): add some attemts at a possible
11041         optimization, not working.
11042
11043         * tabular.[Ch]: add BufferParams to several function so that newly
11044         created paragraph can be initialized to he default layotu for the
11045         buffers textclass.
11046
11047         * tabular-old.C (ReadOld): add buf->params to call of Init
11048
11049         * screen.C: rename text->first to text->first_y
11050
11051         * paragraph.C (breakParagraph): always set layout in the broken
11052         paragraph
11053
11054         * lyxtextclass.C (Read): remove lowercase
11055         (hasLayout): ditto
11056         (operator): ditto
11057         (delete_layout): ditto
11058
11059         * lyxtext.h: rename first -> first_y
11060
11061         * lyxlayout.C (Read): remove lowercase
11062         (name): ditto
11063         (setName): ditto
11064         (obsoleted_by): ditto
11065
11066         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11067
11068         * buffer.C (insertErtContents): add params are to InsetERT
11069         (parseSingleLyXformat2Token): add code to check if a paragraphs
11070         layout really exist.
11071         (parseSingleLyXformat2Token): add params to several inset
11072         constructors
11073         (asciiParagraph): remove lowercase, do the layout comparisons with
11074         no_case
11075
11076         * BufferView_pimpl.C (cursorNext): first -> first_y
11077         (resizeCurrentBuffer): first -> first_y
11078         (updateScrollbar): first -> first_y
11079         (scrollCB): first -> first_y
11080         (workAreaMotionNotify): first -> first_y
11081         (workAreaButtonPress): first -> first_y
11082         (checkInsetHit): first -> first_y
11083         (cursorPrevious): first -> first_y
11084         (cursorNext): first -> first_y
11085         (Dispatch): add buffer_->params to severl inset contructors
11086
11087 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * lyxlayout.C (Read): remove some debug info that I forgot.
11090
11091         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11092         clean up the code slightly.
11093         (makeLinuxDocFile): ditto
11094         (makeDocBookFile): ditto
11095
11096         * text2.C: layout as string
11097
11098         * text.C: layout as string
11099
11100         * paragraph_pimpl.C: layout as string
11101
11102         * paragraph.[Ch]: layout as string
11103
11104         * lyxtextclasslist.[Ch]: layout as string
11105
11106         * lyxtextclass.[Ch]: layout as string
11107
11108         * lyxtext.h: layout as string
11109
11110         * lyxlayout.[Ch]: layout as string
11111
11112         * lyx_cb.C: layout as string
11113
11114         * bufferview_funcs.C: layout as string
11115
11116         * bufferparams.C: layout as string
11117
11118         * buffer.C: layout as string
11119
11120         * LyXView.[Ch]: layout as string
11121
11122         * LaTeXFeatures.[Ch]: layout as string
11123
11124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11125
11126         * BufferView_pimpl.C: change current_layout to string, remove
11127         lyx::layout_type.
11128         (Dispatch):
11129         (smartQuote):
11130         (insertInset):
11131         (workAreaButtonRelease): layout as string
11132
11133         * BufferView2.C (unlockInset): adjust
11134
11135         * vspace.C (asLatexCommand): use an explict temp variable.
11136
11137 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * Makefile.am: use FRONTEND_*
11140
11141 2002-03-01  Juergen Vigna  <jug@sad.it>
11142
11143         * tabular.C (SetWidthOfMulticolCell): changed to something better
11144         I hope but still work in progress.
11145         (recalculateMulticolumnsOfColumn): renamed function from
11146         recalculateMulticolCells as it is more appropriate now.
11147         (SetWidthOfCell): calculate multicols better.
11148
11149 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11152
11153         * lyxfunc.C (processKeySym): print sequence also if it is
11154         `deleted' (complete)
11155
11156         * kbsequence.C (print): print sequence even if it is deleted
11157         (complete would be a better word, actually).
11158
11159         * lyxfunc.C (dispatch): print complete options after a prefix key
11160
11161         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11162
11163 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11164
11165         * text2.C (setCharFont): eliminate setCharFont code duplication.
11166
11167 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11170         LFUN_TABULAR_FEATURE (bug #177)
11171
11172 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11173
11174         * Makefile.am: remove figure.h
11175
11176 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11177
11178         * Bufferview_pimpl.C:
11179         * CutAndPasteC:
11180         * LaTeX.C:
11181         * LyXSendto.C:
11182         * buffer.C:
11183         * bufferlist.C:
11184         * converter.C:
11185         * language.C:
11186         * lyxfunc.C:
11187         * lyxvc.C:
11188         * paragraph.C:
11189         * text.C:
11190         * text2.C: remove #include "lyx_gui_misc.h".
11191
11192         * LaTeX.C: added #include <cstdio>
11193
11194 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11197         that the paragraph following this one can have.
11198
11199         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11200
11201         * vspace.C (asLatexCommand): fix bogus gcc warning
11202
11203         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11204
11205 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11206
11207         * text2.C (setLayout): get rid of redundant code
11208
11209 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11210
11211         * text2.C (incDepth): make sure depth cannot be increased beyond
11212         reasonable values.
11213
11214 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11217         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11218
11219         * PainterBase.h (image):
11220         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11221         a LyXImage const *.
11222
11223 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * BufferView.C:
11226         * BufferView.h:
11227         * BufferView_pimpl.C:
11228         * BufferView_pimpl.h:
11229         * LaTeXFeatures.C:
11230         * LyXAction.C:
11231         * LyXView.C:
11232         * Makefile.am:
11233         * UpdateList.h:
11234         * UpdateList.C:
11235         * buffer.C:
11236         * figure.h:
11237         * figureForm.C:
11238         * figureForm.h:
11239         * figure_form.C:
11240         * figure_form.h:
11241         * lyx_cb.C:
11242         * lyx_gui.C:
11243         * lyx_gui_misc.C:
11244         * lyxfunc.C:
11245         * sp_base.h:
11246         * sp_ispell.h:
11247         * sp_pspell.h:
11248         * sp_spell.C: remove fig inset, and the crap house of
11249           cards that follows it
11250
11251 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * Makefile.am:
11254         * lyxserver.C:
11255         * os2_defines.h:
11256         * os2_errortable.h:
11257         * nt_defines.h: move .h into support/
11258
11259         * vms_defines.h: remove
11260
11261         * WorkArea.C: add space in debug output
11262
11263         * text2.C:
11264         * paragraph.C:
11265         * buffer.C: add WITH_WARNINGS
11266
11267         * vc-backend.h:
11268         * vc-backend.C:
11269         * bufferlist.C: s/retrive/retrieve/, add docs
11270
11271         * vspace.h:
11272         * vspace.C:
11273         * kbmap.h:
11274         * lyxlength.h:
11275         * lyxgluelength.h:
11276         * length_common.h:
11277         * chset.h:
11278         * chset.C: add docs
11279
11280         * lyxgui.C: add ID to X error handler
11281
11282         * lyxtestclass.c: fix typo
11283
11284 2002-02-26  Juergen Vigna  <jug@sad.it>
11285
11286         * tabular_funcs.C (write_attribute): changed so that some default
11287         attributes are not written at all.
11288         (getTokenValue): set default values before trying to read the
11289         value so we have the return value always set as default if we don't
11290         find the token we search for.
11291
11292         * tabular.C (Write): write bools as bools not as strings!
11293
11294 2002-02-22  Juergen Vigna  <jug@sad.it>
11295
11296         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11297         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11298
11299         * text.C (leftMargin): don't add an indent for paragraphs inside
11300         tabular cells (fix #208).
11301
11302 2002-02-21  José Matos  <jamatos@fep.up.pt>
11303
11304         * tabular.C (docBook): fixed support for long tables.
11305
11306 2002-02-20  Juergen Vigna  <jug@sad.it>
11307
11308         * text2.C (getFont): get the drawing font of the Inset if this
11309         paragraph is inside an inset (only important for InsetERT for now).
11310
11311         * buffer.C (insertErtContents): use new lanugage params in ERT
11312         constructor.
11313
11314         * CutAndPaste.C: commenting out seemingly uneeded code.
11315
11316 2002-02-19  Allan Rae  <rae@lyx.org>
11317
11318         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11319         Iterators might be simple to use but they also get invalidated.
11320         (removeAutoInsets): renamed saved cursor tracking variables and added
11321         some comments to clarify what everything does.
11322
11323 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * Chktex.C:
11326         * LaTeX.C:
11327         * LyXSendto.C:
11328         * converter.C:
11329         * lyx_cb.C:
11330         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11331         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11332
11333         * lyxfunc.C:
11334         * vc-backend.h: remove #include "support/syscall.h"
11335
11336         * LaTeX.C:
11337         * LyXSendto.C:
11338         * converter.C: rearrange #includes in Lars' approved fashion.
11339
11340         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11341         forward declare class Timeout in the header file.
11342
11343         * XFormsView.C: changes due to the above.
11344
11345         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11346         similar to LyXView.
11347
11348         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11349         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11350
11351 2002-02-18  José Matos  <jamatos@fep.up.pt>
11352
11353         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11354         insets contents.
11355
11356 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11357
11358         * a lot of small ws changes
11359         * add a lot of using std::XXX
11360         * use std construcs some places where approp.
11361         * use some exisint stuff from lyxfunctional where approp.
11362         * Make file changes to use partial linking (lets test this now...)
11363
11364 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * Chktex.C:
11367         * buffer.C:
11368         remove #include "support/syscontr.h" as it's redundant. Always has been.
11369
11370         * Chktex.C:
11371         * LaTeX.C:
11372         * LyXSendto.C:
11373         * converter.C:
11374         * lyx_cb.C:
11375         * vc-backend.C:
11376         change Systemcalls::System to Systemcalls::Wait and
11377         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11378         No change of functionality, just reflects the stripped down Systemcalls
11379         class.
11380
11381 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11382
11383         * debug.[Ch]: add a GRAPHICS type to the enum.
11384
11385 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11386
11387         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11388
11389         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11390         there is an inset.
11391
11392 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11393
11394         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11395         match the changes below.
11396
11397         * text2.C (toggleInset): if there is not editable inset at cursor
11398         position, try to see if cursor is _inside_ a collapsable inset
11399         and close it.
11400
11401 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11402
11403         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11404         document menu has a nice checkbox
11405
11406 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * lyxlength.C (asLatexString): change PW to output as percent of
11409         \textwidth.
11410
11411         * lengthcommon.C: change '%' to 't%'
11412
11413         * lyxfunc.C (dispatch): a few comments from Martin
11414
11415 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * WorkArea.h:
11418         * WorkArea.C:
11419         * BufferView_pimpl.h:
11420         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11421           the X selection.
11422
11423 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * vspace.C (inPixels): fix compiler warning
11426
11427 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * lyxfunc.C (getStatus): fix status message for disabled commands.
11430
11431 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * BufferView_pimpl.C: fix crash on close buffer
11434         during selection (#227)
11435
11436 2002-01-27  Herbert Voss  <voss@lyx.org>
11437
11438         * buffer.C: link old Figure to new graphic inset
11439
11440 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11441
11442         * FontLoader.C (getFontinfo): Change the latex font names in order
11443         to match the names of type1inst.
11444
11445 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11448
11449         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11450         (extchanged): ditto
11451         (ext_exist): ditto
11452         (remove_files_with_extension): ditto
11453         (remove_file): ditto
11454         (write): ditto
11455
11456         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11457         document is smaller than the work area height. Do not initialize
11458         static variables to 0.
11459
11460 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11461
11462         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11463
11464         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11465         LFUN_LAYOUT_PARAGRAPHS.
11466
11467         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11468         tabular. It is possible to provide a possible cell, which will
11469         typically be the actcell from the corresponding insettabular
11470
11471         * lyxfunc.C (getStatus): small cleanup; disable
11472         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11473         true
11474
11475 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11476
11477         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11478
11479         * paragraph.C (startTeXParParams):
11480         (endTeXParParams): new methods. The LaTeX code to
11481         start/end paragraph formatting
11482         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11483         empty (fixes bug #200)
11484
11485         * vspace.C (inPixels): adapt to the change below
11486         (inPixels): [later] more cleanups (remove unused variables)
11487
11488         * lyxlength.C (inPixels): change to use a width and a height as
11489         parameter.
11490
11491 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11492
11493         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11494         Replaced with \paperwidth
11495
11496         * DepTable.C (insert): add std:: qualifier
11497
11498 2002-01-18  Allan Rae  <rae@lyx.org>
11499
11500         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11501         updated also?
11502
11503         * text.C (drawInset): Turned out I didn't know enough about how
11504         rebreaking worked.  This fixes most of the redraw problems.  I see
11505         an occasional cursor trail when a line is broken now and the cursor
11506         placement can seem out by a few pixels also after a rebreak.
11507
11508 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * buffer.C (parseSingleLyXformat2Token): update because minipage
11511         width is now a LyXLength
11512
11513         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11514
11515         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11516         math insets
11517
11518 2002-01-17  Juergen Vigna  <jug@sad.it>
11519
11520         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11521
11522         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11523         is set correctly and the inset is updated correctly.
11524
11525 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11528         the beginning of the loop.
11529
11530 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * lyxrc.C: improve help for use_scalable_fonts
11533
11534 2002-01-17  Allan Rae  <rae@lyx.org>
11535
11536         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11537
11538 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11541         make sure to set their inset_owner to the right value (bug #171)
11542
11543 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11544
11545         * DepTable.h
11546         * DepTable.C: Implement mtime checking to reduce time spent doing
11547         CRCs.
11548
11549 2002-01-16  Juergen Vigna  <jug@sad.it>
11550
11551         * tabular.C (GetAdditionalHeight): one of error fixed.
11552
11553         * lyxrc.C (output): small fix in writing use_pspell.
11554
11555 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * sp_base.h: #include LString.h
11558
11559 2002-01-16  Allan Rae  <rae@lyx.org>
11560
11561         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11562         Can someone check this please?
11563
11564         * text.C (drawInset): It was possible that p.row would be removed by
11565         breakAgainOneRow upsetting a few other settings.  There may be another
11566         small tweak possible by setting need_break_row = 0 when p.row has been
11567         removed but I don't know enough about the logic here.
11568
11569 2002-01-15  Allan Rae  <rae@lyx.org>
11570
11571         * text.C (insertChar): removed conditional truism.
11572
11573         * BufferView2.C (removeAutoInsets): More tweaks.
11574         cur_par_prev could be a stray pointer.  Check for trailing empty line
11575         in case last line was cur_par and only had an error inset on it.
11576
11577 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11580         absolute
11581
11582         * vc-backend.C (most methods):
11583         * exporter.C (Export):
11584         * converter.C (convert):
11585         (runLaTeX):
11586         * LyXSendto.C (SendtoApplyCB):
11587         * lyxfunc.C (dispatch):
11588         (menuNew):
11589         (open):
11590         (doImport):
11591         * lyx_cb.C (AutoSave):
11592         (InsertAsciiFile):
11593         * BufferView_pimpl.C (MenuInsertLyXFile):
11594         * buffer.C (runChktex): use Buffer::filePath().
11595
11596         * buffer.h: rename filename to filename_; rename filepath to
11597         filepath_ and make it private
11598         (filePath): new method
11599
11600         * buffer.C (writeFile): use fileName()
11601         (getLatexName):
11602
11603         * lyx_main.C (init): fix starting  of LyX when the binary is a
11604         link from so,ewhere else.
11605
11606         * minibuffer.C: include <cctype> for isprint
11607
11608 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11609
11610         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11611         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11612         name clash with InsetCollapsable's width function.
11613
11614 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * lastfiles.C: include <iterator>
11617
11618 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11619
11620         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11621         std::count.
11622
11623         * buffer.C (makeLaTeXFile): ditto.
11624         Also make loop operation more transparent.
11625
11626 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11627
11628         * ToolbarDefaults.C: remove trailing comma closing namespace.
11629
11630         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11631
11632         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11633         as in WorkArea.
11634
11635         * trans.C (Load): comment out unused variable, allowed.
11636
11637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11638
11639         * minibuffer.[Ch] (append_char): new method to recieve input from the
11640         drop-down completion browser. If a key was pressed, then recieve this
11641         char and append it to the existing string.
11642         (peek_event): modify the positioning data passed to the completion
11643         browser so that it can be placed above the minibuffer rather than below.
11644 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * LyXAction.C (init): alloe error-next for readonly documents.
11647
11648         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11649         count.
11650
11651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * bufferlist.C (readFile): create the buffer _after_ checking that
11654         the file exists.
11655
11656         * lyxfunc.C (verboseDispatch): fix handling of arguments
11657
11658         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11659
11660         * lyxrc.C: use string::erase() instead of initializing to "".
11661
11662
11663 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * BufferView_pimpl.h:
11666         * BufferView_pimpl.C:
11667         * WorkArea.h:
11668         * WorkArea.C:
11669         * text2.C: tell X when we have made a selection for copying
11670
11671 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * BufferView_pimpl.C (MenuInsertLyXFile):
11674         * lyxfunc.C (menuNew):
11675         (open):
11676         (doImport): add shortcuts to directory buttons
11677
11678         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11679         open a float)
11680
11681         * lyxfunc.C (setStatusMessage):
11682         (getStatusMessage): new methods
11683         (getStatus):use setStatusMessage instead of setErrorMessage
11684         (dispatch): when function is disabled, set error message here
11685         [instead of in getStatus previously]
11686
11687         * BufferView_pimpl.C (workAreaButtonRelease): update
11688         toolbar/menubar here too.
11689
11690 2002-01-13  Allan Rae  <rae@lyx.org>
11691
11692         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11693         Now seems indestructible.  Remaining task is to audit all other
11694         code affected by deleteEmptyParagraphMechanism.  One small quirk
11695         left is that an empty document with an error in the preamble can
11696         be made to report an error but no error box appears.  I don't know
11697         where it goes.
11698         (removeAutoInsets): Improved comments.
11699
11700 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * Thesaurus.h:
11703         * Thesaurus.C: update for Aiksaurus 0.14
11704
11705 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * text2.C (firstParagraph): removed member function, all uses
11708         replaces with ownerParagraph
11709         (redoParagraphs): here
11710         (updateInset): here
11711         (toggleAppendix): here
11712         * BufferView2.C (insertErrors): here
11713         (setCursorFromRow): here
11714
11715 2002-01-13  Allan Rae  <rae@lyx.org>
11716
11717         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11718         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11719         There is still a way to segfault this although you may have to do this
11720         multiple times: Have an InsetERT with an unknown command in it.
11721         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11722         <down-arrow>, <Enter> again, View->DVI, BANG!
11723
11724         * text2.C (setCursor):
11725         (deleteEmptyParagraphMechanism):
11726         * lyxtext.h (setCursor):
11727         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11728         Making use of the return value may help fix other bugs.
11729
11730 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11733
11734         * LyXView.C (updateMenubar): call MenuBar::update here
11735         (updateToolbar): but not here
11736         (showState): do not update toolbar/menubar
11737
11738         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11739         should need to care about that.
11740
11741         * lyxfunc.C (verboseDispatch): simplify a bit
11742         (getStatus): have a version which takes a pseudoaction, and
11743         another which requires a (kb_action,string).
11744
11745         * LyXAction.C (retrieveActionArg): make it work also when action
11746         is not a pseudo-action.
11747         (getActionName): simplify a bit
11748         (helpText):
11749
11750 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11751
11752         * lyxfunc.C (verboseDispatch): new families of methods with
11753         several ways to specify a command and a bool to indicate whether
11754         the command name and shortcut should be displayed in minibuffer
11755         (eventually, we could extend that to a finer bitmask like
11756         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11757         (dispatch): the pristine dispatch command which just, well,
11758         dispatchs! Note it still sets its result to minibuffer; I'm not
11759         sure we want that.
11760
11761         * lyxfunc.h: remove setHintMessage
11762
11763         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11764
11765 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * BufferView_pimpl.C (specialChar): delete new inset if we have
11768         not been able to insert it.
11769
11770         * kbmap.C: revert to using int instead of kb_action, since all we
11771         are dealing with is pseudo-actions.
11772
11773         * LyXAction.C (searchActionArg): change to return int instead of
11774         kb_action, since the result is a pseudoaction.
11775
11776 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11777
11778         * buffer.C (insertErtContents): Fix (partially) the font bug.
11779
11780 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11783         as the other one is broken on my machine!
11784
11785 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11786
11787         * commandtags.h:
11788         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11789
11790 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11793         reflect their actual use. Provide compatibility code for older lyxrc
11794         files.
11795
11796         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11797         FL_NORMAL_STYLE.
11798         change names of popup font variables in line with the changes to lyxrc.C
11799
11800 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11801
11802         * buffer.C (asciiParagraph): avoid outputing a word twice after
11803         an inset.
11804
11805         * lyxrc.C (getDescription): document that document_path and
11806         template_path can be empty.
11807
11808 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * LaTeXFeatures.C (getMacros):
11811         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11812
11813         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11814
11815         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11816         getPackages.
11817         (getPackages): rename feature "floats" to "float". Use an array to
11818         iterate over 'simple' features (i.e. just a \usepackage). Add
11819         handling of "amsmath" (renamed from "amsstyle").
11820
11821 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11822
11823         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11824         features list.
11825
11826 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11829         FuncStaus::FuncStatus & FuncStaus::some_method().
11830
11831 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11832
11833         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11834         of the func_satus stuff. Edited and massaged in various ways by
11835         JMarc.
11836
11837         * lyxfunc.C (getStatus): use FuncStatus
11838
11839 2002-01-08  Juergen Vigna  <jug@sad.it>
11840
11841         * text.C (nextBreakPoint): use function Inset::isChar().
11842
11843         * paragraph.C (TeXOnePar): use function
11844         Inset::forceDefaultParagraphs.
11845
11846         * buffer.C (latexParagraphs): use function
11847         Inset::forceDefaultParagraphs.
11848
11849 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * lyx_gui.C (init): set the style of the menu popups to
11852         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11853
11854 2002-01-07  Juergen Vigna  <jug@sad.it>
11855
11856         * text.C (setHeightOfRow): small fix
11857         (prepareToPrint): don't look at alignment if we don't have the place
11858         for doing it.
11859
11860 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * box.C: New file. Move the Box methods and functions out of box.h,
11863         following Lars' suggestion.
11864
11865 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11866
11867         * box.h: #include "support/LOstream.h", needed for inlined function.
11868
11869         * lyxtextclass.C:
11870         * lyxtextclasslist.C: added some using std declarations.
11871
11872 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * box.h: make signed dimensions to allow insets wider than
11875           the screen (bug #162)
11876
11877         * BufferView_pimpl.C: add some insetHit debug
11878
11879 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * vc-backend.C: add FIXME
11882
11883 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11884
11885         * lyxfunc.C (getStatus): enable code for showing math font status
11886         in toolbar/menu.
11887
11888 2002-01-07  Juergen Vigna  <jug@sad.it>
11889
11890         * text.C (nextBreakPoint): removed debug output not needed anymore.
11891
11892 2002-01-06  Juergen Vigna  <jug@sad.it>
11893
11894         * text.C (nextBreakPoint): fixed up this function we had this bug
11895         since ever but now hopefully we break row better.
11896         (insertChar): we have to check if an inset is the next char as it
11897         could now happen that a large inset is causing a break.
11898
11899 2002-01-05  Juergen Vigna  <jug@sad.it>
11900
11901         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11902         if it doesn't like to be drawed.
11903
11904 2002-01-04  Juergen Vigna  <jug@sad.it>
11905
11906         * BufferView2.C (lockInset): forgot to set a cursor.
11907
11908         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11909
11910 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11911
11912         * FormMathsPanel.C:
11913         * FormMathsPanel.h
11914         * MathsSymbols.C:
11915         * form_maths_panel.C:
11916         * form_maths_panel.h:
11917         * form_maths_panel.fd: implemented sub- and super- buttons in math
11918         panel.
11919
11920         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11921         (or ^ space) to be used as in TeX (req'd by André).
11922
11923         * lyxfunc.C: Allow ^ and _ again to be used both as
11924         super/subscript (mathed) and as themselves (in text).
11925
11926 2002-01-03  Allan Rae  <rae@lyx.org>
11927
11928         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11929         "LyX" or the filename of the current buffer if it has one.  This is a
11930         modified form of John Levon's patch.
11931
11932         * XFormsView.C (setWindowTitle): also set icon title.
11933
11934         * LyXView.h (setWindowTitle): signature changed.
11935         * XFormsView.h (setWindowTitle): ditto.
11936
11937 2002-01-02  Juergen Vigna  <jug@sad.it>
11938
11939         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11940
11941 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * screen.C (topCursorVisible): introduce a temp var for
11944         text->cursor.row(), handle the case where this row is null. (kindo
11945         hachish)
11946
11947         * text2.C (setCursor): add a couple of asserts.
11948
11949         * paragraph.h (inset_iterator): add -> operator
11950
11951         * paragraph.[Ch] (autoDeleteInsets): remove member function
11952
11953         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11954         cursor pos correctly and handle inset deletion by itself.
11955         (insertErrors): move iterator declaration out of for expression
11956
11957         * lyxtextclass.C: add <algorithm>
11958
11959         * Makefile.am: added the new files to sources, removed layout.C
11960
11961         * layout.C: removed file
11962
11963         * layout.h: remove LYX_DUMMY_LAYOUT
11964
11965         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11966         layout.
11967
11968         * lyxlayout.[Ch]:
11969         * lyxtextclass.[Ch]:
11970         * lyxtextclasslist.[Ch]: new files
11971
11972         * include order changes to a lot of files, also changes because of
11973         the six new files.
11974
11975 2001-12-27  Juergen Vigna  <jug@sad.it>
11976
11977         * buffer.C (asciiParagraph): more fixes.
11978
11979         * tabular.C (ascii): make ascii export support export of only the
11980         data separated by a column-delimiter.
11981         (ascii): better support for ascii export.
11982
11983         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11984
11985 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11986
11987         * tabular_funcs.C: use a "using std::getline" instead of the
11988         previous fix from Angus (necessary for cxx + lyxstring)
11989
11990 2001-12-24  Juergen Vigna  <jug@sad.it>
11991
11992         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11993
11994         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11995         problems. First check a minipage also if we have some ert-contents
11996         (not only on par->size(), second set the right depth of the paragraph
11997         on the relink to the root-paragraph-list!
11998
11999         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12000         which then did not anymore update the main paragraphs on undo/redo!
12001
12002 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12003
12004         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12005         code. Support all font-changing funcs (even those which are not in
12006         menu currently). Support for reporting font settings in
12007         mathed (disabled until Andre provides a function on mathed's side).
12008
12009         * func_status.h (toggle): small helper function to set toggle
12010         state on a flag.
12011
12012 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12013
12014         * tabular_funcs.C: getline -> std::getline
12015
12016 2001-12-21  Juergen Vigna  <jug@sad.it>
12017
12018         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12019         accessed and could be 0 (I couldn't generate this but it seems
12020         Michael could!).
12021
12022 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12025         * tabular_funcs.h: here and include iosfwd
12026
12027 2001-12-20  Juergen Vigna  <jug@sad.it>
12028
12029         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12030         inside inset but undo_par was.
12031
12032 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12033
12034         * Thesaurus.C: always include <config.h> in sources.
12035
12036         * Painter.h:
12037         * lyxlookup.h:
12038         * box.h: do not include <config.h> in header files
12039
12040         * text.C (paintLastRow): remove unused variable
12041
12042         * text.C (transformChar):
12043         (insertChar):
12044         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12045
12046         * Painter.C (text):
12047         * font.C (width): rewrite to use uppercase() instead of
12048         islower/toupper.
12049
12050         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12051
12052 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * lyxfind.C: clean up of find failure position change
12055
12056 2001-12-20  Juergen Vigna  <jug@sad.it>
12057
12058         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12059
12060         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12061         (TeXRow): added to LaTeX a single tabular row.
12062         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12063         (Latex): simplified and finally good LT-h/f support.
12064         (various_functions): just small adaptions for LT-h/f support.
12065
12066         * tabular_funcs.[hC]: added and moved here all not classfunctions
12067         of LyXTabular.
12068
12069 2001-12-19  Juergen Vigna  <jug@sad.it>
12070
12071         * tabular.[Ch]: better support for longtabular options (not finished
12072         yet!)
12073
12074 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * text.C (paintLastRow): use the label font instead of the font of
12077         the last character to compute the size of *_BOX. This makes more
12078         sense and avoids a crash with empty paragraphs.
12079         Use Painter::rectangle to draw EMPTY_BOX.
12080
12081 2001-12-19  Juergen Vigna  <jug@sad.it>
12082
12083         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12084         the paragraphs if the replaced paragraph is not the first one!
12085         Tried to delete not used paragraphs but does not work yet so for
12086         now it's inside #ifdef's and by default off!
12087
12088 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * MenuBackend.C: include "lyx_main.h" instead of declaring
12091         lastfiles (actually was declared as LastFiles* instead of a
12092         scoped_ptr).
12093
12094 2001-12-17  Juergen Vigna  <jug@sad.it>
12095
12096         * tabular.C (AppendColumn): applied John's fix
12097
12098 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView.h:
12101         * BufferView.C:
12102         * BufferView_pimpl.h:
12103         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12104
12105         * Makefile.am:
12106         * box.h: new start of class for above
12107
12108         * lyxfunc.C: ignore space-only minibuffer dispatches.
12109           Show the command name when it doesn't exist
12110
12111         * minibuffer.C: don't add empty lines to the history
12112
12113         * minibuffer.C: add a space on dropdown completion
12114
12115 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * text.C: fix line above/below drawing in insets
12118
12119 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * lyxlength.C (LyXLength): Initialize private variables.
12122
12123 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12124
12125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12126         when inserting error insets.
12127
12128 2001-12-13  Juergen Vigna  <jug@sad.it>
12129
12130         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12131         actually sometimes the before-paragraph.
12132         (setUndo): don't clear the redostack if we're not actually undoing!
12133
12134 2001-12-06  Juergen Vigna  <jug@sad.it>
12135
12136         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12137         and fixed redoing of main paragraph, so we can use it now ;)
12138
12139         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12140
12141 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12144         Juergen's request
12145
12146 2001-12-13  André Pönitz <poenitz@gmx.net>
12147
12148         * undostack.[Ch]:
12149         * undo_func.C: minor cleanup
12150
12151 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12152
12153         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12154         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12155         font in urw-fonts package which is marked as -urw-fontspecific and
12156         does not work (incidentally, changing the encoding in the
12157         fonts.dir of this package to -adobe-fontspecific fixes the
12158         problem).
12159
12160         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12161         is a crash when undoing first paragraph (Juergen, please take a
12162         look). THis does not mean the undo fix is wrong, just that it
12163         uncovers problems.
12164
12165         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12166         the (Paragraph*) version when needed instead of duplicating the
12167         code.
12168
12169         * text.C (workWidth): use Inset::parOwner to find out where the
12170         inset has been inserted. This is a huge performance gain for large
12171         documents with lots of insets. If Inset::parOwner is not set, fall
12172         back on the brute force method
12173
12174         * paragraph_pimpl.C (insertInset):
12175         * paragraph.C (Paragraph):
12176         (cutIntoMinibuffer): set parOwner of insets when
12177         inserting/removing them
12178
12179         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12180
12181 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12182
12183         * commandtags.h:
12184         * LyXAction.C:
12185         * lyx_main.C:
12186         * lyxfunc.C:
12187         * mathed/formulabase.C:
12188         * mathed/math_cursor.[Ch]:
12189         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12190
12191
12192 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * lyxlength.[Ch] (operator!=): new function
12195
12196 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12197
12198         * text.C (workWidth): use Inset::parOwner to find out where the
12199         inset has been inserted. This is a huge performance gain for large
12200         documents with lots of insets. If Inset::parOwner is not set, fall
12201         back on the brute force method
12202
12203         * paragraph_pimpl.C (insertInset):
12204         * paragraph.C (Paragraph):
12205         (cutIntoMinibuffer): set parOwner of insets when
12206         inserting/removing them
12207
12208         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12209
12210 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * tabular-old.C (getTokenValue):
12213         * tabular.C (getTokenValue):
12214         (write_attribute): new versions for LyXLength
12215         (everywhere): adjust the use of widths
12216
12217         * tabular.h: change the type of widths from string to LyXLength
12218
12219 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12220
12221         * paragraph.C: fixed missing line number count when exporting
12222         Environments to LaTeX file
12223
12224         * buffer.C: added informational message for checking line numbers.
12225
12226 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12227
12228         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12229         paragraph, do the 'double space' part, but not the 'empty
12230         paragraph' one.
12231
12232         * text.C (workWidth): small optimization
12233         (getLengthMarkerHeight): use minimal size for negative lengths.
12234
12235 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12238
12239         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12240
12241 2001-12-11  André Pönitz <poenitz@gmx.net>
12242
12243         * FontLoader.C:
12244         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12245
12246 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * text2.C: keep selection on a setFont()
12249
12250 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * lyx_cb.C: another bv->text misuse, from insert label
12253
12254 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * kbsequence.h:
12257         * kbsequence.C: re-instate nmodifier mask
12258
12259 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12260
12261         * lyx_main.h: make lyxGUI private.
12262
12263 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * lyxfind.C: place the cursor correctly on failed search
12266
12267 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12268
12269         * text.C (getLengthMarkerHeight): for small heights, the arrows
12270         are not always on top/bottom of the text
12271         (drawLengthMarker): smaller arrows; take the left margin in
12272         account; draw also vfills.
12273         (paintFirstRow):
12274         (paintLastRow): remove special code for vfill and standard spaces,
12275         since everything is handled in drawLengthMarker now.
12276
12277 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * buffer.C (insertErtContents): try to handle font and language
12280         interaction a bit better.g
12281
12282         * ColorHandler.C (updateColor): change the hash to cover the whole
12283         LColor enum, ws cleanup
12284         (getGCLinepars): ditto
12285         (getGCLinepars): only lookup in the linecache once.
12286
12287 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12288
12289         * iterators.C (operator++): Make the iterator more robust
12290
12291         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12292         (John's patch)
12293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12294
12295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12296
12297         * lyxtext.h:
12298         * text.C: better added space drawing
12299
12300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * LyXView.C:
12303         * BufferView2.C: fix layout combo update on inset unlock
12304
12305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * Makefile.am: don't compile unused files
12308
12309 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyxfunc.C:
12312         * commandtags.h:
12313         * LyXAction.C: remove old LFUN_LAYOUTNO
12314
12315 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * paragraph_pimpl.h:
12318         * paragraph_pimpl.C: isTextAt() doesn't need font param
12319
12320 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * lyxlex.h:
12323         * lyxlex.C: little cleanup
12324
12325 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * BufferView_pimpl.C: fix insertAscii for insets
12328
12329 2001-12-05  Juergen Vigna  <jug@sad.it>
12330
12331         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12332         set the right font on the "multi" paragraph paste!
12333
12334 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * trans_decl.h:
12337         * trans_mgr.[Ch]:
12338         * trans.[Ch]:
12339         * lyxgluelength.C:
12340         * lyxlength.C: remove out-commented code.
12341
12342         * BufferView_pimpl:
12343         * CutAndPaste.C:
12344         * DepTable.C:
12345         * buffer.C:
12346         * chset.C:
12347         * lastfiles.C:
12348         * lyxlex.C:
12349         * lyxlex_pimpl.C:
12350         * lyxserver.C:
12351         * screen.C:
12352         * tabular-old.C:
12353         * tabular.C:
12354         * text.C:
12355         * trans_mgr.C:
12356         * vc-backend.C: change "while(" to "while ("
12357
12358         * lyxlength.[Ch]: add zero function to check if length is zero or
12359         not
12360         * lyxgluelength.C: use it
12361
12362 2001-12-05  Allan Rae  <rae@lyx.org>
12363
12364         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12365         Works for 2.95.3, from what I understand of Garst's reports this should
12366         work for other g++ versions.  We're screwed if the abs(int) definition
12367         changed between bugfix releases of gcc.
12368
12369 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * text.C: fix chapter label offset !
12372
12373 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * lyxtext.h:
12376         * text.C: fix hfill at end of line, clean up
12377
12378 2001-12-04  Juergen Vigna  <jug@sad.it>
12379
12380         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12381         that we force an update of the inset and it's owners if neccessary.
12382
12383 2001-12-03  Juergen Vigna  <jug@sad.it>
12384
12385         * text.C (rowLast): simplified code
12386
12387 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * lyxfunc.C: fix show options on timeout
12390
12391 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * screen.C (topCursorVisible): scroll half a page when the cursor
12394         reached top of bottom of screen
12395
12396 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * minibuffer.C: deactivate on loss of focus
12399
12400 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * vspace.[Ch] (operator!=): add operator.
12403
12404 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.C: refuse to open an inset when
12407         there's a selection.
12408
12409 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * BufferView_pimpl.C: allow to click on RHS of full row insets
12412
12413 2001-11-30  Juergen Vigna  <jug@sad.it>
12414
12415         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12416         insets for undo reasons.
12417
12418 2001-11-28  André Pönitz <poenitz@gmx.net>
12419
12420         * vspace.[Ch]: cosmetical changes
12421
12422 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * LyXAction.h:
12425         * LyXAction.C:
12426         * lyxfunc.h:
12427         * lyxfunc.C:
12428         * kbmap.h:
12429         * kbmap.C:
12430         * lyxrc.C:
12431         * kbsequence.h:
12432         * kbsequence.C: part re-write of old kb code
12433
12434         * Painter.C:
12435         * WorkArea.C: remove Lgb_bug_find_hack
12436
12437 2001-11-30  José Matos <jamatos@fep.up.pt>
12438
12439         * buffer.C (makeDocBookFile): add a comment to point a hack.
12440         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12441         Fixed a double write of labels.
12442
12443 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12444
12445         * LaTeX.C:
12446         * LaTeX.h Fixed bug in LaTeX class where it would not
12447         re-run latex if no depfiles were changed, but the .dvi was removed.
12448
12449 2001-11-28  André Pönitz <poenitz@gmx.net>
12450
12451         * all the files from the change on 2001/11/26:
12452         use lyx::layout_type instead of LyXTextClass::size_type
12453         use lyx::textclass_type instead of LyXTextClassList::size_type
12454
12455 2001-11-29  Juergen Vigna  <jug@sad.it>
12456
12457         * text.C: added support for paragraph::isFreeSpacing()
12458
12459         * buffer.C: same as above
12460
12461         * paragraph.h: inserted isFreeSpacing() function to enable
12462         FreeSpacing inside InsetERT.
12463
12464         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12465         of the paragraph's in the cut/copy buffer to 0!
12466
12467         * text2.C (removeRow): remove the assert as it can!
12468
12469         * lyxtext.h: added helper function firstRow returning firstrow and
12470         made firstrow private again.
12471
12472         * BufferView2.C (lockInset): don't relock if we're already locked!
12473
12474         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12475         the only paragraph.
12476         (removeRow): added Assert::(firstrow)
12477
12478         * debug.C: forgot to add INSETTEXT here.
12479
12480 2001-11-28  Juergen Vigna  <jug@sad.it>
12481
12482         * sp_spell.C (initialize): changed error text to more general
12483         spellchecker command use (not only ispell!)
12484
12485         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12486
12487         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12488
12489 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * vspace.C: initialise lyxgluelength on failure
12492
12493 2001-11-28  Allan Rae  <rae@lyx.org>
12494
12495         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12496         declaration & definition that looks like a function declaration.
12497
12498 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * BufferView2.C (copy):
12501         (copyEnvironment): do not clear the selection when doing a copy.
12502
12503         * text.C (paintFirstRow): compilation fix
12504
12505 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12506
12507         * tabular.C (Latex): correct line count when writing latex.
12508
12509 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * paragraph_pimpl.h:
12512         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12513           bug a bit
12514
12515 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * text.C:
12518         * LColor.h:
12519         * LColor.C: change vfillline->added_space
12520
12521         * text.C: add markers and text for added space
12522
12523         * vspace.C: fix comment
12524
12525 2001-11-28  André Pönitz <poenitz@gmx.net>
12526
12527         * paragraph.C: whitespace changes
12528         * all the other files from the change on 2001/11/26:
12529         change *::pos_type into lyx::pos_type
12530
12531 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12534         language of the document when inserting error insets.
12535
12536 2001-11-26  André Pönitz <poenitz@gmx.net>
12537
12538         * BufferView_pimpl.[Ch]:
12539         *       CutAndPaste.C:
12540         * buffer.[Ch]:
12541         * lyxcursor.[Ch]:
12542         * lyxfind.C:
12543         * lyxfunc.C:
12544         * lyxrow.[Ch]:
12545         * paragraph.[Ch]:
12546         * paragraph_pimpl.[Ch]:
12547         * sp_spell.C:
12548         * text.C:
12549         * text2.C: reduce header dependencies, introduce type for positions
12550
12551 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * <various>: change to use Alert.h
12554
12555 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12558         when encountering an unknown token.
12559         (readLyXformat2): Show an error message if there were unknown tokens.
12560
12561 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * BufferView2.C:
12564         * BufferView_pimpl.C:
12565         * buffer.C:
12566         * paragraph.h:
12567         * text.C:
12568         * text2.C: use par->isInset()
12569
12570 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * paragraph_pimpl.h:
12573         * paragraph_pimpl.C: cleanup
12574
12575 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * text2.C (removeRow):
12578         * text.C (setHeightOfRow): remove useless (and costly) call to
12579         getRow.
12580
12581 2001-11-20  Allan Rae  <rae@lyx.org>
12582
12583         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12584         Now need Inset*::checkInsertChar() to return true for appropriate
12585         cases so that the characters in the minibuffer will actually be
12586         inserted.
12587
12588 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * text.C: change the order of the includes.
12591         (workWidth): initialize it at once.
12592         (workWidth): make maxw unsigned
12593         (setHeightOfRow): remove unused variable (inset)
12594         (selectSelectedWord): remove unused variable (inset)
12595         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12596
12597 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12598
12599         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12600         server is not running.
12601         (openConnection):
12602         (closeConnection): add debug info when server is disabled.
12603
12604         * ColorHandler.C (getGCForeground): send debug message to GUI
12605         channel.
12606
12607         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12608
12609         * kbmap.C (bind): modify because return conventions of
12610         kb_sequence::parse have changed.
12611
12612         * kbsequence.C (parse): only ignore spaces and not any stupid
12613         control character. This avoids tests like s[i] <= ' ', which are
12614         guaranteed to fail with 8bit characters and signed chars.
12615         Change return code to string::npos when there have been no error
12616         (0 was a bad idea when error is at first character)
12617
12618 2001-11-14  José Matos  <jamatos@fep.up.pt>
12619
12620         * buffer.h:
12621         * buffer.C (simpleDocBookOnePar): removed unused argument.
12622
12623 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12626         insets which are part of a word. Paragraph::isLetter takes care of
12627         that now. Use Paragraph::isInset to identify insets.
12628         (selectSelectedWord): do not test for hyphenation break.
12629
12630         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12631         that protected spaces are considered as spaces.
12632
12633         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12634         Inset::isLetter.
12635
12636 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * lyxserver.h:
12639         * lyxserver.C: fix it. and small cleanup.
12640
12641 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * BufferView_pimpl.C: use inline helpers
12644
12645         * LaTeXFeatures.h:
12646         * LaTeXFeatures.C: fix typos
12647
12648         * Spacing.h:
12649         * Spacing.C: move spacing_string into class
12650
12651         * ToolbarDefaults.C: move stuff into namespace anon
12652
12653         * layout.h: update enum
12654
12655         * lyxfunc.C: use better debug
12656
12657         * minibuffer.h: fix typo
12658
12659         * debug.h:
12660         * debug.C:
12661         * WorkArea.C: add and use Debug::WORKAREA
12662
12663         * lyxtext.h:
12664         * text.C:
12665         * text2.C: code re-organisation, inline helpers
12666
12667 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12668
12669         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12670         std::vector.empty().
12671
12672 2001-11-09  Allan Rae  <rae@lyx.org>
12673
12674         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12675         '\n's after tables.  Tabular and ERT inset work now makes this no
12676         longer necessary.
12677
12678 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * minibuffer.h:
12681         * minibuffer.C: fix crash, improve drop-down completion
12682
12683 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * lyxserver.h:
12686         * lyxserver.C: invalidate fd's when doing endPipe()
12687
12688 2001-11-08  José Matos  <jamatos@fep.up.pt>
12689
12690         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12691         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12692
12693         * paragraph.h:
12694         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12695
12696 2001-11-07  José Matos  <jamatos@fep.up.pt>
12697
12698         * buffer.h:
12699         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12700         const qualifier.
12701
12702         * buffer.C (sgmlOpenTag):
12703         * buffer.C (sgmlCloseTag): removed debug info.
12704
12705         * buffer.h (sgmlOpenTag):
12706         * buffer.h (sgmlCloseTag): made public.
12707
12708 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12709
12710         * buffer.C (saveParamsAsDefaults):
12711         * lyx_cb.C (MenuLayoutSave): remove
12712
12713         * LyXAction.C (init):
12714         * commandtags.h:
12715         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12716
12717 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * buffer.C (setPaperStuff): removed from here...
12720
12721         * bufferparams.C (setPaperStuff): ... and moved there.
12722
12723 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * minibuffer.h:
12726         * minibuffer.C:
12727         * XFormsView.C: add support for drop-down completion
12728
12729 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12732         commands.
12733
12734 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12735
12736         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12737         disabled.
12738
12739 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * lyx_main.C: change ref to known bugs
12742
12743 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12744
12745         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12746         to work around older babel problems.
12747
12748 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12749
12750         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12751
12752 2001-10-24  Juergen Vigna  <jug@sad.it>
12753
12754         * tabular-old.C (ReadOld): below variable changes reflected.
12755
12756         * tabular.[Ch]: added ltType struct for longtable header/footer
12757         defines and changed all instances where they are used. Added
12758         future support for double top/bottom rows.
12759
12760 2001-10-24  José Matos  <jamatos@fep.up.pt>
12761
12762         * buffer.h (docbookHandleCaption):
12763         * buffer.C (docbookHandleCaption): removed unused function.
12764         (makeDocBookFile): moved docbook supported version to v4.1.
12765
12766 2001-10-24  José Matos  <jamatos@fep.up.pt>
12767
12768         * tabular.h:
12769         * tabular.C (docbookRow): new function to export docbook code of a row.
12770         (DocBook): now honors the longtable flags.
12771
12772 2001-10-23  José Matos  <jamatos@fep.up.pt>
12773
12774         * LaTeXFeatures.h:
12775         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12776         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12777
12778         * buffer.C (makeLinuxDocFile):
12779         (makeDocBookFile): reworked the preamble, more clean, and with
12780         support for lyx defined entities. Changed the document declaration
12781         to be more XML friendly.
12782
12783         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12784         if we need to output XML that should be done with a filter.
12785
12786 2001-10-22  Juergen Vigna  <jug@sad.it>
12787
12788         * sp_pspell.h (class PSpell): add alive function needed in the
12789         controller to see if the spellchecker could be started.
12790
12791 2001-10-22  Juergen Vigna  <jug@sad.it>
12792
12793         * buffer.C (insertStringAsLines): modify the font for inserting
12794         chars in certain conditions by calling checkInsertChar(font).
12795
12796 2001-10-19  Juergen Vigna  <jug@sad.it>
12797
12798         * text.C (workWidth): use getRow instead of wrong algorithm.
12799         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12800
12801 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * lyxserver.h:
12804         * lyxserver.C:
12805         * lyx_main.h:
12806         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12807
12808 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12809
12810         * text.C (workWidth): do not search for the exact row when
12811         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12812         optimization for big documents.
12813
12814 2001-10-18  Juergen Vigna  <jug@sad.it>
12815
12816         * text.C (workWidth): new function with added Inset * parameter.
12817
12818 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12821
12822         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12823         change return type of getColumnNearX.
12824
12825
12826         * text.C (changeRegionCase): use uppercase/lowercase instead of
12827         toupper/tolower.
12828         (leftMargin):
12829         (rightMargin): simplify code by factoring out the uses of
12830         textclasslist.
12831         (labelFill):
12832         (numberOfHfills):
12833         (setHeightOfRow):
12834         (appendParagraph): use Paragraph::size_type
12835
12836 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12837
12838         * vspace.C (asLatexString): add a missing break
12839
12840 2001-10-15  Herbert Voss  <voss@perce.de>
12841
12842         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12843
12844 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12845
12846         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12847         is not available.
12848
12849 2001-10-10  André Pönitz <poenitz@gmx.net>
12850
12851         * lyxfunc.C: removed greek_kb_flag.
12852
12853 2001-10-10  Herbert Voss  <voss@perce.de>
12854
12855         * lyx_main.C: delete global string help_lyxdir.
12856
12857 2001-10-09  Herbert Voss  <voss@perce.de>
12858
12859         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12860
12861         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12862
12863         * lyx_main.C: added global string help_lyxdir.
12864
12865         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12866
12867 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12868
12869         * lyxrc.C (set_font_norm_type): support iso8859-4
12870
12871 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12872
12873         * LaTeX.C (deplog): add another regex for MikTeX
12874
12875 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12876
12877         * lyxrc.C (set_font_norm_type): support iso8859-3
12878
12879 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12882
12883         * LaTeXFeatures.C: remove special case of french and index
12884
12885         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12886         before \begin{document}). This solves several incompatibilities.
12887
12888 2001-10-03  Garst Reese  <reese@isn.net>
12889
12890         * lyx_cb.C: change CheckTex error msg.
12891
12892 2001-10-03  José Matos  <jamatos@fep.up.pt>
12893
12894         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12895
12896 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12897
12898         * .cvsignore: update
12899
12900         * lyx_main.C (commandLineVersionInfo): use new style version info.
12901
12902         * buffer.C (writeFile):
12903         (makeLaTeXFile):
12904         (makeLinuxDocFile):
12905         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12906
12907         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12908
12909         * version.h: update to use stuff in version.C
12910
12911         * version.C.in: new file. Contains version information determined
12912         at compile time. This is a merging of version.h and
12913         version_info.h.in.
12914
12915 2001-10-03  Juergen Vigna  <jug@sad.it>
12916
12917         * BufferView_pimpl.C (update): don't change "dirty" status in
12918         updateInset call.
12919
12920 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * WorkArea.C (c-tor): re-position version string slightly.
12923
12924 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12927         revert to previous code.
12928
12929         WorkArea.[Ch]: (show, destroySplash): methods removed.
12930
12931         WorkArea.C: rework code so that it's an amalgam of the codes before and
12932         after the splash screen was moved to WorkArea.
12933
12934 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12935
12936         * lyxrc.C (read):
12937         * vspace.C (inPixels):
12938         (lyx_advance):
12939         * kbmap.C (bind):
12940         * buffer.C (insertStringAsLines):
12941         (asciiParagraph): fix types to be large enough
12942
12943         * lyxlex_pimpl.h: change member status from short to int
12944
12945         * layout.h: fix type of endlabeltype
12946
12947         * kbmap.C (bind):
12948         * kbsequence.C (parse): change return type to string::size_type
12949
12950         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12951         variable
12952
12953         * Bullet.C (bulletSize):
12954         (bulletEntry): do not use short ints as parameters
12955
12956         * BufferView2.C (insertLyXFile): change a char to an int.
12957
12958         * WorkArea.C (WorkArea): remove unneeded floats in computation
12959
12960 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12961
12962         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12963
12964         * paragraph.C (asString): Do not ignore newline/hfill chars when
12965         copying to the clipboard.
12966
12967 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12968
12969         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12970         after a multi-line inset.
12971
12972 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * paragraph.C (validate): Set NeedLyXFootnoteCode
12975
12976 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12979         and decrease-error to decrease.
12980
12981 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12984         it more readable (should be equivalent)
12985
12986 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12987
12988         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12989
12990 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12991
12992         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12993         of a cursor (row, etc.) after a character has been deleted
12994         (deleteEmptyParagraphMechanism): call the method above on _all_
12995         cursors held by the LyXText when a double space has been
12996         detected/deleted.
12997
12998 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13001         pixmap.
13002         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13003
13004         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13005         background. Use greyOut() and the new show() methods to toggle between
13006         the foreground and background. Add code to remove the splash after
13007         its initial showing.
13008
13009         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13010         (create_forms): no longer call Dialogs::showSplash.
13011
13012 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * .cvsignore: add version_info.h
13015
13016 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * version_info.h.in: new file
13019
13020         * Makefile.am: add version_info.h.in
13021
13022         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13023         version_info.h instead of VERSION_INFO
13024
13025 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13026
13027         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13028         The ERT inset now returns string().
13029
13030 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * lyxtext.h, text.C (selectNextWord): renamed as
13033         selectNextWordToSpellcheck.
13034
13035         * text.C (selectNextWordToSpellcheck): Modified to not select
13036         words inside an ERT inset.
13037
13038 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * lyx_cb.C (MenuLayoutSave): change a bit the question
13041
13042         * sp_base.h: include <sys/types.h>
13043
13044 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13047
13048 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13049
13050         * several files: fix typos in user-visible strings
13051
13052 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * text2.C (pasteSelection): do not set the selection, since it
13055         will be cleared later. Actually, the intent was to fix the way the
13056         selection was set, but I figured rmoving the code was just as good.
13057
13058 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13059
13060         * FontLoader.C (available): Check if font is available without
13061         loading the font.
13062
13063 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13064
13065         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13066
13067 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * lyxrc.[Ch]: added display_graphics variable and associated code.
13070
13071 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * bufferparams.C (hasClassDefaults): new method. Returns true if
13074         the buffer parameters correspond to known class defaults
13075
13076 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13077
13078         * XFormsView.C (show): set minimum size to the main window.
13079
13080 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13081
13082         * text2.C (copySelection):
13083         (cutSelection):
13084         * lyxfind.C (LyXReplace):
13085         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13086         LyXText::selectionAsString.
13087
13088         * paragraph.C (asString): add "label" argument to the second form
13089
13090         * text2.C (selectionAsString): add "label" argument and pass it to
13091         Paragraph::asString.
13092
13093 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * lyx_main.C (commandLineHelp): remove version information
13096
13097 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13098
13099         * lyx_main.C: add -version commandline option
13100
13101 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13102
13103         * paragraph.h: make the optional constructor arg required instead.
13104         some modifications to other files because of this.
13105
13106         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13107
13108         * lyxserver.C (C_LyXComm_callback): make it static
13109
13110         * lyx_main.C (error_handler): make it static
13111
13112         * lyx_gui.C (LyX_XErrHandler): make it static
13113
13114         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13115
13116         * WorkArea.C: make the extern "C" methods static.
13117
13118         * Makefile.am (lyx_LDADD): simplify
13119
13120 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13121
13122         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13123         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13124
13125         * LyXAction.C (init):
13126         * lyxfunc.C (dispatch): associated code removal.
13127
13128 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13129
13130         * lyxfont.h (isSymbolFont): shut off warning
13131
13132         * text.C (setHeightOfRow):
13133         (getVisibleRow): fix crash with empty paragraphs which have a
13134         bottom line
13135
13136 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13137
13138         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13139         code.
13140
13141 2001-09-04  José Matos  <jamatos@fep.up.pt>
13142         * buffer.C
13143         * buffer.h
13144         * tabular.C (docbook): rename docBook method to docbook.
13145
13146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * Makefile.am: add dependencies to main.o.
13149
13150 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * FontLoader.C (available): Return false if !lyxrc.use_gui
13153
13154 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13155
13156         * FontInfo.C (query):
13157         * converter.C (view):
13158         * importer.C (Import):
13159         * exporter.C (Export): Can not -> cannot.
13160
13161 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13162
13163         * BufferView_pimpl.C: allow to create index inset even if
13164           string is empty
13165
13166 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13167
13168         * buffer.C (getLists): replace boost::tie code with an explicit pair
13169         as boost::tie can break some compilers.
13170
13171         * iterators.h: Added a std:: declaration to the return type of
13172         ParIterator::size.
13173
13174 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13177           case.
13178
13179 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13180
13181         * iterators.[Ch]: New files. Provide paragraph iterators.
13182
13183         * buffer.C (changeLanguage): Use paragraph iterators.
13184         (isMultiLingual): ditto
13185
13186         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13187
13188 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * FontLoader.C: Support for cmr font.
13191
13192 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13193
13194         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13195         (available): New method.
13196
13197         * FontInfo.C (getFontname): Use scalable fonts even when
13198         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13199         found.
13200
13201 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13202
13203         * converter.C (Formats::view): reverted! Incorrect fix.
13204
13205 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * converter.C (Formats::view): only output the -paper option
13208         if the dvi viewer is xdvi, thereby fixing bug #233429.
13209
13210 2001-08-23  Herbert Voss  <voss@perce>
13211
13212         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13213
13214 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13215
13216         * Spacing.h (Spacing): Set space to Default on in the default
13217         constructor.
13218
13219 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * vc-backend.h (RCS::versionString): add RCS to version
13222         (CVS::versionString): add CVS to version
13223
13224         * vc-backend.C (scanMaster): do not add CVS to version.
13225         (scanMaster): do not add RCS to version
13226
13227         * lyxvc.C (versionString): new method
13228
13229         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13230
13231 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * Spacing.C (set): initialize fval
13234
13235 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13236
13237         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13238         " or \.
13239
13240 2001-08-16  Juergen Vigna  <jug@sad.it>
13241
13242         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13243
13244 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * BufferView_pimpl.C:
13247         * figureForm.C:
13248         * lyxtext.h:
13249         * text2.C: setParagraph takes linespacing now
13250
13251 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * LyxAction.C: add internal LFUN_CITATION_INSERT
13254
13255         * LyXView.C: actually apply fix
13256
13257         * bufferlist.C: fix open non-existent file
13258
13259         * lyxfind.C: fix indentation
13260
13261         * lyxfunc.C: remove unneeded assert, fix typo
13262
13263 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * MenuBackend.C: use "Floatname List"
13266
13267 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13270         when converting LaTeX layout to insetERT.
13271         Generate a non-collapsed float when reading old float
13272
13273 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13276         ERT insets.
13277
13278 2001-08-13  Juergen Vigna  <jug@sad.it>
13279
13280         * text.C (fill): return 0 instead of 20 as this seems to be the more
13281         correct value.
13282
13283 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13286         lyxrc.font_norm.
13287
13288 2001-08-13  Juergen Vigna  <jug@sad.it>
13289
13290         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13291         casesensitive off.
13292         (SearchBackward): comment out the unlocking of the inset_owner this
13293         should not be needed!
13294
13295 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13296
13297         * Many files: Remove inherit_language, and add latex_language
13298
13299         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13300         collapsible insets.
13301
13302 2001-08-10  Juergen Vigna  <jug@sad.it>
13303
13304         * text.C (prepareToPrint): fixed hfill-width in draw!
13305
13306         * BufferView2.C (selectLastWord): save the selection cursor as this
13307         now is cleared in the function LyXText::clearSelection!
13308
13309 2001-08-08  Juergen Vigna  <jug@sad.it>
13310
13311         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13312         BACKSPACE type functions.
13313
13314         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13315         is only cutted from the document but not put in the cut-buffer, where
13316         still the old stuff should be.
13317
13318         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13319
13320         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13321
13322         * tabular.C (SetWidthOfCell): fixed special case where the width
13323         was not updated!
13324         (LeftLine): handle '|' in align_special.
13325         (RightLine): ditto
13326         (LeftAlreadyDrawed): ditto
13327         (SetWidthOfCell): ditto
13328
13329 2001-08-07  Juergen Vigna  <jug@sad.it>
13330
13331         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13332
13333 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13336         * lyxlex.[hC]: ditto
13337
13338 2001-08-06  Juergen Vigna  <jug@sad.it>
13339
13340         * text.C (getVisibleRow): fix up row clearing a bit.
13341
13342 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * minibuffer.C: make sure the X server sees the changes in the input.
13345
13346 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * paragraph.C (getFont): split into...
13349         (getLabelFont): this
13350         (getLayoutFont): and this
13351         * paragraph_pimpl.C (realizeFont): calling this
13352
13353         * text2.C (getFont): split into...
13354         (getLayoutFont): this
13355         (getLabelFont): and this
13356         (realizeFont): all three calling this
13357
13358         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13359         files where used.
13360
13361 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13364
13365 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13366
13367         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13368         layouts from the Quote inset insertion.
13369
13370 2001-08-03  Juergen Vigna  <jug@sad.it>
13371
13372         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13373
13374         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13375         only if status not is already CHANGED_IN_DRAW (second level).
13376
13377         * text.C (draw): don't set the need_break_row when inside an
13378         InsetText LyXText.
13379
13380 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * buffer.C (parseSingleLyXformat2Token): handle more latex
13383         conversion cases.
13384
13385         * bufferview_funcs.[hC]: change function names to
13386         begin with small char, adjust other files.
13387
13388 2001-08-02  André Pönitz <poenitz@gmx.net>
13389
13390         * lyxfunc.C:
13391         BufferView_pimpl.C: remove broken special code for math-greek
13392
13393 2001-08-02  Juergen Vigna  <jug@sad.it>
13394
13395         * BufferView_pimpl.C (update): redone this function so that we
13396         update the text again if there was a CHANGE_IN_DRAW.
13397
13398         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13399         (drawFromTo): added a new internal bool which is used by draw() and
13400         redraw() function.
13401         (general): some cursor drawing problems fixed.
13402
13403 2001-08-01  Juergen Vigna  <jug@sad.it>
13404
13405         * lyxfind.C (LyXFind): fixed
13406         (SearchForward): ditto
13407         (SearchBackward): ditto
13408
13409         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13410         spurius drawing of the cursor in the main area.
13411
13412         * text2.C (status): small fix which could lead to a segfault!
13413         (clearSelection): remove unneeded BufferView param.
13414
13415 2001-08-01  André Pönitz <poenitz@gmx.net>
13416
13417         * lyxfunc.C: small change due to changed mathed interface
13418
13419 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13422
13423 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * lyxfunc.c: fail gracefully if file doesn't exist
13426
13427         * LyXSendto.C:
13428         * buffer.C:
13429         * lyxfunc.C:
13430         * BufferView_pimpl.C: IsDirWriteable() proto changed
13431
13432         * LyXView.C: fix updateWindowTitle() to store the last title
13433
13434 2001-07-31  Juergen Vigna  <jug@sad.it>
13435
13436         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13437         the font (wrong since using of Paragraph::highestFontInRange).
13438
13439         * paragraph.C (highestFontInRange): added a default_size parameter.
13440
13441         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13442         (setHeightOfRow): reformat
13443
13444 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * converter.[hC] + affected files: move to (inital-char)lowercase
13447         function names.
13448
13449         * ParagraphParameters.C (ParagraphParameters): remove commented code
13450
13451         * PainterBase.[Ch]: remove commented code
13452
13453         * LaTeXFeatures.h: add "bool floats" for float.sty
13454
13455         * LaTeXFeatures.C (LaTeXFeatures): init floats
13456         (require): handle float
13457         (getPackages): do it with floats
13458
13459 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13460
13461         * BufferView_pimpl.C (Dispatch): improve handling of
13462         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13463
13464         * commandtags.h: #include lyxfont.h here temporarily to avoid
13465         keybinding bug.
13466
13467         * bufferlist.h: include LString.h here.
13468
13469 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * text2.C (getStringToIndex): new method.
13472
13473 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13474
13475         * *: Reduced header file dependencies all over.
13476
13477 2001-07-30  Baruch Even  <baruch@lyx.org>
13478
13479         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13480
13481 2001-07-29  Baruch Even  <baruch@lyx.org>
13482
13483         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13484
13485 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * ParameterStruct.h (endif): add a default constructor to make
13488         sure that all variables is initialized.
13489
13490         * ParagraphParameters.C (ParagraphParameters): adjust
13491
13492 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13493
13494         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13495         index; also, check that there is something to index, and that it
13496         does not span over several paragraphs.
13497         (doubleClick): use WHOLE_WORD_STRICT for double click.
13498
13499         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13500
13501         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13502         scheme.
13503
13504 2001-07-26  Baruch Even  <baruch@lyx.org>
13505
13506         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13507         an InsetFig figure, backwards compatible reading of old figure code.
13508
13509 2001-07-27  Juergen Vigna  <jug@sad.it>
13510
13511         * text2.C: font.realize function adaption.
13512
13513         * text.C (draw): add a warnings lyxerr text if needed.
13514
13515         * layout.C: font.realize function adaption.
13516
13517         * language.C: add inherit_language and implement it's handlings
13518
13519         * bufferview_funcs.C (StyleReset): remove language parameter from
13520         font creation (should be language_inherit now).
13521
13522         * bufferparams.C (writeFile): handle ignore_language.
13523
13524         * paragraph.C (getFontSettings): the language has to be resolved
13525         otherwise we have problems in LyXFont!
13526
13527         * lyxfont.C (lyxWriteChanges): added document_language parameter
13528         (update): removed unneeded language parameter
13529
13530         * paragraph.C (validate): fixed wrong output of color-package when
13531         using interface colors for certain fonts in certain environments,
13532         which should not seen as that on the final output.
13533
13534 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * BufferView_pimpl.C:
13537         * Thesaurus.h:
13538         * Thesaurus.C:
13539         * Makefile.am:
13540         * commandtags.h:
13541         * LyXAction.C: add thesaurus support
13542
13543         * lyxfind.h:
13544         * lyxfind.C: add "once" parameter, for thesaurus, to not
13545           move to the next match
13546
13547 2001-07-26  Juergen Vigna  <jug@sad.it>
13548
13549         * lyxfont.C (realize): honor ignore_language too!
13550         (resolved): ditto.
13551
13552         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13553
13554         * text.C (draw): one place more for ignore_language to not draw
13555         itself!
13556
13557 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13560
13561 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13564         the minipage conversion problem.
13565
13566 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13567
13568         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13569         insert an inset.
13570
13571 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * BufferView.h: don't forward declare WorkArea
13574
13575         * BufferView.C: don't include WorkArea.h
13576
13577 2001-07-25  André Pönitz <poenitz@gmx.net>
13578
13579         * commandtags.h:
13580         * LyXAction.C:
13581         * lyxfunc.C:  new LFUN 'math-space'
13582
13583         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13584
13585 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13586
13587         * text2.C (toggleInset): call open/close
13588
13589 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * lyxfunc.C (dispatch): add debug for the disabled case
13592
13593         * font.C (buttonText): make similar to rectText
13594
13595         * buffer.C (readInset): comment out parsing of insetlist and
13596         insttheorem
13597
13598         * PainterBase.C (rectText): small correction
13599
13600         * BufferView_pimpl.C: comment out insettheorem and insetlist
13601         * LyXAction.C: ditto
13602         * commandtags.h: ditto
13603
13604 2001-07-24  Juergen Vigna  <jug@sad.it>
13605
13606         * text.C (draw): honor the ignore_language.
13607
13608         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13609
13610 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13613         char inset.
13614
13615 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13616
13617         * lyxtext.h: remove unused (and unimplemented) methods
13618
13619 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13620
13621         * text.C (getVisibleRow): honor background color
13622
13623         * PainterBase.h:
13624         * Painter.h: remove default color argument for fillRectangle
13625
13626         * text.C (backgroundColor): new method
13627
13628 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * text.C (getVisibleRow): adjust
13631
13632         * font.[Ch] (rectText): new method, metrics
13633         (buttonText): new method, metrics
13634
13635         * PainterBase.[hC]: make rectText and buttonText always draw and take
13636         fewer paramteres.
13637
13638 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13639
13640         * ToolbarDefaults.C (read):
13641         * MenuBackend.C (read): allow escaping in all strings
13642
13643         * BufferView_pimpl.C (insertAndEditInset): new method.
13644         (Dispatch): use insertAndEditInset whenever appropriate.
13645
13646         * BufferView_pimpl.C (insertNote): removed
13647
13648         * BufferView_pimpl.C (smartQuote): new method, moved from
13649         BufferView; if an insetquote cannot be inserted, insert a '"'
13650         character instead.
13651
13652         * BufferView2.C: remove insertCorrectQuote();
13653
13654         * lyxfunc.C (getStatus): Add support for all remaingin
13655         inset-insert lfuns.
13656
13657         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13658
13659         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13660         command (necessary to pass " as parameter of self-insert.
13661
13662         * text.C (selectWordWhenUnderCursor):
13663         (selectWord): add word_location parameter
13664         (selectWordWhenUnderCursor): same + remove special code for word
13665         boundary.
13666         (selectNextWord): use kind() to guess type of insetspecialchar,
13667         not latex().
13668
13669         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13670         (insertErtContents): create ert insets as collapsed.
13671         (readInset): better compatibility code for Info inset.
13672
13673 2001-07-20  Juergen Vigna  <jug@sad.it>
13674
13675         * lyxfunc.C (dispatch): use always LyXFind now!
13676
13677         * text2.C (init): add a reinit flag so that the LyXText can be
13678         reinited instead of deleted and reallocated (used in InsetText).
13679
13680         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13681
13682         * text.C: ditto
13683
13684         * text2.C: ditto
13685
13686 2001-07-18  Juergen Vigna  <jug@sad.it>
13687
13688         * text.C (selectNextWord): handle insets inside inset by calling
13689         always the bv->text functions so that we can go up the_locking_inset!
13690
13691         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13692         in strange locations when inside an inset!
13693
13694         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13695         handling to include insets.
13696
13697         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13698
13699 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * LyXAction.C (init):
13702         * commandtags.h:
13703         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13704         LIGATURE_BREAK, since the name is so stupid.
13705
13706 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13707
13708         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13709         InsetInfos.
13710
13711         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13712
13713         * sp_form.[Ch]: remove.
13714
13715         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13716
13717         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13718         InsetInfo.
13719
13720         * src/buffer.C (readInset): ditto.
13721
13722 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13723
13724         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13725         menuSeparator(), endOfSentenceDot(), ldots() and
13726         hyphenationPoint(), which are therefore removed.
13727         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13728
13729         * LyXAction.C (init):
13730         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13731
13732         * paragraph.C (getWord): removed.
13733
13734         * BufferView_pimpl.C (Dispatch): use last word or selection for
13735         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13736
13737         * lyx_main.C (queryUserLyXDir): do not ask before creating
13738         user_dir, except if it has been named explicitely.
13739
13740 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13743         a document of zero size.
13744
13745 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13748         approriately in the c-tor and in require().
13749         (getPackages): output the appropriate LaTeX for natbib support.
13750
13751         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13752         variables "use_natbib" and "use_numerical_citations" when reading the
13753         LyX file.
13754         (readInset): read the various natbib cite commands.
13755         (validate): white-space change.
13756
13757         * bufferparams.[Ch]: new variables "bool use_natbib" and
13758         "bool use_numerical_citations".
13759         (writeFile): output them in the LyX file.
13760
13761 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13762
13763         * lyxfunc.C (getStatus): add support for all the inset insertion
13764         commands.
13765
13766         * text2.C (insertInset):
13767         * paragraph.C (insetAllowed):
13768         * BufferView_pimpl.C (insertInset): update to take in account the
13769         renaming of insertInsetAllowed
13770
13771         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13772
13773         * text2.C (getInset): new method. returns inset at cursor position.
13774
13775         * BufferView_pimpl.C (Dispatch): changes because of this.
13776
13777         * LyXAction.C (init): rename open-stuff to inset-toggle.
13778
13779         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13780
13781         * text2.C (toggleInset): renamed from openStuff; use
13782         Inset::open().
13783
13784 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13785
13786         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13787
13788         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13789
13790 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * buffer.C (readLyXformat2): Add filename to the error dialog
13793
13794 2001-07-18  Juergen Vigna  <jug@sad.it>
13795
13796         * tabular.C (GetCellNumber): put an assert here instead of the check!
13797
13798 2001-07-17  Juergen Vigna  <jug@sad.it>
13799
13800         * BufferView_pimpl.C (toggleSelection): adapted too.
13801
13802         * text.C (selectNextWord): adapted for use with insets.
13803         (selectSelectedWord): ditto
13804
13805 2001-07-17  Juergen Vigna  <jug@sad.it>
13806
13807         * sp_spell.C (PSpell): fix initialitation order.
13808
13809 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * paragraph.C: spacing
13812
13813 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13814
13815         * sp_spell.C: repair language selection for pspell
13816
13817 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * lyxfunc.h: change more methods to begin with lower char.
13820
13821 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13824         for unknown layouts.
13825
13826 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13827
13828         * buffer.C (readLyXformat2): Generate an error dialog if there are
13829         unknown layouts.
13830
13831 2001-07-16  Juergen Vigna  <jug@sad.it>
13832
13833         * sp_spell.C: always compile ISpell part.
13834
13835         * lyxrc.C: added use_pspell entry and it's handling.
13836
13837 2001-07-13  Juergen Vigna  <jug@sad.it>
13838
13839         * sp_spell.C: removed double includes.
13840
13841 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13842
13843         Consistent use of Lsstream.h:
13844         * Lsstream.h: added using std::stringstream for consistencies sake.
13845
13846         * buffer.C: removed using std::stringstream
13847
13848         * lyxfont.C (stateText):
13849         * paragraph.C (asString):
13850         * text.C (selectNextWord, selectSelectedWord):
13851         * text2.C (setCounter):
13852         * vspace.C (asString, asLatexString):
13853         std::ostringstream -> ostringstream.
13854
13855 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13856
13857         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13858         * commandtags.h: add LFUN_HELP_ABOUTLYX
13859         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13860
13861 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13862
13863         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13864         cursorToggle()
13865         * lyx_gui_misc.C: remove spellchecker
13866         * lyxfunc.C: showSpellchecker
13867         * sp_base.h: added
13868         * sp_ispell.h: added
13869         * sp_pspell.h: added
13870         * sp_spell.C: added
13871         * sp_form.[Ch]: removed
13872         * spellchecker.[Ch]: removed
13873
13874 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13875
13876         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13877         is set.
13878         (simpleTeXSpecialChars): Simply print the input character without
13879         any special translation if pass_thru is set.
13880
13881         * layout.h: Added bool pass_thru to layout class for being able to
13882         implement pass through of a paragraph for Literate Programming.
13883
13884         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13885         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13886         * layout.C (Read): add "passthru" to list of layout tags and add
13887         code to set the pass_thru boolean when it is read.
13888
13889 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * trans_decl.h: remove allowed from KmodInfo
13892
13893         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13894         remove allowed code
13895         (Load): adjust
13896
13897         * paragraph_pimpl.C (erase): use boost::prior
13898
13899         * Painter.C (text): use data() instead of c_str() when length is
13900         also provided.
13901         * WorkArea.C (putClipboard): ditto
13902         * font.h (width): ditto
13903
13904         * BufferView2.C: use it-> instead of (*it). for iterators
13905         * texrow.C: ditto
13906         * paragraph_pimpl.C: ditto
13907         * paragraph.C: ditto
13908         * minibuffer.C: ditto
13909         * language.C: ditto
13910         * kbmap.C: ditto
13911         * encoding.C: ditto
13912         * counters.C: ditto
13913         * converter.C: ditto
13914         * chset.C: ditto
13915         * Variables.C: ditto
13916         * TextCache.C: ditto
13917         * MenuBackend.C: ditto
13918         * LyXAction.C: ditto
13919         * LColor.C: ditto
13920         * FloatList.C: ditto
13921         * DepTable.C: ditto
13922         * ColorHandler.C (LyXColorHandler): ditto
13923
13924 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13927
13928         * text2.C (openStuff): reintroduce this method (which had been
13929         nuked in NEW_INSETS frenzy).
13930
13931         * lyxfunc.C (Dispatch): when an action has not been handled, use
13932         its name in the error message, not its number.
13933
13934         * paragraph.C (inInset): change method name to begin with lowercase.
13935
13936         * undo_funcs.C:
13937         * text2.C: updates because of this.
13938
13939 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * ToolbarDefaults.C (add): add spaces in error message
13942
13943 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13946         (readLyXformat2): rename return_par to first_par, use lyxlex's
13947         pushToken and remove the manual push handling.
13948         (parseSingleLyXformat2Token): add another ert comp. variable:
13949         in_tabular, rename return_par to first_par. handle newlines better
13950
13951 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13954
13955 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * text2.C (getParFromID): removed
13958
13959         * buffer.C (getParFromID): new method moved form lyxtext.
13960         * BufferView2.C (insertErrors): adjust
13961         (setCursorFromRow): adjust
13962         * BufferView_pimpl.C (restorePosition): adjust
13963         * lyxfunc.C (Dispatch): adjust
13964         * undo_funcs.C (textUndo): adjust
13965         (textRedo): adjust
13966         (textHandleUndo): adjust
13967         (textHandleUndo): adjust
13968
13969 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * buffer.C: up' the LYX_FORMAT
13972
13973         * lyxfont.h: turn NO_LATEX on as default
13974
13975         * buffer.C (insertErtContents): new methods of tex style compability.
13976         (parseSingleLyXformat2Token): use it several places.
13977         * tabular.C (OldFormatRead): and here
13978
13979 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * text2.C: remove some commented code.
13982         reindent file.
13983
13984         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13985         * trans.C: changes because of the above.
13986
13987 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * text2.C (setCounter): Fix counters bug with bibliography layout.
13990
13991 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13994         own member functions
13995         (simpleTeXSpecialChars): ditto
13996
13997 2001-07-06  Juergen Vigna  <jug@sad.it>
13998
13999         * a lot of files: changed the access to LyXText::status and the
14000         call of undo-functions.
14001
14002         * undo.[Ch]: added a inset_id to the undo informations.
14003
14004         * undo_funcs.[Ch]: added and moved here all undo functions.
14005
14006         * lyxtext.h: give the status enum a weight, made status_ a private
14007         variable and made accessor functions for it, removed the whole bunch
14008         of undo-functions as they are now in their own file, make some
14009         functions publically available. Added function ownerParagraph with
14010         int parameter.
14011
14012         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14013         made InInset() a const function, added getParFromID() function.
14014
14015         * buffer.[Ch]: added const version for inset_iterator functions,
14016         added getInsetFromID() function.
14017
14018         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14019         changed undo functions for new version.
14020
14021 2001-07-05  Juergen Vigna  <jug@sad.it>
14022
14023         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14024         unknow mechanism does not call the proper constructor but only this
14025         one also if I request the other!?
14026
14027 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14028
14029         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14030
14031         * text2.C (LyXText): use initialization lists.
14032
14033         * lyxtext.h (Selection): initialize set_ and mark_
14034         (init): remove method
14035
14036 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14037
14038         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14039
14040 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * screen.[Ch]: change method names to begin with lowercase
14043
14044         * BufferView_pimpl.C (updateScrollbar): simplify further and
14045         hopefully make it a bit faster.
14046
14047 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14050         calling directly xforms functions.
14051
14052         * Painter.C (Painter):
14053         * lyx_cb.C (MenuWrite):
14054         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14055         fl_display.
14056
14057         * lyx_gui.C: remove bogus guiruntime extern declaration.
14058
14059 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14062         in NEW_INSETS
14063         (redoDrawingOfParagraph): ditto
14064         (redoParagraphs): ditto
14065         (cutSelection): don't create a object for CutAndPaste use the
14066         static method directly
14067         (pasteSelection): ditto
14068
14069         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14070         LyXview (+ rename)
14071
14072 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * modifications to some other files because of this.
14075
14076         * Makefile.am (lyx_SOURCES): add XFormsView
14077
14078         * XFormsView.[Ch]: new files
14079
14080         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14081         the main window. Move the gui dependent stuff to XFormsView
14082
14083 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * tabular.C (GetCellInset): update cur_cell also in the row/col
14086         version of this function.
14087
14088         * lyxfunc.C: no need to include figure_form.h here.
14089
14090         * FontLoader.h:
14091         * lyxfunc.h:
14092         * lyxscreen.h:
14093         * text2.C:
14094         * lyxvc.C: no need to include forms.h here.
14095
14096 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14099
14100         * lyxfunc.C (Dispatch):
14101         * Spacing.C (set):
14102         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14103         constructor argument.
14104
14105 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14106
14107         * paragraph.C (Paragraph): dont't clear, and just set layout.
14108         (makeSameLayout): use params's copy contructor.
14109
14110         * ParagraphParameters.[Ch] (makeSame): delete method
14111
14112 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * Variables.[Ch]: fix indentation, rename set to isSet
14115
14116 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * lyxfunc.C (Dispatch): fix typo
14119
14120 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14123         upper_bound.
14124
14125         * bufferlist.C: include assert.h for emergencyWrite().
14126
14127 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14130           give up at last (bug #425202) !
14131
14132 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * lyx_gui_misc.C:
14135         * sp_form.h:
14136         * sp_form.C:
14137         * spellchecker.h:
14138         * spellchecker.C: strip spellchecker options and bring up
14139           preferences tab instead
14140
14141 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14144         the istringstream constructor
14145
14146 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * paragraph.C (getLayout): fix return value
14149
14150         * paragraph.h: do not declare getLayout as inline.
14151
14152         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14153
14154 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * lyxcursor.h (operator<): new func
14157         (operator>): new func
14158         (operator>=): new func
14159         (operator<=): new func
14160
14161         * text.C (changeCase): use selection.start and selection.end
14162         (changeRegionCase): require from to be <= to. Require par to be a
14163         valid paragraph.
14164
14165         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14166
14167 2001-06-27  Juergen Vigna  <jug@sad.it>
14168
14169         * text.C (cursorLeftOneWord): changed to return the cursor and added
14170         overlay with BufferView * parameter which calls this one.
14171         (getWord): added
14172         (selectWord): use new getWord function.
14173         (changeCase): renamed from changeWordCase as and extended to work
14174         also on selections.
14175
14176         * lyxtext.h: added enum word_location
14177
14178         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14179         changeCase as this operates now also on selections.
14180
14181 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14182
14183         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14184
14185         * many files: send debug output to Debug::INFO instead of
14186         Debug::ANY.
14187
14188         * converter.C (View):
14189         (Convert):
14190         (Move): send debug output to Debug::FILES instead of console.
14191
14192 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14193
14194         * lyxfunc.C (getStatus): use func_status
14195
14196         * func_status.h: new header, describing the results of
14197         LyXFunc::getStatus;
14198
14199         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14200         LFUN_MATH_HALIGN.
14201
14202 2001-06-25  The LyX Project  <jug@sad.it>
14203
14204         * buffer.C (sgmlOpenTag):
14205         (sgmlCloseTag):
14206         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14207
14208 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * text2.C: remove some dead code
14211
14212         * tabular.C (GetCellInset): store the last cell checked (gotten)
14213
14214         * tabular.h: add the helper for the speedup
14215
14216         * lyxtext.h: remove some dead code
14217
14218 2001-06-26  The LyX Project  <Asger>
14219
14220         * paragraph.C: Change export to LaTeX of alignment to
14221         \begin{center} and family for better roundtrip work with reLyX.
14222
14223         * Tune the math drawing a bit.
14224
14225 2001-06-25  The LyX Project  <Asger>
14226
14227         * LColor.C (LColor): New color for math background. New color
14228         for buttons.
14229
14230 2001-06-25  The LyX Project  <jug@sad.it>
14231
14232         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14233
14234         * lyxfunc.C (Open):
14235         * bufferlist.C (newFile): do not restrict to files ending with
14236         .lyx
14237
14238         * BufferView_pimpl.C (MenuInsertLyXFile):
14239
14240 2001-06-24  The LyX Project  <jug@sad.it>
14241
14242         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14243         of compare_no_case
14244
14245 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * lyxtext.h: rename most methods to begin with a small char.
14248         Lots of changes because of this.
14249
14250         * paragraph.C (Paragraph): do not call fitToSize
14251         (erase): call Pimpl::erase
14252         (insertChar): call Pimpl::insertChar
14253         (insertInset): call Pipl::insertInset
14254         (breakParagraph): do not call fitToSize
14255         (breakParagraphConservative): do not call fitToSize
14256         (fitToSize): remove method
14257
14258         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14259
14260 2001-06-24  The LyX Project  <Asger>
14261
14262         * Fix Qt compilation^2
14263
14264 2001-06-24  The LyX Project  <jug@sad.it>
14265
14266         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14267         depthHook(getDepth()-1).
14268
14269         * paragraph.h:
14270         * ParagraphParameters.h:
14271         * ParameterStruct.h: change type of depth to unsigned int ==
14272         depth_type. Many adaptations to other files before of that.
14273
14274 2001-06-24  The LyX Project  <Asger>
14275
14276         * Fix Qt compilation.
14277
14278 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14279
14280         * paragraph.h: renamed several methods to begin with small letter.
14281         several changes to many parts of the code because of this.
14282
14283 2001-06-23  The LyX Project  <jug@sad.it>
14284
14285         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14286         rewritten to discard all double spaces when KeepEmpty is off
14287         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14288         to only handle newlines but not fiddle with spaces and friends.
14289
14290         * lyxfunc.C (MenuNew): when doing 'new from template', use
14291         template_path as default directory
14292
14293 2001-06-23  The LyX Project  <Asger>
14294
14295         * Clean-up of header file includes all over
14296         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14297
14298 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * paragraph.h: renamed from lyxparagraph.h
14301
14302 2001-06-23  Asger  <lyx@violet.home.sad.it>
14303
14304         * Buffer.h: Removed Buffer::resize
14305         * BufferList.h: Removed BufferList::resize
14306         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14307         the document lazily when we change the width, or the font settings.
14308
14309 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14312
14313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * buffer.h: remove out of date comment
14316
14317 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14318
14319         * lyxscreen.h:
14320         * screen.C: fix "theoretical" GC leak
14321
14322 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14323
14324         * LaTeX.C (scanAuxFile):
14325         (deplog): remove trailing \r when reading stream (useful under
14326         win32)
14327
14328 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14329
14330         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14331         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14332         and BufferView::theLockingInset(Inset*), so should use them and not
14333         access bv_->text->the_locking_inset directly.
14334
14335         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14336
14337 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14338
14339         * Makefile.am:
14340         * tex-defs.h: remove old unused file
14341
14342 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14343
14344         * BufferView_pimpl.C: fix typo, remove minibuffer message
14345           when buffer has loaded
14346
14347 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * lyxfunc.C (Dispatch): use stringstream
14350         (MenuNew): use stringstream
14351         (Open): use stringstream
14352
14353         * importer.C (Import): use stringstream
14354
14355         * bufferview_funcs.C (CurrentState): use stringstream
14356
14357         * LaTeX.C (run): use stringstream
14358
14359         * BufferView_pimpl.C (savePosition): use stringstream
14360         (restorePosition): use stringstream
14361         (MenuInsertLyXFile): use stringstream
14362
14363 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14364
14365         * BufferView.C:
14366         * Bullet.C:
14367         * ColorHandler.C:
14368         * FontInfo.C:
14369         * FontLoader.C:
14370         * LColor.C:
14371         * LaTeXFeatures.C:
14372         * Painter.C:
14373         * gettext.C:
14374         * lyx_gui_misc.C:
14375         * lyxserver.C:
14376         * vspace.C: removed // -*- C++ -*- as first line.
14377
14378         * lyxfind.h:
14379         * version.h: added // -*- C++ -*- as first line.
14380
14381 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14384
14385         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14386         of string
14387
14388 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14391         of floats.
14392
14393 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * gettext.C: include LString.h even when --disable-nls is on.
14396
14397 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * converter.h (Get): changed argument type from int to
14400         FormatList::size_type to avoid unnecessary conversion.
14401
14402         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14403         before using it.
14404
14405 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14406
14407         * gettext.h: include LString.h even when --disable-nls is on.
14408
14409 2001-06-07  Juergen Vigna  <jug@sad.it>
14410
14411         * text.C (BreakAgain): subst spaces with tabs.
14412
14413         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14414         (resizeInsetsLyXText): set force on resizeLyXText.
14415
14416 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14417
14418         * gettext.h (gettext_init):
14419         (locale_init): use a real definition instead of a macro
14420
14421 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * Bufferview_pimpl.C:
14424         * LColor.h:
14425         * LColor.C: further lcolor tidies
14426
14427 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * BufferView_pimpl.C (updateScrollbar): simplify.
14430
14431         * BufferView2.C: don't include insets/insetinfo.h, change
14432         prototype for insertInset and call the Pimpl version. let
14433         updateInset call Pimpl version.
14434
14435         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14436         gotoInset to BufferView::Pimpl
14437
14438 2001-06-01  Juergen Vigna  <jug@sad.it>
14439
14440         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14441         inside a LockingInset (is the update needed at all?).
14442
14443 2001-05-31  Juergen Vigna  <jug@sad.it>
14444
14445         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14446         here not the old one otherwise how should we compare it afterwards
14447         if it's the same!
14448
14449 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * lyxfont.C:
14452         * tabular.C:
14453         * tabular-old.C:
14454         * FontInfo.C: bring C functions into global namespace when
14455         necessary
14456
14457 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * LString.h: make sure config.h has been loaded before LString.h.
14460
14461         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14462         (one for each char read by EatLine!).
14463
14464         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14465         variables.
14466
14467 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14468
14469         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14470         to the same as the par we break from
14471
14472 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14475
14476         * MenuBackend.C (expand): also create menu entries for wide
14477         versions of the floats.
14478
14479         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14480
14481         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14482
14483         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14484         frontends/Makefile.am
14485
14486         * text2.C: adjust
14487         * text.C: adjust
14488
14489
14490         * tabular.C (getTokenValue): add std::
14491
14492         * tabular-old.C (getTokenValue): add std::
14493         (getTokenValue): ditto
14494         (getTokenValue): ditto
14495
14496         * screen.C (ToggleSelection): adjust
14497
14498         * lyxtext.h: put selection cursors inside a Selection struct.
14499
14500         * lyxfunc.C (moveCursorUpdate): adjust
14501
14502         * lyxfont.C (latexWriteStartChanges): add std::
14503
14504         * lyxfind.C: adjust
14505
14506         * font.h: delete with(char const *, LyXFont const &)
14507
14508         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14509
14510         * FontInfo.C (getFontname): add std::
14511
14512         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14513         (workAreaButtonPress): adjust
14514         (tripleClick): adjust
14515         (update): adjust
14516         (moveCursorUpdate): adjust
14517         (Dispatch): adjust
14518
14519         * BufferView2.C (gotoInset): adjust
14520
14521 2001-05-30  Juergen Vigna  <jug@sad.it>
14522
14523         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14524         to check pspell I add this as default as I now have new pspell
14525         libraries and they seem to use this.
14526
14527 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * text2.C (CutSelection): make the cursor valid before the call to
14530         ClearSelection.
14531
14532 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14533
14534         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14535         relied on 0 terminated strings and other horrors. Bug found due to
14536         the new assert in lyxstring!
14537
14538         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14539         KP_ keys.
14540
14541 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14544         to latinkeys.bind.
14545
14546         * lyxfunc.C (processKeySym): change method of getting to the
14547         self-insert char.
14548
14549         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14550         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14551         * BufferView_pimpl.[Ch]: here as private methods.
14552
14553 2001-05-28  Juergen Vigna  <jug@sad.it>
14554
14555         * text.C (SetHeightOfRow): added the update() call again as it is
14556         needed to initialize inset dimensions!
14557
14558 2001-05-16  Juergen Vigna  <jug@sad.it>
14559
14560         * text2.C (SetCharFont): Add new function with BufferView * and
14561         bool toggleall parameters for setting insets internal fonts.
14562         (SetFont): Freeze the undo as we may change fonts in Insets and
14563         all this change should be inside only one Undo!
14564
14565         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14566         setting font's in insets as for them we have the SetFont function!
14567
14568 2001-05-15  Juergen Vigna  <jug@sad.it>
14569
14570         * text2.C (ClearSelection): to be sure we REALLY don't have any
14571         selection anymore!
14572
14573         * tabular.C (TeXCellPreamble): fixed the left border problem for
14574         multicolumn cells.
14575
14576 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14579         dependancy file
14580
14581 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14584         LFUN_BREAKPARAGRAPH.
14585
14586         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14587         help test to "internal only", similar for LFUN_INSERT_URL
14588
14589         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14590         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14591         auto_region_delete and deadkeys.
14592
14593 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14594
14595         * LColor.h:
14596         * LColor.C: remove some dead entries, tidy a little
14597
14598 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14601         commented code.
14602         (Dispatch): implement LFUN_ESCAPE
14603
14604         * commandtags.h: add LFUN_ESCAPE
14605
14606         * LyXAction.C (init): add entry for LFUN_ESCAPE
14607
14608         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14609         Remove commented code.
14610         (insertNote): moved here
14611         (open_new_inset): moved here
14612
14613         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14614         BufferView_pimpl
14615
14616 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * kbmap.C (findbinding): clean it up and make it work correctly.
14619
14620         * lyx_main.C (init): do not pass argc and argv as parameters
14621
14622 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14623
14624         * buffer.C: fix path for OS/2 & Win32
14625
14626         * lyx_gui.C:
14627         * lyx_main:
14628         * lyx_main.C: Added os:: class.
14629
14630         * os2_defines.h: update
14631
14632 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14633
14634         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14635         better by trying again with reduced state.
14636
14637 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyxrc.C (read): print error about invalid key sequence only when
14640         debugging (because not all latinX keysyms are known to some X
14641         servers)
14642
14643         * kbsequence.C (getiso): add a few std:: qualifiers
14644         (getiso): comment out extra return statement.
14645
14646 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14649         handling.
14650         (Dispatch): enhance the accent inset a bit. (not perfect)
14651
14652 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14655
14656 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14657
14658         * bufferlist.C (emergencyWrite): fix assert() call
14659
14660 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14661
14662         * text.C (InsertChar): Added trivial patch to only send the "you
14663         can not do multiple spaces this way" message once during a
14664         session.
14665
14666 2001-05-08  Baruch Even  <baruch@lyx.org>
14667
14668         * Makefile.am: Changed order of libraries to get LyX to link properly
14669         with the gnome frontend.
14670
14671 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * LaTeXFeatures.h: add a std:: qualifier
14674
14675 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * paragraph.C (String): use stringstream
14678
14679 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * paragraph.C (writeFile): remove footflag arg
14682
14683         * buffer.C (makeLaTeXFile): use stringstream
14684         (latexParagraphs): remove footnot gurba
14685
14686         * LaTeXFeatures.C (getPackages): use stringstream
14687         (getMacros): likewise
14688         (getTClassPreamble): likewise
14689         (getFloatDefinitions): new method
14690
14691         * paragraph.C (writeFile): reindent
14692         (Erase): reindent
14693
14694         * WorkArea.h: revert the xpos + etc changes.
14695
14696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14697
14698         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14699
14700         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14701         (pasteSelection): likewise
14702         * text2.C (CreateUndo): likewise
14703
14704 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * minibuffer.C (peek_event): temporarily reduce the functionality
14707         of the minibuffer (to allow args on lfuns)
14708
14709         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14710         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14711
14712         * buffer.C (readInset): add compability reading of old float
14713         lists, add reading of new style float list.
14714         (readInset): avoid reevaluation of inscmd.getCmdName()
14715         (getLists): reindent
14716
14717         * MenuBackend.C (MenuItem): implement parsing of
14718         md_floatlistinsert and md_floatinsert.
14719         (expand::LastFiles): move initalizaton of iterators out of loop,
14720         avoid reevaluation.
14721         (expand::Documents): introduce typdedef vector<string> Strings,
14722         and use it.
14723         (expand::ExportFormats): introduce typedef vector<Format const *>
14724         Formats, and use it.
14725         (expand): implement FloatListInsert and FloatInsert.
14726
14727         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14728         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14729         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14730
14731         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14732         handling.
14733         (Dispatch::LFUN_FLOAT_LIST): implement
14734
14735 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14736
14737         * LaTeX.C (run): Fix problem with --export code.
14738
14739 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14740
14741         * BufferView.[Ch] (workarea): removed.
14742         (getClipboard) new method; wrapper for workarea()->getClipboard()
14743
14744         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14745         bug.
14746
14747         * WorkArea.h (width, height, xpos, ypos): These methods all
14748         returned the dimensions of the work_area sub-area of WorkArea,
14749         resulting in a position error if the WorkArea were resized. Now
14750         return the dimensions of the entire WorkArea.
14751
14752         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14753
14754 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * LaTeX.C (deplog): correct the syntax of regex reg1
14757
14758 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * undo.C: remove !NEW_INSETS cruft
14761
14762 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * text2.C: remove !NEW_INSETS cruft
14765
14766         * text.C: remove !NEW_INSETS cruft
14767
14768         * tabular.C: remove !NEW_INSETS cruft
14769
14770         * spellchecker.C: remove !NEW_INSETS cruft
14771
14772         * lyxtext.h: remove !NEW_INSETS cruft
14773
14774         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14775
14776         * lyxfunc.C: remove !NEW_INSETS cruft
14777
14778         * lyxfind.C: remove !NEW_INSETS cruft
14779
14780         * lyx_cb.C: remove !NEW_INSETS cruft
14781
14782         * figureForm.C: remove  !NEW_INSETS cruft
14783
14784         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14785
14786         * buffer.[Ch]: remove !NEW_INSETS cruft
14787
14788         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14789
14790         * CutAndPaste.C: remove !NEW_INSETS cruft
14791
14792         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14793
14794         * BufferView2.C: remove !NEW_INSETS cruft
14795
14796         * BufferView.h: remove !NEW_INSETS cruft
14797
14798 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * Lsstream.h: include LString.h before the sstream headers to
14801         fix problem with gcc 2.95.3 and lyxstring
14802
14803 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * lyx_main.C: add using directives when needed for C functions
14806         declared in std:: namespace.
14807
14808 2001-04-27  Juergen Vigna  <jug@sad.it>
14809
14810         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14811         (SetHeightOfRow): comment out the update call should not be needed!
14812
14813 2001-04-13  Juergen Vigna  <jug@sad.it>
14814
14815         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14816         (LyXTabular): tried to minimize operator= operations (and realized
14817         hopfully Lars wish).
14818
14819 2001-04-27  Juergen Vigna  <jug@sad.it>
14820
14821         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14822
14823 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14826
14827         * buffer.C (readInset): hack to make listof algorithm work
14828
14829         * BufferView_pimpl.C: hack to make listof algorithm work
14830
14831 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * LyXAction.C: removed all !NEW_INSETS cruft
14834         (init): moved lfun_item in method
14835
14836         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14837
14838 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14839
14840         * BufferView2.C (theLockingInset): white space.
14841
14842 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14843
14844         * minibuffer.C: include <iostream>
14845
14846         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14847
14848         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14849
14850         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14851
14852         * text.[Ch] (TransposeChars): new method
14853
14854 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * call message directly through LyXView instead of through LyXFunc
14857         * BufferView2.C: adjust
14858         * BufferView_pimpl.C: adjust
14859         * FontLoader.C: adjust
14860         * buffer.C: adjust
14861         * bufferview_funcs.C: adjust
14862         * converter.C: adjust
14863         * figureForm.C: adjust
14864         * importer.C: adjust
14865         * lyx_cb.C: adjust
14866         * lyx_gui_misc.C: adjust
14867         * lyxfunc.C: adjust
14868         * lyxvc.C: adjust
14869         * text2.C: adjust
14870         + more files in subdirs
14871
14872         * lyxparagraph.h (size): move up int file
14873         (GetLayout): ditto
14874
14875         * adjust all uses of Assert to lyx::Assert.
14876
14877         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14878         lyxfunctional in namespace lyx
14879         * layout.C (hasLayout): ditto
14880         (GetLayout): ditto
14881         (GetLayout): ditto
14882         (delete_layout): ditto
14883         (NumberOfClass): ditto
14884         * converter.C (GetFormat): ditto
14885         (GetNumber): ditto
14886         (Add): ditto
14887         (Delete): ditto
14888         (SetViewer): ditto
14889         * bufferlist.C (getFileNames): ditto
14890         (emergencyWriteAll): ditto
14891         (exists): ditto
14892         (getBuffer): ditto
14893         * MenuBackend.C (hasSubmenu): ditto
14894         (hasMenu): ditto
14895         (getMenu): ditto
14896         * BufferView_pimpl.C (getInsetByCode): ditto
14897
14898 2001-04-18  Juergen Vigna  <jug@sad.it>
14899
14900         * vspace.C (asLatexString): fixed the 100% problem.
14901
14902 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * lyxfunc.C (Dispatch):
14905         * minibuffer.C:
14906         * minibuffer.h: add a few std:: qualifiers
14907
14908 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * minibuffer.[Ch]: reimplement so that commands is initiated and
14911         run from lyxfunc, simplified som handling, and made the completion
14912         and history code for complete. wip.
14913
14914         * lyxfunc.C (processKeySym): call message
14915         (miniDispatch): new temporary method
14916         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14917         (LFUN_MESSAGE): implement
14918         (LFUN_MESSAGE_PUSH): implement
14919         (LFUN_MESSAGE_POP): implement
14920         (initMiniBuffer): the initial/defualt minibuffer message.
14921
14922         * lyxfont.[Ch]: inline some more getters
14923
14924         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14925
14926         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14927
14928         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14929         (AutoSave): use LFUN_MESSAGE
14930         (Reconfigure): ditto
14931
14932         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14933
14934         * figureForm.C: use LFUN_MESSAGE
14935
14936         * converter.C (runLaTeX): use LFUN_MESSAGE
14937
14938         * bufferview_funcs.C: use LFUN_MESSAGE
14939         (Melt): ditto
14940         (changeDepth): ditto
14941
14942         * bufferparams.h: use boost::
14943
14944         * bufferlist.h: inherit privately from noncopyable
14945
14946         * bufferlist.C (loadLyXFile): remove some commented code.
14947
14948         * buffer.C (runChktex): use LFUN_MESSAGE
14949
14950         * ShareContainer.h: inherit privately from noncopyable
14951
14952         * ParagraphParameters.[hC] (depth): inline it.
14953
14954         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14955         methods.
14956         (message): new method
14957         (messagePush): ditto
14958         (messagePop): ditto
14959         (show): init minibuffer
14960         (showState): direct call
14961
14962         * LaTeX.[Ch]: inherit privately from noncopyable
14963         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14964         instead of WriteStatus.
14965
14966         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14967
14968         * BufferView_pimpl.C (buffer): don't init minibuffer
14969         (workAreaButtonPress): use LFUN_MESSAGE
14970         (workAreaButtonRelease): ditto
14971         (savePosition): ditto
14972         (restorePosition): ditto
14973         (MenuInsertLyXFile): ditto
14974         (workAreaExpose): don't init minibuffer
14975         (update): remove commented code, simplify
14976
14977         * BufferView2.C (openStuff): use LFUN_MESSAGE
14978         (toggleFloat): ditto
14979         (menuUndo): ditto
14980         (menuRedo): ditto
14981         (copyEnvironment): ditto
14982         (pasteEnvironment): ditto
14983         (copy): ditto
14984         (cut): ditto
14985         (paste): ditto
14986         (gotoInset): ditto
14987         (updateInset): remove some commented code
14988
14989         * lastfiles.h: inherit privately from noncopyable
14990         * layout.h: ditto
14991         * lyx_gui.h: ditto
14992         * lyx_main.h: ditto
14993         * lyxlex.h: ditto
14994         * lyxlex_pimpl.h: ditto
14995
14996         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14997         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14998         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14999
15000         * LyXAction.h: inherit privately from noncopyable, add methods
15001         func_begin, func_end, returning iterators to the func map.
15002
15003         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15004         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15005         (func_begin): new method
15006         (func_end): new method
15007
15008         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15009         and not)
15010         (copySelection): ditto
15011         (pasteSelection): ditto
15012
15013         * BufferView.C: whitespace change
15014         * BufferView.h: inherit privately from noncopyable
15015
15016 2001-04-16  Allan Rae  <rae@lyx.org>
15017
15018         * tabular-old.C (l_getline):
15019         * spellchecker.C (sc_check_word):
15020         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15021         an unrecognised preprocessor directive.  So ensure they're wrapped.
15022
15023 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * src/exporter.C (Export): Give an error message when path to file
15026         contains spaces.
15027
15028 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * LaTeX.C (deplog): Always check that foundfile exists.
15031
15032 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * lyx_main.h:
15035         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15036
15037 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15038
15039         * tabular.[Ch] (getLabelList): implement new method
15040
15041         * minibuffer.h: comment ouf setTiimer
15042
15043         * minibuffer.C (ExecutingCB): constify res
15044         (peek_event): constify s
15045         (Set): constify ntext
15046         (Init): constify nicename
15047
15048         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15049
15050         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15051         (savePosition): use two params to Minibuffer::Set
15052         (restorePosition): ditto
15053
15054 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * lyx_main.C: include language.h
15057
15058         * Makefile.am (lyx_main.o): add language.h
15059
15060 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * exporter.C:
15063         * paragraph.C:
15064         * screen.C:
15065         * tabular.C:
15066         * CutAndPaste.C: include gettext.h
15067
15068         * lyxfont.h: remove old hack with ON and OFF.
15069
15070         * lyxparagraph.h:
15071         * lyxfont.h: do not include language.h...
15072
15073         * BufferView2.C:
15074         * LaTeXFeatures.C:
15075         * Painter.C:
15076         * bufferview_funcs.C:
15077         * font.C:
15078         * lyxfont.C:
15079         * text.C:
15080         * text2.C:
15081         * trans_mgr.C:
15082         * paragraph.C: ... but do it here instead
15083
15084 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15087
15088         * tabular.C: small reformat
15089
15090         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15091         NEW_INSETS version
15092         (GetChar): ditto
15093         (BreakParagraph): ditto
15094         (SetOnlyLayout): ditto
15095         (SetLayout): ditto
15096
15097         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15098         with one arg less.
15099
15100         * lastfiles.C: removed most using decl, add std:: where needed
15101
15102         * buffer.C: ws changes
15103
15104         * MenuBackend.C (class compare_format): put into anon namespace
15105         (expand): constify label, names, action, action2
15106         (expand):
15107
15108         * text.C (SingleWidth): constify font
15109         (IsBoundary): constify rtl2
15110         (GetVisibleRow): constify ww
15111
15112         * LaTeX.C (deplog): constify logfile
15113
15114         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15115         start_x, end_x
15116         (workAreaExpose): constify widthChange, heightChange
15117
15118         * lyxrow.C (par): moved
15119         (height): moved
15120         (next): moved
15121         * lyxrow.h: as inlines here
15122
15123         * lyxfont.h (shape): moved from lyxfont.C
15124         (emph): moved from lyxfont.C
15125
15126         * lyxfont.C (LyXFont): use initialization list for all
15127         constructors
15128         (shape): move to lyxfont.h as inline
15129         (emph): move to lyxfont.h as inline
15130
15131
15132 2001-04-04  Juergen Vigna  <jug@sad.it>
15133
15134         * vspace.C: had to include stdio.h for use of sscanf
15135
15136 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15137
15138         * BufferView.h:
15139         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15140         independent of xforms.
15141
15142 2001-04-02  Juergen Vigna  <jug@sad.it>
15143
15144         * spellchecker.C: fixed namespace placing!
15145
15146 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15147
15148         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15149         the LyXParagraph * is 0.
15150
15151 2001-03-29  Juergen Vigna  <jug@sad.it>
15152
15153         * vspace.C: added support for %, c%, p%, l%.
15154         (stringFromUnit): added helper function.
15155         (asLatexString): changed to give right results for the %-values.
15156
15157         * buffer.C: convert the widthp in a width%.
15158
15159 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15160
15161         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15162         figureForm.[Ch].
15163
15164         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15165         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15166
15167         * lyx_cb.[Ch]: see above.
15168
15169         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15170         form1.[Ch].
15171
15172         * form1.[Ch]:
15173         * lyx.[Ch]: replaced by figure_form.[Ch].
15174
15175         * lyx_gui.C:
15176         * lyx_gui_misc.C:
15177         * lyxfunc.C: changed headers associated with above changes.
15178
15179 2001-03-27  Juergen Vigna  <jug@sad.it>
15180
15181         * BufferView_pimpl.C: set the temporary cursor right!
15182
15183 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15184
15185         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15186
15187 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15188
15189         * LString.h: removed "using std::getline"!
15190
15191         * BufferView_pimpl.C (Dispatch): changes due to changes in
15192         InsetInclude::Params.
15193
15194         * buffer.C (tag_name): removed redundant break statements as they were
15195         producing lots of warnings with my compiler.
15196
15197 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * LString.h: add "using std::getline" when using the real <string>.
15200
15201 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15202
15203         * buffer.C: removed bitset usage.
15204         PAR_TAG moved to an anonymous name space.
15205         (tag_name): new funtion, also in the anonymous namespace.
15206         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15207         (makeDocBookFile): clean code. Completed transition from string arrays
15208         to string vectors.
15209         (SimpleDocBookOnePar): code clean.
15210
15211 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15212
15213         * tabular.C: add some comments.
15214
15215 2001-03-22  Juergen Vigna  <jug@sad.it>
15216
15217         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15218         compatibility read a bit and fixed bug with minipage in different
15219         depth.
15220
15221 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15222
15223         * buffer.C (pop_tag): removed.
15224         (push_tag): removed.
15225         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15226         array replaced with vector. Added support for CDATA sections.
15227         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15228         at any nest level.
15229         (makeDocBookFile): XML conformant declaration of CDATA section,
15230         fixed bug related to <emphasis> in the first paragraph char.
15231         (sgmlOpenTag): exclude empty tags.
15232         (sgmlCloseTag): ditto.
15233
15234         * buffer.h (pop_tag): removed.
15235         (push_tag): removed.
15236
15237 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15238
15239         * language.h (Languages): added size_type and size().
15240
15241 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15242
15243         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15244         response on compability reading of minipages. One probliem is that
15245         the old usage of minipages was «flertydig»
15246
15247         * several files here and in subdirs: don't use static at file
15248         scope use anon namespaces instead.
15249
15250 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15251
15252         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15253         LaTeX output. This is necessary for Literate document
15254         processing.
15255
15256 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15257
15258         * buffer.C: insert hfill when needed.
15259
15260         * tabular.C (l_getline): use string::erase, small whitespace change.
15261
15262         * BufferView_pimpl.C: try the anon namespace.
15263         * WorkArea.C: ditto
15264
15265 2001-03-16  Juergen Vigna  <jug@sad.it>
15266
15267         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15268         otherwise it won't open options-dialogs.
15269
15270         * buffer.C: honor pextraWidth(p) on converting minipages.
15271
15272         * tabular.C (l_getline): changed the functions to strip trailing \r.
15273
15274 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15275
15276         * BufferView_pimpl.C:
15277         * minibuffer..C: added "using SigC::slot" declaration.
15278
15279 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15280
15281         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15282
15283         * text2.C: ditto
15284
15285         * text.C: ditto
15286
15287         * paragraph.C: ditto
15288
15289         * lyxtext.h: NO_PEXTRA
15290
15291         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15292
15293         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15294         * ParameterStruct.h: ditto
15295         * ParagraphParameters.h: ditto
15296         * lyxparagraph.h: ditto
15297
15298 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15299
15300         * buffer.C: add compability for minipage alignment.
15301         (latexParagraphs): remove unwanted pextra check.
15302
15303         * several files: remove CXX_WORKING_NAMESPACES
15304
15305         * buffer.C (pop_tag): tie is in namespace boost
15306
15307         * BufferView.h: noncopyable is in namespace boost
15308         * lyxlex.h: ditto
15309         * lyx_main.h: ditto
15310         * lyx_gui.h: ditto
15311         * layout.h: ditto
15312         * lastfiles.h: ditto
15313         * bufferlist.h: ditto
15314         * ShareContainer.h: ditto
15315         * LyXView.h: ditto
15316         * LyXAction.h: ditto
15317         * LaTeX.h: ditto
15318
15319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * Merging changes from BRANCH_MVC back into HEAD.
15322
15323         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15324
15325 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15326
15327         * BufferView_pimpl.C: change from intl.C
15328
15329         * combox.h:
15330         * combox.C:
15331         * Makefile.am: move combox.*
15332
15333         * form1.h:
15334         * form1.C:
15335         * lyx_gui.C:
15336         * intl.h:
15337         * intl.C: remove dialog (covered by prefs)
15338
15339 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15340
15341         * lyxfunc.C (Dispatch): removed redundant break statement.
15342
15343 2001-03-14  Juergen Vigna  <jug@sad.it>
15344
15345         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15346
15347 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15348
15349         * buffer.C: add hack to fix compability reading of minipages.
15350
15351 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15352
15353         * buffer.C (getLists): Cleanup.
15354
15355 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * lyxfont.C (update): don't honor toggleall on font size.
15358
15359 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * bmtable.c:
15362         * bmtable.h:
15363         * Makefile.am: moved to frontends/xforms/
15364
15365         * lyx_gui_misc.C:
15366         * lyxfunc.C:
15367         * BufferView_pimpl.C: changes for moved mathpanel
15368
15369 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15370
15371         * gettext.h: fix gettext_init() in --disable-nls
15372
15373 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15376
15377 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15378
15379         * lyx.C:
15380         * lyx.h: strip external form
15381
15382 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * BufferView_pimpl.C: add comment, destroySplash()
15385
15386 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * BufferView_pimpl.C:
15389         * LyXAction.C:
15390         * buffer.C:
15391         * commandtags.h:
15392         * lyxfunc.C: use re-worked insetinclude
15393
15394 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15395
15396         * buffer.C: add using std::stringstream.
15397
15398         * lyx_cb.C: readd using std::ios.
15399
15400         * buffer.C: add using std::map.
15401
15402         * BufferView_pimpl.C: add using std::vector.
15403
15404         * ShareContainer.h: add std:: to swap.
15405
15406         * buffer.h: add some typedefs
15407         * buffer.C (getLists): use them
15408         (getLists): renamed from getTocList.
15409         add a counter for the different float types and use it in the
15410         generated string.
15411         (getLists): use the same counter for the NEW_INSETS and the "non"
15412         NEW_INSETS
15413
15414         * lyx_cb.h: remove unused items, includes, using etc.
15415
15416         * ShareContainer.h: remove some commented code, add more comments
15417         and "documentation".
15418
15419 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15420
15421         * buffer.C (getTocList): make the list also when NEW_INSETS is
15422         defined.
15423
15424         * buffer.h: remove TocType
15425
15426         * buffer.C (getTocList): change to return a map<string,
15427         vector<TocItem> >, implement for dynamic number of list.
15428
15429         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15430         * text2.C (PasteSelection): adjust
15431         * CutAndPaste.C (pasteSelection): adjust
15432
15433         * FloatList.C (FloatList): update from the new_insets branch.
15434         * Floating.[Ch]: ditto
15435         * LaTeXFeatures.C: ditto
15436         * buffer.C: ditto
15437         * lyxlex_pimpl.C: ditto
15438
15439         * paragraph.C (Last): remove when NEW_INSETS is defined.
15440
15441         * other file: changes because of the above.
15442
15443 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15444
15445         * lyxparagraph.h: rename next to next_, previous to previous_,
15446         make them private for NEW_INSETS. Rename Next() to next(),
15447         Previous() to previous().
15448
15449         * other files: changes because of the above.
15450
15451 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15452
15453         * BufferView.h:
15454         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15455         problem.
15456
15457 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15458
15459         * main.C (main): pass lyx_localedir to gettext_init().
15460
15461         * gettext.h: remove locale_init and gettext_init macros
15462
15463         * gettext.C (locale_init): new function
15464         (gettext_init): new function
15465
15466         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15467         setlocale().
15468
15469 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15470
15471         * Moved credits to frontends:
15472         * credits.[Ch]: removed
15473         * credits_form.[Ch]: removed
15474         * lyx_gui_misc.C: remove credits stuff
15475         * Makefile.am:
15476
15477 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15478
15479         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15480
15481         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15482         unneeded destructor.
15483
15484         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15485         a standalone pointer again.
15486
15487         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15488
15489 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15490
15491         * Makefile.am:
15492         * filedlg.h:
15493         * filedlg.C:
15494         * LyXAction.C:
15495         * ToolbarDefaults.C:
15496         * bufferlist.C:
15497         * commandtags.h:
15498         * form1.C:
15499         * form1.h:
15500         * lyx_cb.C:
15501         * lyx_cb.h:
15502         * lyxfunc.h:
15503         * lyxfunc.C:
15504         * BufferView_pimpl.C: use new file dialog in GUII
15505
15506         * lyx_cb.h:
15507         * lyx_cb.C: remove LayoutsCB to Toolbar
15508
15509 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * ShareContainer.h (get): add std:: qualifier
15512
15513 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * ShareContainer.h: define a proper ShareContainer::value_type
15516         type (and use typename to please compaq cxx)
15517
15518 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15519
15520         * lyxparagraph.h: move serveral local vars to
15521         ParameterStruct/ParagraphParameters., use ShareContainer in
15522         FontTable., make vars in FontTable private and add getter and
15523         setter.
15524
15525         * paragraph.C: changes because of the above.
15526
15527         * lyxfont.h: remove copy constructor and copy assignment. (the
15528         default ones is ok), move number inside FontBits. move inlines to
15529         lyxfont.C
15530
15531         * lyxfont.C: add number to initializaton of statics, move several
15532         inlines here. constify several local vars. some whitespace
15533         cleanup. Dont hide outerscope variables.
15534
15535         * Spacing.h: add two new constructors to match the set methods.
15536
15537         * ShareContainer.h: new file, will perhaps be moved to support
15538
15539         * ParameterStruct.h: new file
15540
15541         * ParagraphParameters.h: new file
15542
15543         * ParagraphParameters.C: new file
15544
15545         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15546         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15547
15548         * BufferView_pimpl.C: ParagraphParameter changes.
15549         * buffer.C: Likewise.
15550         * bufferview_funcs.C: Likewise.
15551         * text.C: Likewise.
15552         * text2.C: Likewise.
15553
15554 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * lyxfind.C (LyXReplace): do not redefine default argument in
15557         implementation.
15558         (IsStringInText): ditto
15559         (SearchForward): ditto
15560         (SearchBackward): ditto
15561
15562 2001-03-06  Juergen Vigna  <jug@sad.it>
15563
15564         * lyxfind.C (IsStringInText): put parentes around expressions.
15565
15566 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15567
15568         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15569
15570 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15571
15572         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15573
15574         * stl_string_fwd.h: add comment
15575
15576         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15577
15578         * tabular.h:
15579         * tabular.C: remove unused DocBook methods
15580
15581         * intl.C:
15582         * language.C:
15583         * paragraph.C:
15584         * buffer.C:
15585         killed DO_USE_DEFAULT_LANGUAGE
15586
15587 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * lyx_gui.C: do not include language.h.
15590
15591         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15592         arguments in function implementation.
15593
15594 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15595
15596         * BufferView_pimpl.C: add <ctime>
15597
15598 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15599
15600         * BufferView_pimpl.C: add using std::find_if
15601
15602 2001-02-27  José Matos  <jamatos@fep.up.pt>
15603
15604         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15605         by OnlyPath.
15606
15607 2001-02-11  José Matos  <jamatos@fep.up.pt>
15608
15609         * buffer.C (makeDocBookFile): command styles now have a parameter as
15610         "title" by default.
15611
15612 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15613
15614         * layout_forms.[Ch]: removed
15615         * lyx_cb.[Ch]: out character
15616         * lyx_gui.C: out character
15617         * lyx_gui_misc.C: out character
15618         * bufferview_funcs.C: : out character,
15619         added toggleall as parameter in ToggleAndShow
15620
15621 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15624
15625         * text2.C (SetCurrentFont): Disable number property at boundary.
15626
15627 2001-02-26  Juergen Vigna  <jug@sad.it>
15628
15629         * lyxfunc.C (getStatus): added a string argument override function so
15630         that this is correctly called from LyXFunc::Dispatch if it contains a
15631         do_not_use_argument which is used!
15632         (Dispatch): added check for "custom" export and call appropriate func.
15633
15634 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * lyxrc.C: Add language_command_local, language_use_babel and
15637         language_global_options.
15638
15639         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15640
15641         * buffer.C (makeLaTeXFile): Use language_use_babel and
15642         language_global_options.
15643
15644 2001-02-23  Juergen Vigna  <jug@sad.it>
15645
15646         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15647         which works with LyXText and putted it inside BufferView. Here now we
15648         only call for that part the BufferView::Dispatch() function.
15649
15650         * BufferView.C (Dispatch): added.
15651
15652         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15653         functions which needs to use a LyXText over from LyXFunc.
15654         (MenuInsertLyXFile): added
15655         (getInsetByCode): added
15656         (moveCursorUpdate): added
15657         (static TEXT): added
15658
15659 2001-02-22  Juergen Vigna  <jug@sad.it>
15660
15661         * BufferView_pimpl.C (update): call a status update to see if LyXText
15662         needs it.
15663
15664 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15665
15666         * vc-backend.C (revert): implement for CVS
15667         (getLog): implement for CVS
15668
15669 2001-02-20  Juergen Vigna  <jug@sad.it>
15670
15671         * text2.C (ClearSelection): added BufferView param for inset_owner call
15672
15673         * lyxfunc.C (TEXT): added this function and use it instead of
15674         directly owner->view()-text of getLyXText().
15675
15676 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15677
15678         * src/layout_forms.C: out preamble
15679         * src/layout_forms.h: out preamble
15680         * src/lyx_cb.C: out preamble
15681         * src/lyx_cb.h: out preamble
15682         * src/lyx_gui.C: out preamble
15683         * src/lyx_gui_misc.C: out preamble
15684         * src/lyxfunc.C: connect with guii preamble
15685
15686 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15689
15690 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15691
15692         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15693         whether to run bibtex.
15694
15695 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15696
15697         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15698
15699 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15700
15701         * Makefile.am (lyx_SOURCES): removed bibforms.h
15702
15703         * vspace.h: doxygen
15704
15705         * text.C (GetVisibleRow): make several local vars const
15706
15707         * tabular.C: small cleanup.
15708
15709         * lyxserver.C (callback): use compare instead of strncmp
15710
15711         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15712         inlines to after class or to paragraph.C
15713
15714         * lyxfont.h: remove friend operator!=
15715
15716         * converter.h: move friend bool operator< to non friend and after
15717         class def.
15718
15719         * combox.h: small cleanup
15720
15721         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15722         to inlines after class def.
15723
15724         * buffer.C (pop_tag): use string operations instead of strcmp
15725
15726         * bmtable.c: doxygen, small cleanup
15727
15728         * LaTeX.h: remove friend operator==
15729
15730 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15731
15732         * screen.C:
15733         * lyxrc.[Ch]:
15734         * lyxfunc.C:
15735         * lyxfont.[Ch]:
15736         * lyx_cb.C:
15737         * intl.[Ch]:
15738         * commandtags.h:
15739         * buffer.C:
15740         * WorkArea.[Ch]:
15741         * LyXAction.C:
15742         * BufferView_pimpl.C:
15743         * BufferView.[Ch]: remove cruft
15744
15745 2001-02-14  Juergen Vigna  <jug@sad.it>
15746
15747         * lyxfunc.C: removed #if 0 unused code
15748
15749         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15750
15751         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15752
15753         * text2.C (SetSelection): added a BufferView * parameter
15754
15755 2001-02-13  Juergen Vigna  <jug@sad.it>
15756
15757         * lyxfunc.C (Dispatch): fixed protected blank problem.
15758         * BufferView2.C (protectedBlank): added LyxText * parameter.
15759
15760         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15761         (AppendColumn): same as above for column_info.
15762
15763         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15764         (moveCursorUpdate): use a LyXText param for support of InsetText.
15765
15766         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15767         (tripleClick): ditto
15768
15769         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15770
15771         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15772
15773         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15774
15775         * text2.C (SetSelection): set correct update status if inset_owner
15776         (ToggleFree): ditto
15777
15778 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15779
15780         * tabular.C: remove some commented code.
15781
15782 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15783
15784         * BufferView_pimpl.C: call hideSplash()
15785
15786         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15787
15788         * include_form.h:
15789         * bibforms.h: remove
15790
15791         * lyxfunc.C:
15792         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15793           add LFUN_CHILD_CREATE
15794
15795         * counters.h: fix tiny typo
15796
15797         * lyx_cb.C:
15798         * lyx.h:
15799         * lyx_gui.C:
15800         * lyx.C: move splash to frontends/xforms/
15801
15802         * lyx_gui_misc.C: move Include and Bibform to frontends
15803
15804         * lyxvc.h: clarify comment
15805
15806         * vspace.C: tiny housekeeping
15807
15808 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15809
15810         * text.C (PrepareToPrint): RTL Fix.
15811
15812         * paragraph.C (GetUChar): New method.
15813         (String):  Use GetUChar.
15814
15815         * buffer.C (asciiParagraph): Use GetUChar.
15816
15817 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15818
15819         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15820
15821 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15822
15823         * buffer.h:
15824         * buffer.C: rename to getLogName(), handle
15825           build log / latex log nicely
15826
15827 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * MenuBackend.C:
15830         * MenuBackend.h: remove support for reference menuitem type.
15831
15832 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15833
15834         * BufferView_pimpl.C: housekeeping
15835         * BufferView_pimpl.h:
15836         * LyXView.h:
15837         * Makefile.am:
15838         * Timeout.C:
15839         * Timeout.h:
15840         * minibuffer.h: move Timeout GUI-I
15841
15842 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * lyxrc.C (read): Update converters data-structures.
15845
15846 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15847
15848         * LaTeX.h (operator!=): add operator != for Aux_Info
15849
15850 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15851
15852         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15853
15854         * LaTeXLog.C: deleted, useful code moved to Buffer
15855
15856         * buffer.h:
15857         * buffer.C: new function getLatexLogName()
15858
15859         * lyx_gui_misc.C:
15860         * lyx_gui.C:
15861         * lyxvc.C:
15862         * lyxvc.h:
15863         * lyxfunc.C: use frontends for LaTeX and VC logs
15864
15865 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15866
15867         * LaTeX.h: yet another std:: that Allan forgot.
15868
15869         * Variables.C (set): renamed from isset(), because this clashes
15870         with some HP-UX macros (grr).
15871
15872 2001-02-06  Allan Rae  <rae@lyx.org>
15873
15874         * LaTeX.h: Another bug fix.  Missing std:: this time.
15875
15876 2001-02-04  Allan Rae  <rae@lyx.org>
15877
15878         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15879         floats problem. I've left it commented out because it's not quite
15880         correct.  It should also test that the current object is a table or
15881         figure inset.  But I haven't gotten around to figuring out how to do
15882         that.  I *think* it'll be something like: "table" == inset.type()
15883
15884         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15885         bool.
15886
15887 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15888
15889         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15890         all the citation/databases/styles in the auxilary file.
15891         (run): Rerun latex if there was a babel language error.
15892
15893 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * text.C (Backspace): Preserve the font when changing newline char
15896         with a space.
15897         (BreakParagraph): If the cursor is before a space, delete the space.
15898
15899         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15900
15901 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15902
15903         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15904         new argument (code).
15905         (ChangeCitationsIfUnique): New method.
15906
15907         * paragraph.C (GetPositionOfInset): Handle bibkey.
15908
15909 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * BufferView_pimpl.h: change type of Position::par_pos to
15912         LyXParagraph::size_type.
15913
15914 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15915
15916         * BufferView_pimpl.C (savePosition, restorePosition): Write
15917         messages to minibuffer.
15918
15919 2001-01-28  José Matos  <jamatos@fep.up.pt>
15920
15921         * buffer.C (makeDocBookFile): adds support for document language.
15922         A silly restriction on the name of LatexCommand types where removed.
15923         Added support for CDATA sections, allows to chars unescaped, used
15924         among others in code, to avoid escape < and >.
15925
15926 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15927
15928         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15929         saved positions instrad of a stack. Furthermore, a position is
15930         stored using paragraph id/paragraph position.
15931
15932         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15933         Remove LFUN_REF_BACK.
15934
15935 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15936
15937         * converter.C (dvipdfm_options): New method.
15938
15939 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * vspace.C (isValidLength): Fix for empty input string.
15942
15943 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * LyXAction.C (init): change description of LFUN_FIGURE to
15946         "Insert Graphics"
15947
15948 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15949
15950         * LaTeX.C: add using directive
15951
15952 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15953
15954         * MenuBackend.C (expand): Fix the sorting of the formats.
15955
15956 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15957
15958         * lyx_main.C: tiny error message fix
15959
15960 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15961
15962         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15963         calling fl_initialize(). This fixes the problem with ',' as
15964         decimal separator in text files.
15965
15966 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15967
15968         * trans.C (process): Fix the keymap bug.
15969
15970 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * LaTeX.C (scanAuxFiles): New method. Provides support for
15973         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15974         (scanLogFile) Scan for "run BibTeX" messages.
15975
15976         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15977         OT1 font encoding. Also, load the aecompl package if the ae
15978         package is loaded.
15979
15980         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15981
15982 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * texrow.C (increasePos): turn two error messages into debug
15985         messages.
15986
15987 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * LaTeX.C (scanAux): Handle the \@input macro.
15990         (runBibTeX): Use scanAux().
15991
15992         * language.C (latex_options_): New field.
15993
15994         * LaTeXFeatures.C (getMacros): Add language macros.
15995
15996         * buffer.C (makeLaTeXFile): Small fix.
15997
15998 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16001
16002         * text2.C: add a using directive.
16003
16004 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * BufferView2.C:
16007         * lyx_gui_misc.h:
16008         * lyxfr1.C:
16009         * lyxfunc.C: kill LyXBell.
16010
16011 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16012
16013         * text.C (IsBoundary): Remove the error message
16014
16015         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16016
16017         * lyxrc.C (setDefaults): Correct initialization value for
16018         font_norm_type.
16019
16020 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16021
16022         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16023         gotoError().
16024
16025         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16026         and GotoNextNote().
16027
16028         * src/LyXAction.C: Added reference-next.
16029
16030         * text.C (InsertChar): Use contains instead of strchr.
16031
16032         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16033
16034 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16037         alignment commands (when needed).
16038
16039         * text.C (InsertChar): Add ':' to number separator chars.